Generated new packages
diff --git a/generated/googleapis/CHANGELOG.md b/generated/googleapis/CHANGELOG.md
index b1425b8..0ac7617 100644
--- a/generated/googleapis/CHANGELOG.md
+++ b/generated/googleapis/CHANGELOG.md
@@ -1,10 +1,13 @@
## 0.56.0
-* [api-new] networkmanagement:v1
-* [api-new] recommender:v1
-* [api-removed] androidpublisher:v2
-* [api-removed] appsactivity:v1
-* [api-removed] oauth2:v2
-* [api-removed] plus:v1
+ * [api-add] oauth2:v2 (appears to have been unintentionally missing from 0.55.0)
+
+## 0.56.0
+ * [api-new] networkmanagement:v1
+ * [api-new] recommender:v1
+ * [api-removed] androidpublisher:v2
+ * [api-removed] appsactivity:v1
+ * [api-removed] oauth2:v2
+ * [api-removed] plus:v1
## 0.55.0
* [api-new] accessapproval:v1
diff --git a/generated/googleapis/README.md b/generated/googleapis/README.md
index 9b6cc27..24e955d 100644
--- a/generated/googleapis/README.md
+++ b/generated/googleapis/README.md
@@ -680,6 +680,12 @@
Official API documentation: https://cloud.google.com/
+####  Google OAuth2 API - oauth2 v2
+
+Obtains end-user authorization grants for use with other Google APIs.
+
+Official API documentation: https://developers.google.com/identity/protocols/oauth2/
+
#### OS Config API - osconfig v1
OS management tools that can be used for patch management, patch compliance, and configuration management on VM instances.
diff --git a/generated/googleapis/lib/accessapproval/v1.dart b/generated/googleapis/lib/accessapproval/v1.dart
index 3a8334a..c8a6258 100644
--- a/generated/googleapis/lib/accessapproval/v1.dart
+++ b/generated/googleapis/lib/accessapproval/v1.dart
@@ -370,7 +370,7 @@
/// "folders/{folder}", or "organizations/{organization}".
/// Value must have pattern "^folders/[^/]+$".
///
- /// [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
@@ -379,7 +379,7 @@
/// 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.
@@ -392,9 +392,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<ListApprovalRequestsResponse> list(core.String parent,
- {core.String pageToken,
+ {core.int pageSize,
core.String filter,
- core.int pageSize,
+ core.String pageToken,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -406,14 +406,14 @@
if (parent == null) {
throw new 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 (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -1166,8 +1166,6 @@
/// "folders/{folder}", or "organizations/{organization}".
/// Value must have pattern "^projects/[^/]+$".
///
- /// [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
@@ -1177,6 +1175,8 @@
/// DISMISSED: Only dismissed (including expired) requests. * HISTORY: Active
/// and dismissed (including expired) requests.
///
+ /// [pageToken] - A token identifying the page of results to return.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1188,9 +1188,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<ListApprovalRequestsResponse> list(core.String parent,
- {core.String pageToken,
- core.int pageSize,
+ {core.int pageSize,
core.String filter,
+ core.String pageToken,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -1202,15 +1202,15 @@
if (parent == null) {
throw new 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 (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
diff --git a/generated/googleapis/lib/accesscontextmanager/v1.dart b/generated/googleapis/lib/accesscontextmanager/v1.dart
index 8191cb8..98ca833 100644
--- a/generated/googleapis/lib/accesscontextmanager/v1.dart
+++ b/generated/googleapis/lib/accesscontextmanager/v1.dart
@@ -188,14 +188,14 @@
///
/// Request parameters:
///
- /// [parent] - Required. Resource name for the container to list AccessPolicy
- /// instances from. Format: `organizations/{org_id}`
+ /// [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}`
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -208,9 +208,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<ListAccessPoliciesResponse> list(
- {core.String parent,
+ {core.String pageToken,
core.int pageSize,
- core.String pageToken,
+ core.String parent,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -219,14 +219,14 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body;
- if (parent != null) {
- _queryParams["parent"] = [parent];
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
}
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
+ if (parent != null) {
+ _queryParams["parent"] = [parent];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -480,11 +480,6 @@
/// Levels from. Format: `accessPolicies/{policy_id}`
/// Value must have pattern "^accessPolicies/[^/]+$".
///
- /// [pageSize] - Number of Access Levels to include in the list. Default 100.
- ///
- /// [pageToken] - Next page token for the next batch of Access Level
- /// instances. Defaults to the first page of results.
- ///
/// [accessLevelFormat] - Whether to return `BasicLevels` in the Cloud Common
/// Expression language, as `CustomLevels`, rather than as `BasicLevels`.
/// Defaults to returning `AccessLevels` in the format they were defined.
@@ -495,6 +490,11 @@
/// - "CEL" : Use Cloud Common Expression Language when returning the
/// resource. Both BasicLevels and CustomLevels are returned as CustomLevels.
///
+ /// [pageSize] - Number of Access Levels to include in the list. Default 100.
+ ///
+ /// [pageToken] - Next page token for the next batch of Access Level
+ /// instances. Defaults to the first page of results.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -506,9 +506,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<ListAccessLevelsResponse> list(core.String parent,
- {core.int pageSize,
+ {core.String accessLevelFormat,
+ core.int pageSize,
core.String pageToken,
- core.String accessLevelFormat,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -520,15 +520,15 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
+ if (accessLevelFormat != null) {
+ _queryParams["accessLevelFormat"] = [accessLevelFormat];
+ }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
- if (accessLevelFormat != null) {
- _queryParams["accessLevelFormat"] = [accessLevelFormat];
- }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -1235,12 +1235,12 @@
/// [name] - The name of the operation's parent resource.
/// Value must have pattern "^operations$".
///
+ /// [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.
///
@@ -1252,9 +1252,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<ListOperationsResponse> list(core.String name,
- {core.int pageSize,
+ {core.String pageToken,
+ core.int pageSize,
core.String filter,
- core.String pageToken,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -1266,15 +1266,15 @@
if (name == null) {
throw new core.ArgumentError("Parameter name is required.");
}
+ 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];
}
diff --git a/generated/googleapis/lib/admin/datatransfer_v1.dart b/generated/googleapis/lib/admin/datatransfer_v1.dart
index f4c2517..4da3b75 100644
--- a/generated/googleapis/lib/admin/datatransfer_v1.dart
+++ b/generated/googleapis/lib/admin/datatransfer_v1.dart
@@ -94,13 +94,13 @@
///
/// Request parameters:
///
- /// [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.
///
/// [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".
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -112,9 +112,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.int maxResults,
- core.String pageToken,
+ {core.String pageToken,
core.String customerId,
+ core.int maxResults,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -123,15 +123,15 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body;
- if (maxResults != null) {
- _queryParams["maxResults"] = ["${maxResults}"];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
if (customerId != null) {
_queryParams["customerId"] = [customerId];
}
+ if (maxResults != null) {
+ _queryParams["maxResults"] = ["${maxResults}"];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -247,19 +247,19 @@
///
/// Request parameters:
///
- /// [status] - Status of the transfer.
- ///
- /// [newOwnerUserId] - Destination user's profile ID.
+ /// [customerId] - Immutable ID of the Google Apps account.
///
/// [pageToken] - Token to specify the next page in the list.
///
- /// [oldOwnerUserId] - Source user's profile ID.
- ///
- /// [customerId] - Immutable ID of the Google Apps account.
+ /// [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.
+ ///
+ /// [oldOwnerUserId] - Source user's profile ID.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -271,12 +271,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<DataTransfersListResponse> list(
- {core.String status,
- core.String newOwnerUserId,
+ {core.String customerId,
core.String pageToken,
- core.String oldOwnerUserId,
- core.String customerId,
+ core.String newOwnerUserId,
core.int maxResults,
+ core.String status,
+ core.String oldOwnerUserId,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -285,24 +285,24 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body;
- if (status != null) {
- _queryParams["status"] = [status];
- }
- if (newOwnerUserId != null) {
- _queryParams["newOwnerUserId"] = [newOwnerUserId];
+ if (customerId != null) {
+ _queryParams["customerId"] = [customerId];
}
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
- if (oldOwnerUserId != null) {
- _queryParams["oldOwnerUserId"] = [oldOwnerUserId];
- }
- if (customerId != null) {
- _queryParams["customerId"] = [customerId];
+ if (newOwnerUserId != null) {
+ _queryParams["newOwnerUserId"] = [newOwnerUserId];
}
if (maxResults != null) {
_queryParams["maxResults"] = ["${maxResults}"];
}
+ 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 3030cc5..2339f67 100644
--- a/generated/googleapis/lib/admin/directory_v1.dart
+++ b/generated/googleapis/lib/admin/directory_v1.dart
@@ -497,22 +497,6 @@
///
/// [customerId] - Immutable ID of the G Suite account
///
- /// [sortOrder] - Whether to return results in ascending or descending order.
- /// Only of use when orderBy is also used
- /// Possible string values are:
- /// - "SORT_ORDER_UNDEFINED"
- /// - "ASCENDING" : Ascending order.
- /// - "DESCENDING" : Descending order.
- ///
- /// [pageToken] - Token to specify next page in the list
- ///
- /// [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
- ///
- /// [maxResults] - Maximum number of results to return.
- ///
/// [orderBy] - Column to use for sorting results
/// Possible string values are:
/// - "orderByUndefined"
@@ -525,6 +509,11 @@
/// - "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
+ ///
+ /// [maxResults] - Maximum number of results to return.
+ ///
/// [projection] - Restrict information returned to a set of selected fields.
/// Possible string values are:
/// - "PROJECTION_UNDEFINED"
@@ -532,6 +521,17 @@
/// serialNumber, status, and user)
/// - "FULL" : Includes all metadata fields
///
+ /// [orgUnitPath] - Full path of the organizational unit or its ID
+ ///
+ /// [sortOrder] - Whether to return results in ascending or descending order.
+ /// Only of use when orderBy is also used
+ /// Possible string values are:
+ /// - "SORT_ORDER_UNDEFINED"
+ /// - "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.
///
@@ -543,13 +543,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<ChromeOsDevices> list(core.String customerId,
- {core.String sortOrder,
- core.String pageToken,
- core.String orgUnitPath,
+ {core.String orderBy,
core.String query,
core.int maxResults,
- core.String orderBy,
core.String projection,
+ core.String orgUnitPath,
+ core.String sortOrder,
+ core.String pageToken,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -561,14 +561,8 @@
if (customerId == null) {
throw new core.ArgumentError("Parameter customerId is required.");
}
- if (sortOrder != null) {
- _queryParams["sortOrder"] = [sortOrder];
- }
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
- if (orgUnitPath != null) {
- _queryParams["orgUnitPath"] = [orgUnitPath];
+ if (orderBy != null) {
+ _queryParams["orderBy"] = [orderBy];
}
if (query != null) {
_queryParams["query"] = [query];
@@ -576,12 +570,18 @@
if (maxResults != null) {
_queryParams["maxResults"] = ["${maxResults}"];
}
- if (orderBy != null) {
- _queryParams["orderBy"] = [orderBy];
- }
if (projection != null) {
_queryParams["projection"] = [projection];
}
+ if (orgUnitPath != null) {
+ _queryParams["orgUnitPath"] = [orgUnitPath];
+ }
+ if (sortOrder != null) {
+ _queryParams["sortOrder"] = [sortOrder];
+ }
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -1495,26 +1495,8 @@
/// - "orderByUndefined"
/// - "email" : Email of the group.
///
- /// [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.
- ///
- /// [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.
- ///
- /// [query] - Query string search. Should be of the form "". Complete
- /// documentation is at https:
- /// //developers.google.com/admin-sdk/directory/v1/guides/search-groups
- ///
/// [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 groups for a customer, fill this field instead of domain.
- ///
/// [sortOrder] - Whether to return results in ascending or descending order.
/// Only of use when orderBy is also used
/// Possible string values are:
@@ -1522,6 +1504,24 @@
/// - "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.
///
@@ -1534,13 +1534,13 @@
/// this method will complete with the same error.
async.Future<Groups> list(
{core.String orderBy,
- core.String domain,
- core.int maxResults,
- core.String userKey,
- core.String query,
core.String pageToken,
- core.String customer,
core.String sortOrder,
+ core.String customer,
+ core.String query,
+ core.String domain,
+ core.String userKey,
+ core.int maxResults,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -1552,26 +1552,26 @@
if (orderBy != null) {
_queryParams["orderBy"] = [orderBy];
}
- if (domain != null) {
- _queryParams["domain"] = [domain];
- }
- if (maxResults != null) {
- _queryParams["maxResults"] = ["${maxResults}"];
- }
- if (userKey != null) {
- _queryParams["userKey"] = [userKey];
- }
- if (query != null) {
- _queryParams["query"] = [query];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (sortOrder != null) {
+ _queryParams["sortOrder"] = [sortOrder];
+ }
if (customer != null) {
_queryParams["customer"] = [customer];
}
- if (sortOrder != null) {
- _queryParams["sortOrder"] = [sortOrder];
+ if (query != null) {
+ _queryParams["query"] = [query];
+ }
+ if (domain != null) {
+ _queryParams["domain"] = [domain];
+ }
+ if (userKey != null) {
+ _queryParams["userKey"] = [userKey];
+ }
+ if (maxResults != null) {
+ _queryParams["maxResults"] = ["${maxResults}"];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -2061,13 +2061,13 @@
/// [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.
///
- /// [pageToken] - Token to specify next page in the list
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -2080,9 +2080,9 @@
/// this method will complete with the same error.
async.Future<Members> list(core.String groupKey,
{core.int maxResults,
+ core.String pageToken,
core.bool includeDerivedMembership,
core.String roles,
- core.String pageToken,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -2097,6 +2097,9 @@
if (maxResults != null) {
_queryParams["maxResults"] = ["${maxResults}"];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
if (includeDerivedMembership != null) {
_queryParams["includeDerivedMembership"] = [
"${includeDerivedMembership}"
@@ -2105,9 +2108,6 @@
if (roles != null) {
_queryParams["roles"] = [roles];
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -2425,22 +2425,6 @@
///
/// [customerId] - Immutable ID of the G Suite account
///
- /// [sortOrder] - Whether to return results in ascending or descending order.
- /// Only of use when orderBy is also used
- /// Possible string values are:
- /// - "SORT_ORDER_UNDEFINED"
- /// - "ASCENDING" : Ascending order.
- /// - "DESCENDING" : Descending order.
- ///
- /// [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".
- ///
/// [projection] - Restrict information returned to a set of selected fields.
/// Possible string values are:
/// - "PROJECTION_UNDEFINED"
@@ -2448,6 +2432,11 @@
/// 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
+ ///
/// [orderBy] - Column to use for sorting results
/// Possible string values are:
/// - "orderByUndefined"
@@ -2460,6 +2449,17 @@
/// - "status" : Status of the device.
/// - "type" : Type of the device.
///
+ /// [sortOrder] - Whether to return results in ascending or descending order.
+ /// Only of use when orderBy is also used
+ /// Possible string values are:
+ /// - "SORT_ORDER_UNDEFINED"
+ /// - "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.
///
@@ -2471,12 +2471,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<MobileDevices> list(core.String customerId,
- {core.String sortOrder,
+ {core.String projection,
core.String pageToken,
core.String query,
- core.int maxResults,
- core.String projection,
core.String orderBy,
+ core.String sortOrder,
+ core.int maxResults,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -2488,8 +2488,8 @@
if (customerId == null) {
throw new core.ArgumentError("Parameter customerId is required.");
}
- if (sortOrder != null) {
- _queryParams["sortOrder"] = [sortOrder];
+ if (projection != null) {
+ _queryParams["projection"] = [projection];
}
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
@@ -2497,15 +2497,15 @@
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 (sortOrder != null) {
+ _queryParams["sortOrder"] = [sortOrder];
+ }
+ if (maxResults != null) {
+ _queryParams["maxResults"] = ["${maxResults}"];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -3480,6 +3480,14 @@
/// account administrator, you can also use the my_customer alias to represent
/// your account's customer ID.
///
+ /// [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
+ /// ascending. Should be of the form "field [asc|desc], field [asc|desc],
+ /// ...". For example buildingId, capacity desc would return results sorted
+ /// first by buildingId in ascending order then by capacity in descending
+ /// order.
+ ///
/// [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
@@ -3490,19 +3498,11 @@
/// floor_name, capacity, featureInstances.feature.name. For example
/// buildingId=US-NYC-9TH AND featureInstances.feature.name:Phone.
///
- /// [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
- /// ascending. Should be of the form "field [asc|desc], field [asc|desc],
- /// ...". For example buildingId, capacity desc would return results sorted
- /// first by buildingId in ascending order then by capacity in descending
- /// order.
+ /// [pageToken] - Token to specify the next page in the list.
///
/// [maxResults] - Maximum number of results to return.
/// Value must be between "1" and "500".
///
- /// [pageToken] - Token to specify the next page in the list.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -3514,10 +3514,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<CalendarResources> list(core.String customer,
- {core.String query,
- core.String orderBy,
- core.int maxResults,
+ {core.String orderBy,
+ core.String query,
core.String pageToken,
+ core.int maxResults,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -3529,18 +3529,18 @@
if (customer == null) {
throw new core.ArgumentError("Parameter customer is required.");
}
- if (query != null) {
- _queryParams["query"] = [query];
- }
if (orderBy != null) {
_queryParams["orderBy"] = [orderBy];
}
- if (maxResults != null) {
- _queryParams["maxResults"] = ["${maxResults}"];
+ if (query != null) {
+ _queryParams["query"] = [query];
}
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (maxResults != null) {
+ _queryParams["maxResults"] = ["${maxResults}"];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -4245,18 +4245,18 @@
///
/// [customer] - Immutable ID of the G Suite account.
///
- /// [roleId] - Immutable ID of a role. If included in the request, returns
- /// only role assignments containing this role ID.
- ///
/// [maxResults] - Maximum number of results to return.
/// Value must be between "1" and "200".
///
+ /// [pageToken] - Token to specify the next page in the list.
+ ///
+ /// [roleId] - Immutable ID of a role. If included in the request, returns
+ /// only role assignments containing this role ID.
+ ///
/// [userKey] - The user's primary email address, alias email address, or
/// unique user ID. If included in the request, returns role assignments only
/// for this user.
///
- /// [pageToken] - Token to specify the next page in the list.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -4268,10 +4268,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<RoleAssignments> list(core.String customer,
- {core.String roleId,
- core.int maxResults,
- core.String userKey,
+ {core.int maxResults,
core.String pageToken,
+ core.String roleId,
+ core.String userKey,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -4283,18 +4283,18 @@
if (customer == null) {
throw new core.ArgumentError("Parameter customer is required.");
}
- if (roleId != null) {
- _queryParams["roleId"] = [roleId];
- }
if (maxResults != null) {
_queryParams["maxResults"] = ["${maxResults}"];
}
- if (userKey != null) {
- _queryParams["userKey"] = [userKey];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (roleId != null) {
+ _queryParams["roleId"] = [roleId];
+ }
+ if (userKey != null) {
+ _queryParams["userKey"] = [userKey];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -5230,6 +5230,9 @@
/// - "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.
+ ///
/// [projection] - What subset of fields to fetch for this user.
/// Possible string values are:
/// - "projectionUndefined"
@@ -5238,9 +5241,6 @@
/// customFieldMask.
/// - "full" : Include all fields associated with this user.
///
- /// [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.
///
@@ -5253,8 +5253,8 @@
/// this method will complete with the same error.
async.Future<User> get(core.String userKey,
{core.String viewType,
- core.String projection,
core.String customFieldMask,
+ core.String projection,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -5269,12 +5269,12 @@
if (viewType != null) {
_queryParams["viewType"] = [viewType];
}
- if (projection != null) {
- _queryParams["projection"] = [projection];
- }
if (customFieldMask != null) {
_queryParams["customFieldMask"] = [customFieldMask];
}
+ if (projection != null) {
+ _queryParams["projection"] = [projection];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -5337,8 +5337,26 @@
///
/// Request parameters:
///
- /// [customFieldMask] - Comma-separated list of schema names. All fields from
- /// these schemas are fetched. This should only be set when projection=custom.
+ /// [maxResults] - Maximum number of results to return.
+ /// Value must be between "1" and "500".
+ ///
+ /// [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.
+ ///
+ /// [pageToken] - Token to specify next page in the list
+ ///
+ /// [sortOrder] - Whether to return results in ascending or descending order.
+ /// Possible string values are:
+ /// - "SORT_ORDER_UNDEFINED"
+ /// - "ASCENDING" : Ascending order.
+ /// - "DESCENDING" : Descending order.
+ ///
+ /// [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.
///
/// [orderBy] - Column to use for sorting results
/// Possible string values are:
@@ -5350,15 +5368,9 @@
/// [showDeleted] - If set to true, retrieves the list of deleted users.
/// (Default: false)
///
- /// [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.
- ///
- /// [maxResults] - Maximum number of results to return.
- /// Value must be between "1" and "500".
+ /// [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:
@@ -5368,23 +5380,11 @@
/// customFieldMask.
/// - "full" : Include all fields associated with this user.
///
- /// [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.
- ///
/// [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.
///
- /// [sortOrder] - Whether to return results in ascending or descending order.
- /// Possible string values are:
- /// - "SORT_ORDER_UNDEFINED"
- /// - "ASCENDING" : Ascending order.
- /// - "DESCENDING" : Descending order.
- ///
- /// [query] - Query string search. Should be of the form "". Complete
- /// documentation is at https:
- /// //developers.google.com/admin-sdk/directory/v1/guides/search-users
- ///
- /// [pageToken] - Token to specify next page in the list
+ /// [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.
@@ -5397,17 +5397,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.String customFieldMask,
+ {core.int maxResults,
+ core.String domain,
+ core.String pageToken,
+ core.String sortOrder,
+ core.String viewType,
core.String orderBy,
core.String showDeleted,
- core.String viewType,
- core.int maxResults,
- core.String projection,
- core.String domain,
- core.String customer,
- core.String sortOrder,
core.String query,
- core.String pageToken,
+ core.String projection,
+ core.String customer,
+ core.String customFieldMask,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -5416,8 +5416,20 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body;
- if (customFieldMask != null) {
- _queryParams["customFieldMask"] = [customFieldMask];
+ if (maxResults != null) {
+ _queryParams["maxResults"] = ["${maxResults}"];
+ }
+ if (domain != null) {
+ _queryParams["domain"] = [domain];
+ }
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
+ if (sortOrder != null) {
+ _queryParams["sortOrder"] = [sortOrder];
+ }
+ if (viewType != null) {
+ _queryParams["viewType"] = [viewType];
}
if (orderBy != null) {
_queryParams["orderBy"] = [orderBy];
@@ -5425,29 +5437,17 @@
if (showDeleted != null) {
_queryParams["showDeleted"] = [showDeleted];
}
- if (viewType != null) {
- _queryParams["viewType"] = [viewType];
- }
- if (maxResults != null) {
- _queryParams["maxResults"] = ["${maxResults}"];
+ if (query != null) {
+ _queryParams["query"] = [query];
}
if (projection != null) {
_queryParams["projection"] = [projection];
}
- if (domain != null) {
- _queryParams["domain"] = [domain];
- }
if (customer != null) {
_queryParams["customer"] = [customer];
}
- if (sortOrder != null) {
- _queryParams["sortOrder"] = [sortOrder];
- }
- if (query != null) {
- _queryParams["query"] = [query];
- }
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
+ if (customFieldMask != null) {
+ _queryParams["customFieldMask"] = [customFieldMask];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -5717,40 +5717,25 @@
///
/// Request parameters:
///
- /// [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."
- ///
/// [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.
///
- /// [maxResults] - Maximum number of results to return.
- /// Value must be between "1" and "500".
- ///
- /// [projection] - What subset of fields to fetch for this user.
- /// Possible string values are:
- /// - "projectionUnspecified"
- /// - "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)
+ /// [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."
///
- /// [orderBy] - Column to use for sorting results
+ /// [sortOrder] - Whether to return results in ascending or descending order.
/// Possible string values are:
- /// - "orderByUnspecified"
- /// - "email" : Primary email of the user.
- /// - "familyName" : User's family name.
- /// - "givenName" : User's given name.
+ /// - "sortOrderUnspecified"
+ /// - "ASCENDING" : Ascending order.
+ /// - "DESCENDING" : Descending order.
///
/// [event] - Event on which subscription is intended
/// Possible string values are:
@@ -5766,15 +5751,30 @@
/// [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.
///
- /// [sortOrder] - Whether to return results in ascending or descending order.
+ /// [orderBy] - Column to use for sorting results
/// Possible string values are:
- /// - "sortOrderUnspecified"
- /// - "ASCENDING" : Ascending order.
- /// - "DESCENDING" : Descending order.
+ /// - "orderByUnspecified"
+ /// - "email" : Primary email of the user.
+ /// - "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)
+ ///
+ /// [projection] - What subset of fields to fetch for this user.
+ /// Possible string values are:
+ /// - "projectionUnspecified"
+ /// - "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.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -5786,18 +5786,18 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<Channel> watch(Channel request,
- {core.String domain,
- core.String viewType,
- core.int maxResults,
- core.String projection,
+ {core.String viewType,
core.String query,
- core.String showDeleted,
- core.String orderBy,
+ core.String domain,
+ core.String sortOrder,
core.String event,
core.String pageToken,
core.String customer,
- core.String sortOrder,
+ core.String orderBy,
+ core.int maxResults,
core.String customFieldMask,
+ core.String showDeleted,
+ core.String projection,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -5809,26 +5809,17 @@
if (request != null) {
_body = convert.json.encode((request).toJson());
}
- if (domain != null) {
- _queryParams["domain"] = [domain];
- }
if (viewType != null) {
_queryParams["viewType"] = [viewType];
}
- if (maxResults != null) {
- _queryParams["maxResults"] = ["${maxResults}"];
- }
- if (projection != null) {
- _queryParams["projection"] = [projection];
- }
if (query != null) {
_queryParams["query"] = [query];
}
- if (showDeleted != null) {
- _queryParams["showDeleted"] = [showDeleted];
+ if (domain != null) {
+ _queryParams["domain"] = [domain];
}
- if (orderBy != null) {
- _queryParams["orderBy"] = [orderBy];
+ if (sortOrder != null) {
+ _queryParams["sortOrder"] = [sortOrder];
}
if (event != null) {
_queryParams["event"] = [event];
@@ -5839,12 +5830,21 @@
if (customer != null) {
_queryParams["customer"] = [customer];
}
- if (sortOrder != null) {
- _queryParams["sortOrder"] = [sortOrder];
+ if (orderBy != null) {
+ _queryParams["orderBy"] = [orderBy];
+ }
+ if (maxResults != null) {
+ _queryParams["maxResults"] = ["${maxResults}"];
}
if (customFieldMask != null) {
_queryParams["customFieldMask"] = [customFieldMask];
}
+ if (showDeleted != null) {
+ _queryParams["showDeleted"] = [showDeleted];
+ }
+ if (projection != null) {
+ _queryParams["projection"] = [projection];
+ }
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 6fdd71f..0294ebe 100644
--- a/generated/googleapis/lib/admin/reports_v1.dart
+++ b/generated/googleapis/lib/admin/reports_v1.dart
@@ -113,9 +113,6 @@
/// - "chrome" : The Chrome activity reports return information about unsafe
/// events reported in the context of the WebProtect features of BeyondCorp.
///
- /// [customerId] - The unique ID of the customer to retrieve data for.
- /// Value must have pattern "C.+".
- ///
/// [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.
@@ -124,36 +121,6 @@
/// virtual private network (VPN) address. This parameter supports both IPv4
/// and IPv6 address versions.
///
- /// [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))".
- ///
- /// [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 in the request. The default value is 1000.
- /// Value must be between "1" and "1000".
- ///
/// [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
@@ -188,6 +155,14 @@
/// 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.
@@ -210,6 +185,31 @@
/// 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
+ /// nextPageToken property has the token to the second page. The maxResults
+ /// 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.+".
+ ///
+ /// [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.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -222,15 +222,15 @@
/// this method will complete with the same error.
async.Future<Activities> list(
core.String userKey, core.String applicationName,
- {core.String customerId,
- core.String actorIpAddress,
- core.String eventName,
- core.String pageToken,
- core.String startTime,
- core.int maxResults,
+ {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 eventName,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -245,33 +245,33 @@
if (applicationName == null) {
throw new core.ArgumentError("Parameter applicationName is required.");
}
- if (customerId != null) {
- _queryParams["customerId"] = [customerId];
- }
if (actorIpAddress != null) {
_queryParams["actorIpAddress"] = [actorIpAddress];
}
- if (eventName != null) {
- _queryParams["eventName"] = [eventName];
- }
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
+ if (filters != null) {
+ _queryParams["filters"] = [filters];
}
if (startTime != null) {
_queryParams["startTime"] = [startTime];
}
- if (maxResults != null) {
- _queryParams["maxResults"] = ["${maxResults}"];
- }
- if (filters != null) {
- _queryParams["filters"] = [filters];
- }
if (orgUnitID != null) {
_queryParams["orgUnitID"] = [orgUnitID];
}
if (endTime != null) {
_queryParams["endTime"] = [endTime];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
+ if (maxResults != null) {
+ _queryParams["maxResults"] = ["${maxResults}"];
+ }
+ if (customerId != null) {
+ _queryParams["customerId"] = [customerId];
+ }
+ if (eventName != null) {
+ _queryParams["eventName"] = [eventName];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -351,24 +351,6 @@
/// - "chrome" : The Chrome activity reports return information about unsafe
/// events reported in the context of the WebProtect features of BeyondCorp.
///
- /// [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 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.+".
- ///
- /// [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))".
- ///
/// [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
@@ -379,6 +361,31 @@
/// more information about eventName query strings and parameters, see the
/// list of event names for various applications above in applicationName.
///
+ /// [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
+ /// 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))".
+ ///
/// [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
@@ -413,6 +420,18 @@
/// Value must have pattern
/// "(.+[<,<=,==,>=,>,<>].+,)*(.+[<,<=,==,>=,>,<>].+)".
///
+ /// [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 in the request. The default value is 1000.
+ /// Value must be between "1" and "1000".
+ ///
+ /// [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.
@@ -421,30 +440,11 @@
/// virtual private network (VPN) address. This parameter supports both IPv4
/// and IPv6 address versions.
///
- /// [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.
- ///
- /// [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.
+ /// [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))".
///
@@ -460,15 +460,15 @@
/// this method will complete with the same error.
async.Future<Channel> watch(
Channel request, core.String userKey, core.String applicationName,
- {core.int maxResults,
+ {core.String eventName,
core.String customerId,
- core.String startTime,
- core.String eventName,
- core.String filters,
- core.String actorIpAddress,
core.String orgUnitID,
- core.String pageToken,
core.String endTime,
+ core.String filters,
+ core.int maxResults,
+ core.String pageToken,
+ core.String actorIpAddress,
+ core.String startTime,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -486,32 +486,32 @@
if (applicationName == null) {
throw new core.ArgumentError("Parameter applicationName is required.");
}
- if (maxResults != null) {
- _queryParams["maxResults"] = ["${maxResults}"];
+ if (eventName != null) {
+ _queryParams["eventName"] = [eventName];
}
if (customerId != null) {
_queryParams["customerId"] = [customerId];
}
- if (startTime != null) {
- _queryParams["startTime"] = [startTime];
+ if (orgUnitID != null) {
+ _queryParams["orgUnitID"] = [orgUnitID];
}
- if (eventName != null) {
- _queryParams["eventName"] = [eventName];
+ if (endTime != null) {
+ _queryParams["endTime"] = [endTime];
}
if (filters != null) {
_queryParams["filters"] = [filters];
}
- if (actorIpAddress != null) {
- _queryParams["actorIpAddress"] = [actorIpAddress];
- }
- if (orgUnitID != null) {
- _queryParams["orgUnitID"] = [orgUnitID];
+ if (maxResults != null) {
+ _queryParams["maxResults"] = ["${maxResults}"];
}
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
- if (endTime != null) {
- _queryParams["endTime"] = [endTime];
+ if (actorIpAddress != null) {
+ _queryParams["actorIpAddress"] = [actorIpAddress];
+ }
+ if (startTime != null) {
+ _queryParams["startTime"] = [startTime];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -599,6 +599,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.+".
+ ///
/// [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
@@ -622,9 +625,6 @@
/// getting all of the report's pages, 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.
///
@@ -636,9 +636,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<UsageReports> get(core.String date,
- {core.String parameters,
+ {core.String customerId,
+ core.String parameters,
core.String pageToken,
- core.String customerId,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -650,15 +650,15 @@
if (date == null) {
throw new core.ArgumentError("Parameter date is required.");
}
+ if (customerId != null) {
+ _queryParams["customerId"] = [customerId];
+ }
if (parameters != null) {
_queryParams["parameters"] = [parameters];
}
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
- if (customerId != null) {
- _queryParams["customerId"] = [customerId];
- }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -708,20 +708,6 @@
/// 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.+".
- ///
- /// [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.
- ///
- /// [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.
- /// Value must be between "1" and "1000".
- ///
/// [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
@@ -741,6 +727,12 @@
/// Value must have pattern
/// "(((gplus)):[a-z0-9_]+[<,<=,==,>=,>,!=][^,]+,)*(((gplus)):[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.
+ /// Value must be between "1" and "1000".
+ ///
/// [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
@@ -756,6 +748,14 @@
/// 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.
///
@@ -768,11 +768,11 @@
/// this method will complete with the same error.
async.Future<UsageReports> get(
core.String entityType, core.String entityKey, core.String date,
- {core.String customerId,
- core.String pageToken,
+ {core.String filters,
core.int maxResults,
- core.String filters,
core.String parameters,
+ core.String pageToken,
+ core.String customerId,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -790,21 +790,21 @@
if (date == null) {
throw new core.ArgumentError("Parameter date is required.");
}
- if (customerId != null) {
- _queryParams["customerId"] = [customerId];
- }
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
+ if (filters != null) {
+ _queryParams["filters"] = [filters];
}
if (maxResults != null) {
_queryParams["maxResults"] = ["${maxResults}"];
}
- if (filters != null) {
- _queryParams["filters"] = [filters];
- }
if (parameters != null) {
_queryParams["parameters"] = [parameters];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
+ if (customerId != null) {
+ _queryParams["customerId"] = [customerId];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -847,14 +847,21 @@
/// 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]+)".
///
- /// [customerId] - The unique ID of the customer to retrieve data for.
- /// Value must have pattern "C.+".
- ///
/// [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
@@ -873,6 +880,11 @@
/// 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
@@ -892,18 +904,6 @@
/// 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_]+[<,<=,==,>=,>,!=][^,]+)".
///
- /// [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.
- ///
- /// [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".
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -915,12 +915,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<UsageReports> get(core.String userKey, core.String date,
- {core.String orgUnitID,
+ {core.int maxResults,
core.String customerId,
+ core.String orgUnitID,
core.String parameters,
- core.String filters,
core.String pageToken,
- core.int maxResults,
+ core.String filters,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -935,23 +935,23 @@
if (date == null) {
throw new core.ArgumentError("Parameter date is required.");
}
- if (orgUnitID != null) {
- _queryParams["orgUnitID"] = [orgUnitID];
+ if (maxResults != null) {
+ _queryParams["maxResults"] = ["${maxResults}"];
}
if (customerId != null) {
_queryParams["customerId"] = [customerId];
}
+ if (orgUnitID != null) {
+ _queryParams["orgUnitID"] = [orgUnitID];
+ }
if (parameters != null) {
_queryParams["parameters"] = [parameters];
}
- if (filters != null) {
- _queryParams["filters"] = [filters];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
- if (maxResults != null) {
- _queryParams["maxResults"] = ["${maxResults}"];
+ if (filters != null) {
+ _queryParams["filters"] = [filters];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
diff --git a/generated/googleapis/lib/admob/v1.dart b/generated/googleapis/lib/admob/v1.dart
index f71326e..6a514e6 100644
--- a/generated/googleapis/lib/admob/v1.dart
+++ b/generated/googleapis/lib/admob/v1.dart
@@ -93,13 +93,13 @@
///
/// Request parameters:
///
+ /// [pageSize] - Maximum number of accounts to return.
+ ///
/// [pageToken] - The value returned by the last
/// `ListPublisherAccountsResponse`; indicates that this is a continuation of
/// a prior `ListPublisherAccounts` call, and that the system should return
/// the next page of data.
///
- /// [pageSize] - Maximum number of accounts to return.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -111,7 +111,7 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<ListPublisherAccountsResponse> list(
- {core.String pageToken, core.int pageSize, core.String $fields}) {
+ {core.int pageSize, core.String pageToken, core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -119,12 +119,12 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _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/adsense/v1_4.dart b/generated/googleapis/lib/adsense/v1_4.dart
index f6ddedf..7b0d725 100644
--- a/generated/googleapis/lib/adsense/v1_4.dart
+++ b/generated/googleapis/lib/adsense/v1_4.dart
@@ -437,12 +437,12 @@
///
/// [adClientId] - Ad client for which to list ad units.
///
+ /// [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.
///
- /// [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".
@@ -458,8 +458,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<AdUnits> list(core.String accountId, core.String adClientId,
- {core.String pageToken,
- core.bool includeInactive,
+ {core.bool includeInactive,
+ core.String pageToken,
core.int maxResults,
core.String $fields}) {
var _url;
@@ -475,12 +475,12 @@
if (adClientId == null) {
throw new core.ArgumentError("Parameter adClientId is required.");
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (includeInactive != null) {
_queryParams["includeInactive"] = ["${includeInactive}"];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
if (maxResults != null) {
_queryParams["maxResults"] = ["${maxResults}"];
}
@@ -848,16 +848,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.
///
@@ -870,9 +870,9 @@
/// this method will complete with the same error.
async.Future<AdUnits> list(core.String accountId, core.String adClientId,
core.String customChannelId,
- {core.String pageToken,
- core.bool includeInactive,
+ {core.bool includeInactive,
core.int maxResults,
+ core.String pageToken,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -890,15 +890,15 @@
if (customChannelId == null) {
throw new 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];
}
@@ -997,23 +997,6 @@
/// 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_]+".
- ///
- /// [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_]+".
- ///
- /// [startIndex] - Index of the first row of report data to return.
- /// Value must be between "0" and "5000".
- ///
- /// [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_]+(==|=@).+".
- ///
/// [useTimezoneReporting] - Whether the report should be generated in the
/// AdSense account's local timezone. If false default PST/PDT timezone will
/// be used.
@@ -1022,13 +1005,30 @@
/// 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".
- ///
/// [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".
+ ///
+ /// [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".
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1050,15 +1050,15 @@
/// this method will complete with the same error.
async.Future generate(
core.String accountId, core.String startDate, core.String endDate,
- {core.List<core.String> metric,
- core.List<core.String> sort,
- core.int startIndex,
- core.List<core.String> dimension,
- core.List<core.String> filter,
- core.bool useTimezoneReporting,
+ {core.bool useTimezoneReporting,
core.String locale,
- core.int maxResults,
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> metric,
+ core.int startIndex,
core.String $fields,
commons.DownloadOptions downloadOptions =
commons.DownloadOptions.Metadata}) {
@@ -1080,32 +1080,32 @@
throw new core.ArgumentError("Parameter endDate is required.");
}
_queryParams["endDate"] = [endDate];
- if (metric != null) {
- _queryParams["metric"] = metric;
- }
- if (sort != null) {
- _queryParams["sort"] = sort;
- }
- if (startIndex != null) {
- _queryParams["startIndex"] = ["${startIndex}"];
- }
- if (dimension != null) {
- _queryParams["dimension"] = dimension;
- }
- if (filter != null) {
- _queryParams["filter"] = filter;
- }
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 (currency != null) {
- _queryParams["currency"] = [currency];
+ if (sort != null) {
+ _queryParams["sort"] = sort;
+ }
+ if (dimension != null) {
+ _queryParams["dimension"] = dimension;
+ }
+ if (metric != null) {
+ _queryParams["metric"] = metric;
+ }
+ if (startIndex != null) {
+ _queryParams["startIndex"] = ["${startIndex}"];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -1147,15 +1147,15 @@
///
/// [savedReportId] - The saved report to retrieve.
///
- /// [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".
///
/// [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".
+ /// [maxResults] - The maximum number of rows of report data to return.
+ /// Value must be between "0" and "50000".
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -1169,9 +1169,9 @@
/// this method will complete with the same error.
async.Future<AdsenseReportsGenerateResponse> generate(
core.String accountId, core.String savedReportId,
- {core.int maxResults,
+ {core.int startIndex,
core.String locale,
- core.int startIndex,
+ core.int maxResults,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -1186,14 +1186,14 @@
if (savedReportId == null) {
throw new core.ArgumentError("Parameter savedReportId is required.");
}
- if (maxResults != null) {
- _queryParams["maxResults"] = ["${maxResults}"];
+ if (startIndex != null) {
+ _queryParams["startIndex"] = ["${startIndex}"];
}
if (locale != null) {
_queryParams["locale"] = [locale];
}
- if (startIndex != null) {
- _queryParams["startIndex"] = ["${startIndex}"];
+ if (maxResults != null) {
+ _queryParams["maxResults"] = ["${maxResults}"];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -1220,14 +1220,14 @@
///
/// [accountId] - Account to which the saved reports belong.
///
- /// [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.
///
+ /// [maxResults] - The maximum number of saved reports to include in the
+ /// response, used for paging.
+ /// Value must be between "0" and "100".
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1239,7 +1239,7 @@
/// 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 accountId,
- {core.int maxResults, core.String pageToken, core.String $fields}) {
+ {core.String pageToken, core.int maxResults, core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -1250,12 +1250,12 @@
if (accountId == null) {
throw new core.ArgumentError("Parameter accountId is required.");
}
- if (maxResults != null) {
- _queryParams["maxResults"] = ["${maxResults}"];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (maxResults != null) {
+ _queryParams["maxResults"] = ["${maxResults}"];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -1338,14 +1338,14 @@
///
/// [accountId] - Account for which to list saved ad styles.
///
- /// [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.
///
@@ -1357,7 +1357,7 @@
/// 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 accountId,
- {core.String pageToken, core.int maxResults, core.String $fields}) {
+ {core.int maxResults, core.String pageToken, core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -1368,12 +1368,12 @@
if (accountId == null) {
throw new 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];
}
@@ -1936,14 +1936,14 @@
///
/// [adClientId] - Ad client for which to list custom channels.
///
- /// [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.
///
+ /// [maxResults] - The maximum number of custom channels to include in the
+ /// response, used for paging.
+ /// Value must be between "0" and "10000".
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1955,7 +1955,7 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<CustomChannels> list(core.String adClientId,
- {core.int maxResults, core.String pageToken, core.String $fields}) {
+ {core.String pageToken, core.int maxResults, core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -1966,12 +1966,12 @@
if (adClientId == null) {
throw new core.ArgumentError("Parameter adClientId is required.");
}
- if (maxResults != null) {
- _queryParams["maxResults"] = ["${maxResults}"];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (maxResults != null) {
+ _queryParams["maxResults"] = ["${maxResults}"];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -2004,16 +2004,16 @@
///
/// [customChannelId] - Custom channel for which to list ad units.
///
- /// [maxResults] - The maximum number of ad units to include in the response,
- /// used for paging.
- /// Value must be between "0" and "10000".
- ///
- /// [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.
///
+ /// [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".
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -2026,9 +2026,9 @@
/// this method will complete with the same error.
async.Future<AdUnits> list(
core.String adClientId, core.String customChannelId,
- {core.int maxResults,
+ {core.String pageToken,
core.bool includeInactive,
- core.String pageToken,
+ core.int maxResults,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -2043,14 +2043,14 @@
if (customChannelId == null) {
throw new core.ArgumentError("Parameter customChannelId is required.");
}
- if (maxResults != null) {
- _queryParams["maxResults"] = ["${maxResults}"];
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
}
if (includeInactive != null) {
_queryParams["includeInactive"] = ["${includeInactive}"];
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
+ if (maxResults != null) {
+ _queryParams["maxResults"] = ["${maxResults}"];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -2236,29 +2236,11 @@
/// 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)?)".
///
- /// [dimension] - Dimensions to base the report on.
+ /// [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".
- ///
- /// [filter] - Filters to be run on the report.
- /// Value must have pattern "[a-zA-Z_]+(==|=@).+".
- ///
/// [accountId] - Accounts upon which to report.
///
- /// [useTimezoneReporting] - Whether the report should be generated in the
- /// AdSense account's local timezone. If false default PST/PDT timezone will
- /// be used.
- ///
- /// [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_]+".
- ///
- /// [maxResults] - The maximum number of rows of report data to return.
- /// Value must be between "0" and "50000".
- ///
/// [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]+".
@@ -2267,9 +2249,27 @@
/// language. Defaults to "en_US" if not specified.
/// Value must have pattern "[a-zA-Z_]+".
///
- /// [metric] - Numeric columns to include in the report.
+ /// [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".
+ ///
+ /// [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_]+".
///
+ /// [filter] - Filters to be run on the report.
+ /// Value must have pattern "[a-zA-Z_]+(==|=@).+".
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -2290,16 +2290,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 generate(core.String startDate, core.String endDate,
- {core.List<core.String> dimension,
- core.int startIndex,
- core.List<core.String> filter,
+ {core.List<core.String> metric,
core.List<core.String> accountId,
- core.bool useTimezoneReporting,
- core.List<core.String> sort,
- core.int maxResults,
core.String currency,
core.String locale,
- core.List<core.String> metric,
+ 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 $fields,
commons.DownloadOptions downloadOptions =
commons.DownloadOptions.Metadata}) {
@@ -2318,35 +2318,35 @@
throw new core.ArgumentError("Parameter endDate is required.");
}
_queryParams["endDate"] = [endDate];
- if (dimension != null) {
- _queryParams["dimension"] = dimension;
- }
- if (startIndex != null) {
- _queryParams["startIndex"] = ["${startIndex}"];
- }
- if (filter != null) {
- _queryParams["filter"] = filter;
+ if (metric != null) {
+ _queryParams["metric"] = metric;
}
if (accountId != null) {
_queryParams["accountId"] = accountId;
}
- if (useTimezoneReporting != null) {
- _queryParams["useTimezoneReporting"] = ["${useTimezoneReporting}"];
- }
- if (sort != null) {
- _queryParams["sort"] = sort;
- }
- if (maxResults != null) {
- _queryParams["maxResults"] = ["${maxResults}"];
- }
if (currency != null) {
_queryParams["currency"] = [currency];
}
if (locale != null) {
_queryParams["locale"] = [locale];
}
- if (metric != null) {
- _queryParams["metric"] = metric;
+ 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 ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -2387,13 +2387,13 @@
/// [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".
+ ///
/// [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".
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -2407,8 +2407,8 @@
async.Future<AdsenseReportsGenerateResponse> generate(
core.String savedReportId,
{core.int startIndex,
- core.String locale,
core.int maxResults,
+ core.String locale,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -2423,12 +2423,12 @@
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 ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -2449,14 +2449,14 @@
///
/// Request parameters:
///
- /// [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.
///
+ /// [maxResults] - The maximum number of saved reports to include in the
+ /// response, used for paging.
+ /// Value must be between "0" and "100".
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -2468,7 +2468,7 @@
/// 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.int maxResults, core.String pageToken, core.String $fields}) {
+ {core.String pageToken, core.int maxResults, core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -2476,12 +2476,12 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body;
- if (maxResults != null) {
- _queryParams["maxResults"] = ["${maxResults}"];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (maxResults != null) {
+ _queryParams["maxResults"] = ["${maxResults}"];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -2550,14 +2550,14 @@
///
/// Request parameters:
///
- /// [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.
///
+ /// [maxResults] - The maximum number of saved ad styles to include in the
+ /// response, used for paging.
+ /// Value must be between "0" and "10000".
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -2569,7 +2569,7 @@
/// 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.int maxResults, core.String pageToken, core.String $fields}) {
+ {core.String pageToken, core.int maxResults, core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -2577,12 +2577,12 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body;
- if (maxResults != null) {
- _queryParams["maxResults"] = ["${maxResults}"];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (maxResults != null) {
+ _queryParams["maxResults"] = ["${maxResults}"];
+ }
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 b24b17e..6fb9793 100644
--- a/generated/googleapis/lib/adsensehost/v4_1.dart
+++ b/generated/googleapis/lib/adsensehost/v4_1.dart
@@ -204,14 +204,14 @@
///
/// [accountId] - Account for which to list ad clients.
///
- /// [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.
///
@@ -223,7 +223,7 @@
/// 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 accountId,
- {core.String pageToken, core.int maxResults, core.String $fields}) {
+ {core.int maxResults, core.String pageToken, core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -234,12 +234,12 @@
if (accountId == null) {
throw new 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];
}
@@ -726,30 +726,30 @@
/// Value must have pattern
/// "\d{4}-\d{2}-\d{2}|(today|startOfMonth|startOfYear)(([\-\+]\d+[dwmy]){0,3}?)".
///
- /// [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_]+".
- ///
- /// [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_]+(==|=@).+".
///
- /// [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".
///
/// [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_]+".
///
- /// [dimension] - Dimensions to base the report on.
+ /// [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_]+".
+ ///
/// [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_]+".
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -762,13 +762,13 @@
/// this method will complete with the same error.
async.Future<Report> generate(
core.String accountId, core.String startDate, core.String endDate,
- {core.List<core.String> sort,
+ {core.List<core.String> filter,
core.int startIndex,
- core.List<core.String> filter,
- core.List<core.String> metric,
core.String locale,
- core.List<core.String> dimension,
+ core.List<core.String> metric,
+ core.List<core.String> sort,
core.int maxResults,
+ core.List<core.String> dimension,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -788,27 +788,27 @@
throw new core.ArgumentError("Parameter endDate is required.");
}
_queryParams["endDate"] = [endDate];
- if (sort != null) {
- _queryParams["sort"] = sort;
+ if (filter != null) {
+ _queryParams["filter"] = filter;
}
if (startIndex != null) {
_queryParams["startIndex"] = ["${startIndex}"];
}
- if (filter != null) {
- _queryParams["filter"] = filter;
+ if (locale != null) {
+ _queryParams["locale"] = [locale];
}
if (metric != null) {
_queryParams["metric"] = metric;
}
- if (locale != null) {
- _queryParams["locale"] = [locale];
- }
- if (dimension != null) {
- _queryParams["dimension"] = dimension;
+ if (sort != null) {
+ _queryParams["sort"] = sort;
}
if (maxResults != null) {
_queryParams["maxResults"] = ["${maxResults}"];
}
+ if (dimension != null) {
+ _queryParams["dimension"] = dimension;
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -943,12 +943,12 @@
///
/// [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.
///
- /// [websiteLocale] - The locale of the user's hosted website.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -962,8 +962,8 @@
async.Future<AssociationSession> start(
core.List<core.String> productCode, core.String websiteUrl,
{core.String userLocale,
- core.String callbackUrl,
core.String websiteLocale,
+ core.String callbackUrl,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -983,12 +983,12 @@
if (userLocale != null) {
_queryParams["userLocale"] = [userLocale];
}
- if (callbackUrl != null) {
- _queryParams["callbackUrl"] = [callbackUrl];
- }
if (websiteLocale != null) {
_queryParams["websiteLocale"] = [websiteLocale];
}
+ if (callbackUrl != null) {
+ _queryParams["callbackUrl"] = [callbackUrl];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -1400,21 +1400,14 @@
/// Value must have pattern
/// "\d{4}-\d{2}-\d{2}|(today|startOfMonth|startOfYear)(([\-\+]\d+[dwmy]){0,3}?)".
///
- /// [filter] - Filters to be run on the report.
- /// 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_]+".
///
- /// [dimension] - Dimensions to base the report on.
- /// 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".
+ /// [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".
@@ -1424,6 +1417,13 @@
/// 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".
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1435,13 +1435,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<Report> generate(core.String startDate, core.String endDate,
- {core.List<core.String> filter,
+ {core.List<core.String> dimension,
core.List<core.String> metric,
- core.List<core.String> dimension,
- core.String locale,
- core.int startIndex,
+ core.List<core.String> filter,
core.int maxResults,
core.List<core.String> sort,
+ core.String locale,
+ core.int startIndex,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -1458,20 +1458,14 @@
throw new core.ArgumentError("Parameter endDate is required.");
}
_queryParams["endDate"] = [endDate];
- if (filter != null) {
- _queryParams["filter"] = filter;
+ if (dimension != null) {
+ _queryParams["dimension"] = dimension;
}
if (metric != null) {
_queryParams["metric"] = metric;
}
- if (dimension != null) {
- _queryParams["dimension"] = dimension;
- }
- if (locale != null) {
- _queryParams["locale"] = [locale];
- }
- if (startIndex != null) {
- _queryParams["startIndex"] = ["${startIndex}"];
+ if (filter != null) {
+ _queryParams["filter"] = filter;
}
if (maxResults != null) {
_queryParams["maxResults"] = ["${maxResults}"];
@@ -1479,6 +1473,12 @@
if (sort != null) {
_queryParams["sort"] = sort;
}
+ if (locale != null) {
+ _queryParams["locale"] = [locale];
+ }
+ if (startIndex != null) {
+ _queryParams["startIndex"] = ["${startIndex}"];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -1608,14 +1608,14 @@
///
/// [adClientId] - Ad client for which to list URL channels.
///
- /// [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.
///
+ /// [maxResults] - The maximum number of URL channels to include in the
+ /// response, used for paging.
+ /// Value must be between "0" and "10000".
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1627,7 +1627,7 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<UrlChannels> list(core.String adClientId,
- {core.int maxResults, core.String pageToken, core.String $fields}) {
+ {core.String pageToken, core.int maxResults, core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -1638,12 +1638,12 @@
if (adClientId == null) {
throw new core.ArgumentError("Parameter adClientId is required.");
}
- if (maxResults != null) {
- _queryParams["maxResults"] = ["${maxResults}"];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (maxResults != null) {
+ _queryParams["maxResults"] = ["${maxResults}"];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
diff --git a/generated/googleapis/lib/analytics/v3.dart b/generated/googleapis/lib/analytics/v3.dart
index 8615b42..b353ee4 100644
--- a/generated/googleapis/lib/analytics/v3.dart
+++ b/generated/googleapis/lib/analytics/v3.dart
@@ -111,30 +111,27 @@
/// 'ga:sessions,ga:pageviews'. At least one metric must be specified.
/// 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:.+".
- ///
- /// [filters] - A comma-separated list of dimension or metric filters to be
- /// applied to Analytics data.
- /// 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.
///
- /// [start_index] - An index of the first entity to retrieve. Use this
- /// parameter as a pagination mechanism along with the max-results parameter.
+ /// [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:.+".
+ ///
/// [samplingLevel] - The desired sampling level.
/// Possible string values are:
/// - "DEFAULT" : Returns response with a sample size that balances speed and
@@ -147,6 +144,9 @@
///
/// [max_results] - The maximum number of entries to include in this feed.
///
+ /// [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.
///
@@ -159,15 +159,15 @@
/// this method will complete with the same error.
async.Future<GaData> get(core.String ids, core.String start_date,
core.String end_date, core.String metrics,
- {core.bool include_empty_rows,
- core.String sort,
+ {core.String output,
core.String filters,
- core.String output,
- core.int start_index,
core.String dimensions,
+ core.bool include_empty_rows,
+ core.String sort,
core.String samplingLevel,
core.String segment,
core.int max_results,
+ core.int start_index,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -192,24 +192,21 @@
throw new core.ArgumentError("Parameter metrics is required.");
}
_queryParams["metrics"] = [metrics];
+ if (output != null) {
+ _queryParams["output"] = [output];
+ }
+ 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 (filters != null) {
- _queryParams["filters"] = [filters];
- }
- if (output != null) {
- _queryParams["output"] = [output];
- }
- if (start_index != null) {
- _queryParams["start-index"] = ["${start_index}"];
- }
- if (dimensions != null) {
- _queryParams["dimensions"] = [dimensions];
- }
if (samplingLevel != null) {
_queryParams["samplingLevel"] = [samplingLevel];
}
@@ -219,6 +216,9 @@
if (max_results != null) {
_queryParams["max-results"] = ["${max_results}"];
}
+ if (start_index != null) {
+ _queryParams["start-index"] = ["${start_index}"];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -265,9 +265,23 @@
/// be specified.
/// Value must have pattern "mcf:.+".
///
+ /// [dimensions] - A comma-separated list of Multi-Channel Funnels dimensions.
+ /// E.g., 'mcf:source,mcf:medium'.
+ /// Value must have pattern "(mcf:.+)?".
+ ///
+ /// [filters] - A comma-separated list of dimension or metric filters to be
+ /// 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.
/// Possible string values are:
/// - "DEFAULT" : Returns response with a sample size that balances speed and
@@ -276,20 +290,6 @@
/// - "HIGHER_PRECISION" : Returns a more accurate response using a large
/// sample size, but this may result in the response being slower.
///
- /// [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 the Analytics data.
- /// Value must have pattern "(-)?mcf:.+".
- ///
- /// [filters] - A comma-separated list of dimension or metric filters to be
- /// applied to the Analytics data.
- /// Value must have pattern "mcf:.+".
- ///
- /// [dimensions] - A comma-separated list of Multi-Channel Funnels dimensions.
- /// E.g., 'mcf:source,mcf:medium'.
- /// Value must have pattern "(mcf:.+)?".
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -302,12 +302,12 @@
/// this method will complete with the same error.
async.Future<McfData> get(core.String ids, core.String start_date,
core.String end_date, core.String metrics,
- {core.int start_index,
- core.String samplingLevel,
- core.int max_results,
- core.String sort,
+ {core.String dimensions,
core.String filters,
- core.String dimensions,
+ core.int start_index,
+ core.String sort,
+ core.int max_results,
+ core.String samplingLevel,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -332,23 +332,23 @@
throw new core.ArgumentError("Parameter metrics is required.");
}
_queryParams["metrics"] = [metrics];
- if (start_index != null) {
- _queryParams["start-index"] = ["${start_index}"];
- }
- if (samplingLevel != null) {
- _queryParams["samplingLevel"] = [samplingLevel];
- }
- if (max_results != null) {
- _queryParams["max-results"] = ["${max_results}"];
- }
- if (sort != null) {
- _queryParams["sort"] = [sort];
+ if (dimensions != null) {
+ _queryParams["dimensions"] = [dimensions];
}
if (filters != null) {
_queryParams["filters"] = [filters];
}
- if (dimensions != null) {
- _queryParams["dimensions"] = [dimensions];
+ 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 ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -385,14 +385,14 @@
///
/// [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:.+))".
- ///
/// [filters] - A comma-separated list of dimension or metric filters to be
/// applied to real time data.
/// Value must have pattern "(ga:.+)|(rt:.+)".
///
+ /// [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:.+)".
@@ -409,8 +409,8 @@
/// this method will complete with the same error.
async.Future<RealtimeData> get(core.String ids, core.String metrics,
{core.int max_results,
- core.String sort,
core.String filters,
+ core.String sort,
core.String dimensions,
core.String $fields}) {
var _url;
@@ -431,12 +431,12 @@
if (max_results != null) {
_queryParams["max-results"] = ["${max_results}"];
}
- if (sort != null) {
- _queryParams["sort"] = [sort];
- }
if (filters != null) {
_queryParams["filters"] = [filters];
}
+ if (sort != null) {
+ _queryParams["sort"] = [sort];
+ }
if (dimensions != null) {
_queryParams["dimensions"] = [dimensions];
}
@@ -795,12 +795,12 @@
///
/// Request parameters:
///
- /// [start_index] - An index of the first account to retrieve. Use this
- /// parameter as a pagination mechanism along with the max-results parameter.
- ///
/// [max_results] - The maximum number of accounts to include in this
/// response.
///
+ /// [start_index] - An index of the first account 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.
///
@@ -812,7 +812,7 @@
/// 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.int start_index, core.int max_results, core.String $fields}) {
+ {core.int max_results, core.int start_index, core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -820,12 +820,12 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _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];
}
@@ -1864,12 +1864,12 @@
/// [profileId] - View (Profile) ID to retrieve experiments for.
/// Value must have pattern "\d+".
///
- /// [start_index] - An index of the first experiment to retrieve. Use this
- /// parameter as a pagination mechanism along with the max-results parameter.
- ///
/// [max_results] - The maximum number of experiments to include in this
/// response.
///
+ /// [start_index] - An index of the first experiment 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.
///
@@ -1882,7 +1882,7 @@
/// this method will complete with the same error.
async.Future<Experiments> list(
core.String accountId, core.String webPropertyId, core.String profileId,
- {core.int start_index, core.int max_results, core.String $fields}) {
+ {core.int max_results, core.int start_index, core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -1899,12 +1899,12 @@
if (profileId == null) {
throw new 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];
}
@@ -2559,11 +2559,11 @@
/// specific view (profile) ID or '~all', which refers to all the views
/// (profiles) that user has access to.
///
+ /// [max_results] - The maximum number of goals to include in this response.
+ ///
/// [start_index] - An index of the first goal to retrieve. Use this parameter
/// as a pagination mechanism along with the max-results parameter.
///
- /// [max_results] - The maximum number of goals to include in this response.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -2576,7 +2576,7 @@
/// this method will complete with the same error.
async.Future<Goals> list(
core.String accountId, core.String webPropertyId, core.String profileId,
- {core.int start_index, core.int max_results, core.String $fields}) {
+ {core.int max_results, core.int start_index, core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -2593,12 +2593,12 @@
if (profileId == null) {
throw new 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];
}
@@ -3702,12 +3702,12 @@
/// Can either be a specific web property ID or '~all', which refers to all
/// the web properties to which the user has access.
///
- /// [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 views (profiles) 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.
///
@@ -3719,7 +3719,7 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<Profiles> list(core.String accountId, core.String webPropertyId,
- {core.int start_index, core.int max_results, core.String $fields}) {
+ {core.int max_results, core.int start_index, core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -3733,12 +3733,12 @@
if (webPropertyId == null) {
throw new 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];
}
@@ -4083,13 +4083,13 @@
/// [webPropertyId] - The web property ID of the remarketing audiences to
/// retrieve.
///
- /// [type] - null
+ /// [max_results] - The maximum number of remarketing audiences 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 remarketing audiences to include in
- /// this response.
+ /// [type] - null
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -4103,9 +4103,9 @@
/// this method will complete with the same error.
async.Future<RemarketingAudiences> list(
core.String accountId, core.String webPropertyId,
- {core.String type,
+ {core.int max_results,
core.int start_index,
- core.int max_results,
+ core.String type,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -4120,14 +4120,14 @@
if (webPropertyId == null) {
throw new core.ArgumentError("Parameter webPropertyId is required.");
}
- if (type != null) {
- _queryParams["type"] = [type];
+ if (max_results != null) {
+ _queryParams["max-results"] = ["${max_results}"];
}
if (start_index != null) {
_queryParams["start-index"] = ["${start_index}"];
}
- if (max_results != null) {
- _queryParams["max-results"] = ["${max_results}"];
+ if (type != null) {
+ _queryParams["type"] = [type];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -4298,12 +4298,12 @@
///
/// Request parameters:
///
- /// [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.
///
+ /// [max_results] - The maximum number of segments to include in this
+ /// response.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -4315,7 +4315,7 @@
/// 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 max_results, core.int start_index, core.String $fields}) {
+ {core.int start_index, core.int max_results, core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -4323,12 +4323,12 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body;
- if (max_results != null) {
- _queryParams["max-results"] = ["${max_results}"];
- }
if (start_index != null) {
_queryParams["start-index"] = ["${start_index}"];
}
+ if (max_results != null) {
+ _queryParams["max-results"] = ["${max_results}"];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -4789,11 +4789,11 @@
/// [customDataSourceId] - Custom data source Id for uploads to retrieve.
/// Value must have pattern ".{22}".
///
+ /// [max_results] - The maximum number of uploads to include in this response.
+ ///
/// [start_index] - A 1-based index of the first upload to retrieve. Use this
/// parameter as a pagination mechanism along with the max-results parameter.
///
- /// [max_results] - The maximum number of uploads to include in this response.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -4806,7 +4806,7 @@
/// this method will complete with the same error.
async.Future<Uploads> list(core.String accountId, core.String webPropertyId,
core.String customDataSourceId,
- {core.int start_index, core.int max_results, core.String $fields}) {
+ {core.int max_results, core.int start_index, core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -4823,12 +4823,12 @@
if (customDataSourceId == null) {
throw new core.ArgumentError("Parameter customDataSourceId 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 7b02454..3220739 100644
--- a/generated/googleapis/lib/androiddeviceprovisioning/v1.dart
+++ b/generated/googleapis/lib/androiddeviceprovisioning/v1.dart
@@ -48,11 +48,11 @@
///
/// Request parameters:
///
- /// [pageToken] - A token specifying which result page to return.
- ///
/// [pageSize] - The maximum number of customers to show in a page of results.
/// A number 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.
///
@@ -64,7 +64,7 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<CustomerListCustomersResponse> list(
- {core.String pageToken, core.int pageSize, core.String $fields}) {
+ {core.int pageSize, core.String pageToken, core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -72,12 +72,12 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _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];
}
@@ -1436,11 +1436,11 @@
/// `partners/[PARTNER_ID]/vendors/[VENDOR_ID]`.
/// Value must have pattern "^partners/[^/]+/vendors/[^/]+$".
///
+ /// [pageSize] - The maximum number of results to be returned.
+ ///
/// [pageToken] - A token identifying a page of results returned by the
/// server.
///
- /// [pageSize] - The maximum number of results to be returned.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1452,7 +1452,7 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<ListVendorCustomersResponse> list(core.String parent,
- {core.String pageToken, core.int pageSize, core.String $fields}) {
+ {core.int pageSize, core.String pageToken, core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -1463,12 +1463,12 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
diff --git a/generated/googleapis/lib/androidenterprise/v1.dart b/generated/googleapis/lib/androidenterprise/v1.dart
index 7b6d986..4ee6ab2 100644
--- a/generated/googleapis/lib/androidenterprise/v1.dart
+++ b/generated/googleapis/lib/androidenterprise/v1.dart
@@ -2857,6 +2857,16 @@
///
/// [enterpriseId] - The ID of the enterprise.
///
+ /// [approved] - Specifies whether to search among all products (false) or
+ /// among only products that have been approved (true). Only "true" is
+ /// supported, and should be specified.
+ ///
+ /// [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.
@@ -2866,16 +2876,6 @@
/// "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.
- ///
- /// [approved] - Specifies whether to search among all products (false) or
- /// among only products that have been approved (true). Only "true" is
- /// supported, and should be specified.
- ///
- /// [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.
///
@@ -2887,11 +2887,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<ProductsListResponse> list(core.String enterpriseId,
- {core.String query,
- core.String language,
+ {core.bool approved,
core.int maxResults,
- core.bool approved,
core.String token,
+ core.String query,
+ core.String language,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -2903,21 +2903,21 @@
if (enterpriseId == null) {
throw new core.ArgumentError("Parameter enterpriseId is required.");
}
+ if (approved != null) {
+ _queryParams["approved"] = ["${approved}"];
+ }
+ 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 (maxResults != null) {
- _queryParams["maxResults"] = ["${maxResults}"];
- }
- if (approved != null) {
- _queryParams["approved"] = ["${approved}"];
- }
- 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 ccd9e90..6ec00d8 100644
--- a/generated/googleapis/lib/androidmanagement/v1.dart
+++ b/generated/googleapis/lib/androidmanagement/v1.dart
@@ -64,11 +64,11 @@
/// [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.
///
- /// [enterpriseToken] - The enterprise token appended to the callback URL.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -81,8 +81,8 @@
/// this method will complete with the same error.
async.Future<Enterprise> create(Enterprise request,
{core.String projectId,
- core.String signupUrlName,
core.String enterpriseToken,
+ core.String signupUrlName,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -97,12 +97,12 @@
if (projectId != null) {
_queryParams["projectId"] = [projectId];
}
- if (signupUrlName != null) {
- _queryParams["signupUrlName"] = [signupUrlName];
- }
if (enterpriseToken != null) {
_queryParams["enterpriseToken"] = [enterpriseToken];
}
+ if (signupUrlName != null) {
+ _queryParams["signupUrlName"] = [signupUrlName];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -725,12 +725,12 @@
/// [name] - The name of the operation's parent resource.
/// Value must have pattern "^enterprises/[^/]+/devices/[^/]+/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.
///
@@ -742,9 +742,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<ListOperationsResponse> list(core.String name,
- {core.String pageToken,
- core.String filter,
+ {core.String filter,
core.int pageSize,
+ core.String pageToken,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -756,15 +756,15 @@
if (name == null) {
throw new 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];
}
@@ -989,12 +989,12 @@
/// enterprises/{enterpriseId}.
/// Value must have pattern "^enterprises/[^/]+$".
///
- /// [pageToken] - A token identifying a page of results returned by the
- /// server.
- ///
/// [pageSize] - The requested page size. The actual page size may be fixed to
/// a min or max value.
///
+ /// [pageToken] - A token identifying a page of results returned by the
+ /// server.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1006,7 +1006,7 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<ListPoliciesResponse> list(core.String parent,
- {core.String pageToken, core.int pageSize, core.String $fields}) {
+ {core.int pageSize, core.String pageToken, core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -1017,12 +1017,12 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -1249,12 +1249,12 @@
/// enterprises/{enterpriseId}.
/// Value must have pattern "^enterprises/[^/]+$".
///
- /// [pageToken] - A token identifying a page of results returned by the
- /// server.
- ///
/// [pageSize] - The requested page size. The actual page size may be fixed to
/// a min or max value.
///
+ /// [pageToken] - A token identifying a page of results returned by the
+ /// server.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1266,7 +1266,7 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<ListWebAppsResponse> list(core.String parent,
- {core.String pageToken, core.int pageSize, core.String $fields}) {
+ {core.int pageSize, core.String pageToken, core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -1277,12 +1277,12 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -1424,9 +1424,6 @@
///
/// Request parameters:
///
- /// [projectId] - The ID of the Google Cloud Platform project which will own
- /// the enterprise.
- ///
/// [callbackUrl] - The callback URL that the admin will be redirected to
/// after successfully creating an enterprise. Before redirecting there the
/// system will add a query parameter to this URL named enterpriseToken which
@@ -1434,6 +1431,9 @@
/// The URL will be parsed then reformatted in order to add the
/// enterpriseToken parameter, so there may be some minor formatting changes.
///
+ /// [projectId] - The ID of the Google Cloud Platform project which will own
+ /// the enterprise.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1445,7 +1445,7 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<SignupUrl> create(
- {core.String projectId, core.String callbackUrl, core.String $fields}) {
+ {core.String callbackUrl, core.String projectId, core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -1453,12 +1453,12 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body;
- if (projectId != null) {
- _queryParams["projectId"] = [projectId];
- }
if (callbackUrl != null) {
_queryParams["callbackUrl"] = [callbackUrl];
}
+ if (projectId != null) {
+ _queryParams["projectId"] = [projectId];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
diff --git a/generated/googleapis/lib/androidpublisher/v3.dart b/generated/googleapis/lib/androidpublisher/v3.dart
index ad6bc73..e3af741 100644
--- a/generated/googleapis/lib/androidpublisher/v3.dart
+++ b/generated/googleapis/lib/androidpublisher/v3.dart
@@ -2651,12 +2651,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.
///
@@ -2668,9 +2668,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<InappproductsListResponse> list(core.String packageName,
- {core.int maxResults,
+ {core.String token,
+ core.int maxResults,
core.int startIndex,
- core.String token,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -2682,15 +2682,15 @@
if (packageName == null) {
throw new 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];
}
@@ -3624,18 +3624,14 @@
/// [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.
+ ///
/// [maxResults] - Defines how many results the list operation should return.
/// The default number depends on the resource collection.
///
- /// [type] - The type of voided purchases that you want to see in the
- /// response. Possible values are: 0. Only voided in-app product purchases
- /// will be returned in the response. This is the default value. 1. Both
- /// voided in-app purchases and voided subscription purchases will be returned
- /// in the response. Note: Before requesting to receive voided subscription
- /// purchases, you must switch to use orderId in the response which uniquely
- /// identifies one-time purchases and subscriptions. Otherwise, you will
- /// receive multiple subscription orders with the same PurchaseToken, because
- /// subscription renewal orders share the same PurchaseToken.
+ /// [token] - Defines the token of the page to return, usually taken from
+ /// TokenPagination. This can only be used if token 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
@@ -3651,11 +3647,15 @@
/// 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.
///
- /// [startIndex] - Defines the index of the first element to return. This can
- /// only be used if indexed paging is enabled.
- ///
- /// [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
+ /// will be returned in the response. This is the default value. 1. Both
+ /// voided in-app purchases and voided subscription purchases will be returned
+ /// in the response. Note: Before requesting to receive voided subscription
+ /// purchases, you must switch to use orderId in the response which uniquely
+ /// identifies one-time purchases and subscriptions. Otherwise, you will
+ /// receive multiple subscription orders with the same PurchaseToken, because
+ /// subscription renewal orders share the same PurchaseToken.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -3668,12 +3668,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<VoidedPurchasesListResponse> list(core.String packageName,
- {core.int maxResults,
- core.int type,
+ {core.int startIndex,
+ core.int maxResults,
+ core.String token,
core.String startTime,
core.String endTime,
- core.int startIndex,
- core.String token,
+ core.int type,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -3685,11 +3685,14 @@
if (packageName == null) {
throw new core.ArgumentError("Parameter packageName is required.");
}
+ if (startIndex != null) {
+ _queryParams["startIndex"] = ["${startIndex}"];
+ }
if (maxResults != null) {
_queryParams["maxResults"] = ["${maxResults}"];
}
- if (type != null) {
- _queryParams["type"] = ["${type}"];
+ if (token != null) {
+ _queryParams["token"] = [token];
}
if (startTime != null) {
_queryParams["startTime"] = [startTime];
@@ -3697,11 +3700,8 @@
if (endTime != null) {
_queryParams["endTime"] = [endTime];
}
- if (startIndex != null) {
- _queryParams["startIndex"] = ["${startIndex}"];
- }
- if (token != null) {
- _queryParams["token"] = [token];
+ if (type != null) {
+ _queryParams["type"] = ["${type}"];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
diff --git a/generated/googleapis/lib/apigee/v1.dart b/generated/googleapis/lib/apigee/v1.dart
index a68191a..4b4c5e8 100644
--- a/generated/googleapis/lib/apigee/v1.dart
+++ b/generated/googleapis/lib/apigee/v1.dart
@@ -31,6 +31,7 @@
HybridResourceApi get hybrid => new HybridResourceApi(_requester);
OrganizationsResourceApi get organizations =>
new OrganizationsResourceApi(_requester);
+ ProjectsResourceApi get projects => new ProjectsResourceApi(_requester);
ApigeeApi(http.Client client,
{core.String rootUrl = "https://apigee.googleapis.com/",
@@ -132,6 +133,8 @@
new OrganizationsReportsResourceApi(_requester);
OrganizationsSharedflowsResourceApi get sharedflows =>
new OrganizationsSharedflowsResourceApi(_requester);
+ OrganizationsSitesResourceApi get sites =>
+ new OrganizationsSitesResourceApi(_requester);
OrganizationsResourceApi(commons.ApiRequester client) : _requester = client;
@@ -244,6 +247,19 @@
/// in the following format: 'organizations/{org}/deployedIngressConfig'.
/// Value must have pattern "^organizations/[^/]+/deployedIngressConfig$".
///
+ /// [view] - When set to FULL, additional details about the specific
+ /// deployments receiving traffic will be included in the IngressConfig
+ /// response's RoutingRules.
+ /// Possible string values are:
+ /// - "INGRESS_CONFIG_VIEW_UNSPECIFIED" : The default/unset value. The API
+ /// will default to the BASIC view.
+ /// - "BASIC" : Include all ingress config data necessary for the runtime to
+ /// configure ingress, but no more. Routing rules will include only basepath
+ /// and destination environment. This the default value.
+ /// - "FULL" : Include all ingress config data, including internal debug info
+ /// for each routing rule such as the proxy claiming a particular basepath and
+ /// when the routing rule first appeared in the env group.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -256,7 +272,8 @@
/// this method will complete with the same error.
async.Future<GoogleCloudApigeeV1IngressConfig> getDeployedIngressConfig(
core.String name,
- {core.String $fields}) {
+ {core.String view,
+ core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -267,6 +284,9 @@
if (name == null) {
throw new core.ArgumentError("Parameter name is required.");
}
+ if (view != null) {
+ _queryParams["view"] = [view];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -1096,21 +1116,21 @@
/// form: organizations/organization_ID
/// Value must have pattern "^organizations/[^/]+$".
///
- /// [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.
+ /// [expand] - Set to `true` to get expanded details about each API.
///
/// [attributevalue] - The value of the attribute.
///
- /// [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.
///
@@ -1123,11 +1143,11 @@
/// this method will complete with the same error.
async.Future<GoogleCloudApigeeV1ListApiProductsResponse> list(
core.String parent,
- {core.String count,
- core.String attributename,
+ {core.bool expand,
core.String attributevalue,
- core.bool expand,
core.String startKey,
+ core.String count,
+ core.String attributename,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -1139,21 +1159,21 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
+ if (expand != null) {
+ _queryParams["expand"] = ["${expand}"];
+ }
+ 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 (attributevalue != null) {
- _queryParams["attributevalue"] = [attributevalue];
- }
- if (expand != null) {
- _queryParams["expand"] = ["${expand}"];
- }
- if (startKey != null) {
- _queryParams["startKey"] = [startKey];
- }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -1475,6 +1495,9 @@
/// `organizations/{org}`
/// Value must have pattern "^organizations/[^/]+$".
///
+ /// [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.
///
@@ -1483,9 +1506,6 @@
/// 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._-
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1498,9 +1518,9 @@
/// this method will complete with the same error.
async.Future<GoogleCloudApigeeV1ApiProxyRevision> create(
GoogleApiHttpBody request, core.String parent,
- {core.bool validate,
+ {core.String name,
+ core.bool validate,
core.String action,
- core.String name,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -1515,15 +1535,15 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
+ if (name != null) {
+ _queryParams["name"] = [name];
+ }
if (validate != null) {
_queryParams["validate"] = ["${validate}"];
}
if (action != null) {
_queryParams["action"] = [action];
}
- if (name != null) {
- _queryParams["name"] = [name];
- }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -2169,22 +2189,22 @@
/// [expand] - Optional. Flag that specifies whether to return an expanded
/// list of apps for the organization. Defaults to `false`.
///
- /// [apiProduct] - API product.
- ///
- /// [apptype] - Optional. Filter by the type of the app. Valid values are
- /// `company` or `developer`. Defaults to `developer`.
- ///
/// [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`.
///
- /// [rows] - Optional. Maximum number of app IDs to return. Defaults to 10000.
- ///
/// [keyStatus] - Optional. Key status of the app. Valid values include
/// `approved` or `revoked`. Defaults to `approved`.
///
+ /// [apptype] - Optional. Filter by the type of the app. Valid values are
+ /// `company` or `developer`. Defaults to `developer`.
+ ///
+ /// [apiProduct] - API product.
+ ///
/// [ids] - Optional. Comma-separated list of app IDs on which to filter.
///
/// [$fields] - Selector specifying which fields to include in a partial
@@ -2200,12 +2220,12 @@
async.Future<GoogleCloudApigeeV1ListAppsResponse> list(core.String parent,
{core.String startKey,
core.bool expand,
- core.String apiProduct,
- core.String apptype,
core.bool includeCred,
- core.String status,
core.String rows,
+ core.String status,
core.String keyStatus,
+ core.String apptype,
+ core.String apiProduct,
core.String ids,
core.String $fields}) {
var _url;
@@ -2224,24 +2244,24 @@
if (expand != null) {
_queryParams["expand"] = ["${expand}"];
}
- if (apiProduct != null) {
- _queryParams["apiProduct"] = [apiProduct];
- }
- if (apptype != null) {
- _queryParams["apptype"] = [apptype];
- }
if (includeCred != null) {
_queryParams["includeCred"] = ["${includeCred}"];
}
- if (status != null) {
- _queryParams["status"] = [status];
- }
if (rows != null) {
_queryParams["rows"] = [rows];
}
+ if (status != null) {
+ _queryParams["status"] = [status];
+ }
if (keyStatus != null) {
_queryParams["keyStatus"] = [keyStatus];
}
+ if (apptype != null) {
+ _queryParams["apptype"] = [apptype];
+ }
+ if (apiProduct != null) {
+ _queryParams["apiProduct"] = [apiProduct];
+ }
if (ids != null) {
_queryParams["ids"] = [ids];
}
@@ -2581,11 +2601,12 @@
/// 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.
///
/// [startKey] - **Note**: Must be used in conjunction with the `count`
/// parameter. Email address of the developer from which to start displaying
@@ -2594,12 +2615,11 @@
/// your `startKey` is `fezzik@example.com`, the list returned will be ```
/// fezzik@example.com buttercup@example.com ```
///
- /// [includeCompany] - Flag that specifies whether to include company details
- /// in the response.
+ /// [ids] - Optional. List of IDs to include, separated by commas.
///
- /// [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.
+ /// [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.
@@ -2613,11 +2633,11 @@
/// this method will complete with the same error.
async.Future<GoogleCloudApigeeV1ListOfDevelopersResponse> list(
core.String parent,
- {core.String count,
- core.String ids,
- core.String startKey,
+ {core.bool expand,
core.bool includeCompany,
- core.bool expand,
+ core.String startKey,
+ core.String ids,
+ core.String count,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -2629,20 +2649,20 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (count != null) {
- _queryParams["count"] = [count];
- }
- if (ids != null) {
- _queryParams["ids"] = [ids];
- }
- if (startKey != null) {
- _queryParams["startKey"] = [startKey];
+ if (expand != null) {
+ _queryParams["expand"] = ["${expand}"];
}
if (includeCompany != null) {
_queryParams["includeCompany"] = ["${includeCompany}"];
}
- if (expand != null) {
- _queryParams["expand"] = ["${expand}"];
+ if (startKey != null) {
+ _queryParams["startKey"] = [startKey];
+ }
+ if (ids != null) {
+ _queryParams["ids"] = [ids];
+ }
+ if (count != null) {
+ _queryParams["count"] = [count];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -3050,16 +3070,16 @@
/// Value must have pattern
/// "^organizations/[^/]+/developers/[^/]+/apps/[^/]+$".
///
- /// [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.
///
+ /// [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.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -3071,7 +3091,7 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<GoogleCloudApigeeV1DeveloperApp> get(core.String name,
- {core.String entity, core.String query, core.String $fields}) {
+ {core.String query, core.String entity, core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -3082,12 +3102,12 @@
if (name == null) {
throw new core.ArgumentError("Parameter name is required.");
}
- if (entity != null) {
- _queryParams["entity"] = [entity];
- }
if (query != null) {
_queryParams["query"] = [query];
}
+ if (entity != null) {
+ _queryParams["entity"] = [entity];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -3116,6 +3136,16 @@
/// your request: `organizations/{org}/developers/{developer_email}`
/// Value must have pattern "^organizations/[^/]+/developers/[^/]+$".
///
+ /// [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
+ /// at a time (using the `count` query parameter), you can view developer apps
+ /// 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.
@@ -3124,16 +3154,6 @@
/// `startKey` parameter to provide more targeted filtering. The limit is
/// 1000.
///
- /// [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
- /// at a time (using the `count` query parameter), you can view developer apps
- /// 50-99 by entering the name of the 50th developer app. The developer app
- /// name is case sensitive.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -3146,10 +3166,10 @@
/// this method will complete with the same error.
async.Future<GoogleCloudApigeeV1ListDeveloperAppsResponse> list(
core.String parent,
- {core.bool expand,
- core.String count,
+ {core.String startKey,
core.bool shallowExpand,
- core.String startKey,
+ core.bool expand,
+ core.String count,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -3161,18 +3181,18 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
+ if (startKey != null) {
+ _queryParams["startKey"] = [startKey];
+ }
+ if (shallowExpand != null) {
+ _queryParams["shallowExpand"] = ["${shallowExpand}"];
+ }
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];
}
@@ -4340,12 +4360,12 @@
/// environment groups in the following format: `organizations/{org}`.
/// Value must have pattern "^organizations/[^/]+$".
///
- /// [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.
///
+ /// [pageSize] - Maximum number of environment groups to return. The page size
+ /// defaults to 25.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -4358,8 +4378,8 @@
/// this method will complete with the same error.
async.Future<GoogleCloudApigeeV1ListEnvironmentGroupsResponse> list(
core.String parent,
- {core.int pageSize,
- core.String pageToken,
+ {core.String pageToken,
+ core.int pageSize,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -4371,12 +4391,12 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -5769,6 +5789,12 @@
/// Value must have pattern
/// "^organizations/[^/]+/environments/[^/]+/apis/[^/]+/revisions/[^/]+$".
///
+ /// [override] - Flag that specifies whether the new deployment replaces other
+ /// deployed revisions of the API proxy in the environment. Set override to
+ /// true to replace other deployed revisions. By default, override is false
+ /// and the deployment is rejected if other revisions of the API proxy are
+ /// deployed in the environment.
+ ///
/// [sequencedRollout] - If true, a best-effort attempt will be made to roll
/// out the routing rules corresponding to this deployment and the environment
/// changes to add this deployment in a safe order. This reduces the risk of
@@ -5781,12 +5807,6 @@
/// changes before issuing the deployment request, and its response will
/// indicate if a sequenced rollout is recommended for the deployment.
///
- /// [override] - Flag that specifies whether the new deployment replaces other
- /// deployed revisions of the API proxy in the environment. Set override to
- /// true to replace other deployed revisions. By default, override is false
- /// and the deployment is rejected if other revisions of the API proxy are
- /// deployed in the environment.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -5798,7 +5818,7 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<GoogleCloudApigeeV1Deployment> deploy(core.String name,
- {core.bool sequencedRollout, core.bool override, core.String $fields}) {
+ {core.bool override, core.bool sequencedRollout, core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -5809,12 +5829,12 @@
if (name == null) {
throw new core.ArgumentError("Parameter name is required.");
}
- if (sequencedRollout != null) {
- _queryParams["sequencedRollout"] = ["${sequencedRollout}"];
- }
if (override != null) {
_queryParams["override"] = ["${override}"];
}
+ if (sequencedRollout != null) {
+ _queryParams["sequencedRollout"] = ["${sequencedRollout}"];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -6130,12 +6150,12 @@
/// Value must have pattern
/// "^organizations/[^/]+/environments/[^/]+/apis/[^/]+/revisions/[^/]+$".
///
- /// [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.
///
+ /// [pageSize] - Maximum number of debug sessions to return. The page size
+ /// defaults to 25.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -6148,8 +6168,8 @@
/// this method will complete with the same error.
async.Future<GoogleCloudApigeeV1ListDebugSessionsResponse> list(
core.String parent,
- {core.int pageSize,
- core.String pageToken,
+ {core.String pageToken,
+ core.int pageSize,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -6161,12 +6181,12 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -6851,22 +6871,22 @@
/// Value must have pattern
/// "^organizations/[^/]+/environments/[^/]+/keystores/[^/]+$".
///
- /// [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.
- ///
- /// [format] - Required. The format of the data. Must be either
- /// `selfsignedcert`, `keycertfile`, or `pkcs12`.
- ///
/// [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.
+ ///
/// [ignoreExpiryValidation] - If `true`, no expiry validation will be
/// performed.
///
- /// [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`.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -6880,11 +6900,11 @@
/// this method will complete with the same error.
async.Future<GoogleCloudApigeeV1Alias> create(
GoogleApiHttpBody request, core.String parent,
- {core.bool ignoreNewlineValidation,
- core.String format,
- core.String alias,
- core.bool ignoreExpiryValidation,
+ {core.String alias,
+ core.bool ignoreNewlineValidation,
core.String P_password,
+ core.bool ignoreExpiryValidation,
+ core.String format,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -6899,20 +6919,20 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
+ if (alias != null) {
+ _queryParams["alias"] = [alias];
+ }
if (ignoreNewlineValidation != null) {
_queryParams["ignoreNewlineValidation"] = ["${ignoreNewlineValidation}"];
}
- if (format != null) {
- _queryParams["format"] = [format];
- }
- if (alias != null) {
- _queryParams["alias"] = [alias];
+ if (P_password != null) {
+ _queryParams["_password"] = [P_password];
}
if (ignoreExpiryValidation != null) {
_queryParams["ignoreExpiryValidation"] = ["${ignoreExpiryValidation}"];
}
- if (P_password != null) {
- _queryParams["_password"] = [P_password];
+ if (format != null) {
+ _queryParams["format"] = [format];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -7129,13 +7149,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.
///
@@ -7148,8 +7168,8 @@
/// this method will complete with the same error.
async.Future<GoogleCloudApigeeV1Alias> update(
GoogleApiHttpBody request, core.String name,
- {core.bool ignoreExpiryValidation,
- core.bool ignoreNewlineValidation,
+ {core.bool ignoreNewlineValidation,
+ core.bool ignoreExpiryValidation,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -7164,12 +7184,12 @@
if (name == null) {
throw new core.ArgumentError("Parameter name is required.");
}
- if (ignoreExpiryValidation != null) {
- _queryParams["ignoreExpiryValidation"] = ["${ignoreExpiryValidation}"];
- }
if (ignoreNewlineValidation != null) {
_queryParams["ignoreNewlineValidation"] = ["${ignoreNewlineValidation}"];
}
+ if (ignoreExpiryValidation != null) {
+ _queryParams["ignoreExpiryValidation"] = ["${ignoreExpiryValidation}"];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -7321,48 +7341,48 @@
/// Value must have pattern
/// "^organizations/[^/]+/environments/[^/]+/optimizedStats/.*$".
///
- /// [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'.
+ /// [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.
///
- /// [filter] - Enables drill-down on specific dimension values.
- ///
- /// [sortby] - Comma separated list of columns to sort the final result.
- ///
- /// [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.
///
- /// [sort] - This parameter specifies if the sort order should be ascending or
- /// descending Supported values are DESC and ASC.
+ /// [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
///
- /// [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'.
+ /// [tzo] - This parameters contains the timezone offset value.
+ ///
+ /// [sortby] - Comma separated list of columns to sort the final result.
+ ///
+ /// [topk] - Take 'top k' results from results, for example, to return the top
+ /// 5 results 'topk=5'.
///
/// [select] - Required. The select parameter contains a comma separated list
/// of metrics. E.g. sum(message_count),sum(error_count)
///
- /// [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
+ /// [tsAscending] - Lists timestamps in ascending order if set to true.
+ /// Recommend setting this value to true if you are using sortby with
+ /// sort=DESC.
///
- /// [limit] - This parameter is used to limit the number of result items.
- /// Default and the max value is 14400.
- ///
- /// [tzo] - This parameters contains the timezone offset value.
- ///
- /// [accuracy] - Legacy field: not used anymore.
+ /// [filter] - Enables drill-down on specific dimension values.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -7375,21 +7395,21 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<GoogleCloudApigeeV1OptimizedStats> get(core.String name,
- {core.String timeUnit,
- core.String topk,
+ {core.String offset,
core.bool sonar,
- core.bool realtime,
- core.String filter,
- core.String sortby,
- core.bool tsAscending,
- core.String aggTable,
- core.String sort,
- core.String offset,
- core.String select,
- core.String timeRange,
- core.String limit,
- core.String tzo,
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 $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -7401,50 +7421,50 @@
if (name == null) {
throw new core.ArgumentError("Parameter name is required.");
}
- if (timeUnit != null) {
- _queryParams["timeUnit"] = [timeUnit];
- }
- if (topk != null) {
- _queryParams["topk"] = [topk];
+ if (offset != null) {
+ _queryParams["offset"] = [offset];
}
if (sonar != null) {
_queryParams["sonar"] = ["${sonar}"];
}
- if (realtime != null) {
- _queryParams["realtime"] = ["${realtime}"];
- }
- if (filter != null) {
- _queryParams["filter"] = [filter];
- }
- if (sortby != null) {
- _queryParams["sortby"] = [sortby];
- }
- if (tsAscending != null) {
- _queryParams["tsAscending"] = ["${tsAscending}"];
- }
- if (aggTable != null) {
- _queryParams["aggTable"] = [aggTable];
- }
- if (sort != null) {
- _queryParams["sort"] = [sort];
- }
- if (offset != null) {
- _queryParams["offset"] = [offset];
- }
- if (select != null) {
- _queryParams["select"] = [select];
- }
- if (timeRange != null) {
- _queryParams["timeRange"] = [timeRange];
+ 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 (tzo != null) {
_queryParams["tzo"] = [tzo];
}
- if (accuracy != null) {
- _queryParams["accuracy"] = [accuracy];
+ if (sortby != null) {
+ _queryParams["sortby"] = [sortby];
+ }
+ if (topk != null) {
+ _queryParams["topk"] = [topk];
+ }
+ if (select != null) {
+ _queryParams["select"] = [select];
+ }
+ if (tsAscending != null) {
+ _queryParams["tsAscending"] = ["${tsAscending}"];
+ }
+ if (filter != null) {
+ _queryParams["filter"] = [filter];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -7633,23 +7653,23 @@
/// `organizations/{org}/environments/{env}`.
/// Value must have pattern "^organizations/[^/]+/environments/[^/]+$".
///
- /// [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'.
- ///
/// [submittedBy] - Filter response list by user who submitted queries.
///
- /// [dataset] - Filter response list by dataset. Example: `api`, `mint`
- ///
- /// [inclQueriesWithoutReport] - Flag to include asynchronous queries that
- /// don't have a report denifition.
- ///
/// [from] - Filter response list by returning asynchronous queries that
/// created after this date time. Time must be in ISO date-time format like
/// '2011-12-03T10:15:30Z'.
///
+ /// [inclQueriesWithoutReport] - Flag to include asynchronous queries that
+ /// don't have a report denifition.
+ ///
+ /// [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.
///
@@ -7662,12 +7682,12 @@
/// this method will complete with the same error.
async.Future<GoogleCloudApigeeV1ListAsyncQueriesResponse> list(
core.String parent,
- {core.String to,
- core.String submittedBy,
- core.String dataset,
- core.String inclQueriesWithoutReport,
+ {core.String submittedBy,
core.String from,
+ core.String inclQueriesWithoutReport,
+ core.String to,
core.String status,
+ core.String dataset,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -7679,24 +7699,24 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (to != null) {
- _queryParams["to"] = [to];
- }
if (submittedBy != null) {
_queryParams["submittedBy"] = [submittedBy];
}
- if (dataset != null) {
- _queryParams["dataset"] = [dataset];
- }
- if (inclQueriesWithoutReport != null) {
- _queryParams["inclQueriesWithoutReport"] = [inclQueriesWithoutReport];
- }
if (from != null) {
_queryParams["from"] = [from];
}
+ 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 ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -8595,50 +8615,50 @@
/// Value must have pattern
/// "^organizations/[^/]+/environments/[^/]+/stats/.*$".
///
- /// [tsAscending] - Lists timestamps in ascending order if set to true.
- /// Recommend setting this value to true if you are using sortby with
- /// sort=DESC.
+ /// [realtime] - Legacy field: not used anymore.
///
- /// [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'.
+ /// [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.
///
- /// [sortby] - Comma separated list of columns to sort the final result.
+ /// [sonar] - This parameter routes the query to api monitoring service for
+ /// last hour.
///
- /// [filter] - Enables drill-down on specific dimension values
+ /// [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.
///
- /// [sonar] - This parameter routes the query to api monitoring service for
- /// last hour.
- ///
- /// [timeUnit] - A value of second, minute, hour, day, week, month. Time Unit
- /// specifies the granularity of metrics returned.
- ///
- /// [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'.
- ///
- /// [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.
- ///
- /// [tzo] - This parameters contains the timezone offset value.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -8650,21 +8670,21 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<GoogleCloudApigeeV1Stats> get(core.String name,
- {core.bool tsAscending,
- core.String timeRange,
- core.String topk,
- core.String accuracy,
- core.String select,
- core.String limit,
- core.String sortby,
- core.String filter,
- core.String aggTable,
- core.bool sonar,
+ {core.bool realtime,
core.String timeUnit,
- core.String offset,
- core.String sort,
- core.bool realtime,
+ 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 $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -8676,50 +8696,50 @@
if (name == null) {
throw new core.ArgumentError("Parameter name is required.");
}
- if (tsAscending != null) {
- _queryParams["tsAscending"] = ["${tsAscending}"];
- }
- if (timeRange != null) {
- _queryParams["timeRange"] = [timeRange];
- }
- if (topk != null) {
- _queryParams["topk"] = [topk];
- }
- if (accuracy != null) {
- _queryParams["accuracy"] = [accuracy];
- }
- if (select != null) {
- _queryParams["select"] = [select];
- }
- if (limit != null) {
- _queryParams["limit"] = [limit];
- }
- if (sortby != null) {
- _queryParams["sortby"] = [sortby];
- }
- if (filter != null) {
- _queryParams["filter"] = [filter];
- }
- if (aggTable != null) {
- _queryParams["aggTable"] = [aggTable];
- }
- if (sonar != null) {
- _queryParams["sonar"] = ["${sonar}"];
+ if (realtime != null) {
+ _queryParams["realtime"] = ["${realtime}"];
}
if (timeUnit != null) {
_queryParams["timeUnit"] = [timeUnit];
}
- if (offset != null) {
- _queryParams["offset"] = [offset];
+ if (sortby != null) {
+ _queryParams["sortby"] = [sortby];
+ }
+ if (accuracy != null) {
+ _queryParams["accuracy"] = [accuracy];
+ }
+ if (filter != null) {
+ _queryParams["filter"] = [filter];
+ }
+ if (tzo != null) {
+ _queryParams["tzo"] = [tzo];
}
if (sort != null) {
_queryParams["sort"] = [sort];
}
- if (realtime != null) {
- _queryParams["realtime"] = ["${realtime}"];
+ if (select != null) {
+ _queryParams["select"] = [select];
}
- if (tzo != null) {
- _queryParams["tzo"] = [tzo];
+ if (offset != null) {
+ _queryParams["offset"] = [offset];
+ }
+ if (limit != null) {
+ _queryParams["limit"] = [limit];
+ }
+ if (sonar != null) {
+ _queryParams["sonar"] = ["${sonar}"];
+ }
+ if (topk != null) {
+ _queryParams["topk"] = [topk];
+ }
+ if (timeRange != null) {
+ _queryParams["timeRange"] = [timeRange];
+ }
+ if (tsAscending != null) {
+ _queryParams["tsAscending"] = ["${tsAscending}"];
+ }
+ if (aggTable != null) {
+ _queryParams["aggTable"] = [aggTable];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -9127,11 +9147,11 @@
/// in your request: `organizations/{org}`.
/// Value must have pattern "^organizations/[^/]+$".
///
+ /// [pageSize] - Maximum number of instances to return. Defaults to 25.
+ ///
/// [pageToken] - Page token, returned from a previous ListInstances call,
/// that you can use to retrieve the next page of content.
///
- /// [pageSize] - Maximum number of instances to return. Defaults to 25.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -9144,8 +9164,8 @@
/// this method will complete with the same error.
async.Future<GoogleCloudApigeeV1ListInstancesResponse> list(
core.String parent,
- {core.String pageToken,
- core.int pageSize,
+ {core.int pageSize,
+ core.String pageToken,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -9157,12 +9177,12 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -9403,12 +9423,12 @@
/// in your request: `organizations/{org}/instances/{instance}`
/// Value must have pattern "^organizations/[^/]+/instances/[^/]+$".
///
- /// [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.
///
+ /// [pageSize] - Maximum number of instance attachments to return. Defaults to
+ /// 25.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -9421,8 +9441,8 @@
/// this method will complete with the same error.
async.Future<GoogleCloudApigeeV1ListInstanceAttachmentsResponse> list(
core.String parent,
- {core.int pageSize,
- core.String pageToken,
+ {core.String pageToken,
+ core.int pageSize,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -9434,12 +9454,12 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -9634,12 +9654,12 @@
/// [name] - The name of the operation's parent resource.
/// Value must have pattern "^organizations/[^/]+$".
///
+ /// [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.
///
@@ -9651,9 +9671,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<GoogleLongrunningListOperationsResponse> list(core.String name,
- {core.int pageSize,
+ {core.String filter,
+ core.int pageSize,
core.String pageToken,
- core.String filter,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -9665,15 +9685,15 @@
if (name == null) {
throw new 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];
}
@@ -9984,10 +10004,10 @@
/// `organizations/{organization_id}`
/// Value must have pattern "^organizations/[^/]+$".
///
- /// [name] - Required. The name to give the shared flow
- ///
/// [action] - Required. Must be set to either `import` or `validate`.
///
+ /// [name] - Required. The name to give the shared flow
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -10000,7 +10020,7 @@
/// this method will complete with the same error.
async.Future<GoogleCloudApigeeV1SharedFlowRevision> create(
GoogleApiHttpBody request, core.String parent,
- {core.String name, core.String action, core.String $fields}) {
+ {core.String action, core.String name, core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -10014,12 +10034,12 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (name != null) {
- _queryParams["name"] = [name];
- }
if (action != null) {
_queryParams["action"] = [action];
}
+ if (name != null) {
+ _queryParams["name"] = [name];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -10490,6 +10510,338 @@
}
}
+class OrganizationsSitesResourceApi {
+ final commons.ApiRequester _requester;
+
+ OrganizationsSitesApicategoriesResourceApi get apicategories =>
+ new OrganizationsSitesApicategoriesResourceApi(_requester);
+
+ OrganizationsSitesResourceApi(commons.ApiRequester client)
+ : _requester = client;
+}
+
+class OrganizationsSitesApicategoriesResourceApi {
+ final commons.ApiRequester _requester;
+
+ OrganizationsSitesApicategoriesResourceApi(commons.ApiRequester client)
+ : _requester = client;
+
+ /// Creates a new category on the portal.
+ ///
+ /// [request] - The metadata request object.
+ ///
+ /// Request parameters:
+ ///
+ /// [parent] - Required. Name of the portal. Use the following structure in
+ /// your request: `organizations/{org}/sites/{site}`
+ /// Value must have pattern "^organizations/[^/]+/sites/[^/]+$".
+ ///
+ /// [$fields] - Selector specifying which fields to include in a partial
+ /// response.
+ ///
+ /// Completes with a [GoogleCloudApigeeV1ApiCategory].
+ ///
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned an
+ /// error.
+ ///
+ /// If the used [http.Client] completes with an error when making a REST call,
+ /// this method will complete with the same error.
+ async.Future<GoogleCloudApigeeV1ApiCategory> create(
+ GoogleCloudApigeeV1ApiCategoryData request, core.String parent,
+ {core.String $fields}) {
+ var _url;
+ var _queryParams = new core.Map<core.String, core.List<core.String>>();
+ var _uploadMedia;
+ var _uploadOptions;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body;
+
+ if (request != null) {
+ _body = convert.json.encode((request).toJson());
+ }
+ if (parent == null) {
+ throw new core.ArgumentError("Parameter parent is required.");
+ }
+ if ($fields != null) {
+ _queryParams["fields"] = [$fields];
+ }
+
+ _url = 'v1/' +
+ commons.Escaper.ecapeVariableReserved('$parent') +
+ '/apicategories';
+
+ var _response = _requester.request(_url, "POST",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response
+ .then((data) => new GoogleCloudApigeeV1ApiCategory.fromJson(data));
+ }
+
+ /// Deletes a category from the portal.
+ ///
+ /// Request parameters:
+ ///
+ /// [name] - Required. Name of the category. Use the following structure in
+ /// your request:
+ /// `organizations/{org}/sites/{site}/apicategories/{apicategory}`
+ /// Value must have pattern
+ /// "^organizations/[^/]+/sites/[^/]+/apicategories/[^/]+$".
+ ///
+ /// [$fields] - Selector specifying which fields to include in a partial
+ /// response.
+ ///
+ /// Completes with a [GoogleCloudApigeeV1ApiResponseWrapper].
+ ///
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned an
+ /// error.
+ ///
+ /// If the used [http.Client] completes with an error when making a REST call,
+ /// this method will complete with the same error.
+ async.Future<GoogleCloudApigeeV1ApiResponseWrapper> delete(core.String name,
+ {core.String $fields}) {
+ var _url;
+ var _queryParams = new core.Map<core.String, core.List<core.String>>();
+ var _uploadMedia;
+ var _uploadOptions;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body;
+
+ if (name == null) {
+ throw new core.ArgumentError("Parameter name is required.");
+ }
+ if ($fields != null) {
+ _queryParams["fields"] = [$fields];
+ }
+
+ _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$name');
+
+ var _response = _requester.request(_url, "DELETE",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then(
+ (data) => new GoogleCloudApigeeV1ApiResponseWrapper.fromJson(data));
+ }
+
+ /// Gets a category on the portal.
+ ///
+ /// Request parameters:
+ ///
+ /// [name] - Required. Name of the category. Use the following structure in
+ /// your request:
+ /// `organizations/{org}/sites/{site}/apicategories/{apicategory}`
+ /// Value must have pattern
+ /// "^organizations/[^/]+/sites/[^/]+/apicategories/[^/]+$".
+ ///
+ /// [$fields] - Selector specifying which fields to include in a partial
+ /// response.
+ ///
+ /// Completes with a [GoogleCloudApigeeV1ApiCategory].
+ ///
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned an
+ /// error.
+ ///
+ /// If the used [http.Client] completes with an error when making a REST call,
+ /// this method will complete with the same error.
+ async.Future<GoogleCloudApigeeV1ApiCategory> get(core.String name,
+ {core.String $fields}) {
+ var _url;
+ var _queryParams = new core.Map<core.String, core.List<core.String>>();
+ var _uploadMedia;
+ var _uploadOptions;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body;
+
+ if (name == null) {
+ throw new core.ArgumentError("Parameter name is required.");
+ }
+ if ($fields != null) {
+ _queryParams["fields"] = [$fields];
+ }
+
+ _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$name');
+
+ var _response = _requester.request(_url, "GET",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response
+ .then((data) => new GoogleCloudApigeeV1ApiCategory.fromJson(data));
+ }
+
+ /// Lists the categories on the portal.
+ ///
+ /// Request parameters:
+ ///
+ /// [parent] - Required. Name of the portal. Use the following structure in
+ /// your request: `organizations/{org}/sites/{site}`
+ /// Value must have pattern "^organizations/[^/]+/sites/[^/]+$".
+ ///
+ /// [$fields] - Selector specifying which fields to include in a partial
+ /// response.
+ ///
+ /// Completes with a [GoogleCloudApigeeV1ListApiCategoriesResponse].
+ ///
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned an
+ /// error.
+ ///
+ /// If the used [http.Client] completes with an error when making a REST call,
+ /// this method will complete with the same error.
+ async.Future<GoogleCloudApigeeV1ListApiCategoriesResponse> list(
+ core.String parent,
+ {core.String $fields}) {
+ var _url;
+ var _queryParams = new core.Map<core.String, core.List<core.String>>();
+ var _uploadMedia;
+ var _uploadOptions;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body;
+
+ if (parent == null) {
+ throw new core.ArgumentError("Parameter parent is required.");
+ }
+ if ($fields != null) {
+ _queryParams["fields"] = [$fields];
+ }
+
+ _url = 'v1/' +
+ commons.Escaper.ecapeVariableReserved('$parent') +
+ '/apicategories';
+
+ var _response = _requester.request(_url, "GET",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) =>
+ new GoogleCloudApigeeV1ListApiCategoriesResponse.fromJson(data));
+ }
+
+ /// Updates a category on the portal.
+ ///
+ /// [request] - The metadata request object.
+ ///
+ /// Request parameters:
+ ///
+ /// [name] - Required. Name of the category. Use the following structure in
+ /// your request:
+ /// `organizations/{org}/sites/{site}/apicategories/{apicategory}`
+ /// Value must have pattern
+ /// "^organizations/[^/]+/sites/[^/]+/apicategories/[^/]+$".
+ ///
+ /// [$fields] - Selector specifying which fields to include in a partial
+ /// response.
+ ///
+ /// Completes with a [GoogleCloudApigeeV1ApiCategory].
+ ///
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned an
+ /// error.
+ ///
+ /// If the used [http.Client] completes with an error when making a REST call,
+ /// this method will complete with the same error.
+ async.Future<GoogleCloudApigeeV1ApiCategory> patch(
+ GoogleCloudApigeeV1ApiCategoryData request, core.String name,
+ {core.String $fields}) {
+ var _url;
+ var _queryParams = new core.Map<core.String, core.List<core.String>>();
+ var _uploadMedia;
+ var _uploadOptions;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body;
+
+ if (request != null) {
+ _body = convert.json.encode((request).toJson());
+ }
+ if (name == null) {
+ throw new core.ArgumentError("Parameter name is required.");
+ }
+ if ($fields != null) {
+ _queryParams["fields"] = [$fields];
+ }
+
+ _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$name');
+
+ var _response = _requester.request(_url, "PATCH",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response
+ .then((data) => new GoogleCloudApigeeV1ApiCategory.fromJson(data));
+ }
+}
+
+class ProjectsResourceApi {
+ final commons.ApiRequester _requester;
+
+ ProjectsResourceApi(commons.ApiRequester client) : _requester = client;
+
+ /// Provisions a new Apigee organization with a functioning runtime. This is
+ /// the standard way to create trial organizations for a free Apigee trial.
+ ///
+ /// [request] - The metadata request object.
+ ///
+ /// Request parameters:
+ ///
+ /// [project] - Required. Name of the GCP project with which to associate the
+ /// Apigee organization.
+ /// Value must have pattern "^projects/[^/]+$".
+ ///
+ /// [$fields] - Selector specifying which fields to include in a partial
+ /// response.
+ ///
+ /// Completes with a [GoogleLongrunningOperation].
+ ///
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned an
+ /// error.
+ ///
+ /// If the used [http.Client] completes with an error when making a REST call,
+ /// this method will complete with the same error.
+ async.Future<GoogleLongrunningOperation> provisionOrganization(
+ GoogleCloudApigeeV1ProvisionOrganizationRequest request,
+ core.String project,
+ {core.String $fields}) {
+ var _url;
+ var _queryParams = new core.Map<core.String, core.List<core.String>>();
+ var _uploadMedia;
+ var _uploadOptions;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body;
+
+ if (request != null) {
+ _body = convert.json.encode((request).toJson());
+ }
+ if (project == null) {
+ throw new core.ArgumentError("Parameter project is required.");
+ }
+ if ($fields != null) {
+ _queryParams["fields"] = [$fields];
+ }
+
+ _url = 'v1/' +
+ commons.Escaper.ecapeVariableReserved('$project') +
+ ':provisionOrganization';
+
+ var _response = _requester.request(_url, "POST",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response
+ .then((data) => new GoogleLongrunningOperation.fromJson(data));
+ }
+}
+
/// Message that represents an arbitrary HTTP body. It should only be used for
/// payload formats that can't be represented as JSON, such as raw binary or an
/// HTML page. This message can be used both in streaming and non-streaming API
@@ -10788,6 +11140,115 @@
}
}
+/// the Api category resource wrapped with response status, error_code etc.
+class GoogleCloudApigeeV1ApiCategory {
+ /// Details of category.
+ GoogleCloudApigeeV1ApiCategoryData data;
+
+ /// ID that can be used to find errors in the log files.
+ core.String errorCode;
+
+ /// Description of the operation.
+ core.String message;
+
+ /// ID that can be used to find request details in the log files.
+ core.String requestId;
+
+ /// Status of the operation.
+ core.String status;
+
+ GoogleCloudApigeeV1ApiCategory();
+
+ GoogleCloudApigeeV1ApiCategory.fromJson(core.Map _json) {
+ if (_json.containsKey("data")) {
+ data = new GoogleCloudApigeeV1ApiCategoryData.fromJson(_json["data"]);
+ }
+ if (_json.containsKey("errorCode")) {
+ errorCode = _json["errorCode"];
+ }
+ if (_json.containsKey("message")) {
+ message = _json["message"];
+ }
+ if (_json.containsKey("requestId")) {
+ requestId = _json["requestId"];
+ }
+ if (_json.containsKey("status")) {
+ status = _json["status"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
+ if (data != null) {
+ _json["data"] = (data).toJson();
+ }
+ if (errorCode != null) {
+ _json["errorCode"] = errorCode;
+ }
+ if (message != null) {
+ _json["message"] = message;
+ }
+ if (requestId != null) {
+ _json["requestId"] = requestId;
+ }
+ if (status != null) {
+ _json["status"] = status;
+ }
+ return _json;
+ }
+}
+
+/// the Api category resource.
+class GoogleCloudApigeeV1ApiCategoryData {
+ /// ID of the category (a UUID).
+ core.String id;
+
+ /// Name of the category.
+ core.String name;
+
+ /// Name of the portal.
+ core.String siteId;
+
+ /// Time the category was last modified in milliseconds since epoch.
+ core.String updateTime;
+
+ GoogleCloudApigeeV1ApiCategoryData();
+
+ GoogleCloudApigeeV1ApiCategoryData.fromJson(core.Map _json) {
+ if (_json.containsKey("id")) {
+ id = _json["id"];
+ }
+ if (_json.containsKey("name")) {
+ name = _json["name"];
+ }
+ if (_json.containsKey("siteId")) {
+ siteId = _json["siteId"];
+ }
+ if (_json.containsKey("updateTime")) {
+ updateTime = _json["updateTime"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
+ if (id != null) {
+ _json["id"] = id;
+ }
+ if (name != null) {
+ _json["name"] = name;
+ }
+ if (siteId != null) {
+ _json["siteId"] = siteId;
+ }
+ if (updateTime != null) {
+ _json["updateTime"] = updateTime;
+ }
+ return _json;
+ }
+}
+
class GoogleCloudApigeeV1ApiProduct {
/// Comma-separated list of API resources to be bundled in the API Product. By
/// default, the resource paths are mapped from the `proxy.pathsuffix`
@@ -11321,6 +11782,55 @@
}
}
+class GoogleCloudApigeeV1ApiResponseWrapper {
+ /// ID that can be used to find errors in the log files.
+ core.String errorCode;
+
+ /// Description of the operation.
+ core.String message;
+
+ /// ID that can be used to find request details in the log files.
+ core.String requestId;
+
+ /// Status of the operation.
+ core.String status;
+
+ GoogleCloudApigeeV1ApiResponseWrapper();
+
+ GoogleCloudApigeeV1ApiResponseWrapper.fromJson(core.Map _json) {
+ if (_json.containsKey("errorCode")) {
+ errorCode = _json["errorCode"];
+ }
+ if (_json.containsKey("message")) {
+ message = _json["message"];
+ }
+ if (_json.containsKey("requestId")) {
+ requestId = _json["requestId"];
+ }
+ if (_json.containsKey("status")) {
+ status = _json["status"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
+ if (errorCode != null) {
+ _json["errorCode"] = errorCode;
+ }
+ if (message != null) {
+ _json["message"] = message;
+ }
+ if (requestId != null) {
+ _json["requestId"] = requestId;
+ }
+ if (status != null) {
+ _json["status"] = status;
+ }
+ return _json;
+ }
+}
+
class GoogleCloudApigeeV1App {
/// List of API products associated with the app.
core.List<GoogleCloudApigeeV1ApiProductRef> apiProducts;
@@ -14407,6 +14917,15 @@
/// Output only. Port number of the exposed Apigee endpoint.
core.String port;
+ /// Output only. State of the instance. Values other than ACTIVE means the
+ /// resource is not ready to use.
+ /// Possible string values are:
+ /// - "STATE_UNSPECIFIED" : Resource is in an unspecified state.
+ /// - "CREATING" : Resource is being created.
+ /// - "ACTIVE" : Resource is provisioned and ready to use.
+ /// - "DELETING" : The resource is being deleted.
+ core.String state;
+
GoogleCloudApigeeV1Instance();
GoogleCloudApigeeV1Instance.fromJson(core.Map _json) {
@@ -14437,6 +14956,9 @@
if (_json.containsKey("port")) {
port = _json["port"];
}
+ if (_json.containsKey("state")) {
+ state = _json["state"];
+ }
}
core.Map<core.String, core.Object> toJson() {
@@ -14469,6 +14991,9 @@
if (port != null) {
_json["port"] = port;
}
+ if (state != null) {
+ _json["state"] = state;
+ }
return _json;
}
}
@@ -14788,6 +15313,68 @@
}
}
+/// the response for ListApiCategoriesRequest.
+class GoogleCloudApigeeV1ListApiCategoriesResponse {
+ /// Details of categories.
+ core.List<GoogleCloudApigeeV1ApiCategoryData> data;
+
+ /// ID that can be used to find errors in the log files.
+ core.String errorCode;
+
+ /// Description of the operation.
+ core.String message;
+
+ /// ID that can be used to find request details in the log files.
+ core.String requestId;
+
+ /// Status of the operation.
+ core.String status;
+
+ GoogleCloudApigeeV1ListApiCategoriesResponse();
+
+ GoogleCloudApigeeV1ListApiCategoriesResponse.fromJson(core.Map _json) {
+ if (_json.containsKey("data")) {
+ data = (_json["data"] as core.List)
+ .map<GoogleCloudApigeeV1ApiCategoryData>(
+ (value) => new GoogleCloudApigeeV1ApiCategoryData.fromJson(value))
+ .toList();
+ }
+ if (_json.containsKey("errorCode")) {
+ errorCode = _json["errorCode"];
+ }
+ if (_json.containsKey("message")) {
+ message = _json["message"];
+ }
+ if (_json.containsKey("requestId")) {
+ requestId = _json["requestId"];
+ }
+ if (_json.containsKey("status")) {
+ status = _json["status"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
+ if (data != null) {
+ _json["data"] = data.map((value) => (value).toJson()).toList();
+ }
+ if (errorCode != null) {
+ _json["errorCode"] = errorCode;
+ }
+ if (message != null) {
+ _json["message"] = message;
+ }
+ if (requestId != null) {
+ _json["requestId"] = requestId;
+ }
+ if (status != null) {
+ _json["status"] = status;
+ }
+ return _json;
+ }
+}
+
class GoogleCloudApigeeV1ListApiProductsResponse {
/// Lists all API product names defined for an organization.
core.List<GoogleCloudApigeeV1ApiProduct> apiProduct;
@@ -16142,6 +16729,52 @@
}
}
+/// Request for ProvisionOrganization.
+class GoogleCloudApigeeV1ProvisionOrganizationRequest {
+ /// Primary Cloud Platform region for analytics data storage. For valid
+ /// values, see [Create an
+ /// organization](https://docs.apigee.com/hybrid/latest/precog-provision).
+ /// Defaults to us-west1.
+ core.String analyticsRegion;
+
+ /// Name of the customer project's VPC network. If provided, the network needs
+ /// to be peered through Service Networking. If none is provided, the
+ /// organization will have access only to the public internet.
+ core.String authorizedNetwork;
+
+ /// Cloud Platform location for the runtime instance. Defaults to us-west1-a.
+ core.String runtimeLocation;
+
+ GoogleCloudApigeeV1ProvisionOrganizationRequest();
+
+ GoogleCloudApigeeV1ProvisionOrganizationRequest.fromJson(core.Map _json) {
+ if (_json.containsKey("analyticsRegion")) {
+ analyticsRegion = _json["analyticsRegion"];
+ }
+ if (_json.containsKey("authorizedNetwork")) {
+ authorizedNetwork = _json["authorizedNetwork"];
+ }
+ if (_json.containsKey("runtimeLocation")) {
+ runtimeLocation = _json["runtimeLocation"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
+ if (analyticsRegion != null) {
+ _json["analyticsRegion"] = analyticsRegion;
+ }
+ if (authorizedNetwork != null) {
+ _json["authorizedNetwork"] = authorizedNetwork;
+ }
+ if (runtimeLocation != null) {
+ _json["runtimeLocation"] = runtimeLocation;
+ }
+ return _json;
+ }
+}
+
class GoogleCloudApigeeV1Query {
/// Delimiter used in the CSV file, if `outputFormat` is set to `csv`.
/// Defaults to the `,` (comma) character. Supported delimiter characters
@@ -16973,19 +17606,48 @@
/// `*` character will match any string.
core.String basepath;
+ /// The env group config revision_id when this rule was added or last updated.
+ /// This value is set when the rule is created and will only update if the the
+ /// environment_id changes. It is used to determine if the runtime is up to
+ /// date with respect to this rule. This field is omitted from the
+ /// IngressConfig unless the GetDeployedIngressConfig API is called with
+ /// debug=true.
+ core.String envGroupRevision;
+
/// Name of an environment bound to the environment group in the following
/// format: `organizations/{org}/environments/{env}`.
core.String environment;
+ /// The resource name of the proxy revision that is receiving this basepath in
+ /// the following format: `organizations/{org}/apis/{api}/revisions/{rev}`.
+ /// This field is omitted from the IngressConfig unless the
+ /// GetDeployedIngressConfig API is called with debug=true.
+ core.String receiver;
+
+ /// The unix timestamp when this rule was updated. This is updated whenever
+ /// env_group_revision is updated. This field is omitted from the
+ /// IngressConfig unless the GetDeployedIngressConfig API is called with
+ /// debug=true.
+ core.String updateTime;
+
GoogleCloudApigeeV1RoutingRule();
GoogleCloudApigeeV1RoutingRule.fromJson(core.Map _json) {
if (_json.containsKey("basepath")) {
basepath = _json["basepath"];
}
+ if (_json.containsKey("envGroupRevision")) {
+ envGroupRevision = _json["envGroupRevision"];
+ }
if (_json.containsKey("environment")) {
environment = _json["environment"];
}
+ if (_json.containsKey("receiver")) {
+ receiver = _json["receiver"];
+ }
+ if (_json.containsKey("updateTime")) {
+ updateTime = _json["updateTime"];
+ }
}
core.Map<core.String, core.Object> toJson() {
@@ -16994,9 +17656,18 @@
if (basepath != null) {
_json["basepath"] = basepath;
}
+ if (envGroupRevision != null) {
+ _json["envGroupRevision"] = envGroupRevision;
+ }
if (environment != null) {
_json["environment"] = environment;
}
+ if (receiver != null) {
+ _json["receiver"] = receiver;
+ }
+ if (updateTime != null) {
+ _json["updateTime"] = updateTime;
+ }
return _json;
}
}
@@ -18020,7 +18691,8 @@
/// The TLS Common Name of the certificate.
GoogleCloudApigeeV1TlsInfoCommonName commonName;
- /// Required. Enables one-way TLS.
+ /// Required. Enables TLS. If false, neither one-way nor two-way TLS will be
+ /// enabled.
core.bool enabled;
/// If true, Edge ignores TLS certificate errors. Valid when configuring TLS
diff --git a/generated/googleapis/lib/appengine/v1.dart b/generated/googleapis/lib/appengine/v1.dart
index 3d8d25c..374f260 100644
--- a/generated/googleapis/lib/appengine/v1.dart
+++ b/generated/googleapis/lib/appengine/v1.dart
@@ -1382,12 +1382,12 @@
/// [appsId] - Part of `name`. The resource that owns the locations
/// collection, if applicable.
///
- /// [pageSize] - The standard list page size.
- ///
/// [pageToken] - The standard list page token.
///
/// [filter] - The standard list filter.
///
+ /// [pageSize] - The standard list page size.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1399,9 +1399,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<ListLocationsResponse> list(core.String appsId,
- {core.int pageSize,
- core.String pageToken,
+ {core.String pageToken,
core.String filter,
+ core.int pageSize,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -1413,15 +1413,15 @@
if (appsId == null) {
throw new core.ArgumentError("Parameter appsId is required.");
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
if (filter != null) {
_queryParams["filter"] = [filter];
}
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -1510,10 +1510,10 @@
///
/// [appsId] - Part of `name`. The name of the operation's parent resource.
///
- /// [pageSize] - The standard list page size.
- ///
/// [pageToken] - The standard list page token.
///
+ /// [pageSize] - The standard list page size.
+ ///
/// [filter] - The standard list filter.
///
/// [$fields] - Selector specifying which fields to include in a partial
@@ -1527,8 +1527,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 appsId,
- {core.int pageSize,
- core.String pageToken,
+ {core.String pageToken,
+ core.int pageSize,
core.String filter,
core.String $fields}) {
var _url;
@@ -1541,12 +1541,12 @@
if (appsId == null) {
throw new core.ArgumentError("Parameter appsId is required.");
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
if (filter != null) {
_queryParams["filter"] = [filter];
}
@@ -1686,10 +1686,10 @@
/// [appsId] - Part of `parent`. Name of the parent Application resource.
/// Example: apps/myapp.
///
- /// [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.
///
@@ -1701,7 +1701,7 @@
/// 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 appsId,
- {core.String pageToken, core.int pageSize, core.String $fields}) {
+ {core.int pageSize, core.String pageToken, core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -1712,12 +1712,12 @@
if (appsId == null) {
throw new core.ArgumentError("Parameter appsId 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];
}
@@ -1744,6 +1744,8 @@
///
/// [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
@@ -1758,8 +1760,6 @@
/// 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.
///
@@ -1772,7 +1772,7 @@
/// this method will complete with the same error.
async.Future<Operation> patch(
Service request, core.String appsId, core.String servicesId,
- {core.bool migrateTraffic, core.String updateMask, core.String $fields}) {
+ {core.String updateMask, core.bool migrateTraffic, core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -1789,12 +1789,12 @@
if (servicesId == null) {
throw new core.ArgumentError("Parameter servicesId is required.");
}
- if (migrateTraffic != null) {
- _queryParams["migrateTraffic"] = ["${migrateTraffic}"];
- }
if (updateMask != null) {
_queryParams["updateMask"] = [updateMask];
}
+ if (migrateTraffic != null) {
+ _queryParams["migrateTraffic"] = ["${migrateTraffic}"];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -2023,8 +2023,6 @@
///
/// [servicesId] - Part of `parent`. See documentation of `appsId`.
///
- /// [pageToken] - Continuation token for fetching the next page of results.
- ///
/// [pageSize] - Maximum results to return per page.
///
/// [view] - Controls the set of fields returned in the List response.
@@ -2035,6 +2033,8 @@
/// 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.
///
@@ -2047,9 +2047,9 @@
/// this method will complete with the same error.
async.Future<ListVersionsResponse> list(
core.String appsId, core.String servicesId,
- {core.String pageToken,
- core.int pageSize,
+ {core.int pageSize,
core.String view,
+ core.String pageToken,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -2064,15 +2064,15 @@
if (servicesId == null) {
throw new core.ArgumentError("Parameter servicesId is required.");
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
if (view != null) {
_queryParams["view"] = [view];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -2439,10 +2439,10 @@
///
/// [versionsId] - Part of `parent`. See documentation of `appsId`.
///
- /// [pageSize] - Maximum results to return per page.
- ///
/// [pageToken] - Continuation token for fetching the next page of results.
///
+ /// [pageSize] - Maximum results to return per page.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -2455,7 +2455,7 @@
/// this method will complete with the same error.
async.Future<ListInstancesResponse> list(
core.String appsId, core.String servicesId, core.String versionsId,
- {core.int pageSize, core.String pageToken, core.String $fields}) {
+ {core.String pageToken, core.int pageSize, core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -2472,12 +2472,12 @@
if (versionsId == null) {
throw new core.ArgumentError("Parameter versionsId is required.");
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
diff --git a/generated/googleapis/lib/bigquery/v2.dart b/generated/googleapis/lib/bigquery/v2.dart
index 7a4d8d9..5713785 100644
--- a/generated/googleapis/lib/bigquery/v2.dart
+++ b/generated/googleapis/lib/bigquery/v2.dart
@@ -247,14 +247,14 @@
///
/// [projectId] - Project ID of the datasets to be listed
///
+ /// [all] - Whether to list all datasets, including hidden ones
+ ///
/// [filter] - An expression for filtering the results of the request by
/// label. The syntax is "labels.<name>[:<value>]". Multiple filters can be
/// ANDed together by connecting with a space. Example:
/// "labels.department:receiving labels.active". See Filtering datasets using
/// labels for details.
///
- /// [all] - Whether to list all datasets, including hidden ones
- ///
/// [maxResults] - The maximum number of results to return
///
/// [pageToken] - Page token, returned by a previous call, to request the next
@@ -271,8 +271,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<DatasetList> list(core.String projectId,
- {core.String filter,
- core.bool all,
+ {core.bool all,
+ core.String filter,
core.int maxResults,
core.String pageToken,
core.String $fields}) {
@@ -286,12 +286,12 @@
if (projectId == null) {
throw new core.ArgumentError("Parameter projectId is required.");
}
- if (filter != null) {
- _queryParams["filter"] = [filter];
- }
if (all != null) {
_queryParams["all"] = ["${all}"];
}
+ if (filter != null) {
+ _queryParams["filter"] = [filter];
+ }
if (maxResults != null) {
_queryParams["maxResults"] = ["${maxResults}"];
}
@@ -569,18 +569,18 @@
///
/// [jobId] - [Required] Job ID of the query job
///
+ /// [maxResults] - Maximum number of results to read
+ ///
+ /// [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
///
- /// [startIndex] - Zero-based index of the starting row
- ///
/// [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
///
@@ -596,10 +596,10 @@
/// this method will complete with the same error.
async.Future<GetQueryResultsResponse> getQueryResults(
core.String projectId, core.String jobId,
- {core.int timeoutMs,
+ {core.int maxResults,
core.String startIndex,
+ core.int timeoutMs,
core.String location,
- core.int maxResults,
core.String pageToken,
core.String $fields}) {
var _url;
@@ -615,18 +615,18 @@
if (jobId == null) {
throw new core.ArgumentError("Parameter jobId is required.");
}
- if (timeoutMs != null) {
- _queryParams["timeoutMs"] = ["${timeoutMs}"];
+ if (maxResults != null) {
+ _queryParams["maxResults"] = ["${maxResults}"];
}
if (startIndex != null) {
_queryParams["startIndex"] = [startIndex];
}
+ if (timeoutMs != null) {
+ _queryParams["timeoutMs"] = ["${timeoutMs}"];
+ }
if (location != null) {
_queryParams["location"] = [location];
}
- if (maxResults != null) {
- _queryParams["maxResults"] = ["${maxResults}"];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
@@ -728,14 +728,14 @@
///
/// [projectId] - Project ID of the jobs to list
///
+ /// [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
///
- /// [allUsers] - Whether to display jobs owned by all users in the project.
- /// Default false
- ///
- /// [pageToken] - Page token, returned by a previous call, to request the next
- /// page of results
- ///
/// [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
@@ -743,16 +743,16 @@
/// [parentJobId] - If set, retrieves only jobs whose parent is this job.
/// Otherwise, retrieves only jobs which have no parent
///
- /// [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
- ///
/// [projection] - Restrict information returned to a set of selected fields
/// Possible string values are:
/// - "full" : Includes all job data
/// - "minimal" : Does not include the job configuration
///
- /// [maxResults] - Maximum number of results to return
+ /// [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
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -765,14 +765,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<JobList> list(core.String projectId,
- {core.List<core.String> stateFilter,
- core.bool allUsers,
- core.String pageToken,
+ {core.String maxCreationTime,
+ core.int maxResults,
+ core.List<core.String> stateFilter,
core.String minCreationTime,
core.String parentJobId,
- core.String maxCreationTime,
core.String projection,
- core.int maxResults,
+ core.String pageToken,
+ core.bool allUsers,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -784,29 +784,29 @@
if (projectId == null) {
throw new core.ArgumentError("Parameter projectId is required.");
}
+ if (maxCreationTime != null) {
+ _queryParams["maxCreationTime"] = [maxCreationTime];
+ }
+ if (maxResults != null) {
+ _queryParams["maxResults"] = ["${maxResults}"];
+ }
if (stateFilter != null) {
_queryParams["stateFilter"] = stateFilter;
}
- if (allUsers != null) {
- _queryParams["allUsers"] = ["${allUsers}"];
- }
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (minCreationTime != null) {
_queryParams["minCreationTime"] = [minCreationTime];
}
if (parentJobId != null) {
_queryParams["parentJobId"] = [parentJobId];
}
- if (maxCreationTime != null) {
- _queryParams["maxCreationTime"] = [maxCreationTime];
- }
if (projection != null) {
_queryParams["projection"] = [projection];
}
- if (maxResults != null) {
- _queryParams["maxResults"] = ["${maxResults}"];
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
+ if (allUsers != null) {
+ _queryParams["allUsers"] = ["${allUsers}"];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -1197,11 +1197,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.
///
@@ -1213,7 +1213,7 @@
/// 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.int maxResults, core.String pageToken, core.String $fields}) {
+ {core.String pageToken, core.int maxResults, core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -1221,12 +1221,12 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body;
- if (maxResults != null) {
- _queryParams["maxResults"] = ["${maxResults}"];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (maxResults != null) {
+ _queryParams["maxResults"] = ["${maxResults}"];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -1458,15 +1458,15 @@
/// [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.
+ ///
/// [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.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1481,8 +1481,8 @@
core.String projectId, core.String datasetId,
{core.String readMask,
core.String pageToken,
- core.String filter,
core.int maxResults,
+ core.String filter,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -1503,12 +1503,12 @@
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 ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -1683,9 +1683,6 @@
///
/// [tableId] - Table ID of the table to read
///
- /// [pageToken] - Page token, returned by a previous call, identifying the
- /// result set
- ///
/// [maxResults] - Maximum number of results to return
///
/// [selectedFields] - List of fields to return (comma-separated). If
@@ -1693,6 +1690,9 @@
///
/// [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.
///
@@ -1705,10 +1705,10 @@
/// this method will complete with the same error.
async.Future<TableDataList> list(
core.String projectId, core.String datasetId, core.String tableId,
- {core.String pageToken,
- core.int maxResults,
+ {core.int maxResults,
core.String selectedFields,
core.String startIndex,
+ core.String pageToken,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -1726,9 +1726,6 @@
if (tableId == null) {
throw new core.ArgumentError("Parameter tableId is required.");
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (maxResults != null) {
_queryParams["maxResults"] = ["${maxResults}"];
}
@@ -1738,6 +1735,9 @@
if (startIndex != null) {
_queryParams["startIndex"] = [startIndex];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -2012,11 +2012,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.
///
@@ -2028,7 +2028,7 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<TableList> list(core.String projectId, core.String datasetId,
- {core.int maxResults, core.String pageToken, core.String $fields}) {
+ {core.String pageToken, core.int maxResults, core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -2042,12 +2042,12 @@
if (datasetId == null) {
throw new core.ArgumentError("Parameter datasetId is required.");
}
- if (maxResults != null) {
- _queryParams["maxResults"] = ["${maxResults}"];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (maxResults != null) {
+ _queryParams["maxResults"] = ["${maxResults}"];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
diff --git a/generated/googleapis/lib/bigquerydatatransfer/v1.dart b/generated/googleapis/lib/bigquerydatatransfer/v1.dart
index c1615b4..d6d2183 100644
--- a/generated/googleapis/lib/bigquerydatatransfer/v1.dart
+++ b/generated/googleapis/lib/bigquerydatatransfer/v1.dart
@@ -293,11 +293,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.
@@ -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<ListLocationsResponse> list(core.String name,
- {core.String pageToken,
+ {core.String filter,
core.int pageSize,
- core.String filter,
+ core.String pageToken,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -324,14 +324,14 @@
if (name == null) {
throw new 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];
@@ -472,14 +472,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.
///
@@ -491,7 +491,7 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<ListDataSourcesResponse> list(core.String parent,
- {core.int pageSize, core.String pageToken, core.String $fields}) {
+ {core.String pageToken, core.int pageSize, core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -502,12 +502,12 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -732,17 +732,17 @@
/// `projects/{project_id}/locations/{location_id}`
/// Value must have pattern "^projects/[^/]+/locations/[^/]+$".
///
- /// [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
- /// 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.
///
/// [dataSourceIds] - When specified, only configurations of requested data
/// sources are returned.
///
+ /// [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
+ /// the `page_token` value to request the next page of list results.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -754,9 +754,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<ListTransferConfigsResponse> list(core.String parent,
- {core.String pageToken,
- core.int pageSize,
+ {core.int pageSize,
core.List<core.String> dataSourceIds,
+ core.String pageToken,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -768,15 +768,15 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
if (dataSourceIds != null) {
_queryParams["dataSourceIds"] = dataSourceIds;
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -812,9 +812,6 @@
/// Value must have pattern
/// "^projects/[^/]+/locations/[^/]+/transferConfigs/[^/]+$".
///
- /// [updateMask] - Required. Required list of fields to be updated in this
- /// request.
- ///
/// [authorizationCode] - Optional OAuth2 authorization code to use with this
/// transfer configuration. If it is provided, the transfer configuration will
/// be associated with the authorizing user. In order to obtain
@@ -843,6 +840,9 @@
/// 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.
///
@@ -854,10 +854,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<TransferConfig> patch(TransferConfig request, core.String name,
- {core.String updateMask,
- core.String authorizationCode,
+ {core.String authorizationCode,
core.String serviceAccountName,
core.String versionInfo,
+ core.String updateMask,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -872,9 +872,6 @@
if (name == null) {
throw new core.ArgumentError("Parameter name is required.");
}
- if (updateMask != null) {
- _queryParams["updateMask"] = [updateMask];
- }
if (authorizationCode != null) {
_queryParams["authorizationCode"] = [authorizationCode];
}
@@ -884,6 +881,9 @@
if (versionInfo != null) {
_queryParams["versionInfo"] = [versionInfo];
}
+ if (updateMask != null) {
+ _queryParams["updateMask"] = [updateMask];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -1134,6 +1134,12 @@
/// 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.
+ ///
/// [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
@@ -1144,12 +1150,6 @@
/// - "RUN_ATTEMPT_UNSPECIFIED" : All runs should be returned.
/// - "LATEST" : Only latest run per day should be returned.
///
- /// [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.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1161,10 +1161,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<ListTransferRunsResponse> list(core.String parent,
- {core.String pageToken,
- core.String runAttempt,
+ {core.List<core.String> states,
core.int pageSize,
- core.List<core.String> states,
+ core.String pageToken,
+ core.String runAttempt,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -1176,18 +1176,18 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
+ if (states != null) {
+ _queryParams["states"] = states;
+ }
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
if (runAttempt != null) {
_queryParams["runAttempt"] = [runAttempt];
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
- if (states != null) {
- _queryParams["states"] = states;
- }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -1222,17 +1222,17 @@
/// 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.
+ ///
/// [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.
///
@@ -1244,9 +1244,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<ListTransferLogsResponse> list(core.String parent,
- {core.int pageSize,
+ {core.String pageToken,
+ core.int pageSize,
core.List<core.String> messageTypes,
- core.String pageToken,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -1258,15 +1258,15 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
if (messageTypes != null) {
_queryParams["messageTypes"] = messageTypes;
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -1490,14 +1490,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 `ListTransfersRequest` list results. For multiple-page results,
/// `ListTransfersResponse` 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.
- ///
/// [dataSourceIds] - When specified, only configurations of requested data
/// sources are returned.
///
@@ -1512,8 +1512,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<ListTransferConfigsResponse> list(core.String parent,
- {core.String pageToken,
- core.int pageSize,
+ {core.int pageSize,
+ core.String pageToken,
core.List<core.String> dataSourceIds,
core.String $fields}) {
var _url;
@@ -1526,12 +1526,12 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
if (dataSourceIds != null) {
_queryParams["dataSourceIds"] = dataSourceIds;
}
@@ -1569,15 +1569,6 @@
/// required, will be generated for config_id.
/// Value must have pattern "^projects/[^/]+/transferConfigs/[^/]+$".
///
- /// [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.
- ///
/// [authorizationCode] - Optional OAuth2 authorization code to use with this
/// transfer configuration. If it is provided, the transfer configuration will
/// be associated with the authorizing user. In order to obtain
@@ -1593,6 +1584,9 @@
/// with the page text prompting the user to copy the code and paste it in the
/// application.
///
+ /// [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
@@ -1600,6 +1594,12 @@
/// 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.
///
@@ -1611,10 +1611,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<TransferConfig> patch(TransferConfig request, core.String name,
- {core.String serviceAccountName,
+ {core.String authorizationCode,
core.String updateMask,
- core.String authorizationCode,
core.String versionInfo,
+ core.String serviceAccountName,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -1629,18 +1629,18 @@
if (name == null) {
throw new core.ArgumentError("Parameter name is required.");
}
- if (serviceAccountName != null) {
- _queryParams["serviceAccountName"] = [serviceAccountName];
+ if (authorizationCode != null) {
+ _queryParams["authorizationCode"] = [authorizationCode];
}
if (updateMask != null) {
_queryParams["updateMask"] = [updateMask];
}
- if (authorizationCode != null) {
- _queryParams["authorizationCode"] = [authorizationCode];
- }
if (versionInfo != null) {
_queryParams["versionInfo"] = [versionInfo];
}
+ if (serviceAccountName != null) {
+ _queryParams["serviceAccountName"] = [serviceAccountName];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -1886,21 +1886,21 @@
/// `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.
/// Value must have pattern "^projects/[^/]+/transferConfigs/[^/]+$".
///
- /// [runAttempt] - Indicates how run attempts are to be pulled.
- /// Possible string values are:
- /// - "RUN_ATTEMPT_UNSPECIFIED" : All runs should be returned.
- /// - "LATEST" : Only latest run per day should be returned.
+ /// [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
/// as the `page_token` value to request the next page of list results.
///
- /// [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.
+ /// [runAttempt] - Indicates how run attempts are to be pulled.
+ /// Possible string values are:
+ /// - "RUN_ATTEMPT_UNSPECIFIED" : All runs should be returned.
+ /// - "LATEST" : Only latest run per day should be returned.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -1913,10 +1913,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<ListTransferRunsResponse> list(core.String parent,
- {core.String runAttempt,
- core.String pageToken,
+ {core.int pageSize,
core.List<core.String> states,
- core.int pageSize,
+ core.String pageToken,
+ core.String runAttempt,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -1928,17 +1928,17 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (runAttempt != null) {
- _queryParams["runAttempt"] = [runAttempt];
- }
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
}
if (states != null) {
_queryParams["states"] = states;
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
+ if (runAttempt != null) {
+ _queryParams["runAttempt"] = [runAttempt];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -1974,17 +1974,17 @@
/// Value must have pattern
/// "^projects/[^/]+/transferConfigs/[^/]+/runs/[^/]+$".
///
- /// [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.
- ///
/// [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.
///
+ /// [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.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1996,9 +1996,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<ListTransferLogsResponse> list(core.String parent,
- {core.List<core.String> messageTypes,
+ {core.String pageToken,
core.int pageSize,
- core.String pageToken,
+ core.List<core.String> messageTypes,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -2010,14 +2010,14 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (messageTypes != null) {
- _queryParams["messageTypes"] = messageTypes;
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
}
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
+ if (messageTypes != null) {
+ _queryParams["messageTypes"] = messageTypes;
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
diff --git a/generated/googleapis/lib/bigqueryreservation/v1.dart b/generated/googleapis/lib/bigqueryreservation/v1.dart
index 77b2d9c..2505688 100644
--- a/generated/googleapis/lib/bigqueryreservation/v1.dart
+++ b/generated/googleapis/lib/bigqueryreservation/v1.dart
@@ -103,11 +103,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.
@@ -120,9 +120,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<ListOperationsResponse> list(core.String name,
- {core.String pageToken,
+ {core.String filter,
core.int pageSize,
- core.String filter,
+ core.String pageToken,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -134,14 +134,14 @@
if (name == null) {
throw new 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];
@@ -1009,11 +1009,11 @@
/// location, e.g.: `projects/myproject/locations/US`
/// Value must have pattern "^projects/[^/]+/locations/[^/]+$".
///
+ /// [pageSize] - The maximum number of items to return per page.
+ ///
/// [pageToken] - The next_page_token value returned from a previous List
/// request, if any.
///
- /// [pageSize] - The maximum number of items to return per page.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1025,7 +1025,7 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<ListReservationsResponse> list(core.String parent,
- {core.String pageToken, core.int pageSize, core.String $fields}) {
+ {core.int pageSize, core.String pageToken, core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -1036,12 +1036,12 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -1265,11 +1265,11 @@
/// Value must have pattern
/// "^projects/[^/]+/locations/[^/]+/reservations/[^/]+$".
///
+ /// [pageSize] - The maximum number of items to return per page.
+ ///
/// [pageToken] - The next_page_token value returned from a previous List
/// request, if any.
///
- /// [pageSize] - The maximum number of items to return per page.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1281,7 +1281,7 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<ListAssignmentsResponse> list(core.String parent,
- {core.String pageToken, core.int pageSize, core.String $fields}) {
+ {core.int pageSize, core.String pageToken, core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -1292,12 +1292,12 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
diff --git a/generated/googleapis/lib/bigtableadmin/v2.dart b/generated/googleapis/lib/bigtableadmin/v2.dart
index 9b7e956..ee74a1f 100644
--- a/generated/googleapis/lib/bigtableadmin/v2.dart
+++ b/generated/googleapis/lib/bigtableadmin/v2.dart
@@ -248,10 +248,10 @@
/// [name] - The name of the operation's parent resource.
/// Value must have pattern "^operations/projects/.*$".
///
- /// [pageSize] - The standard list page size.
- ///
/// [pageToken] - The standard list page token.
///
+ /// [pageSize] - The standard list page size.
+ ///
/// [filter] - The standard list filter.
///
/// [$fields] - Selector specifying which fields to include in a partial
@@ -265,8 +265,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.int pageSize,
- core.String pageToken,
+ {core.String pageToken,
+ core.int pageSize,
core.String filter,
core.String $fields}) {
var _url;
@@ -279,12 +279,12 @@
if (name == null) {
throw new core.ArgumentError("Parameter name is required.");
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
if (filter != null) {
_queryParams["filter"] = [filter];
}
@@ -981,6 +981,8 @@
/// `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
@@ -989,8 +991,6 @@
/// 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.
///
@@ -1002,7 +1002,7 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<ListAppProfilesResponse> list(core.String parent,
- {core.int pageSize, core.String pageToken, core.String $fields}) {
+ {core.String pageToken, core.int pageSize, core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -1013,12 +1013,12 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -1591,24 +1591,6 @@
/// `projects/{project}/instances/{instance}/clusters/-`.
/// Value must have pattern "^projects/[^/]+/instances/[^/]+/clusters/[^/]+$".
///
- /// [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`.
- ///
- /// [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
- /// supported are: * name * source_table * expire_time * start_time * end_time
- /// * size_bytes * state For example, "start_time". The default sorting order
- /// is ascending. To specify descending order for the field, a suffix " desc"
- /// should be appended to the field name. For example, "start_time desc".
- /// Redundant space characters in the syntax are insigificant. If order_by is
- /// empty, results will be sorted by `start_time` in descending order starting
- /// from the most recently created backup.
- ///
/// [filter] - A filter expression that filters backups 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
@@ -1632,6 +1614,24 @@
/// 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
+ /// supported are: * name * source_table * expire_time * start_time * end_time
+ /// * size_bytes * state For example, "start_time". The default sorting order
+ /// is ascending. To specify descending order for the field, a suffix " desc"
+ /// should be appended to the field name. For example, "start_time desc".
+ /// Redundant space characters in the syntax are insigificant. If order_by is
+ /// empty, results will be sorted by `start_time` in descending order starting
+ /// from the most recently created backup.
+ ///
+ /// [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.
///
@@ -1643,10 +1643,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<ListBackupsResponse> list(core.String parent,
- {core.String pageToken,
+ {core.String filter,
core.int pageSize,
core.String orderBy,
- core.String filter,
+ core.String pageToken,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -1658,8 +1658,8 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
+ if (filter != null) {
+ _queryParams["filter"] = [filter];
}
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
@@ -1667,8 +1667,8 @@
if (orderBy != null) {
_queryParams["orderBy"] = [orderBy];
}
- if (filter != null) {
- _queryParams["filter"] = [filter];
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -2261,8 +2261,6 @@
/// `projects/{project}/instances/{instance}`.
/// Value must have pattern "^projects/[^/]+/instances/[^/]+$".
///
- /// [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:
@@ -2275,6 +2273,8 @@
/// 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
@@ -2294,8 +2294,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<ListTablesResponse> list(core.String parent,
- {core.String pageToken,
- core.String view,
+ {core.String view,
+ core.String pageToken,
core.int pageSize,
core.String $fields}) {
var _url;
@@ -2308,12 +2308,12 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (view != null) {
_queryParams["view"] = [view];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
@@ -2614,12 +2614,12 @@
/// [name] - The resource that owns the locations collection, if applicable.
/// Value must have pattern "^projects/[^/]+$".
///
+ /// [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.
///
@@ -2631,9 +2631,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<ListLocationsResponse> list(core.String name,
- {core.int pageSize,
+ {core.String pageToken,
+ core.int pageSize,
core.String filter,
- core.String pageToken,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -2645,15 +2645,15 @@
if (name == null) {
throw new core.ArgumentError("Parameter name is required.");
}
+ 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];
}
diff --git a/generated/googleapis/lib/blogger/v3.dart b/generated/googleapis/lib/blogger/v3.dart
index 48a2a85..3c3d05c 100644
--- a/generated/googleapis/lib/blogger/v3.dart
+++ b/generated/googleapis/lib/blogger/v3.dart
@@ -499,12 +499,7 @@
///
/// [postId] - null
///
- /// [status] - null
- /// Possible string values are:
- /// - "LIVE"
- /// - "EMPTIED"
- /// - "PENDING"
- /// - "SPAM"
+ /// [fetchBodies] - null
///
/// [view] - null
/// Possible string values are:
@@ -513,15 +508,20 @@
/// - "AUTHOR"
/// - "ADMIN"
///
- /// [pageToken] - null
- ///
/// [maxResults] - null
///
+ /// [pageToken] - null
+ ///
/// [startDate] - null
///
- /// [endDate] - null
+ /// [status] - null
+ /// Possible string values are:
+ /// - "LIVE"
+ /// - "EMPTIED"
+ /// - "PENDING"
+ /// - "SPAM"
///
- /// [fetchBodies] - null
+ /// [endDate] - null
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -534,13 +534,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<CommentList> list(core.String blogId, core.String postId,
- {core.String status,
+ {core.bool fetchBodies,
core.String view,
- core.String pageToken,
core.int maxResults,
+ core.String pageToken,
core.String startDate,
+ core.String status,
core.String endDate,
- core.bool fetchBodies,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -555,27 +555,27 @@
if (postId == null) {
throw new core.ArgumentError("Parameter postId is required.");
}
- if (status != null) {
- _queryParams["status"] = [status];
+ if (fetchBodies != null) {
+ _queryParams["fetchBodies"] = ["${fetchBodies}"];
}
if (view != null) {
_queryParams["view"] = [view];
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (maxResults != null) {
_queryParams["maxResults"] = ["${maxResults}"];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
if (startDate != null) {
_queryParams["startDate"] = [startDate];
}
+ if (status != null) {
+ _queryParams["status"] = [status];
+ }
if (endDate != null) {
_queryParams["endDate"] = [endDate];
}
- if (fetchBodies != null) {
- _queryParams["fetchBodies"] = ["${fetchBodies}"];
- }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -601,18 +601,18 @@
///
/// [blogId] - null
///
+ /// [fetchBodies] - null
+ ///
/// [endDate] - null
///
/// [pageToken] - null
///
+ /// [startDate] - null
+ ///
/// [status] - null
///
/// [maxResults] - null
///
- /// [fetchBodies] - null
- ///
- /// [startDate] - null
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -624,12 +624,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<CommentList> listByBlog(core.String blogId,
- {core.String endDate,
+ {core.bool fetchBodies,
+ core.String endDate,
core.String pageToken,
+ core.String startDate,
core.List<core.String> status,
core.int maxResults,
- core.bool fetchBodies,
- core.String startDate,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -641,24 +641,24 @@
if (blogId == null) {
throw new core.ArgumentError("Parameter blogId is required.");
}
+ if (fetchBodies != null) {
+ _queryParams["fetchBodies"] = ["${fetchBodies}"];
+ }
if (endDate != null) {
_queryParams["endDate"] = [endDate];
}
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (startDate != null) {
+ _queryParams["startDate"] = [startDate];
+ }
if (status != null) {
_queryParams["status"] = status;
}
if (maxResults != null) {
_queryParams["maxResults"] = ["${maxResults}"];
}
- if (fetchBodies != null) {
- _queryParams["fetchBodies"] = ["${fetchBodies}"];
- }
- if (startDate != null) {
- _queryParams["startDate"] = [startDate];
- }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -1026,8 +1026,6 @@
///
/// [blogId] - null
///
- /// [status] - null
- ///
/// [view] - null
/// Possible string values are:
/// - "VIEW_TYPE_UNSPECIFIED"
@@ -1035,11 +1033,13 @@
/// - "AUTHOR"
/// - "ADMIN"
///
+ /// [maxResults] - null
+ ///
/// [fetchBodies] - null
///
- /// [pageToken] - null
+ /// [status] - null
///
- /// [maxResults] - null
+ /// [pageToken] - null
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -1052,11 +1052,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<PageList> list(core.String blogId,
- {core.List<core.String> status,
- core.String view,
- core.bool fetchBodies,
- core.String pageToken,
+ {core.String view,
core.int maxResults,
+ core.bool fetchBodies,
+ core.List<core.String> status,
+ core.String pageToken,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -1068,21 +1068,21 @@
if (blogId == null) {
throw new core.ArgumentError("Parameter blogId is required.");
}
- if (status != null) {
- _queryParams["status"] = status;
- }
if (view != null) {
_queryParams["view"] = [view];
}
+ if (maxResults != null) {
+ _queryParams["maxResults"] = ["${maxResults}"];
+ }
if (fetchBodies != null) {
_queryParams["fetchBodies"] = ["${fetchBodies}"];
}
+ if (status != null) {
+ _queryParams["status"] = status;
+ }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
- if (maxResults != null) {
- _queryParams["maxResults"] = ["${maxResults}"];
- }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -1278,10 +1278,10 @@
///
/// [pageId] - null
///
- /// [publish_1] - null
- ///
/// [revert_1] - null
///
+ /// [publish_1] - null
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1294,7 +1294,7 @@
/// this method will complete with the same error.
async.Future<Page> update(
Page request, core.String blogId, core.String pageId,
- {core.bool publish_1, core.bool revert_1, core.String $fields}) {
+ {core.bool revert_1, core.bool publish_1, core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -1311,12 +1311,12 @@
if (pageId == null) {
throw new core.ArgumentError("Parameter pageId is required.");
}
- if (publish_1 != null) {
- _queryParams["publish"] = ["${publish_1}"];
- }
if (revert_1 != null) {
_queryParams["revert"] = ["${revert_1}"];
}
+ if (publish_1 != null) {
+ _queryParams["publish"] = ["${publish_1}"];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -1413,6 +1413,14 @@
///
/// [blogId] - null
///
+ /// [orderBy] - null
+ /// Possible string values are:
+ /// - "ORDER_BY_UNSPECIFIED"
+ /// - "PUBLISHED"
+ /// - "UPDATED"
+ ///
+ /// [fetchBodies] - null
+ ///
/// [view] - null
/// Possible string values are:
/// - "VIEW_TYPE_UNSPECIFIED"
@@ -1420,11 +1428,9 @@
/// - "AUTHOR"
/// - "ADMIN"
///
- /// [orderBy] - null
- /// Possible string values are:
- /// - "ORDER_BY_UNSPECIFIED"
- /// - "PUBLISHED"
- /// - "UPDATED"
+ /// [maxResults] - null
+ ///
+ /// [startDate] - null
///
/// [labels] - null
///
@@ -1432,12 +1438,6 @@
///
/// [pageToken] - null
///
- /// [maxResults] - null
- ///
- /// [startDate] - null
- ///
- /// [fetchBodies] - null
- ///
/// [status] - null
///
/// [$fields] - Selector specifying which fields to include in a partial
@@ -1451,14 +1451,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<PostUserInfosList> list(core.String userId, core.String blogId,
- {core.String view,
- core.String orderBy,
+ {core.String orderBy,
+ core.bool fetchBodies,
+ core.String view,
+ core.int maxResults,
+ core.String startDate,
core.String labels,
core.String endDate,
core.String pageToken,
- core.int maxResults,
- core.String startDate,
- core.bool fetchBodies,
core.List<core.String> status,
core.String $fields}) {
var _url;
@@ -1474,11 +1474,20 @@
if (blogId == null) {
throw new core.ArgumentError("Parameter blogId is required.");
}
+ if (orderBy != null) {
+ _queryParams["orderBy"] = [orderBy];
+ }
+ if (fetchBodies != null) {
+ _queryParams["fetchBodies"] = ["${fetchBodies}"];
+ }
if (view != null) {
_queryParams["view"] = [view];
}
- if (orderBy != null) {
- _queryParams["orderBy"] = [orderBy];
+ if (maxResults != null) {
+ _queryParams["maxResults"] = ["${maxResults}"];
+ }
+ if (startDate != null) {
+ _queryParams["startDate"] = [startDate];
}
if (labels != null) {
_queryParams["labels"] = [labels];
@@ -1489,15 +1498,6 @@
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
- if (maxResults != null) {
- _queryParams["maxResults"] = ["${maxResults}"];
- }
- if (startDate != null) {
- _queryParams["startDate"] = [startDate];
- }
- if (fetchBodies != null) {
- _queryParams["fetchBodies"] = ["${fetchBodies}"];
- }
if (status != null) {
_queryParams["status"] = status;
}
@@ -1589,6 +1589,8 @@
///
/// [fetchBody] - null
///
+ /// [fetchImages] - null
+ ///
/// [view] - null
/// Possible string values are:
/// - "VIEW_TYPE_UNSPECIFIED"
@@ -1596,8 +1598,6 @@
/// - "AUTHOR"
/// - "ADMIN"
///
- /// [fetchImages] - null
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1611,8 +1611,8 @@
async.Future<Post> get(core.String blogId, core.String postId,
{core.int maxComments,
core.bool fetchBody,
- core.String view,
core.bool fetchImages,
+ core.String view,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -1633,12 +1633,12 @@
if (fetchBody != null) {
_queryParams["fetchBody"] = ["${fetchBody}"];
}
- if (view != null) {
- _queryParams["view"] = [view];
- }
if (fetchImages != null) {
_queryParams["fetchImages"] = ["${fetchImages}"];
}
+ if (view != null) {
+ _queryParams["view"] = [view];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -1795,10 +1795,14 @@
///
/// [blogId] - null
///
- /// [fetchBodies] - null
+ /// [maxResults] - null
///
/// [pageToken] - null
///
+ /// [fetchBodies] - null
+ ///
+ /// [endDate] - null
+ ///
/// [view] - null
/// Possible string values are:
/// - "VIEW_TYPE_UNSPECIFIED"
@@ -1806,24 +1810,20 @@
/// - "AUTHOR"
/// - "ADMIN"
///
- /// [endDate] - null
- ///
/// [fetchImages] - null
///
- /// [status] - null
- ///
- /// [labels] - null
- ///
- /// [maxResults] - null
- ///
- /// [startDate] - null
- ///
/// [orderBy] - null
/// Possible string values are:
/// - "ORDER_BY_UNSPECIFIED"
/// - "PUBLISHED"
/// - "UPDATED"
///
+ /// [startDate] - null
+ ///
+ /// [status] - null
+ ///
+ /// [labels] - null
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1835,16 +1835,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<PostList> list(core.String blogId,
- {core.bool fetchBodies,
+ {core.int maxResults,
core.String pageToken,
- core.String view,
+ core.bool fetchBodies,
core.String endDate,
+ core.String view,
core.bool fetchImages,
+ core.String orderBy,
+ core.String startDate,
core.List<core.String> status,
core.String labels,
- core.int maxResults,
- core.String startDate,
- core.String orderBy,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -1856,36 +1856,36 @@
if (blogId == null) {
throw new core.ArgumentError("Parameter blogId is required.");
}
- if (fetchBodies != null) {
- _queryParams["fetchBodies"] = ["${fetchBodies}"];
+ if (maxResults != null) {
+ _queryParams["maxResults"] = ["${maxResults}"];
}
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
- if (view != null) {
- _queryParams["view"] = [view];
+ 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 (orderBy != null) {
+ _queryParams["orderBy"] = [orderBy];
+ }
+ if (startDate != null) {
+ _queryParams["startDate"] = [startDate];
+ }
if (status != null) {
_queryParams["status"] = status;
}
if (labels != null) {
_queryParams["labels"] = [labels];
}
- if (maxResults != null) {
- _queryParams["maxResults"] = ["${maxResults}"];
- }
- if (startDate != null) {
- _queryParams["startDate"] = [startDate];
- }
- if (orderBy != null) {
- _queryParams["orderBy"] = [orderBy];
- }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -1915,10 +1915,10 @@
///
/// [fetchImages] - null
///
- /// [fetchBody] - null
- ///
/// [maxComments] - null
///
+ /// [fetchBody] - null
+ ///
/// [revert_1] - null
///
/// [$fields] - Selector specifying which fields to include in a partial
@@ -1934,8 +1934,8 @@
async.Future<Post> patch(Post request, core.String blogId, core.String postId,
{core.bool publish_1,
core.bool fetchImages,
- core.bool fetchBody,
core.int maxComments,
+ core.bool fetchBody,
core.bool revert_1,
core.String $fields}) {
var _url;
@@ -1960,12 +1960,12 @@
if (fetchImages != null) {
_queryParams["fetchImages"] = ["${fetchImages}"];
}
- if (fetchBody != null) {
- _queryParams["fetchBody"] = ["${fetchBody}"];
- }
if (maxComments != null) {
_queryParams["maxComments"] = ["${maxComments}"];
}
+ if (fetchBody != null) {
+ _queryParams["fetchBody"] = ["${fetchBody}"];
+ }
if (revert_1 != null) {
_queryParams["revert"] = ["${revert_1}"];
}
@@ -2171,15 +2171,15 @@
///
/// [postId] - null
///
- /// [fetchBody] - null
- ///
- /// [fetchImages] - null
- ///
/// [publish_1] - null
///
+ /// [revert_1] - null
+ ///
/// [maxComments] - null
///
- /// [revert_1] - null
+ /// [fetchImages] - null
+ ///
+ /// [fetchBody] - null
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -2193,11 +2193,11 @@
/// this method will complete with the same error.
async.Future<Post> update(
Post request, core.String blogId, core.String postId,
- {core.bool fetchBody,
- core.bool fetchImages,
- core.bool publish_1,
- core.int maxComments,
+ {core.bool publish_1,
core.bool revert_1,
+ core.int maxComments,
+ core.bool fetchImages,
+ core.bool fetchBody,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -2215,20 +2215,20 @@
if (postId == null) {
throw new core.ArgumentError("Parameter postId is required.");
}
- if (fetchBody != null) {
- _queryParams["fetchBody"] = ["${fetchBody}"];
- }
- if (fetchImages != null) {
- _queryParams["fetchImages"] = ["${fetchImages}"];
- }
if (publish_1 != null) {
_queryParams["publish"] = ["${publish_1}"];
}
+ if (revert_1 != null) {
+ _queryParams["revert"] = ["${revert_1}"];
+ }
if (maxComments != null) {
_queryParams["maxComments"] = ["${maxComments}"];
}
- if (revert_1 != null) {
- _queryParams["revert"] = ["${revert_1}"];
+ 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 55220ef..b7e5bd2 100644
--- a/generated/googleapis/lib/books/v1.dart
+++ b/generated/googleapis/lib/books/v1.dart
@@ -180,13 +180,13 @@
///
/// [startIndex] - Index of the first element to return (starts at 0)
///
- /// [showPreorders] - Set to true to show pre-ordered books. Defaults to
- /// false.
- ///
/// [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.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -199,9 +199,9 @@
/// this method will complete with the same error.
async.Future<Volumes> list(core.String userId, core.String shelf,
{core.int startIndex,
- core.bool showPreorders,
core.String source,
core.int maxResults,
+ core.bool showPreorders,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -219,15 +219,15 @@
if (startIndex != null) {
_queryParams["startIndex"] = ["${startIndex}"];
}
- if (showPreorders != null) {
- _queryParams["showPreorders"] = ["${showPreorders}"];
- }
if (source != null) {
_queryParams["source"] = [source];
}
if (maxResults != null) {
_queryParams["maxResults"] = ["${maxResults}"];
}
+ if (showPreorders != null) {
+ _queryParams["showPreorders"] = ["${showPreorders}"];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -257,6 +257,9 @@
///
/// 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.
///
@@ -265,9 +268,6 @@
///
/// [uploadClientToken] - Scotty upload token.
///
- /// [name] - The document name. It can be set only if the drive_document_id is
- /// set.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -279,10 +279,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<BooksCloudloadingResource> addBook(
- {core.String driveDocumentId,
+ {core.String name,
+ core.String driveDocumentId,
core.String mimeType,
core.String uploadClientToken,
- core.String name,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -291,6 +291,9 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body;
+ if (name != null) {
+ _queryParams["name"] = [name];
+ }
if (driveDocumentId != null) {
_queryParams["drive_document_id"] = [driveDocumentId];
}
@@ -300,9 +303,6 @@
if (uploadClientToken != null) {
_queryParams["upload_client_token"] = [uploadClientToken];
}
- if (name != null) {
- _queryParams["name"] = [name];
- }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -511,10 +511,10 @@
///
/// [source] - String to identify the originator of this request.
///
- /// [volumeId] - The volume to share.
- ///
/// [docId] - The docid to share.
///
+ /// [volumeId] - The volume to share.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -527,8 +527,8 @@
/// this method will complete with the same error.
async.Future<Empty> share(
{core.String source,
- core.String volumeId,
core.String docId,
+ core.String volumeId,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -540,12 +540,12 @@
if (source != null) {
_queryParams["source"] = [source];
}
- if (volumeId != null) {
- _queryParams["volumeId"] = [volumeId];
- }
if (docId != null) {
_queryParams["docId"] = [docId];
}
+ if (volumeId != null) {
+ _queryParams["volumeId"] = [volumeId];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -566,10 +566,10 @@
///
/// Request parameters:
///
- /// [volumeId] - The volume to unshare.
- ///
/// [docId] - The docid to unshare.
///
+ /// [volumeId] - The volume to unshare.
+ ///
/// [source] - String to identify the originator of this request.
///
/// [$fields] - Selector specifying which fields to include in a partial
@@ -583,8 +583,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> unshare(
- {core.String volumeId,
- core.String docId,
+ {core.String docId,
+ core.String volumeId,
core.String source,
core.String $fields}) {
var _url;
@@ -594,12 +594,12 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body;
- if (volumeId != null) {
- _queryParams["volumeId"] = [volumeId];
- }
if (docId != null) {
_queryParams["docId"] = [docId];
}
+ if (volumeId != null) {
+ _queryParams["volumeId"] = [volumeId];
+ }
if (source != null) {
_queryParams["source"] = [source];
}
@@ -637,10 +637,10 @@
///
/// [summaryId] - The ID for the layer to get the summary for.
///
- /// [contentVersion] - The content version for the requested volume.
- ///
/// [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.
///
@@ -652,7 +652,7 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<Layersummary> get(core.String volumeId, core.String summaryId,
- {core.String contentVersion, core.String source, core.String $fields}) {
+ {core.String source, core.String contentVersion, core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -666,12 +666,12 @@
if (summaryId == null) {
throw new core.ArgumentError("Parameter summaryId is required.");
}
- if (contentVersion != null) {
- _queryParams["contentVersion"] = [contentVersion];
- }
if (source != null) {
_queryParams["source"] = [source];
}
+ if (contentVersion != null) {
+ _queryParams["contentVersion"] = [contentVersion];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -696,14 +696,14 @@
///
/// [volumeId] - The volume to retrieve layers for.
///
- /// [pageToken] - The value of the nextToken from the previous page.
- ///
- /// [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.
///
@@ -715,10 +715,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<Layersummaries> list(core.String volumeId,
- {core.String pageToken,
- core.String contentVersion,
- core.int maxResults,
+ {core.int maxResults,
+ core.String pageToken,
core.String source,
+ core.String contentVersion,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -730,18 +730,18 @@
if (volumeId == null) {
throw new core.ArgumentError("Parameter volumeId is required.");
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
- if (contentVersion != null) {
- _queryParams["contentVersion"] = [contentVersion];
- }
if (maxResults != null) {
_queryParams["maxResults"] = ["${maxResults}"];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
if (source != null) {
_queryParams["source"] = [source];
}
+ if (contentVersion != null) {
+ _queryParams["contentVersion"] = [contentVersion];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -776,24 +776,24 @@
///
/// [annotationDataId] - The ID of the annotation data to retrieve.
///
- /// [contentVersion] - The content version for the volume you are trying to
- /// retrieve.
+ /// [allowWebDefinitions] - For the dictionary layer. Whether or not to allow
+ /// web definitions.
+ ///
+ /// [source] - String to identify the originator of this request.
///
/// [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.
///
/// [w] - The requested pixel width for any images. If width is provided
/// height must also be provided.
///
- /// [allowWebDefinitions] - For the dictionary layer. Whether or not to allow
- /// web definitions.
- ///
- /// [scale] - The requested scale for the image.
- ///
- /// [source] - String to identify the originator of this request.
+ /// [contentVersion] - The content version for the volume you are trying to
+ /// retrieve.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -807,13 +807,13 @@
/// this method will complete with the same error.
async.Future<DictionaryAnnotationdata> get(
core.String volumeId, core.String layerId, core.String annotationDataId,
- {core.String contentVersion,
+ {core.bool allowWebDefinitions,
+ core.String source,
core.String locale,
+ core.int scale,
core.int h,
core.int w,
- core.bool allowWebDefinitions,
- core.int scale,
- core.String source,
+ core.String contentVersion,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -831,26 +831,26 @@
if (annotationDataId == null) {
throw new core.ArgumentError("Parameter annotationDataId is required.");
}
- if (contentVersion != null) {
- _queryParams["contentVersion"] = [contentVersion];
+ if (allowWebDefinitions != null) {
+ _queryParams["allowWebDefinitions"] = ["${allowWebDefinitions}"];
+ }
+ if (source != null) {
+ _queryParams["source"] = [source];
}
if (locale != null) {
_queryParams["locale"] = [locale];
}
+ if (scale != null) {
+ _queryParams["scale"] = ["${scale}"];
+ }
if (h != null) {
_queryParams["h"] = ["${h}"];
}
if (w != null) {
_queryParams["w"] = ["${w}"];
}
- if (allowWebDefinitions != null) {
- _queryParams["allowWebDefinitions"] = ["${allowWebDefinitions}"];
- }
- if (scale != null) {
- _queryParams["scale"] = ["${scale}"];
- }
- if (source != null) {
- _queryParams["source"] = [source];
+ if (contentVersion != null) {
+ _queryParams["contentVersion"] = [contentVersion];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -881,33 +881,33 @@
///
/// [layerId] - The ID for the layer to get the annotation data.
///
- /// [scale] - The requested scale for the image.
- ///
- /// [pageToken] - The value of the nextToken from the previous page.
- ///
- /// [locale] - The locale information for the data. ISO-639-1 language and
- /// ISO-3166-1 country code. Ex: 'en_US'.
- ///
/// [w] - The requested pixel width for any images. If width is provided
/// height must also be provided.
///
- /// [h] - The requested pixel height for any images. If height is provided
- /// width must also be provided.
- ///
- /// [updatedMax] - RFC 3339 timestamp to restrict to items updated prior to
- /// this timestamp (exclusive).
+ /// [scale] - The requested scale for the image.
///
/// [updatedMin] - RFC 3339 timestamp to restrict to items updated since this
/// timestamp (inclusive).
///
- /// [contentVersion] - The content version for the requested volume.
- ///
/// [maxResults] - Maximum number of results to return
///
+ /// [locale] - The locale information for the data. ISO-639-1 language and
+ /// ISO-3166-1 country code. Ex: 'en_US'.
+ ///
+ /// [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.
+ ///
/// [annotationDataId] - The list of Annotation Data Ids to retrieve.
/// Pagination is ignored if this is set.
///
- /// [source] - String to identify the originator of this request.
+ /// [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.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -920,17 +920,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<Annotationsdata> list(core.String volumeId, core.String layerId,
- {core.int scale,
- core.String pageToken,
- core.String locale,
- core.int w,
- core.int h,
- core.String updatedMax,
+ {core.int w,
+ core.int scale,
core.String updatedMin,
- core.String contentVersion,
core.int maxResults,
- core.List<core.String> annotationDataId,
+ core.String locale,
+ core.String pageToken,
core.String source,
+ core.String contentVersion,
+ core.List<core.String> annotationDataId,
+ core.String updatedMax,
+ core.int h,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -945,38 +945,38 @@
if (layerId == null) {
throw new core.ArgumentError("Parameter layerId is required.");
}
- if (scale != null) {
- _queryParams["scale"] = ["${scale}"];
- }
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
- if (locale != null) {
- _queryParams["locale"] = [locale];
- }
if (w != null) {
_queryParams["w"] = ["${w}"];
}
- if (h != null) {
- _queryParams["h"] = ["${h}"];
- }
- if (updatedMax != null) {
- _queryParams["updatedMax"] = [updatedMax];
+ if (scale != null) {
+ _queryParams["scale"] = ["${scale}"];
}
if (updatedMin != null) {
_queryParams["updatedMin"] = [updatedMin];
}
- if (contentVersion != null) {
- _queryParams["contentVersion"] = [contentVersion];
- }
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 (contentVersion != null) {
+ _queryParams["contentVersion"] = [contentVersion];
+ }
if (annotationDataId != null) {
_queryParams["annotationDataId"] = annotationDataId;
}
- if (source != null) {
- _queryParams["source"] = [source];
+ if (updatedMax != null) {
+ _queryParams["updatedMax"] = [updatedMax];
+ }
+ if (h != null) {
+ _queryParams["h"] = ["${h}"];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -1082,36 +1082,36 @@
///
/// [layerId] - The ID for the layer to get the annotations.
///
- /// [locale] - The locale information for the data. ISO-639-1 language and
- /// ISO-3166-1 country code. Ex: 'en_US'.
+ /// [updatedMin] - RFC 3339 timestamp to restrict to items updated since this
+ /// timestamp (inclusive).
///
- /// [maxResults] - Maximum number of results to return
+ /// [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).
///
- /// [pageToken] - The value of the nextToken from the previous page.
+ /// [volumeAnnotationsVersion] - The version of the volume annotations that
+ /// you are requesting.
///
- /// [contentVersion] - The content version for the requested volume.
+ /// [source] - String to identify the originator of this request.
///
- /// [endPosition] - The end position to end retrieving data from.
+ /// [endOffset] - The end offset to end retrieving data from.
///
- /// [updatedMin] - RFC 3339 timestamp to restrict to items updated since this
- /// timestamp (inclusive).
+ /// [maxResults] - Maximum number of results to return
+ ///
+ /// [locale] - The locale information for the data. ISO-639-1 language and
+ /// ISO-3166-1 country code. Ex: 'en_US'.
///
/// [showDeleted] - Set to true to return deleted annotations. updatedMin must
/// be in the request to use this. Defaults to false.
///
- /// [source] - String to identify the originator of this request.
- ///
- /// [startOffset] - The start offset to start retrieving data from.
- ///
- /// [endOffset] - The end offset to end retrieving data from.
- ///
- /// [startPosition] - The start position to start retrieving data from.
- ///
- /// [volumeAnnotationsVersion] - The version of the volume annotations that
- /// you are requesting.
+ /// [pageToken] - The value of the nextToken from the previous page.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -1125,19 +1125,19 @@
/// this method will complete with the same error.
async.Future<Volumeannotations> list(
core.String volumeId, core.String layerId,
- {core.String locale,
- core.int maxResults,
- core.String updatedMax,
- core.String pageToken,
+ {core.String updatedMin,
core.String contentVersion,
- core.String endPosition,
- core.String updatedMin,
- core.bool showDeleted,
- core.String source,
- core.String startOffset,
- core.String endOffset,
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 locale,
+ core.bool showDeleted,
+ core.String pageToken,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -1152,45 +1152,45 @@
if (layerId == null) {
throw new core.ArgumentError("Parameter layerId is required.");
}
- if (locale != null) {
- _queryParams["locale"] = [locale];
- }
- if (maxResults != null) {
- _queryParams["maxResults"] = ["${maxResults}"];
- }
- if (updatedMax != null) {
- _queryParams["updatedMax"] = [updatedMax];
- }
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
+ 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 (updatedMin != null) {
- _queryParams["updatedMin"] = [updatedMin];
- }
- if (showDeleted != null) {
- _queryParams["showDeleted"] = ["${showDeleted}"];
- }
- if (source != null) {
- _queryParams["source"] = [source];
- }
if (startOffset != null) {
_queryParams["startOffset"] = [startOffset];
}
- if (endOffset != null) {
- _queryParams["endOffset"] = [endOffset];
- }
- if (startPosition != null) {
- _queryParams["startPosition"] = [startPosition];
+ 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 (locale != null) {
+ _queryParams["locale"] = [locale];
+ }
+ if (showDeleted != null) {
+ _queryParams["showDeleted"] = ["${showDeleted}"];
+ }
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -1263,6 +1263,8 @@
///
/// Request parameters:
///
+ /// [cpksver] - The device/version ID from which to release the restriction.
+ ///
/// [locale] - ISO-639-1, ISO-3166-1 codes for message localization, i.e.
/// en_US.
///
@@ -1270,8 +1272,6 @@
///
/// [volumeIds] - The volume(s) to release restrictions for.
///
- /// [cpksver] - The device/version ID from which to release the restriction.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1283,10 +1283,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<DownloadAccesses> releaseDownloadAccess(
- {core.String locale,
+ {core.String cpksver,
+ core.String locale,
core.String source,
core.List<core.String> volumeIds,
- core.String cpksver,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -1295,6 +1295,9 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body;
+ if (cpksver != null) {
+ _queryParams["cpksver"] = [cpksver];
+ }
if (locale != null) {
_queryParams["locale"] = [locale];
}
@@ -1304,9 +1307,6 @@
if (volumeIds != null) {
_queryParams["volumeIds"] = volumeIds;
}
- if (cpksver != null) {
- _queryParams["cpksver"] = [cpksver];
- }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -1326,6 +1326,15 @@
///
/// 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,
/// the default is BOTH.
/// Possible string values are:
@@ -1334,15 +1343,6 @@
/// - "CONCURRENT" : Concurrent access license.
/// - "DOWNLOAD" : Offline download access license.
///
- /// [locale] - ISO-639-1, ISO-3166-1 codes for message localization, i.e.
- /// en_US.
- ///
- /// [source] - String to identify the originator of this request.
- ///
- /// [nonce] - The client nonce value.
- ///
- /// [cpksver] - The device/version ID from which to request the restrictions.
- ///
/// [volumeId] - The volume to request concurrent/download restrictions for.
///
/// [$fields] - Selector specifying which fields to include in a partial
@@ -1356,11 +1356,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 licenseTypes,
+ {core.String source,
core.String locale,
- core.String source,
core.String nonce,
core.String cpksver,
+ core.String licenseTypes,
core.String volumeId,
core.String $fields}) {
var _url;
@@ -1370,21 +1370,21 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body;
- if (licenseTypes != null) {
- _queryParams["licenseTypes"] = [licenseTypes];
+ if (source != null) {
+ _queryParams["source"] = [source];
}
if (locale != null) {
_queryParams["locale"] = [locale];
}
- if (source != null) {
- _queryParams["source"] = [source];
- }
if (nonce != null) {
_queryParams["nonce"] = [nonce];
}
if (cpksver != null) {
_queryParams["cpksver"] = [cpksver];
}
+ if (licenseTypes != null) {
+ _queryParams["licenseTypes"] = [licenseTypes];
+ }
if (volumeId != null) {
_queryParams["volumeId"] = [volumeId];
}
@@ -1412,21 +1412,21 @@
///
/// [source] - String to identify the originator of this request.
///
- /// [volumeIds] - The volume(s) to request download restrictions for.
- ///
- /// [nonce] - The client nonce value.
+ /// [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.
///
- /// [locale] - ISO-639-1, ISO-3166-1 codes for message localization, i.e.
- /// en_US.
- ///
/// [includeNonComicsSeries] - Set to true to include non-comics series.
/// Defaults to false.
///
/// [features] - List of features supported by the client, i.e., 'RENTALS'
///
+ /// [nonce] - The client nonce value.
+ ///
+ /// [volumeIds] - The volume(s) to request download restrictions for.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1440,12 +1440,12 @@
async.Future<Volumes> syncVolumeLicenses(
{core.String cpksver,
core.String source,
- core.List<core.String> volumeIds,
- core.String nonce,
- core.bool showPreorders,
core.String locale,
+ core.bool showPreorders,
core.bool includeNonComicsSeries,
core.List<core.String> features,
+ core.String nonce,
+ core.List<core.String> volumeIds,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -1460,24 +1460,24 @@
if (source != null) {
_queryParams["source"] = [source];
}
- if (volumeIds != null) {
- _queryParams["volumeIds"] = volumeIds;
- }
- if (nonce != null) {
- _queryParams["nonce"] = [nonce];
+ if (locale != null) {
+ _queryParams["locale"] = [locale];
}
if (showPreorders != null) {
_queryParams["showPreorders"] = ["${showPreorders}"];
}
- if (locale != null) {
- _queryParams["locale"] = [locale];
- }
if (includeNonComicsSeries != null) {
_queryParams["includeNonComicsSeries"] = ["${includeNonComicsSeries}"];
}
if (features != null) {
_queryParams["features"] = features;
}
+ if (nonce != null) {
+ _queryParams["nonce"] = [nonce];
+ }
+ if (volumeIds != null) {
+ _queryParams["volumeIds"] = volumeIds;
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -1613,12 +1613,12 @@
///
/// Request parameters:
///
- /// [showOnlySummaryInResponse] - Requests that only the summary of the
- /// specified layer be provided in the response.
+ /// [annotationId] - The ID for the annotation to insert.
///
/// [source] - String to identify the originator of this request.
///
- /// [annotationId] - The ID for the annotation to insert.
+ /// [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.
///
@@ -1633,9 +1633,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<Annotation> insert(Annotation request,
- {core.bool showOnlySummaryInResponse,
+ {core.String annotationId,
core.String source,
- core.String annotationId,
+ core.bool showOnlySummaryInResponse,
core.String country,
core.String $fields}) {
var _url;
@@ -1648,16 +1648,16 @@
if (request != null) {
_body = convert.json.encode((request).toJson());
}
- if (showOnlySummaryInResponse != null) {
- _queryParams["showOnlySummaryInResponse"] = [
- "${showOnlySummaryInResponse}"
- ];
+ if (annotationId != null) {
+ _queryParams["annotationId"] = [annotationId];
}
if (source != null) {
_queryParams["source"] = [source];
}
- if (annotationId != null) {
- _queryParams["annotationId"] = [annotationId];
+ if (showOnlySummaryInResponse != null) {
+ _queryParams["showOnlySummaryInResponse"] = [
+ "${showOnlySummaryInResponse}"
+ ];
}
if (country != null) {
_queryParams["country"] = [country];
@@ -1681,20 +1681,11 @@
///
/// Request parameters:
///
- /// [updatedMin] - RFC 3339 timestamp to restrict to items updated since this
- /// timestamp (inclusive).
- ///
- /// [volumeId] - The volume to restrict annotations to.
- ///
- /// [layerId] - The layer ID to limit annotation by.
+ /// [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.
- ///
- /// [maxResults] - Maximum number of results to return
- ///
- /// [pageToken] - The value of the nextToken from the previous page.
+ /// [layerId] - The layer ID to limit annotation by.
///
/// [updatedMax] - RFC 3339 timestamp to restrict to items updated prior to
/// this timestamp (exclusive).
@@ -1702,7 +1693,16 @@
/// [showDeleted] - Set to true to return deleted annotations. updatedMin must
/// be in the request to use this. Defaults to false.
///
- /// [source] - String to identify the originator of this request.
+ /// [volumeId] - The volume to restrict annotations to.
+ ///
+ /// [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.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -1715,16 +1715,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 updatedMin,
- core.String volumeId,
- core.String layerId,
+ {core.String source,
core.List<core.String> layerIds,
- core.String contentVersion,
- core.int maxResults,
- core.String pageToken,
+ core.String layerId,
core.String updatedMax,
core.bool showDeleted,
- core.String source,
+ core.String volumeId,
+ core.String updatedMin,
+ core.String pageToken,
+ core.int maxResults,
+ core.String contentVersion,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -1733,26 +1733,14 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body;
- if (updatedMin != null) {
- _queryParams["updatedMin"] = [updatedMin];
- }
- if (volumeId != null) {
- _queryParams["volumeId"] = [volumeId];
- }
- if (layerId != null) {
- _queryParams["layerId"] = [layerId];
+ if (source != null) {
+ _queryParams["source"] = [source];
}
if (layerIds != null) {
_queryParams["layerIds"] = layerIds;
}
- if (contentVersion != null) {
- _queryParams["contentVersion"] = [contentVersion];
- }
- if (maxResults != null) {
- _queryParams["maxResults"] = ["${maxResults}"];
- }
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
+ if (layerId != null) {
+ _queryParams["layerId"] = [layerId];
}
if (updatedMax != null) {
_queryParams["updatedMax"] = [updatedMax];
@@ -1760,8 +1748,20 @@
if (showDeleted != null) {
_queryParams["showDeleted"] = ["${showDeleted}"];
}
- if (source != null) {
- _queryParams["source"] = [source];
+ if (volumeId != null) {
+ _queryParams["volumeId"] = [volumeId];
+ }
+ if (updatedMin != null) {
+ _queryParams["updatedMin"] = [updatedMin];
+ }
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
+ if (maxResults != null) {
+ _queryParams["maxResults"] = ["${maxResults}"];
+ }
+ if (contentVersion != null) {
+ _queryParams["contentVersion"] = [contentVersion];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -1782,10 +1782,10 @@
///
/// Request parameters:
///
- /// [volumeId] - Volume id to get the summary for.
- ///
/// [layerIds] - Array of layer IDs to get the summary for.
///
+ /// [volumeId] - Volume id to get the summary for.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1797,8 +1797,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<AnnotationsSummary> summary(
- {core.String volumeId,
- core.List<core.String> layerIds,
+ {core.List<core.String> layerIds,
+ core.String volumeId,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -1807,12 +1807,12 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body;
- if (volumeId != null) {
- _queryParams["volumeId"] = [volumeId];
- }
if (layerIds != null) {
_queryParams["layerIds"] = layerIds;
}
+ if (volumeId != null) {
+ _queryParams["volumeId"] = [volumeId];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -1898,8 +1898,6 @@
///
/// [shelf] - ID of bookshelf to which to add a volume.
///
- /// [volumeId] - ID of volume to add.
- ///
/// [source] - String to identify the originator of this request.
///
/// [reason] - The reason for which the book is added to the library.
@@ -1909,6 +1907,8 @@
/// - "IOS_SEARCH" : Volumes added from the Search flow on iOS.
/// - "ONBOARDING" : Volumes added from the Onboarding flow.
///
+ /// [volumeId] - ID of volume to add.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1920,9 +1920,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<Empty> addVolume(core.String shelf,
- {core.String volumeId,
- core.String source,
+ {core.String source,
core.String reason,
+ core.String volumeId,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -1934,15 +1934,15 @@
if (shelf == null) {
throw new core.ArgumentError("Parameter shelf is required.");
}
- if (volumeId != null) {
- _queryParams["volumeId"] = [volumeId];
- }
if (source != null) {
_queryParams["source"] = [source];
}
if (reason != null) {
_queryParams["reason"] = [reason];
}
+ if (volumeId != null) {
+ _queryParams["volumeId"] = [volumeId];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -2110,12 +2110,12 @@
///
/// [volumeId] - ID of volume to move.
///
+ /// [source] - String to identify the originator of this request.
+ ///
/// [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.)
///
- /// [source] - String to identify the originator of this request.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -2128,8 +2128,8 @@
/// this method will complete with the same error.
async.Future<Empty> moveVolume(core.String shelf,
{core.String volumeId,
- core.int volumePosition,
core.String source,
+ core.int volumePosition,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -2144,12 +2144,12 @@
if (volumeId != null) {
_queryParams["volumeId"] = [volumeId];
}
- if (volumePosition != null) {
- _queryParams["volumePosition"] = ["${volumePosition}"];
- }
if (source != null) {
_queryParams["source"] = [source];
}
+ if (volumePosition != null) {
+ _queryParams["volumePosition"] = ["${volumePosition}"];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -2246,12 +2246,12 @@
///
/// [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.
///
- /// [q] - Full-text search query string in this bookshelf.
- ///
/// [projection] - Restrict information returned to a set of selected fields.
/// Possible string values are:
/// - "PROJECTION_UNDEFINED"
@@ -2261,7 +2261,7 @@
/// [showPreorders] - Set to true to show pre-ordered books. Defaults to
/// false.
///
- /// [maxResults] - Maximum number of results to return
+ /// [q] - Full-text search query string in this bookshelf.
///
/// [startIndex] - Index of the first element to return (starts at 0)
///
@@ -2276,12 +2276,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.String shelf,
- {core.String source,
+ {core.int maxResults,
+ core.String source,
core.String country,
- core.String q,
core.String projection,
core.bool showPreorders,
- core.int maxResults,
+ core.String q,
core.int startIndex,
core.String $fields}) {
var _url;
@@ -2294,23 +2294,23 @@
if (shelf == null) {
throw new 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 (q != null) {
- _queryParams["q"] = [q];
- }
if (projection != null) {
_queryParams["projection"] = [projection];
}
if (showPreorders != null) {
_queryParams["showPreorders"] = ["${showPreorders}"];
}
- if (maxResults != null) {
- _queryParams["maxResults"] = ["${maxResults}"];
+ if (q != null) {
+ _queryParams["q"] = [q];
}
if (startIndex != null) {
_queryParams["startIndex"] = ["${startIndex}"];
@@ -2345,11 +2345,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.
///
@@ -2361,7 +2361,7 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<ReadingPosition> get(core.String volumeId,
- {core.String contentVersion, core.String source, core.String $fields}) {
+ {core.String source, core.String contentVersion, core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -2372,12 +2372,12 @@
if (volumeId == null) {
throw new core.ArgumentError("Parameter volumeId is required.");
}
- if (contentVersion != null) {
- _queryParams["contentVersion"] = [contentVersion];
- }
if (source != null) {
_queryParams["source"] = [source];
}
+ if (contentVersion != null) {
+ _queryParams["contentVersion"] = [contentVersion];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -2400,12 +2400,18 @@
///
/// [volumeId] - ID of volume for which to update the reading position.
///
- /// [timestamp] - RFC 3339 UTC format timestamp associated with this 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"
@@ -2416,12 +2422,6 @@
/// - "scroll" : User navigated to page.
/// - "search" : User chose search results within volume.
///
- /// [source] - String to identify the originator of this request.
- ///
- /// [position] - Position string for the new volume reading position.
- ///
- /// [deviceCookie] - Random persistent device cookie optional on set position.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -2433,12 +2433,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<Empty> setPosition(core.String volumeId,
- {core.String timestamp,
- core.String contentVersion,
- core.String action,
- core.String source,
- core.String position,
+ {core.String position,
core.String deviceCookie,
+ core.String source,
+ core.String contentVersion,
+ core.String timestamp,
+ core.String action,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -2450,24 +2450,24 @@
if (volumeId == null) {
throw new core.ArgumentError("Parameter volumeId is required.");
}
- if (timestamp != null) {
- _queryParams["timestamp"] = [timestamp];
- }
- if (contentVersion != null) {
- _queryParams["contentVersion"] = [contentVersion];
- }
- if (action != null) {
- _queryParams["action"] = [action];
- }
- if (source != null) {
- _queryParams["source"] = [source];
- }
if (position != null) {
_queryParams["position"] = [position];
}
if (deviceCookie != null) {
_queryParams["deviceCookie"] = [deviceCookie];
}
+ if (source != null) {
+ _queryParams["source"] = [source];
+ }
+ if (contentVersion != null) {
+ _queryParams["contentVersion"] = [contentVersion];
+ }
+ if (timestamp != null) {
+ _queryParams["timestamp"] = [timestamp];
+ }
+ if (action != null) {
+ _queryParams["action"] = [action];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -2495,12 +2495,12 @@
///
/// Request parameters:
///
- /// [notificationId] - String to identify the notification.
+ /// [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.
///
- /// [source] - String to identify the originator of this request.
+ /// [notificationId] - String to identify the notification.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -2513,9 +2513,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 notificationId,
+ {core.String source,
core.String locale,
- core.String source,
+ core.String notificationId,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -2524,14 +2524,14 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body;
- if (notificationId != null) {
- _queryParams["notification_id"] = [notificationId];
+ if (source != null) {
+ _queryParams["source"] = [source];
}
if (locale != null) {
_queryParams["locale"] = [locale];
}
- if (source != null) {
- _queryParams["source"] = [source];
+ if (notificationId != null) {
+ _queryParams["notification_id"] = [notificationId];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -2602,14 +2602,13 @@
///
/// Request parameters:
///
- /// [categoryId] - List of category ids requested.
- ///
- /// [pageSize] - Number of maximum results per page to be included in the
- /// response.
- ///
/// [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.
+ ///
/// [maxAllowedMaturityRating] - The maximum allowed maturity rating of
/// returned volumes. Books with a higher maturity rating are filtered out.
/// Possible string values are:
@@ -2617,7 +2616,8 @@
/// - "MATURE" : Show books which are rated mature or lower.
/// - "not-mature" : Show books which are rated not mature.
///
- /// [pageToken] - The value of the nextToken from the previous page.
+ /// [pageSize] - Number of maximum results per page to be included in the
+ /// response.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -2630,11 +2630,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.List<core.String> categoryId,
- core.int pageSize,
- core.String locale,
- core.String maxAllowedMaturityRating,
+ {core.String locale,
+ core.List<core.String> categoryId,
core.String pageToken,
+ core.String maxAllowedMaturityRating,
+ core.int pageSize,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -2643,20 +2643,20 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body;
+ if (locale != null) {
+ _queryParams["locale"] = [locale];
+ }
if (categoryId != null) {
_queryParams["categoryId"] = categoryId;
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
- if (locale != null) {
- _queryParams["locale"] = [locale];
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
}
if (maxAllowedMaturityRating != null) {
_queryParams["maxAllowedMaturityRating"] = [maxAllowedMaturityRating];
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -2753,22 +2753,22 @@
///
/// Request parameters:
///
- /// [volumeId] - Volume id to exercise the offer
- ///
/// [offerId] - null
///
- /// [serial] - device serial
- ///
- /// [androidId] - device android_id
- ///
- /// [model] - device model
- ///
- /// [device] - device device
- ///
/// [manufacturer] - device manufacturer
///
/// [product] - device product
///
+ /// [model] - device model
+ ///
+ /// [volumeId] - Volume id to exercise the offer
+ ///
+ /// [device] - device device
+ ///
+ /// [androidId] - device android_id
+ ///
+ /// [serial] - device serial
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -2780,14 +2780,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 volumeId,
- core.String offerId,
- core.String serial,
- core.String androidId,
- core.String model,
- core.String device,
+ {core.String offerId,
core.String manufacturer,
core.String product,
+ core.String model,
+ core.String volumeId,
+ core.String device,
+ core.String androidId,
+ core.String serial,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -2796,30 +2796,30 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body;
- if (volumeId != null) {
- _queryParams["volumeId"] = [volumeId];
- }
if (offerId != null) {
_queryParams["offerId"] = [offerId];
}
- if (serial != null) {
- _queryParams["serial"] = [serial];
- }
- if (androidId != null) {
- _queryParams["androidId"] = [androidId];
- }
- if (model != null) {
- _queryParams["model"] = [model];
- }
- if (device != null) {
- _queryParams["device"] = [device];
- }
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 (device != null) {
+ _queryParams["device"] = [device];
+ }
+ if (androidId != null) {
+ _queryParams["androidId"] = [androidId];
+ }
+ if (serial != null) {
+ _queryParams["serial"] = [serial];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -2841,17 +2841,17 @@
///
/// [androidId] - device android_id
///
- /// [serial] - device serial
- ///
/// [product] - device product
///
+ /// [serial] - device serial
+ ///
/// [model] - device model
///
- /// [manufacturer] - device manufacturer
+ /// [offerId] - Offer to dimiss
///
/// [device] - device device
///
- /// [offerId] - Offer to dimiss
+ /// [manufacturer] - device manufacturer
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -2865,12 +2865,12 @@
/// this method will complete with the same error.
async.Future<Empty> dismiss(
{core.String androidId,
- core.String serial,
core.String product,
+ core.String serial,
core.String model,
- core.String manufacturer,
- core.String device,
core.String offerId,
+ core.String device,
+ core.String manufacturer,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -2882,23 +2882,23 @@
if (androidId != null) {
_queryParams["androidId"] = [androidId];
}
- if (serial != null) {
- _queryParams["serial"] = [serial];
- }
if (product != null) {
_queryParams["product"] = [product];
}
+ if (serial != null) {
+ _queryParams["serial"] = [serial];
+ }
if (model != null) {
_queryParams["model"] = [model];
}
- if (manufacturer != null) {
- _queryParams["manufacturer"] = [manufacturer];
+ if (offerId != null) {
+ _queryParams["offerId"] = [offerId];
}
if (device != null) {
_queryParams["device"] = [device];
}
- if (offerId != null) {
- _queryParams["offerId"] = [offerId];
+ if (manufacturer != null) {
+ _queryParams["manufacturer"] = [manufacturer];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -2921,16 +2921,16 @@
///
/// [serial] - device serial
///
+ /// [androidId] - device android_id
+ ///
+ /// [manufacturer] - device manufacturer
+ ///
/// [model] - device model
///
/// [device] - device device
///
- /// [manufacturer] - device manufacturer
- ///
/// [product] - device product
///
- /// [androidId] - device android_id
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -2943,11 +2943,11 @@
/// this method will complete with the same error.
async.Future<Offers> get(
{core.String serial,
+ core.String androidId,
+ core.String manufacturer,
core.String model,
core.String device,
- core.String manufacturer,
core.String product,
- core.String androidId,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -2959,21 +2959,21 @@
if (serial != null) {
_queryParams["serial"] = [serial];
}
+ if (androidId != null) {
+ _queryParams["androidId"] = [androidId];
+ }
+ if (manufacturer != null) {
+ _queryParams["manufacturer"] = [manufacturer];
+ }
if (model != null) {
_queryParams["model"] = [model];
}
if (device != null) {
_queryParams["device"] = [device];
}
- if (manufacturer != null) {
- _queryParams["manufacturer"] = [manufacturer];
- }
if (product != null) {
_queryParams["product"] = [product];
}
- if (androidId != null) {
- _queryParams["androidId"] = [androidId];
- }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -3052,13 +3052,13 @@
///
/// Request parameters:
///
+ /// [pageSize] - Number of maximum results per page to be included in the
+ /// response.
+ ///
/// [pageToken] - The value of the nextToken from the previous page.
///
/// [seriesId] - String that identifies the series
///
- /// [pageSize] - Number of maximum results per page to be included in the
- /// response.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -3070,9 +3070,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<Seriesmembership> get(
- {core.String pageToken,
+ {core.int pageSize,
+ core.String pageToken,
core.String seriesId,
- core.int pageSize,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -3081,15 +3081,15 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body;
+ if (pageSize != null) {
+ _queryParams["page_size"] = ["${pageSize}"];
+ }
if (pageToken != null) {
_queryParams["page_token"] = [pageToken];
}
if (seriesId != null) {
_queryParams["series_id"] = [seriesId];
}
- if (pageSize != null) {
- _queryParams["page_size"] = ["${pageSize}"];
- }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -3126,23 +3126,23 @@
///
/// [volumeId] - ID of volume to retrieve.
///
- /// [includeNonComicsSeries] - Set to true to include non-comics series.
- /// Defaults to false.
- ///
- /// [userLibraryConsistentRead] - null
- ///
- /// [partner] - Brand results for partner ID.
- ///
/// [country] - ISO-3166-1 code to override the IP-based location.
///
- /// [source] - string to identify the originator of this request.
- ///
/// [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
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -3154,12 +3154,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<Volume> get(core.String volumeId,
- {core.bool includeNonComicsSeries,
- core.bool userLibraryConsistentRead,
- core.String partner,
- core.String country,
- core.String source,
+ {core.String country,
core.String projection,
+ core.String partner,
+ core.bool includeNonComicsSeries,
+ core.String source,
+ core.bool userLibraryConsistentRead,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -3171,26 +3171,26 @@
if (volumeId == null) {
throw new core.ArgumentError("Parameter volumeId is required.");
}
+ if (country != null) {
+ _queryParams["country"] = [country];
+ }
+ if (projection != null) {
+ _queryParams["projection"] = [projection];
+ }
+ if (partner != null) {
+ _queryParams["partner"] = [partner];
+ }
if (includeNonComicsSeries != null) {
_queryParams["includeNonComicsSeries"] = ["${includeNonComicsSeries}"];
}
+ if (source != null) {
+ _queryParams["source"] = [source];
+ }
if (userLibraryConsistentRead != null) {
_queryParams["user_library_consistent_read"] = [
"${userLibraryConsistentRead}"
];
}
- if (partner != null) {
- _queryParams["partner"] = [partner];
- }
- if (country != null) {
- _queryParams["country"] = [country];
- }
- if (source != null) {
- _queryParams["source"] = [source];
- }
- if (projection != null) {
- _queryParams["projection"] = [projection];
- }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -3210,27 +3210,32 @@
///
/// Request parameters:
///
+ /// [partner] - Restrict and brand results for partner ID.
+ ///
/// [startIndex] - Index of the first result to return (starts at 0)
///
- /// [q] - Full-text search query string.
+ /// [libraryRestrict] - Restrict search to this user's library.
+ /// 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.
///
- /// [maxAllowedMaturityRating] - The maximum allowed maturity rating of
- /// returned recommendations. Books with a higher maturity rating are filtered
- /// out.
+ /// [source] - String to identify the originator of this request.
+ ///
+ /// [filter] - Filter search results.
/// Possible string values are:
- /// - "MAX_ALLOWED_MATURITY_RATING_UNDEFINED"
- /// - "MATURE" : Show books which are rated mature or lower.
- /// - "not-mature" : Show books which are rated not mature.
+ /// - "FILTER_UNDEFINED"
+ /// - "ebooks" : All Google eBooks.
+ /// - "free-ebooks" : Google eBook with full volume text viewability.
+ /// - "full" : Public can view entire volume text.
+ /// - "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.
- ///
- /// [partner] - Restrict and brand results for partner ID.
- ///
/// [projection] - Restrict information returned to a set of selected fields.
/// Possible string values are:
/// - "PROJECTION_UNDEFINED"
@@ -3244,33 +3249,28 @@
/// - "BOOKS" : Just books.
/// - "MAGAZINES" : Just magazines.
///
- /// [orderBy] - Sort search results.
+ /// [maxAllowedMaturityRating] - The maximum allowed maturity rating of
+ /// returned recommendations. Books with a higher maturity rating are filtered
+ /// out.
/// Possible string values are:
- /// - "ORDER_BY_UNDEFINED"
- /// - "newest" : Most recently published.
- /// - "relevance" : Relevance to search terms.
- ///
- /// [source] - String to identify the originator of this request.
- ///
- /// [libraryRestrict] - Restrict search to this user's library.
- /// 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.
+ /// - "MAX_ALLOWED_MATURITY_RATING_UNDEFINED"
+ /// - "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.
///
- /// [filter] - Filter search results.
+ /// [langRestrict] - Restrict results to books with this language code.
+ ///
+ /// [orderBy] - Sort search results.
/// Possible string values are:
- /// - "FILTER_UNDEFINED"
- /// - "ebooks" : All Google eBooks.
- /// - "free-ebooks" : Google eBook with full volume text viewability.
- /// - "full" : Public can view entire volume text.
- /// - "paid-ebooks" : Google eBook with a price.
- /// - "partial" : Public able to see parts of text.
+ /// - "ORDER_BY_UNDEFINED"
+ /// - "newest" : Most recently published.
+ /// - "relevance" : Relevance to search terms.
+ ///
+ /// [q] - Full-text search query string.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -3283,20 +3283,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.int startIndex,
- core.String q,
+ {core.String partner,
+ core.int startIndex,
+ core.String libraryRestrict,
core.int maxResults,
- core.String maxAllowedMaturityRating,
+ core.String source,
+ core.String filter,
core.bool showPreorders,
- core.String langRestrict,
- core.String partner,
core.String projection,
core.String printType,
- core.String orderBy,
- core.String source,
- core.String libraryRestrict,
+ core.String maxAllowedMaturityRating,
core.String download,
- core.String filter,
+ core.String langRestrict,
+ core.String orderBy,
+ core.String q,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -3305,47 +3305,47 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body;
+ if (partner != null) {
+ _queryParams["partner"] = [partner];
+ }
if (startIndex != null) {
_queryParams["startIndex"] = ["${startIndex}"];
}
- if (q != null) {
- _queryParams["q"] = [q];
+ if (libraryRestrict != null) {
+ _queryParams["libraryRestrict"] = [libraryRestrict];
}
if (maxResults != null) {
_queryParams["maxResults"] = ["${maxResults}"];
}
- if (maxAllowedMaturityRating != null) {
- _queryParams["maxAllowedMaturityRating"] = [maxAllowedMaturityRating];
+ if (source != null) {
+ _queryParams["source"] = [source];
+ }
+ if (filter != null) {
+ _queryParams["filter"] = [filter];
}
if (showPreorders != null) {
_queryParams["showPreorders"] = ["${showPreorders}"];
}
- if (langRestrict != null) {
- _queryParams["langRestrict"] = [langRestrict];
- }
- if (partner != null) {
- _queryParams["partner"] = [partner];
- }
if (projection != null) {
_queryParams["projection"] = [projection];
}
if (printType != null) {
_queryParams["printType"] = [printType];
}
- if (orderBy != null) {
- _queryParams["orderBy"] = [orderBy];
- }
- if (source != null) {
- _queryParams["source"] = [source];
- }
- if (libraryRestrict != null) {
- _queryParams["libraryRestrict"] = [libraryRestrict];
+ if (maxAllowedMaturityRating != null) {
+ _queryParams["maxAllowedMaturityRating"] = [maxAllowedMaturityRating];
}
if (download != null) {
_queryParams["download"] = [download];
}
- if (filter != null) {
- _queryParams["filter"] = [filter];
+ if (langRestrict != null) {
+ _queryParams["langRestrict"] = [langRestrict];
+ }
+ if (orderBy != null) {
+ _queryParams["orderBy"] = [orderBy];
+ }
+ if (q != null) {
+ _queryParams["q"] = [q];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -3375,6 +3375,11 @@
///
/// [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"
@@ -3390,11 +3395,6 @@
/// - "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.
- ///
- /// [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.
///
@@ -3406,10 +3406,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<Volumes> list(core.String volumeId,
- {core.String association,
- core.String maxAllowedMaturityRating,
- core.String source,
+ {core.String source,
core.String locale,
+ core.String association,
+ core.String maxAllowedMaturityRating,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -3421,18 +3421,18 @@
if (volumeId == null) {
throw new core.ArgumentError("Parameter volumeId is required.");
}
- if (association != null) {
- _queryParams["association"] = [association];
- }
- if (maxAllowedMaturityRating != null) {
- _queryParams["maxAllowedMaturityRating"] = [maxAllowedMaturityRating];
- }
if (source != null) {
_queryParams["source"] = [source];
}
if (locale != null) {
_queryParams["locale"] = [locale];
}
+ if (association != null) {
+ _queryParams["association"] = [association];
+ }
+ if (maxAllowedMaturityRating != null) {
+ _queryParams["maxAllowedMaturityRating"] = [maxAllowedMaturityRating];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -3460,22 +3460,22 @@
///
/// Request parameters:
///
- /// [startIndex] - Index of the first result to return (starts at 0)
- ///
- /// [country] - ISO-3166-1 code to override the IP-based location.
- ///
- /// [acquireMethod] - How the book was acquired
- ///
- /// [locale] - ISO-639-1 language and ISO-3166-1 country code. Ex:'en_US'.
- /// Used for generating recommendations.
+ /// [processingState] - The processing state of the user uploaded volumes to
+ /// be returned. Applicable only if the UPLOADED is specified in the
+ /// acquireMethod.
///
/// [maxResults] - Maximum number of results to return.
///
/// [source] - String to identify the originator of this request.
///
- /// [processingState] - The processing state of the user uploaded volumes to
- /// be returned. Applicable only if the UPLOADED is specified in the
- /// acquireMethod.
+ /// [locale] - ISO-639-1 language and ISO-3166-1 country code. Ex:'en_US'.
+ /// Used for generating recommendations.
+ ///
+ /// [acquireMethod] - How the book was acquired
+ ///
+ /// [country] - ISO-3166-1 code to override the IP-based location.
+ ///
+ /// [startIndex] - Index of the first result to return (starts at 0)
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -3488,13 +3488,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<Volumes> list(
- {core.int startIndex,
- core.String country,
- core.List<core.String> acquireMethod,
- core.String locale,
+ {core.List<core.String> processingState,
core.int maxResults,
core.String source,
- core.List<core.String> processingState,
+ core.String locale,
+ core.List<core.String> acquireMethod,
+ core.String country,
+ core.int startIndex,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -3503,17 +3503,8 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body;
- if (startIndex != null) {
- _queryParams["startIndex"] = ["${startIndex}"];
- }
- if (country != null) {
- _queryParams["country"] = [country];
- }
- if (acquireMethod != null) {
- _queryParams["acquireMethod"] = acquireMethod;
- }
- if (locale != null) {
- _queryParams["locale"] = [locale];
+ if (processingState != null) {
+ _queryParams["processingState"] = processingState;
}
if (maxResults != null) {
_queryParams["maxResults"] = ["${maxResults}"];
@@ -3521,8 +3512,17 @@
if (source != null) {
_queryParams["source"] = [source];
}
- if (processingState != null) {
- _queryParams["processingState"] = processingState;
+ if (locale != null) {
+ _queryParams["locale"] = [locale];
+ }
+ if (acquireMethod != null) {
+ _queryParams["acquireMethod"] = acquireMethod;
+ }
+ if (country != null) {
+ _queryParams["country"] = [country];
+ }
+ if (startIndex != null) {
+ _queryParams["startIndex"] = ["${startIndex}"];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -3550,6 +3550,8 @@
///
/// Request parameters:
///
+ /// [source] - String to identify the originator of this request.
+ ///
/// [maxAllowedMaturityRating] - The maximum allowed maturity rating of
/// returned recommendations. Books with a higher maturity rating are filtered
/// out.
@@ -3558,8 +3560,6 @@
/// - "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.
- ///
/// [locale] - ISO-639-1 language and ISO-3166-1 country code. Ex: 'en_US'.
/// Used for generating recommendations.
///
@@ -3574,8 +3574,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<Volumes> list(
- {core.String maxAllowedMaturityRating,
- core.String source,
+ {core.String source,
+ core.String maxAllowedMaturityRating,
core.String locale,
core.String $fields}) {
var _url;
@@ -3585,12 +3585,12 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body;
- if (maxAllowedMaturityRating != null) {
- _queryParams["maxAllowedMaturityRating"] = [maxAllowedMaturityRating];
- }
if (source != null) {
_queryParams["source"] = [source];
}
+ if (maxAllowedMaturityRating != null) {
+ _queryParams["maxAllowedMaturityRating"] = [maxAllowedMaturityRating];
+ }
if (locale != null) {
_queryParams["locale"] = [locale];
}
@@ -3613,10 +3613,7 @@
///
/// Request parameters:
///
- /// [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.
///
/// [rating] - Rating to be given to the volume.
/// Possible string values are:
@@ -3624,7 +3621,10 @@
/// - "HAVE_IT" : Rating indicating a dismissal due to ownership.
/// - "NOT_INTERESTED" : Rating indicating a negative dismissal of a volume.
///
- /// [volumeId] - ID of the source 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.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -3637,10 +3637,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 locale,
- core.String source,
+ {core.String volumeId,
core.String rating,
- core.String volumeId,
+ core.String locale,
+ core.String source,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -3649,18 +3649,18 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body;
+ if (volumeId != null) {
+ _queryParams["volumeId"] = [volumeId];
+ }
+ if (rating != null) {
+ _queryParams["rating"] = [rating];
+ }
if (locale != null) {
_queryParams["locale"] = [locale];
}
if (source != null) {
_queryParams["source"] = [source];
}
- if (rating != null) {
- _queryParams["rating"] = [rating];
- }
- if (volumeId != null) {
- _queryParams["volumeId"] = [volumeId];
- }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -3688,19 +3688,19 @@
///
/// Request parameters:
///
- /// [startIndex] - Index of the first result to return (starts at 0)
+ /// [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.
///
- /// [maxResults] - Maximum number of results to return.
- ///
- /// [processingState] - The processing state of the user uploaded volumes to
- /// be returned.
- ///
/// [volumeId] - The ids of the volumes to be returned. If not specified all
/// that match the processingState are returned.
///
+ /// [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.
///
/// [$fields] - Selector specifying which fields to include in a partial
@@ -3714,11 +3714,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<Volumes> list(
- {core.int startIndex,
+ {core.List<core.String> processingState,
core.String locale,
- core.int maxResults,
- core.List<core.String> processingState,
core.List<core.String> volumeId,
+ core.int startIndex,
+ core.int maxResults,
core.String source,
core.String $fields}) {
var _url;
@@ -3728,21 +3728,21 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body;
- if (startIndex != null) {
- _queryParams["startIndex"] = ["${startIndex}"];
+ if (processingState != null) {
+ _queryParams["processingState"] = processingState;
}
if (locale != null) {
_queryParams["locale"] = [locale];
}
- if (maxResults != null) {
- _queryParams["maxResults"] = ["${maxResults}"];
- }
- if (processingState != null) {
- _queryParams["processingState"] = processingState;
- }
if (volumeId != null) {
_queryParams["volumeId"] = volumeId;
}
+ if (startIndex != null) {
+ _queryParams["startIndex"] = ["${startIndex}"];
+ }
+ if (maxResults != null) {
+ _queryParams["maxResults"] = ["${maxResults}"];
+ }
if (source != null) {
_queryParams["source"] = [source];
}
diff --git a/generated/googleapis/lib/calendar/v3.dart b/generated/googleapis/lib/calendar/v3.dart
index be96427..67fc13a 100644
--- a/generated/googleapis/lib/calendar/v3.dart
+++ b/generated/googleapis/lib/calendar/v3.dart
@@ -232,6 +232,8 @@
/// calendarList.list method. If you want to access the primary calendar of
/// the currently logged in user, use the "primary" keyword.
///
+ /// [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.
@@ -243,16 +245,14 @@
/// Learn more about incremental synchronization.
/// Optional. The default is to return all entries.
///
- /// [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.
///
/// [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.
///
- /// [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.
///
@@ -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<Acl> list(core.String calendarId,
- {core.String syncToken,
- core.String pageToken,
- core.bool showDeleted,
+ {core.String pageToken,
+ core.String syncToken,
core.int maxResults,
+ core.bool showDeleted,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -279,18 +279,18 @@
if (calendarId == null) {
throw new core.ArgumentError("Parameter calendarId is required.");
}
- if (syncToken != null) {
- _queryParams["syncToken"] = [syncToken];
- }
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 (showDeleted != null) {
+ _queryParams["showDeleted"] = ["${showDeleted}"];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -448,9 +448,11 @@
/// 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.
+ /// [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
@@ -463,11 +465,9 @@
/// Learn more about incremental synchronization.
/// Optional. The default is to return all entries.
///
- /// [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.
+ /// [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.
@@ -480,10 +480,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<Channel> watch(Channel request, core.String calendarId,
- {core.int maxResults,
- core.String syncToken,
+ {core.bool showDeleted,
core.String pageToken,
- core.bool showDeleted,
+ core.String syncToken,
+ core.int maxResults,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -498,17 +498,17 @@
if (calendarId == null) {
throw new core.ArgumentError("Parameter calendarId is required.");
}
- if (maxResults != null) {
- _queryParams["maxResults"] = ["${maxResults}"];
- }
- if (syncToken != null) {
- _queryParams["syncToken"] = [syncToken];
+ if (showDeleted != null) {
+ _queryParams["showDeleted"] = ["${showDeleted}"];
}
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];
@@ -686,6 +686,17 @@
/// [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:
+ /// - "freeBusyReader" : The user can read free/busy information.
+ /// - "owner" : The user can read and modify events and access control lists.
+ /// - "reader" : The user can read events that are not private.
+ /// - "writer" : The user can read and modify events.
+ ///
/// [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
@@ -701,17 +712,6 @@
/// Learn more about incremental synchronization.
/// Optional. The default is to return all entries.
///
- /// [minAccessRole] - The minimum access role for the user in the returned
- /// entries. Optional. The default is no restriction.
- /// Possible string values are:
- /// - "freeBusyReader" : The user can read free/busy information.
- /// - "owner" : The user can read and modify events and access control lists.
- /// - "reader" : The user can read events that are not private.
- /// - "writer" : The user can read and modify events.
- ///
- /// [showHidden] - Whether to show hidden entries. Optional. The default is
- /// False.
- ///
/// [pageToken] - Token specifying which result page to return. Optional.
///
/// [$fields] - Selector specifying which fields to include in a partial
@@ -727,9 +727,9 @@
async.Future<CalendarList> list(
{core.int maxResults,
core.bool showDeleted,
- core.String syncToken,
- core.String minAccessRole,
core.bool showHidden,
+ core.String minAccessRole,
+ core.String syncToken,
core.String pageToken,
core.String $fields}) {
var _url;
@@ -745,14 +745,14 @@
if (showDeleted != null) {
_queryParams["showDeleted"] = ["${showDeleted}"];
}
- if (syncToken != null) {
- _queryParams["syncToken"] = [syncToken];
+ if (showHidden != null) {
+ _queryParams["showHidden"] = ["${showHidden}"];
}
if (minAccessRole != null) {
_queryParams["minAccessRole"] = [minAccessRole];
}
- if (showHidden != null) {
- _queryParams["showHidden"] = ["${showHidden}"];
+ if (syncToken != null) {
+ _queryParams["syncToken"] = [syncToken];
}
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
@@ -899,6 +899,19 @@
///
/// Request parameters:
///
+ /// [pageToken] - Token specifying which result page to return. Optional.
+ ///
+ /// [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:
+ /// - "freeBusyReader" : The user can read free/busy information.
+ /// - "owner" : The user can read and modify events and access control lists.
+ /// - "reader" : The user can read events that are not private.
+ /// - "writer" : The user can read and modify events.
+ ///
/// [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
@@ -914,25 +927,12 @@
/// 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.
- ///
- /// [showHidden] - Whether to show hidden entries. Optional. The default is
- /// False.
- ///
/// [showDeleted] - Whether to include deleted calendar list entries in the
/// result. 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:
- /// - "freeBusyReader" : The user can read free/busy information.
- /// - "owner" : The user can read and modify events and access control lists.
- /// - "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.
+ /// [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.
@@ -945,12 +945,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<Channel> watch(Channel request,
- {core.String syncToken,
- core.int maxResults,
+ {core.String pageToken,
core.bool showHidden,
- core.bool showDeleted,
core.String minAccessRole,
- core.String pageToken,
+ core.String syncToken,
+ core.bool showDeleted,
+ core.int maxResults,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -962,23 +962,23 @@
if (request != null) {
_body = convert.json.encode((request).toJson());
}
- if (syncToken != null) {
- _queryParams["syncToken"] = [syncToken];
- }
- if (maxResults != null) {
- _queryParams["maxResults"] = ["${maxResults}"];
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
}
if (showHidden != null) {
_queryParams["showHidden"] = ["${showHidden}"];
}
- if (showDeleted != null) {
- _queryParams["showDeleted"] = ["${showDeleted}"];
- }
if (minAccessRole != null) {
_queryParams["minAccessRole"] = [minAccessRole];
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
+ if (syncToken != null) {
+ _queryParams["syncToken"] = [syncToken];
+ }
+ if (showDeleted != null) {
+ _queryParams["showDeleted"] = ["${showDeleted}"];
+ }
+ if (maxResults != null) {
+ _queryParams["maxResults"] = ["${maxResults}"];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -1462,11 +1462,6 @@
///
/// [eventId] - Event identifier.
///
- /// [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.
///
@@ -1474,6 +1469,11 @@
/// 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).
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1485,9 +1485,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<Event> get(core.String calendarId, core.String eventId,
- {core.bool alwaysIncludeEmail,
- core.String timeZone,
+ {core.String timeZone,
core.int maxAttendees,
+ core.bool alwaysIncludeEmail,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -1502,15 +1502,15 @@
if (eventId == null) {
throw new core.ArgumentError("Parameter eventId is required.");
}
- if (alwaysIncludeEmail != null) {
- _queryParams["alwaysIncludeEmail"] = ["${alwaysIncludeEmail}"];
- }
if (timeZone != null) {
_queryParams["timeZone"] = [timeZone];
}
if (maxAttendees != null) {
_queryParams["maxAttendees"] = ["${maxAttendees}"];
}
+ if (alwaysIncludeEmail != null) {
+ _queryParams["alwaysIncludeEmail"] = ["${alwaysIncludeEmail}"];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -1540,9 +1540,6 @@
/// calendarList.list method. If you want to access the primary calendar of
/// the currently logged in user, use the "primary" keyword.
///
- /// [supportsAttachments] - Whether API client performing operation supports
- /// event attachments. Optional. 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
@@ -1550,6 +1547,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.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1561,8 +1561,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<Event> import(Event request, core.String calendarId,
- {core.bool supportsAttachments,
- core.int conferenceDataVersion,
+ {core.int conferenceDataVersion,
+ core.bool supportsAttachments,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -1577,12 +1577,12 @@
if (calendarId == null) {
throw new core.ArgumentError("Parameter calendarId is required.");
}
- if (supportsAttachments != null) {
- _queryParams["supportsAttachments"] = ["${supportsAttachments}"];
- }
if (conferenceDataVersion != null) {
_queryParams["conferenceDataVersion"] = ["${conferenceDataVersion}"];
}
+ if (supportsAttachments != null) {
+ _queryParams["supportsAttachments"] = ["${supportsAttachments}"];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -1610,6 +1610,13 @@
/// calendarList.list method. If you want to access the primary calendar of
/// the currently logged in user, use the "primary" keyword.
///
+ /// [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
+ /// of ConferenceData as well as for creating new conferences using the
+ /// createRequest field of conferenceData. The default is 0.
+ /// Value must be between "0" and "1".
+ ///
/// [sendUpdates] - Whether to send notifications about the creation of the
/// new event. Note that some emails might still be sent. The default is
/// false.
@@ -1621,23 +1628,16 @@
/// 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.
///
- /// [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.
- ///
- /// [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
- /// of ConferenceData as well as for creating new conferences using the
- /// 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.
///
@@ -1652,10 +1652,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<Event> insert(Event request, core.String calendarId,
- {core.String sendUpdates,
- core.bool sendNotifications,
+ {core.int conferenceDataVersion,
+ core.String sendUpdates,
core.int maxAttendees,
- core.int conferenceDataVersion,
+ core.bool sendNotifications,
core.bool supportsAttachments,
core.String $fields}) {
var _url;
@@ -1671,17 +1671,17 @@
if (calendarId == null) {
throw new core.ArgumentError("Parameter calendarId is required.");
}
+ if (conferenceDataVersion != null) {
+ _queryParams["conferenceDataVersion"] = ["${conferenceDataVersion}"];
+ }
if (sendUpdates != null) {
_queryParams["sendUpdates"] = [sendUpdates];
}
- if (sendNotifications != null) {
- _queryParams["sendNotifications"] = ["${sendNotifications}"];
- }
if (maxAttendees != null) {
_queryParams["maxAttendees"] = ["${maxAttendees}"];
}
- if (conferenceDataVersion != null) {
- _queryParams["conferenceDataVersion"] = ["${conferenceDataVersion}"];
+ if (sendNotifications != null) {
+ _queryParams["sendNotifications"] = ["${sendNotifications}"];
}
if (supportsAttachments != null) {
_queryParams["supportsAttachments"] = ["${supportsAttachments}"];
@@ -1716,36 +1716,36 @@
/// Optional. The default is not to filter by end time. Must be an RFC3339
/// timestamp with mandatory time zone offset.
///
- /// [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.
- ///
- /// [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).
- ///
- /// [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.
+ /// [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.
///
+ /// [originalStart] - The original start time of the instance in the result.
+ /// Optional.
+ ///
/// [pageToken] - Token specifying which result page to return. 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.
+ /// [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.
///
/// [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.
///
@@ -1758,14 +1758,14 @@
/// this method will complete with the same error.
async.Future<Events> instances(core.String calendarId, core.String eventId,
{core.DateTime timeMin,
- core.DateTime timeMax,
- core.bool alwaysIncludeEmail,
- core.int maxResults,
- core.String originalStart,
- core.bool showDeleted,
- core.String pageToken,
core.int maxAttendees,
+ core.bool showDeleted,
+ core.String originalStart,
+ core.String pageToken,
+ core.DateTime timeMax,
core.String timeZone,
+ core.int maxResults,
+ core.bool alwaysIncludeEmail,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -1783,30 +1783,30 @@
if (timeMin != null) {
_queryParams["timeMin"] = [(timeMin).toIso8601String()];
}
- if (timeMax != null) {
- _queryParams["timeMax"] = [(timeMax).toIso8601String()];
- }
- if (alwaysIncludeEmail != null) {
- _queryParams["alwaysIncludeEmail"] = ["${alwaysIncludeEmail}"];
- }
- if (maxResults != null) {
- _queryParams["maxResults"] = ["${maxResults}"];
- }
- if (originalStart != null) {
- _queryParams["originalStart"] = [originalStart];
+ if (maxAttendees != null) {
+ _queryParams["maxAttendees"] = ["${maxAttendees}"];
}
if (showDeleted != null) {
_queryParams["showDeleted"] = ["${showDeleted}"];
}
+ if (originalStart != null) {
+ _queryParams["originalStart"] = [originalStart];
+ }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
- if (maxAttendees != null) {
- _queryParams["maxAttendees"] = ["${maxAttendees}"];
+ if (timeMax != null) {
+ _queryParams["timeMax"] = [(timeMax).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];
}
@@ -1834,27 +1834,12 @@
/// calendarList.list method. If you want to access the primary calendar of
/// the currently logged in user, use the "primary" keyword.
///
- /// [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).
- ///
- /// [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.
- ///
- /// [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.
- ///
- /// [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.
+ /// [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.
///
/// [showDeleted] - Whether to include deleted events (with status equals
/// "cancelled") in the result. Cancelled instances of recurring events (but
@@ -1863,11 +1848,49 @@
/// 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.
+ ///
/// [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.
@@ -1890,30 +1913,15 @@
/// Learn more about incremental synchronization.
/// Optional. The default is to return all entries.
///
- /// [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.
+ /// [pageToken] - Token specifying which result page to return. Optional.
///
/// [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.
- ///
- /// [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.
+ /// [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.
///
/// [orderBy] - The order of the events returned in the result. Optional. The
/// default is an unspecified, stable order.
@@ -1923,17 +1931,9 @@
/// True)
/// - "updated" : Order by last modification time (ascending).
///
- /// [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.
- ///
- /// [pageToken] - Token specifying which result page to return. 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.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -1946,23 +1946,23 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<Events> list(core.String calendarId,
- {core.bool alwaysIncludeEmail,
- core.bool singleEvents,
- core.List<core.String> sharedExtendedProperty,
- core.String iCalUID,
- core.int maxAttendees,
+ {core.DateTime timeMax,
core.bool showDeleted,
- core.List<core.String> privateExtendedProperty,
- core.String syncToken,
- core.DateTime timeMin,
- core.String q,
- core.DateTime timeMax,
- core.String timeZone,
+ core.bool alwaysIncludeEmail,
core.DateTime updatedMin,
- core.String orderBy,
- core.int maxResults,
- core.String pageToken,
+ 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.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -1974,56 +1974,56 @@
if (calendarId == null) {
throw new core.ArgumentError("Parameter calendarId is required.");
}
- if (alwaysIncludeEmail != null) {
- _queryParams["alwaysIncludeEmail"] = ["${alwaysIncludeEmail}"];
- }
- if (singleEvents != null) {
- _queryParams["singleEvents"] = ["${singleEvents}"];
- }
- if (sharedExtendedProperty != null) {
- _queryParams["sharedExtendedProperty"] = sharedExtendedProperty;
- }
- if (iCalUID != null) {
- _queryParams["iCalUID"] = [iCalUID];
- }
- if (maxAttendees != null) {
- _queryParams["maxAttendees"] = ["${maxAttendees}"];
+ if (timeMax != null) {
+ _queryParams["timeMax"] = [(timeMax).toIso8601String()];
}
if (showDeleted != null) {
_queryParams["showDeleted"] = ["${showDeleted}"];
}
- if (privateExtendedProperty != null) {
- _queryParams["privateExtendedProperty"] = privateExtendedProperty;
- }
- if (syncToken != null) {
- _queryParams["syncToken"] = [syncToken];
- }
- if (timeMin != null) {
- _queryParams["timeMin"] = [(timeMin).toIso8601String()];
- }
- if (q != null) {
- _queryParams["q"] = [q];
- }
- if (timeMax != null) {
- _queryParams["timeMax"] = [(timeMax).toIso8601String()];
- }
- if (timeZone != null) {
- _queryParams["timeZone"] = [timeZone];
+ if (alwaysIncludeEmail != null) {
+ _queryParams["alwaysIncludeEmail"] = ["${alwaysIncludeEmail}"];
}
if (updatedMin != null) {
_queryParams["updatedMin"] = [(updatedMin).toIso8601String()];
}
- if (orderBy != null) {
- _queryParams["orderBy"] = [orderBy];
+ 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 (maxResults != null) {
_queryParams["maxResults"] = ["${maxResults}"];
}
+ if (syncToken != null) {
+ _queryParams["syncToken"] = [syncToken];
+ }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
- if (showHiddenInvitations != null) {
- _queryParams["showHiddenInvitations"] = ["${showHiddenInvitations}"];
+ if (q != null) {
+ _queryParams["q"] = [q];
+ }
+ if (singleEvents != null) {
+ _queryParams["singleEvents"] = ["${singleEvents}"];
+ }
+ if (orderBy != null) {
+ _queryParams["orderBy"] = [orderBy];
+ }
+ if (maxAttendees != null) {
+ _queryParams["maxAttendees"] = ["${maxAttendees}"];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -2138,15 +2138,6 @@
///
/// [eventId] - Event identifier.
///
- /// [supportsAttachments] - Whether API client performing operation supports
- /// event attachments. Optional. The default is False.
- ///
- /// [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:
@@ -2157,9 +2148,16 @@
/// 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.
+ /// [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
@@ -2168,10 +2166,12 @@
/// createRequest field of conferenceData. The default is 0.
/// Value must be between "0" and "1".
///
- /// [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.
+ ///
+ /// [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.
@@ -2185,12 +2185,12 @@
/// this method will complete with the same error.
async.Future<Event> patch(
Event request, core.String calendarId, core.String eventId,
- {core.bool supportsAttachments,
- core.bool sendNotifications,
- core.String sendUpdates,
- core.int maxAttendees,
- core.int conferenceDataVersion,
+ {core.String sendUpdates,
core.bool alwaysIncludeEmail,
+ core.bool sendNotifications,
+ core.int conferenceDataVersion,
+ core.int maxAttendees,
+ core.bool supportsAttachments,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -2208,23 +2208,23 @@
if (eventId == null) {
throw new core.ArgumentError("Parameter eventId is required.");
}
- if (supportsAttachments != null) {
- _queryParams["supportsAttachments"] = ["${supportsAttachments}"];
+ if (sendUpdates != null) {
+ _queryParams["sendUpdates"] = [sendUpdates];
+ }
+ if (alwaysIncludeEmail != null) {
+ _queryParams["alwaysIncludeEmail"] = ["${alwaysIncludeEmail}"];
}
if (sendNotifications != null) {
_queryParams["sendNotifications"] = ["${sendNotifications}"];
}
- if (sendUpdates != null) {
- _queryParams["sendUpdates"] = [sendUpdates];
+ if (conferenceDataVersion != null) {
+ _queryParams["conferenceDataVersion"] = ["${conferenceDataVersion}"];
}
if (maxAttendees != null) {
_queryParams["maxAttendees"] = ["${maxAttendees}"];
}
- if (conferenceDataVersion != null) {
- _queryParams["conferenceDataVersion"] = ["${conferenceDataVersion}"];
- }
- if (alwaysIncludeEmail != null) {
- _queryParams["alwaysIncludeEmail"] = ["${alwaysIncludeEmail}"];
+ if (supportsAttachments != null) {
+ _queryParams["supportsAttachments"] = ["${supportsAttachments}"];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -2333,6 +2333,11 @@
///
/// [eventId] - Event identifier.
///
+ /// [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).
+ ///
/// [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
@@ -2340,12 +2345,19 @@
/// 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.
+ ///
/// [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.
///
+ /// [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:
@@ -2356,18 +2368,6 @@
/// 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.
- ///
- /// [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.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -2380,12 +2380,12 @@
/// this method will complete with the same error.
async.Future<Event> update(
Event request, core.String calendarId, core.String eventId,
- {core.int conferenceDataVersion,
- core.bool sendNotifications,
- core.String sendUpdates,
+ {core.bool alwaysIncludeEmail,
+ core.int conferenceDataVersion,
core.bool supportsAttachments,
- core.bool alwaysIncludeEmail,
+ core.bool sendNotifications,
core.int maxAttendees,
+ core.String sendUpdates,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -2403,24 +2403,24 @@
if (eventId == null) {
throw new core.ArgumentError("Parameter eventId is required.");
}
+ if (alwaysIncludeEmail != null) {
+ _queryParams["alwaysIncludeEmail"] = ["${alwaysIncludeEmail}"];
+ }
if (conferenceDataVersion != null) {
_queryParams["conferenceDataVersion"] = ["${conferenceDataVersion}"];
}
- if (sendNotifications != null) {
- _queryParams["sendNotifications"] = ["${sendNotifications}"];
- }
- if (sendUpdates != null) {
- _queryParams["sendUpdates"] = [sendUpdates];
- }
if (supportsAttachments != null) {
_queryParams["supportsAttachments"] = ["${supportsAttachments}"];
}
- if (alwaysIncludeEmail != null) {
- _queryParams["alwaysIncludeEmail"] = ["${alwaysIncludeEmail}"];
+ if (sendNotifications != null) {
+ _queryParams["sendNotifications"] = ["${sendNotifications}"];
}
if (maxAttendees != null) {
_queryParams["maxAttendees"] = ["${maxAttendees}"];
}
+ if (sendUpdates != null) {
+ _queryParams["sendUpdates"] = [sendUpdates];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -2449,21 +2449,36 @@
/// 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 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.
+ /// [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.
///
- /// [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.
+ /// [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.
+ ///
+ /// [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.
@@ -2473,26 +2488,6 @@
/// True)
/// - "updated" : Order by last modification time (ascending).
///
- /// [iCalUID] - Specifies event ID in the iCalendar format to be included in
- /// the response. Optional.
- ///
- /// [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.
- ///
- /// [pageToken] - Token specifying which result page to return. 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.
- ///
- /// [showHiddenInvitations] - Whether to include hidden invitations in the
- /// result. 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.
@@ -2515,16 +2510,38 @@
/// Learn more about incremental synchronization.
/// Optional. The default is to return all entries.
///
- /// [q] - Free text search terms to find events that match these terms in any
- /// field, except for extended properties. 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.
///
- /// [timeZone] - Time zone used in the response. Optional. The default is the
- /// time zone of the calendar.
+ /// [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.
///
/// [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
@@ -2533,23 +2550,6 @@
/// provided but are ignored. If timeMax is set, timeMin must be smaller than
/// timeMax.
///
- /// [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).
- ///
- /// [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.
- ///
- /// [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.
///
@@ -2561,23 +2561,23 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<Channel> watch(Channel request, core.String calendarId,
- {core.int maxResults,
- core.List<core.String> sharedExtendedProperty,
- core.int maxAttendees,
- core.String orderBy,
- core.String iCalUID,
- core.bool showDeleted,
- core.String pageToken,
- core.bool singleEvents,
- core.bool showHiddenInvitations,
- core.String syncToken,
- core.String q,
- core.List<core.String> privateExtendedProperty,
- core.String timeZone,
- core.DateTime timeMin,
- core.bool alwaysIncludeEmail,
+ {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.bool singleEvents,
+ core.DateTime timeMin,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -2592,57 +2592,57 @@
if (calendarId == null) {
throw new core.ArgumentError("Parameter calendarId is required.");
}
- if (maxResults != null) {
- _queryParams["maxResults"] = ["${maxResults}"];
- }
- if (sharedExtendedProperty != null) {
- _queryParams["sharedExtendedProperty"] = sharedExtendedProperty;
- }
- if (maxAttendees != null) {
- _queryParams["maxAttendees"] = ["${maxAttendees}"];
- }
- if (orderBy != null) {
- _queryParams["orderBy"] = [orderBy];
- }
- if (iCalUID != null) {
- _queryParams["iCalUID"] = [iCalUID];
- }
- if (showDeleted != null) {
- _queryParams["showDeleted"] = ["${showDeleted}"];
- }
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
- if (singleEvents != null) {
- _queryParams["singleEvents"] = ["${singleEvents}"];
- }
- if (showHiddenInvitations != null) {
- _queryParams["showHiddenInvitations"] = ["${showHiddenInvitations}"];
- }
- if (syncToken != null) {
- _queryParams["syncToken"] = [syncToken];
- }
if (q != null) {
_queryParams["q"] = [q];
}
- if (privateExtendedProperty != null) {
- _queryParams["privateExtendedProperty"] = privateExtendedProperty;
- }
- if (timeZone != null) {
- _queryParams["timeZone"] = [timeZone];
- }
- if (timeMin != null) {
- _queryParams["timeMin"] = [(timeMin).toIso8601String()];
- }
- if (alwaysIncludeEmail != null) {
- _queryParams["alwaysIncludeEmail"] = ["${alwaysIncludeEmail}"];
- }
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 (maxResults != null) {
+ _queryParams["maxResults"] = ["${maxResults}"];
+ }
+ if (maxAttendees != null) {
+ _queryParams["maxAttendees"] = ["${maxAttendees}"];
+ }
+ if (singleEvents != null) {
+ _queryParams["singleEvents"] = ["${singleEvents}"];
+ }
+ if (timeMin != null) {
+ _queryParams["timeMin"] = [(timeMin).toIso8601String()];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -2761,6 +2761,8 @@
///
/// 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.
@@ -2774,8 +2776,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.
///
@@ -2787,9 +2787,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<Settings> list(
- {core.int maxResults,
+ {core.String pageToken,
+ core.int maxResults,
core.String syncToken,
- core.String pageToken,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -2798,15 +2798,15 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body;
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
if (maxResults != null) {
_queryParams["maxResults"] = ["${maxResults}"];
}
if (syncToken != null) {
_queryParams["syncToken"] = [syncToken];
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -2828,9 +2828,7 @@
///
/// 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
/// last page of results from the previous list request. It makes the result
@@ -2841,7 +2839,9 @@
/// Learn more about incremental synchronization.
/// Optional. The default is to return all entries.
///
- /// [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.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -2854,9 +2854,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<Channel> watch(Channel request,
- {core.int maxResults,
+ {core.String pageToken,
core.String syncToken,
- core.String pageToken,
+ core.int maxResults,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -2868,14 +2868,14 @@
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 (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
+ 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 c9818ec..e4722ad 100644
--- a/generated/googleapis/lib/chat/v1.dart
+++ b/generated/googleapis/lib/chat/v1.dart
@@ -165,13 +165,13 @@
///
/// Request parameters:
///
- /// [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.
///
@@ -183,7 +183,7 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<ListSpacesResponse> list(
- {core.String pageToken, core.int pageSize, core.String $fields}) {
+ {core.int pageSize, core.String pageToken, core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -191,12 +191,12 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _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];
}
@@ -272,13 +272,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.
///
@@ -290,7 +290,7 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<ListMembershipsResponse> list(core.String parent,
- {core.int pageSize, core.String pageToken, core.String $fields}) {
+ {core.String pageToken, core.int pageSize, core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -301,12 +301,12 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
diff --git a/generated/googleapis/lib/civicinfo/v2.dart b/generated/googleapis/lib/civicinfo/v2.dart
index 5abee6a..153dafe 100644
--- a/generated/googleapis/lib/civicinfo/v2.dart
+++ b/generated/googleapis/lib/civicinfo/v2.dart
@@ -134,13 +134,6 @@
///
/// [address] - The registered address of the voter to look up.
///
- /// [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
- /// ID is specified in the query and there is more than one election with data
- /// for the given voter, the additional elections are provided in the
- /// otherElections response field.
- ///
/// [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
@@ -149,6 +142,13 @@
/// [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
+ /// ID is specified in the query and there is more than one election with data
+ /// for the given voter, the additional elections are provided in the
+ /// otherElections response field.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -160,9 +160,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<VoterInfoResponse> voterInfoQuery(core.String address,
- {core.String electionId,
- core.bool returnAllAvailableData,
+ {core.bool returnAllAvailableData,
core.bool officialOnly,
+ core.String electionId,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -175,15 +175,15 @@
throw new core.ArgumentError("Parameter address is required.");
}
_queryParams["address"] = [address];
- if (electionId != null) {
- _queryParams["electionId"] = [electionId];
- }
if (returnAllAvailableData != null) {
_queryParams["returnAllAvailableData"] = ["${returnAllAvailableData}"];
}
if (officialOnly != null) {
_queryParams["officialOnly"] = ["${officialOnly}"];
}
+ if (electionId != null) {
+ _queryParams["electionId"] = [electionId];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -210,20 +210,20 @@
///
/// Request parameters:
///
- /// [address] - The address to look up. May only be specified if the field
- /// ocdId is not given in the URL
- ///
- /// [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.
///
/// [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.
@@ -236,10 +236,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.String address,
- core.List<core.String> roles,
+ {core.List<core.String> levels,
core.bool includeOffices,
- core.List<core.String> levels,
+ core.List<core.String> roles,
+ core.String address,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -248,17 +248,17 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body;
- if (address != null) {
- _queryParams["address"] = [address];
- }
- if (roles != null) {
- _queryParams["roles"] = roles;
+ if (levels != null) {
+ _queryParams["levels"] = levels;
}
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];
@@ -283,6 +283,10 @@
/// [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.
+ ///
/// [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
@@ -292,10 +296,6 @@
/// 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.
///
@@ -308,9 +308,9 @@
/// this method will complete with the same error.
async.Future<RepresentativeInfoData> representativeInfoByDivision(
core.String ocdId,
- {core.bool recursive,
+ {core.List<core.String> roles,
+ core.bool recursive,
core.List<core.String> levels,
- core.List<core.String> roles,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -322,15 +322,15 @@
if (ocdId == null) {
throw new core.ArgumentError("Parameter ocdId is required.");
}
+ if (roles != null) {
+ _queryParams["roles"] = roles;
+ }
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 7b7c744..b54f1c5 100644
--- a/generated/googleapis/lib/classroom/v1.dart
+++ b/generated/googleapis/lib/classroom/v1.dart
@@ -296,29 +296,29 @@
///
/// Request parameters:
///
- /// [teacherId] - Restricts returned courses to those having a teacher 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
- ///
- /// [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.
///
- /// [courseStates] - Restricts returned courses to those in one of the
- /// specified states The default value is ACTIVE, ARCHIVED, PROVISIONED,
- /// DECLINED.
- ///
/// [studentId] - Restricts returned courses to those having a 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
///
+ /// [teacherId] - Restricts returned courses to those having a teacher 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
+ ///
+ /// [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.
///
@@ -330,11 +330,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.String teacherId,
- core.int pageSize,
- core.String pageToken,
- core.List<core.String> courseStates,
+ {core.String pageToken,
core.String studentId,
+ core.String teacherId,
+ core.List<core.String> courseStates,
+ core.int pageSize,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -343,20 +343,20 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body;
- if (teacherId != null) {
- _queryParams["teacherId"] = [teacherId];
- }
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (studentId != null) {
+ _queryParams["studentId"] = [studentId];
+ }
+ if (teacherId != null) {
+ _queryParams["teacherId"] = [teacherId];
+ }
if (courseStates != null) {
_queryParams["courseStates"] = courseStates;
}
- if (studentId != null) {
- _queryParams["studentId"] = [studentId];
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -871,6 +871,12 @@
/// [courseId] - Identifier of the course. This identifier can be either the
/// Classroom-assigned identifier or an alias.
///
+ /// [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
@@ -884,12 +890,6 @@
/// 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`
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -901,10 +901,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<ListAnnouncementsResponse> list(core.String courseId,
- {core.String pageToken,
+ {core.String orderBy,
+ core.String pageToken,
core.int pageSize,
core.List<core.String> announcementStates,
- core.String orderBy,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -916,6 +916,9 @@
if (courseId == null) {
throw new core.ArgumentError("Parameter courseId is required.");
}
+ if (orderBy != null) {
+ _queryParams["orderBy"] = [orderBy];
+ }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
@@ -925,9 +928,6 @@
if (announcementStates != null) {
_queryParams["announcementStates"] = announcementStates;
}
- if (orderBy != null) {
- _queryParams["orderBy"] = [orderBy];
- }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -1291,14 +1291,6 @@
/// [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.
- ///
- /// [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 fields are
/// `updateTime` and `dueDate`. Supported direction keywords are `asc` and
@@ -1310,6 +1302,14 @@
/// 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.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1321,10 +1321,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<ListCourseWorkResponse> list(core.String courseId,
- {core.List<core.String> courseWorkStates,
- core.int pageSize,
- core.String orderBy,
+ {core.String orderBy,
core.String pageToken,
+ core.int pageSize,
+ core.List<core.String> courseWorkStates,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -1336,18 +1336,18 @@
if (courseId == null) {
throw new core.ArgumentError("Parameter courseId is required.");
}
- if (courseWorkStates != null) {
- _queryParams["courseWorkStates"] = courseWorkStates;
- }
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
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 ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -1604,8 +1604,9 @@
/// set to the string literal `"-"` to request student work for all course
/// work in the specified course.
///
- /// [states] - Requested submission states. If specified, returned student
- /// submissions match one of the specified submission states.
+ /// [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
@@ -1613,9 +1614,8 @@
/// address of the user * the string literal `"me"`, indicating the requesting
/// user
///
- /// [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.
+ /// [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,
@@ -1643,9 +1643,9 @@
/// this method will complete with the same error.
async.Future<ListStudentSubmissionsResponse> list(
core.String courseId, core.String courseWorkId,
- {core.List<core.String> states,
+ {core.int pageSize,
core.String userId,
- core.int pageSize,
+ core.List<core.String> states,
core.String late,
core.String pageToken,
core.String $fields}) {
@@ -1662,14 +1662,14 @@
if (courseWorkId == null) {
throw new core.ArgumentError("Parameter courseWorkId is required.");
}
- if (states != null) {
- _queryParams["states"] = states;
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
}
if (userId != null) {
_queryParams["userId"] = [userId];
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
+ if (states != null) {
+ _queryParams["states"] = states;
}
if (late != null) {
_queryParams["late"] = [late];
@@ -2290,17 +2290,17 @@
/// [courseId] - Identifier of the course. This identifier can be either the
/// Classroom-assigned identifier or an alias.
///
- /// [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.
+ /// [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.
///
- /// [materialDriveId] - Optional filtering for course work material with at
- /// least one Drive material whose ID matches the provided string. If
- /// `material_link` is also specified, course work material must have
- /// materials matching both filters.
+ /// [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
@@ -2308,14 +2308,14 @@
/// 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.
+ /// [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.
///
- /// [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.
+ /// [materialDriveId] - Optional filtering for course work material with at
+ /// least one Drive material whose ID matches the provided string. If
+ /// `material_link` is also specified, course work material must have
+ /// materials matching both filters.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -2328,12 +2328,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<ListCourseWorkMaterialResponse> list(core.String courseId,
- {core.List<core.String> courseWorkMaterialStates,
+ {core.String pageToken,
core.String materialLink,
- core.String materialDriveId,
- core.String orderBy,
- core.String pageToken,
core.int pageSize,
+ core.String orderBy,
+ core.List<core.String> courseWorkMaterialStates,
+ core.String materialDriveId,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -2345,23 +2345,23 @@
if (courseId == null) {
throw new core.ArgumentError("Parameter courseId is required.");
}
- if (courseWorkMaterialStates != null) {
- _queryParams["courseWorkMaterialStates"] = courseWorkMaterialStates;
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
}
if (materialLink != null) {
_queryParams["materialLink"] = [materialLink];
}
- if (materialDriveId != null) {
- _queryParams["materialDriveId"] = [materialDriveId];
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
}
if (orderBy != null) {
_queryParams["orderBy"] = [orderBy];
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
+ if (courseWorkMaterialStates != null) {
+ _queryParams["courseWorkMaterialStates"] = courseWorkMaterialStates;
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
+ if (materialDriveId != null) {
+ _queryParams["materialDriveId"] = [materialDriveId];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -3876,21 +3876,21 @@
/// indicating that results should be returned for all students that the
/// requesting user is permitted to view guardian invitations.
///
- /// [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.
///
/// [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.
+ ///
/// [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.
///
@@ -3902,10 +3902,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<ListGuardianInvitationsResponse> list(core.String studentId,
- {core.List<core.String> states,
+ {core.int pageSize,
core.String invitedEmailAddress,
+ core.List<core.String> states,
core.String pageToken,
- core.int pageSize,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -3917,18 +3917,18 @@
if (studentId == null) {
throw new core.ArgumentError("Parameter studentId is required.");
}
- if (states != null) {
- _queryParams["states"] = states;
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
}
if (invitedEmailAddress != null) {
_queryParams["invitedEmailAddress"] = [invitedEmailAddress];
}
+ if (states != null) {
+ _queryParams["states"] = states;
+ }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -4186,14 +4186,14 @@
/// results should be returned for all students that the requesting user has
/// access to view.
///
- /// [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] - Filter results by the email address that the
/// original invitation was sent to, resulting in this guardian link. This
/// filter can only be used by domain administrators.
///
+ /// [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
@@ -4210,8 +4210,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<ListGuardiansResponse> list(core.String studentId,
- {core.int pageSize,
- core.String invitedEmailAddress,
+ {core.String invitedEmailAddress,
+ core.int pageSize,
core.String pageToken,
core.String $fields}) {
var _url;
@@ -4224,12 +4224,12 @@
if (studentId == null) {
throw new core.ArgumentError("Parameter studentId is required.");
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
if (invitedEmailAddress != null) {
_queryParams["invitedEmailAddress"] = [invitedEmailAddress];
}
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
diff --git a/generated/googleapis/lib/cloudasset/v1.dart b/generated/googleapis/lib/cloudasset/v1.dart
index 8e99b93..1531a02 100644
--- a/generated/googleapis/lib/cloudasset/v1.dart
+++ b/generated/googleapis/lib/cloudasset/v1.dart
@@ -357,6 +357,8 @@
/// "projects/12345").
/// Value must have pattern "^[^/]+/[^/]+$".
///
+ /// [readTimeWindow_startTime] - Start time of the time window (exclusive).
+ ///
/// [contentType] - Optional. The content type.
/// Possible string values are:
/// - "CONTENT_TYPE_UNSPECIFIED" : Unspecified content type.
@@ -366,6 +368,9 @@
/// - "ACCESS_POLICY" : The Cloud Access context manager Policy set on an
/// asset.
///
+ /// [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:
@@ -373,11 +378,6 @@
/// 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_endTime] - End time of the time window (inclusive). If not
- /// specified, the current timestamp is used instead.
- ///
- /// [readTimeWindow_startTime] - Start time of the time window (exclusive).
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -390,10 +390,10 @@
/// this method will complete with the same error.
async.Future<BatchGetAssetsHistoryResponse> batchGetAssetsHistory(
core.String parent,
- {core.String contentType,
- core.List<core.String> assetNames,
+ {core.String readTimeWindow_startTime,
+ core.String contentType,
core.String readTimeWindow_endTime,
- core.String readTimeWindow_startTime,
+ core.List<core.String> assetNames,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -405,17 +405,17 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
+ if (readTimeWindow_startTime != null) {
+ _queryParams["readTimeWindow.startTime"] = [readTimeWindow_startTime];
+ }
if (contentType != null) {
_queryParams["contentType"] = [contentType];
}
- if (assetNames != null) {
- _queryParams["assetNames"] = assetNames;
- }
if (readTimeWindow_endTime != null) {
_queryParams["readTimeWindow.endTime"] = [readTimeWindow_endTime];
}
- if (readTimeWindow_startTime != null) {
- _queryParams["readTimeWindow.startTime"] = [readTimeWindow_startTime];
+ if (assetNames != null) {
+ _queryParams["assetNames"] = assetNames;
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -517,6 +517,17 @@
/// organizations/{ORGANIZATION_NUMBER} (e.g., "organizations/123456")
/// Value must have pattern "^[^/]+/[^/]+$".
///
+ /// [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, 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 other
+ /// method parameters must be identical to those in the previous call.
+ ///
/// [query] - Optional. The query statement. See [how to construct a
/// query](https://cloud.google.com/asset-inventory/docs/searching-iam-policies#how_to_construct_a_query)
/// for more information. If not specified or empty, it will search all the
@@ -538,17 +549,6 @@
/// that are set on resources "instance1" or "instance2" and also specify user
/// "amy".
///
- /// [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, 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 other
- /// method parameters must be identical to those in the previous call.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -561,9 +561,9 @@
/// this method will complete with the same error.
async.Future<SearchAllIamPoliciesResponse> searchAllIamPolicies(
core.String scope,
- {core.String query,
- core.int pageSize,
+ {core.int pageSize,
core.String pageToken,
+ core.String query,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -575,15 +575,15 @@
if (scope == null) {
throw new core.ArgumentError("Parameter scope is required.");
}
- 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 ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -620,6 +620,19 @@
/// organizations/{ORGANIZATION_NUMBER} (e.g., "organizations/123456")
/// Value must have pattern "^[^/]+/[^/]+$".
///
+ /// [assetTypes] - Optional. A list of asset types that this request searches
+ /// for. If empty, it will search all the [searchable asset
+ /// types](https://cloud.google.com/asset-inventory/docs/supported-asset-types#searchable_asset_types).
+ ///
+ /// [orderBy] - Optional. A comma separated list of fields specifying the
+ /// sorting order of the results. The default order is ascending. Add " DESC"
+ /// after the field name to indicate descending order. Redundant space
+ /// characters are ignored. Example: "location DESC, name". Only string fields
+ /// in the response are sortable, including `name`, `displayName`,
+ /// `description`, `location`. All the other fields such as repeated fields
+ /// (e.g., `networkTags`), map fields (e.g., `labels`) and struct fields
+ /// (e.g., `additionalAttributes`) are not supported.
+ ///
/// [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
@@ -652,19 +665,6 @@
/// searchable fields and are also located in the "us-west1" region or the
/// "global" location.
///
- /// [orderBy] - Optional. A comma separated list of fields specifying the
- /// sorting order of the results. The default order is ascending. Add " DESC"
- /// after the field name to indicate descending order. Redundant space
- /// characters are ignored. Example: "location DESC, name". Only string fields
- /// in the response are sortable, including `name`, `displayName`,
- /// `description`, `location`. All the other fields such as repeated fields
- /// (e.g., `networkTags`), map fields (e.g., `labels`) and struct fields
- /// (e.g., `additionalAttributes`) are not supported.
- ///
- /// [assetTypes] - Optional. A list of asset types that this request searches
- /// for. If empty, it will search all the [searchable asset
- /// types](https://cloud.google.com/asset-inventory/docs/supported-asset-types#searchable_asset_types).
- ///
/// [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
@@ -682,10 +682,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<SearchAllResourcesResponse> searchAllResources(core.String scope,
- {core.String pageToken,
- core.String query,
+ {core.List<core.String> assetTypes,
core.String orderBy,
- core.List<core.String> assetTypes,
+ core.String pageToken,
+ core.String query,
core.int pageSize,
core.String $fields}) {
var _url;
@@ -698,18 +698,18 @@
if (scope == null) {
throw new core.ArgumentError("Parameter scope is required.");
}
+ if (assetTypes != null) {
+ _queryParams["assetTypes"] = assetTypes;
+ }
+ if (orderBy != null) {
+ _queryParams["orderBy"] = [orderBy];
+ }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
if (query != null) {
_queryParams["query"] = [query];
}
- if (orderBy != null) {
- _queryParams["orderBy"] = [orderBy];
- }
- if (assetTypes != null) {
- _queryParams["assetTypes"] = assetTypes;
- }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
diff --git a/generated/googleapis/lib/cloudbilling/v1.dart b/generated/googleapis/lib/cloudbilling/v1.dart
index 6c6c575..5ed984b 100644
--- a/generated/googleapis/lib/cloudbilling/v1.dart
+++ b/generated/googleapis/lib/cloudbilling/v1.dart
@@ -219,13 +219,6 @@
///
/// Request parameters:
///
- /// [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
- /// single provided reseller billing account. (e.g.
- /// "master_billing_account=billingAccounts/012345-678901-ABCDEF"). Boolean
- /// algebra and other fields are not currently supported.
- ///
/// [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
@@ -234,6 +227,13 @@
/// [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
+ /// single provided reseller billing account. (e.g.
+ /// "master_billing_account=billingAccounts/012345-678901-ABCDEF"). Boolean
+ /// algebra and other fields are not currently supported.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -245,9 +245,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 filter,
- core.String pageToken,
+ {core.String pageToken,
core.int pageSize,
+ core.String filter,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -256,15 +256,15 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body;
- if (filter != null) {
- _queryParams["filter"] = [filter];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
+ if (filter != null) {
+ _queryParams["filter"] = [filter];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -729,13 +729,6 @@
/// "services/DA34-426B-A397"
/// Value must have pattern "^services/[^/]+$".
///
- /// [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).
- ///
/// [currencyCode] - The ISO 4217 currency code for the pricing info in the
/// response proto. Will use the conversion rate as of start_time. Optional.
/// If not specified USD will be used.
@@ -744,6 +737,8 @@
/// 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
/// allowed. The time range has to be within a single calendar month in
@@ -751,7 +746,12 @@
/// specified, the latest pricing will be returned (up to 12 hours old at
/// most).
///
- /// [pageSize] - Requested page size. Defaults to 5000.
+ /// [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).
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -764,11 +764,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<ListSkusResponse> list(core.String parent,
- {core.String endTime,
- core.String currencyCode,
+ {core.String currencyCode,
core.String pageToken,
- core.String startTime,
core.int pageSize,
+ core.String startTime,
+ core.String endTime,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -780,20 +780,20 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (endTime != null) {
- _queryParams["endTime"] = [endTime];
- }
if (currencyCode != null) {
_queryParams["currencyCode"] = [currencyCode];
}
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
if (startTime != null) {
_queryParams["startTime"] = [startTime];
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
+ 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 71c2eaa..45b9ad2 100644
--- a/generated/googleapis/lib/cloudbuild/v1.dart
+++ b/generated/googleapis/lib/cloudbuild/v1.dart
@@ -343,15 +343,15 @@
///
/// [projectId] - Required. ID of the project.
///
- /// [pageSize] - Number of results to return in the list.
- ///
- /// [filter] - The raw filter text to constrain the results.
- ///
/// [parent] - The parent of the collection of `Builds`. Format:
/// `projects/{project}/locations/location`
///
+ /// [filter] - The raw filter text to constrain the results.
+ ///
/// [pageToken] - Token to provide to skip to a particular spot in the list.
///
+ /// [pageSize] - Number of results to return in the list.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -363,10 +363,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<ListBuildsResponse> list(core.String projectId,
- {core.int pageSize,
+ {core.String parent,
core.String filter,
- core.String parent,
core.String pageToken,
+ core.int pageSize,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -378,18 +378,18 @@
if (projectId == null) {
throw new core.ArgumentError("Parameter projectId is required.");
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
+ if (parent != null) {
+ _queryParams["parent"] = [parent];
}
if (filter != null) {
_queryParams["filter"] = [filter];
}
- if (parent != null) {
- _queryParams["parent"] = [parent];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -617,10 +617,10 @@
/// `projects/{project}/locations/{location}/builds/{build}`
/// Value must have pattern "^projects/[^/]+/locations/[^/]+/builds/[^/]+$".
///
- /// [projectId] - Required. ID of the project.
- ///
/// [id] - Required. ID of the build.
///
+ /// [projectId] - Required. ID of the project.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -632,7 +632,7 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<Build> get(core.String name,
- {core.String projectId, core.String id, core.String $fields}) {
+ {core.String id, core.String projectId, core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -643,12 +643,12 @@
if (name == null) {
throw new core.ArgumentError("Parameter name is required.");
}
- if (projectId != null) {
- _queryParams["projectId"] = [projectId];
- }
if (id != null) {
_queryParams["id"] = [id];
}
+ if (projectId != null) {
+ _queryParams["projectId"] = [projectId];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -673,13 +673,13 @@
/// `projects/{project}/locations/location`
/// Value must have pattern "^projects/[^/]+/locations/[^/]+$".
///
- /// [pageSize] - Number of results to return in the list.
+ /// [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.
///
- /// [projectId] - Required. ID of the project.
+ /// [filter] - The raw filter text to constrain the results.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -692,10 +692,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<ListBuildsResponse> list(core.String parent,
- {core.int pageSize,
- core.String filter,
+ {core.String projectId,
+ core.int pageSize,
core.String pageToken,
- core.String projectId,
+ core.String filter,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -707,17 +707,17 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
+ if (projectId != null) {
+ _queryParams["projectId"] = [projectId];
+ }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
- if (filter != null) {
- _queryParams["filter"] = [filter];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
- if (projectId != null) {
- _queryParams["projectId"] = [projectId];
+ if (filter != null) {
+ _queryParams["filter"] = [filter];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
diff --git a/generated/googleapis/lib/clouddebugger/v2.dart b/generated/googleapis/lib/clouddebugger/v2.dart
index ea729be..6144207 100644
--- a/generated/googleapis/lib/clouddebugger/v2.dart
+++ b/generated/googleapis/lib/clouddebugger/v2.dart
@@ -133,17 +133,17 @@
/// [agentId] - Identifies the agent. This is the ID returned in the
/// RegisterDebuggee response.
///
- /// [waitToken] - A token that, if specified, blocks the method call until the
- /// list of active breakpoints has changed, or a server-selected timeout has
- /// expired. The value should be set from the `next_wait_token` field in the
- /// last response. The initial value should be set to `"init"`.
- ///
/// [successOnTimeout] - If set to `true` (recommended), returns
/// `google.rpc.Code.OK` status and sets the `wait_expired` response field to
/// `true` when the server-selected timeout has expired. If set to `false`
/// (deprecated), returns `google.rpc.Code.ABORTED` status when the
/// server-selected timeout has expired.
///
+ /// [waitToken] - A token that, if specified, blocks the method call until the
+ /// list of active breakpoints has changed, or a server-selected timeout has
+ /// expired. The value should be set from the `next_wait_token` field in the
+ /// last response. The initial value should be set to `"init"`.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -156,8 +156,8 @@
/// this method will complete with the same error.
async.Future<ListActiveBreakpointsResponse> list(core.String debuggeeId,
{core.String agentId,
- core.String waitToken,
core.bool successOnTimeout,
+ core.String waitToken,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -172,12 +172,12 @@
if (agentId != null) {
_queryParams["agentId"] = [agentId];
}
- if (waitToken != null) {
- _queryParams["waitToken"] = [waitToken];
- }
if (successOnTimeout != null) {
_queryParams["successOnTimeout"] = ["${successOnTimeout}"];
}
+ if (waitToken != null) {
+ _queryParams["waitToken"] = [waitToken];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -285,15 +285,15 @@
///
/// Request parameters:
///
+ /// [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.
///
- /// [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.
///
@@ -305,9 +305,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<ListDebuggeesResponse> list(
- {core.String project,
+ {core.String clientVersion,
+ core.String project,
core.bool includeInactive,
- core.String clientVersion,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -316,15 +316,15 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body;
+ if (clientVersion != null) {
+ _queryParams["clientVersion"] = [clientVersion];
+ }
if (project != null) {
_queryParams["project"] = [project];
}
if (includeInactive != null) {
_queryParams["includeInactive"] = ["${includeInactive}"];
}
- if (clientVersion != null) {
- _queryParams["clientVersion"] = [clientVersion];
- }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -468,16 +468,15 @@
///
/// [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`.
///
- /// [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.
- ///
/// [action_value] - Only breakpoints with the specified action will pass the
/// filter.
/// Possible string values are:
@@ -487,15 +486,16 @@
/// - "LOG" : Log each breakpoint hit. The breakpoint remains active until
/// deleted or expired.
///
- /// [clientVersion] - Required. The client version making the call. Schema:
- /// `domain/type/version` (e.g., `google.com/intellij/v1`).
+ /// [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.
///
- /// [stripResults] - This field is deprecated. The following fields are always
- /// stripped out of the result: `stack_frames`, `evaluated_expressions` and
- /// `variable_table`.
+ /// [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.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -508,12 +508,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<ListBreakpointsResponse> list(core.String debuggeeId,
- {core.String waitToken,
- core.bool includeAllUsers,
+ {core.String clientVersion,
+ core.String waitToken,
core.String action_value,
- core.String clientVersion,
- core.bool includeInactive,
core.bool stripResults,
+ core.bool includeInactive,
+ core.bool includeAllUsers,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -525,23 +525,23 @@
if (debuggeeId == null) {
throw new core.ArgumentError("Parameter debuggeeId is required.");
}
+ if (clientVersion != null) {
+ _queryParams["clientVersion"] = [clientVersion];
+ }
if (waitToken != null) {
_queryParams["waitToken"] = [waitToken];
}
- if (includeAllUsers != null) {
- _queryParams["includeAllUsers"] = ["${includeAllUsers}"];
- }
if (action_value != null) {
_queryParams["action.value"] = [action_value];
}
- if (clientVersion != null) {
- _queryParams["clientVersion"] = [clientVersion];
+ if (stripResults != null) {
+ _queryParams["stripResults"] = ["${stripResults}"];
}
if (includeInactive != null) {
_queryParams["includeInactive"] = ["${includeInactive}"];
}
- if (stripResults != null) {
- _queryParams["stripResults"] = ["${stripResults}"];
+ if (includeAllUsers != null) {
+ _queryParams["includeAllUsers"] = ["${includeAllUsers}"];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
diff --git a/generated/googleapis/lib/cloudfunctions/v1.dart b/generated/googleapis/lib/cloudfunctions/v1.dart
index 8f251a4..2c9d44d 100644
--- a/generated/googleapis/lib/cloudfunctions/v1.dart
+++ b/generated/googleapis/lib/cloudfunctions/v1.dart
@@ -188,12 +188,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.
///
@@ -205,9 +205,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<ListLocationsResponse> list(core.String name,
- {core.String filter,
- core.int pageSize,
+ {core.int pageSize,
core.String pageToken,
+ core.String filter,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -219,15 +219,15 @@
if (name == null) {
throw new 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];
}
@@ -652,12 +652,12 @@
/// locations along with the names of any unreachable locations.
/// Value must have pattern "^projects/[^/]+/locations/[^/]+$".
///
+ /// [pageSize] - Maximum number of functions to return per call.
+ ///
/// [pageToken] - The value returned by the last `ListFunctionsResponse`;
/// indicates that this is a continuation of a prior `ListFunctions` call, and
/// that the system should return the next page of data.
///
- /// [pageSize] - Maximum number of functions to return per call.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -669,7 +669,7 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<ListFunctionsResponse> list(core.String parent,
- {core.String pageToken, core.int pageSize, core.String $fields}) {
+ {core.int pageSize, core.String pageToken, core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -680,12 +680,12 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
diff --git a/generated/googleapis/lib/cloudidentity/v1.dart b/generated/googleapis/lib/cloudidentity/v1.dart
index aee9e77..07b58be 100644
--- a/generated/googleapis/lib/cloudidentity/v1.dart
+++ b/generated/googleapis/lib/cloudidentity/v1.dart
@@ -291,6 +291,33 @@
///
/// 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.
+ ///
+ /// [filter] - Optional. Additional restrictions when fetching list of
+ /// devices. [Help Center article
+ /// link](https://support.google.com/a/answer/7549103)
+ ///
+ /// [orderBy] - Optional. Order specification for devices in the response.
+ /// Only one of the following field names may be used to specify the order:
+ /// `create_time`, `last_sync_time`, `model`, `os_version`, `device_type` and
+ /// `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.
+ ///
+ /// [pageToken] - Optional. A page token, received from a previous
+ /// `ListDevices` call. Provide this to retrieve the subsequent page. When
+ /// paginating, all other parameters provided to `ListDevices` must match the
+ /// call that provided the page token.
+ ///
/// [view] - Optional. The view to use for the List request.
/// Possible string values are:
/// - "VIEW_UNSPECIFIED" : Default value. The value is unused.
@@ -302,33 +329,6 @@
/// one user registered on the device. Each device in the response contains
/// all device information, except for asset tags.
///
- /// [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
- /// paginating, all other parameters provided to `ListDevices` must match the
- /// call that provided the page token.
- ///
- /// [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.
- ///
- /// [orderBy] - Optional. Order specification for devices in the response.
- /// Only one of the following field names may be used to specify the order:
- /// `create_time`, `last_sync_time`, `model`, `os_version`, `device_type` and
- /// `serial_number`. `desc` may be specified optionally at the end to specify
- /// results to be sorted in descending order. Default order is ascending.
- ///
- /// [filter] - Optional. Additional restrictions when fetching list of
- /// devices. [Help Center article
- /// link](https://support.google.com/a/answer/7549103)
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -340,12 +340,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<GoogleAppsCloudidentityDevicesV1ListDevicesResponse> list(
- {core.String view,
- core.int pageSize,
- core.String pageToken,
- core.String customer,
- core.String orderBy,
+ {core.int pageSize,
core.String filter,
+ core.String orderBy,
+ core.String customer,
+ core.String pageToken,
+ core.String view,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -354,23 +354,23 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body;
- if (view != null) {
- _queryParams["view"] = [view];
- }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
- if (customer != null) {
- _queryParams["customer"] = [customer];
+ if (filter != null) {
+ _queryParams["filter"] = [filter];
}
if (orderBy != null) {
_queryParams["orderBy"] = [orderBy];
}
- if (filter != null) {
- _queryParams["filter"] = [filter];
+ if (customer != null) {
+ _queryParams["customer"] = [customer];
+ }
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
+ if (view != null) {
+ _queryParams["view"] = [view];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -753,6 +753,12 @@
/// 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
@@ -760,15 +766,9 @@
/// organization, use `customers/{customer_id}`, where customer_id is the
/// customer to whom the device belongs.
///
- /// [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.
- ///
/// [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.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -783,10 +783,10 @@
async.Future<GoogleAppsCloudidentityDevicesV1ListDeviceUsersResponse> list(
core.String parent,
{core.String pageToken,
- core.String customer,
core.int pageSize,
- core.String filter,
core.String orderBy,
+ core.String customer,
+ core.String filter,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -801,18 +801,18 @@
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
- if (customer != null) {
- _queryParams["customer"] = [customer];
- }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
- if (filter != null) {
- _queryParams["filter"] = [filter];
- }
if (orderBy != null) {
_queryParams["orderBy"] = [orderBy];
}
+ if (customer != null) {
+ _queryParams["customer"] = [customer];
+ }
+ if (filter != null) {
+ _queryParams["filter"] = [filter];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -866,13 +866,13 @@
/// 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.
///
- /// [androidId] - Android Id returned by
- /// [Settings.Secure#ANDROID_ID](https://developer.android.com/reference/android/provider/Settings.Secure.html#ANDROID_ID).
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -889,8 +889,8 @@
{core.String rawResourceId,
core.String userId,
core.String pageToken,
- core.int pageSize,
core.String androidId,
+ core.int pageSize,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -911,12 +911,12 @@
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
if (androidId != null) {
_queryParams["androidId"] = [androidId];
}
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -1076,12 +1076,8 @@
/// devices/{device}/deviceUsers/{deviceUser}
/// Value must have pattern "^devices/[^/]+/deviceUsers/[^/]+$".
///
- /// [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
- /// `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.
+ /// [orderBy] - Optional. Order specification for client states in the
+ /// response.
///
/// [filter] - Optional. Additional restrictions when fetching list of client
/// states.
@@ -1091,8 +1087,12 @@
/// When paginating, all other parameters provided to `ListClientStates` must
/// match the call that provided the page token.
///
- /// [orderBy] - Optional. Order specification for client states 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
+ /// `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.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -1107,10 +1107,10 @@
/// this method will complete with the same error.
async.Future<GoogleAppsCloudidentityDevicesV1ListClientStatesResponse> list(
core.String parent,
- {core.String customer,
+ {core.String orderBy,
core.String filter,
core.String pageToken,
- core.String orderBy,
+ core.String customer,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -1122,8 +1122,8 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (customer != null) {
- _queryParams["customer"] = [customer];
+ if (orderBy != null) {
+ _queryParams["orderBy"] = [orderBy];
}
if (filter != null) {
_queryParams["filter"] = [filter];
@@ -1131,8 +1131,8 @@
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
- if (orderBy != null) {
- _queryParams["orderBy"] = [orderBy];
+ if (customer != null) {
+ _queryParams["customer"] = [customer];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -1178,6 +1178,10 @@
/// 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
@@ -1185,10 +1189,6 @@
/// 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.
///
@@ -1201,7 +1201,7 @@
/// this method will complete with the same error.
async.Future<Operation> patch(
GoogleAppsCloudidentityDevicesV1ClientState request, core.String name,
- {core.String customer, core.String updateMask, core.String $fields}) {
+ {core.String updateMask, core.String customer, core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -1215,12 +1215,12 @@
if (name == null) {
throw new core.ArgumentError("Parameter name is required.");
}
- if (customer != null) {
- _queryParams["customer"] = [customer];
- }
if (updateMask != null) {
_queryParams["updateMask"] = [updateMask];
}
+ if (customer != null) {
+ _queryParams["customer"] = [customer];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -1399,9 +1399,6 @@
/// [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] - Group resource view to be returned. Defaults to [View.BASIC]().
/// Possible string values are:
/// - "VIEW_UNSPECIFIED" : Default. Should not be used.
@@ -1410,6 +1407,9 @@
///
/// [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.
///
@@ -1422,9 +1422,9 @@
/// this method will complete with the same error.
async.Future<ListGroupsResponse> list(
{core.int pageSize,
- core.String pageToken,
core.String view,
core.String parent,
+ core.String pageToken,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -1436,15 +1436,15 @@
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (view != null) {
_queryParams["view"] = [view];
}
if (parent != null) {
_queryParams["parent"] = [parent];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -1578,23 +1578,23 @@
///
/// Request parameters:
///
- /// [pageToken] - The next_page_token value returned from a previous search
- /// request, if any.
+ /// [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.
///
/// [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.
///
@@ -1606,10 +1606,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 pageToken,
+ {core.String view,
core.String query,
+ core.String pageToken,
core.int pageSize,
- core.String view,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -1618,18 +1618,18 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body;
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
+ if (view != null) {
+ _queryParams["view"] = [view];
}
if (query != null) {
_queryParams["query"] = [query];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
- if (view != null) {
- _queryParams["view"] = [view];
- }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -1812,15 +1812,15 @@
/// the unique ID assigned to the Group.
/// Value must have pattern "^groups/[^/]+$".
///
+ /// [pageSize] - The default page size is 200 (max 1000) for the BASIC view,
+ /// and 50 (max 500) for the FULL view.
+ ///
/// [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.
///
- /// [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.
///
@@ -1835,8 +1835,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<ListMembershipsResponse> list(core.String parent,
- {core.String view,
- core.int pageSize,
+ {core.int pageSize,
+ core.String view,
core.String pageToken,
core.String $fields}) {
var _url;
@@ -1849,12 +1849,12 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (view != null) {
- _queryParams["view"] = [view];
- }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
+ if (view != null) {
+ _queryParams["view"] = [view];
+ }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
diff --git a/generated/googleapis/lib/cloudiot/v1.dart b/generated/googleapis/lib/cloudiot/v1.dart
index 75029bd..a5ceec9 100644
--- a/generated/googleapis/lib/cloudiot/v1.dart
+++ b/generated/googleapis/lib/cloudiot/v1.dart
@@ -792,20 +792,6 @@
/// Value must have pattern
/// "^projects/[^/]+/locations/[^/]+/registries/[^/]+$".
///
- /// [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.
- ///
- /// [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.
- ///
/// [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
@@ -820,12 +806,23 @@
/// 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
/// `123` is specified, only devices bound to the gateway with `num_id` 123
/// are returned.
///
+ /// [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.
///
@@ -833,6 +830,9 @@
/// 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.
///
@@ -844,14 +844,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<ListDevicesResponse> list(core.String parent,
- {core.List<core.String> deviceIds,
- core.String gatewayListOptions_associationsDeviceId,
- core.int pageSize,
- core.String gatewayListOptions_gatewayType,
+ {core.String gatewayListOptions_gatewayType,
core.String fieldMask,
+ core.String gatewayListOptions_associationsDeviceId,
core.String gatewayListOptions_associationsGatewayId,
+ core.int pageSize,
core.List<core.String> deviceNumIds,
core.String pageToken,
+ core.List<core.String> deviceIds,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -863,17 +863,6 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (deviceIds != null) {
- _queryParams["deviceIds"] = deviceIds;
- }
- if (gatewayListOptions_associationsDeviceId != null) {
- _queryParams["gatewayListOptions.associationsDeviceId"] = [
- gatewayListOptions_associationsDeviceId
- ];
- }
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
if (gatewayListOptions_gatewayType != null) {
_queryParams["gatewayListOptions.gatewayType"] = [
gatewayListOptions_gatewayType
@@ -882,17 +871,28 @@
if (fieldMask != null) {
_queryParams["fieldMask"] = [fieldMask];
}
+ if (gatewayListOptions_associationsDeviceId != null) {
+ _queryParams["gatewayListOptions.associationsDeviceId"] = [
+ gatewayListOptions_associationsDeviceId
+ ];
+ }
if (gatewayListOptions_associationsGatewayId != null) {
_queryParams["gatewayListOptions.associationsGatewayId"] = [
gatewayListOptions_associationsGatewayId
];
}
+ 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];
}
@@ -1427,20 +1427,11 @@
/// Value must have pattern
/// "^projects/[^/]+/locations/[^/]+/registries/[^/]+/groups/[^/]+$".
///
- /// [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.
- ///
- /// [deviceIds] - A list of device string IDs. For example, `['device0',
- /// 'device12']`. 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.
- ///
- /// [deviceNumIds] - A list of device numeric IDs. If empty, this field is
- /// ignored. Maximum IDs: 10,000.
+ /// [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
+ /// `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
@@ -1452,22 +1443,31 @@
/// - "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
+ /// response indicates that more data is available.
+ ///
+ /// [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.
+ ///
/// [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_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
- /// `123` is specified, only devices bound to the gateway with `num_id` 123
- /// are returned.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1479,14 +1479,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<ListDevicesResponse> list(core.String parent,
- {core.int pageSize,
- core.List<core.String> deviceIds,
- core.String pageToken,
- core.List<core.String> deviceNumIds,
+ {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 gatewayListOptions_associationsGatewayId,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -1498,36 +1498,36 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
- if (deviceIds != null) {
- _queryParams["deviceIds"] = deviceIds;
- }
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
- if (deviceNumIds != null) {
- _queryParams["deviceNumIds"] = deviceNumIds;
+ if (gatewayListOptions_associationsGatewayId != null) {
+ _queryParams["gatewayListOptions.associationsGatewayId"] = [
+ gatewayListOptions_associationsGatewayId
+ ];
}
if (gatewayListOptions_gatewayType != null) {
_queryParams["gatewayListOptions.gatewayType"] = [
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 (gatewayListOptions_associationsGatewayId != null) {
- _queryParams["gatewayListOptions.associationsGatewayId"] = [
- gatewayListOptions_associationsGatewayId
- ];
- }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
diff --git a/generated/googleapis/lib/cloudkms/v1.dart b/generated/googleapis/lib/cloudkms/v1.dart
index 2cbbb26..6441806 100644
--- a/generated/googleapis/lib/cloudkms/v1.dart
+++ b/generated/googleapis/lib/cloudkms/v1.dart
@@ -106,12 +106,12 @@
/// [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.
///
/// [pageToken] - The standard list page token.
///
- /// [pageSize] - The standard list page size.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -123,9 +123,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<ListLocationsResponse> list(core.String name,
- {core.String filter,
+ {core.int pageSize,
+ core.String filter,
core.String pageToken,
- core.int pageSize,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -137,15 +137,15 @@
if (name == null) {
throw new 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 (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -344,8 +344,9 @@
/// 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
+ /// [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 KeyRings to include
@@ -353,14 +354,13 @@
/// 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.
///
- /// [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).
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -372,10 +372,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<ListKeyRingsResponse> list(core.String parent,
- {core.String filter,
+ {core.String orderBy,
core.int pageSize,
+ core.String filter,
core.String pageToken,
- core.String orderBy,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -387,18 +387,18 @@
if (parent == null) {
throw new 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];
}
- if (orderBy != null) {
- _queryParams["orderBy"] = [orderBy];
- }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -553,14 +553,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.
///
@@ -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<CryptoKey> create(CryptoKey request, core.String parent,
- {core.String cryptoKeyId,
- core.bool skipInitialVersionCreation,
+ {core.bool skipInitialVersionCreation,
+ core.String cryptoKeyId,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -588,14 +588,14 @@
if (parent == null) {
throw new 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];
}
@@ -836,10 +836,6 @@
/// format `projects / * /locations / * /keyRings / * `.
/// Value must have pattern "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+$".
///
- /// [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).
- ///
/// [versionView] - The fields of the primary version to include in the
/// response.
/// Possible string values are:
@@ -848,9 +844,11 @@
/// - "FULL" : Provides all fields in each CryptoKeyVersion, including the
/// attestation.
///
- /// [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
+ /// [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).
///
/// [pageSize] - Optional. Optional limit on the number of CryptoKeys to
@@ -858,8 +856,10 @@
/// by including the ListCryptoKeysResponse.next_page_token in a subsequent
/// request. If unspecified, the server will pick an appropriate default.
///
- /// [pageToken] - Optional. Optional pagination token, returned earlier via
- /// ListCryptoKeysResponse.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).
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -872,11 +872,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<ListCryptoKeysResponse> list(core.String parent,
- {core.String filter,
- core.String versionView,
- core.String orderBy,
- core.int pageSize,
+ {core.String versionView,
core.String pageToken,
+ core.String filter,
+ core.int pageSize,
+ core.String orderBy,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -888,20 +888,20 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (filter != null) {
- _queryParams["filter"] = [filter];
- }
if (versionView != null) {
_queryParams["versionView"] = [versionView];
}
- if (orderBy != null) {
- _queryParams["orderBy"] = [orderBy];
+ 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 (orderBy != null) {
+ _queryParams["orderBy"] = [orderBy];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -1534,21 +1534,6 @@
/// Value must have pattern
/// "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+/cryptoKeys/[^/]+$".
///
- /// [view] - The fields 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.
- ///
- /// [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
- /// ListCryptoKeyVersionsResponse.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).
@@ -1559,6 +1544,21 @@
/// a subsequent request. If unspecified, the server will pick an appropriate
/// default.
///
+ /// [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
+ /// 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.
///
@@ -1570,11 +1570,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<ListCryptoKeyVersionsResponse> list(core.String parent,
- {core.String view,
- core.String orderBy,
- core.String pageToken,
- core.String filter,
+ {core.String filter,
core.int pageSize,
+ core.String pageToken,
+ core.String orderBy,
+ core.String view,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -1586,21 +1586,21 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (view != null) {
- _queryParams["view"] = [view];
- }
- if (orderBy != null) {
- _queryParams["orderBy"] = [orderBy];
- }
- 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 (orderBy != null) {
+ _queryParams["orderBy"] = [orderBy];
+ }
+ if (view != null) {
+ _queryParams["view"] = [view];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -1913,23 +1913,23 @@
/// format `projects / * /locations / * /keyRings / * `.
/// Value must have pattern "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+$".
///
- /// [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.
///
/// [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
- /// ListImportJobsResponse.next_page_token.
- ///
/// [pageSize] - Optional. Optional limit on the number of ImportJobs to
/// include in the response. Further ImportJobs can subsequently be obtained
/// 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).
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1941,10 +1941,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<ListImportJobsResponse> list(core.String parent,
- {core.String filter,
+ {core.String pageToken,
core.String orderBy,
- core.String pageToken,
core.int pageSize,
+ core.String filter,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -1956,18 +1956,18 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (filter != null) {
- _queryParams["filter"] = [filter];
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
}
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 ($fields != null) {
_queryParams["fields"] = [$fields];
}
diff --git a/generated/googleapis/lib/cloudresourcemanager/v1.dart b/generated/googleapis/lib/cloudresourcemanager/v1.dart
index 6a1eadb..29f22df 100644
--- a/generated/googleapis/lib/cloudresourcemanager/v1.dart
+++ b/generated/googleapis/lib/cloudresourcemanager/v1.dart
@@ -525,8 +525,8 @@
///
/// Request parameters:
///
- /// [pageToken] - The `next_page_token` value returned from a previous List
- /// request, if any.
+ /// [pageSize] - The maximum number of items to return. This is a suggestion
+ /// for the server.
///
/// [parent] - Required. The name of the resource to list all attached Liens.
/// For example, `projects/1234`. (google.api.field_policy).resource_type
@@ -534,8 +534,8 @@
/// implementation. This field could be a project or other sub project
/// resources.
///
- /// [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.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -548,9 +548,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<ListLiensResponse> list(
- {core.String pageToken,
+ {core.int pageSize,
core.String parent,
- core.int pageSize,
+ core.String pageToken,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -559,14 +559,14 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body;
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
}
if (parent != null) {
_queryParams["parent"] = [parent];
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -1681,6 +1681,13 @@
///
/// 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
@@ -1705,13 +1712,6 @@
/// (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.
///
@@ -1723,9 +1723,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.int pageSize,
core.String pageToken,
+ core.String filter,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -1734,15 +1734,15 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _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 e54802e..1971e1a 100644
--- a/generated/googleapis/lib/cloudresourcemanager/v2.dart
+++ b/generated/googleapis/lib/cloudresourcemanager/v2.dart
@@ -272,8 +272,8 @@
///
/// Request parameters:
///
- /// [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.
///
/// [parent] - Required. The resource name of the Organization or Folder whose
/// Folders are being listed. Must be of the form `folders/{folder_id}` or
@@ -283,8 +283,8 @@
/// [pageToken] - Optional. A pagination token returned from a previous call
/// to `ListFolders` that indicates where this listing should continue from.
///
- /// [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.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -297,10 +297,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.int pageSize,
+ {core.bool showDeleted,
core.String parent,
core.String pageToken,
- core.bool showDeleted,
+ core.int pageSize,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -309,8 +309,8 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body;
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
+ if (showDeleted != null) {
+ _queryParams["showDeleted"] = ["${showDeleted}"];
}
if (parent != null) {
_queryParams["parent"] = [parent];
@@ -318,8 +318,8 @@
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
- if (showDeleted != null) {
- _queryParams["showDeleted"] = ["${showDeleted}"];
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
diff --git a/generated/googleapis/lib/cloudscheduler/v1.dart b/generated/googleapis/lib/cloudscheduler/v1.dart
index cfb3ba5..5e3c4cb 100644
--- a/generated/googleapis/lib/cloudscheduler/v1.dart
+++ b/generated/googleapis/lib/cloudscheduler/v1.dart
@@ -101,12 +101,12 @@
/// [name] - The resource that owns the locations collection, if applicable.
/// Value must have pattern "^projects/[^/]+$".
///
- /// [pageSize] - The standard list page size.
- ///
/// [pageToken] - The standard list page token.
///
/// [filter] - The standard list filter.
///
+ /// [pageSize] - The standard list page size.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -118,9 +118,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<ListLocationsResponse> list(core.String name,
- {core.int pageSize,
- core.String pageToken,
+ {core.String pageToken,
core.String filter,
+ core.int pageSize,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -132,15 +132,15 @@
if (name == null) {
throw new core.ArgumentError("Parameter name is required.");
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
if (filter != null) {
_queryParams["filter"] = [filter];
}
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
diff --git a/generated/googleapis/lib/cloudsearch/v1.dart b/generated/googleapis/lib/cloudsearch/v1.dart
index b058c9e..61dc79c 100644
--- a/generated/googleapis/lib/cloudsearch/v1.dart
+++ b/generated/googleapis/lib/cloudsearch/v1.dart
@@ -241,15 +241,15 @@
/// datasources/{source_id}/items/{ID}
/// Value must have pattern "^datasources/[^/]+/items/[^/]+$".
///
- /// [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.
///
+ /// [pageSize] - Maximum number of items to fetch in a request. Defaults to
+ /// 100.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -261,9 +261,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<ListUnmappedIdentitiesResponse> list(core.String parent,
- {core.int pageSize,
- core.bool debugOptions_enableDebugging,
+ {core.bool debugOptions_enableDebugging,
core.String pageToken,
+ core.int pageSize,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -275,9 +275,6 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
if (debugOptions_enableDebugging != null) {
_queryParams["debugOptions.enableDebugging"] = [
"${debugOptions_enableDebugging}"
@@ -286,6 +283,9 @@
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -332,19 +332,19 @@
/// identitysources/{source_id}}
/// Value must have pattern "^identitysources/[^/]+$".
///
- /// [pageToken] - The next_page_token value returned from a previous List
- /// request, if any.
+ /// [userResourceName] - null
///
/// [groupResourceName] - null
///
- /// [userResourceName] - null
- ///
- /// [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.
///
+ /// [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.
///
@@ -357,11 +357,11 @@
/// this method will complete with the same error.
async.Future<ListItemNamesForUnmappedIdentityResponse>
listForunmappedidentity(core.String parent,
- {core.String pageToken,
+ {core.String userResourceName,
core.String groupResourceName,
- core.String userResourceName,
- core.bool debugOptions_enableDebugging,
+ core.String pageToken,
core.int pageSize,
+ core.bool debugOptions_enableDebugging,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -373,23 +373,23 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
+ if (userResourceName != null) {
+ _queryParams["userResourceName"] = [userResourceName];
}
if (groupResourceName != null) {
_queryParams["groupResourceName"] = [groupResourceName];
}
- if (userResourceName != null) {
- _queryParams["userResourceName"] = [userResourceName];
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
}
if (debugOptions_enableDebugging != null) {
_queryParams["debugOptions.enableDebugging"] = [
"${debugOptions_enableDebugging}"
];
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -424,8 +424,11 @@
/// identitysources/{source_id}
/// Value must have pattern "^identitysources/[^/]+$".
///
- /// [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.
///
/// [resolutionStatusCode] - Limit users selection to this status.
/// Possible string values are:
@@ -441,11 +444,8 @@
/// external identity is too large.
/// - "INTERNAL_ERROR" : Internal error.
///
- /// [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.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -458,10 +458,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<ListUnmappedIdentitiesResponse> list(core.String parent,
- {core.bool debugOptions_enableDebugging,
- core.String resolutionStatusCode,
- core.String pageToken,
+ {core.String pageToken,
core.int pageSize,
+ core.String resolutionStatusCode,
+ core.bool debugOptions_enableDebugging,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -473,20 +473,20 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (debugOptions_enableDebugging != null) {
- _queryParams["debugOptions.enableDebugging"] = [
- "${debugOptions_enableDebugging}"
- ];
- }
- if (resolutionStatusCode != null) {
- _queryParams["resolutionStatusCode"] = [resolutionStatusCode];
- }
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 ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -852,12 +852,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.
- ///
/// [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.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -869,8 +869,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<Item> get(core.String name,
- {core.bool debugOptions_enableDebugging,
- core.String connectorName,
+ {core.String connectorName,
+ core.bool debugOptions_enableDebugging,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -882,14 +882,14 @@
if (name == null) {
throw new core.ArgumentError("Parameter name is required.");
}
+ if (connectorName != null) {
+ _queryParams["connectorName"] = [connectorName];
+ }
if (debugOptions_enableDebugging != null) {
_queryParams["debugOptions.enableDebugging"] = [
"${debugOptions_enableDebugging}"
];
}
- if (connectorName != null) {
- _queryParams["connectorName"] = [connectorName];
- }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -971,6 +971,12 @@
/// 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,
@@ -979,18 +985,12 @@
/// itemStatus.processingError.code, itemStatus.repositoryError.type, If this
/// value is false, then all the fields are populated in Item.
///
- /// [pageToken] - The next_page_token value returned from a previous List
- /// request, if any.
- ///
/// [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
///
- /// [debugOptions_enableDebugging] - If you are asked by Google to help with
- /// debugging, set this field. Otherwise, ignore this field.
- ///
- /// [connectorName] - Name of connector making this call. Format:
- /// datasources/{source_id}/connectors/{ID}
+ /// [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.
@@ -1003,11 +1003,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<ListItemsResponse> list(core.String name,
- {core.bool brief,
- core.String pageToken,
- core.int pageSize,
+ {core.String connectorName,
core.bool debugOptions_enableDebugging,
- core.String connectorName,
+ core.bool brief,
+ core.int pageSize,
+ core.String pageToken,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -1019,22 +1019,22 @@
if (name == null) {
throw new core.ArgumentError("Parameter name is required.");
}
- if (brief != null) {
- _queryParams["brief"] = ["${brief}"];
- }
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
+ if (connectorName != null) {
+ _queryParams["connectorName"] = [connectorName];
}
if (debugOptions_enableDebugging != null) {
_queryParams["debugOptions.enableDebugging"] = [
"${debugOptions_enableDebugging}"
];
}
- if (connectorName != null) {
- _queryParams["connectorName"] = [connectorName];
+ if (brief != null) {
+ _queryParams["brief"] = ["${brief}"];
+ }
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -1441,10 +1441,10 @@
///
/// [pageToken] - The standard list page token.
///
- /// [filter] - The standard list filter.
- ///
/// [pageSize] - The standard list page size.
///
+ /// [filter] - The standard list filter.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1457,8 +1457,8 @@
/// 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 filter,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -1473,12 +1473,12 @@
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 ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -1615,17 +1615,6 @@
///
/// Request parameters:
///
- /// [requestOptions_debugOptions_enableDebugging] - If you are asked by Google
- /// to help with debugging, set this field. Otherwise, ignore this field.
- ///
- /// [requestOptions_timeZone] - Current user's time zone id, such as
- /// "America/Los_Angeles" or "Australia/Sydney". These IDs are defined by
- /// [Unicode Common Locale Data Repository (CLDR)](http://cldr.unicode.org/)
- /// project, and currently available in the file
- /// [timezone.xml](http://unicode.org/repos/cldr/trunk/common/bcp47/timezone.xml).
- /// 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_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
@@ -1636,8 +1625,19 @@
/// 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_timeZone] - Current user's time zone id, such as
+ /// "America/Los_Angeles" or "Australia/Sydney". These IDs are defined by
+ /// [Unicode Common Locale Data Repository (CLDR)](http://cldr.unicode.org/)
+ /// project, and currently available in the file
+ /// [timezone.xml](http://unicode.org/repos/cldr/trunk/common/bcp47/timezone.xml).
+ /// 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).
@@ -1653,10 +1653,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<ListQuerySourcesResponse> list(
- {core.bool requestOptions_debugOptions_enableDebugging,
- core.String requestOptions_timeZone,
- core.String requestOptions_languageCode,
+ {core.String requestOptions_languageCode,
+ core.bool requestOptions_debugOptions_enableDebugging,
core.String pageToken,
+ core.String requestOptions_timeZone,
core.String requestOptions_searchApplicationId,
core.String $fields}) {
var _url;
@@ -1666,22 +1666,22 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body;
- if (requestOptions_debugOptions_enableDebugging != null) {
- _queryParams["requestOptions.debugOptions.enableDebugging"] = [
- "${requestOptions_debugOptions_enableDebugging}"
- ];
- }
- if (requestOptions_timeZone != null) {
- _queryParams["requestOptions.timeZone"] = [requestOptions_timeZone];
- }
if (requestOptions_languageCode != null) {
_queryParams["requestOptions.languageCode"] = [
requestOptions_languageCode
];
}
+ 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_searchApplicationId != null) {
_queryParams["requestOptions.searchApplicationId"] = [
requestOptions_searchApplicationId
@@ -1875,12 +1875,12 @@
///
/// Request parameters:
///
- /// [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
///
+ /// [debugOptions_enableDebugging] - If you are asked by Google to help with
+ /// debugging, set this field. Otherwise, ignore this field.
+ ///
/// [pageToken] - Starting index of the results.
///
/// [$fields] - Selector specifying which fields to include in a partial
@@ -1894,8 +1894,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.bool debugOptions_enableDebugging,
- core.int pageSize,
+ {core.int pageSize,
+ core.bool debugOptions_enableDebugging,
core.String pageToken,
core.String $fields}) {
var _url;
@@ -1905,14 +1905,14 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _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];
}
@@ -2147,14 +2147,14 @@
///
/// Request parameters:
///
+ /// [debugOptions_enableDebugging] - If you are asked by Google to help with
+ /// debugging, set this field. Otherwise, ignore this field.
+ ///
/// [pageSize] - The maximum number of items to return.
///
/// [pageToken] - The next_page_token value returned from a previous List
/// request, if any. The default value is 10
///
- /// [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.
///
@@ -2166,9 +2166,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<ListSearchApplicationsResponse> list(
- {core.int pageSize,
+ {core.bool debugOptions_enableDebugging,
+ core.int pageSize,
core.String pageToken,
- core.bool debugOptions_enableDebugging,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -2177,17 +2177,17 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body;
+ if (debugOptions_enableDebugging != null) {
+ _queryParams["debugOptions.enableDebugging"] = [
+ "${debugOptions_enableDebugging}"
+ ];
+ }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
- if (debugOptions_enableDebugging != null) {
- _queryParams["debugOptions.enableDebugging"] = [
- "${debugOptions_enableDebugging}"
- ];
- }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -2328,20 +2328,20 @@
///
/// Request parameters:
///
- /// [fromDate_month] - Month of date. Must be from 1 to 12.
- ///
/// [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_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.
+ ///
+ /// [fromDate_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.
///
@@ -2353,12 +2353,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 fromDate_month,
- core.int toDate_month,
- core.int fromDate_year,
- core.int fromDate_day,
+ {core.int toDate_month,
core.int toDate_year,
+ core.int fromDate_year,
core.int toDate_day,
+ core.int fromDate_month,
+ core.int fromDate_day,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -2367,24 +2367,24 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body;
- if (fromDate_month != null) {
- _queryParams["fromDate.month"] = ["${fromDate_month}"];
- }
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_year != null) {
+ _queryParams["fromDate.year"] = ["${fromDate_year}"];
+ }
if (toDate_day != null) {
_queryParams["toDate.day"] = ["${toDate_day}"];
}
+ if (fromDate_month != null) {
+ _queryParams["fromDate.month"] = ["${fromDate_month}"];
+ }
+ if (fromDate_day != null) {
+ _queryParams["fromDate.day"] = ["${fromDate_day}"];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -2408,17 +2408,17 @@
///
/// [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_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_year] - Year of date. Must be from 1 to 9999.
///
/// [fromDate_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.
@@ -2432,11 +2432,11 @@
/// this method will complete with the same error.
async.Future<GetCustomerQueryStatsResponse> getQuery(
{core.int toDate_month,
- core.int fromDate_day,
- core.int toDate_day,
core.int fromDate_year,
- core.int fromDate_month,
+ core.int fromDate_day,
core.int toDate_year,
+ core.int fromDate_month,
+ core.int toDate_day,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -2448,20 +2448,20 @@
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_day != null) {
- _queryParams["toDate.day"] = ["${toDate_day}"];
- }
- if (fromDate_year != null) {
- _queryParams["fromDate.year"] = ["${fromDate_year}"];
+ if (toDate_year != null) {
+ _queryParams["toDate.year"] = ["${toDate_year}"];
}
if (fromDate_month != null) {
_queryParams["fromDate.month"] = ["${fromDate_month}"];
}
- if (toDate_year != null) {
- _queryParams["toDate.year"] = ["${toDate_year}"];
+ if (toDate_day != null) {
+ _queryParams["toDate.day"] = ["${toDate_day}"];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -2485,19 +2485,19 @@
///
/// Request parameters:
///
+ /// [fromDate_year] - Year of date. Must be from 1 to 9999.
+ ///
+ /// [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
/// and month.
///
- /// [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_month] - Month of date. Must be from 1 to 12.
- ///
- /// [fromDate_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.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -2510,12 +2510,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_day,
- core.int fromDate_year,
- core.int toDate_day,
- core.int toDate_year,
- core.int toDate_month,
+ {core.int fromDate_year,
core.int fromDate_month,
+ core.int fromDate_day,
+ core.int toDate_month,
+ core.int toDate_year,
+ core.int toDate_day,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -2524,23 +2524,23 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body;
- 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 (fromDate_month != null) {
+ _queryParams["fromDate.month"] = ["${fromDate_month}"];
}
- if (toDate_year != null) {
- _queryParams["toDate.year"] = ["${toDate_year}"];
+ if (fromDate_day != null) {
+ _queryParams["fromDate.day"] = ["${fromDate_day}"];
}
if (toDate_month != null) {
_queryParams["toDate.month"] = ["${toDate_month}"];
}
- if (fromDate_month != null) {
- _queryParams["fromDate.month"] = ["${fromDate_month}"];
+ if (toDate_year != null) {
+ _queryParams["toDate.year"] = ["${toDate_year}"];
+ }
+ if (toDate_day != null) {
+ _queryParams["toDate.day"] = ["${toDate_day}"];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -2565,18 +2565,18 @@
///
/// [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
- /// and month.
- ///
- /// [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_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_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
/// response.
///
@@ -2589,11 +2589,11 @@
/// this method will complete with the same error.
async.Future<GetCustomerUserStatsResponse> getUser(
{core.int fromDate_month,
- core.int fromDate_day,
- core.int fromDate_year,
core.int toDate_day,
- core.int toDate_year,
+ core.int fromDate_day,
core.int toDate_month,
+ core.int fromDate_year,
+ core.int toDate_year,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -2605,21 +2605,21 @@
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 (toDate_month != null) {
+ _queryParams["toDate.month"] = ["${toDate_month}"];
+ }
if (fromDate_year != null) {
_queryParams["fromDate.year"] = ["${fromDate_year}"];
}
- if (toDate_day != null) {
- _queryParams["toDate.day"] = ["${toDate_day}"];
- }
if (toDate_year != null) {
_queryParams["toDate.year"] = ["${toDate_year}"];
}
- if (toDate_month != null) {
- _queryParams["toDate.month"] = ["${toDate_month}"];
- }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -2661,20 +2661,20 @@
/// the following format: "datasources/{source_id}"
/// Value must have pattern "^datasources/[^/]+$".
///
- /// [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.
- ///
- /// [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.
///
/// [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_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.
///
@@ -2686,12 +2686,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<GetDataSourceIndexStatsResponse> get(core.String name,
- {core.int toDate_day,
- core.int fromDate_month,
- core.int toDate_month,
- core.int toDate_year,
+ {core.int fromDate_month,
+ core.int toDate_day,
core.int fromDate_day,
core.int fromDate_year,
+ core.int toDate_year,
+ core.int toDate_month,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -2703,17 +2703,11 @@
if (name == null) {
throw new core.ArgumentError("Parameter name is required.");
}
- 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 (toDate_year != null) {
- _queryParams["toDate.year"] = ["${toDate_year}"];
+ if (toDate_day != null) {
+ _queryParams["toDate.day"] = ["${toDate_day}"];
}
if (fromDate_day != null) {
_queryParams["fromDate.day"] = ["${fromDate_day}"];
@@ -2721,6 +2715,12 @@
if (fromDate_year != null) {
_queryParams["fromDate.year"] = ["${fromDate_year}"];
}
+ if (toDate_year != null) {
+ _queryParams["toDate.year"] = ["${toDate_year}"];
+ }
+ if (toDate_month != null) {
+ _queryParams["toDate.month"] = ["${toDate_month}"];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -2764,18 +2764,18 @@
///
/// [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_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.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -2788,11 +2788,11 @@
/// 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_day,
core.int toDate_month,
- core.int fromDate_year,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -2807,21 +2807,21 @@
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_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 ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -2864,19 +2864,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.
- ///
/// [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.
///
/// [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.
+ ///
+ /// [fromDate_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.
@@ -2889,12 +2889,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<GetSearchApplicationSessionStatsResponse> get(core.String name,
- {core.int fromDate_year,
- core.int toDate_year,
- core.int toDate_month,
- core.int fromDate_day,
- core.int toDate_day,
+ {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.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -2906,23 +2906,23 @@
if (name == null) {
throw new core.ArgumentError("Parameter name is required.");
}
- if (fromDate_year != null) {
- _queryParams["fromDate.year"] = ["${fromDate_year}"];
+ if (toDate_month != null) {
+ _queryParams["toDate.month"] = ["${toDate_month}"];
+ }
+ if (fromDate_month != null) {
+ _queryParams["fromDate.month"] = ["${fromDate_month}"];
}
if (toDate_year != null) {
_queryParams["toDate.year"] = ["${toDate_year}"];
}
- if (toDate_month != null) {
- _queryParams["toDate.month"] = ["${toDate_month}"];
- }
- 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 (fromDate_day != null) {
+ _queryParams["fromDate.day"] = ["${fromDate_day}"];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -2965,20 +2965,20 @@
/// following format: searchapplications/{application_id}
/// Value must have pattern "^searchapplications/[^/]+$".
///
- /// [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_year] - Year of date. Must be from 1 to 9999.
///
/// [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
/// and month.
///
- /// [fromDate_year] - Year of date. Must be from 1 to 9999.
- ///
- /// [toDate_year] - Year of date. Must be from 1 to 9999.
- ///
/// [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.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -2990,12 +2990,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<GetSearchApplicationUserStatsResponse> get(core.String name,
- {core.int toDate_day,
+ {core.int fromDate_year,
+ core.int toDate_year,
core.int fromDate_month,
core.int fromDate_day,
- core.int fromDate_year,
- core.int toDate_year,
core.int toDate_month,
+ core.int toDate_day,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -3007,8 +3007,11 @@
if (name == null) {
throw new core.ArgumentError("Parameter name is required.");
}
- if (toDate_day != null) {
- _queryParams["toDate.day"] = ["${toDate_day}"];
+ if (fromDate_year != null) {
+ _queryParams["fromDate.year"] = ["${fromDate_year}"];
+ }
+ if (toDate_year != null) {
+ _queryParams["toDate.year"] = ["${toDate_year}"];
}
if (fromDate_month != null) {
_queryParams["fromDate.month"] = ["${fromDate_month}"];
@@ -3016,15 +3019,12 @@
if (fromDate_day != null) {
_queryParams["fromDate.day"] = ["${fromDate_day}"];
}
- if (fromDate_year != null) {
- _queryParams["fromDate.year"] = ["${fromDate_year}"];
- }
- if (toDate_year != null) {
- _queryParams["toDate.year"] = ["${toDate_year}"];
- }
if (toDate_month != null) {
_queryParams["toDate.month"] = ["${toDate_month}"];
}
+ if (toDate_day != null) {
+ _queryParams["toDate.day"] = ["${toDate_day}"];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -8320,7 +8320,8 @@
core.List<FacetOptions> facetOptions;
/// Maximum number of search results to return in one page. Valid values are
- /// between 1 and 100, inclusive. Default value is 10.
+ /// between 1 and 100, inclusive. Default value is 10. Minimum value is 50
+ /// when results beyond 2000 are requested.
core.int pageSize;
/// The raw query string. See supported search operators in the [Cloud search
diff --git a/generated/googleapis/lib/cloudshell/v1.dart b/generated/googleapis/lib/cloudshell/v1.dart
index 850afe7..c74510d 100644
--- a/generated/googleapis/lib/cloudshell/v1.dart
+++ b/generated/googleapis/lib/cloudshell/v1.dart
@@ -203,11 +203,11 @@
/// [name] - The name of the operation's parent resource.
/// Value must have pattern "^operations$".
///
- /// [filter] - The standard list filter.
+ /// [pageToken] - The standard list page token.
///
/// [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.
@@ -220,9 +220,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<ListOperationsResponse> list(core.String name,
- {core.String filter,
+ {core.String pageToken,
core.int pageSize,
- core.String pageToken,
+ core.String filter,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -234,14 +234,14 @@
if (name == null) {
throw new core.ArgumentError("Parameter name is required.");
}
- 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 (filter != null) {
+ _queryParams["filter"] = [filter];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
diff --git a/generated/googleapis/lib/cloudtasks/v2.dart b/generated/googleapis/lib/cloudtasks/v2.dart
index 6b2fcb9..b32a6fa 100644
--- a/generated/googleapis/lib/cloudtasks/v2.dart
+++ b/generated/googleapis/lib/cloudtasks/v2.dart
@@ -101,11 +101,11 @@
/// [name] - The resource that owns the locations collection, if applicable.
/// Value must have pattern "^projects/[^/]+$".
///
- /// [pageToken] - The standard list page token.
+ /// [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
/// response.
@@ -118,9 +118,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<ListLocationsResponse> list(core.String name,
- {core.String pageToken,
+ {core.int pageSize,
core.String filter,
- core.int pageSize,
+ core.String pageToken,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -132,14 +132,14 @@
if (name == null) {
throw new core.ArgumentError("Parameter name is required.");
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
}
if (filter != null) {
_queryParams["filter"] = [filter];
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -385,6 +385,17 @@
/// `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
@@ -393,17 +404,6 @@
/// 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.
///
@@ -415,9 +415,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<ListQueuesResponse> list(core.String parent,
- {core.String filter,
+ {core.String pageToken,
core.int pageSize,
- core.String pageToken,
+ core.String filter,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -429,14 +429,14 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- 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 (filter != null) {
+ _queryParams["filter"] = [filter];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -992,12 +992,6 @@
/// `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
/// Value must have pattern "^projects/[^/]+/locations/[^/]+/queues/[^/]+$".
///
- /// [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
@@ -1016,6 +1010,12 @@
/// `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
@@ -1032,8 +1032,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<ListTasksResponse> list(core.String parent,
- {core.String pageToken,
- core.String responseView,
+ {core.String responseView,
+ core.String pageToken,
core.int pageSize,
core.String $fields}) {
var _url;
@@ -1046,12 +1046,12 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (responseView != null) {
_queryParams["responseView"] = [responseView];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
diff --git a/generated/googleapis/lib/composer/v1.dart b/generated/googleapis/lib/composer/v1.dart
index c7a5430..7a11ea6 100644
--- a/generated/googleapis/lib/composer/v1.dart
+++ b/generated/googleapis/lib/composer/v1.dart
@@ -212,11 +212,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.
///
@@ -228,7 +228,7 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<ListEnvironmentsResponse> list(core.String parent,
- {core.int pageSize, core.String pageToken, core.String $fields}) {
+ {core.String pageToken, core.int pageSize, core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -239,12 +239,12 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -397,11 +397,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.
///
@@ -413,7 +413,7 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<ListImageVersionsResponse> list(core.String parent,
- {core.int pageSize, core.String pageToken, core.String $fields}) {
+ {core.String pageToken, core.int pageSize, core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -424,12 +424,12 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -563,11 +563,11 @@
/// [name] - The name of the operation's parent resource.
/// Value must have pattern "^projects/[^/]+/locations/[^/]+$".
///
- /// [filter] - The standard list filter.
+ /// [pageToken] - The standard list page token.
///
/// [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.
@@ -580,9 +580,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<ListOperationsResponse> list(core.String name,
- {core.String filter,
+ {core.String pageToken,
core.int pageSize,
- core.String pageToken,
+ core.String filter,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -594,14 +594,14 @@
if (name == null) {
throw new core.ArgumentError("Parameter name is required.");
}
- 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 (filter != null) {
+ _queryParams["filter"] = [filter];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
diff --git a/generated/googleapis/lib/container/v1.dart b/generated/googleapis/lib/container/v1.dart
index e7177ac..3cf85f8 100644
--- a/generated/googleapis/lib/container/v1.dart
+++ b/generated/googleapis/lib/container/v1.dart
@@ -71,10 +71,8 @@
/// the format `projects / * `.
/// Value must have pattern "^projects/[^/]+$".
///
- /// [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.
///
/// [pageSize] - The max number of results per page that should be returned.
/// If the number of available results is larger than `page_size`, a
@@ -82,8 +80,10 @@
/// results in subsequent requests. Acceptable values are 0 to 500, inclusive.
/// (Default: 500)
///
- /// [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.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -96,9 +96,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<ListUsableSubnetworksResponse> list(core.String parent,
- {core.String filter,
+ {core.String pageToken,
core.int pageSize,
- core.String pageToken,
+ core.String filter,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -110,14 +110,14 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- 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 (filter != null) {
+ _queryParams["filter"] = [filter];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -349,17 +349,17 @@
/// 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 delete. 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.
///
- /// [clusterId] - Deprecated. The name of the cluster 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.
@@ -372,9 +372,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<Operation> delete(core.String name,
- {core.String zone,
+ {core.String clusterId,
core.String projectId,
- core.String clusterId,
+ core.String zone,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -386,14 +386,14 @@
if (name == null) {
throw new 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 (clusterId != null) {
- _queryParams["clusterId"] = [clusterId];
+ if (zone != null) {
+ _queryParams["zone"] = [zone];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -418,10 +418,6 @@
/// Specified in the format `projects / * /locations / * /clusters / * `.
/// Value must have pattern "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$".
///
- /// [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.
- ///
/// [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
@@ -430,6 +426,10 @@
/// [clusterId] - Deprecated. The name of the cluster to retrieve. 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.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -441,9 +441,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<Cluster> get(core.String name,
- {core.String projectId,
- core.String zone,
+ {core.String zone,
core.String clusterId,
+ core.String projectId,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -455,15 +455,15 @@
if (name == null) {
throw new core.ArgumentError("Parameter name is required.");
}
- if (projectId != null) {
- _queryParams["projectId"] = [projectId];
- }
if (zone != null) {
_queryParams["zone"] = [zone];
}
if (clusterId != null) {
_queryParams["clusterId"] = [clusterId];
}
+ if (projectId != null) {
+ _queryParams["projectId"] = [projectId];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -1303,14 +1303,6 @@
/// Value must have pattern
/// "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/nodePools/[^/]+$".
///
- /// [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.
- ///
/// [clusterId] - Deprecated. The name of the cluster. This field has been
/// deprecated and replaced by the name field.
///
@@ -1319,6 +1311,14 @@
/// cluster resides. 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.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1330,10 +1330,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<Operation> delete(core.String name,
- {core.String nodePoolId,
- core.String projectId,
- core.String clusterId,
+ {core.String clusterId,
core.String zone,
+ core.String projectId,
+ core.String nodePoolId,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -1345,18 +1345,18 @@
if (name == null) {
throw new core.ArgumentError("Parameter name is required.");
}
- if (nodePoolId != null) {
- _queryParams["nodePoolId"] = [nodePoolId];
- }
- if (projectId != null) {
- _queryParams["projectId"] = [projectId];
- }
if (clusterId != null) {
_queryParams["clusterId"] = [clusterId];
}
if (zone != null) {
_queryParams["zone"] = [zone];
}
+ if (projectId != null) {
+ _queryParams["projectId"] = [projectId];
+ }
+ if (nodePoolId != null) {
+ _queryParams["nodePoolId"] = [nodePoolId];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -1382,6 +1382,9 @@
/// Value must have pattern
/// "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/nodePools/[^/]+$".
///
+ /// [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
@@ -1395,9 +1398,6 @@
/// number](https://developers.google.com/console/help/new/#projectnumber).
/// This field has been deprecated and replaced by the name field.
///
- /// [clusterId] - Deprecated. The name of the cluster. This field has been
- /// deprecated and replaced by the name field.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1409,10 +1409,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<NodePool> get(core.String name,
- {core.String zone,
+ {core.String clusterId,
+ core.String zone,
core.String nodePoolId,
core.String projectId,
- core.String clusterId,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -1424,6 +1424,9 @@
if (name == null) {
throw new core.ArgumentError("Parameter name is required.");
}
+ if (clusterId != null) {
+ _queryParams["clusterId"] = [clusterId];
+ }
if (zone != null) {
_queryParams["zone"] = [zone];
}
@@ -1433,9 +1436,6 @@
if (projectId != null) {
_queryParams["projectId"] = [projectId];
}
- if (clusterId != null) {
- _queryParams["clusterId"] = [clusterId];
- }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -1922,9 +1922,6 @@
/// Value must have pattern
/// "^projects/[^/]+/locations/[^/]+/operations/[^/]+$".
///
- /// [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
@@ -1934,6 +1931,9 @@
/// 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.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1945,9 +1945,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<Operation> get(core.String name,
- {core.String operationId,
- core.String zone,
+ {core.String zone,
core.String projectId,
+ core.String operationId,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -1959,15 +1959,15 @@
if (name == null) {
throw new core.ArgumentError("Parameter name is required.");
}
- if (operationId != null) {
- _queryParams["operationId"] = [operationId];
- }
if (zone != null) {
_queryParams["zone"] = [zone];
}
if (projectId != null) {
_queryParams["projectId"] = [projectId];
}
+ if (operationId != null) {
+ _queryParams["operationId"] = [operationId];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
diff --git a/generated/googleapis/lib/content/v2_1.dart b/generated/googleapis/lib/content/v2_1.dart
index 150493d..87f2c04 100644
--- a/generated/googleapis/lib/content/v2_1.dart
+++ b/generated/googleapis/lib/content/v2_1.dart
@@ -2728,6 +2728,58 @@
.then((data) => new OrderreturnsAcknowledgeResponse.fromJson(data));
}
+ /// Create return in your Merchant Center account.
+ ///
+ /// [request] - The metadata request object.
+ ///
+ /// Request parameters:
+ ///
+ /// [merchantId] - The ID of the account that manages the order. This cannot
+ /// be a multi-client account.
+ ///
+ /// [$fields] - Selector specifying which fields to include in a partial
+ /// response.
+ ///
+ /// Completes with a [OrderreturnsCreateOrderReturnResponse].
+ ///
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned an
+ /// error.
+ ///
+ /// If the used [http.Client] completes with an error when making a REST call,
+ /// this method will complete with the same error.
+ async.Future<OrderreturnsCreateOrderReturnResponse> createorderreturn(
+ OrderreturnsCreateOrderReturnRequest request, core.String merchantId,
+ {core.String $fields}) {
+ var _url;
+ var _queryParams = new core.Map<core.String, core.List<core.String>>();
+ var _uploadMedia;
+ var _uploadOptions;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body;
+
+ if (request != null) {
+ _body = convert.json.encode((request).toJson());
+ }
+ if (merchantId == null) {
+ throw new core.ArgumentError("Parameter merchantId is required.");
+ }
+ if ($fields != null) {
+ _queryParams["fields"] = [$fields];
+ }
+
+ _url = commons.Escaper.ecapeVariable('$merchantId') +
+ '/orderreturns/createOrderReturn';
+
+ var _response = _requester.request(_url, "POST",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then(
+ (data) => new OrderreturnsCreateOrderReturnResponse.fromJson(data));
+ }
+
/// Retrieves an order return from your Merchant Center account.
///
/// Request parameters:
@@ -14529,6 +14581,135 @@
}
}
+class OrderreturnsCreateOrderReturnRequest {
+ /// The list of line items to return.
+ core.List<OrderreturnsLineItem> lineItems;
+
+ /// The ID of the operation. Unique across all operations for a given order.
+ core.String operationId;
+
+ /// The ID of the order.
+ core.String orderId;
+
+ /// The way of the package being returned.
+ core.String returnMethodType;
+
+ OrderreturnsCreateOrderReturnRequest();
+
+ OrderreturnsCreateOrderReturnRequest.fromJson(core.Map _json) {
+ if (_json.containsKey("lineItems")) {
+ lineItems = (_json["lineItems"] as core.List)
+ .map<OrderreturnsLineItem>(
+ (value) => new OrderreturnsLineItem.fromJson(value))
+ .toList();
+ }
+ if (_json.containsKey("operationId")) {
+ operationId = _json["operationId"];
+ }
+ if (_json.containsKey("orderId")) {
+ orderId = _json["orderId"];
+ }
+ if (_json.containsKey("returnMethodType")) {
+ returnMethodType = _json["returnMethodType"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
+ if (lineItems != null) {
+ _json["lineItems"] = lineItems.map((value) => (value).toJson()).toList();
+ }
+ if (operationId != null) {
+ _json["operationId"] = operationId;
+ }
+ if (orderId != null) {
+ _json["orderId"] = orderId;
+ }
+ if (returnMethodType != null) {
+ _json["returnMethodType"] = returnMethodType;
+ }
+ return _json;
+ }
+}
+
+class OrderreturnsCreateOrderReturnResponse {
+ /// The status of the execution.
+ ///
+ /// Acceptable values are:
+ /// - "`duplicate`"
+ /// - "`executed`"
+ core.String executionStatus;
+
+ /// Identifies what kind of resource this is. Value: the fixed string
+ /// "content#orderreturnsCreateOrderReturnResponse".
+ core.String kind;
+
+ /// Created order return.
+ MerchantOrderReturn orderReturn;
+
+ OrderreturnsCreateOrderReturnResponse();
+
+ OrderreturnsCreateOrderReturnResponse.fromJson(core.Map _json) {
+ if (_json.containsKey("executionStatus")) {
+ executionStatus = _json["executionStatus"];
+ }
+ if (_json.containsKey("kind")) {
+ kind = _json["kind"];
+ }
+ if (_json.containsKey("orderReturn")) {
+ orderReturn = new MerchantOrderReturn.fromJson(_json["orderReturn"]);
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
+ if (executionStatus != null) {
+ _json["executionStatus"] = executionStatus;
+ }
+ if (kind != null) {
+ _json["kind"] = kind;
+ }
+ if (orderReturn != null) {
+ _json["orderReturn"] = (orderReturn).toJson();
+ }
+ return _json;
+ }
+}
+
+class OrderreturnsLineItem {
+ /// The ID of the line item. This value is assigned by Google when an order is
+ /// created.
+ core.String lineItemId;
+
+ /// The quantity of this line item.
+ core.int quantity;
+
+ OrderreturnsLineItem();
+
+ OrderreturnsLineItem.fromJson(core.Map _json) {
+ if (_json.containsKey("lineItemId")) {
+ lineItemId = _json["lineItemId"];
+ }
+ if (_json.containsKey("quantity")) {
+ quantity = _json["quantity"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
+ if (lineItemId != null) {
+ _json["lineItemId"] = lineItemId;
+ }
+ if (quantity != null) {
+ _json["quantity"] = quantity;
+ }
+ return _json;
+ }
+}
+
class OrderreturnsListResponse {
/// Identifies what kind of resource this is. Value: the fixed string
/// "content#orderreturnsListResponse".
diff --git a/generated/googleapis/lib/customsearch/v1.dart b/generated/googleapis/lib/customsearch/v1.dart
index ae8c0da..20de12b 100644
--- a/generated/googleapis/lib/customsearch/v1.dart
+++ b/generated/googleapis/lib/customsearch/v1.dart
@@ -41,12 +41,73 @@
///
/// Request parameters:
///
- /// [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.
+ /// [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.
///
- /// [hq] - Appends the specified query terms to the query, as if they were
- /// combined with a logical AND operator.
+ /// [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).
+ ///
+ /// [cr] - Restricts search results to documents originating in a particular
+ /// country. You may use [Boolean
+ /// operators](https://developers.google.com/custom-search/docs/xml_results_appendices#booleanOperators)
+ /// in the cr parameter's value. Google Search determines the country of a
+ /// document by analyzing: * the top-level domain (TLD) of the document's URL
+ /// * the geographic location of the Web server's IP address See the [Country
+ /// Parameter
+ /// 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.
///
/// [siteSearchFilter] - Controls whether to include or exclude results from
/// the site named in the `siteSearch` parameter. Acceptable values are: *
@@ -56,29 +117,18 @@
/// - "e" : Exclude results from the listed sites.
/// - "i" : Include only results from the listed sites.
///
- /// [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)
+ /// [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.
///
- /// [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.
+ /// [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).
///
- /// [safe] - Search safety level. Acceptable values are: * `"active"`: Enables
- /// SafeSearch filtering. * `"off"`: Disables SafeSearch filtering. (default)
- /// 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.
+ /// [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.
///
/// [imgDominantColor] - Returns images of a specific dominant color.
/// Acceptable values are: * `"black"` * `"blue"` * `"brown"` * `"gray"` *
@@ -99,82 +149,27 @@
/// - "white" : Predominantly white images only.
/// - "yellow" : Predominantly yellow images only.
///
- /// [imgColorType] - Returns black and white, grayscale, transparent, or color
- /// images. Acceptable values are: * `"color"` * `"gray"` * `"mono"`: black
- /// and white * `"trans"`: transparent background
+ /// [safe] - Search safety level. Acceptable values are: * `"active"`: Enables
+ /// SafeSearch filtering. * `"off"`: Disables SafeSearch filtering. (default)
/// 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
- ///
- /// [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).
- ///
- /// [q] - Query
- ///
- /// [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.
- ///
- /// [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.
- ///
- /// [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.
+ /// - "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.
///
/// [num] - Number of search results to return. * Valid values are integers
/// between 1 and 10, inclusive.
///
- /// [excludeTerms] - Identifies a word or phrase that should not appear in any
- /// documents in the search results.
- ///
- /// [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.
- ///
- /// [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.
- ///
- /// [siteSearch] - Specifies a given site which should always be included or
- /// excluded from results (see `siteSearchFilter` parameter, below).
- ///
- /// [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.
+ /// [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
@@ -184,24 +179,39 @@
/// search).
/// - "image" : Image search.
///
- /// [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).
- ///
/// [exactTerms] - Identifies a phrase that all documents in the search
/// results must contain.
///
- /// [cx] - The Programmable Search Engine ID to use for this request.
+ /// [linkSite] - Specifies that all search results should contain a link to a
+ /// particular URL.
///
- /// [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.
+ /// [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.
+ ///
+ /// [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 *
@@ -218,34 +228,24 @@
/// `"lang_sv"`: Swedish * `"lang_tr"`: Turkish * `"lang_zh-CN"`: Chinese
/// (Simplified) * `"lang_zh-TW"`: Chinese (Traditional)
///
- /// [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.
+ /// [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.
///
- /// [cr] - Restricts search results to documents originating in a particular
- /// country. You may use [Boolean
- /// operators](https://developers.google.com/custom-search/docs/xml_results_appendices#booleanOperators)
- /// in the cr parameter's value. Google Search determines the country of a
- /// document by analyzing: * the top-level domain (TLD) of the document's URL
- /// * the geographic location of the Web server's IP address See the [Country
- /// Parameter
- /// Values](https://developers.google.com/custom-search/docs/xml_results_appendices#countryCollections)
- /// page for a list of valid values for this parameter.
+ /// [siteSearch] - Specifies a given site which should always be included or
+ /// excluded from results (see `siteSearchFilter` parameter, below).
///
- /// [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.
- ///
- /// [relatedSite] - Specifies that all search results should be pages that are
- /// related to the specified URL.
+ /// [hq] - Appends the specified query terms to the query, as if they were
+ /// combined with a logical AND operator.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -258,37 +258,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 lowRange,
- core.String hq,
- core.String siteSearchFilter,
- core.String c2coff,
- core.String gl,
- core.String safe,
- core.String imgDominantColor,
- core.String imgColorType,
- core.String fileType,
- core.String q,
- core.String imgType,
- core.String linkSite,
- core.int start,
- core.String imgSize,
- core.int num,
- core.String excludeTerms,
- core.String orTerms,
- core.String hl,
- core.String siteSearch,
- core.String highRange,
- core.String searchType,
- core.String rights,
- core.String sort,
- core.String exactTerms,
- core.String cx,
- core.String googlehost,
- core.String lr,
- core.String dateRestrict,
- core.String cr,
- core.String filter,
+ {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 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 exactTerms,
+ 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.String siteSearch,
+ core.String hq,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -297,98 +297,98 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body;
- if (lowRange != null) {
- _queryParams["lowRange"] = [lowRange];
+ if (dateRestrict != null) {
+ _queryParams["dateRestrict"] = [dateRestrict];
}
- if (hq != null) {
- _queryParams["hq"] = [hq];
- }
- if (siteSearchFilter != null) {
- _queryParams["siteSearchFilter"] = [siteSearchFilter];
- }
- if (c2coff != null) {
- _queryParams["c2coff"] = [c2coff];
- }
- if (gl != null) {
- _queryParams["gl"] = [gl];
- }
- if (safe != null) {
- _queryParams["safe"] = [safe];
- }
- if (imgDominantColor != null) {
- _queryParams["imgDominantColor"] = [imgDominantColor];
- }
- if (imgColorType != null) {
- _queryParams["imgColorType"] = [imgColorType];
- }
- if (fileType != null) {
- _queryParams["fileType"] = [fileType];
- }
- if (q != null) {
- _queryParams["q"] = [q];
- }
- if (imgType != null) {
- _queryParams["imgType"] = [imgType];
- }
- if (linkSite != null) {
- _queryParams["linkSite"] = [linkSite];
- }
- if (start != null) {
- _queryParams["start"] = ["${start}"];
- }
- if (imgSize != null) {
- _queryParams["imgSize"] = [imgSize];
- }
- if (num != null) {
- _queryParams["num"] = ["${num}"];
- }
- if (excludeTerms != null) {
- _queryParams["excludeTerms"] = [excludeTerms];
- }
- if (orTerms != null) {
- _queryParams["orTerms"] = [orTerms];
+ if (relatedSite != null) {
+ _queryParams["relatedSite"] = [relatedSite];
}
if (hl != null) {
_queryParams["hl"] = [hl];
}
- if (siteSearch != null) {
- _queryParams["siteSearch"] = [siteSearch];
- }
- if (highRange != null) {
- _queryParams["highRange"] = [highRange];
- }
- if (searchType != null) {
- _queryParams["searchType"] = [searchType];
- }
- if (rights != null) {
- _queryParams["rights"] = [rights];
- }
- if (sort != null) {
- _queryParams["sort"] = [sort];
- }
- if (exactTerms != null) {
- _queryParams["exactTerms"] = [exactTerms];
- }
- if (cx != null) {
- _queryParams["cx"] = [cx];
+ if (fileType != null) {
+ _queryParams["fileType"] = [fileType];
}
if (googlehost != null) {
_queryParams["googlehost"] = [googlehost];
}
- if (lr != null) {
- _queryParams["lr"] = [lr];
+ if (imgType != null) {
+ _queryParams["imgType"] = [imgType];
}
- if (dateRestrict != null) {
- _queryParams["dateRestrict"] = [dateRestrict];
+ if (q != null) {
+ _queryParams["q"] = [q];
+ }
+ if (imgColorType != null) {
+ _queryParams["imgColorType"] = [imgColorType];
+ }
+ if (rights != null) {
+ _queryParams["rights"] = [rights];
}
if (cr != null) {
_queryParams["cr"] = [cr];
}
+ if (cx != null) {
+ _queryParams["cx"] = [cx];
+ }
+ if (siteSearchFilter != null) {
+ _queryParams["siteSearchFilter"] = [siteSearchFilter];
+ }
+ if (orTerms != null) {
+ _queryParams["orTerms"] = [orTerms];
+ }
+ if (sort != null) {
+ _queryParams["sort"] = [sort];
+ }
+ 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 (filter != null) {
_queryParams["filter"] = [filter];
}
- if (relatedSite != null) {
- _queryParams["relatedSite"] = [relatedSite];
+ if (searchType != null) {
+ _queryParams["searchType"] = [searchType];
+ }
+ if (exactTerms != null) {
+ _queryParams["exactTerms"] = [exactTerms];
+ }
+ if (linkSite != null) {
+ _queryParams["linkSite"] = [linkSite];
+ }
+ 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 (siteSearch != null) {
+ _queryParams["siteSearch"] = [siteSearch];
+ }
+ if (hq != null) {
+ _queryParams["hq"] = [hq];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -417,6 +417,169 @@
///
/// 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.
+ ///
+ /// [cr] - Restricts search results to documents originating in a particular
+ /// country. You may use [Boolean
+ /// operators](https://developers.google.com/custom-search/docs/xml_results_appendices#booleanOperators)
+ /// in the cr parameter's value. Google Search determines the country of a
+ /// document by analyzing: * the top-level domain (TLD) of the document's URL
+ /// * the geographic location of the Web server's IP address See the [Country
+ /// Parameter
+ /// Values](https://developers.google.com/custom-search/docs/xml_results_appendices#countryCollections)
+ /// page for a list of valid values for this parameter.
+ ///
+ /// [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.
+ ///
+ /// [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.
+ ///
+ /// [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.
+ ///
+ /// [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).
+ ///
+ /// [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.
+ ///
+ /// [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)
+ ///
+ /// [excludeTerms] - Identifies a word or phrase that should not appear in any
+ /// documents in the search results.
+ ///
/// [imgDominantColor] - Returns images of a specific dominant color.
/// Acceptable values are: * `"black"` * `"blue"` * `"brown"` * `"gray"` *
/// `"green"` * `"orange"` * `"pink"` * `"purple"` * `"red"` * `"teal"` *
@@ -436,19 +599,6 @@
/// - "white" : Predominantly white images only.
/// - "yellow" : Predominantly yellow images only.
///
- /// [cr] - Restricts search results to documents originating in a particular
- /// country. You may use [Boolean
- /// operators](https://developers.google.com/custom-search/docs/xml_results_appendices#booleanOperators)
- /// in the cr parameter's value. Google Search determines the country of a
- /// document by analyzing: * the top-level domain (TLD) of the document's URL
- /// * the geographic location of the Web server's IP address See the [Country
- /// Parameter
- /// Values](https://developers.google.com/custom-search/docs/xml_results_appendices#countryCollections)
- /// page for a list of valid values for this parameter.
- ///
- /// [exactTerms] - Identifies a phrase that all documents in the search
- /// results must contain.
- ///
/// [safe] - Search safety level. Acceptable values are: * `"active"`: Enables
/// SafeSearch filtering. * `"off"`: Disables SafeSearch filtering. (default)
/// Possible string values are:
@@ -459,53 +609,6 @@
/// - "medium" : Deprecated, equivalent to "active".
/// - "off" : Turn SafeSearch off.
///
- /// [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.
- ///
- /// [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 *
- /// `"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)
- ///
- /// [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.
- ///
- /// [q] - Query
- ///
- /// [hq] - Appends the specified query terms to the query, as if they were
- /// combined with a logical AND operator.
- ///
- /// [siteSearch] - Specifies a given site which should always be included or
- /// excluded from results (see `siteSearchFilter` parameter, below).
- ///
/// [imgColorType] - Returns black and white, grayscale, transparent, or color
/// images. Acceptable values are: * `"color"` * `"gray"` * `"mono"`: black
/// and white * `"trans"`: transparent background
@@ -516,112 +619,9 @@
/// - "color" : Color images only.
/// - "trans" : Images with transparent background
///
- /// [linkSite] - Specifies that all search results should contain a link to a
- /// particular URL.
- ///
- /// [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.
- ///
- /// [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.
- ///
- /// [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.
- ///
- /// [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).
- ///
- /// [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.
- ///
- /// [relatedSite] - Specifies that all search results should be pages that are
- /// related to the specified URL.
- ///
- /// [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).
- ///
- /// [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
- /// weeks. * `m[number]`: requests results from the specified number of past
- /// months. * `y[number]`: requests results from the specified number of past
- /// years.
- ///
- /// [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).
- ///
- /// [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.
- ///
- /// [num] - Number of search results to return. * Valid values are integers
- /// between 1 and 10, inclusive.
- ///
- /// [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.
- ///
- /// [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)
- ///
- /// [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.
- ///
- /// [excludeTerms] - Identifies a word or phrase that should not appear in any
- /// documents in the search results.
- ///
- /// [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.
- ///
- /// [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.
+ /// [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.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -634,37 +634,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 imgDominantColor,
- core.String cr,
- core.String exactTerms,
- core.String safe,
- core.String imgSize,
- core.int start,
- core.String lr,
- core.String googlehost,
- core.String q,
- core.String hq,
- core.String siteSearch,
- core.String imgColorType,
- core.String linkSite,
- core.String orTerms,
- core.String lowRange,
- core.String highRange,
- core.String fileType,
- core.String hl,
- core.String relatedSite,
- core.String sort,
+ {core.String relatedSite,
core.String cx,
- core.String dateRestrict,
- core.String rights,
- core.String siteSearchFilter,
- core.int num,
- core.String gl,
- core.String c2coff,
- core.String filter,
- core.String excludeTerms,
- core.String searchType,
+ core.String hl,
core.String imgType,
+ core.String siteSearch,
+ core.String lowRange,
+ core.String gl,
+ core.String filter,
+ core.String q,
+ core.String siteSearchFilter,
+ core.String hq,
+ core.int num,
+ core.String orTerms,
+ core.String lr,
+ 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 $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -673,98 +673,98 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body;
- if (imgDominantColor != null) {
- _queryParams["imgDominantColor"] = [imgDominantColor];
- }
- if (cr != null) {
- _queryParams["cr"] = [cr];
- }
- if (exactTerms != null) {
- _queryParams["exactTerms"] = [exactTerms];
- }
- if (safe != null) {
- _queryParams["safe"] = [safe];
- }
- if (imgSize != null) {
- _queryParams["imgSize"] = [imgSize];
- }
- if (start != null) {
- _queryParams["start"] = ["${start}"];
- }
- if (lr != null) {
- _queryParams["lr"] = [lr];
- }
- if (googlehost != null) {
- _queryParams["googlehost"] = [googlehost];
- }
- if (q != null) {
- _queryParams["q"] = [q];
- }
- if (hq != null) {
- _queryParams["hq"] = [hq];
- }
- if (siteSearch != null) {
- _queryParams["siteSearch"] = [siteSearch];
- }
- if (imgColorType != null) {
- _queryParams["imgColorType"] = [imgColorType];
- }
- if (linkSite != null) {
- _queryParams["linkSite"] = [linkSite];
- }
- if (orTerms != null) {
- _queryParams["orTerms"] = [orTerms];
- }
- if (lowRange != null) {
- _queryParams["lowRange"] = [lowRange];
- }
- if (highRange != null) {
- _queryParams["highRange"] = [highRange];
- }
- if (fileType != null) {
- _queryParams["fileType"] = [fileType];
- }
- if (hl != null) {
- _queryParams["hl"] = [hl];
- }
if (relatedSite != null) {
_queryParams["relatedSite"] = [relatedSite];
}
- if (sort != null) {
- _queryParams["sort"] = [sort];
- }
if (cx != null) {
_queryParams["cx"] = [cx];
}
- if (dateRestrict != null) {
- _queryParams["dateRestrict"] = [dateRestrict];
+ if (hl != null) {
+ _queryParams["hl"] = [hl];
}
- if (rights != null) {
- _queryParams["rights"] = [rights];
+ if (imgType != null) {
+ _queryParams["imgType"] = [imgType];
}
- if (siteSearchFilter != null) {
- _queryParams["siteSearchFilter"] = [siteSearchFilter];
+ if (siteSearch != null) {
+ _queryParams["siteSearch"] = [siteSearch];
}
- if (num != null) {
- _queryParams["num"] = ["${num}"];
+ if (lowRange != null) {
+ _queryParams["lowRange"] = [lowRange];
}
if (gl != null) {
_queryParams["gl"] = [gl];
}
- if (c2coff != null) {
- _queryParams["c2coff"] = [c2coff];
- }
if (filter != null) {
_queryParams["filter"] = [filter];
}
- if (excludeTerms != null) {
- _queryParams["excludeTerms"] = [excludeTerms];
+ if (q != null) {
+ _queryParams["q"] = [q];
+ }
+ if (siteSearchFilter != null) {
+ _queryParams["siteSearchFilter"] = [siteSearchFilter];
+ }
+ if (hq != null) {
+ _queryParams["hq"] = [hq];
+ }
+ if (num != null) {
+ _queryParams["num"] = ["${num}"];
+ }
+ if (orTerms != null) {
+ _queryParams["orTerms"] = [orTerms];
+ }
+ if (lr != null) {
+ _queryParams["lr"] = [lr];
+ }
+ 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 (searchType != null) {
_queryParams["searchType"] = [searchType];
}
- if (imgType != null) {
- _queryParams["imgType"] = [imgType];
+ if (fileType != null) {
+ _queryParams["fileType"] = [fileType];
+ }
+ if (highRange != null) {
+ _queryParams["highRange"] = [highRange];
+ }
+ if (exactTerms != null) {
+ _queryParams["exactTerms"] = [exactTerms];
+ }
+ 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 ($fields != null) {
_queryParams["fields"] = [$fields];
diff --git a/generated/googleapis/lib/dataproc/v1.dart b/generated/googleapis/lib/dataproc/v1.dart
index 52e8eb5..b843326 100644
--- a/generated/googleapis/lib/dataproc/v1.dart
+++ b/generated/googleapis/lib/dataproc/v1.dart
@@ -292,12 +292,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. Must be less than or equal to 1000. Defaults to 100.
///
+ /// [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.
///
@@ -309,7 +309,7 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<ListAutoscalingPoliciesResponse> list(core.String parent,
- {core.String pageToken, core.int pageSize, core.String $fields}) {
+ {core.int pageSize, core.String pageToken, core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -320,12 +320,12 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -1404,12 +1404,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. Must be less than or equal to 1000. Defaults to 100.
///
+ /// [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.
///
@@ -1421,7 +1421,7 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<ListAutoscalingPoliciesResponse> list(core.String parent,
- {core.String pageToken, core.int pageSize, core.String $fields}) {
+ {core.int pageSize, core.String pageToken, core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -1432,12 +1432,12 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -1725,9 +1725,6 @@
///
/// [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
@@ -1737,6 +1734,9 @@
/// 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.
///
@@ -1749,7 +1749,7 @@
/// this method will complete with the same error.
async.Future<Operation> delete(
core.String projectId, core.String region, core.String clusterName,
- {core.String clusterUuid, core.String requestId, core.String $fields}) {
+ {core.String requestId, core.String clusterUuid, core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -1766,12 +1766,12 @@
if (clusterName == null) {
throw new core.ArgumentError("Parameter clusterName is required.");
}
- if (clusterUuid != null) {
- _queryParams["clusterUuid"] = [clusterUuid];
- }
if (requestId != null) {
_queryParams["requestId"] = [requestId];
}
+ if (clusterUuid != null) {
+ _queryParams["clusterUuid"] = [clusterUuid];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -1987,6 +1987,8 @@
///
/// [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
@@ -2001,8 +2003,6 @@
/// implicit AND operator.Example filter:status.state = ACTIVE AND clusterName
/// = mycluster AND labels.env = staging AND labels.starred = *
///
- /// [pageToken] - Optional. The standard List page token.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -2015,9 +2015,9 @@
/// this method will complete with the same error.
async.Future<ListClustersResponse> list(
core.String projectId, core.String region,
- {core.int pageSize,
+ {core.String pageToken,
+ core.int pageSize,
core.String filter,
- core.String pageToken,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -2032,15 +2032,15 @@
if (region == null) {
throw new core.ArgumentError("Parameter region is required.");
}
+ 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];
}
@@ -2075,6 +2075,15 @@
///
/// [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
@@ -2085,15 +2094,6 @@
/// (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
@@ -2122,8 +2122,8 @@
/// this method will complete with the same error.
async.Future<Operation> patch(Cluster request, core.String projectId,
core.String region, core.String clusterName,
- {core.String gracefulDecommissionTimeout,
- core.String requestId,
+ {core.String requestId,
+ core.String gracefulDecommissionTimeout,
core.String updateMask,
core.String $fields}) {
var _url;
@@ -2145,14 +2145,14 @@
if (clusterName == null) {
throw new 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];
}
@@ -2553,20 +2553,9 @@
///
/// [region] - Required. The Dataproc region in which to handle the request.
///
- /// [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.
///
- /// [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 =
- /// *
- ///
/// [clusterName] - Optional. If set, the returned jobs list includes only
/// jobs that were submitted to the named cluster.
///
@@ -2580,6 +2569,17 @@
/// - "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.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -2591,11 +2591,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<ListJobsResponse> list(core.String projectId, core.String region,
- {core.int pageSize,
- core.String pageToken,
- core.String filter,
+ {core.String pageToken,
core.String clusterName,
core.String jobStateMatcher,
+ core.String filter,
+ core.int pageSize,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -2610,21 +2610,21 @@
if (region == null) {
throw new core.ArgumentError("Parameter region is required.");
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
- if (filter != null) {
- _queryParams["filter"] = [filter];
- }
if (clusterName != null) {
_queryParams["clusterName"] = [clusterName];
}
if (jobStateMatcher != null) {
_queryParams["jobStateMatcher"] = [jobStateMatcher];
}
+ if (filter != null) {
+ _queryParams["filter"] = [filter];
+ }
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -3170,12 +3170,12 @@
/// [name] - The name of the operation's parent resource.
/// Value must have pattern "^projects/[^/]+/regions/[^/]+/operations$".
///
- /// [filter] - The standard list filter.
- ///
/// [pageToken] - The standard list page token.
///
/// [pageSize] - The standard list page size.
///
+ /// [filter] - The standard list filter.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -3187,9 +3187,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<ListOperationsResponse> list(core.String name,
- {core.String filter,
- core.String pageToken,
+ {core.String pageToken,
core.int pageSize,
+ core.String filter,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -3201,15 +3201,15 @@
if (name == null) {
throw new core.ArgumentError("Parameter name is required.");
}
- if (filter != null) {
- _queryParams["filter"] = [filter];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
+ if (filter != null) {
+ _queryParams["filter"] = [filter];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
diff --git a/generated/googleapis/lib/datastore/v1.dart b/generated/googleapis/lib/datastore/v1.dart
index fb72aa5..b6e9b30 100644
--- a/generated/googleapis/lib/datastore/v1.dart
+++ b/generated/googleapis/lib/datastore/v1.dart
@@ -944,12 +944,12 @@
/// [name] - The name of the operation's parent resource.
/// Value must have pattern "^projects/[^/]+$".
///
- /// [pageSize] - The standard list page size.
- ///
/// [pageToken] - The standard list page token.
///
/// [filter] - The standard list filter.
///
+ /// [pageSize] - The standard list page size.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -961,9 +961,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<GoogleLongrunningListOperationsResponse> list(core.String name,
- {core.int pageSize,
- core.String pageToken,
+ {core.String pageToken,
core.String filter,
+ core.int pageSize,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -975,15 +975,15 @@
if (name == null) {
throw new core.ArgumentError("Parameter name is required.");
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
if (filter != null) {
_queryParams["filter"] = [filter];
}
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
diff --git a/generated/googleapis/lib/deploymentmanager/v2.dart b/generated/googleapis/lib/deploymentmanager/v2.dart
index c67cee6..5252e09 100644
--- a/generated/googleapis/lib/deploymentmanager/v2.dart
+++ b/generated/googleapis/lib/deploymentmanager/v2.dart
@@ -298,6 +298,11 @@
/// 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])?))".
///
+ /// [createPolicy] - Sets the policy to use for creating new resources.
+ /// Possible string values are:
+ /// - "ACQUIRE"
+ /// - "CREATE_OR_ACQUIRE"
+ ///
/// [preview] - If set to true, creates a deployment and creates "shell"
/// resources but does not actually instantiate these resources. This allows
/// you to preview what your deployment looks like. After previewing a
@@ -307,11 +312,6 @@
/// 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.
///
@@ -323,7 +323,7 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<Operation> insert(Deployment request, core.String project,
- {core.bool preview, core.String createPolicy, core.String $fields}) {
+ {core.String createPolicy, core.bool preview, core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -337,12 +337,12 @@
if (project == null) {
throw new core.ArgumentError("Parameter project is required.");
}
- if (preview != null) {
- _queryParams["preview"] = ["${preview}"];
- }
if (createPolicy != null) {
_queryParams["createPolicy"] = [createPolicy];
}
+ if (preview != null) {
+ _queryParams["preview"] = ["${preview}"];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -366,6 +366,28 @@
/// 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
@@ -389,28 +411,6 @@
/// (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true)
/// ```
///
- /// [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.
- ///
- /// [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.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -422,10 +422,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<DeploymentsListResponse> list(core.String project,
- {core.String filter,
- core.String pageToken,
+ {core.String orderBy,
core.int maxResults,
- core.String orderBy,
+ core.String pageToken,
+ core.String filter,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -437,17 +437,17 @@
if (project == null) {
throw new core.ArgumentError("Parameter project is required.");
}
- if (filter != null) {
- _queryParams["filter"] = [filter];
- }
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
+ if (orderBy != null) {
+ _queryParams["orderBy"] = [orderBy];
}
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];
@@ -483,11 +483,6 @@
/// - "ABANDON"
/// - "DELETE"
///
- /// [createPolicy] - Sets the policy to use for creating new resources.
- /// Possible string values are:
- /// - "ACQUIRE"
- /// - "CREATE_OR_ACQUIRE"
- ///
/// [preview] - If set to true, updates the deployment and creates and updates
/// the "shell" resources but does not actually alter or instantiate these
/// resources. This allows you to preview what your deployment will look like.
@@ -499,6 +494,11 @@
/// 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.
///
@@ -512,8 +512,8 @@
async.Future<Operation> patch(
Deployment request, core.String project, core.String deployment,
{core.String deletePolicy,
- core.String createPolicy,
core.bool preview,
+ core.String createPolicy,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -534,12 +534,12 @@
if (deletePolicy != null) {
_queryParams["deletePolicy"] = [deletePolicy];
}
- if (createPolicy != null) {
- _queryParams["createPolicy"] = [createPolicy];
- }
if (preview != null) {
_queryParams["preview"] = ["${preview}"];
}
+ if (createPolicy != null) {
+ _queryParams["createPolicy"] = [createPolicy];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -755,16 +755,16 @@
/// [deployment] - The name of the deployment for this request.
/// Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
///
- /// [deletePolicy] - Sets the policy to use for deleting resources.
- /// Possible string values are:
- /// - "ABANDON"
- /// - "DELETE"
- ///
/// [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"
+ /// - "DELETE"
+ ///
/// [preview] - If set to true, updates the deployment and creates and updates
/// the "shell" resources but does not actually alter or instantiate these
/// resources. This allows you to preview what your deployment will look like.
@@ -788,8 +788,8 @@
/// this method will complete with the same error.
async.Future<Operation> update(
Deployment request, core.String project, core.String deployment,
- {core.String deletePolicy,
- core.String createPolicy,
+ {core.String createPolicy,
+ core.String deletePolicy,
core.bool preview,
core.String $fields}) {
var _url;
@@ -808,12 +808,12 @@
if (deployment == null) {
throw new core.ArgumentError("Parameter deployment is required.");
}
- if (deletePolicy != null) {
- _queryParams["deletePolicy"] = [deletePolicy];
- }
if (createPolicy != null) {
_queryParams["createPolicy"] = [createPolicy];
}
+ if (deletePolicy != null) {
+ _queryParams["deletePolicy"] = [deletePolicy];
+ }
if (preview != null) {
_queryParams["preview"] = ["${preview}"];
}
@@ -919,10 +919,6 @@
/// 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
@@ -958,6 +954,10 @@
/// 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.
///
@@ -971,9 +971,9 @@
async.Future<ManifestsListResponse> list(
core.String project, core.String deployment,
{core.int maxResults,
- core.String pageToken,
core.String filter,
core.String orderBy,
+ core.String pageToken,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -991,15 +991,15 @@
if (maxResults != null) {
_queryParams["maxResults"] = ["${maxResults}"];
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (filter != null) {
_queryParams["filter"] = [filter];
}
if (orderBy != null) {
_queryParams["orderBy"] = [orderBy];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -1084,22 +1084,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.
- ///
- /// [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.
- ///
/// [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
@@ -1123,12 +1107,28 @@
/// (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true)
/// ```
///
+ /// [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.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1140,10 +1140,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<OperationsListResponse> list(core.String project,
- {core.String pageToken,
+ {core.String filter,
core.String orderBy,
- core.String filter,
core.int maxResults,
+ core.String pageToken,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -1155,18 +1155,18 @@
if (project == null) {
throw new core.ArgumentError("Parameter project is required.");
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
+ if (filter != null) {
+ _queryParams["filter"] = [filter];
}
if (orderBy != null) {
_queryParams["orderBy"] = [orderBy];
}
- if (filter != null) {
- _queryParams["filter"] = [filter];
- }
if (maxResults != null) {
_queryParams["maxResults"] = ["${maxResults}"];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -1260,10 +1260,6 @@
/// [deployment] - The name of the deployment for this request.
/// Value must have pattern "[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
@@ -1305,6 +1301,10 @@
/// 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.
///
@@ -1317,10 +1317,10 @@
/// this method will complete with the same error.
async.Future<ResourcesListResponse> list(
core.String project, core.String deployment,
- {core.String pageToken,
- core.String filter,
+ {core.String filter,
core.String orderBy,
core.int maxResults,
+ core.String pageToken,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -1335,9 +1335,6 @@
if (deployment == null) {
throw new core.ArgumentError("Parameter deployment is required.");
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (filter != null) {
_queryParams["filter"] = [filter];
}
@@ -1347,6 +1344,9 @@
if (maxResults != null) {
_queryParams["maxResults"] = ["${maxResults}"];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -1379,28 +1379,10 @@
/// 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.
- ///
/// [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.
///
- /// [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
@@ -1424,6 +1406,24 @@
/// (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true)
/// ```
///
+ /// [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`)
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1435,10 +1435,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<TypesListResponse> list(core.String project,
- {core.String orderBy,
- core.String pageToken,
- core.int maxResults,
+ {core.String pageToken,
core.String filter,
+ core.String orderBy,
+ core.int maxResults,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -1450,18 +1450,18 @@
if (project == null) {
throw new core.ArgumentError("Parameter project is required.");
}
- if (orderBy != null) {
- _queryParams["orderBy"] = [orderBy];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
- if (maxResults != null) {
- _queryParams["maxResults"] = ["${maxResults}"];
- }
if (filter != null) {
_queryParams["filter"] = [filter];
}
+ if (orderBy != null) {
+ _queryParams["orderBy"] = [orderBy];
+ }
+ if (maxResults != null) {
+ _queryParams["maxResults"] = ["${maxResults}"];
+ }
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 09b0492..5c11461 100644
--- a/generated/googleapis/lib/dfareporting/v3_4.dart
+++ b/generated/googleapis/lib/dfareporting/v3_4.dart
@@ -533,16 +533,27 @@
///
/// [profileId] - User profile ID associated with this request.
///
- /// [sortField] - Field by which to sort the list.
- /// Possible string values are:
- /// - "ID"
- /// - "NAME"
+ /// [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.
+ ///
+ /// [ids] - Select only user profiles with these IDs.
+ ///
+ /// [sortField] - Field by which to sort the list.
+ /// Possible string values are:
+ /// - "ID"
+ /// - "NAME"
+ ///
+ /// [active] - Select only active user profiles.
+ ///
/// [searchString] - Allows searching for objects by name, ID or email.
/// Wildcards (*) are allowed. For example, "user profile*2015" will return
/// objects with names like "user profile June 2015", "user profile April
@@ -554,17 +565,6 @@
/// [maxResults] - Maximum number of results to return.
/// Value must be between "0" and "1000".
///
- /// [ids] - Select only user profiles with these IDs.
- ///
- /// [subaccountId] - Select only user profiles with the specified subaccount
- /// ID.
- ///
- /// [userRoleId] - Select only user profiles with the specified user role ID.
- ///
- /// [active] - Select only active user profiles.
- ///
- /// [pageToken] - Value of the nextPageToken from the previous result page.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -576,15 +576,15 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<AccountUserProfilesListResponse> list(core.String profileId,
- {core.String sortField,
+ {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.int maxResults,
- core.List<core.String> ids,
- core.String subaccountId,
- core.String userRoleId,
- core.bool active,
- core.String pageToken,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -596,33 +596,33 @@
if (profileId == null) {
throw new core.ArgumentError("Parameter profileId is required.");
}
- if (sortField != null) {
- _queryParams["sortField"] = [sortField];
+ 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 (ids != null) {
+ _queryParams["ids"] = ids;
+ }
+ if (sortField != null) {
+ _queryParams["sortField"] = [sortField];
+ }
+ if (active != null) {
+ _queryParams["active"] = ["${active}"];
+ }
if (searchString != null) {
_queryParams["searchString"] = [searchString];
}
if (maxResults != null) {
_queryParams["maxResults"] = ["${maxResults}"];
}
- if (ids != null) {
- _queryParams["ids"] = ids;
- }
- if (subaccountId != null) {
- _queryParams["subaccountId"] = [subaccountId];
- }
- if (userRoleId != null) {
- _queryParams["userRoleId"] = [userRoleId];
- }
- if (active != null) {
- _queryParams["active"] = ["${active}"];
- }
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -814,13 +814,7 @@
///
/// [profileId] - User profile ID associated with this request.
///
- /// [maxResults] - Maximum number of results to return.
- /// Value must be between "0" and "1000".
- ///
- /// [sortOrder] - Order of sorted results.
- /// Possible string values are:
- /// - "ASCENDING"
- /// - "DESCENDING"
+ /// [pageToken] - Value of the nextPageToken from the previous result page.
///
/// [searchString] - Allows searching for objects by name or ID. Wildcards (*)
/// are allowed. For example, "account*2015" will return objects with names
@@ -829,15 +823,21 @@
/// end of the search string. For example, a search string of "account" will
/// match objects with name "my account", "account 2015", or simply "account".
///
- /// [pageToken] - Value of the nextPageToken from the previous result page.
- ///
/// [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".
+ ///
/// [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.
///
@@ -852,12 +852,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<AccountsListResponse> list(core.String profileId,
- {core.int maxResults,
- core.String sortOrder,
+ {core.String pageToken,
core.String searchString,
- core.String pageToken,
core.String sortField,
+ core.int maxResults,
core.List<core.String> ids,
+ core.String sortOrder,
core.bool active,
core.String $fields}) {
var _url;
@@ -870,24 +870,24 @@
if (profileId == null) {
throw new core.ArgumentError("Parameter profileId is required.");
}
- if (maxResults != null) {
- _queryParams["maxResults"] = ["${maxResults}"];
- }
- if (sortOrder != null) {
- _queryParams["sortOrder"] = [sortOrder];
+ 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 (maxResults != null) {
+ _queryParams["maxResults"] = ["${maxResults}"];
+ }
if (ids != null) {
_queryParams["ids"] = ids;
}
+ if (sortOrder != null) {
+ _queryParams["sortOrder"] = [sortOrder];
+ }
if (active != null) {
_queryParams["active"] = ["${active}"];
}
@@ -1127,47 +1127,15 @@
///
/// [profileId] - User profile ID associated with this request.
///
+ /// [placementIds] - Select only ads with these placement IDs assigned.
+ ///
+ /// [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.
///
- /// [overriddenEventTagId] - Select only ads with this event tag override ID.
- ///
- /// [maxResults] - Maximum number of results to return.
- /// Value must be between "0" and "1000".
- ///
- /// [placementIds] - Select only ads with these placement IDs assigned.
- ///
- /// [remarketingListIds] - Select only ads whose list targeting expression use
- /// these remarketing list IDs.
- ///
- /// [pageToken] - Value of the nextPageToken from the previous result page.
- ///
- /// [campaignIds] - Select only ads with these campaign IDs.
- ///
- /// [audienceSegmentIds] - Select only ads with these audience segment IDs.
- ///
- /// [creativeOptimizationConfigurationIds] - Select only ads with these
- /// creative optimization configuration IDs.
- ///
- /// [active] - Select only active ads.
- ///
- /// [advertiserId] - Select only ads with this advertiser ID.
- ///
- /// [ids] - Select only ads with these IDs.
- ///
- /// [archived] - Select only archived ads.
- ///
- /// [landingPageIds] - Select only ads with these landing page IDs.
- ///
- /// [sortField] - Field by which to sort the list.
- /// Possible string values are:
- /// - "ID"
- /// - "NAME"
- ///
- /// [sslCompliant] - Select only ads that are SSL-compliant.
- ///
/// [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
@@ -1182,11 +1150,51 @@
/// - "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.
+ ///
+ /// [creativeOptimizationConfigurationIds] - Select only ads with these
+ /// creative optimization configuration IDs.
+ ///
+ /// [advertiserId] - Select only ads with this advertiser ID.
+ ///
+ /// [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.
+ ///
+ /// [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, "ad*2015" will return objects with names like
/// "ad June 2015", "ad April 2015", or simply "ad 2015". Most of the searches
@@ -1194,14 +1202,6 @@
/// 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.
- ///
- /// [creativeIds] - Select only ads with these creative IDs assigned.
- ///
- /// [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.
///
@@ -1213,29 +1213,29 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<AdsListResponse> list(core.String profileId,
- {core.bool dynamicClickTracker,
- core.String overriddenEventTagId,
- core.int maxResults,
- core.List<core.String> placementIds,
- core.List<core.String> remarketingListIds,
- core.String pageToken,
+ {core.List<core.String> placementIds,
core.List<core.String> campaignIds,
- core.List<core.String> audienceSegmentIds,
- core.List<core.String> creativeOptimizationConfigurationIds,
- core.bool active,
- core.String advertiserId,
- core.List<core.String> ids,
- core.bool archived,
- core.List<core.String> landingPageIds,
- core.String sortField,
- core.bool sslCompliant,
+ core.bool dynamicClickTracker,
core.String compatibility,
- core.String sortOrder,
- core.String searchString,
- core.List<core.String> sizeIds,
- core.List<core.String> creativeIds,
- core.bool sslRequired,
core.List<core.String> type,
+ core.List<core.String> ids,
+ core.String sortOrder,
+ 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> creativeIds,
+ core.String overriddenEventTagId,
+ core.bool sslRequired,
+ core.String sortField,
+ core.String searchString,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -1247,75 +1247,75 @@
if (profileId == null) {
throw new core.ArgumentError("Parameter profileId is required.");
}
- if (dynamicClickTracker != null) {
- _queryParams["dynamicClickTracker"] = ["${dynamicClickTracker}"];
- }
- if (overriddenEventTagId != null) {
- _queryParams["overriddenEventTagId"] = [overriddenEventTagId];
- }
- if (maxResults != null) {
- _queryParams["maxResults"] = ["${maxResults}"];
- }
if (placementIds != null) {
_queryParams["placementIds"] = placementIds;
}
- if (remarketingListIds != null) {
- _queryParams["remarketingListIds"] = remarketingListIds;
- }
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
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 (archived != null) {
+ _queryParams["archived"] = ["${archived}"];
+ }
if (audienceSegmentIds != null) {
_queryParams["audienceSegmentIds"] = audienceSegmentIds;
}
+ if (active != null) {
+ _queryParams["active"] = ["${active}"];
+ }
+ if (remarketingListIds != null) {
+ _queryParams["remarketingListIds"] = remarketingListIds;
+ }
+ if (sizeIds != null) {
+ _queryParams["sizeIds"] = sizeIds;
+ }
if (creativeOptimizationConfigurationIds != null) {
_queryParams["creativeOptimizationConfigurationIds"] =
creativeOptimizationConfigurationIds;
}
- if (active != null) {
- _queryParams["active"] = ["${active}"];
- }
if (advertiserId != null) {
_queryParams["advertiserId"] = [advertiserId];
}
- if (ids != null) {
- _queryParams["ids"] = ids;
+ if (maxResults != null) {
+ _queryParams["maxResults"] = ["${maxResults}"];
}
- if (archived != null) {
- _queryParams["archived"] = ["${archived}"];
- }
- if (landingPageIds != null) {
- _queryParams["landingPageIds"] = landingPageIds;
- }
- if (sortField != null) {
- _queryParams["sortField"] = [sortField];
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
}
if (sslCompliant != null) {
_queryParams["sslCompliant"] = ["${sslCompliant}"];
}
- if (compatibility != null) {
- _queryParams["compatibility"] = [compatibility];
- }
- if (sortOrder != null) {
- _queryParams["sortOrder"] = [sortOrder];
- }
- if (searchString != null) {
- _queryParams["searchString"] = [searchString];
- }
- if (sizeIds != null) {
- _queryParams["sizeIds"] = sizeIds;
+ if (landingPageIds != null) {
+ _queryParams["landingPageIds"] = landingPageIds;
}
if (creativeIds != null) {
_queryParams["creativeIds"] = creativeIds;
}
+ if (overriddenEventTagId != null) {
+ _queryParams["overriddenEventTagId"] = [overriddenEventTagId];
+ }
if (sslRequired != null) {
_queryParams["sslRequired"] = ["${sslRequired}"];
}
- if (type != null) {
- _queryParams["type"] = type;
+ if (sortField != null) {
+ _queryParams["sortField"] = [sortField];
+ }
+ if (searchString != null) {
+ _queryParams["searchString"] = [searchString];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -1612,8 +1612,6 @@
/// search string of "advertisergroup" will match objects with name "my
/// advertisergroup", "advertisergroup 2015", or simply "advertisergroup".
///
- /// [pageToken] - Value of the nextPageToken from the previous result page.
- ///
/// [maxResults] - Maximum number of results to return.
/// Value must be between "0" and "1000".
///
@@ -1629,6 +1627,8 @@
/// - "ID"
/// - "NAME"
///
+ /// [pageToken] - Value of the nextPageToken from the previous result page.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1641,11 +1641,11 @@
/// this method will complete with the same error.
async.Future<AdvertiserGroupsListResponse> list(core.String profileId,
{core.String searchString,
- core.String pageToken,
core.int maxResults,
core.List<core.String> ids,
core.String sortOrder,
core.String sortField,
+ core.String pageToken,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -1660,9 +1660,6 @@
if (searchString != null) {
_queryParams["searchString"] = [searchString];
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (maxResults != null) {
_queryParams["maxResults"] = ["${maxResults}"];
}
@@ -1675,6 +1672,9 @@
if (sortField != null) {
_queryParams["sortField"] = [sortField];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -1916,6 +1916,29 @@
///
/// [profileId] - User profile ID associated with this request.
///
+ /// [subaccountId] - Select only landing pages that belong to this subaccount.
+ ///
+ /// [campaignIds] - Select only landing pages that are associated with these
+ /// campaigns.
+ ///
+ /// [sortOrder] - Order of sorted results.
+ /// Possible string values are:
+ /// - "ASCENDING"
+ /// - "DESCENDING"
+ ///
+ /// [advertiserIds] - Select only landing pages that belong to these
+ /// advertisers.
+ ///
+ /// [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
@@ -1924,33 +1947,10 @@
/// example, a search string of "landingpage" will match campaigns with name
/// "my landingpage", "landingpage 2015", or simply "landingpage".
///
- /// [campaignIds] - Select only landing pages that are associated with these
- /// campaigns.
- ///
- /// [archived] - Select only archived landing pages. Don't set this field to
- /// select both archived and non-archived landing pages.
- ///
- /// [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 landing pages that belong to this subaccount.
- ///
- /// [ids] - Select only landing pages with these IDs.
- ///
/// [maxResults] - Maximum number of results to return.
/// Value must be between "0" and "1000".
///
- /// [advertiserIds] - Select only landing pages that belong to these
- /// advertisers.
- ///
- /// [pageToken] - Value of the nextPageToken from the previous result page.
+ /// [ids] - Select only landing pages with these IDs.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -1963,16 +1963,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<AdvertiserLandingPagesListResponse> list(core.String profileId,
- {core.String searchString,
+ {core.String subaccountId,
core.List<core.String> campaignIds,
- core.bool archived,
- core.String sortField,
core.String sortOrder,
- core.String subaccountId,
- core.List<core.String> ids,
- core.int maxResults,
core.List<core.String> advertiserIds,
core.String pageToken,
+ core.String sortField,
+ core.bool archived,
+ core.String searchString,
+ core.int maxResults,
+ core.List<core.String> ids,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -1984,36 +1984,36 @@
if (profileId == null) {
throw new core.ArgumentError("Parameter profileId is required.");
}
- if (searchString != null) {
- _queryParams["searchString"] = [searchString];
+ if (subaccountId != null) {
+ _queryParams["subaccountId"] = [subaccountId];
}
if (campaignIds != null) {
_queryParams["campaignIds"] = campaignIds;
}
- if (archived != null) {
- _queryParams["archived"] = ["${archived}"];
- }
- if (sortField != null) {
- _queryParams["sortField"] = [sortField];
- }
if (sortOrder != null) {
_queryParams["sortOrder"] = [sortOrder];
}
- if (subaccountId != null) {
- _queryParams["subaccountId"] = [subaccountId];
- }
- if (ids != null) {
- _queryParams["ids"] = ids;
- }
- if (maxResults != null) {
- _queryParams["maxResults"] = ["${maxResults}"];
- }
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 (maxResults != null) {
+ _queryParams["maxResults"] = ["${maxResults}"];
+ }
+ if (ids != null) {
+ _queryParams["ids"] = ids;
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -2254,13 +2254,28 @@
///
/// [profileId] - User profile ID associated with this request.
///
- /// [floodlightConfigurationIds] - Select only advertisers with these
- /// floodlight configuration IDs.
+ /// [maxResults] - Maximum number of results to return.
+ /// Value must be between "0" and "1000".
+ ///
+ /// [subaccountId] - Select only advertisers with these subaccount IDs.
+ ///
+ /// [ids] - Select only advertisers with these IDs.
+ ///
+ /// [sortOrder] - Order of sorted results.
+ /// Possible string values are:
+ /// - "ASCENDING"
+ /// - "DESCENDING"
+ ///
+ /// [status] - Select only advertisers with the specified status.
+ /// Possible string values are:
+ /// - "APPROVED"
+ /// - "ON_HOLD"
///
/// [onlyParent] - Select only advertisers which use another advertiser's
/// floodlight configuration.
///
- /// [ids] - Select only advertisers with these IDs.
+ /// [floodlightConfigurationIds] - Select only advertisers with these
+ /// floodlight configuration IDs.
///
/// [sortField] - Field by which to sort the list.
/// Possible string values are:
@@ -2275,26 +2290,11 @@
/// of "advertiser" will match objects with name "my advertiser", "advertiser
/// 2015", or simply "advertiser" .
///
- /// [subaccountId] - Select only advertisers with these subaccount IDs.
- ///
/// [advertiserGroupIds] - Select only advertisers with these advertiser group
/// IDs.
///
/// [pageToken] - Value of the nextPageToken from the previous result page.
///
- /// [sortOrder] - Order of sorted results.
- /// Possible string values are:
- /// - "ASCENDING"
- /// - "DESCENDING"
- ///
- /// [maxResults] - Maximum number of results to return.
- /// Value must be between "0" and "1000".
- ///
- /// [status] - Select only advertisers with the specified status.
- /// Possible string values are:
- /// - "APPROVED"
- /// - "ON_HOLD"
- ///
/// [includeAdvertisersWithoutGroupsOnly] - Select only advertisers which do
/// not belong to any advertiser group.
///
@@ -2309,17 +2309,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<AdvertisersListResponse> list(core.String profileId,
- {core.List<core.String> floodlightConfigurationIds,
- core.bool onlyParent,
+ {core.int maxResults,
+ core.String subaccountId,
core.List<core.String> ids,
+ core.String sortOrder,
+ core.String status,
+ core.bool onlyParent,
+ core.List<core.String> floodlightConfigurationIds,
core.String sortField,
core.String searchString,
- core.String subaccountId,
core.List<core.String> advertiserGroupIds,
core.String pageToken,
- core.String sortOrder,
- core.int maxResults,
- core.String status,
core.bool includeAdvertisersWithoutGroupsOnly,
core.String $fields}) {
var _url;
@@ -2332,14 +2332,26 @@
if (profileId == null) {
throw new core.ArgumentError("Parameter profileId is required.");
}
- if (floodlightConfigurationIds != null) {
- _queryParams["floodlightConfigurationIds"] = floodlightConfigurationIds;
+ if (maxResults != null) {
+ _queryParams["maxResults"] = ["${maxResults}"];
+ }
+ if (subaccountId != null) {
+ _queryParams["subaccountId"] = [subaccountId];
+ }
+ if (ids != null) {
+ _queryParams["ids"] = ids;
+ }
+ if (sortOrder != null) {
+ _queryParams["sortOrder"] = [sortOrder];
+ }
+ if (status != null) {
+ _queryParams["status"] = [status];
}
if (onlyParent != null) {
_queryParams["onlyParent"] = ["${onlyParent}"];
}
- if (ids != null) {
- _queryParams["ids"] = ids;
+ if (floodlightConfigurationIds != null) {
+ _queryParams["floodlightConfigurationIds"] = floodlightConfigurationIds;
}
if (sortField != null) {
_queryParams["sortField"] = [sortField];
@@ -2347,24 +2359,12 @@
if (searchString != null) {
_queryParams["searchString"] = [searchString];
}
- if (subaccountId != null) {
- _queryParams["subaccountId"] = [subaccountId];
- }
if (advertiserGroupIds != null) {
_queryParams["advertiserGroupIds"] = advertiserGroupIds;
}
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
- if (sortOrder != null) {
- _queryParams["sortOrder"] = [sortOrder];
- }
- if (maxResults != null) {
- _queryParams["maxResults"] = ["${maxResults}"];
- }
- if (status != null) {
- _queryParams["status"] = [status];
- }
if (includeAdvertisersWithoutGroupsOnly != null) {
_queryParams["includeAdvertisersWithoutGroupsOnly"] = [
"${includeAdvertisersWithoutGroupsOnly}"
@@ -2627,13 +2627,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.
///
@@ -2647,8 +2647,8 @@
async.Future<CampaignCreativeAssociationsListResponse> list(
core.String profileId, core.String campaignId,
{core.int maxResults,
- core.String pageToken,
core.String sortOrder,
+ core.String pageToken,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -2666,12 +2666,12 @@
if (maxResults != null) {
_queryParams["maxResults"] = ["${maxResults}"];
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (sortOrder != null) {
_queryParams["sortOrder"] = [sortOrder];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -2806,18 +2806,28 @@
///
/// [profileId] - User profile ID associated with this request.
///
- /// [sortOrder] - Order of sorted results.
- /// Possible string values are:
- /// - "ASCENDING"
- /// - "DESCENDING"
+ /// [maxResults] - Maximum number of results to return.
+ /// Value must be between "0" and "1000".
///
- /// [subaccountId] - Select only campaigns that belong to this subaccount.
+ /// [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.
///
- /// [advertiserGroupIds] - Select only campaigns whose advertisers belong to
- /// these advertiser groups.
+ /// [excludedIds] - Exclude campaigns with these IDs.
+ ///
+ /// [sortOrder] - Order of sorted results.
+ /// Possible string values are:
+ /// - "ASCENDING"
+ /// - "DESCENDING"
///
/// [searchString] - Allows searching for campaigns by name or ID. Wildcards
/// (*) are allowed. For example, "campaign*2015" will return campaigns with
@@ -2827,27 +2837,17 @@
/// "campaign" will match campaigns with name "my campaign", "campaign 2015",
/// or simply "campaign".
///
- /// [ids] - Select only campaigns with these IDs.
- ///
- /// [excludedIds] - Exclude campaigns with these IDs.
- ///
- /// [sortField] - Field by which to sort the list.
- /// Possible string values are:
- /// - "ID"
- /// - "NAME"
- ///
- /// [pageToken] - Value of the nextPageToken from the previous result page.
- ///
- /// [maxResults] - Maximum number of results to return.
- /// Value must be between "0" and "1000".
- ///
- /// [advertiserIds] - Select only campaigns that belong to these advertisers.
+ /// [advertiserGroupIds] - Select only campaigns whose advertisers belong to
+ /// these advertiser groups.
///
/// [overriddenEventTagId] - Select only campaigns that have overridden this
/// event tag ID.
///
- /// [archived] - Select only archived campaigns. Don't set this field to
- /// select both archived and non-archived campaigns.
+ /// [pageToken] - Value of the nextPageToken from the previous result page.
+ ///
+ /// [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.
@@ -2860,19 +2860,19 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<CampaignsListResponse> list(core.String profileId,
- {core.String sortOrder,
- core.String subaccountId,
- core.bool atLeastOneOptimizationActivity,
- core.List<core.String> advertiserGroupIds,
- core.String searchString,
- core.List<core.String> ids,
- core.List<core.String> excludedIds,
- core.String sortField,
- core.String pageToken,
- core.int maxResults,
- core.List<core.String> advertiserIds,
- core.String overriddenEventTagId,
+ {core.int maxResults,
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.String overriddenEventTagId,
+ core.String pageToken,
+ core.String subaccountId,
+ core.List<core.String> advertiserIds,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -2884,46 +2884,46 @@
if (profileId == null) {
throw new core.ArgumentError("Parameter profileId is required.");
}
- if (sortOrder != null) {
- _queryParams["sortOrder"] = [sortOrder];
+ if (maxResults != null) {
+ _queryParams["maxResults"] = ["${maxResults}"];
}
- if (subaccountId != null) {
- _queryParams["subaccountId"] = [subaccountId];
+ if (archived != null) {
+ _queryParams["archived"] = ["${archived}"];
+ }
+ if (sortField != null) {
+ _queryParams["sortField"] = [sortField];
+ }
+ if (ids != null) {
+ _queryParams["ids"] = ids;
}
if (atLeastOneOptimizationActivity != null) {
_queryParams["atLeastOneOptimizationActivity"] = [
"${atLeastOneOptimizationActivity}"
];
}
- if (advertiserGroupIds != null) {
- _queryParams["advertiserGroupIds"] = advertiserGroupIds;
+ if (excludedIds != null) {
+ _queryParams["excludedIds"] = excludedIds;
+ }
+ if (sortOrder != null) {
+ _queryParams["sortOrder"] = [sortOrder];
}
if (searchString != null) {
_queryParams["searchString"] = [searchString];
}
- if (ids != null) {
- _queryParams["ids"] = ids;
- }
- if (excludedIds != null) {
- _queryParams["excludedIds"] = excludedIds;
- }
- if (sortField != null) {
- _queryParams["sortField"] = [sortField];
- }
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
- if (maxResults != null) {
- _queryParams["maxResults"] = ["${maxResults}"];
- }
- if (advertiserIds != null) {
- _queryParams["advertiserIds"] = advertiserIds;
+ if (advertiserGroupIds != null) {
+ _queryParams["advertiserGroupIds"] = advertiserGroupIds;
}
if (overriddenEventTagId != null) {
_queryParams["overriddenEventTagId"] = [overriddenEventTagId];
}
- if (archived != null) {
- _queryParams["archived"] = ["${archived}"];
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
+ if (subaccountId != null) {
+ _queryParams["subaccountId"] = [subaccountId];
+ }
+ if (advertiserIds != null) {
+ _queryParams["advertiserIds"] = advertiserIds;
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -3132,20 +3132,6 @@
/// - "ACTION_EMAIL_TAGS"
/// - "ACTION_SHARE"
///
- /// [searchString] - Select only change logs whose object ID, user name, old
- /// or new values match the search string.
- ///
- /// [pageToken] - Value of the nextPageToken from the previous result page.
- ///
- /// [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.
- ///
- /// [ids] - Select only change logs with these IDs.
- ///
/// [objectType] - Select only change logs with the specified object type.
/// Possible string values are:
/// - "OBJECT_ADVERTISER"
@@ -3189,10 +3175,6 @@
/// - "OBJECT_SEARCH_LIFT_STUDY"
/// - "OBJECT_FLOODLIGHT_DV360_LINK"
///
- /// [objectIds] - Select only change logs with these object IDs.
- ///
- /// [userProfileIds] - Select only change logs with these user profile 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
@@ -3200,9 +3182,27 @@
/// 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.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -3215,15 +3215,15 @@
/// this method will complete with the same error.
async.Future<ChangeLogsListResponse> list(core.String profileId,
{core.String action,
- core.String searchString,
- core.String pageToken,
- core.String minChangeTime,
- core.List<core.String> ids,
core.String objectType,
+ core.String maxChangeTime,
core.List<core.String> objectIds,
core.List<core.String> userProfileIds,
- core.String maxChangeTime,
core.int maxResults,
+ core.String minChangeTime,
+ core.String pageToken,
+ core.String searchString,
+ core.List<core.String> ids,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -3238,33 +3238,33 @@
if (action != null) {
_queryParams["action"] = [action];
}
- if (searchString != null) {
- _queryParams["searchString"] = [searchString];
- }
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
- if (minChangeTime != null) {
- _queryParams["minChangeTime"] = [minChangeTime];
- }
- if (ids != null) {
- _queryParams["ids"] = ids;
- }
if (objectType != null) {
_queryParams["objectType"] = [objectType];
}
+ if (maxChangeTime != null) {
+ _queryParams["maxChangeTime"] = [maxChangeTime];
+ }
if (objectIds != null) {
_queryParams["objectIds"] = objectIds;
}
if (userProfileIds != null) {
_queryParams["userProfileIds"] = userProfileIds;
}
- if (maxChangeTime != null) {
- _queryParams["maxChangeTime"] = [maxChangeTime];
- }
if (maxResults != null) {
_queryParams["maxResults"] = ["${maxResults}"];
}
+ if (minChangeTime != null) {
+ _queryParams["minChangeTime"] = [minChangeTime];
+ }
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
+ if (searchString != null) {
+ _queryParams["searchString"] = [searchString];
+ }
+ if (ids != null) {
+ _queryParams["ids"] = ids;
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -3294,12 +3294,12 @@
///
/// [profileId] - User profile ID associated with this request.
///
- /// [dartIds] - Select only cities with these DART IDs.
- ///
/// [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.
+ ///
/// [regionDartIds] - Select only cities from these regions.
///
/// [$fields] - Selector specifying which fields to include in a partial
@@ -3313,9 +3313,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<CitiesListResponse> list(core.String profileId,
- {core.List<core.String> dartIds,
- core.List<core.String> countryDartIds,
+ {core.List<core.String> countryDartIds,
core.String namePrefix,
+ core.List<core.String> dartIds,
core.List<core.String> regionDartIds,
core.String $fields}) {
var _url;
@@ -3328,15 +3328,15 @@
if (profileId == null) {
throw new core.ArgumentError("Parameter profileId is required.");
}
- if (dartIds != null) {
- _queryParams["dartIds"] = dartIds;
- }
if (countryDartIds != null) {
_queryParams["countryDartIds"] = countryDartIds;
}
if (namePrefix != null) {
_queryParams["namePrefix"] = [namePrefix];
}
+ if (dartIds != null) {
+ _queryParams["dartIds"] = dartIds;
+ }
if (regionDartIds != null) {
_queryParams["regionDartIds"] = regionDartIds;
}
@@ -3627,10 +3627,10 @@
///
/// [profileId] - User profile ID associated with this request.
///
- /// [sortField] - Field by which to sort the list.
+ /// [sortOrder] - Order of sorted results.
/// Possible string values are:
- /// - "ID"
- /// - "NAME"
+ /// - "ASCENDING"
+ /// - "DESCENDING"
///
/// [searchString] - Allows searching for objects by name or ID. Wildcards (*)
/// are allowed. For example, "contentcategory*2015" will return objects with
@@ -3643,14 +3643,14 @@
/// [maxResults] - Maximum number of results to return.
/// Value must be between "0" and "1000".
///
- /// [ids] - Select only content categories with these IDs.
- ///
/// [pageToken] - Value of the nextPageToken from the previous result page.
///
- /// [sortOrder] - Order of sorted results.
+ /// [sortField] - Field by which to sort the list.
/// Possible string values are:
- /// - "ASCENDING"
- /// - "DESCENDING"
+ /// - "ID"
+ /// - "NAME"
+ ///
+ /// [ids] - Select only content categories with these IDs.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -3663,12 +3663,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<ContentCategoriesListResponse> list(core.String profileId,
- {core.String sortField,
+ {core.String sortOrder,
core.String searchString,
core.int maxResults,
- core.List<core.String> ids,
core.String pageToken,
- core.String sortOrder,
+ core.String sortField,
+ core.List<core.String> ids,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -3680,8 +3680,8 @@
if (profileId == null) {
throw new core.ArgumentError("Parameter profileId is required.");
}
- if (sortField != null) {
- _queryParams["sortField"] = [sortField];
+ if (sortOrder != null) {
+ _queryParams["sortOrder"] = [sortOrder];
}
if (searchString != null) {
_queryParams["searchString"] = [searchString];
@@ -3689,14 +3689,14 @@
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 (sortField != null) {
+ _queryParams["sortField"] = [sortField];
+ }
+ if (ids != null) {
+ _queryParams["ids"] = ids;
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -4306,26 +4306,26 @@
///
/// [creativeFieldId] - Creative field ID for this creative field value.
///
- /// [sortOrder] - Order of sorted results.
- /// Possible string values are:
- /// - "ASCENDING"
- /// - "DESCENDING"
- ///
- /// [maxResults] - Maximum number of results to return.
- /// Value must be between "0" and "1000".
- ///
/// [searchString] - Allows searching for creative field values by their
/// values. Wildcards (e.g. *) are not allowed.
///
- /// [pageToken] - Value of the nextPageToken from the previous result page.
- ///
/// [sortField] - Field by which to sort the list.
/// Possible string values are:
/// - "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"
+ /// - "DESCENDING"
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -4338,12 +4338,12 @@
/// this method will complete with the same error.
async.Future<CreativeFieldValuesListResponse> list(
core.String profileId, core.String creativeFieldId,
- {core.String sortOrder,
- core.int maxResults,
- core.String searchString,
- core.String pageToken,
+ {core.String searchString,
core.String sortField,
+ core.int maxResults,
+ core.String pageToken,
core.List<core.String> ids,
+ core.String sortOrder,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -4358,24 +4358,24 @@
if (creativeFieldId == null) {
throw new core.ArgumentError("Parameter creativeFieldId is required.");
}
- if (sortOrder != null) {
- _queryParams["sortOrder"] = [sortOrder];
- }
- if (maxResults != null) {
- _queryParams["maxResults"] = ["${maxResults}"];
- }
if (searchString != null) {
_queryParams["searchString"] = [searchString];
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (sortField != null) {
_queryParams["sortField"] = [sortField];
}
+ if (maxResults != null) {
+ _queryParams["maxResults"] = ["${maxResults}"];
+ }
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
if (ids != null) {
_queryParams["ids"] = ids;
}
+ if (sortOrder != null) {
+ _queryParams["sortOrder"] = [sortOrder];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -4685,19 +4685,6 @@
///
/// [profileId] - User profile ID associated with this request.
///
- /// [advertiserIds] - Select only creative fields that belong to these
- /// advertisers.
- ///
- /// [maxResults] - Maximum number of results to return.
- /// Value must be between "0" and "1000".
- ///
- /// [sortOrder] - Order of sorted results.
- /// Possible string values are:
- /// - "ASCENDING"
- /// - "DESCENDING"
- ///
- /// [ids] - Select only creative fields with these IDs.
- ///
/// [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
@@ -4709,11 +4696,24 @@
///
/// [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.
///
@@ -4725,13 +4725,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<CreativeFieldsListResponse> list(core.String profileId,
- {core.List<core.String> advertiserIds,
+ {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.String searchString,
- core.String pageToken,
- core.String sortField,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -4743,27 +4743,27 @@
if (profileId == null) {
throw new core.ArgumentError("Parameter profileId is required.");
}
- if (advertiserIds != null) {
- _queryParams["advertiserIds"] = advertiserIds;
- }
- if (maxResults != null) {
- _queryParams["maxResults"] = ["${maxResults}"];
- }
- if (sortOrder != null) {
- _queryParams["sortOrder"] = [sortOrder];
- }
- if (ids != null) {
- _queryParams["ids"] = ids;
- }
if (searchString != null) {
_queryParams["searchString"] = [searchString];
}
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (maxResults != null) {
+ _queryParams["maxResults"] = ["${maxResults}"];
+ }
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];
}
@@ -5005,8 +5005,22 @@
///
/// [profileId] - User profile ID associated with this request.
///
+ /// [maxResults] - Maximum number of results to return.
+ /// Value must be between "0" and "1000".
+ ///
+ /// [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.
+ ///
/// [searchString] - Allows searching for creative groups by name or ID.
/// Wildcards (*) are allowed. For example, "creativegroup*2015" will return
/// creative groups with names like "creativegroup June 2015", "creativegroup
@@ -5016,27 +5030,13 @@
/// with the name "my creativegroup", "creativegroup 2015", or simply
/// "creativegroup".
///
+ /// [pageToken] - Value of the nextPageToken from the previous result page.
+ ///
/// [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"
- ///
- /// [groupNumber] - Select only creative groups that belong to this subgroup.
- /// Value must be between "1" and "2".
- ///
- /// [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.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -5048,14 +5048,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<CreativeGroupsListResponse> list(core.String profileId,
- {core.List<core.String> ids,
- core.String searchString,
- core.String sortOrder,
- core.String sortField,
+ {core.int maxResults,
core.int groupNumber,
+ core.String sortField,
+ core.List<core.String> ids,
core.List<core.String> advertiserIds,
- core.int maxResults,
+ core.String searchString,
core.String pageToken,
+ core.String sortOrder,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -5067,30 +5067,30 @@
if (profileId == null) {
throw new core.ArgumentError("Parameter profileId is required.");
}
- if (ids != null) {
- _queryParams["ids"] = ids;
- }
- if (searchString != null) {
- _queryParams["searchString"] = [searchString];
- }
- if (sortOrder != null) {
- _queryParams["sortOrder"] = [sortOrder];
- }
- if (sortField != null) {
- _queryParams["sortField"] = [sortField];
+ if (maxResults != null) {
+ _queryParams["maxResults"] = ["${maxResults}"];
}
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 (searchString != null) {
+ _queryParams["searchString"] = [searchString];
}
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (sortOrder != null) {
+ _queryParams["sortOrder"] = [sortOrder];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -5331,8 +5331,27 @@
///
/// [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"
+ ///
/// [searchString] - Allows searching for objects by name or ID. Wildcards (*)
/// are allowed. For example, "creative*2015" will return objects with names
/// like "creative June 2015", "creative April 2015", or simply "creative
@@ -5341,45 +5360,26 @@
/// will match objects with name "my creative", "creative 2015", or simply
/// "creative".
///
- /// [maxResults] - Maximum number of results to return.
- /// Value must be between "0" and "1000".
- ///
- /// [archived] - Select only archived creatives. Leave blank to select
- /// archived and unarchived creatives.
- ///
- /// [renderingIds] - Select only creatives with these rendering IDs.
- ///
- /// [active] - Select only active creatives. Leave blank to select active and
- /// inactive creatives.
+ /// [studioCreativeId] - Select only creatives corresponding to this Studio
+ /// creative ID.
///
/// [pageToken] - Value of the nextPageToken from the previous result page.
///
- /// [studioCreativeId] - Select only creatives corresponding to this Studio
- /// creative ID.
+ /// [ids] - Select only creatives with these IDs.
///
/// [companionCreativeIds] - Select only in-stream video creatives with these
/// companion IDs.
///
- /// [types] - Select only creatives with these creative types.
+ /// [renderingIds] - Select only creatives with these rendering IDs.
///
- /// [creativeFieldIds] - Select only creatives with these creative field IDs.
- ///
- /// [ids] - Select only creatives with these IDs.
+ /// [archived] - Select only archived creatives. Leave blank to select
+ /// archived and unarchived creatives.
///
/// [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"
- ///
- /// [advertiserId] - Select only creatives with this advertiser ID.
- ///
- /// [campaignId] - Select only creatives with this campaign ID.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -5391,22 +5391,22 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<CreativesListResponse> list(core.String profileId,
- {core.List<core.String> sizeIds,
- core.String searchString,
- core.int maxResults,
- core.bool archived,
- core.List<core.String> renderingIds,
- core.bool active,
- core.String pageToken,
- core.String studioCreativeId,
- core.List<core.String> companionCreativeIds,
- core.List<core.String> types,
+ {core.int maxResults,
core.List<core.String> creativeFieldIds,
- core.List<core.String> ids,
- core.String sortOrder,
- core.String sortField,
- core.String advertiserId,
+ 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.bool archived,
+ core.String sortOrder,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -5418,53 +5418,53 @@
if (profileId == null) {
throw new core.ArgumentError("Parameter profileId is required.");
}
- if (sizeIds != null) {
- _queryParams["sizeIds"] = sizeIds;
- }
- if (searchString != null) {
- _queryParams["searchString"] = [searchString];
- }
if (maxResults != null) {
_queryParams["maxResults"] = ["${maxResults}"];
}
- if (archived != null) {
- _queryParams["archived"] = ["${archived}"];
- }
- if (renderingIds != null) {
- _queryParams["renderingIds"] = renderingIds;
- }
- if (active != null) {
- _queryParams["active"] = ["${active}"];
- }
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
- if (studioCreativeId != null) {
- _queryParams["studioCreativeId"] = [studioCreativeId];
- }
- if (companionCreativeIds != null) {
- _queryParams["companionCreativeIds"] = companionCreativeIds;
- }
- if (types != null) {
- _queryParams["types"] = types;
- }
if (creativeFieldIds != null) {
_queryParams["creativeFieldIds"] = creativeFieldIds;
}
- if (ids != null) {
- _queryParams["ids"] = ids;
+ if (types != null) {
+ _queryParams["types"] = types;
}
- if (sortOrder != null) {
- _queryParams["sortOrder"] = [sortOrder];
+ if (sizeIds != null) {
+ _queryParams["sizeIds"] = sizeIds;
}
- if (sortField != null) {
- _queryParams["sortField"] = [sortField];
+ if (campaignId != null) {
+ _queryParams["campaignId"] = [campaignId];
}
if (advertiserId != null) {
_queryParams["advertiserId"] = [advertiserId];
}
- if (campaignId != null) {
- _queryParams["campaignId"] = [campaignId];
+ if (active != null) {
+ _queryParams["active"] = ["${active}"];
+ }
+ 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 (companionCreativeIds != null) {
+ _queryParams["companionCreativeIds"] = companionCreativeIds;
+ }
+ if (renderingIds != null) {
+ _queryParams["renderingIds"] = renderingIds;
+ }
+ if (archived != null) {
+ _queryParams["archived"] = ["${archived}"];
+ }
+ if (sortOrder != null) {
+ _queryParams["sortOrder"] = [sortOrder];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -5662,11 +5662,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.
///
@@ -5679,7 +5679,7 @@
/// this method will complete with the same error.
async.Future<DimensionValueList> query(
DimensionValueRequest request, core.String profileId,
- {core.int maxResults, core.String pageToken, core.String $fields}) {
+ {core.String pageToken, core.int maxResults, core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -5693,12 +5693,12 @@
if (profileId == null) {
throw new core.ArgumentError("Parameter profileId is required.");
}
- if (maxResults != null) {
- _queryParams["maxResults"] = ["${maxResults}"];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (maxResults != null) {
+ _queryParams["maxResults"] = ["${maxResults}"];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -5834,17 +5834,27 @@
/// [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.
- ///
/// [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 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.
///
- /// [acceptsInterstitialPlacements] - This search filter is no longer
+ /// [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.
@@ -5855,21 +5865,11 @@
/// example, a search string of "directory site" will match objects with name
/// "my directory site", "directory site 2015" or simply, "directory site".
///
- /// [sortOrder] - Order of sorted results.
- /// Possible string values are:
- /// - "ASCENDING"
- /// - "DESCENDING"
- ///
- /// [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.
- ///
/// [dfpNetworkCode] - Select only directory sites with this Ad Manager
/// network code.
///
- /// [ids] - Select only directory sites with these IDs.
+ /// [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.
@@ -5883,16 +5883,16 @@
/// this method will complete with the same error.
async.Future<DirectorySitesListResponse> list(core.String profileId,
{core.bool acceptsPublisherPaidPlacements,
- core.bool active,
core.String sortField,
- core.String pageToken,
- core.bool acceptsInterstitialPlacements,
- core.String searchString,
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.List<core.String> ids,
+ core.bool acceptsInterstitialPlacements,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -5909,26 +5909,21 @@
"${acceptsPublisherPaidPlacements}"
];
}
- if (active != null) {
- _queryParams["active"] = ["${active}"];
- }
if (sortField != null) {
_queryParams["sortField"] = [sortField];
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
- if (acceptsInterstitialPlacements != null) {
- _queryParams["acceptsInterstitialPlacements"] = [
- "${acceptsInterstitialPlacements}"
- ];
- }
- if (searchString != null) {
- _queryParams["searchString"] = [searchString];
- }
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}"];
}
@@ -5937,11 +5932,16 @@
"${acceptsInStreamVideoPlacements}"
];
}
+ if (searchString != null) {
+ _queryParams["searchString"] = [searchString];
+ }
if (dfpNetworkCode != null) {
_queryParams["dfpNetworkCode"] = [dfpNetworkCode];
}
- if (ids != null) {
- _queryParams["ids"] = ids;
+ if (acceptsInterstitialPlacements != null) {
+ _queryParams["acceptsInterstitialPlacements"] = [
+ "${acceptsInterstitialPlacements}"
+ ];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -6101,13 +6101,6 @@
///
/// [profileId] - User profile ID associated with this request.
///
- /// [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.
- ///
/// [objectType] - Select only dynamic targeting keys with this object type.
/// Possible string values are:
/// - "OBJECT_ADVERTISER"
@@ -6115,6 +6108,13 @@
/// - "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.
///
@@ -6126,10 +6126,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<DynamicTargetingKeysListResponse> list(core.String profileId,
- {core.String objectId,
+ {core.String objectType,
+ core.String objectId,
core.List<core.String> names,
core.String advertiserId,
- core.String objectType,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -6141,6 +6141,9 @@
if (profileId == null) {
throw new core.ArgumentError("Parameter profileId is required.");
}
+ if (objectType != null) {
+ _queryParams["objectType"] = [objectType];
+ }
if (objectId != null) {
_queryParams["objectId"] = [objectId];
}
@@ -6150,9 +6153,6 @@
if (advertiserId != null) {
_queryParams["advertiserId"] = [advertiserId];
}
- if (objectType != null) {
- _queryParams["objectType"] = [objectType];
- }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -6335,8 +6335,6 @@
///
/// [profileId] - User profile ID associated with this request.
///
- /// [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
@@ -6346,23 +6344,6 @@
///
/// [adId] - Select only event tags that belong to this ad.
///
- /// [sortField] - Field by which to sort the list.
- /// Possible string values are:
- /// - "ID"
- /// - "NAME"
- ///
- /// [eventTagTypes] - Select only event tags with the specified event tag
- /// types. Event tag types can be used to specify whether to use a third-party
- /// pixel, a third-party JavaScript URL, or a third-party click-through URL
- /// for either impression or click tracking.
- ///
- /// [sortOrder] - Order of sorted results.
- /// Possible string values are:
- /// - "ASCENDING"
- /// - "DESCENDING"
- ///
- /// [advertiserId] - Select only event tags that belong to this advertiser.
- ///
/// [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
@@ -6371,6 +6352,15 @@
/// 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'
@@ -6379,7 +6369,17 @@
/// campaign's event tags' enabledByDefault and status fields are examined as
/// well.
///
- /// [ids] - Select only event tags with these IDs.
+ /// [eventTagTypes] - Select only event tags with the specified event tag
+ /// types. Event tag types can be used to specify whether to use a third-party
+ /// 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.
+ ///
+ /// [sortOrder] - Order of sorted results.
+ /// Possible string values are:
+ /// - "ASCENDING"
+ /// - "DESCENDING"
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -6392,16 +6392,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<EventTagsListResponse> list(core.String profileId,
- {core.String campaignId,
- core.bool definitionsOnly,
+ {core.bool definitionsOnly,
core.String adId,
- core.String sortField,
- core.List<core.String> eventTagTypes,
- core.String sortOrder,
- core.String advertiserId,
core.String searchString,
- core.bool enabled,
+ core.String advertiserId,
core.List<core.String> ids,
+ core.String sortField,
+ core.bool enabled,
+ core.List<core.String> eventTagTypes,
+ core.String campaignId,
+ core.String sortOrder,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -6413,35 +6413,35 @@
if (profileId == null) {
throw new core.ArgumentError("Parameter profileId is required.");
}
- if (campaignId != null) {
- _queryParams["campaignId"] = [campaignId];
- }
if (definitionsOnly != null) {
_queryParams["definitionsOnly"] = ["${definitionsOnly}"];
}
if (adId != null) {
_queryParams["adId"] = [adId];
}
- if (sortField != null) {
- _queryParams["sortField"] = [sortField];
- }
- if (eventTagTypes != null) {
- _queryParams["eventTagTypes"] = eventTagTypes;
- }
- if (sortOrder != null) {
- _queryParams["sortOrder"] = [sortOrder];
+ if (searchString != null) {
+ _queryParams["searchString"] = [searchString];
}
if (advertiserId != null) {
_queryParams["advertiserId"] = [advertiserId];
}
- if (searchString != null) {
- _queryParams["searchString"] = [searchString];
+ if (ids != null) {
+ _queryParams["ids"] = ids;
+ }
+ if (sortField != null) {
+ _queryParams["sortField"] = [sortField];
}
if (enabled != null) {
_queryParams["enabled"] = ["${enabled}"];
}
- if (ids != null) {
- _queryParams["ids"] = ids;
+ if (eventTagTypes != null) {
+ _queryParams["eventTagTypes"] = eventTagTypes;
+ }
+ if (campaignId != null) {
+ _queryParams["campaignId"] = [campaignId];
+ }
+ if (sortOrder != null) {
+ _queryParams["sortOrder"] = [sortOrder];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -6648,27 +6648,27 @@
///
/// [profileId] - The DFA profile ID.
///
- /// [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.
///
- /// [maxResults] - Maximum number of results to return.
- /// Value must be between "0" and "10".
- ///
/// [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".
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -6680,11 +6680,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<FileList> list(core.String profileId,
- {core.String pageToken,
- core.String scope,
+ {core.String scope,
+ core.String pageToken,
core.String sortOrder,
- core.int maxResults,
core.String sortField,
+ core.int maxResults,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -6696,21 +6696,21 @@
if (profileId == null) {
throw new core.ArgumentError("Parameter profileId is required.");
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (scope != null) {
_queryParams["scope"] = [scope];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
if (sortOrder != null) {
_queryParams["sortOrder"] = [sortOrder];
}
- if (maxResults != null) {
- _queryParams["maxResults"] = ["${maxResults}"];
- }
if (sortField != null) {
_queryParams["sortField"] = [sortField];
}
+ if (maxResults != null) {
+ _queryParams["maxResults"] = ["${maxResults}"];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -6949,23 +6949,14 @@
///
/// [profileId] - User profile ID associated with this request.
///
- /// [tagString] - Select only floodlight activities with the specified tag
- /// string.
+ /// [advertiserId] - Select only floodlight activities for the specified
+ /// advertiser ID. Must specify either ids, advertiserId, or
+ /// floodlightConfigurationId for a non-empty result.
///
- /// [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
- /// 2015", or simply "floodlightactivity 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 "floodlightactivity" will match objects with
- /// name "my floodlightactivity activity", "floodlightactivity 2015", or
- /// simply "floodlightactivity".
- ///
- /// [floodlightActivityGroupType] - Select only floodlight activities with the
- /// specified floodlight activity group type.
+ /// [sortField] - Field by which to sort the list.
/// Possible string values are:
- /// - "COUNTER"
- /// - "SALE"
+ /// - "ID"
+ /// - "NAME"
///
/// [sortOrder] - Order of sorted results.
/// Possible string values are:
@@ -6975,34 +6966,43 @@
/// [floodlightActivityGroupIds] - Select only floodlight activities with the
/// specified floodlight activity group IDs.
///
- /// [ids] - Select only floodlight activities with the specified IDs. 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"
- ///
- /// [maxResults] - Maximum number of results to return.
- /// Value must be between "0" and "1000".
- ///
- /// [floodlightActivityGroupName] - Select only floodlight activities with the
- /// specified floodlight activity group name.
- ///
- /// [advertiserId] - Select only floodlight activities for the specified
- /// advertiser ID. Must specify either ids, advertiserId, or
- /// floodlightConfigurationId for a non-empty result.
- ///
- /// [pageToken] - Value of the nextPageToken from the previous result page.
- ///
/// [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.
+ ///
/// [floodlightActivityGroupTagString] - Select only floodlight activities
/// with the specified floodlight activity group tag string.
///
+ /// [floodlightActivityGroupType] - Select only floodlight activities with the
+ /// specified floodlight activity group type.
+ /// Possible string values are:
+ /// - "COUNTER"
+ /// - "SALE"
+ ///
+ /// [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
+ /// 2015", or simply "floodlightactivity 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 "floodlightactivity" will match objects with
+ /// name "my floodlightactivity activity", "floodlightactivity 2015", or
+ /// simply "floodlightactivity".
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -7014,19 +7014,19 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<FloodlightActivitiesListResponse> list(core.String profileId,
- {core.String tagString,
- core.String searchString,
- core.String floodlightActivityGroupType,
+ {core.String advertiserId,
+ core.String sortField,
core.String sortOrder,
core.List<core.String> floodlightActivityGroupIds,
- core.List<core.String> ids,
- core.String sortField,
- core.int maxResults,
- core.String floodlightActivityGroupName,
- core.String advertiserId,
- core.String pageToken,
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 searchString,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -7038,16 +7038,11 @@
if (profileId == null) {
throw new core.ArgumentError("Parameter profileId is required.");
}
- if (tagString != null) {
- _queryParams["tagString"] = [tagString];
+ if (advertiserId != null) {
+ _queryParams["advertiserId"] = [advertiserId];
}
- if (searchString != null) {
- _queryParams["searchString"] = [searchString];
- }
- if (floodlightActivityGroupType != null) {
- _queryParams["floodlightActivityGroupType"] = [
- floodlightActivityGroupType
- ];
+ if (sortField != null) {
+ _queryParams["sortField"] = [sortField];
}
if (sortOrder != null) {
_queryParams["sortOrder"] = [sortOrder];
@@ -7055,34 +7050,39 @@
if (floodlightActivityGroupIds != null) {
_queryParams["floodlightActivityGroupIds"] = floodlightActivityGroupIds;
}
- if (ids != null) {
- _queryParams["ids"] = ids;
- }
- if (sortField != null) {
- _queryParams["sortField"] = [sortField];
+ 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
];
}
- if (advertiserId != null) {
- _queryParams["advertiserId"] = [advertiserId];
- }
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
- if (floodlightConfigurationId != null) {
- _queryParams["floodlightConfigurationId"] = [floodlightConfigurationId];
- }
if (floodlightActivityGroupTagString != null) {
_queryParams["floodlightActivityGroupTagString"] = [
floodlightActivityGroupTagString
];
}
+ if (floodlightActivityGroupType != null) {
+ _queryParams["floodlightActivityGroupType"] = [
+ floodlightActivityGroupType
+ ];
+ }
+ if (searchString != null) {
+ _queryParams["searchString"] = [searchString];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -7327,33 +7327,30 @@
///
/// [profileId] - User profile ID associated with this request.
///
- /// [maxResults] - Maximum number of results to return.
- /// Value must be between "0" and "1000".
- ///
/// [advertiserId] - Select only floodlight activity groups with the specified
/// advertiser ID. Must specify either advertiserId or
/// floodlightConfigurationId for a non-empty result.
///
- /// [pageToken] - Value of the nextPageToken from the previous result page.
- ///
/// [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.
///
- /// [type] - Select only floodlight activity groups with the specified
- /// floodlight activity group type.
+ /// [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:
- /// - "COUNTER"
- /// - "SALE"
+ /// - "ID"
+ /// - "NAME"
+ ///
+ /// [maxResults] - Maximum number of results to return.
+ /// Value must be between "0" and "1000".
///
/// [searchString] - Allows searching for objects by name or ID. Wildcards (*)
/// are allowed. For example, "floodlightactivitygroup*2015" will return
@@ -7365,10 +7362,13 @@
/// floodlightactivitygroup activity", "floodlightactivitygroup 2015", or
/// simply "floodlightactivitygroup".
///
- /// [sortField] - Field by which to sort the list.
+ /// [pageToken] - Value of the nextPageToken from the previous result page.
+ ///
+ /// [type] - Select only floodlight activity groups with the specified
+ /// floodlight activity group type.
/// Possible string values are:
- /// - "ID"
- /// - "NAME"
+ /// - "COUNTER"
+ /// - "SALE"
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -7381,15 +7381,15 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<FloodlightActivityGroupsListResponse> list(core.String profileId,
- {core.int maxResults,
- core.String advertiserId,
- core.String pageToken,
+ {core.String advertiserId,
core.String sortOrder,
- core.String floodlightConfigurationId,
core.List<core.String> ids,
- core.String type,
- core.String searchString,
+ core.String floodlightConfigurationId,
core.String sortField,
+ core.int maxResults,
+ core.String searchString,
+ core.String pageToken,
+ core.String type,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -7401,32 +7401,32 @@
if (profileId == null) {
throw new core.ArgumentError("Parameter profileId is required.");
}
- if (maxResults != null) {
- _queryParams["maxResults"] = ["${maxResults}"];
- }
if (advertiserId != null) {
_queryParams["advertiserId"] = [advertiserId];
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (sortOrder != null) {
_queryParams["sortOrder"] = [sortOrder];
}
- if (floodlightConfigurationId != null) {
- _queryParams["floodlightConfigurationId"] = [floodlightConfigurationId];
- }
if (ids != null) {
_queryParams["ids"] = ids;
}
- if (type != null) {
- _queryParams["type"] = [type];
+ if (floodlightConfigurationId != null) {
+ _queryParams["floodlightConfigurationId"] = [floodlightConfigurationId];
+ }
+ if (sortField != null) {
+ _queryParams["sortField"] = [sortField];
+ }
+ if (maxResults != null) {
+ _queryParams["maxResults"] = ["${maxResults}"];
}
if (searchString != null) {
_queryParams["searchString"] = [searchString];
}
- if (sortField != null) {
- _queryParams["sortField"] = [sortField];
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
+ if (type != null) {
+ _queryParams["type"] = [type];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -7849,35 +7849,35 @@
///
/// [projectId] - Project ID for order documents.
///
+ /// [inPlan] - Select only inventory items that are in plan.
+ ///
+ /// [orderId] - Select only inventory items that belong to specified orders.
+ ///
/// [siteId] - Select only inventory items that are associated with these
/// sites.
///
/// [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".
- ///
- /// [type] - Select only inventory items with this type.
- /// Possible string values are:
- /// - "PLANNING_PLACEMENT_TYPE_REGULAR"
- /// - "PLANNING_PLACEMENT_TYPE_CREDIT"
- ///
- /// [orderId] - Select only inventory items that belong to specified orders.
- ///
/// [sortOrder] - Order of sorted results.
/// Possible string values are:
/// - "ASCENDING"
/// - "DESCENDING"
///
- /// [pageToken] - Value of the nextPageToken from the previous result page.
- ///
/// [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.
+ ///
+ /// [type] - Select only inventory items with this type.
+ /// Possible string values are:
+ /// - "PLANNING_PLACEMENT_TYPE_REGULAR"
+ /// - "PLANNING_PLACEMENT_TYPE_CREDIT"
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -7890,15 +7890,15 @@
/// this method will complete with the same error.
async.Future<InventoryItemsListResponse> list(
core.String profileId, core.String projectId,
- {core.List<core.String> siteId,
- core.List<core.String> ids,
- core.bool inPlan,
- core.int maxResults,
- core.String type,
+ {core.bool inPlan,
core.List<core.String> orderId,
+ core.List<core.String> siteId,
+ core.List<core.String> ids,
core.String sortOrder,
- core.String pageToken,
core.String sortField,
+ core.int maxResults,
+ core.String pageToken,
+ core.String type,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -7913,32 +7913,32 @@
if (projectId == null) {
throw new 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 (inPlan != null) {
- _queryParams["inPlan"] = ["${inPlan}"];
+ if (sortOrder != null) {
+ _queryParams["sortOrder"] = [sortOrder];
+ }
+ if (sortField != null) {
+ _queryParams["sortField"] = [sortField];
}
if (maxResults != null) {
_queryParams["maxResults"] = ["${maxResults}"];
}
- if (type != null) {
- _queryParams["type"] = [type];
- }
- if (orderId != null) {
- _queryParams["orderId"] = orderId;
- }
- if (sortOrder != null) {
- _queryParams["sortOrder"] = [sortOrder];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
- if (sortField != null) {
- _queryParams["sortField"] = [sortField];
+ if (type != null) {
+ _queryParams["type"] = [type];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -8125,6 +8125,10 @@
///
/// [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.
+ ///
/// [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
@@ -8132,10 +8136,6 @@
/// string. For example, a search string of "app" will match objects with name
/// "my app", "app 2018", or simply "app".
///
- /// [pageToken] - Value of the nextPageToken from the previous result page.
- ///
- /// [directories] - Select only apps from these directories.
- ///
/// [maxResults] - Maximum number of results to return.
/// Value must be between "0" and "1000".
///
@@ -8152,9 +8152,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<MobileAppsListResponse> list(core.String profileId,
- {core.String searchString,
- core.String pageToken,
+ {core.String pageToken,
core.List<core.String> directories,
+ core.String searchString,
core.int maxResults,
core.List<core.String> ids,
core.String $fields}) {
@@ -8168,15 +8168,15 @@
if (profileId == null) {
throw new core.ArgumentError("Parameter profileId is required.");
}
- if (searchString != null) {
- _queryParams["searchString"] = [searchString];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
if (directories != null) {
_queryParams["directories"] = directories;
}
+ if (searchString != null) {
+ _queryParams["searchString"] = [searchString];
+ }
if (maxResults != null) {
_queryParams["maxResults"] = ["${maxResults}"];
}
@@ -8586,13 +8586,21 @@
///
/// [projectId] - Project ID for order documents.
///
- /// [pageToken] - Value of the nextPageToken from the previous result page.
+ /// [maxResults] - Maximum number of results to return.
+ /// Value must be between "0" and "1000".
///
- /// [orderId] - Select only order documents for specified orders.
+ /// [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"
+ ///
+ /// [orderId] - Select only order documents for specified orders.
+ ///
/// [siteId] - Select only order documents that are associated with these
/// sites.
///
@@ -8601,9 +8609,6 @@
/// - "ID"
/// - "NAME"
///
- /// [maxResults] - Maximum number of results to return.
- /// Value must be between "0" and "1000".
- ///
/// [searchString] - Allows searching for order documents by name or ID.
/// Wildcards (*) are allowed. For example, "orderdocument*2015" will return
/// order documents with names like "orderdocument June 2015", "orderdocument
@@ -8613,11 +8618,6 @@
/// with name "my orderdocument", "orderdocument 2015", or simply
/// "orderdocument".
///
- /// [sortOrder] - Order of sorted results.
- /// Possible string values are:
- /// - "ASCENDING"
- /// - "DESCENDING"
- ///
/// [ids] - Select only order documents with these IDs.
///
/// [$fields] - Selector specifying which fields to include in a partial
@@ -8632,14 +8632,14 @@
/// this method will complete with the same error.
async.Future<OrderDocumentsListResponse> list(
core.String profileId, core.String projectId,
- {core.String pageToken,
- core.List<core.String> orderId,
+ {core.int maxResults,
+ core.String pageToken,
core.bool approved,
+ core.String sortOrder,
+ core.List<core.String> orderId,
core.List<core.String> siteId,
core.String sortField,
- core.int maxResults,
core.String searchString,
- core.String sortOrder,
core.List<core.String> ids,
core.String $fields}) {
var _url;
@@ -8655,30 +8655,30 @@
if (projectId == null) {
throw new core.ArgumentError("Parameter projectId is required.");
}
+ if (maxResults != null) {
+ _queryParams["maxResults"] = ["${maxResults}"];
+ }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
- if (orderId != null) {
- _queryParams["orderId"] = orderId;
- }
if (approved != null) {
_queryParams["approved"] = ["${approved}"];
}
+ if (sortOrder != null) {
+ _queryParams["sortOrder"] = [sortOrder];
+ }
+ if (orderId != null) {
+ _queryParams["orderId"] = orderId;
+ }
if (siteId != null) {
_queryParams["siteId"] = siteId;
}
if (sortField != null) {
_queryParams["sortField"] = [sortField];
}
- if (maxResults != null) {
- _queryParams["maxResults"] = ["${maxResults}"];
- }
if (searchString != null) {
_queryParams["searchString"] = [searchString];
}
- if (sortOrder != null) {
- _queryParams["sortOrder"] = [sortOrder];
- }
if (ids != null) {
_queryParams["ids"] = ids;
}
@@ -8776,17 +8776,10 @@
///
/// [projectId] - Project ID for orders.
///
- /// [maxResults] - Maximum number of results to return.
- /// Value must be between "0" and "1000".
- ///
- /// [searchString] - Allows searching for orders by name or ID. Wildcards (*)
- /// are allowed. For example, "order*2015" will return orders with names like
- /// "order June 2015", "order April 2015", or simply "order 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 "order" will match orders
- /// with name "my order", "order 2015", or simply "order".
- ///
- /// [ids] - Select only orders 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:
@@ -8795,12 +8788,19 @@
///
/// [pageToken] - Value of the nextPageToken from the previous result page.
///
+ /// [searchString] - Allows searching for orders by name or ID. Wildcards (*)
+ /// are allowed. For example, "order*2015" will return orders with names like
+ /// "order June 2015", "order April 2015", or simply "order 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 "order" will match orders
+ /// with name "my order", "order 2015", or simply "order".
+ ///
/// [siteId] - Select only orders that are associated with these site IDs.
///
- /// [sortOrder] - Order of sorted results.
- /// Possible string values are:
- /// - "ASCENDING"
- /// - "DESCENDING"
+ /// [maxResults] - Maximum number of results to return.
+ /// Value must be between "0" and "1000".
+ ///
+ /// [ids] - Select only orders with these IDs.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -8814,13 +8814,13 @@
/// this method will complete with the same error.
async.Future<OrdersListResponse> list(
core.String profileId, core.String projectId,
- {core.int maxResults,
- core.String searchString,
- core.List<core.String> ids,
+ {core.String sortOrder,
core.String sortField,
core.String pageToken,
+ core.String searchString,
core.List<core.String> siteId,
- core.String sortOrder,
+ core.int maxResults,
+ core.List<core.String> ids,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -8835,14 +8835,8 @@
if (projectId == null) {
throw new core.ArgumentError("Parameter projectId is required.");
}
- if (maxResults != null) {
- _queryParams["maxResults"] = ["${maxResults}"];
- }
- if (searchString != null) {
- _queryParams["searchString"] = [searchString];
- }
- if (ids != null) {
- _queryParams["ids"] = ids;
+ if (sortOrder != null) {
+ _queryParams["sortOrder"] = [sortOrder];
}
if (sortField != null) {
_queryParams["sortField"] = [sortField];
@@ -8850,11 +8844,17 @@
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (searchString != null) {
+ _queryParams["searchString"] = [searchString];
+ }
if (siteId != null) {
_queryParams["siteId"] = siteId;
}
- if (sortOrder != null) {
- _queryParams["sortOrder"] = [sortOrder];
+ if (maxResults != null) {
+ _queryParams["maxResults"] = ["${maxResults}"];
+ }
+ if (ids != null) {
+ _queryParams["ids"] = ids;
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -8990,6 +8990,56 @@
///
/// [profileId] - User profile ID associated with this request.
///
+ /// [placementStrategyIds] - Select only placement groups that are associated
+ /// with these placement strategies.
+ ///
+ /// [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".
+ ///
+ /// [sortField] - Field by which to sort the list.
+ /// Possible string values are:
+ /// - "ID"
+ /// - "NAME"
+ ///
+ /// [advertiserIds] - Select only placement groups that belong to these
+ /// advertisers.
+ ///
+ /// [campaignIds] - Select only placement groups that belong to these
+ /// campaigns.
+ ///
+ /// [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.
+ ///
+ /// [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
@@ -9001,42 +9051,8 @@
/// - "PLACEMENT_PACKAGE"
/// - "PLACEMENT_ROADBLOCK"
///
- /// [siteIds] - Select only placement groups that are associated with these
- /// sites.
- ///
- /// [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".
- ///
- /// [archived] - Select only archived placements. Don't set this field to
- /// select both archived and non-archived placements.
- ///
- /// [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".
- ///
- /// [pricingTypes] - Select only placement groups with these pricing types.
- ///
- /// [contentCategoryIds] - Select only placement groups that are associated
- /// with these content categories.
- ///
- /// [sortOrder] - Order of sorted results.
- /// Possible string values are:
- /// - "ASCENDING"
- /// - "DESCENDING"
- ///
- /// [pageToken] - Value of the nextPageToken from the previous result page.
- ///
- /// [advertiserIds] - Select only placement groups that belong to these
- /// advertisers.
- ///
- /// [minEndDate] - Select only placements or placement groups whose end date
- /// is on or after the specified minEndDate. The date should be formatted as
+ /// [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.
@@ -9046,25 +9062,9 @@
/// date is on or after the specified minStartDate. The date should be
/// formatted as "yyyy-MM-dd".
///
- /// [ids] - Select only placement groups with these IDs.
- ///
- /// [placementStrategyIds] - Select only placement groups that are associated
- /// with these placement strategies.
- ///
- /// [directorySiteIds] - Select only placement groups that are associated with
- /// these directory sites.
- ///
- /// [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".
- ///
- /// [sortField] - Field by which to sort the list.
- /// Possible string values are:
- /// - "ID"
- /// - "NAME"
- ///
- /// [campaignIds] - Select only placement groups that belong to these
- /// campaigns.
+ /// [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".
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -9077,25 +9077,25 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<PlacementGroupsListResponse> list(core.String profileId,
- {core.String placementGroupType,
- core.List<core.String> siteIds,
- core.String searchString,
- core.bool archived,
- core.String maxStartDate,
- core.List<core.String> pricingTypes,
+ {core.List<core.String> placementStrategyIds,
core.List<core.String> contentCategoryIds,
- core.String sortOrder,
- core.String pageToken,
+ 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> 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.List<core.String> ids,
- core.List<core.String> placementStrategyIds,
- core.List<core.String> directorySiteIds,
- core.String maxEndDate,
- core.String sortField,
- core.List<core.String> campaignIds,
+ core.String maxStartDate,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -9107,62 +9107,62 @@
if (profileId == null) {
throw new core.ArgumentError("Parameter profileId is required.");
}
- if (placementGroupType != null) {
- _queryParams["placementGroupType"] = [placementGroupType];
- }
- if (siteIds != null) {
- _queryParams["siteIds"] = siteIds;
- }
- if (searchString != null) {
- _queryParams["searchString"] = [searchString];
- }
- if (archived != null) {
- _queryParams["archived"] = ["${archived}"];
- }
- if (maxStartDate != null) {
- _queryParams["maxStartDate"] = [maxStartDate];
- }
- if (pricingTypes != null) {
- _queryParams["pricingTypes"] = pricingTypes;
+ if (placementStrategyIds != null) {
+ _queryParams["placementStrategyIds"] = placementStrategyIds;
}
if (contentCategoryIds != null) {
_queryParams["contentCategoryIds"] = contentCategoryIds;
}
- if (sortOrder != null) {
- _queryParams["sortOrder"] = [sortOrder];
+ if (searchString != null) {
+ _queryParams["searchString"] = [searchString];
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
+ 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 (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 (minStartDate != null) {
_queryParams["minStartDate"] = [minStartDate];
}
- if (ids != null) {
- _queryParams["ids"] = ids;
- }
- if (placementStrategyIds != null) {
- _queryParams["placementStrategyIds"] = placementStrategyIds;
- }
- if (directorySiteIds != null) {
- _queryParams["directorySiteIds"] = directorySiteIds;
- }
- if (maxEndDate != null) {
- _queryParams["maxEndDate"] = [maxEndDate];
- }
- if (sortField != null) {
- _queryParams["sortField"] = [sortField];
- }
- if (campaignIds != null) {
- _queryParams["campaignIds"] = campaignIds;
+ if (maxStartDate != null) {
+ _queryParams["maxStartDate"] = [maxStartDate];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -9457,14 +9457,8 @@
///
/// [profileId] - User profile ID associated with this request.
///
- /// [sortField] - Field by which to sort the list.
- /// Possible string values are:
- /// - "ID"
- /// - "NAME"
- ///
- /// [ids] - Select only placement strategies 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".
///
/// [searchString] - Allows searching for objects by name or ID. Wildcards (*)
/// are allowed. For example, "placementstrategy*2015" will return objects
@@ -9475,14 +9469,20 @@
/// name "my placementstrategy", "placementstrategy 2015", or simply
/// "placementstrategy".
///
- /// [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 placement strategies 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"
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -9494,12 +9494,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<PlacementStrategiesListResponse> list(core.String profileId,
- {core.String sortField,
- core.List<core.String> ids,
- core.String pageToken,
+ {core.int maxResults,
core.String searchString,
- core.int maxResults,
+ core.String pageToken,
+ core.List<core.String> ids,
core.String sortOrder,
+ core.String sortField,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -9511,24 +9511,24 @@
if (profileId == null) {
throw new core.ArgumentError("Parameter profileId is required.");
}
- if (sortField != null) {
- _queryParams["sortField"] = [sortField];
- }
- if (ids != null) {
- _queryParams["ids"] = ids;
- }
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
+ if (maxResults != null) {
+ _queryParams["maxResults"] = ["${maxResults}"];
}
if (searchString != null) {
_queryParams["searchString"] = [searchString];
}
- if (maxResults != null) {
- _queryParams["maxResults"] = ["${maxResults}"];
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
+ if (ids != null) {
+ _queryParams["ids"] = ids;
}
if (sortOrder != null) {
_queryParams["sortOrder"] = [sortOrder];
}
+ if (sortField != null) {
+ _queryParams["sortField"] = [sortField];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -9668,14 +9668,14 @@
///
/// [profileId] - User profile ID associated with this request.
///
- /// [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.
///
/// [placementIds] - Generate tags for these placements.
///
+ /// [campaignId] - Generate placements belonging to this campaign. This is a
+ /// required field.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -9688,9 +9688,9 @@
/// this method will complete with the same error.
async.Future<PlacementsGenerateTagsResponse> generatetags(
core.String profileId,
- {core.String campaignId,
- core.List<core.String> tagFormats,
+ {core.List<core.String> tagFormats,
core.List<core.String> placementIds,
+ core.String campaignId,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -9702,15 +9702,15 @@
if (profileId == null) {
throw new core.ArgumentError("Parameter profileId is required.");
}
- if (campaignId != null) {
- _queryParams["campaignId"] = [campaignId];
- }
if (tagFormats != null) {
_queryParams["tagFormats"] = tagFormats;
}
if (placementIds != null) {
_queryParams["placementIds"] = placementIds;
}
+ if (campaignId != null) {
+ _queryParams["campaignId"] = [campaignId];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -9837,31 +9837,15 @@
///
/// [profileId] - User profile ID associated with this request.
///
- /// [paymentSource] - Select only placements with this payment source.
- /// Possible string values are:
- /// - "PLACEMENT_AGENCY_PAID"
- /// - "PLACEMENT_PUBLISHER_PAID"
+ /// [archived] - Select only archived placements. Don't set this field to
+ /// select both archived and non-archived placements.
///
- /// [minEndDate] - Select only placements or placement groups whose end date
- /// is on or after the specified minEndDate. The date should be formatted as
+ /// [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".
///
- /// [pageToken] - Value of the nextPageToken from the previous result page.
- ///
- /// [sortOrder] - Order of sorted results.
- /// Possible string values are:
- /// - "ASCENDING"
- /// - "DESCENDING"
- ///
- /// [siteIds] - Select only placements that are associated with these sites.
- ///
- /// [directorySiteIds] - Select only placements that are associated with these
- /// directory sites.
- ///
- /// [pricingTypes] - Select only placements with these pricing types.
- ///
- /// [groupIds] - Select only placements that belong to these placement groups.
- ///
/// [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
@@ -9869,29 +9853,26 @@
/// IN_STREAM_VIDEO refers to rendering in in-stream video ads developed with
/// the VAST standard.
///
- /// [contentCategoryIds] - Select only placements that are associated with
- /// these content categories.
+ /// [advertiserIds] - Select only placements that belong to these advertisers.
///
- /// [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".
///
- /// [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".
+ /// [sortOrder] - Order of sorted results.
+ /// Possible string values are:
+ /// - "ASCENDING"
+ /// - "DESCENDING"
///
- /// [ids] - Select only placements with these IDs.
+ /// [siteIds] - Select only placements that are associated with these sites.
///
- /// [placementStrategyIds] - Select only placements that are associated with
- /// these placement strategies.
+ /// [pageToken] - Value of the nextPageToken from the previous result page.
///
/// [sortField] - Field by which to sort the list.
/// Possible string values are:
/// - "ID"
/// - "NAME"
///
- /// [campaignIds] - Select only placements that belong to these campaigns.
- ///
/// [searchString] - Allows searching for placements by name or ID. Wildcards
/// (*) are allowed. For example, "placement*2015" will return placements with
/// names like "placement June 2015", "placement May 2015", or simply
@@ -9900,20 +9881,39 @@
/// of "placement" will match placements with name "my placement", "placement
/// 2015", or simply "placement" .
///
- /// [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".
+ /// [groupIds] - Select only placements that belong to these placement groups.
///
- /// [advertiserIds] - Select only placements that belong to these advertisers.
+ /// [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".
///
/// [sizeIds] - Select only placements that are associated with these sizes.
///
- /// [archived] - Select only archived placements. Don't set this field to
- /// select both archived and non-archived placements.
- ///
/// [maxResults] - Maximum number of results to return.
/// Value must be between "0" and "1000".
///
+ /// [placementStrategyIds] - Select only placements that are associated with
+ /// these placement strategies.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -9925,28 +9925,28 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<PlacementsListResponse> list(core.String profileId,
- {core.String paymentSource,
+ {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 pageToken,
core.String sortOrder,
core.List<core.String> siteIds,
- core.List<core.String> directorySiteIds,
- core.List<core.String> pricingTypes,
- core.List<core.String> groupIds,
- core.List<core.String> compatibilities,
- core.List<core.String> contentCategoryIds,
- core.String maxStartDate,
- core.String minStartDate,
- core.List<core.String> ids,
- core.List<core.String> placementStrategyIds,
+ core.String pageToken,
core.String sortField,
- core.List<core.String> campaignIds,
core.String searchString,
- core.String maxEndDate,
- core.List<core.String> advertiserIds,
+ 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> ids,
+ core.String minStartDate,
core.List<core.String> sizeIds,
- core.bool archived,
core.int maxResults,
+ core.List<core.String> placementStrategyIds,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -9958,72 +9958,72 @@
if (profileId == null) {
throw new core.ArgumentError("Parameter profileId is required.");
}
- if (paymentSource != null) {
- _queryParams["paymentSource"] = [paymentSource];
+ 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 (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (sortOrder != null) {
_queryParams["sortOrder"] = [sortOrder];
}
if (siteIds != null) {
_queryParams["siteIds"] = siteIds;
}
- if (directorySiteIds != null) {
- _queryParams["directorySiteIds"] = directorySiteIds;
- }
- if (pricingTypes != null) {
- _queryParams["pricingTypes"] = pricingTypes;
- }
- if (groupIds != null) {
- _queryParams["groupIds"] = groupIds;
- }
- if (compatibilities != null) {
- _queryParams["compatibilities"] = compatibilities;
- }
- if (contentCategoryIds != null) {
- _queryParams["contentCategoryIds"] = contentCategoryIds;
- }
- if (maxStartDate != null) {
- _queryParams["maxStartDate"] = [maxStartDate];
- }
- if (minStartDate != null) {
- _queryParams["minStartDate"] = [minStartDate];
- }
- if (ids != null) {
- _queryParams["ids"] = ids;
- }
- if (placementStrategyIds != null) {
- _queryParams["placementStrategyIds"] = placementStrategyIds;
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
}
if (sortField != null) {
_queryParams["sortField"] = [sortField];
}
- if (campaignIds != null) {
- _queryParams["campaignIds"] = campaignIds;
- }
if (searchString != null) {
_queryParams["searchString"] = [searchString];
}
- if (maxEndDate != null) {
- _queryParams["maxEndDate"] = [maxEndDate];
+ if (groupIds != null) {
+ _queryParams["groupIds"] = groupIds;
}
- if (advertiserIds != null) {
- _queryParams["advertiserIds"] = advertiserIds;
+ 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 (ids != null) {
+ _queryParams["ids"] = ids;
+ }
+ if (minStartDate != null) {
+ _queryParams["minStartDate"] = [minStartDate];
}
if (sizeIds != null) {
_queryParams["sizeIds"] = sizeIds;
}
- if (archived != null) {
- _queryParams["archived"] = ["${archived}"];
- }
if (maxResults != null) {
_queryParams["maxResults"] = ["${maxResults}"];
}
+ if (placementStrategyIds != null) {
+ _queryParams["placementStrategyIds"] = placementStrategyIds;
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -10417,6 +10417,11 @@
///
/// [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"
@@ -10426,7 +10431,10 @@
///
/// [pageToken] - Value of the nextPageToken from the previous result page.
///
- /// [advertiserIds] - Select only projects with these advertiser IDs.
+ /// [sortField] - Field by which to sort the list.
+ /// Possible string values are:
+ /// - "ID"
+ /// - "NAME"
///
/// [searchString] - Allows searching for projects by name or ID. Wildcards
/// (*) are allowed. For example, "project*2015" will return projects with
@@ -10436,14 +10444,6 @@
/// 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"
- ///
- /// [maxResults] - Maximum number of results to return.
- /// Value must be between "0" and "1000".
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -10455,13 +10455,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<ProjectsListResponse> list(core.String profileId,
- {core.String sortOrder,
+ {core.int maxResults,
+ core.List<core.String> advertiserIds,
+ core.String sortOrder,
core.List<core.String> ids,
core.String pageToken,
- core.List<core.String> advertiserIds,
- core.String searchString,
core.String sortField,
- core.int maxResults,
+ core.String searchString,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -10473,6 +10473,12 @@
if (profileId == null) {
throw new core.ArgumentError("Parameter profileId is required.");
}
+ if (maxResults != null) {
+ _queryParams["maxResults"] = ["${maxResults}"];
+ }
+ if (advertiserIds != null) {
+ _queryParams["advertiserIds"] = advertiserIds;
+ }
if (sortOrder != null) {
_queryParams["sortOrder"] = [sortOrder];
}
@@ -10482,17 +10488,11 @@
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
- if (advertiserIds != null) {
- _queryParams["advertiserIds"] = advertiserIds;
- }
- if (searchString != null) {
- _queryParams["searchString"] = [searchString];
- }
if (sortField != null) {
_queryParams["sortField"] = [sortField];
}
- if (maxResults != null) {
- _queryParams["maxResults"] = ["${maxResults}"];
+ if (searchString != null) {
+ _queryParams["searchString"] = [searchString];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -10848,9 +10848,26 @@
///
/// [advertiserId] - Select only remarketing lists owned by this advertiser.
///
+ /// [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"
+ ///
+ /// [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
@@ -10859,23 +10876,6 @@
/// search string of "remarketing list" will match objects with name "my
/// remarketing list", "remarketing list 2015", or simply "remarketing list".
///
- /// [floodlightActivityId] - Select only remarketing lists that have this
- /// floodlight activity ID.
- ///
- /// [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"
- ///
- /// [active] - Select only active or only inactive remarketing lists.
- ///
- /// [pageToken] - Value of the nextPageToken from the previous result page.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -10888,13 +10888,13 @@
/// this method will complete with the same error.
async.Future<RemarketingListsListResponse> list(
core.String profileId, core.String advertiserId,
- {core.int maxResults,
- core.String name,
- core.String floodlightActivityId,
+ {core.String sortField,
core.String sortOrder,
- core.String sortField,
- core.bool active,
+ core.String floodlightActivityId,
core.String pageToken,
+ core.int maxResults,
+ core.bool active,
+ core.String name,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -10910,26 +10910,26 @@
throw new core.ArgumentError("Parameter advertiserId is required.");
}
_queryParams["advertiserId"] = [advertiserId];
- if (maxResults != null) {
- _queryParams["maxResults"] = ["${maxResults}"];
- }
- if (name != null) {
- _queryParams["name"] = [name];
- }
- if (floodlightActivityId != null) {
- _queryParams["floodlightActivityId"] = [floodlightActivityId];
+ if (sortField != null) {
+ _queryParams["sortField"] = [sortField];
}
if (sortOrder != null) {
_queryParams["sortOrder"] = [sortOrder];
}
- if (sortField != null) {
- _queryParams["sortField"] = [sortField];
+ 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 (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
+ if (name != null) {
+ _queryParams["name"] = [name];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -11226,11 +11226,19 @@
///
/// [profileId] - The DFA user profile ID.
///
+ /// [sortOrder] - Order of sorted results.
+ /// Possible string values are:
+ /// - "ASCENDING" : Ascending order.
+ /// - "DESCENDING" : Descending order.
+ ///
/// [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.
@@ -11239,14 +11247,6 @@
/// - "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.
- ///
- /// [maxResults] - Maximum number of results to return.
- /// Value must be between "0" and "10".
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -11258,11 +11258,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<ReportList> list(core.String profileId,
- {core.String scope,
+ {core.String sortOrder,
+ core.String scope,
+ core.int maxResults,
core.String pageToken,
core.String sortField,
- core.String sortOrder,
- core.int maxResults,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -11274,21 +11274,21 @@
if (profileId == null) {
throw new 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 (sortField != null) {
_queryParams["sortField"] = [sortField];
}
- if (sortOrder != null) {
- _queryParams["sortOrder"] = [sortOrder];
- }
- if (maxResults != null) {
- _queryParams["maxResults"] = ["${maxResults}"];
- }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -11627,10 +11627,8 @@
///
/// [reportId] - The ID of the parent report.
///
- /// [sortField] - The field by which to sort the list.
- /// Possible string values are:
- /// - "ID"
- /// - "LAST_MODIFIED_TIME"
+ /// [maxResults] - Maximum number of results to return.
+ /// Value must be between "0" and "10".
///
/// [sortOrder] - Order of sorted results.
/// Possible string values are:
@@ -11639,8 +11637,10 @@
///
/// [pageToken] - The value of the nextToken from the previous result page.
///
- /// [maxResults] - Maximum number of results to return.
- /// Value must be between "0" and "10".
+ /// [sortField] - The field by which to sort the list.
+ /// Possible string values are:
+ /// - "ID"
+ /// - "LAST_MODIFIED_TIME"
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -11653,10 +11653,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<FileList> list(core.String profileId, core.String reportId,
- {core.String sortField,
+ {core.int maxResults,
core.String sortOrder,
core.String pageToken,
- core.int maxResults,
+ core.String sortField,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -11671,8 +11671,8 @@
if (reportId == null) {
throw new core.ArgumentError("Parameter reportId is required.");
}
- if (sortField != null) {
- _queryParams["sortField"] = [sortField];
+ if (maxResults != null) {
+ _queryParams["maxResults"] = ["${maxResults}"];
}
if (sortOrder != null) {
_queryParams["sortOrder"] = [sortOrder];
@@ -11680,8 +11680,8 @@
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
- if (maxResults != null) {
- _queryParams["maxResults"] = ["${maxResults}"];
+ if (sortField != null) {
+ _queryParams["sortField"] = [sortField];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -11815,9 +11815,24 @@
///
/// [profileId] - User profile ID associated with this request.
///
- /// [approved] - Select only approved sites.
+ /// [unmappedSite] - Select only sites that have not been mapped to a
+ /// directory site.
///
- /// [directorySiteIds] - Select only sites with these directory site IDs.
+ /// [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.
+ ///
+ /// [acceptsPublisherPaidPlacements] - Select only sites that accept publisher
+ /// paid placements.
+ ///
+ /// [maxResults] - Maximum number of results to return.
+ /// Value must be between "0" and "1000".
+ ///
+ /// [campaignIds] - Select only sites with these campaign IDs.
///
/// [searchString] - Allows searching for objects by name, ID or keyName.
/// Wildcards (*) are allowed. For example, "site*2015" will return objects
@@ -11826,41 +11841,26 @@
/// 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".
///
- /// [maxResults] - Maximum number of results to return.
- /// Value must be between "0" and "1000".
+ /// [directorySiteIds] - Select only sites with these directory site IDs.
///
- /// [acceptsInStreamVideoPlacements] - This search filter is no longer
- /// supported and will have no effect on the results returned.
+ /// [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.
///
- /// [unmappedSite] - Select only sites that have not been mapped to a
- /// directory site.
- ///
/// [subaccountId] - Select only sites with this subaccount ID.
///
- /// [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"
///
- /// [acceptsPublisherPaidPlacements] - Select only sites that accept publisher
- /// paid placements.
- ///
- /// [ids] - Select only sites with these IDs.
- ///
- /// [pageToken] - Value of the nextPageToken from the previous result page.
- ///
- /// [adWordsSite] - Select only AdWords sites.
- ///
- /// [campaignIds] - Select only sites with these campaign IDs.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -11872,21 +11872,21 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<SitesListResponse> list(core.String profileId,
- {core.bool approved,
- core.List<core.String> directorySiteIds,
- core.String searchString,
- core.int maxResults,
- core.bool acceptsInStreamVideoPlacements,
- core.bool acceptsInterstitialPlacements,
- core.bool unmappedSite,
- core.String subaccountId,
+ {core.bool unmappedSite,
core.String sortOrder,
- core.String sortField,
+ core.bool acceptsInStreamVideoPlacements,
core.bool acceptsPublisherPaidPlacements,
- core.List<core.String> ids,
- core.String pageToken,
- core.bool adWordsSite,
+ 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> ids,
+ core.bool acceptsInterstitialPlacements,
+ core.String subaccountId,
+ core.String sortField,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -11898,56 +11898,56 @@
if (profileId == null) {
throw new core.ArgumentError("Parameter profileId is required.");
}
- if (approved != null) {
- _queryParams["approved"] = ["${approved}"];
+ if (unmappedSite != null) {
+ _queryParams["unmappedSite"] = ["${unmappedSite}"];
}
- if (directorySiteIds != null) {
- _queryParams["directorySiteIds"] = directorySiteIds;
- }
- if (searchString != null) {
- _queryParams["searchString"] = [searchString];
- }
- if (maxResults != null) {
- _queryParams["maxResults"] = ["${maxResults}"];
+ if (sortOrder != null) {
+ _queryParams["sortOrder"] = [sortOrder];
}
if (acceptsInStreamVideoPlacements != null) {
_queryParams["acceptsInStreamVideoPlacements"] = [
"${acceptsInStreamVideoPlacements}"
];
}
- if (acceptsInterstitialPlacements != null) {
- _queryParams["acceptsInterstitialPlacements"] = [
- "${acceptsInterstitialPlacements}"
- ];
- }
- if (unmappedSite != null) {
- _queryParams["unmappedSite"] = ["${unmappedSite}"];
- }
- if (subaccountId != null) {
- _queryParams["subaccountId"] = [subaccountId];
- }
- if (sortOrder != null) {
- _queryParams["sortOrder"] = [sortOrder];
- }
- if (sortField != null) {
- _queryParams["sortField"] = [sortField];
- }
if (acceptsPublisherPaidPlacements != null) {
_queryParams["acceptsPublisherPaidPlacements"] = [
"${acceptsPublisherPaidPlacements}"
];
}
- if (ids != null) {
- _queryParams["ids"] = ids;
+ if (maxResults != null) {
+ _queryParams["maxResults"] = ["${maxResults}"];
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
+ 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 (campaignIds != null) {
- _queryParams["campaignIds"] = campaignIds;
+ if (approved != null) {
+ _queryParams["approved"] = ["${approved}"];
+ }
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
+ if (ids != null) {
+ _queryParams["ids"] = ids;
+ }
+ if (acceptsInterstitialPlacements != null) {
+ _queryParams["acceptsInterstitialPlacements"] = [
+ "${acceptsInterstitialPlacements}"
+ ];
+ }
+ if (subaccountId != null) {
+ _queryParams["subaccountId"] = [subaccountId];
+ }
+ if (sortField != null) {
+ _queryParams["sortField"] = [sortField];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -12188,15 +12188,15 @@
///
/// [profileId] - User profile ID associated with this request.
///
- /// [iabStandard] - Select only IAB standard sizes.
+ /// [height] - Select only sizes with this height.
+ /// Value must be between "0" and "32767".
///
- /// [ids] - Select only sizes with these IDs.
+ /// [iabStandard] - Select only IAB standard sizes.
///
/// [width] - Select only sizes with this width.
/// Value must be between "0" and "32767".
///
- /// [height] - Select only sizes with this height.
- /// 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.
@@ -12209,10 +12209,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<SizesListResponse> list(core.String profileId,
- {core.bool iabStandard,
- core.List<core.String> ids,
+ {core.int height,
+ core.bool iabStandard,
core.int width,
- core.int height,
+ core.List<core.String> ids,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -12224,17 +12224,17 @@
if (profileId == null) {
throw new core.ArgumentError("Parameter profileId is required.");
}
+ if (height != null) {
+ _queryParams["height"] = ["${height}"];
+ }
if (iabStandard != null) {
_queryParams["iabStandard"] = ["${iabStandard}"];
}
- if (ids != null) {
- _queryParams["ids"] = ids;
- }
if (width != null) {
_queryParams["width"] = ["${width}"];
}
- if (height != null) {
- _queryParams["height"] = ["${height}"];
+ if (ids != null) {
+ _queryParams["ids"] = ids;
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -12367,20 +12367,6 @@
///
/// [profileId] - User profile ID associated with this request.
///
- /// [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 subaccounts 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".
///
@@ -12392,6 +12378,20 @@
/// 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"
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -12403,12 +12403,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<SubaccountsListResponse> list(core.String profileId,
- {core.String sortField,
+ {core.int maxResults,
+ core.String searchString,
core.String sortOrder,
core.List<core.String> ids,
core.String pageToken,
- core.int maxResults,
- core.String searchString,
+ core.String sortField,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -12420,8 +12420,11 @@
if (profileId == null) {
throw new core.ArgumentError("Parameter profileId is required.");
}
- if (sortField != null) {
- _queryParams["sortField"] = [sortField];
+ if (maxResults != null) {
+ _queryParams["maxResults"] = ["${maxResults}"];
+ }
+ if (searchString != null) {
+ _queryParams["searchString"] = [searchString];
}
if (sortOrder != null) {
_queryParams["sortOrder"] = [sortOrder];
@@ -12432,11 +12435,8 @@
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
- if (maxResults != null) {
- _queryParams["maxResults"] = ["${maxResults}"];
- }
- if (searchString != null) {
- _queryParams["searchString"] = [searchString];
+ if (sortField != null) {
+ _queryParams["sortField"] = [sortField];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -12632,19 +12632,16 @@
/// [advertiserId] - Select only targetable remarketing lists targetable by
/// these advertisers.
///
- /// [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"
///
- /// [sortField] - Field by which to sort the list.
- /// Possible string values are:
- /// - "ID"
- /// - "NAME"
- ///
/// [active] - Select only active or only inactive targetable remarketing
/// lists.
///
@@ -12658,6 +12655,9 @@
///
/// [pageToken] - Value of the nextPageToken from the previous result page.
///
+ /// [maxResults] - Maximum number of results to return.
+ /// Value must be between "0" and "1000".
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -12670,12 +12670,12 @@
/// this method will complete with the same error.
async.Future<TargetableRemarketingListsListResponse> list(
core.String profileId, core.String advertiserId,
- {core.int maxResults,
+ {core.String sortField,
core.String sortOrder,
- core.String sortField,
core.bool active,
core.String name,
core.String pageToken,
+ core.int maxResults,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -12691,15 +12691,12 @@
throw new core.ArgumentError("Parameter advertiserId is required.");
}
_queryParams["advertiserId"] = [advertiserId];
- if (maxResults != null) {
- _queryParams["maxResults"] = ["${maxResults}"];
+ if (sortField != null) {
+ _queryParams["sortField"] = [sortField];
}
if (sortOrder != null) {
_queryParams["sortOrder"] = [sortOrder];
}
- if (sortField != null) {
- _queryParams["sortField"] = [sortField];
- }
if (active != null) {
_queryParams["active"] = ["${active}"];
}
@@ -12709,6 +12706,9 @@
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (maxResults != null) {
+ _queryParams["maxResults"] = ["${maxResults}"];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -12843,15 +12843,6 @@
///
/// [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.
- ///
- /// [sortOrder] - Order of sorted results.
- /// Possible string values are:
- /// - "ASCENDING"
- /// - "DESCENDING"
- ///
/// [maxResults] - Maximum number of results to return.
/// Value must be between "0" and "1000".
///
@@ -12870,6 +12861,15 @@
///
/// [pageToken] - Value of the nextPageToken from the previous result page.
///
+ /// [advertiserId] - Select only targeting templates with this advertiser ID.
+ ///
+ /// [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.
///
@@ -12881,13 +12881,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<TargetingTemplatesListResponse> list(core.String profileId,
- {core.String advertiserId,
- core.List<core.String> ids,
- core.String sortOrder,
- core.int maxResults,
+ {core.int maxResults,
core.String sortField,
core.String searchString,
core.String pageToken,
+ core.String advertiserId,
+ core.String sortOrder,
+ core.List<core.String> ids,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -12899,15 +12899,6 @@
if (profileId == null) {
throw new core.ArgumentError("Parameter profileId is required.");
}
- if (advertiserId != null) {
- _queryParams["advertiserId"] = [advertiserId];
- }
- if (ids != null) {
- _queryParams["ids"] = ids;
- }
- if (sortOrder != null) {
- _queryParams["sortOrder"] = [sortOrder];
- }
if (maxResults != null) {
_queryParams["maxResults"] = ["${maxResults}"];
}
@@ -12920,6 +12911,15 @@
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (advertiserId != null) {
+ _queryParams["advertiserId"] = [advertiserId];
+ }
+ if (sortOrder != null) {
+ _queryParams["sortOrder"] = [sortOrder];
+ }
+ if (ids != null) {
+ _queryParams["ids"] = ids;
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -13511,6 +13511,23 @@
///
/// [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"
+ ///
/// [searchString] - Allows searching for objects by name or ID. Wildcards (*)
/// are allowed. For example, "userrole*2015" will return objects with names
/// like "userrole June 2015", "userrole April 2015", or simply "userrole
@@ -13519,27 +13536,10 @@
/// will match objects with name "my userrole", "userrole 2015", or simply
/// "userrole".
///
- /// [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 roles that belong to this subaccount.
- ///
- /// [accountUserRoleOnly] - Select only account level user roles not
- /// associated with any specific subaccount.
- ///
- /// [pageToken] - Value of the nextPageToken from the previous result page.
- ///
/// [maxResults] - Maximum number of results to return.
/// Value must be between "0" and "1000".
///
- /// [ids] - Select only user roles with the specified IDs.
+ /// [pageToken] - Value of the nextPageToken from the previous result page.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -13552,14 +13552,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<UserRolesListResponse> list(core.String profileId,
- {core.String searchString,
- core.String sortField,
+ {core.String subaccountId,
core.String sortOrder,
- core.String subaccountId,
- core.bool accountUserRoleOnly,
- core.String pageToken,
- core.int maxResults,
core.List<core.String> ids,
+ core.bool accountUserRoleOnly,
+ core.String sortField,
+ core.String searchString,
+ core.int maxResults,
+ core.String pageToken,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -13571,29 +13571,29 @@
if (profileId == null) {
throw new core.ArgumentError("Parameter profileId is required.");
}
- if (searchString != null) {
- _queryParams["searchString"] = [searchString];
- }
- if (sortField != null) {
- _queryParams["sortField"] = [sortField];
+ if (subaccountId != null) {
+ _queryParams["subaccountId"] = [subaccountId];
}
if (sortOrder != null) {
_queryParams["sortOrder"] = [sortOrder];
}
- if (subaccountId != null) {
- _queryParams["subaccountId"] = [subaccountId];
+ if (ids != null) {
+ _queryParams["ids"] = ids;
}
if (accountUserRoleOnly != null) {
_queryParams["accountUserRoleOnly"] = ["${accountUserRoleOnly}"];
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
+ if (sortField != null) {
+ _queryParams["sortField"] = [sortField];
+ }
+ if (searchString != null) {
+ _queryParams["searchString"] = [searchString];
}
if (maxResults != null) {
_queryParams["maxResults"] = ["${maxResults}"];
}
- if (ids != null) {
- _queryParams["ids"] = ids;
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
diff --git a/generated/googleapis/lib/dialogflow/v2.dart b/generated/googleapis/lib/dialogflow/v2.dart
index cec1651..252b21d 100644
--- a/generated/googleapis/lib/dialogflow/v2.dart
+++ b/generated/googleapis/lib/dialogflow/v2.dart
@@ -1658,12 +1658,12 @@
/// Value must have pattern
/// "^projects/[^/]+/agent/environments/[^/]+/users/[^/]+/sessions/[^/]+$".
///
- /// [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.
///
+ /// [pageSize] - Optional. The maximum number of items to return in a single
+ /// page. By default 100 and at most 1000.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1676,8 +1676,8 @@
/// this method will complete with the same error.
async.Future<GoogleCloudDialogflowV2ListContextsResponse> list(
core.String parent,
- {core.int pageSize,
- core.String pageToken,
+ {core.String pageToken,
+ core.int pageSize,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -1689,12 +1689,12 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -1965,12 +1965,12 @@
/// Value must have pattern
/// "^projects/[^/]+/agent/environments/[^/]+/users/[^/]+/sessions/[^/]+$".
///
- /// [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.
///
+ /// [pageSize] - Optional. The maximum number of items to return in a single
+ /// page. By default 100 and at most 1000.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1983,8 +1983,8 @@
/// this method will complete with the same error.
async.Future<GoogleCloudDialogflowV2ListSessionEntityTypesResponse> list(
core.String parent,
- {core.int pageSize,
- core.String pageToken,
+ {core.String pageToken,
+ core.int pageSize,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -1996,12 +1996,12 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -2328,11 +2328,6 @@
/// `projects//agent/intents/`.
/// Value must have pattern "^projects/[^/]+/agent/intents/[^/]+$".
///
- /// [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:
@@ -2340,6 +2335,11 @@
/// 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).
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -2351,7 +2351,7 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<GoogleCloudDialogflowV2Intent> get(core.String name,
- {core.String languageCode, core.String intentView, core.String $fields}) {
+ {core.String intentView, core.String languageCode, core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -2362,12 +2362,12 @@
if (name == null) {
throw new core.ArgumentError("Parameter name is required.");
}
- if (languageCode != null) {
- _queryParams["languageCode"] = [languageCode];
- }
if (intentView != null) {
_queryParams["intentView"] = [intentView];
}
+ if (languageCode != null) {
+ _queryParams["languageCode"] = [languageCode];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -2392,17 +2392,17 @@
/// `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.
- ///
/// [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).
///
+ /// [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.
+ ///
/// [intentView] - Optional. The resource view to apply to the returned
/// intent.
/// Possible string values are:
@@ -2422,9 +2422,9 @@
/// this method will complete with the same error.
async.Future<GoogleCloudDialogflowV2ListIntentsResponse> list(
core.String parent,
- {core.String pageToken,
+ {core.String languageCode,
core.int pageSize,
- core.String languageCode,
+ core.String pageToken,
core.String intentView,
core.String $fields}) {
var _url;
@@ -2437,14 +2437,14 @@
if (parent == null) {
throw new 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 (languageCode != null) {
- _queryParams["languageCode"] = [languageCode];
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
}
if (intentView != null) {
_queryParams["intentView"] = [intentView];
@@ -2477,6 +2477,8 @@
/// `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
@@ -2489,8 +2491,6 @@
/// the response.
/// - "INTENT_VIEW_FULL" : All fields are populated.
///
- /// [updateMask] - Optional. The mask to control which fields get updated.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -2503,9 +2503,9 @@
/// this method will complete with the same error.
async.Future<GoogleCloudDialogflowV2Intent> patch(
GoogleCloudDialogflowV2Intent request, core.String name,
- {core.String languageCode,
+ {core.String updateMask,
+ core.String languageCode,
core.String intentView,
- core.String updateMask,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -2520,15 +2520,15 @@
if (name == null) {
throw new core.ArgumentError("Parameter name is required.");
}
+ if (updateMask != null) {
+ _queryParams["updateMask"] = [updateMask];
+ }
if (languageCode != null) {
_queryParams["languageCode"] = [languageCode];
}
if (intentView != null) {
_queryParams["intentView"] = [intentView];
}
- if (updateMask != null) {
- _queryParams["updateMask"] = [updateMask];
- }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -3149,12 +3149,12 @@
/// specified, we assume default '-' user.
/// Value must have pattern "^projects/[^/]+/agent/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.
///
@@ -3167,8 +3167,8 @@
/// this method will complete with the same error.
async.Future<GoogleCloudDialogflowV2ListSessionEntityTypesResponse> list(
core.String parent,
- {core.String pageToken,
- core.int pageSize,
+ {core.int pageSize,
+ core.String pageToken,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -3180,12 +3180,12 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -3403,12 +3403,12 @@
/// [name] - The name of the operation's parent resource.
/// Value must have pattern "^projects/[^/]+/locations/[^/]+$".
///
- /// [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.
///
@@ -3420,9 +3420,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<GoogleLongrunningListOperationsResponse> list(core.String name,
- {core.String pageToken,
- core.int pageSize,
+ {core.int pageSize,
core.String filter,
+ core.String pageToken,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -3434,15 +3434,15 @@
if (name == null) {
throw new core.ArgumentError("Parameter name is required.");
}
- 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];
}
@@ -6118,6 +6118,31 @@
}
}
+/// Response message for Documents.ImportDocuments.
+class GoogleCloudDialogflowV2ImportDocumentsResponse {
+ /// Includes details about skipped documents or any other warnings.
+ core.List<GoogleRpcStatus> warnings;
+
+ GoogleCloudDialogflowV2ImportDocumentsResponse();
+
+ GoogleCloudDialogflowV2ImportDocumentsResponse.fromJson(core.Map _json) {
+ if (_json.containsKey("warnings")) {
+ warnings = (_json["warnings"] as core.List)
+ .map<GoogleRpcStatus>((value) => new GoogleRpcStatus.fromJson(value))
+ .toList();
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
+ if (warnings != null) {
+ _json["warnings"] = warnings.map((value) => (value).toJson()).toList();
+ }
+ return _json;
+ }
+}
+
/// Instructs the speech recognizer how to process the audio content.
class GoogleCloudDialogflowV2InputAudioConfig {
/// Required. Audio encoding of the audio content to process.
@@ -9060,10 +9085,10 @@
/// The result of sentiment analysis. Sentiment analysis inspects user input and
/// identifies the prevailing subjective opinion, especially to determine a
/// user's attitude as positive, negative, or neutral. For
-/// Participants.AnalyzeContent, it needs to be configured in
-/// DetectIntentRequest.query_params. For Participants.StreamingAnalyzeContent,
-/// it needs to be configured in StreamingDetectIntentRequest.query_params. And
-/// for Participants.AnalyzeContent and Participants.StreamingAnalyzeContent, it
+/// Participants.DetectIntent, it needs to be configured in
+/// DetectIntentRequest.query_params. For Participants.StreamingDetectIntent, it
+/// needs to be configured in StreamingDetectIntentRequest.query_params. And for
+/// Participants.AnalyzeContent and Participants.StreamingAnalyzeContent, it
/// needs to be configured in ConversationProfile.human_agent_assistant_config
class GoogleCloudDialogflowV2SentimentAnalysisResult {
/// The sentiment analysis result for `query_text`.
@@ -9820,6 +9845,36 @@
}
}
+/// Response message for [Documents.BatchUpdateSmartMessagingEntries]
+class GoogleCloudDialogflowV2beta1BatchUpdateSmartMessagingEntriesResponse {
+ /// List of updated smart message entries.
+ core.List<GoogleCloudDialogflowV2beta1SmartMessagingEntry>
+ smartMessagingEntries;
+
+ GoogleCloudDialogflowV2beta1BatchUpdateSmartMessagingEntriesResponse();
+
+ GoogleCloudDialogflowV2beta1BatchUpdateSmartMessagingEntriesResponse.fromJson(
+ core.Map _json) {
+ if (_json.containsKey("smartMessagingEntries")) {
+ smartMessagingEntries = (_json["smartMessagingEntries"] as core.List)
+ .map<GoogleCloudDialogflowV2beta1SmartMessagingEntry>((value) =>
+ new GoogleCloudDialogflowV2beta1SmartMessagingEntry.fromJson(
+ value))
+ .toList();
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
+ if (smartMessagingEntries != null) {
+ _json["smartMessagingEntries"] =
+ smartMessagingEntries.map((value) => (value).toJson()).toList();
+ }
+ return _json;
+ }
+}
+
/// Dialogflow contexts are similar to natural language context. If a person
/// says to you "they are orange", you need context in order to understand what
/// "they" is referring to. Similarly, for Dialogflow to handle an end-user
@@ -10133,6 +10188,31 @@
}
}
+/// Response message for Documents.ImportDocuments.
+class GoogleCloudDialogflowV2beta1ImportDocumentsResponse {
+ /// Includes details about skipped documents or any other warnings.
+ core.List<GoogleRpcStatus> warnings;
+
+ GoogleCloudDialogflowV2beta1ImportDocumentsResponse();
+
+ GoogleCloudDialogflowV2beta1ImportDocumentsResponse.fromJson(core.Map _json) {
+ if (_json.containsKey("warnings")) {
+ warnings = (_json["warnings"] as core.List)
+ .map<GoogleRpcStatus>((value) => new GoogleRpcStatus.fromJson(value))
+ .toList();
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
+ if (warnings != null) {
+ _json["warnings"] = warnings.map((value) => (value).toJson()).toList();
+ }
+ return _json;
+ }
+}
+
/// An intent categorizes an end-user's intention for one conversation turn. For
/// each agent, you define many intents, where your combined intents can handle
/// a complete conversation. When an end-user writes or says something, referred
@@ -13120,10 +13200,10 @@
/// The result of sentiment analysis. Sentiment analysis inspects user input and
/// identifies the prevailing subjective opinion, especially to determine a
/// user's attitude as positive, negative, or neutral. For
-/// Participants.AnalyzeContent, it needs to be configured in
-/// DetectIntentRequest.query_params. For Participants.StreamingAnalyzeContent,
-/// it needs to be configured in StreamingDetectIntentRequest.query_params. And
-/// for Participants.AnalyzeContent and Participants.StreamingAnalyzeContent, it
+/// Participants.DetectIntent, it needs to be configured in
+/// DetectIntentRequest.query_params. For Participants.StreamingDetectIntent, it
+/// needs to be configured in StreamingDetectIntentRequest.query_params. And for
+/// Participants.AnalyzeContent and Participants.StreamingAnalyzeContent, it
/// needs to be configured in ConversationProfile.human_agent_assistant_config
class GoogleCloudDialogflowV2beta1SentimentAnalysisResult {
/// The sentiment analysis result for `query_text`.
@@ -13222,6 +13302,109 @@
}
}
+/// Smart Messaging Entry resource.
+class GoogleCloudDialogflowV2beta1SmartMessagingEntry {
+ /// Output only. Metadata of the message entry
+ GoogleCloudDialogflowV2beta1SmartMessagingEntryInfo messageInfo;
+
+ /// The unique identifier of this message entry. Required for
+ /// [Documents.GetSmartMessagingEntry], [Documents.CreateSmartMessagingEntry],
+ /// [Documents.UpdateSmartMessagingEntry], and
+ /// [Documents.DeleteSmartMessagingEntry]. Format:
+ /// `projects//knowledgeBases//documents//smartMessagingEntries/`
+ core.String name;
+
+ /// Required. The raw text of the message.
+ core.String rawText;
+
+ /// Required. Smart Messaging Entry's enabled/disabled state.
+ /// Possible string values are:
+ /// - "SMART_MESSAGING_ENTRY_STATE_UNSPECIFIED" : State unspecified.
+ /// - "ENABLED" : This smart reply message is enabled and used when generating
+ /// suggestions.
+ /// - "DISABLED" : This smart reply message is disabled and is not used when
+ /// generating suggestions.
+ core.String state;
+
+ GoogleCloudDialogflowV2beta1SmartMessagingEntry();
+
+ GoogleCloudDialogflowV2beta1SmartMessagingEntry.fromJson(core.Map _json) {
+ if (_json.containsKey("messageInfo")) {
+ messageInfo =
+ new GoogleCloudDialogflowV2beta1SmartMessagingEntryInfo.fromJson(
+ _json["messageInfo"]);
+ }
+ if (_json.containsKey("name")) {
+ name = _json["name"];
+ }
+ if (_json.containsKey("rawText")) {
+ rawText = _json["rawText"];
+ }
+ if (_json.containsKey("state")) {
+ state = _json["state"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
+ if (messageInfo != null) {
+ _json["messageInfo"] = (messageInfo).toJson();
+ }
+ if (name != null) {
+ _json["name"] = name;
+ }
+ if (rawText != null) {
+ _json["rawText"] = rawText;
+ }
+ if (state != null) {
+ _json["state"] = state;
+ }
+ return _json;
+ }
+}
+
+/// Smart messaging entry info.
+class GoogleCloudDialogflowV2beta1SmartMessagingEntryInfo {
+ /// Output only. Method of how the smart messaging entry was created. When the
+ /// smart messaging entry was generated from GenerateDocument, the value is
+ /// AUTOMATIC; when the entry was manually added through
+ /// CreateSmartMessagingEntry, the value is MANUAL.
+ /// Possible string values are:
+ /// - "CREATION_METHOD_UNSPECIFIED" : The creation method of the smart
+ /// messaging entry is unspecified. The value is unused.
+ /// - "AUTOMATIC" : The smart messaging entry was generated automatically from
+ /// backend pipeline.
+ /// - "MANUAL" : The smart messaging entry was added manually.
+ core.String creationMethod;
+
+ /// The number of times an entry's message text has been uttered
+ core.int occurrenceCount;
+
+ GoogleCloudDialogflowV2beta1SmartMessagingEntryInfo();
+
+ GoogleCloudDialogflowV2beta1SmartMessagingEntryInfo.fromJson(core.Map _json) {
+ if (_json.containsKey("creationMethod")) {
+ creationMethod = _json["creationMethod"];
+ }
+ if (_json.containsKey("occurrenceCount")) {
+ occurrenceCount = _json["occurrenceCount"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
+ if (creationMethod != null) {
+ _json["creationMethod"] = creationMethod;
+ }
+ if (occurrenceCount != null) {
+ _json["occurrenceCount"] = occurrenceCount;
+ }
+ return _json;
+ }
+}
+
/// The request message for a webhook call.
class GoogleCloudDialogflowV2beta1WebhookRequest {
/// Alternative query results from KnowledgeService.
@@ -13431,32 +13614,6 @@
}
}
-/// Metadata associated with the long running operation for
-/// Versions.CreateVersion.
-class GoogleCloudDialogflowV3alpha1CreateVersionOperationMetadata {
- /// Name of the created version. Format:
- /// `projects//locations//agents//flows//versions/`.
- core.String version;
-
- GoogleCloudDialogflowV3alpha1CreateVersionOperationMetadata();
-
- GoogleCloudDialogflowV3alpha1CreateVersionOperationMetadata.fromJson(
- core.Map _json) {
- if (_json.containsKey("version")) {
- version = _json["version"];
- }
- }
-
- core.Map<core.String, core.Object> toJson() {
- final core.Map<core.String, core.Object> _json =
- new core.Map<core.String, core.Object>();
- if (version != null) {
- _json["version"] = version;
- }
- return _json;
- }
-}
-
/// The response message for Agents.ExportAgent.
class GoogleCloudDialogflowV3alpha1ExportAgentResponse {
/// Uncompressed raw byte content for agent.
diff --git a/generated/googleapis/lib/digitalassetlinks/v1.dart b/generated/googleapis/lib/digitalassetlinks/v1.dart
index 9d579d1..c4a9f3c 100644
--- a/generated/googleapis/lib/digitalassetlinks/v1.dart
+++ b/generated/googleapis/lib/digitalassetlinks/v1.dart
@@ -56,7 +56,7 @@
///
/// Request parameters:
///
- /// [target_web_site] - Web assets are identified by a URL that contains only
+ /// [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
@@ -76,6 +76,21 @@
/// identified by their Java package name. For example, the Google Maps app
/// uses the package name `com.google.android.apps.maps`. REQUIRED
///
+ /// [source_androidApp_certificate_sha256Fingerprint] - The uppercase SHA-265
+ /// fingerprint of the certificate. From the PEM certificate, it can be
+ /// acquired like this: $ keytool -printcert -file $CERTFILE | grep SHA256:
+ /// SHA256: 14:6D:E9:83:C5:73:06:50:D8:EE:B9:95:2F:34:FC:64:16:A0:83: \
+ /// 42:E6:1D:BE:A8:8A:04:96:B2:3F:CF:44:E5 or like this: $ openssl x509 -in
+ /// $CERTFILE -noout -fingerprint -sha256 SHA256
+ /// Fingerprint=14:6D:E9:83:C5:73:06:50:D8:EE:B9:95:2F:34:FC:64: \
+ /// 16:A0:83:42:E6:1D:BE:A8:8A:04:96:B2:3F:CF:44:E5 In this example, the
+ /// contents of this field would be `14:6D:E9:83:C5:73:
+ /// 06:50:D8:EE:B9:95:2F:34:FC:64:16:A0:83:42:E6:1D:BE:A8:8A:04:96:B2:3F:CF:
+ /// 44:E5`. If these tools are not available to you, you can convert the PEM
+ /// certificate into the DER format, compute the SHA-256 hash of that string
+ /// 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
@@ -101,11 +116,7 @@
/// 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
+ /// [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
/// the schemes "http" and "https" are currently allowed. Port numbers are
@@ -121,20 +132,9 @@
/// scheme) * `https://google.com/` (hostname does not match) *
/// `https://www.google.com:444/` (port does not match) REQUIRED
///
- /// [source_androidApp_certificate_sha256Fingerprint] - The uppercase SHA-265
- /// fingerprint of the certificate. From the PEM certificate, it can be
- /// acquired like this: $ keytool -printcert -file $CERTFILE | grep SHA256:
- /// SHA256: 14:6D:E9:83:C5:73:06:50:D8:EE:B9:95:2F:34:FC:64:16:A0:83: \
- /// 42:E6:1D:BE:A8:8A:04:96:B2:3F:CF:44:E5 or like this: $ openssl x509 -in
- /// $CERTFILE -noout -fingerprint -sha256 SHA256
- /// Fingerprint=14:6D:E9:83:C5:73:06:50:D8:EE:B9:95:2F:34:FC:64: \
- /// 16:A0:83:42:E6:1D:BE:A8:8A:04:96:B2:3F:CF:44:E5 In this example, the
- /// contents of this field would be `14:6D:E9:83:C5:73:
- /// 06:50:D8:EE:B9:95:2F:34:FC:64:16:A0:83:42:E6:1D:BE:A8:8A:04:96:B2:3F:CF:
- /// 44:E5`. If these tools are not available to you, you can convert the PEM
- /// certificate into the DER format, compute the SHA-256 hash of that string
- /// 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
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -147,13 +147,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 target_web_site,
+ {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_packageName,
- core.String source_web_site,
- core.String source_androidApp_certificate_sha256Fingerprint,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -162,14 +162,19 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body;
- if (target_web_site != null) {
- _queryParams["target.web.site"] = [target_web_site];
+ 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 (source_androidApp_certificate_sha256Fingerprint != null) {
+ _queryParams["source.androidApp.certificate.sha256Fingerprint"] = [
+ source_androidApp_certificate_sha256Fingerprint
+ ];
+ }
if (relation != null) {
_queryParams["relation"] = [relation];
}
@@ -178,19 +183,14 @@
target_androidApp_certificate_sha256Fingerprint
];
}
+ 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 (source_web_site != null) {
- _queryParams["source.web.site"] = [source_web_site];
- }
- if (source_androidApp_certificate_sha256Fingerprint != null) {
- _queryParams["source.androidApp.certificate.sha256Fingerprint"] = [
- source_androidApp_certificate_sha256Fingerprint
- ];
- }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -229,19 +229,6 @@
///
/// Request parameters:
///
- /// [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
- /// must be true: * both the query's and the statement's relation strings
- /// match exactly, or * the query's relation string is empty or missing.
- /// Example: A query with relation
- /// `delegate_permission/common.handle_all_urls` matches an asset link with
- /// relation `delegate_permission/common.handle_all_urls`.
- ///
/// [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
@@ -258,6 +245,19 @@
/// 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
+ /// must be true: * both the query's and the statement's relation strings
+ /// match exactly, or * the query's relation string is empty or missing.
+ /// 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
/// acquired like this: $ keytool -printcert -file $CERTFILE | grep SHA256:
@@ -284,9 +284,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<ListResponse> list(
- {core.String source_androidApp_packageName,
+ {core.String source_web_site,
+ core.String source_androidApp_packageName,
core.String relation,
- core.String source_web_site,
core.String source_androidApp_certificate_sha256Fingerprint,
core.String $fields}) {
var _url;
@@ -296,6 +296,9 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _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
@@ -304,9 +307,6 @@
if (relation != null) {
_queryParams["relation"] = [relation];
}
- if (source_web_site != null) {
- _queryParams["source.web.site"] = [source_web_site];
- }
if (source_androidApp_certificate_sha256Fingerprint != null) {
_queryParams["source.androidApp.certificate.sha256Fingerprint"] = [
source_androidApp_certificate_sha256Fingerprint
diff --git a/generated/googleapis/lib/discovery/v1.dart b/generated/googleapis/lib/discovery/v1.dart
index 9d197ec..1ca6276 100644
--- a/generated/googleapis/lib/discovery/v1.dart
+++ b/generated/googleapis/lib/discovery/v1.dart
@@ -90,10 +90,10 @@
///
/// Request parameters:
///
- /// [preferred] - Return only the preferred version of an API.
- ///
/// [name] - Only include APIs with the given name.
///
+ /// [preferred] - Return only the preferred version of an API.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -105,7 +105,7 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<DirectoryList> list(
- {core.bool preferred, core.String name, core.String $fields}) {
+ {core.String name, core.bool preferred, core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -113,12 +113,12 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body;
- if (preferred != null) {
- _queryParams["preferred"] = ["${preferred}"];
- }
if (name != null) {
_queryParams["name"] = [name];
}
+ if (preferred != null) {
+ _queryParams["preferred"] = ["${preferred}"];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
diff --git a/generated/googleapis/lib/displayvideo/v1.dart b/generated/googleapis/lib/displayvideo/v1.dart
index 8954421..15a2a80 100644
--- a/generated/googleapis/lib/displayvideo/v1.dart
+++ b/generated/googleapis/lib/displayvideo/v1.dart
@@ -229,6 +229,11 @@
/// 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
@@ -238,11 +243,6 @@
/// `targetingType="TARGETING_TYPE_CHANNEL"` 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`.
- ///
/// [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
@@ -264,8 +264,8 @@
/// this method will complete with the same error.
async.Future<BulkListAdvertiserAssignedTargetingOptionsResponse>
bulkListAdvertiserAssignedTargetingOptions(core.String advertiserId,
- {core.String filter,
- core.String orderBy,
+ {core.String orderBy,
+ core.String filter,
core.String pageToken,
core.int pageSize,
core.String $fields}) {
@@ -279,12 +279,12 @@
if (advertiserId == null) {
throw new core.ArgumentError("Parameter advertiserId is required.");
}
- if (filter != null) {
- _queryParams["filter"] = [filter];
- }
if (orderBy != null) {
_queryParams["orderBy"] = [orderBy];
}
+ if (filter != null) {
+ _queryParams["filter"] = [filter];
+ }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
@@ -449,6 +449,10 @@
///
/// 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
@@ -459,6 +463,11 @@
/// `entityStatus="ENTITY_STATUS_ACTIVE"` 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. For 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 `ListAdvertisers` method. If not specified, the first
@@ -467,15 +476,6 @@
/// [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. For example, `displayName desc`.
- ///
- /// [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.
///
@@ -487,11 +487,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 filter,
+ {core.String partnerId,
+ core.String filter,
+ core.String orderBy,
core.String pageToken,
core.int pageSize,
- core.String orderBy,
- core.String partnerId,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -500,21 +500,21 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body;
+ if (partnerId != null) {
+ _queryParams["partnerId"] = [partnerId];
+ }
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 (orderBy != null) {
- _queryParams["orderBy"] = [orderBy];
- }
- if (partnerId != null) {
- _queryParams["partnerId"] = [partnerId];
- }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -836,6 +836,19 @@
/// [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
@@ -847,19 +860,6 @@
/// entityStatus="ENTITY_STATUS_PAUSED")` 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`.
- ///
- /// [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.
- ///
- /// [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`.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -871,10 +871,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<ListCampaignsResponse> list(core.String advertiserId,
- {core.String filter,
+ {core.String pageToken,
core.int pageSize,
- core.String pageToken,
core.String orderBy,
+ core.String filter,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -886,18 +886,18 @@
if (advertiserId == null) {
throw new core.ArgumentError("Parameter advertiserId is required.");
}
- 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 (orderBy != null) {
_queryParams["orderBy"] = [orderBy];
}
+ if (filter != null) {
+ _queryParams["filter"] = [filter];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -1112,22 +1112,11 @@
/// [advertiserId] - The ID of the advertiser that owns the channels.
/// Value must have pattern "^[^/]+$".
///
- /// [partnerId] - The ID of the partner that owns the channels.
- ///
- /// [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.
///
- /// [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`.
- ///
/// [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}`.
@@ -1136,6 +1125,17 @@
/// `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`.
+ ///
+ /// [partnerId] - The ID of the partner that owns the channels.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1147,11 +1147,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<ListChannelsResponse> list(core.String advertiserId,
- {core.String partnerId,
- core.int pageSize,
- core.String pageToken,
- core.String orderBy,
+ {core.String pageToken,
core.String filter,
+ core.int pageSize,
+ core.String orderBy,
+ core.String partnerId,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -1163,20 +1163,20 @@
if (advertiserId == null) {
throw new core.ArgumentError("Parameter advertiserId is required.");
}
- if (partnerId != null) {
- _queryParams["partnerId"] = [partnerId];
+ 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 (orderBy != null) {
_queryParams["orderBy"] = [orderBy];
}
- if (filter != null) {
- _queryParams["filter"] = [filter];
+ if (partnerId != null) {
+ _queryParams["partnerId"] = [partnerId];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -1476,22 +1476,11 @@
/// requested sites belong.
/// Value must have pattern "^[^/]+$".
///
- /// [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.
///
- /// [partnerId] - The ID of the partner that owns the parent channel.
- ///
- /// [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 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
@@ -1499,6 +1488,17 @@
/// 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
+ /// 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.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1511,11 +1511,11 @@
/// this method will complete with the same error.
async.Future<ListSitesResponse> list(
core.String advertiserId, core.String channelId,
- {core.String orderBy,
- core.String pageToken,
- core.String partnerId,
- core.int pageSize,
+ {core.String pageToken,
core.String filter,
+ core.String partnerId,
+ core.String orderBy,
+ core.int pageSize,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -1530,21 +1530,21 @@
if (channelId == null) {
throw new core.ArgumentError("Parameter channelId is required.");
}
- if (orderBy != null) {
- _queryParams["orderBy"] = [orderBy];
- }
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 (filter != null) {
- _queryParams["filter"] = [filter];
- }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -1741,11 +1741,6 @@
/// [advertiserId] - Required. The ID of the advertiser to list creatives 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 `ListCreatives` 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`. Returns error code `INVALID_ARGUMENT`
/// if an invalid value is specified.
@@ -1756,6 +1751,11 @@
/// 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
@@ -1798,9 +1798,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<ListCreativesResponse> list(core.String advertiserId,
- {core.String pageToken,
- core.int pageSize,
+ {core.int pageSize,
core.String orderBy,
+ core.String pageToken,
core.String filter,
core.String $fields}) {
var _url;
@@ -1813,15 +1813,15 @@
if (advertiserId == null) {
throw new core.ArgumentError("Parameter advertiserId is required.");
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
if (orderBy != null) {
_queryParams["orderBy"] = [orderBy];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
if (filter != null) {
_queryParams["filter"] = [filter];
}
@@ -2093,6 +2093,20 @@
/// 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
@@ -2110,20 +2124,6 @@
/// `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`.
- ///
- /// [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.
- ///
- /// [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.
///
@@ -2135,10 +2135,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<ListInsertionOrdersResponse> list(core.String advertiserId,
- {core.String filter,
- core.String orderBy,
- core.String pageToken,
+ {core.String orderBy,
core.int pageSize,
+ core.String pageToken,
+ core.String filter,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -2150,17 +2150,17 @@
if (advertiserId == null) {
throw new 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 (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
+ if (filter != null) {
+ _queryParams["filter"] = [filter];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -2344,6 +2344,15 @@
/// 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`
@@ -2358,15 +2367,6 @@
/// `inheritance="NOT_INHERITED" OR inheritance="INHERITED_FROM_PARTNER"` The
/// length of this field should be no more than 500 characters.
///
- /// [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.
- ///
- /// [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`.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -2381,9 +2381,9 @@
bulkListLineItemAssignedTargetingOptions(
core.String advertiserId, core.String lineItemId,
{core.String pageToken,
- core.String filter,
- core.int pageSize,
core.String orderBy,
+ core.int pageSize,
+ core.String filter,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -2401,14 +2401,14 @@
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 (filter != null) {
+ _queryParams["filter"] = [filter];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -2602,6 +2602,12 @@
/// 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
@@ -2624,20 +2630,14 @@
/// `warningMessages:"NO_VALID_CREATIVE"` 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.
- ///
/// [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.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -2650,10 +2650,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<ListLineItemsResponse> list(core.String advertiserId,
- {core.String filter,
- core.int pageSize,
+ {core.String orderBy,
+ core.String filter,
core.String pageToken,
- core.String orderBy,
+ core.int pageSize,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -2665,17 +2665,17 @@
if (advertiserId == null) {
throw new core.ArgumentError("Parameter advertiserId is required.");
}
+ 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 (orderBy != null) {
- _queryParams["orderBy"] = [orderBy];
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -3346,6 +3346,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 `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
@@ -3363,11 +3368,6 @@
/// `inheritance="NOT_INHERITED" OR inheritance="INHERITED_FROM_PARTNER"` 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 `ListLineItemAssignedTargetingOptions` method. If not
- /// specified, the first page of results will be returned.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -3383,9 +3383,9 @@
core.String lineItemId,
core.String targetingType,
{core.int pageSize,
+ core.String pageToken,
core.String orderBy,
core.String filter,
- core.String pageToken,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -3406,15 +3406,15 @@
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 (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -3569,10 +3569,9 @@
/// 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 `ListLocationLists` method. If not specified, the first
- /// page of results will be returned.
+ /// [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
@@ -3583,9 +3582,10 @@
/// `locationType="TARGETING_LOCATION_TYPE_REGIONAL"` * All proximity location
/// list: `locationType="TARGETING_LOCATION_TYPE_PROXIMITY"`
///
- /// [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
+ /// page of results will be returned.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -3599,9 +3599,9 @@
/// this method will complete with the same error.
async.Future<ListLocationListsResponse> list(core.String advertiserId,
{core.String orderBy,
- core.String pageToken,
- core.String filter,
core.int pageSize,
+ core.String filter,
+ core.String pageToken,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -3616,14 +3616,14 @@
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 (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -3917,6 +3917,11 @@
/// [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
@@ -3924,20 +3929,15 @@
/// `EQUALS (=)`. * Supported fields: - `assignedLocationId` 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.
- ///
- /// [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.
- ///
/// [orderBy] - Field by which to sort the list. Acceptable values are: *
/// `assignedLocationId` (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: `assignedLocationId 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.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -3950,10 +3950,10 @@
/// this method will complete with the same error.
async.Future<ListAssignedLocationsResponse> list(
core.String advertiserId, core.String locationListId,
- {core.String filter,
- core.int pageSize,
- core.String pageToken,
+ {core.String pageToken,
+ core.String filter,
core.String orderBy,
+ core.int pageSize,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -3968,18 +3968,18 @@
if (locationListId == null) {
throw new core.ArgumentError("Parameter locationListId 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 (orderBy != null) {
_queryParams["orderBy"] = [orderBy];
}
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -4190,15 +4190,15 @@
/// fetched negative keyword lists belong.
/// Value must have pattern "^[^/]+$".
///
+ /// [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 `ListNegativeKeywordLists` method. If not specified, the
/// first page of results will be returned.
///
- /// [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.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -4210,7 +4210,7 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<ListNegativeKeywordListsResponse> list(core.String advertiserId,
- {core.String pageToken, core.int pageSize, core.String $fields}) {
+ {core.int pageSize, core.String pageToken, core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -4221,12 +4221,12 @@
if (advertiserId == null) {
throw new core.ArgumentError("Parameter advertiserId 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];
}
@@ -4530,20 +4530,11 @@
/// list to which the requested negative keywords belong.
/// 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: *
/// `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`.
///
- /// [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 `ListNegativeKeywords` method. If not specified, the
- /// first page of results will be returned.
- ///
/// [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}
@@ -4551,6 +4542,15 @@
/// fields: - `keywordValue` Examples: * All negative keywords for which the
/// keyword value contains "google": `keywordValue : "google"`
///
+ /// [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 `ListNegativeKeywords` method. If not specified, the
+ /// first page of results will be returned.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -4563,10 +4563,10 @@
/// this method will complete with the same error.
async.Future<ListNegativeKeywordsResponse> list(
core.String advertiserId, core.String negativeKeywordListId,
- {core.int pageSize,
- core.String orderBy,
- core.String pageToken,
+ {core.String orderBy,
core.String filter,
+ core.int pageSize,
+ core.String pageToken,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -4582,18 +4582,18 @@
throw new core.ArgumentError(
"Parameter negativeKeywordListId is required.");
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
if (orderBy != null) {
_queryParams["orderBy"] = [orderBy];
}
- 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];
}
@@ -5159,11 +5159,6 @@
/// ascending. To specify descending order for a field, a suffix "desc" should
/// be added to the field name. Example: `assignedTargetingOptionId 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 `ListAdvertiserAssignedTargetingOptions` 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`.
@@ -5173,6 +5168,11 @@
/// 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.
+ ///
/// [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.
@@ -5190,8 +5190,8 @@
async.Future<ListAdvertiserAssignedTargetingOptionsResponse> list(
core.String advertiserId, core.String targetingType,
{core.String orderBy,
- core.String pageToken,
core.String filter,
+ core.String pageToken,
core.int pageSize,
core.String $fields}) {
var _url;
@@ -5210,12 +5210,12 @@
if (orderBy != null) {
_queryParams["orderBy"] = [orderBy];
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (filter != null) {
_queryParams["filter"] = [filter];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
@@ -5253,10 +5253,10 @@
/// [combinedAudienceId] - Required. The ID of the combined audience to fetch.
/// Value must have pattern "^[^/]+$".
///
- /// [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 audience.
///
- /// [advertiserId] - The ID of the advertiser that has access to the fetched
+ /// [partnerId] - The ID of the partner that has access to the fetched
/// combined audience.
///
/// [$fields] - Selector specifying which fields to include in a partial
@@ -5270,7 +5270,7 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<CombinedAudience> get(core.String combinedAudienceId,
- {core.String partnerId, core.String advertiserId, core.String $fields}) {
+ {core.String advertiserId, core.String partnerId, core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -5281,12 +5281,12 @@
if (combinedAudienceId == null) {
throw new core.ArgumentError("Parameter combinedAudienceId 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];
}
@@ -5312,6 +5312,11 @@
/// 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
/// combined audiences.
///
@@ -5323,18 +5328,13 @@
/// name contains "Google": `displayName : "Google"`. The length of this field
/// should be no more than 500 characters.
///
- /// [advertiserId] - The ID of the advertiser that has access to the fetched
- /// combined 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 `ListCombinedAudiences` 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`. Returns error code `INVALID_ARGUMENT`
/// if an invalid value is specified.
///
+ /// [advertiserId] - The ID of the advertiser that has access to the fetched
+ /// combined audiences.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -5347,11 +5347,11 @@
/// this method will complete with the same error.
async.Future<ListCombinedAudiencesResponse> list(
{core.String orderBy,
+ core.String pageToken,
core.String partnerId,
core.String filter,
- core.String advertiserId,
- core.String pageToken,
core.int pageSize,
+ core.String advertiserId,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -5363,21 +5363,21 @@
if (orderBy != null) {
_queryParams["orderBy"] = [orderBy];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
if (partnerId != null) {
_queryParams["partnerId"] = [partnerId];
}
if (filter != null) {
_queryParams["filter"] = [filter];
}
- if (advertiserId != null) {
- _queryParams["advertiserId"] = [advertiserId];
- }
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
+ if (advertiserId != null) {
+ _queryParams["advertiserId"] = [advertiserId];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -5409,10 +5409,10 @@
/// algorithm to fetch.
/// Value must have pattern "^[^/]+$".
///
- /// [partnerId] - The ID of the DV360 partner that has access to the custom
+ /// [advertiserId] - The ID of the DV360 partner that has access to the custom
/// bidding algorithm.
///
- /// [advertiserId] - The ID of the DV360 partner that has access to the custom
+ /// [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
@@ -5426,7 +5426,7 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<CustomBiddingAlgorithm> get(core.String customBiddingAlgorithmId,
- {core.String partnerId, core.String advertiserId, core.String $fields}) {
+ {core.String advertiserId, core.String partnerId, core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -5438,12 +5438,12 @@
throw new core.ArgumentError(
"Parameter customBiddingAlgorithmId 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];
}
@@ -5466,6 +5466,21 @@
///
/// 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.
+ ///
/// [filter] - Allows filtering by custom bidding algorithm fields. Supported
/// syntax: * Filter expressions are made up of one or more restrictions. *
/// Restrictions can be combined by `AND`. A sequence of restrictions *
@@ -5483,26 +5498,11 @@
/// `customBiddingAlgorithmType=SCRIPT_BASED` 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 `ListCustomBiddingAlgorithms` 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`. Returns error code `INVALID_ARGUMENT`
- /// if an invalid value is specified.
- ///
/// [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. Example: `displayName desc`.
///
- /// [partnerId] - The ID of the DV360 partner that has access to the custom
- /// bidding algorithm.
- ///
- /// [advertiserId] - The ID of the DV360 advertiser that has access to the
- /// custom bidding algorithm.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -5514,12 +5514,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 filter,
- core.String pageToken,
+ {core.String partnerId,
core.int pageSize,
- core.String orderBy,
- core.String partnerId,
+ core.String pageToken,
core.String advertiserId,
+ core.String filter,
+ core.String orderBy,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -5528,24 +5528,24 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body;
- if (filter != null) {
- _queryParams["filter"] = [filter];
- }
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
+ if (partnerId != null) {
+ _queryParams["partnerId"] = [partnerId];
}
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
- if (orderBy != null) {
- _queryParams["orderBy"] = [orderBy];
- }
- if (partnerId != null) {
- _queryParams["partnerId"] = [partnerId];
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
}
if (advertiserId != null) {
_queryParams["advertiserId"] = [advertiserId];
}
+ if (filter != null) {
+ _queryParams["filter"] = [filter];
+ }
+ if (orderBy != null) {
+ _queryParams["orderBy"] = [orderBy];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -5623,19 +5623,23 @@
///
/// 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`.
///
- /// [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.
- ///
/// [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}`.
@@ -5644,10 +5648,6 @@
/// `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.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -5659,11 +5659,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 advertiserId,
- core.String orderBy,
- core.String pageToken,
- core.String filter,
+ {core.String pageToken,
+ core.String advertiserId,
core.int pageSize,
+ core.String orderBy,
+ core.String filter,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -5672,21 +5672,21 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body;
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
if (advertiserId != null) {
_queryParams["advertiserId"] = [advertiserId];
}
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
if (orderBy != null) {
_queryParams["orderBy"] = [orderBy];
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (filter != null) {
_queryParams["filter"] = [filter];
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -5777,8 +5777,8 @@
///
/// Request parameters:
///
- /// [partnerId] - The ID of the partner that has access to the fetched first
- /// and third party audiences.
+ /// [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
@@ -5786,14 +5786,6 @@
/// 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 `ListFirstAndThirdPartyAudiences` method. If not
- /// specified, the first page of results will be returned.
- ///
- /// [advertiserId] - The ID of the advertiser that has access to the fetched
- /// first and third party audiences.
- ///
/// [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
@@ -5803,6 +5795,14 @@
/// : "Google"`. 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 `ListFirstAndThirdPartyAudiences` method. If not
+ /// specified, the first page of results will be returned.
+ ///
+ /// [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.
@@ -5818,11 +5818,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<ListFirstAndThirdPartyAudiencesResponse> list(
- {core.String partnerId,
+ {core.String advertiserId,
core.String orderBy,
- core.String pageToken,
- core.String advertiserId,
core.String filter,
+ core.String pageToken,
+ core.String partnerId,
core.int pageSize,
core.String $fields}) {
var _url;
@@ -5832,20 +5832,20 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body;
- if (partnerId != null) {
- _queryParams["partnerId"] = [partnerId];
+ if (advertiserId != null) {
+ _queryParams["advertiserId"] = [advertiserId];
}
if (orderBy != null) {
_queryParams["orderBy"] = [orderBy];
}
+ if (filter != null) {
+ _queryParams["filter"] = [filter];
+ }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
- if (advertiserId != null) {
- _queryParams["advertiserId"] = [advertiserId];
- }
- if (filter != null) {
- _queryParams["filter"] = [filter];
+ if (partnerId != null) {
+ _queryParams["partnerId"] = [partnerId];
}
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
@@ -6000,12 +6000,12 @@
/// [googleAudienceId] - Required. The ID of the Google audience to fetch.
/// Value must have pattern "^[^/]+$".
///
- /// [partnerId] - The ID of the partner that has access to the fetched Google
- /// audience.
- ///
/// [advertiserId] - The ID of the advertiser that has access to the fetched
/// Google audience.
///
+ /// [partnerId] - The ID of the partner that has access to the fetched Google
+ /// audience.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -6017,7 +6017,7 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<GoogleAudience> get(core.String googleAudienceId,
- {core.String partnerId, core.String advertiserId, core.String $fields}) {
+ {core.String advertiserId, core.String partnerId, core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -6028,12 +6028,12 @@
if (googleAudienceId == null) {
throw new core.ArgumentError("Parameter googleAudienceId 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];
}
@@ -6054,6 +6054,9 @@
///
/// Request parameters:
///
+ /// [advertiserId] - The ID of the advertiser that has access to the fetched
+ /// Google audiences.
+ ///
/// [filter] - Allows filtering by Google audience fields. Supported syntax: *
/// Filter expressions for Google audiences currently can only contain at most
/// one restriction. * A restriction has the form of `{field} {operator}
@@ -6070,9 +6073,6 @@
/// previous call to `ListGoogleAudiences` method. If not specified, the first
/// page of results will be returned.
///
- /// [advertiserId] - The ID of the advertiser that has access to the fetched
- /// Google audiences.
- ///
/// [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
@@ -6093,10 +6093,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<ListGoogleAudiencesResponse> list(
- {core.String filter,
+ {core.String advertiserId,
+ core.String filter,
core.String partnerId,
core.String pageToken,
- core.String advertiserId,
core.String orderBy,
core.int pageSize,
core.String $fields}) {
@@ -6107,6 +6107,9 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body;
+ if (advertiserId != null) {
+ _queryParams["advertiserId"] = [advertiserId];
+ }
if (filter != null) {
_queryParams["filter"] = [filter];
}
@@ -6116,9 +6119,6 @@
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
- if (advertiserId != null) {
- _queryParams["advertiserId"] = [advertiserId];
- }
if (orderBy != null) {
_queryParams["orderBy"] = [orderBy];
}
@@ -6219,12 +6219,12 @@
/// to delete.
/// Value must have pattern "^[^/]+$".
///
- /// [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.
///
+ /// [advertiserId] - The ID of the advertiser that owns the inventory source
+ /// group. The parent partner does not have access to this group.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -6236,7 +6236,7 @@
/// 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> delete(core.String inventorySourceGroupId,
- {core.String advertiserId, core.String partnerId, core.String $fields}) {
+ {core.String partnerId, core.String advertiserId, core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -6248,12 +6248,12 @@
throw new core.ArgumentError(
"Parameter inventorySourceGroupId is required.");
}
- if (advertiserId != null) {
- _queryParams["advertiserId"] = [advertiserId];
- }
if (partnerId != null) {
_queryParams["partnerId"] = [partnerId];
}
+ if (advertiserId != null) {
+ _queryParams["advertiserId"] = [advertiserId];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -6278,14 +6278,14 @@
/// to fetch.
/// Value must have pattern "^[^/]+$".
///
- /// [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.
///
+ /// [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.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -6297,7 +6297,7 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<InventorySourceGroup> get(core.String inventorySourceGroupId,
- {core.String advertiserId, core.String partnerId, core.String $fields}) {
+ {core.String partnerId, core.String advertiserId, core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -6309,12 +6309,12 @@
throw new core.ArgumentError(
"Parameter inventorySourceGroupId is required.");
}
- if (advertiserId != null) {
- _queryParams["advertiserId"] = [advertiserId];
- }
if (partnerId != null) {
_queryParams["partnerId"] = [partnerId];
}
+ if (advertiserId != null) {
+ _queryParams["advertiserId"] = [advertiserId];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -6336,10 +6336,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 `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 group. If an inventory source group is partner-owned, only
+ /// advertisers to which the group is explicitly shared can access the group.
///
/// [filter] - Allows filtering by inventory source group properties.
/// Supported syntax: * Filter expressions are made up of one or more
@@ -6349,6 +6348,16 @@
/// `inventorySourceGroupId` 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) * `inventorySourceGroupId` 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`.
+ ///
+ /// [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`.
///
@@ -6356,15 +6365,6 @@
/// source group. A partner cannot access advertiser-owned inventory source
/// groups.
///
- /// [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.
- ///
- /// [orderBy] - Field by which to sort the list. Acceptable values are: *
- /// `displayName` (default) * `inventorySourceGroupId` 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`.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -6376,12 +6376,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<ListInventorySourceGroupsResponse> list(
- {core.String pageToken,
+ {core.String advertiserId,
core.String filter,
+ core.String orderBy,
+ core.String pageToken,
core.int pageSize,
core.String partnerId,
- core.String advertiserId,
- core.String orderBy,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -6390,24 +6390,24 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body;
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
+ if (advertiserId != null) {
+ _queryParams["advertiserId"] = [advertiserId];
}
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 (partnerId != null) {
_queryParams["partnerId"] = [partnerId];
}
- if (advertiserId != null) {
- _queryParams["advertiserId"] = [advertiserId];
- }
- if (orderBy != null) {
- _queryParams["orderBy"] = [orderBy];
- }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -6434,11 +6434,11 @@
/// [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.
///
- /// [updateMask] - Required. The mask to control which fields to update.
- ///
/// [partnerId] - The ID of the partner that owns the inventory source group.
/// Only this partner has write access to this group.
///
@@ -6454,8 +6454,8 @@
/// this method will complete with the same error.
async.Future<InventorySourceGroup> patch(
InventorySourceGroup request, core.String inventorySourceGroupId,
- {core.String advertiserId,
- core.String updateMask,
+ {core.String updateMask,
+ core.String advertiserId,
core.String partnerId,
core.String $fields}) {
var _url;
@@ -6472,12 +6472,12 @@
throw new core.ArgumentError(
"Parameter inventorySourceGroupId is required.");
}
- if (advertiserId != null) {
- _queryParams["advertiserId"] = [advertiserId];
- }
if (updateMask != null) {
_queryParams["updateMask"] = [updateMask];
}
+ if (advertiserId != null) {
+ _queryParams["advertiserId"] = [advertiserId];
+ }
if (partnerId != null) {
_queryParams["partnerId"] = [partnerId];
}
@@ -6716,10 +6716,6 @@
/// to which these assignments are assigned.
/// Value must have pattern "^[^/]+$".
///
- /// [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.
- ///
/// [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.
@@ -6729,17 +6725,16 @@
/// previous call to `ListAssignedInventorySources` method. If not specified,
/// the first page of results will be returned.
///
- /// [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.
- ///
/// [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
@@ -6747,6 +6742,11 @@
/// `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.
///
@@ -6759,12 +6759,12 @@
/// this method will complete with the same error.
async.Future<ListAssignedInventorySourcesResponse> list(
core.String inventorySourceGroupId,
- {core.String partnerId,
- core.int pageSize,
+ {core.int pageSize,
core.String pageToken,
- core.String advertiserId,
core.String orderBy,
+ core.String partnerId,
core.String filter,
+ core.String advertiserId,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -6777,24 +6777,24 @@
throw new core.ArgumentError(
"Parameter inventorySourceGroupId is required.");
}
- if (partnerId != null) {
- _queryParams["partnerId"] = [partnerId];
- }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
- if (advertiserId != null) {
- _queryParams["advertiserId"] = [advertiserId];
- }
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];
}
@@ -6881,17 +6881,6 @@
/// [partnerId] - The ID of the partner that has access to the inventory
/// source.
///
- /// [advertiserId] - The ID of the advertiser that has access to the inventory
- /// source.
- ///
- /// [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 inventory source properties. Supported
/// syntax: * Filter expressions are made up of one or more restrictions. *
/// Restrictions can be combined by `AND` or `OR` logical operators. A
@@ -6909,6 +6898,17 @@
/// 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
+ /// name. For example, `displayName desc`.
+ ///
+ /// [pageSize] - Requested page size. Must be between `1` and `100`. If
+ /// unspecified will default to `100`.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -6921,11 +6921,11 @@
/// this method will complete with the same error.
async.Future<ListInventorySourcesResponse> list(
{core.String partnerId,
- core.String advertiserId,
- core.int pageSize,
- core.String orderBy,
core.String filter,
core.String pageToken,
+ core.String advertiserId,
+ core.String orderBy,
+ core.int pageSize,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -6937,21 +6937,21 @@
if (partnerId != null) {
_queryParams["partnerId"] = [partnerId];
}
- if (advertiserId != null) {
- _queryParams["advertiserId"] = [advertiserId];
- }
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
- if (orderBy != null) {
- _queryParams["orderBy"] = [orderBy];
- }
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 ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -7165,19 +7165,19 @@
/// `entityStatus="ENTITY_STATUS_ACTIVE"` The length of this field should be
/// no more than 500 characters.
///
- /// [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.
///
+ /// [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`.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -7190,9 +7190,9 @@
/// this method will complete with the same error.
async.Future<ListPartnersResponse> list(
{core.String filter,
- core.String orderBy,
- core.int pageSize,
core.String pageToken,
+ core.int pageSize,
+ core.String orderBy,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -7204,14 +7204,14 @@
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 (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
+ if (orderBy != null) {
+ _queryParams["orderBy"] = [orderBy];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -7359,15 +7359,15 @@
/// [partnerId] - The ID of the partner that owns the channels.
/// 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: *
/// `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
@@ -7394,8 +7394,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<ListChannelsResponse> list(core.String partnerId,
- {core.int pageSize,
- core.String orderBy,
+ {core.String orderBy,
+ core.int pageSize,
core.String pageToken,
core.String filter,
core.String advertiserId,
@@ -7410,12 +7410,12 @@
if (partnerId == null) {
throw new core.ArgumentError("Parameter partnerId is required.");
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
if (orderBy != null) {
_queryParams["orderBy"] = [orderBy];
}
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
@@ -7454,10 +7454,10 @@
/// [channelId] - Output only. The unique ID of the channel. Assigned by the
/// system.
///
- /// [advertiserId] - The ID of the advertiser that owns the created channel.
- ///
/// [updateMask] - Required. The mask to control which fields to update.
///
+ /// [advertiserId] - The ID of the advertiser that owns the created channel.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -7470,7 +7470,7 @@
/// this method will complete with the same error.
async.Future<Channel> patch(
Channel request, core.String partnerId, core.String channelId,
- {core.String advertiserId, core.String updateMask, core.String $fields}) {
+ {core.String updateMask, core.String advertiserId, core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -7487,12 +7487,12 @@
if (channelId == null) {
throw new core.ArgumentError("Parameter channelId is required.");
}
- if (advertiserId != null) {
- _queryParams["advertiserId"] = [advertiserId];
- }
if (updateMask != null) {
_queryParams["updateMask"] = [updateMask];
}
+ if (advertiserId != null) {
+ _queryParams["advertiserId"] = [advertiserId];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -7723,22 +7723,6 @@
/// requested sites belong.
/// Value must have pattern "^[^/]+$".
///
- /// [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`.
- ///
- /// [advertiserId] - The ID of the advertiser that owns the parent channel.
- ///
- /// [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.
- ///
- /// [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 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
@@ -7746,6 +7730,22 @@
/// 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.
+ ///
+ /// [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`.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -7758,11 +7758,11 @@
/// this method will complete with the same error.
async.Future<ListSitesResponse> list(
core.String partnerId, core.String channelId,
- {core.String orderBy,
- core.String advertiserId,
+ {core.String filter,
core.String pageToken,
+ core.String advertiserId,
core.int pageSize,
- core.String filter,
+ core.String orderBy,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -7777,20 +7777,20 @@
if (channelId == null) {
throw new core.ArgumentError("Parameter channelId is required.");
}
- if (orderBy != null) {
- _queryParams["orderBy"] = [orderBy];
- }
- 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 (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
- if (filter != null) {
- _queryParams["filter"] = [filter];
+ if (orderBy != null) {
+ _queryParams["orderBy"] = [orderBy];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -8351,11 +8351,20 @@
/// - "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.
+ ///
/// [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.
+ ///
/// [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`.
@@ -8365,15 +8374,6 @@
/// 123456 `assignedTargetingOptionId="123456"` 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.
- ///
- /// [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.
///
@@ -8386,10 +8386,10 @@
/// this method will complete with the same error.
async.Future<ListPartnerAssignedTargetingOptionsResponse> list(
core.String partnerId, core.String targetingType,
- {core.String orderBy,
- core.String filter,
+ {core.String pageToken,
+ core.String orderBy,
core.int pageSize,
- core.String pageToken,
+ core.String filter,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -8404,17 +8404,17 @@
if (targetingType == null) {
throw new core.ArgumentError("Parameter targetingType is required.");
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
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 (filter != null) {
+ _queryParams["filter"] = [filter];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -8789,6 +8789,18 @@
/// - "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
@@ -8804,18 +8816,6 @@
/// `carrier_and_isp_details.type="CARRIER_AND_ISP_TYPE_CARRIER"`. The length
/// of this field should be no more than 500 characters.
///
- /// [advertiserId] - Required. The Advertiser this request is being made in
- /// the context of.
- ///
- /// [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
@@ -8832,10 +8832,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<ListTargetingOptionsResponse> list(core.String targetingType,
- {core.String filter,
+ {core.String orderBy,
core.String advertiserId,
- core.String orderBy,
core.int pageSize,
+ core.String filter,
core.String pageToken,
core.String $fields}) {
var _url;
@@ -8848,18 +8848,18 @@
if (targetingType == null) {
throw new core.ArgumentError("Parameter targetingType is required.");
}
- if (filter != null) {
- _queryParams["filter"] = [filter];
+ if (orderBy != null) {
+ _queryParams["orderBy"] = [orderBy];
}
if (advertiserId != null) {
_queryParams["advertiserId"] = [advertiserId];
}
- if (orderBy != null) {
- _queryParams["orderBy"] = [orderBy];
- }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
+ if (filter != null) {
+ _queryParams["filter"] = [filter];
+ }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
@@ -9078,6 +9078,19 @@
///
/// 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
@@ -9102,19 +9115,6 @@
/// `parentPartnerId="123"` 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`.
- ///
- /// [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.
- ///
- /// [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`.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -9126,10 +9126,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 filter,
+ {core.String pageToken,
core.int pageSize,
- core.String pageToken,
core.String orderBy,
+ core.String filter,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -9138,18 +9138,18 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body;
- 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 (orderBy != null) {
_queryParams["orderBy"] = [orderBy];
}
+ if (filter != null) {
+ _queryParams["filter"] = [filter];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
diff --git a/generated/googleapis/lib/dlp/v2.dart b/generated/googleapis/lib/dlp/v2.dart
index d950f0f..eed3f22 100644
--- a/generated/googleapis/lib/dlp/v2.dart
+++ b/generated/googleapis/lib/dlp/v2.dart
@@ -52,13 +52,13 @@
///
/// [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.
+ ///
/// [parent] - The parent resource name. The format of this value is as
/// follows: locations/ LOCATION_ID
///
@@ -74,8 +74,8 @@
/// this method will complete with the same error.
async.Future<GooglePrivacyDlpV2ListInfoTypesResponse> list(
{core.String locationId,
- core.String filter,
core.String languageCode,
+ core.String filter,
core.String parent,
core.String $fields}) {
var _url;
@@ -88,12 +88,12 @@
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 (parent != null) {
_queryParams["parent"] = [parent];
}
@@ -139,15 +139,15 @@
/// follows: locations/ LOCATION_ID
/// Value must have pattern "^locations/[^/]+$".
///
- /// [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.
///
+ /// [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.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -159,9 +159,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 parent,
- {core.String languageCode,
- core.String filter,
+ {core.String filter,
core.String locationId,
+ core.String languageCode,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -173,15 +173,15 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (languageCode != null) {
- _queryParams["languageCode"] = [languageCode];
- }
if (filter != null) {
_queryParams["filter"] = [filter];
}
if (locationId != null) {
_queryParams["locationId"] = [locationId];
}
+ if (languageCode != null) {
+ _queryParams["languageCode"] = [languageCode];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -408,9 +408,6 @@
/// parent=projects/example-project/locations/europe-west3
/// Value must have pattern "^organizations/[^/]+$".
///
- /// [pageToken] - Page token to continue retrieval. Comes from previous call
- /// to `ListDeidentifyTemplates`.
- ///
/// [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
@@ -421,6 +418,9 @@
///
/// [locationId] - Deprecated. This field has no effect.
///
+ /// [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.
///
@@ -436,9 +436,9 @@
/// this method will complete with the same error.
async.Future<GooglePrivacyDlpV2ListDeidentifyTemplatesResponse> list(
core.String parent,
- {core.String pageToken,
- core.String orderBy,
+ {core.String orderBy,
core.String locationId,
+ core.String pageToken,
core.int pageSize,
core.String $fields}) {
var _url;
@@ -451,15 +451,15 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (orderBy != null) {
_queryParams["orderBy"] = [orderBy];
}
if (locationId != null) {
_queryParams["locationId"] = [locationId];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
@@ -731,8 +731,7 @@
/// 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.
+ /// [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
@@ -742,7 +741,8 @@
/// 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`.
@@ -759,9 +759,9 @@
/// this method will complete with the same error.
async.Future<GooglePrivacyDlpV2ListInspectTemplatesResponse> list(
core.String parent,
- {core.int pageSize,
+ {core.String locationId,
core.String orderBy,
- core.String locationId,
+ core.int pageSize,
core.String pageToken,
core.String $fields}) {
var _url;
@@ -774,14 +774,14 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
+ 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];
@@ -1396,12 +1396,6 @@
/// parent=projects/example-project/locations/europe-west3
/// Value must have pattern "^organizations/[^/]+/locations/[^/]+$".
///
- /// [pageToken] - Page token to continue retrieval. Comes from previous call
- /// to `ListInspectTemplates`.
- ///
- /// [pageSize] - Size of the page, can be limited by server. If zero server
- /// returns a page of max size 100.
- ///
/// [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
@@ -1412,6 +1406,12 @@
///
/// [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.
///
@@ -1424,10 +1424,10 @@
/// this method will complete with the same error.
async.Future<GooglePrivacyDlpV2ListInspectTemplatesResponse> list(
core.String parent,
- {core.String pageToken,
- core.int pageSize,
- core.String orderBy,
+ {core.String orderBy,
core.String locationId,
+ core.int pageSize,
+ core.String pageToken,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -1439,18 +1439,18 @@
if (parent == null) {
throw new 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 (locationId != null) {
_queryParams["locationId"] = [locationId];
}
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -1717,9 +1717,6 @@
/// parent=projects/example-project/locations/europe-west3
/// Value must have pattern "^organizations/[^/]+/locations/[^/]+$".
///
- /// [pageToken] - Page token to continue retrieval. Comes from previous call
- /// to `ListStoredInfoTypes`.
- ///
/// [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
@@ -1734,6 +1731,9 @@
///
/// [locationId] - Deprecated. This field has no effect.
///
+ /// [pageToken] - Page token to continue retrieval. Comes from previous call
+ /// to `ListStoredInfoTypes`.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1746,10 +1746,10 @@
/// this method will complete with the same error.
async.Future<GooglePrivacyDlpV2ListStoredInfoTypesResponse> list(
core.String parent,
- {core.String pageToken,
- core.String orderBy,
+ {core.String orderBy,
core.int pageSize,
core.String locationId,
+ core.String pageToken,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -1761,9 +1761,6 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (orderBy != null) {
_queryParams["orderBy"] = [orderBy];
}
@@ -1773,6 +1770,9 @@
if (locationId != null) {
_queryParams["locationId"] = [locationId];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -2041,11 +2041,11 @@
/// [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`.
///
+ /// [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
@@ -2068,8 +2068,8 @@
async.Future<GooglePrivacyDlpV2ListStoredInfoTypesResponse> list(
core.String parent,
{core.int pageSize,
- core.String locationId,
core.String pageToken,
+ core.String locationId,
core.String orderBy,
core.String $fields}) {
var _url;
@@ -2085,12 +2085,12 @@
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
- if (locationId != null) {
- _queryParams["locationId"] = [locationId];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (locationId != null) {
+ _queryParams["locationId"] = [locationId];
+ }
if (orderBy != null) {
_queryParams["orderBy"] = [orderBy];
}
@@ -2589,12 +2589,12 @@
/// parent=projects/example-project/locations/europe-west3
/// Value must have pattern "^projects/[^/]+$".
///
- /// [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.
+ ///
/// [locationId] - Deprecated. This field has no effect.
///
/// [orderBy] - Comma separated list of fields to order by, followed by `asc`
@@ -2617,8 +2617,8 @@
/// this method will complete with the same error.
async.Future<GooglePrivacyDlpV2ListDeidentifyTemplatesResponse> list(
core.String parent,
- {core.int pageSize,
- core.String pageToken,
+ {core.String pageToken,
+ core.int pageSize,
core.String locationId,
core.String orderBy,
core.String $fields}) {
@@ -2632,12 +2632,12 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
if (locationId != null) {
_queryParams["locationId"] = [locationId];
}
@@ -2955,7 +2955,21 @@
/// parent=projects/example-project/locations/europe-west3
/// Value must have pattern "^projects/[^/]+$".
///
- /// [pageToken] - The standard list page token.
+ /// [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
@@ -2976,24 +2990,10 @@
/// \"2017-12-12T00:00:00+00:00\" The length of this field should be no more
/// than 500 characters.
///
- /// [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`
- ///
- /// [locationId] - Deprecated. This field has no effect.
- ///
- /// [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.
- ///
/// [pageSize] - The standard list page size.
///
+ /// [pageToken] - The standard list page token.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -3005,12 +3005,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<GooglePrivacyDlpV2ListDlpJobsResponse> list(core.String parent,
- {core.String pageToken,
- core.String filter,
+ {core.String locationId,
core.String orderBy,
- core.String locationId,
core.String type,
+ core.String filter,
core.int pageSize,
+ core.String pageToken,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -3022,24 +3022,24 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- 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 (locationId != null) {
- _queryParams["locationId"] = [locationId];
- }
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 ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -3326,12 +3326,6 @@
///
/// [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`.
- ///
/// [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
@@ -3340,6 +3334,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 `ListInspectTemplates`.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -3353,9 +3353,9 @@
async.Future<GooglePrivacyDlpV2ListInspectTemplatesResponse> list(
core.String parent,
{core.String locationId,
+ core.String orderBy,
core.int pageSize,
core.String pageToken,
- core.String orderBy,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -3370,15 +3370,15 @@
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 ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -3685,7 +3685,19 @@
/// parent=projects/example-project/locations/europe-west3
/// Value must have pattern "^projects/[^/]+$".
///
- /// [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.
+ ///
+ /// [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.
///
@@ -3705,19 +3717,7 @@
/// \"2017-12-12T00:00:00+00:00\" The length of this field should be no more
/// than 500 characters.
///
- /// [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.
+ /// [pageSize] - Size of the page, can be limited by a server.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -3731,11 +3731,11 @@
/// this method will complete with the same error.
async.Future<GooglePrivacyDlpV2ListJobTriggersResponse> list(
core.String parent,
- {core.int pageSize,
+ {core.String orderBy,
+ core.String pageToken,
core.String locationId,
core.String filter,
- core.String orderBy,
- core.String pageToken,
+ core.int pageSize,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -3747,8 +3747,11 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
+ if (orderBy != null) {
+ _queryParams["orderBy"] = [orderBy];
+ }
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
}
if (locationId != null) {
_queryParams["locationId"] = [locationId];
@@ -3756,11 +3759,8 @@
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 ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -4257,7 +4257,8 @@
/// parent=projects/example-project/locations/europe-west3
/// Value must have pattern "^projects/[^/]+/locations/[^/]+$".
///
- /// [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`.
@@ -4270,8 +4271,7 @@
/// 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.
+ /// [locationId] - Deprecated. This field has no effect.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -4285,10 +4285,10 @@
/// this method will complete with the same error.
async.Future<GooglePrivacyDlpV2ListDeidentifyTemplatesResponse> list(
core.String parent,
- {core.String locationId,
+ {core.int pageSize,
core.String pageToken,
core.String orderBy,
- core.int pageSize,
+ core.String locationId,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -4300,8 +4300,8 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (locationId != null) {
- _queryParams["locationId"] = [locationId];
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
}
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
@@ -4309,8 +4309,8 @@
if (orderBy != null) {
_queryParams["orderBy"] = [orderBy];
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
+ if (locationId != null) {
+ _queryParams["locationId"] = [locationId];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -4737,13 +4737,15 @@
/// parent=projects/example-project/locations/europe-west3
/// Value must have pattern "^projects/[^/]+/locations/[^/]+$".
///
- /// [pageSize] - The standard list page size.
+ /// [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.
+ /// [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
@@ -4764,18 +4766,16 @@
/// \"2017-12-12T00:00:00+00:00\" The length of this field should be no more
/// than 500 characters.
///
- /// [pageToken] - The standard list page token.
- ///
- /// [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`
- ///
/// [locationId] - Deprecated. This field has no effect.
///
+ /// [pageSize] - The standard list page size.
+ ///
+ /// [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.
///
@@ -4787,12 +4787,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<GooglePrivacyDlpV2ListDlpJobsResponse> list(core.String parent,
- {core.int pageSize,
- core.String type,
- core.String filter,
+ {core.String orderBy,
core.String pageToken,
- core.String orderBy,
+ core.String filter,
core.String locationId,
+ core.int pageSize,
+ core.String type,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -4804,24 +4804,24 @@
if (parent == null) {
throw new 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 (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
if (type != null) {
_queryParams["type"] = [type];
}
- if (filter != null) {
- _queryParams["filter"] = [filter];
- }
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
- if (orderBy != null) {
- _queryParams["orderBy"] = [orderBy];
- }
- if (locationId != null) {
- _queryParams["locationId"] = [locationId];
- }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -5109,6 +5109,9 @@
/// 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`.
+ ///
/// [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
@@ -5117,14 +5120,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 `ListInspectTemplates`.
- ///
- /// [locationId] - Deprecated. This field has no effect.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -5137,10 +5137,10 @@
/// this method will complete with the same error.
async.Future<GooglePrivacyDlpV2ListInspectTemplatesResponse> list(
core.String parent,
- {core.String orderBy,
- core.int pageSize,
- core.String pageToken,
+ {core.String pageToken,
+ core.String orderBy,
core.String locationId,
+ core.int pageSize,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -5152,18 +5152,18 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- 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 (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -5534,6 +5534,24 @@
/// 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
@@ -5550,24 +5568,6 @@
/// \"2017-12-12T00:00:00+00:00\" The length of this field should be no more
/// than 500 characters.
///
- /// [pageToken] - Page token to continue retrieval. Comes from previous call
- /// to ListJobTriggers. `order_by` field must not change for subsequent calls.
- ///
- /// [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.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -5580,11 +5580,11 @@
/// this method will complete with the same error.
async.Future<GooglePrivacyDlpV2ListJobTriggersResponse> list(
core.String parent,
- {core.String filter,
- core.String pageToken,
- core.int pageSize,
+ {core.int pageSize,
core.String orderBy,
core.String locationId,
+ core.String pageToken,
+ core.String filter,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -5596,12 +5596,6 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (filter != null) {
- _queryParams["filter"] = [filter];
- }
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
@@ -5611,6 +5605,12 @@
if (locationId != null) {
_queryParams["locationId"] = [locationId];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
+ if (filter != null) {
+ _queryParams["filter"] = [filter];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -5876,12 +5876,12 @@
/// 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 `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`
@@ -5905,8 +5905,8 @@
/// this method will complete with the same error.
async.Future<GooglePrivacyDlpV2ListStoredInfoTypesResponse> list(
core.String parent,
- {core.int pageSize,
- core.String pageToken,
+ {core.String pageToken,
+ core.int pageSize,
core.String locationId,
core.String orderBy,
core.String $fields}) {
@@ -5920,12 +5920,12 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
if (locationId != null) {
_queryParams["locationId"] = [locationId];
}
diff --git a/generated/googleapis/lib/dns/v1.dart b/generated/googleapis/lib/dns/v1.dart
index 1e050a5..4cb6d35 100644
--- a/generated/googleapis/lib/dns/v1.dart
+++ b/generated/googleapis/lib/dns/v1.dart
@@ -67,7 +67,7 @@
/// [project] - Identifies the project addressed by this request.
///
/// [managedZone] - Identifies the managed zone addressed by this request. Can
- /// be the managed zone name or id.
+ /// be the managed zone name or ID.
///
/// [clientOperationId] - For mutating operation requests only. An optional
/// identifier specified by the client. Must be unique for operation resources
@@ -131,7 +131,7 @@
/// [project] - Identifies the project addressed by this request.
///
/// [managedZone] - Identifies the managed zone addressed by this request. Can
- /// be the managed zone name or id.
+ /// be the managed zone name or ID.
///
/// [changeId] - The identifier of the requested change, from a previous
/// ResourceRecordSetsChangeResponse.
@@ -199,10 +199,7 @@
/// [project] - Identifies the project addressed by this request.
///
/// [managedZone] - Identifies the managed zone addressed by this request. Can
- /// be the managed zone name or id.
- ///
- /// [pageToken] - Optional. A tag returned by a previous list request that was
- /// truncated. Use this parameter to continue a previous list request.
+ /// be the managed zone name or ID.
///
/// [sortBy] - Sorting criterion. The only supported value is change sequence.
/// Possible string values are:
@@ -213,6 +210,9 @@
/// [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.
///
@@ -225,10 +225,10 @@
/// this method will complete with the same error.
async.Future<ChangesListResponse> list(
core.String project, core.String managedZone,
- {core.String pageToken,
- core.String sortBy,
+ {core.String sortBy,
core.String sortOrder,
core.int maxResults,
+ core.String pageToken,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -243,9 +243,6 @@
if (managedZone == null) {
throw new core.ArgumentError("Parameter managedZone is required.");
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (sortBy != null) {
_queryParams["sortBy"] = [sortBy];
}
@@ -255,6 +252,9 @@
if (maxResults != null) {
_queryParams["maxResults"] = ["${maxResults}"];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -287,7 +287,7 @@
/// [project] - Identifies the project addressed by this request.
///
/// [managedZone] - Identifies the managed zone addressed by this request. Can
- /// be the managed zone name or id.
+ /// be the managed zone name or ID.
///
/// [dnsKeyId] - The identifier of the requested DnsKey.
///
@@ -363,15 +363,15 @@
/// [project] - Identifies the project addressed by this request.
///
/// [managedZone] - Identifies the managed zone addressed by this request. Can
- /// be the managed zone name or id.
- ///
- /// [maxResults] - Optional. Maximum number of results to be returned. If
- /// unspecified, the server will decide how many results to return.
+ /// be the managed zone name or ID.
///
/// [digestType] - An optional comma-separated list of digest types to compute
/// and display for key signing keys. If omitted, the recommended digest type
/// will be computed and displayed.
///
+ /// [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.
///
@@ -387,8 +387,8 @@
/// this method will complete with the same error.
async.Future<DnsKeysListResponse> list(
core.String project, core.String managedZone,
- {core.int maxResults,
- core.String digestType,
+ {core.String digestType,
+ core.int maxResults,
core.String pageToken,
core.String $fields}) {
var _url;
@@ -404,12 +404,12 @@
if (managedZone == null) {
throw new core.ArgumentError("Parameter managedZone is required.");
}
- if (maxResults != null) {
- _queryParams["maxResults"] = ["${maxResults}"];
- }
if (digestType != null) {
_queryParams["digestType"] = [digestType];
}
+ if (maxResults != null) {
+ _queryParams["maxResults"] = ["${maxResults}"];
+ }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
@@ -513,12 +513,12 @@
///
/// [managedZone] - Identifies the managed zone addressed by this 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.
///
+ /// [maxResults] - Optional. Maximum number of results to be returned. If
+ /// unspecified, the server will decide how many results to return.
+ ///
/// [sortBy] - Sorting criterion. The only supported values are START_TIME and
/// ID.
/// Possible string values are:
@@ -537,8 +537,8 @@
/// this method will complete with the same error.
async.Future<ManagedZoneOperationsListResponse> list(
core.String project, core.String managedZone,
- {core.int maxResults,
- core.String pageToken,
+ {core.String pageToken,
+ core.int maxResults,
core.String sortBy,
core.String $fields}) {
var _url;
@@ -554,12 +554,12 @@
if (managedZone == null) {
throw new core.ArgumentError("Parameter managedZone is required.");
}
- if (maxResults != null) {
- _queryParams["maxResults"] = ["${maxResults}"];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (maxResults != null) {
+ _queryParams["maxResults"] = ["${maxResults}"];
+ }
if (sortBy != null) {
_queryParams["sortBy"] = [sortBy];
}
@@ -653,7 +653,7 @@
/// [project] - Identifies the project addressed by this request.
///
/// [managedZone] - Identifies the managed zone addressed by this request. Can
- /// be the managed zone name or id.
+ /// be the managed zone name or ID.
///
/// [clientOperationId] - For mutating operation requests only. An optional
/// identifier specified by the client. Must be unique for operation resources
@@ -712,7 +712,7 @@
/// [project] - Identifies the project addressed by this request.
///
/// [managedZone] - Identifies the managed zone addressed by this request. Can
- /// be the managed zone name or id.
+ /// be the managed zone name or ID.
///
/// [clientOperationId] - For mutating operation requests only. An optional
/// identifier specified by the client. Must be unique for operation resources
@@ -770,14 +770,14 @@
///
/// [project] - Identifies the project addressed by this 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.
///
/// [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.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -789,9 +789,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<ManagedZonesListResponse> list(core.String project,
- {core.String pageToken,
+ {core.int maxResults,
+ core.String pageToken,
core.String dnsName,
- core.int maxResults,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -803,15 +803,15 @@
if (project == null) {
throw new core.ArgumentError("Parameter project is required.");
}
+ if (maxResults != null) {
+ _queryParams["maxResults"] = ["${maxResults}"];
+ }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
if (dnsName != null) {
_queryParams["dnsName"] = [dnsName];
}
- if (maxResults != null) {
- _queryParams["maxResults"] = ["${maxResults}"];
- }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -839,7 +839,7 @@
/// [project] - Identifies the project addressed by this request.
///
/// [managedZone] - Identifies the managed zone addressed by this request. Can
- /// be the managed zone name or id.
+ /// be the managed zone name or ID.
///
/// [clientOperationId] - For mutating operation requests only. An optional
/// identifier specified by the client. Must be unique for operation resources
@@ -904,7 +904,7 @@
/// [project] - Identifies the project addressed by this request.
///
/// [managedZone] - Identifies the managed zone addressed by this request. Can
- /// be the managed zone name or id.
+ /// be the managed zone name or ID.
///
/// [clientOperationId] - For mutating operation requests only. An optional
/// identifier specified by the client. Must be unique for operation resources
@@ -1148,12 +1148,12 @@
///
/// [project] - Identifies the project addressed by this 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.
///
+ /// [maxResults] - Optional. Maximum number of results to be returned. If
+ /// unspecified, the server will decide how many results to return.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1165,7 +1165,7 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<PoliciesListResponse> list(core.String project,
- {core.int maxResults, core.String pageToken, core.String $fields}) {
+ {core.String pageToken, core.int maxResults, core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -1176,12 +1176,12 @@
if (project == null) {
throw new core.ArgumentError("Parameter project is required.");
}
- if (maxResults != null) {
- _queryParams["maxResults"] = ["${maxResults}"];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (maxResults != null) {
+ _queryParams["maxResults"] = ["${maxResults}"];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -1399,20 +1399,20 @@
/// [project] - Identifies the project addressed by this request.
///
/// [managedZone] - Identifies the managed zone addressed by this request. Can
- /// be the managed zone name or id.
+ /// be the managed zone name or ID.
///
/// [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.
- ///
/// [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.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1426,9 +1426,9 @@
async.Future<ResourceRecordSetsListResponse> list(
core.String project, core.String managedZone,
{core.int maxResults,
- core.String pageToken,
core.String type,
core.String name,
+ core.String pageToken,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -1446,15 +1446,15 @@
if (maxResults != null) {
_queryParams["maxResults"] = ["${maxResults}"];
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (type != null) {
_queryParams["type"] = [type];
}
if (name != null) {
_queryParams["name"] = [name];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
diff --git a/generated/googleapis/lib/doubleclickbidmanager/v1_1.dart b/generated/googleapis/lib/doubleclickbidmanager/v1_1.dart
index a67615f..cb71d1b 100644
--- a/generated/googleapis/lib/doubleclickbidmanager/v1_1.dart
+++ b/generated/googleapis/lib/doubleclickbidmanager/v1_1.dart
@@ -276,11 +276,11 @@
///
/// Request parameters:
///
- /// [pageToken] - Optional pagination token.
- ///
/// [pageSize] - Maximum number of results per page. Must be between 1 and
/// 100. Defaults to 100 if unspecified.
///
+ /// [pageToken] - Optional pagination token.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -292,7 +292,7 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<ListQueriesResponse> listqueries(
- {core.String pageToken, core.int pageSize, core.String $fields}) {
+ {core.int pageSize, core.String pageToken, core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -300,12 +300,12 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _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];
}
@@ -386,11 +386,11 @@
///
/// [queryId] - Query ID with which the reports are associated.
///
- /// [pageToken] - Optional pagination token.
- ///
/// [pageSize] - Maximum number of results per page. Must be between 1 and
/// 100. Defaults to 100 if unspecified.
///
+ /// [pageToken] - Optional pagination token.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -402,7 +402,7 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<ListReportsResponse> listreports(core.String queryId,
- {core.String pageToken, core.int pageSize, core.String $fields}) {
+ {core.int pageSize, core.String pageToken, core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -413,12 +413,12 @@
if (queryId == null) {
throw new core.ArgumentError("Parameter queryId 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];
}
@@ -1398,7 +1398,7 @@
}
}
-/// Dimension Filter for a Path Filter.
+/// Dimension Filter on path events.
class PathQueryOptionsFilter {
/// Dimension the filter is applied to.
/// Possible string values are:
diff --git a/generated/googleapis/lib/doubleclicksearch/v2.dart b/generated/googleapis/lib/doubleclicksearch/v2.dart
index f067ac0..b59f323 100644
--- a/generated/googleapis/lib/doubleclicksearch/v2.dart
+++ b/generated/googleapis/lib/doubleclicksearch/v2.dart
@@ -75,14 +75,14 @@
/// [startRow] - The 0-based starting index for retrieving conversions
/// results.
///
- /// [adId] - Numeric ID of the ad.
+ /// [adGroupId] - Numeric ID of the ad group.
///
/// [criterionId] - Numeric ID of the criterion.
///
- /// [adGroupId] - Numeric ID of the ad group.
- ///
/// [campaignId] - Numeric ID of the campaign.
///
+ /// [adId] - Numeric ID of the ad.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -101,10 +101,10 @@
core.int rowCount,
core.int startDate,
core.int startRow,
- {core.String adId,
+ {core.String adGroupId,
core.String criterionId,
- core.String adGroupId,
core.String campaignId,
+ core.String adId,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -138,18 +138,18 @@
throw new core.ArgumentError("Parameter startRow is required.");
}
_queryParams["startRow"] = ["${startRow}"];
- if (adId != null) {
- _queryParams["adId"] = [adId];
+ if (adGroupId != null) {
+ _queryParams["adGroupId"] = [adGroupId];
}
if (criterionId != null) {
_queryParams["criterionId"] = [criterionId];
}
- if (adGroupId != null) {
- _queryParams["adGroupId"] = [adGroupId];
- }
if (campaignId != null) {
_queryParams["campaignId"] = [campaignId];
}
+ if (adId != null) {
+ _queryParams["adId"] = [adId];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
diff --git a/generated/googleapis/lib/file/v1.dart b/generated/googleapis/lib/file/v1.dart
index db701ba..fc7dc9c 100644
--- a/generated/googleapis/lib/file/v1.dart
+++ b/generated/googleapis/lib/file/v1.dart
@@ -104,14 +104,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.
///
- /// [includeUnrevealedLocations] - If true, the returned list will include
- /// locations which are not yet revealed.
+ /// [filter] - The standard list filter.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -124,10 +124,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<ListLocationsResponse> list(core.String name,
- {core.String filter,
+ {core.bool includeUnrevealedLocations,
core.String pageToken,
core.int pageSize,
- core.bool includeUnrevealedLocations,
+ core.String filter,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -139,8 +139,10 @@
if (name == null) {
throw new core.ArgumentError("Parameter name is required.");
}
- if (filter != null) {
- _queryParams["filter"] = [filter];
+ if (includeUnrevealedLocations != null) {
+ _queryParams["includeUnrevealedLocations"] = [
+ "${includeUnrevealedLocations}"
+ ];
}
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
@@ -148,10 +150,8 @@
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
- if (includeUnrevealedLocations != null) {
- _queryParams["includeUnrevealedLocations"] = [
- "${includeUnrevealedLocations}"
- ];
+ if (filter != null) {
+ _queryParams["filter"] = [filter];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -336,15 +336,15 @@
/// information for all locations, use "-" for the {location} value.
/// Value must have pattern "^projects/[^/]+/locations/[^/]+$".
///
+ /// [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.
///
- /// [filter] - List filter.
- ///
/// [pageSize] - The maximum number of items to return.
///
- /// [orderBy] - Sort results. Supported values are "name", "name desc" or ""
- /// (unsorted).
+ /// [filter] - List filter.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -357,10 +357,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<ListInstancesResponse> list(core.String parent,
- {core.String pageToken,
- core.String filter,
+ {core.String orderBy,
+ core.String pageToken,
core.int pageSize,
- core.String orderBy,
+ core.String filter,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -372,17 +372,17 @@
if (parent == null) {
throw new 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 (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
- if (orderBy != null) {
- _queryParams["orderBy"] = [orderBy];
+ if (filter != null) {
+ _queryParams["filter"] = [filter];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -631,11 +631,11 @@
/// [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.
///
/// [pageToken] - The standard list page token.
///
- /// [filter] - The standard list filter.
+ /// [pageSize] - The standard list page size.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -648,9 +648,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<ListOperationsResponse> list(core.String name,
- {core.int pageSize,
+ {core.String filter,
core.String pageToken,
- core.String filter,
+ core.int pageSize,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -662,14 +662,14 @@
if (name == null) {
throw new 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 (filter != null) {
- _queryParams["filter"] = [filter];
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
diff --git a/generated/googleapis/lib/firebaserules/v1.dart b/generated/googleapis/lib/firebaserules/v1.dart
index cb222c4..d3ceeae 100644
--- a/generated/googleapis/lib/firebaserules/v1.dart
+++ b/generated/googleapis/lib/firebaserules/v1.dart
@@ -345,6 +345,14 @@
/// [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
@@ -362,14 +370,6 @@
/// the search filters are relative to the project. Fully qualified prefixed
/// may also be used. e.g. `test_suite_name=projects/foo/testsuites/uuid1`
///
- /// [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.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -381,9 +381,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<ListReleasesResponse> list(core.String name,
- {core.String filter,
- core.String pageToken,
+ {core.String pageToken,
core.int pageSize,
+ core.String filter,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -395,15 +395,15 @@
if (name == null) {
throw new core.ArgumentError("Parameter name is required.");
}
- if (filter != null) {
- _queryParams["filter"] = [filter];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
+ if (filter != null) {
+ _queryParams["filter"] = [filter];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -630,6 +630,12 @@
/// [name] - Resource name for the project. Format: `projects/{project_id}`
/// Value must have pattern "^projects/[^/]+$".
///
+ /// [filter] - `Ruleset` filter. The list method supports filters with
+ /// restrictions on `Ruleset.name`. Filters on `Ruleset.create_time` should
+ /// use the `date` function which parses strings that conform to the RFC 3339
+ /// 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.
///
@@ -638,12 +644,6 @@
/// `page_size` due to the size of the output. To traverse all of the
/// releases, caller should iterate until the `page_token` is empty.
///
- /// [filter] - `Ruleset` filter. The list method supports filters with
- /// restrictions on `Ruleset.name`. Filters on `Ruleset.create_time` should
- /// use the `date` function which parses strings that conform to the RFC 3339
- /// date/time specifications. Example: `create_time >
- /// date("2017-01-01T00:00:00Z") AND name=UUID-*`
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -655,9 +655,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<ListRulesetsResponse> list(core.String name,
- {core.String pageToken,
+ {core.String filter,
+ core.String pageToken,
core.int pageSize,
- core.String filter,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -669,15 +669,15 @@
if (name == null) {
throw new core.ArgumentError("Parameter name is required.");
}
+ if (filter != null) {
+ _queryParams["filter"] = [filter];
+ }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
- if (filter != null) {
- _queryParams["filter"] = [filter];
- }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
diff --git a/generated/googleapis/lib/firestore/v1.dart b/generated/googleapis/lib/firestore/v1.dart
index a04dc98..b5efe5c 100644
--- a/generated/googleapis/lib/firestore/v1.dart
+++ b/generated/googleapis/lib/firestore/v1.dart
@@ -259,17 +259,17 @@
/// Value must have pattern
/// "^projects/[^/]+/databases/[^/]+/collectionGroups/[^/]+$".
///
- /// [pageToken] - A page token, returned from a previous call to
- /// FirestoreAdmin.ListFields, that may be used to get the next page of
- /// results.
- ///
- /// [pageSize] - The number of results to return.
- ///
/// [filter] - The filter to apply to list results. Currently,
/// FirestoreAdmin.ListFields only supports listing fields that have been
/// explicitly overridden. To issue this query, call FirestoreAdmin.ListFields
/// with the filter set to `indexConfig.usesAncestorConfig:false`.
///
+ /// [pageSize] - The number of results to return.
+ ///
+ /// [pageToken] - A page token, returned from a previous call to
+ /// FirestoreAdmin.ListFields, that may be used to get the next page of
+ /// results.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -282,9 +282,9 @@
/// this method will complete with the same error.
async.Future<GoogleFirestoreAdminV1ListFieldsResponse> list(
core.String parent,
- {core.String pageToken,
+ {core.String filter,
core.int pageSize,
- core.String filter,
+ core.String pageToken,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -296,14 +296,14 @@
if (parent == null) {
throw new 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];
@@ -872,12 +872,12 @@
/// [collectionId] - Required. The collection ID, relative to `parent`, to
/// list. For example: `chatrooms`.
///
- /// [mask_fieldPaths] - The list of field paths in the mask. See
- /// Document.fields for a field path syntax reference.
- ///
/// [documentId] - The client-assigned document ID to use for this document.
/// Optional. If not specified, an ID will be assigned by the service.
///
+ /// [mask_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.
///
@@ -890,8 +890,8 @@
/// this method will complete with the same error.
async.Future<Document> createDocument(
Document request, core.String parent, core.String collectionId,
- {core.List<core.String> mask_fieldPaths,
- core.String documentId,
+ {core.String documentId,
+ core.List<core.String> mask_fieldPaths,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -909,12 +909,12 @@
if (collectionId == null) {
throw new core.ArgumentError("Parameter collectionId is required.");
}
- if (mask_fieldPaths != null) {
- _queryParams["mask.fieldPaths"] = mask_fieldPaths;
- }
if (documentId != null) {
_queryParams["documentId"] = [documentId];
}
+ if (mask_fieldPaths != null) {
+ _queryParams["mask.fieldPaths"] = mask_fieldPaths;
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -1004,14 +1004,14 @@
/// Value must have pattern
/// "^projects/[^/]+/databases/[^/]+/documents/[^/]+/.*$".
///
- /// [readTime] - Reads the version of the document at the given time. This may
- /// not be older than 270 seconds.
- ///
/// [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.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1023,9 +1023,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<Document> get(core.String name,
- {core.String readTime,
- core.List<core.String> mask_fieldPaths,
+ {core.List<core.String> mask_fieldPaths,
core.String transaction,
+ core.String readTime,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -1037,15 +1037,15 @@
if (name == null) {
throw new core.ArgumentError("Parameter name is required.");
}
- if (readTime != null) {
- _queryParams["readTime"] = [readTime];
- }
if (mask_fieldPaths != null) {
_queryParams["mask.fieldPaths"] = mask_fieldPaths;
}
if (transaction != null) {
_queryParams["transaction"] = [transaction];
}
+ if (readTime != null) {
+ _queryParams["readTime"] = [readTime];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -1076,6 +1076,12 @@
/// [collectionId] - Required. The collection ID, relative to `parent`, to
/// list. For example: `chatrooms` or `messages`.
///
+ /// [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`.
///
@@ -1088,16 +1094,10 @@
/// Document.create_time, or Document.update_time set. Requests with
/// `show_missing` may not specify `where` or `order_by`.
///
- /// [pageSize] - The maximum number of documents to return.
- ///
- /// [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.
- ///
/// [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.
///
@@ -1110,13 +1110,13 @@
/// this method will complete with the same error.
async.Future<ListDocumentsResponse> list(
core.String parent, core.String collectionId,
- {core.String orderBy,
+ {core.List<core.String> mask_fieldPaths,
+ core.String pageToken,
+ core.String orderBy,
core.String readTime,
core.bool showMissing,
- core.int pageSize,
- core.List<core.String> mask_fieldPaths,
- core.String pageToken,
core.String transaction,
+ core.int pageSize,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -1131,6 +1131,12 @@
if (collectionId == null) {
throw new core.ArgumentError("Parameter collectionId is required.");
}
+ if (mask_fieldPaths != null) {
+ _queryParams["mask.fieldPaths"] = mask_fieldPaths;
+ }
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
if (orderBy != null) {
_queryParams["orderBy"] = [orderBy];
}
@@ -1140,18 +1146,12 @@
if (showMissing != null) {
_queryParams["showMissing"] = ["${showMissing}"];
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
- if (mask_fieldPaths != null) {
- _queryParams["mask.fieldPaths"] = mask_fieldPaths;
- }
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (transaction != null) {
_queryParams["transaction"] = [transaction];
}
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -1349,12 +1349,12 @@
/// Value must have pattern
/// "^projects/[^/]+/databases/[^/]+/documents/[^/]+/.*$".
///
- /// [updateMask_fieldPaths] - The list of field paths in the mask. See
- /// Document.fields for a field path syntax reference.
- ///
/// [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.
+ ///
/// [mask_fieldPaths] - The list of field paths in the mask. See
/// Document.fields for a field path syntax reference.
///
@@ -1372,8 +1372,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<Document> patch(Document request, core.String name,
- {core.List<core.String> updateMask_fieldPaths,
- core.bool currentDocument_exists,
+ {core.bool currentDocument_exists,
+ core.List<core.String> updateMask_fieldPaths,
core.List<core.String> mask_fieldPaths,
core.String currentDocument_updateTime,
core.String $fields}) {
@@ -1390,12 +1390,12 @@
if (name == null) {
throw new core.ArgumentError("Parameter name is required.");
}
- if (updateMask_fieldPaths != null) {
- _queryParams["updateMask.fieldPaths"] = updateMask_fieldPaths;
- }
if (currentDocument_exists != null) {
_queryParams["currentDocument.exists"] = ["${currentDocument_exists}"];
}
+ if (updateMask_fieldPaths != null) {
+ _queryParams["updateMask.fieldPaths"] = updateMask_fieldPaths;
+ }
if (mask_fieldPaths != null) {
_queryParams["mask.fieldPaths"] = mask_fieldPaths;
}
@@ -1754,11 +1754,11 @@
/// [name] - The name of the operation's parent resource.
/// Value must have pattern "^projects/[^/]+/databases/[^/]+$".
///
- /// [filter] - The standard list filter.
+ /// [pageToken] - The standard list page token.
///
/// [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.
@@ -1771,9 +1771,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<GoogleLongrunningListOperationsResponse> list(core.String name,
- {core.String filter,
+ {core.String pageToken,
core.int pageSize,
- core.String pageToken,
+ core.String filter,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -1785,14 +1785,14 @@
if (name == null) {
throw new core.ArgumentError("Parameter name is required.");
}
- 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 (filter != null) {
+ _queryParams["filter"] = [filter];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -1868,12 +1868,12 @@
/// [name] - The resource that owns the locations collection, if applicable.
/// Value must have pattern "^projects/[^/]+$".
///
+ /// [pageSize] - The standard list page size.
+ ///
/// [pageToken] - The standard list page token.
///
/// [filter] - The standard list filter.
///
- /// [pageSize] - The standard list page size.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1885,9 +1885,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<ListLocationsResponse> list(core.String name,
- {core.String pageToken,
+ {core.int pageSize,
+ core.String pageToken,
core.String filter,
- core.int pageSize,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -1899,15 +1899,15 @@
if (name == null) {
throw new core.ArgumentError("Parameter name is required.");
}
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
if (filter != null) {
_queryParams["filter"] = [filter];
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
diff --git a/generated/googleapis/lib/fitness/v1.dart b/generated/googleapis/lib/fitness/v1.dart
index ed72e64..495b5c6 100644
--- a/generated/googleapis/lib/fitness/v1.dart
+++ b/generated/googleapis/lib/fitness/v1.dart
@@ -527,11 +527,11 @@
/// nanoseconds from the epoch. The ID is formatted like: "startTime-endTime"
/// where startTime and endTime are 64 bit integers.
///
- /// [modifiedTimeMillis] - When the operation was performed on the client.
- ///
/// [currentTimeMillis] - The client's current time in milliseconds since
/// epoch.
///
+ /// [modifiedTimeMillis] - When the operation was performed on the client.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -542,8 +542,8 @@
/// this method will complete with the same error.
async.Future delete(
core.String userId, core.String dataSourceId, core.String datasetId,
- {core.String modifiedTimeMillis,
- core.String currentTimeMillis,
+ {core.String currentTimeMillis,
+ core.String modifiedTimeMillis,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -561,12 +561,12 @@
if (datasetId == null) {
throw new core.ArgumentError("Parameter datasetId is required.");
}
- if (modifiedTimeMillis != null) {
- _queryParams["modifiedTimeMillis"] = [modifiedTimeMillis];
- }
if (currentTimeMillis != null) {
_queryParams["currentTimeMillis"] = [currentTimeMillis];
}
+ if (modifiedTimeMillis != null) {
+ _queryParams["modifiedTimeMillis"] = [modifiedTimeMillis];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -878,6 +878,17 @@
/// [userId] - List sessions for the person identified. Use me to indicate the
/// authenticated user. Only me is supported at this time.
///
+ /// [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.
+ ///
/// [pageToken] - The continuation token, which is used for incremental
/// syncing. To get the next batch of changes, set this parameter to the value
/// of nextPageToken from the previous response. The page token is ignored if
@@ -885,22 +896,11 @@
/// and the page token is specified, sessions modified in the last 30 days are
/// returned.
///
- /// [includeDeleted] - If true, and if both startTime and endTime are omitted,
- /// session deletions will 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.
- ///
/// [startTime] - An RFC3339 timestamp. Only sessions ending between the start
/// and end times will be included in the response. If this time is omitted
/// but endTime is specified, all sessions from the start of time up to
/// endTime will be returned.
///
- /// [activityType] - If non-empty, only sessions with these activity types
- /// should be returned.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -912,11 +912,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<ListSessionsResponse> list(core.String userId,
- {core.String pageToken,
- core.bool includeDeleted,
- core.String endTime,
- core.String startTime,
+ {core.String endTime,
core.List<core.int> activityType,
+ core.bool includeDeleted,
+ core.String pageToken,
+ core.String startTime,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -928,22 +928,22 @@
if (userId == null) {
throw new core.ArgumentError("Parameter userId is required.");
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
- if (includeDeleted != null) {
- _queryParams["includeDeleted"] = ["${includeDeleted}"];
- }
if (endTime != null) {
_queryParams["endTime"] = [endTime];
}
- if (startTime != null) {
- _queryParams["startTime"] = [startTime];
- }
if (activityType != null) {
_queryParams["activityType"] =
activityType.map((item) => "${item}").toList();
}
+ if (includeDeleted != null) {
+ _queryParams["includeDeleted"] = ["${includeDeleted}"];
+ }
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
+ if (startTime != null) {
+ _queryParams["startTime"] = [startTime];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
diff --git a/generated/googleapis/lib/games/v1.dart b/generated/googleapis/lib/games/v1.dart
index 4f55df4..e7c70ed 100644
--- a/generated/googleapis/lib/games/v1.dart
+++ b/generated/googleapis/lib/games/v1.dart
@@ -61,14 +61,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
@@ -82,8 +82,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.String language,
- core.int maxResults,
+ {core.int maxResults,
+ core.String language,
core.String pageToken,
core.String $fields}) {
var _url;
@@ -93,12 +93,12 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body;
- if (language != null) {
- _queryParams["language"] = [language];
- }
if (maxResults != null) {
_queryParams["maxResults"] = ["${maxResults}"];
}
+ if (language != null) {
+ _queryParams["language"] = [language];
+ }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
@@ -193,13 +193,6 @@
/// [playerId] - A player ID. A value of `me` may be used in place of the
/// authenticated player's ID.
///
- /// [pageToken] - The token returned by the previous request.
- ///
- /// [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`.
- ///
/// [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:
@@ -208,6 +201,13 @@
/// - "REVEALED" : List only revealed achievements.
/// - "UNLOCKED" : List only unlocked achievements.
///
+ /// [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`.
+ ///
+ /// [pageToken] - The token returned by the previous request.
+ ///
/// [language] - The preferred language to use for strings returned by this
/// method.
///
@@ -222,9 +222,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<PlayerAchievementListResponse> list(core.String playerId,
- {core.String pageToken,
+ {core.String state,
core.int maxResults,
- core.String state,
+ core.String pageToken,
core.String language,
core.String $fields}) {
var _url;
@@ -237,14 +237,14 @@
if (playerId == null) {
throw new core.ArgumentError("Parameter playerId is required.");
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
+ if (state != null) {
+ _queryParams["state"] = [state];
}
if (maxResults != null) {
_queryParams["maxResults"] = ["${maxResults}"];
}
- if (state != null) {
- _queryParams["state"] = [state];
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
}
if (language != null) {
_queryParams["language"] = [language];
@@ -691,12 +691,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.
///
@@ -709,8 +709,8 @@
/// this method will complete with the same error.
async.Future<EventDefinitionListResponse> listDefinitions(
{core.String language,
- core.int maxResults,
core.String pageToken,
+ core.int maxResults,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -722,12 +722,12 @@
if (language != null) {
_queryParams["language"] = [language];
}
- if (maxResults != null) {
- _queryParams["maxResults"] = ["${maxResults}"];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (maxResults != null) {
+ _queryParams["maxResults"] = ["${maxResults}"];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -854,12 +854,12 @@
///
/// Request parameters:
///
+ /// [pageToken] - The token returned by the previous request.
+ ///
/// [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`.
///
- /// [pageToken] - The token returned by the previous request.
- ///
/// [language] - The preferred language to use for strings returned by this
/// method.
///
@@ -874,8 +874,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<LeaderboardListResponse> list(
- {core.int maxResults,
- core.String pageToken,
+ {core.String pageToken,
+ core.int maxResults,
core.String language,
core.String $fields}) {
var _url;
@@ -885,12 +885,12 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body;
- if (maxResults != null) {
- _queryParams["maxResults"] = ["${maxResults}"];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (maxResults != null) {
+ _queryParams["maxResults"] = ["${maxResults}"];
+ }
if (language != null) {
_queryParams["language"] = [language];
}
@@ -1101,12 +1101,12 @@
/// - "FRIENDS_ALL" : Retrieve a list of players who are friends of the user
/// in alphabetical order.
///
+ /// [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.
- ///
/// [language] - The preferred language to use for strings returned by this
/// method.
///
@@ -1121,8 +1121,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<PlayerListResponse> list(core.String collection,
- {core.int maxResults,
- core.String pageToken,
+ {core.String pageToken,
+ core.int maxResults,
core.String language,
core.String $fields}) {
var _url;
@@ -1135,12 +1135,12 @@
if (collection == null) {
throw new core.ArgumentError("Parameter collection is required.");
}
- if (maxResults != null) {
- _queryParams["maxResults"] = ["${maxResults}"];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (maxResults != null) {
+ _queryParams["maxResults"] = ["${maxResults}"];
+ }
if (language != null) {
_queryParams["language"] = [language];
}
@@ -1243,8 +1243,9 @@
/// - "WEEKLY" : List the top scores for the current day.
/// - "DAILY" : List the top scores for the current week.
///
- /// [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`.
///
/// [includeRankType] - The types of ranks to return. If the parameter is
/// omitted, no ranks will be returned.
@@ -1257,12 +1258,11 @@
/// - "SOCIAL" : (Obsolete) Retrieve the social rank.
/// - "FRIENDS" : Retrieve the rank on the friends collection.
///
- /// [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.
///
+ /// [language] - The preferred language to use for strings returned by this
+ /// method.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1275,10 +1275,10 @@
/// this method will complete with the same error.
async.Future<PlayerLeaderboardScoreListResponse> get(
core.String playerId, core.String leaderboardId, core.String timeSpan,
- {core.String language,
+ {core.int maxResults,
core.String includeRankType,
- core.int maxResults,
core.String pageToken,
+ core.String language,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -1296,18 +1296,18 @@
if (timeSpan == null) {
throw new core.ArgumentError("Parameter timeSpan is required.");
}
- if (language != null) {
- _queryParams["language"] = [language];
+ if (maxResults != null) {
+ _queryParams["maxResults"] = ["${maxResults}"];
}
if (includeRankType != null) {
_queryParams["includeRankType"] = [includeRankType];
}
- if (maxResults != null) {
- _queryParams["maxResults"] = ["${maxResults}"];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (language != null) {
+ _queryParams["language"] = [language];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -1351,13 +1351,13 @@
///
/// [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`.
///
- /// [language] - The preferred language to use for strings returned by this
- /// method.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1371,8 +1371,8 @@
async.Future<LeaderboardScores> list(
core.String leaderboardId, core.String collection, core.String timeSpan,
{core.String pageToken,
- core.int maxResults,
core.String language,
+ core.int maxResults,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -1394,12 +1394,12 @@
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
- if (maxResults != null) {
- _queryParams["maxResults"] = ["${maxResults}"];
- }
if (language != null) {
_queryParams["language"] = [language];
}
+ if (maxResults != null) {
+ _queryParams["maxResults"] = ["${maxResults}"];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -1438,23 +1438,23 @@
/// - "WEEKLY" : The score is a weekly score.
/// - "DAILY" : The score is a daily score.
///
- /// [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`.
- ///
- /// [language] - The preferred language to use for strings returned by this
- /// method.
+ /// [pageToken] - The token returned by the previous request.
///
/// [resultsAbove] - The preferred number of scores to return above the
/// player's score. More scores may be returned if the player is at the bottom
/// of the leaderboard; fewer may be returned if the player is at the top.
/// Must be less than or equal to maxResults.
///
- /// [pageToken] - The token returned by the previous request.
- ///
/// [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.
///
@@ -1467,11 +1467,11 @@
/// this method will complete with the same error.
async.Future<LeaderboardScores> listWindow(
core.String leaderboardId, core.String collection, core.String timeSpan,
- {core.int maxResults,
- core.String language,
+ {core.String pageToken,
core.int resultsAbove,
- core.String pageToken,
core.bool returnTopIfAbsent,
+ core.String language,
+ core.int maxResults,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -1490,21 +1490,21 @@
throw new core.ArgumentError("Parameter timeSpan is required.");
}
_queryParams["timeSpan"] = [timeSpan];
- if (maxResults != null) {
- _queryParams["maxResults"] = ["${maxResults}"];
- }
- if (language != null) {
- _queryParams["language"] = [language];
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
}
if (resultsAbove != null) {
_queryParams["resultsAbove"] = ["${resultsAbove}"];
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (returnTopIfAbsent != null) {
_queryParams["returnTopIfAbsent"] = ["${returnTopIfAbsent}"];
}
+ if (language != null) {
+ _queryParams["language"] = [language];
+ }
+ if (maxResults != null) {
+ _queryParams["maxResults"] = ["${maxResults}"];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -1536,14 +1536,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.
///
@@ -1556,7 +1556,7 @@
/// this method will complete with the same error.
async.Future<PlayerScoreResponse> submit(
core.String leaderboardId, core.String score,
- {core.String language, core.String scoreTag, core.String $fields}) {
+ {core.String scoreTag, core.String language, core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -1571,12 +1571,12 @@
throw new core.ArgumentError("Parameter score is required.");
}
_queryParams["score"] = [score];
- if (language != null) {
- _queryParams["language"] = [language];
- }
if (scoreTag != null) {
_queryParams["scoreTag"] = [scoreTag];
}
+ if (language != null) {
+ _queryParams["language"] = [language];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -1708,12 +1708,12 @@
/// [playerId] - A player ID. A value of `me` may be used in place of the
/// authenticated player's ID.
///
- /// [pageToken] - The token returned by the previous request.
- ///
/// [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.
///
@@ -1728,8 +1728,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<SnapshotListResponse> list(core.String playerId,
- {core.String pageToken,
- core.int maxResults,
+ {core.int maxResults,
+ core.String pageToken,
core.String language,
core.String $fields}) {
var _url;
@@ -1742,12 +1742,12 @@
if (playerId == null) {
throw new core.ArgumentError("Parameter playerId is required.");
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (maxResults != null) {
_queryParams["maxResults"] = ["${maxResults}"];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
if (language != null) {
_queryParams["language"] = [language];
}
diff --git a/generated/googleapis/lib/gamesmanagement/v1management.dart b/generated/googleapis/lib/gamesmanagement/v1management.dart
index 73baa93..97a922e 100644
--- a/generated/googleapis/lib/gamesmanagement/v1management.dart
+++ b/generated/googleapis/lib/gamesmanagement/v1management.dart
@@ -277,12 +277,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.
///
@@ -294,7 +294,7 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<HiddenPlayerList> listHidden(core.String applicationId,
- {core.int maxResults, core.String pageToken, core.String $fields}) {
+ {core.String pageToken, core.int maxResults, core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -305,12 +305,12 @@
if (applicationId == null) {
throw new core.ArgumentError("Parameter applicationId is required.");
}
- if (maxResults != null) {
- _queryParams["maxResults"] = ["${maxResults}"];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (maxResults != null) {
+ _queryParams["maxResults"] = ["${maxResults}"];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
diff --git a/generated/googleapis/lib/genomics/v1.dart b/generated/googleapis/lib/genomics/v1.dart
index a1cbf6d..fb5bb0d 100644
--- a/generated/googleapis/lib/genomics/v1.dart
+++ b/generated/googleapis/lib/genomics/v1.dart
@@ -152,11 +152,6 @@
/// [name] - The name of the operation's parent resource.
/// Value must have pattern "^operations$".
///
- /// [pageSize] - The maximum number of results to return. The maximum value is
- /// 256.
- ///
- /// [pageToken] - The standard list page token.
- ///
/// [filter] - A string for filtering Operations. In v2alpha1, the following
/// filter fields are supported: * createTime: The time this job was created *
/// events: The set of event (names) that have occurred while running the
@@ -177,6 +172,11 @@
/// = my-project AND labels.color = *` * `projectId = my-project AND
/// labels.color = red`
///
+ /// [pageSize] - The maximum number of results to return. The maximum value is
+ /// 256.
+ ///
+ /// [pageToken] - The standard list page token.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -188,9 +188,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<ListOperationsResponse> list(core.String name,
- {core.int pageSize,
+ {core.String filter,
+ core.int pageSize,
core.String pageToken,
- core.String filter,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -202,15 +202,15 @@
if (name == null) {
throw new 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/gmail/v1.dart b/generated/googleapis/lib/gmail/v1.dart
index f545096..f89467c 100644
--- a/generated/googleapis/lib/gmail/v1.dart
+++ b/generated/googleapis/lib/gmail/v1.dart
@@ -454,10 +454,6 @@
/// [userId] - The user's email address. The special value `me` can be used to
/// indicate the authenticated user.
///
- /// [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"`.
- ///
/// [includeSpamTrash] - Include drafts from `SPAM` and `TRASH` in the
/// results.
///
@@ -466,6 +462,10 @@
///
/// [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"`.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -477,10 +477,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<ListDraftsResponse> list(core.String userId,
- {core.String q,
- core.bool includeSpamTrash,
+ {core.bool includeSpamTrash,
core.String pageToken,
core.int maxResults,
+ core.String q,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -492,9 +492,6 @@
if (userId == null) {
throw new core.ArgumentError("Parameter userId is required.");
}
- if (q != null) {
- _queryParams["q"] = [q];
- }
if (includeSpamTrash != null) {
_queryParams["includeSpamTrash"] = ["${includeSpamTrash}"];
}
@@ -504,6 +501,9 @@
if (maxResults != null) {
_queryParams["maxResults"] = ["${maxResults}"];
}
+ if (q != null) {
+ _queryParams["q"] = [q];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -690,11 +690,11 @@
///
/// [historyTypes] - History types to be returned by the function
///
+ /// [labelId] - Only return messages with a label matching the ID.
+ ///
/// [pageToken] - Page token to retrieve a specific page of results in the
/// list.
///
- /// [labelId] - Only return messages with a label matching the ID.
- ///
/// [maxResults] - The maximum number of history records to return.
///
/// [startHistoryId] - Required. Returns history records after the specified
@@ -721,8 +721,8 @@
/// this method will complete with the same error.
async.Future<ListHistoryResponse> list(core.String userId,
{core.List<core.String> historyTypes,
- core.String pageToken,
core.String labelId,
+ core.String pageToken,
core.int maxResults,
core.String startHistoryId,
core.String $fields}) {
@@ -739,12 +739,12 @@
if (historyTypes != null) {
_queryParams["historyTypes"] = historyTypes;
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (labelId != null) {
_queryParams["labelId"] = [labelId];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
if (maxResults != null) {
_queryParams["maxResults"] = ["${maxResults}"];
}
@@ -1348,13 +1348,6 @@
/// [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.
- ///
- /// [neverMarkSpam] - Ignore the Gmail spam classifier decision and never mark
- /// this email as SPAM in the mailbox.
- ///
/// [internalDateSource] - Source for Gmail's internal date of the message.
/// Possible string values are:
/// - "receivedTime" : Internal message date set to current time when received
@@ -1362,6 +1355,13 @@
/// - "dateHeader" : Internal message time based on 'Date' header in email,
/// when valid.
///
+ /// [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.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1380,9 +1380,9 @@
/// this method will complete with the same error.
async.Future<Message> import(Message request, core.String userId,
{core.bool processForCalendar,
- core.bool deleted,
- core.bool neverMarkSpam,
core.String internalDateSource,
+ core.bool neverMarkSpam,
+ core.bool deleted,
core.String $fields,
commons.UploadOptions uploadOptions = commons.UploadOptions.Default,
commons.Media uploadMedia}) {
@@ -1402,14 +1402,14 @@
if (processForCalendar != null) {
_queryParams["processForCalendar"] = ["${processForCalendar}"];
}
- if (deleted != null) {
- _queryParams["deleted"] = ["${deleted}"];
+ if (internalDateSource != null) {
+ _queryParams["internalDateSource"] = [internalDateSource];
}
if (neverMarkSpam != null) {
_queryParams["neverMarkSpam"] = ["${neverMarkSpam}"];
}
- if (internalDateSource != null) {
- _queryParams["internalDateSource"] = [internalDateSource];
+ if (deleted != null) {
+ _queryParams["deleted"] = ["${deleted}"];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -1452,6 +1452,10 @@
/// [userId] - The user's email address. The special value `me` can be used to
/// indicate the authenticated 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:
/// - "receivedTime" : Internal message date set to current time when received
@@ -1459,10 +1463,6 @@
/// - "dateHeader" : Internal message time based on 'Date' header in email,
/// when valid.
///
- /// [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.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1480,8 +1480,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<Message> insert(Message request, core.String userId,
- {core.String internalDateSource,
- core.bool deleted,
+ {core.bool deleted,
+ core.String internalDateSource,
core.String $fields,
commons.UploadOptions uploadOptions = commons.UploadOptions.Default,
commons.Media uploadMedia}) {
@@ -1498,12 +1498,12 @@
if (userId == null) {
throw new core.ArgumentError("Parameter userId is required.");
}
- if (internalDateSource != null) {
- _queryParams["internalDateSource"] = [internalDateSource];
- }
if (deleted != null) {
_queryParams["deleted"] = ["${deleted}"];
}
+ if (internalDateSource != null) {
+ _queryParams["internalDateSource"] = [internalDateSource];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -1541,21 +1541,21 @@
/// [userId] - The user's email address. The special value `me` can be used to
/// indicate the authenticated user.
///
- /// [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.
+ ///
/// [includeSpamTrash] - Include messages from `SPAM` and `TRASH` in the
/// results.
///
/// [labelIds] - Only return messages with labels that match all of the
/// specified label IDs.
///
- /// [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.
+ /// [maxResults] - Maximum number of messages to return.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -1568,11 +1568,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<ListMessagesResponse> list(core.String userId,
- {core.int maxResults,
- core.String pageToken,
+ {core.String pageToken,
+ core.String q,
core.bool includeSpamTrash,
core.List<core.String> labelIds,
- core.String q,
+ core.int maxResults,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -1584,20 +1584,20 @@
if (userId == null) {
throw new core.ArgumentError("Parameter userId is required.");
}
- if (maxResults != null) {
- _queryParams["maxResults"] = ["${maxResults}"];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (q != null) {
+ _queryParams["q"] = [q];
+ }
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 ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -3858,6 +3858,9 @@
///
/// [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
@@ -3867,9 +3870,6 @@
/// - "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.
///
@@ -3881,8 +3881,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<Thread> get(core.String userId, core.String id,
- {core.String format,
- core.List<core.String> metadataHeaders,
+ {core.List<core.String> metadataHeaders,
+ core.String format,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -3897,12 +3897,12 @@
if (id == null) {
throw new core.ArgumentError("Parameter id is required.");
}
- if (format != null) {
- _queryParams["format"] = [format];
- }
if (metadataHeaders != null) {
_queryParams["metadataHeaders"] = metadataHeaders;
}
+ if (format != null) {
+ _queryParams["format"] = [format];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -3928,22 +3928,22 @@
/// [userId] - The user's email address. The special value `me` can be used to
/// indicate the authenticated user.
///
+ /// [labelIds] - Only return threads with labels that match all of the
+ /// specified label IDs.
+ ///
/// [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.
///
- /// [labelIds] - Only return threads with labels that match all of the
- /// specified label IDs.
- ///
/// [pageToken] - Page token to retrieve a specific page of results in the
/// list.
///
- /// [maxResults] - Maximum number of threads to return.
- ///
/// [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.
///
@@ -3955,11 +3955,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<ListThreadsResponse> list(core.String userId,
- {core.String q,
- core.List<core.String> labelIds,
+ {core.List<core.String> labelIds,
+ core.String q,
core.String pageToken,
- core.int maxResults,
core.bool includeSpamTrash,
+ core.int maxResults,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -3971,21 +3971,21 @@
if (userId == null) {
throw new core.ArgumentError("Parameter userId is required.");
}
- if (q != null) {
- _queryParams["q"] = [q];
- }
if (labelIds != null) {
_queryParams["labelIds"] = labelIds;
}
+ if (q != null) {
+ _queryParams["q"] = [q];
+ }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
- if (maxResults != null) {
- _queryParams["maxResults"] = ["${maxResults}"];
- }
if (includeSpamTrash != null) {
_queryParams["includeSpamTrash"] = ["${includeSpamTrash}"];
}
+ if (maxResults != null) {
+ _queryParams["maxResults"] = ["${maxResults}"];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
diff --git a/generated/googleapis/lib/healthcare/v1.dart b/generated/googleapis/lib/healthcare/v1.dart
index e80440e..4c815f1 100644
--- a/generated/googleapis/lib/healthcare/v1.dart
+++ b/generated/googleapis/lib/healthcare/v1.dart
@@ -101,12 +101,12 @@
/// [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.
///
/// [pageToken] - The standard list page token.
///
+ /// [pageSize] - The standard list page size.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -118,9 +118,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<ListLocationsResponse> list(core.String name,
- {core.int pageSize,
- core.String filter,
+ {core.String filter,
core.String pageToken,
+ core.int pageSize,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -132,15 +132,15 @@
if (name == null) {
throw new 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 (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -1077,13 +1077,13 @@
/// [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`.
///
- /// [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.
///
@@ -1096,8 +1096,8 @@
/// this method will complete with the same error.
async.Future<ListDicomStoresResponse> list(core.String parent,
{core.int pageSize,
- core.String filter,
core.String pageToken,
+ core.String filter,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -1112,12 +1112,12 @@
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
- if (filter != null) {
- _queryParams["filter"] = [filter];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (filter != null) {
+ _queryParams["filter"] = [filter];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -3135,15 +3135,15 @@
/// [parent] - Name of the dataset.
/// Value must have pattern "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$".
///
- /// [pageToken] - The next_page_token value returned from the previous List
- /// request, if any.
+ /// [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.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -3156,9 +3156,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<ListFhirStoresResponse> list(core.String parent,
- {core.String pageToken,
+ {core.int pageSize,
core.String filter,
- core.int pageSize,
+ core.String pageToken,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -3170,14 +3170,14 @@
if (parent == null) {
throw new 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 (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -3409,6 +3409,19 @@
/// 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.
///
@@ -3418,19 +3431,6 @@
/// the response bundle's links field, where `link.relation` is "previous" or
/// "next". Omit `_page_token` if no previous request has been made.
///
- /// [P_type] - String of comma-delimited FHIR resource types. If provided,
- /// only resources of the specified resource type(s) are returned.
- ///
- /// [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.
- ///
- /// [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_count] - Maximum number of resources in a page. Defaults to 100.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -3442,12 +3442,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<HttpBody> Patient_everything(core.String name,
- {core.String end,
- core.String P_pageToken,
- core.String P_type,
- core.String P_since,
- core.String start,
+ {core.String P_type,
core.int P_count,
+ core.String start,
+ core.String P_since,
+ core.String end,
+ core.String P_pageToken,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -3459,24 +3459,24 @@
if (name == null) {
throw new 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_since != null) {
+ _queryParams["_since"] = [P_since];
+ }
if (end != null) {
_queryParams["end"] = [end];
}
if (P_pageToken != null) {
_queryParams["_page_token"] = [P_pageToken];
}
- if (P_type != null) {
- _queryParams["_type"] = [P_type];
- }
- if (P_since != null) {
- _queryParams["_since"] = [P_since];
- }
- if (start != null) {
- _queryParams["start"] = [start];
- }
- if (P_count != null) {
- _queryParams["_count"] = ["${P_count}"];
- }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -3838,15 +3838,6 @@
/// `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
- /// or 2017-01-01T00:00:00Z). The time must be specified to the second and
- /// include a time zone.
- ///
- /// [P_count] - The maximum number of search results on a page. Defaults to
- /// 1000.
- ///
/// [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
@@ -3854,6 +3845,15 @@
/// `_at=2019-01` * A specific day: `_at=2019-01-20` * A specific second:
/// `_at=2018-12-31T23:59:58Z`
///
+ /// [P_count] - The maximum number of search results on a page. Defaults to
+ /// 1000.
+ ///
+ /// [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
+ /// or 2017-01-01T00:00:00Z). The time must be specified to the second and
+ /// include a time zone.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -3866,9 +3866,9 @@
/// this method will complete with the same error.
async.Future<HttpBody> history(core.String name,
{core.String P_pageToken,
- core.String P_since,
- core.int P_count,
core.String P_at,
+ core.int P_count,
+ core.String P_since,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -3883,14 +3883,14 @@
if (P_pageToken != null) {
_queryParams["_page_token"] = [P_pageToken];
}
- if (P_since != null) {
- _queryParams["_since"] = [P_since];
+ if (P_at != null) {
+ _queryParams["_at"] = [P_at];
}
if (P_count != null) {
_queryParams["_count"] = ["${P_count}"];
}
- if (P_at != null) {
- _queryParams["_at"] = [P_at];
+ if (P_since != null) {
+ _queryParams["_since"] = [P_since];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -4477,15 +4477,15 @@
/// [parent] - Name of the dataset.
/// Value must have pattern "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$".
///
- /// [pageSize] - Limit on the number of HL7v2 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`.
///
/// [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`.
+ /// [pageSize] - Limit on the number of HL7v2 stores to return in a single
+ /// response. If zero the default page size of 100 is used.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -4498,9 +4498,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<ListHl7V2StoresResponse> list(core.String parent,
- {core.int pageSize,
+ {core.String filter,
core.String pageToken,
- core.String filter,
+ core.int pageSize,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -4512,14 +4512,14 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
+ if (filter != null) {
+ _queryParams["filter"] = [filter];
}
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
- if (filter != null) {
- _queryParams["filter"] = [filter];
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -4965,6 +4965,9 @@
/// - "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
@@ -4983,16 +4986,13 @@
/// `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`
///
- /// [pageToken] - The next_page_token value returned from the previous List
- /// request, if any.
- ///
- /// [pageSize] - Limit on the number of messages to return in a single
- /// response. If zero the default page size of 100 is used.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -5005,10 +5005,10 @@
/// this method will complete with the same error.
async.Future<ListMessagesResponse> list(core.String parent,
{core.String view,
- core.String filter,
- core.String orderBy,
core.String pageToken,
+ core.String filter,
core.int pageSize,
+ core.String orderBy,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -5023,18 +5023,18 @@
if (view != null) {
_queryParams["view"] = [view];
}
- if (filter != null) {
- _queryParams["filter"] = [filter];
- }
- if (orderBy != null) {
- _queryParams["orderBy"] = [orderBy];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (filter != null) {
+ _queryParams["filter"] = [filter];
+ }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
+ if (orderBy != null) {
+ _queryParams["orderBy"] = [orderBy];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
diff --git a/generated/googleapis/lib/iam/v1.dart b/generated/googleapis/lib/iam/v1.dart
index 677569c..bc83526 100644
--- a/generated/googleapis/lib/iam/v1.dart
+++ b/generated/googleapis/lib/iam/v1.dart
@@ -386,8 +386,8 @@
/// ID or organization ID.
/// Value must have pattern "^organizations/[^/]+$".
///
- /// [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.
///
/// [view] - Optional view for the returned Role objects. When `FULL` is
/// specified, the `includedPermissions` field is returned, which includes a
@@ -398,11 +398,11 @@
/// value.
/// - "FULL" : Returns all fields.
///
- /// [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.
///
+ /// [pageToken] - Optional pagination token returned in an earlier
+ /// ListRolesResponse.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -414,10 +414,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<ListRolesResponse> list(core.String parent,
- {core.String pageToken,
+ {core.int pageSize,
core.String view,
- core.int pageSize,
core.bool showDeleted,
+ core.String pageToken,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -429,18 +429,18 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
}
if (view != null) {
_queryParams["view"] = [view];
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
if (showDeleted != null) {
_queryParams["showDeleted"] = ["${showDeleted}"];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -887,12 +887,6 @@
/// ID or organization ID.
/// Value must have pattern "^projects/[^/]+$".
///
- /// [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.
- ///
/// [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
@@ -902,6 +896,12 @@
/// 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
@@ -915,9 +915,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<ListRolesResponse> list(core.String parent,
- {core.String pageToken,
+ {core.String view,
+ core.String pageToken,
core.int pageSize,
- core.String view,
core.bool showDeleted,
core.String $fields}) {
var _url;
@@ -930,15 +930,15 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
+ if (view != null) {
+ _queryParams["view"] = [view];
+ }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
- if (view != null) {
- _queryParams["view"] = [view];
- }
if (showDeleted != null) {
_queryParams["showDeleted"] = ["${showDeleted}"];
}
@@ -1458,14 +1458,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.
///
@@ -1477,7 +1477,7 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<ListServiceAccountsResponse> list(core.String name,
- {core.int pageSize, core.String pageToken, core.String $fields}) {
+ {core.String pageToken, core.int pageSize, core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -1488,12 +1488,12 @@
if (name == null) {
throw new core.ArgumentError("Parameter name is required.");
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -2296,9 +2296,6 @@
///
/// 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.
- ///
/// [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
@@ -2320,11 +2317,12 @@
/// Note: Wildcard (*) values are invalid; you must specify a complete project
/// ID or organization ID.
///
- /// [showDeleted] - Include Roles that have been deleted.
- ///
/// [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.
+ ///
/// [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
@@ -2334,6 +2332,8 @@
/// value.
/// - "FULL" : Returns all fields.
///
+ /// [showDeleted] - Include Roles that have been deleted.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -2345,11 +2345,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.int pageSize,
- core.String parent,
- core.bool showDeleted,
+ {core.String parent,
core.String pageToken,
+ core.int pageSize,
core.String view,
+ core.bool showDeleted,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -2358,21 +2358,21 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body;
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
if (parent != null) {
_queryParams["parent"] = [parent];
}
- if (showDeleted != null) {
- _queryParams["showDeleted"] = ["${showDeleted}"];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
if (view != null) {
_queryParams["view"] = [view];
}
+ if (showDeleted != null) {
+ _queryParams["showDeleted"] = ["${showDeleted}"];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
diff --git a/generated/googleapis/lib/iap/v1.dart b/generated/googleapis/lib/iap/v1.dart
index fcc894b..a3d9e6f 100644
--- a/generated/googleapis/lib/iap/v1.dart
+++ b/generated/googleapis/lib/iap/v1.dart
@@ -367,17 +367,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.
///
@@ -389,7 +389,7 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<ListIdentityAwareProxyClientsResponse> list(core.String parent,
- {core.int pageSize, core.String pageToken, core.String $fields}) {
+ {core.String pageToken, core.int pageSize, core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -400,12 +400,12 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
diff --git a/generated/googleapis/lib/jobs/v2.dart b/generated/googleapis/lib/jobs/v2.dart
index f66acf9..659dfe7 100644
--- a/generated/googleapis/lib/jobs/v2.dart
+++ b/generated/googleapis/lib/jobs/v2.dart
@@ -180,9 +180,6 @@
///
/// Request parameters:
///
- /// [pageToken] - Optional. The starting indicator from which to return
- /// results.
- ///
/// [mustHaveOpenJobs] - Optional. Set to true if the companies request must
/// 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.
@@ -190,6 +187,9 @@
/// [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.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -201,9 +201,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<ListCompaniesResponse> list(
- {core.String pageToken,
- core.bool mustHaveOpenJobs,
+ {core.bool mustHaveOpenJobs,
core.int pageSize,
+ core.String pageToken,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -212,15 +212,15 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body;
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (mustHaveOpenJobs != null) {
_queryParams["mustHaveOpenJobs"] = ["${mustHaveOpenJobs}"];
}
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -317,9 +317,14 @@
/// "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
+ /// false.
+ ///
+ /// [jobRequisitionId] - Optional. The requisition ID, also known as posting
+ /// ID, assigned by the company to the job. The maximum number of allowable
+ /// characters is 225.
///
/// [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
@@ -328,14 +333,9 @@
///
/// [pageToken] - Optional. The starting point of a query result.
///
- /// [jobRequisitionId] - Optional. The requisition ID, also known as posting
- /// ID, assigned by the company to the job. The maximum number of allowable
- /// characters is 225.
- ///
- /// [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
- /// false.
+ /// [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.
@@ -348,11 +348,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<ListCompanyJobsResponse> list(core.String companyName,
- {core.bool idsOnly,
+ {core.bool includeJobsCount,
+ core.String jobRequisitionId,
core.int pageSize,
core.String pageToken,
- core.String jobRequisitionId,
- core.bool includeJobsCount,
+ core.bool idsOnly,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -364,8 +364,11 @@
if (companyName == null) {
throw new core.ArgumentError("Parameter companyName is required.");
}
- if (idsOnly != null) {
- _queryParams["idsOnly"] = ["${idsOnly}"];
+ if (includeJobsCount != null) {
+ _queryParams["includeJobsCount"] = ["${includeJobsCount}"];
+ }
+ if (jobRequisitionId != null) {
+ _queryParams["jobRequisitionId"] = [jobRequisitionId];
}
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
@@ -373,11 +376,8 @@
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
- if (jobRequisitionId != null) {
- _queryParams["jobRequisitionId"] = [jobRequisitionId];
- }
- if (includeJobsCount != null) {
- _queryParams["includeJobsCount"] = ["${includeJobsCount}"];
+ if (idsOnly != null) {
+ _queryParams["idsOnly"] = ["${idsOnly}"];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -685,7 +685,10 @@
///
/// Request parameters:
///
- /// [pageToken] - Optional. The starting point of a query result.
+ /// [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
@@ -693,15 +696,12 @@
/// * companyName = "companies/123" * companyName = "companies/123" AND
/// requisitionId = "req-1"
///
- /// [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.
- ///
/// [idsOnly] - Optional. If set to `true`, only Job.name, Job.requisition_id
/// and Job.language_code will be returned. A typical use case is to
/// synchronize job repositories. Defaults to false.
///
+ /// [pageToken] - Optional. The starting point of a query result.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -713,10 +713,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.int pageSize,
core.String filter,
- core.int pageSize,
core.bool idsOnly,
+ core.String pageToken,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -725,18 +725,18 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body;
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
}
if (filter != null) {
_queryParams["filter"] = [filter];
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
if (idsOnly != null) {
_queryParams["idsOnly"] = ["${idsOnly}"];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -910,14 +910,6 @@
///
/// Request parameters:
///
- /// [companyName] - Optional. If provided, restricts completion to the
- /// specified company.
- ///
- /// [pageSize] - Required. Completion result count. The maximum allowed page
- /// size is 10.
- ///
- /// [query] - Required. The query used to generate suggestions.
- ///
/// [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
@@ -927,6 +919,11 @@
/// 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:
@@ -944,6 +941,9 @@
/// - "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.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -955,12 +955,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 companyName,
- core.int pageSize,
+ {core.String languageCode,
core.String query,
- core.String languageCode,
+ core.int pageSize,
core.String type,
core.String scope,
+ core.String companyName,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -969,17 +969,14 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body;
- if (companyName != null) {
- _queryParams["companyName"] = [companyName];
- }
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
+ if (languageCode != null) {
+ _queryParams["languageCode"] = [languageCode];
}
if (query != null) {
_queryParams["query"] = [query];
}
- if (languageCode != null) {
- _queryParams["languageCode"] = [languageCode];
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
}
if (type != null) {
_queryParams["type"] = [type];
@@ -987,6 +984,9 @@
if (scope != null) {
_queryParams["scope"] = [scope];
}
+ if (companyName != null) {
+ _queryParams["companyName"] = [companyName];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
diff --git a/generated/googleapis/lib/jobs/v3.dart b/generated/googleapis/lib/jobs/v3.dart
index 09acdd4..a2a60d0 100644
--- a/generated/googleapis/lib/jobs/v3.dart
+++ b/generated/googleapis/lib/jobs/v3.dart
@@ -58,19 +58,6 @@
/// "projects/api-test-project".
/// Value must have pattern "^projects/[^/]+$".
///
- /// [scope] - Optional. The scope of the completion. The defaults is
- /// CompletionScope.PUBLIC.
- /// Possible string values are:
- /// - "COMPLETION_SCOPE_UNSPECIFIED" : Default value.
- /// - "TENANT" : Suggestions are based only on the data provided by the
- /// client.
- /// - "PUBLIC" : Suggestions are based on all jobs data in the system that's
- /// visible to the client
- ///
- /// [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
@@ -82,20 +69,6 @@
/// or companies having open jobs with the same language_code are returned.
/// The maximum number of allowed characters is 255.
///
- /// [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.
- ///
- /// [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.
- ///
/// [languageCodes] - Optional. The list of languages of the query. This is
/// the BCP-47 language code, such as "en-US" or "sr-Latn". For more
/// information, see [Tags for Identifying
@@ -107,6 +80,33 @@
/// 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".
+ ///
+ /// [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:
+ /// - "COMPLETION_SCOPE_UNSPECIFIED" : Default value.
+ /// - "TENANT" : Suggestions are based only on the data provided by the
+ /// client.
+ /// - "PUBLIC" : Suggestions are based on all jobs data in the system that's
+ /// visible to the client
+ ///
+ /// [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.
///
@@ -118,13 +118,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<CompleteQueryResponse> complete(core.String name,
- {core.String scope,
+ {core.String languageCode,
+ core.List<core.String> languageCodes,
core.String companyName,
- core.String languageCode,
core.String query,
core.int pageSize,
+ core.String scope,
core.String type,
- core.List<core.String> languageCodes,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -136,27 +136,27 @@
if (name == null) {
throw new core.ArgumentError("Parameter name is required.");
}
- if (scope != null) {
- _queryParams["scope"] = [scope];
+ if (languageCode != null) {
+ _queryParams["languageCode"] = [languageCode];
+ }
+ if (languageCodes != null) {
+ _queryParams["languageCodes"] = languageCodes;
}
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 (scope != null) {
+ _queryParams["scope"] = [scope];
+ }
if (type != null) {
_queryParams["type"] = [type];
}
- if (languageCodes != null) {
- _queryParams["languageCodes"] = languageCodes;
- }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -395,15 +395,15 @@
/// "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.
///
/// [requireOpenJobs] - Optional. Set to true if the companies requested must
/// 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.
///
- /// [pageToken] - Optional. The starting indicator from which to return
- /// results.
+ /// [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.
@@ -416,9 +416,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<ListCompaniesResponse> list(core.String parent,
- {core.int pageSize,
+ {core.String pageToken,
core.bool requireOpenJobs,
- core.String pageToken,
+ core.int pageSize,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -430,14 +430,14 @@
if (parent == null) {
throw new 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 (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -722,12 +722,6 @@
/// "projects/api-test-project".
/// Value must have pattern "^projects/[^/]+$".
///
- /// [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:
- /// * companyName = "projects/api-test-project/companies/123" * companyName =
- /// "projects/api-test-project/companies/123" AND requisitionId = "req-1"
- ///
/// [pageToken] - Optional. The starting point of a query result.
///
/// [pageSize] - Optional. The maximum number of jobs to be returned per page
@@ -735,6 +729,12 @@
/// 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:
+ /// * companyName = "projects/api-test-project/companies/123" * companyName =
+ /// "projects/api-test-project/companies/123" AND requisitionId = "req-1"
+ ///
/// [jobView] - Optional. The desired job attributes returned for jobs in the
/// search response. Defaults to JobView.JOB_VIEW_FULL if no value is
/// specified.
@@ -763,9 +763,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.String parent,
- {core.String filter,
- core.String pageToken,
+ {core.String pageToken,
core.int pageSize,
+ core.String filter,
core.String jobView,
core.String $fields}) {
var _url;
@@ -778,15 +778,15 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (filter != null) {
- _queryParams["filter"] = [filter];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
+ if (filter != null) {
+ _queryParams["filter"] = [filter];
+ }
if (jobView != null) {
_queryParams["jobView"] = [jobView];
}
diff --git a/generated/googleapis/lib/kgsearch/v1.dart b/generated/googleapis/lib/kgsearch/v1.dart
index ebb9c9f..715ef5b 100644
--- a/generated/googleapis/lib/kgsearch/v1.dart
+++ b/generated/googleapis/lib/kgsearch/v1.dart
@@ -39,25 +39,25 @@
///
/// Request parameters:
///
- /// [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.
- ///
- /// [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.
- ///
/// [ids] - The list of entity id to be used for search instead of query
/// string. To specify multiple ids in the HTTP request, repeat the parameter
/// in the URL as in ...?ids=A&ids=B
///
- /// [indent] - Enables indenting of json results.
+ /// [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'.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -69,13 +69,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<SearchResponse> search(
- {core.List<core.String> types,
- core.List<core.String> languages,
- core.int limit,
- core.List<core.String> ids,
- core.bool indent,
+ {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.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -84,20 +84,11 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body;
- if (types != null) {
- _queryParams["types"] = types;
- }
- if (languages != null) {
- _queryParams["languages"] = languages;
- }
- if (limit != null) {
- _queryParams["limit"] = ["${limit}"];
- }
if (ids != null) {
_queryParams["ids"] = ids;
}
- if (indent != null) {
- _queryParams["indent"] = ["${indent}"];
+ if (types != null) {
+ _queryParams["types"] = types;
}
if (query != null) {
_queryParams["query"] = [query];
@@ -105,6 +96,15 @@
if (prefix != null) {
_queryParams["prefix"] = ["${prefix}"];
}
+ if (indent != null) {
+ _queryParams["indent"] = ["${indent}"];
+ }
+ if (limit != null) {
+ _queryParams["limit"] = ["${limit}"];
+ }
+ if (languages != null) {
+ _queryParams["languages"] = languages;
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
diff --git a/generated/googleapis/lib/licensing/v1.dart b/generated/googleapis/lib/licensing/v1.dart
index 1407438..a9f599f 100644
--- a/generated/googleapis/lib/licensing/v1.dart
+++ b/generated/googleapis/lib/licensing/v1.dart
@@ -242,16 +242,16 @@
/// accepted the primary domain name as a value for this field. If the
/// customer is suspended, the server returns an error.
///
- /// [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.
///
+ /// [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".
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -264,7 +264,7 @@
/// this method will complete with the same error.
async.Future<LicenseAssignmentList> listForProduct(
core.String productId, core.String customerId,
- {core.int maxResults, core.String pageToken, core.String $fields}) {
+ {core.String pageToken, core.int maxResults, core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -279,12 +279,12 @@
throw new core.ArgumentError("Parameter customerId is required.");
}
_queryParams["customerId"] = [customerId];
- if (maxResults != null) {
- _queryParams["maxResults"] = ["${maxResults}"];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (maxResults != null) {
+ _queryParams["maxResults"] = ["${maxResults}"];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -316,16 +316,16 @@
/// accepted the primary domain name as a value for this field. If the
/// customer is suspended, the server returns an error.
///
- /// [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.
///
+ /// [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".
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -338,7 +338,7 @@
/// this method will complete with the same error.
async.Future<LicenseAssignmentList> listForProductAndSku(
core.String productId, core.String skuId, core.String customerId,
- {core.int maxResults, core.String pageToken, core.String $fields}) {
+ {core.String pageToken, core.int maxResults, core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -356,12 +356,12 @@
throw new core.ArgumentError("Parameter customerId is required.");
}
_queryParams["customerId"] = [customerId];
- if (maxResults != null) {
- _queryParams["maxResults"] = ["${maxResults}"];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (maxResults != null) {
+ _queryParams["maxResults"] = ["${maxResults}"];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
diff --git a/generated/googleapis/lib/logging/v2.dart b/generated/googleapis/lib/logging/v2.dart
index 945b110..4d1c802 100644
--- a/generated/googleapis/lib/logging/v2.dart
+++ b/generated/googleapis/lib/logging/v2.dart
@@ -814,15 +814,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.
///
@@ -834,7 +834,7 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<ListLogsResponse> list(core.String parent,
- {core.int pageSize, core.String pageToken, core.String $fields}) {
+ {core.String pageToken, core.int pageSize, core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -845,12 +845,12 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -1049,15 +1049,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.
///
@@ -1069,7 +1069,7 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<ListSinksResponse> list(core.String parent,
- {core.String pageToken, core.int pageSize, core.String $fields}) {
+ {core.int pageSize, core.String pageToken, core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -1080,12 +1080,12 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -1119,15 +1119,6 @@
/// "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
@@ -1138,6 +1129,15 @@
/// 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.
///
@@ -1149,8 +1149,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<LogSink> patch(LogSink request, core.String sinkName,
- {core.bool uniqueWriterIdentity,
- core.String updateMask,
+ {core.String updateMask,
+ core.bool uniqueWriterIdentity,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -1165,12 +1165,12 @@
if (sinkName == null) {
throw new core.ArgumentError("Parameter sinkName is required.");
}
- if (uniqueWriterIdentity != null) {
- _queryParams["uniqueWriterIdentity"] = ["${uniqueWriterIdentity}"];
- }
if (updateMask != null) {
_queryParams["updateMask"] = [updateMask];
}
+ if (uniqueWriterIdentity != null) {
+ _queryParams["uniqueWriterIdentity"] = ["${uniqueWriterIdentity}"];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -2142,15 +2142,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.
///
@@ -2162,7 +2162,7 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<ListBucketsResponse> list(core.String parent,
- {core.int pageSize, core.String pageToken, core.String $fields}) {
+ {core.String pageToken, core.int pageSize, core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -2173,12 +2173,12 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -2624,15 +2624,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.
///
@@ -2644,7 +2644,7 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<ListSinksResponse> list(core.String parent,
- {core.String pageToken, core.int pageSize, core.String $fields}) {
+ {core.int pageSize, core.String pageToken, core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -2655,12 +2655,12 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -2694,15 +2694,6 @@
/// "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
@@ -2713,6 +2704,15 @@
/// 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.
///
@@ -2724,8 +2724,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<LogSink> patch(LogSink request, core.String sinkName,
- {core.bool uniqueWriterIdentity,
- core.String updateMask,
+ {core.String updateMask,
+ core.bool uniqueWriterIdentity,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -2740,12 +2740,12 @@
if (sinkName == null) {
throw new core.ArgumentError("Parameter sinkName is required.");
}
- if (uniqueWriterIdentity != null) {
- _queryParams["uniqueWriterIdentity"] = ["${uniqueWriterIdentity}"];
- }
if (updateMask != null) {
_queryParams["updateMask"] = [updateMask];
}
+ if (uniqueWriterIdentity != null) {
+ _queryParams["uniqueWriterIdentity"] = ["${uniqueWriterIdentity}"];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -3033,15 +3033,15 @@
/// of LOCATION_ID will return all buckets.
/// Value must have pattern "^[^/]+/[^/]+/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.
///
@@ -3053,7 +3053,7 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<ListBucketsResponse> list(core.String parent,
- {core.String pageToken, core.int pageSize, core.String $fields}) {
+ {core.int pageSize, core.String pageToken, core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -3064,12 +3064,12 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -3281,15 +3281,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.
///
@@ -3301,7 +3301,7 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<ListLogsResponse> list(core.String parent,
- {core.String pageToken, core.int pageSize, core.String $fields}) {
+ {core.int pageSize, core.String pageToken, core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -3312,12 +3312,12 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -4018,15 +4018,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.
///
@@ -4038,7 +4038,7 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<ListBucketsResponse> list(core.String parent,
- {core.int pageSize, core.String pageToken, core.String $fields}) {
+ {core.String pageToken, core.int pageSize, core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -4049,12 +4049,12 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -4504,15 +4504,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.
///
@@ -4524,7 +4524,7 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<ListSinksResponse> list(core.String parent,
- {core.int pageSize, core.String pageToken, core.String $fields}) {
+ {core.String pageToken, core.int pageSize, core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -4535,12 +4535,12 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -4574,6 +4574,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
@@ -4584,15 +4593,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.
///
@@ -4604,8 +4604,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<LogSink> patch(LogSink request, core.String sinkName,
- {core.String updateMask,
- core.bool uniqueWriterIdentity,
+ {core.bool uniqueWriterIdentity,
+ core.String updateMask,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -4620,12 +4620,12 @@
if (sinkName == null) {
throw new 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];
}
@@ -4910,15 +4910,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.
///
@@ -4930,7 +4930,7 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<ListExclusionsResponse> list(core.String parent,
- {core.int pageSize, core.String pageToken, core.String $fields}) {
+ {core.String pageToken, core.int pageSize, core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -4941,12 +4941,12 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -5216,15 +5216,15 @@
/// of LOCATION_ID will return all buckets.
/// Value must have pattern "^projects/[^/]+/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.
///
@@ -5236,7 +5236,7 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<ListBucketsResponse> list(core.String parent,
- {core.String pageToken, core.int pageSize, core.String $fields}) {
+ {core.int pageSize, core.String pageToken, core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -5247,12 +5247,12 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -5670,15 +5670,15 @@
/// "projects/[PROJECT_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.
///
@@ -5690,7 +5690,7 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<ListLogMetricsResponse> list(core.String parent,
- {core.String pageToken, core.int pageSize, core.String $fields}) {
+ {core.int pageSize, core.String pageToken, core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -5701,12 +5701,12 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -5958,15 +5958,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.
///
@@ -5978,7 +5978,7 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<ListSinksResponse> list(core.String parent,
- {core.String pageToken, core.int pageSize, core.String $fields}) {
+ {core.int pageSize, core.String pageToken, core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -5989,12 +5989,12 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -6028,15 +6028,6 @@
/// "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
@@ -6047,6 +6038,15 @@
/// 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.
///
@@ -6058,8 +6058,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<LogSink> patch(LogSink request, core.String sinkName,
- {core.bool uniqueWriterIdentity,
- core.String updateMask,
+ {core.String updateMask,
+ core.bool uniqueWriterIdentity,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -6074,12 +6074,12 @@
if (sinkName == null) {
throw new core.ArgumentError("Parameter sinkName is required.");
}
- if (uniqueWriterIdentity != null) {
- _queryParams["uniqueWriterIdentity"] = ["${uniqueWriterIdentity}"];
- }
if (updateMask != null) {
_queryParams["updateMask"] = [updateMask];
}
+ if (uniqueWriterIdentity != null) {
+ _queryParams["uniqueWriterIdentity"] = ["${uniqueWriterIdentity}"];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
diff --git a/generated/googleapis/lib/managedidentities/v1.dart b/generated/googleapis/lib/managedidentities/v1.dart
index 5c1ad1b..9c6a7d4 100644
--- a/generated/googleapis/lib/managedidentities/v1.dart
+++ b/generated/googleapis/lib/managedidentities/v1.dart
@@ -103,15 +103,15 @@
/// [name] - The resource that owns the locations collection, if applicable.
/// Value must have pattern "^projects/[^/]+$".
///
+ /// [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.
///
- /// [filter] - The standard list filter.
- ///
- /// [pageToken] - The standard list page token.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -123,10 +123,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<ListLocationsResponse> list(core.String name,
- {core.bool includeUnrevealedLocations,
- core.int pageSize,
- core.String filter,
+ {core.String filter,
core.String pageToken,
+ core.bool includeUnrevealedLocations,
+ core.int pageSize,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -138,6 +138,12 @@
if (name == null) {
throw new core.ArgumentError("Parameter name is required.");
}
+ if (filter != null) {
+ _queryParams["filter"] = [filter];
+ }
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
if (includeUnrevealedLocations != null) {
_queryParams["includeUnrevealedLocations"] = [
"${includeUnrevealedLocations}"
@@ -146,12 +152,6 @@
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
- if (filter != null) {
- _queryParams["filter"] = [filter];
- }
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -1093,12 +1093,12 @@
/// [name] - The name of the operation's parent resource.
/// Value must have pattern "^projects/[^/]+/locations/global/operations$".
///
+ /// [pageSize] - The standard list page size.
+ ///
/// [pageToken] - The standard list page token.
///
/// [filter] - The standard list filter.
///
- /// [pageSize] - The standard list page size.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1110,9 +1110,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<ListOperationsResponse> list(core.String name,
- {core.String pageToken,
+ {core.int pageSize,
+ core.String pageToken,
core.String filter,
- core.int pageSize,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -1124,15 +1124,15 @@
if (name == null) {
throw new core.ArgumentError("Parameter name is required.");
}
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
if (filter != null) {
_queryParams["filter"] = [filter];
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
diff --git a/generated/googleapis/lib/manufacturers/v1.dart b/generated/googleapis/lib/manufacturers/v1.dart
index cd01e37..6bf542d 100644
--- a/generated/googleapis/lib/manufacturers/v1.dart
+++ b/generated/googleapis/lib/manufacturers/v1.dart
@@ -186,11 +186,11 @@
/// 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.
///
- /// [pageToken] - The token returned by the previous request.
- ///
/// [pageSize] - Maximum number of product statuses to return in the response,
/// used for paging.
///
@@ -205,8 +205,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<ListProductsResponse> list(core.String parent,
- {core.List<core.String> include,
- core.String pageToken,
+ {core.String pageToken,
+ core.List<core.String> include,
core.int pageSize,
core.String $fields}) {
var _url;
@@ -219,12 +219,12 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (include != null) {
- _queryParams["include"] = include;
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (include != null) {
+ _queryParams["include"] = include;
+ }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
diff --git a/generated/googleapis/lib/ml/v1.dart b/generated/googleapis/lib/ml/v1.dart
index afa8c87..efca688 100644
--- a/generated/googleapis/lib/ml/v1.dart
+++ b/generated/googleapis/lib/ml/v1.dart
@@ -433,15 +433,15 @@
/// --filter='jobId:rnn* AND state:FAILED' For more examples, see the guide to
/// monitoring jobs.
///
- /// [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 jobs 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.
///
@@ -454,8 +454,8 @@
/// this method will complete with the same error.
async.Future<GoogleCloudMlV1ListJobsResponse> list(core.String parent,
{core.String filter,
- core.String pageToken,
core.int pageSize,
+ core.String pageToken,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -470,12 +470,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];
}
@@ -1792,15 +1792,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.
///
@@ -1813,8 +1813,8 @@
/// this method will complete with the same error.
async.Future<GoogleCloudMlV1ListModelsResponse> list(core.String parent,
{core.String filter,
- core.int pageSize,
core.String pageToken,
+ core.int pageSize,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -1829,12 +1829,12 @@
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 ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -2200,17 +2200,17 @@
/// [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
/// 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.
///
- /// [filter] - Optional. Specifies the subset of versions 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.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -2222,9 +2222,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<GoogleCloudMlV1ListVersionsResponse> list(core.String parent,
- {core.int pageSize,
+ {core.String pageToken,
core.String filter,
- core.String pageToken,
+ core.int pageSize,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -2236,14 +2236,14 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
}
if (filter != null) {
_queryParams["filter"] = [filter];
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -2506,10 +2506,10 @@
/// [name] - The name of the operation's parent resource.
/// Value must have pattern "^projects/[^/]+$".
///
- /// [filter] - The standard list filter.
- ///
/// [pageToken] - The standard list page token.
///
+ /// [filter] - The standard list filter.
+ ///
/// [pageSize] - The standard list page size.
///
/// [$fields] - Selector specifying which fields to include in a partial
@@ -2523,8 +2523,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<GoogleLongrunningListOperationsResponse> list(core.String name,
- {core.String filter,
- core.String pageToken,
+ {core.String pageToken,
+ core.String filter,
core.int pageSize,
core.String $fields}) {
var _url;
@@ -2537,12 +2537,12 @@
if (name == null) {
throw new core.ArgumentError("Parameter name is required.");
}
- if (filter != null) {
- _queryParams["filter"] = [filter];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (filter != null) {
+ _queryParams["filter"] = [filter];
+ }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
diff --git a/generated/googleapis/lib/monitoring/v3.dart b/generated/googleapis/lib/monitoring/v3.dart
index effee41..3acb507 100644
--- a/generated/googleapis/lib/monitoring/v3.dart
+++ b/generated/googleapis/lib/monitoring/v3.dart
@@ -244,24 +244,24 @@
/// operation, instead.
/// 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 more results from the previous method
- /// call.
+ /// [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.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -273,10 +273,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<ListAlertPoliciesResponse> list(core.String name,
- {core.String pageToken,
+ {core.int pageSize,
core.String filter,
+ core.String pageToken,
core.String orderBy,
- core.int pageSize,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -288,18 +288,18 @@
if (name == null) {
throw new core.ArgumentError("Parameter name is required.");
}
- 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 (orderBy != null) {
_queryParams["orderBy"] = [orderBy];
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -627,18 +627,20 @@
/// is: projects/[PROJECT_ID_OR_NUMBER]
/// Value must have pattern "^projects/[^/]+$".
///
- /// [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.
+ /// [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,
+ /// the results are empty.
///
/// [descendantsOfGroup] - A group name. The format is:
/// projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID] Returns the descendants
/// 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
@@ -647,10 +649,8 @@
/// 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,
- /// 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.
@@ -663,11 +663,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<ListGroupsResponse> list(core.String name,
- {core.String pageToken,
+ {core.String childrenOfGroup,
core.String descendantsOfGroup,
- core.int pageSize,
+ core.String pageToken,
core.String ancestorsOfGroup,
- core.String childrenOfGroup,
+ core.int pageSize,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -679,20 +679,20 @@
if (name == null) {
throw new core.ArgumentError("Parameter name is required.");
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
+ if (childrenOfGroup != null) {
+ _queryParams["childrenOfGroup"] = [childrenOfGroup];
}
if (descendantsOfGroup != null) {
_queryParams["descendantsOfGroup"] = [descendantsOfGroup];
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
}
if (ancestorsOfGroup != null) {
_queryParams["ancestorsOfGroup"] = [ancestorsOfGroup];
}
- if (childrenOfGroup != null) {
- _queryParams["childrenOfGroup"] = [childrenOfGroup];
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -784,6 +784,12 @@
/// 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
@@ -791,20 +797,14 @@
/// return only resources representing Compute Engine VM instances, use this
/// filter: `resource.type = "gce_instance"`
///
- /// [interval_endTime] - Required. The end of the time interval.
+ /// [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.
///
- /// [pageSize] - A positive number that is the maximum number of results to
- /// return.
- ///
- /// [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.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -816,11 +816,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<ListGroupMembersResponse> list(core.String name,
- {core.String filter,
+ {core.String interval_startTime,
core.String interval_endTime,
- core.String pageToken,
+ core.String filter,
core.int pageSize,
- core.String interval_startTime,
+ core.String pageToken,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -832,20 +832,20 @@
if (name == null) {
throw new core.ArgumentError("Parameter name is required.");
}
- if (filter != null) {
- _queryParams["filter"] = [filter];
+ if (interval_startTime != null) {
+ _queryParams["interval.startTime"] = [interval_startTime];
}
if (interval_endTime != null) {
_queryParams["interval.endTime"] = [interval_endTime];
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
+ if (filter != null) {
+ _queryParams["filter"] = [filter];
}
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
- if (interval_startTime != null) {
- _queryParams["interval.startTime"] = [interval_startTime];
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -1166,6 +1166,9 @@
/// 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
@@ -1173,9 +1176,6 @@
/// 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.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1188,8 +1188,8 @@
/// this method will complete with the same error.
async.Future<ListMonitoredResourceDescriptorsResponse> list(core.String name,
{core.String pageToken,
- core.String filter,
core.int pageSize,
+ core.String filter,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -1204,12 +1204,12 @@
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 ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -1296,14 +1296,14 @@
/// name, use the GetNotificationChannelDescriptor operation, instead.
/// Value must have pattern "^projects/[^/]+$".
///
- /// [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.
- ///
/// [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.
///
@@ -1316,8 +1316,8 @@
/// this method will complete with the same error.
async.Future<ListNotificationChannelDescriptorsResponse> list(
core.String name,
- {core.String pageToken,
- core.int pageSize,
+ {core.int pageSize,
+ core.String pageToken,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -1329,12 +1329,12 @@
if (name == null) {
throw new 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];
}
@@ -1612,6 +1612,11 @@
/// 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.
@@ -1622,11 +1627,6 @@
/// details, see sorting and filtering
/// (https://cloud.google.com/monitoring/api/v3/sorting-and-filtering).
///
- /// [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).
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1639,9 +1639,9 @@
/// 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.String filter,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -1656,15 +1656,15 @@
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 (filter != null) {
- _queryParams["filter"] = [filter];
- }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -1917,15 +1917,14 @@
/// is: projects/[PROJECT_ID_OR_NUMBER]
/// Value must have pattern "^projects/[^/]+$".
///
- /// [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.
+ /// [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_crossSeriesReducer] - The reduction operation to be used to
/// combine time series into a single time series, where the value of each
@@ -2000,6 +1999,36 @@
/// 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_perSeriesAligner] - An Aligner describes how to bring the
/// data points in a single time series into temporal alignment. Except for
/// ALIGN_NONE, all alignments cause all the data points in an
@@ -2106,20 +2135,14 @@
/// care should be taken that the values for the metric will always be
/// positive. The output is a GAUGE metric with value_type DOUBLE.
///
+ /// [interval_endTime] - Required. The end of the time interval.
+ ///
/// [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.
///
- /// [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_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
@@ -2133,29 +2156,6 @@
/// are aggregated into a single output time series. If cross_series_reducer
/// is not defined, this field is ignored.
///
- /// [orderBy] - Unsupported: must be left blank. The points in each time
- /// series are currently returned in reverse time order (most recent to
- /// oldest).
- ///
- /// [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"
- ///
- /// [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_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.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -2167,17 +2167,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<ListTimeSeriesResponse> list(core.String name,
- {core.String aggregation_alignmentPeriod,
- core.String aggregation_crossSeriesReducer,
- core.String aggregation_perSeriesAligner,
- core.int pageSize,
- core.String view,
- core.List<core.String> aggregation_groupByFields,
- core.String orderBy,
- core.String filter,
- core.String pageToken,
- core.String interval_endTime,
+ {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.List<core.String> aggregation_groupByFields,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -2189,44 +2189,44 @@
if (name == null) {
throw new core.ArgumentError("Parameter name is required.");
}
- if (aggregation_alignmentPeriod != null) {
- _queryParams["aggregation.alignmentPeriod"] = [
- aggregation_alignmentPeriod
- ];
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
+ if (interval_startTime != null) {
+ _queryParams["interval.startTime"] = [interval_startTime];
}
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_perSeriesAligner != null) {
_queryParams["aggregation.perSeriesAligner"] = [
aggregation_perSeriesAligner
];
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
- if (view != null) {
- _queryParams["view"] = [view];
- }
- if (aggregation_groupByFields != null) {
- _queryParams["aggregation.groupByFields"] = aggregation_groupByFields;
- }
- if (orderBy != null) {
- _queryParams["orderBy"] = [orderBy];
- }
- if (filter != null) {
- _queryParams["filter"] = [filter];
- }
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (interval_endTime != null) {
_queryParams["interval.endTime"] = [interval_endTime];
}
- if (interval_startTime != null) {
- _queryParams["interval.startTime"] = [interval_startTime];
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
+ if (aggregation_groupByFields != null) {
+ _queryParams["aggregation.groupByFields"] = aggregation_groupByFields;
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -2457,16 +2457,16 @@
/// listed. The format 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 more results from the previous method
- /// call.
- ///
/// [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.
///
+ /// [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.
///
@@ -2478,7 +2478,7 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<ListUptimeCheckConfigsResponse> list(core.String parent,
- {core.String pageToken, core.int pageSize, core.String $fields}) {
+ {core.int pageSize, core.String pageToken, core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -2489,12 +2489,12 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -2757,14 +2757,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.
///
@@ -2777,8 +2777,8 @@
/// 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.int pageSize,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -2793,12 +2793,12 @@
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 ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -3058,16 +3058,11 @@
/// workspaces/[HOST_PROJECT_ID_OR_NUMBER]/services/-
/// Value must have pattern "^[^/]+/[^/]+/services/[^/]+$".
///
- /// [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.
///
- /// [filter] - A filter specifying what ServiceLevelObjectives to return.
- ///
/// [view] - View of the ServiceLevelObjectives to return. If DEFAULT, return
/// each ServiceLevelObjective as originally defined. If EXPLICIT and the
/// ServiceLevelObjective is defined in terms of a BasicSli, replace the
@@ -3082,6 +3077,11 @@
/// 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.
///
@@ -3093,10 +3093,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<ListServiceLevelObjectivesResponse> list(core.String parent,
- {core.int pageSize,
- core.String pageToken,
- core.String filter,
+ {core.String pageToken,
core.String view,
+ core.String filter,
+ core.int pageSize,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -3108,17 +3108,17 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (view != null) {
+ _queryParams["view"] = [view];
+ }
if (filter != null) {
_queryParams["filter"] = [filter];
}
- if (view != null) {
- _queryParams["view"] = [view];
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -3206,16 +3206,16 @@
///
/// Request parameters:
///
- /// [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
///
+ /// [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
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -3227,7 +3227,7 @@
/// 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.int pageSize, core.String pageToken, core.String $fields}) {
+ {core.String pageToken, core.int pageSize, core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -3235,12 +3235,12 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body;
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -4208,6 +4208,9 @@
/// points.
MetricAbsence conditionAbsent;
+ /// A condition that uses the Monitoring Query Language to define alerts.
+ MonitoringQueryLanguageCondition conditionMonitoringQueryLanguage;
+
/// A condition that compares a time series against a threshold.
MetricThreshold conditionThreshold;
@@ -4239,6 +4242,11 @@
if (_json.containsKey("conditionAbsent")) {
conditionAbsent = new MetricAbsence.fromJson(_json["conditionAbsent"]);
}
+ if (_json.containsKey("conditionMonitoringQueryLanguage")) {
+ conditionMonitoringQueryLanguage =
+ new MonitoringQueryLanguageCondition.fromJson(
+ _json["conditionMonitoringQueryLanguage"]);
+ }
if (_json.containsKey("conditionThreshold")) {
conditionThreshold =
new MetricThreshold.fromJson(_json["conditionThreshold"]);
@@ -4257,6 +4265,10 @@
if (conditionAbsent != null) {
_json["conditionAbsent"] = (conditionAbsent).toJson();
}
+ if (conditionMonitoringQueryLanguage != null) {
+ _json["conditionMonitoringQueryLanguage"] =
+ (conditionMonitoringQueryLanguage).toJson();
+ }
if (conditionThreshold != null) {
_json["conditionThreshold"] = (conditionThreshold).toJson();
}
@@ -7007,6 +7019,60 @@
}
}
+/// A condition type that allows alert policies to be defined using Monitoring
+/// Query Language.
+class MonitoringQueryLanguageCondition {
+ /// The amount of time that a time series must violate the threshold to be
+ /// considered failing. Currently, only values that are a multiple of a
+ /// minute--e.g., 0, 60, 120, or 300 seconds--are supported. If an invalid
+ /// value is given, an error will be returned. When choosing a duration, it is
+ /// useful to keep in mind the frequency of the underlying time series data
+ /// (which may also be affected by any alignments specified in the
+ /// aggregations field); a good duration is long enough so that a single
+ /// outlier does not generate spurious alerts, but short enough that unhealthy
+ /// states are detected and alerted on quickly.
+ core.String duration;
+
+ /// Monitoring Query Language query that outputs a boolean stream.
+ core.String query;
+
+ /// The number/percent of time series for which the comparison must hold in
+ /// order for the condition to trigger. If unspecified, then the condition
+ /// will trigger if the comparison is true for any of the time series that
+ /// have been identified by filter and aggregations, or by the ratio, if
+ /// denominator_filter and denominator_aggregations are specified.
+ Trigger trigger;
+
+ MonitoringQueryLanguageCondition();
+
+ MonitoringQueryLanguageCondition.fromJson(core.Map _json) {
+ if (_json.containsKey("duration")) {
+ duration = _json["duration"];
+ }
+ if (_json.containsKey("query")) {
+ query = _json["query"];
+ }
+ if (_json.containsKey("trigger")) {
+ trigger = new Trigger.fromJson(_json["trigger"]);
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
+ if (duration != null) {
+ _json["duration"] = duration;
+ }
+ if (query != null) {
+ _json["query"] = query;
+ }
+ if (trigger != null) {
+ _json["trigger"] = (trigger).toJson();
+ }
+ return _json;
+ }
+}
+
/// Describes a change made to a configuration.
class MutationRecord {
/// When the change occurred.
diff --git a/generated/googleapis/lib/networkmanagement/v1.dart b/generated/googleapis/lib/networkmanagement/v1.dart
index 4bfc655..58e0825 100644
--- a/generated/googleapis/lib/networkmanagement/v1.dart
+++ b/generated/googleapis/lib/networkmanagement/v1.dart
@@ -102,11 +102,11 @@
/// [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.
///
/// [pageToken] - The standard list page token.
///
- /// [filter] - The standard list filter.
+ /// [pageSize] - The standard list page size.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -119,9 +119,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<ListLocationsResponse> list(core.String name,
- {core.int pageSize,
+ {core.String filter,
core.String pageToken,
- core.String filter,
+ core.int pageSize,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -133,14 +133,14 @@
if (name == null) {
throw new 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 (filter != null) {
- _queryParams["filter"] = [filter];
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -409,12 +409,12 @@
/// `projects/{project_id}/locations/global`
/// Value must have pattern "^projects/[^/]+/locations/global$".
///
- /// [orderBy] - Field to use to sort the list.
+ /// [pageToken] - Page token from an earlier query, as returned in
+ /// `next_page_token`.
///
/// [pageSize] - Number of `ConnectivityTests` to return.
///
- /// [pageToken] - Page token from an earlier query, as returned in
- /// `next_page_token`.
+ /// [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
@@ -438,9 +438,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<ListConnectivityTestsResponse> list(core.String parent,
- {core.String orderBy,
+ {core.String pageToken,
core.int pageSize,
- core.String pageToken,
+ core.String orderBy,
core.String filter,
core.String $fields}) {
var _url;
@@ -453,14 +453,14 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- 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 (orderBy != null) {
+ _queryParams["orderBy"] = [orderBy];
}
if (filter != null) {
_queryParams["filter"] = [filter];
@@ -900,12 +900,12 @@
/// [name] - The name of the operation's parent resource.
/// Value must have pattern "^projects/[^/]+/locations/global$".
///
- /// [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.
///
@@ -917,9 +917,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<ListOperationsResponse> list(core.String name,
- {core.String pageToken,
- core.String filter,
+ {core.String filter,
core.int pageSize,
+ core.String pageToken,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -931,15 +931,15 @@
if (name == null) {
throw new 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/oauth2/v2.dart b/generated/googleapis/lib/oauth2/v2.dart
new file mode 100644
index 0000000..453d40e
--- /dev/null
+++ b/generated/googleapis/lib/oauth2/v2.dart
@@ -0,0 +1,371 @@
+// This is a generated file (see the discoveryapis_generator project).
+
+// ignore_for_file: unused_import, unnecessary_cast
+
+library googleapis.oauth2.v2;
+
+import 'dart:core' as core;
+import 'dart:async' as async;
+
+import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons;
+import 'package:http/http.dart' as http;
+
+export 'package:_discoveryapis_commons/_discoveryapis_commons.dart'
+ show ApiRequestError, DetailedApiRequestError;
+
+const core.String USER_AGENT = 'dart-api-client oauth2/v2';
+
+/// Obtains end-user authorization grants for use with other Google APIs.
+class Oauth2Api {
+ /// View your email address
+ static const UserinfoEmailScope =
+ "https://www.googleapis.com/auth/userinfo.email";
+
+ /// See your personal info, including any personal info you've made publicly
+ /// available
+ static const UserinfoProfileScope =
+ "https://www.googleapis.com/auth/userinfo.profile";
+
+ /// Associate you with your personal info on Google
+ static const OpenidScope = "openid";
+
+ final commons.ApiRequester _requester;
+
+ UserinfoResourceApi get userinfo => new UserinfoResourceApi(_requester);
+
+ Oauth2Api(http.Client client,
+ {core.String rootUrl = "https://www.googleapis.com/",
+ core.String servicePath = ""})
+ : _requester =
+ new commons.ApiRequester(client, rootUrl, servicePath, USER_AGENT);
+
+ /// Request parameters:
+ ///
+ /// [accessToken] - null
+ ///
+ /// [idToken] - null
+ ///
+ /// [$fields] - Selector specifying which fields to include in a partial
+ /// response.
+ ///
+ /// Completes with a [Tokeninfo].
+ ///
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned an
+ /// error.
+ ///
+ /// If the used [http.Client] completes with an error when making a REST call,
+ /// this method will complete with the same error.
+ async.Future<Tokeninfo> tokeninfo(
+ {core.String accessToken, core.String idToken, core.String $fields}) {
+ var _url;
+ var _queryParams = new core.Map<core.String, core.List<core.String>>();
+ var _uploadMedia;
+ var _uploadOptions;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body;
+
+ if (accessToken != null) {
+ _queryParams["access_token"] = [accessToken];
+ }
+ if (idToken != null) {
+ _queryParams["id_token"] = [idToken];
+ }
+ if ($fields != null) {
+ _queryParams["fields"] = [$fields];
+ }
+
+ _url = 'oauth2/v2/tokeninfo';
+
+ var _response = _requester.request(_url, "POST",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new Tokeninfo.fromJson(data));
+ }
+}
+
+class UserinfoResourceApi {
+ final commons.ApiRequester _requester;
+
+ UserinfoV2ResourceApi get v2 => new UserinfoV2ResourceApi(_requester);
+
+ UserinfoResourceApi(commons.ApiRequester client) : _requester = client;
+
+ /// Request parameters:
+ ///
+ /// [$fields] - Selector specifying which fields to include in a partial
+ /// response.
+ ///
+ /// Completes with a [Userinfo].
+ ///
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned an
+ /// error.
+ ///
+ /// If the used [http.Client] completes with an error when making a REST call,
+ /// this method will complete with the same error.
+ async.Future<Userinfo> get({core.String $fields}) {
+ var _url;
+ var _queryParams = new core.Map<core.String, core.List<core.String>>();
+ var _uploadMedia;
+ var _uploadOptions;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body;
+
+ if ($fields != null) {
+ _queryParams["fields"] = [$fields];
+ }
+
+ _url = 'oauth2/v2/userinfo';
+
+ var _response = _requester.request(_url, "GET",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new Userinfo.fromJson(data));
+ }
+}
+
+class UserinfoV2ResourceApi {
+ final commons.ApiRequester _requester;
+
+ UserinfoV2MeResourceApi get me => new UserinfoV2MeResourceApi(_requester);
+
+ UserinfoV2ResourceApi(commons.ApiRequester client) : _requester = client;
+}
+
+class UserinfoV2MeResourceApi {
+ final commons.ApiRequester _requester;
+
+ UserinfoV2MeResourceApi(commons.ApiRequester client) : _requester = client;
+
+ /// Request parameters:
+ ///
+ /// [$fields] - Selector specifying which fields to include in a partial
+ /// response.
+ ///
+ /// Completes with a [Userinfo].
+ ///
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned an
+ /// error.
+ ///
+ /// If the used [http.Client] completes with an error when making a REST call,
+ /// this method will complete with the same error.
+ async.Future<Userinfo> get({core.String $fields}) {
+ var _url;
+ var _queryParams = new core.Map<core.String, core.List<core.String>>();
+ var _uploadMedia;
+ var _uploadOptions;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body;
+
+ if ($fields != null) {
+ _queryParams["fields"] = [$fields];
+ }
+
+ _url = 'userinfo/v2/me';
+
+ var _response = _requester.request(_url, "GET",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new Userinfo.fromJson(data));
+ }
+}
+
+class Tokeninfo {
+ /// Who is the intended audience for this token. In general the same as
+ /// issued_to.
+ core.String audience;
+
+ /// The email address of the user. Present only if the email scope is present
+ /// in the request.
+ core.String email;
+
+ /// The expiry time of the token, as number of seconds left until expiry.
+ core.int expiresIn;
+
+ /// To whom was the token issued to. In general the same as audience.
+ core.String issuedTo;
+
+ /// The space separated list of scopes granted to this token.
+ core.String scope;
+
+ /// The obfuscated user id.
+ core.String userId;
+
+ /// Boolean flag which is true if the email address is verified. Present only
+ /// if the email scope is present in the request.
+ core.bool verifiedEmail;
+
+ Tokeninfo();
+
+ Tokeninfo.fromJson(core.Map _json) {
+ if (_json.containsKey("audience")) {
+ audience = _json["audience"];
+ }
+ if (_json.containsKey("email")) {
+ email = _json["email"];
+ }
+ if (_json.containsKey("expires_in")) {
+ expiresIn = _json["expires_in"];
+ }
+ if (_json.containsKey("issued_to")) {
+ issuedTo = _json["issued_to"];
+ }
+ if (_json.containsKey("scope")) {
+ scope = _json["scope"];
+ }
+ if (_json.containsKey("user_id")) {
+ userId = _json["user_id"];
+ }
+ if (_json.containsKey("verified_email")) {
+ verifiedEmail = _json["verified_email"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
+ if (audience != null) {
+ _json["audience"] = audience;
+ }
+ if (email != null) {
+ _json["email"] = email;
+ }
+ if (expiresIn != null) {
+ _json["expires_in"] = expiresIn;
+ }
+ if (issuedTo != null) {
+ _json["issued_to"] = issuedTo;
+ }
+ if (scope != null) {
+ _json["scope"] = scope;
+ }
+ if (userId != null) {
+ _json["user_id"] = userId;
+ }
+ if (verifiedEmail != null) {
+ _json["verified_email"] = verifiedEmail;
+ }
+ return _json;
+ }
+}
+
+class Userinfo {
+ /// The user's email address.
+ core.String email;
+
+ /// The user's last name.
+ core.String familyName;
+
+ /// The user's gender.
+ core.String gender;
+
+ /// The user's first name.
+ core.String givenName;
+
+ /// The hosted domain e.g. example.com if the user is Google apps user.
+ core.String hd;
+
+ /// The obfuscated ID of the user.
+ core.String id;
+
+ /// URL of the profile page.
+ core.String link;
+
+ /// The user's preferred locale.
+ core.String locale;
+
+ /// The user's full name.
+ core.String name;
+
+ /// URL of the user's picture image.
+ core.String picture;
+
+ /// Boolean flag which is true if the email address is verified. Always
+ /// verified because we only return the user's primary email address.
+ core.bool verifiedEmail;
+
+ Userinfo();
+
+ Userinfo.fromJson(core.Map _json) {
+ if (_json.containsKey("email")) {
+ email = _json["email"];
+ }
+ if (_json.containsKey("family_name")) {
+ familyName = _json["family_name"];
+ }
+ if (_json.containsKey("gender")) {
+ gender = _json["gender"];
+ }
+ if (_json.containsKey("given_name")) {
+ givenName = _json["given_name"];
+ }
+ if (_json.containsKey("hd")) {
+ hd = _json["hd"];
+ }
+ if (_json.containsKey("id")) {
+ id = _json["id"];
+ }
+ if (_json.containsKey("link")) {
+ link = _json["link"];
+ }
+ if (_json.containsKey("locale")) {
+ locale = _json["locale"];
+ }
+ if (_json.containsKey("name")) {
+ name = _json["name"];
+ }
+ if (_json.containsKey("picture")) {
+ picture = _json["picture"];
+ }
+ if (_json.containsKey("verified_email")) {
+ verifiedEmail = _json["verified_email"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
+ if (email != null) {
+ _json["email"] = email;
+ }
+ if (familyName != null) {
+ _json["family_name"] = familyName;
+ }
+ if (gender != null) {
+ _json["gender"] = gender;
+ }
+ if (givenName != null) {
+ _json["given_name"] = givenName;
+ }
+ if (hd != null) {
+ _json["hd"] = hd;
+ }
+ if (id != null) {
+ _json["id"] = id;
+ }
+ if (link != null) {
+ _json["link"] = link;
+ }
+ if (locale != null) {
+ _json["locale"] = locale;
+ }
+ if (name != null) {
+ _json["name"] = name;
+ }
+ if (picture != null) {
+ _json["picture"] = picture;
+ }
+ if (verifiedEmail != null) {
+ _json["verified_email"] = verifiedEmail;
+ }
+ return _json;
+ }
+}
diff --git a/generated/googleapis/lib/osconfig/v1.dart b/generated/googleapis/lib/osconfig/v1.dart
index 9f08c86..236569c 100644
--- a/generated/googleapis/lib/osconfig/v1.dart
+++ b/generated/googleapis/lib/osconfig/v1.dart
@@ -428,15 +428,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.
///
@@ -448,9 +448,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<ListPatchJobsResponse> list(core.String parent,
- {core.String filter,
- core.int pageSize,
+ {core.int pageSize,
core.String pageToken,
+ core.String filter,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -462,15 +462,15 @@
if (parent == null) {
throw new 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];
}
@@ -502,15 +502,15 @@
/// `projects / * /patchJobs / * `.
/// Value must have pattern "^projects/[^/]+/patchJobs/[^/]+$".
///
- /// [pageToken] - A pagination token returned from a previous call that
- /// indicates where this listing should continue from.
+ /// [filter] - A filter expression that filters results listed in the
+ /// response. This field supports filtering results by instance zone, name,
+ /// state, or `failure_reason`.
///
/// [pageSize] - The maximum number of instance details records to return.
/// Default is 100.
///
- /// [filter] - A filter expression that filters results listed in the
- /// response. This field supports filtering results by instance zone, name,
- /// state, or `failure_reason`.
+ /// [pageToken] - A pagination token returned from a previous call that
+ /// indicates where this listing should continue from.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -523,9 +523,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<ListPatchJobInstanceDetailsResponse> list(core.String parent,
- {core.String pageToken,
+ {core.String filter,
core.int pageSize,
- core.String filter,
+ core.String pageToken,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -537,14 +537,14 @@
if (parent == null) {
throw new 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];
diff --git a/generated/googleapis/lib/pagespeedonline/v5.dart b/generated/googleapis/lib/pagespeedonline/v5.dart
index 9830318..b557596 100644
--- a/generated/googleapis/lib/pagespeedonline/v5.dart
+++ b/generated/googleapis/lib/pagespeedonline/v5.dart
@@ -46,12 +46,6 @@
///
/// Request parameters:
///
- /// [captchaToken] - The captcha token passed when filling out a captcha.
- ///
- /// [locale] - The locale used to localize formatted results
- ///
- /// [utmSource] - Campaign source for analytics.
- ///
/// [strategy] - The analysis strategy (desktop or mobile) to use, and desktop
/// is the default
/// Possible string values are:
@@ -59,13 +53,19 @@
/// - "DESKTOP" : Fetch and analyze the URL for desktop browsers.
/// - "MOBILE" : Fetch and analyze the URL for mobile devices.
///
- /// [url] - Required. The URL to fetch and analyze
- ///
/// [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.
+ ///
+ /// [captchaToken] - The captcha token passed when filling out a captcha.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -77,13 +77,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 captchaToken,
- core.String locale,
- core.String utmSource,
- core.String strategy,
- core.String url,
+ {core.String strategy,
core.String utmCampaign,
core.List<core.String> category,
+ core.String locale,
+ core.String url,
+ core.String utmSource,
+ core.String captchaToken,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -92,27 +92,27 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body;
- if (captchaToken != null) {
- _queryParams["captchaToken"] = [captchaToken];
- }
- if (locale != null) {
- _queryParams["locale"] = [locale];
- }
- if (utmSource != null) {
- _queryParams["utm_source"] = [utmSource];
- }
if (strategy != null) {
_queryParams["strategy"] = [strategy];
}
- if (url != null) {
- _queryParams["url"] = [url];
- }
if (utmCampaign != null) {
_queryParams["utm_campaign"] = [utmCampaign];
}
if (category != null) {
_queryParams["category"] = category;
}
+ if (locale != null) {
+ _queryParams["locale"] = [locale];
+ }
+ if (url != null) {
+ _queryParams["url"] = [url];
+ }
+ 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 3a3691c..1c609a2 100644
--- a/generated/googleapis/lib/people/v1.dart
+++ b/generated/googleapis/lib/people/v1.dart
@@ -94,12 +94,12 @@
///
/// Request parameters:
///
- /// [resourceNames] - Required. The resource names of the contact groups to
- /// get.
- ///
/// [maxMembers] - Optional. Specifies the maximum number of members to return
/// for each group. Defaults to 0 if not set, which will return zero members.
///
+ /// [resourceNames] - Required. The resource names of the contact groups to
+ /// get.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -111,8 +111,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<BatchGetContactGroupsResponse> batchGet(
- {core.List<core.String> resourceNames,
- core.int maxMembers,
+ {core.int maxMembers,
+ core.List<core.String> resourceNames,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -121,12 +121,12 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body;
- if (resourceNames != null) {
- _queryParams["resourceNames"] = resourceNames;
- }
if (maxMembers != null) {
_queryParams["maxMembers"] = ["${maxMembers}"];
}
+ if (resourceNames != null) {
+ _queryParams["resourceNames"] = resourceNames;
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -294,14 +294,14 @@
///
/// Request parameters:
///
- /// [pageToken] - Optional. The next_page_token value returned from a previous
- /// call to [ListContactGroups](/people/api/rest/v1/contactgroups/list).
- /// Requests the next page of resources.
- ///
/// [pageSize] - Optional. The maximum number of resources to return. Valid
/// values are between 1 and 1000, inclusive. Defaults to 30 if not set or set
/// to 0.
///
+ /// [pageToken] - Optional. The next_page_token value returned from a previous
+ /// call to [ListContactGroups](/people/api/rest/v1/contactgroups/list).
+ /// Requests the next page of resources.
+ ///
/// [syncToken] - Optional. A sync token, returned by a previous call to
/// `contactgroups.list`. Only resources changed since the sync token was
/// created will be returned.
@@ -317,8 +317,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<ListContactGroupsResponse> list(
- {core.String pageToken,
- core.int pageSize,
+ {core.int pageSize,
+ core.String pageToken,
core.String syncToken,
core.String $fields}) {
var _url;
@@ -328,12 +328,12 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body;
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
if (syncToken != null) {
_queryParams["syncToken"] = [syncToken];
}
@@ -543,25 +543,25 @@
/// 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.
/// When paginating, all other parameters provided to `ListOtherContacts` must
/// match the call that provided the page token.
///
+ /// [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: * 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.
+ ///
/// [syncToken] - Optional. A sync token, received from a previous
/// `ListOtherContacts` call. Provide this to retrieve only the resources
/// changed since the last request. Sync requests that specify `sync_token`
/// have an additional rate limit. When syncing, all other parameters provided
/// to `ListOtherContacts` must match the call that provided the sync token.
///
- /// [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: * emailAddresses * names * phoneNumbers
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -574,10 +574,10 @@
/// this method will complete with the same error.
async.Future<ListOtherContactsResponse> list(
{core.bool requestSyncToken,
- core.int pageSize,
core.String pageToken,
- core.String syncToken,
core.String readMask,
+ core.int pageSize,
+ core.String syncToken,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -589,18 +589,18 @@
if (requestSyncToken != null) {
_queryParams["requestSyncToken"] = ["${requestSyncToken}"];
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
- if (syncToken != null) {
- _queryParams["syncToken"] = [syncToken];
- }
if (readMask != null) {
_queryParams["readMask"] = [readMask];
}
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
+ if (syncToken != null) {
+ _queryParams["syncToken"] = [syncToken];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -747,6 +747,9 @@
/// 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
@@ -757,9 +760,6 @@
/// 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.
///
@@ -772,8 +772,8 @@
/// this method will complete with the same error.
async.Future<DeleteContactPhotoResponse> deleteContactPhoto(
core.String resourceName,
- {core.String personFields,
- core.List<core.String> sources,
+ {core.List<core.String> sources,
+ core.String personFields,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -785,12 +785,12 @@
if (resourceName == null) {
throw new core.ArgumentError("Parameter resourceName is required.");
}
- if (personFields != null) {
- _queryParams["personFields"] = [personFields];
- }
if (sources != null) {
_queryParams["sources"] = sources;
}
+ if (personFields != null) {
+ _queryParams["personFields"] = [personFields];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -823,13 +823,13 @@
/// [`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`.
///
- /// [sources] - Optional. A mask of what source types to return. Defaults to
- /// ReadSourceType.PROFILE and ReadSourceType.CONTACT if not set.
- ///
/// [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 *
@@ -850,8 +850,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<Person> get(core.String resourceName,
- {core.String requestMask_includeField,
- core.List<core.String> sources,
+ {core.List<core.String> sources,
+ core.String requestMask_includeField,
core.String personFields,
core.String $fields}) {
var _url;
@@ -864,12 +864,12 @@
if (resourceName == null) {
throw new core.ArgumentError("Parameter resourceName is required.");
}
- if (requestMask_includeField != null) {
- _queryParams["requestMask.includeField"] = [requestMask_includeField];
- }
if (sources != null) {
_queryParams["sources"] = sources;
}
+ if (requestMask_includeField != null) {
+ _queryParams["requestMask.includeField"] = [requestMask_includeField];
+ }
if (personFields != null) {
_queryParams["personFields"] = [personFields];
}
@@ -894,15 +894,9 @@
///
/// Request parameters:
///
- /// [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
- /// the authenticated user, specify `people/me`. - To get information about a
- /// google account, specify `people/{account_id}`. - To get information about
- /// a contact, specify the resource name that identifies the contact as
- /// returned by
- /// [`people.connections.list`](/people/api/rest/v1/people.connections/list).
- /// You can include up to 50 resource names in one request.
+ /// [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
@@ -913,13 +907,19 @@
/// occupations * organizations * phoneNumbers * photos * relations *
/// sipAddresses * skills * urls * userDefined
///
+ /// [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
+ /// the authenticated user, specify `people/me`. - To get information about a
+ /// google account, specify `people/{account_id}`. - To get information about
+ /// a contact, specify the resource name that identifies the contact as
+ /// returned by
+ /// [`people.connections.list`](/people/api/rest/v1/people.connections/list).
+ /// You can include up to 50 resource names in one request.
+ ///
/// [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`.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -931,10 +931,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<GetPeopleResponse> getBatchGet(
- {core.List<core.String> resourceNames,
+ {core.String requestMask_includeField,
core.String personFields,
+ core.List<core.String> resourceNames,
core.List<core.String> sources,
- core.String requestMask_includeField,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -943,18 +943,18 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body;
- if (resourceNames != null) {
- _queryParams["resourceNames"] = resourceNames;
+ if (requestMask_includeField != null) {
+ _queryParams["requestMask.includeField"] = [requestMask_includeField];
}
if (personFields != null) {
_queryParams["personFields"] = [personFields];
}
+ if (resourceNames != null) {
+ _queryParams["resourceNames"] = resourceNames;
+ }
if (sources != null) {
_queryParams["sources"] = sources;
}
- if (requestMask_includeField != null) {
- _queryParams["requestMask.includeField"] = [requestMask_includeField];
- }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -975,16 +975,27 @@
///
/// 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.
- ///
/// [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.
+ ///
+ /// [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 *
@@ -998,17 +1009,6 @@
/// Valid values are between 1 and 1000, inclusive. Defaults to 100 if not set
/// or set to 0.
///
- /// [sources] - Required. Directory sources to return.
- ///
- /// [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.
- ///
- /// [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.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1020,13 +1020,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.bool requestSyncToken,
- core.String syncToken,
+ {core.String syncToken,
+ core.List<core.String> mergeSources,
+ core.String pageToken,
+ core.bool requestSyncToken,
+ core.List<core.String> sources,
core.String readMask,
core.int pageSize,
- core.List<core.String> sources,
- core.String pageToken,
- core.List<core.String> mergeSources,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -1035,11 +1035,20 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body;
+ if (syncToken != null) {
+ _queryParams["syncToken"] = [syncToken];
+ }
+ if (mergeSources != null) {
+ _queryParams["mergeSources"] = mergeSources;
+ }
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
if (requestSyncToken != null) {
_queryParams["requestSyncToken"] = ["${requestSyncToken}"];
}
- if (syncToken != null) {
- _queryParams["syncToken"] = [syncToken];
+ if (sources != null) {
+ _queryParams["sources"] = sources;
}
if (readMask != null) {
_queryParams["readMask"] = [readMask];
@@ -1047,15 +1056,6 @@
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
- if (sources != null) {
- _queryParams["sources"] = sources;
- }
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
- if (mergeSources != null) {
- _queryParams["mergeSources"] = mergeSources;
- }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -1081,13 +1081,16 @@
/// 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 500, inclusive. Defaults to 100 if not set
- /// or set to 0.
+ /// [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.
///
+ /// [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.
+ ///
/// [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 *
@@ -1097,12 +1100,9 @@
/// occupations * organizations * phoneNumbers * photos * relations *
/// sipAddresses * skills * urls * userDefined
///
- /// [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.
- ///
- /// [sources] - Required. Directory sources to return.
+ /// [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.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -1116,11 +1116,11 @@
/// this method will complete with the same error.
async.Future<SearchDirectoryPeopleResponse> searchDirectoryPeople(
{core.List<core.String> mergeSources,
- core.int pageSize,
- core.String query,
- core.String readMask,
- core.String pageToken,
core.List<core.String> sources,
+ core.String query,
+ core.String pageToken,
+ core.String readMask,
+ core.int pageSize,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -1132,20 +1132,20 @@
if (mergeSources != null) {
_queryParams["mergeSources"] = mergeSources;
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
+ if (sources != null) {
+ _queryParams["sources"] = sources;
}
if (query != null) {
_queryParams["query"] = [query];
}
- if (readMask != null) {
- _queryParams["readMask"] = [readMask];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
- if (sources != null) {
- _queryParams["sources"] = sources;
+ if (readMask != null) {
+ _queryParams["readMask"] = [readMask];
+ }
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -1187,16 +1187,6 @@
/// `people/{person_id}`.
/// Value must have pattern "^people/[^/]+$".
///
- /// [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: *
- /// addresses * ageRanges * biographies * birthdays * calendarUrls *
- /// clientData * coverPhotos * emailAddresses * events * externalIds * genders
- /// * imClients * interests * locales * locations * memberships * metadata *
- /// miscKeywords * names * nicknames * occupations * organizations *
- /// phoneNumbers * photos * relations * sipAddresses * skills * urls *
- /// userDefined
- ///
/// [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: *
@@ -1209,6 +1199,16 @@
/// [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: *
+ /// addresses * ageRanges * biographies * birthdays * calendarUrls *
+ /// clientData * coverPhotos * emailAddresses * events * externalIds * genders
+ /// * imClients * interests * locales * locations * memberships * metadata *
+ /// miscKeywords * names * nicknames * occupations * organizations *
+ /// phoneNumbers * photos * relations * sipAddresses * skills * urls *
+ /// userDefined
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1220,9 +1220,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<Person> updateContact(Person request, core.String resourceName,
- {core.String personFields,
- core.String updatePersonFields,
+ {core.String updatePersonFields,
core.List<core.String> sources,
+ core.String personFields,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -1237,15 +1237,15 @@
if (resourceName == null) {
throw new core.ArgumentError("Parameter resourceName is required.");
}
- if (personFields != null) {
- _queryParams["personFields"] = [personFields];
- }
if (updatePersonFields != null) {
_queryParams["updatePersonFields"] = [updatePersonFields];
}
if (sources != null) {
_queryParams["sources"] = sources;
}
+ if (personFields != null) {
+ _queryParams["personFields"] = [personFields];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -1332,19 +1332,6 @@
/// Only `people/me` is valid.
/// Value must have pattern "^people/[^/]+$".
///
- /// [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 *
- /// birthdays * calendarUrls * clientData * coverPhotos * emailAddresses *
- /// events * externalIds * genders * imClients * interests * locales *
- /// locations * memberships * metadata * miscKeywords * names * nicknames *
- /// 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`.
- ///
/// [sortOrder] - Optional. The order in which the connections should be
/// sorted. Defaults to `LAST_MODIFIED_ASCENDING`.
/// Possible string values are:
@@ -1355,23 +1342,12 @@
/// - "FIRST_NAME_ASCENDING" : Sort people by first name.
/// - "LAST_NAME_ASCENDING" : Sort people by last name.
///
- /// [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`
- /// have an additional rate limit. When syncing, all other parameters provided
- /// to `ListConnections` must match the call that provided the sync token.
- ///
/// [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.
///
- /// [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
- /// the call that provided the page token.
- ///
/// [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.
@@ -1379,6 +1355,30 @@
/// [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
+ /// the call that provided the page token.
+ ///
+ /// [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 *
+ /// birthdays * calendarUrls * clientData * coverPhotos * emailAddresses *
+ /// events * externalIds * genders * imClients * interests * locales *
+ /// locations * memberships * metadata * miscKeywords * names * nicknames *
+ /// occupations * organizations * phoneNumbers * photos * relations *
+ /// sipAddresses * skills * urls * userDefined
+ ///
+ /// [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`
+ /// have an additional rate limit. When syncing, all other parameters provided
+ /// to `ListConnections` must match the call that provided the sync token.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1390,14 +1390,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<ListConnectionsResponse> list(core.String resourceName,
- {core.String personFields,
- core.String requestMask_includeField,
- core.String sortOrder,
- core.String syncToken,
+ {core.String sortOrder,
core.bool requestSyncToken,
- core.String pageToken,
core.int pageSize,
core.List<core.String> sources,
+ core.String requestMask_includeField,
+ core.String pageToken,
+ core.String personFields,
+ core.String syncToken,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -1409,30 +1409,30 @@
if (resourceName == null) {
throw new core.ArgumentError("Parameter resourceName is required.");
}
- if (personFields != null) {
- _queryParams["personFields"] = [personFields];
- }
- if (requestMask_includeField != null) {
- _queryParams["requestMask.includeField"] = [requestMask_includeField];
- }
if (sortOrder != null) {
_queryParams["sortOrder"] = [sortOrder];
}
- if (syncToken != null) {
- _queryParams["syncToken"] = [syncToken];
- }
if (requestSyncToken != null) {
_queryParams["requestSyncToken"] = ["${requestSyncToken}"];
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
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 (syncToken != null) {
+ _queryParams["syncToken"] = [syncToken];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -4104,7 +4104,7 @@
/// Possible string values are:
/// - "OBJECT_TYPE_UNSPECIFIED" : Unspecified.
/// - "PERSON" : Person.
- /// - "PAGE" : [Google+ Page.](http://www.google.com/+/brands/)
+ /// - "PAGE" : [Currents Page.](https://gsuite.google.com/products/currents/)
core.String objectType;
/// Output only. Any former resource names this person has had. Populated only
@@ -4334,7 +4334,7 @@
/// Possible string values are:
/// - "OBJECT_TYPE_UNSPECIFIED" : Unspecified.
/// - "PERSON" : Person.
- /// - "PAGE" : [Google+ Page.](http://www.google.com/+/brands/)
+ /// - "PAGE" : [Currents Page.](https://gsuite.google.com/products/currents/)
core.String objectType;
/// Output only. The user types.
@@ -4970,7 +4970,7 @@
/// The type of the URL. The type can be custom or one of these predefined
/// values: * `home` * `work` * `blog` * `profile` * `homePage` * `ftp` *
- /// `reservations` * `appInstallPage`: website for a Google+ application. *
+ /// `reservations` * `appInstallPage`: website for a Currents application. *
/// `other`
core.String type;
diff --git a/generated/googleapis/lib/poly/v1.dart b/generated/googleapis/lib/poly/v1.dart
index df35686..9f73cb3 100644
--- a/generated/googleapis/lib/poly/v1.dart
+++ b/generated/googleapis/lib/poly/v1.dart
@@ -89,21 +89,6 @@
///
/// Request parameters:
///
- /// [format] - Return only assets with the matching format. Acceptable values
- /// are:
- /// `BLOCKS`, `FBX`, `GLTF`, `GLTF2`, `OBJ`, `TILT`.
- ///
- /// [category] - Filter assets based on the specified category. Supported
- /// values are:
- /// `animals`, `architecture`, `art`, `food`, `nature`, `objects`, `people`,
- /// `scenes`, `technology`, and `transport`.
- ///
- /// [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.
- ///
/// [maxComplexity] - Returns assets that are of the specified complexity or
/// less. Defaults to
/// COMPLEX. For example, a request for
@@ -115,7 +100,9 @@
/// - "MEDIUM" : A MEDIUM.
/// - "SIMPLE" : A SIMPLE.
///
- /// [curated] - Return only assets that have been curated by the Poly team.
+ /// [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
@@ -123,14 +110,27 @@
/// description, and tags. Multiple keywords should be
/// separated by spaces.
///
- /// [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.
+ ///
+ /// [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.
///
@@ -142,14 +142,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 format,
- core.String category,
- core.String pageToken,
- core.String maxComplexity,
- core.bool curated,
- core.String keywords,
+ {core.String maxComplexity,
core.int pageSize,
+ core.String keywords,
+ core.String pageToken,
+ core.bool curated,
core.String orderBy,
+ core.String category,
+ core.String format,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -158,30 +158,30 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body;
- if (format != null) {
- _queryParams["format"] = [format];
- }
- if (category != null) {
- _queryParams["category"] = [category];
- }
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (maxComplexity != null) {
_queryParams["maxComplexity"] = [maxComplexity];
}
- if (curated != null) {
- _queryParams["curated"] = ["${curated}"];
- }
- if (keywords != null) {
- _queryParams["keywords"] = [keywords];
- }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
+ if (keywords != null) {
+ _queryParams["keywords"] = [keywords];
+ }
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
+ if (curated != null) {
+ _queryParams["curated"] = ["${curated}"];
+ }
if (orderBy != null) {
_queryParams["orderBy"] = [orderBy];
}
+ if (category != null) {
+ _queryParams["category"] = [category];
+ }
+ if (format != null) {
+ _queryParams["format"] = [format];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -228,11 +228,9 @@
/// 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.
+ /// [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:
@@ -247,14 +245,16 @@
/// - "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`.
///
- /// [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.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -266,11 +266,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<ListUserAssetsResponse> list(core.String name,
- {core.String pageToken,
+ {core.String orderBy,
core.String format,
core.String visibility,
+ core.String pageToken,
core.int pageSize,
- core.String orderBy,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -282,8 +282,8 @@
if (name == null) {
throw new core.ArgumentError("Parameter name is required.");
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
+ if (orderBy != null) {
+ _queryParams["orderBy"] = [orderBy];
}
if (format != null) {
_queryParams["format"] = [format];
@@ -291,12 +291,12 @@
if (visibility != null) {
_queryParams["visibility"] = [visibility];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
- if (orderBy != null) {
- _queryParams["orderBy"] = [orderBy];
- }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -331,24 +331,24 @@
/// an OAuth token with the request.
/// Value must have pattern "^users/[^/]+$".
///
- /// [orderBy] - Specifies an ordering for assets. Acceptable values are:
- /// `BEST`, `NEWEST`, `OLDEST`, 'LIKED_TIME'. Defaults to `LIKED_TIME`, which
- /// ranks assets based on how recently they were liked.
- ///
- /// [format] - Return only assets with the matching format. Acceptable values
- /// are:
- /// `BLOCKS`, `FBX`, `GLTF`, `GLTF2`, `OBJ`, `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.
///
+ /// [format] - Return only assets with the matching format. Acceptable values
+ /// are:
+ /// `BLOCKS`, `FBX`, `GLTF`, `GLTF2`, `OBJ`, `TILT`.
+ ///
+ /// [orderBy] - Specifies an ordering for assets. Acceptable values are:
+ /// `BEST`, `NEWEST`, `OLDEST`, 'LIKED_TIME'. Defaults to `LIKED_TIME`, which
+ /// ranks assets based on how recently they were liked.
+ ///
+ /// [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.
///
@@ -360,10 +360,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<ListLikedAssetsResponse> list(core.String name,
- {core.String orderBy,
+ {core.String pageToken,
core.String format,
+ core.String orderBy,
core.int pageSize,
- core.String pageToken,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -375,18 +375,18 @@
if (name == null) {
throw new core.ArgumentError("Parameter name is required.");
}
- if (orderBy != null) {
- _queryParams["orderBy"] = [orderBy];
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
}
if (format != null) {
_queryParams["format"] = [format];
}
+ if (orderBy != null) {
+ _queryParams["orderBy"] = [orderBy];
+ }
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 5c17043..8cdd9d2 100644
--- a/generated/googleapis/lib/pubsub/v1.dart
+++ b/generated/googleapis/lib/pubsub/v1.dart
@@ -854,12 +854,12 @@
/// subscriptions. Format is `projects/{project-id}`.
/// Value must have pattern "^projects/[^/]+$".
///
+ /// [pageSize] - Maximum number of subscriptions to return.
+ ///
/// [pageToken] - The value returned by the last `ListSubscriptionsResponse`;
/// indicates that this is a continuation of a prior `ListSubscriptions` call,
/// and that the system should return the next page of data.
///
- /// [pageSize] - Maximum number of subscriptions to return.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -871,7 +871,7 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<ListSubscriptionsResponse> list(core.String project,
- {core.String pageToken, core.int pageSize, core.String $fields}) {
+ {core.int pageSize, core.String pageToken, core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -882,12 +882,12 @@
if (project == null) {
throw new 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];
}
diff --git a/generated/googleapis/lib/recommender/v1.dart b/generated/googleapis/lib/recommender/v1.dart
index 051b8af..a6639b4 100644
--- a/generated/googleapis/lib/recommender/v1.dart
+++ b/generated/googleapis/lib/recommender/v1.dart
@@ -131,11 +131,6 @@
/// Value must have pattern
/// "^projects/[^/]+/locations/[^/]+/insightTypes/[^/]+$".
///
- /// [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.
- ///
/// [filter] - Optional. Filter expression to restrict the insights returned.
/// Supported filter fields: state Eg: `state:"DISMISSED" or state:"ACTIVE"
///
@@ -143,6 +138,11 @@
/// 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.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -155,9 +155,9 @@
/// this method will complete with the same error.
async.Future<GoogleCloudRecommenderV1ListInsightsResponse> list(
core.String parent,
- {core.String pageToken,
- core.String filter,
+ {core.String filter,
core.int pageSize,
+ core.String pageToken,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -169,15 +169,15 @@
if (parent == null) {
throw new 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];
}
@@ -334,6 +334,10 @@
/// Value must have pattern
/// "^projects/[^/]+/locations/[^/]+/recommenders/[^/]+$".
///
+ /// [filter] - Filter expression to restrict the recommendations returned.
+ /// Supported filter fields: state_info.state Eg:
+ /// `state_info.state:"DISMISSED" or state_info.state:"FAILED"
+ ///
/// [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
@@ -343,10 +347,6 @@
/// request. Non-positive values are ignored. If not specified, the server
/// will determine the number of results to return.
///
- /// [filter] - Filter expression to restrict the recommendations returned.
- /// Supported filter fields: state_info.state Eg:
- /// `state_info.state:"DISMISSED" or state_info.state:"FAILED"
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -359,9 +359,9 @@
/// this method will complete with the same error.
async.Future<GoogleCloudRecommenderV1ListRecommendationsResponse> list(
core.String parent,
- {core.String pageToken,
+ {core.String filter,
+ core.String pageToken,
core.int pageSize,
- core.String filter,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -373,15 +373,15 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
+ if (filter != null) {
+ _queryParams["filter"] = [filter];
+ }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
- if (filter != null) {
- _queryParams["filter"] = [filter];
- }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
diff --git a/generated/googleapis/lib/redis/v1.dart b/generated/googleapis/lib/redis/v1.dart
index 527f3ca..0af56d5 100644
--- a/generated/googleapis/lib/redis/v1.dart
+++ b/generated/googleapis/lib/redis/v1.dart
@@ -105,10 +105,10 @@
///
/// [pageToken] - The standard list page token.
///
- /// [filter] - The standard list filter.
- ///
/// [pageSize] - The standard list page size.
///
+ /// [filter] - The standard list filter.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -121,8 +121,8 @@
/// 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 filter,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -137,12 +137,12 @@
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 ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -851,10 +851,10 @@
///
/// [pageToken] - The standard list page token.
///
- /// [pageSize] - The standard list page size.
- ///
/// [filter] - The standard list filter.
///
+ /// [pageSize] - The standard list page size.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -867,8 +867,8 @@
/// 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 $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -883,12 +883,12 @@
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
if (filter != null) {
_queryParams["filter"] = [filter];
}
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
diff --git a/generated/googleapis/lib/remotebuildexecution/v2.dart b/generated/googleapis/lib/remotebuildexecution/v2.dart
index 6f1b7ab..e872bae 100644
--- a/generated/googleapis/lib/remotebuildexecution/v2.dart
+++ b/generated/googleapis/lib/remotebuildexecution/v2.dart
@@ -64,10 +64,10 @@
///
/// [sizeBytes] - The size of the blob, in bytes.
///
- /// [inlineStderr] - A hint to the server to request inlining stderr in the
+ /// [inlineStdout] - A hint to the server to request inlining stdout in the
/// ActionResult message.
///
- /// [inlineStdout] - A hint to the server to request inlining stdout in the
+ /// [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
@@ -86,8 +86,8 @@
/// this method will complete with the same error.
async.Future<BuildBazelRemoteExecutionV2ActionResult> get(
core.String instanceName, core.String hash, core.String sizeBytes,
- {core.bool inlineStderr,
- core.bool inlineStdout,
+ {core.bool inlineStdout,
+ core.bool inlineStderr,
core.List<core.String> inlineOutputFiles,
core.String $fields}) {
var _url;
@@ -106,12 +106,12 @@
if (sizeBytes == null) {
throw new core.ArgumentError("Parameter sizeBytes is required.");
}
- if (inlineStderr != null) {
- _queryParams["inlineStderr"] = ["${inlineStderr}"];
- }
if (inlineStdout != null) {
_queryParams["inlineStdout"] = ["${inlineStdout}"];
}
+ if (inlineStderr != null) {
+ _queryParams["inlineStderr"] = ["${inlineStderr}"];
+ }
if (inlineOutputFiles != null) {
_queryParams["inlineOutputFiles"] = inlineOutputFiles;
}
@@ -566,16 +566,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.
///
@@ -588,7 +588,7 @@
/// this method will complete with the same error.
async.Future<BuildBazelRemoteExecutionV2GetTreeResponse> getTree(
core.String instanceName, core.String hash, core.String sizeBytes,
- {core.int pageSize, core.String pageToken, core.String $fields}) {
+ {core.String pageToken, core.int pageSize, core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -605,12 +605,12 @@
if (sizeBytes == null) {
throw new core.ArgumentError("Parameter sizeBytes is required.");
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -3192,6 +3192,9 @@
/// the Docker image (false) for this command.
core.bool dockerCacheHit;
+ /// Docker Image name.
+ core.String dockerImageName;
+
/// The input cache miss ratio.
core.double inputCacheMiss;
@@ -3207,6 +3210,9 @@
if (_json.containsKey("dockerCacheHit")) {
dockerCacheHit = _json["dockerCacheHit"];
}
+ if (_json.containsKey("dockerImageName")) {
+ dockerImageName = _json["dockerImageName"];
+ }
if (_json.containsKey("inputCacheMiss")) {
inputCacheMiss = _json["inputCacheMiss"].toDouble();
}
@@ -3224,6 +3230,9 @@
if (dockerCacheHit != null) {
_json["dockerCacheHit"] = dockerCacheHit;
}
+ if (dockerImageName != null) {
+ _json["dockerImageName"] = dockerImageName;
+ }
if (inputCacheMiss != null) {
_json["inputCacheMiss"] = inputCacheMiss;
}
diff --git a/generated/googleapis/lib/reseller/v1.dart b/generated/googleapis/lib/reseller/v1.dart
index 035285f..b9cc754 100644
--- a/generated/googleapis/lib/reseller/v1.dart
+++ b/generated/googleapis/lib/reseller/v1.dart
@@ -846,14 +846,10 @@
///
/// Request parameters:
///
- /// [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
- /// management. This is a hexadecimal authentication token needed to complete
- /// the subscription transfer. For more information, see the administrator
- /// help center.
- ///
- /// [pageToken] - Token to specify next page in the list
+ /// [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
@@ -864,15 +860,19 @@
/// 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
+ /// management. This is a hexadecimal authentication token needed to complete
+ /// the subscription transfer. For more information, see the administrator
+ /// help center.
+ ///
/// [customerId] - Either the customer's primary domain name or the customer's
/// unique identifier. If using the domain name, we do not recommend using a
/// customerId as a key for persistent data. If the domain name for a
/// customerId is changed, the Google system automatically updates.
///
- /// [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
/// response.
@@ -885,11 +885,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<Subscriptions> list(
- {core.String customerAuthToken,
- core.String pageToken,
+ {core.int maxResults,
core.String customerNamePrefix,
+ core.String customerAuthToken,
core.String customerId,
- core.int maxResults,
+ core.String pageToken,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -898,20 +898,20 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body;
- if (customerAuthToken != null) {
- _queryParams["customerAuthToken"] = [customerAuthToken];
- }
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
+ 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 (maxResults != null) {
- _queryParams["maxResults"] = ["${maxResults}"];
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
diff --git a/generated/googleapis/lib/run/v1.dart b/generated/googleapis/lib/run/v1.dart
index f2ce834..13ee242 100644
--- a/generated/googleapis/lib/run/v1.dart
+++ b/generated/googleapis/lib/run/v1.dart
@@ -68,10 +68,10 @@
/// `projects/myproject`.
/// Value must have pattern "^namespaces/[^/]+$".
///
- /// [pageSize] - Maximum results to return per page.
- ///
/// [pageToken] - Continuation token for fetching the next page of results.
///
+ /// [pageSize] - Maximum results to return per page.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -83,7 +83,7 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<ListAuthorizedDomainsResponse> list(core.String parent,
- {core.int pageSize, core.String pageToken, core.String $fields}) {
+ {core.String pageToken, core.int pageSize, core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -94,12 +94,12 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -179,24 +179,24 @@
/// or number.
/// Value must have pattern "^namespaces/[^/]+$".
///
- /// [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.
+ /// [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.
///
/// [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.
///
- /// [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.
+ /// [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.
@@ -209,13 +209,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<ListConfigurationsResponse> list(core.String parent,
- {core.String continue_,
- core.bool watch,
+ {core.bool includeUninitialized,
core.String labelSelector,
- core.int limit,
- core.String fieldSelector,
core.String resourceVersion,
- core.bool includeUninitialized,
+ core.String fieldSelector,
+ core.int limit,
+ core.bool watch,
+ core.String continue_,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -227,26 +227,26 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (continue_ != null) {
- _queryParams["continue"] = [continue_];
- }
- 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 (fieldSelector != null) {
_queryParams["fieldSelector"] = [fieldSelector];
}
- if (resourceVersion != null) {
- _queryParams["resourceVersion"] = [resourceVersion];
+ if (limit != null) {
+ _queryParams["limit"] = ["${limit}"];
}
- if (includeUninitialized != null) {
- _queryParams["includeUninitialized"] = ["${includeUninitialized}"];
+ if (watch != null) {
+ _queryParams["watch"] = ["${watch}"];
+ }
+ if (continue_ != null) {
+ _queryParams["continue"] = [continue_];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -334,10 +334,10 @@
/// managed), replace {namespace_id} with the project ID or number.
/// Value must have pattern "^namespaces/[^/]+/domainmappings/[^/]+$".
///
- /// [apiVersion] - Cloud Run currently ignores this parameter.
- ///
/// [kind] - Cloud Run currently ignores this parameter.
///
+ /// [apiVersion] - 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/
@@ -354,8 +354,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<Status> delete(core.String name,
- {core.String apiVersion,
- core.String kind,
+ {core.String kind,
+ core.String apiVersion,
core.String propagationPolicy,
core.String $fields}) {
var _url;
@@ -368,12 +368,12 @@
if (name == null) {
throw new core.ArgumentError("Parameter name is required.");
}
- if (apiVersion != null) {
- _queryParams["apiVersion"] = [apiVersion];
- }
if (kind != null) {
_queryParams["kind"] = [kind];
}
+ if (apiVersion != null) {
+ _queryParams["apiVersion"] = [apiVersion];
+ }
if (propagationPolicy != null) {
_queryParams["propagationPolicy"] = [propagationPolicy];
}
@@ -447,21 +447,21 @@
/// or number.
/// Value must have pattern "^namespaces/[^/]+$".
///
- /// [watch] - Flag that indicates that the client expects to watch this
- /// resource as well. Not currently used by Cloud Run.
+ /// [limit] - The maximum number of records that should be returned.
///
/// [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.
+ ///
/// [continue_] - Optional encoded string to continue paging.
///
/// [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.
- ///
- /// [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.
///
/// [labelSelector] - Allows to filter resources based on a label. Supported
/// operations are =, !=, exists, in, and notIn.
@@ -477,12 +477,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<ListDomainMappingsResponse> list(core.String parent,
- {core.bool watch,
+ {core.int limit,
core.String fieldSelector,
+ core.bool includeUninitialized,
core.String continue_,
core.String resourceVersion,
- core.bool includeUninitialized,
- core.int limit,
+ core.bool watch,
core.String labelSelector,
core.String $fields}) {
var _url;
@@ -495,23 +495,23 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (watch != null) {
- _queryParams["watch"] = ["${watch}"];
+ if (limit != null) {
+ _queryParams["limit"] = ["${limit}"];
}
if (fieldSelector != null) {
_queryParams["fieldSelector"] = [fieldSelector];
}
+ if (includeUninitialized != null) {
+ _queryParams["includeUninitialized"] = ["${includeUninitialized}"];
+ }
if (continue_ != null) {
_queryParams["continue"] = [continue_];
}
if (resourceVersion != null) {
_queryParams["resourceVersion"] = [resourceVersion];
}
- if (includeUninitialized != null) {
- _queryParams["includeUninitialized"] = ["${includeUninitialized}"];
- }
- if (limit != null) {
- _queryParams["limit"] = ["${limit}"];
+ if (watch != null) {
+ _queryParams["watch"] = ["${watch}"];
}
if (labelSelector != null) {
_queryParams["labelSelector"] = [labelSelector];
@@ -549,10 +549,10 @@
/// managed), replace {namespace_id} with the project ID or number.
/// Value must have pattern "^namespaces/[^/]+/revisions/[^/]+$".
///
- /// [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/
@@ -569,8 +569,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<Status> delete(core.String name,
- {core.String kind,
- core.String apiVersion,
+ {core.String apiVersion,
+ core.String kind,
core.String propagationPolicy,
core.String $fields}) {
var _url;
@@ -583,12 +583,12 @@
if (name == null) {
throw new 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];
}
@@ -662,20 +662,20 @@
/// 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.
///
/// [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.
///
- /// [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.
///
/// [watch] - Flag that indicates that the client expects to watch this
/// resource as well. 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.
///
@@ -692,11 +692,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<ListRevisionsResponse> list(core.String parent,
- {core.bool includeUninitialized,
+ {core.String resourceVersion,
+ core.bool includeUninitialized,
core.String fieldSelector,
- core.String resourceVersion,
- core.bool watch,
core.int limit,
+ core.bool watch,
core.String labelSelector,
core.String continue_,
core.String $fields}) {
@@ -710,21 +710,21 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
+ if (resourceVersion != null) {
+ _queryParams["resourceVersion"] = [resourceVersion];
+ }
if (includeUninitialized != null) {
_queryParams["includeUninitialized"] = ["${includeUninitialized}"];
}
if (fieldSelector != null) {
_queryParams["fieldSelector"] = [fieldSelector];
}
- if (resourceVersion != null) {
- _queryParams["resourceVersion"] = [resourceVersion];
+ if (limit != null) {
+ _queryParams["limit"] = ["${limit}"];
}
if (watch != null) {
_queryParams["watch"] = ["${watch}"];
}
- if (limit != null) {
- _queryParams["limit"] = ["${limit}"];
- }
if (labelSelector != null) {
_queryParams["labelSelector"] = [labelSelector];
}
@@ -808,11 +808,9 @@
/// Run (fully managed), replace {namespace_id} with the project ID or number.
/// Value must have pattern "^namespaces/[^/]+$".
///
- /// [limit] - The maximum number of records that should be returned.
- ///
/// [continue_] - Optional encoded string to continue paging.
///
- /// [includeUninitialized] - Not currently used by Cloud Run.
+ /// [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.
@@ -820,13 +818,15 @@
/// [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.
///
- /// [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.
///
@@ -838,13 +838,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<ListRoutesResponse> list(core.String parent,
- {core.int limit,
- core.String continue_,
- core.bool includeUninitialized,
+ {core.String continue_,
+ core.int limit,
core.String resourceVersion,
core.bool watch,
- core.String fieldSelector,
core.String labelSelector,
+ core.bool includeUninitialized,
+ core.String fieldSelector,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -856,14 +856,11 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (limit != null) {
- _queryParams["limit"] = ["${limit}"];
- }
if (continue_ != null) {
_queryParams["continue"] = [continue_];
}
- if (includeUninitialized != null) {
- _queryParams["includeUninitialized"] = ["${includeUninitialized}"];
+ if (limit != null) {
+ _queryParams["limit"] = ["${limit}"];
}
if (resourceVersion != null) {
_queryParams["resourceVersion"] = [resourceVersion];
@@ -871,12 +868,15 @@
if (watch != null) {
_queryParams["watch"] = ["${watch}"];
}
- if (fieldSelector != null) {
- _queryParams["fieldSelector"] = [fieldSelector];
- }
if (labelSelector != null) {
_queryParams["labelSelector"] = [labelSelector];
}
+ if (includeUninitialized != null) {
+ _queryParams["includeUninitialized"] = ["${includeUninitialized}"];
+ }
+ if (fieldSelector != null) {
+ _queryParams["fieldSelector"] = [fieldSelector];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -962,8 +962,6 @@
/// replace {namespace_id} with the project ID or number.
/// Value must have pattern "^namespaces/[^/]+/services/[^/]+$".
///
- /// [kind] - Cloud Run currently ignores this parameter.
- ///
/// [apiVersion] - Cloud Run currently ignores this parameter.
///
/// [propagationPolicy] - Specifies the propagation policy of delete. Cloud
@@ -971,6 +969,8 @@
/// 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.
///
@@ -982,9 +982,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<Status> delete(core.String name,
- {core.String kind,
- core.String apiVersion,
+ {core.String apiVersion,
core.String propagationPolicy,
+ core.String kind,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -996,15 +996,15 @@
if (name == null) {
throw new core.ArgumentError("Parameter name is required.");
}
- if (kind != null) {
- _queryParams["kind"] = [kind];
- }
if (apiVersion != null) {
_queryParams["apiVersion"] = [apiVersion];
}
if (propagationPolicy != null) {
_queryParams["propagationPolicy"] = [propagationPolicy];
}
+ if (kind != null) {
+ _queryParams["kind"] = [kind];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -1077,23 +1077,23 @@
///
/// [continue_] - Optional encoded string to continue paging.
///
- /// [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.
- ///
/// [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.
///
/// [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.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1106,12 +1106,12 @@
/// this method will complete with the same error.
async.Future<ListServicesResponse> list(core.String parent,
{core.String continue_,
- core.String labelSelector,
- core.bool watch,
core.String fieldSelector,
- core.bool includeUninitialized,
+ core.bool watch,
core.String resourceVersion,
core.int limit,
+ core.bool includeUninitialized,
+ core.String labelSelector,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -1126,17 +1126,11 @@
if (continue_ != null) {
_queryParams["continue"] = [continue_];
}
- if (labelSelector != null) {
- _queryParams["labelSelector"] = [labelSelector];
- }
- if (watch != null) {
- _queryParams["watch"] = ["${watch}"];
- }
if (fieldSelector != null) {
_queryParams["fieldSelector"] = [fieldSelector];
}
- if (includeUninitialized != null) {
- _queryParams["includeUninitialized"] = ["${includeUninitialized}"];
+ if (watch != null) {
+ _queryParams["watch"] = ["${watch}"];
}
if (resourceVersion != null) {
_queryParams["resourceVersion"] = [resourceVersion];
@@ -1144,6 +1138,12 @@
if (limit != null) {
_queryParams["limit"] = ["${limit}"];
}
+ if (includeUninitialized != null) {
+ _queryParams["includeUninitialized"] = ["${includeUninitialized}"];
+ }
+ if (labelSelector != null) {
+ _queryParams["labelSelector"] = [labelSelector];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -1241,10 +1241,10 @@
/// `projects/myproject`.
/// Value must have pattern "^projects/[^/]+$".
///
- /// [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.
///
@@ -1256,7 +1256,7 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<ListAuthorizedDomainsResponse> list(core.String parent,
- {core.String pageToken, core.int pageSize, core.String $fields}) {
+ {core.int pageSize, core.String pageToken, core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -1267,12 +1267,12 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -1318,10 +1318,10 @@
/// [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.
///
+ /// [filter] - The standard list filter.
+ ///
/// [pageToken] - The standard list page token.
///
/// [$fields] - Selector specifying which fields to include in a partial
@@ -1335,8 +1335,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<ListLocationsResponse> list(core.String name,
- {core.String filter,
- core.int pageSize,
+ {core.int pageSize,
+ core.String filter,
core.String pageToken,
core.String $fields}) {
var _url;
@@ -1349,12 +1349,12 @@
if (name == null) {
throw new core.ArgumentError("Parameter name is required.");
}
- if (filter != null) {
- _queryParams["filter"] = [filter];
- }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
+ if (filter != null) {
+ _queryParams["filter"] = [filter];
+ }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
@@ -1503,22 +1503,22 @@
/// [labelSelector] - Allows to filter resources based on a label. Supported
/// operations are =, !=, exists, in, and notIn.
///
- /// [includeUninitialized] - 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.
///
+ /// [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.
///
- /// [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.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1531,12 +1531,12 @@
/// this method will complete with the same error.
async.Future<ListConfigurationsResponse> list(core.String parent,
{core.String labelSelector,
- core.bool includeUninitialized,
core.String resourceVersion,
- core.bool watch,
core.String continue_,
- core.String fieldSelector,
+ core.bool includeUninitialized,
core.int limit,
+ core.bool watch,
+ core.String fieldSelector,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -1551,24 +1551,24 @@
if (labelSelector != null) {
_queryParams["labelSelector"] = [labelSelector];
}
- if (includeUninitialized != null) {
- _queryParams["includeUninitialized"] = ["${includeUninitialized}"];
- }
if (resourceVersion != null) {
_queryParams["resourceVersion"] = [resourceVersion];
}
- if (watch != null) {
- _queryParams["watch"] = ["${watch}"];
- }
if (continue_ != null) {
_queryParams["continue"] = [continue_];
}
- if (fieldSelector != null) {
- _queryParams["fieldSelector"] = [fieldSelector];
+ if (includeUninitialized != null) {
+ _queryParams["includeUninitialized"] = ["${includeUninitialized}"];
}
if (limit != null) {
_queryParams["limit"] = ["${limit}"];
}
+ if (watch != null) {
+ _queryParams["watch"] = ["${watch}"];
+ }
+ if (fieldSelector != null) {
+ _queryParams["fieldSelector"] = [fieldSelector];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -1656,15 +1656,15 @@
/// Value must have pattern
/// "^projects/[^/]+/locations/[^/]+/domainmappings/[^/]+$".
///
+ /// [kind] - Cloud Run currently ignores this parameter.
+ ///
+ /// [apiVersion] - 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.
- ///
- /// [apiVersion] - Cloud Run currently ignores this parameter.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1676,9 +1676,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<Status> delete(core.String name,
- {core.String propagationPolicy,
- core.String kind,
+ {core.String kind,
core.String apiVersion,
+ core.String propagationPolicy,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -1690,15 +1690,15 @@
if (name == null) {
throw new core.ArgumentError("Parameter name is required.");
}
- if (propagationPolicy != null) {
- _queryParams["propagationPolicy"] = [propagationPolicy];
- }
if (kind != null) {
_queryParams["kind"] = [kind];
}
if (apiVersion != null) {
_queryParams["apiVersion"] = [apiVersion];
}
+ if (propagationPolicy != null) {
+ _queryParams["propagationPolicy"] = [propagationPolicy];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -1768,18 +1768,18 @@
/// 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.
///
- /// [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.
///
- /// [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.
///
@@ -1798,11 +1798,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<ListDomainMappingsResponse> list(core.String parent,
- {core.int limit,
+ {core.String resourceVersion,
+ core.int limit,
core.String labelSelector,
- core.String resourceVersion,
- core.bool includeUninitialized,
core.String continue_,
+ core.bool includeUninitialized,
core.bool watch,
core.String fieldSelector,
core.String $fields}) {
@@ -1816,21 +1816,21 @@
if (parent == null) {
throw new 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 (resourceVersion != null) {
- _queryParams["resourceVersion"] = [resourceVersion];
+ if (continue_ != null) {
+ _queryParams["continue"] = [continue_];
}
if (includeUninitialized != null) {
_queryParams["includeUninitialized"] = ["${includeUninitialized}"];
}
- if (continue_ != null) {
- _queryParams["continue"] = [continue_];
- }
if (watch != null) {
_queryParams["watch"] = ["${watch}"];
}
@@ -1871,14 +1871,14 @@
/// 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
/// 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.
+ /// [apiVersion] - Cloud Run currently ignores this parameter.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -1891,9 +1891,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<Status> delete(core.String name,
- {core.String apiVersion,
+ {core.String kind,
core.String propagationPolicy,
- core.String kind,
+ core.String apiVersion,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -1905,14 +1905,14 @@
if (name == null) {
throw new 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 (kind != null) {
- _queryParams["kind"] = [kind];
+ if (apiVersion != null) {
+ _queryParams["apiVersion"] = [apiVersion];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -1983,10 +1983,11 @@
/// number.
/// Value must have pattern "^projects/[^/]+/locations/[^/]+$".
///
- /// [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.
///
- /// [limit] - The maximum number of records that should be returned.
+ /// [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.
@@ -1994,14 +1995,13 @@
/// [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.
+ /// [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.
///
- /// [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.
///
@@ -2013,13 +2013,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<ListRevisionsResponse> list(core.String parent,
- {core.String labelSelector,
- core.int limit,
+ {core.String fieldSelector,
+ core.bool includeUninitialized,
core.bool watch,
core.String resourceVersion,
- core.bool includeUninitialized,
+ core.int limit,
+ core.String labelSelector,
core.String continue_,
- core.String fieldSelector,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -2031,11 +2031,11 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (labelSelector != null) {
- _queryParams["labelSelector"] = [labelSelector];
+ if (fieldSelector != null) {
+ _queryParams["fieldSelector"] = [fieldSelector];
}
- if (limit != null) {
- _queryParams["limit"] = ["${limit}"];
+ if (includeUninitialized != null) {
+ _queryParams["includeUninitialized"] = ["${includeUninitialized}"];
}
if (watch != null) {
_queryParams["watch"] = ["${watch}"];
@@ -2043,15 +2043,15 @@
if (resourceVersion != null) {
_queryParams["resourceVersion"] = [resourceVersion];
}
- if (includeUninitialized != null) {
- _queryParams["includeUninitialized"] = ["${includeUninitialized}"];
+ 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 ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -2127,24 +2127,24 @@
/// 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.
///
- /// [includeUninitialized] - Not currently used by Cloud Run.
+ /// [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.
///
- /// [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.
///
- /// [labelSelector] - Allows to filter resources based on a label. Supported
- /// operations are =, !=, exists, in, and notIn.
+ /// [includeUninitialized] - 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.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -2157,13 +2157,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<ListRoutesResponse> list(core.String parent,
- {core.String continue_,
- core.bool includeUninitialized,
- core.String fieldSelector,
- core.int limit,
- core.String resourceVersion,
- core.bool watch,
+ {core.int limit,
+ core.String continue_,
core.String labelSelector,
+ core.String fieldSelector,
+ core.bool watch,
+ core.bool includeUninitialized,
+ core.String resourceVersion,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -2175,26 +2175,26 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
+ if (limit != null) {
+ _queryParams["limit"] = ["${limit}"];
+ }
if (continue_ != null) {
_queryParams["continue"] = [continue_];
}
- if (includeUninitialized != null) {
- _queryParams["includeUninitialized"] = ["${includeUninitialized}"];
+ if (labelSelector != null) {
+ _queryParams["labelSelector"] = [labelSelector];
}
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 (labelSelector != null) {
- _queryParams["labelSelector"] = [labelSelector];
+ if (includeUninitialized != null) {
+ _queryParams["includeUninitialized"] = ["${includeUninitialized}"];
+ }
+ if (resourceVersion != null) {
+ _queryParams["resourceVersion"] = [resourceVersion];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -2278,13 +2278,13 @@
/// replace {namespace_id} with the project ID or number.
/// Value must have pattern "^projects/[^/]+/locations/[^/]+/services/[^/]+$".
///
- /// [apiVersion] - 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
@@ -2298,8 +2298,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<Status> delete(core.String name,
- {core.String apiVersion,
- core.String propagationPolicy,
+ {core.String propagationPolicy,
+ core.String apiVersion,
core.String kind,
core.String $fields}) {
var _url;
@@ -2312,12 +2312,12 @@
if (name == null) {
throw new core.ArgumentError("Parameter name is required.");
}
- if (apiVersion != null) {
- _queryParams["apiVersion"] = [apiVersion];
- }
if (propagationPolicy != null) {
_queryParams["propagationPolicy"] = [propagationPolicy];
}
+ if (apiVersion != null) {
+ _queryParams["apiVersion"] = [apiVersion];
+ }
if (kind != null) {
_queryParams["kind"] = [kind];
}
@@ -2451,14 +2451,11 @@
/// number.
/// Value must have pattern "^projects/[^/]+/locations/[^/]+$".
///
+ /// [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.
///
- /// [includeUninitialized] - Not currently used by Cloud Run.
- ///
- /// [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.
@@ -2468,7 +2465,10 @@
/// [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.
+ ///
+ /// [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.
@@ -2481,13 +2481,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<ListServicesResponse> list(core.String parent,
- {core.bool watch,
- core.bool includeUninitialized,
- core.String labelSelector,
+ {core.String continue_,
+ core.bool watch,
core.String fieldSelector,
core.int limit,
core.String resourceVersion,
- core.String continue_,
+ core.bool includeUninitialized,
+ core.String labelSelector,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -2499,15 +2499,12 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
+ if (continue_ != null) {
+ _queryParams["continue"] = [continue_];
+ }
if (watch != null) {
_queryParams["watch"] = ["${watch}"];
}
- if (includeUninitialized != null) {
- _queryParams["includeUninitialized"] = ["${includeUninitialized}"];
- }
- if (labelSelector != null) {
- _queryParams["labelSelector"] = [labelSelector];
- }
if (fieldSelector != null) {
_queryParams["fieldSelector"] = [fieldSelector];
}
@@ -2517,8 +2514,11 @@
if (resourceVersion != null) {
_queryParams["resourceVersion"] = [resourceVersion];
}
- if (continue_ != null) {
- _queryParams["continue"] = [continue_];
+ if (includeUninitialized != null) {
+ _queryParams["includeUninitialized"] = ["${includeUninitialized}"];
+ }
+ if (labelSelector != null) {
+ _queryParams["labelSelector"] = [labelSelector];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -4119,7 +4119,7 @@
core.String key;
/// (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos:
- /// supported Mode bits to use on this file, must be a value between 0 and
+ /// supported Mode bits to use on this file, must be a value between 0000 and
/// 0777. If not specified, the volume defaultMode will be used. This might be
/// in conflict with other options that affect the file mode, like fsGroup,
/// and the result can be other mode bits set.
@@ -5852,10 +5852,12 @@
class SecretVolumeSource {
/// (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos:
/// supported Mode bits to use on created files by default. Must be a value
- /// between 0 and 0777. Defaults to 0644. Directories within the path are not
- /// affected by this setting. This might be in conflict with other options
+ /// between 0000 and 0777. Defaults to 0644. Directories within the path are
+ /// not affected by this setting. This might be in conflict with other options
/// that affect the file mode, like fsGroup, and the result can be other mode
- /// bits set.
+ /// bits set. NOTE: This is an integer representation of the mode bits. So,
+ /// the integer value should look exactly as the chmod numeric notation, i.e.
+ /// Unix chmod "777" (a=rwx) should have the integer value 777.
core.int defaultMode;
/// (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos:
diff --git a/generated/googleapis/lib/runtimeconfig/v1.dart b/generated/googleapis/lib/runtimeconfig/v1.dart
index 7de005d..d4da956 100644
--- a/generated/googleapis/lib/runtimeconfig/v1.dart
+++ b/generated/googleapis/lib/runtimeconfig/v1.dart
@@ -163,12 +163,12 @@
/// [name] - The name of the operation's parent resource.
/// Value must have pattern "^operations$".
///
- /// [filter] - The standard list filter.
- ///
/// [pageToken] - The standard list page token.
///
/// [pageSize] - The standard list page size.
///
+ /// [filter] - The standard list filter.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -180,9 +180,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<ListOperationsResponse> list(core.String name,
- {core.String filter,
- core.String pageToken,
+ {core.String pageToken,
core.int pageSize,
+ core.String filter,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -194,15 +194,15 @@
if (name == null) {
throw new core.ArgumentError("Parameter name is required.");
}
- if (filter != null) {
- _queryParams["filter"] = [filter];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
+ if (filter != null) {
+ _queryParams["filter"] = [filter];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
diff --git a/generated/googleapis/lib/script/v1.dart b/generated/googleapis/lib/script/v1.dart
index c84baca..102d14d 100644
--- a/generated/googleapis/lib/script/v1.dart
+++ b/generated/googleapis/lib/script/v1.dart
@@ -108,44 +108,44 @@
///
/// Request parameters:
///
- /// [userProcessFilter_deploymentId] - Optional field used to limit returned
- /// processes to those originating from projects with a specific deployment
- /// ID.
- ///
- /// [userProcessFilter_startTime] - Optional field used to limit returned
- /// processes to those that were started on or after the given timestamp.
- ///
- /// [userProcessFilter_endTime] - Optional field used to limit returned
- /// processes to those that completed on or before the given timestamp.
- ///
- /// [userProcessFilter_userAccessLevels] - Optional field used to limit
- /// returned processes to those having one of the specified user access
- /// levels.
- ///
/// [userProcessFilter_types] - Optional field used to limit returned
/// processes to those having one of the specified process types.
///
- /// [userProcessFilter_statuses] - Optional field used to limit returned
- /// processes to those having one of the specified process statuses.
+ /// [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.
+ /// [userProcessFilter_startTime] - Optional field used to limit returned
+ /// processes to those that were started on or after the given timestamp.
///
/// [userProcessFilter_functionName] - Optional field used to limit returned
/// processes to those originating from a script function with the given
/// function name.
///
- /// [userProcessFilter_scriptId] - Optional field used to limit returned
- /// processes to those originating from projects with a specific script ID.
- ///
- /// [pageSize] - The maximum number of returned processes per page of results.
- /// Defaults to 50.
- ///
/// [userProcessFilter_projectName] - Optional field used to limit returned
/// 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_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_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.
///
@@ -157,17 +157,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.String userProcessFilter_deploymentId,
- core.String userProcessFilter_startTime,
- core.String userProcessFilter_endTime,
- core.List<core.String> userProcessFilter_userAccessLevels,
- core.List<core.String> userProcessFilter_types,
- core.List<core.String> userProcessFilter_statuses,
- core.String pageToken,
- core.String userProcessFilter_functionName,
- core.String userProcessFilter_scriptId,
+ {core.List<core.String> userProcessFilter_types,
core.int pageSize,
+ core.String userProcessFilter_startTime,
+ 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.List<core.String> userProcessFilter_userAccessLevels,
+ core.String userProcessFilter_deploymentId,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -176,48 +176,48 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body;
- if (userProcessFilter_deploymentId != null) {
- _queryParams["userProcessFilter.deploymentId"] = [
- userProcessFilter_deploymentId
- ];
+ 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 (userProcessFilter_endTime != null) {
- _queryParams["userProcessFilter.endTime"] = [userProcessFilter_endTime];
- }
- if (userProcessFilter_userAccessLevels != null) {
- _queryParams["userProcessFilter.userAccessLevels"] =
- userProcessFilter_userAccessLevels;
- }
- if (userProcessFilter_types != null) {
- _queryParams["userProcessFilter.types"] = userProcessFilter_types;
- }
- if (userProcessFilter_statuses != null) {
- _queryParams["userProcessFilter.statuses"] = userProcessFilter_statuses;
- }
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (userProcessFilter_functionName != null) {
_queryParams["userProcessFilter.functionName"] = [
userProcessFilter_functionName
];
}
- if (userProcessFilter_scriptId != null) {
- _queryParams["userProcessFilter.scriptId"] = [userProcessFilter_scriptId];
- }
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
if (userProcessFilter_projectName != null) {
_queryParams["userProcessFilter.projectName"] = [
userProcessFilter_projectName
];
}
+ if (userProcessFilter_endTime != null) {
+ _queryParams["userProcessFilter.endTime"] = [userProcessFilter_endTime];
+ }
+ 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_userAccessLevels != null) {
+ _queryParams["userProcessFilter.userAccessLevels"] =
+ userProcessFilter_userAccessLevels;
+ }
+ if (userProcessFilter_deploymentId != null) {
+ _queryParams["userProcessFilter.deploymentId"] = [
+ userProcessFilter_deploymentId
+ ];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -239,17 +239,29 @@
///
/// Request parameters:
///
- /// [scriptProcessFilter_statuses] - Optional field used to limit returned
- /// processes to those having one of the specified process statuses.
+ /// [scriptProcessFilter_startTime] - Optional field used to limit returned
+ /// processes to those that were started on or after 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_statuses] - Optional field used to limit returned
+ /// processes to those having one of the specified process statuses.
+ ///
+ /// [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.
@@ -257,18 +269,6 @@
/// [pageSize] - The maximum number of returned processes per page of results.
/// Defaults to 50.
///
- /// [scriptProcessFilter_startTime] - Optional field used to limit returned
- /// processes to those that were started on or after the given timestamp.
- ///
- /// [scriptProcessFilter_deploymentId] - Optional field used to limit returned
- /// processes to those originating from projects with a specific deployment
- /// ID.
- ///
- /// [scriptId] - The script ID of the project whose processes are listed.
- ///
- /// [scriptProcessFilter_types] - Optional field used to limit returned
- /// processes to those having one of the specified process types.
- ///
/// [scriptProcessFilter_endTime] - Optional field used to limit returned
/// processes to those that completed on or before the given timestamp.
///
@@ -283,15 +283,15 @@
/// 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.List<core.String> scriptProcessFilter_statuses,
+ {core.String scriptProcessFilter_startTime,
core.String scriptProcessFilter_functionName,
+ core.String scriptId,
+ 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_startTime,
- core.String scriptProcessFilter_deploymentId,
- core.String scriptId,
- core.List<core.String> scriptProcessFilter_types,
core.String scriptProcessFilter_endTime,
core.String $fields}) {
var _url;
@@ -301,18 +301,34 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body;
- if (scriptProcessFilter_statuses != null) {
- _queryParams["scriptProcessFilter.statuses"] =
- scriptProcessFilter_statuses;
+ if (scriptProcessFilter_startTime != null) {
+ _queryParams["scriptProcessFilter.startTime"] = [
+ scriptProcessFilter_startTime
+ ];
}
if (scriptProcessFilter_functionName != null) {
_queryParams["scriptProcessFilter.functionName"] = [
scriptProcessFilter_functionName
];
}
+ if (scriptId != null) {
+ _queryParams["scriptId"] = [scriptId];
+ }
+ if (scriptProcessFilter_statuses != null) {
+ _queryParams["scriptProcessFilter.statuses"] =
+ scriptProcessFilter_statuses;
+ }
+ 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;
@@ -320,22 +336,6 @@
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
- if (scriptProcessFilter_startTime != null) {
- _queryParams["scriptProcessFilter.startTime"] = [
- scriptProcessFilter_startTime
- ];
- }
- if (scriptProcessFilter_deploymentId != null) {
- _queryParams["scriptProcessFilter.deploymentId"] = [
- scriptProcessFilter_deploymentId
- ];
- }
- if (scriptId != null) {
- _queryParams["scriptId"] = [scriptId];
- }
- if (scriptProcessFilter_types != null) {
- _queryParams["scriptProcessFilter.types"] = scriptProcessFilter_types;
- }
if (scriptProcessFilter_endTime != null) {
_queryParams["scriptProcessFilter.endTime"] = [
scriptProcessFilter_endTime
@@ -513,9 +513,6 @@
///
/// [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:
@@ -524,6 +521,9 @@
/// - "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.
///
@@ -535,8 +535,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<Metrics> getMetrics(core.String scriptId,
- {core.String metricsFilter_deploymentId,
- core.String metricsGranularity,
+ {core.String metricsGranularity,
+ core.String metricsFilter_deploymentId,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -548,12 +548,12 @@
if (scriptId == null) {
throw new core.ArgumentError("Parameter scriptId is required.");
}
- if (metricsFilter_deploymentId != null) {
- _queryParams["metricsFilter.deploymentId"] = [metricsFilter_deploymentId];
- }
if (metricsGranularity != null) {
_queryParams["metricsGranularity"] = [metricsGranularity];
}
+ if (metricsFilter_deploymentId != null) {
+ _queryParams["metricsFilter.deploymentId"] = [metricsFilter_deploymentId];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -1015,13 +1015,13 @@
///
/// [scriptId] - The script project's Drive ID.
///
+ /// [pageSize] - The maximum number of versions on each returned page.
+ /// 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.
///
- /// [pageSize] - The maximum number of versions on each returned page.
- /// Defaults to 50.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1033,7 +1033,7 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<ListVersionsResponse> list(core.String scriptId,
- {core.String pageToken, core.int pageSize, core.String $fields}) {
+ {core.int pageSize, core.String pageToken, core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -1044,12 +1044,12 @@
if (scriptId == null) {
throw new core.ArgumentError("Parameter scriptId 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/secretmanager/v1.dart b/generated/googleapis/lib/secretmanager/v1.dart
index 5c427d9..ae37dea 100644
--- a/generated/googleapis/lib/secretmanager/v1.dart
+++ b/generated/googleapis/lib/secretmanager/v1.dart
@@ -101,12 +101,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.
///
@@ -118,9 +118,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<ListLocationsResponse> list(core.String name,
- {core.String filter,
+ {core.String pageToken,
+ core.String filter,
core.int pageSize,
- core.String pageToken,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -132,15 +132,15 @@
if (name == null) {
throw new 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];
}
@@ -437,13 +437,13 @@
/// Secrets, in the format `projects / * `.
/// Value must have pattern "^projects/[^/]+$".
///
- /// [pageToken] - Optional. Pagination token, returned earlier via
- /// ListSecretsResponse.next_page_token.
- ///
/// [pageSize] - Optional. The maximum number of results to be returned in a
/// single page. If set to 0, the server decides the number of results to
/// return. If the number is greater than 25000, it is capped at 25000.
///
+ /// [pageToken] - Optional. Pagination token, returned earlier via
+ /// ListSecretsResponse.next_page_token.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -455,7 +455,7 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<ListSecretsResponse> list(core.String parent,
- {core.String pageToken, core.int pageSize, core.String $fields}) {
+ {core.int pageSize, core.String pageToken, core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -466,12 +466,12 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
diff --git a/generated/googleapis/lib/securitycenter/v1.dart b/generated/googleapis/lib/securitycenter/v1.dart
index c3ffa30..852cad1 100644
--- a/generated/googleapis/lib/securitycenter/v1.dart
+++ b/generated/googleapis/lib/securitycenter/v1.dart
@@ -221,10 +221,6 @@
/// format is "organizations/[organization_id]".
/// Value must have pattern "^organizations/[^/]+$".
///
- /// [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.
- ///
/// [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
@@ -245,32 +241,6 @@
/// [fieldMask] - A field mask to specify the ListAssetsResult fields to be
/// listed in the response. An empty field mask will list all fields.
///
- /// [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.
- ///
- /// [pageSize] - The maximum number of results to return in a single response.
- /// Default is 10, minimum is 1, maximum is 1000.
- ///
- /// [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.
- ///
/// [filter] - Expression that defines the filter to apply across assets. The
/// expression is a list of zero or more restrictions combined via logical
/// operators `AND` and `OR`. Parentheses are supported, and `OR` has higher
@@ -305,6 +275,36 @@
/// empty string to filter based on a property not existing:
/// `-resource_properties.my_property : ""`
///
+ /// [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.
///
@@ -316,13 +316,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<ListAssetsResponse> list(core.String parent,
- {core.String pageToken,
- core.String orderBy,
+ {core.String orderBy,
core.String fieldMask,
- core.String compareDuration,
- core.int pageSize,
- core.String readTime,
core.String filter,
+ core.String pageToken,
+ core.String compareDuration,
+ core.String readTime,
+ core.int pageSize,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -334,26 +334,26 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (orderBy != null) {
_queryParams["orderBy"] = [orderBy];
}
if (fieldMask != null) {
_queryParams["fieldMask"] = [fieldMask];
}
+ if (filter != null) {
+ _queryParams["filter"] = [filter];
+ }
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
if (compareDuration != null) {
_queryParams["compareDuration"] = [compareDuration];
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
if (readTime != null) {
_queryParams["readTime"] = [readTime];
}
- if (filter != null) {
- _queryParams["filter"] = [filter];
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -440,15 +440,15 @@
/// Value must have pattern
/// "^organizations/[^/]+/assets/[^/]+/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.
///
@@ -461,7 +461,7 @@
/// this method will complete with the same error.
async.Future<SecurityMarks> updateSecurityMarks(
SecurityMarks request, core.String name,
- {core.String updateMask, core.String startTime, core.String $fields}) {
+ {core.String startTime, core.String updateMask, core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -475,12 +475,12 @@
if (name == null) {
throw new 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];
}
@@ -940,10 +940,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.
///
@@ -956,8 +956,8 @@
/// this method will complete with the same error.
async.Future<ListOperationsResponse> list(core.String name,
{core.String filter,
- core.String pageToken,
core.int pageSize,
+ core.String pageToken,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -972,12 +972,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];
}
@@ -1160,13 +1160,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.
///
@@ -1178,7 +1178,7 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<ListSourcesResponse> list(core.String parent,
- {core.int pageSize, core.String pageToken, core.String $fields}) {
+ {core.String pageToken, core.int pageSize, core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -1189,12 +1189,12 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -1512,6 +1512,10 @@
/// 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
@@ -1535,6 +1539,9 @@
/// "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
@@ -1546,21 +1553,6 @@
/// fields are supported: name parent state category resource_name event_time
/// source_properties security_marks.marks
///
- /// [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.
- ///
- /// [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.
- ///
- /// [pageSize] - The maximum number of results to return in a single response.
- /// Default is 10, minimum is 1, maximum is 1000.
- ///
- /// [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
/// operators `AND` and `OR`. Parentheses are supported, and `OR` has higher
@@ -1583,6 +1575,14 @@
/// partial match on the empty string to filter based on a property not
/// existing: `-source_properties.my_property : ""`
///
+ /// [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.
///
@@ -1594,13 +1594,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<ListFindingsResponse> list(core.String parent,
- {core.String compareDuration,
- core.String orderBy,
- core.String readTime,
- core.String pageToken,
+ {core.String pageToken,
+ core.String compareDuration,
core.int pageSize,
- core.String fieldMask,
+ core.String orderBy,
core.String filter,
+ core.String readTime,
+ core.String fieldMask,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -1612,27 +1612,27 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (compareDuration != null) {
- _queryParams["compareDuration"] = [compareDuration];
- }
- if (orderBy != null) {
- _queryParams["orderBy"] = [orderBy];
- }
- if (readTime != null) {
- _queryParams["readTime"] = [readTime];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (compareDuration != null) {
+ _queryParams["compareDuration"] = [compareDuration];
+ }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
- if (fieldMask != null) {
- _queryParams["fieldMask"] = [fieldMask];
+ if (orderBy != null) {
+ _queryParams["orderBy"] = [orderBy];
}
if (filter != null) {
_queryParams["filter"] = [filter];
}
+ if (readTime != null) {
+ _queryParams["readTime"] = [readTime];
+ }
+ if (fieldMask != null) {
+ _queryParams["fieldMask"] = [fieldMask];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -1780,15 +1780,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.
///
@@ -1801,7 +1801,7 @@
/// this method will complete with the same error.
async.Future<SecurityMarks> updateSecurityMarks(
SecurityMarks request, core.String name,
- {core.String startTime, core.String updateMask, core.String $fields}) {
+ {core.String updateMask, core.String startTime, core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -1815,12 +1815,12 @@
if (name == null) {
throw new core.ArgumentError("Parameter name is required.");
}
- if (startTime != null) {
- _queryParams["startTime"] = [startTime];
- }
if (updateMask != null) {
_queryParams["updateMask"] = [updateMask];
}
+ if (startTime != null) {
+ _queryParams["startTime"] = [startTime];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
diff --git a/generated/googleapis/lib/serviceconsumermanagement/v1.dart b/generated/googleapis/lib/serviceconsumermanagement/v1.dart
index 1a5a67f..b1b68ec 100644
--- a/generated/googleapis/lib/serviceconsumermanagement/v1.dart
+++ b/generated/googleapis/lib/serviceconsumermanagement/v1.dart
@@ -203,12 +203,12 @@
/// [name] - The name of the operation's parent resource.
/// Value must have pattern "^operations$".
///
+ /// [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.
///
@@ -220,9 +220,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.String name,
- {core.int pageSize,
+ {core.String pageToken,
+ core.int pageSize,
core.String filter,
- core.String pageToken,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -234,15 +234,15 @@
if (name == null) {
throw new core.ArgumentError("Parameter name is required.");
}
+ 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];
}
@@ -276,6 +276,11 @@
/// 'service.googleapis.com'.
/// Value must have pattern "^services/[^/]+$".
///
+ /// [pageSize] - Optional. The maximum number of results returned by this
+ /// request. Currently, the default maximum is set to 1000. If `page_size`
+ /// isn't provided or the size provided is a number larger than 1000, it's
+ /// automatically set to 1000.
+ ///
/// [pageToken] - Optional. The continuation token, which is used to page
/// through large result sets. To get the next page of results, set this
/// parameter to the value of `nextPageToken` from the previous response.
@@ -293,11 +298,6 @@
/// included in the result set. For example, `tenant_resources.tag=xyz AND
/// tenant_resources.resource=projects/123456`
///
- /// [pageSize] - Optional. The maximum number of results returned by this
- /// request. Currently, the default maximum is set to 1000. If `page_size`
- /// isn't provided or the size provided is a number larger than 1000, it's
- /// automatically set to 1000.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -309,9 +309,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<SearchTenancyUnitsResponse> search(core.String parent,
- {core.String pageToken,
+ {core.int pageSize,
+ core.String pageToken,
core.String query,
- core.int pageSize,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -323,15 +323,15 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
+ 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];
}
@@ -723,13 +723,13 @@
/// [filter] - Optional. Filter expression over tenancy resources field.
/// Optional.
///
+ /// [pageSize] - Optional. The maximum number of results returned by this
+ /// request.
+ ///
/// [pageToken] - Optional. The continuation token, which is used to page
/// through large result sets. To get the next page of results, set this
/// parameter to the value of `nextPageToken` from the previous response.
///
- /// [pageSize] - Optional. The maximum number of results returned by this
- /// request.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -742,8 +742,8 @@
/// call, this method will complete with the same error.
async.Future<ListTenancyUnitsResponse> list(core.String parent,
{core.String filter,
- core.String pageToken,
core.int pageSize,
+ core.String pageToken,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -758,12 +758,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/servicemanagement/v1.dart b/generated/googleapis/lib/servicemanagement/v1.dart
index 54e6350..a9487e9 100644
--- a/generated/googleapis/lib/servicemanagement/v1.dart
+++ b/generated/googleapis/lib/servicemanagement/v1.dart
@@ -102,6 +102,13 @@
///
/// 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
@@ -116,13 +123,6 @@
/// `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.
///
@@ -134,10 +134,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.String filter,
+ {core.int pageSize,
core.String name,
- core.int pageSize,
core.String pageToken,
+ core.String filter,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -146,18 +146,18 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body;
- if (filter != null) {
- _queryParams["filter"] = [filter];
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
}
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];
}
@@ -565,18 +565,18 @@
///
/// Request parameters:
///
- /// [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.
- ///
/// [pageToken] - Token identifying which result to start with; returned by a
/// previous list call.
///
/// [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.
+ ///
+ /// [consumerId] - Include services consumed by the specified consumer. The
+ /// Google Service Management implementation accepts the following forms: -
+ /// project:
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -588,10 +588,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 consumerId,
- core.String producerProjectId,
- core.String pageToken,
+ {core.String pageToken,
core.int pageSize,
+ core.String producerProjectId,
+ core.String consumerId,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -600,18 +600,18 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body;
- if (consumerId != null) {
- _queryParams["consumerId"] = [consumerId];
- }
- if (producerProjectId != null) {
- _queryParams["producerProjectId"] = [producerProjectId];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
+ if (producerProjectId != null) {
+ _queryParams["producerProjectId"] = [producerProjectId];
+ }
+ if (consumerId != null) {
+ _queryParams["consumerId"] = [consumerId];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -1347,8 +1347,6 @@
/// [overview](/service-management/overview) for naming requirements. For
/// example: `example.googleapis.com`.
///
- /// [pageToken] - The token of the page to retrieve.
- ///
/// [filter] - Required. Use `filter` to return subset of rollouts. The
/// following filters are supported: -- To limit the results to only those in
/// [status](google.api.servicemanagement.v1.RolloutStatus) 'SUCCESS', use
@@ -1359,6 +1357,8 @@
/// [pageSize] - The max number of items to include in the response list. Page
/// size is 50 if not specified. Maximum value is 100.
///
+ /// [pageToken] - The token of the page to retrieve.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1370,9 +1370,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<ListServiceRolloutsResponse> list(core.String serviceName,
- {core.String pageToken,
- core.String filter,
+ {core.String filter,
core.int pageSize,
+ core.String pageToken,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -1384,15 +1384,15 @@
if (serviceName == null) {
throw new core.ArgumentError("Parameter serviceName 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/servicenetworking/v1.dart b/generated/googleapis/lib/servicenetworking/v1.dart
index 7bf0c68..7d13715 100644
--- a/generated/googleapis/lib/servicenetworking/v1.dart
+++ b/generated/googleapis/lib/servicenetworking/v1.dart
@@ -207,10 +207,10 @@
/// [name] - The name of the operation's parent resource.
/// Value must have pattern "^operations$".
///
- /// [pageSize] - The standard list page size.
- ///
/// [pageToken] - The standard list page token.
///
+ /// [pageSize] - The standard list page size.
+ ///
/// [filter] - The standard list filter.
///
/// [$fields] - Selector specifying which fields to include in a partial
@@ -224,8 +224,8 @@
/// 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.String name,
- {core.int pageSize,
- core.String pageToken,
+ {core.String pageToken,
+ core.int pageSize,
core.String filter,
core.String $fields}) {
var _url;
@@ -238,12 +238,12 @@
if (name == null) {
throw new core.ArgumentError("Parameter name is required.");
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
if (filter != null) {
_queryParams["filter"] = [filter];
}
diff --git a/generated/googleapis/lib/serviceusage/v1.dart b/generated/googleapis/lib/serviceusage/v1.dart
index dc81939..a12c693 100644
--- a/generated/googleapis/lib/serviceusage/v1.dart
+++ b/generated/googleapis/lib/serviceusage/v1.dart
@@ -211,11 +211,11 @@
///
/// [pageSize] - The standard list page size.
///
- /// [pageToken] - The standard list page token.
+ /// [name] - The name of the operation's parent resource.
///
/// [filter] - The standard list filter.
///
- /// [name] - The name of the operation's parent resource.
+ /// [pageToken] - The standard list page token.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -229,9 +229,9 @@
/// call, this method will complete with the same error.
async.Future<ListOperationsResponse> list(
{core.int pageSize,
- core.String pageToken,
- core.String filter,
core.String name,
+ core.String filter,
+ core.String pageToken,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -243,14 +243,14 @@
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
+ if (name != null) {
+ _queryParams["name"] = [name];
}
if (filter != null) {
_queryParams["filter"] = [filter];
}
- if (name != null) {
- _queryParams["name"] = [name];
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -566,14 +566,14 @@
/// `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.
///
- /// [pageSize] - Requested size of the next page of data. Requested page size
- /// cannot exceed 200. If not set, the default page size is 50.
+ /// [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.
@@ -586,9 +586,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<ListServicesResponse> list(core.String parent,
- {core.String filter,
+ {core.int pageSize,
core.String pageToken,
- core.int pageSize,
+ core.String filter,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -600,14 +600,14 @@
if (parent == null) {
throw new 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 (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
+ 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 61ac489..0d55531 100644
--- a/generated/googleapis/lib/sheets/v4.dart
+++ b/generated/googleapis/lib/sheets/v4.dart
@@ -182,11 +182,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.
///
@@ -198,8 +198,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<Spreadsheet> get(core.String spreadsheetId,
- {core.bool includeGridData,
- core.List<core.String> ranges,
+ {core.List<core.String> ranges,
+ core.bool includeGridData,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -211,12 +211,12 @@
if (spreadsheetId == null) {
throw new core.ArgumentError("Parameter spreadsheetId is required.");
}
- if (includeGridData != null) {
- _queryParams["includeGridData"] = ["${includeGridData}"];
- }
if (ranges != null) {
_queryParams["ranges"] = ranges;
}
+ if (includeGridData != null) {
+ _queryParams["includeGridData"] = ["${includeGridData}"];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -505,6 +505,22 @@
/// [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.
+ /// 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"`.
+ ///
/// [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
@@ -526,22 +542,6 @@
/// 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:
/// - "INPUT_VALUE_OPTION_UNSPECIFIED" : Default input value. This value must
@@ -572,9 +572,9 @@
/// this method will complete with the same error.
async.Future<AppendValuesResponse> append(
ValueRange request, core.String spreadsheetId, core.String range,
- {core.String responseDateTimeRenderOption,
+ {core.String responseValueRenderOption,
+ core.String responseDateTimeRenderOption,
core.bool includeValuesInResponse,
- core.String responseValueRenderOption,
core.String valueInputOption,
core.String insertDataOption,
core.String $fields}) {
@@ -594,6 +594,9 @@
if (range == null) {
throw new core.ArgumentError("Parameter range is required.");
}
+ if (responseValueRenderOption != null) {
+ _queryParams["responseValueRenderOption"] = [responseValueRenderOption];
+ }
if (responseDateTimeRenderOption != null) {
_queryParams["responseDateTimeRenderOption"] = [
responseDateTimeRenderOption
@@ -602,9 +605,6 @@
if (includeValuesInResponse != null) {
_queryParams["includeValuesInResponse"] = ["${includeValuesInResponse}"];
}
- if (responseValueRenderOption != null) {
- _queryParams["responseValueRenderOption"] = [responseValueRenderOption];
- }
if (valueInputOption != null) {
_queryParams["valueInputOption"] = [valueInputOption];
}
@@ -1079,6 +1079,21 @@
///
/// [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
@@ -1106,21 +1121,6 @@
/// - "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.
///
@@ -1132,9 +1132,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<ValueRange> get(core.String spreadsheetId, core.String range,
- {core.String dateTimeRenderOption,
+ {core.String valueRenderOption,
+ core.String dateTimeRenderOption,
core.String majorDimension,
- core.String valueRenderOption,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -1149,15 +1149,15 @@
if (range == null) {
throw new 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];
}
@@ -1187,23 +1187,6 @@
///
/// [range] - The A1 notation of the values to update.
///
- /// [valueInputOption] - How the input data should be interpreted.
- /// Possible string values are:
- /// - "INPUT_VALUE_OPTION_UNSPECIFIED" : Default input value. This value must
- /// not be used.
- /// - "RAW" : The values the user has entered will not be parsed and will be
- /// stored as-is.
- /// - "USER_ENTERED" : The values will be parsed as if the user typed them
- /// into the UI. Numbers will stay as numbers, but strings may be converted to
- /// 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).
- ///
/// [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
@@ -1237,6 +1220,23 @@
/// 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:
+ /// - "INPUT_VALUE_OPTION_UNSPECIFIED" : Default input value. This value must
+ /// not be used.
+ /// - "RAW" : The values the user has entered will not be parsed and will be
+ /// stored as-is.
+ /// - "USER_ENTERED" : The values will be parsed as if the user typed them
+ /// into the UI. Numbers will stay as numbers, but strings may be converted to
+ /// 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.
///
@@ -1249,10 +1249,10 @@
/// this method will complete with the same error.
async.Future<UpdateValuesResponse> update(
ValueRange request, core.String spreadsheetId, core.String range,
- {core.String valueInputOption,
- core.bool includeValuesInResponse,
- core.String responseDateTimeRenderOption,
+ {core.String responseDateTimeRenderOption,
core.String responseValueRenderOption,
+ core.String valueInputOption,
+ core.bool includeValuesInResponse,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -1270,12 +1270,6 @@
if (range == null) {
throw new core.ArgumentError("Parameter range is required.");
}
- if (valueInputOption != null) {
- _queryParams["valueInputOption"] = [valueInputOption];
- }
- if (includeValuesInResponse != null) {
- _queryParams["includeValuesInResponse"] = ["${includeValuesInResponse}"];
- }
if (responseDateTimeRenderOption != null) {
_queryParams["responseDateTimeRenderOption"] = [
responseDateTimeRenderOption
@@ -1284,6 +1278,12 @@
if (responseValueRenderOption != null) {
_queryParams["responseValueRenderOption"] = [responseValueRenderOption];
}
+ 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 c35aec0..fd16f2c 100644
--- a/generated/googleapis/lib/slides/v1.dart
+++ b/generated/googleapis/lib/slides/v1.dart
@@ -290,11 +290,6 @@
///
/// [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.
@@ -306,6 +301,11 @@
/// - "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.
///
@@ -318,8 +318,8 @@
/// this method will complete with the same error.
async.Future<Thumbnail> getThumbnail(
core.String presentationId, core.String pageObjectId,
- {core.String thumbnailProperties_mimeType,
- core.String thumbnailProperties_thumbnailSize,
+ {core.String thumbnailProperties_thumbnailSize,
+ core.String thumbnailProperties_mimeType,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -334,16 +334,16 @@
if (pageObjectId == null) {
throw new core.ArgumentError("Parameter pageObjectId is required.");
}
- if (thumbnailProperties_mimeType != null) {
- _queryParams["thumbnailProperties.mimeType"] = [
- thumbnailProperties_mimeType
- ];
- }
if (thumbnailProperties_thumbnailSize != null) {
_queryParams["thumbnailProperties.thumbnailSize"] = [
thumbnailProperties_thumbnailSize
];
}
+ if (thumbnailProperties_mimeType != null) {
+ _queryParams["thumbnailProperties.mimeType"] = [
+ thumbnailProperties_mimeType
+ ];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
diff --git a/generated/googleapis/lib/sourcerepo/v1.dart b/generated/googleapis/lib/sourcerepo/v1.dart
index f24d6e8..5dde08e 100644
--- a/generated/googleapis/lib/sourcerepo/v1.dart
+++ b/generated/googleapis/lib/sourcerepo/v1.dart
@@ -365,13 +365,13 @@
/// form `projects/`.
/// Value must have pattern "^projects/[^/]+$".
///
+ /// [pageSize] - Maximum number of repositories to return; between 1 and 500.
+ /// If not set or zero, defaults to 100 at the server.
+ ///
/// [pageToken] - Resume listing repositories where a prior ListReposResponse
/// left off. This is an opaque token that must be obtained from a recent,
/// prior ListReposResponse's next_page_token field.
///
- /// [pageSize] - Maximum number of repositories to return; between 1 and 500.
- /// If not set or zero, defaults to 100 at the server.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -383,7 +383,7 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<ListReposResponse> list(core.String name,
- {core.String pageToken, core.int pageSize, core.String $fields}) {
+ {core.int pageSize, core.String pageToken, core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -394,12 +394,12 @@
if (name == null) {
throw new 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];
}
diff --git a/generated/googleapis/lib/spanner/v1.dart b/generated/googleapis/lib/spanner/v1.dart
index d9ee8d8..55a93ef 100644
--- a/generated/googleapis/lib/spanner/v1.dart
+++ b/generated/googleapis/lib/spanner/v1.dart
@@ -111,13 +111,13 @@
/// instance configurations is requested. Values are of the form `projects/`.
/// Value must have pattern "^projects/[^/]+$".
///
- /// [pageToken] - If non-empty, `page_token` should contain a next_page_token
- /// from a previous ListInstanceConfigsResponse.
- ///
/// [pageSize] - Number of instance configurations 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 ListInstanceConfigsResponse.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -129,7 +129,7 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<ListInstanceConfigsResponse> list(core.String parent,
- {core.String pageToken, core.int pageSize, core.String $fields}) {
+ {core.int pageSize, core.String pageToken, core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -140,12 +140,12 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -414,6 +414,12 @@
/// 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
@@ -426,12 +432,6 @@
/// 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.
///
@@ -443,9 +443,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<ListInstancesResponse> list(core.String parent,
- {core.String filter,
- core.int pageSize,
+ {core.int pageSize,
core.String pageToken,
+ core.String filter,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -457,15 +457,15 @@
if (parent == null) {
throw new 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];
}
@@ -692,9 +692,6 @@
/// the form `projects//instances/`.
/// Value must have pattern "^projects/[^/]+/instances/[^/]+$".
///
- /// [pageSize] - Number of operations to be returned in the response. If 0 or
- /// less, defaults to the server's maximum allowed page size.
- ///
/// [filter] - An expression that filters the list of returned backup
/// 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,
@@ -721,6 +718,9 @@
/// contains the string "howl". * The operation started before
/// 2018-03-28T14:50:00Z. * The operation resulted in an error.
///
+ /// [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 ListBackupOperationsResponse to the same `parent` and with
/// the same `filter`.
@@ -736,8 +736,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<ListBackupOperationsResponse> list(core.String parent,
- {core.int pageSize,
- core.String filter,
+ {core.String filter,
+ core.int pageSize,
core.String pageToken,
core.String $fields}) {
var _url;
@@ -750,12 +750,12 @@
if (parent == null) {
throw new 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];
}
@@ -1011,9 +1011,6 @@
/// form `projects//instances/`.
/// Value must have pattern "^projects/[^/]+/instances/[^/]+$".
///
- /// [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`.
@@ -1039,6 +1036,9 @@
/// backup `expire_time` 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.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1050,9 +1050,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<ListBackupsResponse> list(core.String parent,
- {core.int pageSize,
- core.String pageToken,
+ {core.String pageToken,
core.String filter,
+ core.int pageSize,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -1064,15 +1064,15 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
if (filter != null) {
_queryParams["filter"] = [filter];
}
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -1441,10 +1441,10 @@
/// Value must have pattern
/// "^projects/[^/]+/instances/[^/]+/backups/[^/]+/operations$".
///
- /// [pageToken] - The standard list page token.
- ///
/// [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
@@ -1458,8 +1458,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 pageToken,
- core.int pageSize,
+ {core.int pageSize,
+ core.String pageToken,
core.String filter,
core.String $fields}) {
var _url;
@@ -1472,12 +1472,12 @@
if (name == null) {
throw new 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 (filter != null) {
_queryParams["filter"] = [filter];
}
@@ -1515,6 +1515,10 @@
/// 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.
@@ -1546,10 +1550,6 @@
/// [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.
///
@@ -1561,9 +1561,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<ListDatabaseOperationsResponse> list(core.String parent,
- {core.String filter,
+ {core.String pageToken,
+ core.String filter,
core.int pageSize,
- core.String pageToken,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -1575,15 +1575,15 @@
if (parent == null) {
throw new 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];
}
@@ -2336,12 +2336,12 @@
/// Value must have pattern
/// "^projects/[^/]+/instances/[^/]+/databases/[^/]+/operations$".
///
- /// [pageSize] - The standard list page size.
- ///
/// [filter] - The standard list filter.
///
/// [pageToken] - The standard list page token.
///
+ /// [pageSize] - The standard list page size.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -2353,9 +2353,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<ListOperationsResponse> list(core.String name,
- {core.int pageSize,
- core.String filter,
+ {core.String filter,
core.String pageToken,
+ core.int pageSize,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -2367,15 +2367,15 @@
if (name == null) {
throw new 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 (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -2913,8 +2913,8 @@
/// Value must have pattern
/// "^projects/[^/]+/instances/[^/]+/databases/[^/]+$".
///
- /// [pageToken] - If non-empty, `page_token` should contain a next_page_token
- /// from a previous ListSessionsResponse.
+ /// [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: *
@@ -2923,8 +2923,8 @@
/// `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.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -2937,9 +2937,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<ListSessionsResponse> list(core.String database,
- {core.String pageToken,
+ {core.int pageSize,
core.String filter,
- core.int pageSize,
+ core.String pageToken,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -2951,14 +2951,14 @@
if (database == null) {
throw new core.ArgumentError("Parameter database is required.");
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
}
if (filter != null) {
_queryParams["filter"] = [filter];
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -3440,12 +3440,12 @@
/// [name] - The name of the operation's parent resource.
/// Value must have pattern "^projects/[^/]+/instances/[^/]+/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.
///
@@ -3457,9 +3457,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<ListOperationsResponse> list(core.String name,
- {core.int pageSize,
+ {core.String filter,
+ core.int pageSize,
core.String pageToken,
- core.String filter,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -3471,15 +3471,15 @@
if (name == null) {
throw new 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/speech/v1.dart b/generated/googleapis/lib/speech/v1.dart
index 9b7986d..4441fc1 100644
--- a/generated/googleapis/lib/speech/v1.dart
+++ b/generated/googleapis/lib/speech/v1.dart
@@ -97,14 +97,14 @@
///
/// Request parameters:
///
+ /// [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.
///
- /// [name] - The name of the operation's parent resource.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -116,10 +116,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.String filter,
+ {core.String name,
+ core.String filter,
core.int pageSize,
core.String pageToken,
- core.String name,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -128,6 +128,9 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body;
+ if (name != null) {
+ _queryParams["name"] = [name];
+ }
if (filter != null) {
_queryParams["filter"] = [filter];
}
@@ -137,9 +140,6 @@
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
- if (name != null) {
- _queryParams["name"] = [name];
- }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -242,12 +242,12 @@
/// [name] - The name of the operation's parent resource.
/// Value must have pattern "^projects/[^/]+/locations/[^/]+$".
///
- /// [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.
///
@@ -259,9 +259,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<ListOperationsResponse> list(core.String name,
- {core.String pageToken,
- core.int pageSize,
+ {core.int pageSize,
core.String filter,
+ core.String pageToken,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -273,15 +273,15 @@
if (name == null) {
throw new core.ArgumentError("Parameter name is required.");
}
- 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];
}
diff --git a/generated/googleapis/lib/storagetransfer/v1.dart b/generated/googleapis/lib/storagetransfer/v1.dart
index 81636b1..2fd9f9a 100644
--- a/generated/googleapis/lib/storagetransfer/v1.dart
+++ b/generated/googleapis/lib/storagetransfer/v1.dart
@@ -148,7 +148,7 @@
///
/// Request parameters:
///
- /// [jobName] - " Required. The job to get.
+ /// [jobName] - Required. " The job to get.
/// Value must have pattern "^transferJobs/.*$".
///
/// [projectId] - Required. The ID of the Google Cloud Platform Console
@@ -337,6 +337,8 @@
/// compute a new delta with the five files that were not copied today plus
/// any new files discovered tomorrow.
///
+ /// [request] - The metadata request object.
+ ///
/// Request parameters:
///
/// [name] - The name of the operation resource to be cancelled.
@@ -352,7 +354,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> cancel(core.String name, {core.String $fields}) {
+ async.Future<Empty> cancel(CancelOperationRequest request, core.String name,
+ {core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -360,6 +363,9 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body;
+ if (request != null) {
+ _body = convert.json.encode((request).toJson());
+ }
if (name == null) {
throw new core.ArgumentError("Parameter name is required.");
}
@@ -632,9 +638,9 @@
/// An AwsS3Data resource can be a data source, but not a data sink. In an
/// AwsS3Data resource, an object's name is the S3 object's key name.
class AwsS3Data {
- /// Required. AWS access key used to sign the API requests to the AWS S3
- /// bucket. Permissions on the bucket must be granted to the access ID of the
- /// AWS access key.
+ /// Required. Input only. AWS access key used to sign the API requests to the
+ /// AWS S3 bucket. Permissions on the bucket must be granted to the access ID
+ /// of the AWS access key.
AwsAccessKey awsAccessKey;
/// Required. S3 Bucket name (see [Creating a
@@ -673,7 +679,8 @@
/// Storage blob's key
/// name](https://docs.microsoft.com/en-us/rest/api/storageservices/naming-and-referencing-containers--blobs--and-metadata#blob-names).
class AzureBlobStorageData {
- /// Required. Credentials used to authenticate API requests to Azure.
+ /// Required. Input only. Credentials used to authenticate API requests to
+ /// Azure.
AzureCredentials azureCredentials;
/// Required. The container to transfer from the Azure Storage account.
@@ -738,6 +745,19 @@
}
}
+/// The request message for Operations.CancelOperation.
+class CancelOperationRequest {
+ CancelOperationRequest();
+
+ CancelOperationRequest.fromJson(core.Map _json) {}
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
+ return _json;
+ }
+}
+
/// Represents a whole or partial calendar date, e.g. a birthday. The time of
/// day and time zone are either specified elsewhere or are not significant. The
/// date is relative to the Proleptic Gregorian Calendar. This can represent: *
@@ -2069,9 +2089,9 @@
/// "last modification time" do not exclude objects in a data sink.
ObjectConditions objectConditions;
- /// If the option delete_objects_unique_in_sink is `true`, object conditions
- /// based on objects' "last modification time" are ignored and do not exclude
- /// objects in a data source or a data sink.
+ /// If the option delete_objects_unique_in_sink is `true` and time-based
+ /// object conditions such as 'last modification time' are specified, the
+ /// request fails with an INVALID_ARGUMENT error.
TransferOptions transferOptions;
TransferSpec();
diff --git a/generated/googleapis/lib/streetviewpublish/v1.dart b/generated/googleapis/lib/streetviewpublish/v1.dart
index b395c13..690103c 100644
--- a/generated/googleapis/lib/streetviewpublish/v1.dart
+++ b/generated/googleapis/lib/streetviewpublish/v1.dart
@@ -149,12 +149,6 @@
///
/// [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:
@@ -163,6 +157,12 @@
/// - "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.
///
@@ -174,7 +174,7 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<Photo> get(core.String photoId,
- {core.String languageCode, core.String view, core.String $fields}) {
+ {core.String view, core.String languageCode, core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -185,12 +185,12 @@
if (photoId == null) {
throw new core.ArgumentError("Parameter photoId is required.");
}
- if (languageCode != null) {
- _queryParams["languageCode"] = [languageCode];
- }
if (view != null) {
_queryParams["view"] = [view];
}
+ if (languageCode != null) {
+ _queryParams["languageCode"] = [languageCode];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -396,6 +396,14 @@
///
/// 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
@@ -405,14 +413,6 @@
/// [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.
///
@@ -424,9 +424,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 languageCode,
+ {core.String view,
+ core.String languageCode,
core.List<core.String> photoIds,
- core.String view,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -435,15 +435,15 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _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];
}
@@ -521,9 +521,8 @@
///
/// Request parameters:
///
- /// [filter] - Required. The filter expression. For example:
- /// `placeId=ChIJj61dQgK6j4AR4GeTYWZsKWw`. The only filter supported at the
- /// moment is `placeId`.
+ /// [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
@@ -531,15 +530,16 @@
/// 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`.
+ ///
/// [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.
///
- /// [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:
@@ -559,10 +559,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 filter,
+ {core.String pageToken,
core.int pageSize,
+ core.String filter,
core.String languageCode,
- core.String pageToken,
core.String view,
core.String $fields}) {
var _url;
@@ -572,18 +572,18 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body;
- if (filter != null) {
- _queryParams["filter"] = [filter];
+ 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 (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 efbaf01..9d3735e 100644
--- a/generated/googleapis/lib/tagmanager/v1.dart
+++ b/generated/googleapis/lib/tagmanager/v1.dart
@@ -1191,12 +1191,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.
///
@@ -1207,9 +1207,9 @@
/// this method will complete with the same error.
async.Future update(Folder request, core.String accountId,
core.String containerId, core.String folderId,
- {core.List<core.String> tagId,
+ {core.List<core.String> variableId,
+ core.List<core.String> tagId,
core.List<core.String> triggerId,
- core.List<core.String> variableId,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -1230,15 +1230,15 @@
if (folderId == null) {
throw new 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];
}
diff --git a/generated/googleapis/lib/tasks/v1.dart b/generated/googleapis/lib/tasks/v1.dart
index c25db8a..db0c632 100644
--- a/generated/googleapis/lib/tasks/v1.dart
+++ b/generated/googleapis/lib/tasks/v1.dart
@@ -481,13 +481,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.
///
@@ -499,7 +499,7 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<Task> insert(Task request, core.String tasklist,
- {core.String parent, core.String previous, core.String $fields}) {
+ {core.String previous, core.String parent, core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -513,12 +513,12 @@
if (tasklist == null) {
throw new core.ArgumentError("Parameter tasklist is required.");
}
- if (parent != null) {
- _queryParams["parent"] = [parent];
- }
if (previous != null) {
_queryParams["previous"] = [previous];
}
+ if (parent != null) {
+ _queryParams["parent"] = [parent];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -542,40 +542,40 @@
///
/// [tasklist] - Task list identifier.
///
- /// [pageToken] - Token specifying the result page to return. Optional.
- ///
- /// [maxResults] - Maximum number of task lists returned on one page.
- /// Optional. The default is 20 (max allowed: 100).
- ///
- /// [showHidden] - Flag indicating whether hidden tasks are returned in the
- /// result. Optional. The default is False.
- ///
/// [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.
///
- /// [showDeleted] - Flag indicating whether deleted tasks are returned in the
- /// result. Optional. The default is False.
- ///
/// [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.
+ ///
/// [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.
///
- /// [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.
- ///
/// [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.
///
@@ -587,16 +587,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<Tasks> list(core.String tasklist,
- {core.String pageToken,
- core.int maxResults,
- core.bool showHidden,
- core.String completedMin,
- core.bool showDeleted,
+ {core.String completedMin,
core.bool showCompleted,
+ core.int maxResults,
core.String completedMax,
- core.String updatedMin,
core.String dueMin,
+ core.bool showDeleted,
+ core.String updatedMin,
core.String dueMax,
+ core.String pageToken,
+ core.bool showHidden,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -608,36 +608,36 @@
if (tasklist == null) {
throw new core.ArgumentError("Parameter tasklist is required.");
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
- if (maxResults != null) {
- _queryParams["maxResults"] = ["${maxResults}"];
- }
- if (showHidden != null) {
- _queryParams["showHidden"] = ["${showHidden}"];
- }
if (completedMin != null) {
_queryParams["completedMin"] = [completedMin];
}
- if (showDeleted != null) {
- _queryParams["showDeleted"] = ["${showDeleted}"];
- }
if (showCompleted != null) {
_queryParams["showCompleted"] = ["${showCompleted}"];
}
+ if (maxResults != null) {
+ _queryParams["maxResults"] = ["${maxResults}"];
+ }
if (completedMax != null) {
_queryParams["completedMax"] = [completedMax];
}
- if (updatedMin != null) {
- _queryParams["updatedMin"] = [updatedMin];
- }
if (dueMin != null) {
_queryParams["dueMin"] = [dueMin];
}
+ if (showDeleted != null) {
+ _queryParams["showDeleted"] = ["${showDeleted}"];
+ }
+ if (updatedMin != null) {
+ _queryParams["updatedMin"] = [updatedMin];
+ }
if (dueMax != null) {
_queryParams["dueMax"] = [dueMax];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
+ if (showHidden != null) {
+ _queryParams["showHidden"] = ["${showHidden}"];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -665,13 +665,13 @@
///
/// [task] - Task identifier.
///
+ /// [parent] - New parent task identifier. If the task is moved to the top
+ /// level, this parameter is omitted. Optional.
+ ///
/// [previous] - New previous sibling task identifier. If the task is moved to
/// the first position among its siblings, this parameter is omitted.
/// Optional.
///
- /// [parent] - New parent task identifier. If the task is moved to the top
- /// level, this parameter is omitted. Optional.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -683,7 +683,7 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<Task> move(core.String tasklist, core.String task,
- {core.String previous, core.String parent, core.String $fields}) {
+ {core.String parent, core.String previous, core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -697,12 +697,12 @@
if (task == null) {
throw new core.ArgumentError("Parameter task 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];
}
diff --git a/generated/googleapis/lib/testing/v1.dart b/generated/googleapis/lib/testing/v1.dart
index 3d1a412..1395266 100644
--- a/generated/googleapis/lib/testing/v1.dart
+++ b/generated/googleapis/lib/testing/v1.dart
@@ -1972,6 +1972,48 @@
}
}
+/// A file or directory to install on the device before the test starts.
+class IosDeviceFile {
+ /// The bundle id of the app where this file lives. iOS apps sandbox their own
+ /// filesystem, so app files must specify which app installed on the device.
+ core.String bundleId;
+
+ /// The source file
+ FileReference content;
+
+ /// Location of the file on the device, inside the app's sandboxed filesystem
+ core.String devicePath;
+
+ IosDeviceFile();
+
+ IosDeviceFile.fromJson(core.Map _json) {
+ if (_json.containsKey("bundleId")) {
+ bundleId = _json["bundleId"];
+ }
+ if (_json.containsKey("content")) {
+ content = new FileReference.fromJson(_json["content"]);
+ }
+ if (_json.containsKey("devicePath")) {
+ devicePath = _json["devicePath"];
+ }
+ }
+
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
+ if (bundleId != null) {
+ _json["bundleId"] = bundleId;
+ }
+ if (content != null) {
+ _json["content"] = (content).toJson();
+ }
+ if (devicePath != null) {
+ _json["devicePath"] = devicePath;
+ }
+ return _json;
+ }
+}
+
/// A list of iOS device configurations in which the test is to be executed.
class IosDeviceList {
/// Required. A list of iOS devices.
@@ -2196,6 +2238,15 @@
/// TestEnvironmentDiscoveryService.GetTestEnvironmentCatalog.
core.String networkProfile;
+ /// List of directories on the device to upload to Cloud Storage at the end of
+ /// the test. Directories should either be in a shared directory (e.g.
+ /// /private/var/mobile/Media) or within an accessible directory inside the
+ /// app's filesystem (e.g. /Documents) by specifying the bundle id.
+ core.List<IosDeviceFile> pullDirectories;
+
+ /// List of files to push to the device before starting the test.
+ core.List<IosDeviceFile> pushFiles;
+
IosTestSetup();
IosTestSetup.fromJson(core.Map _json) {
@@ -2207,6 +2258,16 @@
if (_json.containsKey("networkProfile")) {
networkProfile = _json["networkProfile"];
}
+ if (_json.containsKey("pullDirectories")) {
+ pullDirectories = (_json["pullDirectories"] as core.List)
+ .map<IosDeviceFile>((value) => new IosDeviceFile.fromJson(value))
+ .toList();
+ }
+ if (_json.containsKey("pushFiles")) {
+ pushFiles = (_json["pushFiles"] as core.List)
+ .map<IosDeviceFile>((value) => new IosDeviceFile.fromJson(value))
+ .toList();
+ }
}
core.Map<core.String, core.Object> toJson() {
@@ -2219,6 +2280,13 @@
if (networkProfile != null) {
_json["networkProfile"] = networkProfile;
}
+ if (pullDirectories != null) {
+ _json["pullDirectories"] =
+ pullDirectories.map((value) => (value).toJson()).toList();
+ }
+ if (pushFiles != null) {
+ _json["pushFiles"] = pushFiles.map((value) => (value).toJson()).toList();
+ }
return _json;
}
}
diff --git a/generated/googleapis/lib/tpu/v1.dart b/generated/googleapis/lib/tpu/v1.dart
index 8e6fa09..2929354 100644
--- a/generated/googleapis/lib/tpu/v1.dart
+++ b/generated/googleapis/lib/tpu/v1.dart
@@ -225,11 +225,11 @@
///
/// [orderBy] - Sort results.
///
+ /// [filter] - List filter.
+ ///
/// [pageToken] - The next_page_token value returned from a previous List
/// request, if any.
///
- /// [filter] - List filter.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -243,8 +243,8 @@
async.Future<ListAcceleratorTypesResponse> list(core.String parent,
{core.int pageSize,
core.String orderBy,
- core.String pageToken,
core.String filter,
+ core.String pageToken,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -262,12 +262,12 @@
if (orderBy != null) {
_queryParams["orderBy"] = [orderBy];
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (filter != null) {
_queryParams["filter"] = [filter];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -440,11 +440,11 @@
/// [parent] - The parent resource name.
/// 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.
///
@@ -456,7 +456,7 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<ListNodesResponse> list(core.String parent,
- {core.String pageToken, core.int pageSize, core.String $fields}) {
+ {core.int pageSize, core.String pageToken, core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -467,12 +467,12 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -802,11 +802,11 @@
/// [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.
///
/// [pageToken] - The standard list page token.
///
- /// [filter] - The standard list filter.
+ /// [pageSize] - The standard list page size.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -819,9 +819,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<ListOperationsResponse> list(core.String name,
- {core.int pageSize,
+ {core.String filter,
core.String pageToken,
- core.String filter,
+ core.int pageSize,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -833,14 +833,14 @@
if (name == null) {
throw new 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 (filter != null) {
- _queryParams["filter"] = [filter];
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -918,13 +918,13 @@
///
/// [filter] - List filter.
///
- /// [orderBy] - Sort results.
- ///
/// [pageToken] - The next_page_token value returned from a previous List
/// request, if any.
///
/// [pageSize] - The maximum number of items to return.
///
+ /// [orderBy] - Sort results.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -937,9 +937,9 @@
/// this method will complete with the same error.
async.Future<ListTensorFlowVersionsResponse> list(core.String parent,
{core.String filter,
- core.String orderBy,
core.String pageToken,
core.int pageSize,
+ core.String orderBy,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -954,15 +954,15 @@
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 (orderBy != null) {
+ _queryParams["orderBy"] = [orderBy];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
diff --git a/generated/googleapis/lib/translate/v3.dart b/generated/googleapis/lib/translate/v3.dart
index 5fc23d9..54d9294 100644
--- a/generated/googleapis/lib/translate/v3.dart
+++ b/generated/googleapis/lib/translate/v3.dart
@@ -117,10 +117,6 @@
/// 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}`
@@ -130,6 +126,10 @@
/// 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.
///
@@ -141,8 +141,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<SupportedLanguages> getSupportedLanguages(core.String parent,
- {core.String displayLanguageCode,
- core.String model,
+ {core.String model,
+ core.String displayLanguageCode,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -154,12 +154,12 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (displayLanguageCode != null) {
- _queryParams["displayLanguageCode"] = [displayLanguageCode];
- }
if (model != null) {
_queryParams["model"] = [model];
}
+ if (displayLanguageCode != null) {
+ _queryParams["displayLanguageCode"] = [displayLanguageCode];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -425,6 +425,10 @@
/// can be used, otherwise an INVALID_ARGUMENT (400) error is returned.
/// Value must have pattern "^projects/[^/]+/locations/[^/]+$".
///
+ /// [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}`
@@ -434,10 +438,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.
///
@@ -449,8 +449,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<SupportedLanguages> getSupportedLanguages(core.String parent,
- {core.String model,
- core.String displayLanguageCode,
+ {core.String displayLanguageCode,
+ core.String model,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -462,12 +462,12 @@
if (parent == null) {
throw new 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];
}
@@ -492,12 +492,12 @@
/// [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.
///
/// [pageToken] - The standard list page token.
///
- /// [pageSize] - The standard list page size.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -509,9 +509,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<ListLocationsResponse> list(core.String name,
- {core.String filter,
+ {core.int pageSize,
+ core.String filter,
core.String pageToken,
- core.int pageSize,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -523,15 +523,15 @@
if (name == null) {
throw new 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 (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -764,6 +764,12 @@
/// 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
@@ -784,12 +790,6 @@
/// 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.
///
@@ -801,9 +801,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<ListGlossariesResponse> list(core.String parent,
- {core.String filter,
+ {core.String pageToken,
+ core.String filter,
core.int pageSize,
- core.String pageToken,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -815,15 +815,15 @@
if (parent == null) {
throw new 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];
}
@@ -1016,10 +1016,10 @@
///
/// [filter] - The standard list filter.
///
- /// [pageSize] - The standard list page size.
- ///
/// [pageToken] - The standard list page token.
///
+ /// [pageSize] - The standard list page size.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1032,8 +1032,8 @@
/// 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.int pageSize,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -1048,12 +1048,12 @@
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 ($fields != null) {
_queryParams["fields"] = [$fields];
}
diff --git a/generated/googleapis/lib/vault/v1.dart b/generated/googleapis/lib/vault/v1.dart
index 17795c4..a3efc2f 100644
--- a/generated/googleapis/lib/vault/v1.dart
+++ b/generated/googleapis/lib/vault/v1.dart
@@ -295,17 +295,6 @@
///
/// [pageToken] - The pagination token as returned in the response.
///
- /// [view] - Specifies which parts of the matter to return in response.
- /// Possible string values are:
- /// - "VIEW_UNSPECIFIED" : There is no specified view.
- /// - "BASIC" : Response includes the matter_id, name, description, and state.
- /// Default choice.
- /// - "FULL" : Full representation of matter is returned. Everything above and
- /// including MatterPermissions list.
- ///
- /// [pageSize] - The number of matters to return in the response. Default and
- /// maximum are 100.
- ///
/// [state] - If set, list only matters with that specific state. The default
/// is listing matters of all states.
/// Possible string values are:
@@ -314,6 +303,17 @@
/// - "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.
+ /// - "BASIC" : Response includes the matter_id, name, description, and state.
+ /// Default choice.
+ /// - "FULL" : Full representation of matter is returned. Everything above and
+ /// including MatterPermissions list.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -326,9 +326,9 @@
/// this method will complete with the same error.
async.Future<ListMattersResponse> list(
{core.String pageToken,
- core.String view,
- core.int pageSize,
core.String state,
+ core.int pageSize,
+ core.String view,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -340,14 +340,14 @@
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
- if (view != null) {
- _queryParams["view"] = [view];
+ if (state != null) {
+ _queryParams["state"] = [state];
}
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
- if (state != null) {
- _queryParams["state"] = [state];
+ if (view != null) {
+ _queryParams["view"] = [view];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -1021,6 +1021,9 @@
/// 100 inclusive. Leaving this empty, or as 0, is the same as page_size =
/// 100.
///
+ /// [pageToken] - The pagination token as returned in the response. An empty
+ /// token means start from the beginning.
+ ///
/// [view] - Specifies which parts of the Hold to return.
/// Possible string values are:
/// - "HOLD_VIEW_UNSPECIFIED" : There is no specified view. Defaults to
@@ -1031,9 +1034,6 @@
/// fields of 'BASIC' and the entities the Hold applies to, such as accounts,
/// or OU.
///
- /// [pageToken] - The pagination token as returned in the response. An empty
- /// token means start from the beginning.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1046,8 +1046,8 @@
/// this method will complete with the same error.
async.Future<ListHoldsResponse> list(core.String matterId,
{core.int pageSize,
- core.String view,
core.String pageToken,
+ core.String view,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -1062,12 +1062,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];
}
@@ -1559,11 +1559,11 @@
/// [matterId] - The matter ID of the parent matter for which the saved
/// queries are to be retrieved.
///
+ /// [pageSize] - The maximum number of saved queries to return.
+ ///
/// [pageToken] - The pagination token as returned in the previous response.
/// An empty token means start from the beginning.
///
- /// [pageSize] - The maximum number of saved queries to return.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1575,7 +1575,7 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<ListSavedQueriesResponse> list(core.String matterId,
- {core.String pageToken, core.int pageSize, core.String $fields}) {
+ {core.int pageSize, core.String pageToken, core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -1586,12 +1586,12 @@
if (matterId == null) {
throw new core.ArgumentError("Parameter matterId 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/videointelligence/v1.dart b/generated/googleapis/lib/videointelligence/v1.dart
index 7629ec9..852d1b2 100644
--- a/generated/googleapis/lib/videointelligence/v1.dart
+++ b/generated/googleapis/lib/videointelligence/v1.dart
@@ -553,12 +553,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.
///
@@ -570,9 +570,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<GoogleLongrunningListOperationsResponse> list(core.String name,
- {core.String filter,
+ {core.String pageToken,
+ core.String filter,
core.int pageSize,
- core.String pageToken,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -584,15 +584,15 @@
if (name == null) {
throw new 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];
}
@@ -1055,193 +1055,6 @@
}
}
-/// Deprecated. No effect.
-class GoogleCloudVideointelligenceV1FaceAnnotation {
- /// All video frames where a face was detected.
- core.List<GoogleCloudVideointelligenceV1FaceFrame> frames;
-
- /// All video segments where a face was detected.
- core.List<GoogleCloudVideointelligenceV1FaceSegment> segments;
-
- /// Thumbnail of a representative face view (in JPEG format).
- core.String thumbnail;
- core.List<core.int> get thumbnailAsBytes {
- return convert.base64.decode(thumbnail);
- }
-
- set thumbnailAsBytes(core.List<core.int> _bytes) {
- thumbnail =
- convert.base64.encode(_bytes).replaceAll("/", "_").replaceAll("+", "-");
- }
-
- GoogleCloudVideointelligenceV1FaceAnnotation();
-
- GoogleCloudVideointelligenceV1FaceAnnotation.fromJson(core.Map _json) {
- if (_json.containsKey("frames")) {
- frames = (_json["frames"] as core.List)
- .map<GoogleCloudVideointelligenceV1FaceFrame>((value) =>
- new GoogleCloudVideointelligenceV1FaceFrame.fromJson(value))
- .toList();
- }
- if (_json.containsKey("segments")) {
- segments = (_json["segments"] as core.List)
- .map<GoogleCloudVideointelligenceV1FaceSegment>((value) =>
- new GoogleCloudVideointelligenceV1FaceSegment.fromJson(value))
- .toList();
- }
- if (_json.containsKey("thumbnail")) {
- thumbnail = _json["thumbnail"];
- }
- }
-
- core.Map<core.String, core.Object> toJson() {
- final core.Map<core.String, core.Object> _json =
- new core.Map<core.String, core.Object>();
- if (frames != null) {
- _json["frames"] = frames.map((value) => (value).toJson()).toList();
- }
- if (segments != null) {
- _json["segments"] = segments.map((value) => (value).toJson()).toList();
- }
- if (thumbnail != null) {
- _json["thumbnail"] = thumbnail;
- }
- return _json;
- }
-}
-
-/// Face detection annotation.
-class GoogleCloudVideointelligenceV1FaceDetectionAnnotation {
- /// Feature version.
- core.String version;
-
- GoogleCloudVideointelligenceV1FaceDetectionAnnotation();
-
- GoogleCloudVideointelligenceV1FaceDetectionAnnotation.fromJson(
- core.Map _json) {
- if (_json.containsKey("version")) {
- version = _json["version"];
- }
- }
-
- core.Map<core.String, core.Object> toJson() {
- final core.Map<core.String, core.Object> _json =
- new core.Map<core.String, core.Object>();
- if (version != null) {
- _json["version"] = version;
- }
- return _json;
- }
-}
-
-/// Config for FACE_DETECTION.
-class GoogleCloudVideointelligenceV1FaceDetectionConfig {
- /// Whether to enable face attributes detection, such as glasses,
- /// dark_glasses, mouth_open etc. Ignored if 'include_bounding_boxes' is set
- /// to false.
- core.bool includeAttributes;
-
- /// Whether bounding boxes are included in the face annotation output.
- core.bool includeBoundingBoxes;
-
- /// Model to use for face detection. Supported values: "builtin/stable" (the
- /// default if unset) and "builtin/latest".
- core.String model;
-
- GoogleCloudVideointelligenceV1FaceDetectionConfig();
-
- GoogleCloudVideointelligenceV1FaceDetectionConfig.fromJson(core.Map _json) {
- if (_json.containsKey("includeAttributes")) {
- includeAttributes = _json["includeAttributes"];
- }
- if (_json.containsKey("includeBoundingBoxes")) {
- includeBoundingBoxes = _json["includeBoundingBoxes"];
- }
- if (_json.containsKey("model")) {
- model = _json["model"];
- }
- }
-
- core.Map<core.String, core.Object> toJson() {
- final core.Map<core.String, core.Object> _json =
- new core.Map<core.String, core.Object>();
- if (includeAttributes != null) {
- _json["includeAttributes"] = includeAttributes;
- }
- if (includeBoundingBoxes != null) {
- _json["includeBoundingBoxes"] = includeBoundingBoxes;
- }
- if (model != null) {
- _json["model"] = model;
- }
- return _json;
- }
-}
-
-/// Deprecated. No effect.
-class GoogleCloudVideointelligenceV1FaceFrame {
- /// Normalized Bounding boxes in a frame. There can be more than one boxes if
- /// the same face is detected in multiple locations within the current frame.
- core.List<GoogleCloudVideointelligenceV1NormalizedBoundingBox>
- normalizedBoundingBoxes;
-
- /// Time-offset, relative to the beginning of the video, corresponding to the
- /// video frame for this location.
- core.String timeOffset;
-
- GoogleCloudVideointelligenceV1FaceFrame();
-
- GoogleCloudVideointelligenceV1FaceFrame.fromJson(core.Map _json) {
- if (_json.containsKey("normalizedBoundingBoxes")) {
- normalizedBoundingBoxes = (_json["normalizedBoundingBoxes"] as core.List)
- .map<GoogleCloudVideointelligenceV1NormalizedBoundingBox>((value) =>
- new GoogleCloudVideointelligenceV1NormalizedBoundingBox.fromJson(
- value))
- .toList();
- }
- if (_json.containsKey("timeOffset")) {
- timeOffset = _json["timeOffset"];
- }
- }
-
- core.Map<core.String, core.Object> toJson() {
- final core.Map<core.String, core.Object> _json =
- new core.Map<core.String, core.Object>();
- if (normalizedBoundingBoxes != null) {
- _json["normalizedBoundingBoxes"] =
- normalizedBoundingBoxes.map((value) => (value).toJson()).toList();
- }
- if (timeOffset != null) {
- _json["timeOffset"] = timeOffset;
- }
- return _json;
- }
-}
-
-/// Video segment level annotation results for face detection.
-class GoogleCloudVideointelligenceV1FaceSegment {
- /// Video segment where a face was detected.
- GoogleCloudVideointelligenceV1VideoSegment segment;
-
- GoogleCloudVideointelligenceV1FaceSegment();
-
- GoogleCloudVideointelligenceV1FaceSegment.fromJson(core.Map _json) {
- if (_json.containsKey("segment")) {
- segment = new GoogleCloudVideointelligenceV1VideoSegment.fromJson(
- _json["segment"]);
- }
- }
-
- core.Map<core.String, core.Object> toJson() {
- final core.Map<core.String, core.Object> _json =
- new core.Map<core.String, core.Object>();
- if (segment != null) {
- _json["segment"] = (segment).toJson();
- }
- return _json;
- }
-}
-
/// Label annotation.
class GoogleCloudVideointelligenceV1LabelAnnotation {
/// Common categories for the detected entity. For example, when the label is
@@ -1772,87 +1585,6 @@
}
}
-/// Person detection annotation per video.
-class GoogleCloudVideointelligenceV1PersonDetectionAnnotation {
- /// The detected tracks of a person.
- core.List<GoogleCloudVideointelligenceV1Track> tracks;
-
- /// Feature version.
- core.String version;
-
- GoogleCloudVideointelligenceV1PersonDetectionAnnotation();
-
- GoogleCloudVideointelligenceV1PersonDetectionAnnotation.fromJson(
- core.Map _json) {
- if (_json.containsKey("tracks")) {
- tracks = (_json["tracks"] as core.List)
- .map<GoogleCloudVideointelligenceV1Track>((value) =>
- new GoogleCloudVideointelligenceV1Track.fromJson(value))
- .toList();
- }
- if (_json.containsKey("version")) {
- version = _json["version"];
- }
- }
-
- core.Map<core.String, core.Object> toJson() {
- final core.Map<core.String, core.Object> _json =
- new core.Map<core.String, core.Object>();
- if (tracks != null) {
- _json["tracks"] = tracks.map((value) => (value).toJson()).toList();
- }
- if (version != null) {
- _json["version"] = version;
- }
- return _json;
- }
-}
-
-/// Config for PERSON_DETECTION.
-class GoogleCloudVideointelligenceV1PersonDetectionConfig {
- /// Whether to enable person attributes detection, such as cloth color (black,
- /// blue, etc), type (coat, dress, etc), pattern (plain, floral, etc), hair,
- /// etc. Ignored if 'include_bounding_boxes' is set to false.
- core.bool includeAttributes;
-
- /// Whether bounding boxes are included in the person detection annotation
- /// output.
- core.bool includeBoundingBoxes;
-
- /// Whether to enable pose landmarks detection. Ignored if
- /// 'include_bounding_boxes' is set to false.
- core.bool includePoseLandmarks;
-
- GoogleCloudVideointelligenceV1PersonDetectionConfig();
-
- GoogleCloudVideointelligenceV1PersonDetectionConfig.fromJson(core.Map _json) {
- if (_json.containsKey("includeAttributes")) {
- includeAttributes = _json["includeAttributes"];
- }
- if (_json.containsKey("includeBoundingBoxes")) {
- includeBoundingBoxes = _json["includeBoundingBoxes"];
- }
- if (_json.containsKey("includePoseLandmarks")) {
- includePoseLandmarks = _json["includePoseLandmarks"];
- }
- }
-
- core.Map<core.String, core.Object> toJson() {
- final core.Map<core.String, core.Object> _json =
- new core.Map<core.String, core.Object>();
- if (includeAttributes != null) {
- _json["includeAttributes"] = includeAttributes;
- }
- if (includeBoundingBoxes != null) {
- _json["includeBoundingBoxes"] = includeBoundingBoxes;
- }
- if (includePoseLandmarks != null) {
- _json["includePoseLandmarks"] = includePoseLandmarks;
- }
- return _json;
- }
-}
-
/// Config for SHOT_CHANGE_DETECTION.
class GoogleCloudVideointelligenceV1ShotChangeDetectionConfig {
/// Model to use for shot change detection. Supported values: "builtin/stable"
@@ -2427,12 +2159,10 @@
/// flower.
/// - "SHOT_CHANGE_DETECTION" : Shot change detection.
/// - "EXPLICIT_CONTENT_DETECTION" : Explicit content detection.
- /// - "FACE_DETECTION" : Human face detection.
/// - "SPEECH_TRANSCRIPTION" : Speech transcription.
/// - "TEXT_DETECTION" : OCR text detection and tracking.
/// - "OBJECT_TRACKING" : Object detection and tracking.
/// - "LOGO_RECOGNITION" : Logo detection, tracking, and recognition.
- /// - "PERSON_DETECTION" : Person detection.
core.String feature;
/// Video file location in [Cloud Storage](https://cloud.google.com/storage/).
@@ -2511,13 +2241,6 @@
/// Explicit content annotation.
GoogleCloudVideointelligenceV1ExplicitContentAnnotation explicitAnnotation;
- /// Deprecated. Please use `face_detection_annotations` instead.
- core.List<GoogleCloudVideointelligenceV1FaceAnnotation> faceAnnotations;
-
- /// Face detection annotations.
- core.List<GoogleCloudVideointelligenceV1FaceDetectionAnnotation>
- faceDetectionAnnotations;
-
/// Label annotations on frame level. There is exactly one element for each
/// unique label.
core.List<GoogleCloudVideointelligenceV1LabelAnnotation>
@@ -2534,10 +2257,6 @@
core.List<GoogleCloudVideointelligenceV1ObjectTrackingAnnotation>
objectAnnotations;
- /// Person detection annotations.
- core.List<GoogleCloudVideointelligenceV1PersonDetectionAnnotation>
- personDetectionAnnotations;
-
/// Video segment on which the annotation is run.
GoogleCloudVideointelligenceV1VideoSegment segment;
@@ -2591,20 +2310,6 @@
new GoogleCloudVideointelligenceV1ExplicitContentAnnotation.fromJson(
_json["explicitAnnotation"]);
}
- if (_json.containsKey("faceAnnotations")) {
- faceAnnotations = (_json["faceAnnotations"] as core.List)
- .map<GoogleCloudVideointelligenceV1FaceAnnotation>((value) =>
- new GoogleCloudVideointelligenceV1FaceAnnotation.fromJson(value))
- .toList();
- }
- if (_json.containsKey("faceDetectionAnnotations")) {
- faceDetectionAnnotations = (_json["faceDetectionAnnotations"]
- as core.List)
- .map<GoogleCloudVideointelligenceV1FaceDetectionAnnotation>((value) =>
- new GoogleCloudVideointelligenceV1FaceDetectionAnnotation
- .fromJson(value))
- .toList();
- }
if (_json.containsKey("frameLabelAnnotations")) {
frameLabelAnnotations = (_json["frameLabelAnnotations"] as core.List)
.map<GoogleCloudVideointelligenceV1LabelAnnotation>((value) =>
@@ -2631,15 +2336,6 @@
.fromJson(value))
.toList();
}
- if (_json.containsKey("personDetectionAnnotations")) {
- personDetectionAnnotations = (_json["personDetectionAnnotations"]
- as core.List)
- .map<GoogleCloudVideointelligenceV1PersonDetectionAnnotation>(
- (value) =>
- new GoogleCloudVideointelligenceV1PersonDetectionAnnotation
- .fromJson(value))
- .toList();
- }
if (_json.containsKey("segment")) {
segment = new GoogleCloudVideointelligenceV1VideoSegment.fromJson(
_json["segment"]);
@@ -2700,14 +2396,6 @@
if (explicitAnnotation != null) {
_json["explicitAnnotation"] = (explicitAnnotation).toJson();
}
- if (faceAnnotations != null) {
- _json["faceAnnotations"] =
- faceAnnotations.map((value) => (value).toJson()).toList();
- }
- if (faceDetectionAnnotations != null) {
- _json["faceDetectionAnnotations"] =
- faceDetectionAnnotations.map((value) => (value).toJson()).toList();
- }
if (frameLabelAnnotations != null) {
_json["frameLabelAnnotations"] =
frameLabelAnnotations.map((value) => (value).toJson()).toList();
@@ -2723,10 +2411,6 @@
_json["objectAnnotations"] =
objectAnnotations.map((value) => (value).toJson()).toList();
}
- if (personDetectionAnnotations != null) {
- _json["personDetectionAnnotations"] =
- personDetectionAnnotations.map((value) => (value).toJson()).toList();
- }
if (segment != null) {
_json["segment"] = (segment).toJson();
}
@@ -2770,18 +2454,12 @@
GoogleCloudVideointelligenceV1ExplicitContentDetectionConfig
explicitContentDetectionConfig;
- /// Config for FACE_DETECTION.
- GoogleCloudVideointelligenceV1FaceDetectionConfig faceDetectionConfig;
-
/// Config for LABEL_DETECTION.
GoogleCloudVideointelligenceV1LabelDetectionConfig labelDetectionConfig;
/// Config for OBJECT_TRACKING.
GoogleCloudVideointelligenceV1ObjectTrackingConfig objectTrackingConfig;
- /// Config for PERSON_DETECTION.
- GoogleCloudVideointelligenceV1PersonDetectionConfig personDetectionConfig;
-
/// Video segments to annotate. The segments may overlap and are not required
/// to be contiguous or span the whole video. If unspecified, each video is
/// treated as a single segment.
@@ -2806,11 +2484,6 @@
new GoogleCloudVideointelligenceV1ExplicitContentDetectionConfig
.fromJson(_json["explicitContentDetectionConfig"]);
}
- if (_json.containsKey("faceDetectionConfig")) {
- faceDetectionConfig =
- new GoogleCloudVideointelligenceV1FaceDetectionConfig.fromJson(
- _json["faceDetectionConfig"]);
- }
if (_json.containsKey("labelDetectionConfig")) {
labelDetectionConfig =
new GoogleCloudVideointelligenceV1LabelDetectionConfig.fromJson(
@@ -2821,11 +2494,6 @@
new GoogleCloudVideointelligenceV1ObjectTrackingConfig.fromJson(
_json["objectTrackingConfig"]);
}
- if (_json.containsKey("personDetectionConfig")) {
- personDetectionConfig =
- new GoogleCloudVideointelligenceV1PersonDetectionConfig.fromJson(
- _json["personDetectionConfig"]);
- }
if (_json.containsKey("segments")) {
segments = (_json["segments"] as core.List)
.map<GoogleCloudVideointelligenceV1VideoSegment>((value) =>
@@ -2856,18 +2524,12 @@
_json["explicitContentDetectionConfig"] =
(explicitContentDetectionConfig).toJson();
}
- if (faceDetectionConfig != null) {
- _json["faceDetectionConfig"] = (faceDetectionConfig).toJson();
- }
if (labelDetectionConfig != null) {
_json["labelDetectionConfig"] = (labelDetectionConfig).toJson();
}
if (objectTrackingConfig != null) {
_json["objectTrackingConfig"] = (objectTrackingConfig).toJson();
}
- if (personDetectionConfig != null) {
- _json["personDetectionConfig"] = (personDetectionConfig).toJson();
- }
if (segments != null) {
_json["segments"] = segments.map((value) => (value).toJson()).toList();
}
@@ -3271,151 +2933,6 @@
}
}
-/// Deprecated. No effect.
-class GoogleCloudVideointelligenceV1beta2FaceAnnotation {
- /// All video frames where a face was detected.
- core.List<GoogleCloudVideointelligenceV1beta2FaceFrame> frames;
-
- /// All video segments where a face was detected.
- core.List<GoogleCloudVideointelligenceV1beta2FaceSegment> segments;
-
- /// Thumbnail of a representative face view (in JPEG format).
- core.String thumbnail;
- core.List<core.int> get thumbnailAsBytes {
- return convert.base64.decode(thumbnail);
- }
-
- set thumbnailAsBytes(core.List<core.int> _bytes) {
- thumbnail =
- convert.base64.encode(_bytes).replaceAll("/", "_").replaceAll("+", "-");
- }
-
- GoogleCloudVideointelligenceV1beta2FaceAnnotation();
-
- GoogleCloudVideointelligenceV1beta2FaceAnnotation.fromJson(core.Map _json) {
- if (_json.containsKey("frames")) {
- frames = (_json["frames"] as core.List)
- .map<GoogleCloudVideointelligenceV1beta2FaceFrame>((value) =>
- new GoogleCloudVideointelligenceV1beta2FaceFrame.fromJson(value))
- .toList();
- }
- if (_json.containsKey("segments")) {
- segments = (_json["segments"] as core.List)
- .map<GoogleCloudVideointelligenceV1beta2FaceSegment>((value) =>
- new GoogleCloudVideointelligenceV1beta2FaceSegment.fromJson(
- value))
- .toList();
- }
- if (_json.containsKey("thumbnail")) {
- thumbnail = _json["thumbnail"];
- }
- }
-
- core.Map<core.String, core.Object> toJson() {
- final core.Map<core.String, core.Object> _json =
- new core.Map<core.String, core.Object>();
- if (frames != null) {
- _json["frames"] = frames.map((value) => (value).toJson()).toList();
- }
- if (segments != null) {
- _json["segments"] = segments.map((value) => (value).toJson()).toList();
- }
- if (thumbnail != null) {
- _json["thumbnail"] = thumbnail;
- }
- return _json;
- }
-}
-
-/// Face detection annotation.
-class GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation {
- /// Feature version.
- core.String version;
-
- GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation();
-
- GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation.fromJson(
- core.Map _json) {
- if (_json.containsKey("version")) {
- version = _json["version"];
- }
- }
-
- core.Map<core.String, core.Object> toJson() {
- final core.Map<core.String, core.Object> _json =
- new core.Map<core.String, core.Object>();
- if (version != null) {
- _json["version"] = version;
- }
- return _json;
- }
-}
-
-/// Deprecated. No effect.
-class GoogleCloudVideointelligenceV1beta2FaceFrame {
- /// Normalized Bounding boxes in a frame. There can be more than one boxes if
- /// the same face is detected in multiple locations within the current frame.
- core.List<GoogleCloudVideointelligenceV1beta2NormalizedBoundingBox>
- normalizedBoundingBoxes;
-
- /// Time-offset, relative to the beginning of the video, corresponding to the
- /// video frame for this location.
- core.String timeOffset;
-
- GoogleCloudVideointelligenceV1beta2FaceFrame();
-
- GoogleCloudVideointelligenceV1beta2FaceFrame.fromJson(core.Map _json) {
- if (_json.containsKey("normalizedBoundingBoxes")) {
- normalizedBoundingBoxes = (_json["normalizedBoundingBoxes"] as core.List)
- .map<GoogleCloudVideointelligenceV1beta2NormalizedBoundingBox>(
- (value) =>
- new GoogleCloudVideointelligenceV1beta2NormalizedBoundingBox
- .fromJson(value))
- .toList();
- }
- if (_json.containsKey("timeOffset")) {
- timeOffset = _json["timeOffset"];
- }
- }
-
- core.Map<core.String, core.Object> toJson() {
- final core.Map<core.String, core.Object> _json =
- new core.Map<core.String, core.Object>();
- if (normalizedBoundingBoxes != null) {
- _json["normalizedBoundingBoxes"] =
- normalizedBoundingBoxes.map((value) => (value).toJson()).toList();
- }
- if (timeOffset != null) {
- _json["timeOffset"] = timeOffset;
- }
- return _json;
- }
-}
-
-/// Video segment level annotation results for face detection.
-class GoogleCloudVideointelligenceV1beta2FaceSegment {
- /// Video segment where a face was detected.
- GoogleCloudVideointelligenceV1beta2VideoSegment segment;
-
- GoogleCloudVideointelligenceV1beta2FaceSegment();
-
- GoogleCloudVideointelligenceV1beta2FaceSegment.fromJson(core.Map _json) {
- if (_json.containsKey("segment")) {
- segment = new GoogleCloudVideointelligenceV1beta2VideoSegment.fromJson(
- _json["segment"]);
- }
- }
-
- core.Map<core.String, core.Object> toJson() {
- final core.Map<core.String, core.Object> _json =
- new core.Map<core.String, core.Object>();
- if (segment != null) {
- _json["segment"] = (segment).toJson();
- }
- return _json;
- }
-}
-
/// Label annotation.
class GoogleCloudVideointelligenceV1beta2LabelAnnotation {
/// Common categories for the detected entity. For example, when the label is
@@ -3849,42 +3366,6 @@
}
}
-/// Person detection annotation per video.
-class GoogleCloudVideointelligenceV1beta2PersonDetectionAnnotation {
- /// The detected tracks of a person.
- core.List<GoogleCloudVideointelligenceV1beta2Track> tracks;
-
- /// Feature version.
- core.String version;
-
- GoogleCloudVideointelligenceV1beta2PersonDetectionAnnotation();
-
- GoogleCloudVideointelligenceV1beta2PersonDetectionAnnotation.fromJson(
- core.Map _json) {
- if (_json.containsKey("tracks")) {
- tracks = (_json["tracks"] as core.List)
- .map<GoogleCloudVideointelligenceV1beta2Track>((value) =>
- new GoogleCloudVideointelligenceV1beta2Track.fromJson(value))
- .toList();
- }
- if (_json.containsKey("version")) {
- version = _json["version"];
- }
- }
-
- core.Map<core.String, core.Object> toJson() {
- final core.Map<core.String, core.Object> _json =
- new core.Map<core.String, core.Object>();
- if (tracks != null) {
- _json["tracks"] = tracks.map((value) => (value).toJson()).toList();
- }
- if (version != null) {
- _json["version"] = version;
- }
- return _json;
- }
-}
-
/// Alternative hypotheses (a.k.a. n-best list).
class GoogleCloudVideointelligenceV1beta2SpeechRecognitionAlternative {
/// Output only. The confidence estimate between 0.0 and 1.0. A higher number
@@ -4248,12 +3729,10 @@
/// flower.
/// - "SHOT_CHANGE_DETECTION" : Shot change detection.
/// - "EXPLICIT_CONTENT_DETECTION" : Explicit content detection.
- /// - "FACE_DETECTION" : Human face detection.
/// - "SPEECH_TRANSCRIPTION" : Speech transcription.
/// - "TEXT_DETECTION" : OCR text detection and tracking.
/// - "OBJECT_TRACKING" : Object detection and tracking.
/// - "LOGO_RECOGNITION" : Logo detection, tracking, and recognition.
- /// - "PERSON_DETECTION" : Person detection.
core.String feature;
/// Video file location in [Cloud Storage](https://cloud.google.com/storage/).
@@ -4333,13 +3812,6 @@
GoogleCloudVideointelligenceV1beta2ExplicitContentAnnotation
explicitAnnotation;
- /// Deprecated. Please use `face_detection_annotations` instead.
- core.List<GoogleCloudVideointelligenceV1beta2FaceAnnotation> faceAnnotations;
-
- /// Face detection annotations.
- core.List<GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation>
- faceDetectionAnnotations;
-
/// Label annotations on frame level. There is exactly one element for each
/// unique label.
core.List<GoogleCloudVideointelligenceV1beta2LabelAnnotation>
@@ -4356,10 +3828,6 @@
core.List<GoogleCloudVideointelligenceV1beta2ObjectTrackingAnnotation>
objectAnnotations;
- /// Person detection annotations.
- core.List<GoogleCloudVideointelligenceV1beta2PersonDetectionAnnotation>
- personDetectionAnnotations;
-
/// Video segment on which the annotation is run.
GoogleCloudVideointelligenceV1beta2VideoSegment segment;
@@ -4414,22 +3882,6 @@
new GoogleCloudVideointelligenceV1beta2ExplicitContentAnnotation
.fromJson(_json["explicitAnnotation"]);
}
- if (_json.containsKey("faceAnnotations")) {
- faceAnnotations = (_json["faceAnnotations"] as core.List)
- .map<GoogleCloudVideointelligenceV1beta2FaceAnnotation>((value) =>
- new GoogleCloudVideointelligenceV1beta2FaceAnnotation.fromJson(
- value))
- .toList();
- }
- if (_json.containsKey("faceDetectionAnnotations")) {
- faceDetectionAnnotations = (_json["faceDetectionAnnotations"]
- as core.List)
- .map<GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation>(
- (value) =>
- new GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation
- .fromJson(value))
- .toList();
- }
if (_json.containsKey("frameLabelAnnotations")) {
frameLabelAnnotations = (_json["frameLabelAnnotations"] as core.List)
.map<GoogleCloudVideointelligenceV1beta2LabelAnnotation>((value) =>
@@ -4457,15 +3909,6 @@
.fromJson(value))
.toList();
}
- if (_json.containsKey("personDetectionAnnotations")) {
- personDetectionAnnotations = (_json["personDetectionAnnotations"]
- as core.List)
- .map<GoogleCloudVideointelligenceV1beta2PersonDetectionAnnotation>(
- (value) =>
- new GoogleCloudVideointelligenceV1beta2PersonDetectionAnnotation
- .fromJson(value))
- .toList();
- }
if (_json.containsKey("segment")) {
segment = new GoogleCloudVideointelligenceV1beta2VideoSegment.fromJson(
_json["segment"]);
@@ -4534,14 +3977,6 @@
if (explicitAnnotation != null) {
_json["explicitAnnotation"] = (explicitAnnotation).toJson();
}
- if (faceAnnotations != null) {
- _json["faceAnnotations"] =
- faceAnnotations.map((value) => (value).toJson()).toList();
- }
- if (faceDetectionAnnotations != null) {
- _json["faceDetectionAnnotations"] =
- faceDetectionAnnotations.map((value) => (value).toJson()).toList();
- }
if (frameLabelAnnotations != null) {
_json["frameLabelAnnotations"] =
frameLabelAnnotations.map((value) => (value).toJson()).toList();
@@ -4557,10 +3992,6 @@
_json["objectAnnotations"] =
objectAnnotations.map((value) => (value).toJson()).toList();
}
- if (personDetectionAnnotations != null) {
- _json["personDetectionAnnotations"] =
- personDetectionAnnotations.map((value) => (value).toJson()).toList();
- }
if (segment != null) {
_json["segment"] = (segment).toJson();
}
@@ -4987,152 +4418,6 @@
}
}
-/// Deprecated. No effect.
-class GoogleCloudVideointelligenceV1p1beta1FaceAnnotation {
- /// All video frames where a face was detected.
- core.List<GoogleCloudVideointelligenceV1p1beta1FaceFrame> frames;
-
- /// All video segments where a face was detected.
- core.List<GoogleCloudVideointelligenceV1p1beta1FaceSegment> segments;
-
- /// Thumbnail of a representative face view (in JPEG format).
- core.String thumbnail;
- core.List<core.int> get thumbnailAsBytes {
- return convert.base64.decode(thumbnail);
- }
-
- set thumbnailAsBytes(core.List<core.int> _bytes) {
- thumbnail =
- convert.base64.encode(_bytes).replaceAll("/", "_").replaceAll("+", "-");
- }
-
- GoogleCloudVideointelligenceV1p1beta1FaceAnnotation();
-
- GoogleCloudVideointelligenceV1p1beta1FaceAnnotation.fromJson(core.Map _json) {
- if (_json.containsKey("frames")) {
- frames = (_json["frames"] as core.List)
- .map<GoogleCloudVideointelligenceV1p1beta1FaceFrame>((value) =>
- new GoogleCloudVideointelligenceV1p1beta1FaceFrame.fromJson(
- value))
- .toList();
- }
- if (_json.containsKey("segments")) {
- segments = (_json["segments"] as core.List)
- .map<GoogleCloudVideointelligenceV1p1beta1FaceSegment>((value) =>
- new GoogleCloudVideointelligenceV1p1beta1FaceSegment.fromJson(
- value))
- .toList();
- }
- if (_json.containsKey("thumbnail")) {
- thumbnail = _json["thumbnail"];
- }
- }
-
- core.Map<core.String, core.Object> toJson() {
- final core.Map<core.String, core.Object> _json =
- new core.Map<core.String, core.Object>();
- if (frames != null) {
- _json["frames"] = frames.map((value) => (value).toJson()).toList();
- }
- if (segments != null) {
- _json["segments"] = segments.map((value) => (value).toJson()).toList();
- }
- if (thumbnail != null) {
- _json["thumbnail"] = thumbnail;
- }
- return _json;
- }
-}
-
-/// Face detection annotation.
-class GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation {
- /// Feature version.
- core.String version;
-
- GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation();
-
- GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation.fromJson(
- core.Map _json) {
- if (_json.containsKey("version")) {
- version = _json["version"];
- }
- }
-
- core.Map<core.String, core.Object> toJson() {
- final core.Map<core.String, core.Object> _json =
- new core.Map<core.String, core.Object>();
- if (version != null) {
- _json["version"] = version;
- }
- return _json;
- }
-}
-
-/// Deprecated. No effect.
-class GoogleCloudVideointelligenceV1p1beta1FaceFrame {
- /// Normalized Bounding boxes in a frame. There can be more than one boxes if
- /// the same face is detected in multiple locations within the current frame.
- core.List<GoogleCloudVideointelligenceV1p1beta1NormalizedBoundingBox>
- normalizedBoundingBoxes;
-
- /// Time-offset, relative to the beginning of the video, corresponding to the
- /// video frame for this location.
- core.String timeOffset;
-
- GoogleCloudVideointelligenceV1p1beta1FaceFrame();
-
- GoogleCloudVideointelligenceV1p1beta1FaceFrame.fromJson(core.Map _json) {
- if (_json.containsKey("normalizedBoundingBoxes")) {
- normalizedBoundingBoxes = (_json["normalizedBoundingBoxes"] as core.List)
- .map<GoogleCloudVideointelligenceV1p1beta1NormalizedBoundingBox>(
- (value) =>
- new GoogleCloudVideointelligenceV1p1beta1NormalizedBoundingBox
- .fromJson(value))
- .toList();
- }
- if (_json.containsKey("timeOffset")) {
- timeOffset = _json["timeOffset"];
- }
- }
-
- core.Map<core.String, core.Object> toJson() {
- final core.Map<core.String, core.Object> _json =
- new core.Map<core.String, core.Object>();
- if (normalizedBoundingBoxes != null) {
- _json["normalizedBoundingBoxes"] =
- normalizedBoundingBoxes.map((value) => (value).toJson()).toList();
- }
- if (timeOffset != null) {
- _json["timeOffset"] = timeOffset;
- }
- return _json;
- }
-}
-
-/// Video segment level annotation results for face detection.
-class GoogleCloudVideointelligenceV1p1beta1FaceSegment {
- /// Video segment where a face was detected.
- GoogleCloudVideointelligenceV1p1beta1VideoSegment segment;
-
- GoogleCloudVideointelligenceV1p1beta1FaceSegment();
-
- GoogleCloudVideointelligenceV1p1beta1FaceSegment.fromJson(core.Map _json) {
- if (_json.containsKey("segment")) {
- segment = new GoogleCloudVideointelligenceV1p1beta1VideoSegment.fromJson(
- _json["segment"]);
- }
- }
-
- core.Map<core.String, core.Object> toJson() {
- final core.Map<core.String, core.Object> _json =
- new core.Map<core.String, core.Object>();
- if (segment != null) {
- _json["segment"] = (segment).toJson();
- }
- return _json;
- }
-}
-
/// Label annotation.
class GoogleCloudVideointelligenceV1p1beta1LabelAnnotation {
/// Common categories for the detected entity. For example, when the label is
@@ -5569,42 +4854,6 @@
}
}
-/// Person detection annotation per video.
-class GoogleCloudVideointelligenceV1p1beta1PersonDetectionAnnotation {
- /// The detected tracks of a person.
- core.List<GoogleCloudVideointelligenceV1p1beta1Track> tracks;
-
- /// Feature version.
- core.String version;
-
- GoogleCloudVideointelligenceV1p1beta1PersonDetectionAnnotation();
-
- GoogleCloudVideointelligenceV1p1beta1PersonDetectionAnnotation.fromJson(
- core.Map _json) {
- if (_json.containsKey("tracks")) {
- tracks = (_json["tracks"] as core.List)
- .map<GoogleCloudVideointelligenceV1p1beta1Track>((value) =>
- new GoogleCloudVideointelligenceV1p1beta1Track.fromJson(value))
- .toList();
- }
- if (_json.containsKey("version")) {
- version = _json["version"];
- }
- }
-
- core.Map<core.String, core.Object> toJson() {
- final core.Map<core.String, core.Object> _json =
- new core.Map<core.String, core.Object>();
- if (tracks != null) {
- _json["tracks"] = tracks.map((value) => (value).toJson()).toList();
- }
- if (version != null) {
- _json["version"] = version;
- }
- return _json;
- }
-}
-
/// Alternative hypotheses (a.k.a. n-best list).
class GoogleCloudVideointelligenceV1p1beta1SpeechRecognitionAlternative {
/// Output only. The confidence estimate between 0.0 and 1.0. A higher number
@@ -5973,12 +5222,10 @@
/// flower.
/// - "SHOT_CHANGE_DETECTION" : Shot change detection.
/// - "EXPLICIT_CONTENT_DETECTION" : Explicit content detection.
- /// - "FACE_DETECTION" : Human face detection.
/// - "SPEECH_TRANSCRIPTION" : Speech transcription.
/// - "TEXT_DETECTION" : OCR text detection and tracking.
/// - "OBJECT_TRACKING" : Object detection and tracking.
/// - "LOGO_RECOGNITION" : Logo detection, tracking, and recognition.
- /// - "PERSON_DETECTION" : Person detection.
core.String feature;
/// Video file location in [Cloud Storage](https://cloud.google.com/storage/).
@@ -6058,14 +5305,6 @@
GoogleCloudVideointelligenceV1p1beta1ExplicitContentAnnotation
explicitAnnotation;
- /// Deprecated. Please use `face_detection_annotations` instead.
- core.List<GoogleCloudVideointelligenceV1p1beta1FaceAnnotation>
- faceAnnotations;
-
- /// Face detection annotations.
- core.List<GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation>
- faceDetectionAnnotations;
-
/// Label annotations on frame level. There is exactly one element for each
/// unique label.
core.List<GoogleCloudVideointelligenceV1p1beta1LabelAnnotation>
@@ -6082,10 +5321,6 @@
core.List<GoogleCloudVideointelligenceV1p1beta1ObjectTrackingAnnotation>
objectAnnotations;
- /// Person detection annotations.
- core.List<GoogleCloudVideointelligenceV1p1beta1PersonDetectionAnnotation>
- personDetectionAnnotations;
-
/// Video segment on which the annotation is run.
GoogleCloudVideointelligenceV1p1beta1VideoSegment segment;
@@ -6141,22 +5376,6 @@
new GoogleCloudVideointelligenceV1p1beta1ExplicitContentAnnotation
.fromJson(_json["explicitAnnotation"]);
}
- if (_json.containsKey("faceAnnotations")) {
- faceAnnotations = (_json["faceAnnotations"] as core.List)
- .map<GoogleCloudVideointelligenceV1p1beta1FaceAnnotation>((value) =>
- new GoogleCloudVideointelligenceV1p1beta1FaceAnnotation.fromJson(
- value))
- .toList();
- }
- if (_json.containsKey("faceDetectionAnnotations")) {
- faceDetectionAnnotations = (_json["faceDetectionAnnotations"]
- as core.List)
- .map<GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation>(
- (value) =>
- new GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation
- .fromJson(value))
- .toList();
- }
if (_json.containsKey("frameLabelAnnotations")) {
frameLabelAnnotations = (_json["frameLabelAnnotations"] as core.List)
.map<GoogleCloudVideointelligenceV1p1beta1LabelAnnotation>((value) =>
@@ -6184,15 +5403,6 @@
.fromJson(value))
.toList();
}
- if (_json.containsKey("personDetectionAnnotations")) {
- personDetectionAnnotations = (_json["personDetectionAnnotations"]
- as core.List)
- .map<GoogleCloudVideointelligenceV1p1beta1PersonDetectionAnnotation>(
- (value) =>
- new GoogleCloudVideointelligenceV1p1beta1PersonDetectionAnnotation
- .fromJson(value))
- .toList();
- }
if (_json.containsKey("segment")) {
segment = new GoogleCloudVideointelligenceV1p1beta1VideoSegment.fromJson(
_json["segment"]);
@@ -6261,14 +5471,6 @@
if (explicitAnnotation != null) {
_json["explicitAnnotation"] = (explicitAnnotation).toJson();
}
- if (faceAnnotations != null) {
- _json["faceAnnotations"] =
- faceAnnotations.map((value) => (value).toJson()).toList();
- }
- if (faceDetectionAnnotations != null) {
- _json["faceDetectionAnnotations"] =
- faceDetectionAnnotations.map((value) => (value).toJson()).toList();
- }
if (frameLabelAnnotations != null) {
_json["frameLabelAnnotations"] =
frameLabelAnnotations.map((value) => (value).toJson()).toList();
@@ -6284,10 +5486,6 @@
_json["objectAnnotations"] =
objectAnnotations.map((value) => (value).toJson()).toList();
}
- if (personDetectionAnnotations != null) {
- _json["personDetectionAnnotations"] =
- personDetectionAnnotations.map((value) => (value).toJson()).toList();
- }
if (segment != null) {
_json["segment"] = (segment).toJson();
}
@@ -6714,152 +5912,6 @@
}
}
-/// Deprecated. No effect.
-class GoogleCloudVideointelligenceV1p2beta1FaceAnnotation {
- /// All video frames where a face was detected.
- core.List<GoogleCloudVideointelligenceV1p2beta1FaceFrame> frames;
-
- /// All video segments where a face was detected.
- core.List<GoogleCloudVideointelligenceV1p2beta1FaceSegment> segments;
-
- /// Thumbnail of a representative face view (in JPEG format).
- core.String thumbnail;
- core.List<core.int> get thumbnailAsBytes {
- return convert.base64.decode(thumbnail);
- }
-
- set thumbnailAsBytes(core.List<core.int> _bytes) {
- thumbnail =
- convert.base64.encode(_bytes).replaceAll("/", "_").replaceAll("+", "-");
- }
-
- GoogleCloudVideointelligenceV1p2beta1FaceAnnotation();
-
- GoogleCloudVideointelligenceV1p2beta1FaceAnnotation.fromJson(core.Map _json) {
- if (_json.containsKey("frames")) {
- frames = (_json["frames"] as core.List)
- .map<GoogleCloudVideointelligenceV1p2beta1FaceFrame>((value) =>
- new GoogleCloudVideointelligenceV1p2beta1FaceFrame.fromJson(
- value))
- .toList();
- }
- if (_json.containsKey("segments")) {
- segments = (_json["segments"] as core.List)
- .map<GoogleCloudVideointelligenceV1p2beta1FaceSegment>((value) =>
- new GoogleCloudVideointelligenceV1p2beta1FaceSegment.fromJson(
- value))
- .toList();
- }
- if (_json.containsKey("thumbnail")) {
- thumbnail = _json["thumbnail"];
- }
- }
-
- core.Map<core.String, core.Object> toJson() {
- final core.Map<core.String, core.Object> _json =
- new core.Map<core.String, core.Object>();
- if (frames != null) {
- _json["frames"] = frames.map((value) => (value).toJson()).toList();
- }
- if (segments != null) {
- _json["segments"] = segments.map((value) => (value).toJson()).toList();
- }
- if (thumbnail != null) {
- _json["thumbnail"] = thumbnail;
- }
- return _json;
- }
-}
-
-/// Face detection annotation.
-class GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation {
- /// Feature version.
- core.String version;
-
- GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation();
-
- GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation.fromJson(
- core.Map _json) {
- if (_json.containsKey("version")) {
- version = _json["version"];
- }
- }
-
- core.Map<core.String, core.Object> toJson() {
- final core.Map<core.String, core.Object> _json =
- new core.Map<core.String, core.Object>();
- if (version != null) {
- _json["version"] = version;
- }
- return _json;
- }
-}
-
-/// Deprecated. No effect.
-class GoogleCloudVideointelligenceV1p2beta1FaceFrame {
- /// Normalized Bounding boxes in a frame. There can be more than one boxes if
- /// the same face is detected in multiple locations within the current frame.
- core.List<GoogleCloudVideointelligenceV1p2beta1NormalizedBoundingBox>
- normalizedBoundingBoxes;
-
- /// Time-offset, relative to the beginning of the video, corresponding to the
- /// video frame for this location.
- core.String timeOffset;
-
- GoogleCloudVideointelligenceV1p2beta1FaceFrame();
-
- GoogleCloudVideointelligenceV1p2beta1FaceFrame.fromJson(core.Map _json) {
- if (_json.containsKey("normalizedBoundingBoxes")) {
- normalizedBoundingBoxes = (_json["normalizedBoundingBoxes"] as core.List)
- .map<GoogleCloudVideointelligenceV1p2beta1NormalizedBoundingBox>(
- (value) =>
- new GoogleCloudVideointelligenceV1p2beta1NormalizedBoundingBox
- .fromJson(value))
- .toList();
- }
- if (_json.containsKey("timeOffset")) {
- timeOffset = _json["timeOffset"];
- }
- }
-
- core.Map<core.String, core.Object> toJson() {
- final core.Map<core.String, core.Object> _json =
- new core.Map<core.String, core.Object>();
- if (normalizedBoundingBoxes != null) {
- _json["normalizedBoundingBoxes"] =
- normalizedBoundingBoxes.map((value) => (value).toJson()).toList();
- }
- if (timeOffset != null) {
- _json["timeOffset"] = timeOffset;
- }
- return _json;
- }
-}
-
-/// Video segment level annotation results for face detection.
-class GoogleCloudVideointelligenceV1p2beta1FaceSegment {
- /// Video segment where a face was detected.
- GoogleCloudVideointelligenceV1p2beta1VideoSegment segment;
-
- GoogleCloudVideointelligenceV1p2beta1FaceSegment();
-
- GoogleCloudVideointelligenceV1p2beta1FaceSegment.fromJson(core.Map _json) {
- if (_json.containsKey("segment")) {
- segment = new GoogleCloudVideointelligenceV1p2beta1VideoSegment.fromJson(
- _json["segment"]);
- }
- }
-
- core.Map<core.String, core.Object> toJson() {
- final core.Map<core.String, core.Object> _json =
- new core.Map<core.String, core.Object>();
- if (segment != null) {
- _json["segment"] = (segment).toJson();
- }
- return _json;
- }
-}
-
/// Label annotation.
class GoogleCloudVideointelligenceV1p2beta1LabelAnnotation {
/// Common categories for the detected entity. For example, when the label is
@@ -7296,42 +6348,6 @@
}
}
-/// Person detection annotation per video.
-class GoogleCloudVideointelligenceV1p2beta1PersonDetectionAnnotation {
- /// The detected tracks of a person.
- core.List<GoogleCloudVideointelligenceV1p2beta1Track> tracks;
-
- /// Feature version.
- core.String version;
-
- GoogleCloudVideointelligenceV1p2beta1PersonDetectionAnnotation();
-
- GoogleCloudVideointelligenceV1p2beta1PersonDetectionAnnotation.fromJson(
- core.Map _json) {
- if (_json.containsKey("tracks")) {
- tracks = (_json["tracks"] as core.List)
- .map<GoogleCloudVideointelligenceV1p2beta1Track>((value) =>
- new GoogleCloudVideointelligenceV1p2beta1Track.fromJson(value))
- .toList();
- }
- if (_json.containsKey("version")) {
- version = _json["version"];
- }
- }
-
- core.Map<core.String, core.Object> toJson() {
- final core.Map<core.String, core.Object> _json =
- new core.Map<core.String, core.Object>();
- if (tracks != null) {
- _json["tracks"] = tracks.map((value) => (value).toJson()).toList();
- }
- if (version != null) {
- _json["version"] = version;
- }
- return _json;
- }
-}
-
/// Alternative hypotheses (a.k.a. n-best list).
class GoogleCloudVideointelligenceV1p2beta1SpeechRecognitionAlternative {
/// Output only. The confidence estimate between 0.0 and 1.0. A higher number
@@ -7700,12 +6716,10 @@
/// flower.
/// - "SHOT_CHANGE_DETECTION" : Shot change detection.
/// - "EXPLICIT_CONTENT_DETECTION" : Explicit content detection.
- /// - "FACE_DETECTION" : Human face detection.
/// - "SPEECH_TRANSCRIPTION" : Speech transcription.
/// - "TEXT_DETECTION" : OCR text detection and tracking.
/// - "OBJECT_TRACKING" : Object detection and tracking.
/// - "LOGO_RECOGNITION" : Logo detection, tracking, and recognition.
- /// - "PERSON_DETECTION" : Person detection.
core.String feature;
/// Video file location in [Cloud Storage](https://cloud.google.com/storage/).
@@ -7785,14 +6799,6 @@
GoogleCloudVideointelligenceV1p2beta1ExplicitContentAnnotation
explicitAnnotation;
- /// Deprecated. Please use `face_detection_annotations` instead.
- core.List<GoogleCloudVideointelligenceV1p2beta1FaceAnnotation>
- faceAnnotations;
-
- /// Face detection annotations.
- core.List<GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation>
- faceDetectionAnnotations;
-
/// Label annotations on frame level. There is exactly one element for each
/// unique label.
core.List<GoogleCloudVideointelligenceV1p2beta1LabelAnnotation>
@@ -7809,10 +6815,6 @@
core.List<GoogleCloudVideointelligenceV1p2beta1ObjectTrackingAnnotation>
objectAnnotations;
- /// Person detection annotations.
- core.List<GoogleCloudVideointelligenceV1p2beta1PersonDetectionAnnotation>
- personDetectionAnnotations;
-
/// Video segment on which the annotation is run.
GoogleCloudVideointelligenceV1p2beta1VideoSegment segment;
@@ -7868,22 +6870,6 @@
new GoogleCloudVideointelligenceV1p2beta1ExplicitContentAnnotation
.fromJson(_json["explicitAnnotation"]);
}
- if (_json.containsKey("faceAnnotations")) {
- faceAnnotations = (_json["faceAnnotations"] as core.List)
- .map<GoogleCloudVideointelligenceV1p2beta1FaceAnnotation>((value) =>
- new GoogleCloudVideointelligenceV1p2beta1FaceAnnotation.fromJson(
- value))
- .toList();
- }
- if (_json.containsKey("faceDetectionAnnotations")) {
- faceDetectionAnnotations = (_json["faceDetectionAnnotations"]
- as core.List)
- .map<GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation>(
- (value) =>
- new GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation
- .fromJson(value))
- .toList();
- }
if (_json.containsKey("frameLabelAnnotations")) {
frameLabelAnnotations = (_json["frameLabelAnnotations"] as core.List)
.map<GoogleCloudVideointelligenceV1p2beta1LabelAnnotation>((value) =>
@@ -7911,15 +6897,6 @@
.fromJson(value))
.toList();
}
- if (_json.containsKey("personDetectionAnnotations")) {
- personDetectionAnnotations = (_json["personDetectionAnnotations"]
- as core.List)
- .map<GoogleCloudVideointelligenceV1p2beta1PersonDetectionAnnotation>(
- (value) =>
- new GoogleCloudVideointelligenceV1p2beta1PersonDetectionAnnotation
- .fromJson(value))
- .toList();
- }
if (_json.containsKey("segment")) {
segment = new GoogleCloudVideointelligenceV1p2beta1VideoSegment.fromJson(
_json["segment"]);
@@ -7988,14 +6965,6 @@
if (explicitAnnotation != null) {
_json["explicitAnnotation"] = (explicitAnnotation).toJson();
}
- if (faceAnnotations != null) {
- _json["faceAnnotations"] =
- faceAnnotations.map((value) => (value).toJson()).toList();
- }
- if (faceDetectionAnnotations != null) {
- _json["faceDetectionAnnotations"] =
- faceDetectionAnnotations.map((value) => (value).toJson()).toList();
- }
if (frameLabelAnnotations != null) {
_json["frameLabelAnnotations"] =
frameLabelAnnotations.map((value) => (value).toJson()).toList();
@@ -8011,10 +6980,6 @@
_json["objectAnnotations"] =
objectAnnotations.map((value) => (value).toJson()).toList();
}
- if (personDetectionAnnotations != null) {
- _json["personDetectionAnnotations"] =
- personDetectionAnnotations.map((value) => (value).toJson()).toList();
- }
if (segment != null) {
_json["segment"] = (segment).toJson();
}
@@ -8567,15 +7532,9 @@
}
}
-/// Deprecated. No effect.
-class GoogleCloudVideointelligenceV1p3beta1FaceAnnotation {
- /// All video frames where a face was detected.
- core.List<GoogleCloudVideointelligenceV1p3beta1FaceFrame> frames;
-
- /// All video segments where a face was detected.
- core.List<GoogleCloudVideointelligenceV1p3beta1FaceSegment> segments;
-
- /// Thumbnail of a representative face view (in JPEG format).
+/// Face detection annotation.
+class GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation {
+ /// The thumbnail of a person's face.
core.String thumbnail;
core.List<core.int> get thumbnailAsBytes {
return convert.base64.decode(thumbnail);
@@ -8586,46 +7545,9 @@
convert.base64.encode(_bytes).replaceAll("/", "_").replaceAll("+", "-");
}
- GoogleCloudVideointelligenceV1p3beta1FaceAnnotation();
+ /// The face tracks with attributes.
+ core.List<GoogleCloudVideointelligenceV1p3beta1Track> tracks;
- GoogleCloudVideointelligenceV1p3beta1FaceAnnotation.fromJson(core.Map _json) {
- if (_json.containsKey("frames")) {
- frames = (_json["frames"] as core.List)
- .map<GoogleCloudVideointelligenceV1p3beta1FaceFrame>((value) =>
- new GoogleCloudVideointelligenceV1p3beta1FaceFrame.fromJson(
- value))
- .toList();
- }
- if (_json.containsKey("segments")) {
- segments = (_json["segments"] as core.List)
- .map<GoogleCloudVideointelligenceV1p3beta1FaceSegment>((value) =>
- new GoogleCloudVideointelligenceV1p3beta1FaceSegment.fromJson(
- value))
- .toList();
- }
- if (_json.containsKey("thumbnail")) {
- thumbnail = _json["thumbnail"];
- }
- }
-
- core.Map<core.String, core.Object> toJson() {
- final core.Map<core.String, core.Object> _json =
- new core.Map<core.String, core.Object>();
- if (frames != null) {
- _json["frames"] = frames.map((value) => (value).toJson()).toList();
- }
- if (segments != null) {
- _json["segments"] = segments.map((value) => (value).toJson()).toList();
- }
- if (thumbnail != null) {
- _json["thumbnail"] = thumbnail;
- }
- return _json;
- }
-}
-
-/// Face detection annotation.
-class GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation {
/// Feature version.
core.String version;
@@ -8633,6 +7555,15 @@
GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation.fromJson(
core.Map _json) {
+ if (_json.containsKey("thumbnail")) {
+ thumbnail = _json["thumbnail"];
+ }
+ if (_json.containsKey("tracks")) {
+ tracks = (_json["tracks"] as core.List)
+ .map<GoogleCloudVideointelligenceV1p3beta1Track>((value) =>
+ new GoogleCloudVideointelligenceV1p3beta1Track.fromJson(value))
+ .toList();
+ }
if (_json.containsKey("version")) {
version = _json["version"];
}
@@ -8641,6 +7572,12 @@
core.Map<core.String, core.Object> toJson() {
final core.Map<core.String, core.Object> _json =
new core.Map<core.String, core.Object>();
+ if (thumbnail != null) {
+ _json["thumbnail"] = thumbnail;
+ }
+ if (tracks != null) {
+ _json["tracks"] = tracks.map((value) => (value).toJson()).toList();
+ }
if (version != null) {
_json["version"] = version;
}
@@ -8648,71 +7585,6 @@
}
}
-/// Deprecated. No effect.
-class GoogleCloudVideointelligenceV1p3beta1FaceFrame {
- /// Normalized Bounding boxes in a frame. There can be more than one boxes if
- /// the same face is detected in multiple locations within the current frame.
- core.List<GoogleCloudVideointelligenceV1p3beta1NormalizedBoundingBox>
- normalizedBoundingBoxes;
-
- /// Time-offset, relative to the beginning of the video, corresponding to the
- /// video frame for this location.
- core.String timeOffset;
-
- GoogleCloudVideointelligenceV1p3beta1FaceFrame();
-
- GoogleCloudVideointelligenceV1p3beta1FaceFrame.fromJson(core.Map _json) {
- if (_json.containsKey("normalizedBoundingBoxes")) {
- normalizedBoundingBoxes = (_json["normalizedBoundingBoxes"] as core.List)
- .map<GoogleCloudVideointelligenceV1p3beta1NormalizedBoundingBox>(
- (value) =>
- new GoogleCloudVideointelligenceV1p3beta1NormalizedBoundingBox
- .fromJson(value))
- .toList();
- }
- if (_json.containsKey("timeOffset")) {
- timeOffset = _json["timeOffset"];
- }
- }
-
- core.Map<core.String, core.Object> toJson() {
- final core.Map<core.String, core.Object> _json =
- new core.Map<core.String, core.Object>();
- if (normalizedBoundingBoxes != null) {
- _json["normalizedBoundingBoxes"] =
- normalizedBoundingBoxes.map((value) => (value).toJson()).toList();
- }
- if (timeOffset != null) {
- _json["timeOffset"] = timeOffset;
- }
- return _json;
- }
-}
-
-/// Video segment level annotation results for face detection.
-class GoogleCloudVideointelligenceV1p3beta1FaceSegment {
- /// Video segment where a face was detected.
- GoogleCloudVideointelligenceV1p3beta1VideoSegment segment;
-
- GoogleCloudVideointelligenceV1p3beta1FaceSegment();
-
- GoogleCloudVideointelligenceV1p3beta1FaceSegment.fromJson(core.Map _json) {
- if (_json.containsKey("segment")) {
- segment = new GoogleCloudVideointelligenceV1p3beta1VideoSegment.fromJson(
- _json["segment"]);
- }
- }
-
- core.Map<core.String, core.Object> toJson() {
- final core.Map<core.String, core.Object> _json =
- new core.Map<core.String, core.Object>();
- if (segment != null) {
- _json["segment"] = (segment).toJson();
- }
- return _json;
- }
-}
-
/// Label annotation.
class GoogleCloudVideointelligenceV1p3beta1LabelAnnotation {
/// Common categories for the detected entity. For example, when the label is
@@ -9367,16 +8239,12 @@
}
/// Streaming annotation results corresponding to a portion of the video that is
-/// currently being processed. Only ONE type of annotation will be specified in
-/// the response.
+/// currently being processed.
class GoogleCloudVideointelligenceV1p3beta1StreamingVideoAnnotationResults {
/// Explicit content annotation results.
GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation
explicitAnnotation;
- /// Timestamp of the processed frame in microseconds.
- core.String frameTimestamp;
-
/// Label annotation results.
core.List<GoogleCloudVideointelligenceV1p3beta1LabelAnnotation>
labelAnnotations;
@@ -9397,9 +8265,6 @@
new GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation
.fromJson(_json["explicitAnnotation"]);
}
- if (_json.containsKey("frameTimestamp")) {
- frameTimestamp = _json["frameTimestamp"];
- }
if (_json.containsKey("labelAnnotations")) {
labelAnnotations = (_json["labelAnnotations"] as core.List)
.map<GoogleCloudVideointelligenceV1p3beta1LabelAnnotation>((value) =>
@@ -9430,9 +8295,6 @@
if (explicitAnnotation != null) {
_json["explicitAnnotation"] = (explicitAnnotation).toJson();
}
- if (frameTimestamp != null) {
- _json["frameTimestamp"] = frameTimestamp;
- }
if (labelAnnotations != null) {
_json["labelAnnotations"] =
labelAnnotations.map((value) => (value).toJson()).toList();
@@ -9810,10 +8672,6 @@
GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation
explicitAnnotation;
- /// Deprecated. Please use `face_detection_annotations` instead.
- core.List<GoogleCloudVideointelligenceV1p3beta1FaceAnnotation>
- faceAnnotations;
-
/// Face detection annotations.
core.List<GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation>
faceDetectionAnnotations;
@@ -9898,13 +8756,6 @@
new GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation
.fromJson(_json["explicitAnnotation"]);
}
- if (_json.containsKey("faceAnnotations")) {
- faceAnnotations = (_json["faceAnnotations"] as core.List)
- .map<GoogleCloudVideointelligenceV1p3beta1FaceAnnotation>((value) =>
- new GoogleCloudVideointelligenceV1p3beta1FaceAnnotation.fromJson(
- value))
- .toList();
- }
if (_json.containsKey("faceDetectionAnnotations")) {
faceDetectionAnnotations = (_json["faceDetectionAnnotations"]
as core.List)
@@ -10022,10 +8873,6 @@
if (explicitAnnotation != null) {
_json["explicitAnnotation"] = (explicitAnnotation).toJson();
}
- if (faceAnnotations != null) {
- _json["faceAnnotations"] =
- faceAnnotations.map((value) => (value).toJson()).toList();
- }
if (faceDetectionAnnotations != null) {
_json["faceDetectionAnnotations"] =
faceDetectionAnnotations.map((value) => (value).toJson()).toList();
diff --git a/generated/googleapis/lib/vision/v1.dart b/generated/googleapis/lib/vision/v1.dart
index 04bb301..a793ab1 100644
--- a/generated/googleapis/lib/vision/v1.dart
+++ b/generated/googleapis/lib/vision/v1.dart
@@ -480,10 +480,10 @@
///
/// [pageToken] - The standard list page token.
///
- /// [pageSize] - The standard list page size.
- ///
/// [filter] - The standard list filter.
///
+ /// [pageSize] - The standard list page size.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -496,8 +496,8 @@
/// 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 $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -512,12 +512,12 @@
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
if (filter != null) {
_queryParams["filter"] = [filter];
}
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -1606,12 +1606,12 @@
/// Value must have pattern
/// "^projects/[^/]+/locations/[^/]+/productSets/[^/]+$".
///
- /// [pageToken] - The next_page_token returned from a previous List request,
- /// if any.
- ///
/// [pageSize] - The maximum number of items to return. Default 10, maximum
/// 100.
///
+ /// [pageToken] - The next_page_token returned from a previous List request,
+ /// if any.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1623,7 +1623,7 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<ListProductsInProductSetResponse> list(core.String name,
- {core.String pageToken, core.int pageSize, core.String $fields}) {
+ {core.int pageSize, core.String pageToken, core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -1634,12 +1634,12 @@
if (name == null) {
throw new 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];
}
@@ -1830,12 +1830,12 @@
/// be listed. Format: `projects/PROJECT_ID/locations/LOC_ID`
/// Value must have pattern "^projects/[^/]+/locations/[^/]+$".
///
- /// [pageToken] - The next_page_token returned from a previous List request,
- /// if any.
- ///
/// [pageSize] - The maximum number of items to return. Default 10, maximum
/// 100.
///
+ /// [pageToken] - The next_page_token returned from a previous List request,
+ /// if any.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1847,7 +1847,7 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<ListProductsResponse> list(core.String parent,
- {core.String pageToken, core.int pageSize, core.String $fields}) {
+ {core.int pageSize, core.String pageToken, core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -1858,12 +1858,12 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -2204,13 +2204,13 @@
/// `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID`.
/// Value must have pattern "^projects/[^/]+/locations/[^/]+/products/[^/]+$".
///
+ /// [pageSize] - The maximum number of items to return. Default 10, maximum
+ /// 100.
+ ///
/// [pageToken] - A token identifying a page of results to be returned. This
/// is the value of `nextPageToken` returned in a previous reference image
/// list request. Defaults to the first page if not specified.
///
- /// [pageSize] - The maximum number of items to return. Default 10, maximum
- /// 100.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -2222,7 +2222,7 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<ListReferenceImagesResponse> list(core.String parent,
- {core.String pageToken, core.int pageSize, core.String $fields}) {
+ {core.int pageSize, core.String pageToken, core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -2233,12 +2233,12 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
diff --git a/generated/googleapis/lib/websecurityscanner/v1.dart b/generated/googleapis/lib/websecurityscanner/v1.dart
index dfc0eb7..6705d8f 100644
--- a/generated/googleapis/lib/websecurityscanner/v1.dart
+++ b/generated/googleapis/lib/websecurityscanner/v1.dart
@@ -202,14 +202,14 @@
/// resource name in the format 'projects/{projectId}'.
/// Value must have pattern "^projects/[^/]+$".
///
- /// [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 ScanConfigs 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.
///
@@ -221,7 +221,7 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<ListScanConfigsResponse> list(core.String parent,
- {core.String pageToken, core.int pageSize, core.String $fields}) {
+ {core.int pageSize, core.String pageToken, core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -232,12 +232,12 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -434,14 +434,14 @@
/// 'projects/{projectId}/scanConfigs/{scanConfigId}'.
/// Value must have pattern "^projects/[^/]+/scanConfigs/[^/]+$".
///
- /// [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 ScanRuns 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.
///
@@ -453,7 +453,7 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<ListScanRunsResponse> list(core.String parent,
- {core.String pageToken, core.int pageSize, core.String $fields}) {
+ {core.int pageSize, core.String pageToken, core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -464,12 +464,12 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -555,14 +555,14 @@
/// Value must have pattern
/// "^projects/[^/]+/scanConfigs/[^/]+/scanRuns/[^/]+$".
///
- /// [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.
///
+ /// [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.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -574,7 +574,7 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<ListCrawledUrlsResponse> list(core.String parent,
- {core.int pageSize, core.String pageToken, core.String $fields}) {
+ {core.String pageToken, core.int pageSize, core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -585,12 +585,12 @@
if (parent == null) {
throw new core.ArgumentError("Parameter parent is required.");
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -729,10 +729,6 @@
/// 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 Findings to return, can be limited by
/// server. If not specified or not positive, the implementation will select a
/// reasonable value.
@@ -740,6 +736,10 @@
/// [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.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -751,9 +751,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<ListFindingsResponse> list(core.String parent,
- {core.String pageToken,
- core.int pageSize,
+ {core.int pageSize,
core.String filter,
+ core.String pageToken,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -765,15 +765,15 @@
if (parent == null) {
throw new 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 (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
diff --git a/generated/googleapis/lib/youtube/v3.dart b/generated/googleapis/lib/youtube/v3.dart
index 870b2c9..cc15f9e 100644
--- a/generated/googleapis/lib/youtube/v3.dart
+++ b/generated/googleapis/lib/youtube/v3.dart
@@ -191,25 +191,25 @@
/// forth. If you set *part=snippet*, the API response will also contain all
/// of those nested properties.
///
- /// [home] - null
+ /// [publishedAfter] - null
///
/// [mine] - null
///
- /// [regionCode] - null
+ /// [channelId] - 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
+ ///
/// [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.
///
- /// [channelId] - null
- ///
- /// [publishedAfter] - null
- ///
- /// [maxResults] - The *maxResults* parameter specifies the maximum number of
- /// items that should be returned in the result set.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -221,14 +221,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<ActivityListResponse> list(core.List<core.String> part,
- {core.bool home,
+ {core.String publishedAfter,
core.bool mine,
- core.String regionCode,
- core.String publishedBefore,
- core.String pageToken,
core.String channelId,
- core.String publishedAfter,
core.int maxResults,
+ core.String publishedBefore,
+ core.String regionCode,
+ core.bool home,
+ core.String pageToken,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -241,30 +241,30 @@
throw new core.ArgumentError("Parameter part is required.");
}
_queryParams["part"] = part;
- if (home != null) {
- _queryParams["home"] = ["${home}"];
+ if (publishedAfter != null) {
+ _queryParams["publishedAfter"] = [publishedAfter];
}
if (mine != null) {
_queryParams["mine"] = ["${mine}"];
}
- if (regionCode != null) {
- _queryParams["regionCode"] = [regionCode];
+ if (channelId != null) {
+ _queryParams["channelId"] = [channelId];
+ }
+ if (maxResults != null) {
+ _queryParams["maxResults"] = ["${maxResults}"];
}
if (publishedBefore != null) {
_queryParams["publishedBefore"] = [publishedBefore];
}
+ if (regionCode != null) {
+ _queryParams["regionCode"] = [regionCode];
+ }
+ if (home != null) {
+ _queryParams["home"] = ["${home}"];
+ }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
- if (channelId != null) {
- _queryParams["channelId"] = [channelId];
- }
- if (publishedAfter != null) {
- _queryParams["publishedAfter"] = [publishedAfter];
- }
- if (maxResults != null) {
- _queryParams["maxResults"] = ["${maxResults}"];
- }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -292,6 +292,9 @@
///
/// [id] - null
///
+ /// [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
@@ -303,9 +306,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
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -315,8 +315,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 delete(core.String id,
- {core.String onBehalfOfContentOwner,
- core.String onBehalfOf,
+ {core.String onBehalfOf,
+ core.String onBehalfOfContentOwner,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -329,12 +329,12 @@
throw new core.ArgumentError("Parameter id is required.");
}
_queryParams["id"] = [id];
- if (onBehalfOfContentOwner != null) {
- _queryParams["onBehalfOfContentOwner"] = [onBehalfOfContentOwner];
- }
if (onBehalfOf != null) {
_queryParams["onBehalfOf"] = [onBehalfOf];
}
+ if (onBehalfOfContentOwner != null) {
+ _queryParams["onBehalfOfContentOwner"] = [onBehalfOfContentOwner];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -451,12 +451,6 @@
/// [part] - The *part* parameter specifies the caption resource parts that
/// the API response will include. Set the parameter value to 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
- /// 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
@@ -468,6 +462,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
+ ///
+ /// [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.
///
@@ -485,9 +485,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<Caption> insert(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}) {
@@ -505,14 +505,14 @@
throw new core.ArgumentError("Parameter part is required.");
}
_queryParams["part"] = part;
- if (sync != null) {
- _queryParams["sync"] = ["${sync}"];
+ if (onBehalfOfContentOwner != null) {
+ _queryParams["onBehalfOfContentOwner"] = [onBehalfOfContentOwner];
}
if (onBehalfOf != null) {
_queryParams["onBehalfOf"] = [onBehalfOf];
}
- if (onBehalfOfContentOwner != null) {
- _queryParams["onBehalfOfContentOwner"] = [onBehalfOfContentOwner];
+ if (sync != null) {
+ _queryParams["sync"] = ["${sync}"];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -548,8 +548,6 @@
/// 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.
///
@@ -564,6 +562,8 @@
/// 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.
///
@@ -576,9 +576,9 @@
/// this method will complete with the same error.
async.Future<CaptionListResponse> list(
core.String videoId, core.List<core.String> part,
- {core.List<core.String> id,
- core.String onBehalfOf,
+ {core.String onBehalfOf,
core.String onBehalfOfContentOwner,
+ core.List<core.String> id,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -595,15 +595,15 @@
throw new 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];
}
@@ -728,9 +728,6 @@
///
/// 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
@@ -742,6 +739,9 @@
/// 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
@@ -776,8 +776,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<ChannelBannerResource> insert(ChannelBannerResource request,
- {core.String channelId,
- core.String onBehalfOfContentOwner,
+ {core.String onBehalfOfContentOwner,
+ core.String channelId,
core.String onBehalfOfContentOwnerChannel,
core.String $fields,
commons.UploadOptions uploadOptions = commons.UploadOptions.Default,
@@ -792,12 +792,12 @@
if (request != null) {
_body = convert.json.encode((request).toJson());
}
- if (channelId != null) {
- _queryParams["channelId"] = [channelId];
- }
if (onBehalfOfContentOwner != null) {
_queryParams["onBehalfOfContentOwner"] = [onBehalfOfContentOwner];
}
+ if (channelId != null) {
+ _queryParams["channelId"] = [channelId];
+ }
if (onBehalfOfContentOwnerChannel != null) {
_queryParams["onBehalfOfContentOwnerChannel"] = [
onBehalfOfContentOwnerChannel
@@ -998,11 +998,13 @@
///
/// [id] - Return the ChannelSections with the given IDs for Stubby or Apiary.
///
- /// [hl] - Return content in specified language
+ /// [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
+ ///
/// [onBehalfOfContentOwner] - *Note:* This parameter is intended exclusively
/// for YouTube content partners. The *onBehalfOfContentOwner* parameter
/// indicates that the request's authorization credentials identify a YouTube
@@ -1014,8 +1016,6 @@
/// individual channel. The CMS account that the user authenticates with must
/// be linked to the specified YouTube content owner.
///
- /// [mine] - Return the ChannelSections owned by the authenticated user.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1028,10 +1028,10 @@
/// this method will complete with the same error.
async.Future<ChannelSectionListResponse> list(core.List<core.String> part,
{core.List<core.String> id,
- core.String hl,
- core.String channelId,
- core.String onBehalfOfContentOwner,
core.bool mine,
+ core.String channelId,
+ core.String hl,
+ core.String onBehalfOfContentOwner,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -1047,18 +1047,18 @@
if (id != null) {
_queryParams["id"] = id;
}
- if (hl != null) {
- _queryParams["hl"] = [hl];
+ if (mine != null) {
+ _queryParams["mine"] = ["${mine}"];
}
if (channelId != null) {
_queryParams["channelId"] = [channelId];
}
+ if (hl != null) {
+ _queryParams["hl"] = [hl];
+ }
if (onBehalfOfContentOwner != null) {
_queryParams["onBehalfOfContentOwner"] = [onBehalfOfContentOwner];
}
- if (mine != null) {
- _queryParams["mine"] = ["${mine}"];
- }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -1160,9 +1160,9 @@
/// such as the uploads properties. As such, if you set *part=contentDetails*,
/// the API response will also contain all of those nested properties.
///
- /// [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.
+ /// [id] - Return the channels with the specified IDs.
+ ///
+ /// [categoryId] - Return the channels within the specified guide category ID.
///
/// [hl] - Stands for "host language". Specifies the localization language of
/// the metadata to be filled into snippet.localized. The field is filled with
@@ -1170,6 +1170,9 @@
/// 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.
+ ///
/// [onBehalfOfContentOwner] - *Note:* This parameter is intended exclusively
/// for YouTube content partners. The *onBehalfOfContentOwner* parameter
/// indicates that the request's authorization credentials identify a YouTube
@@ -1181,20 +1184,17 @@
/// 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.
///
- /// [categoryId] - Return the channels within the specified guide category ID.
- ///
- /// [mySubscribers] - Return the channels subscribed to the authenticated user
- ///
- /// [maxResults] - The *maxResults* parameter specifies the maximum number of
- /// items that should be returned in the result set.
- ///
- /// [forUsername] - Return the channel associated with a YouTube username.
+ /// [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.
///
- /// [id] - Return the channels with the specified IDs.
+ /// [mySubscribers] - Return the channels subscribed to the authenticated user
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -1207,16 +1207,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<ChannelListResponse> list(core.List<core.String> part,
- {core.String pageToken,
- core.String hl,
- core.String onBehalfOfContentOwner,
- core.bool managedByMe,
+ {core.List<core.String> id,
core.String categoryId,
- core.bool mySubscribers,
+ core.String hl,
core.int maxResults,
+ core.String onBehalfOfContentOwner,
core.String forUsername,
+ core.bool managedByMe,
+ core.String pageToken,
core.bool mine,
- core.List<core.String> id,
+ core.bool mySubscribers,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -1229,35 +1229,35 @@
throw new core.ArgumentError("Parameter part is required.");
}
_queryParams["part"] = part;
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
- if (hl != null) {
- _queryParams["hl"] = [hl];
- }
- if (onBehalfOfContentOwner != null) {
- _queryParams["onBehalfOfContentOwner"] = [onBehalfOfContentOwner];
- }
- if (managedByMe != null) {
- _queryParams["managedByMe"] = ["${managedByMe}"];
+ if (id != null) {
+ _queryParams["id"] = id;
}
if (categoryId != null) {
_queryParams["categoryId"] = [categoryId];
}
- if (mySubscribers != null) {
- _queryParams["mySubscribers"] = ["${mySubscribers}"];
+ 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 (managedByMe != null) {
+ _queryParams["managedByMe"] = ["${managedByMe}"];
+ }
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
if (mine != null) {
_queryParams["mine"] = ["${mine}"];
}
- if (id != null) {
- _queryParams["id"] = id;
+ if (mySubscribers != null) {
+ _queryParams["mySubscribers"] = ["${mySubscribers}"];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -1408,18 +1408,19 @@
/// [part] - The *part* parameter specifies a comma-separated list of one or
/// more commentThread resource properties that the API response will include.
///
- /// [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.
- ///
- /// [textFormat] - The requested text format for the returned comments.
+ /// [order] - null
/// 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.
+ /// - "orderUnspecified"
+ /// - "time" : Order by time.
+ /// - "relevance" : Order by relevance.
///
- /// [searchTerms] - Limits the returned comment threads to those matching the
- /// specified key words. Not compatible with the 'id' filter.
+ /// [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.
+ ///
+ /// [id] - Returns the comment threads with the given IDs for Stubby or
+ /// Apiary.
///
/// [moderationStatus] - Limits the returned comment threads to those with the
/// specified moderation status. Not compatible with the 'id' filter. Valid
@@ -1433,22 +1434,21 @@
/// [channelId] - Returns the comment threads for all the channel comments (ie
/// does not include comments left on videos).
///
+ /// [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.
+ ///
+ /// [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.
///
- /// [id] - Returns the comment threads with the given IDs for Stubby or
- /// Apiary.
- ///
- /// [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.
- ///
- /// [order] - null
+ /// [textFormat] - The requested text format for the returned comments.
/// Possible string values are:
- /// - "orderUnspecified"
- /// - "time" : Order by time.
- /// - "relevance" : Order by relevance.
+ /// - "textFormatUnspecified"
+ /// - "html" : Returns the comments in HTML format. This is the default value.
+ /// - "plainText" : Returns the comments in plain text format.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -1461,16 +1461,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<CommentThreadListResponse> list(core.List<core.String> part,
- {core.String pageToken,
- core.String textFormat,
- core.String searchTerms,
- core.String moderationStatus,
- core.String channelId,
- core.String allThreadsRelatedToChannelId,
- core.List<core.String> id,
+ {core.String order,
core.String videoId,
core.int maxResults,
- core.String order,
+ core.List<core.String> id,
+ core.String moderationStatus,
+ core.String channelId,
+ core.String pageToken,
+ core.String searchTerms,
+ core.String allThreadsRelatedToChannelId,
+ core.String textFormat,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -1483,28 +1483,8 @@
throw new core.ArgumentError("Parameter part is required.");
}
_queryParams["part"] = part;
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
- if (textFormat != null) {
- _queryParams["textFormat"] = [textFormat];
- }
- if (searchTerms != null) {
- _queryParams["searchTerms"] = [searchTerms];
- }
- if (moderationStatus != null) {
- _queryParams["moderationStatus"] = [moderationStatus];
- }
- if (channelId != null) {
- _queryParams["channelId"] = [channelId];
- }
- if (allThreadsRelatedToChannelId != null) {
- _queryParams["allThreadsRelatedToChannelId"] = [
- allThreadsRelatedToChannelId
- ];
- }
- if (id != null) {
- _queryParams["id"] = id;
+ if (order != null) {
+ _queryParams["order"] = [order];
}
if (videoId != null) {
_queryParams["videoId"] = [videoId];
@@ -1512,8 +1492,28 @@
if (maxResults != null) {
_queryParams["maxResults"] = ["${maxResults}"];
}
- if (order != null) {
- _queryParams["order"] = [order];
+ if (id != null) {
+ _queryParams["id"] = id;
+ }
+ if (moderationStatus != null) {
+ _queryParams["moderationStatus"] = [moderationStatus];
+ }
+ if (channelId != null) {
+ _queryParams["channelId"] = [channelId];
+ }
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
+ if (searchTerms != null) {
+ _queryParams["searchTerms"] = [searchTerms];
+ }
+ if (allThreadsRelatedToChannelId != null) {
+ _queryParams["allThreadsRelatedToChannelId"] = [
+ allThreadsRelatedToChannelId
+ ];
+ }
+ if (textFormat != null) {
+ _queryParams["textFormat"] = [textFormat];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -1691,24 +1691,24 @@
/// [part] - The *part* parameter specifies a comma-separated list of one or
/// more comment resource properties that the API response will include.
///
- /// [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.
+ /// [id] - Returns the comments with the given IDs for One Platform.
///
/// [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.
+ ///
/// [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.
///
- /// [id] - Returns the comments with the given IDs for One Platform.
+ /// [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.
@@ -1721,11 +1721,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<CommentListResponse> list(core.List<core.String> part,
- {core.int maxResults,
- core.String parentId,
+ {core.List<core.String> id,
core.String pageToken,
+ core.int maxResults,
core.String textFormat,
- core.List<core.String> id,
+ core.String parentId,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -1738,20 +1738,20 @@
throw new core.ArgumentError("Parameter part is required.");
}
_queryParams["part"] = part;
- if (maxResults != null) {
- _queryParams["maxResults"] = ["${maxResults}"];
- }
- if (parentId != null) {
- _queryParams["parentId"] = [parentId];
+ 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 (id != null) {
- _queryParams["id"] = id;
+ if (parentId != null) {
+ _queryParams["parentId"] = [parentId];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -2063,6 +2063,19 @@
/// 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.
+ ///
+ /// [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
@@ -2080,19 +2093,6 @@
/// 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.
- ///
- /// [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.
///
@@ -2104,9 +2104,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<LiveBroadcast> bind(core.String id, core.List<core.String> part,
- {core.String onBehalfOfContentOwnerChannel,
+ {core.String onBehalfOfContentOwner,
core.String streamId,
- core.String onBehalfOfContentOwner,
+ core.String onBehalfOfContentOwnerChannel,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -2123,16 +2123,16 @@
throw new core.ArgumentError("Parameter part is required.");
}
_queryParams["part"] = part;
- if (onBehalfOfContentOwnerChannel != null) {
- _queryParams["onBehalfOfContentOwnerChannel"] = [
- onBehalfOfContentOwnerChannel
- ];
+ if (onBehalfOfContentOwner != null) {
+ _queryParams["onBehalfOfContentOwner"] = [onBehalfOfContentOwner];
}
if (streamId != null) {
_queryParams["streamId"] = [streamId];
}
- if (onBehalfOfContentOwner != null) {
- _queryParams["onBehalfOfContentOwner"] = [onBehalfOfContentOwner];
+ if (onBehalfOfContentOwnerChannel != null) {
+ _queryParams["onBehalfOfContentOwnerChannel"] = [
+ onBehalfOfContentOwnerChannel
+ ];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -2162,27 +2162,8 @@
/// The part names that you can include in the parameter value are id,
/// snippet, contentDetails, and status.
///
- /// [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.
- ///
/// [displaySlate] - Whether display or hide slate.
///
- /// [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.
- ///
- /// [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
@@ -2200,6 +2181,25 @@
/// actions on behalf of the channel specified in the parameter value, without
/// having to provide authentication credentials for each separate channel.
///
+ /// [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.
///
@@ -2212,11 +2212,11 @@
/// this method will complete with the same error.
async.Future<LiveBroadcast> control(
core.String id, core.List<core.String> part,
- {core.String offsetTimeMs,
- core.bool displaySlate,
- core.String walltime,
- core.String onBehalfOfContentOwner,
+ {core.bool displaySlate,
core.String onBehalfOfContentOwnerChannel,
+ core.String walltime,
+ core.String offsetTimeMs,
+ core.String onBehalfOfContentOwner,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -2233,23 +2233,23 @@
throw new core.ArgumentError("Parameter part is required.");
}
_queryParams["part"] = part;
- if (offsetTimeMs != null) {
- _queryParams["offsetTimeMs"] = [offsetTimeMs];
- }
if (displaySlate != null) {
_queryParams["displaySlate"] = ["${displaySlate}"];
}
- if (walltime != null) {
- _queryParams["walltime"] = [walltime];
- }
- if (onBehalfOfContentOwner != null) {
- _queryParams["onBehalfOfContentOwner"] = [onBehalfOfContentOwner];
- }
if (onBehalfOfContentOwnerChannel != null) {
_queryParams["onBehalfOfContentOwnerChannel"] = [
onBehalfOfContentOwnerChannel
];
}
+ if (walltime != null) {
+ _queryParams["walltime"] = [walltime];
+ }
+ if (offsetTimeMs != null) {
+ _queryParams["offsetTimeMs"] = [offsetTimeMs];
+ }
+ if (onBehalfOfContentOwner != null) {
+ _queryParams["onBehalfOfContentOwner"] = [onBehalfOfContentOwner];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -2271,6 +2271,17 @@
///
/// [id] - Broadcast to delete.
///
+ /// [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
@@ -2288,17 +2299,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.
///
@@ -2308,8 +2308,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 delete(core.String id,
- {core.String onBehalfOfContentOwnerChannel,
- core.String onBehalfOfContentOwner,
+ {core.String onBehalfOfContentOwner,
+ core.String onBehalfOfContentOwnerChannel,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -2322,14 +2322,14 @@
throw new 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];
}
@@ -2448,6 +2448,9 @@
/// The part names that you can include in the parameter value are id,
/// snippet, contentDetails, status and statistics.
///
+ /// [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
@@ -2472,24 +2475,6 @@
/// - "event" : Return only scheduled event broadcasts.
/// - "persistent" : Return only persistent broadcasts.
///
- /// [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.
- ///
- /// [id] - Return broadcasts with the given ids from Stubby or Apiary.
- ///
/// [broadcastStatus] - Return broadcasts with a certain status, e.g. active
/// broadcasts.
/// Possible string values are:
@@ -2503,6 +2488,21 @@
/// 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.
///
@@ -2514,14 +2514,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<LiveBroadcastListResponse> list(core.List<core.String> part,
- {core.String onBehalfOfContentOwnerChannel,
+ {core.int maxResults,
+ core.String onBehalfOfContentOwnerChannel,
core.String broadcastType,
- core.int maxResults,
- core.bool mine,
- core.String onBehalfOfContentOwner,
- core.List<core.String> id,
core.String broadcastStatus,
core.String pageToken,
+ core.bool mine,
+ core.List<core.String> id,
+ core.String onBehalfOfContentOwner,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -2534,6 +2534,9 @@
throw new core.ArgumentError("Parameter part is required.");
}
_queryParams["part"] = part;
+ if (maxResults != null) {
+ _queryParams["maxResults"] = ["${maxResults}"];
+ }
if (onBehalfOfContentOwnerChannel != null) {
_queryParams["onBehalfOfContentOwnerChannel"] = [
onBehalfOfContentOwnerChannel
@@ -2542,24 +2545,21 @@
if (broadcastType != null) {
_queryParams["broadcastType"] = [broadcastType];
}
- if (maxResults != null) {
- _queryParams["maxResults"] = ["${maxResults}"];
- }
- if (mine != null) {
- _queryParams["mine"] = ["${mine}"];
- }
- if (onBehalfOfContentOwner != null) {
- _queryParams["onBehalfOfContentOwner"] = [onBehalfOfContentOwner];
- }
- if (id != null) {
- _queryParams["id"] = id;
- }
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];
}
@@ -2599,17 +2599,6 @@
/// 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
@@ -2627,6 +2616,17 @@
/// 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.
///
@@ -2639,8 +2639,8 @@
/// this method will complete with the same error.
async.Future<LiveBroadcast> transition(
core.String id, core.String broadcastStatus, core.List<core.String> part,
- {core.String onBehalfOfContentOwner,
- core.String onBehalfOfContentOwnerChannel,
+ {core.String onBehalfOfContentOwnerChannel,
+ core.String onBehalfOfContentOwner,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -2661,14 +2661,14 @@
throw new 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];
}
@@ -2704,6 +2704,17 @@
/// value, the existing privacy setting will be removed and the broadcast will
/// revert to the default privacy setting.
///
+ /// [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
@@ -2721,17 +2732,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.
///
@@ -2744,8 +2744,8 @@
/// this method will complete with the same error.
async.Future<LiveBroadcast> update(
LiveBroadcast request, core.List<core.String> part,
- {core.String onBehalfOfContentOwnerChannel,
- core.String onBehalfOfContentOwner,
+ {core.String onBehalfOfContentOwner,
+ core.String onBehalfOfContentOwnerChannel,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -2761,14 +2761,14 @@
throw new 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];
}
@@ -2998,12 +2998,6 @@
/// [part] - The *part* parameter specifies the liveChatComment resource parts
/// that the API response will include. Supported values are id and snippet.
///
- /// [hl] - Specifies the localization language in which the system messages
- /// should be returned.
- ///
- /// [profileImageSize] - Specifies the size of the profile image that should
- /// be returned for each user.
- ///
/// [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.
@@ -3011,6 +3005,12 @@
/// [maxResults] - The *maxResults* parameter specifies the maximum number of
/// items that should be returned in the result set.
///
+ /// [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.
///
@@ -3023,10 +3023,10 @@
/// this method will complete with the same error.
async.Future<LiveChatMessageListResponse> list(
core.String liveChatId, core.List<core.String> part,
- {core.String hl,
- core.int profileImageSize,
- core.String pageToken,
+ {core.String pageToken,
core.int maxResults,
+ core.int profileImageSize,
+ core.String hl,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -3043,18 +3043,18 @@
throw new core.ArgumentError("Parameter part is required.");
}
_queryParams["part"] = part;
- if (hl != null) {
- _queryParams["hl"] = [hl];
- }
- if (profileImageSize != null) {
- _queryParams["profileImageSize"] = ["${profileImageSize}"];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
if (maxResults != null) {
_queryParams["maxResults"] = ["${maxResults}"];
}
+ if (profileImageSize != null) {
+ _queryParams["profileImageSize"] = ["${profileImageSize}"];
+ }
+ if (hl != null) {
+ _queryParams["hl"] = [hl];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -3185,13 +3185,13 @@
/// parts that the API response will include. Supported values are id and
/// snippet.
///
+ /// [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.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -3204,7 +3204,7 @@
/// this method will complete with the same error.
async.Future<LiveChatModeratorListResponse> list(
core.String liveChatId, core.List<core.String> part,
- {core.String pageToken, core.int maxResults, core.String $fields}) {
+ {core.int maxResults, core.String pageToken, core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
var _uploadMedia;
@@ -3220,12 +3220,12 @@
throw new core.ArgumentError("Parameter part is required.");
}
_queryParams["part"] = part;
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (maxResults != null) {
_queryParams["maxResults"] = ["${maxResults}"];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -3430,25 +3430,7 @@
/// The part names that you can include in the parameter value are id,
/// snippet, cdn, and status.
///
- /// [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.
- ///
- /// [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.
- ///
- /// [maxResults] - The *maxResults* parameter specifies the maximum number of
- /// items that should be returned in the result set.
+ /// [id] - Return LiveStreams with the given ids from Stubby or Apiary.
///
/// [onBehalfOfContentOwnerChannel] - This parameter can only be used in a
/// properly authorized request. *Note:* This parameter is intended
@@ -3467,7 +3449,25 @@
/// actions on behalf of the channel specified in the parameter value, without
/// having to provide authentication credentials for each separate channel.
///
- /// [id] - Return LiveStreams with the given ids from Stubby or Apiary.
+ /// [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.
@@ -3480,12 +3480,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<LiveStreamListResponse> list(core.List<core.String> part,
- {core.bool mine,
+ {core.List<core.String> id,
+ core.String onBehalfOfContentOwnerChannel,
+ core.bool mine,
+ core.int maxResults,
core.String pageToken,
core.String onBehalfOfContentOwner,
- core.int maxResults,
- core.String onBehalfOfContentOwnerChannel,
- core.List<core.String> id,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -3498,25 +3498,25 @@
throw new core.ArgumentError("Parameter part is required.");
}
_queryParams["part"] = part;
- if (mine != null) {
- _queryParams["mine"] = ["${mine}"];
- }
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
- if (onBehalfOfContentOwner != null) {
- _queryParams["onBehalfOfContentOwner"] = [onBehalfOfContentOwner];
- }
- if (maxResults != null) {
- _queryParams["maxResults"] = ["${maxResults}"];
+ if (id != null) {
+ _queryParams["id"] = id;
}
if (onBehalfOfContentOwnerChannel != null) {
_queryParams["onBehalfOfContentOwnerChannel"] = [
onBehalfOfContentOwnerChannel
];
}
- if (id != null) {
- _queryParams["id"] = id;
+ 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];
@@ -3548,17 +3548,6 @@
/// 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
@@ -3576,6 +3565,17 @@
/// 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.
///
@@ -3588,8 +3588,8 @@
/// this method will complete with the same error.
async.Future<LiveStream> update(
LiveStream request, core.List<core.String> part,
- {core.String onBehalfOfContentOwner,
- core.String onBehalfOfContentOwnerChannel,
+ {core.String onBehalfOfContentOwnerChannel,
+ core.String onBehalfOfContentOwner,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -3605,14 +3605,14 @@
throw new 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];
}
@@ -3641,19 +3641,13 @@
/// [part] - The *part* parameter specifies the member resource parts that the
/// API response will include. Set the parameter value to snippet.
///
- /// [hasAccessToLevel] - Filter members in the results set to the ones that
- /// have access to a level.
+ /// [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.
///
- /// [maxResults] - The *maxResults* parameter specifies the maximum number of
- /// items that should be returned in the result set.
- ///
- /// [filterByMemberChannelId] - Comma separated list of channel IDs. Only data
- /// about members that are part of this list will be included in the response.
- ///
/// [mode] - Parameter that specifies which channel members to return.
/// Possible string values are:
/// - "listMembersModeUnknown"
@@ -3661,6 +3655,12 @@
/// 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.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -3672,11 +3672,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<MemberListResponse> list(core.List<core.String> part,
- {core.String hasAccessToLevel,
+ {core.String filterByMemberChannelId,
core.String pageToken,
- core.int maxResults,
- core.String filterByMemberChannelId,
core.String mode,
+ core.int maxResults,
+ core.String hasAccessToLevel,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -3689,20 +3689,20 @@
throw new core.ArgumentError("Parameter part is required.");
}
_queryParams["part"] = part;
- if (hasAccessToLevel != null) {
- _queryParams["hasAccessToLevel"] = [hasAccessToLevel];
+ if (filterByMemberChannelId != null) {
+ _queryParams["filterByMemberChannelId"] = [filterByMemberChannelId];
}
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (mode != null) {
+ _queryParams["mode"] = [mode];
+ }
if (maxResults != null) {
_queryParams["maxResults"] = ["${maxResults}"];
}
- if (filterByMemberChannelId != null) {
- _queryParams["filterByMemberChannelId"] = [filterByMemberChannelId];
- }
- if (mode != null) {
- _queryParams["mode"] = [mode];
+ if (hasAccessToLevel != null) {
+ _queryParams["hasAccessToLevel"] = [hasAccessToLevel];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -3919,8 +3919,6 @@
/// [maxResults] - The *maxResults* parameter specifies the maximum number of
/// items that should be returned in the result set.
///
- /// [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
@@ -3932,13 +3930,15 @@
/// 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
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -3952,11 +3952,11 @@
/// this method will complete with the same error.
async.Future<PlaylistItemListResponse> list(core.List<core.String> part,
{core.int maxResults,
- core.List<core.String> id,
core.String onBehalfOfContentOwner,
+ core.String playlistId,
core.String pageToken,
core.String videoId,
- core.String playlistId,
+ core.List<core.String> id,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -3972,20 +3972,20 @@
if (maxResults != null) {
_queryParams["maxResults"] = ["${maxResults}"];
}
- if (id != null) {
- _queryParams["id"] = id;
- }
if (onBehalfOfContentOwner != null) {
_queryParams["onBehalfOfContentOwner"] = [onBehalfOfContentOwner];
}
+ if (playlistId != null) {
+ _queryParams["playlistId"] = [playlistId];
+ }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
if (videoId != null) {
_queryParams["videoId"] = [videoId];
}
- if (playlistId != null) {
- _queryParams["playlistId"] = [playlistId];
+ if (id != null) {
+ _queryParams["id"] = id;
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -4244,6 +4244,17 @@
/// title, description, tags, and timeCreated. As such, if you set
/// *part=snippet*, the API response will contain all of those properties.
///
+ /// [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
@@ -4261,32 +4272,21 @@
/// 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.
- ///
/// [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.
///
- /// [hl] - Returen content in specified language
- ///
- /// [mine] - Return the playlists owned by the authenticated user.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -4298,14 +4298,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<PlaylistListResponse> list(core.List<core.String> part,
- {core.String onBehalfOfContentOwnerChannel,
- core.String onBehalfOfContentOwner,
+ {core.String onBehalfOfContentOwner,
+ core.String onBehalfOfContentOwnerChannel,
core.int maxResults,
+ core.String hl,
core.List<core.String> id,
+ core.bool mine,
core.String channelId,
core.String pageToken,
- core.String hl,
- core.bool mine,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -4318,32 +4318,32 @@
throw new 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 (maxResults != null) {
_queryParams["maxResults"] = ["${maxResults}"];
}
+ if (hl != null) {
+ _queryParams["hl"] = [hl];
+ }
if (id != null) {
_queryParams["id"] = id;
}
+ if (mine != null) {
+ _queryParams["mine"] = ["${mine}"];
+ }
if (channelId != null) {
_queryParams["channelId"] = [channelId];
}
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
- if (hl != null) {
- _queryParams["hl"] = [hl];
- }
- if (mine != null) {
- _queryParams["mine"] = ["${mine}"];
- }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -4444,30 +4444,42 @@
/// more search resource properties that the API response will include. Set
/// the parameter value to snippet.
///
- /// [videoCaption] - Filter on the presence of captions on the videos.
+ /// [videoType] - Filter on videos of a specific type.
/// Possible string values are:
- /// - "videoCaptionUnspecified"
- /// - "any" : Do not filter results based on caption availability.
- /// - "closedCaption" : Only include videos that have captions.
- /// - "none" : Only include videos that do not have captions.
+ /// - "videoTypeUnspecified"
+ /// - "any" : Return all videos.
+ /// - "movie" : Only retrieve movies.
+ /// - "episode" : Only retrieve episodes of shows.
///
- /// [locationRadius] - Filter on distance from the location (specified above).
- ///
- /// [relevanceLanguage] - Return results relevant to this language.
- ///
- /// [forMine] - Search for the private videos of the authenticated user.
- ///
- /// [channelType] - Add a filter on the channel search.
+ /// [videoDimension] - Filter on 3d videos.
/// Possible string values are:
- /// - "channelTypeUnspecified"
- /// - "any" : Return all channels.
- /// - "show" : Only retrieve shows.
+ /// - "any"
+ /// - "2d" : Restrict search results to exclude 3D videos.
+ /// - "3d" : Restrict search results to only include 3D videos.
///
- /// [videoDefinition] - Filter on the definition of the 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 their resolution.
- /// - "standard" : Only retrieve videos in standard definition.
- /// - "high" : Only retrieve HD videos.
+ /// - "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.
///
/// [eventType] - Filter on the livestream status of the videos.
/// Possible string values are:
@@ -4476,21 +4488,9 @@
/// - "live" : The live broadcast is active.
/// - "completed" : The live broadcast has been completed.
///
- /// [topicId] - Restrict results to a particular topic.
+ /// [forMine] - Search for the private videos of the authenticated user.
///
- /// [forDeveloper] - Restrict the search to only retrieve videos uploaded
- /// using the project id of the authenticated user.
- ///
- /// [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.
- ///
- /// [relatedToVideoId] - Search related to a resource.
- ///
- /// [q] - Textual search terms to match.
+ /// [publishedBefore] - Filter on resources published before this date.
///
/// [safeSearch] - Indicates whether the search results should include
/// restricted content as well as standard content.
@@ -4505,60 +4505,13 @@
/// search result set. Based on their content, search results could be removed
/// from search results or demoted in search results.
///
- /// [videoEmbeddable] - Filter on embeddable videos.
- /// Possible string values are:
- /// - "videoEmbeddableUnspecified"
- /// - "any" : Return all videos, embeddable or not.
- /// - "true" : Only retrieve embeddable videos.
- ///
- /// [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.
- ///
- /// [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.
- ///
- /// [publishedBefore] - Filter on resources published before this date.
- ///
- /// [videoSyndicated] - Filter on syndicated videos.
- /// Possible string values are:
- /// - "videoSyndicatedUnspecified"
- /// - "any" : Return all videos, syndicated or not.
- /// - "true" : Only retrieve syndicated videos.
- ///
- /// [videoCategoryId] - Filter on videos in a specific category.
- ///
- /// [maxResults] - The *maxResults* parameter specifies the maximum number of
- /// items that should be returned in the result set.
- ///
- /// [channelId] - Filter on resources belonging to this channelId.
- ///
- /// [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.
- ///
- /// [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.
///
/// [location] - Filter on location of the video
///
- /// [regionCode] - Display the content as seen by viewers in this country.
+ /// [relatedToVideoId] - Search related to a resource.
+ ///
+ /// [locationRadius] - Filter on distance from the location (specified above).
///
/// [order] - Sort order of the results.
/// Possible string values are:
@@ -4574,9 +4527,6 @@
/// - "videoCount" : Channels are sorted in descending order of their number
/// of uploaded videos.
///
- /// [type] - Restrict results to a particular set of resource types from One
- /// Platform.
- ///
/// [videoDuration] - Filter on the duration of the videos.
/// Possible string values are:
/// - "videoDurationUnspecified"
@@ -4587,10 +4537,60 @@
/// (inclusive).
/// - "long" : Only include videos longer than 20 minutes.
///
- /// [forContentOwner] - Search owned by a content owner.
+ /// [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.
+ ///
+ /// [channelType] - Add a filter on the channel search.
+ /// Possible string values are:
+ /// - "channelTypeUnspecified"
+ /// - "any" : Return all channels.
+ /// - "show" : Only retrieve shows.
+ ///
+ /// [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.
+ ///
+ /// [channelId] - Filter on resources belonging to this channelId.
+ ///
+ /// [relevanceLanguage] - Return results relevant to this language.
///
/// [publishedAfter] - Filter on resources published after this date.
///
+ /// [type] - Restrict results to a particular set of resource types from One
+ /// Platform.
+ ///
+ /// [videoCaption] - Filter on the presence of captions on the videos.
+ /// Possible string values are:
+ /// - "videoCaptionUnspecified"
+ /// - "any" : Do not filter results based on caption availability.
+ /// - "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.
+ ///
+ /// [topicId] - Restrict results to a particular topic.
+ ///
+ /// [maxResults] - The *maxResults* parameter specifies the maximum number of
+ /// items that should be returned in the result set.
+ ///
+ /// [videoEmbeddable] - Filter on embeddable videos.
+ /// Possible string values are:
+ /// - "videoEmbeddableUnspecified"
+ /// - "any" : Return all videos, embeddable or not.
+ /// - "true" : Only retrieve embeddable videos.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -4602,36 +4602,36 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<SearchListResponse> list(core.List<core.String> part,
- {core.String videoCaption,
- core.String locationRadius,
- core.String relevanceLanguage,
- core.bool forMine,
- core.String channelType,
- core.String videoDefinition,
- core.String eventType,
- core.String topicId,
- core.bool forDeveloper,
- core.String videoType,
- core.String relatedToVideoId,
- core.String q,
- core.String safeSearch,
- core.String videoEmbeddable,
- core.String pageToken,
- core.String videoLicense,
- core.String publishedBefore,
- core.String videoSyndicated,
- core.String videoCategoryId,
- core.int maxResults,
- core.String channelId,
+ {core.String videoType,
core.String videoDimension,
- core.String onBehalfOfContentOwner,
- core.String location,
- core.String regionCode,
- core.String order,
- core.List<core.String> type,
- core.String videoDuration,
+ 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 publishedAfter,
+ core.List<core.String> type,
+ core.String videoCaption,
+ core.String pageToken,
+ core.String topicId,
+ core.int maxResults,
+ core.String videoEmbeddable,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -4644,96 +4644,96 @@
throw new core.ArgumentError("Parameter part is required.");
}
_queryParams["part"] = part;
- if (videoCaption != null) {
- _queryParams["videoCaption"] = [videoCaption];
- }
- if (locationRadius != null) {
- _queryParams["locationRadius"] = [locationRadius];
- }
- if (relevanceLanguage != null) {
- _queryParams["relevanceLanguage"] = [relevanceLanguage];
- }
- if (forMine != null) {
- _queryParams["forMine"] = ["${forMine}"];
- }
- if (channelType != null) {
- _queryParams["channelType"] = [channelType];
- }
- if (videoDefinition != null) {
- _queryParams["videoDefinition"] = [videoDefinition];
- }
- if (eventType != null) {
- _queryParams["eventType"] = [eventType];
- }
- if (topicId != null) {
- _queryParams["topicId"] = [topicId];
- }
- if (forDeveloper != null) {
- _queryParams["forDeveloper"] = ["${forDeveloper}"];
- }
if (videoType != null) {
_queryParams["videoType"] = [videoType];
}
- if (relatedToVideoId != null) {
- _queryParams["relatedToVideoId"] = [relatedToVideoId];
- }
- if (q != null) {
- _queryParams["q"] = [q];
- }
- if (safeSearch != null) {
- _queryParams["safeSearch"] = [safeSearch];
- }
- if (videoEmbeddable != null) {
- _queryParams["videoEmbeddable"] = [videoEmbeddable];
- }
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
- if (videoLicense != null) {
- _queryParams["videoLicense"] = [videoLicense];
- }
- if (publishedBefore != null) {
- _queryParams["publishedBefore"] = [publishedBefore];
- }
- if (videoSyndicated != null) {
- _queryParams["videoSyndicated"] = [videoSyndicated];
- }
- if (videoCategoryId != null) {
- _queryParams["videoCategoryId"] = [videoCategoryId];
- }
- if (maxResults != null) {
- _queryParams["maxResults"] = ["${maxResults}"];
- }
- if (channelId != null) {
- _queryParams["channelId"] = [channelId];
- }
if (videoDimension != null) {
_queryParams["videoDimension"] = [videoDimension];
}
- if (onBehalfOfContentOwner != null) {
- _queryParams["onBehalfOfContentOwner"] = [onBehalfOfContentOwner];
+ if (forDeveloper != null) {
+ _queryParams["forDeveloper"] = ["${forDeveloper}"];
}
- if (location != null) {
- _queryParams["location"] = [location];
- }
- if (regionCode != null) {
- _queryParams["regionCode"] = [regionCode];
- }
- if (order != null) {
- _queryParams["order"] = [order];
- }
- if (type != null) {
- _queryParams["type"] = type;
- }
- if (videoDuration != null) {
- _queryParams["videoDuration"] = [videoDuration];
+ 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 (channelType != null) {
+ _queryParams["channelType"] = [channelType];
+ }
+ if (onBehalfOfContentOwner != null) {
+ _queryParams["onBehalfOfContentOwner"] = [onBehalfOfContentOwner];
+ }
+ if (channelId != null) {
+ _queryParams["channelId"] = [channelId];
+ }
+ if (relevanceLanguage != null) {
+ _queryParams["relevanceLanguage"] = [relevanceLanguage];
+ }
if (publishedAfter != null) {
_queryParams["publishedAfter"] = [publishedAfter];
}
+ if (type != null) {
+ _queryParams["type"] = type;
+ }
+ if (videoCaption != null) {
+ _queryParams["videoCaption"] = [videoCaption];
+ }
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
+ if (topicId != null) {
+ _queryParams["topicId"] = [topicId];
+ }
+ if (maxResults != null) {
+ _queryParams["maxResults"] = ["${maxResults}"];
+ }
+ if (videoEmbeddable != null) {
+ _queryParams["videoEmbeddable"] = [videoEmbeddable];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -4939,15 +4939,6 @@
/// such as a display title for the subscription. If you set *part=snippet*,
/// the API response will also contain all of those nested properties.
///
- /// [order] - The order of the returned subscriptions
- /// Possible string values are:
- /// - "subscriptionOrderUnspecified"
- /// - "relevance" : Sort by relevance.
- /// - "unread" : Sort by order of activity.
- /// - "alphabetical" : Sort alphabetically.
- ///
- /// [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
@@ -4959,6 +4950,16 @@
/// 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
@@ -4976,24 +4977,23 @@
/// actions on behalf of the channel specified in the parameter value, without
/// having to provide authentication credentials for each separate channel.
///
- /// [forChannelId] - Return the subscriptions to the subset of these channels
- /// that the authenticated user is subscribed to.
+ /// [order] - The order of the returned subscriptions
+ /// Possible string values are:
+ /// - "subscriptionOrderUnspecified"
+ /// - "relevance" : Sort by relevance.
+ /// - "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.
///
- /// [mine] - Flag for returning the subscriptions of the authenticated user.
- ///
- /// [myRecentSubscribers] - null
- ///
- /// [channelId] - Return the subscriptions of the given channel owner.
- ///
- /// [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.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -5005,17 +5005,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<SubscriptionListResponse> list(core.List<core.String> part,
- {core.String order,
- core.bool mySubscribers,
- core.String onBehalfOfContentOwner,
- core.String onBehalfOfContentOwnerChannel,
- core.String forChannelId,
- core.String pageToken,
+ {core.String onBehalfOfContentOwner,
core.bool mine,
- core.bool myRecentSubscribers,
core.String channelId,
- core.List<core.String> id,
+ core.String forChannelId,
core.int maxResults,
+ core.String onBehalfOfContentOwnerChannel,
+ core.String order,
+ core.List<core.String> id,
+ core.bool myRecentSubscribers,
+ core.bool mySubscribers,
+ core.String pageToken,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -5028,40 +5028,40 @@
throw new core.ArgumentError("Parameter part is required.");
}
_queryParams["part"] = part;
- if (order != null) {
- _queryParams["order"] = [order];
- }
- if (mySubscribers != null) {
- _queryParams["mySubscribers"] = ["${mySubscribers}"];
- }
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 (maxResults != null) {
+ _queryParams["maxResults"] = ["${maxResults}"];
+ }
if (onBehalfOfContentOwnerChannel != null) {
_queryParams["onBehalfOfContentOwnerChannel"] = [
onBehalfOfContentOwnerChannel
];
}
- if (forChannelId != null) {
- _queryParams["forChannelId"] = [forChannelId];
- }
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
- if (mine != null) {
- _queryParams["mine"] = ["${mine}"];
- }
- if (myRecentSubscribers != null) {
- _queryParams["myRecentSubscribers"] = ["${myRecentSubscribers}"];
- }
- if (channelId != null) {
- _queryParams["channelId"] = [channelId];
+ if (order != null) {
+ _queryParams["order"] = [order];
}
if (id != null) {
_queryParams["id"] = id;
}
- if (maxResults != null) {
- _queryParams["maxResults"] = ["${maxResults}"];
+ if (myRecentSubscribers != null) {
+ _queryParams["myRecentSubscribers"] = ["${myRecentSubscribers}"];
+ }
+ if (mySubscribers != null) {
+ _queryParams["mySubscribers"] = ["${mySubscribers}"];
+ }
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -5092,14 +5092,14 @@
/// [part] - The *part* parameter specifies the superChatEvent 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.
+ /// [hl] - Return rendered funding amounts in specified language.
///
/// [maxResults] - The *maxResults* parameter specifies the maximum number of
/// items that should be returned in the result set.
///
- /// [hl] - Return rendered funding amounts in specified language.
+ /// [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.
@@ -5112,9 +5112,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<SuperChatEventListResponse> list(core.List<core.String> part,
- {core.String pageToken,
+ {core.String hl,
core.int maxResults,
- core.String hl,
+ core.String pageToken,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -5127,14 +5127,14 @@
throw new 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 (hl != null) {
- _queryParams["hl"] = [hl];
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
@@ -5793,24 +5793,8 @@
/// modify. If the parameter value specifies a part that does not contain
/// mutable values, that part will still be included in the API response.
///
- /// [stabilize] - Should stabilize be applied to the upload.
- ///
/// [autoLevels] - Should auto-levels be applied to the upload.
///
- /// [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.
- ///
- /// [notifySubscribers] - Notify the channel subscribers about the new video.
- /// As default, the notification is enabled.
- ///
/// [onBehalfOfContentOwnerChannel] - This parameter can only be used in a
/// properly authorized request. *Note:* This parameter is intended
/// exclusively for YouTube content partners. The
@@ -5828,6 +5812,22 @@
/// actions on behalf of the channel specified in the parameter value, without
/// having to provide authentication credentials for each separate channel.
///
+ /// [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.
///
@@ -5845,11 +5845,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<Video> insert(Video request, core.List<core.String> part,
- {core.bool stabilize,
- core.bool autoLevels,
- core.String onBehalfOfContentOwner,
- core.bool notifySubscribers,
+ {core.bool autoLevels,
core.String onBehalfOfContentOwnerChannel,
+ core.bool stabilize,
+ core.bool notifySubscribers,
+ core.String onBehalfOfContentOwner,
core.String $fields,
commons.UploadOptions uploadOptions = commons.UploadOptions.Default,
commons.Media uploadMedia}) {
@@ -5867,23 +5867,23 @@
throw new core.ArgumentError("Parameter part is required.");
}
_queryParams["part"] = part;
- if (stabilize != null) {
- _queryParams["stabilize"] = ["${stabilize}"];
- }
if (autoLevels != null) {
_queryParams["autoLevels"] = ["${autoLevels}"];
}
- if (onBehalfOfContentOwner != null) {
- _queryParams["onBehalfOfContentOwner"] = [onBehalfOfContentOwner];
- }
- if (notifySubscribers != null) {
- _queryParams["notifySubscribers"] = ["${notifySubscribers}"];
- }
if (onBehalfOfContentOwnerChannel != null) {
_queryParams["onBehalfOfContentOwnerChannel"] = [
onBehalfOfContentOwnerChannel
];
}
+ if (stabilize != null) {
+ _queryParams["stabilize"] = ["${stabilize}"];
+ }
+ if (notifySubscribers != null) {
+ _queryParams["notifySubscribers"] = ["${notifySubscribers}"];
+ }
+ if (onBehalfOfContentOwner != null) {
+ _queryParams["onBehalfOfContentOwner"] = [onBehalfOfContentOwner];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -5920,6 +5920,36 @@
/// 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.
+ ///
+ /// [maxHeight] - null
+ ///
+ /// [myRating] - Return videos liked/disliked by the authenticated user. Does
+ /// not support RateType.RATED_TYPE_NONE.
+ /// Possible string values are:
+ /// - "none"
+ /// - "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
@@ -5931,50 +5961,20 @@
/// individual channel. The CMS account that the user authenticates with must
/// be linked to the specified YouTube content owner.
///
- /// [maxHeight] - null
- ///
- /// [myRating] - Return videos liked/disliked by the authenticated user. Does
- /// not support RateType.RATED_TYPE_NONE.
- /// Possible string values are:
- /// - "none"
- /// - "like" : The entity is liked.
- /// - "dislike" : The entity is disliked.
- ///
/// [videoCategoryId] - Use chart that is specific to the specified video
/// category
///
- /// [id] - Return videos with the given ids.
- ///
- /// [regionCode] - Use a chart that is specific to the specified region
- ///
- /// [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
- ///
- /// [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.
- ///
- /// [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
- ///
/// [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.
///
@@ -5986,18 +5986,18 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<VideoListResponse> list(core.List<core.String> part,
- {core.String onBehalfOfContentOwner,
+ {core.int maxWidth,
+ core.String chart,
core.int maxHeight,
core.String myRating,
- core.String videoCategoryId,
- core.List<core.String> id,
core.String regionCode,
+ core.List<core.String> id,
core.String pageToken,
core.String locale,
- core.String chart,
- core.int maxResults,
- core.int maxWidth,
+ core.String onBehalfOfContentOwner,
+ core.String videoCategoryId,
core.String hl,
+ core.int maxResults,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -6010,8 +6010,11 @@
throw new core.ArgumentError("Parameter part is required.");
}
_queryParams["part"] = part;
- if (onBehalfOfContentOwner != null) {
- _queryParams["onBehalfOfContentOwner"] = [onBehalfOfContentOwner];
+ if (maxWidth != null) {
+ _queryParams["maxWidth"] = ["${maxWidth}"];
+ }
+ if (chart != null) {
+ _queryParams["chart"] = [chart];
}
if (maxHeight != null) {
_queryParams["maxHeight"] = ["${maxHeight}"];
@@ -6019,33 +6022,30 @@
if (myRating != null) {
_queryParams["myRating"] = [myRating];
}
- if (videoCategoryId != null) {
- _queryParams["videoCategoryId"] = [videoCategoryId];
+ if (regionCode != null) {
+ _queryParams["regionCode"] = [regionCode];
}
if (id != null) {
_queryParams["id"] = id;
}
- if (regionCode != null) {
- _queryParams["regionCode"] = [regionCode];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
if (locale != null) {
_queryParams["locale"] = [locale];
}
- if (chart != null) {
- _queryParams["chart"] = [chart];
+ if (onBehalfOfContentOwner != null) {
+ _queryParams["onBehalfOfContentOwner"] = [onBehalfOfContentOwner];
}
- if (maxResults != null) {
- _queryParams["maxResults"] = ["${maxResults}"];
- }
- if (maxWidth != null) {
- _queryParams["maxWidth"] = ["${maxWidth}"];
+ if (videoCategoryId != null) {
+ _queryParams["videoCategoryId"] = [videoCategoryId];
}
if (hl != null) {
_queryParams["hl"] = [hl];
}
+ if (maxResults != null) {
+ _queryParams["maxResults"] = ["${maxResults}"];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -8879,7 +8879,8 @@
/// channel thumbnail URLs will only be available in the https domain, which
/// is how the URLs appear in API responses. After that time, you might see
/// broken images in your application if it tries to load YouTube images from
- /// the http domain.
+ /// the http domain. Thumbnail images might be empty for newly created
+ /// channels and might take up to one day to populate.
ThumbnailDetails thumbnails;
/// The channel's title.
diff --git a/generated/googleapis/lib/youtubeanalytics/v2.dart b/generated/googleapis/lib/youtubeanalytics/v2.dart
index 64547b7..fbfe269 100644
--- a/generated/googleapis/lib/youtubeanalytics/v2.dart
+++ b/generated/googleapis/lib/youtubeanalytics/v2.dart
@@ -60,6 +60,9 @@
///
/// Request parameters:
///
+ /// [id] - The `id` parameter specifies the YouTube group item ID of the group
+ /// item that is being deleted.
+ ///
/// [onBehalfOfContentOwner] - This parameter can only be used in a properly
/// authorized request. **Note:** This parameter is intended exclusively for
/// YouTube content partners that own and manage many different YouTube
@@ -71,9 +74,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 the YouTube group item ID of the group
- /// item that is being deleted.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -85,8 +85,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<EmptyResponse> delete(
- {core.String onBehalfOfContentOwner,
- core.String id,
+ {core.String id,
+ core.String onBehalfOfContentOwner,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -95,12 +95,12 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body;
- if (onBehalfOfContentOwner != null) {
- _queryParams["onBehalfOfContentOwner"] = [onBehalfOfContentOwner];
- }
if (id != null) {
_queryParams["id"] = [id];
}
+ if (onBehalfOfContentOwner != null) {
+ _queryParams["onBehalfOfContentOwner"] = [onBehalfOfContentOwner];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -177,6 +177,9 @@
///
/// Request parameters:
///
+ /// [groupId] - The `groupId` parameter specifies the unique ID of the group
+ /// for which you want to retrieve group items.
+ ///
/// [onBehalfOfContentOwner] - This parameter can only be used in a properly
/// authorized request. **Note:** This parameter is intended exclusively for
/// YouTube content partners that own and manage many different YouTube
@@ -188,9 +191,6 @@
/// each individual channel. The account that the user authenticates with must
/// be linked to the specified YouTube content owner.
///
- /// [groupId] - The `groupId` parameter specifies the unique ID of the group
- /// for which you want to retrieve group items.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -202,8 +202,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<ListGroupItemsResponse> list(
- {core.String onBehalfOfContentOwner,
- core.String groupId,
+ {core.String groupId,
+ core.String onBehalfOfContentOwner,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -212,12 +212,12 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body;
- if (onBehalfOfContentOwner != null) {
- _queryParams["onBehalfOfContentOwner"] = [onBehalfOfContentOwner];
- }
if (groupId != null) {
_queryParams["groupId"] = [groupId];
}
+ if (onBehalfOfContentOwner != null) {
+ _queryParams["onBehalfOfContentOwner"] = [onBehalfOfContentOwner];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -243,6 +243,9 @@
///
/// Request parameters:
///
+ /// [id] - The `id` parameter specifies the YouTube group ID of the group that
+ /// is being deleted.
+ ///
/// [onBehalfOfContentOwner] - This parameter can only be used in a properly
/// authorized request. **Note:** This parameter is intended exclusively for
/// YouTube content partners that own and manage many different YouTube
@@ -254,9 +257,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 the YouTube group ID of the group that
- /// is being deleted.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -268,8 +268,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<EmptyResponse> delete(
- {core.String onBehalfOfContentOwner,
- core.String id,
+ {core.String id,
+ core.String onBehalfOfContentOwner,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -278,12 +278,12 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body;
- if (onBehalfOfContentOwner != null) {
- _queryParams["onBehalfOfContentOwner"] = [onBehalfOfContentOwner];
- }
if (id != null) {
_queryParams["id"] = [id];
}
+ if (onBehalfOfContentOwner != null) {
+ _queryParams["onBehalfOfContentOwner"] = [onBehalfOfContentOwner];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -362,16 +362,9 @@
///
/// 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`.
- ///
- /// [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.
+ /// [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.
///
/// [onBehalfOfContentOwner] - This parameter can only be used in a properly
/// authorized request. **Note:** This parameter is intended exclusively for
@@ -384,9 +377,16 @@
/// each individual channel. The account that the user authenticates with must
/// be linked to the specified YouTube content owner.
///
- /// [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.
+ /// [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.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -399,10 +399,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<ListGroupsResponse> list(
- {core.String id,
- core.String pageToken,
+ {core.bool mine,
core.String onBehalfOfContentOwner,
- core.bool mine,
+ core.String id,
+ core.String pageToken,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -411,18 +411,18 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body;
+ if (mine != null) {
+ _queryParams["mine"] = ["${mine}"];
+ }
+ if (onBehalfOfContentOwner != null) {
+ _queryParams["onBehalfOfContentOwner"] = [onBehalfOfContentOwner];
+ }
if (id != null) {
_queryParams["id"] = [id];
}
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
- if (onBehalfOfContentOwner != null) {
- _queryParams["onBehalfOfContentOwner"] = [onBehalfOfContentOwner];
- }
- if (mine != null) {
- _queryParams["mine"] = ["${mine}"];
- }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -505,10 +505,9 @@
///
/// Request parameters:
///
- /// [sort] - A comma-separated list of dimensions or metrics that determine
- /// the sort order for YouTube Analytics data. By default the sort order is
- /// ascending. The '`-`' prefix causes descending sort order.", pattern:
- /// [-0-9a-zA-Z,]+
+ /// [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
///
/// [metrics] - A comma-separated list of YouTube Analytics metrics, such as
/// `views` or `likes,dislikes`. See the [Available
@@ -518,17 +517,21 @@
/// document for definitions of those metrics. required: true, pattern:
/// [0-9a-zA-Z,]+
///
- /// [maxResults] - The maximum number of rows to include in the response.",
- /// minValue: 1
+ /// [sort] - A comma-separated list of dimensions or metrics that determine
+ /// the sort order for YouTube Analytics data. By default the sort order is
+ /// ascending. The '`-`' prefix causes descending sort order.", 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}
+ /// [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.",
///
- /// [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,]+
///
/// [filters] - A list of filters that should be applied when retrieving
/// YouTube Analytics data. The [Available
@@ -540,18 +543,22 @@
/// For example, a filters parameter value of `video==dMH0bHeiRNg;country==IT`
/// restricts the result set to include data for the given video in Italy.",
///
- /// [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
+ /// [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}
///
- /// [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.",
- ///
/// [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`
@@ -560,13 +567,6 @@
/// `contentOwner==OWNER_NAME`, where `OWNER_NAME` is the CMS name of the
/// content owner. required: true, pattern: [a-zA-Z]+==[a-zA-Z0-9_+-]+
///
- /// [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,]+
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -578,17 +578,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.String sort,
+ {core.int startIndex,
core.String metrics,
- core.int maxResults,
- core.String endDate,
- core.String currency,
- core.String filters,
- core.int startIndex,
- core.String startDate,
+ core.String sort,
core.bool includeHistoricalChannelData,
- core.String ids,
core.String dimensions,
+ core.String filters,
+ core.int maxResults,
+ core.String currency,
+ core.String endDate,
+ core.String startDate,
+ core.String ids,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -597,41 +597,41 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body;
- if (sort != null) {
- _queryParams["sort"] = [sort];
+ if (startIndex != null) {
+ _queryParams["startIndex"] = ["${startIndex}"];
}
if (metrics != null) {
_queryParams["metrics"] = [metrics];
}
- if (maxResults != null) {
- _queryParams["maxResults"] = ["${maxResults}"];
- }
- if (endDate != null) {
- _queryParams["endDate"] = [endDate];
- }
- if (currency != null) {
- _queryParams["currency"] = [currency];
- }
- if (filters != null) {
- _queryParams["filters"] = [filters];
- }
- if (startIndex != null) {
- _queryParams["startIndex"] = ["${startIndex}"];
- }
- if (startDate != null) {
- _queryParams["startDate"] = [startDate];
+ if (sort != null) {
+ _queryParams["sort"] = [sort];
}
if (includeHistoricalChannelData != null) {
_queryParams["includeHistoricalChannelData"] = [
"${includeHistoricalChannelData}"
];
}
- if (ids != null) {
- _queryParams["ids"] = [ids];
- }
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 ($fields != null) {
_queryParams["fields"] = [$fields];
}
diff --git a/generated/googleapis/lib/youtubereporting/v1.dart b/generated/googleapis/lib/youtubereporting/v1.dart
index 72f2fdc..e432bac 100644
--- a/generated/googleapis/lib/youtubereporting/v1.dart
+++ b/generated/googleapis/lib/youtubereporting/v1.dart
@@ -211,22 +211,22 @@
///
/// Request parameters:
///
- /// [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
- /// channel).
- ///
/// [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
+ /// channel).
///
/// [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.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -238,10 +238,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 onBehalfOfContentOwner,
- core.String pageToken,
- core.bool includeSystemManaged,
+ {core.String pageToken,
+ core.String onBehalfOfContentOwner,
core.int pageSize,
+ core.bool includeSystemManaged,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -250,18 +250,18 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body;
- if (onBehalfOfContentOwner != null) {
- _queryParams["onBehalfOfContentOwner"] = [onBehalfOfContentOwner];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
- if (includeSystemManaged != null) {
- _queryParams["includeSystemManaged"] = ["${includeSystemManaged}"];
+ if (onBehalfOfContentOwner != null) {
+ _queryParams["onBehalfOfContentOwner"] = [onBehalfOfContentOwner];
}
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
+ if (includeSystemManaged != null) {
+ _queryParams["includeSystemManaged"] = ["${includeSystemManaged}"];
+ }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -348,27 +348,27 @@
///
/// [jobId] - The ID of the job.
///
- /// [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.
+ ///
+ /// [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
+ /// channel).
+ ///
+ /// [pageSize] - Requested page size. Server may return fewer report types
+ /// than requested. If unspecified, server will pick an appropriate default.
///
/// [pageToken] - A token identifying a page of results the server should
/// return. Typically, this is the value of
/// ListReportsResponse.next_page_token returned in response to the previous
/// call to the `ListReports` method.
///
- /// [pageSize] - Requested page size. Server may return fewer report types
- /// than requested. If unspecified, server will pick an appropriate default.
- ///
- /// [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.
///
/// [startTimeBefore] - If set, only reports whose start time is smaller than
/// 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
- /// channel).
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -380,12 +380,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<ListReportsResponse> list(core.String jobId,
- {core.String createdAfter,
- core.String pageToken,
- core.int pageSize,
- core.String startTimeAtOrAfter,
- core.String startTimeBefore,
+ {core.String startTimeAtOrAfter,
core.String onBehalfOfContentOwner,
+ core.int pageSize,
+ core.String pageToken,
+ core.String createdAfter,
+ core.String startTimeBefore,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -397,24 +397,24 @@
if (jobId == null) {
throw new core.ArgumentError("Parameter jobId is required.");
}
- if (createdAfter != null) {
- _queryParams["createdAfter"] = [createdAfter];
+ if (startTimeAtOrAfter != null) {
+ _queryParams["startTimeAtOrAfter"] = [startTimeAtOrAfter];
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
+ if (onBehalfOfContentOwner != null) {
+ _queryParams["onBehalfOfContentOwner"] = [onBehalfOfContentOwner];
}
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
- if (startTimeAtOrAfter != null) {
- _queryParams["startTimeAtOrAfter"] = [startTimeAtOrAfter];
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
+ if (createdAfter != null) {
+ _queryParams["createdAfter"] = [createdAfter];
}
if (startTimeBefore != null) {
_queryParams["startTimeBefore"] = [startTimeBefore];
}
- if (onBehalfOfContentOwner != null) {
- _queryParams["onBehalfOfContentOwner"] = [onBehalfOfContentOwner];
- }
if ($fields != null) {
_queryParams["fields"] = [$fields];
}
@@ -508,22 +508,22 @@
///
/// 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 `ListReportTypes` method.
- ///
/// [includeSystemManaged] - If set to true, also system-managed report types
/// will be returned; otherwise only the report types that can be used to
/// create new reporting jobs will be returned.
///
- /// [pageSize] - Requested page size. Server may return fewer report types
- /// than requested. If unspecified, server will pick an appropriate default.
- ///
/// [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
/// channel).
///
+ /// [pageSize] - Requested page size. Server may return fewer report types
+ /// than requested. If unspecified, server will pick an appropriate default.
+ ///
+ /// [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 `ListReportTypes` method.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -535,10 +535,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<ListReportTypesResponse> list(
- {core.String pageToken,
- core.bool includeSystemManaged,
- core.int pageSize,
+ {core.bool includeSystemManaged,
core.String onBehalfOfContentOwner,
+ core.int pageSize,
+ core.String pageToken,
core.String $fields}) {
var _url;
var _queryParams = new core.Map<core.String, core.List<core.String>>();
@@ -547,17 +547,17 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body;
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (includeSystemManaged != null) {
_queryParams["includeSystemManaged"] = ["${includeSystemManaged}"];
}
+ if (onBehalfOfContentOwner != null) {
+ _queryParams["onBehalfOfContentOwner"] = [onBehalfOfContentOwner];
+ }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
- if (onBehalfOfContentOwner != null) {
- _queryParams["onBehalfOfContentOwner"] = [onBehalfOfContentOwner];
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
}
if ($fields != null) {
_queryParams["fields"] = [$fields];
diff --git a/generated/googleapis/pubspec.yaml b/generated/googleapis/pubspec.yaml
index 8e7465d..b56b9a2 100644
--- a/generated/googleapis/pubspec.yaml
+++ b/generated/googleapis/pubspec.yaml
@@ -1,5 +1,5 @@
name: googleapis
-version: 0.56.0
+version: 0.56.1
author: Dart Team <misc@dartlang.org>
description: Auto-generated client libraries for accessing Google APIs described through the API discovery service.
homepage: https://github.com/dart-lang/googleapis
diff --git a/generated/googleapis/test/abusiveexperiencereport/v1_test.dart b/generated/googleapis/test/abusiveexperiencereport/v1_test.dart
index 072cb5d..3e8e43c 100644
--- a/generated/googleapis/test/abusiveexperiencereport/v1_test.dart
+++ b/generated/googleapis/test/abusiveexperiencereport/v1_test.dart
@@ -81,14 +81,14 @@
buildCounterSiteSummaryResponse--;
}
-buildUnnamed2640() {
+buildUnnamed2644() {
var o = new core.List<api.SiteSummaryResponse>();
o.add(buildSiteSummaryResponse());
o.add(buildSiteSummaryResponse());
return o;
}
-checkUnnamed2640(core.List<api.SiteSummaryResponse> o) {
+checkUnnamed2644(core.List<api.SiteSummaryResponse> o) {
unittest.expect(o, unittest.hasLength(2));
checkSiteSummaryResponse(o[0]);
checkSiteSummaryResponse(o[1]);
@@ -99,7 +99,7 @@
var o = new api.ViolatingSitesResponse();
buildCounterViolatingSitesResponse++;
if (buildCounterViolatingSitesResponse < 3) {
- o.violatingSites = buildUnnamed2640();
+ o.violatingSites = buildUnnamed2644();
}
buildCounterViolatingSitesResponse--;
return o;
@@ -108,7 +108,7 @@
checkViolatingSitesResponse(api.ViolatingSitesResponse o) {
buildCounterViolatingSitesResponse++;
if (buildCounterViolatingSitesResponse < 3) {
- checkUnnamed2640(o.violatingSites);
+ checkUnnamed2644(o.violatingSites);
}
buildCounterViolatingSitesResponse--;
}
diff --git a/generated/googleapis/test/acceleratedmobilepageurl/v1_test.dart b/generated/googleapis/test/acceleratedmobilepageurl/v1_test.dart
index c0e96ae..cb41a1d 100644
--- a/generated/googleapis/test/acceleratedmobilepageurl/v1_test.dart
+++ b/generated/googleapis/test/acceleratedmobilepageurl/v1_test.dart
@@ -96,14 +96,14 @@
buildCounterAmpUrlError--;
}
-buildUnnamed4070() {
+buildUnnamed4077() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4070(core.List<core.String> o) {
+checkUnnamed4077(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -115,7 +115,7 @@
buildCounterBatchGetAmpUrlsRequest++;
if (buildCounterBatchGetAmpUrlsRequest < 3) {
o.lookupStrategy = "foo";
- o.urls = buildUnnamed4070();
+ o.urls = buildUnnamed4077();
}
buildCounterBatchGetAmpUrlsRequest--;
return o;
@@ -125,32 +125,32 @@
buildCounterBatchGetAmpUrlsRequest++;
if (buildCounterBatchGetAmpUrlsRequest < 3) {
unittest.expect(o.lookupStrategy, unittest.equals('foo'));
- checkUnnamed4070(o.urls);
+ checkUnnamed4077(o.urls);
}
buildCounterBatchGetAmpUrlsRequest--;
}
-buildUnnamed4071() {
+buildUnnamed4078() {
var o = new core.List<api.AmpUrl>();
o.add(buildAmpUrl());
o.add(buildAmpUrl());
return o;
}
-checkUnnamed4071(core.List<api.AmpUrl> o) {
+checkUnnamed4078(core.List<api.AmpUrl> o) {
unittest.expect(o, unittest.hasLength(2));
checkAmpUrl(o[0]);
checkAmpUrl(o[1]);
}
-buildUnnamed4072() {
+buildUnnamed4079() {
var o = new core.List<api.AmpUrlError>();
o.add(buildAmpUrlError());
o.add(buildAmpUrlError());
return o;
}
-checkUnnamed4072(core.List<api.AmpUrlError> o) {
+checkUnnamed4079(core.List<api.AmpUrlError> o) {
unittest.expect(o, unittest.hasLength(2));
checkAmpUrlError(o[0]);
checkAmpUrlError(o[1]);
@@ -161,8 +161,8 @@
var o = new api.BatchGetAmpUrlsResponse();
buildCounterBatchGetAmpUrlsResponse++;
if (buildCounterBatchGetAmpUrlsResponse < 3) {
- o.ampUrls = buildUnnamed4071();
- o.urlErrors = buildUnnamed4072();
+ o.ampUrls = buildUnnamed4078();
+ o.urlErrors = buildUnnamed4079();
}
buildCounterBatchGetAmpUrlsResponse--;
return o;
@@ -171,8 +171,8 @@
checkBatchGetAmpUrlsResponse(api.BatchGetAmpUrlsResponse o) {
buildCounterBatchGetAmpUrlsResponse++;
if (buildCounterBatchGetAmpUrlsResponse < 3) {
- checkUnnamed4071(o.ampUrls);
- checkUnnamed4072(o.urlErrors);
+ checkUnnamed4078(o.ampUrls);
+ checkUnnamed4079(o.urlErrors);
}
buildCounterBatchGetAmpUrlsResponse--;
}
diff --git a/generated/googleapis/test/accessapproval/v1_test.dart b/generated/googleapis/test/accessapproval/v1_test.dart
index 686283f..57d681a 100644
--- a/generated/googleapis/test/accessapproval/v1_test.dart
+++ b/generated/googleapis/test/accessapproval/v1_test.dart
@@ -50,27 +50,27 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed561() {
+buildUnnamed562() {
var o = new core.List<api.EnrolledService>();
o.add(buildEnrolledService());
o.add(buildEnrolledService());
return o;
}
-checkUnnamed561(core.List<api.EnrolledService> o) {
+checkUnnamed562(core.List<api.EnrolledService> o) {
unittest.expect(o, unittest.hasLength(2));
checkEnrolledService(o[0]);
checkEnrolledService(o[1]);
}
-buildUnnamed562() {
+buildUnnamed563() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed562(core.List<core.String> o) {
+checkUnnamed563(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -82,9 +82,9 @@
buildCounterAccessApprovalSettings++;
if (buildCounterAccessApprovalSettings < 3) {
o.enrolledAncestor = true;
- o.enrolledServices = buildUnnamed561();
+ o.enrolledServices = buildUnnamed562();
o.name = "foo";
- o.notificationEmails = buildUnnamed562();
+ o.notificationEmails = buildUnnamed563();
}
buildCounterAccessApprovalSettings--;
return o;
@@ -94,9 +94,9 @@
buildCounterAccessApprovalSettings++;
if (buildCounterAccessApprovalSettings < 3) {
unittest.expect(o.enrolledAncestor, unittest.isTrue);
- checkUnnamed561(o.enrolledServices);
+ checkUnnamed562(o.enrolledServices);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed562(o.notificationEmails);
+ checkUnnamed563(o.notificationEmails);
}
buildCounterAccessApprovalSettings--;
}
@@ -290,14 +290,14 @@
buildCounterEnrolledService--;
}
-buildUnnamed563() {
+buildUnnamed564() {
var o = new core.List<api.ApprovalRequest>();
o.add(buildApprovalRequest());
o.add(buildApprovalRequest());
return o;
}
-checkUnnamed563(core.List<api.ApprovalRequest> o) {
+checkUnnamed564(core.List<api.ApprovalRequest> o) {
unittest.expect(o, unittest.hasLength(2));
checkApprovalRequest(o[0]);
checkApprovalRequest(o[1]);
@@ -308,7 +308,7 @@
var o = new api.ListApprovalRequestsResponse();
buildCounterListApprovalRequestsResponse++;
if (buildCounterListApprovalRequestsResponse < 3) {
- o.approvalRequests = buildUnnamed563();
+ o.approvalRequests = buildUnnamed564();
o.nextPageToken = "foo";
}
buildCounterListApprovalRequestsResponse--;
@@ -318,7 +318,7 @@
checkListApprovalRequestsResponse(api.ListApprovalRequestsResponse o) {
buildCounterListApprovalRequestsResponse++;
if (buildCounterListApprovalRequestsResponse < 3) {
- checkUnnamed563(o.approvalRequests);
+ checkUnnamed564(o.approvalRequests);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListApprovalRequestsResponse--;
@@ -773,9 +773,9 @@
api.FoldersApprovalRequestsResourceApi res =
new api.AccessapprovalApi(mock).folders.approvalRequests;
var arg_parent = "foo";
- var arg_pageToken = "foo";
- var arg_filter = "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;
@@ -808,11 +808,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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 = {
@@ -823,9 +823,9 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
- filter: arg_filter,
pageSize: arg_pageSize,
+ filter: arg_filter,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListApprovalRequestsResponse(response);
@@ -1562,9 +1562,9 @@
api.ProjectsApprovalRequestsResourceApi res =
new api.AccessapprovalApi(mock).projects.approvalRequests;
var arg_parent = "foo";
- var arg_pageToken = "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;
@@ -1597,11 +1597,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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 = {
@@ -1612,9 +1612,9 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
filter: arg_filter,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListApprovalRequestsResponse(response);
diff --git a/generated/googleapis/test/accesscontextmanager/v1_test.dart b/generated/googleapis/test/accesscontextmanager/v1_test.dart
index b4190c5..0807684 100644
--- a/generated/googleapis/test/accesscontextmanager/v1_test.dart
+++ b/generated/googleapis/test/accesscontextmanager/v1_test.dart
@@ -102,14 +102,14 @@
buildCounterAccessPolicy--;
}
-buildUnnamed3842() {
+buildUnnamed3846() {
var o = new core.List<api.Condition>();
o.add(buildCondition());
o.add(buildCondition());
return o;
}
-checkUnnamed3842(core.List<api.Condition> o) {
+checkUnnamed3846(core.List<api.Condition> o) {
unittest.expect(o, unittest.hasLength(2));
checkCondition(o[0]);
checkCondition(o[1]);
@@ -121,7 +121,7 @@
buildCounterBasicLevel++;
if (buildCounterBasicLevel < 3) {
o.combiningFunction = "foo";
- o.conditions = buildUnnamed3842();
+ o.conditions = buildUnnamed3846();
}
buildCounterBasicLevel--;
return o;
@@ -131,7 +131,7 @@
buildCounterBasicLevel++;
if (buildCounterBasicLevel < 3) {
unittest.expect(o.combiningFunction, unittest.equals('foo'));
- checkUnnamed3842(o.conditions);
+ checkUnnamed3846(o.conditions);
}
buildCounterBasicLevel--;
}
@@ -170,14 +170,14 @@
buildCounterCommitServicePerimetersRequest--;
}
-buildUnnamed3843() {
+buildUnnamed3847() {
var o = new core.List<api.ServicePerimeter>();
o.add(buildServicePerimeter());
o.add(buildServicePerimeter());
return o;
}
-checkUnnamed3843(core.List<api.ServicePerimeter> o) {
+checkUnnamed3847(core.List<api.ServicePerimeter> o) {
unittest.expect(o, unittest.hasLength(2));
checkServicePerimeter(o[0]);
checkServicePerimeter(o[1]);
@@ -188,7 +188,7 @@
var o = new api.CommitServicePerimetersResponse();
buildCounterCommitServicePerimetersResponse++;
if (buildCounterCommitServicePerimetersResponse < 3) {
- o.servicePerimeters = buildUnnamed3843();
+ o.servicePerimeters = buildUnnamed3847();
}
buildCounterCommitServicePerimetersResponse--;
return o;
@@ -197,111 +197,11 @@
checkCommitServicePerimetersResponse(api.CommitServicePerimetersResponse o) {
buildCounterCommitServicePerimetersResponse++;
if (buildCounterCommitServicePerimetersResponse < 3) {
- checkUnnamed3843(o.servicePerimeters);
+ checkUnnamed3847(o.servicePerimeters);
}
buildCounterCommitServicePerimetersResponse--;
}
-buildUnnamed3844() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3844(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed3845() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3845(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed3846() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3846(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed3847() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3847(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-core.int buildCounterCondition = 0;
-buildCondition() {
- var o = new api.Condition();
- buildCounterCondition++;
- if (buildCounterCondition < 3) {
- o.devicePolicy = buildDevicePolicy();
- o.ipSubnetworks = buildUnnamed3844();
- o.members = buildUnnamed3845();
- o.negate = true;
- o.regions = buildUnnamed3846();
- o.requiredAccessLevels = buildUnnamed3847();
- }
- buildCounterCondition--;
- return o;
-}
-
-checkCondition(api.Condition o) {
- buildCounterCondition++;
- if (buildCounterCondition < 3) {
- checkDevicePolicy(o.devicePolicy);
- checkUnnamed3844(o.ipSubnetworks);
- checkUnnamed3845(o.members);
- unittest.expect(o.negate, unittest.isTrue);
- checkUnnamed3846(o.regions);
- checkUnnamed3847(o.requiredAccessLevels);
- }
- buildCounterCondition--;
-}
-
-core.int buildCounterCustomLevel = 0;
-buildCustomLevel() {
- var o = new api.CustomLevel();
- buildCounterCustomLevel++;
- if (buildCounterCustomLevel < 3) {
- o.expr = buildExpr();
- }
- buildCounterCustomLevel--;
- return o;
-}
-
-checkCustomLevel(api.CustomLevel o) {
- buildCounterCustomLevel++;
- if (buildCounterCustomLevel < 3) {
- checkExpr(o.expr);
- }
- buildCounterCustomLevel--;
-}
-
buildUnnamed3848() {
var o = new core.List<core.String>();
o.add("foo");
@@ -329,13 +229,113 @@
}
buildUnnamed3850() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3850(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed3851() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3851(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+core.int buildCounterCondition = 0;
+buildCondition() {
+ var o = new api.Condition();
+ buildCounterCondition++;
+ if (buildCounterCondition < 3) {
+ o.devicePolicy = buildDevicePolicy();
+ o.ipSubnetworks = buildUnnamed3848();
+ o.members = buildUnnamed3849();
+ o.negate = true;
+ o.regions = buildUnnamed3850();
+ o.requiredAccessLevels = buildUnnamed3851();
+ }
+ buildCounterCondition--;
+ return o;
+}
+
+checkCondition(api.Condition o) {
+ buildCounterCondition++;
+ if (buildCounterCondition < 3) {
+ checkDevicePolicy(o.devicePolicy);
+ checkUnnamed3848(o.ipSubnetworks);
+ checkUnnamed3849(o.members);
+ unittest.expect(o.negate, unittest.isTrue);
+ checkUnnamed3850(o.regions);
+ checkUnnamed3851(o.requiredAccessLevels);
+ }
+ buildCounterCondition--;
+}
+
+core.int buildCounterCustomLevel = 0;
+buildCustomLevel() {
+ var o = new api.CustomLevel();
+ buildCounterCustomLevel++;
+ if (buildCounterCustomLevel < 3) {
+ o.expr = buildExpr();
+ }
+ buildCounterCustomLevel--;
+ return o;
+}
+
+checkCustomLevel(api.CustomLevel o) {
+ buildCounterCustomLevel++;
+ if (buildCounterCustomLevel < 3) {
+ checkExpr(o.expr);
+ }
+ buildCounterCustomLevel--;
+}
+
+buildUnnamed3852() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3852(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed3853() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3853(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed3854() {
var o = new core.List<api.OsConstraint>();
o.add(buildOsConstraint());
o.add(buildOsConstraint());
return o;
}
-checkUnnamed3850(core.List<api.OsConstraint> o) {
+checkUnnamed3854(core.List<api.OsConstraint> o) {
unittest.expect(o, unittest.hasLength(2));
checkOsConstraint(o[0]);
checkOsConstraint(o[1]);
@@ -346,9 +346,9 @@
var o = new api.DevicePolicy();
buildCounterDevicePolicy++;
if (buildCounterDevicePolicy < 3) {
- o.allowedDeviceManagementLevels = buildUnnamed3848();
- o.allowedEncryptionStatuses = buildUnnamed3849();
- o.osConstraints = buildUnnamed3850();
+ o.allowedDeviceManagementLevels = buildUnnamed3852();
+ o.allowedEncryptionStatuses = buildUnnamed3853();
+ o.osConstraints = buildUnnamed3854();
o.requireAdminApproval = true;
o.requireCorpOwned = true;
o.requireScreenlock = true;
@@ -360,9 +360,9 @@
checkDevicePolicy(api.DevicePolicy o) {
buildCounterDevicePolicy++;
if (buildCounterDevicePolicy < 3) {
- checkUnnamed3848(o.allowedDeviceManagementLevels);
- checkUnnamed3849(o.allowedEncryptionStatuses);
- checkUnnamed3850(o.osConstraints);
+ checkUnnamed3852(o.allowedDeviceManagementLevels);
+ checkUnnamed3853(o.allowedEncryptionStatuses);
+ checkUnnamed3854(o.osConstraints);
unittest.expect(o.requireAdminApproval, unittest.isTrue);
unittest.expect(o.requireCorpOwned, unittest.isTrue);
unittest.expect(o.requireScreenlock, unittest.isTrue);
@@ -410,14 +410,14 @@
buildCounterExpr--;
}
-buildUnnamed3851() {
+buildUnnamed3855() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3851(core.List<core.String> o) {
+checkUnnamed3855(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -428,7 +428,7 @@
var o = new api.GcpUserAccessBinding();
buildCounterGcpUserAccessBinding++;
if (buildCounterGcpUserAccessBinding < 3) {
- o.accessLevels = buildUnnamed3851();
+ o.accessLevels = buildUnnamed3855();
o.groupKey = "foo";
o.name = "foo";
}
@@ -439,21 +439,21 @@
checkGcpUserAccessBinding(api.GcpUserAccessBinding o) {
buildCounterGcpUserAccessBinding++;
if (buildCounterGcpUserAccessBinding < 3) {
- checkUnnamed3851(o.accessLevels);
+ checkUnnamed3855(o.accessLevels);
unittest.expect(o.groupKey, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
}
buildCounterGcpUserAccessBinding--;
}
-buildUnnamed3852() {
+buildUnnamed3856() {
var o = new core.List<api.AccessLevel>();
o.add(buildAccessLevel());
o.add(buildAccessLevel());
return o;
}
-checkUnnamed3852(core.List<api.AccessLevel> o) {
+checkUnnamed3856(core.List<api.AccessLevel> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccessLevel(o[0]);
checkAccessLevel(o[1]);
@@ -464,7 +464,7 @@
var o = new api.ListAccessLevelsResponse();
buildCounterListAccessLevelsResponse++;
if (buildCounterListAccessLevelsResponse < 3) {
- o.accessLevels = buildUnnamed3852();
+ o.accessLevels = buildUnnamed3856();
o.nextPageToken = "foo";
}
buildCounterListAccessLevelsResponse--;
@@ -474,20 +474,20 @@
checkListAccessLevelsResponse(api.ListAccessLevelsResponse o) {
buildCounterListAccessLevelsResponse++;
if (buildCounterListAccessLevelsResponse < 3) {
- checkUnnamed3852(o.accessLevels);
+ checkUnnamed3856(o.accessLevels);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListAccessLevelsResponse--;
}
-buildUnnamed3853() {
+buildUnnamed3857() {
var o = new core.List<api.AccessPolicy>();
o.add(buildAccessPolicy());
o.add(buildAccessPolicy());
return o;
}
-checkUnnamed3853(core.List<api.AccessPolicy> o) {
+checkUnnamed3857(core.List<api.AccessPolicy> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccessPolicy(o[0]);
checkAccessPolicy(o[1]);
@@ -498,7 +498,7 @@
var o = new api.ListAccessPoliciesResponse();
buildCounterListAccessPoliciesResponse++;
if (buildCounterListAccessPoliciesResponse < 3) {
- o.accessPolicies = buildUnnamed3853();
+ o.accessPolicies = buildUnnamed3857();
o.nextPageToken = "foo";
}
buildCounterListAccessPoliciesResponse--;
@@ -508,20 +508,20 @@
checkListAccessPoliciesResponse(api.ListAccessPoliciesResponse o) {
buildCounterListAccessPoliciesResponse++;
if (buildCounterListAccessPoliciesResponse < 3) {
- checkUnnamed3853(o.accessPolicies);
+ checkUnnamed3857(o.accessPolicies);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListAccessPoliciesResponse--;
}
-buildUnnamed3854() {
+buildUnnamed3858() {
var o = new core.List<api.GcpUserAccessBinding>();
o.add(buildGcpUserAccessBinding());
o.add(buildGcpUserAccessBinding());
return o;
}
-checkUnnamed3854(core.List<api.GcpUserAccessBinding> o) {
+checkUnnamed3858(core.List<api.GcpUserAccessBinding> o) {
unittest.expect(o, unittest.hasLength(2));
checkGcpUserAccessBinding(o[0]);
checkGcpUserAccessBinding(o[1]);
@@ -532,7 +532,7 @@
var o = new api.ListGcpUserAccessBindingsResponse();
buildCounterListGcpUserAccessBindingsResponse++;
if (buildCounterListGcpUserAccessBindingsResponse < 3) {
- o.gcpUserAccessBindings = buildUnnamed3854();
+ o.gcpUserAccessBindings = buildUnnamed3858();
o.nextPageToken = "foo";
}
buildCounterListGcpUserAccessBindingsResponse--;
@@ -543,20 +543,20 @@
api.ListGcpUserAccessBindingsResponse o) {
buildCounterListGcpUserAccessBindingsResponse++;
if (buildCounterListGcpUserAccessBindingsResponse < 3) {
- checkUnnamed3854(o.gcpUserAccessBindings);
+ checkUnnamed3858(o.gcpUserAccessBindings);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListGcpUserAccessBindingsResponse--;
}
-buildUnnamed3855() {
+buildUnnamed3859() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed3855(core.List<api.Operation> o) {
+checkUnnamed3859(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -568,7 +568,7 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
o.nextPageToken = "foo";
- o.operations = buildUnnamed3855();
+ o.operations = buildUnnamed3859();
}
buildCounterListOperationsResponse--;
return o;
@@ -578,19 +578,19 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3855(o.operations);
+ checkUnnamed3859(o.operations);
}
buildCounterListOperationsResponse--;
}
-buildUnnamed3856() {
+buildUnnamed3860() {
var o = new core.List<api.ServicePerimeter>();
o.add(buildServicePerimeter());
o.add(buildServicePerimeter());
return o;
}
-checkUnnamed3856(core.List<api.ServicePerimeter> o) {
+checkUnnamed3860(core.List<api.ServicePerimeter> o) {
unittest.expect(o, unittest.hasLength(2));
checkServicePerimeter(o[0]);
checkServicePerimeter(o[1]);
@@ -602,7 +602,7 @@
buildCounterListServicePerimetersResponse++;
if (buildCounterListServicePerimetersResponse < 3) {
o.nextPageToken = "foo";
- o.servicePerimeters = buildUnnamed3856();
+ o.servicePerimeters = buildUnnamed3860();
}
buildCounterListServicePerimetersResponse--;
return o;
@@ -612,12 +612,12 @@
buildCounterListServicePerimetersResponse++;
if (buildCounterListServicePerimetersResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3856(o.servicePerimeters);
+ checkUnnamed3860(o.servicePerimeters);
}
buildCounterListServicePerimetersResponse--;
}
-buildUnnamed3857() {
+buildUnnamed3861() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -632,7 +632,7 @@
return o;
}
-checkUnnamed3857(core.Map<core.String, core.Object> o) {
+checkUnnamed3861(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o["x"]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -646,7 +646,7 @@
unittest.expect(casted2["string"], unittest.equals('foo'));
}
-buildUnnamed3858() {
+buildUnnamed3862() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -661,7 +661,7 @@
return o;
}
-checkUnnamed3858(core.Map<core.String, core.Object> o) {
+checkUnnamed3862(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted3 = (o["x"]) as core.Map;
unittest.expect(casted3, unittest.hasLength(3));
@@ -682,9 +682,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed3857();
+ o.metadata = buildUnnamed3861();
o.name = "foo";
- o.response = buildUnnamed3858();
+ o.response = buildUnnamed3862();
}
buildCounterOperation--;
return o;
@@ -695,9 +695,9 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed3857(o.metadata);
+ checkUnnamed3861(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed3858(o.response);
+ checkUnnamed3862(o.response);
}
buildCounterOperation--;
}
@@ -725,14 +725,14 @@
buildCounterOsConstraint--;
}
-buildUnnamed3859() {
+buildUnnamed3863() {
var o = new core.List<api.AccessLevel>();
o.add(buildAccessLevel());
o.add(buildAccessLevel());
return o;
}
-checkUnnamed3859(core.List<api.AccessLevel> o) {
+checkUnnamed3863(core.List<api.AccessLevel> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccessLevel(o[0]);
checkAccessLevel(o[1]);
@@ -743,7 +743,7 @@
var o = new api.ReplaceAccessLevelsRequest();
buildCounterReplaceAccessLevelsRequest++;
if (buildCounterReplaceAccessLevelsRequest < 3) {
- o.accessLevels = buildUnnamed3859();
+ o.accessLevels = buildUnnamed3863();
o.etag = "foo";
}
buildCounterReplaceAccessLevelsRequest--;
@@ -753,20 +753,20 @@
checkReplaceAccessLevelsRequest(api.ReplaceAccessLevelsRequest o) {
buildCounterReplaceAccessLevelsRequest++;
if (buildCounterReplaceAccessLevelsRequest < 3) {
- checkUnnamed3859(o.accessLevels);
+ checkUnnamed3863(o.accessLevels);
unittest.expect(o.etag, unittest.equals('foo'));
}
buildCounterReplaceAccessLevelsRequest--;
}
-buildUnnamed3860() {
+buildUnnamed3864() {
var o = new core.List<api.AccessLevel>();
o.add(buildAccessLevel());
o.add(buildAccessLevel());
return o;
}
-checkUnnamed3860(core.List<api.AccessLevel> o) {
+checkUnnamed3864(core.List<api.AccessLevel> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccessLevel(o[0]);
checkAccessLevel(o[1]);
@@ -777,7 +777,7 @@
var o = new api.ReplaceAccessLevelsResponse();
buildCounterReplaceAccessLevelsResponse++;
if (buildCounterReplaceAccessLevelsResponse < 3) {
- o.accessLevels = buildUnnamed3860();
+ o.accessLevels = buildUnnamed3864();
}
buildCounterReplaceAccessLevelsResponse--;
return o;
@@ -786,19 +786,19 @@
checkReplaceAccessLevelsResponse(api.ReplaceAccessLevelsResponse o) {
buildCounterReplaceAccessLevelsResponse++;
if (buildCounterReplaceAccessLevelsResponse < 3) {
- checkUnnamed3860(o.accessLevels);
+ checkUnnamed3864(o.accessLevels);
}
buildCounterReplaceAccessLevelsResponse--;
}
-buildUnnamed3861() {
+buildUnnamed3865() {
var o = new core.List<api.ServicePerimeter>();
o.add(buildServicePerimeter());
o.add(buildServicePerimeter());
return o;
}
-checkUnnamed3861(core.List<api.ServicePerimeter> o) {
+checkUnnamed3865(core.List<api.ServicePerimeter> o) {
unittest.expect(o, unittest.hasLength(2));
checkServicePerimeter(o[0]);
checkServicePerimeter(o[1]);
@@ -810,7 +810,7 @@
buildCounterReplaceServicePerimetersRequest++;
if (buildCounterReplaceServicePerimetersRequest < 3) {
o.etag = "foo";
- o.servicePerimeters = buildUnnamed3861();
+ o.servicePerimeters = buildUnnamed3865();
}
buildCounterReplaceServicePerimetersRequest--;
return o;
@@ -820,19 +820,19 @@
buildCounterReplaceServicePerimetersRequest++;
if (buildCounterReplaceServicePerimetersRequest < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed3861(o.servicePerimeters);
+ checkUnnamed3865(o.servicePerimeters);
}
buildCounterReplaceServicePerimetersRequest--;
}
-buildUnnamed3862() {
+buildUnnamed3866() {
var o = new core.List<api.ServicePerimeter>();
o.add(buildServicePerimeter());
o.add(buildServicePerimeter());
return o;
}
-checkUnnamed3862(core.List<api.ServicePerimeter> o) {
+checkUnnamed3866(core.List<api.ServicePerimeter> o) {
unittest.expect(o, unittest.hasLength(2));
checkServicePerimeter(o[0]);
checkServicePerimeter(o[1]);
@@ -843,7 +843,7 @@
var o = new api.ReplaceServicePerimetersResponse();
buildCounterReplaceServicePerimetersResponse++;
if (buildCounterReplaceServicePerimetersResponse < 3) {
- o.servicePerimeters = buildUnnamed3862();
+ o.servicePerimeters = buildUnnamed3866();
}
buildCounterReplaceServicePerimetersResponse--;
return o;
@@ -852,7 +852,7 @@
checkReplaceServicePerimetersResponse(api.ReplaceServicePerimetersResponse o) {
buildCounterReplaceServicePerimetersResponse++;
if (buildCounterReplaceServicePerimetersResponse < 3) {
- checkUnnamed3862(o.servicePerimeters);
+ checkUnnamed3866(o.servicePerimeters);
}
buildCounterReplaceServicePerimetersResponse--;
}
@@ -888,133 +888,17 @@
buildCounterServicePerimeter--;
}
-buildUnnamed3863() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3863(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed3864() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3864(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed3865() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3865(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-core.int buildCounterServicePerimeterConfig = 0;
-buildServicePerimeterConfig() {
- var o = new api.ServicePerimeterConfig();
- buildCounterServicePerimeterConfig++;
- if (buildCounterServicePerimeterConfig < 3) {
- o.accessLevels = buildUnnamed3863();
- o.resources = buildUnnamed3864();
- o.restrictedServices = buildUnnamed3865();
- o.vpcAccessibleServices = buildVpcAccessibleServices();
- }
- buildCounterServicePerimeterConfig--;
- return o;
-}
-
-checkServicePerimeterConfig(api.ServicePerimeterConfig o) {
- buildCounterServicePerimeterConfig++;
- if (buildCounterServicePerimeterConfig < 3) {
- checkUnnamed3863(o.accessLevels);
- checkUnnamed3864(o.resources);
- checkUnnamed3865(o.restrictedServices);
- checkVpcAccessibleServices(o.vpcAccessibleServices);
- }
- buildCounterServicePerimeterConfig--;
-}
-
-buildUnnamed3866() {
- var o = new core.Map<core.String, core.Object>();
- o["x"] = {
- 'list': [1, 2, 3],
- 'bool': true,
- 'string': 'foo'
- };
- o["y"] = {
- 'list': [1, 2, 3],
- 'bool': true,
- 'string': 'foo'
- };
- return o;
-}
-
-checkUnnamed3866(core.Map<core.String, core.Object> o) {
- unittest.expect(o, unittest.hasLength(2));
- var casted5 = (o["x"]) as core.Map;
- unittest.expect(casted5, unittest.hasLength(3));
- unittest.expect(casted5["list"], unittest.equals([1, 2, 3]));
- unittest.expect(casted5["bool"], unittest.equals(true));
- unittest.expect(casted5["string"], unittest.equals('foo'));
- var casted6 = (o["y"]) as core.Map;
- unittest.expect(casted6, unittest.hasLength(3));
- unittest.expect(casted6["list"], unittest.equals([1, 2, 3]));
- unittest.expect(casted6["bool"], unittest.equals(true));
- unittest.expect(casted6["string"], unittest.equals('foo'));
-}
-
buildUnnamed3867() {
- var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed3866());
- o.add(buildUnnamed3866());
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
return o;
}
-checkUnnamed3867(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed3867(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed3866(o[0]);
- checkUnnamed3866(o[1]);
-}
-
-core.int buildCounterStatus = 0;
-buildStatus() {
- var o = new api.Status();
- buildCounterStatus++;
- if (buildCounterStatus < 3) {
- o.code = 42;
- o.details = buildUnnamed3867();
- o.message = "foo";
- }
- buildCounterStatus--;
- return o;
-}
-
-checkStatus(api.Status o) {
- buildCounterStatus++;
- if (buildCounterStatus < 3) {
- unittest.expect(o.code, unittest.equals(42));
- checkUnnamed3867(o.details);
- unittest.expect(o.message, unittest.equals('foo'));
- }
- buildCounterStatus--;
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
}
buildUnnamed3868() {
@@ -1030,12 +914,128 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed3869() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3869(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+core.int buildCounterServicePerimeterConfig = 0;
+buildServicePerimeterConfig() {
+ var o = new api.ServicePerimeterConfig();
+ buildCounterServicePerimeterConfig++;
+ if (buildCounterServicePerimeterConfig < 3) {
+ o.accessLevels = buildUnnamed3867();
+ o.resources = buildUnnamed3868();
+ o.restrictedServices = buildUnnamed3869();
+ o.vpcAccessibleServices = buildVpcAccessibleServices();
+ }
+ buildCounterServicePerimeterConfig--;
+ return o;
+}
+
+checkServicePerimeterConfig(api.ServicePerimeterConfig o) {
+ buildCounterServicePerimeterConfig++;
+ if (buildCounterServicePerimeterConfig < 3) {
+ checkUnnamed3867(o.accessLevels);
+ checkUnnamed3868(o.resources);
+ checkUnnamed3869(o.restrictedServices);
+ checkVpcAccessibleServices(o.vpcAccessibleServices);
+ }
+ buildCounterServicePerimeterConfig--;
+}
+
+buildUnnamed3870() {
+ var o = new core.Map<core.String, core.Object>();
+ o["x"] = {
+ 'list': [1, 2, 3],
+ 'bool': true,
+ 'string': 'foo'
+ };
+ o["y"] = {
+ 'list': [1, 2, 3],
+ 'bool': true,
+ 'string': 'foo'
+ };
+ return o;
+}
+
+checkUnnamed3870(core.Map<core.String, core.Object> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ var casted5 = (o["x"]) as core.Map;
+ unittest.expect(casted5, unittest.hasLength(3));
+ unittest.expect(casted5["list"], unittest.equals([1, 2, 3]));
+ unittest.expect(casted5["bool"], unittest.equals(true));
+ unittest.expect(casted5["string"], unittest.equals('foo'));
+ var casted6 = (o["y"]) as core.Map;
+ unittest.expect(casted6, unittest.hasLength(3));
+ unittest.expect(casted6["list"], unittest.equals([1, 2, 3]));
+ unittest.expect(casted6["bool"], unittest.equals(true));
+ unittest.expect(casted6["string"], unittest.equals('foo'));
+}
+
+buildUnnamed3871() {
+ var o = new core.List<core.Map<core.String, core.Object>>();
+ o.add(buildUnnamed3870());
+ o.add(buildUnnamed3870());
+ return o;
+}
+
+checkUnnamed3871(core.List<core.Map<core.String, core.Object>> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkUnnamed3870(o[0]);
+ checkUnnamed3870(o[1]);
+}
+
+core.int buildCounterStatus = 0;
+buildStatus() {
+ var o = new api.Status();
+ buildCounterStatus++;
+ if (buildCounterStatus < 3) {
+ o.code = 42;
+ o.details = buildUnnamed3871();
+ o.message = "foo";
+ }
+ buildCounterStatus--;
+ return o;
+}
+
+checkStatus(api.Status o) {
+ buildCounterStatus++;
+ if (buildCounterStatus < 3) {
+ unittest.expect(o.code, unittest.equals(42));
+ checkUnnamed3871(o.details);
+ unittest.expect(o.message, unittest.equals('foo'));
+ }
+ buildCounterStatus--;
+}
+
+buildUnnamed3872() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3872(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
core.int buildCounterVpcAccessibleServices = 0;
buildVpcAccessibleServices() {
var o = new api.VpcAccessibleServices();
buildCounterVpcAccessibleServices++;
if (buildCounterVpcAccessibleServices < 3) {
- o.allowedServices = buildUnnamed3868();
+ o.allowedServices = buildUnnamed3872();
o.enableRestriction = true;
}
buildCounterVpcAccessibleServices--;
@@ -1045,7 +1045,7 @@
checkVpcAccessibleServices(api.VpcAccessibleServices o) {
buildCounterVpcAccessibleServices++;
if (buildCounterVpcAccessibleServices < 3) {
- checkUnnamed3868(o.allowedServices);
+ checkUnnamed3872(o.allowedServices);
unittest.expect(o.enableRestriction, unittest.isTrue);
}
buildCounterVpcAccessibleServices--;
@@ -1431,9 +1431,9 @@
var mock = new HttpServerMock();
api.AccessPoliciesResourceApi res =
new api.AccesscontextmanagerApi(mock).accessPolicies;
- var arg_parent = "foo";
- var arg_pageSize = 42;
var arg_pageToken = "foo";
+ var arg_pageSize = 42;
+ var arg_parent = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1465,11 +1465,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["parent"].first, unittest.equals(arg_parent));
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
+ unittest.expect(queryMap["parent"].first, unittest.equals(arg_parent));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1480,9 +1480,9 @@
}), true);
res
.list(
- parent: arg_parent,
- pageSize: arg_pageSize,
pageToken: arg_pageToken,
+ pageSize: arg_pageSize,
+ parent: arg_parent,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListAccessPoliciesResponse(response);
@@ -1720,9 +1720,9 @@
api.AccessPoliciesAccessLevelsResourceApi res =
new api.AccesscontextmanagerApi(mock).accessPolicies.accessLevels;
var arg_parent = "foo";
+ var arg_accessLevelFormat = "foo";
var arg_pageSize = 42;
var arg_pageToken = "foo";
- var arg_accessLevelFormat = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1755,12 +1755,12 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["accessLevelFormat"].first,
+ unittest.equals(arg_accessLevelFormat));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(queryMap["accessLevelFormat"].first,
- unittest.equals(arg_accessLevelFormat));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1771,9 +1771,9 @@
}), true);
res
.list(arg_parent,
+ accessLevelFormat: arg_accessLevelFormat,
pageSize: arg_pageSize,
pageToken: arg_pageToken,
- accessLevelFormat: arg_accessLevelFormat,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListAccessLevelsResponse(response);
@@ -2472,9 +2472,9 @@
api.OperationsResourceApi res =
new api.AccesscontextmanagerApi(mock).operations;
var arg_name = "foo";
+ var arg_pageToken = "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;
@@ -2507,11 +2507,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ 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 = {
@@ -2522,9 +2522,9 @@
}), true);
res
.list(arg_name,
+ pageToken: arg_pageToken,
pageSize: arg_pageSize,
filter: arg_filter,
- pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListOperationsResponse(response);
diff --git a/generated/googleapis/test/adexchangebuyer/v1_3_test.dart b/generated/googleapis/test/adexchangebuyer/v1_3_test.dart
index c99882d..77136ab 100644
--- a/generated/googleapis/test/adexchangebuyer/v1_3_test.dart
+++ b/generated/googleapis/test/adexchangebuyer/v1_3_test.dart
@@ -73,14 +73,14 @@
buildCounterAccountBidderLocation--;
}
-buildUnnamed874() {
+buildUnnamed875() {
var o = new core.List<api.AccountBidderLocation>();
o.add(buildAccountBidderLocation());
o.add(buildAccountBidderLocation());
return o;
}
-checkUnnamed874(core.List<api.AccountBidderLocation> o) {
+checkUnnamed875(core.List<api.AccountBidderLocation> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccountBidderLocation(o[0]);
checkAccountBidderLocation(o[1]);
@@ -91,7 +91,7 @@
var o = new api.Account();
buildCounterAccount++;
if (buildCounterAccount < 3) {
- o.bidderLocation = buildUnnamed874();
+ o.bidderLocation = buildUnnamed875();
o.cookieMatchingNid = "foo";
o.cookieMatchingUrl = "foo";
o.id = 42;
@@ -107,7 +107,7 @@
checkAccount(api.Account o) {
buildCounterAccount++;
if (buildCounterAccount < 3) {
- checkUnnamed874(o.bidderLocation);
+ checkUnnamed875(o.bidderLocation);
unittest.expect(o.cookieMatchingNid, unittest.equals('foo'));
unittest.expect(o.cookieMatchingUrl, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals(42));
@@ -119,14 +119,14 @@
buildCounterAccount--;
}
-buildUnnamed875() {
+buildUnnamed876() {
var o = new core.List<api.Account>();
o.add(buildAccount());
o.add(buildAccount());
return o;
}
-checkUnnamed875(core.List<api.Account> o) {
+checkUnnamed876(core.List<api.Account> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccount(o[0]);
checkAccount(o[1]);
@@ -137,7 +137,7 @@
var o = new api.AccountsList();
buildCounterAccountsList++;
if (buildCounterAccountsList < 3) {
- o.items = buildUnnamed875();
+ o.items = buildUnnamed876();
o.kind = "foo";
}
buildCounterAccountsList--;
@@ -147,20 +147,20 @@
checkAccountsList(api.AccountsList o) {
buildCounterAccountsList++;
if (buildCounterAccountsList < 3) {
- checkUnnamed875(o.items);
+ checkUnnamed876(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAccountsList--;
}
-buildUnnamed876() {
+buildUnnamed877() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed876(core.List<core.String> o) {
+checkUnnamed877(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -173,7 +173,7 @@
if (buildCounterBillingInfo < 3) {
o.accountId = 42;
o.accountName = "foo";
- o.billingId = buildUnnamed876();
+ o.billingId = buildUnnamed877();
o.kind = "foo";
}
buildCounterBillingInfo--;
@@ -185,20 +185,20 @@
if (buildCounterBillingInfo < 3) {
unittest.expect(o.accountId, unittest.equals(42));
unittest.expect(o.accountName, unittest.equals('foo'));
- checkUnnamed876(o.billingId);
+ checkUnnamed877(o.billingId);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterBillingInfo--;
}
-buildUnnamed877() {
+buildUnnamed878() {
var o = new core.List<api.BillingInfo>();
o.add(buildBillingInfo());
o.add(buildBillingInfo());
return o;
}
-checkUnnamed877(core.List<api.BillingInfo> o) {
+checkUnnamed878(core.List<api.BillingInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkBillingInfo(o[0]);
checkBillingInfo(o[1]);
@@ -209,7 +209,7 @@
var o = new api.BillingInfoList();
buildCounterBillingInfoList++;
if (buildCounterBillingInfoList < 3) {
- o.items = buildUnnamed877();
+ o.items = buildUnnamed878();
o.kind = "foo";
}
buildCounterBillingInfoList--;
@@ -219,7 +219,7 @@
checkBillingInfoList(api.BillingInfoList o) {
buildCounterBillingInfoList++;
if (buildCounterBillingInfoList < 3) {
- checkUnnamed877(o.items);
+ checkUnnamed878(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterBillingInfoList--;
@@ -254,40 +254,6 @@
buildCounterBudget--;
}
-buildUnnamed878() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed878(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-core.int buildCounterCreativeAdTechnologyProviders = 0;
-buildCreativeAdTechnologyProviders() {
- var o = new api.CreativeAdTechnologyProviders();
- buildCounterCreativeAdTechnologyProviders++;
- if (buildCounterCreativeAdTechnologyProviders < 3) {
- o.detectedProviderIds = buildUnnamed878();
- o.hasUnidentifiedProvider = true;
- }
- buildCounterCreativeAdTechnologyProviders--;
- return o;
-}
-
-checkCreativeAdTechnologyProviders(api.CreativeAdTechnologyProviders o) {
- buildCounterCreativeAdTechnologyProviders++;
- if (buildCounterCreativeAdTechnologyProviders < 3) {
- checkUnnamed878(o.detectedProviderIds);
- unittest.expect(o.hasUnidentifiedProvider, unittest.isTrue);
- }
- buildCounterCreativeAdTechnologyProviders--;
-}
-
buildUnnamed879() {
var o = new core.List<core.String>();
o.add("foo");
@@ -301,32 +267,53 @@
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed880() {
- var o = new core.List<core.int>();
- o.add(42);
- o.add(42);
+core.int buildCounterCreativeAdTechnologyProviders = 0;
+buildCreativeAdTechnologyProviders() {
+ var o = new api.CreativeAdTechnologyProviders();
+ buildCounterCreativeAdTechnologyProviders++;
+ if (buildCounterCreativeAdTechnologyProviders < 3) {
+ o.detectedProviderIds = buildUnnamed879();
+ o.hasUnidentifiedProvider = true;
+ }
+ buildCounterCreativeAdTechnologyProviders--;
return o;
}
-checkUnnamed880(core.List<core.int> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals(42));
- unittest.expect(o[1], unittest.equals(42));
+checkCreativeAdTechnologyProviders(api.CreativeAdTechnologyProviders o) {
+ buildCounterCreativeAdTechnologyProviders++;
+ if (buildCounterCreativeAdTechnologyProviders < 3) {
+ checkUnnamed879(o.detectedProviderIds);
+ unittest.expect(o.hasUnidentifiedProvider, unittest.isTrue);
+ }
+ buildCounterCreativeAdTechnologyProviders--;
}
-buildUnnamed881() {
+buildUnnamed880() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed881(core.List<core.String> o) {
+checkUnnamed880(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed881() {
+ var o = new core.List<core.int>();
+ o.add(42);
+ o.add(42);
+ return o;
+}
+
+checkUnnamed881(core.List<core.int> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals(42));
+ unittest.expect(o[1], unittest.equals(42));
+}
+
buildUnnamed882() {
var o = new core.List<core.String>();
o.add("foo");
@@ -340,12 +327,25 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed883() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed883(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
core.int buildCounterCreativeCorrections = 0;
buildCreativeCorrections() {
var o = new api.CreativeCorrections();
buildCounterCreativeCorrections++;
if (buildCounterCreativeCorrections < 3) {
- o.details = buildUnnamed882();
+ o.details = buildUnnamed883();
o.reason = "foo";
}
buildCounterCreativeCorrections--;
@@ -355,33 +355,33 @@
checkCreativeCorrections(api.CreativeCorrections o) {
buildCounterCreativeCorrections++;
if (buildCounterCreativeCorrections < 3) {
- checkUnnamed882(o.details);
+ checkUnnamed883(o.details);
unittest.expect(o.reason, unittest.equals('foo'));
}
buildCounterCreativeCorrections--;
}
-buildUnnamed883() {
+buildUnnamed884() {
var o = new core.List<api.CreativeCorrections>();
o.add(buildCreativeCorrections());
o.add(buildCreativeCorrections());
return o;
}
-checkUnnamed883(core.List<api.CreativeCorrections> o) {
+checkUnnamed884(core.List<api.CreativeCorrections> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeCorrections(o[0]);
checkCreativeCorrections(o[1]);
}
-buildUnnamed884() {
+buildUnnamed885() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed884(core.List<core.String> o) {
+checkUnnamed885(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -392,7 +392,7 @@
var o = new api.CreativeDisapprovalReasons();
buildCounterCreativeDisapprovalReasons++;
if (buildCounterCreativeDisapprovalReasons < 3) {
- o.details = buildUnnamed884();
+ o.details = buildUnnamed885();
o.reason = "foo";
}
buildCounterCreativeDisapprovalReasons--;
@@ -402,20 +402,20 @@
checkCreativeDisapprovalReasons(api.CreativeDisapprovalReasons o) {
buildCounterCreativeDisapprovalReasons++;
if (buildCounterCreativeDisapprovalReasons < 3) {
- checkUnnamed884(o.details);
+ checkUnnamed885(o.details);
unittest.expect(o.reason, unittest.equals('foo'));
}
buildCounterCreativeDisapprovalReasons--;
}
-buildUnnamed885() {
+buildUnnamed886() {
var o = new core.List<api.CreativeDisapprovalReasons>();
o.add(buildCreativeDisapprovalReasons());
o.add(buildCreativeDisapprovalReasons());
return o;
}
-checkUnnamed885(core.List<api.CreativeDisapprovalReasons> o) {
+checkUnnamed886(core.List<api.CreativeDisapprovalReasons> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeDisapprovalReasons(o[0]);
checkCreativeDisapprovalReasons(o[1]);
@@ -442,14 +442,14 @@
buildCounterCreativeFilteringReasonsReasons--;
}
-buildUnnamed886() {
+buildUnnamed887() {
var o = new core.List<api.CreativeFilteringReasonsReasons>();
o.add(buildCreativeFilteringReasonsReasons());
o.add(buildCreativeFilteringReasonsReasons());
return o;
}
-checkUnnamed886(core.List<api.CreativeFilteringReasonsReasons> o) {
+checkUnnamed887(core.List<api.CreativeFilteringReasonsReasons> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeFilteringReasonsReasons(o[0]);
checkCreativeFilteringReasonsReasons(o[1]);
@@ -461,7 +461,7 @@
buildCounterCreativeFilteringReasons++;
if (buildCounterCreativeFilteringReasons < 3) {
o.date = "foo";
- o.reasons = buildUnnamed886();
+ o.reasons = buildUnnamed887();
}
buildCounterCreativeFilteringReasons--;
return o;
@@ -471,19 +471,19 @@
buildCounterCreativeFilteringReasons++;
if (buildCounterCreativeFilteringReasons < 3) {
unittest.expect(o.date, unittest.equals('foo'));
- checkUnnamed886(o.reasons);
+ checkUnnamed887(o.reasons);
}
buildCounterCreativeFilteringReasons--;
}
-buildUnnamed887() {
+buildUnnamed888() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed887(core.List<core.String> o) {
+checkUnnamed888(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -535,14 +535,14 @@
buildCounterCreativeNativeAdImage--;
}
-buildUnnamed888() {
+buildUnnamed889() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed888(core.List<core.String> o) {
+checkUnnamed889(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -583,7 +583,7 @@
o.clickTrackingUrl = "foo";
o.headline = "foo";
o.image = buildCreativeNativeAdImage();
- o.impressionTrackingUrl = buildUnnamed888();
+ o.impressionTrackingUrl = buildUnnamed889();
o.logo = buildCreativeNativeAdLogo();
o.price = "foo";
o.starRating = 42.0;
@@ -602,7 +602,7 @@
unittest.expect(o.clickTrackingUrl, unittest.equals('foo'));
unittest.expect(o.headline, unittest.equals('foo'));
checkCreativeNativeAdImage(o.image);
- checkUnnamed888(o.impressionTrackingUrl);
+ checkUnnamed889(o.impressionTrackingUrl);
checkCreativeNativeAdLogo(o.logo);
unittest.expect(o.price, unittest.equals('foo'));
unittest.expect(o.starRating, unittest.equals(42.0));
@@ -610,19 +610,6 @@
buildCounterCreativeNativeAd--;
}
-buildUnnamed889() {
- var o = new core.List<core.int>();
- o.add(42);
- o.add(42);
- return o;
-}
-
-checkUnnamed889(core.List<core.int> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals(42));
- unittest.expect(o[1], unittest.equals(42));
-}
-
buildUnnamed890() {
var o = new core.List<core.int>();
o.add(42);
@@ -662,6 +649,19 @@
unittest.expect(o[1], unittest.equals(42));
}
+buildUnnamed893() {
+ var o = new core.List<core.int>();
+ o.add(42);
+ o.add(42);
+ return o;
+}
+
+checkUnnamed893(core.List<core.int> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals(42));
+ unittest.expect(o[1], unittest.equals(42));
+}
+
core.int buildCounterCreative = 0;
buildCreative() {
var o = new api.Creative();
@@ -670,25 +670,25 @@
o.HTMLSnippet = "foo";
o.accountId = 42;
o.adTechnologyProviders = buildCreativeAdTechnologyProviders();
- o.advertiserId = buildUnnamed879();
+ o.advertiserId = buildUnnamed880();
o.advertiserName = "foo";
o.agencyId = "foo";
o.apiUploadTimestamp = core.DateTime.parse("2002-02-27T14:01:02");
- o.attribute = buildUnnamed880();
+ o.attribute = buildUnnamed881();
o.buyerCreativeId = "foo";
- o.clickThroughUrl = buildUnnamed881();
- o.corrections = buildUnnamed883();
- o.disapprovalReasons = buildUnnamed885();
+ o.clickThroughUrl = buildUnnamed882();
+ o.corrections = buildUnnamed884();
+ o.disapprovalReasons = buildUnnamed886();
o.filteringReasons = buildCreativeFilteringReasons();
o.height = 42;
- o.impressionTrackingUrl = buildUnnamed887();
+ o.impressionTrackingUrl = buildUnnamed888();
o.kind = "foo";
o.nativeAd = buildCreativeNativeAd();
- o.productCategories = buildUnnamed889();
- o.restrictedCategories = buildUnnamed890();
- o.sensitiveCategories = buildUnnamed891();
+ o.productCategories = buildUnnamed890();
+ o.restrictedCategories = buildUnnamed891();
+ o.sensitiveCategories = buildUnnamed892();
o.status = "foo";
- o.vendorType = buildUnnamed892();
+ o.vendorType = buildUnnamed893();
o.version = 42;
o.videoURL = "foo";
o.width = 42;
@@ -703,26 +703,26 @@
unittest.expect(o.HTMLSnippet, unittest.equals('foo'));
unittest.expect(o.accountId, unittest.equals(42));
checkCreativeAdTechnologyProviders(o.adTechnologyProviders);
- checkUnnamed879(o.advertiserId);
+ checkUnnamed880(o.advertiserId);
unittest.expect(o.advertiserName, unittest.equals('foo'));
unittest.expect(o.agencyId, unittest.equals('foo'));
unittest.expect(o.apiUploadTimestamp,
unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
- checkUnnamed880(o.attribute);
+ checkUnnamed881(o.attribute);
unittest.expect(o.buyerCreativeId, unittest.equals('foo'));
- checkUnnamed881(o.clickThroughUrl);
- checkUnnamed883(o.corrections);
- checkUnnamed885(o.disapprovalReasons);
+ checkUnnamed882(o.clickThroughUrl);
+ checkUnnamed884(o.corrections);
+ checkUnnamed886(o.disapprovalReasons);
checkCreativeFilteringReasons(o.filteringReasons);
unittest.expect(o.height, unittest.equals(42));
- checkUnnamed887(o.impressionTrackingUrl);
+ checkUnnamed888(o.impressionTrackingUrl);
unittest.expect(o.kind, unittest.equals('foo'));
checkCreativeNativeAd(o.nativeAd);
- checkUnnamed889(o.productCategories);
- checkUnnamed890(o.restrictedCategories);
- checkUnnamed891(o.sensitiveCategories);
+ checkUnnamed890(o.productCategories);
+ checkUnnamed891(o.restrictedCategories);
+ checkUnnamed892(o.sensitiveCategories);
unittest.expect(o.status, unittest.equals('foo'));
- checkUnnamed892(o.vendorType);
+ checkUnnamed893(o.vendorType);
unittest.expect(o.version, unittest.equals(42));
unittest.expect(o.videoURL, unittest.equals('foo'));
unittest.expect(o.width, unittest.equals(42));
@@ -730,14 +730,14 @@
buildCounterCreative--;
}
-buildUnnamed893() {
+buildUnnamed894() {
var o = new core.List<api.Creative>();
o.add(buildCreative());
o.add(buildCreative());
return o;
}
-checkUnnamed893(core.List<api.Creative> o) {
+checkUnnamed894(core.List<api.Creative> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreative(o[0]);
checkCreative(o[1]);
@@ -748,7 +748,7 @@
var o = new api.CreativesList();
buildCounterCreativesList++;
if (buildCounterCreativesList < 3) {
- o.items = buildUnnamed893();
+ o.items = buildUnnamed894();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -759,7 +759,7 @@
checkCreativesList(api.CreativesList o) {
buildCounterCreativesList++;
if (buildCounterCreativesList < 3) {
- checkUnnamed893(o.items);
+ checkUnnamed894(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -813,14 +813,14 @@
buildCounterDirectDeal--;
}
-buildUnnamed894() {
+buildUnnamed895() {
var o = new core.List<api.DirectDeal>();
o.add(buildDirectDeal());
o.add(buildDirectDeal());
return o;
}
-checkUnnamed894(core.List<api.DirectDeal> o) {
+checkUnnamed895(core.List<api.DirectDeal> o) {
unittest.expect(o, unittest.hasLength(2));
checkDirectDeal(o[0]);
checkDirectDeal(o[1]);
@@ -831,7 +831,7 @@
var o = new api.DirectDealsList();
buildCounterDirectDealsList++;
if (buildCounterDirectDealsList < 3) {
- o.directDeals = buildUnnamed894();
+ o.directDeals = buildUnnamed895();
o.kind = "foo";
}
buildCounterDirectDealsList--;
@@ -841,41 +841,12 @@
checkDirectDealsList(api.DirectDealsList o) {
buildCounterDirectDealsList++;
if (buildCounterDirectDealsList < 3) {
- checkUnnamed894(o.directDeals);
+ checkUnnamed895(o.directDeals);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterDirectDealsList--;
}
-buildUnnamed895() {
- var o = new core.List<core.Object>();
- o.add({
- 'list': [1, 2, 3],
- 'bool': true,
- 'string': 'foo'
- });
- o.add({
- 'list': [1, 2, 3],
- 'bool': true,
- 'string': 'foo'
- });
- return o;
-}
-
-checkUnnamed895(core.List<core.Object> o) {
- unittest.expect(o, unittest.hasLength(2));
- var casted1 = (o[0]) as core.Map;
- unittest.expect(casted1, unittest.hasLength(3));
- unittest.expect(casted1["list"], unittest.equals([1, 2, 3]));
- unittest.expect(casted1["bool"], unittest.equals(true));
- unittest.expect(casted1["string"], unittest.equals('foo'));
- var casted2 = (o[1]) as core.Map;
- unittest.expect(casted2, unittest.hasLength(3));
- unittest.expect(casted2["list"], unittest.equals([1, 2, 3]));
- unittest.expect(casted2["bool"], unittest.equals(true));
- unittest.expect(casted2["string"], unittest.equals('foo'));
-}
-
buildUnnamed896() {
var o = new core.List<core.Object>();
o.add({
@@ -893,16 +864,16 @@
checkUnnamed896(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
- var casted3 = (o[0]) as core.Map;
- unittest.expect(casted3, unittest.hasLength(3));
- unittest.expect(casted3["list"], unittest.equals([1, 2, 3]));
- unittest.expect(casted3["bool"], unittest.equals(true));
- unittest.expect(casted3["string"], unittest.equals('foo'));
- var casted4 = (o[1]) as core.Map;
- unittest.expect(casted4, unittest.hasLength(3));
- unittest.expect(casted4["list"], unittest.equals([1, 2, 3]));
- unittest.expect(casted4["bool"], unittest.equals(true));
- unittest.expect(casted4["string"], unittest.equals('foo'));
+ var casted1 = (o[0]) as core.Map;
+ unittest.expect(casted1, unittest.hasLength(3));
+ unittest.expect(casted1["list"], unittest.equals([1, 2, 3]));
+ unittest.expect(casted1["bool"], unittest.equals(true));
+ unittest.expect(casted1["string"], unittest.equals('foo'));
+ var casted2 = (o[1]) as core.Map;
+ unittest.expect(casted2, unittest.hasLength(3));
+ unittest.expect(casted2["list"], unittest.equals([1, 2, 3]));
+ unittest.expect(casted2["bool"], unittest.equals(true));
+ unittest.expect(casted2["string"], unittest.equals('foo'));
}
buildUnnamed897() {
@@ -922,16 +893,16 @@
checkUnnamed897(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
- var casted5 = (o[0]) as core.Map;
- unittest.expect(casted5, unittest.hasLength(3));
- unittest.expect(casted5["list"], unittest.equals([1, 2, 3]));
- unittest.expect(casted5["bool"], unittest.equals(true));
- unittest.expect(casted5["string"], unittest.equals('foo'));
- var casted6 = (o[1]) as core.Map;
- unittest.expect(casted6, unittest.hasLength(3));
- unittest.expect(casted6["list"], unittest.equals([1, 2, 3]));
- unittest.expect(casted6["bool"], unittest.equals(true));
- unittest.expect(casted6["string"], unittest.equals('foo'));
+ var casted3 = (o[0]) as core.Map;
+ unittest.expect(casted3, unittest.hasLength(3));
+ unittest.expect(casted3["list"], unittest.equals([1, 2, 3]));
+ unittest.expect(casted3["bool"], unittest.equals(true));
+ unittest.expect(casted3["string"], unittest.equals('foo'));
+ var casted4 = (o[1]) as core.Map;
+ unittest.expect(casted4, unittest.hasLength(3));
+ unittest.expect(casted4["list"], unittest.equals([1, 2, 3]));
+ unittest.expect(casted4["bool"], unittest.equals(true));
+ unittest.expect(casted4["string"], unittest.equals('foo'));
}
buildUnnamed898() {
@@ -951,6 +922,35 @@
checkUnnamed898(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
+ var casted5 = (o[0]) as core.Map;
+ unittest.expect(casted5, unittest.hasLength(3));
+ unittest.expect(casted5["list"], unittest.equals([1, 2, 3]));
+ unittest.expect(casted5["bool"], unittest.equals(true));
+ unittest.expect(casted5["string"], unittest.equals('foo'));
+ var casted6 = (o[1]) as core.Map;
+ unittest.expect(casted6, unittest.hasLength(3));
+ unittest.expect(casted6["list"], unittest.equals([1, 2, 3]));
+ unittest.expect(casted6["bool"], unittest.equals(true));
+ unittest.expect(casted6["string"], unittest.equals('foo'));
+}
+
+buildUnnamed899() {
+ var o = new core.List<core.Object>();
+ o.add({
+ 'list': [1, 2, 3],
+ 'bool': true,
+ 'string': 'foo'
+ });
+ o.add({
+ 'list': [1, 2, 3],
+ 'bool': true,
+ 'string': 'foo'
+ });
+ return o;
+}
+
+checkUnnamed899(core.List<core.Object> o) {
+ unittest.expect(o, unittest.hasLength(2));
var casted7 = (o[0]) as core.Map;
unittest.expect(casted7, unittest.hasLength(3));
unittest.expect(casted7["list"], unittest.equals([1, 2, 3]));
@@ -970,11 +970,11 @@
if (buildCounterPerformanceReport < 3) {
o.bidRate = 42.0;
o.bidRequestRate = 42.0;
- o.calloutStatusRate = buildUnnamed895();
- o.cookieMatcherStatusRate = buildUnnamed896();
- o.creativeStatusRate = buildUnnamed897();
+ o.calloutStatusRate = buildUnnamed896();
+ o.cookieMatcherStatusRate = buildUnnamed897();
+ o.creativeStatusRate = buildUnnamed898();
o.filteredBidRate = 42.0;
- o.hostedMatchStatusRate = buildUnnamed898();
+ o.hostedMatchStatusRate = buildUnnamed899();
o.inventoryMatchRate = 42.0;
o.kind = "foo";
o.latency50thPercentile = 42.0;
@@ -1000,11 +1000,11 @@
if (buildCounterPerformanceReport < 3) {
unittest.expect(o.bidRate, unittest.equals(42.0));
unittest.expect(o.bidRequestRate, unittest.equals(42.0));
- checkUnnamed895(o.calloutStatusRate);
- checkUnnamed896(o.cookieMatcherStatusRate);
- checkUnnamed897(o.creativeStatusRate);
+ checkUnnamed896(o.calloutStatusRate);
+ checkUnnamed897(o.cookieMatcherStatusRate);
+ checkUnnamed898(o.creativeStatusRate);
unittest.expect(o.filteredBidRate, unittest.equals(42.0));
- checkUnnamed898(o.hostedMatchStatusRate);
+ checkUnnamed899(o.hostedMatchStatusRate);
unittest.expect(o.inventoryMatchRate, unittest.equals(42.0));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.latency50thPercentile, unittest.equals(42.0));
@@ -1024,14 +1024,14 @@
buildCounterPerformanceReport--;
}
-buildUnnamed899() {
+buildUnnamed900() {
var o = new core.List<api.PerformanceReport>();
o.add(buildPerformanceReport());
o.add(buildPerformanceReport());
return o;
}
-checkUnnamed899(core.List<api.PerformanceReport> o) {
+checkUnnamed900(core.List<api.PerformanceReport> o) {
unittest.expect(o, unittest.hasLength(2));
checkPerformanceReport(o[0]);
checkPerformanceReport(o[1]);
@@ -1043,7 +1043,7 @@
buildCounterPerformanceReportList++;
if (buildCounterPerformanceReportList < 3) {
o.kind = "foo";
- o.performanceReport = buildUnnamed899();
+ o.performanceReport = buildUnnamed900();
}
buildCounterPerformanceReportList--;
return o;
@@ -1053,19 +1053,19 @@
buildCounterPerformanceReportList++;
if (buildCounterPerformanceReportList < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed899(o.performanceReport);
+ checkUnnamed900(o.performanceReport);
}
buildCounterPerformanceReportList--;
}
-buildUnnamed900() {
+buildUnnamed901() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed900(core.List<core.String> o) {
+checkUnnamed901(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1092,32 +1092,19 @@
buildCounterPretargetingConfigDimensions--;
}
-buildUnnamed901() {
+buildUnnamed902() {
var o = new core.List<api.PretargetingConfigDimensions>();
o.add(buildPretargetingConfigDimensions());
o.add(buildPretargetingConfigDimensions());
return o;
}
-checkUnnamed901(core.List<api.PretargetingConfigDimensions> o) {
+checkUnnamed902(core.List<api.PretargetingConfigDimensions> o) {
unittest.expect(o, unittest.hasLength(2));
checkPretargetingConfigDimensions(o[0]);
checkPretargetingConfigDimensions(o[1]);
}
-buildUnnamed902() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed902(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed903() {
var o = new core.List<core.String>();
o.add("foo");
@@ -1131,6 +1118,19 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed904() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed904(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
core.int buildCounterPretargetingConfigExcludedPlacements = 0;
buildPretargetingConfigExcludedPlacements() {
var o = new api.PretargetingConfigExcludedPlacements();
@@ -1153,32 +1153,19 @@
buildCounterPretargetingConfigExcludedPlacements--;
}
-buildUnnamed904() {
+buildUnnamed905() {
var o = new core.List<api.PretargetingConfigExcludedPlacements>();
o.add(buildPretargetingConfigExcludedPlacements());
o.add(buildPretargetingConfigExcludedPlacements());
return o;
}
-checkUnnamed904(core.List<api.PretargetingConfigExcludedPlacements> o) {
+checkUnnamed905(core.List<api.PretargetingConfigExcludedPlacements> o) {
unittest.expect(o, unittest.hasLength(2));
checkPretargetingConfigExcludedPlacements(o[0]);
checkPretargetingConfigExcludedPlacements(o[1]);
}
-buildUnnamed905() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed905(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed906() {
var o = new core.List<core.String>();
o.add("foo");
@@ -1257,6 +1244,19 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed912() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed912(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
core.int buildCounterPretargetingConfigPlacements = 0;
buildPretargetingConfigPlacements() {
var o = new api.PretargetingConfigPlacements();
@@ -1278,32 +1278,19 @@
buildCounterPretargetingConfigPlacements--;
}
-buildUnnamed912() {
+buildUnnamed913() {
var o = new core.List<api.PretargetingConfigPlacements>();
o.add(buildPretargetingConfigPlacements());
o.add(buildPretargetingConfigPlacements());
return o;
}
-checkUnnamed912(core.List<api.PretargetingConfigPlacements> o) {
+checkUnnamed913(core.List<api.PretargetingConfigPlacements> o) {
unittest.expect(o, unittest.hasLength(2));
checkPretargetingConfigPlacements(o[0]);
checkPretargetingConfigPlacements(o[1]);
}
-buildUnnamed913() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed913(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed914() {
var o = new core.List<core.String>();
o.add("foo");
@@ -1356,6 +1343,19 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed918() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed918(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
core.int buildCounterPretargetingConfig = 0;
buildPretargetingConfig() {
var o = new api.PretargetingConfig();
@@ -1364,27 +1364,27 @@
o.billingId = "foo";
o.configId = "foo";
o.configName = "foo";
- o.creativeType = buildUnnamed900();
- o.dimensions = buildUnnamed901();
- o.excludedContentLabels = buildUnnamed902();
- o.excludedGeoCriteriaIds = buildUnnamed903();
- o.excludedPlacements = buildUnnamed904();
- o.excludedUserLists = buildUnnamed905();
- o.excludedVerticals = buildUnnamed906();
- o.geoCriteriaIds = buildUnnamed907();
+ o.creativeType = buildUnnamed901();
+ o.dimensions = buildUnnamed902();
+ o.excludedContentLabels = buildUnnamed903();
+ o.excludedGeoCriteriaIds = buildUnnamed904();
+ o.excludedPlacements = buildUnnamed905();
+ o.excludedUserLists = buildUnnamed906();
+ o.excludedVerticals = buildUnnamed907();
+ o.geoCriteriaIds = buildUnnamed908();
o.isActive = true;
o.kind = "foo";
- o.languages = buildUnnamed908();
+ o.languages = buildUnnamed909();
o.maximumQps = "foo";
- o.mobileCarriers = buildUnnamed909();
- o.mobileDevices = buildUnnamed910();
- o.mobileOperatingSystemVersions = buildUnnamed911();
- o.placements = buildUnnamed912();
- o.platforms = buildUnnamed913();
- o.supportedCreativeAttributes = buildUnnamed914();
- o.userLists = buildUnnamed915();
- o.vendorTypes = buildUnnamed916();
- o.verticals = buildUnnamed917();
+ o.mobileCarriers = buildUnnamed910();
+ o.mobileDevices = buildUnnamed911();
+ o.mobileOperatingSystemVersions = buildUnnamed912();
+ o.placements = buildUnnamed913();
+ o.platforms = buildUnnamed914();
+ o.supportedCreativeAttributes = buildUnnamed915();
+ o.userLists = buildUnnamed916();
+ o.vendorTypes = buildUnnamed917();
+ o.verticals = buildUnnamed918();
}
buildCounterPretargetingConfig--;
return o;
@@ -1396,39 +1396,39 @@
unittest.expect(o.billingId, unittest.equals('foo'));
unittest.expect(o.configId, unittest.equals('foo'));
unittest.expect(o.configName, unittest.equals('foo'));
- checkUnnamed900(o.creativeType);
- checkUnnamed901(o.dimensions);
- checkUnnamed902(o.excludedContentLabels);
- checkUnnamed903(o.excludedGeoCriteriaIds);
- checkUnnamed904(o.excludedPlacements);
- checkUnnamed905(o.excludedUserLists);
- checkUnnamed906(o.excludedVerticals);
- checkUnnamed907(o.geoCriteriaIds);
+ checkUnnamed901(o.creativeType);
+ checkUnnamed902(o.dimensions);
+ checkUnnamed903(o.excludedContentLabels);
+ checkUnnamed904(o.excludedGeoCriteriaIds);
+ checkUnnamed905(o.excludedPlacements);
+ checkUnnamed906(o.excludedUserLists);
+ checkUnnamed907(o.excludedVerticals);
+ checkUnnamed908(o.geoCriteriaIds);
unittest.expect(o.isActive, unittest.isTrue);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed908(o.languages);
+ checkUnnamed909(o.languages);
unittest.expect(o.maximumQps, unittest.equals('foo'));
- checkUnnamed909(o.mobileCarriers);
- checkUnnamed910(o.mobileDevices);
- checkUnnamed911(o.mobileOperatingSystemVersions);
- checkUnnamed912(o.placements);
- checkUnnamed913(o.platforms);
- checkUnnamed914(o.supportedCreativeAttributes);
- checkUnnamed915(o.userLists);
- checkUnnamed916(o.vendorTypes);
- checkUnnamed917(o.verticals);
+ checkUnnamed910(o.mobileCarriers);
+ checkUnnamed911(o.mobileDevices);
+ checkUnnamed912(o.mobileOperatingSystemVersions);
+ checkUnnamed913(o.placements);
+ checkUnnamed914(o.platforms);
+ checkUnnamed915(o.supportedCreativeAttributes);
+ checkUnnamed916(o.userLists);
+ checkUnnamed917(o.vendorTypes);
+ checkUnnamed918(o.verticals);
}
buildCounterPretargetingConfig--;
}
-buildUnnamed918() {
+buildUnnamed919() {
var o = new core.List<api.PretargetingConfig>();
o.add(buildPretargetingConfig());
o.add(buildPretargetingConfig());
return o;
}
-checkUnnamed918(core.List<api.PretargetingConfig> o) {
+checkUnnamed919(core.List<api.PretargetingConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkPretargetingConfig(o[0]);
checkPretargetingConfig(o[1]);
@@ -1439,7 +1439,7 @@
var o = new api.PretargetingConfigList();
buildCounterPretargetingConfigList++;
if (buildCounterPretargetingConfigList < 3) {
- o.items = buildUnnamed918();
+ o.items = buildUnnamed919();
o.kind = "foo";
}
buildCounterPretargetingConfigList--;
@@ -1449,33 +1449,33 @@
checkPretargetingConfigList(api.PretargetingConfigList o) {
buildCounterPretargetingConfigList++;
if (buildCounterPretargetingConfigList < 3) {
- checkUnnamed918(o.items);
+ checkUnnamed919(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterPretargetingConfigList--;
}
-buildUnnamed919() {
+buildUnnamed920() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed919(core.List<core.int> o) {
+checkUnnamed920(core.List<core.int> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42));
unittest.expect(o[1], unittest.equals(42));
}
-buildUnnamed920() {
+buildUnnamed921() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed920(core.List<core.String> o) {
+checkUnnamed921(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2365,8 +2365,8 @@
unittest.test("method--list", () {
var mock = new HttpServerMock();
api.CreativesResourceApi res = new api.AdexchangebuyerApi(mock).creatives;
- var arg_accountId = buildUnnamed919();
- var arg_buyerCreativeId = buildUnnamed920();
+ var arg_accountId = buildUnnamed920();
+ var arg_buyerCreativeId = buildUnnamed921();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_statusFilter = "foo";
diff --git a/generated/googleapis/test/adexchangebuyer/v1_4_test.dart b/generated/googleapis/test/adexchangebuyer/v1_4_test.dart
index 7723fcb..6e74c10 100644
--- a/generated/googleapis/test/adexchangebuyer/v1_4_test.dart
+++ b/generated/googleapis/test/adexchangebuyer/v1_4_test.dart
@@ -75,14 +75,14 @@
buildCounterAccountBidderLocation--;
}
-buildUnnamed921() {
+buildUnnamed922() {
var o = new core.List<api.AccountBidderLocation>();
o.add(buildAccountBidderLocation());
o.add(buildAccountBidderLocation());
return o;
}
-checkUnnamed921(core.List<api.AccountBidderLocation> o) {
+checkUnnamed922(core.List<api.AccountBidderLocation> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccountBidderLocation(o[0]);
checkAccountBidderLocation(o[1]);
@@ -94,7 +94,7 @@
buildCounterAccount++;
if (buildCounterAccount < 3) {
o.applyPretargetingToNonGuaranteedDeals = true;
- o.bidderLocation = buildUnnamed921();
+ o.bidderLocation = buildUnnamed922();
o.cookieMatchingNid = "foo";
o.cookieMatchingUrl = "foo";
o.id = 42;
@@ -111,7 +111,7 @@
buildCounterAccount++;
if (buildCounterAccount < 3) {
unittest.expect(o.applyPretargetingToNonGuaranteedDeals, unittest.isTrue);
- checkUnnamed921(o.bidderLocation);
+ checkUnnamed922(o.bidderLocation);
unittest.expect(o.cookieMatchingNid, unittest.equals('foo'));
unittest.expect(o.cookieMatchingUrl, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals(42));
@@ -123,14 +123,14 @@
buildCounterAccount--;
}
-buildUnnamed922() {
+buildUnnamed923() {
var o = new core.List<api.Account>();
o.add(buildAccount());
o.add(buildAccount());
return o;
}
-checkUnnamed922(core.List<api.Account> o) {
+checkUnnamed923(core.List<api.Account> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccount(o[0]);
checkAccount(o[1]);
@@ -141,7 +141,7 @@
var o = new api.AccountsList();
buildCounterAccountsList++;
if (buildCounterAccountsList < 3) {
- o.items = buildUnnamed922();
+ o.items = buildUnnamed923();
o.kind = "foo";
}
buildCounterAccountsList--;
@@ -151,48 +151,12 @@
checkAccountsList(api.AccountsList o) {
buildCounterAccountsList++;
if (buildCounterAccountsList < 3) {
- checkUnnamed922(o.items);
+ checkUnnamed923(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAccountsList--;
}
-buildUnnamed923() {
- var o = new core.List<api.MarketplaceDeal>();
- o.add(buildMarketplaceDeal());
- o.add(buildMarketplaceDeal());
- return o;
-}
-
-checkUnnamed923(core.List<api.MarketplaceDeal> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkMarketplaceDeal(o[0]);
- checkMarketplaceDeal(o[1]);
-}
-
-core.int buildCounterAddOrderDealsRequest = 0;
-buildAddOrderDealsRequest() {
- var o = new api.AddOrderDealsRequest();
- buildCounterAddOrderDealsRequest++;
- if (buildCounterAddOrderDealsRequest < 3) {
- o.deals = buildUnnamed923();
- o.proposalRevisionNumber = "foo";
- o.updateAction = "foo";
- }
- buildCounterAddOrderDealsRequest--;
- return o;
-}
-
-checkAddOrderDealsRequest(api.AddOrderDealsRequest o) {
- buildCounterAddOrderDealsRequest++;
- if (buildCounterAddOrderDealsRequest < 3) {
- checkUnnamed923(o.deals);
- unittest.expect(o.proposalRevisionNumber, unittest.equals('foo'));
- unittest.expect(o.updateAction, unittest.equals('foo'));
- }
- buildCounterAddOrderDealsRequest--;
-}
-
buildUnnamed924() {
var o = new core.List<api.MarketplaceDeal>();
o.add(buildMarketplaceDeal());
@@ -206,12 +170,48 @@
checkMarketplaceDeal(o[1]);
}
+core.int buildCounterAddOrderDealsRequest = 0;
+buildAddOrderDealsRequest() {
+ var o = new api.AddOrderDealsRequest();
+ buildCounterAddOrderDealsRequest++;
+ if (buildCounterAddOrderDealsRequest < 3) {
+ o.deals = buildUnnamed924();
+ o.proposalRevisionNumber = "foo";
+ o.updateAction = "foo";
+ }
+ buildCounterAddOrderDealsRequest--;
+ return o;
+}
+
+checkAddOrderDealsRequest(api.AddOrderDealsRequest o) {
+ buildCounterAddOrderDealsRequest++;
+ if (buildCounterAddOrderDealsRequest < 3) {
+ checkUnnamed924(o.deals);
+ unittest.expect(o.proposalRevisionNumber, unittest.equals('foo'));
+ unittest.expect(o.updateAction, unittest.equals('foo'));
+ }
+ buildCounterAddOrderDealsRequest--;
+}
+
+buildUnnamed925() {
+ var o = new core.List<api.MarketplaceDeal>();
+ o.add(buildMarketplaceDeal());
+ o.add(buildMarketplaceDeal());
+ return o;
+}
+
+checkUnnamed925(core.List<api.MarketplaceDeal> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkMarketplaceDeal(o[0]);
+ checkMarketplaceDeal(o[1]);
+}
+
core.int buildCounterAddOrderDealsResponse = 0;
buildAddOrderDealsResponse() {
var o = new api.AddOrderDealsResponse();
buildCounterAddOrderDealsResponse++;
if (buildCounterAddOrderDealsResponse < 3) {
- o.deals = buildUnnamed924();
+ o.deals = buildUnnamed925();
o.proposalRevisionNumber = "foo";
}
buildCounterAddOrderDealsResponse--;
@@ -221,44 +221,12 @@
checkAddOrderDealsResponse(api.AddOrderDealsResponse o) {
buildCounterAddOrderDealsResponse++;
if (buildCounterAddOrderDealsResponse < 3) {
- checkUnnamed924(o.deals);
+ checkUnnamed925(o.deals);
unittest.expect(o.proposalRevisionNumber, unittest.equals('foo'));
}
buildCounterAddOrderDealsResponse--;
}
-buildUnnamed925() {
- var o = new core.List<api.MarketplaceNote>();
- o.add(buildMarketplaceNote());
- o.add(buildMarketplaceNote());
- return o;
-}
-
-checkUnnamed925(core.List<api.MarketplaceNote> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkMarketplaceNote(o[0]);
- checkMarketplaceNote(o[1]);
-}
-
-core.int buildCounterAddOrderNotesRequest = 0;
-buildAddOrderNotesRequest() {
- var o = new api.AddOrderNotesRequest();
- buildCounterAddOrderNotesRequest++;
- if (buildCounterAddOrderNotesRequest < 3) {
- o.notes = buildUnnamed925();
- }
- buildCounterAddOrderNotesRequest--;
- return o;
-}
-
-checkAddOrderNotesRequest(api.AddOrderNotesRequest o) {
- buildCounterAddOrderNotesRequest++;
- if (buildCounterAddOrderNotesRequest < 3) {
- checkUnnamed925(o.notes);
- }
- buildCounterAddOrderNotesRequest--;
-}
-
buildUnnamed926() {
var o = new core.List<api.MarketplaceNote>();
o.add(buildMarketplaceNote());
@@ -272,12 +240,44 @@
checkMarketplaceNote(o[1]);
}
+core.int buildCounterAddOrderNotesRequest = 0;
+buildAddOrderNotesRequest() {
+ var o = new api.AddOrderNotesRequest();
+ buildCounterAddOrderNotesRequest++;
+ if (buildCounterAddOrderNotesRequest < 3) {
+ o.notes = buildUnnamed926();
+ }
+ buildCounterAddOrderNotesRequest--;
+ return o;
+}
+
+checkAddOrderNotesRequest(api.AddOrderNotesRequest o) {
+ buildCounterAddOrderNotesRequest++;
+ if (buildCounterAddOrderNotesRequest < 3) {
+ checkUnnamed926(o.notes);
+ }
+ buildCounterAddOrderNotesRequest--;
+}
+
+buildUnnamed927() {
+ var o = new core.List<api.MarketplaceNote>();
+ o.add(buildMarketplaceNote());
+ o.add(buildMarketplaceNote());
+ return o;
+}
+
+checkUnnamed927(core.List<api.MarketplaceNote> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkMarketplaceNote(o[0]);
+ checkMarketplaceNote(o[1]);
+}
+
core.int buildCounterAddOrderNotesResponse = 0;
buildAddOrderNotesResponse() {
var o = new api.AddOrderNotesResponse();
buildCounterAddOrderNotesResponse++;
if (buildCounterAddOrderNotesResponse < 3) {
- o.notes = buildUnnamed926();
+ o.notes = buildUnnamed927();
}
buildCounterAddOrderNotesResponse--;
return o;
@@ -286,19 +286,19 @@
checkAddOrderNotesResponse(api.AddOrderNotesResponse o) {
buildCounterAddOrderNotesResponse++;
if (buildCounterAddOrderNotesResponse < 3) {
- checkUnnamed926(o.notes);
+ checkUnnamed927(o.notes);
}
buildCounterAddOrderNotesResponse--;
}
-buildUnnamed927() {
+buildUnnamed928() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed927(core.List<core.String> o) {
+checkUnnamed928(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -311,7 +311,7 @@
if (buildCounterBillingInfo < 3) {
o.accountId = 42;
o.accountName = "foo";
- o.billingId = buildUnnamed927();
+ o.billingId = buildUnnamed928();
o.kind = "foo";
}
buildCounterBillingInfo--;
@@ -323,20 +323,20 @@
if (buildCounterBillingInfo < 3) {
unittest.expect(o.accountId, unittest.equals(42));
unittest.expect(o.accountName, unittest.equals('foo'));
- checkUnnamed927(o.billingId);
+ checkUnnamed928(o.billingId);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterBillingInfo--;
}
-buildUnnamed928() {
+buildUnnamed929() {
var o = new core.List<api.BillingInfo>();
o.add(buildBillingInfo());
o.add(buildBillingInfo());
return o;
}
-checkUnnamed928(core.List<api.BillingInfo> o) {
+checkUnnamed929(core.List<api.BillingInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkBillingInfo(o[0]);
checkBillingInfo(o[1]);
@@ -347,7 +347,7 @@
var o = new api.BillingInfoList();
buildCounterBillingInfoList++;
if (buildCounterBillingInfoList < 3) {
- o.items = buildUnnamed928();
+ o.items = buildUnnamed929();
o.kind = "foo";
}
buildCounterBillingInfoList--;
@@ -357,7 +357,7 @@
checkBillingInfoList(api.BillingInfoList o) {
buildCounterBillingInfoList++;
if (buildCounterBillingInfoList < 3) {
- checkUnnamed928(o.items);
+ checkUnnamed929(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterBillingInfoList--;
@@ -432,40 +432,6 @@
buildCounterContactInformation--;
}
-buildUnnamed929() {
- var o = new core.List<api.Proposal>();
- o.add(buildProposal());
- o.add(buildProposal());
- return o;
-}
-
-checkUnnamed929(core.List<api.Proposal> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkProposal(o[0]);
- checkProposal(o[1]);
-}
-
-core.int buildCounterCreateOrdersRequest = 0;
-buildCreateOrdersRequest() {
- var o = new api.CreateOrdersRequest();
- buildCounterCreateOrdersRequest++;
- if (buildCounterCreateOrdersRequest < 3) {
- o.proposals = buildUnnamed929();
- o.webPropertyCode = "foo";
- }
- buildCounterCreateOrdersRequest--;
- return o;
-}
-
-checkCreateOrdersRequest(api.CreateOrdersRequest o) {
- buildCounterCreateOrdersRequest++;
- if (buildCounterCreateOrdersRequest < 3) {
- checkUnnamed929(o.proposals);
- unittest.expect(o.webPropertyCode, unittest.equals('foo'));
- }
- buildCounterCreateOrdersRequest--;
-}
-
buildUnnamed930() {
var o = new core.List<api.Proposal>();
o.add(buildProposal());
@@ -479,12 +445,46 @@
checkProposal(o[1]);
}
+core.int buildCounterCreateOrdersRequest = 0;
+buildCreateOrdersRequest() {
+ var o = new api.CreateOrdersRequest();
+ buildCounterCreateOrdersRequest++;
+ if (buildCounterCreateOrdersRequest < 3) {
+ o.proposals = buildUnnamed930();
+ o.webPropertyCode = "foo";
+ }
+ buildCounterCreateOrdersRequest--;
+ return o;
+}
+
+checkCreateOrdersRequest(api.CreateOrdersRequest o) {
+ buildCounterCreateOrdersRequest++;
+ if (buildCounterCreateOrdersRequest < 3) {
+ checkUnnamed930(o.proposals);
+ unittest.expect(o.webPropertyCode, unittest.equals('foo'));
+ }
+ buildCounterCreateOrdersRequest--;
+}
+
+buildUnnamed931() {
+ var o = new core.List<api.Proposal>();
+ o.add(buildProposal());
+ o.add(buildProposal());
+ return o;
+}
+
+checkUnnamed931(core.List<api.Proposal> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkProposal(o[0]);
+ checkProposal(o[1]);
+}
+
core.int buildCounterCreateOrdersResponse = 0;
buildCreateOrdersResponse() {
var o = new api.CreateOrdersResponse();
buildCounterCreateOrdersResponse++;
if (buildCounterCreateOrdersResponse < 3) {
- o.proposals = buildUnnamed930();
+ o.proposals = buildUnnamed931();
}
buildCounterCreateOrdersResponse--;
return o;
@@ -493,45 +493,11 @@
checkCreateOrdersResponse(api.CreateOrdersResponse o) {
buildCounterCreateOrdersResponse++;
if (buildCounterCreateOrdersResponse < 3) {
- checkUnnamed930(o.proposals);
+ checkUnnamed931(o.proposals);
}
buildCounterCreateOrdersResponse--;
}
-buildUnnamed931() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed931(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-core.int buildCounterCreativeAdTechnologyProviders = 0;
-buildCreativeAdTechnologyProviders() {
- var o = new api.CreativeAdTechnologyProviders();
- buildCounterCreativeAdTechnologyProviders++;
- if (buildCounterCreativeAdTechnologyProviders < 3) {
- o.detectedProviderIds = buildUnnamed931();
- o.hasUnidentifiedProvider = true;
- }
- buildCounterCreativeAdTechnologyProviders--;
- return o;
-}
-
-checkCreativeAdTechnologyProviders(api.CreativeAdTechnologyProviders o) {
- buildCounterCreativeAdTechnologyProviders++;
- if (buildCounterCreativeAdTechnologyProviders < 3) {
- checkUnnamed931(o.detectedProviderIds);
- unittest.expect(o.hasUnidentifiedProvider, unittest.isTrue);
- }
- buildCounterCreativeAdTechnologyProviders--;
-}
-
buildUnnamed932() {
var o = new core.List<core.String>();
o.add("foo");
@@ -545,32 +511,53 @@
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed933() {
- var o = new core.List<core.int>();
- o.add(42);
- o.add(42);
+core.int buildCounterCreativeAdTechnologyProviders = 0;
+buildCreativeAdTechnologyProviders() {
+ var o = new api.CreativeAdTechnologyProviders();
+ buildCounterCreativeAdTechnologyProviders++;
+ if (buildCounterCreativeAdTechnologyProviders < 3) {
+ o.detectedProviderIds = buildUnnamed932();
+ o.hasUnidentifiedProvider = true;
+ }
+ buildCounterCreativeAdTechnologyProviders--;
return o;
}
-checkUnnamed933(core.List<core.int> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals(42));
- unittest.expect(o[1], unittest.equals(42));
+checkCreativeAdTechnologyProviders(api.CreativeAdTechnologyProviders o) {
+ buildCounterCreativeAdTechnologyProviders++;
+ if (buildCounterCreativeAdTechnologyProviders < 3) {
+ checkUnnamed932(o.detectedProviderIds);
+ unittest.expect(o.hasUnidentifiedProvider, unittest.isTrue);
+ }
+ buildCounterCreativeAdTechnologyProviders--;
}
-buildUnnamed934() {
+buildUnnamed933() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed934(core.List<core.String> o) {
+checkUnnamed933(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed934() {
+ var o = new core.List<core.int>();
+ o.add(42);
+ o.add(42);
+ return o;
+}
+
+checkUnnamed934(core.List<core.int> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals(42));
+ unittest.expect(o[1], unittest.equals(42));
+}
+
buildUnnamed935() {
var o = new core.List<core.String>();
o.add("foo");
@@ -585,26 +572,39 @@
}
buildUnnamed936() {
- var o = new core.List<core.int>();
- o.add(42);
- o.add(42);
- return o;
-}
-
-checkUnnamed936(core.List<core.int> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals(42));
- unittest.expect(o[1], unittest.equals(42));
-}
-
-buildUnnamed937() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed937(core.List<core.String> o) {
+checkUnnamed936(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed937() {
+ var o = new core.List<core.int>();
+ o.add(42);
+ o.add(42);
+ return o;
+}
+
+checkUnnamed937(core.List<core.int> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals(42));
+ unittest.expect(o[1], unittest.equals(42));
+}
+
+buildUnnamed938() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed938(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -615,10 +615,10 @@
var o = new api.CreativeCorrectionsContexts();
buildCounterCreativeCorrectionsContexts++;
if (buildCounterCreativeCorrectionsContexts < 3) {
- o.auctionType = buildUnnamed935();
+ o.auctionType = buildUnnamed936();
o.contextType = "foo";
- o.geoCriteriaId = buildUnnamed936();
- o.platform = buildUnnamed937();
+ o.geoCriteriaId = buildUnnamed937();
+ o.platform = buildUnnamed938();
}
buildCounterCreativeCorrectionsContexts--;
return o;
@@ -627,35 +627,35 @@
checkCreativeCorrectionsContexts(api.CreativeCorrectionsContexts o) {
buildCounterCreativeCorrectionsContexts++;
if (buildCounterCreativeCorrectionsContexts < 3) {
- checkUnnamed935(o.auctionType);
+ checkUnnamed936(o.auctionType);
unittest.expect(o.contextType, unittest.equals('foo'));
- checkUnnamed936(o.geoCriteriaId);
- checkUnnamed937(o.platform);
+ checkUnnamed937(o.geoCriteriaId);
+ checkUnnamed938(o.platform);
}
buildCounterCreativeCorrectionsContexts--;
}
-buildUnnamed938() {
+buildUnnamed939() {
var o = new core.List<api.CreativeCorrectionsContexts>();
o.add(buildCreativeCorrectionsContexts());
o.add(buildCreativeCorrectionsContexts());
return o;
}
-checkUnnamed938(core.List<api.CreativeCorrectionsContexts> o) {
+checkUnnamed939(core.List<api.CreativeCorrectionsContexts> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeCorrectionsContexts(o[0]);
checkCreativeCorrectionsContexts(o[1]);
}
-buildUnnamed939() {
+buildUnnamed940() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed939(core.List<core.String> o) {
+checkUnnamed940(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -666,8 +666,8 @@
var o = new api.CreativeCorrections();
buildCounterCreativeCorrections++;
if (buildCounterCreativeCorrections < 3) {
- o.contexts = buildUnnamed938();
- o.details = buildUnnamed939();
+ o.contexts = buildUnnamed939();
+ o.details = buildUnnamed940();
o.reason = "foo";
}
buildCounterCreativeCorrections--;
@@ -677,34 +677,34 @@
checkCreativeCorrections(api.CreativeCorrections o) {
buildCounterCreativeCorrections++;
if (buildCounterCreativeCorrections < 3) {
- checkUnnamed938(o.contexts);
- checkUnnamed939(o.details);
+ checkUnnamed939(o.contexts);
+ checkUnnamed940(o.details);
unittest.expect(o.reason, unittest.equals('foo'));
}
buildCounterCreativeCorrections--;
}
-buildUnnamed940() {
+buildUnnamed941() {
var o = new core.List<api.CreativeCorrections>();
o.add(buildCreativeCorrections());
o.add(buildCreativeCorrections());
return o;
}
-checkUnnamed940(core.List<api.CreativeCorrections> o) {
+checkUnnamed941(core.List<api.CreativeCorrections> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeCorrections(o[0]);
checkCreativeCorrections(o[1]);
}
-buildUnnamed941() {
+buildUnnamed942() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed941(core.List<core.String> o) {
+checkUnnamed942(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -731,14 +731,14 @@
buildCounterCreativeFilteringReasonsReasons--;
}
-buildUnnamed942() {
+buildUnnamed943() {
var o = new core.List<api.CreativeFilteringReasonsReasons>();
o.add(buildCreativeFilteringReasonsReasons());
o.add(buildCreativeFilteringReasonsReasons());
return o;
}
-checkUnnamed942(core.List<api.CreativeFilteringReasonsReasons> o) {
+checkUnnamed943(core.List<api.CreativeFilteringReasonsReasons> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeFilteringReasonsReasons(o[0]);
checkCreativeFilteringReasonsReasons(o[1]);
@@ -750,7 +750,7 @@
buildCounterCreativeFilteringReasons++;
if (buildCounterCreativeFilteringReasons < 3) {
o.date = "foo";
- o.reasons = buildUnnamed942();
+ o.reasons = buildUnnamed943();
}
buildCounterCreativeFilteringReasons--;
return o;
@@ -760,24 +760,11 @@
buildCounterCreativeFilteringReasons++;
if (buildCounterCreativeFilteringReasons < 3) {
unittest.expect(o.date, unittest.equals('foo'));
- checkUnnamed942(o.reasons);
+ checkUnnamed943(o.reasons);
}
buildCounterCreativeFilteringReasons--;
}
-buildUnnamed943() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed943(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed944() {
var o = new core.List<core.String>();
o.add("foo");
@@ -791,6 +778,19 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed945() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed945(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
core.int buildCounterCreativeNativeAdAppIcon = 0;
buildCreativeNativeAdAppIcon() {
var o = new api.CreativeNativeAdAppIcon();
@@ -837,14 +837,14 @@
buildCounterCreativeNativeAdImage--;
}
-buildUnnamed945() {
+buildUnnamed946() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed945(core.List<core.String> o) {
+checkUnnamed946(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -886,7 +886,7 @@
o.clickTrackingUrl = "foo";
o.headline = "foo";
o.image = buildCreativeNativeAdImage();
- o.impressionTrackingUrl = buildUnnamed945();
+ o.impressionTrackingUrl = buildUnnamed946();
o.logo = buildCreativeNativeAdLogo();
o.price = "foo";
o.starRating = 42.0;
@@ -907,7 +907,7 @@
unittest.expect(o.clickTrackingUrl, unittest.equals('foo'));
unittest.expect(o.headline, unittest.equals('foo'));
checkCreativeNativeAdImage(o.image);
- checkUnnamed945(o.impressionTrackingUrl);
+ checkUnnamed946(o.impressionTrackingUrl);
checkCreativeNativeAdLogo(o.logo);
unittest.expect(o.price, unittest.equals('foo'));
unittest.expect(o.starRating, unittest.equals(42.0));
@@ -916,19 +916,6 @@
buildCounterCreativeNativeAd--;
}
-buildUnnamed946() {
- var o = new core.List<core.int>();
- o.add(42);
- o.add(42);
- return o;
-}
-
-checkUnnamed946(core.List<core.int> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals(42));
- unittest.expect(o[1], unittest.equals(42));
-}
-
buildUnnamed947() {
var o = new core.List<core.int>();
o.add(42);
@@ -956,39 +943,52 @@
}
buildUnnamed949() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed949(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed950() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed950(core.List<core.int> o) {
+checkUnnamed949(core.List<core.int> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42));
unittest.expect(o[1], unittest.equals(42));
}
-buildUnnamed951() {
+buildUnnamed950() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed951(core.List<core.String> o) {
+checkUnnamed950(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed951() {
+ var o = new core.List<core.int>();
+ o.add(42);
+ o.add(42);
+ return o;
+}
+
+checkUnnamed951(core.List<core.int> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals(42));
+ unittest.expect(o[1], unittest.equals(42));
+}
+
+buildUnnamed952() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed952(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -999,10 +999,10 @@
var o = new api.CreativeServingRestrictionsContexts();
buildCounterCreativeServingRestrictionsContexts++;
if (buildCounterCreativeServingRestrictionsContexts < 3) {
- o.auctionType = buildUnnamed949();
+ o.auctionType = buildUnnamed950();
o.contextType = "foo";
- o.geoCriteriaId = buildUnnamed950();
- o.platform = buildUnnamed951();
+ o.geoCriteriaId = buildUnnamed951();
+ o.platform = buildUnnamed952();
}
buildCounterCreativeServingRestrictionsContexts--;
return o;
@@ -1012,35 +1012,35 @@
api.CreativeServingRestrictionsContexts o) {
buildCounterCreativeServingRestrictionsContexts++;
if (buildCounterCreativeServingRestrictionsContexts < 3) {
- checkUnnamed949(o.auctionType);
+ checkUnnamed950(o.auctionType);
unittest.expect(o.contextType, unittest.equals('foo'));
- checkUnnamed950(o.geoCriteriaId);
- checkUnnamed951(o.platform);
+ checkUnnamed951(o.geoCriteriaId);
+ checkUnnamed952(o.platform);
}
buildCounterCreativeServingRestrictionsContexts--;
}
-buildUnnamed952() {
+buildUnnamed953() {
var o = new core.List<api.CreativeServingRestrictionsContexts>();
o.add(buildCreativeServingRestrictionsContexts());
o.add(buildCreativeServingRestrictionsContexts());
return o;
}
-checkUnnamed952(core.List<api.CreativeServingRestrictionsContexts> o) {
+checkUnnamed953(core.List<api.CreativeServingRestrictionsContexts> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeServingRestrictionsContexts(o[0]);
checkCreativeServingRestrictionsContexts(o[1]);
}
-buildUnnamed953() {
+buildUnnamed954() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed953(core.List<core.String> o) {
+checkUnnamed954(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1051,7 +1051,7 @@
var o = new api.CreativeServingRestrictionsDisapprovalReasons();
buildCounterCreativeServingRestrictionsDisapprovalReasons++;
if (buildCounterCreativeServingRestrictionsDisapprovalReasons < 3) {
- o.details = buildUnnamed953();
+ o.details = buildUnnamed954();
o.reason = "foo";
}
buildCounterCreativeServingRestrictionsDisapprovalReasons--;
@@ -1062,20 +1062,20 @@
api.CreativeServingRestrictionsDisapprovalReasons o) {
buildCounterCreativeServingRestrictionsDisapprovalReasons++;
if (buildCounterCreativeServingRestrictionsDisapprovalReasons < 3) {
- checkUnnamed953(o.details);
+ checkUnnamed954(o.details);
unittest.expect(o.reason, unittest.equals('foo'));
}
buildCounterCreativeServingRestrictionsDisapprovalReasons--;
}
-buildUnnamed954() {
+buildUnnamed955() {
var o = new core.List<api.CreativeServingRestrictionsDisapprovalReasons>();
o.add(buildCreativeServingRestrictionsDisapprovalReasons());
o.add(buildCreativeServingRestrictionsDisapprovalReasons());
return o;
}
-checkUnnamed954(
+checkUnnamed955(
core.List<api.CreativeServingRestrictionsDisapprovalReasons> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeServingRestrictionsDisapprovalReasons(o[0]);
@@ -1087,8 +1087,8 @@
var o = new api.CreativeServingRestrictions();
buildCounterCreativeServingRestrictions++;
if (buildCounterCreativeServingRestrictions < 3) {
- o.contexts = buildUnnamed952();
- o.disapprovalReasons = buildUnnamed954();
+ o.contexts = buildUnnamed953();
+ o.disapprovalReasons = buildUnnamed955();
o.reason = "foo";
}
buildCounterCreativeServingRestrictions--;
@@ -1098,34 +1098,34 @@
checkCreativeServingRestrictions(api.CreativeServingRestrictions o) {
buildCounterCreativeServingRestrictions++;
if (buildCounterCreativeServingRestrictions < 3) {
- checkUnnamed952(o.contexts);
- checkUnnamed954(o.disapprovalReasons);
+ checkUnnamed953(o.contexts);
+ checkUnnamed955(o.disapprovalReasons);
unittest.expect(o.reason, unittest.equals('foo'));
}
buildCounterCreativeServingRestrictions--;
}
-buildUnnamed955() {
+buildUnnamed956() {
var o = new core.List<api.CreativeServingRestrictions>();
o.add(buildCreativeServingRestrictions());
o.add(buildCreativeServingRestrictions());
return o;
}
-checkUnnamed955(core.List<api.CreativeServingRestrictions> o) {
+checkUnnamed956(core.List<api.CreativeServingRestrictions> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeServingRestrictions(o[0]);
checkCreativeServingRestrictions(o[1]);
}
-buildUnnamed956() {
+buildUnnamed957() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed956(core.List<core.int> o) {
+checkUnnamed957(core.List<core.int> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42));
unittest.expect(o[1], unittest.equals(42));
@@ -1140,29 +1140,29 @@
o.accountId = 42;
o.adChoicesDestinationUrl = "foo";
o.adTechnologyProviders = buildCreativeAdTechnologyProviders();
- o.advertiserId = buildUnnamed932();
+ o.advertiserId = buildUnnamed933();
o.advertiserName = "foo";
o.agencyId = "foo";
o.apiUploadTimestamp = core.DateTime.parse("2002-02-27T14:01:02");
- o.attribute = buildUnnamed933();
+ o.attribute = buildUnnamed934();
o.buyerCreativeId = "foo";
- o.clickThroughUrl = buildUnnamed934();
- o.corrections = buildUnnamed940();
+ o.clickThroughUrl = buildUnnamed935();
+ o.corrections = buildUnnamed941();
o.creativeStatusIdentityType = "foo";
o.dealsStatus = "foo";
- o.detectedDomains = buildUnnamed941();
+ o.detectedDomains = buildUnnamed942();
o.filteringReasons = buildCreativeFilteringReasons();
o.height = 42;
- o.impressionTrackingUrl = buildUnnamed943();
+ o.impressionTrackingUrl = buildUnnamed944();
o.kind = "foo";
- o.languages = buildUnnamed944();
+ o.languages = buildUnnamed945();
o.nativeAd = buildCreativeNativeAd();
o.openAuctionStatus = "foo";
- o.productCategories = buildUnnamed946();
- o.restrictedCategories = buildUnnamed947();
- o.sensitiveCategories = buildUnnamed948();
- o.servingRestrictions = buildUnnamed955();
- o.vendorType = buildUnnamed956();
+ o.productCategories = buildUnnamed947();
+ o.restrictedCategories = buildUnnamed948();
+ o.sensitiveCategories = buildUnnamed949();
+ o.servingRestrictions = buildUnnamed956();
+ o.vendorType = buildUnnamed957();
o.version = 42;
o.videoURL = "foo";
o.videoVastXML = "foo";
@@ -1179,30 +1179,30 @@
unittest.expect(o.accountId, unittest.equals(42));
unittest.expect(o.adChoicesDestinationUrl, unittest.equals('foo'));
checkCreativeAdTechnologyProviders(o.adTechnologyProviders);
- checkUnnamed932(o.advertiserId);
+ checkUnnamed933(o.advertiserId);
unittest.expect(o.advertiserName, unittest.equals('foo'));
unittest.expect(o.agencyId, unittest.equals('foo'));
unittest.expect(o.apiUploadTimestamp,
unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
- checkUnnamed933(o.attribute);
+ checkUnnamed934(o.attribute);
unittest.expect(o.buyerCreativeId, unittest.equals('foo'));
- checkUnnamed934(o.clickThroughUrl);
- checkUnnamed940(o.corrections);
+ checkUnnamed935(o.clickThroughUrl);
+ checkUnnamed941(o.corrections);
unittest.expect(o.creativeStatusIdentityType, unittest.equals('foo'));
unittest.expect(o.dealsStatus, unittest.equals('foo'));
- checkUnnamed941(o.detectedDomains);
+ checkUnnamed942(o.detectedDomains);
checkCreativeFilteringReasons(o.filteringReasons);
unittest.expect(o.height, unittest.equals(42));
- checkUnnamed943(o.impressionTrackingUrl);
+ checkUnnamed944(o.impressionTrackingUrl);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed944(o.languages);
+ checkUnnamed945(o.languages);
checkCreativeNativeAd(o.nativeAd);
unittest.expect(o.openAuctionStatus, unittest.equals('foo'));
- checkUnnamed946(o.productCategories);
- checkUnnamed947(o.restrictedCategories);
- checkUnnamed948(o.sensitiveCategories);
- checkUnnamed955(o.servingRestrictions);
- checkUnnamed956(o.vendorType);
+ checkUnnamed947(o.productCategories);
+ checkUnnamed948(o.restrictedCategories);
+ checkUnnamed949(o.sensitiveCategories);
+ checkUnnamed956(o.servingRestrictions);
+ checkUnnamed957(o.vendorType);
unittest.expect(o.version, unittest.equals(42));
unittest.expect(o.videoURL, unittest.equals('foo'));
unittest.expect(o.videoVastXML, unittest.equals('foo'));
@@ -1234,14 +1234,14 @@
buildCounterCreativeDealIdsDealStatuses--;
}
-buildUnnamed957() {
+buildUnnamed958() {
var o = new core.List<api.CreativeDealIdsDealStatuses>();
o.add(buildCreativeDealIdsDealStatuses());
o.add(buildCreativeDealIdsDealStatuses());
return o;
}
-checkUnnamed957(core.List<api.CreativeDealIdsDealStatuses> o) {
+checkUnnamed958(core.List<api.CreativeDealIdsDealStatuses> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeDealIdsDealStatuses(o[0]);
checkCreativeDealIdsDealStatuses(o[1]);
@@ -1252,7 +1252,7 @@
var o = new api.CreativeDealIds();
buildCounterCreativeDealIds++;
if (buildCounterCreativeDealIds < 3) {
- o.dealStatuses = buildUnnamed957();
+ o.dealStatuses = buildUnnamed958();
o.kind = "foo";
}
buildCounterCreativeDealIds--;
@@ -1262,20 +1262,20 @@
checkCreativeDealIds(api.CreativeDealIds o) {
buildCounterCreativeDealIds++;
if (buildCounterCreativeDealIds < 3) {
- checkUnnamed957(o.dealStatuses);
+ checkUnnamed958(o.dealStatuses);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterCreativeDealIds--;
}
-buildUnnamed958() {
+buildUnnamed959() {
var o = new core.List<api.Creative>();
o.add(buildCreative());
o.add(buildCreative());
return o;
}
-checkUnnamed958(core.List<api.Creative> o) {
+checkUnnamed959(core.List<api.Creative> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreative(o[0]);
checkCreative(o[1]);
@@ -1286,7 +1286,7 @@
var o = new api.CreativesList();
buildCounterCreativesList++;
if (buildCounterCreativesList < 3) {
- o.items = buildUnnamed958();
+ o.items = buildUnnamed959();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -1297,7 +1297,7 @@
checkCreativesList(api.CreativesList o) {
buildCounterCreativesList++;
if (buildCounterCreativesList < 3) {
- checkUnnamed958(o.items);
+ checkUnnamed959(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -1391,14 +1391,14 @@
buildCounterDealTerms--;
}
-buildUnnamed959() {
+buildUnnamed960() {
var o = new core.List<api.PricePerBuyer>();
o.add(buildPricePerBuyer());
o.add(buildPricePerBuyer());
return o;
}
-checkUnnamed959(core.List<api.PricePerBuyer> o) {
+checkUnnamed960(core.List<api.PricePerBuyer> o) {
unittest.expect(o, unittest.hasLength(2));
checkPricePerBuyer(o[0]);
checkPricePerBuyer(o[1]);
@@ -1410,7 +1410,7 @@
buildCounterDealTermsGuaranteedFixedPriceTerms++;
if (buildCounterDealTermsGuaranteedFixedPriceTerms < 3) {
o.billingInfo = buildDealTermsGuaranteedFixedPriceTermsBillingInfo();
- o.fixedPrices = buildUnnamed959();
+ o.fixedPrices = buildUnnamed960();
o.guaranteedImpressions = "foo";
o.guaranteedLooks = "foo";
o.minimumDailyLooks = "foo";
@@ -1424,7 +1424,7 @@
buildCounterDealTermsGuaranteedFixedPriceTerms++;
if (buildCounterDealTermsGuaranteedFixedPriceTerms < 3) {
checkDealTermsGuaranteedFixedPriceTermsBillingInfo(o.billingInfo);
- checkUnnamed959(o.fixedPrices);
+ checkUnnamed960(o.fixedPrices);
unittest.expect(o.guaranteedImpressions, unittest.equals('foo'));
unittest.expect(o.guaranteedLooks, unittest.equals('foo'));
unittest.expect(o.minimumDailyLooks, unittest.equals('foo'));
@@ -1458,41 +1458,6 @@
buildCounterDealTermsGuaranteedFixedPriceTermsBillingInfo--;
}
-buildUnnamed960() {
- var o = new core.List<api.PricePerBuyer>();
- o.add(buildPricePerBuyer());
- o.add(buildPricePerBuyer());
- return o;
-}
-
-checkUnnamed960(core.List<api.PricePerBuyer> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkPricePerBuyer(o[0]);
- checkPricePerBuyer(o[1]);
-}
-
-core.int buildCounterDealTermsNonGuaranteedAuctionTerms = 0;
-buildDealTermsNonGuaranteedAuctionTerms() {
- var o = new api.DealTermsNonGuaranteedAuctionTerms();
- buildCounterDealTermsNonGuaranteedAuctionTerms++;
- if (buildCounterDealTermsNonGuaranteedAuctionTerms < 3) {
- o.autoOptimizePrivateAuction = true;
- o.reservePricePerBuyers = buildUnnamed960();
- }
- buildCounterDealTermsNonGuaranteedAuctionTerms--;
- return o;
-}
-
-checkDealTermsNonGuaranteedAuctionTerms(
- api.DealTermsNonGuaranteedAuctionTerms o) {
- buildCounterDealTermsNonGuaranteedAuctionTerms++;
- if (buildCounterDealTermsNonGuaranteedAuctionTerms < 3) {
- unittest.expect(o.autoOptimizePrivateAuction, unittest.isTrue);
- checkUnnamed960(o.reservePricePerBuyers);
- }
- buildCounterDealTermsNonGuaranteedAuctionTerms--;
-}
-
buildUnnamed961() {
var o = new core.List<api.PricePerBuyer>();
o.add(buildPricePerBuyer());
@@ -1506,12 +1471,47 @@
checkPricePerBuyer(o[1]);
}
+core.int buildCounterDealTermsNonGuaranteedAuctionTerms = 0;
+buildDealTermsNonGuaranteedAuctionTerms() {
+ var o = new api.DealTermsNonGuaranteedAuctionTerms();
+ buildCounterDealTermsNonGuaranteedAuctionTerms++;
+ if (buildCounterDealTermsNonGuaranteedAuctionTerms < 3) {
+ o.autoOptimizePrivateAuction = true;
+ o.reservePricePerBuyers = buildUnnamed961();
+ }
+ buildCounterDealTermsNonGuaranteedAuctionTerms--;
+ return o;
+}
+
+checkDealTermsNonGuaranteedAuctionTerms(
+ api.DealTermsNonGuaranteedAuctionTerms o) {
+ buildCounterDealTermsNonGuaranteedAuctionTerms++;
+ if (buildCounterDealTermsNonGuaranteedAuctionTerms < 3) {
+ unittest.expect(o.autoOptimizePrivateAuction, unittest.isTrue);
+ checkUnnamed961(o.reservePricePerBuyers);
+ }
+ buildCounterDealTermsNonGuaranteedAuctionTerms--;
+}
+
+buildUnnamed962() {
+ var o = new core.List<api.PricePerBuyer>();
+ o.add(buildPricePerBuyer());
+ o.add(buildPricePerBuyer());
+ return o;
+}
+
+checkUnnamed962(core.List<api.PricePerBuyer> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkPricePerBuyer(o[0]);
+ checkPricePerBuyer(o[1]);
+}
+
core.int buildCounterDealTermsNonGuaranteedFixedPriceTerms = 0;
buildDealTermsNonGuaranteedFixedPriceTerms() {
var o = new api.DealTermsNonGuaranteedFixedPriceTerms();
buildCounterDealTermsNonGuaranteedFixedPriceTerms++;
if (buildCounterDealTermsNonGuaranteedFixedPriceTerms < 3) {
- o.fixedPrices = buildUnnamed961();
+ o.fixedPrices = buildUnnamed962();
}
buildCounterDealTermsNonGuaranteedFixedPriceTerms--;
return o;
@@ -1521,7 +1521,7 @@
api.DealTermsNonGuaranteedFixedPriceTerms o) {
buildCounterDealTermsNonGuaranteedFixedPriceTerms++;
if (buildCounterDealTermsNonGuaranteedFixedPriceTerms < 3) {
- checkUnnamed961(o.fixedPrices);
+ checkUnnamed962(o.fixedPrices);
}
buildCounterDealTermsNonGuaranteedFixedPriceTerms--;
}
@@ -1548,14 +1548,14 @@
buildCounterDealTermsRubiconNonGuaranteedTerms--;
}
-buildUnnamed962() {
+buildUnnamed963() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed962(core.List<core.String> o) {
+checkUnnamed963(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1566,7 +1566,7 @@
var o = new api.DeleteOrderDealsRequest();
buildCounterDeleteOrderDealsRequest++;
if (buildCounterDeleteOrderDealsRequest < 3) {
- o.dealIds = buildUnnamed962();
+ o.dealIds = buildUnnamed963();
o.proposalRevisionNumber = "foo";
o.updateAction = "foo";
}
@@ -1577,21 +1577,21 @@
checkDeleteOrderDealsRequest(api.DeleteOrderDealsRequest o) {
buildCounterDeleteOrderDealsRequest++;
if (buildCounterDeleteOrderDealsRequest < 3) {
- checkUnnamed962(o.dealIds);
+ checkUnnamed963(o.dealIds);
unittest.expect(o.proposalRevisionNumber, unittest.equals('foo'));
unittest.expect(o.updateAction, unittest.equals('foo'));
}
buildCounterDeleteOrderDealsRequest--;
}
-buildUnnamed963() {
+buildUnnamed964() {
var o = new core.List<api.MarketplaceDeal>();
o.add(buildMarketplaceDeal());
o.add(buildMarketplaceDeal());
return o;
}
-checkUnnamed963(core.List<api.MarketplaceDeal> o) {
+checkUnnamed964(core.List<api.MarketplaceDeal> o) {
unittest.expect(o, unittest.hasLength(2));
checkMarketplaceDeal(o[0]);
checkMarketplaceDeal(o[1]);
@@ -1602,7 +1602,7 @@
var o = new api.DeleteOrderDealsResponse();
buildCounterDeleteOrderDealsResponse++;
if (buildCounterDeleteOrderDealsResponse < 3) {
- o.deals = buildUnnamed963();
+ o.deals = buildUnnamed964();
o.proposalRevisionNumber = "foo";
}
buildCounterDeleteOrderDealsResponse--;
@@ -1612,20 +1612,20 @@
checkDeleteOrderDealsResponse(api.DeleteOrderDealsResponse o) {
buildCounterDeleteOrderDealsResponse++;
if (buildCounterDeleteOrderDealsResponse < 3) {
- checkUnnamed963(o.deals);
+ checkUnnamed964(o.deals);
unittest.expect(o.proposalRevisionNumber, unittest.equals('foo'));
}
buildCounterDeleteOrderDealsResponse--;
}
-buildUnnamed964() {
+buildUnnamed965() {
var o = new core.List<api.DeliveryControlFrequencyCap>();
o.add(buildDeliveryControlFrequencyCap());
o.add(buildDeliveryControlFrequencyCap());
return o;
}
-checkUnnamed964(core.List<api.DeliveryControlFrequencyCap> o) {
+checkUnnamed965(core.List<api.DeliveryControlFrequencyCap> o) {
unittest.expect(o, unittest.hasLength(2));
checkDeliveryControlFrequencyCap(o[0]);
checkDeliveryControlFrequencyCap(o[1]);
@@ -1638,7 +1638,7 @@
if (buildCounterDeliveryControl < 3) {
o.creativeBlockingLevel = "foo";
o.deliveryRateType = "foo";
- o.frequencyCaps = buildUnnamed964();
+ o.frequencyCaps = buildUnnamed965();
}
buildCounterDeliveryControl--;
return o;
@@ -1649,7 +1649,7 @@
if (buildCounterDeliveryControl < 3) {
unittest.expect(o.creativeBlockingLevel, unittest.equals('foo'));
unittest.expect(o.deliveryRateType, unittest.equals('foo'));
- checkUnnamed964(o.frequencyCaps);
+ checkUnnamed965(o.frequencyCaps);
}
buildCounterDeliveryControl--;
}
@@ -1677,14 +1677,14 @@
buildCounterDeliveryControlFrequencyCap--;
}
-buildUnnamed965() {
+buildUnnamed966() {
var o = new core.List<api.DimensionDimensionValue>();
o.add(buildDimensionDimensionValue());
o.add(buildDimensionDimensionValue());
return o;
}
-checkUnnamed965(core.List<api.DimensionDimensionValue> o) {
+checkUnnamed966(core.List<api.DimensionDimensionValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionDimensionValue(o[0]);
checkDimensionDimensionValue(o[1]);
@@ -1696,7 +1696,7 @@
buildCounterDimension++;
if (buildCounterDimension < 3) {
o.dimensionType = "foo";
- o.dimensionValues = buildUnnamed965();
+ o.dimensionValues = buildUnnamed966();
}
buildCounterDimension--;
return o;
@@ -1706,7 +1706,7 @@
buildCounterDimension++;
if (buildCounterDimension < 3) {
unittest.expect(o.dimensionType, unittest.equals('foo'));
- checkUnnamed965(o.dimensionValues);
+ checkUnnamed966(o.dimensionValues);
}
buildCounterDimension--;
}
@@ -1734,44 +1734,6 @@
buildCounterDimensionDimensionValue--;
}
-buildUnnamed966() {
- var o = new core.List<api.MarketplaceDeal>();
- o.add(buildMarketplaceDeal());
- o.add(buildMarketplaceDeal());
- return o;
-}
-
-checkUnnamed966(core.List<api.MarketplaceDeal> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkMarketplaceDeal(o[0]);
- checkMarketplaceDeal(o[1]);
-}
-
-core.int buildCounterEditAllOrderDealsRequest = 0;
-buildEditAllOrderDealsRequest() {
- var o = new api.EditAllOrderDealsRequest();
- buildCounterEditAllOrderDealsRequest++;
- if (buildCounterEditAllOrderDealsRequest < 3) {
- o.deals = buildUnnamed966();
- o.proposal = buildProposal();
- o.proposalRevisionNumber = "foo";
- o.updateAction = "foo";
- }
- buildCounterEditAllOrderDealsRequest--;
- return o;
-}
-
-checkEditAllOrderDealsRequest(api.EditAllOrderDealsRequest o) {
- buildCounterEditAllOrderDealsRequest++;
- if (buildCounterEditAllOrderDealsRequest < 3) {
- checkUnnamed966(o.deals);
- checkProposal(o.proposal);
- unittest.expect(o.proposalRevisionNumber, unittest.equals('foo'));
- unittest.expect(o.updateAction, unittest.equals('foo'));
- }
- buildCounterEditAllOrderDealsRequest--;
-}
-
buildUnnamed967() {
var o = new core.List<api.MarketplaceDeal>();
o.add(buildMarketplaceDeal());
@@ -1785,12 +1747,50 @@
checkMarketplaceDeal(o[1]);
}
+core.int buildCounterEditAllOrderDealsRequest = 0;
+buildEditAllOrderDealsRequest() {
+ var o = new api.EditAllOrderDealsRequest();
+ buildCounterEditAllOrderDealsRequest++;
+ if (buildCounterEditAllOrderDealsRequest < 3) {
+ o.deals = buildUnnamed967();
+ o.proposal = buildProposal();
+ o.proposalRevisionNumber = "foo";
+ o.updateAction = "foo";
+ }
+ buildCounterEditAllOrderDealsRequest--;
+ return o;
+}
+
+checkEditAllOrderDealsRequest(api.EditAllOrderDealsRequest o) {
+ buildCounterEditAllOrderDealsRequest++;
+ if (buildCounterEditAllOrderDealsRequest < 3) {
+ checkUnnamed967(o.deals);
+ checkProposal(o.proposal);
+ unittest.expect(o.proposalRevisionNumber, unittest.equals('foo'));
+ unittest.expect(o.updateAction, unittest.equals('foo'));
+ }
+ buildCounterEditAllOrderDealsRequest--;
+}
+
+buildUnnamed968() {
+ var o = new core.List<api.MarketplaceDeal>();
+ o.add(buildMarketplaceDeal());
+ o.add(buildMarketplaceDeal());
+ return o;
+}
+
+checkUnnamed968(core.List<api.MarketplaceDeal> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkMarketplaceDeal(o[0]);
+ checkMarketplaceDeal(o[1]);
+}
+
core.int buildCounterEditAllOrderDealsResponse = 0;
buildEditAllOrderDealsResponse() {
var o = new api.EditAllOrderDealsResponse();
buildCounterEditAllOrderDealsResponse++;
if (buildCounterEditAllOrderDealsResponse < 3) {
- o.deals = buildUnnamed967();
+ o.deals = buildUnnamed968();
o.orderRevisionNumber = "foo";
}
buildCounterEditAllOrderDealsResponse--;
@@ -1800,20 +1800,20 @@
checkEditAllOrderDealsResponse(api.EditAllOrderDealsResponse o) {
buildCounterEditAllOrderDealsResponse++;
if (buildCounterEditAllOrderDealsResponse < 3) {
- checkUnnamed967(o.deals);
+ checkUnnamed968(o.deals);
unittest.expect(o.orderRevisionNumber, unittest.equals('foo'));
}
buildCounterEditAllOrderDealsResponse--;
}
-buildUnnamed968() {
+buildUnnamed969() {
var o = new core.List<api.Product>();
o.add(buildProduct());
o.add(buildProduct());
return o;
}
-checkUnnamed968(core.List<api.Product> o) {
+checkUnnamed969(core.List<api.Product> o) {
unittest.expect(o, unittest.hasLength(2));
checkProduct(o[0]);
checkProduct(o[1]);
@@ -1824,7 +1824,7 @@
var o = new api.GetOffersResponse();
buildCounterGetOffersResponse++;
if (buildCounterGetOffersResponse < 3) {
- o.products = buildUnnamed968();
+ o.products = buildUnnamed969();
}
buildCounterGetOffersResponse--;
return o;
@@ -1833,19 +1833,19 @@
checkGetOffersResponse(api.GetOffersResponse o) {
buildCounterGetOffersResponse++;
if (buildCounterGetOffersResponse < 3) {
- checkUnnamed968(o.products);
+ checkUnnamed969(o.products);
}
buildCounterGetOffersResponse--;
}
-buildUnnamed969() {
+buildUnnamed970() {
var o = new core.List<api.MarketplaceDeal>();
o.add(buildMarketplaceDeal());
o.add(buildMarketplaceDeal());
return o;
}
-checkUnnamed969(core.List<api.MarketplaceDeal> o) {
+checkUnnamed970(core.List<api.MarketplaceDeal> o) {
unittest.expect(o, unittest.hasLength(2));
checkMarketplaceDeal(o[0]);
checkMarketplaceDeal(o[1]);
@@ -1856,7 +1856,7 @@
var o = new api.GetOrderDealsResponse();
buildCounterGetOrderDealsResponse++;
if (buildCounterGetOrderDealsResponse < 3) {
- o.deals = buildUnnamed969();
+ o.deals = buildUnnamed970();
}
buildCounterGetOrderDealsResponse--;
return o;
@@ -1865,19 +1865,19 @@
checkGetOrderDealsResponse(api.GetOrderDealsResponse o) {
buildCounterGetOrderDealsResponse++;
if (buildCounterGetOrderDealsResponse < 3) {
- checkUnnamed969(o.deals);
+ checkUnnamed970(o.deals);
}
buildCounterGetOrderDealsResponse--;
}
-buildUnnamed970() {
+buildUnnamed971() {
var o = new core.List<api.MarketplaceNote>();
o.add(buildMarketplaceNote());
o.add(buildMarketplaceNote());
return o;
}
-checkUnnamed970(core.List<api.MarketplaceNote> o) {
+checkUnnamed971(core.List<api.MarketplaceNote> o) {
unittest.expect(o, unittest.hasLength(2));
checkMarketplaceNote(o[0]);
checkMarketplaceNote(o[1]);
@@ -1888,7 +1888,7 @@
var o = new api.GetOrderNotesResponse();
buildCounterGetOrderNotesResponse++;
if (buildCounterGetOrderNotesResponse < 3) {
- o.notes = buildUnnamed970();
+ o.notes = buildUnnamed971();
}
buildCounterGetOrderNotesResponse--;
return o;
@@ -1897,19 +1897,19 @@
checkGetOrderNotesResponse(api.GetOrderNotesResponse o) {
buildCounterGetOrderNotesResponse++;
if (buildCounterGetOrderNotesResponse < 3) {
- checkUnnamed970(o.notes);
+ checkUnnamed971(o.notes);
}
buildCounterGetOrderNotesResponse--;
}
-buildUnnamed971() {
+buildUnnamed972() {
var o = new core.List<api.Proposal>();
o.add(buildProposal());
o.add(buildProposal());
return o;
}
-checkUnnamed971(core.List<api.Proposal> o) {
+checkUnnamed972(core.List<api.Proposal> o) {
unittest.expect(o, unittest.hasLength(2));
checkProposal(o[0]);
checkProposal(o[1]);
@@ -1920,7 +1920,7 @@
var o = new api.GetOrdersResponse();
buildCounterGetOrdersResponse++;
if (buildCounterGetOrdersResponse < 3) {
- o.proposals = buildUnnamed971();
+ o.proposals = buildUnnamed972();
}
buildCounterGetOrdersResponse--;
return o;
@@ -1929,19 +1929,19 @@
checkGetOrdersResponse(api.GetOrdersResponse o) {
buildCounterGetOrdersResponse++;
if (buildCounterGetOrdersResponse < 3) {
- checkUnnamed971(o.proposals);
+ checkUnnamed972(o.proposals);
}
buildCounterGetOrdersResponse--;
}
-buildUnnamed972() {
+buildUnnamed973() {
var o = new core.List<api.PublisherProfileApiProto>();
o.add(buildPublisherProfileApiProto());
o.add(buildPublisherProfileApiProto());
return o;
}
-checkUnnamed972(core.List<api.PublisherProfileApiProto> o) {
+checkUnnamed973(core.List<api.PublisherProfileApiProto> o) {
unittest.expect(o, unittest.hasLength(2));
checkPublisherProfileApiProto(o[0]);
checkPublisherProfileApiProto(o[1]);
@@ -1952,7 +1952,7 @@
var o = new api.GetPublisherProfilesByAccountIdResponse();
buildCounterGetPublisherProfilesByAccountIdResponse++;
if (buildCounterGetPublisherProfilesByAccountIdResponse < 3) {
- o.profiles = buildUnnamed972();
+ o.profiles = buildUnnamed973();
}
buildCounterGetPublisherProfilesByAccountIdResponse--;
return o;
@@ -1962,32 +1962,32 @@
api.GetPublisherProfilesByAccountIdResponse o) {
buildCounterGetPublisherProfilesByAccountIdResponse++;
if (buildCounterGetPublisherProfilesByAccountIdResponse < 3) {
- checkUnnamed972(o.profiles);
+ checkUnnamed973(o.profiles);
}
buildCounterGetPublisherProfilesByAccountIdResponse--;
}
-buildUnnamed973() {
+buildUnnamed974() {
var o = new core.List<api.ContactInformation>();
o.add(buildContactInformation());
o.add(buildContactInformation());
return o;
}
-checkUnnamed973(core.List<api.ContactInformation> o) {
+checkUnnamed974(core.List<api.ContactInformation> o) {
unittest.expect(o, unittest.hasLength(2));
checkContactInformation(o[0]);
checkContactInformation(o[1]);
}
-buildUnnamed974() {
+buildUnnamed975() {
var o = new core.List<api.SharedTargeting>();
o.add(buildSharedTargeting());
o.add(buildSharedTargeting());
return o;
}
-checkUnnamed974(core.List<api.SharedTargeting> o) {
+checkUnnamed975(core.List<api.SharedTargeting> o) {
unittest.expect(o, unittest.hasLength(2));
checkSharedTargeting(o[0]);
checkSharedTargeting(o[1]);
@@ -2019,8 +2019,8 @@
o.productRevisionNumber = "foo";
o.programmaticCreativeSource = "foo";
o.proposalId = "foo";
- o.sellerContacts = buildUnnamed973();
- o.sharedTargetings = buildUnnamed974();
+ o.sellerContacts = buildUnnamed974();
+ o.sharedTargetings = buildUnnamed975();
o.syndicationProduct = "foo";
o.terms = buildDealTerms();
o.webPropertyCode = "foo";
@@ -2053,8 +2053,8 @@
unittest.expect(o.productRevisionNumber, unittest.equals('foo'));
unittest.expect(o.programmaticCreativeSource, unittest.equals('foo'));
unittest.expect(o.proposalId, unittest.equals('foo'));
- checkUnnamed973(o.sellerContacts);
- checkUnnamed974(o.sharedTargetings);
+ checkUnnamed974(o.sellerContacts);
+ checkUnnamed975(o.sharedTargetings);
unittest.expect(o.syndicationProduct, unittest.equals('foo'));
checkDealTerms(o.terms);
unittest.expect(o.webPropertyCode, unittest.equals('foo'));
@@ -2162,35 +2162,6 @@
buildCounterMobileApplication--;
}
-buildUnnamed975() {
- var o = new core.List<core.Object>();
- o.add({
- 'list': [1, 2, 3],
- 'bool': true,
- 'string': 'foo'
- });
- o.add({
- 'list': [1, 2, 3],
- 'bool': true,
- 'string': 'foo'
- });
- return o;
-}
-
-checkUnnamed975(core.List<core.Object> o) {
- unittest.expect(o, unittest.hasLength(2));
- var casted1 = (o[0]) as core.Map;
- unittest.expect(casted1, unittest.hasLength(3));
- unittest.expect(casted1["list"], unittest.equals([1, 2, 3]));
- unittest.expect(casted1["bool"], unittest.equals(true));
- unittest.expect(casted1["string"], unittest.equals('foo'));
- var casted2 = (o[1]) as core.Map;
- unittest.expect(casted2, unittest.hasLength(3));
- unittest.expect(casted2["list"], unittest.equals([1, 2, 3]));
- unittest.expect(casted2["bool"], unittest.equals(true));
- unittest.expect(casted2["string"], unittest.equals('foo'));
-}
-
buildUnnamed976() {
var o = new core.List<core.Object>();
o.add({
@@ -2208,16 +2179,16 @@
checkUnnamed976(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
- var casted3 = (o[0]) as core.Map;
- unittest.expect(casted3, unittest.hasLength(3));
- unittest.expect(casted3["list"], unittest.equals([1, 2, 3]));
- unittest.expect(casted3["bool"], unittest.equals(true));
- unittest.expect(casted3["string"], unittest.equals('foo'));
- var casted4 = (o[1]) as core.Map;
- unittest.expect(casted4, unittest.hasLength(3));
- unittest.expect(casted4["list"], unittest.equals([1, 2, 3]));
- unittest.expect(casted4["bool"], unittest.equals(true));
- unittest.expect(casted4["string"], unittest.equals('foo'));
+ var casted1 = (o[0]) as core.Map;
+ unittest.expect(casted1, unittest.hasLength(3));
+ unittest.expect(casted1["list"], unittest.equals([1, 2, 3]));
+ unittest.expect(casted1["bool"], unittest.equals(true));
+ unittest.expect(casted1["string"], unittest.equals('foo'));
+ var casted2 = (o[1]) as core.Map;
+ unittest.expect(casted2, unittest.hasLength(3));
+ unittest.expect(casted2["list"], unittest.equals([1, 2, 3]));
+ unittest.expect(casted2["bool"], unittest.equals(true));
+ unittest.expect(casted2["string"], unittest.equals('foo'));
}
buildUnnamed977() {
@@ -2237,16 +2208,16 @@
checkUnnamed977(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
- var casted5 = (o[0]) as core.Map;
- unittest.expect(casted5, unittest.hasLength(3));
- unittest.expect(casted5["list"], unittest.equals([1, 2, 3]));
- unittest.expect(casted5["bool"], unittest.equals(true));
- unittest.expect(casted5["string"], unittest.equals('foo'));
- var casted6 = (o[1]) as core.Map;
- unittest.expect(casted6, unittest.hasLength(3));
- unittest.expect(casted6["list"], unittest.equals([1, 2, 3]));
- unittest.expect(casted6["bool"], unittest.equals(true));
- unittest.expect(casted6["string"], unittest.equals('foo'));
+ var casted3 = (o[0]) as core.Map;
+ unittest.expect(casted3, unittest.hasLength(3));
+ unittest.expect(casted3["list"], unittest.equals([1, 2, 3]));
+ unittest.expect(casted3["bool"], unittest.equals(true));
+ unittest.expect(casted3["string"], unittest.equals('foo'));
+ var casted4 = (o[1]) as core.Map;
+ unittest.expect(casted4, unittest.hasLength(3));
+ unittest.expect(casted4["list"], unittest.equals([1, 2, 3]));
+ unittest.expect(casted4["bool"], unittest.equals(true));
+ unittest.expect(casted4["string"], unittest.equals('foo'));
}
buildUnnamed978() {
@@ -2266,6 +2237,35 @@
checkUnnamed978(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
+ var casted5 = (o[0]) as core.Map;
+ unittest.expect(casted5, unittest.hasLength(3));
+ unittest.expect(casted5["list"], unittest.equals([1, 2, 3]));
+ unittest.expect(casted5["bool"], unittest.equals(true));
+ unittest.expect(casted5["string"], unittest.equals('foo'));
+ var casted6 = (o[1]) as core.Map;
+ unittest.expect(casted6, unittest.hasLength(3));
+ unittest.expect(casted6["list"], unittest.equals([1, 2, 3]));
+ unittest.expect(casted6["bool"], unittest.equals(true));
+ unittest.expect(casted6["string"], unittest.equals('foo'));
+}
+
+buildUnnamed979() {
+ var o = new core.List<core.Object>();
+ o.add({
+ 'list': [1, 2, 3],
+ 'bool': true,
+ 'string': 'foo'
+ });
+ o.add({
+ 'list': [1, 2, 3],
+ 'bool': true,
+ 'string': 'foo'
+ });
+ return o;
+}
+
+checkUnnamed979(core.List<core.Object> o) {
+ unittest.expect(o, unittest.hasLength(2));
var casted7 = (o[0]) as core.Map;
unittest.expect(casted7, unittest.hasLength(3));
unittest.expect(casted7["list"], unittest.equals([1, 2, 3]));
@@ -2285,11 +2285,11 @@
if (buildCounterPerformanceReport < 3) {
o.bidRate = 42.0;
o.bidRequestRate = 42.0;
- o.calloutStatusRate = buildUnnamed975();
- o.cookieMatcherStatusRate = buildUnnamed976();
- o.creativeStatusRate = buildUnnamed977();
+ o.calloutStatusRate = buildUnnamed976();
+ o.cookieMatcherStatusRate = buildUnnamed977();
+ o.creativeStatusRate = buildUnnamed978();
o.filteredBidRate = 42.0;
- o.hostedMatchStatusRate = buildUnnamed978();
+ o.hostedMatchStatusRate = buildUnnamed979();
o.inventoryMatchRate = 42.0;
o.kind = "foo";
o.latency50thPercentile = 42.0;
@@ -2315,11 +2315,11 @@
if (buildCounterPerformanceReport < 3) {
unittest.expect(o.bidRate, unittest.equals(42.0));
unittest.expect(o.bidRequestRate, unittest.equals(42.0));
- checkUnnamed975(o.calloutStatusRate);
- checkUnnamed976(o.cookieMatcherStatusRate);
- checkUnnamed977(o.creativeStatusRate);
+ checkUnnamed976(o.calloutStatusRate);
+ checkUnnamed977(o.cookieMatcherStatusRate);
+ checkUnnamed978(o.creativeStatusRate);
unittest.expect(o.filteredBidRate, unittest.equals(42.0));
- checkUnnamed978(o.hostedMatchStatusRate);
+ checkUnnamed979(o.hostedMatchStatusRate);
unittest.expect(o.inventoryMatchRate, unittest.equals(42.0));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.latency50thPercentile, unittest.equals(42.0));
@@ -2339,14 +2339,14 @@
buildCounterPerformanceReport--;
}
-buildUnnamed979() {
+buildUnnamed980() {
var o = new core.List<api.PerformanceReport>();
o.add(buildPerformanceReport());
o.add(buildPerformanceReport());
return o;
}
-checkUnnamed979(core.List<api.PerformanceReport> o) {
+checkUnnamed980(core.List<api.PerformanceReport> o) {
unittest.expect(o, unittest.hasLength(2));
checkPerformanceReport(o[0]);
checkPerformanceReport(o[1]);
@@ -2358,7 +2358,7 @@
buildCounterPerformanceReportList++;
if (buildCounterPerformanceReportList < 3) {
o.kind = "foo";
- o.performanceReport = buildUnnamed979();
+ o.performanceReport = buildUnnamed980();
}
buildCounterPerformanceReportList--;
return o;
@@ -2368,19 +2368,19 @@
buildCounterPerformanceReportList++;
if (buildCounterPerformanceReportList < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed979(o.performanceReport);
+ checkUnnamed980(o.performanceReport);
}
buildCounterPerformanceReportList--;
}
-buildUnnamed980() {
+buildUnnamed981() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed980(core.List<core.String> o) {
+checkUnnamed981(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2407,32 +2407,19 @@
buildCounterPretargetingConfigDimensions--;
}
-buildUnnamed981() {
+buildUnnamed982() {
var o = new core.List<api.PretargetingConfigDimensions>();
o.add(buildPretargetingConfigDimensions());
o.add(buildPretargetingConfigDimensions());
return o;
}
-checkUnnamed981(core.List<api.PretargetingConfigDimensions> o) {
+checkUnnamed982(core.List<api.PretargetingConfigDimensions> o) {
unittest.expect(o, unittest.hasLength(2));
checkPretargetingConfigDimensions(o[0]);
checkPretargetingConfigDimensions(o[1]);
}
-buildUnnamed982() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed982(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed983() {
var o = new core.List<core.String>();
o.add("foo");
@@ -2446,6 +2433,19 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed984() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed984(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
core.int buildCounterPretargetingConfigExcludedPlacements = 0;
buildPretargetingConfigExcludedPlacements() {
var o = new api.PretargetingConfigExcludedPlacements();
@@ -2468,32 +2468,19 @@
buildCounterPretargetingConfigExcludedPlacements--;
}
-buildUnnamed984() {
+buildUnnamed985() {
var o = new core.List<api.PretargetingConfigExcludedPlacements>();
o.add(buildPretargetingConfigExcludedPlacements());
o.add(buildPretargetingConfigExcludedPlacements());
return o;
}
-checkUnnamed984(core.List<api.PretargetingConfigExcludedPlacements> o) {
+checkUnnamed985(core.List<api.PretargetingConfigExcludedPlacements> o) {
unittest.expect(o, unittest.hasLength(2));
checkPretargetingConfigExcludedPlacements(o[0]);
checkPretargetingConfigExcludedPlacements(o[1]);
}
-buildUnnamed985() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed985(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed986() {
var o = new core.List<core.String>();
o.add("foo");
@@ -2572,6 +2559,19 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed992() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed992(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
core.int buildCounterPretargetingConfigPlacements = 0;
buildPretargetingConfigPlacements() {
var o = new api.PretargetingConfigPlacements();
@@ -2593,32 +2593,19 @@
buildCounterPretargetingConfigPlacements--;
}
-buildUnnamed992() {
+buildUnnamed993() {
var o = new core.List<api.PretargetingConfigPlacements>();
o.add(buildPretargetingConfigPlacements());
o.add(buildPretargetingConfigPlacements());
return o;
}
-checkUnnamed992(core.List<api.PretargetingConfigPlacements> o) {
+checkUnnamed993(core.List<api.PretargetingConfigPlacements> o) {
unittest.expect(o, unittest.hasLength(2));
checkPretargetingConfigPlacements(o[0]);
checkPretargetingConfigPlacements(o[1]);
}
-buildUnnamed993() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed993(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed994() {
var o = new core.List<core.String>();
o.add("foo");
@@ -2684,6 +2671,19 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed999() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed999(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
core.int buildCounterPretargetingConfigVideoPlayerSizes = 0;
buildPretargetingConfigVideoPlayerSizes() {
var o = new api.PretargetingConfigVideoPlayerSizes();
@@ -2708,14 +2708,14 @@
buildCounterPretargetingConfigVideoPlayerSizes--;
}
-buildUnnamed999() {
+buildUnnamed1000() {
var o = new core.List<api.PretargetingConfigVideoPlayerSizes>();
o.add(buildPretargetingConfigVideoPlayerSizes());
o.add(buildPretargetingConfigVideoPlayerSizes());
return o;
}
-checkUnnamed999(core.List<api.PretargetingConfigVideoPlayerSizes> o) {
+checkUnnamed1000(core.List<api.PretargetingConfigVideoPlayerSizes> o) {
unittest.expect(o, unittest.hasLength(2));
checkPretargetingConfigVideoPlayerSizes(o[0]);
checkPretargetingConfigVideoPlayerSizes(o[1]);
@@ -2729,30 +2729,30 @@
o.billingId = "foo";
o.configId = "foo";
o.configName = "foo";
- o.creativeType = buildUnnamed980();
- o.dimensions = buildUnnamed981();
- o.excludedContentLabels = buildUnnamed982();
- o.excludedGeoCriteriaIds = buildUnnamed983();
- o.excludedPlacements = buildUnnamed984();
- o.excludedUserLists = buildUnnamed985();
- o.excludedVerticals = buildUnnamed986();
- o.geoCriteriaIds = buildUnnamed987();
+ o.creativeType = buildUnnamed981();
+ o.dimensions = buildUnnamed982();
+ o.excludedContentLabels = buildUnnamed983();
+ o.excludedGeoCriteriaIds = buildUnnamed984();
+ o.excludedPlacements = buildUnnamed985();
+ o.excludedUserLists = buildUnnamed986();
+ o.excludedVerticals = buildUnnamed987();
+ o.geoCriteriaIds = buildUnnamed988();
o.isActive = true;
o.kind = "foo";
- o.languages = buildUnnamed988();
+ o.languages = buildUnnamed989();
o.maximumQps = "foo";
o.minimumViewabilityDecile = 42;
- o.mobileCarriers = buildUnnamed989();
- o.mobileDevices = buildUnnamed990();
- o.mobileOperatingSystemVersions = buildUnnamed991();
- o.placements = buildUnnamed992();
- o.platforms = buildUnnamed993();
- o.supportedCreativeAttributes = buildUnnamed994();
- o.userIdentifierDataRequired = buildUnnamed995();
- o.userLists = buildUnnamed996();
- o.vendorTypes = buildUnnamed997();
- o.verticals = buildUnnamed998();
- o.videoPlayerSizes = buildUnnamed999();
+ o.mobileCarriers = buildUnnamed990();
+ o.mobileDevices = buildUnnamed991();
+ o.mobileOperatingSystemVersions = buildUnnamed992();
+ o.placements = buildUnnamed993();
+ o.platforms = buildUnnamed994();
+ o.supportedCreativeAttributes = buildUnnamed995();
+ o.userIdentifierDataRequired = buildUnnamed996();
+ o.userLists = buildUnnamed997();
+ o.vendorTypes = buildUnnamed998();
+ o.verticals = buildUnnamed999();
+ o.videoPlayerSizes = buildUnnamed1000();
}
buildCounterPretargetingConfig--;
return o;
@@ -2764,42 +2764,42 @@
unittest.expect(o.billingId, unittest.equals('foo'));
unittest.expect(o.configId, unittest.equals('foo'));
unittest.expect(o.configName, unittest.equals('foo'));
- checkUnnamed980(o.creativeType);
- checkUnnamed981(o.dimensions);
- checkUnnamed982(o.excludedContentLabels);
- checkUnnamed983(o.excludedGeoCriteriaIds);
- checkUnnamed984(o.excludedPlacements);
- checkUnnamed985(o.excludedUserLists);
- checkUnnamed986(o.excludedVerticals);
- checkUnnamed987(o.geoCriteriaIds);
+ checkUnnamed981(o.creativeType);
+ checkUnnamed982(o.dimensions);
+ checkUnnamed983(o.excludedContentLabels);
+ checkUnnamed984(o.excludedGeoCriteriaIds);
+ checkUnnamed985(o.excludedPlacements);
+ checkUnnamed986(o.excludedUserLists);
+ checkUnnamed987(o.excludedVerticals);
+ checkUnnamed988(o.geoCriteriaIds);
unittest.expect(o.isActive, unittest.isTrue);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed988(o.languages);
+ checkUnnamed989(o.languages);
unittest.expect(o.maximumQps, unittest.equals('foo'));
unittest.expect(o.minimumViewabilityDecile, unittest.equals(42));
- checkUnnamed989(o.mobileCarriers);
- checkUnnamed990(o.mobileDevices);
- checkUnnamed991(o.mobileOperatingSystemVersions);
- checkUnnamed992(o.placements);
- checkUnnamed993(o.platforms);
- checkUnnamed994(o.supportedCreativeAttributes);
- checkUnnamed995(o.userIdentifierDataRequired);
- checkUnnamed996(o.userLists);
- checkUnnamed997(o.vendorTypes);
- checkUnnamed998(o.verticals);
- checkUnnamed999(o.videoPlayerSizes);
+ checkUnnamed990(o.mobileCarriers);
+ checkUnnamed991(o.mobileDevices);
+ checkUnnamed992(o.mobileOperatingSystemVersions);
+ checkUnnamed993(o.placements);
+ checkUnnamed994(o.platforms);
+ checkUnnamed995(o.supportedCreativeAttributes);
+ checkUnnamed996(o.userIdentifierDataRequired);
+ checkUnnamed997(o.userLists);
+ checkUnnamed998(o.vendorTypes);
+ checkUnnamed999(o.verticals);
+ checkUnnamed1000(o.videoPlayerSizes);
}
buildCounterPretargetingConfig--;
}
-buildUnnamed1000() {
+buildUnnamed1001() {
var o = new core.List<api.PretargetingConfig>();
o.add(buildPretargetingConfig());
o.add(buildPretargetingConfig());
return o;
}
-checkUnnamed1000(core.List<api.PretargetingConfig> o) {
+checkUnnamed1001(core.List<api.PretargetingConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkPretargetingConfig(o[0]);
checkPretargetingConfig(o[1]);
@@ -2810,7 +2810,7 @@
var o = new api.PretargetingConfigList();
buildCounterPretargetingConfigList++;
if (buildCounterPretargetingConfigList < 3) {
- o.items = buildUnnamed1000();
+ o.items = buildUnnamed1001();
o.kind = "foo";
}
buildCounterPretargetingConfigList--;
@@ -2820,7 +2820,7 @@
checkPretargetingConfigList(api.PretargetingConfigList o) {
buildCounterPretargetingConfigList++;
if (buildCounterPretargetingConfigList < 3) {
- checkUnnamed1000(o.items);
+ checkUnnamed1001(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterPretargetingConfigList--;
@@ -2897,40 +2897,40 @@
buildCounterPrivateData--;
}
-buildUnnamed1001() {
+buildUnnamed1002() {
var o = new core.List<api.ContactInformation>();
o.add(buildContactInformation());
o.add(buildContactInformation());
return o;
}
-checkUnnamed1001(core.List<api.ContactInformation> o) {
+checkUnnamed1002(core.List<api.ContactInformation> o) {
unittest.expect(o, unittest.hasLength(2));
checkContactInformation(o[0]);
checkContactInformation(o[1]);
}
-buildUnnamed1002() {
+buildUnnamed1003() {
var o = new core.List<api.MarketplaceLabel>();
o.add(buildMarketplaceLabel());
o.add(buildMarketplaceLabel());
return o;
}
-checkUnnamed1002(core.List<api.MarketplaceLabel> o) {
+checkUnnamed1003(core.List<api.MarketplaceLabel> o) {
unittest.expect(o, unittest.hasLength(2));
checkMarketplaceLabel(o[0]);
checkMarketplaceLabel(o[1]);
}
-buildUnnamed1003() {
+buildUnnamed1004() {
var o = new core.List<api.SharedTargeting>();
o.add(buildSharedTargeting());
o.add(buildSharedTargeting());
return o;
}
-checkUnnamed1003(core.List<api.SharedTargeting> o) {
+checkUnnamed1004(core.List<api.SharedTargeting> o) {
unittest.expect(o, unittest.hasLength(2));
checkSharedTargeting(o[0]);
checkSharedTargeting(o[1]);
@@ -2944,7 +2944,7 @@
o.billedBuyer = buildBuyer();
o.buyer = buildBuyer();
o.creationTimeMs = "foo";
- o.creatorContacts = buildUnnamed1001();
+ o.creatorContacts = buildUnnamed1002();
o.creatorRole = "foo";
o.deliveryControl = buildDeliveryControl();
o.flightEndTimeMs = "foo";
@@ -2952,7 +2952,7 @@
o.hasCreatorSignedOff = true;
o.inventorySource = "foo";
o.kind = "foo";
- o.labels = buildUnnamed1002();
+ o.labels = buildUnnamed1003();
o.lastUpdateTimeMs = "foo";
o.legacyOfferId = "foo";
o.marketplacePublisherProfileId = "foo";
@@ -2963,7 +2963,7 @@
o.publisherProvidedForecast = buildPublisherProvidedForecast();
o.revisionNumber = "foo";
o.seller = buildSeller();
- o.sharedTargetings = buildUnnamed1003();
+ o.sharedTargetings = buildUnnamed1004();
o.state = "foo";
o.syndicationProduct = "foo";
o.terms = buildDealTerms();
@@ -2979,7 +2979,7 @@
checkBuyer(o.billedBuyer);
checkBuyer(o.buyer);
unittest.expect(o.creationTimeMs, unittest.equals('foo'));
- checkUnnamed1001(o.creatorContacts);
+ checkUnnamed1002(o.creatorContacts);
unittest.expect(o.creatorRole, unittest.equals('foo'));
checkDeliveryControl(o.deliveryControl);
unittest.expect(o.flightEndTimeMs, unittest.equals('foo'));
@@ -2987,7 +2987,7 @@
unittest.expect(o.hasCreatorSignedOff, unittest.isTrue);
unittest.expect(o.inventorySource, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1002(o.labels);
+ checkUnnamed1003(o.labels);
unittest.expect(o.lastUpdateTimeMs, unittest.equals('foo'));
unittest.expect(o.legacyOfferId, unittest.equals('foo'));
unittest.expect(o.marketplacePublisherProfileId, unittest.equals('foo'));
@@ -2998,7 +2998,7 @@
checkPublisherProvidedForecast(o.publisherProvidedForecast);
unittest.expect(o.revisionNumber, unittest.equals('foo'));
checkSeller(o.seller);
- checkUnnamed1003(o.sharedTargetings);
+ checkUnnamed1004(o.sharedTargetings);
unittest.expect(o.state, unittest.equals('foo'));
unittest.expect(o.syndicationProduct, unittest.equals('foo'));
checkDealTerms(o.terms);
@@ -3007,53 +3007,53 @@
buildCounterProduct--;
}
-buildUnnamed1004() {
+buildUnnamed1005() {
var o = new core.List<api.ContactInformation>();
o.add(buildContactInformation());
o.add(buildContactInformation());
return o;
}
-checkUnnamed1004(core.List<api.ContactInformation> o) {
+checkUnnamed1005(core.List<api.ContactInformation> o) {
unittest.expect(o, unittest.hasLength(2));
checkContactInformation(o[0]);
checkContactInformation(o[1]);
}
-buildUnnamed1005() {
+buildUnnamed1006() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1005(core.List<core.String> o) {
+checkUnnamed1006(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1006() {
+buildUnnamed1007() {
var o = new core.List<api.MarketplaceLabel>();
o.add(buildMarketplaceLabel());
o.add(buildMarketplaceLabel());
return o;
}
-checkUnnamed1006(core.List<api.MarketplaceLabel> o) {
+checkUnnamed1007(core.List<api.MarketplaceLabel> o) {
unittest.expect(o, unittest.hasLength(2));
checkMarketplaceLabel(o[0]);
checkMarketplaceLabel(o[1]);
}
-buildUnnamed1007() {
+buildUnnamed1008() {
var o = new core.List<api.ContactInformation>();
o.add(buildContactInformation());
o.add(buildContactInformation());
return o;
}
-checkUnnamed1007(core.List<api.ContactInformation> o) {
+checkUnnamed1008(core.List<api.ContactInformation> o) {
unittest.expect(o, unittest.hasLength(2));
checkContactInformation(o[0]);
checkContactInformation(o[1]);
@@ -3066,16 +3066,16 @@
if (buildCounterProposal < 3) {
o.billedBuyer = buildBuyer();
o.buyer = buildBuyer();
- o.buyerContacts = buildUnnamed1004();
+ o.buyerContacts = buildUnnamed1005();
o.buyerPrivateData = buildPrivateData();
- o.dbmAdvertiserIds = buildUnnamed1005();
+ o.dbmAdvertiserIds = buildUnnamed1006();
o.hasBuyerSignedOff = true;
o.hasSellerSignedOff = true;
o.inventorySource = "foo";
o.isRenegotiating = true;
o.isSetupComplete = true;
o.kind = "foo";
- o.labels = buildUnnamed1006();
+ o.labels = buildUnnamed1007();
o.lastUpdaterOrCommentorRole = "foo";
o.name = "foo";
o.negotiationId = "foo";
@@ -3086,7 +3086,7 @@
o.revisionNumber = "foo";
o.revisionTimeMs = "foo";
o.seller = buildSeller();
- o.sellerContacts = buildUnnamed1007();
+ o.sellerContacts = buildUnnamed1008();
}
buildCounterProposal--;
return o;
@@ -3097,16 +3097,16 @@
if (buildCounterProposal < 3) {
checkBuyer(o.billedBuyer);
checkBuyer(o.buyer);
- checkUnnamed1004(o.buyerContacts);
+ checkUnnamed1005(o.buyerContacts);
checkPrivateData(o.buyerPrivateData);
- checkUnnamed1005(o.dbmAdvertiserIds);
+ checkUnnamed1006(o.dbmAdvertiserIds);
unittest.expect(o.hasBuyerSignedOff, unittest.isTrue);
unittest.expect(o.hasSellerSignedOff, unittest.isTrue);
unittest.expect(o.inventorySource, unittest.equals('foo'));
unittest.expect(o.isRenegotiating, unittest.isTrue);
unittest.expect(o.isSetupComplete, unittest.isTrue);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1006(o.labels);
+ checkUnnamed1007(o.labels);
unittest.expect(o.lastUpdaterOrCommentorRole, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.negotiationId, unittest.equals('foo'));
@@ -3117,50 +3117,37 @@
unittest.expect(o.revisionNumber, unittest.equals('foo'));
unittest.expect(o.revisionTimeMs, unittest.equals('foo'));
checkSeller(o.seller);
- checkUnnamed1007(o.sellerContacts);
+ checkUnnamed1008(o.sellerContacts);
}
buildCounterProposal--;
}
-buildUnnamed1008() {
+buildUnnamed1009() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1008(core.List<core.String> o) {
+checkUnnamed1009(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1009() {
+buildUnnamed1010() {
var o = new core.List<api.MobileApplication>();
o.add(buildMobileApplication());
o.add(buildMobileApplication());
return o;
}
-checkUnnamed1009(core.List<api.MobileApplication> o) {
+checkUnnamed1010(core.List<api.MobileApplication> o) {
unittest.expect(o, unittest.hasLength(2));
checkMobileApplication(o[0]);
checkMobileApplication(o[1]);
}
-buildUnnamed1010() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1010(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed1011() {
var o = new core.List<core.String>();
o.add("foo");
@@ -3174,6 +3161,19 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed1012() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1012(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
core.int buildCounterPublisherProfileApiProto = 0;
buildPublisherProfileApiProto() {
var o = new api.PublisherProfileApiProto();
@@ -3193,16 +3193,16 @@
o.overview = "foo";
o.profileId = 42;
o.programmaticContact = "foo";
- o.publisherAppIds = buildUnnamed1008();
- o.publisherApps = buildUnnamed1009();
- o.publisherDomains = buildUnnamed1010();
+ o.publisherAppIds = buildUnnamed1009();
+ o.publisherApps = buildUnnamed1010();
+ o.publisherDomains = buildUnnamed1011();
o.publisherProfileId = "foo";
o.publisherProvidedForecast = buildPublisherProvidedForecast();
o.rateCardInfoLink = "foo";
o.samplePageLink = "foo";
o.seller = buildSeller();
o.state = "foo";
- o.topHeadlines = buildUnnamed1011();
+ o.topHeadlines = buildUnnamed1012();
}
buildCounterPublisherProfileApiProto--;
return o;
@@ -3225,28 +3225,28 @@
unittest.expect(o.overview, unittest.equals('foo'));
unittest.expect(o.profileId, unittest.equals(42));
unittest.expect(o.programmaticContact, unittest.equals('foo'));
- checkUnnamed1008(o.publisherAppIds);
- checkUnnamed1009(o.publisherApps);
- checkUnnamed1010(o.publisherDomains);
+ checkUnnamed1009(o.publisherAppIds);
+ checkUnnamed1010(o.publisherApps);
+ checkUnnamed1011(o.publisherDomains);
unittest.expect(o.publisherProfileId, unittest.equals('foo'));
checkPublisherProvidedForecast(o.publisherProvidedForecast);
unittest.expect(o.rateCardInfoLink, unittest.equals('foo'));
unittest.expect(o.samplePageLink, unittest.equals('foo'));
checkSeller(o.seller);
unittest.expect(o.state, unittest.equals('foo'));
- checkUnnamed1011(o.topHeadlines);
+ checkUnnamed1012(o.topHeadlines);
}
buildCounterPublisherProfileApiProto--;
}
-buildUnnamed1012() {
+buildUnnamed1013() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed1012(core.List<api.Dimension> o) {
+checkUnnamed1013(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
@@ -3257,7 +3257,7 @@
var o = new api.PublisherProvidedForecast();
buildCounterPublisherProvidedForecast++;
if (buildCounterPublisherProvidedForecast < 3) {
- o.dimensions = buildUnnamed1012();
+ o.dimensions = buildUnnamed1013();
o.weeklyImpressions = "foo";
o.weeklyUniques = "foo";
}
@@ -3268,7 +3268,7 @@
checkPublisherProvidedForecast(api.PublisherProvidedForecast o) {
buildCounterPublisherProvidedForecast++;
if (buildCounterPublisherProvidedForecast < 3) {
- checkUnnamed1012(o.dimensions);
+ checkUnnamed1013(o.dimensions);
unittest.expect(o.weeklyImpressions, unittest.equals('foo'));
unittest.expect(o.weeklyUniques, unittest.equals('foo'));
}
@@ -3296,19 +3296,6 @@
buildCounterSeller--;
}
-buildUnnamed1013() {
- var o = new core.List<api.TargetingValue>();
- o.add(buildTargetingValue());
- o.add(buildTargetingValue());
- return o;
-}
-
-checkUnnamed1013(core.List<api.TargetingValue> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkTargetingValue(o[0]);
- checkTargetingValue(o[1]);
-}
-
buildUnnamed1014() {
var o = new core.List<api.TargetingValue>();
o.add(buildTargetingValue());
@@ -3322,13 +3309,26 @@
checkTargetingValue(o[1]);
}
+buildUnnamed1015() {
+ var o = new core.List<api.TargetingValue>();
+ o.add(buildTargetingValue());
+ o.add(buildTargetingValue());
+ return o;
+}
+
+checkUnnamed1015(core.List<api.TargetingValue> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkTargetingValue(o[0]);
+ checkTargetingValue(o[1]);
+}
+
core.int buildCounterSharedTargeting = 0;
buildSharedTargeting() {
var o = new api.SharedTargeting();
buildCounterSharedTargeting++;
if (buildCounterSharedTargeting < 3) {
- o.exclusions = buildUnnamed1013();
- o.inclusions = buildUnnamed1014();
+ o.exclusions = buildUnnamed1014();
+ o.inclusions = buildUnnamed1015();
o.key = "foo";
}
buildCounterSharedTargeting--;
@@ -3338,8 +3338,8 @@
checkSharedTargeting(api.SharedTargeting o) {
buildCounterSharedTargeting++;
if (buildCounterSharedTargeting < 3) {
- checkUnnamed1013(o.exclusions);
- checkUnnamed1014(o.inclusions);
+ checkUnnamed1014(o.exclusions);
+ checkUnnamed1015(o.inclusions);
unittest.expect(o.key, unittest.equals('foo'));
}
buildCounterSharedTargeting--;
@@ -3378,27 +3378,27 @@
buildCounterTargetingValue--;
}
-buildUnnamed1015() {
+buildUnnamed1016() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1015(core.List<core.String> o) {
+checkUnnamed1016(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1016() {
+buildUnnamed1017() {
var o = new core.List<api.TargetingValueSize>();
o.add(buildTargetingValueSize());
o.add(buildTargetingValueSize());
return o;
}
-checkUnnamed1016(core.List<api.TargetingValueSize> o) {
+checkUnnamed1017(core.List<api.TargetingValueSize> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetingValueSize(o[0]);
checkTargetingValueSize(o[1]);
@@ -3409,8 +3409,8 @@
var o = new api.TargetingValueCreativeSize();
buildCounterTargetingValueCreativeSize++;
if (buildCounterTargetingValueCreativeSize < 3) {
- o.allowedFormats = buildUnnamed1015();
- o.companionSizes = buildUnnamed1016();
+ o.allowedFormats = buildUnnamed1016();
+ o.companionSizes = buildUnnamed1017();
o.creativeSizeType = "foo";
o.nativeTemplate = "foo";
o.size = buildTargetingValueSize();
@@ -3423,8 +3423,8 @@
checkTargetingValueCreativeSize(api.TargetingValueCreativeSize o) {
buildCounterTargetingValueCreativeSize++;
if (buildCounterTargetingValueCreativeSize < 3) {
- checkUnnamed1015(o.allowedFormats);
- checkUnnamed1016(o.companionSizes);
+ checkUnnamed1016(o.allowedFormats);
+ checkUnnamed1017(o.companionSizes);
unittest.expect(o.creativeSizeType, unittest.equals('foo'));
unittest.expect(o.nativeTemplate, unittest.equals('foo'));
checkTargetingValueSize(o.size);
@@ -3433,14 +3433,14 @@
buildCounterTargetingValueCreativeSize--;
}
-buildUnnamed1017() {
+buildUnnamed1018() {
var o = new core.List<api.TargetingValueDayPartTargetingDayPart>();
o.add(buildTargetingValueDayPartTargetingDayPart());
o.add(buildTargetingValueDayPartTargetingDayPart());
return o;
}
-checkUnnamed1017(core.List<api.TargetingValueDayPartTargetingDayPart> o) {
+checkUnnamed1018(core.List<api.TargetingValueDayPartTargetingDayPart> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetingValueDayPartTargetingDayPart(o[0]);
checkTargetingValueDayPartTargetingDayPart(o[1]);
@@ -3451,7 +3451,7 @@
var o = new api.TargetingValueDayPartTargeting();
buildCounterTargetingValueDayPartTargeting++;
if (buildCounterTargetingValueDayPartTargeting < 3) {
- o.dayParts = buildUnnamed1017();
+ o.dayParts = buildUnnamed1018();
o.timeZoneType = "foo";
}
buildCounterTargetingValueDayPartTargeting--;
@@ -3461,7 +3461,7 @@
checkTargetingValueDayPartTargeting(api.TargetingValueDayPartTargeting o) {
buildCounterTargetingValueDayPartTargeting++;
if (buildCounterTargetingValueDayPartTargeting < 3) {
- checkUnnamed1017(o.dayParts);
+ checkUnnamed1018(o.dayParts);
unittest.expect(o.timeZoneType, unittest.equals('foo'));
}
buildCounterTargetingValueDayPartTargeting--;
@@ -3495,38 +3495,6 @@
buildCounterTargetingValueDayPartTargetingDayPart--;
}
-buildUnnamed1018() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1018(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-core.int buildCounterTargetingValueDemogAgeCriteria = 0;
-buildTargetingValueDemogAgeCriteria() {
- var o = new api.TargetingValueDemogAgeCriteria();
- buildCounterTargetingValueDemogAgeCriteria++;
- if (buildCounterTargetingValueDemogAgeCriteria < 3) {
- o.demogAgeCriteriaIds = buildUnnamed1018();
- }
- buildCounterTargetingValueDemogAgeCriteria--;
- return o;
-}
-
-checkTargetingValueDemogAgeCriteria(api.TargetingValueDemogAgeCriteria o) {
- buildCounterTargetingValueDemogAgeCriteria++;
- if (buildCounterTargetingValueDemogAgeCriteria < 3) {
- checkUnnamed1018(o.demogAgeCriteriaIds);
- }
- buildCounterTargetingValueDemogAgeCriteria--;
-}
-
buildUnnamed1019() {
var o = new core.List<core.String>();
o.add("foo");
@@ -3540,24 +3508,23 @@
unittest.expect(o[1], unittest.equals('foo'));
}
-core.int buildCounterTargetingValueDemogGenderCriteria = 0;
-buildTargetingValueDemogGenderCriteria() {
- var o = new api.TargetingValueDemogGenderCriteria();
- buildCounterTargetingValueDemogGenderCriteria++;
- if (buildCounterTargetingValueDemogGenderCriteria < 3) {
- o.demogGenderCriteriaIds = buildUnnamed1019();
+core.int buildCounterTargetingValueDemogAgeCriteria = 0;
+buildTargetingValueDemogAgeCriteria() {
+ var o = new api.TargetingValueDemogAgeCriteria();
+ buildCounterTargetingValueDemogAgeCriteria++;
+ if (buildCounterTargetingValueDemogAgeCriteria < 3) {
+ o.demogAgeCriteriaIds = buildUnnamed1019();
}
- buildCounterTargetingValueDemogGenderCriteria--;
+ buildCounterTargetingValueDemogAgeCriteria--;
return o;
}
-checkTargetingValueDemogGenderCriteria(
- api.TargetingValueDemogGenderCriteria o) {
- buildCounterTargetingValueDemogGenderCriteria++;
- if (buildCounterTargetingValueDemogGenderCriteria < 3) {
- checkUnnamed1019(o.demogGenderCriteriaIds);
+checkTargetingValueDemogAgeCriteria(api.TargetingValueDemogAgeCriteria o) {
+ buildCounterTargetingValueDemogAgeCriteria++;
+ if (buildCounterTargetingValueDemogAgeCriteria < 3) {
+ checkUnnamed1019(o.demogAgeCriteriaIds);
}
- buildCounterTargetingValueDemogGenderCriteria--;
+ buildCounterTargetingValueDemogAgeCriteria--;
}
buildUnnamed1020() {
@@ -3573,12 +3540,45 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+core.int buildCounterTargetingValueDemogGenderCriteria = 0;
+buildTargetingValueDemogGenderCriteria() {
+ var o = new api.TargetingValueDemogGenderCriteria();
+ buildCounterTargetingValueDemogGenderCriteria++;
+ if (buildCounterTargetingValueDemogGenderCriteria < 3) {
+ o.demogGenderCriteriaIds = buildUnnamed1020();
+ }
+ buildCounterTargetingValueDemogGenderCriteria--;
+ return o;
+}
+
+checkTargetingValueDemogGenderCriteria(
+ api.TargetingValueDemogGenderCriteria o) {
+ buildCounterTargetingValueDemogGenderCriteria++;
+ if (buildCounterTargetingValueDemogGenderCriteria < 3) {
+ checkUnnamed1020(o.demogGenderCriteriaIds);
+ }
+ buildCounterTargetingValueDemogGenderCriteria--;
+}
+
+buildUnnamed1021() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1021(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
core.int buildCounterTargetingValueRequestPlatformTargeting = 0;
buildTargetingValueRequestPlatformTargeting() {
var o = new api.TargetingValueRequestPlatformTargeting();
buildCounterTargetingValueRequestPlatformTargeting++;
if (buildCounterTargetingValueRequestPlatformTargeting < 3) {
- o.requestPlatforms = buildUnnamed1020();
+ o.requestPlatforms = buildUnnamed1021();
}
buildCounterTargetingValueRequestPlatformTargeting--;
return o;
@@ -3588,7 +3588,7 @@
api.TargetingValueRequestPlatformTargeting o) {
buildCounterTargetingValueRequestPlatformTargeting++;
if (buildCounterTargetingValueRequestPlatformTargeting < 3) {
- checkUnnamed1020(o.requestPlatforms);
+ checkUnnamed1021(o.requestPlatforms);
}
buildCounterTargetingValueRequestPlatformTargeting--;
}
@@ -3640,27 +3640,27 @@
buildCounterUpdatePrivateAuctionProposalRequest--;
}
-buildUnnamed1021() {
+buildUnnamed1022() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed1021(core.List<core.int> o) {
+checkUnnamed1022(core.List<core.int> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42));
unittest.expect(o[1], unittest.equals(42));
}
-buildUnnamed1022() {
+buildUnnamed1023() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1022(core.List<core.String> o) {
+checkUnnamed1023(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -5091,8 +5091,8 @@
unittest.test("method--list", () {
var mock = new HttpServerMock();
api.CreativesResourceApi res = new api.AdexchangebuyerApi(mock).creatives;
- var arg_accountId = buildUnnamed1021();
- var arg_buyerCreativeId = buildUnnamed1022();
+ var arg_accountId = buildUnnamed1022();
+ var arg_buyerCreativeId = buildUnnamed1023();
var arg_dealsStatusFilter = "foo";
var arg_maxResults = 42;
var arg_openAuctionStatusFilter = "foo";
diff --git a/generated/googleapis/test/adexperiencereport/v1_test.dart b/generated/googleapis/test/adexperiencereport/v1_test.dart
index 286f685..f52d170 100644
--- a/generated/googleapis/test/adexperiencereport/v1_test.dart
+++ b/generated/googleapis/test/adexperiencereport/v1_test.dart
@@ -50,14 +50,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed5372() {
+buildUnnamed5348() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5372(core.List<core.String> o) {
+checkUnnamed5348(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -72,7 +72,7 @@
o.enforcementTime = "foo";
o.filterStatus = "foo";
o.lastChangeTime = "foo";
- o.region = buildUnnamed5372();
+ o.region = buildUnnamed5348();
o.reportUrl = "foo";
o.underReview = true;
}
@@ -87,7 +87,7 @@
unittest.expect(o.enforcementTime, unittest.equals('foo'));
unittest.expect(o.filterStatus, unittest.equals('foo'));
unittest.expect(o.lastChangeTime, unittest.equals('foo'));
- checkUnnamed5372(o.region);
+ checkUnnamed5348(o.region);
unittest.expect(o.reportUrl, unittest.equals('foo'));
unittest.expect(o.underReview, unittest.isTrue);
}
@@ -117,14 +117,14 @@
buildCounterSiteSummaryResponse--;
}
-buildUnnamed5373() {
+buildUnnamed5349() {
var o = new core.List<api.SiteSummaryResponse>();
o.add(buildSiteSummaryResponse());
o.add(buildSiteSummaryResponse());
return o;
}
-checkUnnamed5373(core.List<api.SiteSummaryResponse> o) {
+checkUnnamed5349(core.List<api.SiteSummaryResponse> o) {
unittest.expect(o, unittest.hasLength(2));
checkSiteSummaryResponse(o[0]);
checkSiteSummaryResponse(o[1]);
@@ -135,7 +135,7 @@
var o = new api.ViolatingSitesResponse();
buildCounterViolatingSitesResponse++;
if (buildCounterViolatingSitesResponse < 3) {
- o.violatingSites = buildUnnamed5373();
+ o.violatingSites = buildUnnamed5349();
}
buildCounterViolatingSitesResponse--;
return o;
@@ -144,7 +144,7 @@
checkViolatingSitesResponse(api.ViolatingSitesResponse o) {
buildCounterViolatingSitesResponse++;
if (buildCounterViolatingSitesResponse < 3) {
- checkUnnamed5373(o.violatingSites);
+ checkUnnamed5349(o.violatingSites);
}
buildCounterViolatingSitesResponse--;
}
diff --git a/generated/googleapis/test/admin/datatransfer_v1_test.dart b/generated/googleapis/test/admin/datatransfer_v1_test.dart
index 7d5e01f..19a7b3f 100644
--- a/generated/googleapis/test/admin/datatransfer_v1_test.dart
+++ b/generated/googleapis/test/admin/datatransfer_v1_test.dart
@@ -50,14 +50,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed5273() {
+buildUnnamed5249() {
var o = new core.List<api.ApplicationTransferParam>();
o.add(buildApplicationTransferParam());
o.add(buildApplicationTransferParam());
return o;
}
-checkUnnamed5273(core.List<api.ApplicationTransferParam> o) {
+checkUnnamed5249(core.List<api.ApplicationTransferParam> o) {
unittest.expect(o, unittest.hasLength(2));
checkApplicationTransferParam(o[0]);
checkApplicationTransferParam(o[1]);
@@ -72,7 +72,7 @@
o.id = "foo";
o.kind = "foo";
o.name = "foo";
- o.transferParams = buildUnnamed5273();
+ o.transferParams = buildUnnamed5249();
}
buildCounterApplication--;
return o;
@@ -85,19 +85,19 @@
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed5273(o.transferParams);
+ checkUnnamed5249(o.transferParams);
}
buildCounterApplication--;
}
-buildUnnamed5274() {
+buildUnnamed5250() {
var o = new core.List<api.ApplicationTransferParam>();
o.add(buildApplicationTransferParam());
o.add(buildApplicationTransferParam());
return o;
}
-checkUnnamed5274(core.List<api.ApplicationTransferParam> o) {
+checkUnnamed5250(core.List<api.ApplicationTransferParam> o) {
unittest.expect(o, unittest.hasLength(2));
checkApplicationTransferParam(o[0]);
checkApplicationTransferParam(o[1]);
@@ -109,7 +109,7 @@
buildCounterApplicationDataTransfer++;
if (buildCounterApplicationDataTransfer < 3) {
o.applicationId = "foo";
- o.applicationTransferParams = buildUnnamed5274();
+ o.applicationTransferParams = buildUnnamed5250();
o.applicationTransferStatus = "foo";
}
buildCounterApplicationDataTransfer--;
@@ -120,20 +120,20 @@
buildCounterApplicationDataTransfer++;
if (buildCounterApplicationDataTransfer < 3) {
unittest.expect(o.applicationId, unittest.equals('foo'));
- checkUnnamed5274(o.applicationTransferParams);
+ checkUnnamed5250(o.applicationTransferParams);
unittest.expect(o.applicationTransferStatus, unittest.equals('foo'));
}
buildCounterApplicationDataTransfer--;
}
-buildUnnamed5275() {
+buildUnnamed5251() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5275(core.List<core.String> o) {
+checkUnnamed5251(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -145,7 +145,7 @@
buildCounterApplicationTransferParam++;
if (buildCounterApplicationTransferParam < 3) {
o.key = "foo";
- o.value = buildUnnamed5275();
+ o.value = buildUnnamed5251();
}
buildCounterApplicationTransferParam--;
return o;
@@ -155,19 +155,19 @@
buildCounterApplicationTransferParam++;
if (buildCounterApplicationTransferParam < 3) {
unittest.expect(o.key, unittest.equals('foo'));
- checkUnnamed5275(o.value);
+ checkUnnamed5251(o.value);
}
buildCounterApplicationTransferParam--;
}
-buildUnnamed5276() {
+buildUnnamed5252() {
var o = new core.List<api.Application>();
o.add(buildApplication());
o.add(buildApplication());
return o;
}
-checkUnnamed5276(core.List<api.Application> o) {
+checkUnnamed5252(core.List<api.Application> o) {
unittest.expect(o, unittest.hasLength(2));
checkApplication(o[0]);
checkApplication(o[1]);
@@ -178,7 +178,7 @@
var o = new api.ApplicationsListResponse();
buildCounterApplicationsListResponse++;
if (buildCounterApplicationsListResponse < 3) {
- o.applications = buildUnnamed5276();
+ o.applications = buildUnnamed5252();
o.etag = "foo";
o.kind = "foo";
o.nextPageToken = "foo";
@@ -190,7 +190,7 @@
checkApplicationsListResponse(api.ApplicationsListResponse o) {
buildCounterApplicationsListResponse++;
if (buildCounterApplicationsListResponse < 3) {
- checkUnnamed5276(o.applications);
+ checkUnnamed5252(o.applications);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
@@ -198,14 +198,14 @@
buildCounterApplicationsListResponse--;
}
-buildUnnamed5277() {
+buildUnnamed5253() {
var o = new core.List<api.ApplicationDataTransfer>();
o.add(buildApplicationDataTransfer());
o.add(buildApplicationDataTransfer());
return o;
}
-checkUnnamed5277(core.List<api.ApplicationDataTransfer> o) {
+checkUnnamed5253(core.List<api.ApplicationDataTransfer> o) {
unittest.expect(o, unittest.hasLength(2));
checkApplicationDataTransfer(o[0]);
checkApplicationDataTransfer(o[1]);
@@ -216,7 +216,7 @@
var o = new api.DataTransfer();
buildCounterDataTransfer++;
if (buildCounterDataTransfer < 3) {
- o.applicationDataTransfers = buildUnnamed5277();
+ o.applicationDataTransfers = buildUnnamed5253();
o.etag = "foo";
o.id = "foo";
o.kind = "foo";
@@ -232,7 +232,7 @@
checkDataTransfer(api.DataTransfer o) {
buildCounterDataTransfer++;
if (buildCounterDataTransfer < 3) {
- checkUnnamed5277(o.applicationDataTransfers);
+ checkUnnamed5253(o.applicationDataTransfers);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
@@ -245,14 +245,14 @@
buildCounterDataTransfer--;
}
-buildUnnamed5278() {
+buildUnnamed5254() {
var o = new core.List<api.DataTransfer>();
o.add(buildDataTransfer());
o.add(buildDataTransfer());
return o;
}
-checkUnnamed5278(core.List<api.DataTransfer> o) {
+checkUnnamed5254(core.List<api.DataTransfer> o) {
unittest.expect(o, unittest.hasLength(2));
checkDataTransfer(o[0]);
checkDataTransfer(o[1]);
@@ -263,7 +263,7 @@
var o = new api.DataTransfersListResponse();
buildCounterDataTransfersListResponse++;
if (buildCounterDataTransfersListResponse < 3) {
- o.dataTransfers = buildUnnamed5278();
+ o.dataTransfers = buildUnnamed5254();
o.etag = "foo";
o.kind = "foo";
o.nextPageToken = "foo";
@@ -275,7 +275,7 @@
checkDataTransfersListResponse(api.DataTransfersListResponse o) {
buildCounterDataTransfersListResponse++;
if (buildCounterDataTransfersListResponse < 3) {
- checkUnnamed5278(o.dataTransfers);
+ checkUnnamed5254(o.dataTransfers);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
@@ -389,9 +389,9 @@
unittest.test("method--list", () {
var mock = new HttpServerMock();
api.ApplicationsResourceApi res = new api.AdminApi(mock).applications;
- var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_customerId = "foo";
+ var arg_maxResults = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -423,12 +423,12 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(core.int.parse(queryMap["maxResults"].first),
- unittest.equals(arg_maxResults));
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["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -439,9 +439,9 @@
}), true);
res
.list(
- maxResults: arg_maxResults,
pageToken: arg_pageToken,
customerId: arg_customerId,
+ maxResults: arg_maxResults,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkApplicationsListResponse(response);
@@ -559,12 +559,12 @@
unittest.test("method--list", () {
var mock = new HttpServerMock();
api.TransfersResourceApi res = new api.AdminApi(mock).transfers;
- var arg_status = "foo";
- var arg_newOwnerUserId = "foo";
- var arg_pageToken = "foo";
- var arg_oldOwnerUserId = "foo";
var arg_customerId = "foo";
+ var arg_pageToken = "foo";
+ var arg_newOwnerUserId = "foo";
var arg_maxResults = 42;
+ var arg_status = "foo";
+ var arg_oldOwnerUserId = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -596,17 +596,17 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["status"].first, unittest.equals(arg_status));
- unittest.expect(queryMap["newOwnerUserId"].first,
- unittest.equals(arg_newOwnerUserId));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(queryMap["oldOwnerUserId"].first,
- unittest.equals(arg_oldOwnerUserId));
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["oldOwnerUserId"].first,
+ unittest.equals(arg_oldOwnerUserId));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -617,12 +617,12 @@
}), true);
res
.list(
- status: arg_status,
- newOwnerUserId: arg_newOwnerUserId,
- pageToken: arg_pageToken,
- oldOwnerUserId: arg_oldOwnerUserId,
customerId: arg_customerId,
+ pageToken: arg_pageToken,
+ newOwnerUserId: arg_newOwnerUserId,
maxResults: arg_maxResults,
+ status: arg_status,
+ oldOwnerUserId: arg_oldOwnerUserId,
$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 43f108c..16b9525 100644
--- a/generated/googleapis/test/admin/directory_v1_test.dart
+++ b/generated/googleapis/test/admin/directory_v1_test.dart
@@ -77,7 +77,7 @@
buildCounterAlias--;
}
-buildUnnamed4895() {
+buildUnnamed4902() {
var o = new core.List<core.Object>();
o.add({
'list': [1, 2, 3],
@@ -92,7 +92,7 @@
return o;
}
-checkUnnamed4895(core.List<core.Object> o) {
+checkUnnamed4902(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o[0]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -111,7 +111,7 @@
var o = new api.Aliases();
buildCounterAliases++;
if (buildCounterAliases < 3) {
- o.aliases = buildUnnamed4895();
+ o.aliases = buildUnnamed4902();
o.etag = "foo";
o.kind = "foo";
}
@@ -122,7 +122,7 @@
checkAliases(api.Aliases o) {
buildCounterAliases++;
if (buildCounterAliases < 3) {
- checkUnnamed4895(o.aliases);
+ checkUnnamed4902(o.aliases);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
}
@@ -160,14 +160,14 @@
buildCounterAsp--;
}
-buildUnnamed4896() {
+buildUnnamed4903() {
var o = new core.List<api.Asp>();
o.add(buildAsp());
o.add(buildAsp());
return o;
}
-checkUnnamed4896(core.List<api.Asp> o) {
+checkUnnamed4903(core.List<api.Asp> o) {
unittest.expect(o, unittest.hasLength(2));
checkAsp(o[0]);
checkAsp(o[1]);
@@ -179,7 +179,7 @@
buildCounterAsps++;
if (buildCounterAsps < 3) {
o.etag = "foo";
- o.items = buildUnnamed4896();
+ o.items = buildUnnamed4903();
o.kind = "foo";
}
buildCounterAsps--;
@@ -190,20 +190,20 @@
buildCounterAsps++;
if (buildCounterAsps < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed4896(o.items);
+ checkUnnamed4903(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAsps--;
}
-buildUnnamed4897() {
+buildUnnamed4904() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4897(core.List<core.String> o) {
+checkUnnamed4904(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -220,7 +220,7 @@
o.coordinates = buildBuildingCoordinates();
o.description = "foo";
o.etags = "foo";
- o.floorNames = buildUnnamed4897();
+ o.floorNames = buildUnnamed4904();
o.kind = "foo";
}
buildCounterBuilding--;
@@ -236,20 +236,20 @@
checkBuildingCoordinates(o.coordinates);
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.etags, unittest.equals('foo'));
- checkUnnamed4897(o.floorNames);
+ checkUnnamed4904(o.floorNames);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterBuilding--;
}
-buildUnnamed4898() {
+buildUnnamed4905() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4898(core.List<core.String> o) {
+checkUnnamed4905(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -260,7 +260,7 @@
var o = new api.BuildingAddress();
buildCounterBuildingAddress++;
if (buildCounterBuildingAddress < 3) {
- o.addressLines = buildUnnamed4898();
+ o.addressLines = buildUnnamed4905();
o.administrativeArea = "foo";
o.languageCode = "foo";
o.locality = "foo";
@@ -275,7 +275,7 @@
checkBuildingAddress(api.BuildingAddress o) {
buildCounterBuildingAddress++;
if (buildCounterBuildingAddress < 3) {
- checkUnnamed4898(o.addressLines);
+ checkUnnamed4905(o.addressLines);
unittest.expect(o.administrativeArea, unittest.equals('foo'));
unittest.expect(o.languageCode, unittest.equals('foo'));
unittest.expect(o.locality, unittest.equals('foo'));
@@ -307,14 +307,14 @@
buildCounterBuildingCoordinates--;
}
-buildUnnamed4899() {
+buildUnnamed4906() {
var o = new core.List<api.Building>();
o.add(buildBuilding());
o.add(buildBuilding());
return o;
}
-checkUnnamed4899(core.List<api.Building> o) {
+checkUnnamed4906(core.List<api.Building> o) {
unittest.expect(o, unittest.hasLength(2));
checkBuilding(o[0]);
checkBuilding(o[1]);
@@ -325,7 +325,7 @@
var o = new api.Buildings();
buildCounterBuildings++;
if (buildCounterBuildings < 3) {
- o.buildings = buildUnnamed4899();
+ o.buildings = buildUnnamed4906();
o.etag = "foo";
o.kind = "foo";
o.nextPageToken = "foo";
@@ -337,7 +337,7 @@
checkBuildings(api.Buildings o) {
buildCounterBuildings++;
if (buildCounterBuildings < 3) {
- checkUnnamed4899(o.buildings);
+ checkUnnamed4906(o.buildings);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
@@ -400,14 +400,14 @@
buildCounterCalendarResource--;
}
-buildUnnamed4900() {
+buildUnnamed4907() {
var o = new core.List<api.CalendarResource>();
o.add(buildCalendarResource());
o.add(buildCalendarResource());
return o;
}
-checkUnnamed4900(core.List<api.CalendarResource> o) {
+checkUnnamed4907(core.List<api.CalendarResource> o) {
unittest.expect(o, unittest.hasLength(2));
checkCalendarResource(o[0]);
checkCalendarResource(o[1]);
@@ -419,7 +419,7 @@
buildCounterCalendarResources++;
if (buildCounterCalendarResources < 3) {
o.etag = "foo";
- o.items = buildUnnamed4900();
+ o.items = buildUnnamed4907();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -431,21 +431,21 @@
buildCounterCalendarResources++;
if (buildCounterCalendarResources < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed4900(o.items);
+ checkUnnamed4907(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterCalendarResources--;
}
-buildUnnamed4901() {
+buildUnnamed4908() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed4901(core.Map<core.String, core.String> o) {
+checkUnnamed4908(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -460,7 +460,7 @@
o.expiration = "foo";
o.id = "foo";
o.kind = "foo";
- o.params = buildUnnamed4901();
+ o.params = buildUnnamed4908();
o.payload = true;
o.resourceId = "foo";
o.resourceUri = "foo";
@@ -478,7 +478,7 @@
unittest.expect(o.expiration, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed4901(o.params);
+ checkUnnamed4908(o.params);
unittest.expect(o.payload, unittest.isTrue);
unittest.expect(o.resourceId, unittest.equals('foo'));
unittest.expect(o.resourceUri, unittest.equals('foo'));
@@ -510,14 +510,14 @@
buildCounterChromeOsDeviceActiveTimeRanges--;
}
-buildUnnamed4902() {
+buildUnnamed4909() {
var o = new core.List<api.ChromeOsDeviceActiveTimeRanges>();
o.add(buildChromeOsDeviceActiveTimeRanges());
o.add(buildChromeOsDeviceActiveTimeRanges());
return o;
}
-checkUnnamed4902(core.List<api.ChromeOsDeviceActiveTimeRanges> o) {
+checkUnnamed4909(core.List<api.ChromeOsDeviceActiveTimeRanges> o) {
unittest.expect(o, unittest.hasLength(2));
checkChromeOsDeviceActiveTimeRanges(o[0]);
checkChromeOsDeviceActiveTimeRanges(o[1]);
@@ -545,28 +545,28 @@
buildCounterChromeOsDeviceCpuStatusReportsCpuTemperatureInfo--;
}
-buildUnnamed4903() {
+buildUnnamed4910() {
var o = new core.List<api.ChromeOsDeviceCpuStatusReportsCpuTemperatureInfo>();
o.add(buildChromeOsDeviceCpuStatusReportsCpuTemperatureInfo());
o.add(buildChromeOsDeviceCpuStatusReportsCpuTemperatureInfo());
return o;
}
-checkUnnamed4903(
+checkUnnamed4910(
core.List<api.ChromeOsDeviceCpuStatusReportsCpuTemperatureInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkChromeOsDeviceCpuStatusReportsCpuTemperatureInfo(o[0]);
checkChromeOsDeviceCpuStatusReportsCpuTemperatureInfo(o[1]);
}
-buildUnnamed4904() {
+buildUnnamed4911() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed4904(core.List<core.int> o) {
+checkUnnamed4911(core.List<core.int> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42));
unittest.expect(o[1], unittest.equals(42));
@@ -577,8 +577,8 @@
var o = new api.ChromeOsDeviceCpuStatusReports();
buildCounterChromeOsDeviceCpuStatusReports++;
if (buildCounterChromeOsDeviceCpuStatusReports < 3) {
- o.cpuTemperatureInfo = buildUnnamed4903();
- o.cpuUtilizationPercentageInfo = buildUnnamed4904();
+ o.cpuTemperatureInfo = buildUnnamed4910();
+ o.cpuUtilizationPercentageInfo = buildUnnamed4911();
o.reportTime = core.DateTime.parse("2002-02-27T14:01:02");
}
buildCounterChromeOsDeviceCpuStatusReports--;
@@ -588,22 +588,22 @@
checkChromeOsDeviceCpuStatusReports(api.ChromeOsDeviceCpuStatusReports o) {
buildCounterChromeOsDeviceCpuStatusReports++;
if (buildCounterChromeOsDeviceCpuStatusReports < 3) {
- checkUnnamed4903(o.cpuTemperatureInfo);
- checkUnnamed4904(o.cpuUtilizationPercentageInfo);
+ checkUnnamed4910(o.cpuTemperatureInfo);
+ checkUnnamed4911(o.cpuUtilizationPercentageInfo);
unittest.expect(o.reportTime,
unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
}
buildCounterChromeOsDeviceCpuStatusReports--;
}
-buildUnnamed4905() {
+buildUnnamed4912() {
var o = new core.List<api.ChromeOsDeviceCpuStatusReports>();
o.add(buildChromeOsDeviceCpuStatusReports());
o.add(buildChromeOsDeviceCpuStatusReports());
return o;
}
-checkUnnamed4905(core.List<api.ChromeOsDeviceCpuStatusReports> o) {
+checkUnnamed4912(core.List<api.ChromeOsDeviceCpuStatusReports> o) {
unittest.expect(o, unittest.hasLength(2));
checkChromeOsDeviceCpuStatusReports(o[0]);
checkChromeOsDeviceCpuStatusReports(o[1]);
@@ -635,14 +635,14 @@
buildCounterChromeOsDeviceDeviceFiles--;
}
-buildUnnamed4906() {
+buildUnnamed4913() {
var o = new core.List<api.ChromeOsDeviceDeviceFiles>();
o.add(buildChromeOsDeviceDeviceFiles());
o.add(buildChromeOsDeviceDeviceFiles());
return o;
}
-checkUnnamed4906(core.List<api.ChromeOsDeviceDeviceFiles> o) {
+checkUnnamed4913(core.List<api.ChromeOsDeviceDeviceFiles> o) {
unittest.expect(o, unittest.hasLength(2));
checkChromeOsDeviceDeviceFiles(o[0]);
checkChromeOsDeviceDeviceFiles(o[1]);
@@ -672,14 +672,14 @@
buildCounterChromeOsDeviceDiskVolumeReportsVolumeInfo--;
}
-buildUnnamed4907() {
+buildUnnamed4914() {
var o = new core.List<api.ChromeOsDeviceDiskVolumeReportsVolumeInfo>();
o.add(buildChromeOsDeviceDiskVolumeReportsVolumeInfo());
o.add(buildChromeOsDeviceDiskVolumeReportsVolumeInfo());
return o;
}
-checkUnnamed4907(core.List<api.ChromeOsDeviceDiskVolumeReportsVolumeInfo> o) {
+checkUnnamed4914(core.List<api.ChromeOsDeviceDiskVolumeReportsVolumeInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkChromeOsDeviceDiskVolumeReportsVolumeInfo(o[0]);
checkChromeOsDeviceDiskVolumeReportsVolumeInfo(o[1]);
@@ -690,7 +690,7 @@
var o = new api.ChromeOsDeviceDiskVolumeReports();
buildCounterChromeOsDeviceDiskVolumeReports++;
if (buildCounterChromeOsDeviceDiskVolumeReports < 3) {
- o.volumeInfo = buildUnnamed4907();
+ o.volumeInfo = buildUnnamed4914();
}
buildCounterChromeOsDeviceDiskVolumeReports--;
return o;
@@ -699,19 +699,19 @@
checkChromeOsDeviceDiskVolumeReports(api.ChromeOsDeviceDiskVolumeReports o) {
buildCounterChromeOsDeviceDiskVolumeReports++;
if (buildCounterChromeOsDeviceDiskVolumeReports < 3) {
- checkUnnamed4907(o.volumeInfo);
+ checkUnnamed4914(o.volumeInfo);
}
buildCounterChromeOsDeviceDiskVolumeReports--;
}
-buildUnnamed4908() {
+buildUnnamed4915() {
var o = new core.List<api.ChromeOsDeviceDiskVolumeReports>();
o.add(buildChromeOsDeviceDiskVolumeReports());
o.add(buildChromeOsDeviceDiskVolumeReports());
return o;
}
-checkUnnamed4908(core.List<api.ChromeOsDeviceDiskVolumeReports> o) {
+checkUnnamed4915(core.List<api.ChromeOsDeviceDiskVolumeReports> o) {
unittest.expect(o, unittest.hasLength(2));
checkChromeOsDeviceDiskVolumeReports(o[0]);
checkChromeOsDeviceDiskVolumeReports(o[1]);
@@ -738,14 +738,14 @@
buildCounterChromeOsDeviceLastKnownNetwork--;
}
-buildUnnamed4909() {
+buildUnnamed4916() {
var o = new core.List<api.ChromeOsDeviceLastKnownNetwork>();
o.add(buildChromeOsDeviceLastKnownNetwork());
o.add(buildChromeOsDeviceLastKnownNetwork());
return o;
}
-checkUnnamed4909(core.List<api.ChromeOsDeviceLastKnownNetwork> o) {
+checkUnnamed4916(core.List<api.ChromeOsDeviceLastKnownNetwork> o) {
unittest.expect(o, unittest.hasLength(2));
checkChromeOsDeviceLastKnownNetwork(o[0]);
checkChromeOsDeviceLastKnownNetwork(o[1]);
@@ -772,27 +772,27 @@
buildCounterChromeOsDeviceRecentUsers--;
}
-buildUnnamed4910() {
+buildUnnamed4917() {
var o = new core.List<api.ChromeOsDeviceRecentUsers>();
o.add(buildChromeOsDeviceRecentUsers());
o.add(buildChromeOsDeviceRecentUsers());
return o;
}
-checkUnnamed4910(core.List<api.ChromeOsDeviceRecentUsers> o) {
+checkUnnamed4917(core.List<api.ChromeOsDeviceRecentUsers> o) {
unittest.expect(o, unittest.hasLength(2));
checkChromeOsDeviceRecentUsers(o[0]);
checkChromeOsDeviceRecentUsers(o[1]);
}
-buildUnnamed4911() {
+buildUnnamed4918() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4911(core.List<core.String> o) {
+checkUnnamed4918(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -804,7 +804,7 @@
buildCounterChromeOsDeviceSystemRamFreeReports++;
if (buildCounterChromeOsDeviceSystemRamFreeReports < 3) {
o.reportTime = core.DateTime.parse("2002-02-27T14:01:02");
- o.systemRamFreeInfo = buildUnnamed4911();
+ o.systemRamFreeInfo = buildUnnamed4918();
}
buildCounterChromeOsDeviceSystemRamFreeReports--;
return o;
@@ -816,19 +816,19 @@
if (buildCounterChromeOsDeviceSystemRamFreeReports < 3) {
unittest.expect(o.reportTime,
unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
- checkUnnamed4911(o.systemRamFreeInfo);
+ checkUnnamed4918(o.systemRamFreeInfo);
}
buildCounterChromeOsDeviceSystemRamFreeReports--;
}
-buildUnnamed4912() {
+buildUnnamed4919() {
var o = new core.List<api.ChromeOsDeviceSystemRamFreeReports>();
o.add(buildChromeOsDeviceSystemRamFreeReports());
o.add(buildChromeOsDeviceSystemRamFreeReports());
return o;
}
-checkUnnamed4912(core.List<api.ChromeOsDeviceSystemRamFreeReports> o) {
+checkUnnamed4919(core.List<api.ChromeOsDeviceSystemRamFreeReports> o) {
unittest.expect(o, unittest.hasLength(2));
checkChromeOsDeviceSystemRamFreeReports(o[0]);
checkChromeOsDeviceSystemRamFreeReports(o[1]);
@@ -868,16 +868,16 @@
var o = new api.ChromeOsDevice();
buildCounterChromeOsDevice++;
if (buildCounterChromeOsDevice < 3) {
- o.activeTimeRanges = buildUnnamed4902();
+ o.activeTimeRanges = buildUnnamed4909();
o.annotatedAssetId = "foo";
o.annotatedLocation = "foo";
o.annotatedUser = "foo";
o.autoUpdateExpiration = "foo";
o.bootMode = "foo";
- o.cpuStatusReports = buildUnnamed4905();
- o.deviceFiles = buildUnnamed4906();
+ o.cpuStatusReports = buildUnnamed4912();
+ o.deviceFiles = buildUnnamed4913();
o.deviceId = "foo";
- o.diskVolumeReports = buildUnnamed4908();
+ o.diskVolumeReports = buildUnnamed4915();
o.dockMacAddress = "foo";
o.etag = "foo";
o.ethernetMacAddress = "foo";
@@ -885,7 +885,7 @@
o.firmwareVersion = "foo";
o.kind = "foo";
o.lastEnrollmentTime = core.DateTime.parse("2002-02-27T14:01:02");
- o.lastKnownNetwork = buildUnnamed4909();
+ o.lastKnownNetwork = buildUnnamed4916();
o.lastSync = core.DateTime.parse("2002-02-27T14:01:02");
o.macAddress = "foo";
o.manufactureDate = "foo";
@@ -896,11 +896,11 @@
o.orgUnitPath = "foo";
o.osVersion = "foo";
o.platformVersion = "foo";
- o.recentUsers = buildUnnamed4910();
+ o.recentUsers = buildUnnamed4917();
o.serialNumber = "foo";
o.status = "foo";
o.supportEndDate = core.DateTime.parse("2002-02-27T14:01:02");
- o.systemRamFreeReports = buildUnnamed4912();
+ o.systemRamFreeReports = buildUnnamed4919();
o.systemRamTotal = "foo";
o.tpmVersionInfo = buildChromeOsDeviceTpmVersionInfo();
o.willAutoRenew = true;
@@ -912,16 +912,16 @@
checkChromeOsDevice(api.ChromeOsDevice o) {
buildCounterChromeOsDevice++;
if (buildCounterChromeOsDevice < 3) {
- checkUnnamed4902(o.activeTimeRanges);
+ checkUnnamed4909(o.activeTimeRanges);
unittest.expect(o.annotatedAssetId, unittest.equals('foo'));
unittest.expect(o.annotatedLocation, unittest.equals('foo'));
unittest.expect(o.annotatedUser, unittest.equals('foo'));
unittest.expect(o.autoUpdateExpiration, unittest.equals('foo'));
unittest.expect(o.bootMode, unittest.equals('foo'));
- checkUnnamed4905(o.cpuStatusReports);
- checkUnnamed4906(o.deviceFiles);
+ checkUnnamed4912(o.cpuStatusReports);
+ checkUnnamed4913(o.deviceFiles);
unittest.expect(o.deviceId, unittest.equals('foo'));
- checkUnnamed4908(o.diskVolumeReports);
+ checkUnnamed4915(o.diskVolumeReports);
unittest.expect(o.dockMacAddress, unittest.equals('foo'));
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.ethernetMacAddress, unittest.equals('foo'));
@@ -930,7 +930,7 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.lastEnrollmentTime,
unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
- checkUnnamed4909(o.lastKnownNetwork);
+ checkUnnamed4916(o.lastKnownNetwork);
unittest.expect(o.lastSync,
unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
unittest.expect(o.macAddress, unittest.equals('foo'));
@@ -942,12 +942,12 @@
unittest.expect(o.orgUnitPath, unittest.equals('foo'));
unittest.expect(o.osVersion, unittest.equals('foo'));
unittest.expect(o.platformVersion, unittest.equals('foo'));
- checkUnnamed4910(o.recentUsers);
+ checkUnnamed4917(o.recentUsers);
unittest.expect(o.serialNumber, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals('foo'));
unittest.expect(o.supportEndDate,
unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
- checkUnnamed4912(o.systemRamFreeReports);
+ checkUnnamed4919(o.systemRamFreeReports);
unittest.expect(o.systemRamTotal, unittest.equals('foo'));
checkChromeOsDeviceTpmVersionInfo(o.tpmVersionInfo);
unittest.expect(o.willAutoRenew, unittest.isTrue);
@@ -976,14 +976,14 @@
buildCounterChromeOsDeviceAction--;
}
-buildUnnamed4913() {
+buildUnnamed4920() {
var o = new core.List<api.ChromeOsDevice>();
o.add(buildChromeOsDevice());
o.add(buildChromeOsDevice());
return o;
}
-checkUnnamed4913(core.List<api.ChromeOsDevice> o) {
+checkUnnamed4920(core.List<api.ChromeOsDevice> o) {
unittest.expect(o, unittest.hasLength(2));
checkChromeOsDevice(o[0]);
checkChromeOsDevice(o[1]);
@@ -994,7 +994,7 @@
var o = new api.ChromeOsDevices();
buildCounterChromeOsDevices++;
if (buildCounterChromeOsDevices < 3) {
- o.chromeosdevices = buildUnnamed4913();
+ o.chromeosdevices = buildUnnamed4920();
o.etag = "foo";
o.kind = "foo";
o.nextPageToken = "foo";
@@ -1006,7 +1006,7 @@
checkChromeOsDevices(api.ChromeOsDevices o) {
buildCounterChromeOsDevices++;
if (buildCounterChromeOsDevices < 3) {
- checkUnnamed4913(o.chromeosdevices);
+ checkUnnamed4920(o.chromeosdevices);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
@@ -1014,14 +1014,14 @@
buildCounterChromeOsDevices--;
}
-buildUnnamed4914() {
+buildUnnamed4921() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4914(core.List<core.String> o) {
+checkUnnamed4921(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1032,7 +1032,7 @@
var o = new api.ChromeOsMoveDevicesToOu();
buildCounterChromeOsMoveDevicesToOu++;
if (buildCounterChromeOsMoveDevicesToOu < 3) {
- o.deviceIds = buildUnnamed4914();
+ o.deviceIds = buildUnnamed4921();
}
buildCounterChromeOsMoveDevicesToOu--;
return o;
@@ -1041,7 +1041,7 @@
checkChromeOsMoveDevicesToOu(api.ChromeOsMoveDevicesToOu o) {
buildCounterChromeOsMoveDevicesToOu++;
if (buildCounterChromeOsMoveDevicesToOu < 3) {
- checkUnnamed4914(o.deviceIds);
+ checkUnnamed4921(o.deviceIds);
}
buildCounterChromeOsMoveDevicesToOu--;
}
@@ -1146,14 +1146,14 @@
buildCounterDomainAlias--;
}
-buildUnnamed4915() {
+buildUnnamed4922() {
var o = new core.List<api.DomainAlias>();
o.add(buildDomainAlias());
o.add(buildDomainAlias());
return o;
}
-checkUnnamed4915(core.List<api.DomainAlias> o) {
+checkUnnamed4922(core.List<api.DomainAlias> o) {
unittest.expect(o, unittest.hasLength(2));
checkDomainAlias(o[0]);
checkDomainAlias(o[1]);
@@ -1164,7 +1164,7 @@
var o = new api.DomainAliases();
buildCounterDomainAliases++;
if (buildCounterDomainAliases < 3) {
- o.domainAliases = buildUnnamed4915();
+ o.domainAliases = buildUnnamed4922();
o.etag = "foo";
o.kind = "foo";
}
@@ -1175,21 +1175,21 @@
checkDomainAliases(api.DomainAliases o) {
buildCounterDomainAliases++;
if (buildCounterDomainAliases < 3) {
- checkUnnamed4915(o.domainAliases);
+ checkUnnamed4922(o.domainAliases);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterDomainAliases--;
}
-buildUnnamed4916() {
+buildUnnamed4923() {
var o = new core.List<api.DomainAlias>();
o.add(buildDomainAlias());
o.add(buildDomainAlias());
return o;
}
-checkUnnamed4916(core.List<api.DomainAlias> o) {
+checkUnnamed4923(core.List<api.DomainAlias> o) {
unittest.expect(o, unittest.hasLength(2));
checkDomainAlias(o[0]);
checkDomainAlias(o[1]);
@@ -1201,7 +1201,7 @@
buildCounterDomains++;
if (buildCounterDomains < 3) {
o.creationTime = "foo";
- o.domainAliases = buildUnnamed4916();
+ o.domainAliases = buildUnnamed4923();
o.domainName = "foo";
o.etag = "foo";
o.isPrimary = true;
@@ -1216,7 +1216,7 @@
buildCounterDomains++;
if (buildCounterDomains < 3) {
unittest.expect(o.creationTime, unittest.equals('foo'));
- checkUnnamed4916(o.domainAliases);
+ checkUnnamed4923(o.domainAliases);
unittest.expect(o.domainName, unittest.equals('foo'));
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.isPrimary, unittest.isTrue);
@@ -1226,14 +1226,14 @@
buildCounterDomains--;
}
-buildUnnamed4917() {
+buildUnnamed4924() {
var o = new core.List<api.Domains>();
o.add(buildDomains());
o.add(buildDomains());
return o;
}
-checkUnnamed4917(core.List<api.Domains> o) {
+checkUnnamed4924(core.List<api.Domains> o) {
unittest.expect(o, unittest.hasLength(2));
checkDomains(o[0]);
checkDomains(o[1]);
@@ -1244,7 +1244,7 @@
var o = new api.Domains2();
buildCounterDomains2++;
if (buildCounterDomains2 < 3) {
- o.domains = buildUnnamed4917();
+ o.domains = buildUnnamed4924();
o.etag = "foo";
o.kind = "foo";
}
@@ -1255,7 +1255,7 @@
checkDomains2(api.Domains2 o) {
buildCounterDomains2++;
if (buildCounterDomains2 < 3) {
- checkUnnamed4917(o.domains);
+ checkUnnamed4924(o.domains);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
}
@@ -1323,14 +1323,14 @@
buildCounterFeatureRename--;
}
-buildUnnamed4918() {
+buildUnnamed4925() {
var o = new core.List<api.Feature>();
o.add(buildFeature());
o.add(buildFeature());
return o;
}
-checkUnnamed4918(core.List<api.Feature> o) {
+checkUnnamed4925(core.List<api.Feature> o) {
unittest.expect(o, unittest.hasLength(2));
checkFeature(o[0]);
checkFeature(o[1]);
@@ -1342,7 +1342,7 @@
buildCounterFeatures++;
if (buildCounterFeatures < 3) {
o.etag = "foo";
- o.features = buildUnnamed4918();
+ o.features = buildUnnamed4925();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -1354,34 +1354,34 @@
buildCounterFeatures++;
if (buildCounterFeatures < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed4918(o.features);
+ checkUnnamed4925(o.features);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterFeatures--;
}
-buildUnnamed4919() {
+buildUnnamed4926() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4919(core.List<core.String> o) {
+checkUnnamed4926(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed4920() {
+buildUnnamed4927() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4920(core.List<core.String> o) {
+checkUnnamed4927(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1393,7 +1393,7 @@
buildCounterGroup++;
if (buildCounterGroup < 3) {
o.adminCreated = true;
- o.aliases = buildUnnamed4919();
+ o.aliases = buildUnnamed4926();
o.description = "foo";
o.directMembersCount = "foo";
o.email = "foo";
@@ -1401,7 +1401,7 @@
o.id = "foo";
o.kind = "foo";
o.name = "foo";
- o.nonEditableAliases = buildUnnamed4920();
+ o.nonEditableAliases = buildUnnamed4927();
}
buildCounterGroup--;
return o;
@@ -1411,7 +1411,7 @@
buildCounterGroup++;
if (buildCounterGroup < 3) {
unittest.expect(o.adminCreated, unittest.isTrue);
- checkUnnamed4919(o.aliases);
+ checkUnnamed4926(o.aliases);
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.directMembersCount, unittest.equals('foo'));
unittest.expect(o.email, unittest.equals('foo'));
@@ -1419,19 +1419,19 @@
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed4920(o.nonEditableAliases);
+ checkUnnamed4927(o.nonEditableAliases);
}
buildCounterGroup--;
}
-buildUnnamed4921() {
+buildUnnamed4928() {
var o = new core.List<api.Group>();
o.add(buildGroup());
o.add(buildGroup());
return o;
}
-checkUnnamed4921(core.List<api.Group> o) {
+checkUnnamed4928(core.List<api.Group> o) {
unittest.expect(o, unittest.hasLength(2));
checkGroup(o[0]);
checkGroup(o[1]);
@@ -1443,7 +1443,7 @@
buildCounterGroups++;
if (buildCounterGroups < 3) {
o.etag = "foo";
- o.groups = buildUnnamed4921();
+ o.groups = buildUnnamed4928();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -1455,7 +1455,7 @@
buildCounterGroups++;
if (buildCounterGroups < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed4921(o.groups);
+ checkUnnamed4928(o.groups);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -1495,14 +1495,14 @@
buildCounterMember--;
}
-buildUnnamed4922() {
+buildUnnamed4929() {
var o = new core.List<api.Member>();
o.add(buildMember());
o.add(buildMember());
return o;
}
-checkUnnamed4922(core.List<api.Member> o) {
+checkUnnamed4929(core.List<api.Member> o) {
unittest.expect(o, unittest.hasLength(2));
checkMember(o[0]);
checkMember(o[1]);
@@ -1515,7 +1515,7 @@
if (buildCounterMembers < 3) {
o.etag = "foo";
o.kind = "foo";
- o.members = buildUnnamed4922();
+ o.members = buildUnnamed4929();
o.nextPageToken = "foo";
}
buildCounterMembers--;
@@ -1527,7 +1527,7 @@
if (buildCounterMembers < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed4922(o.members);
+ checkUnnamed4929(o.members);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterMembers--;
@@ -1552,14 +1552,14 @@
buildCounterMembersHasMember--;
}
-buildUnnamed4923() {
+buildUnnamed4930() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4923(core.List<core.String> o) {
+checkUnnamed4930(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1572,7 +1572,7 @@
if (buildCounterMobileDeviceApplications < 3) {
o.displayName = "foo";
o.packageName = "foo";
- o.permission = buildUnnamed4923();
+ o.permission = buildUnnamed4930();
o.versionCode = 42;
o.versionName = "foo";
}
@@ -1585,60 +1585,60 @@
if (buildCounterMobileDeviceApplications < 3) {
unittest.expect(o.displayName, unittest.equals('foo'));
unittest.expect(o.packageName, unittest.equals('foo'));
- checkUnnamed4923(o.permission);
+ checkUnnamed4930(o.permission);
unittest.expect(o.versionCode, unittest.equals(42));
unittest.expect(o.versionName, unittest.equals('foo'));
}
buildCounterMobileDeviceApplications--;
}
-buildUnnamed4924() {
+buildUnnamed4931() {
var o = new core.List<api.MobileDeviceApplications>();
o.add(buildMobileDeviceApplications());
o.add(buildMobileDeviceApplications());
return o;
}
-checkUnnamed4924(core.List<api.MobileDeviceApplications> o) {
+checkUnnamed4931(core.List<api.MobileDeviceApplications> o) {
unittest.expect(o, unittest.hasLength(2));
checkMobileDeviceApplications(o[0]);
checkMobileDeviceApplications(o[1]);
}
-buildUnnamed4925() {
+buildUnnamed4932() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4925(core.List<core.String> o) {
+checkUnnamed4932(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed4926() {
+buildUnnamed4933() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4926(core.List<core.String> o) {
+checkUnnamed4933(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed4927() {
+buildUnnamed4934() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4927(core.List<core.String> o) {
+checkUnnamed4934(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1650,7 +1650,7 @@
buildCounterMobileDevice++;
if (buildCounterMobileDevice < 3) {
o.adbStatus = true;
- o.applications = buildUnnamed4924();
+ o.applications = buildUnnamed4931();
o.basebandVersion = "foo";
o.bootloaderVersion = "foo";
o.brand = "foo";
@@ -1660,7 +1660,7 @@
o.deviceCompromisedStatus = "foo";
o.deviceId = "foo";
o.devicePasswordStatus = "foo";
- o.email = buildUnnamed4925();
+ o.email = buildUnnamed4932();
o.encryptionStatus = "foo";
o.etag = "foo";
o.firstSync = core.DateTime.parse("2002-02-27T14:01:02");
@@ -1674,10 +1674,10 @@
o.manufacturer = "foo";
o.meid = "foo";
o.model = "foo";
- o.name = buildUnnamed4926();
+ o.name = buildUnnamed4933();
o.networkOperator = "foo";
o.os = "foo";
- o.otherAccountsInfo = buildUnnamed4927();
+ o.otherAccountsInfo = buildUnnamed4934();
o.privilege = "foo";
o.releaseVersion = "foo";
o.resourceId = "foo";
@@ -1698,7 +1698,7 @@
buildCounterMobileDevice++;
if (buildCounterMobileDevice < 3) {
unittest.expect(o.adbStatus, unittest.isTrue);
- checkUnnamed4924(o.applications);
+ checkUnnamed4931(o.applications);
unittest.expect(o.basebandVersion, unittest.equals('foo'));
unittest.expect(o.bootloaderVersion, unittest.equals('foo'));
unittest.expect(o.brand, unittest.equals('foo'));
@@ -1708,7 +1708,7 @@
unittest.expect(o.deviceCompromisedStatus, unittest.equals('foo'));
unittest.expect(o.deviceId, unittest.equals('foo'));
unittest.expect(o.devicePasswordStatus, unittest.equals('foo'));
- checkUnnamed4925(o.email);
+ checkUnnamed4932(o.email);
unittest.expect(o.encryptionStatus, unittest.equals('foo'));
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.firstSync,
@@ -1724,10 +1724,10 @@
unittest.expect(o.manufacturer, unittest.equals('foo'));
unittest.expect(o.meid, unittest.equals('foo'));
unittest.expect(o.model, unittest.equals('foo'));
- checkUnnamed4926(o.name);
+ checkUnnamed4933(o.name);
unittest.expect(o.networkOperator, unittest.equals('foo'));
unittest.expect(o.os, unittest.equals('foo'));
- checkUnnamed4927(o.otherAccountsInfo);
+ checkUnnamed4934(o.otherAccountsInfo);
unittest.expect(o.privilege, unittest.equals('foo'));
unittest.expect(o.releaseVersion, unittest.equals('foo'));
unittest.expect(o.resourceId, unittest.equals('foo'));
@@ -1762,14 +1762,14 @@
buildCounterMobileDeviceAction--;
}
-buildUnnamed4928() {
+buildUnnamed4935() {
var o = new core.List<api.MobileDevice>();
o.add(buildMobileDevice());
o.add(buildMobileDevice());
return o;
}
-checkUnnamed4928(core.List<api.MobileDevice> o) {
+checkUnnamed4935(core.List<api.MobileDevice> o) {
unittest.expect(o, unittest.hasLength(2));
checkMobileDevice(o[0]);
checkMobileDevice(o[1]);
@@ -1782,7 +1782,7 @@
if (buildCounterMobileDevices < 3) {
o.etag = "foo";
o.kind = "foo";
- o.mobiledevices = buildUnnamed4928();
+ o.mobiledevices = buildUnnamed4935();
o.nextPageToken = "foo";
}
buildCounterMobileDevices--;
@@ -1794,7 +1794,7 @@
if (buildCounterMobileDevices < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed4928(o.mobiledevices);
+ checkUnnamed4935(o.mobiledevices);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterMobileDevices--;
@@ -1835,14 +1835,14 @@
buildCounterOrgUnit--;
}
-buildUnnamed4929() {
+buildUnnamed4936() {
var o = new core.List<api.OrgUnit>();
o.add(buildOrgUnit());
o.add(buildOrgUnit());
return o;
}
-checkUnnamed4929(core.List<api.OrgUnit> o) {
+checkUnnamed4936(core.List<api.OrgUnit> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrgUnit(o[0]);
checkOrgUnit(o[1]);
@@ -1855,7 +1855,7 @@
if (buildCounterOrgUnits < 3) {
o.etag = "foo";
o.kind = "foo";
- o.organizationUnits = buildUnnamed4929();
+ o.organizationUnits = buildUnnamed4936();
}
buildCounterOrgUnits--;
return o;
@@ -1866,19 +1866,19 @@
if (buildCounterOrgUnits < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed4929(o.organizationUnits);
+ checkUnnamed4936(o.organizationUnits);
}
buildCounterOrgUnits--;
}
-buildUnnamed4930() {
+buildUnnamed4937() {
var o = new core.List<api.Privilege>();
o.add(buildPrivilege());
o.add(buildPrivilege());
return o;
}
-checkUnnamed4930(core.List<api.Privilege> o) {
+checkUnnamed4937(core.List<api.Privilege> o) {
unittest.expect(o, unittest.hasLength(2));
checkPrivilege(o[0]);
checkPrivilege(o[1]);
@@ -1889,7 +1889,7 @@
var o = new api.Privilege();
buildCounterPrivilege++;
if (buildCounterPrivilege < 3) {
- o.childPrivileges = buildUnnamed4930();
+ o.childPrivileges = buildUnnamed4937();
o.etag = "foo";
o.isOuScopable = true;
o.kind = "foo";
@@ -1904,7 +1904,7 @@
checkPrivilege(api.Privilege o) {
buildCounterPrivilege++;
if (buildCounterPrivilege < 3) {
- checkUnnamed4930(o.childPrivileges);
+ checkUnnamed4937(o.childPrivileges);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.isOuScopable, unittest.isTrue);
unittest.expect(o.kind, unittest.equals('foo'));
@@ -1915,14 +1915,14 @@
buildCounterPrivilege--;
}
-buildUnnamed4931() {
+buildUnnamed4938() {
var o = new core.List<api.Privilege>();
o.add(buildPrivilege());
o.add(buildPrivilege());
return o;
}
-checkUnnamed4931(core.List<api.Privilege> o) {
+checkUnnamed4938(core.List<api.Privilege> o) {
unittest.expect(o, unittest.hasLength(2));
checkPrivilege(o[0]);
checkPrivilege(o[1]);
@@ -1934,7 +1934,7 @@
buildCounterPrivileges++;
if (buildCounterPrivileges < 3) {
o.etag = "foo";
- o.items = buildUnnamed4931();
+ o.items = buildUnnamed4938();
o.kind = "foo";
}
buildCounterPrivileges--;
@@ -1945,7 +1945,7 @@
buildCounterPrivileges++;
if (buildCounterPrivileges < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed4931(o.items);
+ checkUnnamed4938(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterPrivileges--;
@@ -1972,14 +1972,14 @@
buildCounterRoleRolePrivileges--;
}
-buildUnnamed4932() {
+buildUnnamed4939() {
var o = new core.List<api.RoleRolePrivileges>();
o.add(buildRoleRolePrivileges());
o.add(buildRoleRolePrivileges());
return o;
}
-checkUnnamed4932(core.List<api.RoleRolePrivileges> o) {
+checkUnnamed4939(core.List<api.RoleRolePrivileges> o) {
unittest.expect(o, unittest.hasLength(2));
checkRoleRolePrivileges(o[0]);
checkRoleRolePrivileges(o[1]);
@@ -1997,7 +1997,7 @@
o.roleDescription = "foo";
o.roleId = "foo";
o.roleName = "foo";
- o.rolePrivileges = buildUnnamed4932();
+ o.rolePrivileges = buildUnnamed4939();
}
buildCounterRole--;
return o;
@@ -2013,7 +2013,7 @@
unittest.expect(o.roleDescription, unittest.equals('foo'));
unittest.expect(o.roleId, unittest.equals('foo'));
unittest.expect(o.roleName, unittest.equals('foo'));
- checkUnnamed4932(o.rolePrivileges);
+ checkUnnamed4939(o.rolePrivileges);
}
buildCounterRole--;
}
@@ -2049,14 +2049,14 @@
buildCounterRoleAssignment--;
}
-buildUnnamed4933() {
+buildUnnamed4940() {
var o = new core.List<api.RoleAssignment>();
o.add(buildRoleAssignment());
o.add(buildRoleAssignment());
return o;
}
-checkUnnamed4933(core.List<api.RoleAssignment> o) {
+checkUnnamed4940(core.List<api.RoleAssignment> o) {
unittest.expect(o, unittest.hasLength(2));
checkRoleAssignment(o[0]);
checkRoleAssignment(o[1]);
@@ -2068,7 +2068,7 @@
buildCounterRoleAssignments++;
if (buildCounterRoleAssignments < 3) {
o.etag = "foo";
- o.items = buildUnnamed4933();
+ o.items = buildUnnamed4940();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -2080,21 +2080,21 @@
buildCounterRoleAssignments++;
if (buildCounterRoleAssignments < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed4933(o.items);
+ checkUnnamed4940(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterRoleAssignments--;
}
-buildUnnamed4934() {
+buildUnnamed4941() {
var o = new core.List<api.Role>();
o.add(buildRole());
o.add(buildRole());
return o;
}
-checkUnnamed4934(core.List<api.Role> o) {
+checkUnnamed4941(core.List<api.Role> o) {
unittest.expect(o, unittest.hasLength(2));
checkRole(o[0]);
checkRole(o[1]);
@@ -2106,7 +2106,7 @@
buildCounterRoles++;
if (buildCounterRoles < 3) {
o.etag = "foo";
- o.items = buildUnnamed4934();
+ o.items = buildUnnamed4941();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -2118,21 +2118,21 @@
buildCounterRoles++;
if (buildCounterRoles < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed4934(o.items);
+ checkUnnamed4941(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterRoles--;
}
-buildUnnamed4935() {
+buildUnnamed4942() {
var o = new core.List<api.SchemaFieldSpec>();
o.add(buildSchemaFieldSpec());
o.add(buildSchemaFieldSpec());
return o;
}
-checkUnnamed4935(core.List<api.SchemaFieldSpec> o) {
+checkUnnamed4942(core.List<api.SchemaFieldSpec> o) {
unittest.expect(o, unittest.hasLength(2));
checkSchemaFieldSpec(o[0]);
checkSchemaFieldSpec(o[1]);
@@ -2145,7 +2145,7 @@
if (buildCounterSchema < 3) {
o.displayName = "foo";
o.etag = "foo";
- o.fields = buildUnnamed4935();
+ o.fields = buildUnnamed4942();
o.kind = "foo";
o.schemaId = "foo";
o.schemaName = "foo";
@@ -2159,7 +2159,7 @@
if (buildCounterSchema < 3) {
unittest.expect(o.displayName, unittest.equals('foo'));
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed4935(o.fields);
+ checkUnnamed4942(o.fields);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.schemaId, unittest.equals('foo'));
unittest.expect(o.schemaName, unittest.equals('foo'));
@@ -2226,14 +2226,14 @@
buildCounterSchemaFieldSpec--;
}
-buildUnnamed4936() {
+buildUnnamed4943() {
var o = new core.List<api.Schema>();
o.add(buildSchema());
o.add(buildSchema());
return o;
}
-checkUnnamed4936(core.List<api.Schema> o) {
+checkUnnamed4943(core.List<api.Schema> o) {
unittest.expect(o, unittest.hasLength(2));
checkSchema(o[0]);
checkSchema(o[1]);
@@ -2246,7 +2246,7 @@
if (buildCounterSchemas < 3) {
o.etag = "foo";
o.kind = "foo";
- o.schemas = buildUnnamed4936();
+ o.schemas = buildUnnamed4943();
}
buildCounterSchemas--;
return o;
@@ -2257,19 +2257,19 @@
if (buildCounterSchemas < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed4936(o.schemas);
+ checkUnnamed4943(o.schemas);
}
buildCounterSchemas--;
}
-buildUnnamed4937() {
+buildUnnamed4944() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4937(core.List<core.String> o) {
+checkUnnamed4944(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2286,7 +2286,7 @@
o.etag = "foo";
o.kind = "foo";
o.nativeApp = true;
- o.scopes = buildUnnamed4937();
+ o.scopes = buildUnnamed4944();
o.userKey = "foo";
}
buildCounterToken--;
@@ -2302,20 +2302,20 @@
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nativeApp, unittest.isTrue);
- checkUnnamed4937(o.scopes);
+ checkUnnamed4944(o.scopes);
unittest.expect(o.userKey, unittest.equals('foo'));
}
buildCounterToken--;
}
-buildUnnamed4938() {
+buildUnnamed4945() {
var o = new core.List<api.Token>();
o.add(buildToken());
o.add(buildToken());
return o;
}
-checkUnnamed4938(core.List<api.Token> o) {
+checkUnnamed4945(core.List<api.Token> o) {
unittest.expect(o, unittest.hasLength(2));
checkToken(o[0]);
checkToken(o[1]);
@@ -2327,7 +2327,7 @@
buildCounterTokens++;
if (buildCounterTokens < 3) {
o.etag = "foo";
- o.items = buildUnnamed4938();
+ o.items = buildUnnamed4945();
o.kind = "foo";
}
buildCounterTokens--;
@@ -2338,46 +2338,46 @@
buildCounterTokens++;
if (buildCounterTokens < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed4938(o.items);
+ checkUnnamed4945(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterTokens--;
}
-buildUnnamed4939() {
+buildUnnamed4946() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4939(core.List<core.String> o) {
+checkUnnamed4946(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed4940() {
+buildUnnamed4947() {
var o = new core.Map<core.String, api.UserCustomProperties>();
o["x"] = buildUserCustomProperties();
o["y"] = buildUserCustomProperties();
return o;
}
-checkUnnamed4940(core.Map<core.String, api.UserCustomProperties> o) {
+checkUnnamed4947(core.Map<core.String, api.UserCustomProperties> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserCustomProperties(o["x"]);
checkUserCustomProperties(o["y"]);
}
-buildUnnamed4941() {
+buildUnnamed4948() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4941(core.List<core.String> o) {
+checkUnnamed4948(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2394,11 +2394,11 @@
'string': 'foo'
};
o.agreedToTerms = true;
- o.aliases = buildUnnamed4939();
+ o.aliases = buildUnnamed4946();
o.archived = true;
o.changePasswordAtNextLogin = true;
o.creationTime = core.DateTime.parse("2002-02-27T14:01:02");
- o.customSchemas = buildUnnamed4940();
+ o.customSchemas = buildUnnamed4947();
o.customerId = "foo";
o.deletionTime = core.DateTime.parse("2002-02-27T14:01:02");
o.emails = {
@@ -2449,7 +2449,7 @@
'string': 'foo'
};
o.name = buildUserName();
- o.nonEditableAliases = buildUnnamed4941();
+ o.nonEditableAliases = buildUnnamed4948();
o.notes = {
'list': [1, 2, 3],
'bool': true,
@@ -2508,12 +2508,12 @@
unittest.expect(casted4["bool"], unittest.equals(true));
unittest.expect(casted4["string"], unittest.equals('foo'));
unittest.expect(o.agreedToTerms, unittest.isTrue);
- checkUnnamed4939(o.aliases);
+ checkUnnamed4946(o.aliases);
unittest.expect(o.archived, unittest.isTrue);
unittest.expect(o.changePasswordAtNextLogin, unittest.isTrue);
unittest.expect(o.creationTime,
unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
- checkUnnamed4940(o.customSchemas);
+ checkUnnamed4947(o.customSchemas);
unittest.expect(o.customerId, unittest.equals('foo'));
unittest.expect(o.deletionTime,
unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
@@ -2566,7 +2566,7 @@
unittest.expect(casted11["bool"], unittest.equals(true));
unittest.expect(casted11["string"], unittest.equals('foo'));
checkUserName(o.name);
- checkUnnamed4941(o.nonEditableAliases);
+ checkUnnamed4948(o.nonEditableAliases);
var casted12 = (o.notes) as core.Map;
unittest.expect(casted12, unittest.hasLength(3));
unittest.expect(casted12["list"], unittest.equals([1, 2, 3]));
@@ -3151,14 +3151,14 @@
buildCounterUserWebsite--;
}
-buildUnnamed4942() {
+buildUnnamed4949() {
var o = new core.List<api.User>();
o.add(buildUser());
o.add(buildUser());
return o;
}
-checkUnnamed4942(core.List<api.User> o) {
+checkUnnamed4949(core.List<api.User> o) {
unittest.expect(o, unittest.hasLength(2));
checkUser(o[0]);
checkUser(o[1]);
@@ -3173,7 +3173,7 @@
o.kind = "foo";
o.nextPageToken = "foo";
o.triggerEvent = "foo";
- o.users = buildUnnamed4942();
+ o.users = buildUnnamed4949();
}
buildCounterUsers--;
return o;
@@ -3186,7 +3186,7 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.triggerEvent, unittest.equals('foo'));
- checkUnnamed4942(o.users);
+ checkUnnamed4949(o.users);
}
buildCounterUsers--;
}
@@ -3216,14 +3216,14 @@
buildCounterVerificationCode--;
}
-buildUnnamed4943() {
+buildUnnamed4950() {
var o = new core.List<api.VerificationCode>();
o.add(buildVerificationCode());
o.add(buildVerificationCode());
return o;
}
-checkUnnamed4943(core.List<api.VerificationCode> o) {
+checkUnnamed4950(core.List<api.VerificationCode> o) {
unittest.expect(o, unittest.hasLength(2));
checkVerificationCode(o[0]);
checkVerificationCode(o[1]);
@@ -3235,7 +3235,7 @@
buildCounterVerificationCodes++;
if (buildCounterVerificationCodes < 3) {
o.etag = "foo";
- o.items = buildUnnamed4943();
+ o.items = buildUnnamed4950();
o.kind = "foo";
}
buildCounterVerificationCodes--;
@@ -3246,7 +3246,7 @@
buildCounterVerificationCodes++;
if (buildCounterVerificationCodes < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed4943(o.items);
+ checkUnnamed4950(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterVerificationCodes--;
@@ -4306,13 +4306,13 @@
api.ChromeosdevicesResourceApi res =
new api.AdminApi(mock).chromeosdevices;
var arg_customerId = "foo";
- var arg_sortOrder = "foo";
- var arg_pageToken = "foo";
- var arg_orgUnitPath = "foo";
+ var arg_orderBy = "foo";
var arg_query = "foo";
var arg_maxResults = 42;
- var arg_orderBy = "foo";
var arg_projection = "foo";
+ var arg_orgUnitPath = "foo";
+ var arg_sortOrder = "foo";
+ var arg_pageToken = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -4354,18 +4354,18 @@
}
}
unittest.expect(
- queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(
- queryMap["orgUnitPath"].first, unittest.equals(arg_orgUnitPath));
+ 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["orderBy"].first, unittest.equals(arg_orderBy));
- unittest.expect(
queryMap["projection"].first, unittest.equals(arg_projection));
+ 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["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4376,13 +4376,13 @@
}), true);
res
.list(arg_customerId,
- sortOrder: arg_sortOrder,
- pageToken: arg_pageToken,
- orgUnitPath: arg_orgUnitPath,
+ orderBy: arg_orderBy,
query: arg_query,
maxResults: arg_maxResults,
- orderBy: arg_orderBy,
projection: arg_projection,
+ orgUnitPath: arg_orgUnitPath,
+ sortOrder: arg_sortOrder,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkChromeOsDevices(response);
@@ -5431,13 +5431,13 @@
var mock = new HttpServerMock();
api.GroupsResourceApi res = new api.AdminApi(mock).groups;
var arg_orderBy = "foo";
- var arg_domain = "foo";
- var arg_maxResults = 42;
- var arg_userKey = "foo";
- var arg_query = "foo";
var arg_pageToken = "foo";
- var arg_customer = "foo";
var arg_sortOrder = "foo";
+ var arg_customer = "foo";
+ var arg_query = "foo";
+ var arg_domain = "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;
@@ -5471,18 +5471,18 @@
}
unittest.expect(
queryMap["orderBy"].first, unittest.equals(arg_orderBy));
- unittest.expect(queryMap["domain"].first, unittest.equals(arg_domain));
- unittest.expect(core.int.parse(queryMap["maxResults"].first),
- unittest.equals(arg_maxResults));
- unittest.expect(
- queryMap["userKey"].first, unittest.equals(arg_userKey));
- unittest.expect(queryMap["query"].first, unittest.equals(arg_query));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(
- queryMap["customer"].first, unittest.equals(arg_customer));
- 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 = {
@@ -5494,13 +5494,13 @@
res
.list(
orderBy: arg_orderBy,
- domain: arg_domain,
- maxResults: arg_maxResults,
- userKey: arg_userKey,
- query: arg_query,
pageToken: arg_pageToken,
- customer: arg_customer,
sortOrder: arg_sortOrder,
+ customer: arg_customer,
+ query: arg_query,
+ domain: arg_domain,
+ userKey: arg_userKey,
+ maxResults: arg_maxResults,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGroups(response);
@@ -6063,9 +6063,9 @@
api.MembersResourceApi res = new api.AdminApi(mock).members;
var arg_groupKey = "foo";
var arg_maxResults = 42;
+ var arg_pageToken = "foo";
var arg_includeDerivedMembership = true;
var arg_roles = "foo";
- var arg_pageToken = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -6108,11 +6108,11 @@
}
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["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -6124,9 +6124,9 @@
res
.list(arg_groupKey,
maxResults: arg_maxResults,
+ pageToken: arg_pageToken,
includeDerivedMembership: arg_includeDerivedMembership,
roles: arg_roles,
- pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkMembers(response);
@@ -6474,12 +6474,12 @@
var mock = new HttpServerMock();
api.MobiledevicesResourceApi res = new api.AdminApi(mock).mobiledevices;
var arg_customerId = "foo";
- var arg_sortOrder = "foo";
+ var arg_projection = "foo";
var arg_pageToken = "foo";
var arg_query = "foo";
- var arg_maxResults = 42;
- var arg_projection = "foo";
var arg_orderBy = "foo";
+ var arg_sortOrder = "foo";
+ var arg_maxResults = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -6521,16 +6521,16 @@
}
}
unittest.expect(
- queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
+ 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["projection"].first, unittest.equals(arg_projection));
unittest.expect(
queryMap["orderBy"].first, unittest.equals(arg_orderBy));
+ 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 = {
@@ -6541,12 +6541,12 @@
}), true);
res
.list(arg_customerId,
- sortOrder: arg_sortOrder,
+ projection: arg_projection,
pageToken: arg_pageToken,
query: arg_query,
- maxResults: arg_maxResults,
- projection: arg_projection,
orderBy: arg_orderBy,
+ sortOrder: arg_sortOrder,
+ maxResults: arg_maxResults,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkMobileDevices(response);
@@ -7604,10 +7604,10 @@
api.ResourcesCalendarsResourceApi res =
new api.AdminApi(mock).resources.calendars;
var arg_customer = "foo";
- var arg_query = "foo";
var arg_orderBy = "foo";
- var arg_maxResults = 42;
+ var arg_query = "foo";
var arg_pageToken = "foo";
+ var arg_maxResults = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -7648,13 +7648,13 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["query"].first, unittest.equals(arg_query));
unittest.expect(
queryMap["orderBy"].first, unittest.equals(arg_orderBy));
- unittest.expect(core.int.parse(queryMap["maxResults"].first),
- unittest.equals(arg_maxResults));
+ 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["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -7665,10 +7665,10 @@
}), true);
res
.list(arg_customer,
- query: arg_query,
orderBy: arg_orderBy,
- maxResults: arg_maxResults,
+ query: arg_query,
pageToken: arg_pageToken,
+ maxResults: arg_maxResults,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkCalendarResources(response);
@@ -8481,10 +8481,10 @@
api.RoleAssignmentsResourceApi res =
new api.AdminApi(mock).roleAssignments;
var arg_customer = "foo";
- var arg_roleId = "foo";
var arg_maxResults = 42;
- var arg_userKey = "foo";
var arg_pageToken = "foo";
+ var arg_roleId = "foo";
+ var arg_userKey = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -8525,13 +8525,13 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["roleId"].first, unittest.equals(arg_roleId));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
unittest.expect(
- queryMap["userKey"].first, unittest.equals(arg_userKey));
- unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["roleId"].first, unittest.equals(arg_roleId));
+ unittest.expect(
+ queryMap["userKey"].first, unittest.equals(arg_userKey));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -8542,10 +8542,10 @@
}), true);
res
.list(arg_customer,
- roleId: arg_roleId,
maxResults: arg_maxResults,
- userKey: arg_userKey,
pageToken: arg_pageToken,
+ roleId: arg_roleId,
+ userKey: arg_userKey,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkRoleAssignments(response);
@@ -9630,8 +9630,8 @@
api.UsersResourceApi res = new api.AdminApi(mock).users;
var arg_userKey = "foo";
var arg_viewType = "foo";
- var arg_projection = "foo";
var arg_customFieldMask = "foo";
+ var arg_projection = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -9668,10 +9668,10 @@
}
unittest.expect(
queryMap["viewType"].first, unittest.equals(arg_viewType));
- unittest.expect(
- queryMap["projection"].first, unittest.equals(arg_projection));
unittest.expect(queryMap["customFieldMask"].first,
unittest.equals(arg_customFieldMask));
+ unittest.expect(
+ queryMap["projection"].first, unittest.equals(arg_projection));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -9683,8 +9683,8 @@
res
.get(arg_userKey,
viewType: arg_viewType,
- projection: arg_projection,
customFieldMask: arg_customFieldMask,
+ projection: arg_projection,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkUser(response);
@@ -9747,17 +9747,17 @@
unittest.test("method--list", () {
var mock = new HttpServerMock();
api.UsersResourceApi res = new api.AdminApi(mock).users;
- var arg_customFieldMask = "foo";
+ var arg_maxResults = 42;
+ var arg_domain = "foo";
+ var arg_pageToken = "foo";
+ var arg_sortOrder = "foo";
+ var arg_viewType = "foo";
var arg_orderBy = "foo";
var arg_showDeleted = "foo";
- var arg_viewType = "foo";
- var arg_maxResults = 42;
- var arg_projection = "foo";
- var arg_domain = "foo";
- var arg_customer = "foo";
- var arg_sortOrder = "foo";
var arg_query = "foo";
- var arg_pageToken = "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;
@@ -9789,26 +9789,26 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["customFieldMask"].first,
- unittest.equals(arg_customFieldMask));
+ unittest.expect(core.int.parse(queryMap["maxResults"].first),
+ unittest.equals(arg_maxResults));
+ unittest.expect(queryMap["domain"].first, unittest.equals(arg_domain));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ 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["viewType"].first, unittest.equals(arg_viewType));
- unittest.expect(core.int.parse(queryMap["maxResults"].first),
- unittest.equals(arg_maxResults));
- unittest.expect(
- queryMap["projection"].first, unittest.equals(arg_projection));
- unittest.expect(queryMap["domain"].first, unittest.equals(arg_domain));
- unittest.expect(
- queryMap["customer"].first, unittest.equals(arg_customer));
- unittest.expect(
- queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
unittest.expect(queryMap["query"].first, unittest.equals(arg_query));
unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ 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 = {
@@ -9819,17 +9819,17 @@
}), true);
res
.list(
- customFieldMask: arg_customFieldMask,
+ maxResults: arg_maxResults,
+ domain: arg_domain,
+ pageToken: arg_pageToken,
+ sortOrder: arg_sortOrder,
+ viewType: arg_viewType,
orderBy: arg_orderBy,
showDeleted: arg_showDeleted,
- viewType: arg_viewType,
- maxResults: arg_maxResults,
- projection: arg_projection,
- domain: arg_domain,
- customer: arg_customer,
- sortOrder: arg_sortOrder,
query: arg_query,
- pageToken: arg_pageToken,
+ projection: arg_projection,
+ customer: arg_customer,
+ customFieldMask: arg_customFieldMask,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkUsers(response);
@@ -10133,18 +10133,18 @@
var mock = new HttpServerMock();
api.UsersResourceApi res = new api.AdminApi(mock).users;
var arg_request = buildChannel();
- var arg_domain = "foo";
var arg_viewType = "foo";
- var arg_maxResults = 42;
- var arg_projection = "foo";
var arg_query = "foo";
- var arg_showDeleted = "foo";
- var arg_orderBy = "foo";
+ var arg_domain = "foo";
+ var arg_sortOrder = "foo";
var arg_event = "foo";
var arg_pageToken = "foo";
var arg_customer = "foo";
- var arg_sortOrder = "foo";
+ var arg_orderBy = "foo";
+ var arg_maxResults = 42;
var arg_customFieldMask = "foo";
+ var arg_showDeleted = "foo";
+ var arg_projection = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.Channel.fromJson(json);
@@ -10179,27 +10179,27 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["domain"].first, unittest.equals(arg_domain));
unittest.expect(
queryMap["viewType"].first, unittest.equals(arg_viewType));
- unittest.expect(core.int.parse(queryMap["maxResults"].first),
- unittest.equals(arg_maxResults));
- unittest.expect(
- queryMap["projection"].first, unittest.equals(arg_projection));
unittest.expect(queryMap["query"].first, unittest.equals(arg_query));
+ unittest.expect(queryMap["domain"].first, unittest.equals(arg_domain));
unittest.expect(
- queryMap["showDeleted"].first, unittest.equals(arg_showDeleted));
- unittest.expect(
- queryMap["orderBy"].first, unittest.equals(arg_orderBy));
+ 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["sortOrder"].first, unittest.equals(arg_sortOrder));
+ 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));
+ unittest.expect(
+ queryMap["projection"].first, unittest.equals(arg_projection));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -10210,18 +10210,18 @@
}), true);
res
.watch(arg_request,
- domain: arg_domain,
viewType: arg_viewType,
- maxResults: arg_maxResults,
- projection: arg_projection,
query: arg_query,
- showDeleted: arg_showDeleted,
- orderBy: arg_orderBy,
+ domain: arg_domain,
+ sortOrder: arg_sortOrder,
event: arg_event,
pageToken: arg_pageToken,
customer: arg_customer,
- sortOrder: arg_sortOrder,
+ orderBy: arg_orderBy,
+ maxResults: arg_maxResults,
customFieldMask: arg_customFieldMask,
+ showDeleted: arg_showDeleted,
+ projection: arg_projection,
$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 87ca363..4653992 100644
--- a/generated/googleapis/test/admin/reports_v1_test.dart
+++ b/generated/googleapis/test/admin/reports_v1_test.dart
@@ -50,14 +50,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed3482() {
+buildUnnamed3486() {
var o = new core.List<api.Activity>();
o.add(buildActivity());
o.add(buildActivity());
return o;
}
-checkUnnamed3482(core.List<api.Activity> o) {
+checkUnnamed3486(core.List<api.Activity> o) {
unittest.expect(o, unittest.hasLength(2));
checkActivity(o[0]);
checkActivity(o[1]);
@@ -69,7 +69,7 @@
buildCounterActivities++;
if (buildCounterActivities < 3) {
o.etag = "foo";
- o.items = buildUnnamed3482();
+ o.items = buildUnnamed3486();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -81,7 +81,7 @@
buildCounterActivities++;
if (buildCounterActivities < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed3482(o.items);
+ checkUnnamed3486(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -113,14 +113,14 @@
buildCounterActivityActor--;
}
-buildUnnamed3483() {
+buildUnnamed3487() {
var o = new core.List<api.NestedParameter>();
o.add(buildNestedParameter());
o.add(buildNestedParameter());
return o;
}
-checkUnnamed3483(core.List<api.NestedParameter> o) {
+checkUnnamed3487(core.List<api.NestedParameter> o) {
unittest.expect(o, unittest.hasLength(2));
checkNestedParameter(o[0]);
checkNestedParameter(o[1]);
@@ -131,7 +131,7 @@
var o = new api.ActivityEventsParametersMessageValue();
buildCounterActivityEventsParametersMessageValue++;
if (buildCounterActivityEventsParametersMessageValue < 3) {
- o.parameter = buildUnnamed3483();
+ o.parameter = buildUnnamed3487();
}
buildCounterActivityEventsParametersMessageValue--;
return o;
@@ -141,32 +141,32 @@
api.ActivityEventsParametersMessageValue o) {
buildCounterActivityEventsParametersMessageValue++;
if (buildCounterActivityEventsParametersMessageValue < 3) {
- checkUnnamed3483(o.parameter);
+ checkUnnamed3487(o.parameter);
}
buildCounterActivityEventsParametersMessageValue--;
}
-buildUnnamed3484() {
+buildUnnamed3488() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3484(core.List<core.String> o) {
+checkUnnamed3488(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3485() {
+buildUnnamed3489() {
var o = new core.List<api.NestedParameter>();
o.add(buildNestedParameter());
o.add(buildNestedParameter());
return o;
}
-checkUnnamed3485(core.List<api.NestedParameter> o) {
+checkUnnamed3489(core.List<api.NestedParameter> o) {
unittest.expect(o, unittest.hasLength(2));
checkNestedParameter(o[0]);
checkNestedParameter(o[1]);
@@ -177,7 +177,7 @@
var o = new api.ActivityEventsParametersMultiMessageValue();
buildCounterActivityEventsParametersMultiMessageValue++;
if (buildCounterActivityEventsParametersMultiMessageValue < 3) {
- o.parameter = buildUnnamed3485();
+ o.parameter = buildUnnamed3489();
}
buildCounterActivityEventsParametersMultiMessageValue--;
return o;
@@ -187,32 +187,32 @@
api.ActivityEventsParametersMultiMessageValue o) {
buildCounterActivityEventsParametersMultiMessageValue++;
if (buildCounterActivityEventsParametersMultiMessageValue < 3) {
- checkUnnamed3485(o.parameter);
+ checkUnnamed3489(o.parameter);
}
buildCounterActivityEventsParametersMultiMessageValue--;
}
-buildUnnamed3486() {
+buildUnnamed3490() {
var o = new core.List<api.ActivityEventsParametersMultiMessageValue>();
o.add(buildActivityEventsParametersMultiMessageValue());
o.add(buildActivityEventsParametersMultiMessageValue());
return o;
}
-checkUnnamed3486(core.List<api.ActivityEventsParametersMultiMessageValue> o) {
+checkUnnamed3490(core.List<api.ActivityEventsParametersMultiMessageValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkActivityEventsParametersMultiMessageValue(o[0]);
checkActivityEventsParametersMultiMessageValue(o[1]);
}
-buildUnnamed3487() {
+buildUnnamed3491() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3487(core.List<core.String> o) {
+checkUnnamed3491(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -226,9 +226,9 @@
o.boolValue = true;
o.intValue = "foo";
o.messageValue = buildActivityEventsParametersMessageValue();
- o.multiIntValue = buildUnnamed3484();
- o.multiMessageValue = buildUnnamed3486();
- o.multiValue = buildUnnamed3487();
+ o.multiIntValue = buildUnnamed3488();
+ o.multiMessageValue = buildUnnamed3490();
+ o.multiValue = buildUnnamed3491();
o.name = "foo";
o.value = "foo";
}
@@ -242,23 +242,23 @@
unittest.expect(o.boolValue, unittest.isTrue);
unittest.expect(o.intValue, unittest.equals('foo'));
checkActivityEventsParametersMessageValue(o.messageValue);
- checkUnnamed3484(o.multiIntValue);
- checkUnnamed3486(o.multiMessageValue);
- checkUnnamed3487(o.multiValue);
+ checkUnnamed3488(o.multiIntValue);
+ checkUnnamed3490(o.multiMessageValue);
+ checkUnnamed3491(o.multiValue);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.value, unittest.equals('foo'));
}
buildCounterActivityEventsParameters--;
}
-buildUnnamed3488() {
+buildUnnamed3492() {
var o = new core.List<api.ActivityEventsParameters>();
o.add(buildActivityEventsParameters());
o.add(buildActivityEventsParameters());
return o;
}
-checkUnnamed3488(core.List<api.ActivityEventsParameters> o) {
+checkUnnamed3492(core.List<api.ActivityEventsParameters> o) {
unittest.expect(o, unittest.hasLength(2));
checkActivityEventsParameters(o[0]);
checkActivityEventsParameters(o[1]);
@@ -270,7 +270,7 @@
buildCounterActivityEvents++;
if (buildCounterActivityEvents < 3) {
o.name = "foo";
- o.parameters = buildUnnamed3488();
+ o.parameters = buildUnnamed3492();
o.type = "foo";
}
buildCounterActivityEvents--;
@@ -281,20 +281,20 @@
buildCounterActivityEvents++;
if (buildCounterActivityEvents < 3) {
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed3488(o.parameters);
+ checkUnnamed3492(o.parameters);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterActivityEvents--;
}
-buildUnnamed3489() {
+buildUnnamed3493() {
var o = new core.List<api.ActivityEvents>();
o.add(buildActivityEvents());
o.add(buildActivityEvents());
return o;
}
-checkUnnamed3489(core.List<api.ActivityEvents> o) {
+checkUnnamed3493(core.List<api.ActivityEvents> o) {
unittest.expect(o, unittest.hasLength(2));
checkActivityEvents(o[0]);
checkActivityEvents(o[1]);
@@ -333,7 +333,7 @@
if (buildCounterActivity < 3) {
o.actor = buildActivityActor();
o.etag = "foo";
- o.events = buildUnnamed3489();
+ o.events = buildUnnamed3493();
o.id = buildActivityId();
o.ipAddress = "foo";
o.kind = "foo";
@@ -348,7 +348,7 @@
if (buildCounterActivity < 3) {
checkActivityActor(o.actor);
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed3489(o.events);
+ checkUnnamed3493(o.events);
checkActivityId(o.id);
unittest.expect(o.ipAddress, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
@@ -357,14 +357,14 @@
buildCounterActivity--;
}
-buildUnnamed3490() {
+buildUnnamed3494() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3490(core.Map<core.String, core.String> o) {
+checkUnnamed3494(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -379,7 +379,7 @@
o.expiration = "foo";
o.id = "foo";
o.kind = "foo";
- o.params = buildUnnamed3490();
+ o.params = buildUnnamed3494();
o.payload = true;
o.resourceId = "foo";
o.resourceUri = "foo";
@@ -397,7 +397,7 @@
unittest.expect(o.expiration, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed3490(o.params);
+ checkUnnamed3494(o.params);
unittest.expect(o.payload, unittest.isTrue);
unittest.expect(o.resourceId, unittest.equals('foo'));
unittest.expect(o.resourceUri, unittest.equals('foo'));
@@ -407,40 +407,40 @@
buildCounterChannel--;
}
-buildUnnamed3491() {
+buildUnnamed3495() {
var o = new core.List<core.bool>();
o.add(true);
o.add(true);
return o;
}
-checkUnnamed3491(core.List<core.bool> o) {
+checkUnnamed3495(core.List<core.bool> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.isTrue);
unittest.expect(o[1], unittest.isTrue);
}
-buildUnnamed3492() {
+buildUnnamed3496() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3492(core.List<core.String> o) {
+checkUnnamed3496(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3493() {
+buildUnnamed3497() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3493(core.List<core.String> o) {
+checkUnnamed3497(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -453,9 +453,9 @@
if (buildCounterNestedParameter < 3) {
o.boolValue = true;
o.intValue = "foo";
- o.multiBoolValue = buildUnnamed3491();
- o.multiIntValue = buildUnnamed3492();
- o.multiValue = buildUnnamed3493();
+ o.multiBoolValue = buildUnnamed3495();
+ o.multiIntValue = buildUnnamed3496();
+ o.multiValue = buildUnnamed3497();
o.name = "foo";
o.value = "foo";
}
@@ -468,9 +468,9 @@
if (buildCounterNestedParameter < 3) {
unittest.expect(o.boolValue, unittest.isTrue);
unittest.expect(o.intValue, unittest.equals('foo'));
- checkUnnamed3491(o.multiBoolValue);
- checkUnnamed3492(o.multiIntValue);
- checkUnnamed3493(o.multiValue);
+ checkUnnamed3495(o.multiBoolValue);
+ checkUnnamed3496(o.multiIntValue);
+ checkUnnamed3497(o.multiValue);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.value, unittest.equals('foo'));
}
@@ -504,7 +504,7 @@
buildCounterUsageReportEntity--;
}
-buildUnnamed3494() {
+buildUnnamed3498() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -519,7 +519,7 @@
return o;
}
-checkUnnamed3494(core.Map<core.String, core.Object> o) {
+checkUnnamed3498(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o["x"]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -533,17 +533,17 @@
unittest.expect(casted2["string"], unittest.equals('foo'));
}
-buildUnnamed3495() {
+buildUnnamed3499() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed3494());
- o.add(buildUnnamed3494());
+ o.add(buildUnnamed3498());
+ o.add(buildUnnamed3498());
return o;
}
-checkUnnamed3495(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed3499(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed3494(o[0]);
- checkUnnamed3494(o[1]);
+ checkUnnamed3498(o[0]);
+ checkUnnamed3498(o[1]);
}
core.int buildCounterUsageReportParameters = 0;
@@ -554,7 +554,7 @@
o.boolValue = true;
o.datetimeValue = core.DateTime.parse("2002-02-27T14:01:02");
o.intValue = "foo";
- o.msgValue = buildUnnamed3495();
+ o.msgValue = buildUnnamed3499();
o.name = "foo";
o.stringValue = "foo";
}
@@ -569,21 +569,21 @@
unittest.expect(o.datetimeValue,
unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
unittest.expect(o.intValue, unittest.equals('foo'));
- checkUnnamed3495(o.msgValue);
+ checkUnnamed3499(o.msgValue);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.stringValue, unittest.equals('foo'));
}
buildCounterUsageReportParameters--;
}
-buildUnnamed3496() {
+buildUnnamed3500() {
var o = new core.List<api.UsageReportParameters>();
o.add(buildUsageReportParameters());
o.add(buildUsageReportParameters());
return o;
}
-checkUnnamed3496(core.List<api.UsageReportParameters> o) {
+checkUnnamed3500(core.List<api.UsageReportParameters> o) {
unittest.expect(o, unittest.hasLength(2));
checkUsageReportParameters(o[0]);
checkUsageReportParameters(o[1]);
@@ -598,7 +598,7 @@
o.entity = buildUsageReportEntity();
o.etag = "foo";
o.kind = "foo";
- o.parameters = buildUnnamed3496();
+ o.parameters = buildUnnamed3500();
}
buildCounterUsageReport--;
return o;
@@ -611,19 +611,19 @@
checkUsageReportEntity(o.entity);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed3496(o.parameters);
+ checkUnnamed3500(o.parameters);
}
buildCounterUsageReport--;
}
-buildUnnamed3497() {
+buildUnnamed3501() {
var o = new core.List<api.UsageReport>();
o.add(buildUsageReport());
o.add(buildUsageReport());
return o;
}
-checkUnnamed3497(core.List<api.UsageReport> o) {
+checkUnnamed3501(core.List<api.UsageReport> o) {
unittest.expect(o, unittest.hasLength(2));
checkUsageReport(o[0]);
checkUsageReport(o[1]);
@@ -650,14 +650,14 @@
buildCounterUsageReportsWarningsData--;
}
-buildUnnamed3498() {
+buildUnnamed3502() {
var o = new core.List<api.UsageReportsWarningsData>();
o.add(buildUsageReportsWarningsData());
o.add(buildUsageReportsWarningsData());
return o;
}
-checkUnnamed3498(core.List<api.UsageReportsWarningsData> o) {
+checkUnnamed3502(core.List<api.UsageReportsWarningsData> o) {
unittest.expect(o, unittest.hasLength(2));
checkUsageReportsWarningsData(o[0]);
checkUsageReportsWarningsData(o[1]);
@@ -669,7 +669,7 @@
buildCounterUsageReportsWarnings++;
if (buildCounterUsageReportsWarnings < 3) {
o.code = "foo";
- o.data = buildUnnamed3498();
+ o.data = buildUnnamed3502();
o.message = "foo";
}
buildCounterUsageReportsWarnings--;
@@ -680,20 +680,20 @@
buildCounterUsageReportsWarnings++;
if (buildCounterUsageReportsWarnings < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed3498(o.data);
+ checkUnnamed3502(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterUsageReportsWarnings--;
}
-buildUnnamed3499() {
+buildUnnamed3503() {
var o = new core.List<api.UsageReportsWarnings>();
o.add(buildUsageReportsWarnings());
o.add(buildUsageReportsWarnings());
return o;
}
-checkUnnamed3499(core.List<api.UsageReportsWarnings> o) {
+checkUnnamed3503(core.List<api.UsageReportsWarnings> o) {
unittest.expect(o, unittest.hasLength(2));
checkUsageReportsWarnings(o[0]);
checkUsageReportsWarnings(o[1]);
@@ -707,8 +707,8 @@
o.etag = "foo";
o.kind = "foo";
o.nextPageToken = "foo";
- o.usageReports = buildUnnamed3497();
- o.warnings = buildUnnamed3499();
+ o.usageReports = buildUnnamed3501();
+ o.warnings = buildUnnamed3503();
}
buildCounterUsageReports--;
return o;
@@ -720,8 +720,8 @@
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3497(o.usageReports);
- checkUnnamed3499(o.warnings);
+ checkUnnamed3501(o.usageReports);
+ checkUnnamed3503(o.warnings);
}
buildCounterUsageReports--;
}
@@ -863,15 +863,15 @@
api.ActivitiesResourceApi res = new api.AdminApi(mock).activities;
var arg_userKey = "foo";
var arg_applicationName = "foo";
- var arg_customerId = "foo";
var arg_actorIpAddress = "foo";
- var arg_eventName = "foo";
- var arg_pageToken = "foo";
- var arg_startTime = "foo";
- var arg_maxResults = 42;
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_eventName = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -915,24 +915,24 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(
- queryMap["customerId"].first, unittest.equals(arg_customerId));
unittest.expect(queryMap["actorIpAddress"].first,
unittest.equals(arg_actorIpAddress));
unittest.expect(
- queryMap["eventName"].first, unittest.equals(arg_eventName));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ queryMap["filters"].first, unittest.equals(arg_filters));
unittest.expect(
queryMap["startTime"].first, unittest.equals(arg_startTime));
- unittest.expect(core.int.parse(queryMap["maxResults"].first),
- unittest.equals(arg_maxResults));
- unittest.expect(
- queryMap["filters"].first, unittest.equals(arg_filters));
unittest.expect(
queryMap["orgUnitID"].first, unittest.equals(arg_orgUnitID));
unittest.expect(
queryMap["endTime"].first, unittest.equals(arg_endTime));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(core.int.parse(queryMap["maxResults"].first),
+ unittest.equals(arg_maxResults));
+ unittest.expect(
+ queryMap["customerId"].first, unittest.equals(arg_customerId));
+ unittest.expect(
+ queryMap["eventName"].first, unittest.equals(arg_eventName));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -943,15 +943,15 @@
}), true);
res
.list(arg_userKey, arg_applicationName,
- customerId: arg_customerId,
actorIpAddress: arg_actorIpAddress,
- eventName: arg_eventName,
- pageToken: arg_pageToken,
- startTime: arg_startTime,
- maxResults: arg_maxResults,
filters: arg_filters,
+ startTime: arg_startTime,
orgUnitID: arg_orgUnitID,
endTime: arg_endTime,
+ pageToken: arg_pageToken,
+ maxResults: arg_maxResults,
+ customerId: arg_customerId,
+ eventName: arg_eventName,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkActivities(response);
@@ -964,15 +964,15 @@
var arg_request = buildChannel();
var arg_userKey = "foo";
var arg_applicationName = "foo";
- var arg_maxResults = 42;
- var arg_customerId = "foo";
- var arg_startTime = "foo";
var arg_eventName = "foo";
- var arg_filters = "foo";
- var arg_actorIpAddress = "foo";
+ var arg_customerId = "foo";
var arg_orgUnitID = "foo";
- var arg_pageToken = "foo";
var arg_endTime = "foo";
+ var arg_filters = "foo";
+ var arg_maxResults = 42;
+ var arg_pageToken = "foo";
+ var arg_actorIpAddress = "foo";
+ var arg_startTime = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.Channel.fromJson(json);
@@ -1025,24 +1025,24 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(core.int.parse(queryMap["maxResults"].first),
- unittest.equals(arg_maxResults));
- unittest.expect(
- queryMap["customerId"].first, unittest.equals(arg_customerId));
- unittest.expect(
- queryMap["startTime"].first, unittest.equals(arg_startTime));
unittest.expect(
queryMap["eventName"].first, unittest.equals(arg_eventName));
unittest.expect(
- queryMap["filters"].first, unittest.equals(arg_filters));
- unittest.expect(queryMap["actorIpAddress"].first,
- unittest.equals(arg_actorIpAddress));
+ queryMap["customerId"].first, unittest.equals(arg_customerId));
unittest.expect(
queryMap["orgUnitID"].first, unittest.equals(arg_orgUnitID));
unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(
queryMap["endTime"].first, unittest.equals(arg_endTime));
+ unittest.expect(
+ queryMap["filters"].first, unittest.equals(arg_filters));
+ unittest.expect(core.int.parse(queryMap["maxResults"].first),
+ unittest.equals(arg_maxResults));
+ 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));
var h = {
@@ -1053,15 +1053,15 @@
}), true);
res
.watch(arg_request, arg_userKey, arg_applicationName,
- maxResults: arg_maxResults,
- customerId: arg_customerId,
- startTime: arg_startTime,
eventName: arg_eventName,
- filters: arg_filters,
- actorIpAddress: arg_actorIpAddress,
+ customerId: arg_customerId,
orgUnitID: arg_orgUnitID,
- pageToken: arg_pageToken,
endTime: arg_endTime,
+ filters: arg_filters,
+ maxResults: arg_maxResults,
+ pageToken: arg_pageToken,
+ actorIpAddress: arg_actorIpAddress,
+ startTime: arg_startTime,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkChannel(response);
@@ -1128,9 +1128,9 @@
api.CustomerUsageReportsResourceApi res =
new api.AdminApi(mock).customerUsageReports;
var arg_date = "foo";
+ var arg_customerId = "foo";
var arg_parameters = "foo";
var arg_pageToken = "foo";
- var arg_customerId = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1166,11 +1166,11 @@
}
}
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["customerId"].first, unittest.equals(arg_customerId));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1181,9 +1181,9 @@
}), true);
res
.get(arg_date,
+ customerId: arg_customerId,
parameters: arg_parameters,
pageToken: arg_pageToken,
- customerId: arg_customerId,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkUsageReports(response);
@@ -1199,11 +1199,11 @@
var arg_entityType = "foo";
var arg_entityKey = "foo";
var arg_date = "foo";
- var arg_customerId = "foo";
- var arg_pageToken = "foo";
- var arg_maxResults = 42;
var arg_filters = "foo";
+ var arg_maxResults = 42;
var arg_parameters = "foo";
+ var arg_pageToken = "foo";
+ var arg_customerId = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1257,15 +1257,15 @@
}
}
unittest.expect(
- queryMap["customerId"].first, unittest.equals(arg_customerId));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ queryMap["filters"].first, unittest.equals(arg_filters));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
unittest.expect(
- queryMap["filters"].first, unittest.equals(arg_filters));
- 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));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1276,11 +1276,11 @@
}), true);
res
.get(arg_entityType, arg_entityKey, arg_date,
- customerId: arg_customerId,
- pageToken: arg_pageToken,
- maxResults: arg_maxResults,
filters: arg_filters,
+ maxResults: arg_maxResults,
parameters: arg_parameters,
+ pageToken: arg_pageToken,
+ customerId: arg_customerId,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkUsageReports(response);
@@ -1295,12 +1295,12 @@
new api.AdminApi(mock).userUsageReport;
var arg_userKey = "foo";
var arg_date = "foo";
- var arg_orgUnitID = "foo";
- var arg_customerId = "foo";
- var arg_parameters = "foo";
- var arg_filters = "foo";
- var arg_pageToken = "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_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1344,18 +1344,18 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(
- queryMap["orgUnitID"].first, unittest.equals(arg_orgUnitID));
+ 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));
+ unittest.expect(
queryMap["parameters"].first, unittest.equals(arg_parameters));
unittest.expect(
- queryMap["filters"].first, unittest.equals(arg_filters));
- unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(core.int.parse(queryMap["maxResults"].first),
- unittest.equals(arg_maxResults));
+ unittest.expect(
+ queryMap["filters"].first, unittest.equals(arg_filters));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1366,12 +1366,12 @@
}), true);
res
.get(arg_userKey, arg_date,
- orgUnitID: arg_orgUnitID,
- customerId: arg_customerId,
- parameters: arg_parameters,
- filters: arg_filters,
- pageToken: arg_pageToken,
maxResults: arg_maxResults,
+ customerId: arg_customerId,
+ orgUnitID: arg_orgUnitID,
+ parameters: arg_parameters,
+ pageToken: arg_pageToken,
+ filters: arg_filters,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkUsageReports(response);
diff --git a/generated/googleapis/test/admob/v1_test.dart b/generated/googleapis/test/admob/v1_test.dart
index e9ff801..575f8b3 100644
--- a/generated/googleapis/test/admob/v1_test.dart
+++ b/generated/googleapis/test/admob/v1_test.dart
@@ -950,8 +950,8 @@
unittest.test("method--list", () {
var mock = new HttpServerMock();
api.AccountsResourceApi res = new api.AdmobApi(mock).accounts;
- 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;
@@ -983,10 +983,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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 = {
@@ -997,8 +997,8 @@
}), true);
res
.list(
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListPublisherAccountsResponse(response);
diff --git a/generated/googleapis/test/adsense/v1_4_test.dart b/generated/googleapis/test/adsense/v1_4_test.dart
index 9932cde..46c2ecd 100644
--- a/generated/googleapis/test/adsense/v1_4_test.dart
+++ b/generated/googleapis/test/adsense/v1_4_test.dart
@@ -50,14 +50,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed3094() {
+buildUnnamed3098() {
var o = new core.List<api.Account>();
o.add(buildAccount());
o.add(buildAccount());
return o;
}
-checkUnnamed3094(core.List<api.Account> o) {
+checkUnnamed3098(core.List<api.Account> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccount(o[0]);
checkAccount(o[1]);
@@ -73,7 +73,7 @@
o.kind = "foo";
o.name = "foo";
o.premium = true;
- o.subAccounts = buildUnnamed3094();
+ o.subAccounts = buildUnnamed3098();
o.timezone = "foo";
}
buildCounterAccount--;
@@ -88,20 +88,20 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.premium, unittest.isTrue);
- checkUnnamed3094(o.subAccounts);
+ checkUnnamed3098(o.subAccounts);
unittest.expect(o.timezone, unittest.equals('foo'));
}
buildCounterAccount--;
}
-buildUnnamed3095() {
+buildUnnamed3099() {
var o = new core.List<api.Account>();
o.add(buildAccount());
o.add(buildAccount());
return o;
}
-checkUnnamed3095(core.List<api.Account> o) {
+checkUnnamed3099(core.List<api.Account> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccount(o[0]);
checkAccount(o[1]);
@@ -113,7 +113,7 @@
buildCounterAccounts++;
if (buildCounterAccounts < 3) {
o.etag = "foo";
- o.items = buildUnnamed3095();
+ o.items = buildUnnamed3099();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -125,7 +125,7 @@
buildCounterAccounts++;
if (buildCounterAccounts < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed3095(o.items);
+ checkUnnamed3099(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -159,14 +159,14 @@
buildCounterAdClient--;
}
-buildUnnamed3096() {
+buildUnnamed3100() {
var o = new core.List<api.AdClient>();
o.add(buildAdClient());
o.add(buildAdClient());
return o;
}
-checkUnnamed3096(core.List<api.AdClient> o) {
+checkUnnamed3100(core.List<api.AdClient> o) {
unittest.expect(o, unittest.hasLength(2));
checkAdClient(o[0]);
checkAdClient(o[1]);
@@ -178,7 +178,7 @@
buildCounterAdClients++;
if (buildCounterAdClients < 3) {
o.etag = "foo";
- o.items = buildUnnamed3096();
+ o.items = buildUnnamed3100();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -190,7 +190,7 @@
buildCounterAdClients++;
if (buildCounterAdClients < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed3096(o.items);
+ checkUnnamed3100(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -429,14 +429,14 @@
buildCounterAdUnit--;
}
-buildUnnamed3097() {
+buildUnnamed3101() {
var o = new core.List<api.AdUnit>();
o.add(buildAdUnit());
o.add(buildAdUnit());
return o;
}
-checkUnnamed3097(core.List<api.AdUnit> o) {
+checkUnnamed3101(core.List<api.AdUnit> o) {
unittest.expect(o, unittest.hasLength(2));
checkAdUnit(o[0]);
checkAdUnit(o[1]);
@@ -448,7 +448,7 @@
buildCounterAdUnits++;
if (buildCounterAdUnits < 3) {
o.etag = "foo";
- o.items = buildUnnamed3097();
+ o.items = buildUnnamed3101();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -460,21 +460,21 @@
buildCounterAdUnits++;
if (buildCounterAdUnits < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed3097(o.items);
+ checkUnnamed3101(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterAdUnits--;
}
-buildUnnamed3098() {
+buildUnnamed3102() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3098(core.List<core.String> o) {
+checkUnnamed3102(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -504,66 +504,66 @@
buildCounterAdsenseReportsGenerateResponseHeaders--;
}
-buildUnnamed3099() {
+buildUnnamed3103() {
var o = new core.List<api.AdsenseReportsGenerateResponseHeaders>();
o.add(buildAdsenseReportsGenerateResponseHeaders());
o.add(buildAdsenseReportsGenerateResponseHeaders());
return o;
}
-checkUnnamed3099(core.List<api.AdsenseReportsGenerateResponseHeaders> o) {
+checkUnnamed3103(core.List<api.AdsenseReportsGenerateResponseHeaders> o) {
unittest.expect(o, unittest.hasLength(2));
checkAdsenseReportsGenerateResponseHeaders(o[0]);
checkAdsenseReportsGenerateResponseHeaders(o[1]);
}
-buildUnnamed3100() {
+buildUnnamed3104() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3100(core.List<core.String> o) {
+checkUnnamed3104(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3101() {
+buildUnnamed3105() {
var o = new core.List<core.List<core.String>>();
- o.add(buildUnnamed3100());
- o.add(buildUnnamed3100());
+ o.add(buildUnnamed3104());
+ o.add(buildUnnamed3104());
return o;
}
-checkUnnamed3101(core.List<core.List<core.String>> o) {
+checkUnnamed3105(core.List<core.List<core.String>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed3100(o[0]);
- checkUnnamed3100(o[1]);
+ checkUnnamed3104(o[0]);
+ checkUnnamed3104(o[1]);
}
-buildUnnamed3102() {
+buildUnnamed3106() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3102(core.List<core.String> o) {
+checkUnnamed3106(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3103() {
+buildUnnamed3107() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3103(core.List<core.String> o) {
+checkUnnamed3107(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -574,15 +574,15 @@
var o = new api.AdsenseReportsGenerateResponse();
buildCounterAdsenseReportsGenerateResponse++;
if (buildCounterAdsenseReportsGenerateResponse < 3) {
- o.averages = buildUnnamed3098();
+ o.averages = buildUnnamed3102();
o.endDate = "foo";
- o.headers = buildUnnamed3099();
+ o.headers = buildUnnamed3103();
o.kind = "foo";
- o.rows = buildUnnamed3101();
+ o.rows = buildUnnamed3105();
o.startDate = "foo";
o.totalMatchedRows = "foo";
- o.totals = buildUnnamed3102();
- o.warnings = buildUnnamed3103();
+ o.totals = buildUnnamed3106();
+ o.warnings = buildUnnamed3107();
}
buildCounterAdsenseReportsGenerateResponse--;
return o;
@@ -591,15 +591,15 @@
checkAdsenseReportsGenerateResponse(api.AdsenseReportsGenerateResponse o) {
buildCounterAdsenseReportsGenerateResponse++;
if (buildCounterAdsenseReportsGenerateResponse < 3) {
- checkUnnamed3098(o.averages);
+ checkUnnamed3102(o.averages);
unittest.expect(o.endDate, unittest.equals('foo'));
- checkUnnamed3099(o.headers);
+ checkUnnamed3103(o.headers);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed3101(o.rows);
+ checkUnnamed3105(o.rows);
unittest.expect(o.startDate, unittest.equals('foo'));
unittest.expect(o.totalMatchedRows, unittest.equals('foo'));
- checkUnnamed3102(o.totals);
- checkUnnamed3103(o.warnings);
+ checkUnnamed3106(o.totals);
+ checkUnnamed3107(o.warnings);
}
buildCounterAdsenseReportsGenerateResponse--;
}
@@ -633,14 +633,14 @@
buildCounterAlert--;
}
-buildUnnamed3104() {
+buildUnnamed3108() {
var o = new core.List<api.Alert>();
o.add(buildAlert());
o.add(buildAlert());
return o;
}
-checkUnnamed3104(core.List<api.Alert> o) {
+checkUnnamed3108(core.List<api.Alert> o) {
unittest.expect(o, unittest.hasLength(2));
checkAlert(o[0]);
checkAlert(o[1]);
@@ -651,7 +651,7 @@
var o = new api.Alerts();
buildCounterAlerts++;
if (buildCounterAlerts < 3) {
- o.items = buildUnnamed3104();
+ o.items = buildUnnamed3108();
o.kind = "foo";
}
buildCounterAlerts--;
@@ -661,7 +661,7 @@
checkAlerts(api.Alerts o) {
buildCounterAlerts++;
if (buildCounterAlerts < 3) {
- checkUnnamed3104(o.items);
+ checkUnnamed3108(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAlerts--;
@@ -719,14 +719,14 @@
buildCounterCustomChannel--;
}
-buildUnnamed3105() {
+buildUnnamed3109() {
var o = new core.List<api.CustomChannel>();
o.add(buildCustomChannel());
o.add(buildCustomChannel());
return o;
}
-checkUnnamed3105(core.List<api.CustomChannel> o) {
+checkUnnamed3109(core.List<api.CustomChannel> o) {
unittest.expect(o, unittest.hasLength(2));
checkCustomChannel(o[0]);
checkCustomChannel(o[1]);
@@ -738,7 +738,7 @@
buildCounterCustomChannels++;
if (buildCounterCustomChannels < 3) {
o.etag = "foo";
- o.items = buildUnnamed3105();
+ o.items = buildUnnamed3109();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -750,21 +750,21 @@
buildCounterCustomChannels++;
if (buildCounterCustomChannels < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed3105(o.items);
+ checkUnnamed3109(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterCustomChannels--;
}
-buildUnnamed3106() {
+buildUnnamed3110() {
var o = new core.List<api.ReportingMetadataEntry>();
o.add(buildReportingMetadataEntry());
o.add(buildReportingMetadataEntry());
return o;
}
-checkUnnamed3106(core.List<api.ReportingMetadataEntry> o) {
+checkUnnamed3110(core.List<api.ReportingMetadataEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkReportingMetadataEntry(o[0]);
checkReportingMetadataEntry(o[1]);
@@ -775,7 +775,7 @@
var o = new api.Metadata();
buildCounterMetadata++;
if (buildCounterMetadata < 3) {
- o.items = buildUnnamed3106();
+ o.items = buildUnnamed3110();
o.kind = "foo";
}
buildCounterMetadata--;
@@ -785,7 +785,7 @@
checkMetadata(api.Metadata o) {
buildCounterMetadata++;
if (buildCounterMetadata < 3) {
- checkUnnamed3106(o.items);
+ checkUnnamed3110(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterMetadata--;
@@ -818,14 +818,14 @@
buildCounterPayment--;
}
-buildUnnamed3107() {
+buildUnnamed3111() {
var o = new core.List<api.Payment>();
o.add(buildPayment());
o.add(buildPayment());
return o;
}
-checkUnnamed3107(core.List<api.Payment> o) {
+checkUnnamed3111(core.List<api.Payment> o) {
unittest.expect(o, unittest.hasLength(2));
checkPayment(o[0]);
checkPayment(o[1]);
@@ -836,7 +836,7 @@
var o = new api.Payments();
buildCounterPayments++;
if (buildCounterPayments < 3) {
- o.items = buildUnnamed3107();
+ o.items = buildUnnamed3111();
o.kind = "foo";
}
buildCounterPayments--;
@@ -846,64 +846,12 @@
checkPayments(api.Payments o) {
buildCounterPayments++;
if (buildCounterPayments < 3) {
- checkUnnamed3107(o.items);
+ checkUnnamed3111(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterPayments--;
}
-buildUnnamed3108() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3108(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed3109() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3109(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed3110() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3110(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed3111() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3111(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed3112() {
var o = new core.List<core.String>();
o.add("foo");
@@ -917,18 +865,70 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed3113() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3113(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed3114() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3114(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed3115() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3115(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed3116() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3116(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
core.int buildCounterReportingMetadataEntry = 0;
buildReportingMetadataEntry() {
var o = new api.ReportingMetadataEntry();
buildCounterReportingMetadataEntry++;
if (buildCounterReportingMetadataEntry < 3) {
- o.compatibleDimensions = buildUnnamed3108();
- o.compatibleMetrics = buildUnnamed3109();
+ o.compatibleDimensions = buildUnnamed3112();
+ o.compatibleMetrics = buildUnnamed3113();
o.id = "foo";
o.kind = "foo";
- o.requiredDimensions = buildUnnamed3110();
- o.requiredMetrics = buildUnnamed3111();
- o.supportedProducts = buildUnnamed3112();
+ o.requiredDimensions = buildUnnamed3114();
+ o.requiredMetrics = buildUnnamed3115();
+ o.supportedProducts = buildUnnamed3116();
}
buildCounterReportingMetadataEntry--;
return o;
@@ -937,13 +937,13 @@
checkReportingMetadataEntry(api.ReportingMetadataEntry o) {
buildCounterReportingMetadataEntry++;
if (buildCounterReportingMetadataEntry < 3) {
- checkUnnamed3108(o.compatibleDimensions);
- checkUnnamed3109(o.compatibleMetrics);
+ checkUnnamed3112(o.compatibleDimensions);
+ checkUnnamed3113(o.compatibleMetrics);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed3110(o.requiredDimensions);
- checkUnnamed3111(o.requiredMetrics);
- checkUnnamed3112(o.supportedProducts);
+ checkUnnamed3114(o.requiredDimensions);
+ checkUnnamed3115(o.requiredMetrics);
+ checkUnnamed3116(o.supportedProducts);
}
buildCounterReportingMetadataEntry--;
}
@@ -973,14 +973,14 @@
buildCounterSavedAdStyle--;
}
-buildUnnamed3113() {
+buildUnnamed3117() {
var o = new core.List<api.SavedAdStyle>();
o.add(buildSavedAdStyle());
o.add(buildSavedAdStyle());
return o;
}
-checkUnnamed3113(core.List<api.SavedAdStyle> o) {
+checkUnnamed3117(core.List<api.SavedAdStyle> o) {
unittest.expect(o, unittest.hasLength(2));
checkSavedAdStyle(o[0]);
checkSavedAdStyle(o[1]);
@@ -992,7 +992,7 @@
buildCounterSavedAdStyles++;
if (buildCounterSavedAdStyles < 3) {
o.etag = "foo";
- o.items = buildUnnamed3113();
+ o.items = buildUnnamed3117();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -1004,7 +1004,7 @@
buildCounterSavedAdStyles++;
if (buildCounterSavedAdStyles < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed3113(o.items);
+ checkUnnamed3117(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -1034,14 +1034,14 @@
buildCounterSavedReport--;
}
-buildUnnamed3114() {
+buildUnnamed3118() {
var o = new core.List<api.SavedReport>();
o.add(buildSavedReport());
o.add(buildSavedReport());
return o;
}
-checkUnnamed3114(core.List<api.SavedReport> o) {
+checkUnnamed3118(core.List<api.SavedReport> o) {
unittest.expect(o, unittest.hasLength(2));
checkSavedReport(o[0]);
checkSavedReport(o[1]);
@@ -1053,7 +1053,7 @@
buildCounterSavedReports++;
if (buildCounterSavedReports < 3) {
o.etag = "foo";
- o.items = buildUnnamed3114();
+ o.items = buildUnnamed3118();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -1065,7 +1065,7 @@
buildCounterSavedReports++;
if (buildCounterSavedReports < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed3114(o.items);
+ checkUnnamed3118(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -1095,14 +1095,14 @@
buildCounterUrlChannel--;
}
-buildUnnamed3115() {
+buildUnnamed3119() {
var o = new core.List<api.UrlChannel>();
o.add(buildUrlChannel());
o.add(buildUrlChannel());
return o;
}
-checkUnnamed3115(core.List<api.UrlChannel> o) {
+checkUnnamed3119(core.List<api.UrlChannel> o) {
unittest.expect(o, unittest.hasLength(2));
checkUrlChannel(o[0]);
checkUrlChannel(o[1]);
@@ -1114,7 +1114,7 @@
buildCounterUrlChannels++;
if (buildCounterUrlChannels < 3) {
o.etag = "foo";
- o.items = buildUnnamed3115();
+ o.items = buildUnnamed3119();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -1126,65 +1126,13 @@
buildCounterUrlChannels++;
if (buildCounterUrlChannels < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed3115(o.items);
+ checkUnnamed3119(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterUrlChannels--;
}
-buildUnnamed3116() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3116(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed3117() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3117(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed3118() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3118(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed3119() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3119(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed3120() {
var o = new core.List<core.String>();
o.add("foo");
@@ -1250,6 +1198,58 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed3125() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3125(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed3126() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3126(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed3127() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3127(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed3128() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3128(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
main() {
unittest.group("obj-schema-Account", () {
unittest.test("to-json--from-json", () {
@@ -1942,8 +1942,8 @@
new api.AdsenseApi(mock).accounts.adunits;
var arg_accountId = "foo";
var arg_adClientId = "foo";
- var arg_pageToken = "foo";
var arg_includeInactive = true;
+ var arg_pageToken = "foo";
var arg_maxResults = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -1997,10 +1997,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
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["fields"].first, unittest.equals(arg_$fields));
@@ -2013,8 +2013,8 @@
}), true);
res
.list(arg_accountId, arg_adClientId,
- pageToken: arg_pageToken,
includeInactive: arg_includeInactive,
+ pageToken: arg_pageToken,
maxResults: arg_maxResults,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -2419,9 +2419,9 @@
var arg_accountId = "foo";
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;
@@ -2483,12 +2483,12 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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 = {
@@ -2499,9 +2499,9 @@
}), true);
res
.list(arg_accountId, 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);
@@ -2585,15 +2585,15 @@
var arg_accountId = "foo";
var arg_startDate = "foo";
var arg_endDate = "foo";
- var arg_metric = buildUnnamed3116();
- var arg_sort = buildUnnamed3117();
- var arg_startIndex = 42;
- var arg_dimension = buildUnnamed3118();
- var arg_filter = buildUnnamed3119();
var arg_useTimezoneReporting = true;
var arg_locale = "foo";
- var arg_maxResults = 42;
var arg_currency = "foo";
+ var arg_filter = buildUnnamed3120();
+ var arg_maxResults = 42;
+ var arg_sort = buildUnnamed3121();
+ var arg_dimension = buildUnnamed3122();
+ var arg_metric = buildUnnamed3123();
+ var arg_startIndex = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2641,19 +2641,19 @@
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["sort"], unittest.equals(arg_sort));
- unittest.expect(core.int.parse(queryMap["startIndex"].first),
- unittest.equals(arg_startIndex));
- unittest.expect(queryMap["dimension"], unittest.equals(arg_dimension));
- unittest.expect(queryMap["filter"], unittest.equals(arg_filter));
unittest.expect(queryMap["useTimezoneReporting"].first,
unittest.equals("$arg_useTimezoneReporting"));
unittest.expect(queryMap["locale"].first, unittest.equals(arg_locale));
- unittest.expect(core.int.parse(queryMap["maxResults"].first),
- unittest.equals(arg_maxResults));
unittest.expect(
queryMap["currency"].first, unittest.equals(arg_currency));
+ unittest.expect(queryMap["filter"], unittest.equals(arg_filter));
+ 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(core.int.parse(queryMap["startIndex"].first),
+ unittest.equals(arg_startIndex));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2664,15 +2664,15 @@
}), true);
res
.generate(arg_accountId, arg_startDate, arg_endDate,
- metric: arg_metric,
- sort: arg_sort,
- startIndex: arg_startIndex,
- dimension: arg_dimension,
- filter: arg_filter,
useTimezoneReporting: arg_useTimezoneReporting,
locale: arg_locale,
- maxResults: arg_maxResults,
currency: arg_currency,
+ filter: arg_filter,
+ maxResults: arg_maxResults,
+ sort: arg_sort,
+ dimension: arg_dimension,
+ metric: arg_metric,
+ startIndex: arg_startIndex,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkAdsenseReportsGenerateResponse(response);
@@ -2687,9 +2687,9 @@
new api.AdsenseApi(mock).accounts.reports.saved;
var arg_accountId = "foo";
var arg_savedReportId = "foo";
- var arg_maxResults = 42;
- var arg_locale = "foo";
var arg_startIndex = 42;
+ var arg_locale = "foo";
+ var arg_maxResults = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2736,11 +2736,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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["locale"].first, unittest.equals(arg_locale));
+ unittest.expect(core.int.parse(queryMap["maxResults"].first),
+ unittest.equals(arg_maxResults));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2751,9 +2751,9 @@
}), true);
res
.generate(arg_accountId, arg_savedReportId,
- maxResults: arg_maxResults,
- locale: arg_locale,
startIndex: arg_startIndex,
+ locale: arg_locale,
+ maxResults: arg_maxResults,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkAdsenseReportsGenerateResponse(response);
@@ -2765,8 +2765,8 @@
api.AccountsReportsSavedResourceApi res =
new api.AdsenseApi(mock).accounts.reports.saved;
var arg_accountId = "foo";
- var arg_maxResults = 42;
var arg_pageToken = "foo";
+ var arg_maxResults = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2810,10 +2810,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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["maxResults"].first),
+ unittest.equals(arg_maxResults));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2824,8 +2824,8 @@
}), true);
res
.list(arg_accountId,
- maxResults: arg_maxResults,
pageToken: arg_pageToken,
+ maxResults: arg_maxResults,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkSavedReports(response);
@@ -2906,8 +2906,8 @@
api.AccountsSavedadstylesResourceApi res =
new api.AdsenseApi(mock).accounts.savedadstyles;
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;
@@ -2951,10 +2951,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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 = {
@@ -2965,8 +2965,8 @@
}), true);
res
.list(arg_accountId,
- pageToken: arg_pageToken,
maxResults: arg_maxResults,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkSavedAdStyles(response);
@@ -3603,8 +3603,8 @@
api.CustomchannelsResourceApi res =
new api.AdsenseApi(mock).customchannels;
var arg_adClientId = "foo";
- var arg_maxResults = 42;
var arg_pageToken = "foo";
+ var arg_maxResults = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3648,10 +3648,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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["maxResults"].first),
+ unittest.equals(arg_maxResults));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3662,8 +3662,8 @@
}), true);
res
.list(arg_adClientId,
- maxResults: arg_maxResults,
pageToken: arg_pageToken,
+ maxResults: arg_maxResults,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkCustomChannels(response);
@@ -3678,9 +3678,9 @@
new api.AdsenseApi(mock).customchannels.adunits;
var arg_adClientId = "foo";
var arg_customChannelId = "foo";
- var arg_maxResults = 42;
- var arg_includeInactive = true;
var arg_pageToken = "foo";
+ var arg_includeInactive = true;
+ var arg_maxResults = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3733,12 +3733,12 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(core.int.parse(queryMap["maxResults"].first),
- unittest.equals(arg_maxResults));
- unittest.expect(queryMap["includeInactive"].first,
- unittest.equals("$arg_includeInactive"));
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["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3749,9 +3749,9 @@
}), true);
res
.list(arg_adClientId, arg_customChannelId,
- maxResults: arg_maxResults,
- includeInactive: arg_includeInactive,
pageToken: arg_pageToken,
+ includeInactive: arg_includeInactive,
+ maxResults: arg_maxResults,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkAdUnits(response);
@@ -3926,16 +3926,16 @@
api.ReportsResourceApi res = new api.AdsenseApi(mock).reports;
var arg_startDate = "foo";
var arg_endDate = "foo";
- var arg_dimension = buildUnnamed3120();
- var arg_startIndex = 42;
- var arg_filter = buildUnnamed3121();
- var arg_accountId = buildUnnamed3122();
- var arg_useTimezoneReporting = true;
- var arg_sort = buildUnnamed3123();
- var arg_maxResults = 42;
+ var arg_metric = buildUnnamed3124();
+ var arg_accountId = buildUnnamed3125();
var arg_currency = "foo";
var arg_locale = "foo";
- var arg_metric = buildUnnamed3124();
+ var arg_useTimezoneReporting = true;
+ var arg_startIndex = 42;
+ var arg_maxResults = 42;
+ var arg_sort = buildUnnamed3126();
+ var arg_dimension = buildUnnamed3127();
+ var arg_filter = buildUnnamed3128();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3974,20 +3974,20 @@
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(core.int.parse(queryMap["startIndex"].first),
- unittest.equals(arg_startIndex));
- unittest.expect(queryMap["filter"], unittest.equals(arg_filter));
+ unittest.expect(queryMap["metric"], unittest.equals(arg_metric));
unittest.expect(queryMap["accountId"], unittest.equals(arg_accountId));
- unittest.expect(queryMap["useTimezoneReporting"].first,
- unittest.equals("$arg_useTimezoneReporting"));
- unittest.expect(queryMap["sort"], unittest.equals(arg_sort));
- unittest.expect(core.int.parse(queryMap["maxResults"].first),
- unittest.equals(arg_maxResults));
unittest.expect(
queryMap["currency"].first, unittest.equals(arg_currency));
unittest.expect(queryMap["locale"].first, unittest.equals(arg_locale));
- unittest.expect(queryMap["metric"], unittest.equals(arg_metric));
+ 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["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3998,16 +3998,16 @@
}), true);
res
.generate(arg_startDate, arg_endDate,
- dimension: arg_dimension,
- startIndex: arg_startIndex,
- filter: arg_filter,
+ metric: arg_metric,
accountId: arg_accountId,
- useTimezoneReporting: arg_useTimezoneReporting,
- sort: arg_sort,
- maxResults: arg_maxResults,
currency: arg_currency,
locale: arg_locale,
- metric: arg_metric,
+ useTimezoneReporting: arg_useTimezoneReporting,
+ startIndex: arg_startIndex,
+ maxResults: arg_maxResults,
+ sort: arg_sort,
+ dimension: arg_dimension,
+ filter: arg_filter,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkAdsenseReportsGenerateResponse(response);
@@ -4021,8 +4021,8 @@
api.ReportsSavedResourceApi res = new api.AdsenseApi(mock).reports.saved;
var arg_savedReportId = "foo";
var arg_startIndex = 42;
- var arg_locale = "foo";
var arg_maxResults = 42;
+ var arg_locale = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -4062,9 +4062,9 @@
}
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(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4076,8 +4076,8 @@
res
.generate(arg_savedReportId,
startIndex: arg_startIndex,
- locale: arg_locale,
maxResults: arg_maxResults,
+ locale: arg_locale,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkAdsenseReportsGenerateResponse(response);
@@ -4087,8 +4087,8 @@
unittest.test("method--list", () {
var mock = new HttpServerMock();
api.ReportsSavedResourceApi res = new api.AdsenseApi(mock).reports.saved;
- var arg_maxResults = 42;
var arg_pageToken = "foo";
+ var arg_maxResults = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -4123,10 +4123,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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["maxResults"].first),
+ unittest.equals(arg_maxResults));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4137,8 +4137,8 @@
}), true);
res
.list(
- maxResults: arg_maxResults,
pageToken: arg_pageToken,
+ maxResults: arg_maxResults,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkSavedReports(response);
@@ -4206,8 +4206,8 @@
unittest.test("method--list", () {
var mock = new HttpServerMock();
api.SavedadstylesResourceApi res = new api.AdsenseApi(mock).savedadstyles;
- var arg_maxResults = 42;
var arg_pageToken = "foo";
+ var arg_maxResults = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -4242,10 +4242,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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["maxResults"].first),
+ unittest.equals(arg_maxResults));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4256,8 +4256,8 @@
}), true);
res
.list(
- maxResults: arg_maxResults,
pageToken: arg_pageToken,
+ maxResults: arg_maxResults,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkSavedAdStyles(response);
diff --git a/generated/googleapis/test/adsensehost/v4_1_test.dart b/generated/googleapis/test/adsensehost/v4_1_test.dart
index b6d38c1..c3fb447 100644
--- a/generated/googleapis/test/adsensehost/v4_1_test.dart
+++ b/generated/googleapis/test/adsensehost/v4_1_test.dart
@@ -75,14 +75,14 @@
buildCounterAccount--;
}
-buildUnnamed4135() {
+buildUnnamed4142() {
var o = new core.List<api.Account>();
o.add(buildAccount());
o.add(buildAccount());
return o;
}
-checkUnnamed4135(core.List<api.Account> o) {
+checkUnnamed4142(core.List<api.Account> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccount(o[0]);
checkAccount(o[1]);
@@ -94,7 +94,7 @@
buildCounterAccounts++;
if (buildCounterAccounts < 3) {
o.etag = "foo";
- o.items = buildUnnamed4135();
+ o.items = buildUnnamed4142();
o.kind = "foo";
}
buildCounterAccounts--;
@@ -105,7 +105,7 @@
buildCounterAccounts++;
if (buildCounterAccounts < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed4135(o.items);
+ checkUnnamed4142(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAccounts--;
@@ -138,14 +138,14 @@
buildCounterAdClient--;
}
-buildUnnamed4136() {
+buildUnnamed4143() {
var o = new core.List<api.AdClient>();
o.add(buildAdClient());
o.add(buildAdClient());
return o;
}
-checkUnnamed4136(core.List<api.AdClient> o) {
+checkUnnamed4143(core.List<api.AdClient> o) {
unittest.expect(o, unittest.hasLength(2));
checkAdClient(o[0]);
checkAdClient(o[1]);
@@ -157,7 +157,7 @@
buildCounterAdClients++;
if (buildCounterAdClients < 3) {
o.etag = "foo";
- o.items = buildUnnamed4136();
+ o.items = buildUnnamed4143();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -169,7 +169,7 @@
buildCounterAdClients++;
if (buildCounterAdClients < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed4136(o.items);
+ checkUnnamed4143(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -375,14 +375,14 @@
buildCounterAdUnit--;
}
-buildUnnamed4137() {
+buildUnnamed4144() {
var o = new core.List<api.AdUnit>();
o.add(buildAdUnit());
o.add(buildAdUnit());
return o;
}
-checkUnnamed4137(core.List<api.AdUnit> o) {
+checkUnnamed4144(core.List<api.AdUnit> o) {
unittest.expect(o, unittest.hasLength(2));
checkAdUnit(o[0]);
checkAdUnit(o[1]);
@@ -394,7 +394,7 @@
buildCounterAdUnits++;
if (buildCounterAdUnits < 3) {
o.etag = "foo";
- o.items = buildUnnamed4137();
+ o.items = buildUnnamed4144();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -406,21 +406,21 @@
buildCounterAdUnits++;
if (buildCounterAdUnits < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed4137(o.items);
+ checkUnnamed4144(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterAdUnits--;
}
-buildUnnamed4138() {
+buildUnnamed4145() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4138(core.List<core.String> o) {
+checkUnnamed4145(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -434,7 +434,7 @@
o.accountId = "foo";
o.id = "foo";
o.kind = "foo";
- o.productCodes = buildUnnamed4138();
+ o.productCodes = buildUnnamed4145();
o.redirectUrl = "foo";
o.status = "foo";
o.userLocale = "foo";
@@ -451,7 +451,7 @@
unittest.expect(o.accountId, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed4138(o.productCodes);
+ checkUnnamed4145(o.productCodes);
unittest.expect(o.redirectUrl, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals('foo'));
unittest.expect(o.userLocale, unittest.equals('foo'));
@@ -486,14 +486,14 @@
buildCounterCustomChannel--;
}
-buildUnnamed4139() {
+buildUnnamed4146() {
var o = new core.List<api.CustomChannel>();
o.add(buildCustomChannel());
o.add(buildCustomChannel());
return o;
}
-checkUnnamed4139(core.List<api.CustomChannel> o) {
+checkUnnamed4146(core.List<api.CustomChannel> o) {
unittest.expect(o, unittest.hasLength(2));
checkCustomChannel(o[0]);
checkCustomChannel(o[1]);
@@ -505,7 +505,7 @@
buildCounterCustomChannels++;
if (buildCounterCustomChannels < 3) {
o.etag = "foo";
- o.items = buildUnnamed4139();
+ o.items = buildUnnamed4146();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -517,21 +517,21 @@
buildCounterCustomChannels++;
if (buildCounterCustomChannels < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed4139(o.items);
+ checkUnnamed4146(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterCustomChannels--;
}
-buildUnnamed4140() {
+buildUnnamed4147() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4140(core.List<core.String> o) {
+checkUnnamed4147(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -560,189 +560,19 @@
buildCounterReportHeaders--;
}
-buildUnnamed4141() {
+buildUnnamed4148() {
var o = new core.List<api.ReportHeaders>();
o.add(buildReportHeaders());
o.add(buildReportHeaders());
return o;
}
-checkUnnamed4141(core.List<api.ReportHeaders> o) {
+checkUnnamed4148(core.List<api.ReportHeaders> o) {
unittest.expect(o, unittest.hasLength(2));
checkReportHeaders(o[0]);
checkReportHeaders(o[1]);
}
-buildUnnamed4142() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed4142(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed4143() {
- var o = new core.List<core.List<core.String>>();
- o.add(buildUnnamed4142());
- o.add(buildUnnamed4142());
- return o;
-}
-
-checkUnnamed4143(core.List<core.List<core.String>> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkUnnamed4142(o[0]);
- checkUnnamed4142(o[1]);
-}
-
-buildUnnamed4144() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed4144(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed4145() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed4145(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-core.int buildCounterReport = 0;
-buildReport() {
- var o = new api.Report();
- buildCounterReport++;
- if (buildCounterReport < 3) {
- o.averages = buildUnnamed4140();
- o.headers = buildUnnamed4141();
- o.kind = "foo";
- o.rows = buildUnnamed4143();
- o.totalMatchedRows = "foo";
- o.totals = buildUnnamed4144();
- o.warnings = buildUnnamed4145();
- }
- buildCounterReport--;
- return o;
-}
-
-checkReport(api.Report o) {
- buildCounterReport++;
- if (buildCounterReport < 3) {
- checkUnnamed4140(o.averages);
- checkUnnamed4141(o.headers);
- unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed4143(o.rows);
- unittest.expect(o.totalMatchedRows, unittest.equals('foo'));
- checkUnnamed4144(o.totals);
- checkUnnamed4145(o.warnings);
- }
- buildCounterReport--;
-}
-
-core.int buildCounterUrlChannel = 0;
-buildUrlChannel() {
- var o = new api.UrlChannel();
- buildCounterUrlChannel++;
- if (buildCounterUrlChannel < 3) {
- o.id = "foo";
- o.kind = "foo";
- o.urlPattern = "foo";
- }
- buildCounterUrlChannel--;
- return o;
-}
-
-checkUrlChannel(api.UrlChannel o) {
- buildCounterUrlChannel++;
- if (buildCounterUrlChannel < 3) {
- unittest.expect(o.id, unittest.equals('foo'));
- unittest.expect(o.kind, unittest.equals('foo'));
- unittest.expect(o.urlPattern, unittest.equals('foo'));
- }
- buildCounterUrlChannel--;
-}
-
-buildUnnamed4146() {
- var o = new core.List<api.UrlChannel>();
- o.add(buildUrlChannel());
- o.add(buildUrlChannel());
- return o;
-}
-
-checkUnnamed4146(core.List<api.UrlChannel> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkUrlChannel(o[0]);
- checkUrlChannel(o[1]);
-}
-
-core.int buildCounterUrlChannels = 0;
-buildUrlChannels() {
- var o = new api.UrlChannels();
- buildCounterUrlChannels++;
- if (buildCounterUrlChannels < 3) {
- o.etag = "foo";
- o.items = buildUnnamed4146();
- o.kind = "foo";
- o.nextPageToken = "foo";
- }
- buildCounterUrlChannels--;
- return o;
-}
-
-checkUrlChannels(api.UrlChannels o) {
- buildCounterUrlChannels++;
- if (buildCounterUrlChannels < 3) {
- unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed4146(o.items);
- unittest.expect(o.kind, unittest.equals('foo'));
- unittest.expect(o.nextPageToken, unittest.equals('foo'));
- }
- buildCounterUrlChannels--;
-}
-
-buildUnnamed4147() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed4147(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed4148() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed4148(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed4149() {
var o = new core.List<core.String>();
o.add("foo");
@@ -757,16 +587,16 @@
}
buildUnnamed4150() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
+ var o = new core.List<core.List<core.String>>();
+ o.add(buildUnnamed4149());
+ o.add(buildUnnamed4149());
return o;
}
-checkUnnamed4150(core.List<core.String> o) {
+checkUnnamed4150(core.List<core.List<core.String>> o) {
unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
+ checkUnnamed4149(o[0]);
+ checkUnnamed4149(o[1]);
}
buildUnnamed4151() {
@@ -795,17 +625,96 @@
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed4153() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
+core.int buildCounterReport = 0;
+buildReport() {
+ var o = new api.Report();
+ buildCounterReport++;
+ if (buildCounterReport < 3) {
+ o.averages = buildUnnamed4147();
+ o.headers = buildUnnamed4148();
+ o.kind = "foo";
+ o.rows = buildUnnamed4150();
+ o.totalMatchedRows = "foo";
+ o.totals = buildUnnamed4151();
+ o.warnings = buildUnnamed4152();
+ }
+ buildCounterReport--;
return o;
}
-checkUnnamed4153(core.List<core.String> o) {
+checkReport(api.Report o) {
+ buildCounterReport++;
+ if (buildCounterReport < 3) {
+ checkUnnamed4147(o.averages);
+ checkUnnamed4148(o.headers);
+ unittest.expect(o.kind, unittest.equals('foo'));
+ checkUnnamed4150(o.rows);
+ unittest.expect(o.totalMatchedRows, unittest.equals('foo'));
+ checkUnnamed4151(o.totals);
+ checkUnnamed4152(o.warnings);
+ }
+ buildCounterReport--;
+}
+
+core.int buildCounterUrlChannel = 0;
+buildUrlChannel() {
+ var o = new api.UrlChannel();
+ buildCounterUrlChannel++;
+ if (buildCounterUrlChannel < 3) {
+ o.id = "foo";
+ o.kind = "foo";
+ o.urlPattern = "foo";
+ }
+ buildCounterUrlChannel--;
+ return o;
+}
+
+checkUrlChannel(api.UrlChannel o) {
+ buildCounterUrlChannel++;
+ if (buildCounterUrlChannel < 3) {
+ unittest.expect(o.id, unittest.equals('foo'));
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.urlPattern, unittest.equals('foo'));
+ }
+ buildCounterUrlChannel--;
+}
+
+buildUnnamed4153() {
+ var o = new core.List<api.UrlChannel>();
+ o.add(buildUrlChannel());
+ o.add(buildUrlChannel());
+ return o;
+}
+
+checkUnnamed4153(core.List<api.UrlChannel> o) {
unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
+ checkUrlChannel(o[0]);
+ checkUrlChannel(o[1]);
+}
+
+core.int buildCounterUrlChannels = 0;
+buildUrlChannels() {
+ var o = new api.UrlChannels();
+ buildCounterUrlChannels++;
+ if (buildCounterUrlChannels < 3) {
+ o.etag = "foo";
+ o.items = buildUnnamed4153();
+ o.kind = "foo";
+ o.nextPageToken = "foo";
+ }
+ buildCounterUrlChannels--;
+ return o;
+}
+
+checkUrlChannels(api.UrlChannels o) {
+ buildCounterUrlChannels++;
+ if (buildCounterUrlChannels < 3) {
+ unittest.expect(o.etag, unittest.equals('foo'));
+ checkUnnamed4153(o.items);
+ unittest.expect(o.kind, unittest.equals('foo'));
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ }
+ buildCounterUrlChannels--;
}
buildUnnamed4154() {
@@ -860,6 +769,97 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed4158() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed4158(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed4159() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed4159(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed4160() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed4160(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed4161() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed4161(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed4162() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed4162(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed4163() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed4163(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed4164() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed4164(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
main() {
unittest.group("obj-schema-Account", () {
unittest.test("to-json--from-json", () {
@@ -1082,7 +1082,7 @@
unittest.test("method--list", () {
var mock = new HttpServerMock();
api.AccountsResourceApi res = new api.AdsensehostApi(mock).accounts;
- var arg_filterAdClientId = buildUnnamed4147();
+ var arg_filterAdClientId = buildUnnamed4154();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1208,8 +1208,8 @@
api.AccountsAdclientsResourceApi res =
new api.AdsensehostApi(mock).accounts.adclients;
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;
@@ -1253,10 +1253,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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 = {
@@ -1267,8 +1267,8 @@
}), true);
res
.list(arg_accountId,
- pageToken: arg_pageToken,
maxResults: arg_maxResults,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkAdClients(response);
@@ -1440,7 +1440,7 @@
var arg_accountId = "foo";
var arg_adClientId = "foo";
var arg_adUnitId = "foo";
- var arg_hostCustomChannelId = buildUnnamed4148();
+ var arg_hostCustomChannelId = buildUnnamed4155();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1853,13 +1853,13 @@
var arg_accountId = "foo";
var arg_startDate = "foo";
var arg_endDate = "foo";
- var arg_sort = buildUnnamed4149();
+ var arg_filter = buildUnnamed4156();
var arg_startIndex = 42;
- var arg_filter = buildUnnamed4150();
- var arg_metric = buildUnnamed4151();
var arg_locale = "foo";
- var arg_dimension = buildUnnamed4152();
+ var arg_metric = buildUnnamed4157();
+ var arg_sort = buildUnnamed4158();
var arg_maxResults = 42;
+ var arg_dimension = buildUnnamed4159();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1907,15 +1907,15 @@
queryMap["startDate"].first, unittest.equals(arg_startDate));
unittest.expect(
queryMap["endDate"].first, unittest.equals(arg_endDate));
- unittest.expect(queryMap["sort"], unittest.equals(arg_sort));
+ unittest.expect(queryMap["filter"], unittest.equals(arg_filter));
unittest.expect(core.int.parse(queryMap["startIndex"].first),
unittest.equals(arg_startIndex));
- unittest.expect(queryMap["filter"], unittest.equals(arg_filter));
- unittest.expect(queryMap["metric"], unittest.equals(arg_metric));
unittest.expect(queryMap["locale"].first, unittest.equals(arg_locale));
- 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["maxResults"].first),
unittest.equals(arg_maxResults));
+ unittest.expect(queryMap["dimension"], unittest.equals(arg_dimension));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1926,13 +1926,13 @@
}), true);
res
.generate(arg_accountId, arg_startDate, arg_endDate,
- sort: arg_sort,
- startIndex: arg_startIndex,
filter: arg_filter,
- metric: arg_metric,
+ startIndex: arg_startIndex,
locale: arg_locale,
- dimension: arg_dimension,
+ metric: arg_metric,
+ sort: arg_sort,
maxResults: arg_maxResults,
+ dimension: arg_dimension,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkReport(response);
@@ -2064,11 +2064,11 @@
var mock = new HttpServerMock();
api.AssociationsessionsResourceApi res =
new api.AdsensehostApi(mock).associationsessions;
- var arg_productCode = buildUnnamed4153();
+ var arg_productCode = buildUnnamed4160();
var arg_websiteUrl = "foo";
var arg_userLocale = "foo";
- var arg_callbackUrl = "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;
@@ -2109,10 +2109,10 @@
queryMap["websiteUrl"].first, unittest.equals(arg_websiteUrl));
unittest.expect(
queryMap["userLocale"].first, unittest.equals(arg_userLocale));
- unittest.expect(
- queryMap["callbackUrl"].first, unittest.equals(arg_callbackUrl));
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 = {
@@ -2124,8 +2124,8 @@
res
.start(arg_productCode, arg_websiteUrl,
userLocale: arg_userLocale,
- callbackUrl: arg_callbackUrl,
websiteLocale: arg_websiteLocale,
+ callbackUrl: arg_callbackUrl,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkAssociationSession(response);
@@ -2607,13 +2607,13 @@
api.ReportsResourceApi res = new api.AdsensehostApi(mock).reports;
var arg_startDate = "foo";
var arg_endDate = "foo";
- var arg_filter = buildUnnamed4154();
- var arg_metric = buildUnnamed4155();
- var arg_dimension = buildUnnamed4156();
+ var arg_dimension = buildUnnamed4161();
+ var arg_metric = buildUnnamed4162();
+ var arg_filter = buildUnnamed4163();
+ var arg_maxResults = 42;
+ var arg_sort = buildUnnamed4164();
var arg_locale = "foo";
var arg_startIndex = 42;
- var arg_maxResults = 42;
- var arg_sort = buildUnnamed4157();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2652,15 +2652,15 @@
queryMap["startDate"].first, unittest.equals(arg_startDate));
unittest.expect(
queryMap["endDate"].first, unittest.equals(arg_endDate));
- unittest.expect(queryMap["filter"], unittest.equals(arg_filter));
- unittest.expect(queryMap["metric"], unittest.equals(arg_metric));
unittest.expect(queryMap["dimension"], unittest.equals(arg_dimension));
- unittest.expect(queryMap["locale"].first, unittest.equals(arg_locale));
- unittest.expect(core.int.parse(queryMap["startIndex"].first),
- unittest.equals(arg_startIndex));
+ unittest.expect(queryMap["metric"], unittest.equals(arg_metric));
+ unittest.expect(queryMap["filter"], unittest.equals(arg_filter));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
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));
var h = {
@@ -2671,13 +2671,13 @@
}), true);
res
.generate(arg_startDate, arg_endDate,
- filter: arg_filter,
- metric: arg_metric,
dimension: arg_dimension,
- locale: arg_locale,
- startIndex: arg_startIndex,
+ metric: arg_metric,
+ filter: arg_filter,
maxResults: arg_maxResults,
sort: arg_sort,
+ locale: arg_locale,
+ startIndex: arg_startIndex,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkReport(response);
@@ -2822,8 +2822,8 @@
var mock = new HttpServerMock();
api.UrlchannelsResourceApi res = new api.AdsensehostApi(mock).urlchannels;
var arg_adClientId = "foo";
- var arg_maxResults = 42;
var arg_pageToken = "foo";
+ var arg_maxResults = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2867,10 +2867,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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["maxResults"].first),
+ unittest.equals(arg_maxResults));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2881,8 +2881,8 @@
}), true);
res
.list(arg_adClientId,
- maxResults: arg_maxResults,
pageToken: arg_pageToken,
+ maxResults: arg_maxResults,
$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 c42fd76..8c6b1a0 100644
--- a/generated/googleapis/test/analytics/v3_test.dart
+++ b/generated/googleapis/test/analytics/v3_test.dart
@@ -71,14 +71,14 @@
buildCounterAccountChildLink--;
}
-buildUnnamed1368() {
+buildUnnamed1369() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1368(core.List<core.String> o) {
+checkUnnamed1369(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -89,7 +89,7 @@
var o = new api.AccountPermissions();
buildCounterAccountPermissions++;
if (buildCounterAccountPermissions < 3) {
- o.effective = buildUnnamed1368();
+ o.effective = buildUnnamed1369();
}
buildCounterAccountPermissions--;
return o;
@@ -98,7 +98,7 @@
checkAccountPermissions(api.AccountPermissions o) {
buildCounterAccountPermissions++;
if (buildCounterAccountPermissions < 3) {
- checkUnnamed1368(o.effective);
+ checkUnnamed1369(o.effective);
}
buildCounterAccountPermissions--;
}
@@ -165,14 +165,14 @@
buildCounterAccountRef--;
}
-buildUnnamed1369() {
+buildUnnamed1370() {
var o = new core.List<api.AccountSummary>();
o.add(buildAccountSummary());
o.add(buildAccountSummary());
return o;
}
-checkUnnamed1369(core.List<api.AccountSummary> o) {
+checkUnnamed1370(core.List<api.AccountSummary> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccountSummary(o[0]);
checkAccountSummary(o[1]);
@@ -183,7 +183,7 @@
var o = new api.AccountSummaries();
buildCounterAccountSummaries++;
if (buildCounterAccountSummaries < 3) {
- o.items = buildUnnamed1369();
+ o.items = buildUnnamed1370();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -199,7 +199,7 @@
checkAccountSummaries(api.AccountSummaries o) {
buildCounterAccountSummaries++;
if (buildCounterAccountSummaries < 3) {
- checkUnnamed1369(o.items);
+ checkUnnamed1370(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -211,14 +211,14 @@
buildCounterAccountSummaries--;
}
-buildUnnamed1370() {
+buildUnnamed1371() {
var o = new core.List<api.WebPropertySummary>();
o.add(buildWebPropertySummary());
o.add(buildWebPropertySummary());
return o;
}
-checkUnnamed1370(core.List<api.WebPropertySummary> o) {
+checkUnnamed1371(core.List<api.WebPropertySummary> o) {
unittest.expect(o, unittest.hasLength(2));
checkWebPropertySummary(o[0]);
checkWebPropertySummary(o[1]);
@@ -233,7 +233,7 @@
o.kind = "foo";
o.name = "foo";
o.starred = true;
- o.webProperties = buildUnnamed1370();
+ o.webProperties = buildUnnamed1371();
}
buildCounterAccountSummary--;
return o;
@@ -246,7 +246,7 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.starred, unittest.isTrue);
- checkUnnamed1370(o.webProperties);
+ checkUnnamed1371(o.webProperties);
}
buildCounterAccountSummary--;
}
@@ -334,14 +334,14 @@
buildCounterAccountTreeResponse--;
}
-buildUnnamed1371() {
+buildUnnamed1372() {
var o = new core.List<api.Account>();
o.add(buildAccount());
o.add(buildAccount());
return o;
}
-checkUnnamed1371(core.List<api.Account> o) {
+checkUnnamed1372(core.List<api.Account> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccount(o[0]);
checkAccount(o[1]);
@@ -352,7 +352,7 @@
var o = new api.Accounts();
buildCounterAccounts++;
if (buildCounterAccounts < 3) {
- o.items = buildUnnamed1371();
+ o.items = buildUnnamed1372();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -368,7 +368,7 @@
checkAccounts(api.Accounts o) {
buildCounterAccounts++;
if (buildCounterAccounts < 3) {
- checkUnnamed1371(o.items);
+ checkUnnamed1372(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -403,14 +403,14 @@
buildCounterAdWordsAccount--;
}
-buildUnnamed1372() {
+buildUnnamed1373() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1372(core.List<core.String> o) {
+checkUnnamed1373(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -421,7 +421,7 @@
var o = new api.AnalyticsDataimportDeleteUploadDataRequest();
buildCounterAnalyticsDataimportDeleteUploadDataRequest++;
if (buildCounterAnalyticsDataimportDeleteUploadDataRequest < 3) {
- o.customDataImportUids = buildUnnamed1372();
+ o.customDataImportUids = buildUnnamed1373();
}
buildCounterAnalyticsDataimportDeleteUploadDataRequest--;
return o;
@@ -431,19 +431,19 @@
api.AnalyticsDataimportDeleteUploadDataRequest o) {
buildCounterAnalyticsDataimportDeleteUploadDataRequest++;
if (buildCounterAnalyticsDataimportDeleteUploadDataRequest < 3) {
- checkUnnamed1372(o.customDataImportUids);
+ checkUnnamed1373(o.customDataImportUids);
}
buildCounterAnalyticsDataimportDeleteUploadDataRequest--;
}
-buildUnnamed1373() {
+buildUnnamed1374() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1373(core.Map<core.String, core.String> o) {
+checkUnnamed1374(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -454,7 +454,7 @@
var o = new api.Column();
buildCounterColumn++;
if (buildCounterColumn < 3) {
- o.attributes = buildUnnamed1373();
+ o.attributes = buildUnnamed1374();
o.id = "foo";
o.kind = "foo";
}
@@ -465,34 +465,34 @@
checkColumn(api.Column o) {
buildCounterColumn++;
if (buildCounterColumn < 3) {
- checkUnnamed1373(o.attributes);
+ checkUnnamed1374(o.attributes);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterColumn--;
}
-buildUnnamed1374() {
+buildUnnamed1375() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1374(core.List<core.String> o) {
+checkUnnamed1375(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1375() {
+buildUnnamed1376() {
var o = new core.List<api.Column>();
o.add(buildColumn());
o.add(buildColumn());
return o;
}
-checkUnnamed1375(core.List<api.Column> o) {
+checkUnnamed1376(core.List<api.Column> o) {
unittest.expect(o, unittest.hasLength(2));
checkColumn(o[0]);
checkColumn(o[1]);
@@ -503,9 +503,9 @@
var o = new api.Columns();
buildCounterColumns++;
if (buildCounterColumns < 3) {
- o.attributeNames = buildUnnamed1374();
+ o.attributeNames = buildUnnamed1375();
o.etag = "foo";
- o.items = buildUnnamed1375();
+ o.items = buildUnnamed1376();
o.kind = "foo";
o.totalResults = 42;
}
@@ -516,9 +516,9 @@
checkColumns(api.Columns o) {
buildCounterColumns++;
if (buildCounterColumns < 3) {
- checkUnnamed1374(o.attributeNames);
+ checkUnnamed1375(o.attributeNames);
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1375(o.items);
+ checkUnnamed1376(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.totalResults, unittest.equals(42));
}
@@ -567,19 +567,6 @@
buildCounterCustomDataSourceParentLink--;
}
-buildUnnamed1376() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1376(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed1377() {
var o = new core.List<core.String>();
o.add("foo");
@@ -593,6 +580,19 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed1378() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1378(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
core.int buildCounterCustomDataSource = 0;
buildCustomDataSource() {
var o = new api.CustomDataSource();
@@ -607,8 +607,8 @@
o.kind = "foo";
o.name = "foo";
o.parentLink = buildCustomDataSourceParentLink();
- o.profilesLinked = buildUnnamed1376();
- o.schema = buildUnnamed1377();
+ o.profilesLinked = buildUnnamed1377();
+ o.schema = buildUnnamed1378();
o.selfLink = "foo";
o.type = "foo";
o.updated = core.DateTime.parse("2002-02-27T14:01:02");
@@ -632,8 +632,8 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
checkCustomDataSourceParentLink(o.parentLink);
- checkUnnamed1376(o.profilesLinked);
- checkUnnamed1377(o.schema);
+ checkUnnamed1377(o.profilesLinked);
+ checkUnnamed1378(o.schema);
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
unittest.expect(
@@ -644,14 +644,14 @@
buildCounterCustomDataSource--;
}
-buildUnnamed1378() {
+buildUnnamed1379() {
var o = new core.List<api.CustomDataSource>();
o.add(buildCustomDataSource());
o.add(buildCustomDataSource());
return o;
}
-checkUnnamed1378(core.List<api.CustomDataSource> o) {
+checkUnnamed1379(core.List<api.CustomDataSource> o) {
unittest.expect(o, unittest.hasLength(2));
checkCustomDataSource(o[0]);
checkCustomDataSource(o[1]);
@@ -662,7 +662,7 @@
var o = new api.CustomDataSources();
buildCounterCustomDataSources++;
if (buildCounterCustomDataSources < 3) {
- o.items = buildUnnamed1378();
+ o.items = buildUnnamed1379();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -678,7 +678,7 @@
checkCustomDataSources(api.CustomDataSources o) {
buildCounterCustomDataSources++;
if (buildCounterCustomDataSources < 3) {
- checkUnnamed1378(o.items);
+ checkUnnamed1379(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -754,14 +754,14 @@
buildCounterCustomDimension--;
}
-buildUnnamed1379() {
+buildUnnamed1380() {
var o = new core.List<api.CustomDimension>();
o.add(buildCustomDimension());
o.add(buildCustomDimension());
return o;
}
-checkUnnamed1379(core.List<api.CustomDimension> o) {
+checkUnnamed1380(core.List<api.CustomDimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkCustomDimension(o[0]);
checkCustomDimension(o[1]);
@@ -772,7 +772,7 @@
var o = new api.CustomDimensions();
buildCounterCustomDimensions++;
if (buildCounterCustomDimensions < 3) {
- o.items = buildUnnamed1379();
+ o.items = buildUnnamed1380();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -788,7 +788,7 @@
checkCustomDimensions(api.CustomDimensions o) {
buildCounterCustomDimensions++;
if (buildCounterCustomDimensions < 3) {
- checkUnnamed1379(o.items);
+ checkUnnamed1380(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -870,14 +870,14 @@
buildCounterCustomMetric--;
}
-buildUnnamed1380() {
+buildUnnamed1381() {
var o = new core.List<api.CustomMetric>();
o.add(buildCustomMetric());
o.add(buildCustomMetric());
return o;
}
-checkUnnamed1380(core.List<api.CustomMetric> o) {
+checkUnnamed1381(core.List<api.CustomMetric> o) {
unittest.expect(o, unittest.hasLength(2));
checkCustomMetric(o[0]);
checkCustomMetric(o[1]);
@@ -888,7 +888,7 @@
var o = new api.CustomMetrics();
buildCounterCustomMetrics++;
if (buildCounterCustomMetrics < 3) {
- o.items = buildUnnamed1380();
+ o.items = buildUnnamed1381();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -904,7 +904,7 @@
checkCustomMetrics(api.CustomMetrics o) {
buildCounterCustomMetrics++;
if (buildCounterCustomMetrics < 3) {
- checkUnnamed1380(o.items);
+ checkUnnamed1381(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -916,14 +916,14 @@
buildCounterCustomMetrics--;
}
-buildUnnamed1381() {
+buildUnnamed1382() {
var o = new core.List<api.AdWordsAccount>();
o.add(buildAdWordsAccount());
o.add(buildAdWordsAccount());
return o;
}
-checkUnnamed1381(core.List<api.AdWordsAccount> o) {
+checkUnnamed1382(core.List<api.AdWordsAccount> o) {
unittest.expect(o, unittest.hasLength(2));
checkAdWordsAccount(o[0]);
checkAdWordsAccount(o[1]);
@@ -948,14 +948,14 @@
buildCounterEntityAdWordsLinkEntity--;
}
-buildUnnamed1382() {
+buildUnnamed1383() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1382(core.List<core.String> o) {
+checkUnnamed1383(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -966,12 +966,12 @@
var o = new api.EntityAdWordsLink();
buildCounterEntityAdWordsLink++;
if (buildCounterEntityAdWordsLink < 3) {
- o.adWordsAccounts = buildUnnamed1381();
+ o.adWordsAccounts = buildUnnamed1382();
o.entity = buildEntityAdWordsLinkEntity();
o.id = "foo";
o.kind = "foo";
o.name = "foo";
- o.profileIds = buildUnnamed1382();
+ o.profileIds = buildUnnamed1383();
o.selfLink = "foo";
}
buildCounterEntityAdWordsLink--;
@@ -981,25 +981,25 @@
checkEntityAdWordsLink(api.EntityAdWordsLink o) {
buildCounterEntityAdWordsLink++;
if (buildCounterEntityAdWordsLink < 3) {
- checkUnnamed1381(o.adWordsAccounts);
+ checkUnnamed1382(o.adWordsAccounts);
checkEntityAdWordsLinkEntity(o.entity);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1382(o.profileIds);
+ checkUnnamed1383(o.profileIds);
unittest.expect(o.selfLink, unittest.equals('foo'));
}
buildCounterEntityAdWordsLink--;
}
-buildUnnamed1383() {
+buildUnnamed1384() {
var o = new core.List<api.EntityAdWordsLink>();
o.add(buildEntityAdWordsLink());
o.add(buildEntityAdWordsLink());
return o;
}
-checkUnnamed1383(core.List<api.EntityAdWordsLink> o) {
+checkUnnamed1384(core.List<api.EntityAdWordsLink> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntityAdWordsLink(o[0]);
checkEntityAdWordsLink(o[1]);
@@ -1010,7 +1010,7 @@
var o = new api.EntityAdWordsLinks();
buildCounterEntityAdWordsLinks++;
if (buildCounterEntityAdWordsLinks < 3) {
- o.items = buildUnnamed1383();
+ o.items = buildUnnamed1384();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -1025,7 +1025,7 @@
checkEntityAdWordsLinks(api.EntityAdWordsLinks o) {
buildCounterEntityAdWordsLinks++;
if (buildCounterEntityAdWordsLinks < 3) {
- checkUnnamed1383(o.items);
+ checkUnnamed1384(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -1059,19 +1059,6 @@
buildCounterEntityUserLinkEntity--;
}
-buildUnnamed1384() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1384(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed1385() {
var o = new core.List<core.String>();
o.add("foo");
@@ -1085,13 +1072,26 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed1386() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1386(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
core.int buildCounterEntityUserLinkPermissions = 0;
buildEntityUserLinkPermissions() {
var o = new api.EntityUserLinkPermissions();
buildCounterEntityUserLinkPermissions++;
if (buildCounterEntityUserLinkPermissions < 3) {
- o.effective = buildUnnamed1384();
- o.local = buildUnnamed1385();
+ o.effective = buildUnnamed1385();
+ o.local = buildUnnamed1386();
}
buildCounterEntityUserLinkPermissions--;
return o;
@@ -1100,8 +1100,8 @@
checkEntityUserLinkPermissions(api.EntityUserLinkPermissions o) {
buildCounterEntityUserLinkPermissions++;
if (buildCounterEntityUserLinkPermissions < 3) {
- checkUnnamed1384(o.effective);
- checkUnnamed1385(o.local);
+ checkUnnamed1385(o.effective);
+ checkUnnamed1386(o.local);
}
buildCounterEntityUserLinkPermissions--;
}
@@ -1135,14 +1135,14 @@
buildCounterEntityUserLink--;
}
-buildUnnamed1386() {
+buildUnnamed1387() {
var o = new core.List<api.EntityUserLink>();
o.add(buildEntityUserLink());
o.add(buildEntityUserLink());
return o;
}
-checkUnnamed1386(core.List<api.EntityUserLink> o) {
+checkUnnamed1387(core.List<api.EntityUserLink> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntityUserLink(o[0]);
checkEntityUserLink(o[1]);
@@ -1153,7 +1153,7 @@
var o = new api.EntityUserLinks();
buildCounterEntityUserLinks++;
if (buildCounterEntityUserLinks < 3) {
- o.items = buildUnnamed1386();
+ o.items = buildUnnamed1387();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -1168,7 +1168,7 @@
checkEntityUserLinks(api.EntityUserLinks o) {
buildCounterEntityUserLinks++;
if (buildCounterEntityUserLinks < 3) {
- checkUnnamed1386(o.items);
+ checkUnnamed1387(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -1227,14 +1227,14 @@
buildCounterExperimentVariations--;
}
-buildUnnamed1387() {
+buildUnnamed1388() {
var o = new core.List<api.ExperimentVariations>();
o.add(buildExperimentVariations());
o.add(buildExperimentVariations());
return o;
}
-checkUnnamed1387(core.List<api.ExperimentVariations> o) {
+checkUnnamed1388(core.List<api.ExperimentVariations> o) {
unittest.expect(o, unittest.hasLength(2));
checkExperimentVariations(o[0]);
checkExperimentVariations(o[1]);
@@ -1269,7 +1269,7 @@
o.status = "foo";
o.trafficCoverage = 42.0;
o.updated = core.DateTime.parse("2002-02-27T14:01:02");
- o.variations = buildUnnamed1387();
+ o.variations = buildUnnamed1388();
o.webPropertyId = "foo";
o.winnerConfidenceLevel = 42.0;
o.winnerFound = true;
@@ -1309,7 +1309,7 @@
unittest.expect(o.trafficCoverage, unittest.equals(42.0));
unittest.expect(
o.updated, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
- checkUnnamed1387(o.variations);
+ checkUnnamed1388(o.variations);
unittest.expect(o.webPropertyId, unittest.equals('foo'));
unittest.expect(o.winnerConfidenceLevel, unittest.equals(42.0));
unittest.expect(o.winnerFound, unittest.isTrue);
@@ -1317,14 +1317,14 @@
buildCounterExperiment--;
}
-buildUnnamed1388() {
+buildUnnamed1389() {
var o = new core.List<api.Experiment>();
o.add(buildExperiment());
o.add(buildExperiment());
return o;
}
-checkUnnamed1388(core.List<api.Experiment> o) {
+checkUnnamed1389(core.List<api.Experiment> o) {
unittest.expect(o, unittest.hasLength(2));
checkExperiment(o[0]);
checkExperiment(o[1]);
@@ -1335,7 +1335,7 @@
var o = new api.Experiments();
buildCounterExperiments++;
if (buildCounterExperiments < 3) {
- o.items = buildUnnamed1388();
+ o.items = buildUnnamed1389();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -1351,7 +1351,7 @@
checkExperiments(api.Experiments o) {
buildCounterExperiments++;
if (buildCounterExperiments < 3) {
- checkUnnamed1388(o.items);
+ checkUnnamed1389(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -1601,14 +1601,14 @@
buildCounterFilterRef--;
}
-buildUnnamed1389() {
+buildUnnamed1390() {
var o = new core.List<api.Filter>();
o.add(buildFilter());
o.add(buildFilter());
return o;
}
-checkUnnamed1389(core.List<api.Filter> o) {
+checkUnnamed1390(core.List<api.Filter> o) {
unittest.expect(o, unittest.hasLength(2));
checkFilter(o[0]);
checkFilter(o[1]);
@@ -1619,7 +1619,7 @@
var o = new api.Filters();
buildCounterFilters++;
if (buildCounterFilters < 3) {
- o.items = buildUnnamed1389();
+ o.items = buildUnnamed1390();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -1635,7 +1635,7 @@
checkFilters(api.Filters o) {
buildCounterFilters++;
if (buildCounterFilters < 3) {
- checkUnnamed1389(o.items);
+ checkUnnamed1390(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -1670,14 +1670,14 @@
buildCounterGaDataColumnHeaders--;
}
-buildUnnamed1390() {
+buildUnnamed1391() {
var o = new core.List<api.GaDataColumnHeaders>();
o.add(buildGaDataColumnHeaders());
o.add(buildGaDataColumnHeaders());
return o;
}
-checkUnnamed1390(core.List<api.GaDataColumnHeaders> o) {
+checkUnnamed1391(core.List<api.GaDataColumnHeaders> o) {
unittest.expect(o, unittest.hasLength(2));
checkGaDataColumnHeaders(o[0]);
checkGaDataColumnHeaders(o[1]);
@@ -1706,14 +1706,14 @@
buildCounterGaDataDataTableCols--;
}
-buildUnnamed1391() {
+buildUnnamed1392() {
var o = new core.List<api.GaDataDataTableCols>();
o.add(buildGaDataDataTableCols());
o.add(buildGaDataDataTableCols());
return o;
}
-checkUnnamed1391(core.List<api.GaDataDataTableCols> o) {
+checkUnnamed1392(core.List<api.GaDataDataTableCols> o) {
unittest.expect(o, unittest.hasLength(2));
checkGaDataDataTableCols(o[0]);
checkGaDataDataTableCols(o[1]);
@@ -1738,14 +1738,14 @@
buildCounterGaDataDataTableRowsC--;
}
-buildUnnamed1392() {
+buildUnnamed1393() {
var o = new core.List<api.GaDataDataTableRowsC>();
o.add(buildGaDataDataTableRowsC());
o.add(buildGaDataDataTableRowsC());
return o;
}
-checkUnnamed1392(core.List<api.GaDataDataTableRowsC> o) {
+checkUnnamed1393(core.List<api.GaDataDataTableRowsC> o) {
unittest.expect(o, unittest.hasLength(2));
checkGaDataDataTableRowsC(o[0]);
checkGaDataDataTableRowsC(o[1]);
@@ -1756,7 +1756,7 @@
var o = new api.GaDataDataTableRows();
buildCounterGaDataDataTableRows++;
if (buildCounterGaDataDataTableRows < 3) {
- o.c = buildUnnamed1392();
+ o.c = buildUnnamed1393();
}
buildCounterGaDataDataTableRows--;
return o;
@@ -1765,19 +1765,19 @@
checkGaDataDataTableRows(api.GaDataDataTableRows o) {
buildCounterGaDataDataTableRows++;
if (buildCounterGaDataDataTableRows < 3) {
- checkUnnamed1392(o.c);
+ checkUnnamed1393(o.c);
}
buildCounterGaDataDataTableRows--;
}
-buildUnnamed1393() {
+buildUnnamed1394() {
var o = new core.List<api.GaDataDataTableRows>();
o.add(buildGaDataDataTableRows());
o.add(buildGaDataDataTableRows());
return o;
}
-checkUnnamed1393(core.List<api.GaDataDataTableRows> o) {
+checkUnnamed1394(core.List<api.GaDataDataTableRows> o) {
unittest.expect(o, unittest.hasLength(2));
checkGaDataDataTableRows(o[0]);
checkGaDataDataTableRows(o[1]);
@@ -1788,8 +1788,8 @@
var o = new api.GaDataDataTable();
buildCounterGaDataDataTable++;
if (buildCounterGaDataDataTable < 3) {
- o.cols = buildUnnamed1391();
- o.rows = buildUnnamed1393();
+ o.cols = buildUnnamed1392();
+ o.rows = buildUnnamed1394();
}
buildCounterGaDataDataTable--;
return o;
@@ -1798,8 +1798,8 @@
checkGaDataDataTable(api.GaDataDataTable o) {
buildCounterGaDataDataTable++;
if (buildCounterGaDataDataTable < 3) {
- checkUnnamed1391(o.cols);
- checkUnnamed1393(o.rows);
+ checkUnnamed1392(o.cols);
+ checkUnnamed1394(o.rows);
}
buildCounterGaDataDataTable--;
}
@@ -1833,19 +1833,6 @@
buildCounterGaDataProfileInfo--;
}
-buildUnnamed1394() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1394(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed1395() {
var o = new core.List<core.String>();
o.add("foo");
@@ -1859,45 +1846,6 @@
unittest.expect(o[1], unittest.equals('foo'));
}
-core.int buildCounterGaDataQuery = 0;
-buildGaDataQuery() {
- var o = new api.GaDataQuery();
- buildCounterGaDataQuery++;
- if (buildCounterGaDataQuery < 3) {
- o.dimensions = "foo";
- o.end_date = "foo";
- o.filters = "foo";
- o.ids = "foo";
- o.max_results = 42;
- o.metrics = buildUnnamed1394();
- o.samplingLevel = "foo";
- o.segment = "foo";
- o.sort = buildUnnamed1395();
- o.start_date = "foo";
- o.start_index = 42;
- }
- buildCounterGaDataQuery--;
- return o;
-}
-
-checkGaDataQuery(api.GaDataQuery o) {
- buildCounterGaDataQuery++;
- if (buildCounterGaDataQuery < 3) {
- unittest.expect(o.dimensions, unittest.equals('foo'));
- unittest.expect(o.end_date, unittest.equals('foo'));
- unittest.expect(o.filters, unittest.equals('foo'));
- unittest.expect(o.ids, unittest.equals('foo'));
- unittest.expect(o.max_results, unittest.equals(42));
- checkUnnamed1394(o.metrics);
- unittest.expect(o.samplingLevel, unittest.equals('foo'));
- unittest.expect(o.segment, unittest.equals('foo'));
- checkUnnamed1395(o.sort);
- unittest.expect(o.start_date, unittest.equals('foo'));
- unittest.expect(o.start_index, unittest.equals(42));
- }
- buildCounterGaDataQuery--;
-}
-
buildUnnamed1396() {
var o = new core.List<core.String>();
o.add("foo");
@@ -1911,27 +1859,79 @@
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1397() {
- var o = new core.List<core.List<core.String>>();
- o.add(buildUnnamed1396());
- o.add(buildUnnamed1396());
+core.int buildCounterGaDataQuery = 0;
+buildGaDataQuery() {
+ var o = new api.GaDataQuery();
+ buildCounterGaDataQuery++;
+ if (buildCounterGaDataQuery < 3) {
+ o.dimensions = "foo";
+ o.end_date = "foo";
+ o.filters = "foo";
+ o.ids = "foo";
+ o.max_results = 42;
+ o.metrics = buildUnnamed1395();
+ o.samplingLevel = "foo";
+ o.segment = "foo";
+ o.sort = buildUnnamed1396();
+ o.start_date = "foo";
+ o.start_index = 42;
+ }
+ buildCounterGaDataQuery--;
return o;
}
-checkUnnamed1397(core.List<core.List<core.String>> o) {
+checkGaDataQuery(api.GaDataQuery o) {
+ buildCounterGaDataQuery++;
+ if (buildCounterGaDataQuery < 3) {
+ unittest.expect(o.dimensions, unittest.equals('foo'));
+ unittest.expect(o.end_date, unittest.equals('foo'));
+ unittest.expect(o.filters, unittest.equals('foo'));
+ unittest.expect(o.ids, unittest.equals('foo'));
+ unittest.expect(o.max_results, unittest.equals(42));
+ checkUnnamed1395(o.metrics);
+ unittest.expect(o.samplingLevel, unittest.equals('foo'));
+ unittest.expect(o.segment, unittest.equals('foo'));
+ checkUnnamed1396(o.sort);
+ unittest.expect(o.start_date, unittest.equals('foo'));
+ unittest.expect(o.start_index, unittest.equals(42));
+ }
+ buildCounterGaDataQuery--;
+}
+
+buildUnnamed1397() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1397(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1396(o[0]);
- checkUnnamed1396(o[1]);
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
}
buildUnnamed1398() {
+ var o = new core.List<core.List<core.String>>();
+ o.add(buildUnnamed1397());
+ o.add(buildUnnamed1397());
+ return o;
+}
+
+checkUnnamed1398(core.List<core.List<core.String>> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkUnnamed1397(o[0]);
+ checkUnnamed1397(o[1]);
+}
+
+buildUnnamed1399() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1398(core.Map<core.String, core.String> o) {
+checkUnnamed1399(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -1942,7 +1942,7 @@
var o = new api.GaData();
buildCounterGaData++;
if (buildCounterGaData < 3) {
- o.columnHeaders = buildUnnamed1390();
+ o.columnHeaders = buildUnnamed1391();
o.containsSampledData = true;
o.dataLastRefreshed = "foo";
o.dataTable = buildGaDataDataTable();
@@ -1953,12 +1953,12 @@
o.previousLink = "foo";
o.profileInfo = buildGaDataProfileInfo();
o.query = buildGaDataQuery();
- o.rows = buildUnnamed1397();
+ o.rows = buildUnnamed1398();
o.sampleSize = "foo";
o.sampleSpace = "foo";
o.selfLink = "foo";
o.totalResults = 42;
- o.totalsForAllResults = buildUnnamed1398();
+ o.totalsForAllResults = buildUnnamed1399();
}
buildCounterGaData--;
return o;
@@ -1967,7 +1967,7 @@
checkGaData(api.GaData o) {
buildCounterGaData++;
if (buildCounterGaData < 3) {
- checkUnnamed1390(o.columnHeaders);
+ checkUnnamed1391(o.columnHeaders);
unittest.expect(o.containsSampledData, unittest.isTrue);
unittest.expect(o.dataLastRefreshed, unittest.equals('foo'));
checkGaDataDataTable(o.dataTable);
@@ -1978,12 +1978,12 @@
unittest.expect(o.previousLink, unittest.equals('foo'));
checkGaDataProfileInfo(o.profileInfo);
checkGaDataQuery(o.query);
- checkUnnamed1397(o.rows);
+ checkUnnamed1398(o.rows);
unittest.expect(o.sampleSize, unittest.equals('foo'));
unittest.expect(o.sampleSpace, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.totalResults, unittest.equals(42));
- checkUnnamed1398(o.totalsForAllResults);
+ checkUnnamed1399(o.totalsForAllResults);
}
buildCounterGaData--;
}
@@ -2015,14 +2015,14 @@
buildCounterGoalEventDetailsEventConditions--;
}
-buildUnnamed1399() {
+buildUnnamed1400() {
var o = new core.List<api.GoalEventDetailsEventConditions>();
o.add(buildGoalEventDetailsEventConditions());
o.add(buildGoalEventDetailsEventConditions());
return o;
}
-checkUnnamed1399(core.List<api.GoalEventDetailsEventConditions> o) {
+checkUnnamed1400(core.List<api.GoalEventDetailsEventConditions> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoalEventDetailsEventConditions(o[0]);
checkGoalEventDetailsEventConditions(o[1]);
@@ -2033,7 +2033,7 @@
var o = new api.GoalEventDetails();
buildCounterGoalEventDetails++;
if (buildCounterGoalEventDetails < 3) {
- o.eventConditions = buildUnnamed1399();
+ o.eventConditions = buildUnnamed1400();
o.useEventValue = true;
}
buildCounterGoalEventDetails--;
@@ -2043,7 +2043,7 @@
checkGoalEventDetails(api.GoalEventDetails o) {
buildCounterGoalEventDetails++;
if (buildCounterGoalEventDetails < 3) {
- checkUnnamed1399(o.eventConditions);
+ checkUnnamed1400(o.eventConditions);
unittest.expect(o.useEventValue, unittest.isTrue);
}
buildCounterGoalEventDetails--;
@@ -2093,14 +2093,14 @@
buildCounterGoalUrlDestinationDetailsSteps--;
}
-buildUnnamed1400() {
+buildUnnamed1401() {
var o = new core.List<api.GoalUrlDestinationDetailsSteps>();
o.add(buildGoalUrlDestinationDetailsSteps());
o.add(buildGoalUrlDestinationDetailsSteps());
return o;
}
-checkUnnamed1400(core.List<api.GoalUrlDestinationDetailsSteps> o) {
+checkUnnamed1401(core.List<api.GoalUrlDestinationDetailsSteps> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoalUrlDestinationDetailsSteps(o[0]);
checkGoalUrlDestinationDetailsSteps(o[1]);
@@ -2114,7 +2114,7 @@
o.caseSensitive = true;
o.firstStepRequired = true;
o.matchType = "foo";
- o.steps = buildUnnamed1400();
+ o.steps = buildUnnamed1401();
o.url = "foo";
}
buildCounterGoalUrlDestinationDetails--;
@@ -2127,7 +2127,7 @@
unittest.expect(o.caseSensitive, unittest.isTrue);
unittest.expect(o.firstStepRequired, unittest.isTrue);
unittest.expect(o.matchType, unittest.equals('foo'));
- checkUnnamed1400(o.steps);
+ checkUnnamed1401(o.steps);
unittest.expect(o.url, unittest.equals('foo'));
}
buildCounterGoalUrlDestinationDetails--;
@@ -2230,14 +2230,14 @@
buildCounterGoal--;
}
-buildUnnamed1401() {
+buildUnnamed1402() {
var o = new core.List<api.Goal>();
o.add(buildGoal());
o.add(buildGoal());
return o;
}
-checkUnnamed1401(core.List<api.Goal> o) {
+checkUnnamed1402(core.List<api.Goal> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoal(o[0]);
checkGoal(o[1]);
@@ -2248,7 +2248,7 @@
var o = new api.Goals();
buildCounterGoals++;
if (buildCounterGoals < 3) {
- o.items = buildUnnamed1401();
+ o.items = buildUnnamed1402();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -2264,7 +2264,7 @@
checkGoals(api.Goals o) {
buildCounterGoals++;
if (buildCounterGoals < 3) {
- checkUnnamed1401(o.items);
+ checkUnnamed1402(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -2411,14 +2411,14 @@
buildCounterMcfDataColumnHeaders--;
}
-buildUnnamed1402() {
+buildUnnamed1403() {
var o = new core.List<api.McfDataColumnHeaders>();
o.add(buildMcfDataColumnHeaders());
o.add(buildMcfDataColumnHeaders());
return o;
}
-checkUnnamed1402(core.List<api.McfDataColumnHeaders> o) {
+checkUnnamed1403(core.List<api.McfDataColumnHeaders> o) {
unittest.expect(o, unittest.hasLength(2));
checkMcfDataColumnHeaders(o[0]);
checkMcfDataColumnHeaders(o[1]);
@@ -2453,19 +2453,6 @@
buildCounterMcfDataProfileInfo--;
}
-buildUnnamed1403() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1403(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed1404() {
var o = new core.List<core.String>();
o.add("foo");
@@ -2479,6 +2466,19 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed1405() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1405(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
core.int buildCounterMcfDataQuery = 0;
buildMcfDataQuery() {
var o = new api.McfDataQuery();
@@ -2489,10 +2489,10 @@
o.filters = "foo";
o.ids = "foo";
o.max_results = 42;
- o.metrics = buildUnnamed1403();
+ o.metrics = buildUnnamed1404();
o.samplingLevel = "foo";
o.segment = "foo";
- o.sort = buildUnnamed1404();
+ o.sort = buildUnnamed1405();
o.start_date = "foo";
o.start_index = 42;
}
@@ -2508,10 +2508,10 @@
unittest.expect(o.filters, unittest.equals('foo'));
unittest.expect(o.ids, unittest.equals('foo'));
unittest.expect(o.max_results, unittest.equals(42));
- checkUnnamed1403(o.metrics);
+ checkUnnamed1404(o.metrics);
unittest.expect(o.samplingLevel, unittest.equals('foo'));
unittest.expect(o.segment, unittest.equals('foo'));
- checkUnnamed1404(o.sort);
+ checkUnnamed1405(o.sort);
unittest.expect(o.start_date, unittest.equals('foo'));
unittest.expect(o.start_index, unittest.equals(42));
}
@@ -2539,14 +2539,14 @@
buildCounterMcfDataRowsConversionPathValue--;
}
-buildUnnamed1405() {
+buildUnnamed1406() {
var o = new core.List<api.McfDataRowsConversionPathValue>();
o.add(buildMcfDataRowsConversionPathValue());
o.add(buildMcfDataRowsConversionPathValue());
return o;
}
-checkUnnamed1405(core.List<api.McfDataRowsConversionPathValue> o) {
+checkUnnamed1406(core.List<api.McfDataRowsConversionPathValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkMcfDataRowsConversionPathValue(o[0]);
checkMcfDataRowsConversionPathValue(o[1]);
@@ -2557,7 +2557,7 @@
var o = new api.McfDataRows();
buildCounterMcfDataRows++;
if (buildCounterMcfDataRows < 3) {
- o.conversionPathValue = buildUnnamed1405();
+ o.conversionPathValue = buildUnnamed1406();
o.primitiveValue = "foo";
}
buildCounterMcfDataRows--;
@@ -2567,46 +2567,46 @@
checkMcfDataRows(api.McfDataRows o) {
buildCounterMcfDataRows++;
if (buildCounterMcfDataRows < 3) {
- checkUnnamed1405(o.conversionPathValue);
+ checkUnnamed1406(o.conversionPathValue);
unittest.expect(o.primitiveValue, unittest.equals('foo'));
}
buildCounterMcfDataRows--;
}
-buildUnnamed1406() {
+buildUnnamed1407() {
var o = new core.List<api.McfDataRows>();
o.add(buildMcfDataRows());
o.add(buildMcfDataRows());
return o;
}
-checkUnnamed1406(core.List<api.McfDataRows> o) {
+checkUnnamed1407(core.List<api.McfDataRows> o) {
unittest.expect(o, unittest.hasLength(2));
checkMcfDataRows(o[0]);
checkMcfDataRows(o[1]);
}
-buildUnnamed1407() {
+buildUnnamed1408() {
var o = new core.List<core.List<api.McfDataRows>>();
- o.add(buildUnnamed1406());
- o.add(buildUnnamed1406());
+ o.add(buildUnnamed1407());
+ o.add(buildUnnamed1407());
return o;
}
-checkUnnamed1407(core.List<core.List<api.McfDataRows>> o) {
+checkUnnamed1408(core.List<core.List<api.McfDataRows>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1406(o[0]);
- checkUnnamed1406(o[1]);
+ checkUnnamed1407(o[0]);
+ checkUnnamed1407(o[1]);
}
-buildUnnamed1408() {
+buildUnnamed1409() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1408(core.Map<core.String, core.String> o) {
+checkUnnamed1409(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -2617,7 +2617,7 @@
var o = new api.McfData();
buildCounterMcfData++;
if (buildCounterMcfData < 3) {
- o.columnHeaders = buildUnnamed1402();
+ o.columnHeaders = buildUnnamed1403();
o.containsSampledData = true;
o.id = "foo";
o.itemsPerPage = 42;
@@ -2626,12 +2626,12 @@
o.previousLink = "foo";
o.profileInfo = buildMcfDataProfileInfo();
o.query = buildMcfDataQuery();
- o.rows = buildUnnamed1407();
+ o.rows = buildUnnamed1408();
o.sampleSize = "foo";
o.sampleSpace = "foo";
o.selfLink = "foo";
o.totalResults = 42;
- o.totalsForAllResults = buildUnnamed1408();
+ o.totalsForAllResults = buildUnnamed1409();
}
buildCounterMcfData--;
return o;
@@ -2640,7 +2640,7 @@
checkMcfData(api.McfData o) {
buildCounterMcfData++;
if (buildCounterMcfData < 3) {
- checkUnnamed1402(o.columnHeaders);
+ checkUnnamed1403(o.columnHeaders);
unittest.expect(o.containsSampledData, unittest.isTrue);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.itemsPerPage, unittest.equals(42));
@@ -2649,12 +2649,12 @@
unittest.expect(o.previousLink, unittest.equals('foo'));
checkMcfDataProfileInfo(o.profileInfo);
checkMcfDataQuery(o.query);
- checkUnnamed1407(o.rows);
+ checkUnnamed1408(o.rows);
unittest.expect(o.sampleSize, unittest.equals('foo'));
unittest.expect(o.sampleSpace, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.totalResults, unittest.equals(42));
- checkUnnamed1408(o.totalsForAllResults);
+ checkUnnamed1409(o.totalsForAllResults);
}
buildCounterMcfData--;
}
@@ -2701,14 +2701,14 @@
buildCounterProfileParentLink--;
}
-buildUnnamed1409() {
+buildUnnamed1410() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1409(core.List<core.String> o) {
+checkUnnamed1410(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2719,7 +2719,7 @@
var o = new api.ProfilePermissions();
buildCounterProfilePermissions++;
if (buildCounterProfilePermissions < 3) {
- o.effective = buildUnnamed1409();
+ o.effective = buildUnnamed1410();
}
buildCounterProfilePermissions--;
return o;
@@ -2728,7 +2728,7 @@
checkProfilePermissions(api.ProfilePermissions o) {
buildCounterProfilePermissions++;
if (buildCounterProfilePermissions < 3) {
- checkUnnamed1409(o.effective);
+ checkUnnamed1410(o.effective);
}
buildCounterProfilePermissions--;
}
@@ -2833,14 +2833,14 @@
buildCounterProfileFilterLink--;
}
-buildUnnamed1410() {
+buildUnnamed1411() {
var o = new core.List<api.ProfileFilterLink>();
o.add(buildProfileFilterLink());
o.add(buildProfileFilterLink());
return o;
}
-checkUnnamed1410(core.List<api.ProfileFilterLink> o) {
+checkUnnamed1411(core.List<api.ProfileFilterLink> o) {
unittest.expect(o, unittest.hasLength(2));
checkProfileFilterLink(o[0]);
checkProfileFilterLink(o[1]);
@@ -2851,7 +2851,7 @@
var o = new api.ProfileFilterLinks();
buildCounterProfileFilterLinks++;
if (buildCounterProfileFilterLinks < 3) {
- o.items = buildUnnamed1410();
+ o.items = buildUnnamed1411();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -2867,7 +2867,7 @@
checkProfileFilterLinks(api.ProfileFilterLinks o) {
buildCounterProfileFilterLinks++;
if (buildCounterProfileFilterLinks < 3) {
- checkUnnamed1410(o.items);
+ checkUnnamed1411(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -2937,14 +2937,14 @@
buildCounterProfileSummary--;
}
-buildUnnamed1411() {
+buildUnnamed1412() {
var o = new core.List<api.Profile>();
o.add(buildProfile());
o.add(buildProfile());
return o;
}
-checkUnnamed1411(core.List<api.Profile> o) {
+checkUnnamed1412(core.List<api.Profile> o) {
unittest.expect(o, unittest.hasLength(2));
checkProfile(o[0]);
checkProfile(o[1]);
@@ -2955,7 +2955,7 @@
var o = new api.Profiles();
buildCounterProfiles++;
if (buildCounterProfiles < 3) {
- o.items = buildUnnamed1411();
+ o.items = buildUnnamed1412();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -2971,7 +2971,7 @@
checkProfiles(api.Profiles o) {
buildCounterProfiles++;
if (buildCounterProfiles < 3) {
- checkUnnamed1411(o.items);
+ checkUnnamed1412(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -3006,14 +3006,14 @@
buildCounterRealtimeDataColumnHeaders--;
}
-buildUnnamed1412() {
+buildUnnamed1413() {
var o = new core.List<api.RealtimeDataColumnHeaders>();
o.add(buildRealtimeDataColumnHeaders());
o.add(buildRealtimeDataColumnHeaders());
return o;
}
-checkUnnamed1412(core.List<api.RealtimeDataColumnHeaders> o) {
+checkUnnamed1413(core.List<api.RealtimeDataColumnHeaders> o) {
unittest.expect(o, unittest.hasLength(2));
checkRealtimeDataColumnHeaders(o[0]);
checkRealtimeDataColumnHeaders(o[1]);
@@ -3048,19 +3048,6 @@
buildCounterRealtimeDataProfileInfo--;
}
-buildUnnamed1413() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1413(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed1414() {
var o = new core.List<core.String>();
o.add("foo");
@@ -3074,35 +3061,6 @@
unittest.expect(o[1], unittest.equals('foo'));
}
-core.int buildCounterRealtimeDataQuery = 0;
-buildRealtimeDataQuery() {
- var o = new api.RealtimeDataQuery();
- buildCounterRealtimeDataQuery++;
- if (buildCounterRealtimeDataQuery < 3) {
- o.dimensions = "foo";
- o.filters = "foo";
- o.ids = "foo";
- o.max_results = 42;
- o.metrics = buildUnnamed1413();
- o.sort = buildUnnamed1414();
- }
- buildCounterRealtimeDataQuery--;
- return o;
-}
-
-checkRealtimeDataQuery(api.RealtimeDataQuery o) {
- buildCounterRealtimeDataQuery++;
- if (buildCounterRealtimeDataQuery < 3) {
- unittest.expect(o.dimensions, unittest.equals('foo'));
- unittest.expect(o.filters, unittest.equals('foo'));
- unittest.expect(o.ids, unittest.equals('foo'));
- unittest.expect(o.max_results, unittest.equals(42));
- checkUnnamed1413(o.metrics);
- checkUnnamed1414(o.sort);
- }
- buildCounterRealtimeDataQuery--;
-}
-
buildUnnamed1415() {
var o = new core.List<core.String>();
o.add("foo");
@@ -3116,27 +3074,69 @@
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1416() {
- var o = new core.List<core.List<core.String>>();
- o.add(buildUnnamed1415());
- o.add(buildUnnamed1415());
+core.int buildCounterRealtimeDataQuery = 0;
+buildRealtimeDataQuery() {
+ var o = new api.RealtimeDataQuery();
+ buildCounterRealtimeDataQuery++;
+ if (buildCounterRealtimeDataQuery < 3) {
+ o.dimensions = "foo";
+ o.filters = "foo";
+ o.ids = "foo";
+ o.max_results = 42;
+ o.metrics = buildUnnamed1414();
+ o.sort = buildUnnamed1415();
+ }
+ buildCounterRealtimeDataQuery--;
return o;
}
-checkUnnamed1416(core.List<core.List<core.String>> o) {
+checkRealtimeDataQuery(api.RealtimeDataQuery o) {
+ buildCounterRealtimeDataQuery++;
+ if (buildCounterRealtimeDataQuery < 3) {
+ unittest.expect(o.dimensions, unittest.equals('foo'));
+ unittest.expect(o.filters, unittest.equals('foo'));
+ unittest.expect(o.ids, unittest.equals('foo'));
+ unittest.expect(o.max_results, unittest.equals(42));
+ checkUnnamed1414(o.metrics);
+ checkUnnamed1415(o.sort);
+ }
+ buildCounterRealtimeDataQuery--;
+}
+
+buildUnnamed1416() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1416(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1415(o[0]);
- checkUnnamed1415(o[1]);
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
}
buildUnnamed1417() {
+ var o = new core.List<core.List<core.String>>();
+ o.add(buildUnnamed1416());
+ o.add(buildUnnamed1416());
+ return o;
+}
+
+checkUnnamed1417(core.List<core.List<core.String>> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkUnnamed1416(o[0]);
+ checkUnnamed1416(o[1]);
+}
+
+buildUnnamed1418() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1417(core.Map<core.String, core.String> o) {
+checkUnnamed1418(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -3147,15 +3147,15 @@
var o = new api.RealtimeData();
buildCounterRealtimeData++;
if (buildCounterRealtimeData < 3) {
- o.columnHeaders = buildUnnamed1412();
+ o.columnHeaders = buildUnnamed1413();
o.id = "foo";
o.kind = "foo";
o.profileInfo = buildRealtimeDataProfileInfo();
o.query = buildRealtimeDataQuery();
- o.rows = buildUnnamed1416();
+ o.rows = buildUnnamed1417();
o.selfLink = "foo";
o.totalResults = 42;
- o.totalsForAllResults = buildUnnamed1417();
+ o.totalsForAllResults = buildUnnamed1418();
}
buildCounterRealtimeData--;
return o;
@@ -3164,15 +3164,15 @@
checkRealtimeData(api.RealtimeData o) {
buildCounterRealtimeData++;
if (buildCounterRealtimeData < 3) {
- checkUnnamed1412(o.columnHeaders);
+ checkUnnamed1413(o.columnHeaders);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
checkRealtimeDataProfileInfo(o.profileInfo);
checkRealtimeDataQuery(o.query);
- checkUnnamed1416(o.rows);
+ checkUnnamed1417(o.rows);
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.totalResults, unittest.equals(42));
- checkUnnamed1417(o.totalsForAllResults);
+ checkUnnamed1418(o.totalsForAllResults);
}
buildCounterRealtimeData--;
}
@@ -3197,27 +3197,27 @@
buildCounterRemarketingAudienceAudienceDefinition--;
}
-buildUnnamed1418() {
+buildUnnamed1419() {
var o = new core.List<api.LinkedForeignAccount>();
o.add(buildLinkedForeignAccount());
o.add(buildLinkedForeignAccount());
return o;
}
-checkUnnamed1418(core.List<api.LinkedForeignAccount> o) {
+checkUnnamed1419(core.List<api.LinkedForeignAccount> o) {
unittest.expect(o, unittest.hasLength(2));
checkLinkedForeignAccount(o[0]);
checkLinkedForeignAccount(o[1]);
}
-buildUnnamed1419() {
+buildUnnamed1420() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1419(core.List<core.String> o) {
+checkUnnamed1420(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3287,8 +3287,8 @@
o.id = "foo";
o.internalWebPropertyId = "foo";
o.kind = "foo";
- o.linkedAdAccounts = buildUnnamed1418();
- o.linkedViews = buildUnnamed1419();
+ o.linkedAdAccounts = buildUnnamed1419();
+ o.linkedViews = buildUnnamed1420();
o.name = "foo";
o.stateBasedAudienceDefinition =
buildRemarketingAudienceStateBasedAudienceDefinition();
@@ -3311,8 +3311,8 @@
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.internalWebPropertyId, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1418(o.linkedAdAccounts);
- checkUnnamed1419(o.linkedViews);
+ checkUnnamed1419(o.linkedAdAccounts);
+ checkUnnamed1420(o.linkedViews);
unittest.expect(o.name, unittest.equals('foo'));
checkRemarketingAudienceStateBasedAudienceDefinition(
o.stateBasedAudienceDefinition);
@@ -3323,14 +3323,14 @@
buildCounterRemarketingAudience--;
}
-buildUnnamed1420() {
+buildUnnamed1421() {
var o = new core.List<api.RemarketingAudience>();
o.add(buildRemarketingAudience());
o.add(buildRemarketingAudience());
return o;
}
-checkUnnamed1420(core.List<api.RemarketingAudience> o) {
+checkUnnamed1421(core.List<api.RemarketingAudience> o) {
unittest.expect(o, unittest.hasLength(2));
checkRemarketingAudience(o[0]);
checkRemarketingAudience(o[1]);
@@ -3341,7 +3341,7 @@
var o = new api.RemarketingAudiences();
buildCounterRemarketingAudiences++;
if (buildCounterRemarketingAudiences < 3) {
- o.items = buildUnnamed1420();
+ o.items = buildUnnamed1421();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -3357,7 +3357,7 @@
checkRemarketingAudiences(api.RemarketingAudiences o) {
buildCounterRemarketingAudiences++;
if (buildCounterRemarketingAudiences < 3) {
- checkUnnamed1420(o.items);
+ checkUnnamed1421(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -3406,14 +3406,14 @@
buildCounterSegment--;
}
-buildUnnamed1421() {
+buildUnnamed1422() {
var o = new core.List<api.Segment>();
o.add(buildSegment());
o.add(buildSegment());
return o;
}
-checkUnnamed1421(core.List<api.Segment> o) {
+checkUnnamed1422(core.List<api.Segment> o) {
unittest.expect(o, unittest.hasLength(2));
checkSegment(o[0]);
checkSegment(o[1]);
@@ -3424,7 +3424,7 @@
var o = new api.Segments();
buildCounterSegments++;
if (buildCounterSegments < 3) {
- o.items = buildUnnamed1421();
+ o.items = buildUnnamed1422();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -3440,7 +3440,7 @@
checkSegments(api.Segments o) {
buildCounterSegments++;
if (buildCounterSegments < 3) {
- checkUnnamed1421(o.items);
+ checkUnnamed1422(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -3553,14 +3553,14 @@
buildCounterUnsampledReport--;
}
-buildUnnamed1422() {
+buildUnnamed1423() {
var o = new core.List<api.UnsampledReport>();
o.add(buildUnsampledReport());
o.add(buildUnsampledReport());
return o;
}
-checkUnnamed1422(core.List<api.UnsampledReport> o) {
+checkUnnamed1423(core.List<api.UnsampledReport> o) {
unittest.expect(o, unittest.hasLength(2));
checkUnsampledReport(o[0]);
checkUnsampledReport(o[1]);
@@ -3571,7 +3571,7 @@
var o = new api.UnsampledReports();
buildCounterUnsampledReports++;
if (buildCounterUnsampledReports < 3) {
- o.items = buildUnnamed1422();
+ o.items = buildUnnamed1423();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -3587,7 +3587,7 @@
checkUnsampledReports(api.UnsampledReports o) {
buildCounterUnsampledReports++;
if (buildCounterUnsampledReports < 3) {
- checkUnnamed1422(o.items);
+ checkUnnamed1423(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -3599,14 +3599,14 @@
buildCounterUnsampledReports--;
}
-buildUnnamed1423() {
+buildUnnamed1424() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1423(core.List<core.String> o) {
+checkUnnamed1424(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3619,7 +3619,7 @@
if (buildCounterUpload < 3) {
o.accountId = "foo";
o.customDataSourceId = "foo";
- o.errors = buildUnnamed1423();
+ o.errors = buildUnnamed1424();
o.id = "foo";
o.kind = "foo";
o.status = "foo";
@@ -3634,7 +3634,7 @@
if (buildCounterUpload < 3) {
unittest.expect(o.accountId, unittest.equals('foo'));
unittest.expect(o.customDataSourceId, unittest.equals('foo'));
- checkUnnamed1423(o.errors);
+ checkUnnamed1424(o.errors);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals('foo'));
@@ -3644,14 +3644,14 @@
buildCounterUpload--;
}
-buildUnnamed1424() {
+buildUnnamed1425() {
var o = new core.List<api.Upload>();
o.add(buildUpload());
o.add(buildUpload());
return o;
}
-checkUnnamed1424(core.List<api.Upload> o) {
+checkUnnamed1425(core.List<api.Upload> o) {
unittest.expect(o, unittest.hasLength(2));
checkUpload(o[0]);
checkUpload(o[1]);
@@ -3662,7 +3662,7 @@
var o = new api.Uploads();
buildCounterUploads++;
if (buildCounterUploads < 3) {
- o.items = buildUnnamed1424();
+ o.items = buildUnnamed1425();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -3677,7 +3677,7 @@
checkUploads(api.Uploads o) {
buildCounterUploads++;
if (buildCounterUploads < 3) {
- checkUnnamed1424(o.items);
+ checkUnnamed1425(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -3791,14 +3791,14 @@
buildCounterWebPropertyRef--;
}
-buildUnnamed1425() {
+buildUnnamed1426() {
var o = new core.List<api.ProfileSummary>();
o.add(buildProfileSummary());
o.add(buildProfileSummary());
return o;
}
-checkUnnamed1425(core.List<api.ProfileSummary> o) {
+checkUnnamed1426(core.List<api.ProfileSummary> o) {
unittest.expect(o, unittest.hasLength(2));
checkProfileSummary(o[0]);
checkProfileSummary(o[1]);
@@ -3814,7 +3814,7 @@
o.kind = "foo";
o.level = "foo";
o.name = "foo";
- o.profiles = buildUnnamed1425();
+ o.profiles = buildUnnamed1426();
o.starred = true;
o.websiteUrl = "foo";
}
@@ -3830,21 +3830,21 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.level, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1425(o.profiles);
+ checkUnnamed1426(o.profiles);
unittest.expect(o.starred, unittest.isTrue);
unittest.expect(o.websiteUrl, unittest.equals('foo'));
}
buildCounterWebPropertySummary--;
}
-buildUnnamed1426() {
+buildUnnamed1427() {
var o = new core.List<api.Webproperty>();
o.add(buildWebproperty());
o.add(buildWebproperty());
return o;
}
-checkUnnamed1426(core.List<api.Webproperty> o) {
+checkUnnamed1427(core.List<api.Webproperty> o) {
unittest.expect(o, unittest.hasLength(2));
checkWebproperty(o[0]);
checkWebproperty(o[1]);
@@ -3855,7 +3855,7 @@
var o = new api.Webproperties();
buildCounterWebproperties++;
if (buildCounterWebproperties < 3) {
- o.items = buildUnnamed1426();
+ o.items = buildUnnamed1427();
o.itemsPerPage = 42;
o.kind = "foo";
o.nextLink = "foo";
@@ -3871,7 +3871,7 @@
checkWebproperties(api.Webproperties o) {
buildCounterWebproperties++;
if (buildCounterWebproperties < 3) {
- checkUnnamed1426(o.items);
+ checkUnnamed1427(o.items);
unittest.expect(o.itemsPerPage, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
@@ -3925,14 +3925,14 @@
buildCounterWebpropertyParentLink--;
}
-buildUnnamed1427() {
+buildUnnamed1428() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1427(core.List<core.String> o) {
+checkUnnamed1428(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3943,7 +3943,7 @@
var o = new api.WebpropertyPermissions();
buildCounterWebpropertyPermissions++;
if (buildCounterWebpropertyPermissions < 3) {
- o.effective = buildUnnamed1427();
+ o.effective = buildUnnamed1428();
}
buildCounterWebpropertyPermissions--;
return o;
@@ -3952,7 +3952,7 @@
checkWebpropertyPermissions(api.WebpropertyPermissions o) {
buildCounterWebpropertyPermissions++;
if (buildCounterWebpropertyPermissions < 3) {
- checkUnnamed1427(o.effective);
+ checkUnnamed1428(o.effective);
}
buildCounterWebpropertyPermissions--;
}
@@ -4889,15 +4889,15 @@
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_include_empty_rows = true;
var arg_sort = "foo";
- var arg_filters = "foo";
- var arg_output = "foo";
- var arg_start_index = 42;
- var arg_dimensions = "foo";
var arg_samplingLevel = "foo";
var arg_segment = "foo";
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;
@@ -4939,22 +4939,22 @@
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["include-empty-rows"].first,
unittest.equals("$arg_include_empty_rows"));
unittest.expect(queryMap["sort"].first, unittest.equals(arg_sort));
- unittest.expect(
- queryMap["filters"].first, unittest.equals(arg_filters));
- unittest.expect(queryMap["output"].first, unittest.equals(arg_output));
- unittest.expect(core.int.parse(queryMap["start-index"].first),
- unittest.equals(arg_start_index));
- unittest.expect(
- queryMap["dimensions"].first, unittest.equals(arg_dimensions));
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(core.int.parse(queryMap["start-index"].first),
+ unittest.equals(arg_start_index));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4965,15 +4965,15 @@
}), true);
res
.get(arg_ids, arg_start_date, arg_end_date, arg_metrics,
+ output: arg_output,
+ filters: arg_filters,
+ dimensions: arg_dimensions,
include_empty_rows: arg_include_empty_rows,
sort: arg_sort,
- filters: arg_filters,
- output: arg_output,
- start_index: arg_start_index,
- dimensions: arg_dimensions,
samplingLevel: arg_samplingLevel,
segment: arg_segment,
max_results: arg_max_results,
+ start_index: arg_start_index,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGaData(response);
@@ -4989,12 +4989,12 @@
var arg_start_date = "foo";
var arg_end_date = "foo";
var arg_metrics = "foo";
- var arg_start_index = 42;
- var arg_samplingLevel = "foo";
- var arg_max_results = 42;
- var arg_sort = "foo";
- var arg_filters = "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_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -5036,17 +5036,17 @@
queryMap["end-date"].first, unittest.equals(arg_end_date));
unittest.expect(
queryMap["metrics"].first, unittest.equals(arg_metrics));
- unittest.expect(core.int.parse(queryMap["start-index"].first),
- unittest.equals(arg_start_index));
- unittest.expect(queryMap["samplingLevel"].first,
- unittest.equals(arg_samplingLevel));
- 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["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(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["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -5057,12 +5057,12 @@
}), true);
res
.get(arg_ids, arg_start_date, arg_end_date, arg_metrics,
- start_index: arg_start_index,
- samplingLevel: arg_samplingLevel,
- max_results: arg_max_results,
- sort: arg_sort,
- filters: arg_filters,
dimensions: arg_dimensions,
+ filters: arg_filters,
+ start_index: arg_start_index,
+ sort: arg_sort,
+ max_results: arg_max_results,
+ samplingLevel: arg_samplingLevel,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkMcfData(response);
@@ -5078,8 +5078,8 @@
var arg_ids = "foo";
var arg_metrics = "foo";
var arg_max_results = 42;
- var arg_sort = "foo";
var arg_filters = "foo";
+ var arg_sort = "foo";
var arg_dimensions = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -5120,9 +5120,9 @@
queryMap["metrics"].first, unittest.equals(arg_metrics));
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["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["fields"].first, unittest.equals(arg_$fields));
@@ -5136,8 +5136,8 @@
res
.get(arg_ids, arg_metrics,
max_results: arg_max_results,
- sort: arg_sort,
filters: arg_filters,
+ sort: arg_sort,
dimensions: arg_dimensions,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -5492,8 +5492,8 @@
var mock = new HttpServerMock();
api.ManagementAccountsResourceApi res =
new api.AnalyticsApi(mock).management.accounts;
- 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;
@@ -5528,10 +5528,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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 = {
@@ -5542,8 +5542,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) {
checkAccounts(response);
@@ -6794,8 +6794,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;
@@ -6857,10 +6857,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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 = {
@@ -6871,8 +6871,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) {
checkExperiments(response);
@@ -7668,8 +7668,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;
@@ -7731,10 +7731,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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 = {
@@ -7745,8 +7745,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) {
checkGoals(response);
@@ -9082,8 +9082,8 @@
new api.AnalyticsApi(mock).management.profiles;
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;
@@ -9136,10 +9136,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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 = {
@@ -9150,8 +9150,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) {
checkProfiles(response);
@@ -9562,9 +9562,9 @@
new api.AnalyticsApi(mock).management.remarketingAudience;
var arg_accountId = "foo";
var arg_webPropertyId = "foo";
- var arg_type = "foo";
- var arg_start_index = 42;
var arg_max_results = 42;
+ var arg_start_index = 42;
+ var arg_type = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -9617,11 +9617,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["type"].first, unittest.equals(arg_type));
- 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["type"].first, unittest.equals(arg_type));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -9632,9 +9632,9 @@
}), true);
res
.list(arg_accountId, arg_webPropertyId,
- type: arg_type,
- start_index: arg_start_index,
max_results: arg_max_results,
+ start_index: arg_start_index,
+ type: arg_type,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkRemarketingAudiences(response);
@@ -9813,8 +9813,8 @@
var mock = new HttpServerMock();
api.ManagementSegmentsResourceApi res =
new api.AnalyticsApi(mock).management.segments;
- var arg_max_results = 42;
var arg_start_index = 42;
+ var arg_max_results = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -9849,10 +9849,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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(core.int.parse(queryMap["max-results"].first),
+ unittest.equals(arg_max_results));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -9863,8 +9863,8 @@
}), true);
res
.list(
- max_results: arg_max_results,
start_index: arg_start_index,
+ max_results: arg_max_results,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkSegments(response);
@@ -10415,8 +10415,8 @@
var arg_accountId = "foo";
var arg_webPropertyId = "foo";
var arg_customDataSourceId = "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;
@@ -10478,10 +10478,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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 = {
@@ -10492,8 +10492,8 @@
}), true);
res
.list(arg_accountId, arg_webPropertyId, arg_customDataSourceId,
- start_index: arg_start_index,
max_results: arg_max_results,
+ start_index: arg_start_index,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkUploads(response);
diff --git a/generated/googleapis/test/analyticsreporting/v4_test.dart b/generated/googleapis/test/analyticsreporting/v4_test.dart
index 4a1b684..fb8a513 100644
--- a/generated/googleapis/test/analyticsreporting/v4_test.dart
+++ b/generated/googleapis/test/analyticsreporting/v4_test.dart
@@ -50,14 +50,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed2719() {
+buildUnnamed2723() {
var o = new core.List<api.CustomDimension>();
o.add(buildCustomDimension());
o.add(buildCustomDimension());
return o;
}
-checkUnnamed2719(core.List<api.CustomDimension> o) {
+checkUnnamed2723(core.List<api.CustomDimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkCustomDimension(o[0]);
checkCustomDimension(o[1]);
@@ -73,7 +73,7 @@
o.appview = buildScreenviewData();
o.campaign = "foo";
o.channelGrouping = "foo";
- o.customDimension = buildUnnamed2719();
+ o.customDimension = buildUnnamed2723();
o.ecommerce = buildEcommerceData();
o.event = buildEventData();
o.goals = buildGoalSetData();
@@ -96,7 +96,7 @@
checkScreenviewData(o.appview);
unittest.expect(o.campaign, unittest.equals('foo'));
unittest.expect(o.channelGrouping, unittest.equals('foo'));
- checkUnnamed2719(o.customDimension);
+ checkUnnamed2723(o.customDimension);
checkEcommerceData(o.ecommerce);
checkEventData(o.event);
checkGoalSetData(o.goals);
@@ -133,14 +133,14 @@
buildCounterCohort--;
}
-buildUnnamed2720() {
+buildUnnamed2724() {
var o = new core.List<api.Cohort>();
o.add(buildCohort());
o.add(buildCohort());
return o;
}
-checkUnnamed2720(core.List<api.Cohort> o) {
+checkUnnamed2724(core.List<api.Cohort> o) {
unittest.expect(o, unittest.hasLength(2));
checkCohort(o[0]);
checkCohort(o[1]);
@@ -151,7 +151,7 @@
var o = new api.CohortGroup();
buildCounterCohortGroup++;
if (buildCounterCohortGroup < 3) {
- o.cohorts = buildUnnamed2720();
+ o.cohorts = buildUnnamed2724();
o.lifetimeValue = true;
}
buildCounterCohortGroup--;
@@ -161,20 +161,20 @@
checkCohortGroup(api.CohortGroup o) {
buildCounterCohortGroup++;
if (buildCounterCohortGroup < 3) {
- checkUnnamed2720(o.cohorts);
+ checkUnnamed2724(o.cohorts);
unittest.expect(o.lifetimeValue, unittest.isTrue);
}
buildCounterCohortGroup--;
}
-buildUnnamed2721() {
+buildUnnamed2725() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2721(core.List<core.String> o) {
+checkUnnamed2725(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -185,7 +185,7 @@
var o = new api.ColumnHeader();
buildCounterColumnHeader++;
if (buildCounterColumnHeader < 3) {
- o.dimensions = buildUnnamed2721();
+ o.dimensions = buildUnnamed2725();
o.metricHeader = buildMetricHeader();
}
buildCounterColumnHeader--;
@@ -195,7 +195,7 @@
checkColumnHeader(api.ColumnHeader o) {
buildCounterColumnHeader++;
if (buildCounterColumnHeader < 3) {
- checkUnnamed2721(o.dimensions);
+ checkUnnamed2725(o.dimensions);
checkMetricHeader(o.metricHeader);
}
buildCounterColumnHeader--;
@@ -243,27 +243,27 @@
buildCounterDateRange--;
}
-buildUnnamed2722() {
+buildUnnamed2726() {
var o = new core.List<api.PivotValueRegion>();
o.add(buildPivotValueRegion());
o.add(buildPivotValueRegion());
return o;
}
-checkUnnamed2722(core.List<api.PivotValueRegion> o) {
+checkUnnamed2726(core.List<api.PivotValueRegion> o) {
unittest.expect(o, unittest.hasLength(2));
checkPivotValueRegion(o[0]);
checkPivotValueRegion(o[1]);
}
-buildUnnamed2723() {
+buildUnnamed2727() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2723(core.List<core.String> o) {
+checkUnnamed2727(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -274,8 +274,8 @@
var o = new api.DateRangeValues();
buildCounterDateRangeValues++;
if (buildCounterDateRangeValues < 3) {
- o.pivotValueRegions = buildUnnamed2722();
- o.values = buildUnnamed2723();
+ o.pivotValueRegions = buildUnnamed2726();
+ o.values = buildUnnamed2727();
}
buildCounterDateRangeValues--;
return o;
@@ -284,20 +284,20 @@
checkDateRangeValues(api.DateRangeValues o) {
buildCounterDateRangeValues++;
if (buildCounterDateRangeValues < 3) {
- checkUnnamed2722(o.pivotValueRegions);
- checkUnnamed2723(o.values);
+ checkUnnamed2726(o.pivotValueRegions);
+ checkUnnamed2727(o.values);
}
buildCounterDateRangeValues--;
}
-buildUnnamed2724() {
+buildUnnamed2728() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2724(core.List<core.String> o) {
+checkUnnamed2728(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -308,7 +308,7 @@
var o = new api.Dimension();
buildCounterDimension++;
if (buildCounterDimension < 3) {
- o.histogramBuckets = buildUnnamed2724();
+ o.histogramBuckets = buildUnnamed2728();
o.name = "foo";
}
buildCounterDimension--;
@@ -318,20 +318,20 @@
checkDimension(api.Dimension o) {
buildCounterDimension++;
if (buildCounterDimension < 3) {
- checkUnnamed2724(o.histogramBuckets);
+ checkUnnamed2728(o.histogramBuckets);
unittest.expect(o.name, unittest.equals('foo'));
}
buildCounterDimension--;
}
-buildUnnamed2725() {
+buildUnnamed2729() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2725(core.List<core.String> o) {
+checkUnnamed2729(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -344,7 +344,7 @@
if (buildCounterDimensionFilter < 3) {
o.caseSensitive = true;
o.dimensionName = "foo";
- o.expressions = buildUnnamed2725();
+ o.expressions = buildUnnamed2729();
o.not = true;
o.operator = "foo";
}
@@ -357,21 +357,21 @@
if (buildCounterDimensionFilter < 3) {
unittest.expect(o.caseSensitive, unittest.isTrue);
unittest.expect(o.dimensionName, unittest.equals('foo'));
- checkUnnamed2725(o.expressions);
+ checkUnnamed2729(o.expressions);
unittest.expect(o.not, unittest.isTrue);
unittest.expect(o.operator, unittest.equals('foo'));
}
buildCounterDimensionFilter--;
}
-buildUnnamed2726() {
+buildUnnamed2730() {
var o = new core.List<api.DimensionFilter>();
o.add(buildDimensionFilter());
o.add(buildDimensionFilter());
return o;
}
-checkUnnamed2726(core.List<api.DimensionFilter> o) {
+checkUnnamed2730(core.List<api.DimensionFilter> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionFilter(o[0]);
checkDimensionFilter(o[1]);
@@ -382,7 +382,7 @@
var o = new api.DimensionFilterClause();
buildCounterDimensionFilterClause++;
if (buildCounterDimensionFilterClause < 3) {
- o.filters = buildUnnamed2726();
+ o.filters = buildUnnamed2730();
o.operator = "foo";
}
buildCounterDimensionFilterClause--;
@@ -392,7 +392,7 @@
checkDimensionFilterClause(api.DimensionFilterClause o) {
buildCounterDimensionFilterClause++;
if (buildCounterDimensionFilterClause < 3) {
- checkUnnamed2726(o.filters);
+ checkUnnamed2730(o.filters);
unittest.expect(o.operator, unittest.equals('foo'));
}
buildCounterDimensionFilterClause--;
@@ -421,14 +421,14 @@
buildCounterDynamicSegment--;
}
-buildUnnamed2727() {
+buildUnnamed2731() {
var o = new core.List<api.ProductData>();
o.add(buildProductData());
o.add(buildProductData());
return o;
}
-checkUnnamed2727(core.List<api.ProductData> o) {
+checkUnnamed2731(core.List<api.ProductData> o) {
unittest.expect(o, unittest.hasLength(2));
checkProductData(o[0]);
checkProductData(o[1]);
@@ -441,7 +441,7 @@
if (buildCounterEcommerceData < 3) {
o.actionType = "foo";
o.ecommerceType = "foo";
- o.products = buildUnnamed2727();
+ o.products = buildUnnamed2731();
o.transaction = buildTransactionData();
}
buildCounterEcommerceData--;
@@ -453,7 +453,7 @@
if (buildCounterEcommerceData < 3) {
unittest.expect(o.actionType, unittest.equals('foo'));
unittest.expect(o.ecommerceType, unittest.equals('foo'));
- checkUnnamed2727(o.products);
+ checkUnnamed2731(o.products);
checkTransactionData(o.transaction);
}
buildCounterEcommerceData--;
@@ -486,14 +486,14 @@
buildCounterEventData--;
}
-buildUnnamed2728() {
+buildUnnamed2732() {
var o = new core.List<api.ReportRequest>();
o.add(buildReportRequest());
o.add(buildReportRequest());
return o;
}
-checkUnnamed2728(core.List<api.ReportRequest> o) {
+checkUnnamed2732(core.List<api.ReportRequest> o) {
unittest.expect(o, unittest.hasLength(2));
checkReportRequest(o[0]);
checkReportRequest(o[1]);
@@ -504,7 +504,7 @@
var o = new api.GetReportsRequest();
buildCounterGetReportsRequest++;
if (buildCounterGetReportsRequest < 3) {
- o.reportRequests = buildUnnamed2728();
+ o.reportRequests = buildUnnamed2732();
o.useResourceQuotas = true;
}
buildCounterGetReportsRequest--;
@@ -514,20 +514,20 @@
checkGetReportsRequest(api.GetReportsRequest o) {
buildCounterGetReportsRequest++;
if (buildCounterGetReportsRequest < 3) {
- checkUnnamed2728(o.reportRequests);
+ checkUnnamed2732(o.reportRequests);
unittest.expect(o.useResourceQuotas, unittest.isTrue);
}
buildCounterGetReportsRequest--;
}
-buildUnnamed2729() {
+buildUnnamed2733() {
var o = new core.List<api.Report>();
o.add(buildReport());
o.add(buildReport());
return o;
}
-checkUnnamed2729(core.List<api.Report> o) {
+checkUnnamed2733(core.List<api.Report> o) {
unittest.expect(o, unittest.hasLength(2));
checkReport(o[0]);
checkReport(o[1]);
@@ -539,7 +539,7 @@
buildCounterGetReportsResponse++;
if (buildCounterGetReportsResponse < 3) {
o.queryCost = 42;
- o.reports = buildUnnamed2729();
+ o.reports = buildUnnamed2733();
o.resourceQuotasRemaining = buildResourceQuotasRemaining();
}
buildCounterGetReportsResponse--;
@@ -550,7 +550,7 @@
buildCounterGetReportsResponse++;
if (buildCounterGetReportsResponse < 3) {
unittest.expect(o.queryCost, unittest.equals(42));
- checkUnnamed2729(o.reports);
+ checkUnnamed2733(o.reports);
checkResourceQuotasRemaining(o.resourceQuotasRemaining);
}
buildCounterGetReportsResponse--;
@@ -589,14 +589,14 @@
buildCounterGoalData--;
}
-buildUnnamed2730() {
+buildUnnamed2734() {
var o = new core.List<api.GoalData>();
o.add(buildGoalData());
o.add(buildGoalData());
return o;
}
-checkUnnamed2730(core.List<api.GoalData> o) {
+checkUnnamed2734(core.List<api.GoalData> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoalData(o[0]);
checkGoalData(o[1]);
@@ -607,7 +607,7 @@
var o = new api.GoalSetData();
buildCounterGoalSetData++;
if (buildCounterGoalSetData < 3) {
- o.goals = buildUnnamed2730();
+ o.goals = buildUnnamed2734();
}
buildCounterGoalSetData--;
return o;
@@ -616,7 +616,7 @@
checkGoalSetData(api.GoalSetData o) {
buildCounterGoalSetData++;
if (buildCounterGoalSetData < 3) {
- checkUnnamed2730(o.goals);
+ checkUnnamed2734(o.goals);
}
buildCounterGoalSetData--;
}
@@ -669,14 +669,14 @@
buildCounterMetricFilter--;
}
-buildUnnamed2731() {
+buildUnnamed2735() {
var o = new core.List<api.MetricFilter>();
o.add(buildMetricFilter());
o.add(buildMetricFilter());
return o;
}
-checkUnnamed2731(core.List<api.MetricFilter> o) {
+checkUnnamed2735(core.List<api.MetricFilter> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetricFilter(o[0]);
checkMetricFilter(o[1]);
@@ -687,7 +687,7 @@
var o = new api.MetricFilterClause();
buildCounterMetricFilterClause++;
if (buildCounterMetricFilterClause < 3) {
- o.filters = buildUnnamed2731();
+ o.filters = buildUnnamed2735();
o.operator = "foo";
}
buildCounterMetricFilterClause--;
@@ -697,33 +697,33 @@
checkMetricFilterClause(api.MetricFilterClause o) {
buildCounterMetricFilterClause++;
if (buildCounterMetricFilterClause < 3) {
- checkUnnamed2731(o.filters);
+ checkUnnamed2735(o.filters);
unittest.expect(o.operator, unittest.equals('foo'));
}
buildCounterMetricFilterClause--;
}
-buildUnnamed2732() {
+buildUnnamed2736() {
var o = new core.List<api.MetricHeaderEntry>();
o.add(buildMetricHeaderEntry());
o.add(buildMetricHeaderEntry());
return o;
}
-checkUnnamed2732(core.List<api.MetricHeaderEntry> o) {
+checkUnnamed2736(core.List<api.MetricHeaderEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetricHeaderEntry(o[0]);
checkMetricHeaderEntry(o[1]);
}
-buildUnnamed2733() {
+buildUnnamed2737() {
var o = new core.List<api.PivotHeader>();
o.add(buildPivotHeader());
o.add(buildPivotHeader());
return o;
}
-checkUnnamed2733(core.List<api.PivotHeader> o) {
+checkUnnamed2737(core.List<api.PivotHeader> o) {
unittest.expect(o, unittest.hasLength(2));
checkPivotHeader(o[0]);
checkPivotHeader(o[1]);
@@ -734,8 +734,8 @@
var o = new api.MetricHeader();
buildCounterMetricHeader++;
if (buildCounterMetricHeader < 3) {
- o.metricHeaderEntries = buildUnnamed2732();
- o.pivotHeaders = buildUnnamed2733();
+ o.metricHeaderEntries = buildUnnamed2736();
+ o.pivotHeaders = buildUnnamed2737();
}
buildCounterMetricHeader--;
return o;
@@ -744,8 +744,8 @@
checkMetricHeader(api.MetricHeader o) {
buildCounterMetricHeader++;
if (buildCounterMetricHeader < 3) {
- checkUnnamed2732(o.metricHeaderEntries);
- checkUnnamed2733(o.pivotHeaders);
+ checkUnnamed2736(o.metricHeaderEntries);
+ checkUnnamed2737(o.pivotHeaders);
}
buildCounterMetricHeader--;
}
@@ -771,14 +771,14 @@
buildCounterMetricHeaderEntry--;
}
-buildUnnamed2734() {
+buildUnnamed2738() {
var o = new core.List<api.SegmentFilterClause>();
o.add(buildSegmentFilterClause());
o.add(buildSegmentFilterClause());
return o;
}
-checkUnnamed2734(core.List<api.SegmentFilterClause> o) {
+checkUnnamed2738(core.List<api.SegmentFilterClause> o) {
unittest.expect(o, unittest.hasLength(2));
checkSegmentFilterClause(o[0]);
checkSegmentFilterClause(o[1]);
@@ -789,7 +789,7 @@
var o = new api.OrFiltersForSegment();
buildCounterOrFiltersForSegment++;
if (buildCounterOrFiltersForSegment < 3) {
- o.segmentFilterClauses = buildUnnamed2734();
+ o.segmentFilterClauses = buildUnnamed2738();
}
buildCounterOrFiltersForSegment--;
return o;
@@ -798,7 +798,7 @@
checkOrFiltersForSegment(api.OrFiltersForSegment o) {
buildCounterOrFiltersForSegment++;
if (buildCounterOrFiltersForSegment < 3) {
- checkUnnamed2734(o.segmentFilterClauses);
+ checkUnnamed2738(o.segmentFilterClauses);
}
buildCounterOrFiltersForSegment--;
}
@@ -847,40 +847,40 @@
buildCounterPageviewData--;
}
-buildUnnamed2735() {
+buildUnnamed2739() {
var o = new core.List<api.DimensionFilterClause>();
o.add(buildDimensionFilterClause());
o.add(buildDimensionFilterClause());
return o;
}
-checkUnnamed2735(core.List<api.DimensionFilterClause> o) {
+checkUnnamed2739(core.List<api.DimensionFilterClause> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionFilterClause(o[0]);
checkDimensionFilterClause(o[1]);
}
-buildUnnamed2736() {
+buildUnnamed2740() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed2736(core.List<api.Dimension> o) {
+checkUnnamed2740(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
}
-buildUnnamed2737() {
+buildUnnamed2741() {
var o = new core.List<api.Metric>();
o.add(buildMetric());
o.add(buildMetric());
return o;
}
-checkUnnamed2737(core.List<api.Metric> o) {
+checkUnnamed2741(core.List<api.Metric> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetric(o[0]);
checkMetric(o[1]);
@@ -891,10 +891,10 @@
var o = new api.Pivot();
buildCounterPivot++;
if (buildCounterPivot < 3) {
- o.dimensionFilterClauses = buildUnnamed2735();
- o.dimensions = buildUnnamed2736();
+ o.dimensionFilterClauses = buildUnnamed2739();
+ o.dimensions = buildUnnamed2740();
o.maxGroupCount = 42;
- o.metrics = buildUnnamed2737();
+ o.metrics = buildUnnamed2741();
o.startGroup = 42;
}
buildCounterPivot--;
@@ -904,23 +904,23 @@
checkPivot(api.Pivot o) {
buildCounterPivot++;
if (buildCounterPivot < 3) {
- checkUnnamed2735(o.dimensionFilterClauses);
- checkUnnamed2736(o.dimensions);
+ checkUnnamed2739(o.dimensionFilterClauses);
+ checkUnnamed2740(o.dimensions);
unittest.expect(o.maxGroupCount, unittest.equals(42));
- checkUnnamed2737(o.metrics);
+ checkUnnamed2741(o.metrics);
unittest.expect(o.startGroup, unittest.equals(42));
}
buildCounterPivot--;
}
-buildUnnamed2738() {
+buildUnnamed2742() {
var o = new core.List<api.PivotHeaderEntry>();
o.add(buildPivotHeaderEntry());
o.add(buildPivotHeaderEntry());
return o;
}
-checkUnnamed2738(core.List<api.PivotHeaderEntry> o) {
+checkUnnamed2742(core.List<api.PivotHeaderEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkPivotHeaderEntry(o[0]);
checkPivotHeaderEntry(o[1]);
@@ -931,7 +931,7 @@
var o = new api.PivotHeader();
buildCounterPivotHeader++;
if (buildCounterPivotHeader < 3) {
- o.pivotHeaderEntries = buildUnnamed2738();
+ o.pivotHeaderEntries = buildUnnamed2742();
o.totalPivotGroupsCount = 42;
}
buildCounterPivotHeader--;
@@ -941,33 +941,33 @@
checkPivotHeader(api.PivotHeader o) {
buildCounterPivotHeader++;
if (buildCounterPivotHeader < 3) {
- checkUnnamed2738(o.pivotHeaderEntries);
+ checkUnnamed2742(o.pivotHeaderEntries);
unittest.expect(o.totalPivotGroupsCount, unittest.equals(42));
}
buildCounterPivotHeader--;
}
-buildUnnamed2739() {
+buildUnnamed2743() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2739(core.List<core.String> o) {
+checkUnnamed2743(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2740() {
+buildUnnamed2744() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2740(core.List<core.String> o) {
+checkUnnamed2744(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -978,8 +978,8 @@
var o = new api.PivotHeaderEntry();
buildCounterPivotHeaderEntry++;
if (buildCounterPivotHeaderEntry < 3) {
- o.dimensionNames = buildUnnamed2739();
- o.dimensionValues = buildUnnamed2740();
+ o.dimensionNames = buildUnnamed2743();
+ o.dimensionValues = buildUnnamed2744();
o.metric = buildMetricHeaderEntry();
}
buildCounterPivotHeaderEntry--;
@@ -989,21 +989,21 @@
checkPivotHeaderEntry(api.PivotHeaderEntry o) {
buildCounterPivotHeaderEntry++;
if (buildCounterPivotHeaderEntry < 3) {
- checkUnnamed2739(o.dimensionNames);
- checkUnnamed2740(o.dimensionValues);
+ checkUnnamed2743(o.dimensionNames);
+ checkUnnamed2744(o.dimensionValues);
checkMetricHeaderEntry(o.metric);
}
buildCounterPivotHeaderEntry--;
}
-buildUnnamed2741() {
+buildUnnamed2745() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2741(core.List<core.String> o) {
+checkUnnamed2745(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1014,7 +1014,7 @@
var o = new api.PivotValueRegion();
buildCounterPivotValueRegion++;
if (buildCounterPivotValueRegion < 3) {
- o.values = buildUnnamed2741();
+ o.values = buildUnnamed2745();
}
buildCounterPivotValueRegion--;
return o;
@@ -1023,7 +1023,7 @@
checkPivotValueRegion(api.PivotValueRegion o) {
buildCounterPivotValueRegion++;
if (buildCounterPivotValueRegion < 3) {
- checkUnnamed2741(o.values);
+ checkUnnamed2745(o.values);
}
buildCounterPivotValueRegion--;
}
@@ -1076,69 +1076,17 @@
buildCounterReport--;
}
-buildUnnamed2742() {
- var o = new core.List<api.DateRangeValues>();
- o.add(buildDateRangeValues());
- o.add(buildDateRangeValues());
- return o;
-}
-
-checkUnnamed2742(core.List<api.DateRangeValues> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkDateRangeValues(o[0]);
- checkDateRangeValues(o[1]);
-}
-
-buildUnnamed2743() {
- var o = new core.List<api.DateRangeValues>();
- o.add(buildDateRangeValues());
- o.add(buildDateRangeValues());
- return o;
-}
-
-checkUnnamed2743(core.List<api.DateRangeValues> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkDateRangeValues(o[0]);
- checkDateRangeValues(o[1]);
-}
-
-buildUnnamed2744() {
- var o = new core.List<api.ReportRow>();
- o.add(buildReportRow());
- o.add(buildReportRow());
- return o;
-}
-
-checkUnnamed2744(core.List<api.ReportRow> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkReportRow(o[0]);
- checkReportRow(o[1]);
-}
-
-buildUnnamed2745() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2745(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed2746() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
+ var o = new core.List<api.DateRangeValues>();
+ o.add(buildDateRangeValues());
+ o.add(buildDateRangeValues());
return o;
}
-checkUnnamed2746(core.List<core.String> o) {
+checkUnnamed2746(core.List<api.DateRangeValues> o) {
unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
+ checkDateRangeValues(o[0]);
+ checkDateRangeValues(o[1]);
}
buildUnnamed2747() {
@@ -1154,6 +1102,58 @@
checkDateRangeValues(o[1]);
}
+buildUnnamed2748() {
+ var o = new core.List<api.ReportRow>();
+ o.add(buildReportRow());
+ o.add(buildReportRow());
+ return o;
+}
+
+checkUnnamed2748(core.List<api.ReportRow> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkReportRow(o[0]);
+ checkReportRow(o[1]);
+}
+
+buildUnnamed2749() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2749(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed2750() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2750(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed2751() {
+ var o = new core.List<api.DateRangeValues>();
+ o.add(buildDateRangeValues());
+ o.add(buildDateRangeValues());
+ return o;
+}
+
+checkUnnamed2751(core.List<api.DateRangeValues> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkDateRangeValues(o[0]);
+ checkDateRangeValues(o[1]);
+}
+
core.int buildCounterReportData = 0;
buildReportData() {
var o = new api.ReportData();
@@ -1161,13 +1161,13 @@
if (buildCounterReportData < 3) {
o.dataLastRefreshed = "foo";
o.isDataGolden = true;
- o.maximums = buildUnnamed2742();
- o.minimums = buildUnnamed2743();
+ o.maximums = buildUnnamed2746();
+ o.minimums = buildUnnamed2747();
o.rowCount = 42;
- o.rows = buildUnnamed2744();
- o.samplesReadCounts = buildUnnamed2745();
- o.samplingSpaceSizes = buildUnnamed2746();
- o.totals = buildUnnamed2747();
+ o.rows = buildUnnamed2748();
+ o.samplesReadCounts = buildUnnamed2749();
+ o.samplingSpaceSizes = buildUnnamed2750();
+ o.totals = buildUnnamed2751();
}
buildCounterReportData--;
return o;
@@ -1178,116 +1178,116 @@
if (buildCounterReportData < 3) {
unittest.expect(o.dataLastRefreshed, unittest.equals('foo'));
unittest.expect(o.isDataGolden, unittest.isTrue);
- checkUnnamed2742(o.maximums);
- checkUnnamed2743(o.minimums);
+ checkUnnamed2746(o.maximums);
+ checkUnnamed2747(o.minimums);
unittest.expect(o.rowCount, unittest.equals(42));
- checkUnnamed2744(o.rows);
- checkUnnamed2745(o.samplesReadCounts);
- checkUnnamed2746(o.samplingSpaceSizes);
- checkUnnamed2747(o.totals);
+ checkUnnamed2748(o.rows);
+ checkUnnamed2749(o.samplesReadCounts);
+ checkUnnamed2750(o.samplingSpaceSizes);
+ checkUnnamed2751(o.totals);
}
buildCounterReportData--;
}
-buildUnnamed2748() {
+buildUnnamed2752() {
var o = new core.List<api.DateRange>();
o.add(buildDateRange());
o.add(buildDateRange());
return o;
}
-checkUnnamed2748(core.List<api.DateRange> o) {
+checkUnnamed2752(core.List<api.DateRange> o) {
unittest.expect(o, unittest.hasLength(2));
checkDateRange(o[0]);
checkDateRange(o[1]);
}
-buildUnnamed2749() {
+buildUnnamed2753() {
var o = new core.List<api.DimensionFilterClause>();
o.add(buildDimensionFilterClause());
o.add(buildDimensionFilterClause());
return o;
}
-checkUnnamed2749(core.List<api.DimensionFilterClause> o) {
+checkUnnamed2753(core.List<api.DimensionFilterClause> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionFilterClause(o[0]);
checkDimensionFilterClause(o[1]);
}
-buildUnnamed2750() {
+buildUnnamed2754() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed2750(core.List<api.Dimension> o) {
+checkUnnamed2754(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
}
-buildUnnamed2751() {
+buildUnnamed2755() {
var o = new core.List<api.MetricFilterClause>();
o.add(buildMetricFilterClause());
o.add(buildMetricFilterClause());
return o;
}
-checkUnnamed2751(core.List<api.MetricFilterClause> o) {
+checkUnnamed2755(core.List<api.MetricFilterClause> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetricFilterClause(o[0]);
checkMetricFilterClause(o[1]);
}
-buildUnnamed2752() {
+buildUnnamed2756() {
var o = new core.List<api.Metric>();
o.add(buildMetric());
o.add(buildMetric());
return o;
}
-checkUnnamed2752(core.List<api.Metric> o) {
+checkUnnamed2756(core.List<api.Metric> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetric(o[0]);
checkMetric(o[1]);
}
-buildUnnamed2753() {
+buildUnnamed2757() {
var o = new core.List<api.OrderBy>();
o.add(buildOrderBy());
o.add(buildOrderBy());
return o;
}
-checkUnnamed2753(core.List<api.OrderBy> o) {
+checkUnnamed2757(core.List<api.OrderBy> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderBy(o[0]);
checkOrderBy(o[1]);
}
-buildUnnamed2754() {
+buildUnnamed2758() {
var o = new core.List<api.Pivot>();
o.add(buildPivot());
o.add(buildPivot());
return o;
}
-checkUnnamed2754(core.List<api.Pivot> o) {
+checkUnnamed2758(core.List<api.Pivot> o) {
unittest.expect(o, unittest.hasLength(2));
checkPivot(o[0]);
checkPivot(o[1]);
}
-buildUnnamed2755() {
+buildUnnamed2759() {
var o = new core.List<api.Segment>();
o.add(buildSegment());
o.add(buildSegment());
return o;
}
-checkUnnamed2755(core.List<api.Segment> o) {
+checkUnnamed2759(core.List<api.Segment> o) {
unittest.expect(o, unittest.hasLength(2));
checkSegment(o[0]);
checkSegment(o[1]);
@@ -1299,21 +1299,21 @@
buildCounterReportRequest++;
if (buildCounterReportRequest < 3) {
o.cohortGroup = buildCohortGroup();
- o.dateRanges = buildUnnamed2748();
- o.dimensionFilterClauses = buildUnnamed2749();
- o.dimensions = buildUnnamed2750();
+ o.dateRanges = buildUnnamed2752();
+ o.dimensionFilterClauses = buildUnnamed2753();
+ o.dimensions = buildUnnamed2754();
o.filtersExpression = "foo";
o.hideTotals = true;
o.hideValueRanges = true;
o.includeEmptyRows = true;
- o.metricFilterClauses = buildUnnamed2751();
- o.metrics = buildUnnamed2752();
- o.orderBys = buildUnnamed2753();
+ o.metricFilterClauses = buildUnnamed2755();
+ o.metrics = buildUnnamed2756();
+ o.orderBys = buildUnnamed2757();
o.pageSize = 42;
o.pageToken = "foo";
- o.pivots = buildUnnamed2754();
+ o.pivots = buildUnnamed2758();
o.samplingLevel = "foo";
- o.segments = buildUnnamed2755();
+ o.segments = buildUnnamed2759();
o.viewId = "foo";
}
buildCounterReportRequest--;
@@ -1324,47 +1324,47 @@
buildCounterReportRequest++;
if (buildCounterReportRequest < 3) {
checkCohortGroup(o.cohortGroup);
- checkUnnamed2748(o.dateRanges);
- checkUnnamed2749(o.dimensionFilterClauses);
- checkUnnamed2750(o.dimensions);
+ checkUnnamed2752(o.dateRanges);
+ checkUnnamed2753(o.dimensionFilterClauses);
+ checkUnnamed2754(o.dimensions);
unittest.expect(o.filtersExpression, unittest.equals('foo'));
unittest.expect(o.hideTotals, unittest.isTrue);
unittest.expect(o.hideValueRanges, unittest.isTrue);
unittest.expect(o.includeEmptyRows, unittest.isTrue);
- checkUnnamed2751(o.metricFilterClauses);
- checkUnnamed2752(o.metrics);
- checkUnnamed2753(o.orderBys);
+ checkUnnamed2755(o.metricFilterClauses);
+ checkUnnamed2756(o.metrics);
+ checkUnnamed2757(o.orderBys);
unittest.expect(o.pageSize, unittest.equals(42));
unittest.expect(o.pageToken, unittest.equals('foo'));
- checkUnnamed2754(o.pivots);
+ checkUnnamed2758(o.pivots);
unittest.expect(o.samplingLevel, unittest.equals('foo'));
- checkUnnamed2755(o.segments);
+ checkUnnamed2759(o.segments);
unittest.expect(o.viewId, unittest.equals('foo'));
}
buildCounterReportRequest--;
}
-buildUnnamed2756() {
+buildUnnamed2760() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2756(core.List<core.String> o) {
+checkUnnamed2760(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2757() {
+buildUnnamed2761() {
var o = new core.List<api.DateRangeValues>();
o.add(buildDateRangeValues());
o.add(buildDateRangeValues());
return o;
}
-checkUnnamed2757(core.List<api.DateRangeValues> o) {
+checkUnnamed2761(core.List<api.DateRangeValues> o) {
unittest.expect(o, unittest.hasLength(2));
checkDateRangeValues(o[0]);
checkDateRangeValues(o[1]);
@@ -1375,8 +1375,8 @@
var o = new api.ReportRow();
buildCounterReportRow++;
if (buildCounterReportRow < 3) {
- o.dimensions = buildUnnamed2756();
- o.metrics = buildUnnamed2757();
+ o.dimensions = buildUnnamed2760();
+ o.metrics = buildUnnamed2761();
}
buildCounterReportRow--;
return o;
@@ -1385,8 +1385,8 @@
checkReportRow(api.ReportRow o) {
buildCounterReportRow++;
if (buildCounterReportRow < 3) {
- checkUnnamed2756(o.dimensions);
- checkUnnamed2757(o.metrics);
+ checkUnnamed2760(o.dimensions);
+ checkUnnamed2761(o.metrics);
}
buildCounterReportRow--;
}
@@ -1437,14 +1437,14 @@
buildCounterScreenviewData--;
}
-buildUnnamed2758() {
+buildUnnamed2762() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2758(core.List<core.String> o) {
+checkUnnamed2762(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1455,7 +1455,7 @@
var o = new api.SearchUserActivityRequest();
buildCounterSearchUserActivityRequest++;
if (buildCounterSearchUserActivityRequest < 3) {
- o.activityTypes = buildUnnamed2758();
+ o.activityTypes = buildUnnamed2762();
o.dateRange = buildDateRange();
o.pageSize = 42;
o.pageToken = "foo";
@@ -1469,7 +1469,7 @@
checkSearchUserActivityRequest(api.SearchUserActivityRequest o) {
buildCounterSearchUserActivityRequest++;
if (buildCounterSearchUserActivityRequest < 3) {
- checkUnnamed2758(o.activityTypes);
+ checkUnnamed2762(o.activityTypes);
checkDateRange(o.dateRange);
unittest.expect(o.pageSize, unittest.equals(42));
unittest.expect(o.pageToken, unittest.equals('foo'));
@@ -1479,14 +1479,14 @@
buildCounterSearchUserActivityRequest--;
}
-buildUnnamed2759() {
+buildUnnamed2763() {
var o = new core.List<api.UserActivitySession>();
o.add(buildUserActivitySession());
o.add(buildUserActivitySession());
return o;
}
-checkUnnamed2759(core.List<api.UserActivitySession> o) {
+checkUnnamed2763(core.List<api.UserActivitySession> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserActivitySession(o[0]);
checkUserActivitySession(o[1]);
@@ -1499,7 +1499,7 @@
if (buildCounterSearchUserActivityResponse < 3) {
o.nextPageToken = "foo";
o.sampleRate = 42.0;
- o.sessions = buildUnnamed2759();
+ o.sessions = buildUnnamed2763();
o.totalRows = 42;
}
buildCounterSearchUserActivityResponse--;
@@ -1511,7 +1511,7 @@
if (buildCounterSearchUserActivityResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.sampleRate, unittest.equals(42.0));
- checkUnnamed2759(o.sessions);
+ checkUnnamed2763(o.sessions);
unittest.expect(o.totalRows, unittest.equals(42));
}
buildCounterSearchUserActivityResponse--;
@@ -1538,14 +1538,14 @@
buildCounterSegment--;
}
-buildUnnamed2760() {
+buildUnnamed2764() {
var o = new core.List<api.SegmentFilter>();
o.add(buildSegmentFilter());
o.add(buildSegmentFilter());
return o;
}
-checkUnnamed2760(core.List<api.SegmentFilter> o) {
+checkUnnamed2764(core.List<api.SegmentFilter> o) {
unittest.expect(o, unittest.hasLength(2));
checkSegmentFilter(o[0]);
checkSegmentFilter(o[1]);
@@ -1556,7 +1556,7 @@
var o = new api.SegmentDefinition();
buildCounterSegmentDefinition++;
if (buildCounterSegmentDefinition < 3) {
- o.segmentFilters = buildUnnamed2760();
+ o.segmentFilters = buildUnnamed2764();
}
buildCounterSegmentDefinition--;
return o;
@@ -1565,19 +1565,19 @@
checkSegmentDefinition(api.SegmentDefinition o) {
buildCounterSegmentDefinition++;
if (buildCounterSegmentDefinition < 3) {
- checkUnnamed2760(o.segmentFilters);
+ checkUnnamed2764(o.segmentFilters);
}
buildCounterSegmentDefinition--;
}
-buildUnnamed2761() {
+buildUnnamed2765() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2761(core.List<core.String> o) {
+checkUnnamed2765(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1590,7 +1590,7 @@
if (buildCounterSegmentDimensionFilter < 3) {
o.caseSensitive = true;
o.dimensionName = "foo";
- o.expressions = buildUnnamed2761();
+ o.expressions = buildUnnamed2765();
o.maxComparisonValue = "foo";
o.minComparisonValue = "foo";
o.operator = "foo";
@@ -1604,7 +1604,7 @@
if (buildCounterSegmentDimensionFilter < 3) {
unittest.expect(o.caseSensitive, unittest.isTrue);
unittest.expect(o.dimensionName, unittest.equals('foo'));
- checkUnnamed2761(o.expressions);
+ checkUnnamed2765(o.expressions);
unittest.expect(o.maxComparisonValue, unittest.equals('foo'));
unittest.expect(o.minComparisonValue, unittest.equals('foo'));
unittest.expect(o.operator, unittest.equals('foo'));
@@ -1685,14 +1685,14 @@
buildCounterSegmentMetricFilter--;
}
-buildUnnamed2762() {
+buildUnnamed2766() {
var o = new core.List<api.OrFiltersForSegment>();
o.add(buildOrFiltersForSegment());
o.add(buildOrFiltersForSegment());
return o;
}
-checkUnnamed2762(core.List<api.OrFiltersForSegment> o) {
+checkUnnamed2766(core.List<api.OrFiltersForSegment> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrFiltersForSegment(o[0]);
checkOrFiltersForSegment(o[1]);
@@ -1704,7 +1704,7 @@
buildCounterSegmentSequenceStep++;
if (buildCounterSegmentSequenceStep < 3) {
o.matchType = "foo";
- o.orFiltersForSegment = buildUnnamed2762();
+ o.orFiltersForSegment = buildUnnamed2766();
}
buildCounterSegmentSequenceStep--;
return o;
@@ -1714,19 +1714,19 @@
buildCounterSegmentSequenceStep++;
if (buildCounterSegmentSequenceStep < 3) {
unittest.expect(o.matchType, unittest.equals('foo'));
- checkUnnamed2762(o.orFiltersForSegment);
+ checkUnnamed2766(o.orFiltersForSegment);
}
buildCounterSegmentSequenceStep--;
}
-buildUnnamed2763() {
+buildUnnamed2767() {
var o = new core.List<api.SegmentSequenceStep>();
o.add(buildSegmentSequenceStep());
o.add(buildSegmentSequenceStep());
return o;
}
-checkUnnamed2763(core.List<api.SegmentSequenceStep> o) {
+checkUnnamed2767(core.List<api.SegmentSequenceStep> o) {
unittest.expect(o, unittest.hasLength(2));
checkSegmentSequenceStep(o[0]);
checkSegmentSequenceStep(o[1]);
@@ -1738,7 +1738,7 @@
buildCounterSequenceSegment++;
if (buildCounterSequenceSegment < 3) {
o.firstStepShouldMatchFirstHit = true;
- o.segmentSequenceSteps = buildUnnamed2763();
+ o.segmentSequenceSteps = buildUnnamed2767();
}
buildCounterSequenceSegment--;
return o;
@@ -1748,19 +1748,19 @@
buildCounterSequenceSegment++;
if (buildCounterSequenceSegment < 3) {
unittest.expect(o.firstStepShouldMatchFirstHit, unittest.isTrue);
- checkUnnamed2763(o.segmentSequenceSteps);
+ checkUnnamed2767(o.segmentSequenceSteps);
}
buildCounterSequenceSegment--;
}
-buildUnnamed2764() {
+buildUnnamed2768() {
var o = new core.List<api.OrFiltersForSegment>();
o.add(buildOrFiltersForSegment());
o.add(buildOrFiltersForSegment());
return o;
}
-checkUnnamed2764(core.List<api.OrFiltersForSegment> o) {
+checkUnnamed2768(core.List<api.OrFiltersForSegment> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrFiltersForSegment(o[0]);
checkOrFiltersForSegment(o[1]);
@@ -1771,7 +1771,7 @@
var o = new api.SimpleSegment();
buildCounterSimpleSegment++;
if (buildCounterSimpleSegment < 3) {
- o.orFiltersForSegment = buildUnnamed2764();
+ o.orFiltersForSegment = buildUnnamed2768();
}
buildCounterSimpleSegment--;
return o;
@@ -1780,7 +1780,7 @@
checkSimpleSegment(api.SimpleSegment o) {
buildCounterSimpleSegment++;
if (buildCounterSimpleSegment < 3) {
- checkUnnamed2764(o.orFiltersForSegment);
+ checkUnnamed2768(o.orFiltersForSegment);
}
buildCounterSimpleSegment--;
}
@@ -1831,14 +1831,14 @@
buildCounterUser--;
}
-buildUnnamed2765() {
+buildUnnamed2769() {
var o = new core.List<api.Activity>();
o.add(buildActivity());
o.add(buildActivity());
return o;
}
-checkUnnamed2765(core.List<api.Activity> o) {
+checkUnnamed2769(core.List<api.Activity> o) {
unittest.expect(o, unittest.hasLength(2));
checkActivity(o[0]);
checkActivity(o[1]);
@@ -1849,7 +1849,7 @@
var o = new api.UserActivitySession();
buildCounterUserActivitySession++;
if (buildCounterUserActivitySession < 3) {
- o.activities = buildUnnamed2765();
+ o.activities = buildUnnamed2769();
o.dataSource = "foo";
o.deviceCategory = "foo";
o.platform = "foo";
@@ -1863,7 +1863,7 @@
checkUserActivitySession(api.UserActivitySession o) {
buildCounterUserActivitySession++;
if (buildCounterUserActivitySession < 3) {
- checkUnnamed2765(o.activities);
+ checkUnnamed2769(o.activities);
unittest.expect(o.dataSource, unittest.equals('foo'));
unittest.expect(o.deviceCategory, unittest.equals('foo'));
unittest.expect(o.platform, unittest.equals('foo'));
diff --git a/generated/googleapis/test/androiddeviceprovisioning/v1_test.dart b/generated/googleapis/test/androiddeviceprovisioning/v1_test.dart
index d066a3b..d41226a 100644
--- a/generated/googleapis/test/androiddeviceprovisioning/v1_test.dart
+++ b/generated/googleapis/test/androiddeviceprovisioning/v1_test.dart
@@ -96,14 +96,14 @@
buildCounterClaimDeviceResponse--;
}
-buildUnnamed2657() {
+buildUnnamed2661() {
var o = new core.List<api.PartnerClaim>();
o.add(buildPartnerClaim());
o.add(buildPartnerClaim());
return o;
}
-checkUnnamed2657(core.List<api.PartnerClaim> o) {
+checkUnnamed2661(core.List<api.PartnerClaim> o) {
unittest.expect(o, unittest.hasLength(2));
checkPartnerClaim(o[0]);
checkPartnerClaim(o[1]);
@@ -114,7 +114,7 @@
var o = new api.ClaimDevicesRequest();
buildCounterClaimDevicesRequest++;
if (buildCounterClaimDevicesRequest < 3) {
- o.claims = buildUnnamed2657();
+ o.claims = buildUnnamed2661();
}
buildCounterClaimDevicesRequest--;
return o;
@@ -123,32 +123,32 @@
checkClaimDevicesRequest(api.ClaimDevicesRequest o) {
buildCounterClaimDevicesRequest++;
if (buildCounterClaimDevicesRequest < 3) {
- checkUnnamed2657(o.claims);
+ checkUnnamed2661(o.claims);
}
buildCounterClaimDevicesRequest--;
}
-buildUnnamed2658() {
+buildUnnamed2662() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2658(core.List<core.String> o) {
+checkUnnamed2662(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2659() {
+buildUnnamed2663() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2659(core.List<core.String> o) {
+checkUnnamed2663(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -159,11 +159,11 @@
var o = new api.Company();
buildCounterCompany++;
if (buildCounterCompany < 3) {
- o.adminEmails = buildUnnamed2658();
+ o.adminEmails = buildUnnamed2662();
o.companyId = "foo";
o.companyName = "foo";
o.name = "foo";
- o.ownerEmails = buildUnnamed2659();
+ o.ownerEmails = buildUnnamed2663();
o.termsStatus = "foo";
}
buildCounterCompany--;
@@ -173,11 +173,11 @@
checkCompany(api.Company o) {
buildCounterCompany++;
if (buildCounterCompany < 3) {
- checkUnnamed2658(o.adminEmails);
+ checkUnnamed2662(o.adminEmails);
unittest.expect(o.companyId, unittest.equals('foo'));
unittest.expect(o.companyName, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2659(o.ownerEmails);
+ checkUnnamed2663(o.ownerEmails);
unittest.expect(o.termsStatus, unittest.equals('foo'));
}
buildCounterCompany--;
@@ -261,14 +261,14 @@
buildCounterCustomerApplyConfigurationRequest--;
}
-buildUnnamed2660() {
+buildUnnamed2664() {
var o = new core.List<api.Configuration>();
o.add(buildConfiguration());
o.add(buildConfiguration());
return o;
}
-checkUnnamed2660(core.List<api.Configuration> o) {
+checkUnnamed2664(core.List<api.Configuration> o) {
unittest.expect(o, unittest.hasLength(2));
checkConfiguration(o[0]);
checkConfiguration(o[1]);
@@ -279,7 +279,7 @@
var o = new api.CustomerListConfigurationsResponse();
buildCounterCustomerListConfigurationsResponse++;
if (buildCounterCustomerListConfigurationsResponse < 3) {
- o.configurations = buildUnnamed2660();
+ o.configurations = buildUnnamed2664();
}
buildCounterCustomerListConfigurationsResponse--;
return o;
@@ -289,19 +289,19 @@
api.CustomerListConfigurationsResponse o) {
buildCounterCustomerListConfigurationsResponse++;
if (buildCounterCustomerListConfigurationsResponse < 3) {
- checkUnnamed2660(o.configurations);
+ checkUnnamed2664(o.configurations);
}
buildCounterCustomerListConfigurationsResponse--;
}
-buildUnnamed2661() {
+buildUnnamed2665() {
var o = new core.List<api.Company>();
o.add(buildCompany());
o.add(buildCompany());
return o;
}
-checkUnnamed2661(core.List<api.Company> o) {
+checkUnnamed2665(core.List<api.Company> o) {
unittest.expect(o, unittest.hasLength(2));
checkCompany(o[0]);
checkCompany(o[1]);
@@ -312,7 +312,7 @@
var o = new api.CustomerListCustomersResponse();
buildCounterCustomerListCustomersResponse++;
if (buildCounterCustomerListCustomersResponse < 3) {
- o.customers = buildUnnamed2661();
+ o.customers = buildUnnamed2665();
o.nextPageToken = "foo";
}
buildCounterCustomerListCustomersResponse--;
@@ -322,20 +322,20 @@
checkCustomerListCustomersResponse(api.CustomerListCustomersResponse o) {
buildCounterCustomerListCustomersResponse++;
if (buildCounterCustomerListCustomersResponse < 3) {
- checkUnnamed2661(o.customers);
+ checkUnnamed2665(o.customers);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterCustomerListCustomersResponse--;
}
-buildUnnamed2662() {
+buildUnnamed2666() {
var o = new core.List<api.Device>();
o.add(buildDevice());
o.add(buildDevice());
return o;
}
-checkUnnamed2662(core.List<api.Device> o) {
+checkUnnamed2666(core.List<api.Device> o) {
unittest.expect(o, unittest.hasLength(2));
checkDevice(o[0]);
checkDevice(o[1]);
@@ -346,7 +346,7 @@
var o = new api.CustomerListDevicesResponse();
buildCounterCustomerListDevicesResponse++;
if (buildCounterCustomerListDevicesResponse < 3) {
- o.devices = buildUnnamed2662();
+ o.devices = buildUnnamed2666();
o.nextPageToken = "foo";
}
buildCounterCustomerListDevicesResponse--;
@@ -356,20 +356,20 @@
checkCustomerListDevicesResponse(api.CustomerListDevicesResponse o) {
buildCounterCustomerListDevicesResponse++;
if (buildCounterCustomerListDevicesResponse < 3) {
- checkUnnamed2662(o.devices);
+ checkUnnamed2666(o.devices);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterCustomerListDevicesResponse--;
}
-buildUnnamed2663() {
+buildUnnamed2667() {
var o = new core.List<api.Dpc>();
o.add(buildDpc());
o.add(buildDpc());
return o;
}
-checkUnnamed2663(core.List<api.Dpc> o) {
+checkUnnamed2667(core.List<api.Dpc> o) {
unittest.expect(o, unittest.hasLength(2));
checkDpc(o[0]);
checkDpc(o[1]);
@@ -380,7 +380,7 @@
var o = new api.CustomerListDpcsResponse();
buildCounterCustomerListDpcsResponse++;
if (buildCounterCustomerListDpcsResponse < 3) {
- o.dpcs = buildUnnamed2663();
+ o.dpcs = buildUnnamed2667();
}
buildCounterCustomerListDpcsResponse--;
return o;
@@ -389,7 +389,7 @@
checkCustomerListDpcsResponse(api.CustomerListDpcsResponse o) {
buildCounterCustomerListDpcsResponse++;
if (buildCounterCustomerListDpcsResponse < 3) {
- checkUnnamed2663(o.dpcs);
+ checkUnnamed2667(o.dpcs);
}
buildCounterCustomerListDpcsResponse--;
}
@@ -433,14 +433,14 @@
buildCounterCustomerUnclaimDeviceRequest--;
}
-buildUnnamed2664() {
+buildUnnamed2668() {
var o = new core.List<api.DeviceClaim>();
o.add(buildDeviceClaim());
o.add(buildDeviceClaim());
return o;
}
-checkUnnamed2664(core.List<api.DeviceClaim> o) {
+checkUnnamed2668(core.List<api.DeviceClaim> o) {
unittest.expect(o, unittest.hasLength(2));
checkDeviceClaim(o[0]);
checkDeviceClaim(o[1]);
@@ -451,7 +451,7 @@
var o = new api.Device();
buildCounterDevice++;
if (buildCounterDevice < 3) {
- o.claims = buildUnnamed2664();
+ o.claims = buildUnnamed2668();
o.configuration = "foo";
o.deviceId = "foo";
o.deviceIdentifier = buildDeviceIdentifier();
@@ -465,7 +465,7 @@
checkDevice(api.Device o) {
buildCounterDevice++;
if (buildCounterDevice < 3) {
- checkUnnamed2664(o.claims);
+ checkUnnamed2668(o.claims);
unittest.expect(o.configuration, unittest.equals('foo'));
unittest.expect(o.deviceId, unittest.equals('foo'));
checkDeviceIdentifier(o.deviceIdentifier);
@@ -529,14 +529,14 @@
buildCounterDeviceIdentifier--;
}
-buildUnnamed2665() {
+buildUnnamed2669() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2665(core.Map<core.String, core.String> o) {
+checkUnnamed2669(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -547,7 +547,7 @@
var o = new api.DeviceMetadata();
buildCounterDeviceMetadata++;
if (buildCounterDeviceMetadata < 3) {
- o.entries = buildUnnamed2665();
+ o.entries = buildUnnamed2669();
}
buildCounterDeviceMetadata--;
return o;
@@ -556,7 +556,7 @@
checkDeviceMetadata(api.DeviceMetadata o) {
buildCounterDeviceMetadata++;
if (buildCounterDeviceMetadata < 3) {
- checkUnnamed2665(o.entries);
+ checkUnnamed2669(o.entries);
}
buildCounterDeviceMetadata--;
}
@@ -606,14 +606,14 @@
buildCounterDevicesLongRunningOperationMetadata--;
}
-buildUnnamed2666() {
+buildUnnamed2670() {
var o = new core.List<api.OperationPerDevice>();
o.add(buildOperationPerDevice());
o.add(buildOperationPerDevice());
return o;
}
-checkUnnamed2666(core.List<api.OperationPerDevice> o) {
+checkUnnamed2670(core.List<api.OperationPerDevice> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperationPerDevice(o[0]);
checkOperationPerDevice(o[1]);
@@ -624,7 +624,7 @@
var o = new api.DevicesLongRunningOperationResponse();
buildCounterDevicesLongRunningOperationResponse++;
if (buildCounterDevicesLongRunningOperationResponse < 3) {
- o.perDeviceStatus = buildUnnamed2666();
+ o.perDeviceStatus = buildUnnamed2670();
o.successCount = 42;
}
buildCounterDevicesLongRunningOperationResponse--;
@@ -635,7 +635,7 @@
api.DevicesLongRunningOperationResponse o) {
buildCounterDevicesLongRunningOperationResponse++;
if (buildCounterDevicesLongRunningOperationResponse < 3) {
- checkUnnamed2666(o.perDeviceStatus);
+ checkUnnamed2670(o.perDeviceStatus);
unittest.expect(o.successCount, unittest.equals(42));
}
buildCounterDevicesLongRunningOperationResponse--;
@@ -703,14 +703,14 @@
buildCounterFindDevicesByDeviceIdentifierRequest--;
}
-buildUnnamed2667() {
+buildUnnamed2671() {
var o = new core.List<api.Device>();
o.add(buildDevice());
o.add(buildDevice());
return o;
}
-checkUnnamed2667(core.List<api.Device> o) {
+checkUnnamed2671(core.List<api.Device> o) {
unittest.expect(o, unittest.hasLength(2));
checkDevice(o[0]);
checkDevice(o[1]);
@@ -721,7 +721,7 @@
var o = new api.FindDevicesByDeviceIdentifierResponse();
buildCounterFindDevicesByDeviceIdentifierResponse++;
if (buildCounterFindDevicesByDeviceIdentifierResponse < 3) {
- o.devices = buildUnnamed2667();
+ o.devices = buildUnnamed2671();
o.nextPageToken = "foo";
o.totalSize = 42;
}
@@ -733,21 +733,21 @@
api.FindDevicesByDeviceIdentifierResponse o) {
buildCounterFindDevicesByDeviceIdentifierResponse++;
if (buildCounterFindDevicesByDeviceIdentifierResponse < 3) {
- checkUnnamed2667(o.devices);
+ checkUnnamed2671(o.devices);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.totalSize, unittest.equals(42));
}
buildCounterFindDevicesByDeviceIdentifierResponse--;
}
-buildUnnamed2668() {
+buildUnnamed2672() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2668(core.List<core.String> o) {
+checkUnnamed2672(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -758,7 +758,7 @@
var o = new api.FindDevicesByOwnerRequest();
buildCounterFindDevicesByOwnerRequest++;
if (buildCounterFindDevicesByOwnerRequest < 3) {
- o.customerId = buildUnnamed2668();
+ o.customerId = buildUnnamed2672();
o.limit = "foo";
o.pageToken = "foo";
o.sectionType = "foo";
@@ -770,7 +770,7 @@
checkFindDevicesByOwnerRequest(api.FindDevicesByOwnerRequest o) {
buildCounterFindDevicesByOwnerRequest++;
if (buildCounterFindDevicesByOwnerRequest < 3) {
- checkUnnamed2668(o.customerId);
+ checkUnnamed2672(o.customerId);
unittest.expect(o.limit, unittest.equals('foo'));
unittest.expect(o.pageToken, unittest.equals('foo'));
unittest.expect(o.sectionType, unittest.equals('foo'));
@@ -778,14 +778,14 @@
buildCounterFindDevicesByOwnerRequest--;
}
-buildUnnamed2669() {
+buildUnnamed2673() {
var o = new core.List<api.Device>();
o.add(buildDevice());
o.add(buildDevice());
return o;
}
-checkUnnamed2669(core.List<api.Device> o) {
+checkUnnamed2673(core.List<api.Device> o) {
unittest.expect(o, unittest.hasLength(2));
checkDevice(o[0]);
checkDevice(o[1]);
@@ -796,7 +796,7 @@
var o = new api.FindDevicesByOwnerResponse();
buildCounterFindDevicesByOwnerResponse++;
if (buildCounterFindDevicesByOwnerResponse < 3) {
- o.devices = buildUnnamed2669();
+ o.devices = buildUnnamed2673();
o.nextPageToken = "foo";
o.totalSize = 42;
}
@@ -807,21 +807,21 @@
checkFindDevicesByOwnerResponse(api.FindDevicesByOwnerResponse o) {
buildCounterFindDevicesByOwnerResponse++;
if (buildCounterFindDevicesByOwnerResponse < 3) {
- checkUnnamed2669(o.devices);
+ checkUnnamed2673(o.devices);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.totalSize, unittest.equals(42));
}
buildCounterFindDevicesByOwnerResponse--;
}
-buildUnnamed2670() {
+buildUnnamed2674() {
var o = new core.List<api.Company>();
o.add(buildCompany());
o.add(buildCompany());
return o;
}
-checkUnnamed2670(core.List<api.Company> o) {
+checkUnnamed2674(core.List<api.Company> o) {
unittest.expect(o, unittest.hasLength(2));
checkCompany(o[0]);
checkCompany(o[1]);
@@ -832,7 +832,7 @@
var o = new api.ListCustomersResponse();
buildCounterListCustomersResponse++;
if (buildCounterListCustomersResponse < 3) {
- o.customers = buildUnnamed2670();
+ o.customers = buildUnnamed2674();
o.nextPageToken = "foo";
o.totalSize = 42;
}
@@ -843,21 +843,21 @@
checkListCustomersResponse(api.ListCustomersResponse o) {
buildCounterListCustomersResponse++;
if (buildCounterListCustomersResponse < 3) {
- checkUnnamed2670(o.customers);
+ checkUnnamed2674(o.customers);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.totalSize, unittest.equals(42));
}
buildCounterListCustomersResponse--;
}
-buildUnnamed2671() {
+buildUnnamed2675() {
var o = new core.List<api.Company>();
o.add(buildCompany());
o.add(buildCompany());
return o;
}
-checkUnnamed2671(core.List<api.Company> o) {
+checkUnnamed2675(core.List<api.Company> o) {
unittest.expect(o, unittest.hasLength(2));
checkCompany(o[0]);
checkCompany(o[1]);
@@ -868,7 +868,7 @@
var o = new api.ListVendorCustomersResponse();
buildCounterListVendorCustomersResponse++;
if (buildCounterListVendorCustomersResponse < 3) {
- o.customers = buildUnnamed2671();
+ o.customers = buildUnnamed2675();
o.nextPageToken = "foo";
o.totalSize = 42;
}
@@ -879,21 +879,21 @@
checkListVendorCustomersResponse(api.ListVendorCustomersResponse o) {
buildCounterListVendorCustomersResponse++;
if (buildCounterListVendorCustomersResponse < 3) {
- checkUnnamed2671(o.customers);
+ checkUnnamed2675(o.customers);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.totalSize, unittest.equals(42));
}
buildCounterListVendorCustomersResponse--;
}
-buildUnnamed2672() {
+buildUnnamed2676() {
var o = new core.List<api.Company>();
o.add(buildCompany());
o.add(buildCompany());
return o;
}
-checkUnnamed2672(core.List<api.Company> o) {
+checkUnnamed2676(core.List<api.Company> o) {
unittest.expect(o, unittest.hasLength(2));
checkCompany(o[0]);
checkCompany(o[1]);
@@ -906,7 +906,7 @@
if (buildCounterListVendorsResponse < 3) {
o.nextPageToken = "foo";
o.totalSize = 42;
- o.vendors = buildUnnamed2672();
+ o.vendors = buildUnnamed2676();
}
buildCounterListVendorsResponse--;
return o;
@@ -917,12 +917,12 @@
if (buildCounterListVendorsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.totalSize, unittest.equals(42));
- checkUnnamed2672(o.vendors);
+ checkUnnamed2676(o.vendors);
}
buildCounterListVendorsResponse--;
}
-buildUnnamed2673() {
+buildUnnamed2677() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -937,7 +937,7 @@
return o;
}
-checkUnnamed2673(core.Map<core.String, core.Object> o) {
+checkUnnamed2677(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o["x"]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -951,7 +951,7 @@
unittest.expect(casted2["string"], unittest.equals('foo'));
}
-buildUnnamed2674() {
+buildUnnamed2678() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -966,7 +966,7 @@
return o;
}
-checkUnnamed2674(core.Map<core.String, core.Object> o) {
+checkUnnamed2678(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted3 = (o["x"]) as core.Map;
unittest.expect(casted3, unittest.hasLength(3));
@@ -987,9 +987,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed2673();
+ o.metadata = buildUnnamed2677();
o.name = "foo";
- o.response = buildUnnamed2674();
+ o.response = buildUnnamed2678();
}
buildCounterOperation--;
return o;
@@ -1000,9 +1000,9 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed2673(o.metadata);
+ checkUnnamed2677(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2674(o.response);
+ checkUnnamed2678(o.response);
}
buildCounterOperation--;
}
@@ -1109,7 +1109,7 @@
buildCounterPerDeviceStatusInBatch--;
}
-buildUnnamed2675() {
+buildUnnamed2679() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1124,7 +1124,7 @@
return o;
}
-checkUnnamed2675(core.Map<core.String, core.Object> o) {
+checkUnnamed2679(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted5 = (o["x"]) as core.Map;
unittest.expect(casted5, unittest.hasLength(3));
@@ -1138,17 +1138,17 @@
unittest.expect(casted6["string"], unittest.equals('foo'));
}
-buildUnnamed2676() {
+buildUnnamed2680() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed2675());
- o.add(buildUnnamed2675());
+ o.add(buildUnnamed2679());
+ o.add(buildUnnamed2679());
return o;
}
-checkUnnamed2676(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed2680(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2675(o[0]);
- checkUnnamed2675(o[1]);
+ checkUnnamed2679(o[0]);
+ checkUnnamed2679(o[1]);
}
core.int buildCounterStatus = 0;
@@ -1157,7 +1157,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed2676();
+ o.details = buildUnnamed2680();
o.message = "foo";
}
buildCounterStatus--;
@@ -1168,7 +1168,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed2676(o.details);
+ checkUnnamed2680(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
@@ -1201,14 +1201,14 @@
buildCounterUnclaimDeviceRequest--;
}
-buildUnnamed2677() {
+buildUnnamed2681() {
var o = new core.List<api.PartnerUnclaim>();
o.add(buildPartnerUnclaim());
o.add(buildPartnerUnclaim());
return o;
}
-checkUnnamed2677(core.List<api.PartnerUnclaim> o) {
+checkUnnamed2681(core.List<api.PartnerUnclaim> o) {
unittest.expect(o, unittest.hasLength(2));
checkPartnerUnclaim(o[0]);
checkPartnerUnclaim(o[1]);
@@ -1219,7 +1219,7 @@
var o = new api.UnclaimDevicesRequest();
buildCounterUnclaimDevicesRequest++;
if (buildCounterUnclaimDevicesRequest < 3) {
- o.unclaims = buildUnnamed2677();
+ o.unclaims = buildUnnamed2681();
}
buildCounterUnclaimDevicesRequest--;
return o;
@@ -1228,19 +1228,19 @@
checkUnclaimDevicesRequest(api.UnclaimDevicesRequest o) {
buildCounterUnclaimDevicesRequest++;
if (buildCounterUnclaimDevicesRequest < 3) {
- checkUnnamed2677(o.unclaims);
+ checkUnnamed2681(o.unclaims);
}
buildCounterUnclaimDevicesRequest--;
}
-buildUnnamed2678() {
+buildUnnamed2682() {
var o = new core.List<api.UpdateMetadataArguments>();
o.add(buildUpdateMetadataArguments());
o.add(buildUpdateMetadataArguments());
return o;
}
-checkUnnamed2678(core.List<api.UpdateMetadataArguments> o) {
+checkUnnamed2682(core.List<api.UpdateMetadataArguments> o) {
unittest.expect(o, unittest.hasLength(2));
checkUpdateMetadataArguments(o[0]);
checkUpdateMetadataArguments(o[1]);
@@ -1251,7 +1251,7 @@
var o = new api.UpdateDeviceMetadataInBatchRequest();
buildCounterUpdateDeviceMetadataInBatchRequest++;
if (buildCounterUpdateDeviceMetadataInBatchRequest < 3) {
- o.updates = buildUnnamed2678();
+ o.updates = buildUnnamed2682();
}
buildCounterUpdateDeviceMetadataInBatchRequest--;
return o;
@@ -1261,7 +1261,7 @@
api.UpdateDeviceMetadataInBatchRequest o) {
buildCounterUpdateDeviceMetadataInBatchRequest++;
if (buildCounterUpdateDeviceMetadataInBatchRequest < 3) {
- checkUnnamed2678(o.updates);
+ checkUnnamed2682(o.updates);
}
buildCounterUpdateDeviceMetadataInBatchRequest--;
}
@@ -1636,8 +1636,8 @@
var mock = new HttpServerMock();
api.CustomersResourceApi res =
new api.AndroiddeviceprovisioningApi(mock).customers;
- 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;
@@ -1669,10 +1669,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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 = {
@@ -1683,8 +1683,8 @@
}), true);
res
.list(
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkCustomerListCustomersResponse(response);
@@ -3051,8 +3051,8 @@
api.PartnersVendorsCustomersResourceApi res =
new api.AndroiddeviceprovisioningApi(mock).partners.vendors.customers;
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;
@@ -3085,10 +3085,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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 = {
@@ -3099,8 +3099,8 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListVendorCustomersResponse(response);
diff --git a/generated/googleapis/test/androidenterprise/v1_test.dart b/generated/googleapis/test/androidenterprise/v1_test.dart
index 2bd29b1..68f08e5 100644
--- a/generated/googleapis/test/androidenterprise/v1_test.dart
+++ b/generated/googleapis/test/androidenterprise/v1_test.dart
@@ -88,14 +88,14 @@
buildCounterAdministratorWebToken--;
}
-buildUnnamed2439() {
+buildUnnamed2443() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2439(core.List<core.String> o) {
+checkUnnamed2443(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -109,7 +109,7 @@
o.managedConfigurations =
buildAdministratorWebTokenSpecManagedConfigurations();
o.parent = "foo";
- o.permission = buildUnnamed2439();
+ o.permission = buildUnnamed2443();
o.playSearch = buildAdministratorWebTokenSpecPlaySearch();
o.privateApps = buildAdministratorWebTokenSpecPrivateApps();
o.storeBuilder = buildAdministratorWebTokenSpecStoreBuilder();
@@ -125,7 +125,7 @@
checkAdministratorWebTokenSpecManagedConfigurations(
o.managedConfigurations);
unittest.expect(o.parent, unittest.equals('foo'));
- checkUnnamed2439(o.permission);
+ checkUnnamed2443(o.permission);
checkAdministratorWebTokenSpecPlaySearch(o.playSearch);
checkAdministratorWebTokenSpecPrivateApps(o.privateApps);
checkAdministratorWebTokenSpecStoreBuilder(o.storeBuilder);
@@ -235,14 +235,14 @@
buildCounterAdministratorWebTokenSpecWebApps--;
}
-buildUnnamed2440() {
+buildUnnamed2444() {
var o = new core.List<api.AppRestrictionsSchemaRestriction>();
o.add(buildAppRestrictionsSchemaRestriction());
o.add(buildAppRestrictionsSchemaRestriction());
return o;
}
-checkUnnamed2440(core.List<api.AppRestrictionsSchemaRestriction> o) {
+checkUnnamed2444(core.List<api.AppRestrictionsSchemaRestriction> o) {
unittest.expect(o, unittest.hasLength(2));
checkAppRestrictionsSchemaRestriction(o[0]);
checkAppRestrictionsSchemaRestriction(o[1]);
@@ -254,7 +254,7 @@
buildCounterAppRestrictionsSchema++;
if (buildCounterAppRestrictionsSchema < 3) {
o.kind = "foo";
- o.restrictions = buildUnnamed2440();
+ o.restrictions = buildUnnamed2444();
}
buildCounterAppRestrictionsSchema--;
return o;
@@ -264,7 +264,7 @@
buildCounterAppRestrictionsSchema++;
if (buildCounterAppRestrictionsSchema < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2440(o.restrictions);
+ checkUnnamed2444(o.restrictions);
}
buildCounterAppRestrictionsSchema--;
}
@@ -288,40 +288,40 @@
buildCounterAppRestrictionsSchemaChangeEvent--;
}
-buildUnnamed2441() {
+buildUnnamed2445() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2441(core.List<core.String> o) {
+checkUnnamed2445(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2442() {
+buildUnnamed2446() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2442(core.List<core.String> o) {
+checkUnnamed2446(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2443() {
+buildUnnamed2447() {
var o = new core.List<api.AppRestrictionsSchemaRestriction>();
o.add(buildAppRestrictionsSchemaRestriction());
o.add(buildAppRestrictionsSchemaRestriction());
return o;
}
-checkUnnamed2443(core.List<api.AppRestrictionsSchemaRestriction> o) {
+checkUnnamed2447(core.List<api.AppRestrictionsSchemaRestriction> o) {
unittest.expect(o, unittest.hasLength(2));
checkAppRestrictionsSchemaRestriction(o[0]);
checkAppRestrictionsSchemaRestriction(o[1]);
@@ -334,10 +334,10 @@
if (buildCounterAppRestrictionsSchemaRestriction < 3) {
o.defaultValue = buildAppRestrictionsSchemaRestrictionRestrictionValue();
o.description = "foo";
- o.entry = buildUnnamed2441();
- o.entryValue = buildUnnamed2442();
+ o.entry = buildUnnamed2445();
+ o.entryValue = buildUnnamed2446();
o.key = "foo";
- o.nestedRestriction = buildUnnamed2443();
+ o.nestedRestriction = buildUnnamed2447();
o.restrictionType = "foo";
o.title = "foo";
}
@@ -350,24 +350,24 @@
if (buildCounterAppRestrictionsSchemaRestriction < 3) {
checkAppRestrictionsSchemaRestrictionRestrictionValue(o.defaultValue);
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed2441(o.entry);
- checkUnnamed2442(o.entryValue);
+ checkUnnamed2445(o.entry);
+ checkUnnamed2446(o.entryValue);
unittest.expect(o.key, unittest.equals('foo'));
- checkUnnamed2443(o.nestedRestriction);
+ checkUnnamed2447(o.nestedRestriction);
unittest.expect(o.restrictionType, unittest.equals('foo'));
unittest.expect(o.title, unittest.equals('foo'));
}
buildCounterAppRestrictionsSchemaRestriction--;
}
-buildUnnamed2444() {
+buildUnnamed2448() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2444(core.List<core.String> o) {
+checkUnnamed2448(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -381,7 +381,7 @@
o.type = "foo";
o.valueBool = true;
o.valueInteger = 42;
- o.valueMultiselect = buildUnnamed2444();
+ o.valueMultiselect = buildUnnamed2448();
o.valueString = "foo";
}
buildCounterAppRestrictionsSchemaRestrictionRestrictionValue--;
@@ -395,20 +395,20 @@
unittest.expect(o.type, unittest.equals('foo'));
unittest.expect(o.valueBool, unittest.isTrue);
unittest.expect(o.valueInteger, unittest.equals(42));
- checkUnnamed2444(o.valueMultiselect);
+ checkUnnamed2448(o.valueMultiselect);
unittest.expect(o.valueString, unittest.equals('foo'));
}
buildCounterAppRestrictionsSchemaRestrictionRestrictionValue--;
}
-buildUnnamed2445() {
+buildUnnamed2449() {
var o = new core.List<api.KeyedAppState>();
o.add(buildKeyedAppState());
o.add(buildKeyedAppState());
return o;
}
-checkUnnamed2445(core.List<api.KeyedAppState> o) {
+checkUnnamed2449(core.List<api.KeyedAppState> o) {
unittest.expect(o, unittest.hasLength(2));
checkKeyedAppState(o[0]);
checkKeyedAppState(o[1]);
@@ -419,7 +419,7 @@
var o = new api.AppState();
buildCounterAppState++;
if (buildCounterAppState < 3) {
- o.keyedAppState = buildUnnamed2445();
+ o.keyedAppState = buildUnnamed2449();
o.packageName = "foo";
}
buildCounterAppState--;
@@ -429,7 +429,7 @@
checkAppState(api.AppState o) {
buildCounterAppState++;
if (buildCounterAppState < 3) {
- checkUnnamed2445(o.keyedAppState);
+ checkUnnamed2449(o.keyedAppState);
unittest.expect(o.packageName, unittest.equals('foo'));
}
buildCounterAppState--;
@@ -454,14 +454,14 @@
buildCounterAppUpdateEvent--;
}
-buildUnnamed2446() {
+buildUnnamed2450() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2446(core.List<core.String> o) {
+checkUnnamed2450(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -474,7 +474,7 @@
if (buildCounterAppVersion < 3) {
o.isProduction = true;
o.track = "foo";
- o.trackId = buildUnnamed2446();
+ o.trackId = buildUnnamed2450();
o.versionCode = 42;
o.versionString = "foo";
}
@@ -487,7 +487,7 @@
if (buildCounterAppVersion < 3) {
unittest.expect(o.isProduction, unittest.isTrue);
unittest.expect(o.track, unittest.equals('foo'));
- checkUnnamed2446(o.trackId);
+ checkUnnamed2450(o.trackId);
unittest.expect(o.versionCode, unittest.equals(42));
unittest.expect(o.versionString, unittest.equals('foo'));
}
@@ -555,14 +555,14 @@
buildCounterAutoInstallConstraint--;
}
-buildUnnamed2447() {
+buildUnnamed2451() {
var o = new core.List<api.AutoInstallConstraint>();
o.add(buildAutoInstallConstraint());
o.add(buildAutoInstallConstraint());
return o;
}
-checkUnnamed2447(core.List<api.AutoInstallConstraint> o) {
+checkUnnamed2451(core.List<api.AutoInstallConstraint> o) {
unittest.expect(o, unittest.hasLength(2));
checkAutoInstallConstraint(o[0]);
checkAutoInstallConstraint(o[1]);
@@ -573,7 +573,7 @@
var o = new api.AutoInstallPolicy();
buildCounterAutoInstallPolicy++;
if (buildCounterAutoInstallPolicy < 3) {
- o.autoInstallConstraint = buildUnnamed2447();
+ o.autoInstallConstraint = buildUnnamed2451();
o.autoInstallMode = "foo";
o.autoInstallPriority = 42;
o.minimumVersionCode = 42;
@@ -585,7 +585,7 @@
checkAutoInstallPolicy(api.AutoInstallPolicy o) {
buildCounterAutoInstallPolicy++;
if (buildCounterAutoInstallPolicy < 3) {
- checkUnnamed2447(o.autoInstallConstraint);
+ checkUnnamed2451(o.autoInstallConstraint);
unittest.expect(o.autoInstallMode, unittest.equals('foo'));
unittest.expect(o.autoInstallPriority, unittest.equals(42));
unittest.expect(o.minimumVersionCode, unittest.equals(42));
@@ -593,14 +593,14 @@
buildCounterAutoInstallPolicy--;
}
-buildUnnamed2448() {
+buildUnnamed2452() {
var o = new core.List<api.VariableSet>();
o.add(buildVariableSet());
o.add(buildVariableSet());
return o;
}
-checkUnnamed2448(core.List<api.VariableSet> o) {
+checkUnnamed2452(core.List<api.VariableSet> o) {
unittest.expect(o, unittest.hasLength(2));
checkVariableSet(o[0]);
checkVariableSet(o[1]);
@@ -612,7 +612,7 @@
buildCounterConfigurationVariables++;
if (buildCounterConfigurationVariables < 3) {
o.mcmId = "foo";
- o.variableSet = buildUnnamed2448();
+ o.variableSet = buildUnnamed2452();
}
buildCounterConfigurationVariables--;
return o;
@@ -622,7 +622,7 @@
buildCounterConfigurationVariables++;
if (buildCounterConfigurationVariables < 3) {
unittest.expect(o.mcmId, unittest.equals('foo'));
- checkUnnamed2448(o.variableSet);
+ checkUnnamed2452(o.variableSet);
}
buildCounterConfigurationVariables--;
}
@@ -652,14 +652,14 @@
buildCounterDevice--;
}
-buildUnnamed2449() {
+buildUnnamed2453() {
var o = new core.List<api.AppState>();
o.add(buildAppState());
o.add(buildAppState());
return o;
}
-checkUnnamed2449(core.List<api.AppState> o) {
+checkUnnamed2453(core.List<api.AppState> o) {
unittest.expect(o, unittest.hasLength(2));
checkAppState(o[0]);
checkAppState(o[1]);
@@ -670,7 +670,7 @@
var o = new api.DeviceReport();
buildCounterDeviceReport++;
if (buildCounterDeviceReport < 3) {
- o.appState = buildUnnamed2449();
+ o.appState = buildUnnamed2453();
o.lastUpdatedTimestampMillis = "foo";
}
buildCounterDeviceReport--;
@@ -680,7 +680,7 @@
checkDeviceReport(api.DeviceReport o) {
buildCounterDeviceReport++;
if (buildCounterDeviceReport < 3) {
- checkUnnamed2449(o.appState);
+ checkUnnamed2453(o.appState);
unittest.expect(o.lastUpdatedTimestampMillis, unittest.equals('foo'));
}
buildCounterDeviceReport--;
@@ -728,14 +728,14 @@
buildCounterDeviceState--;
}
-buildUnnamed2450() {
+buildUnnamed2454() {
var o = new core.List<api.Device>();
o.add(buildDevice());
o.add(buildDevice());
return o;
}
-checkUnnamed2450(core.List<api.Device> o) {
+checkUnnamed2454(core.List<api.Device> o) {
unittest.expect(o, unittest.hasLength(2));
checkDevice(o[0]);
checkDevice(o[1]);
@@ -746,7 +746,7 @@
var o = new api.DevicesListResponse();
buildCounterDevicesListResponse++;
if (buildCounterDevicesListResponse < 3) {
- o.device = buildUnnamed2450();
+ o.device = buildUnnamed2454();
}
buildCounterDevicesListResponse--;
return o;
@@ -755,19 +755,19 @@
checkDevicesListResponse(api.DevicesListResponse o) {
buildCounterDevicesListResponse++;
if (buildCounterDevicesListResponse < 3) {
- checkUnnamed2450(o.device);
+ checkUnnamed2454(o.device);
}
buildCounterDevicesListResponse--;
}
-buildUnnamed2451() {
+buildUnnamed2455() {
var o = new core.List<api.Administrator>();
o.add(buildAdministrator());
o.add(buildAdministrator());
return o;
}
-checkUnnamed2451(core.List<api.Administrator> o) {
+checkUnnamed2455(core.List<api.Administrator> o) {
unittest.expect(o, unittest.hasLength(2));
checkAdministrator(o[0]);
checkAdministrator(o[1]);
@@ -778,7 +778,7 @@
var o = new api.Enterprise();
buildCounterEnterprise++;
if (buildCounterEnterprise < 3) {
- o.administrator = buildUnnamed2451();
+ o.administrator = buildUnnamed2455();
o.id = "foo";
o.name = "foo";
o.primaryDomain = "foo";
@@ -790,7 +790,7 @@
checkEnterprise(api.Enterprise o) {
buildCounterEnterprise++;
if (buildCounterEnterprise < 3) {
- checkUnnamed2451(o.administrator);
+ checkUnnamed2455(o.administrator);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.primaryDomain, unittest.equals('foo'));
@@ -817,14 +817,14 @@
buildCounterEnterpriseAccount--;
}
-buildUnnamed2452() {
+buildUnnamed2456() {
var o = new core.List<api.Enterprise>();
o.add(buildEnterprise());
o.add(buildEnterprise());
return o;
}
-checkUnnamed2452(core.List<api.Enterprise> o) {
+checkUnnamed2456(core.List<api.Enterprise> o) {
unittest.expect(o, unittest.hasLength(2));
checkEnterprise(o[0]);
checkEnterprise(o[1]);
@@ -835,7 +835,7 @@
var o = new api.EnterprisesListResponse();
buildCounterEnterprisesListResponse++;
if (buildCounterEnterprisesListResponse < 3) {
- o.enterprise = buildUnnamed2452();
+ o.enterprise = buildUnnamed2456();
}
buildCounterEnterprisesListResponse--;
return o;
@@ -844,7 +844,7 @@
checkEnterprisesListResponse(api.EnterprisesListResponse o) {
buildCounterEnterprisesListResponse++;
if (buildCounterEnterprisesListResponse < 3) {
- checkUnnamed2452(o.enterprise);
+ checkUnnamed2456(o.enterprise);
}
buildCounterEnterprisesListResponse--;
}
@@ -892,14 +892,14 @@
buildCounterEntitlement--;
}
-buildUnnamed2453() {
+buildUnnamed2457() {
var o = new core.List<api.Entitlement>();
o.add(buildEntitlement());
o.add(buildEntitlement());
return o;
}
-checkUnnamed2453(core.List<api.Entitlement> o) {
+checkUnnamed2457(core.List<api.Entitlement> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntitlement(o[0]);
checkEntitlement(o[1]);
@@ -910,7 +910,7 @@
var o = new api.EntitlementsListResponse();
buildCounterEntitlementsListResponse++;
if (buildCounterEntitlementsListResponse < 3) {
- o.entitlement = buildUnnamed2453();
+ o.entitlement = buildUnnamed2457();
}
buildCounterEntitlementsListResponse--;
return o;
@@ -919,7 +919,7 @@
checkEntitlementsListResponse(api.EntitlementsListResponse o) {
buildCounterEntitlementsListResponse++;
if (buildCounterEntitlementsListResponse < 3) {
- checkUnnamed2453(o.entitlement);
+ checkUnnamed2457(o.entitlement);
}
buildCounterEntitlementsListResponse--;
}
@@ -953,14 +953,14 @@
buildCounterGroupLicense--;
}
-buildUnnamed2454() {
+buildUnnamed2458() {
var o = new core.List<api.User>();
o.add(buildUser());
o.add(buildUser());
return o;
}
-checkUnnamed2454(core.List<api.User> o) {
+checkUnnamed2458(core.List<api.User> o) {
unittest.expect(o, unittest.hasLength(2));
checkUser(o[0]);
checkUser(o[1]);
@@ -971,7 +971,7 @@
var o = new api.GroupLicenseUsersListResponse();
buildCounterGroupLicenseUsersListResponse++;
if (buildCounterGroupLicenseUsersListResponse < 3) {
- o.user = buildUnnamed2454();
+ o.user = buildUnnamed2458();
}
buildCounterGroupLicenseUsersListResponse--;
return o;
@@ -980,19 +980,19 @@
checkGroupLicenseUsersListResponse(api.GroupLicenseUsersListResponse o) {
buildCounterGroupLicenseUsersListResponse++;
if (buildCounterGroupLicenseUsersListResponse < 3) {
- checkUnnamed2454(o.user);
+ checkUnnamed2458(o.user);
}
buildCounterGroupLicenseUsersListResponse--;
}
-buildUnnamed2455() {
+buildUnnamed2459() {
var o = new core.List<api.GroupLicense>();
o.add(buildGroupLicense());
o.add(buildGroupLicense());
return o;
}
-checkUnnamed2455(core.List<api.GroupLicense> o) {
+checkUnnamed2459(core.List<api.GroupLicense> o) {
unittest.expect(o, unittest.hasLength(2));
checkGroupLicense(o[0]);
checkGroupLicense(o[1]);
@@ -1003,7 +1003,7 @@
var o = new api.GroupLicensesListResponse();
buildCounterGroupLicensesListResponse++;
if (buildCounterGroupLicensesListResponse < 3) {
- o.groupLicense = buildUnnamed2455();
+ o.groupLicense = buildUnnamed2459();
}
buildCounterGroupLicensesListResponse--;
return o;
@@ -1012,7 +1012,7 @@
checkGroupLicensesListResponse(api.GroupLicensesListResponse o) {
buildCounterGroupLicensesListResponse++;
if (buildCounterGroupLicensesListResponse < 3) {
- checkUnnamed2455(o.groupLicense);
+ checkUnnamed2459(o.groupLicense);
}
buildCounterGroupLicensesListResponse--;
}
@@ -1067,14 +1067,14 @@
buildCounterInstallFailureEvent--;
}
-buildUnnamed2456() {
+buildUnnamed2460() {
var o = new core.List<api.Install>();
o.add(buildInstall());
o.add(buildInstall());
return o;
}
-checkUnnamed2456(core.List<api.Install> o) {
+checkUnnamed2460(core.List<api.Install> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstall(o[0]);
checkInstall(o[1]);
@@ -1085,7 +1085,7 @@
var o = new api.InstallsListResponse();
buildCounterInstallsListResponse++;
if (buildCounterInstallsListResponse < 3) {
- o.install = buildUnnamed2456();
+ o.install = buildUnnamed2460();
}
buildCounterInstallsListResponse--;
return o;
@@ -1094,7 +1094,7 @@
checkInstallsListResponse(api.InstallsListResponse o) {
buildCounterInstallsListResponse++;
if (buildCounterInstallsListResponse < 3) {
- checkUnnamed2456(o.install);
+ checkUnnamed2460(o.install);
}
buildCounterInstallsListResponse--;
}
@@ -1168,14 +1168,14 @@
buildCounterMaintenanceWindow--;
}
-buildUnnamed2457() {
+buildUnnamed2461() {
var o = new core.List<api.ManagedProperty>();
o.add(buildManagedProperty());
o.add(buildManagedProperty());
return o;
}
-checkUnnamed2457(core.List<api.ManagedProperty> o) {
+checkUnnamed2461(core.List<api.ManagedProperty> o) {
unittest.expect(o, unittest.hasLength(2));
checkManagedProperty(o[0]);
checkManagedProperty(o[1]);
@@ -1188,7 +1188,7 @@
if (buildCounterManagedConfiguration < 3) {
o.configurationVariables = buildConfigurationVariables();
o.kind = "foo";
- o.managedProperty = buildUnnamed2457();
+ o.managedProperty = buildUnnamed2461();
o.productId = "foo";
}
buildCounterManagedConfiguration--;
@@ -1200,20 +1200,20 @@
if (buildCounterManagedConfiguration < 3) {
checkConfigurationVariables(o.configurationVariables);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2457(o.managedProperty);
+ checkUnnamed2461(o.managedProperty);
unittest.expect(o.productId, unittest.equals('foo'));
}
buildCounterManagedConfiguration--;
}
-buildUnnamed2458() {
+buildUnnamed2462() {
var o = new core.List<api.ManagedConfiguration>();
o.add(buildManagedConfiguration());
o.add(buildManagedConfiguration());
return o;
}
-checkUnnamed2458(core.List<api.ManagedConfiguration> o) {
+checkUnnamed2462(core.List<api.ManagedConfiguration> o) {
unittest.expect(o, unittest.hasLength(2));
checkManagedConfiguration(o[0]);
checkManagedConfiguration(o[1]);
@@ -1224,7 +1224,7 @@
var o = new api.ManagedConfigurationsForDeviceListResponse();
buildCounterManagedConfigurationsForDeviceListResponse++;
if (buildCounterManagedConfigurationsForDeviceListResponse < 3) {
- o.managedConfigurationForDevice = buildUnnamed2458();
+ o.managedConfigurationForDevice = buildUnnamed2462();
}
buildCounterManagedConfigurationsForDeviceListResponse--;
return o;
@@ -1234,19 +1234,19 @@
api.ManagedConfigurationsForDeviceListResponse o) {
buildCounterManagedConfigurationsForDeviceListResponse++;
if (buildCounterManagedConfigurationsForDeviceListResponse < 3) {
- checkUnnamed2458(o.managedConfigurationForDevice);
+ checkUnnamed2462(o.managedConfigurationForDevice);
}
buildCounterManagedConfigurationsForDeviceListResponse--;
}
-buildUnnamed2459() {
+buildUnnamed2463() {
var o = new core.List<api.ManagedConfiguration>();
o.add(buildManagedConfiguration());
o.add(buildManagedConfiguration());
return o;
}
-checkUnnamed2459(core.List<api.ManagedConfiguration> o) {
+checkUnnamed2463(core.List<api.ManagedConfiguration> o) {
unittest.expect(o, unittest.hasLength(2));
checkManagedConfiguration(o[0]);
checkManagedConfiguration(o[1]);
@@ -1257,7 +1257,7 @@
var o = new api.ManagedConfigurationsForUserListResponse();
buildCounterManagedConfigurationsForUserListResponse++;
if (buildCounterManagedConfigurationsForUserListResponse < 3) {
- o.managedConfigurationForUser = buildUnnamed2459();
+ o.managedConfigurationForUser = buildUnnamed2463();
}
buildCounterManagedConfigurationsForUserListResponse--;
return o;
@@ -1267,7 +1267,7 @@
api.ManagedConfigurationsForUserListResponse o) {
buildCounterManagedConfigurationsForUserListResponse++;
if (buildCounterManagedConfigurationsForUserListResponse < 3) {
- checkUnnamed2459(o.managedConfigurationForUser);
+ checkUnnamed2463(o.managedConfigurationForUser);
}
buildCounterManagedConfigurationsForUserListResponse--;
}
@@ -1295,14 +1295,14 @@
buildCounterManagedConfigurationsSettings--;
}
-buildUnnamed2460() {
+buildUnnamed2464() {
var o = new core.List<api.ManagedConfigurationsSettings>();
o.add(buildManagedConfigurationsSettings());
o.add(buildManagedConfigurationsSettings());
return o;
}
-checkUnnamed2460(core.List<api.ManagedConfigurationsSettings> o) {
+checkUnnamed2464(core.List<api.ManagedConfigurationsSettings> o) {
unittest.expect(o, unittest.hasLength(2));
checkManagedConfigurationsSettings(o[0]);
checkManagedConfigurationsSettings(o[1]);
@@ -1313,7 +1313,7 @@
var o = new api.ManagedConfigurationsSettingsListResponse();
buildCounterManagedConfigurationsSettingsListResponse++;
if (buildCounterManagedConfigurationsSettingsListResponse < 3) {
- o.managedConfigurationsSettings = buildUnnamed2460();
+ o.managedConfigurationsSettings = buildUnnamed2464();
}
buildCounterManagedConfigurationsSettingsListResponse--;
return o;
@@ -1323,32 +1323,32 @@
api.ManagedConfigurationsSettingsListResponse o) {
buildCounterManagedConfigurationsSettingsListResponse++;
if (buildCounterManagedConfigurationsSettingsListResponse < 3) {
- checkUnnamed2460(o.managedConfigurationsSettings);
+ checkUnnamed2464(o.managedConfigurationsSettings);
}
buildCounterManagedConfigurationsSettingsListResponse--;
}
-buildUnnamed2461() {
+buildUnnamed2465() {
var o = new core.List<api.ManagedPropertyBundle>();
o.add(buildManagedPropertyBundle());
o.add(buildManagedPropertyBundle());
return o;
}
-checkUnnamed2461(core.List<api.ManagedPropertyBundle> o) {
+checkUnnamed2465(core.List<api.ManagedPropertyBundle> o) {
unittest.expect(o, unittest.hasLength(2));
checkManagedPropertyBundle(o[0]);
checkManagedPropertyBundle(o[1]);
}
-buildUnnamed2462() {
+buildUnnamed2466() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2462(core.List<core.String> o) {
+checkUnnamed2466(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1362,10 +1362,10 @@
o.key = "foo";
o.valueBool = true;
o.valueBundle = buildManagedPropertyBundle();
- o.valueBundleArray = buildUnnamed2461();
+ o.valueBundleArray = buildUnnamed2465();
o.valueInteger = 42;
o.valueString = "foo";
- o.valueStringArray = buildUnnamed2462();
+ o.valueStringArray = buildUnnamed2466();
}
buildCounterManagedProperty--;
return o;
@@ -1377,22 +1377,22 @@
unittest.expect(o.key, unittest.equals('foo'));
unittest.expect(o.valueBool, unittest.isTrue);
checkManagedPropertyBundle(o.valueBundle);
- checkUnnamed2461(o.valueBundleArray);
+ checkUnnamed2465(o.valueBundleArray);
unittest.expect(o.valueInteger, unittest.equals(42));
unittest.expect(o.valueString, unittest.equals('foo'));
- checkUnnamed2462(o.valueStringArray);
+ checkUnnamed2466(o.valueStringArray);
}
buildCounterManagedProperty--;
}
-buildUnnamed2463() {
+buildUnnamed2467() {
var o = new core.List<api.ManagedProperty>();
o.add(buildManagedProperty());
o.add(buildManagedProperty());
return o;
}
-checkUnnamed2463(core.List<api.ManagedProperty> o) {
+checkUnnamed2467(core.List<api.ManagedProperty> o) {
unittest.expect(o, unittest.hasLength(2));
checkManagedProperty(o[0]);
checkManagedProperty(o[1]);
@@ -1403,7 +1403,7 @@
var o = new api.ManagedPropertyBundle();
buildCounterManagedPropertyBundle++;
if (buildCounterManagedPropertyBundle < 3) {
- o.managedProperty = buildUnnamed2463();
+ o.managedProperty = buildUnnamed2467();
}
buildCounterManagedPropertyBundle--;
return o;
@@ -1412,7 +1412,7 @@
checkManagedPropertyBundle(api.ManagedPropertyBundle o) {
buildCounterManagedPropertyBundle++;
if (buildCounterManagedPropertyBundle < 3) {
- checkUnnamed2463(o.managedProperty);
+ checkUnnamed2467(o.managedProperty);
}
buildCounterManagedPropertyBundle--;
}
@@ -1442,27 +1442,27 @@
buildCounterNewDeviceEvent--;
}
-buildUnnamed2464() {
+buildUnnamed2468() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2464(core.List<core.String> o) {
+checkUnnamed2468(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2465() {
+buildUnnamed2469() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2465(core.List<core.String> o) {
+checkUnnamed2469(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1473,9 +1473,9 @@
var o = new api.NewPermissionsEvent();
buildCounterNewPermissionsEvent++;
if (buildCounterNewPermissionsEvent < 3) {
- o.approvedPermissions = buildUnnamed2464();
+ o.approvedPermissions = buildUnnamed2468();
o.productId = "foo";
- o.requestedPermissions = buildUnnamed2465();
+ o.requestedPermissions = buildUnnamed2469();
}
buildCounterNewPermissionsEvent--;
return o;
@@ -1484,9 +1484,9 @@
checkNewPermissionsEvent(api.NewPermissionsEvent o) {
buildCounterNewPermissionsEvent++;
if (buildCounterNewPermissionsEvent < 3) {
- checkUnnamed2464(o.approvedPermissions);
+ checkUnnamed2468(o.approvedPermissions);
unittest.expect(o.productId, unittest.equals('foo'));
- checkUnnamed2465(o.requestedPermissions);
+ checkUnnamed2469(o.requestedPermissions);
}
buildCounterNewPermissionsEvent--;
}
@@ -1531,14 +1531,14 @@
buildCounterNotification--;
}
-buildUnnamed2466() {
+buildUnnamed2470() {
var o = new core.List<api.Notification>();
o.add(buildNotification());
o.add(buildNotification());
return o;
}
-checkUnnamed2466(core.List<api.Notification> o) {
+checkUnnamed2470(core.List<api.Notification> o) {
unittest.expect(o, unittest.hasLength(2));
checkNotification(o[0]);
checkNotification(o[1]);
@@ -1549,7 +1549,7 @@
var o = new api.NotificationSet();
buildCounterNotificationSet++;
if (buildCounterNotificationSet < 3) {
- o.notification = buildUnnamed2466();
+ o.notification = buildUnnamed2470();
o.notificationSetId = "foo";
}
buildCounterNotificationSet--;
@@ -1559,7 +1559,7 @@
checkNotificationSet(api.NotificationSet o) {
buildCounterNotificationSet++;
if (buildCounterNotificationSet < 3) {
- checkUnnamed2466(o.notification);
+ checkUnnamed2470(o.notification);
unittest.expect(o.notificationSetId, unittest.equals('foo'));
}
buildCounterNotificationSet--;
@@ -1611,14 +1611,14 @@
buildCounterPermission--;
}
-buildUnnamed2467() {
+buildUnnamed2471() {
var o = new core.List<api.ProductPolicy>();
o.add(buildProductPolicy());
o.add(buildProductPolicy());
return o;
}
-checkUnnamed2467(core.List<api.ProductPolicy> o) {
+checkUnnamed2471(core.List<api.ProductPolicy> o) {
unittest.expect(o, unittest.hasLength(2));
checkProductPolicy(o[0]);
checkProductPolicy(o[1]);
@@ -1633,7 +1633,7 @@
o.deviceReportPolicy = "foo";
o.maintenanceWindow = buildMaintenanceWindow();
o.productAvailabilityPolicy = "foo";
- o.productPolicy = buildUnnamed2467();
+ o.productPolicy = buildUnnamed2471();
}
buildCounterPolicy--;
return o;
@@ -1646,89 +1646,37 @@
unittest.expect(o.deviceReportPolicy, unittest.equals('foo'));
checkMaintenanceWindow(o.maintenanceWindow);
unittest.expect(o.productAvailabilityPolicy, unittest.equals('foo'));
- checkUnnamed2467(o.productPolicy);
+ checkUnnamed2471(o.productPolicy);
}
buildCounterPolicy--;
}
-buildUnnamed2468() {
+buildUnnamed2472() {
var o = new core.List<api.TrackInfo>();
o.add(buildTrackInfo());
o.add(buildTrackInfo());
return o;
}
-checkUnnamed2468(core.List<api.TrackInfo> o) {
+checkUnnamed2472(core.List<api.TrackInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkTrackInfo(o[0]);
checkTrackInfo(o[1]);
}
-buildUnnamed2469() {
+buildUnnamed2473() {
var o = new core.List<api.AppVersion>();
o.add(buildAppVersion());
o.add(buildAppVersion());
return o;
}
-checkUnnamed2469(core.List<api.AppVersion> o) {
+checkUnnamed2473(core.List<api.AppVersion> o) {
unittest.expect(o, unittest.hasLength(2));
checkAppVersion(o[0]);
checkAppVersion(o[1]);
}
-buildUnnamed2470() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2470(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed2471() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2471(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed2472() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2472(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed2473() {
- var o = new core.List<api.ProductPermission>();
- o.add(buildProductPermission());
- o.add(buildProductPermission());
- return o;
-}
-
-checkUnnamed2473(core.List<api.ProductPermission> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkProductPermission(o[0]);
- checkProductPermission(o[1]);
-}
-
buildUnnamed2474() {
var o = new core.List<core.String>();
o.add("foo");
@@ -1742,31 +1690,83 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed2475() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2475(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed2476() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2476(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed2477() {
+ var o = new core.List<api.ProductPermission>();
+ o.add(buildProductPermission());
+ o.add(buildProductPermission());
+ return o;
+}
+
+checkUnnamed2477(core.List<api.ProductPermission> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkProductPermission(o[0]);
+ checkProductPermission(o[1]);
+}
+
+buildUnnamed2478() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2478(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
core.int buildCounterProduct = 0;
buildProduct() {
var o = new api.Product();
buildCounterProduct++;
if (buildCounterProduct < 3) {
- o.appTracks = buildUnnamed2468();
- o.appVersion = buildUnnamed2469();
+ o.appTracks = buildUnnamed2472();
+ o.appVersion = buildUnnamed2473();
o.authorName = "foo";
- o.availableCountries = buildUnnamed2470();
- o.availableTracks = buildUnnamed2471();
+ o.availableCountries = buildUnnamed2474();
+ o.availableTracks = buildUnnamed2475();
o.category = "foo";
o.contentRating = "foo";
o.description = "foo";
o.detailsUrl = "foo";
o.distributionChannel = "foo";
- o.features = buildUnnamed2472();
+ o.features = buildUnnamed2476();
o.iconUrl = "foo";
o.lastUpdatedTimestampMillis = "foo";
o.minAndroidSdkVersion = 42;
- o.permissions = buildUnnamed2473();
+ o.permissions = buildUnnamed2477();
o.productId = "foo";
o.productPricing = "foo";
o.recentChanges = "foo";
o.requiresContainerApp = true;
- o.screenshotUrls = buildUnnamed2474();
+ o.screenshotUrls = buildUnnamed2478();
o.signingCertificate = buildProductSigningCertificate();
o.smallIconUrl = "foo";
o.title = "foo";
@@ -1779,26 +1779,26 @@
checkProduct(api.Product o) {
buildCounterProduct++;
if (buildCounterProduct < 3) {
- checkUnnamed2468(o.appTracks);
- checkUnnamed2469(o.appVersion);
+ checkUnnamed2472(o.appTracks);
+ checkUnnamed2473(o.appVersion);
unittest.expect(o.authorName, unittest.equals('foo'));
- checkUnnamed2470(o.availableCountries);
- checkUnnamed2471(o.availableTracks);
+ checkUnnamed2474(o.availableCountries);
+ checkUnnamed2475(o.availableTracks);
unittest.expect(o.category, unittest.equals('foo'));
unittest.expect(o.contentRating, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.detailsUrl, unittest.equals('foo'));
unittest.expect(o.distributionChannel, unittest.equals('foo'));
- checkUnnamed2472(o.features);
+ checkUnnamed2476(o.features);
unittest.expect(o.iconUrl, unittest.equals('foo'));
unittest.expect(o.lastUpdatedTimestampMillis, unittest.equals('foo'));
unittest.expect(o.minAndroidSdkVersion, unittest.equals(42));
- checkUnnamed2473(o.permissions);
+ checkUnnamed2477(o.permissions);
unittest.expect(o.productId, unittest.equals('foo'));
unittest.expect(o.productPricing, unittest.equals('foo'));
unittest.expect(o.recentChanges, unittest.equals('foo'));
unittest.expect(o.requiresContainerApp, unittest.isTrue);
- checkUnnamed2474(o.screenshotUrls);
+ checkUnnamed2478(o.screenshotUrls);
checkProductSigningCertificate(o.signingCertificate);
unittest.expect(o.smallIconUrl, unittest.equals('foo'));
unittest.expect(o.title, unittest.equals('foo'));
@@ -1870,14 +1870,14 @@
buildCounterProductPermission--;
}
-buildUnnamed2475() {
+buildUnnamed2479() {
var o = new core.List<api.ProductPermission>();
o.add(buildProductPermission());
o.add(buildProductPermission());
return o;
}
-checkUnnamed2475(core.List<api.ProductPermission> o) {
+checkUnnamed2479(core.List<api.ProductPermission> o) {
unittest.expect(o, unittest.hasLength(2));
checkProductPermission(o[0]);
checkProductPermission(o[1]);
@@ -1888,7 +1888,7 @@
var o = new api.ProductPermissions();
buildCounterProductPermissions++;
if (buildCounterProductPermissions < 3) {
- o.permission = buildUnnamed2475();
+ o.permission = buildUnnamed2479();
o.productId = "foo";
}
buildCounterProductPermissions--;
@@ -1898,135 +1898,12 @@
checkProductPermissions(api.ProductPermissions o) {
buildCounterProductPermissions++;
if (buildCounterProductPermissions < 3) {
- checkUnnamed2475(o.permission);
+ checkUnnamed2479(o.permission);
unittest.expect(o.productId, unittest.equals('foo'));
}
buildCounterProductPermissions--;
}
-buildUnnamed2476() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2476(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed2477() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2477(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-core.int buildCounterProductPolicy = 0;
-buildProductPolicy() {
- var o = new api.ProductPolicy();
- buildCounterProductPolicy++;
- if (buildCounterProductPolicy < 3) {
- o.autoInstallPolicy = buildAutoInstallPolicy();
- o.managedConfiguration = buildManagedConfiguration();
- o.productId = "foo";
- o.trackIds = buildUnnamed2476();
- o.tracks = buildUnnamed2477();
- }
- buildCounterProductPolicy--;
- return o;
-}
-
-checkProductPolicy(api.ProductPolicy o) {
- buildCounterProductPolicy++;
- if (buildCounterProductPolicy < 3) {
- checkAutoInstallPolicy(o.autoInstallPolicy);
- checkManagedConfiguration(o.managedConfiguration);
- unittest.expect(o.productId, unittest.equals('foo'));
- checkUnnamed2476(o.trackIds);
- checkUnnamed2477(o.tracks);
- }
- buildCounterProductPolicy--;
-}
-
-buildUnnamed2478() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2478(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed2479() {
- var o = new core.List<api.ProductVisibility>();
- o.add(buildProductVisibility());
- o.add(buildProductVisibility());
- return o;
-}
-
-checkUnnamed2479(core.List<api.ProductVisibility> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkProductVisibility(o[0]);
- checkProductVisibility(o[1]);
-}
-
-core.int buildCounterProductSet = 0;
-buildProductSet() {
- var o = new api.ProductSet();
- buildCounterProductSet++;
- if (buildCounterProductSet < 3) {
- o.productId = buildUnnamed2478();
- o.productSetBehavior = "foo";
- o.productVisibility = buildUnnamed2479();
- }
- buildCounterProductSet--;
- return o;
-}
-
-checkProductSet(api.ProductSet o) {
- buildCounterProductSet++;
- if (buildCounterProductSet < 3) {
- checkUnnamed2478(o.productId);
- unittest.expect(o.productSetBehavior, unittest.equals('foo'));
- checkUnnamed2479(o.productVisibility);
- }
- buildCounterProductSet--;
-}
-
-core.int buildCounterProductSigningCertificate = 0;
-buildProductSigningCertificate() {
- var o = new api.ProductSigningCertificate();
- buildCounterProductSigningCertificate++;
- if (buildCounterProductSigningCertificate < 3) {
- o.certificateHashSha1 = "foo";
- o.certificateHashSha256 = "foo";
- }
- buildCounterProductSigningCertificate--;
- return o;
-}
-
-checkProductSigningCertificate(api.ProductSigningCertificate o) {
- buildCounterProductSigningCertificate++;
- if (buildCounterProductSigningCertificate < 3) {
- unittest.expect(o.certificateHashSha1, unittest.equals('foo'));
- unittest.expect(o.certificateHashSha256, unittest.equals('foo'));
- }
- buildCounterProductSigningCertificate--;
-}
-
buildUnnamed2480() {
var o = new core.List<core.String>();
o.add("foo");
@@ -2053,14 +1930,137 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+core.int buildCounterProductPolicy = 0;
+buildProductPolicy() {
+ var o = new api.ProductPolicy();
+ buildCounterProductPolicy++;
+ if (buildCounterProductPolicy < 3) {
+ o.autoInstallPolicy = buildAutoInstallPolicy();
+ o.managedConfiguration = buildManagedConfiguration();
+ o.productId = "foo";
+ o.trackIds = buildUnnamed2480();
+ o.tracks = buildUnnamed2481();
+ }
+ buildCounterProductPolicy--;
+ return o;
+}
+
+checkProductPolicy(api.ProductPolicy o) {
+ buildCounterProductPolicy++;
+ if (buildCounterProductPolicy < 3) {
+ checkAutoInstallPolicy(o.autoInstallPolicy);
+ checkManagedConfiguration(o.managedConfiguration);
+ unittest.expect(o.productId, unittest.equals('foo'));
+ checkUnnamed2480(o.trackIds);
+ checkUnnamed2481(o.tracks);
+ }
+ buildCounterProductPolicy--;
+}
+
+buildUnnamed2482() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2482(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed2483() {
+ var o = new core.List<api.ProductVisibility>();
+ o.add(buildProductVisibility());
+ o.add(buildProductVisibility());
+ return o;
+}
+
+checkUnnamed2483(core.List<api.ProductVisibility> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkProductVisibility(o[0]);
+ checkProductVisibility(o[1]);
+}
+
+core.int buildCounterProductSet = 0;
+buildProductSet() {
+ var o = new api.ProductSet();
+ buildCounterProductSet++;
+ if (buildCounterProductSet < 3) {
+ o.productId = buildUnnamed2482();
+ o.productSetBehavior = "foo";
+ o.productVisibility = buildUnnamed2483();
+ }
+ buildCounterProductSet--;
+ return o;
+}
+
+checkProductSet(api.ProductSet o) {
+ buildCounterProductSet++;
+ if (buildCounterProductSet < 3) {
+ checkUnnamed2482(o.productId);
+ unittest.expect(o.productSetBehavior, unittest.equals('foo'));
+ checkUnnamed2483(o.productVisibility);
+ }
+ buildCounterProductSet--;
+}
+
+core.int buildCounterProductSigningCertificate = 0;
+buildProductSigningCertificate() {
+ var o = new api.ProductSigningCertificate();
+ buildCounterProductSigningCertificate++;
+ if (buildCounterProductSigningCertificate < 3) {
+ o.certificateHashSha1 = "foo";
+ o.certificateHashSha256 = "foo";
+ }
+ buildCounterProductSigningCertificate--;
+ return o;
+}
+
+checkProductSigningCertificate(api.ProductSigningCertificate o) {
+ buildCounterProductSigningCertificate++;
+ if (buildCounterProductSigningCertificate < 3) {
+ unittest.expect(o.certificateHashSha1, unittest.equals('foo'));
+ unittest.expect(o.certificateHashSha256, unittest.equals('foo'));
+ }
+ buildCounterProductSigningCertificate--;
+}
+
+buildUnnamed2484() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2484(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed2485() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2485(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
core.int buildCounterProductVisibility = 0;
buildProductVisibility() {
var o = new api.ProductVisibility();
buildCounterProductVisibility++;
if (buildCounterProductVisibility < 3) {
o.productId = "foo";
- o.trackIds = buildUnnamed2480();
- o.tracks = buildUnnamed2481();
+ o.trackIds = buildUnnamed2484();
+ o.tracks = buildUnnamed2485();
}
buildCounterProductVisibility--;
return o;
@@ -2070,8 +2070,8 @@
buildCounterProductVisibility++;
if (buildCounterProductVisibility < 3) {
unittest.expect(o.productId, unittest.equals('foo'));
- checkUnnamed2480(o.trackIds);
- checkUnnamed2481(o.tracks);
+ checkUnnamed2484(o.trackIds);
+ checkUnnamed2485(o.tracks);
}
buildCounterProductVisibility--;
}
@@ -2117,14 +2117,14 @@
buildCounterProductsGenerateApprovalUrlResponse--;
}
-buildUnnamed2482() {
+buildUnnamed2486() {
var o = new core.List<api.Product>();
o.add(buildProduct());
o.add(buildProduct());
return o;
}
-checkUnnamed2482(core.List<api.Product> o) {
+checkUnnamed2486(core.List<api.Product> o) {
unittest.expect(o, unittest.hasLength(2));
checkProduct(o[0]);
checkProduct(o[1]);
@@ -2136,7 +2136,7 @@
buildCounterProductsListResponse++;
if (buildCounterProductsListResponse < 3) {
o.pageInfo = buildPageInfo();
- o.product = buildUnnamed2482();
+ o.product = buildUnnamed2486();
o.tokenPagination = buildTokenPagination();
}
buildCounterProductsListResponse--;
@@ -2147,7 +2147,7 @@
buildCounterProductsListResponse++;
if (buildCounterProductsListResponse < 3) {
checkPageInfo(o.pageInfo);
- checkUnnamed2482(o.product);
+ checkUnnamed2486(o.product);
checkTokenPagination(o.tokenPagination);
}
buildCounterProductsListResponse--;
@@ -2199,14 +2199,14 @@
buildCounterServiceAccountKey--;
}
-buildUnnamed2483() {
+buildUnnamed2487() {
var o = new core.List<api.ServiceAccountKey>();
o.add(buildServiceAccountKey());
o.add(buildServiceAccountKey());
return o;
}
-checkUnnamed2483(core.List<api.ServiceAccountKey> o) {
+checkUnnamed2487(core.List<api.ServiceAccountKey> o) {
unittest.expect(o, unittest.hasLength(2));
checkServiceAccountKey(o[0]);
checkServiceAccountKey(o[1]);
@@ -2217,7 +2217,7 @@
var o = new api.ServiceAccountKeysListResponse();
buildCounterServiceAccountKeysListResponse++;
if (buildCounterServiceAccountKeysListResponse < 3) {
- o.serviceAccountKey = buildUnnamed2483();
+ o.serviceAccountKey = buildUnnamed2487();
}
buildCounterServiceAccountKeysListResponse--;
return o;
@@ -2226,7 +2226,7 @@
checkServiceAccountKeysListResponse(api.ServiceAccountKeysListResponse o) {
buildCounterServiceAccountKeysListResponse++;
if (buildCounterServiceAccountKeysListResponse < 3) {
- checkUnnamed2483(o.serviceAccountKey);
+ checkUnnamed2487(o.serviceAccountKey);
}
buildCounterServiceAccountKeysListResponse--;
}
@@ -2254,27 +2254,27 @@
buildCounterSignupInfo--;
}
-buildUnnamed2484() {
+buildUnnamed2488() {
var o = new core.List<api.LocalizedText>();
o.add(buildLocalizedText());
o.add(buildLocalizedText());
return o;
}
-checkUnnamed2484(core.List<api.LocalizedText> o) {
+checkUnnamed2488(core.List<api.LocalizedText> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocalizedText(o[0]);
checkLocalizedText(o[1]);
}
-buildUnnamed2485() {
+buildUnnamed2489() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2485(core.List<core.String> o) {
+checkUnnamed2489(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2286,9 +2286,9 @@
buildCounterStoreCluster++;
if (buildCounterStoreCluster < 3) {
o.id = "foo";
- o.name = buildUnnamed2484();
+ o.name = buildUnnamed2488();
o.orderInPage = "foo";
- o.productId = buildUnnamed2485();
+ o.productId = buildUnnamed2489();
}
buildCounterStoreCluster--;
return o;
@@ -2298,9 +2298,9 @@
buildCounterStoreCluster++;
if (buildCounterStoreCluster < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2484(o.name);
+ checkUnnamed2488(o.name);
unittest.expect(o.orderInPage, unittest.equals('foo'));
- checkUnnamed2485(o.productId);
+ checkUnnamed2489(o.productId);
}
buildCounterStoreCluster--;
}
@@ -2326,14 +2326,14 @@
buildCounterStoreLayout--;
}
-buildUnnamed2486() {
+buildUnnamed2490() {
var o = new core.List<api.StoreCluster>();
o.add(buildStoreCluster());
o.add(buildStoreCluster());
return o;
}
-checkUnnamed2486(core.List<api.StoreCluster> o) {
+checkUnnamed2490(core.List<api.StoreCluster> o) {
unittest.expect(o, unittest.hasLength(2));
checkStoreCluster(o[0]);
checkStoreCluster(o[1]);
@@ -2344,7 +2344,7 @@
var o = new api.StoreLayoutClustersListResponse();
buildCounterStoreLayoutClustersListResponse++;
if (buildCounterStoreLayoutClustersListResponse < 3) {
- o.cluster = buildUnnamed2486();
+ o.cluster = buildUnnamed2490();
}
buildCounterStoreLayoutClustersListResponse--;
return o;
@@ -2353,19 +2353,19 @@
checkStoreLayoutClustersListResponse(api.StoreLayoutClustersListResponse o) {
buildCounterStoreLayoutClustersListResponse++;
if (buildCounterStoreLayoutClustersListResponse < 3) {
- checkUnnamed2486(o.cluster);
+ checkUnnamed2490(o.cluster);
}
buildCounterStoreLayoutClustersListResponse--;
}
-buildUnnamed2487() {
+buildUnnamed2491() {
var o = new core.List<api.StorePage>();
o.add(buildStorePage());
o.add(buildStorePage());
return o;
}
-checkUnnamed2487(core.List<api.StorePage> o) {
+checkUnnamed2491(core.List<api.StorePage> o) {
unittest.expect(o, unittest.hasLength(2));
checkStorePage(o[0]);
checkStorePage(o[1]);
@@ -2376,7 +2376,7 @@
var o = new api.StoreLayoutPagesListResponse();
buildCounterStoreLayoutPagesListResponse++;
if (buildCounterStoreLayoutPagesListResponse < 3) {
- o.page = buildUnnamed2487();
+ o.page = buildUnnamed2491();
}
buildCounterStoreLayoutPagesListResponse--;
return o;
@@ -2385,32 +2385,32 @@
checkStoreLayoutPagesListResponse(api.StoreLayoutPagesListResponse o) {
buildCounterStoreLayoutPagesListResponse++;
if (buildCounterStoreLayoutPagesListResponse < 3) {
- checkUnnamed2487(o.page);
+ checkUnnamed2491(o.page);
}
buildCounterStoreLayoutPagesListResponse--;
}
-buildUnnamed2488() {
+buildUnnamed2492() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2488(core.List<core.String> o) {
+checkUnnamed2492(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2489() {
+buildUnnamed2493() {
var o = new core.List<api.LocalizedText>();
o.add(buildLocalizedText());
o.add(buildLocalizedText());
return o;
}
-checkUnnamed2489(core.List<api.LocalizedText> o) {
+checkUnnamed2493(core.List<api.LocalizedText> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocalizedText(o[0]);
checkLocalizedText(o[1]);
@@ -2422,8 +2422,8 @@
buildCounterStorePage++;
if (buildCounterStorePage < 3) {
o.id = "foo";
- o.link = buildUnnamed2488();
- o.name = buildUnnamed2489();
+ o.link = buildUnnamed2492();
+ o.name = buildUnnamed2493();
}
buildCounterStorePage--;
return o;
@@ -2433,8 +2433,8 @@
buildCounterStorePage++;
if (buildCounterStorePage < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2488(o.link);
- checkUnnamed2489(o.name);
+ checkUnnamed2492(o.link);
+ checkUnnamed2493(o.name);
}
buildCounterStorePage--;
}
@@ -2510,14 +2510,14 @@
buildCounterUser--;
}
-buildUnnamed2490() {
+buildUnnamed2494() {
var o = new core.List<api.User>();
o.add(buildUser());
o.add(buildUser());
return o;
}
-checkUnnamed2490(core.List<api.User> o) {
+checkUnnamed2494(core.List<api.User> o) {
unittest.expect(o, unittest.hasLength(2));
checkUser(o[0]);
checkUser(o[1]);
@@ -2528,7 +2528,7 @@
var o = new api.UsersListResponse();
buildCounterUsersListResponse++;
if (buildCounterUsersListResponse < 3) {
- o.user = buildUnnamed2490();
+ o.user = buildUnnamed2494();
}
buildCounterUsersListResponse--;
return o;
@@ -2537,7 +2537,7 @@
checkUsersListResponse(api.UsersListResponse o) {
buildCounterUsersListResponse++;
if (buildCounterUsersListResponse < 3) {
- checkUnnamed2490(o.user);
+ checkUnnamed2494(o.user);
}
buildCounterUsersListResponse--;
}
@@ -2563,14 +2563,14 @@
buildCounterVariableSet--;
}
-buildUnnamed2491() {
+buildUnnamed2495() {
var o = new core.List<api.WebAppIcon>();
o.add(buildWebAppIcon());
o.add(buildWebAppIcon());
return o;
}
-checkUnnamed2491(core.List<api.WebAppIcon> o) {
+checkUnnamed2495(core.List<api.WebAppIcon> o) {
unittest.expect(o, unittest.hasLength(2));
checkWebAppIcon(o[0]);
checkWebAppIcon(o[1]);
@@ -2582,7 +2582,7 @@
buildCounterWebApp++;
if (buildCounterWebApp < 3) {
o.displayMode = "foo";
- o.icons = buildUnnamed2491();
+ o.icons = buildUnnamed2495();
o.isPublished = true;
o.startUrl = "foo";
o.title = "foo";
@@ -2597,7 +2597,7 @@
buildCounterWebApp++;
if (buildCounterWebApp < 3) {
unittest.expect(o.displayMode, unittest.equals('foo'));
- checkUnnamed2491(o.icons);
+ checkUnnamed2495(o.icons);
unittest.expect(o.isPublished, unittest.isTrue);
unittest.expect(o.startUrl, unittest.equals('foo'));
unittest.expect(o.title, unittest.equals('foo'));
@@ -2626,14 +2626,14 @@
buildCounterWebAppIcon--;
}
-buildUnnamed2492() {
+buildUnnamed2496() {
var o = new core.List<api.WebApp>();
o.add(buildWebApp());
o.add(buildWebApp());
return o;
}
-checkUnnamed2492(core.List<api.WebApp> o) {
+checkUnnamed2496(core.List<api.WebApp> o) {
unittest.expect(o, unittest.hasLength(2));
checkWebApp(o[0]);
checkWebApp(o[1]);
@@ -2644,7 +2644,7 @@
var o = new api.WebAppsListResponse();
buildCounterWebAppsListResponse++;
if (buildCounterWebAppsListResponse < 3) {
- o.webApp = buildUnnamed2492();
+ o.webApp = buildUnnamed2496();
}
buildCounterWebAppsListResponse--;
return o;
@@ -2653,7 +2653,7 @@
checkWebAppsListResponse(api.WebAppsListResponse o) {
buildCounterWebAppsListResponse++;
if (buildCounterWebAppsListResponse < 3) {
- checkUnnamed2492(o.webApp);
+ checkUnnamed2496(o.webApp);
}
buildCounterWebAppsListResponse--;
}
@@ -6603,11 +6603,11 @@
var mock = new HttpServerMock();
api.ProductsResourceApi res = new 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_approved = true;
- var arg_token = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -6648,14 +6648,14 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ 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["approved"].first, unittest.equals("$arg_approved"));
- unittest.expect(queryMap["token"].first, unittest.equals(arg_token));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -6666,11 +6666,11 @@
}), true);
res
.list(arg_enterpriseId,
+ approved: arg_approved,
+ maxResults: arg_maxResults,
+ token: arg_token,
query: arg_query,
language: arg_language,
- maxResults: arg_maxResults,
- approved: arg_approved,
- 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 b8c71f0..8492438 100644
--- a/generated/googleapis/test/androidmanagement/v1_test.dart
+++ b/generated/googleapis/test/androidmanagement/v1_test.dart
@@ -130,40 +130,40 @@
buildCounterAppTrackInfo--;
}
-buildUnnamed1133() {
+buildUnnamed1134() {
var o = new core.List<api.AppTrackInfo>();
o.add(buildAppTrackInfo());
o.add(buildAppTrackInfo());
return o;
}
-checkUnnamed1133(core.List<api.AppTrackInfo> o) {
+checkUnnamed1134(core.List<api.AppTrackInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkAppTrackInfo(o[0]);
checkAppTrackInfo(o[1]);
}
-buildUnnamed1134() {
+buildUnnamed1135() {
var o = new core.List<api.ManagedProperty>();
o.add(buildManagedProperty());
o.add(buildManagedProperty());
return o;
}
-checkUnnamed1134(core.List<api.ManagedProperty> o) {
+checkUnnamed1135(core.List<api.ManagedProperty> o) {
unittest.expect(o, unittest.hasLength(2));
checkManagedProperty(o[0]);
checkManagedProperty(o[1]);
}
-buildUnnamed1135() {
+buildUnnamed1136() {
var o = new core.List<api.ApplicationPermission>();
o.add(buildApplicationPermission());
o.add(buildApplicationPermission());
return o;
}
-checkUnnamed1135(core.List<api.ApplicationPermission> o) {
+checkUnnamed1136(core.List<api.ApplicationPermission> o) {
unittest.expect(o, unittest.hasLength(2));
checkApplicationPermission(o[0]);
checkApplicationPermission(o[1]);
@@ -174,10 +174,10 @@
var o = new api.Application();
buildCounterApplication++;
if (buildCounterApplication < 3) {
- o.appTracks = buildUnnamed1133();
- o.managedProperties = buildUnnamed1134();
+ o.appTracks = buildUnnamed1134();
+ o.managedProperties = buildUnnamed1135();
o.name = "foo";
- o.permissions = buildUnnamed1135();
+ o.permissions = buildUnnamed1136();
o.title = "foo";
}
buildCounterApplication--;
@@ -187,10 +187,10 @@
checkApplication(api.Application o) {
buildCounterApplication++;
if (buildCounterApplication < 3) {
- checkUnnamed1133(o.appTracks);
- checkUnnamed1134(o.managedProperties);
+ checkUnnamed1134(o.appTracks);
+ checkUnnamed1135(o.managedProperties);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1135(o.permissions);
+ checkUnnamed1136(o.permissions);
unittest.expect(o.title, unittest.equals('foo'));
}
buildCounterApplication--;
@@ -240,19 +240,6 @@
buildCounterApplicationPermission--;
}
-buildUnnamed1136() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1136(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed1137() {
var o = new core.List<core.String>();
o.add("foo");
@@ -267,6 +254,19 @@
}
buildUnnamed1138() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1138(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed1139() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -281,7 +281,7 @@
return o;
}
-checkUnnamed1138(core.Map<core.String, core.Object> o) {
+checkUnnamed1139(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o["x"]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -295,14 +295,14 @@
unittest.expect(casted2["string"], unittest.equals('foo'));
}
-buildUnnamed1139() {
+buildUnnamed1140() {
var o = new core.List<api.PermissionGrant>();
o.add(buildPermissionGrant());
o.add(buildPermissionGrant());
return o;
}
-checkUnnamed1139(core.List<api.PermissionGrant> o) {
+checkUnnamed1140(core.List<api.PermissionGrant> o) {
unittest.expect(o, unittest.hasLength(2));
checkPermissionGrant(o[0]);
checkPermissionGrant(o[1]);
@@ -313,18 +313,18 @@
var o = new api.ApplicationPolicy();
buildCounterApplicationPolicy++;
if (buildCounterApplicationPolicy < 3) {
- o.accessibleTrackIds = buildUnnamed1136();
+ o.accessibleTrackIds = buildUnnamed1137();
o.connectedWorkAndPersonalApp = "foo";
o.defaultPermissionPolicy = "foo";
- o.delegatedScopes = buildUnnamed1137();
+ o.delegatedScopes = buildUnnamed1138();
o.disabled = true;
o.installType = "foo";
o.lockTaskAllowed = true;
- o.managedConfiguration = buildUnnamed1138();
+ o.managedConfiguration = buildUnnamed1139();
o.managedConfigurationTemplate = buildManagedConfigurationTemplate();
o.minimumVersionCode = 42;
o.packageName = "foo";
- o.permissionGrants = buildUnnamed1139();
+ o.permissionGrants = buildUnnamed1140();
}
buildCounterApplicationPolicy--;
return o;
@@ -333,56 +333,56 @@
checkApplicationPolicy(api.ApplicationPolicy o) {
buildCounterApplicationPolicy++;
if (buildCounterApplicationPolicy < 3) {
- checkUnnamed1136(o.accessibleTrackIds);
+ checkUnnamed1137(o.accessibleTrackIds);
unittest.expect(o.connectedWorkAndPersonalApp, unittest.equals('foo'));
unittest.expect(o.defaultPermissionPolicy, unittest.equals('foo'));
- checkUnnamed1137(o.delegatedScopes);
+ checkUnnamed1138(o.delegatedScopes);
unittest.expect(o.disabled, unittest.isTrue);
unittest.expect(o.installType, unittest.equals('foo'));
unittest.expect(o.lockTaskAllowed, unittest.isTrue);
- checkUnnamed1138(o.managedConfiguration);
+ checkUnnamed1139(o.managedConfiguration);
checkManagedConfigurationTemplate(o.managedConfigurationTemplate);
unittest.expect(o.minimumVersionCode, unittest.equals(42));
unittest.expect(o.packageName, unittest.equals('foo'));
- checkUnnamed1139(o.permissionGrants);
+ checkUnnamed1140(o.permissionGrants);
}
buildCounterApplicationPolicy--;
}
-buildUnnamed1140() {
+buildUnnamed1141() {
var o = new core.List<api.ApplicationEvent>();
o.add(buildApplicationEvent());
o.add(buildApplicationEvent());
return o;
}
-checkUnnamed1140(core.List<api.ApplicationEvent> o) {
+checkUnnamed1141(core.List<api.ApplicationEvent> o) {
unittest.expect(o, unittest.hasLength(2));
checkApplicationEvent(o[0]);
checkApplicationEvent(o[1]);
}
-buildUnnamed1141() {
+buildUnnamed1142() {
var o = new core.List<api.KeyedAppState>();
o.add(buildKeyedAppState());
o.add(buildKeyedAppState());
return o;
}
-checkUnnamed1141(core.List<api.KeyedAppState> o) {
+checkUnnamed1142(core.List<api.KeyedAppState> o) {
unittest.expect(o, unittest.hasLength(2));
checkKeyedAppState(o[0]);
checkKeyedAppState(o[1]);
}
-buildUnnamed1142() {
+buildUnnamed1143() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1142(core.List<core.String> o) {
+checkUnnamed1143(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -395,12 +395,12 @@
if (buildCounterApplicationReport < 3) {
o.applicationSource = "foo";
o.displayName = "foo";
- o.events = buildUnnamed1140();
+ o.events = buildUnnamed1141();
o.installerPackageName = "foo";
- o.keyedAppStates = buildUnnamed1141();
+ o.keyedAppStates = buildUnnamed1142();
o.packageName = "foo";
o.packageSha256Hash = "foo";
- o.signingKeyCertFingerprints = buildUnnamed1142();
+ o.signingKeyCertFingerprints = buildUnnamed1143();
o.state = "foo";
o.versionCode = 42;
o.versionName = "foo";
@@ -414,12 +414,12 @@
if (buildCounterApplicationReport < 3) {
unittest.expect(o.applicationSource, unittest.equals('foo'));
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed1140(o.events);
+ checkUnnamed1141(o.events);
unittest.expect(o.installerPackageName, unittest.equals('foo'));
- checkUnnamed1141(o.keyedAppStates);
+ checkUnnamed1142(o.keyedAppStates);
unittest.expect(o.packageName, unittest.equals('foo'));
unittest.expect(o.packageSha256Hash, unittest.equals('foo'));
- checkUnnamed1142(o.signingKeyCertFingerprints);
+ checkUnnamed1143(o.signingKeyCertFingerprints);
unittest.expect(o.state, unittest.equals('foo'));
unittest.expect(o.versionCode, unittest.equals(42));
unittest.expect(o.versionName, unittest.equals('foo'));
@@ -467,42 +467,6 @@
buildCounterBlockAction--;
}
-buildUnnamed1143() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1143(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-core.int buildCounterChoosePrivateKeyRule = 0;
-buildChoosePrivateKeyRule() {
- var o = new api.ChoosePrivateKeyRule();
- buildCounterChoosePrivateKeyRule++;
- if (buildCounterChoosePrivateKeyRule < 3) {
- o.packageNames = buildUnnamed1143();
- o.privateKeyAlias = "foo";
- o.urlPattern = "foo";
- }
- buildCounterChoosePrivateKeyRule--;
- return o;
-}
-
-checkChoosePrivateKeyRule(api.ChoosePrivateKeyRule o) {
- buildCounterChoosePrivateKeyRule++;
- if (buildCounterChoosePrivateKeyRule < 3) {
- checkUnnamed1143(o.packageNames);
- unittest.expect(o.privateKeyAlias, unittest.equals('foo'));
- unittest.expect(o.urlPattern, unittest.equals('foo'));
- }
- buildCounterChoosePrivateKeyRule--;
-}
-
buildUnnamed1144() {
var o = new core.List<core.String>();
o.add("foo");
@@ -516,35 +480,27 @@
unittest.expect(o[1], unittest.equals('foo'));
}
-core.int buildCounterCommand = 0;
-buildCommand() {
- var o = new api.Command();
- buildCounterCommand++;
- if (buildCounterCommand < 3) {
- o.createTime = "foo";
- o.duration = "foo";
- o.errorCode = "foo";
- o.newPassword = "foo";
- o.resetPasswordFlags = buildUnnamed1144();
- o.type = "foo";
- o.userName = "foo";
+core.int buildCounterChoosePrivateKeyRule = 0;
+buildChoosePrivateKeyRule() {
+ var o = new api.ChoosePrivateKeyRule();
+ buildCounterChoosePrivateKeyRule++;
+ if (buildCounterChoosePrivateKeyRule < 3) {
+ o.packageNames = buildUnnamed1144();
+ o.privateKeyAlias = "foo";
+ o.urlPattern = "foo";
}
- buildCounterCommand--;
+ buildCounterChoosePrivateKeyRule--;
return o;
}
-checkCommand(api.Command o) {
- buildCounterCommand++;
- if (buildCounterCommand < 3) {
- unittest.expect(o.createTime, unittest.equals('foo'));
- unittest.expect(o.duration, unittest.equals('foo'));
- unittest.expect(o.errorCode, unittest.equals('foo'));
- unittest.expect(o.newPassword, unittest.equals('foo'));
- checkUnnamed1144(o.resetPasswordFlags);
- unittest.expect(o.type, unittest.equals('foo'));
- unittest.expect(o.userName, unittest.equals('foo'));
+checkChoosePrivateKeyRule(api.ChoosePrivateKeyRule o) {
+ buildCounterChoosePrivateKeyRule++;
+ if (buildCounterChoosePrivateKeyRule < 3) {
+ checkUnnamed1144(o.packageNames);
+ unittest.expect(o.privateKeyAlias, unittest.equals('foo'));
+ unittest.expect(o.urlPattern, unittest.equals('foo'));
}
- buildCounterCommand--;
+ buildCounterChoosePrivateKeyRule--;
}
buildUnnamed1145() {
@@ -560,6 +516,50 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+core.int buildCounterCommand = 0;
+buildCommand() {
+ var o = new api.Command();
+ buildCounterCommand++;
+ if (buildCounterCommand < 3) {
+ o.createTime = "foo";
+ o.duration = "foo";
+ o.errorCode = "foo";
+ o.newPassword = "foo";
+ o.resetPasswordFlags = buildUnnamed1145();
+ o.type = "foo";
+ o.userName = "foo";
+ }
+ buildCounterCommand--;
+ return o;
+}
+
+checkCommand(api.Command o) {
+ buildCounterCommand++;
+ if (buildCounterCommand < 3) {
+ unittest.expect(o.createTime, unittest.equals('foo'));
+ unittest.expect(o.duration, unittest.equals('foo'));
+ unittest.expect(o.errorCode, unittest.equals('foo'));
+ unittest.expect(o.newPassword, unittest.equals('foo'));
+ checkUnnamed1145(o.resetPasswordFlags);
+ unittest.expect(o.type, unittest.equals('foo'));
+ unittest.expect(o.userName, unittest.equals('foo'));
+ }
+ buildCounterCommand--;
+}
+
+buildUnnamed1146() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1146(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
core.int buildCounterComplianceRule = 0;
buildComplianceRule() {
var o = new api.ComplianceRule();
@@ -568,7 +568,7 @@
o.apiLevelCondition = buildApiLevelCondition();
o.disableApps = true;
o.nonComplianceDetailCondition = buildNonComplianceDetailCondition();
- o.packageNamesToDisable = buildUnnamed1145();
+ o.packageNamesToDisable = buildUnnamed1146();
}
buildCounterComplianceRule--;
return o;
@@ -580,7 +580,7 @@
checkApiLevelCondition(o.apiLevelCondition);
unittest.expect(o.disableApps, unittest.isTrue);
checkNonComplianceDetailCondition(o.nonComplianceDetailCondition);
- checkUnnamed1145(o.packageNamesToDisable);
+ checkUnnamed1146(o.packageNamesToDisable);
}
buildCounterComplianceRule--;
}
@@ -608,105 +608,105 @@
buildCounterDate--;
}
-buildUnnamed1146() {
+buildUnnamed1147() {
var o = new core.List<api.ApplicationReport>();
o.add(buildApplicationReport());
o.add(buildApplicationReport());
return o;
}
-checkUnnamed1146(core.List<api.ApplicationReport> o) {
+checkUnnamed1147(core.List<api.ApplicationReport> o) {
unittest.expect(o, unittest.hasLength(2));
checkApplicationReport(o[0]);
checkApplicationReport(o[1]);
}
-buildUnnamed1147() {
+buildUnnamed1148() {
var o = new core.List<api.Display>();
o.add(buildDisplay());
o.add(buildDisplay());
return o;
}
-checkUnnamed1147(core.List<api.Display> o) {
+checkUnnamed1148(core.List<api.Display> o) {
unittest.expect(o, unittest.hasLength(2));
checkDisplay(o[0]);
checkDisplay(o[1]);
}
-buildUnnamed1148() {
+buildUnnamed1149() {
var o = new core.List<api.HardwareStatus>();
o.add(buildHardwareStatus());
o.add(buildHardwareStatus());
return o;
}
-checkUnnamed1148(core.List<api.HardwareStatus> o) {
+checkUnnamed1149(core.List<api.HardwareStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkHardwareStatus(o[0]);
checkHardwareStatus(o[1]);
}
-buildUnnamed1149() {
+buildUnnamed1150() {
var o = new core.List<api.MemoryEvent>();
o.add(buildMemoryEvent());
o.add(buildMemoryEvent());
return o;
}
-checkUnnamed1149(core.List<api.MemoryEvent> o) {
+checkUnnamed1150(core.List<api.MemoryEvent> o) {
unittest.expect(o, unittest.hasLength(2));
checkMemoryEvent(o[0]);
checkMemoryEvent(o[1]);
}
-buildUnnamed1150() {
+buildUnnamed1151() {
var o = new core.List<api.NonComplianceDetail>();
o.add(buildNonComplianceDetail());
o.add(buildNonComplianceDetail());
return o;
}
-checkUnnamed1150(core.List<api.NonComplianceDetail> o) {
+checkUnnamed1151(core.List<api.NonComplianceDetail> o) {
unittest.expect(o, unittest.hasLength(2));
checkNonComplianceDetail(o[0]);
checkNonComplianceDetail(o[1]);
}
-buildUnnamed1151() {
+buildUnnamed1152() {
var o = new core.List<api.PowerManagementEvent>();
o.add(buildPowerManagementEvent());
o.add(buildPowerManagementEvent());
return o;
}
-checkUnnamed1151(core.List<api.PowerManagementEvent> o) {
+checkUnnamed1152(core.List<api.PowerManagementEvent> o) {
unittest.expect(o, unittest.hasLength(2));
checkPowerManagementEvent(o[0]);
checkPowerManagementEvent(o[1]);
}
-buildUnnamed1152() {
+buildUnnamed1153() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1152(core.List<core.String> o) {
+checkUnnamed1153(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1153() {
+buildUnnamed1154() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1153(core.Map<core.String, core.String> o) {
+checkUnnamed1154(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -718,36 +718,36 @@
buildCounterDevice++;
if (buildCounterDevice < 3) {
o.apiLevel = 42;
- o.applicationReports = buildUnnamed1146();
+ o.applicationReports = buildUnnamed1147();
o.appliedPolicyName = "foo";
o.appliedPolicyVersion = "foo";
o.appliedState = "foo";
o.deviceSettings = buildDeviceSettings();
o.disabledReason = buildUserFacingMessage();
- o.displays = buildUnnamed1147();
+ o.displays = buildUnnamed1148();
o.enrollmentTime = "foo";
o.enrollmentTokenData = "foo";
o.enrollmentTokenName = "foo";
o.hardwareInfo = buildHardwareInfo();
- o.hardwareStatusSamples = buildUnnamed1148();
+ o.hardwareStatusSamples = buildUnnamed1149();
o.lastPolicyComplianceReportTime = "foo";
o.lastPolicySyncTime = "foo";
o.lastStatusReportTime = "foo";
o.managementMode = "foo";
- o.memoryEvents = buildUnnamed1149();
+ o.memoryEvents = buildUnnamed1150();
o.memoryInfo = buildMemoryInfo();
o.name = "foo";
o.networkInfo = buildNetworkInfo();
- o.nonComplianceDetails = buildUnnamed1150();
+ o.nonComplianceDetails = buildUnnamed1151();
o.ownership = "foo";
o.policyCompliant = true;
o.policyName = "foo";
- o.powerManagementEvents = buildUnnamed1151();
- o.previousDeviceNames = buildUnnamed1152();
+ o.powerManagementEvents = buildUnnamed1152();
+ o.previousDeviceNames = buildUnnamed1153();
o.securityPosture = buildSecurityPosture();
o.softwareInfo = buildSoftwareInfo();
o.state = "foo";
- o.systemProperties = buildUnnamed1153();
+ o.systemProperties = buildUnnamed1154();
o.user = buildUser();
o.userName = "foo";
}
@@ -759,36 +759,36 @@
buildCounterDevice++;
if (buildCounterDevice < 3) {
unittest.expect(o.apiLevel, unittest.equals(42));
- checkUnnamed1146(o.applicationReports);
+ checkUnnamed1147(o.applicationReports);
unittest.expect(o.appliedPolicyName, unittest.equals('foo'));
unittest.expect(o.appliedPolicyVersion, unittest.equals('foo'));
unittest.expect(o.appliedState, unittest.equals('foo'));
checkDeviceSettings(o.deviceSettings);
checkUserFacingMessage(o.disabledReason);
- checkUnnamed1147(o.displays);
+ checkUnnamed1148(o.displays);
unittest.expect(o.enrollmentTime, unittest.equals('foo'));
unittest.expect(o.enrollmentTokenData, unittest.equals('foo'));
unittest.expect(o.enrollmentTokenName, unittest.equals('foo'));
checkHardwareInfo(o.hardwareInfo);
- checkUnnamed1148(o.hardwareStatusSamples);
+ checkUnnamed1149(o.hardwareStatusSamples);
unittest.expect(o.lastPolicyComplianceReportTime, unittest.equals('foo'));
unittest.expect(o.lastPolicySyncTime, unittest.equals('foo'));
unittest.expect(o.lastStatusReportTime, unittest.equals('foo'));
unittest.expect(o.managementMode, unittest.equals('foo'));
- checkUnnamed1149(o.memoryEvents);
+ checkUnnamed1150(o.memoryEvents);
checkMemoryInfo(o.memoryInfo);
unittest.expect(o.name, unittest.equals('foo'));
checkNetworkInfo(o.networkInfo);
- checkUnnamed1150(o.nonComplianceDetails);
+ checkUnnamed1151(o.nonComplianceDetails);
unittest.expect(o.ownership, unittest.equals('foo'));
unittest.expect(o.policyCompliant, unittest.isTrue);
unittest.expect(o.policyName, unittest.equals('foo'));
- checkUnnamed1151(o.powerManagementEvents);
- checkUnnamed1152(o.previousDeviceNames);
+ checkUnnamed1152(o.powerManagementEvents);
+ checkUnnamed1153(o.previousDeviceNames);
checkSecurityPosture(o.securityPosture);
checkSoftwareInfo(o.softwareInfo);
unittest.expect(o.state, unittest.equals('foo'));
- checkUnnamed1153(o.systemProperties);
+ checkUnnamed1154(o.systemProperties);
checkUser(o.user);
unittest.expect(o.userName, unittest.equals('foo'));
}
@@ -909,40 +909,40 @@
buildCounterEnrollmentToken--;
}
-buildUnnamed1154() {
+buildUnnamed1155() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1154(core.List<core.String> o) {
+checkUnnamed1155(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1155() {
+buildUnnamed1156() {
var o = new core.List<api.SigninDetail>();
o.add(buildSigninDetail());
o.add(buildSigninDetail());
return o;
}
-checkUnnamed1155(core.List<api.SigninDetail> o) {
+checkUnnamed1156(core.List<api.SigninDetail> o) {
unittest.expect(o, unittest.hasLength(2));
checkSigninDetail(o[0]);
checkSigninDetail(o[1]);
}
-buildUnnamed1156() {
+buildUnnamed1157() {
var o = new core.List<api.TermsAndConditions>();
o.add(buildTermsAndConditions());
o.add(buildTermsAndConditions());
return o;
}
-checkUnnamed1156(core.List<api.TermsAndConditions> o) {
+checkUnnamed1157(core.List<api.TermsAndConditions> o) {
unittest.expect(o, unittest.hasLength(2));
checkTermsAndConditions(o[0]);
checkTermsAndConditions(o[1]);
@@ -954,14 +954,14 @@
buildCounterEnterprise++;
if (buildCounterEnterprise < 3) {
o.appAutoApprovalEnabled = true;
- o.enabledNotificationTypes = buildUnnamed1154();
+ o.enabledNotificationTypes = buildUnnamed1155();
o.enterpriseDisplayName = "foo";
o.logo = buildExternalData();
o.name = "foo";
o.primaryColor = 42;
o.pubsubTopic = "foo";
- o.signinDetails = buildUnnamed1155();
- o.termsAndConditions = buildUnnamed1156();
+ o.signinDetails = buildUnnamed1156();
+ o.termsAndConditions = buildUnnamed1157();
}
buildCounterEnterprise--;
return o;
@@ -971,14 +971,14 @@
buildCounterEnterprise++;
if (buildCounterEnterprise < 3) {
unittest.expect(o.appAutoApprovalEnabled, unittest.isTrue);
- checkUnnamed1154(o.enabledNotificationTypes);
+ checkUnnamed1155(o.enabledNotificationTypes);
unittest.expect(o.enterpriseDisplayName, unittest.equals('foo'));
checkExternalData(o.logo);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.primaryColor, unittest.equals(42));
unittest.expect(o.pubsubTopic, unittest.equals('foo'));
- checkUnnamed1155(o.signinDetails);
- checkUnnamed1156(o.termsAndConditions);
+ checkUnnamed1156(o.signinDetails);
+ checkUnnamed1157(o.termsAndConditions);
}
buildCounterEnterprise--;
}
@@ -1025,19 +1025,6 @@
buildCounterFreezePeriod--;
}
-buildUnnamed1157() {
- var o = new core.List<core.double>();
- o.add(42.0);
- o.add(42.0);
- return o;
-}
-
-checkUnnamed1157(core.List<core.double> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals(42.0));
- unittest.expect(o[1], unittest.equals(42.0));
-}
-
buildUnnamed1158() {
var o = new core.List<core.double>();
o.add(42.0);
@@ -1129,51 +1116,6 @@
unittest.expect(o[1], unittest.equals(42.0));
}
-core.int buildCounterHardwareInfo = 0;
-buildHardwareInfo() {
- var o = new api.HardwareInfo();
- buildCounterHardwareInfo++;
- if (buildCounterHardwareInfo < 3) {
- o.batteryShutdownTemperatures = buildUnnamed1157();
- o.batteryThrottlingTemperatures = buildUnnamed1158();
- o.brand = "foo";
- o.cpuShutdownTemperatures = buildUnnamed1159();
- o.cpuThrottlingTemperatures = buildUnnamed1160();
- o.deviceBasebandVersion = "foo";
- o.gpuShutdownTemperatures = buildUnnamed1161();
- o.gpuThrottlingTemperatures = buildUnnamed1162();
- o.hardware = "foo";
- o.manufacturer = "foo";
- o.model = "foo";
- o.serialNumber = "foo";
- o.skinShutdownTemperatures = buildUnnamed1163();
- o.skinThrottlingTemperatures = buildUnnamed1164();
- }
- buildCounterHardwareInfo--;
- return o;
-}
-
-checkHardwareInfo(api.HardwareInfo o) {
- buildCounterHardwareInfo++;
- if (buildCounterHardwareInfo < 3) {
- checkUnnamed1157(o.batteryShutdownTemperatures);
- checkUnnamed1158(o.batteryThrottlingTemperatures);
- unittest.expect(o.brand, unittest.equals('foo'));
- checkUnnamed1159(o.cpuShutdownTemperatures);
- checkUnnamed1160(o.cpuThrottlingTemperatures);
- unittest.expect(o.deviceBasebandVersion, unittest.equals('foo'));
- checkUnnamed1161(o.gpuShutdownTemperatures);
- checkUnnamed1162(o.gpuThrottlingTemperatures);
- unittest.expect(o.hardware, unittest.equals('foo'));
- unittest.expect(o.manufacturer, unittest.equals('foo'));
- unittest.expect(o.model, unittest.equals('foo'));
- unittest.expect(o.serialNumber, unittest.equals('foo'));
- checkUnnamed1163(o.skinShutdownTemperatures);
- checkUnnamed1164(o.skinThrottlingTemperatures);
- }
- buildCounterHardwareInfo--;
-}
-
buildUnnamed1165() {
var o = new core.List<core.double>();
o.add(42.0);
@@ -1187,6 +1129,51 @@
unittest.expect(o[1], unittest.equals(42.0));
}
+core.int buildCounterHardwareInfo = 0;
+buildHardwareInfo() {
+ var o = new api.HardwareInfo();
+ buildCounterHardwareInfo++;
+ if (buildCounterHardwareInfo < 3) {
+ o.batteryShutdownTemperatures = buildUnnamed1158();
+ o.batteryThrottlingTemperatures = buildUnnamed1159();
+ o.brand = "foo";
+ o.cpuShutdownTemperatures = buildUnnamed1160();
+ o.cpuThrottlingTemperatures = buildUnnamed1161();
+ o.deviceBasebandVersion = "foo";
+ o.gpuShutdownTemperatures = buildUnnamed1162();
+ o.gpuThrottlingTemperatures = buildUnnamed1163();
+ o.hardware = "foo";
+ o.manufacturer = "foo";
+ o.model = "foo";
+ o.serialNumber = "foo";
+ o.skinShutdownTemperatures = buildUnnamed1164();
+ o.skinThrottlingTemperatures = buildUnnamed1165();
+ }
+ buildCounterHardwareInfo--;
+ return o;
+}
+
+checkHardwareInfo(api.HardwareInfo o) {
+ buildCounterHardwareInfo++;
+ if (buildCounterHardwareInfo < 3) {
+ checkUnnamed1158(o.batteryShutdownTemperatures);
+ checkUnnamed1159(o.batteryThrottlingTemperatures);
+ unittest.expect(o.brand, unittest.equals('foo'));
+ checkUnnamed1160(o.cpuShutdownTemperatures);
+ checkUnnamed1161(o.cpuThrottlingTemperatures);
+ unittest.expect(o.deviceBasebandVersion, unittest.equals('foo'));
+ checkUnnamed1162(o.gpuShutdownTemperatures);
+ checkUnnamed1163(o.gpuThrottlingTemperatures);
+ unittest.expect(o.hardware, unittest.equals('foo'));
+ unittest.expect(o.manufacturer, unittest.equals('foo'));
+ unittest.expect(o.model, unittest.equals('foo'));
+ unittest.expect(o.serialNumber, unittest.equals('foo'));
+ checkUnnamed1164(o.skinShutdownTemperatures);
+ checkUnnamed1165(o.skinThrottlingTemperatures);
+ }
+ buildCounterHardwareInfo--;
+}
+
buildUnnamed1166() {
var o = new core.List<core.double>();
o.add(42.0);
@@ -1252,18 +1239,31 @@
unittest.expect(o[1], unittest.equals(42.0));
}
+buildUnnamed1171() {
+ var o = new core.List<core.double>();
+ o.add(42.0);
+ o.add(42.0);
+ return o;
+}
+
+checkUnnamed1171(core.List<core.double> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals(42.0));
+ unittest.expect(o[1], unittest.equals(42.0));
+}
+
core.int buildCounterHardwareStatus = 0;
buildHardwareStatus() {
var o = new api.HardwareStatus();
buildCounterHardwareStatus++;
if (buildCounterHardwareStatus < 3) {
- o.batteryTemperatures = buildUnnamed1165();
- o.cpuTemperatures = buildUnnamed1166();
- o.cpuUsages = buildUnnamed1167();
+ o.batteryTemperatures = buildUnnamed1166();
+ o.cpuTemperatures = buildUnnamed1167();
+ o.cpuUsages = buildUnnamed1168();
o.createTime = "foo";
- o.fanSpeeds = buildUnnamed1168();
- o.gpuTemperatures = buildUnnamed1169();
- o.skinTemperatures = buildUnnamed1170();
+ o.fanSpeeds = buildUnnamed1169();
+ o.gpuTemperatures = buildUnnamed1170();
+ o.skinTemperatures = buildUnnamed1171();
}
buildCounterHardwareStatus--;
return o;
@@ -1272,13 +1272,13 @@
checkHardwareStatus(api.HardwareStatus o) {
buildCounterHardwareStatus++;
if (buildCounterHardwareStatus < 3) {
- checkUnnamed1165(o.batteryTemperatures);
- checkUnnamed1166(o.cpuTemperatures);
- checkUnnamed1167(o.cpuUsages);
+ checkUnnamed1166(o.batteryTemperatures);
+ checkUnnamed1167(o.cpuTemperatures);
+ checkUnnamed1168(o.cpuUsages);
unittest.expect(o.createTime, unittest.equals('foo'));
- checkUnnamed1168(o.fanSpeeds);
- checkUnnamed1169(o.gpuTemperatures);
- checkUnnamed1170(o.skinTemperatures);
+ checkUnnamed1169(o.fanSpeeds);
+ checkUnnamed1170(o.gpuTemperatures);
+ checkUnnamed1171(o.skinTemperatures);
}
buildCounterHardwareStatus--;
}
@@ -1358,14 +1358,14 @@
buildCounterLaunchAppAction--;
}
-buildUnnamed1171() {
+buildUnnamed1172() {
var o = new core.List<api.Device>();
o.add(buildDevice());
o.add(buildDevice());
return o;
}
-checkUnnamed1171(core.List<api.Device> o) {
+checkUnnamed1172(core.List<api.Device> o) {
unittest.expect(o, unittest.hasLength(2));
checkDevice(o[0]);
checkDevice(o[1]);
@@ -1376,7 +1376,7 @@
var o = new api.ListDevicesResponse();
buildCounterListDevicesResponse++;
if (buildCounterListDevicesResponse < 3) {
- o.devices = buildUnnamed1171();
+ o.devices = buildUnnamed1172();
o.nextPageToken = "foo";
}
buildCounterListDevicesResponse--;
@@ -1386,20 +1386,20 @@
checkListDevicesResponse(api.ListDevicesResponse o) {
buildCounterListDevicesResponse++;
if (buildCounterListDevicesResponse < 3) {
- checkUnnamed1171(o.devices);
+ checkUnnamed1172(o.devices);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListDevicesResponse--;
}
-buildUnnamed1172() {
+buildUnnamed1173() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed1172(core.List<api.Operation> o) {
+checkUnnamed1173(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -1411,7 +1411,7 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
o.nextPageToken = "foo";
- o.operations = buildUnnamed1172();
+ o.operations = buildUnnamed1173();
}
buildCounterListOperationsResponse--;
return o;
@@ -1421,19 +1421,19 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1172(o.operations);
+ checkUnnamed1173(o.operations);
}
buildCounterListOperationsResponse--;
}
-buildUnnamed1173() {
+buildUnnamed1174() {
var o = new core.List<api.Policy>();
o.add(buildPolicy());
o.add(buildPolicy());
return o;
}
-checkUnnamed1173(core.List<api.Policy> o) {
+checkUnnamed1174(core.List<api.Policy> o) {
unittest.expect(o, unittest.hasLength(2));
checkPolicy(o[0]);
checkPolicy(o[1]);
@@ -1445,7 +1445,7 @@
buildCounterListPoliciesResponse++;
if (buildCounterListPoliciesResponse < 3) {
o.nextPageToken = "foo";
- o.policies = buildUnnamed1173();
+ o.policies = buildUnnamed1174();
}
buildCounterListPoliciesResponse--;
return o;
@@ -1455,19 +1455,19 @@
buildCounterListPoliciesResponse++;
if (buildCounterListPoliciesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1173(o.policies);
+ checkUnnamed1174(o.policies);
}
buildCounterListPoliciesResponse--;
}
-buildUnnamed1174() {
+buildUnnamed1175() {
var o = new core.List<api.WebApp>();
o.add(buildWebApp());
o.add(buildWebApp());
return o;
}
-checkUnnamed1174(core.List<api.WebApp> o) {
+checkUnnamed1175(core.List<api.WebApp> o) {
unittest.expect(o, unittest.hasLength(2));
checkWebApp(o[0]);
checkWebApp(o[1]);
@@ -1479,7 +1479,7 @@
buildCounterListWebAppsResponse++;
if (buildCounterListWebAppsResponse < 3) {
o.nextPageToken = "foo";
- o.webApps = buildUnnamed1174();
+ o.webApps = buildUnnamed1175();
}
buildCounterListWebAppsResponse--;
return o;
@@ -1489,19 +1489,19 @@
buildCounterListWebAppsResponse++;
if (buildCounterListWebAppsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1174(o.webApps);
+ checkUnnamed1175(o.webApps);
}
buildCounterListWebAppsResponse--;
}
-buildUnnamed1175() {
+buildUnnamed1176() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1175(core.Map<core.String, core.String> o) {
+checkUnnamed1176(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -1512,7 +1512,7 @@
var o = new api.ManagedConfigurationTemplate();
buildCounterManagedConfigurationTemplate++;
if (buildCounterManagedConfigurationTemplate < 3) {
- o.configurationVariables = buildUnnamed1175();
+ o.configurationVariables = buildUnnamed1176();
o.templateId = "foo";
}
buildCounterManagedConfigurationTemplate--;
@@ -1522,33 +1522,33 @@
checkManagedConfigurationTemplate(api.ManagedConfigurationTemplate o) {
buildCounterManagedConfigurationTemplate++;
if (buildCounterManagedConfigurationTemplate < 3) {
- checkUnnamed1175(o.configurationVariables);
+ checkUnnamed1176(o.configurationVariables);
unittest.expect(o.templateId, unittest.equals('foo'));
}
buildCounterManagedConfigurationTemplate--;
}
-buildUnnamed1176() {
+buildUnnamed1177() {
var o = new core.List<api.ManagedPropertyEntry>();
o.add(buildManagedPropertyEntry());
o.add(buildManagedPropertyEntry());
return o;
}
-checkUnnamed1176(core.List<api.ManagedPropertyEntry> o) {
+checkUnnamed1177(core.List<api.ManagedPropertyEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkManagedPropertyEntry(o[0]);
checkManagedPropertyEntry(o[1]);
}
-buildUnnamed1177() {
+buildUnnamed1178() {
var o = new core.List<api.ManagedProperty>();
o.add(buildManagedProperty());
o.add(buildManagedProperty());
return o;
}
-checkUnnamed1177(core.List<api.ManagedProperty> o) {
+checkUnnamed1178(core.List<api.ManagedProperty> o) {
unittest.expect(o, unittest.hasLength(2));
checkManagedProperty(o[0]);
checkManagedProperty(o[1]);
@@ -1565,9 +1565,9 @@
'string': 'foo'
};
o.description = "foo";
- o.entries = buildUnnamed1176();
+ o.entries = buildUnnamed1177();
o.key = "foo";
- o.nestedProperties = buildUnnamed1177();
+ o.nestedProperties = buildUnnamed1178();
o.title = "foo";
o.type = "foo";
}
@@ -1584,9 +1584,9 @@
unittest.expect(casted3["bool"], unittest.equals(true));
unittest.expect(casted3["string"], unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed1176(o.entries);
+ checkUnnamed1177(o.entries);
unittest.expect(o.key, unittest.equals('foo'));
- checkUnnamed1177(o.nestedProperties);
+ checkUnnamed1178(o.nestedProperties);
unittest.expect(o.title, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
}
@@ -1743,35 +1743,6 @@
buildCounterNonComplianceDetailCondition--;
}
-buildUnnamed1178() {
- var o = new core.Map<core.String, core.Object>();
- o["x"] = {
- 'list': [1, 2, 3],
- 'bool': true,
- 'string': 'foo'
- };
- o["y"] = {
- 'list': [1, 2, 3],
- 'bool': true,
- 'string': 'foo'
- };
- return o;
-}
-
-checkUnnamed1178(core.Map<core.String, core.Object> o) {
- unittest.expect(o, unittest.hasLength(2));
- var casted5 = (o["x"]) as core.Map;
- unittest.expect(casted5, unittest.hasLength(3));
- unittest.expect(casted5["list"], unittest.equals([1, 2, 3]));
- unittest.expect(casted5["bool"], unittest.equals(true));
- unittest.expect(casted5["string"], unittest.equals('foo'));
- var casted6 = (o["y"]) as core.Map;
- unittest.expect(casted6, unittest.hasLength(3));
- unittest.expect(casted6["list"], unittest.equals([1, 2, 3]));
- unittest.expect(casted6["bool"], unittest.equals(true));
- unittest.expect(casted6["string"], unittest.equals('foo'));
-}
-
buildUnnamed1179() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
@@ -1789,6 +1760,35 @@
checkUnnamed1179(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
+ var casted5 = (o["x"]) as core.Map;
+ unittest.expect(casted5, unittest.hasLength(3));
+ unittest.expect(casted5["list"], unittest.equals([1, 2, 3]));
+ unittest.expect(casted5["bool"], unittest.equals(true));
+ unittest.expect(casted5["string"], unittest.equals('foo'));
+ var casted6 = (o["y"]) as core.Map;
+ unittest.expect(casted6, unittest.hasLength(3));
+ unittest.expect(casted6["list"], unittest.equals([1, 2, 3]));
+ unittest.expect(casted6["bool"], unittest.equals(true));
+ unittest.expect(casted6["string"], unittest.equals('foo'));
+}
+
+buildUnnamed1180() {
+ var o = new core.Map<core.String, core.Object>();
+ o["x"] = {
+ 'list': [1, 2, 3],
+ 'bool': true,
+ 'string': 'foo'
+ };
+ o["y"] = {
+ 'list': [1, 2, 3],
+ 'bool': true,
+ 'string': 'foo'
+ };
+ return o;
+}
+
+checkUnnamed1180(core.Map<core.String, core.Object> o) {
+ unittest.expect(o, unittest.hasLength(2));
var casted7 = (o["x"]) as core.Map;
unittest.expect(casted7, unittest.hasLength(3));
unittest.expect(casted7["list"], unittest.equals([1, 2, 3]));
@@ -1808,9 +1808,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed1178();
+ o.metadata = buildUnnamed1179();
o.name = "foo";
- o.response = buildUnnamed1179();
+ o.response = buildUnnamed1180();
}
buildCounterOperation--;
return o;
@@ -1821,21 +1821,21 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed1178(o.metadata);
+ checkUnnamed1179(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1179(o.response);
+ checkUnnamed1180(o.response);
}
buildCounterOperation--;
}
-buildUnnamed1180() {
+buildUnnamed1181() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1180(core.List<core.String> o) {
+checkUnnamed1181(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1846,7 +1846,7 @@
var o = new api.PackageNameList();
buildCounterPackageNameList++;
if (buildCounterPackageNameList < 3) {
- o.packageNames = buildUnnamed1180();
+ o.packageNames = buildUnnamed1181();
}
buildCounterPackageNameList--;
return o;
@@ -1855,7 +1855,7 @@
checkPackageNameList(api.PackageNameList o) {
buildCounterPackageNameList++;
if (buildCounterPackageNameList < 3) {
- checkUnnamed1180(o.packageNames);
+ checkUnnamed1181(o.packageNames);
}
buildCounterPackageNameList--;
}
@@ -1924,19 +1924,6 @@
buildCounterPermissionGrant--;
}
-buildUnnamed1181() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1181(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed1182() {
var o = new core.List<core.String>();
o.add("foo");
@@ -1950,13 +1937,26 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed1183() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1183(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
core.int buildCounterPersistentPreferredActivity = 0;
buildPersistentPreferredActivity() {
var o = new api.PersistentPreferredActivity();
buildCounterPersistentPreferredActivity++;
if (buildCounterPersistentPreferredActivity < 3) {
- o.actions = buildUnnamed1181();
- o.categories = buildUnnamed1182();
+ o.actions = buildUnnamed1182();
+ o.categories = buildUnnamed1183();
o.receiverActivity = "foo";
}
buildCounterPersistentPreferredActivity--;
@@ -1966,8 +1966,8 @@
checkPersistentPreferredActivity(api.PersistentPreferredActivity o) {
buildCounterPersistentPreferredActivity++;
if (buildCounterPersistentPreferredActivity < 3) {
- checkUnnamed1181(o.actions);
- checkUnnamed1182(o.categories);
+ checkUnnamed1182(o.actions);
+ checkUnnamed1183(o.categories);
unittest.expect(o.receiverActivity, unittest.equals('foo'));
}
buildCounterPersistentPreferredActivity--;
@@ -1994,27 +1994,27 @@
buildCounterPersonalApplicationPolicy--;
}
-buildUnnamed1183() {
+buildUnnamed1184() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1183(core.List<core.String> o) {
+checkUnnamed1184(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1184() {
+buildUnnamed1185() {
var o = new core.List<api.PersonalApplicationPolicy>();
o.add(buildPersonalApplicationPolicy());
o.add(buildPersonalApplicationPolicy());
return o;
}
-checkUnnamed1184(core.List<api.PersonalApplicationPolicy> o) {
+checkUnnamed1185(core.List<api.PersonalApplicationPolicy> o) {
unittest.expect(o, unittest.hasLength(2));
checkPersonalApplicationPolicy(o[0]);
checkPersonalApplicationPolicy(o[1]);
@@ -2025,10 +2025,10 @@
var o = new api.PersonalUsagePolicies();
buildCounterPersonalUsagePolicies++;
if (buildCounterPersonalUsagePolicies < 3) {
- o.accountTypesWithManagementDisabled = buildUnnamed1183();
+ o.accountTypesWithManagementDisabled = buildUnnamed1184();
o.cameraDisabled = true;
o.maxDaysWithWorkOff = 42;
- o.personalApplications = buildUnnamed1184();
+ o.personalApplications = buildUnnamed1185();
o.personalPlayStoreMode = "foo";
o.screenCaptureDisabled = true;
}
@@ -2039,29 +2039,16 @@
checkPersonalUsagePolicies(api.PersonalUsagePolicies o) {
buildCounterPersonalUsagePolicies++;
if (buildCounterPersonalUsagePolicies < 3) {
- checkUnnamed1183(o.accountTypesWithManagementDisabled);
+ checkUnnamed1184(o.accountTypesWithManagementDisabled);
unittest.expect(o.cameraDisabled, unittest.isTrue);
unittest.expect(o.maxDaysWithWorkOff, unittest.equals(42));
- checkUnnamed1184(o.personalApplications);
+ checkUnnamed1185(o.personalApplications);
unittest.expect(o.personalPlayStoreMode, unittest.equals('foo'));
unittest.expect(o.screenCaptureDisabled, unittest.isTrue);
}
buildCounterPersonalUsagePolicies--;
}
-buildUnnamed1185() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1185(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed1186() {
var o = new core.List<core.String>();
o.add("foo");
@@ -2076,57 +2063,57 @@
}
buildUnnamed1187() {
- var o = new core.List<api.ApplicationPolicy>();
- o.add(buildApplicationPolicy());
- o.add(buildApplicationPolicy());
- return o;
-}
-
-checkUnnamed1187(core.List<api.ApplicationPolicy> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkApplicationPolicy(o[0]);
- checkApplicationPolicy(o[1]);
-}
-
-buildUnnamed1188() {
- var o = new core.List<api.ChoosePrivateKeyRule>();
- o.add(buildChoosePrivateKeyRule());
- o.add(buildChoosePrivateKeyRule());
- return o;
-}
-
-checkUnnamed1188(core.List<api.ChoosePrivateKeyRule> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkChoosePrivateKeyRule(o[0]);
- checkChoosePrivateKeyRule(o[1]);
-}
-
-buildUnnamed1189() {
- var o = new core.List<api.ComplianceRule>();
- o.add(buildComplianceRule());
- o.add(buildComplianceRule());
- return o;
-}
-
-checkUnnamed1189(core.List<api.ComplianceRule> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkComplianceRule(o[0]);
- checkComplianceRule(o[1]);
-}
-
-buildUnnamed1190() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1190(core.List<core.String> o) {
+checkUnnamed1187(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed1188() {
+ var o = new core.List<api.ApplicationPolicy>();
+ o.add(buildApplicationPolicy());
+ o.add(buildApplicationPolicy());
+ return o;
+}
+
+checkUnnamed1188(core.List<api.ApplicationPolicy> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkApplicationPolicy(o[0]);
+ checkApplicationPolicy(o[1]);
+}
+
+buildUnnamed1189() {
+ var o = new core.List<api.ChoosePrivateKeyRule>();
+ o.add(buildChoosePrivateKeyRule());
+ o.add(buildChoosePrivateKeyRule());
+ return o;
+}
+
+checkUnnamed1189(core.List<api.ChoosePrivateKeyRule> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkChoosePrivateKeyRule(o[0]);
+ checkChoosePrivateKeyRule(o[1]);
+}
+
+buildUnnamed1190() {
+ var o = new core.List<api.ComplianceRule>();
+ o.add(buildComplianceRule());
+ o.add(buildComplianceRule());
+ return o;
+}
+
+checkUnnamed1190(core.List<api.ComplianceRule> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkComplianceRule(o[0]);
+ checkComplianceRule(o[1]);
+}
+
buildUnnamed1191() {
var o = new core.List<core.String>();
o.add("foo");
@@ -2141,6 +2128,19 @@
}
buildUnnamed1192() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1192(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed1193() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -2155,7 +2155,7 @@
return o;
}
-checkUnnamed1192(core.Map<core.String, core.Object> o) {
+checkUnnamed1193(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted9 = (o["x"]) as core.Map;
unittest.expect(casted9, unittest.hasLength(3));
@@ -2169,79 +2169,79 @@
unittest.expect(casted10["string"], unittest.equals('foo'));
}
-buildUnnamed1193() {
+buildUnnamed1194() {
var o = new core.List<api.PasswordRequirements>();
o.add(buildPasswordRequirements());
o.add(buildPasswordRequirements());
return o;
}
-checkUnnamed1193(core.List<api.PasswordRequirements> o) {
+checkUnnamed1194(core.List<api.PasswordRequirements> o) {
unittest.expect(o, unittest.hasLength(2));
checkPasswordRequirements(o[0]);
checkPasswordRequirements(o[1]);
}
-buildUnnamed1194() {
+buildUnnamed1195() {
var o = new core.List<api.PermissionGrant>();
o.add(buildPermissionGrant());
o.add(buildPermissionGrant());
return o;
}
-checkUnnamed1194(core.List<api.PermissionGrant> o) {
+checkUnnamed1195(core.List<api.PermissionGrant> o) {
unittest.expect(o, unittest.hasLength(2));
checkPermissionGrant(o[0]);
checkPermissionGrant(o[1]);
}
-buildUnnamed1195() {
+buildUnnamed1196() {
var o = new core.List<api.PersistentPreferredActivity>();
o.add(buildPersistentPreferredActivity());
o.add(buildPersistentPreferredActivity());
return o;
}
-checkUnnamed1195(core.List<api.PersistentPreferredActivity> o) {
+checkUnnamed1196(core.List<api.PersistentPreferredActivity> o) {
unittest.expect(o, unittest.hasLength(2));
checkPersistentPreferredActivity(o[0]);
checkPersistentPreferredActivity(o[1]);
}
-buildUnnamed1196() {
+buildUnnamed1197() {
var o = new core.List<api.PolicyEnforcementRule>();
o.add(buildPolicyEnforcementRule());
o.add(buildPolicyEnforcementRule());
return o;
}
-checkUnnamed1196(core.List<api.PolicyEnforcementRule> o) {
+checkUnnamed1197(core.List<api.PolicyEnforcementRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkPolicyEnforcementRule(o[0]);
checkPolicyEnforcementRule(o[1]);
}
-buildUnnamed1197() {
+buildUnnamed1198() {
var o = new core.List<api.SetupAction>();
o.add(buildSetupAction());
o.add(buildSetupAction());
return o;
}
-checkUnnamed1197(core.List<api.SetupAction> o) {
+checkUnnamed1198(core.List<api.SetupAction> o) {
unittest.expect(o, unittest.hasLength(2));
checkSetupAction(o[0]);
checkSetupAction(o[1]);
}
-buildUnnamed1198() {
+buildUnnamed1199() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1198(core.List<core.String> o) {
+checkUnnamed1199(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2252,14 +2252,14 @@
var o = new api.Policy();
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- o.accountTypesWithManagementDisabled = buildUnnamed1185();
+ o.accountTypesWithManagementDisabled = buildUnnamed1186();
o.addUserDisabled = true;
o.adjustVolumeDisabled = true;
o.advancedSecurityOverrides = buildAdvancedSecurityOverrides();
o.alwaysOnVpnPackage = buildAlwaysOnVpnPackage();
- o.androidDevicePolicyTracks = buildUnnamed1186();
+ o.androidDevicePolicyTracks = buildUnnamed1187();
o.appAutoUpdatePolicy = "foo";
- o.applications = buildUnnamed1187();
+ o.applications = buildUnnamed1188();
o.autoTimeRequired = true;
o.blockApplicationsEnabled = true;
o.bluetoothConfigDisabled = true;
@@ -2267,8 +2267,8 @@
o.bluetoothDisabled = true;
o.cameraDisabled = true;
o.cellBroadcastsConfigDisabled = true;
- o.choosePrivateKeyRules = buildUnnamed1188();
- o.complianceRules = buildUnnamed1189();
+ o.choosePrivateKeyRules = buildUnnamed1189();
+ o.complianceRules = buildUnnamed1190();
o.createWindowsDisabled = true;
o.credentialsConfigDisabled = true;
o.dataRoamingDisabled = true;
@@ -2278,12 +2278,12 @@
o.encryptionPolicy = "foo";
o.ensureVerifyAppsEnabled = true;
o.factoryResetDisabled = true;
- o.frpAdminEmails = buildUnnamed1190();
+ o.frpAdminEmails = buildUnnamed1191();
o.funDisabled = true;
o.installAppsDisabled = true;
o.installUnknownSourcesAllowed = true;
o.keyguardDisabled = true;
- o.keyguardDisabledFeatures = buildUnnamed1191();
+ o.keyguardDisabledFeatures = buildUnnamed1192();
o.kioskCustomLauncherEnabled = true;
o.kioskCustomization = buildKioskCustomization();
o.locationMode = "foo";
@@ -2296,18 +2296,18 @@
o.name = "foo";
o.networkEscapeHatchEnabled = true;
o.networkResetDisabled = true;
- o.openNetworkConfiguration = buildUnnamed1192();
+ o.openNetworkConfiguration = buildUnnamed1193();
o.outgoingBeamDisabled = true;
o.outgoingCallsDisabled = true;
- o.passwordPolicies = buildUnnamed1193();
+ o.passwordPolicies = buildUnnamed1194();
o.passwordRequirements = buildPasswordRequirements();
- o.permissionGrants = buildUnnamed1194();
+ o.permissionGrants = buildUnnamed1195();
o.permittedAccessibilityServices = buildPackageNameList();
o.permittedInputMethods = buildPackageNameList();
- o.persistentPreferredActivities = buildUnnamed1195();
+ o.persistentPreferredActivities = buildUnnamed1196();
o.personalUsagePolicies = buildPersonalUsagePolicies();
o.playStoreMode = "foo";
- o.policyEnforcementRules = buildUnnamed1196();
+ o.policyEnforcementRules = buildUnnamed1197();
o.privateKeySelectionEnabled = true;
o.recommendedGlobalProxy = buildProxyInfo();
o.removeUserDisabled = true;
@@ -2315,14 +2315,14 @@
o.screenCaptureDisabled = true;
o.setUserIconDisabled = true;
o.setWallpaperDisabled = true;
- o.setupActions = buildUnnamed1197();
+ o.setupActions = buildUnnamed1198();
o.shareLocationDisabled = true;
o.shortSupportMessage = buildUserFacingMessage();
o.skipFirstUseHintsEnabled = true;
o.smsDisabled = true;
o.statusBarDisabled = true;
o.statusReportingSettings = buildStatusReportingSettings();
- o.stayOnPluggedModes = buildUnnamed1198();
+ o.stayOnPluggedModes = buildUnnamed1199();
o.systemUpdate = buildSystemUpdate();
o.tetheringConfigDisabled = true;
o.uninstallAppsDisabled = true;
@@ -2341,14 +2341,14 @@
checkPolicy(api.Policy o) {
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- checkUnnamed1185(o.accountTypesWithManagementDisabled);
+ checkUnnamed1186(o.accountTypesWithManagementDisabled);
unittest.expect(o.addUserDisabled, unittest.isTrue);
unittest.expect(o.adjustVolumeDisabled, unittest.isTrue);
checkAdvancedSecurityOverrides(o.advancedSecurityOverrides);
checkAlwaysOnVpnPackage(o.alwaysOnVpnPackage);
- checkUnnamed1186(o.androidDevicePolicyTracks);
+ checkUnnamed1187(o.androidDevicePolicyTracks);
unittest.expect(o.appAutoUpdatePolicy, unittest.equals('foo'));
- checkUnnamed1187(o.applications);
+ checkUnnamed1188(o.applications);
unittest.expect(o.autoTimeRequired, unittest.isTrue);
unittest.expect(o.blockApplicationsEnabled, unittest.isTrue);
unittest.expect(o.bluetoothConfigDisabled, unittest.isTrue);
@@ -2356,8 +2356,8 @@
unittest.expect(o.bluetoothDisabled, unittest.isTrue);
unittest.expect(o.cameraDisabled, unittest.isTrue);
unittest.expect(o.cellBroadcastsConfigDisabled, unittest.isTrue);
- checkUnnamed1188(o.choosePrivateKeyRules);
- checkUnnamed1189(o.complianceRules);
+ checkUnnamed1189(o.choosePrivateKeyRules);
+ checkUnnamed1190(o.complianceRules);
unittest.expect(o.createWindowsDisabled, unittest.isTrue);
unittest.expect(o.credentialsConfigDisabled, unittest.isTrue);
unittest.expect(o.dataRoamingDisabled, unittest.isTrue);
@@ -2367,12 +2367,12 @@
unittest.expect(o.encryptionPolicy, unittest.equals('foo'));
unittest.expect(o.ensureVerifyAppsEnabled, unittest.isTrue);
unittest.expect(o.factoryResetDisabled, unittest.isTrue);
- checkUnnamed1190(o.frpAdminEmails);
+ checkUnnamed1191(o.frpAdminEmails);
unittest.expect(o.funDisabled, unittest.isTrue);
unittest.expect(o.installAppsDisabled, unittest.isTrue);
unittest.expect(o.installUnknownSourcesAllowed, unittest.isTrue);
unittest.expect(o.keyguardDisabled, unittest.isTrue);
- checkUnnamed1191(o.keyguardDisabledFeatures);
+ checkUnnamed1192(o.keyguardDisabledFeatures);
unittest.expect(o.kioskCustomLauncherEnabled, unittest.isTrue);
checkKioskCustomization(o.kioskCustomization);
unittest.expect(o.locationMode, unittest.equals('foo'));
@@ -2385,18 +2385,18 @@
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.networkEscapeHatchEnabled, unittest.isTrue);
unittest.expect(o.networkResetDisabled, unittest.isTrue);
- checkUnnamed1192(o.openNetworkConfiguration);
+ checkUnnamed1193(o.openNetworkConfiguration);
unittest.expect(o.outgoingBeamDisabled, unittest.isTrue);
unittest.expect(o.outgoingCallsDisabled, unittest.isTrue);
- checkUnnamed1193(o.passwordPolicies);
+ checkUnnamed1194(o.passwordPolicies);
checkPasswordRequirements(o.passwordRequirements);
- checkUnnamed1194(o.permissionGrants);
+ checkUnnamed1195(o.permissionGrants);
checkPackageNameList(o.permittedAccessibilityServices);
checkPackageNameList(o.permittedInputMethods);
- checkUnnamed1195(o.persistentPreferredActivities);
+ checkUnnamed1196(o.persistentPreferredActivities);
checkPersonalUsagePolicies(o.personalUsagePolicies);
unittest.expect(o.playStoreMode, unittest.equals('foo'));
- checkUnnamed1196(o.policyEnforcementRules);
+ checkUnnamed1197(o.policyEnforcementRules);
unittest.expect(o.privateKeySelectionEnabled, unittest.isTrue);
checkProxyInfo(o.recommendedGlobalProxy);
unittest.expect(o.removeUserDisabled, unittest.isTrue);
@@ -2404,14 +2404,14 @@
unittest.expect(o.screenCaptureDisabled, unittest.isTrue);
unittest.expect(o.setUserIconDisabled, unittest.isTrue);
unittest.expect(o.setWallpaperDisabled, unittest.isTrue);
- checkUnnamed1197(o.setupActions);
+ checkUnnamed1198(o.setupActions);
unittest.expect(o.shareLocationDisabled, unittest.isTrue);
checkUserFacingMessage(o.shortSupportMessage);
unittest.expect(o.skipFirstUseHintsEnabled, unittest.isTrue);
unittest.expect(o.smsDisabled, unittest.isTrue);
unittest.expect(o.statusBarDisabled, unittest.isTrue);
checkStatusReportingSettings(o.statusReportingSettings);
- checkUnnamed1198(o.stayOnPluggedModes);
+ checkUnnamed1199(o.stayOnPluggedModes);
checkSystemUpdate(o.systemUpdate);
unittest.expect(o.tetheringConfigDisabled, unittest.isTrue);
unittest.expect(o.uninstallAppsDisabled, unittest.isTrue);
@@ -2449,14 +2449,14 @@
buildCounterPolicyEnforcementRule--;
}
-buildUnnamed1199() {
+buildUnnamed1200() {
var o = new core.List<api.UserFacingMessage>();
o.add(buildUserFacingMessage());
o.add(buildUserFacingMessage());
return o;
}
-checkUnnamed1199(core.List<api.UserFacingMessage> o) {
+checkUnnamed1200(core.List<api.UserFacingMessage> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserFacingMessage(o[0]);
checkUserFacingMessage(o[1]);
@@ -2467,7 +2467,7 @@
var o = new api.PostureDetail();
buildCounterPostureDetail++;
if (buildCounterPostureDetail < 3) {
- o.advice = buildUnnamed1199();
+ o.advice = buildUnnamed1200();
o.securityRisk = "foo";
}
buildCounterPostureDetail--;
@@ -2477,7 +2477,7 @@
checkPostureDetail(api.PostureDetail o) {
buildCounterPostureDetail++;
if (buildCounterPostureDetail < 3) {
- checkUnnamed1199(o.advice);
+ checkUnnamed1200(o.advice);
unittest.expect(o.securityRisk, unittest.equals('foo'));
}
buildCounterPostureDetail--;
@@ -2506,14 +2506,14 @@
buildCounterPowerManagementEvent--;
}
-buildUnnamed1200() {
+buildUnnamed1201() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1200(core.List<core.String> o) {
+checkUnnamed1201(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2524,7 +2524,7 @@
var o = new api.ProxyInfo();
buildCounterProxyInfo++;
if (buildCounterProxyInfo < 3) {
- o.excludedHosts = buildUnnamed1200();
+ o.excludedHosts = buildUnnamed1201();
o.host = "foo";
o.pacUri = "foo";
o.port = 42;
@@ -2536,7 +2536,7 @@
checkProxyInfo(api.ProxyInfo o) {
buildCounterProxyInfo++;
if (buildCounterProxyInfo < 3) {
- checkUnnamed1200(o.excludedHosts);
+ checkUnnamed1201(o.excludedHosts);
unittest.expect(o.host, unittest.equals('foo'));
unittest.expect(o.pacUri, unittest.equals('foo'));
unittest.expect(o.port, unittest.equals(42));
@@ -2544,14 +2544,14 @@
buildCounterProxyInfo--;
}
-buildUnnamed1201() {
+buildUnnamed1202() {
var o = new core.List<api.PostureDetail>();
o.add(buildPostureDetail());
o.add(buildPostureDetail());
return o;
}
-checkUnnamed1201(core.List<api.PostureDetail> o) {
+checkUnnamed1202(core.List<api.PostureDetail> o) {
unittest.expect(o, unittest.hasLength(2));
checkPostureDetail(o[0]);
checkPostureDetail(o[1]);
@@ -2563,7 +2563,7 @@
buildCounterSecurityPosture++;
if (buildCounterSecurityPosture < 3) {
o.devicePosture = "foo";
- o.postureDetails = buildUnnamed1201();
+ o.postureDetails = buildUnnamed1202();
}
buildCounterSecurityPosture--;
return o;
@@ -2573,7 +2573,7 @@
buildCounterSecurityPosture++;
if (buildCounterSecurityPosture < 3) {
unittest.expect(o.devicePosture, unittest.equals('foo'));
- checkUnnamed1201(o.postureDetails);
+ checkUnnamed1202(o.postureDetails);
}
buildCounterSecurityPosture--;
}
@@ -2686,7 +2686,7 @@
buildCounterSoftwareInfo--;
}
-buildUnnamed1202() {
+buildUnnamed1203() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -2701,7 +2701,7 @@
return o;
}
-checkUnnamed1202(core.Map<core.String, core.Object> o) {
+checkUnnamed1203(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted11 = (o["x"]) as core.Map;
unittest.expect(casted11, unittest.hasLength(3));
@@ -2715,17 +2715,17 @@
unittest.expect(casted12["string"], unittest.equals('foo'));
}
-buildUnnamed1203() {
+buildUnnamed1204() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed1202());
- o.add(buildUnnamed1202());
+ o.add(buildUnnamed1203());
+ o.add(buildUnnamed1203());
return o;
}
-checkUnnamed1203(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed1204(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1202(o[0]);
- checkUnnamed1202(o[1]);
+ checkUnnamed1203(o[0]);
+ checkUnnamed1203(o[1]);
}
core.int buildCounterStatus = 0;
@@ -2734,7 +2734,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed1203();
+ o.details = buildUnnamed1204();
o.message = "foo";
}
buildCounterStatus--;
@@ -2745,7 +2745,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed1203(o.details);
+ checkUnnamed1204(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
@@ -2788,14 +2788,14 @@
buildCounterStatusReportingSettings--;
}
-buildUnnamed1204() {
+buildUnnamed1205() {
var o = new core.List<api.FreezePeriod>();
o.add(buildFreezePeriod());
o.add(buildFreezePeriod());
return o;
}
-checkUnnamed1204(core.List<api.FreezePeriod> o) {
+checkUnnamed1205(core.List<api.FreezePeriod> o) {
unittest.expect(o, unittest.hasLength(2));
checkFreezePeriod(o[0]);
checkFreezePeriod(o[1]);
@@ -2807,7 +2807,7 @@
buildCounterSystemUpdate++;
if (buildCounterSystemUpdate < 3) {
o.endMinutes = 42;
- o.freezePeriods = buildUnnamed1204();
+ o.freezePeriods = buildUnnamed1205();
o.startMinutes = 42;
o.type = "foo";
}
@@ -2819,7 +2819,7 @@
buildCounterSystemUpdate++;
if (buildCounterSystemUpdate < 3) {
unittest.expect(o.endMinutes, unittest.equals(42));
- checkUnnamed1204(o.freezePeriods);
+ checkUnnamed1205(o.freezePeriods);
unittest.expect(o.startMinutes, unittest.equals(42));
unittest.expect(o.type, unittest.equals('foo'));
}
@@ -2887,14 +2887,14 @@
buildCounterUser--;
}
-buildUnnamed1205() {
+buildUnnamed1206() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1205(core.Map<core.String, core.String> o) {
+checkUnnamed1206(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -2906,7 +2906,7 @@
buildCounterUserFacingMessage++;
if (buildCounterUserFacingMessage < 3) {
o.defaultMessage = "foo";
- o.localizedMessages = buildUnnamed1205();
+ o.localizedMessages = buildUnnamed1206();
}
buildCounterUserFacingMessage--;
return o;
@@ -2916,19 +2916,19 @@
buildCounterUserFacingMessage++;
if (buildCounterUserFacingMessage < 3) {
unittest.expect(o.defaultMessage, unittest.equals('foo'));
- checkUnnamed1205(o.localizedMessages);
+ checkUnnamed1206(o.localizedMessages);
}
buildCounterUserFacingMessage--;
}
-buildUnnamed1206() {
+buildUnnamed1207() {
var o = new core.List<api.WebAppIcon>();
o.add(buildWebAppIcon());
o.add(buildWebAppIcon());
return o;
}
-checkUnnamed1206(core.List<api.WebAppIcon> o) {
+checkUnnamed1207(core.List<api.WebAppIcon> o) {
unittest.expect(o, unittest.hasLength(2));
checkWebAppIcon(o[0]);
checkWebAppIcon(o[1]);
@@ -2940,7 +2940,7 @@
buildCounterWebApp++;
if (buildCounterWebApp < 3) {
o.displayMode = "foo";
- o.icons = buildUnnamed1206();
+ o.icons = buildUnnamed1207();
o.name = "foo";
o.startUrl = "foo";
o.title = "foo";
@@ -2954,7 +2954,7 @@
buildCounterWebApp++;
if (buildCounterWebApp < 3) {
unittest.expect(o.displayMode, unittest.equals('foo'));
- checkUnnamed1206(o.icons);
+ checkUnnamed1207(o.icons);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.startUrl, unittest.equals('foo'));
unittest.expect(o.title, unittest.equals('foo'));
@@ -2982,19 +2982,6 @@
buildCounterWebAppIcon--;
}
-buildUnnamed1207() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1207(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed1208() {
var o = new core.List<core.String>();
o.add("foo");
@@ -3008,15 +2995,28 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed1209() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1209(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
core.int buildCounterWebToken = 0;
buildWebToken() {
var o = new api.WebToken();
buildCounterWebToken++;
if (buildCounterWebToken < 3) {
- o.enabledFeatures = buildUnnamed1207();
+ o.enabledFeatures = buildUnnamed1208();
o.name = "foo";
o.parentFrameUrl = "foo";
- o.permissions = buildUnnamed1208();
+ o.permissions = buildUnnamed1209();
o.value = "foo";
}
buildCounterWebToken--;
@@ -3026,10 +3026,10 @@
checkWebToken(api.WebToken o) {
buildCounterWebToken++;
if (buildCounterWebToken < 3) {
- checkUnnamed1207(o.enabledFeatures);
+ checkUnnamed1208(o.enabledFeatures);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.parentFrameUrl, unittest.equals('foo'));
- checkUnnamed1208(o.permissions);
+ checkUnnamed1209(o.permissions);
unittest.expect(o.value, unittest.equals('foo'));
}
buildCounterWebToken--;
@@ -3056,14 +3056,14 @@
buildCounterWipeAction--;
}
-buildUnnamed1209() {
+buildUnnamed1210() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1209(core.List<core.String> o) {
+checkUnnamed1210(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3621,8 +3621,8 @@
new api.AndroidmanagementApi(mock).enterprises;
var arg_request = buildEnterprise();
var arg_projectId = "foo";
- var arg_signupUrlName = "foo";
var arg_enterpriseToken = "foo";
+ var arg_signupUrlName = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.Enterprise.fromJson(json);
@@ -3659,10 +3659,10 @@
}
unittest.expect(
queryMap["projectId"].first, unittest.equals(arg_projectId));
- unittest.expect(queryMap["signupUrlName"].first,
- unittest.equals(arg_signupUrlName));
unittest.expect(queryMap["enterpriseToken"].first,
unittest.equals(arg_enterpriseToken));
+ unittest.expect(queryMap["signupUrlName"].first,
+ unittest.equals(arg_signupUrlName));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3674,8 +3674,8 @@
res
.create(arg_request,
projectId: arg_projectId,
- signupUrlName: arg_signupUrlName,
enterpriseToken: arg_enterpriseToken,
+ signupUrlName: arg_signupUrlName,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkEnterprise(response);
@@ -3859,7 +3859,7 @@
new api.AndroidmanagementApi(mock).enterprises.devices;
var arg_name = "foo";
var arg_wipeReasonMessage = "foo";
- var arg_wipeDataFlags = buildUnnamed1209();
+ var arg_wipeDataFlags = buildUnnamed1210();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -4306,9 +4306,9 @@
api.EnterprisesDevicesOperationsResourceApi res =
new api.AndroidmanagementApi(mock).enterprises.devices.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;
@@ -4341,11 +4341,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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 = {
@@ -4356,9 +4356,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);
@@ -4586,8 +4586,8 @@
api.EnterprisesPoliciesResourceApi res =
new api.AndroidmanagementApi(mock).enterprises.policies;
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;
@@ -4620,10 +4620,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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 = {
@@ -4634,8 +4634,8 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListPoliciesResponse(response);
@@ -4869,8 +4869,8 @@
api.EnterprisesWebAppsResourceApi res =
new api.AndroidmanagementApi(mock).enterprises.webApps;
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;
@@ -4903,10 +4903,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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 = {
@@ -4917,8 +4917,8 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListWebAppsResponse(response);
@@ -5049,8 +5049,8 @@
var mock = new HttpServerMock();
api.SignupUrlsResourceApi res =
new api.AndroidmanagementApi(mock).signupUrls;
- var arg_projectId = "foo";
var arg_callbackUrl = "foo";
+ var arg_projectId = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -5083,9 +5083,9 @@
}
}
unittest.expect(
- queryMap["projectId"].first, unittest.equals(arg_projectId));
- unittest.expect(
queryMap["callbackUrl"].first, unittest.equals(arg_callbackUrl));
+ unittest.expect(
+ queryMap["projectId"].first, unittest.equals(arg_projectId));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -5096,8 +5096,8 @@
}), true);
res
.create(
- projectId: arg_projectId,
callbackUrl: arg_callbackUrl,
+ projectId: arg_projectId,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkSignupUrl(response);
diff --git a/generated/googleapis/test/androidpublisher/v3_test.dart b/generated/googleapis/test/androidpublisher/v3_test.dart
index bb63ab2..ec55098 100644
--- a/generated/googleapis/test/androidpublisher/v3_test.dart
+++ b/generated/googleapis/test/androidpublisher/v3_test.dart
@@ -130,14 +130,14 @@
buildCounterApksAddExternallyHostedResponse--;
}
-buildUnnamed1058() {
+buildUnnamed1059() {
var o = new core.List<api.Apk>();
o.add(buildApk());
o.add(buildApk());
return o;
}
-checkUnnamed1058(core.List<api.Apk> o) {
+checkUnnamed1059(core.List<api.Apk> o) {
unittest.expect(o, unittest.hasLength(2));
checkApk(o[0]);
checkApk(o[1]);
@@ -148,7 +148,7 @@
var o = new api.ApksListResponse();
buildCounterApksListResponse++;
if (buildCounterApksListResponse < 3) {
- o.apks = buildUnnamed1058();
+ o.apks = buildUnnamed1059();
o.kind = "foo";
}
buildCounterApksListResponse--;
@@ -158,7 +158,7 @@
checkApksListResponse(api.ApksListResponse o) {
buildCounterApksListResponse++;
if (buildCounterApksListResponse < 3) {
- checkUnnamed1058(o.apks);
+ checkUnnamed1059(o.apks);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterApksListResponse--;
@@ -233,14 +233,14 @@
buildCounterBundle--;
}
-buildUnnamed1059() {
+buildUnnamed1060() {
var o = new core.List<api.Bundle>();
o.add(buildBundle());
o.add(buildBundle());
return o;
}
-checkUnnamed1059(core.List<api.Bundle> o) {
+checkUnnamed1060(core.List<api.Bundle> o) {
unittest.expect(o, unittest.hasLength(2));
checkBundle(o[0]);
checkBundle(o[1]);
@@ -251,7 +251,7 @@
var o = new api.BundlesListResponse();
buildCounterBundlesListResponse++;
if (buildCounterBundlesListResponse < 3) {
- o.bundles = buildUnnamed1059();
+ o.bundles = buildUnnamed1060();
o.kind = "foo";
}
buildCounterBundlesListResponse--;
@@ -261,7 +261,7 @@
checkBundlesListResponse(api.BundlesListResponse o) {
buildCounterBundlesListResponse++;
if (buildCounterBundlesListResponse < 3) {
- checkUnnamed1059(o.bundles);
+ checkUnnamed1060(o.bundles);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterBundlesListResponse--;
@@ -288,14 +288,14 @@
buildCounterComment--;
}
-buildUnnamed1060() {
+buildUnnamed1061() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1060(core.List<core.String> o) {
+checkUnnamed1061(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -306,7 +306,7 @@
var o = new api.CountryTargeting();
buildCounterCountryTargeting++;
if (buildCounterCountryTargeting < 3) {
- o.countries = buildUnnamed1060();
+ o.countries = buildUnnamed1061();
o.includeRestOfWorld = true;
}
buildCounterCountryTargeting--;
@@ -316,7 +316,7 @@
checkCountryTargeting(api.CountryTargeting o) {
buildCounterCountryTargeting++;
if (buildCounterCountryTargeting < 3) {
- checkUnnamed1060(o.countries);
+ checkUnnamed1061(o.countries);
unittest.expect(o.includeRestOfWorld, unittest.isTrue);
}
buildCounterCountryTargeting--;
@@ -420,19 +420,6 @@
buildCounterDeviceMetadata--;
}
-buildUnnamed1061() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1061(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed1062() {
var o = new core.List<core.String>();
o.add("foo");
@@ -446,14 +433,27 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed1063() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1063(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
core.int buildCounterDeviceSpec = 0;
buildDeviceSpec() {
var o = new api.DeviceSpec();
buildCounterDeviceSpec++;
if (buildCounterDeviceSpec < 3) {
o.screenDensity = 42;
- o.supportedAbis = buildUnnamed1061();
- o.supportedLocales = buildUnnamed1062();
+ o.supportedAbis = buildUnnamed1062();
+ o.supportedLocales = buildUnnamed1063();
}
buildCounterDeviceSpec--;
return o;
@@ -463,8 +463,8 @@
buildCounterDeviceSpec++;
if (buildCounterDeviceSpec < 3) {
unittest.expect(o.screenDensity, unittest.equals(42));
- checkUnnamed1061(o.supportedAbis);
- checkUnnamed1062(o.supportedLocales);
+ checkUnnamed1062(o.supportedAbis);
+ checkUnnamed1063(o.supportedLocales);
}
buildCounterDeviceSpec--;
}
@@ -509,19 +509,6 @@
buildCounterExpansionFilesUploadResponse--;
}
-buildUnnamed1063() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1063(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed1064() {
var o = new core.List<core.String>();
o.add("foo");
@@ -549,13 +536,26 @@
}
buildUnnamed1066() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1066(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed1067() {
var o = new core.List<api.UsesPermission>();
o.add(buildUsesPermission());
o.add(buildUsesPermission());
return o;
}
-checkUnnamed1066(core.List<api.UsesPermission> o) {
+checkUnnamed1067(core.List<api.UsesPermission> o) {
unittest.expect(o, unittest.hasLength(2));
checkUsesPermission(o[0]);
checkUsesPermission(o[1]);
@@ -567,7 +567,7 @@
buildCounterExternallyHostedApk++;
if (buildCounterExternallyHostedApk < 3) {
o.applicationLabel = "foo";
- o.certificateBase64s = buildUnnamed1063();
+ o.certificateBase64s = buildUnnamed1064();
o.externallyHostedUrl = "foo";
o.fileSha1Base64 = "foo";
o.fileSha256Base64 = "foo";
@@ -575,10 +575,10 @@
o.iconBase64 = "foo";
o.maximumSdk = 42;
o.minimumSdk = 42;
- o.nativeCodes = buildUnnamed1064();
+ o.nativeCodes = buildUnnamed1065();
o.packageName = "foo";
- o.usesFeatures = buildUnnamed1065();
- o.usesPermissions = buildUnnamed1066();
+ o.usesFeatures = buildUnnamed1066();
+ o.usesPermissions = buildUnnamed1067();
o.versionCode = 42;
o.versionName = "foo";
}
@@ -590,7 +590,7 @@
buildCounterExternallyHostedApk++;
if (buildCounterExternallyHostedApk < 3) {
unittest.expect(o.applicationLabel, unittest.equals('foo'));
- checkUnnamed1063(o.certificateBase64s);
+ checkUnnamed1064(o.certificateBase64s);
unittest.expect(o.externallyHostedUrl, unittest.equals('foo'));
unittest.expect(o.fileSha1Base64, unittest.equals('foo'));
unittest.expect(o.fileSha256Base64, unittest.equals('foo'));
@@ -598,10 +598,10 @@
unittest.expect(o.iconBase64, unittest.equals('foo'));
unittest.expect(o.maximumSdk, unittest.equals(42));
unittest.expect(o.minimumSdk, unittest.equals(42));
- checkUnnamed1064(o.nativeCodes);
+ checkUnnamed1065(o.nativeCodes);
unittest.expect(o.packageName, unittest.equals('foo'));
- checkUnnamed1065(o.usesFeatures);
- checkUnnamed1066(o.usesPermissions);
+ checkUnnamed1066(o.usesFeatures);
+ checkUnnamed1067(o.usesPermissions);
unittest.expect(o.versionCode, unittest.equals(42));
unittest.expect(o.versionName, unittest.equals('foo'));
}
@@ -633,38 +633,6 @@
buildCounterImage--;
}
-buildUnnamed1067() {
- var o = new core.List<api.Image>();
- o.add(buildImage());
- o.add(buildImage());
- return o;
-}
-
-checkUnnamed1067(core.List<api.Image> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkImage(o[0]);
- checkImage(o[1]);
-}
-
-core.int buildCounterImagesDeleteAllResponse = 0;
-buildImagesDeleteAllResponse() {
- var o = new api.ImagesDeleteAllResponse();
- buildCounterImagesDeleteAllResponse++;
- if (buildCounterImagesDeleteAllResponse < 3) {
- o.deleted = buildUnnamed1067();
- }
- buildCounterImagesDeleteAllResponse--;
- return o;
-}
-
-checkImagesDeleteAllResponse(api.ImagesDeleteAllResponse o) {
- buildCounterImagesDeleteAllResponse++;
- if (buildCounterImagesDeleteAllResponse < 3) {
- checkUnnamed1067(o.deleted);
- }
- buildCounterImagesDeleteAllResponse--;
-}
-
buildUnnamed1068() {
var o = new core.List<api.Image>();
o.add(buildImage());
@@ -678,12 +646,44 @@
checkImage(o[1]);
}
+core.int buildCounterImagesDeleteAllResponse = 0;
+buildImagesDeleteAllResponse() {
+ var o = new api.ImagesDeleteAllResponse();
+ buildCounterImagesDeleteAllResponse++;
+ if (buildCounterImagesDeleteAllResponse < 3) {
+ o.deleted = buildUnnamed1068();
+ }
+ buildCounterImagesDeleteAllResponse--;
+ return o;
+}
+
+checkImagesDeleteAllResponse(api.ImagesDeleteAllResponse o) {
+ buildCounterImagesDeleteAllResponse++;
+ if (buildCounterImagesDeleteAllResponse < 3) {
+ checkUnnamed1068(o.deleted);
+ }
+ buildCounterImagesDeleteAllResponse--;
+}
+
+buildUnnamed1069() {
+ var o = new core.List<api.Image>();
+ o.add(buildImage());
+ o.add(buildImage());
+ return o;
+}
+
+checkUnnamed1069(core.List<api.Image> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkImage(o[0]);
+ checkImage(o[1]);
+}
+
core.int buildCounterImagesListResponse = 0;
buildImagesListResponse() {
var o = new api.ImagesListResponse();
buildCounterImagesListResponse++;
if (buildCounterImagesListResponse < 3) {
- o.images = buildUnnamed1068();
+ o.images = buildUnnamed1069();
}
buildCounterImagesListResponse--;
return o;
@@ -692,7 +692,7 @@
checkImagesListResponse(api.ImagesListResponse o) {
buildCounterImagesListResponse++;
if (buildCounterImagesListResponse < 3) {
- checkUnnamed1068(o.images);
+ checkUnnamed1069(o.images);
}
buildCounterImagesListResponse--;
}
@@ -716,27 +716,27 @@
buildCounterImagesUploadResponse--;
}
-buildUnnamed1069() {
+buildUnnamed1070() {
var o = new core.Map<core.String, api.InAppProductListing>();
o["x"] = buildInAppProductListing();
o["y"] = buildInAppProductListing();
return o;
}
-checkUnnamed1069(core.Map<core.String, api.InAppProductListing> o) {
+checkUnnamed1070(core.Map<core.String, api.InAppProductListing> o) {
unittest.expect(o, unittest.hasLength(2));
checkInAppProductListing(o["x"]);
checkInAppProductListing(o["y"]);
}
-buildUnnamed1070() {
+buildUnnamed1071() {
var o = new core.Map<core.String, api.Price>();
o["x"] = buildPrice();
o["y"] = buildPrice();
return o;
}
-checkUnnamed1070(core.Map<core.String, api.Price> o) {
+checkUnnamed1071(core.Map<core.String, api.Price> o) {
unittest.expect(o, unittest.hasLength(2));
checkPrice(o["x"]);
checkPrice(o["y"]);
@@ -750,9 +750,9 @@
o.defaultLanguage = "foo";
o.defaultPrice = buildPrice();
o.gracePeriod = "foo";
- o.listings = buildUnnamed1069();
+ o.listings = buildUnnamed1070();
o.packageName = "foo";
- o.prices = buildUnnamed1070();
+ o.prices = buildUnnamed1071();
o.purchaseType = "foo";
o.sku = "foo";
o.status = "foo";
@@ -769,9 +769,9 @@
unittest.expect(o.defaultLanguage, unittest.equals('foo'));
checkPrice(o.defaultPrice);
unittest.expect(o.gracePeriod, unittest.equals('foo'));
- checkUnnamed1069(o.listings);
+ checkUnnamed1070(o.listings);
unittest.expect(o.packageName, unittest.equals('foo'));
- checkUnnamed1070(o.prices);
+ checkUnnamed1071(o.prices);
unittest.expect(o.purchaseType, unittest.equals('foo'));
unittest.expect(o.sku, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals('foo'));
@@ -781,14 +781,14 @@
buildCounterInAppProduct--;
}
-buildUnnamed1071() {
+buildUnnamed1072() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1071(core.List<core.String> o) {
+checkUnnamed1072(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -799,7 +799,7 @@
var o = new api.InAppProductListing();
buildCounterInAppProductListing++;
if (buildCounterInAppProductListing < 3) {
- o.benefits = buildUnnamed1071();
+ o.benefits = buildUnnamed1072();
o.description = "foo";
o.title = "foo";
}
@@ -810,21 +810,21 @@
checkInAppProductListing(api.InAppProductListing o) {
buildCounterInAppProductListing++;
if (buildCounterInAppProductListing < 3) {
- checkUnnamed1071(o.benefits);
+ checkUnnamed1072(o.benefits);
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.title, unittest.equals('foo'));
}
buildCounterInAppProductListing--;
}
-buildUnnamed1072() {
+buildUnnamed1073() {
var o = new core.List<api.InAppProduct>();
o.add(buildInAppProduct());
o.add(buildInAppProduct());
return o;
}
-checkUnnamed1072(core.List<api.InAppProduct> o) {
+checkUnnamed1073(core.List<api.InAppProduct> o) {
unittest.expect(o, unittest.hasLength(2));
checkInAppProduct(o[0]);
checkInAppProduct(o[1]);
@@ -835,7 +835,7 @@
var o = new api.InappproductsListResponse();
buildCounterInappproductsListResponse++;
if (buildCounterInappproductsListResponse < 3) {
- o.inappproduct = buildUnnamed1072();
+ o.inappproduct = buildUnnamed1073();
o.kind = "foo";
o.pageInfo = buildPageInfo();
o.tokenPagination = buildTokenPagination();
@@ -847,7 +847,7 @@
checkInappproductsListResponse(api.InappproductsListResponse o) {
buildCounterInappproductsListResponse++;
if (buildCounterInappproductsListResponse < 3) {
- checkUnnamed1072(o.inappproduct);
+ checkUnnamed1073(o.inappproduct);
unittest.expect(o.kind, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
checkTokenPagination(o.tokenPagination);
@@ -930,14 +930,14 @@
buildCounterListing--;
}
-buildUnnamed1073() {
+buildUnnamed1074() {
var o = new core.List<api.Listing>();
o.add(buildListing());
o.add(buildListing());
return o;
}
-checkUnnamed1073(core.List<api.Listing> o) {
+checkUnnamed1074(core.List<api.Listing> o) {
unittest.expect(o, unittest.hasLength(2));
checkListing(o[0]);
checkListing(o[1]);
@@ -949,7 +949,7 @@
buildCounterListingsListResponse++;
if (buildCounterListingsListResponse < 3) {
o.kind = "foo";
- o.listings = buildUnnamed1073();
+ o.listings = buildUnnamed1074();
}
buildCounterListingsListResponse--;
return o;
@@ -959,7 +959,7 @@
buildCounterListingsListResponse++;
if (buildCounterListingsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1073(o.listings);
+ checkUnnamed1074(o.listings);
}
buildCounterListingsListResponse--;
}
@@ -1094,14 +1094,14 @@
buildCounterProductPurchasesAcknowledgeRequest--;
}
-buildUnnamed1074() {
+buildUnnamed1075() {
var o = new core.List<api.Comment>();
o.add(buildComment());
o.add(buildComment());
return o;
}
-checkUnnamed1074(core.List<api.Comment> o) {
+checkUnnamed1075(core.List<api.Comment> o) {
unittest.expect(o, unittest.hasLength(2));
checkComment(o[0]);
checkComment(o[1]);
@@ -1113,7 +1113,7 @@
buildCounterReview++;
if (buildCounterReview < 3) {
o.authorName = "foo";
- o.comments = buildUnnamed1074();
+ o.comments = buildUnnamed1075();
o.reviewId = "foo";
}
buildCounterReview--;
@@ -1124,7 +1124,7 @@
buildCounterReview++;
if (buildCounterReview < 3) {
unittest.expect(o.authorName, unittest.equals('foo'));
- checkUnnamed1074(o.comments);
+ checkUnnamed1075(o.comments);
unittest.expect(o.reviewId, unittest.equals('foo'));
}
buildCounterReview--;
@@ -1151,14 +1151,14 @@
buildCounterReviewReplyResult--;
}
-buildUnnamed1075() {
+buildUnnamed1076() {
var o = new core.List<api.Review>();
o.add(buildReview());
o.add(buildReview());
return o;
}
-checkUnnamed1075(core.List<api.Review> o) {
+checkUnnamed1076(core.List<api.Review> o) {
unittest.expect(o, unittest.hasLength(2));
checkReview(o[0]);
checkReview(o[1]);
@@ -1170,7 +1170,7 @@
buildCounterReviewsListResponse++;
if (buildCounterReviewsListResponse < 3) {
o.pageInfo = buildPageInfo();
- o.reviews = buildUnnamed1075();
+ o.reviews = buildUnnamed1076();
o.tokenPagination = buildTokenPagination();
}
buildCounterReviewsListResponse--;
@@ -1181,7 +1181,7 @@
buildCounterReviewsListResponse++;
if (buildCounterReviewsListResponse < 3) {
checkPageInfo(o.pageInfo);
- checkUnnamed1075(o.reviews);
+ checkUnnamed1076(o.reviews);
checkTokenPagination(o.tokenPagination);
}
buildCounterReviewsListResponse--;
@@ -1423,14 +1423,14 @@
buildCounterSubscriptionPurchasesDeferResponse--;
}
-buildUnnamed1076() {
+buildUnnamed1077() {
var o = new core.List<api.Variant>();
o.add(buildVariant());
o.add(buildVariant());
return o;
}
-checkUnnamed1076(core.List<api.Variant> o) {
+checkUnnamed1077(core.List<api.Variant> o) {
unittest.expect(o, unittest.hasLength(2));
checkVariant(o[0]);
checkVariant(o[1]);
@@ -1441,7 +1441,7 @@
var o = new api.SystemApksListResponse();
buildCounterSystemApksListResponse++;
if (buildCounterSystemApksListResponse < 3) {
- o.variants = buildUnnamed1076();
+ o.variants = buildUnnamed1077();
}
buildCounterSystemApksListResponse--;
return o;
@@ -1450,19 +1450,19 @@
checkSystemApksListResponse(api.SystemApksListResponse o) {
buildCounterSystemApksListResponse++;
if (buildCounterSystemApksListResponse < 3) {
- checkUnnamed1076(o.variants);
+ checkUnnamed1077(o.variants);
}
buildCounterSystemApksListResponse--;
}
-buildUnnamed1077() {
+buildUnnamed1078() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1077(core.List<core.String> o) {
+checkUnnamed1078(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1473,7 +1473,7 @@
var o = new api.Testers();
buildCounterTesters++;
if (buildCounterTesters < 3) {
- o.googleGroups = buildUnnamed1077();
+ o.googleGroups = buildUnnamed1078();
}
buildCounterTesters--;
return o;
@@ -1482,7 +1482,7 @@
checkTesters(api.Testers o) {
buildCounterTesters++;
if (buildCounterTesters < 3) {
- checkUnnamed1077(o.googleGroups);
+ checkUnnamed1078(o.googleGroups);
}
buildCounterTesters--;
}
@@ -1529,14 +1529,14 @@
buildCounterTokenPagination--;
}
-buildUnnamed1078() {
+buildUnnamed1079() {
var o = new core.List<api.TrackRelease>();
o.add(buildTrackRelease());
o.add(buildTrackRelease());
return o;
}
-checkUnnamed1078(core.List<api.TrackRelease> o) {
+checkUnnamed1079(core.List<api.TrackRelease> o) {
unittest.expect(o, unittest.hasLength(2));
checkTrackRelease(o[0]);
checkTrackRelease(o[1]);
@@ -1547,7 +1547,7 @@
var o = new api.Track();
buildCounterTrack++;
if (buildCounterTrack < 3) {
- o.releases = buildUnnamed1078();
+ o.releases = buildUnnamed1079();
o.track = "foo";
}
buildCounterTrack--;
@@ -1557,33 +1557,33 @@
checkTrack(api.Track o) {
buildCounterTrack++;
if (buildCounterTrack < 3) {
- checkUnnamed1078(o.releases);
+ checkUnnamed1079(o.releases);
unittest.expect(o.track, unittest.equals('foo'));
}
buildCounterTrack--;
}
-buildUnnamed1079() {
+buildUnnamed1080() {
var o = new core.List<api.LocalizedText>();
o.add(buildLocalizedText());
o.add(buildLocalizedText());
return o;
}
-checkUnnamed1079(core.List<api.LocalizedText> o) {
+checkUnnamed1080(core.List<api.LocalizedText> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocalizedText(o[0]);
checkLocalizedText(o[1]);
}
-buildUnnamed1080() {
+buildUnnamed1081() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1080(core.List<core.String> o) {
+checkUnnamed1081(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1597,10 +1597,10 @@
o.countryTargeting = buildCountryTargeting();
o.inAppUpdatePriority = 42;
o.name = "foo";
- o.releaseNotes = buildUnnamed1079();
+ o.releaseNotes = buildUnnamed1080();
o.status = "foo";
o.userFraction = 42.0;
- o.versionCodes = buildUnnamed1080();
+ o.versionCodes = buildUnnamed1081();
}
buildCounterTrackRelease--;
return o;
@@ -1612,22 +1612,22 @@
checkCountryTargeting(o.countryTargeting);
unittest.expect(o.inAppUpdatePriority, unittest.equals(42));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1079(o.releaseNotes);
+ checkUnnamed1080(o.releaseNotes);
unittest.expect(o.status, unittest.equals('foo'));
unittest.expect(o.userFraction, unittest.equals(42.0));
- checkUnnamed1080(o.versionCodes);
+ checkUnnamed1081(o.versionCodes);
}
buildCounterTrackRelease--;
}
-buildUnnamed1081() {
+buildUnnamed1082() {
var o = new core.List<api.Track>();
o.add(buildTrack());
o.add(buildTrack());
return o;
}
-checkUnnamed1081(core.List<api.Track> o) {
+checkUnnamed1082(core.List<api.Track> o) {
unittest.expect(o, unittest.hasLength(2));
checkTrack(o[0]);
checkTrack(o[1]);
@@ -1639,7 +1639,7 @@
buildCounterTracksListResponse++;
if (buildCounterTracksListResponse < 3) {
o.kind = "foo";
- o.tracks = buildUnnamed1081();
+ o.tracks = buildUnnamed1082();
}
buildCounterTracksListResponse--;
return o;
@@ -1649,7 +1649,7 @@
buildCounterTracksListResponse++;
if (buildCounterTracksListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1081(o.tracks);
+ checkUnnamed1082(o.tracks);
}
buildCounterTracksListResponse--;
}
@@ -1768,14 +1768,14 @@
buildCounterVoidedPurchase--;
}
-buildUnnamed1082() {
+buildUnnamed1083() {
var o = new core.List<api.VoidedPurchase>();
o.add(buildVoidedPurchase());
o.add(buildVoidedPurchase());
return o;
}
-checkUnnamed1082(core.List<api.VoidedPurchase> o) {
+checkUnnamed1083(core.List<api.VoidedPurchase> o) {
unittest.expect(o, unittest.hasLength(2));
checkVoidedPurchase(o[0]);
checkVoidedPurchase(o[1]);
@@ -1788,7 +1788,7 @@
if (buildCounterVoidedPurchasesListResponse < 3) {
o.pageInfo = buildPageInfo();
o.tokenPagination = buildTokenPagination();
- o.voidedPurchases = buildUnnamed1082();
+ o.voidedPurchases = buildUnnamed1083();
}
buildCounterVoidedPurchasesListResponse--;
return o;
@@ -1799,7 +1799,7 @@
if (buildCounterVoidedPurchasesListResponse < 3) {
checkPageInfo(o.pageInfo);
checkTokenPagination(o.tokenPagination);
- checkUnnamed1082(o.voidedPurchases);
+ checkUnnamed1083(o.voidedPurchases);
}
buildCounterVoidedPurchasesListResponse--;
}
@@ -5182,9 +5182,9 @@
api.InappproductsResourceApi res =
new 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;
@@ -5225,11 +5225,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ 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 = {
@@ -5240,9 +5240,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);
@@ -6240,12 +6240,12 @@
api.PurchasesVoidedpurchasesResourceApi res =
new api.AndroidpublisherApi(mock).purchases.voidedpurchases;
var arg_packageName = "foo";
+ var arg_startIndex = 42;
var arg_maxResults = 42;
- var arg_type = 42;
+ var arg_token = "foo";
var arg_startTime = "foo";
var arg_endTime = "foo";
- var arg_startIndex = 42;
- var arg_token = "foo";
+ var arg_type = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -6286,17 +6286,17 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ 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(
- core.int.parse(queryMap["type"].first), unittest.equals(arg_type));
+ 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["startIndex"].first),
- unittest.equals(arg_startIndex));
- 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));
var h = {
@@ -6307,12 +6307,12 @@
}), true);
res
.list(arg_packageName,
+ startIndex: arg_startIndex,
maxResults: arg_maxResults,
- type: arg_type,
+ token: arg_token,
startTime: arg_startTime,
endTime: arg_endTime,
- startIndex: arg_startIndex,
- token: arg_token,
+ type: arg_type,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkVoidedPurchasesListResponse(response);
diff --git a/generated/googleapis/test/apigee/v1_test.dart b/generated/googleapis/test/apigee/v1_test.dart
index 81fcea8..55de763 100644
--- a/generated/googleapis/test/apigee/v1_test.dart
+++ b/generated/googleapis/test/apigee/v1_test.dart
@@ -250,6 +250,59 @@
buildCounterGoogleCloudApigeeV1AliasRevisionConfig--;
}
+core.int buildCounterGoogleCloudApigeeV1ApiCategory = 0;
+buildGoogleCloudApigeeV1ApiCategory() {
+ var o = new api.GoogleCloudApigeeV1ApiCategory();
+ buildCounterGoogleCloudApigeeV1ApiCategory++;
+ if (buildCounterGoogleCloudApigeeV1ApiCategory < 3) {
+ o.data = buildGoogleCloudApigeeV1ApiCategoryData();
+ o.errorCode = "foo";
+ o.message = "foo";
+ o.requestId = "foo";
+ o.status = "foo";
+ }
+ buildCounterGoogleCloudApigeeV1ApiCategory--;
+ return o;
+}
+
+checkGoogleCloudApigeeV1ApiCategory(api.GoogleCloudApigeeV1ApiCategory o) {
+ buildCounterGoogleCloudApigeeV1ApiCategory++;
+ if (buildCounterGoogleCloudApigeeV1ApiCategory < 3) {
+ checkGoogleCloudApigeeV1ApiCategoryData(o.data);
+ unittest.expect(o.errorCode, unittest.equals('foo'));
+ unittest.expect(o.message, unittest.equals('foo'));
+ unittest.expect(o.requestId, unittest.equals('foo'));
+ unittest.expect(o.status, unittest.equals('foo'));
+ }
+ buildCounterGoogleCloudApigeeV1ApiCategory--;
+}
+
+core.int buildCounterGoogleCloudApigeeV1ApiCategoryData = 0;
+buildGoogleCloudApigeeV1ApiCategoryData() {
+ var o = new api.GoogleCloudApigeeV1ApiCategoryData();
+ buildCounterGoogleCloudApigeeV1ApiCategoryData++;
+ if (buildCounterGoogleCloudApigeeV1ApiCategoryData < 3) {
+ o.id = "foo";
+ o.name = "foo";
+ o.siteId = "foo";
+ o.updateTime = "foo";
+ }
+ buildCounterGoogleCloudApigeeV1ApiCategoryData--;
+ return o;
+}
+
+checkGoogleCloudApigeeV1ApiCategoryData(
+ api.GoogleCloudApigeeV1ApiCategoryData o) {
+ buildCounterGoogleCloudApigeeV1ApiCategoryData++;
+ if (buildCounterGoogleCloudApigeeV1ApiCategoryData < 3) {
+ unittest.expect(o.id, unittest.equals('foo'));
+ unittest.expect(o.name, unittest.equals('foo'));
+ unittest.expect(o.siteId, unittest.equals('foo'));
+ unittest.expect(o.updateTime, unittest.equals('foo'));
+ }
+ buildCounterGoogleCloudApigeeV1ApiCategoryData--;
+}
+
buildUnnamed256() {
var o = new core.List<core.String>();
o.add("foo");
@@ -626,6 +679,32 @@
buildCounterGoogleCloudApigeeV1ApiProxyRevision--;
}
+core.int buildCounterGoogleCloudApigeeV1ApiResponseWrapper = 0;
+buildGoogleCloudApigeeV1ApiResponseWrapper() {
+ var o = new api.GoogleCloudApigeeV1ApiResponseWrapper();
+ buildCounterGoogleCloudApigeeV1ApiResponseWrapper++;
+ if (buildCounterGoogleCloudApigeeV1ApiResponseWrapper < 3) {
+ o.errorCode = "foo";
+ o.message = "foo";
+ o.requestId = "foo";
+ o.status = "foo";
+ }
+ buildCounterGoogleCloudApigeeV1ApiResponseWrapper--;
+ return o;
+}
+
+checkGoogleCloudApigeeV1ApiResponseWrapper(
+ api.GoogleCloudApigeeV1ApiResponseWrapper o) {
+ buildCounterGoogleCloudApigeeV1ApiResponseWrapper++;
+ if (buildCounterGoogleCloudApigeeV1ApiResponseWrapper < 3) {
+ unittest.expect(o.errorCode, unittest.equals('foo'));
+ unittest.expect(o.message, unittest.equals('foo'));
+ unittest.expect(o.requestId, unittest.equals('foo'));
+ unittest.expect(o.status, unittest.equals('foo'));
+ }
+ buildCounterGoogleCloudApigeeV1ApiResponseWrapper--;
+}
+
buildUnnamed273() {
var o = new core.List<api.GoogleCloudApigeeV1ApiProductRef>();
o.add(buildGoogleCloudApigeeV1ApiProductRef());
@@ -2610,6 +2689,7 @@
o.location = "foo";
o.name = "foo";
o.port = "foo";
+ o.state = "foo";
}
buildCounterGoogleCloudApigeeV1Instance--;
return o;
@@ -2627,6 +2707,7 @@
unittest.expect(o.location, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.port, unittest.equals('foo'));
+ unittest.expect(o.state, unittest.equals('foo'));
}
buildCounterGoogleCloudApigeeV1Instance--;
}
@@ -2877,13 +2958,54 @@
}
buildUnnamed332() {
+ var o = new core.List<api.GoogleCloudApigeeV1ApiCategoryData>();
+ o.add(buildGoogleCloudApigeeV1ApiCategoryData());
+ o.add(buildGoogleCloudApigeeV1ApiCategoryData());
+ return o;
+}
+
+checkUnnamed332(core.List<api.GoogleCloudApigeeV1ApiCategoryData> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkGoogleCloudApigeeV1ApiCategoryData(o[0]);
+ checkGoogleCloudApigeeV1ApiCategoryData(o[1]);
+}
+
+core.int buildCounterGoogleCloudApigeeV1ListApiCategoriesResponse = 0;
+buildGoogleCloudApigeeV1ListApiCategoriesResponse() {
+ var o = new api.GoogleCloudApigeeV1ListApiCategoriesResponse();
+ buildCounterGoogleCloudApigeeV1ListApiCategoriesResponse++;
+ if (buildCounterGoogleCloudApigeeV1ListApiCategoriesResponse < 3) {
+ o.data = buildUnnamed332();
+ o.errorCode = "foo";
+ o.message = "foo";
+ o.requestId = "foo";
+ o.status = "foo";
+ }
+ buildCounterGoogleCloudApigeeV1ListApiCategoriesResponse--;
+ return o;
+}
+
+checkGoogleCloudApigeeV1ListApiCategoriesResponse(
+ api.GoogleCloudApigeeV1ListApiCategoriesResponse o) {
+ buildCounterGoogleCloudApigeeV1ListApiCategoriesResponse++;
+ if (buildCounterGoogleCloudApigeeV1ListApiCategoriesResponse < 3) {
+ checkUnnamed332(o.data);
+ unittest.expect(o.errorCode, unittest.equals('foo'));
+ unittest.expect(o.message, unittest.equals('foo'));
+ unittest.expect(o.requestId, unittest.equals('foo'));
+ unittest.expect(o.status, unittest.equals('foo'));
+ }
+ buildCounterGoogleCloudApigeeV1ListApiCategoriesResponse--;
+}
+
+buildUnnamed333() {
var o = new core.List<api.GoogleCloudApigeeV1ApiProduct>();
o.add(buildGoogleCloudApigeeV1ApiProduct());
o.add(buildGoogleCloudApigeeV1ApiProduct());
return o;
}
-checkUnnamed332(core.List<api.GoogleCloudApigeeV1ApiProduct> o) {
+checkUnnamed333(core.List<api.GoogleCloudApigeeV1ApiProduct> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudApigeeV1ApiProduct(o[0]);
checkGoogleCloudApigeeV1ApiProduct(o[1]);
@@ -2894,7 +3016,7 @@
var o = new api.GoogleCloudApigeeV1ListApiProductsResponse();
buildCounterGoogleCloudApigeeV1ListApiProductsResponse++;
if (buildCounterGoogleCloudApigeeV1ListApiProductsResponse < 3) {
- o.apiProduct = buildUnnamed332();
+ o.apiProduct = buildUnnamed333();
}
buildCounterGoogleCloudApigeeV1ListApiProductsResponse--;
return o;
@@ -2904,19 +3026,19 @@
api.GoogleCloudApigeeV1ListApiProductsResponse o) {
buildCounterGoogleCloudApigeeV1ListApiProductsResponse++;
if (buildCounterGoogleCloudApigeeV1ListApiProductsResponse < 3) {
- checkUnnamed332(o.apiProduct);
+ checkUnnamed333(o.apiProduct);
}
buildCounterGoogleCloudApigeeV1ListApiProductsResponse--;
}
-buildUnnamed333() {
+buildUnnamed334() {
var o = new core.List<api.GoogleCloudApigeeV1ApiProxy>();
o.add(buildGoogleCloudApigeeV1ApiProxy());
o.add(buildGoogleCloudApigeeV1ApiProxy());
return o;
}
-checkUnnamed333(core.List<api.GoogleCloudApigeeV1ApiProxy> o) {
+checkUnnamed334(core.List<api.GoogleCloudApigeeV1ApiProxy> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudApigeeV1ApiProxy(o[0]);
checkGoogleCloudApigeeV1ApiProxy(o[1]);
@@ -2927,7 +3049,7 @@
var o = new api.GoogleCloudApigeeV1ListApiProxiesResponse();
buildCounterGoogleCloudApigeeV1ListApiProxiesResponse++;
if (buildCounterGoogleCloudApigeeV1ListApiProxiesResponse < 3) {
- o.proxies = buildUnnamed333();
+ o.proxies = buildUnnamed334();
}
buildCounterGoogleCloudApigeeV1ListApiProxiesResponse--;
return o;
@@ -2937,19 +3059,19 @@
api.GoogleCloudApigeeV1ListApiProxiesResponse o) {
buildCounterGoogleCloudApigeeV1ListApiProxiesResponse++;
if (buildCounterGoogleCloudApigeeV1ListApiProxiesResponse < 3) {
- checkUnnamed333(o.proxies);
+ checkUnnamed334(o.proxies);
}
buildCounterGoogleCloudApigeeV1ListApiProxiesResponse--;
}
-buildUnnamed334() {
+buildUnnamed335() {
var o = new core.List<api.GoogleCloudApigeeV1App>();
o.add(buildGoogleCloudApigeeV1App());
o.add(buildGoogleCloudApigeeV1App());
return o;
}
-checkUnnamed334(core.List<api.GoogleCloudApigeeV1App> o) {
+checkUnnamed335(core.List<api.GoogleCloudApigeeV1App> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudApigeeV1App(o[0]);
checkGoogleCloudApigeeV1App(o[1]);
@@ -2960,7 +3082,7 @@
var o = new api.GoogleCloudApigeeV1ListAppsResponse();
buildCounterGoogleCloudApigeeV1ListAppsResponse++;
if (buildCounterGoogleCloudApigeeV1ListAppsResponse < 3) {
- o.app = buildUnnamed334();
+ o.app = buildUnnamed335();
}
buildCounterGoogleCloudApigeeV1ListAppsResponse--;
return o;
@@ -2970,19 +3092,19 @@
api.GoogleCloudApigeeV1ListAppsResponse o) {
buildCounterGoogleCloudApigeeV1ListAppsResponse++;
if (buildCounterGoogleCloudApigeeV1ListAppsResponse < 3) {
- checkUnnamed334(o.app);
+ checkUnnamed335(o.app);
}
buildCounterGoogleCloudApigeeV1ListAppsResponse--;
}
-buildUnnamed335() {
+buildUnnamed336() {
var o = new core.List<api.GoogleCloudApigeeV1AsyncQuery>();
o.add(buildGoogleCloudApigeeV1AsyncQuery());
o.add(buildGoogleCloudApigeeV1AsyncQuery());
return o;
}
-checkUnnamed335(core.List<api.GoogleCloudApigeeV1AsyncQuery> o) {
+checkUnnamed336(core.List<api.GoogleCloudApigeeV1AsyncQuery> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudApigeeV1AsyncQuery(o[0]);
checkGoogleCloudApigeeV1AsyncQuery(o[1]);
@@ -2993,7 +3115,7 @@
var o = new api.GoogleCloudApigeeV1ListAsyncQueriesResponse();
buildCounterGoogleCloudApigeeV1ListAsyncQueriesResponse++;
if (buildCounterGoogleCloudApigeeV1ListAsyncQueriesResponse < 3) {
- o.queries = buildUnnamed335();
+ o.queries = buildUnnamed336();
}
buildCounterGoogleCloudApigeeV1ListAsyncQueriesResponse--;
return o;
@@ -3003,19 +3125,19 @@
api.GoogleCloudApigeeV1ListAsyncQueriesResponse o) {
buildCounterGoogleCloudApigeeV1ListAsyncQueriesResponse++;
if (buildCounterGoogleCloudApigeeV1ListAsyncQueriesResponse < 3) {
- checkUnnamed335(o.queries);
+ checkUnnamed336(o.queries);
}
buildCounterGoogleCloudApigeeV1ListAsyncQueriesResponse--;
}
-buildUnnamed336() {
+buildUnnamed337() {
var o = new core.List<api.GoogleCloudApigeeV1CustomReport>();
o.add(buildGoogleCloudApigeeV1CustomReport());
o.add(buildGoogleCloudApigeeV1CustomReport());
return o;
}
-checkUnnamed336(core.List<api.GoogleCloudApigeeV1CustomReport> o) {
+checkUnnamed337(core.List<api.GoogleCloudApigeeV1CustomReport> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudApigeeV1CustomReport(o[0]);
checkGoogleCloudApigeeV1CustomReport(o[1]);
@@ -3026,7 +3148,7 @@
var o = new api.GoogleCloudApigeeV1ListCustomReportsResponse();
buildCounterGoogleCloudApigeeV1ListCustomReportsResponse++;
if (buildCounterGoogleCloudApigeeV1ListCustomReportsResponse < 3) {
- o.qualifier = buildUnnamed336();
+ o.qualifier = buildUnnamed337();
}
buildCounterGoogleCloudApigeeV1ListCustomReportsResponse--;
return o;
@@ -3036,19 +3158,19 @@
api.GoogleCloudApigeeV1ListCustomReportsResponse o) {
buildCounterGoogleCloudApigeeV1ListCustomReportsResponse++;
if (buildCounterGoogleCloudApigeeV1ListCustomReportsResponse < 3) {
- checkUnnamed336(o.qualifier);
+ checkUnnamed337(o.qualifier);
}
buildCounterGoogleCloudApigeeV1ListCustomReportsResponse--;
}
-buildUnnamed337() {
+buildUnnamed338() {
var o = new core.List<api.GoogleCloudApigeeV1Datastore>();
o.add(buildGoogleCloudApigeeV1Datastore());
o.add(buildGoogleCloudApigeeV1Datastore());
return o;
}
-checkUnnamed337(core.List<api.GoogleCloudApigeeV1Datastore> o) {
+checkUnnamed338(core.List<api.GoogleCloudApigeeV1Datastore> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudApigeeV1Datastore(o[0]);
checkGoogleCloudApigeeV1Datastore(o[1]);
@@ -3059,7 +3181,7 @@
var o = new api.GoogleCloudApigeeV1ListDatastoresResponse();
buildCounterGoogleCloudApigeeV1ListDatastoresResponse++;
if (buildCounterGoogleCloudApigeeV1ListDatastoresResponse < 3) {
- o.datastores = buildUnnamed337();
+ o.datastores = buildUnnamed338();
}
buildCounterGoogleCloudApigeeV1ListDatastoresResponse--;
return o;
@@ -3069,19 +3191,19 @@
api.GoogleCloudApigeeV1ListDatastoresResponse o) {
buildCounterGoogleCloudApigeeV1ListDatastoresResponse++;
if (buildCounterGoogleCloudApigeeV1ListDatastoresResponse < 3) {
- checkUnnamed337(o.datastores);
+ checkUnnamed338(o.datastores);
}
buildCounterGoogleCloudApigeeV1ListDatastoresResponse--;
}
-buildUnnamed338() {
+buildUnnamed339() {
var o = new core.List<api.GoogleCloudApigeeV1Session>();
o.add(buildGoogleCloudApigeeV1Session());
o.add(buildGoogleCloudApigeeV1Session());
return o;
}
-checkUnnamed338(core.List<api.GoogleCloudApigeeV1Session> o) {
+checkUnnamed339(core.List<api.GoogleCloudApigeeV1Session> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudApigeeV1Session(o[0]);
checkGoogleCloudApigeeV1Session(o[1]);
@@ -3093,7 +3215,7 @@
buildCounterGoogleCloudApigeeV1ListDebugSessionsResponse++;
if (buildCounterGoogleCloudApigeeV1ListDebugSessionsResponse < 3) {
o.nextPageToken = "foo";
- o.sessions = buildUnnamed338();
+ o.sessions = buildUnnamed339();
}
buildCounterGoogleCloudApigeeV1ListDebugSessionsResponse--;
return o;
@@ -3104,19 +3226,19 @@
buildCounterGoogleCloudApigeeV1ListDebugSessionsResponse++;
if (buildCounterGoogleCloudApigeeV1ListDebugSessionsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed338(o.sessions);
+ checkUnnamed339(o.sessions);
}
buildCounterGoogleCloudApigeeV1ListDebugSessionsResponse--;
}
-buildUnnamed339() {
+buildUnnamed340() {
var o = new core.List<api.GoogleCloudApigeeV1Deployment>();
o.add(buildGoogleCloudApigeeV1Deployment());
o.add(buildGoogleCloudApigeeV1Deployment());
return o;
}
-checkUnnamed339(core.List<api.GoogleCloudApigeeV1Deployment> o) {
+checkUnnamed340(core.List<api.GoogleCloudApigeeV1Deployment> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudApigeeV1Deployment(o[0]);
checkGoogleCloudApigeeV1Deployment(o[1]);
@@ -3127,7 +3249,7 @@
var o = new api.GoogleCloudApigeeV1ListDeploymentsResponse();
buildCounterGoogleCloudApigeeV1ListDeploymentsResponse++;
if (buildCounterGoogleCloudApigeeV1ListDeploymentsResponse < 3) {
- o.deployments = buildUnnamed339();
+ o.deployments = buildUnnamed340();
}
buildCounterGoogleCloudApigeeV1ListDeploymentsResponse--;
return o;
@@ -3137,19 +3259,19 @@
api.GoogleCloudApigeeV1ListDeploymentsResponse o) {
buildCounterGoogleCloudApigeeV1ListDeploymentsResponse++;
if (buildCounterGoogleCloudApigeeV1ListDeploymentsResponse < 3) {
- checkUnnamed339(o.deployments);
+ checkUnnamed340(o.deployments);
}
buildCounterGoogleCloudApigeeV1ListDeploymentsResponse--;
}
-buildUnnamed340() {
+buildUnnamed341() {
var o = new core.List<api.GoogleCloudApigeeV1DeveloperApp>();
o.add(buildGoogleCloudApigeeV1DeveloperApp());
o.add(buildGoogleCloudApigeeV1DeveloperApp());
return o;
}
-checkUnnamed340(core.List<api.GoogleCloudApigeeV1DeveloperApp> o) {
+checkUnnamed341(core.List<api.GoogleCloudApigeeV1DeveloperApp> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudApigeeV1DeveloperApp(o[0]);
checkGoogleCloudApigeeV1DeveloperApp(o[1]);
@@ -3160,7 +3282,7 @@
var o = new api.GoogleCloudApigeeV1ListDeveloperAppsResponse();
buildCounterGoogleCloudApigeeV1ListDeveloperAppsResponse++;
if (buildCounterGoogleCloudApigeeV1ListDeveloperAppsResponse < 3) {
- o.app = buildUnnamed340();
+ o.app = buildUnnamed341();
}
buildCounterGoogleCloudApigeeV1ListDeveloperAppsResponse--;
return o;
@@ -3170,19 +3292,19 @@
api.GoogleCloudApigeeV1ListDeveloperAppsResponse o) {
buildCounterGoogleCloudApigeeV1ListDeveloperAppsResponse++;
if (buildCounterGoogleCloudApigeeV1ListDeveloperAppsResponse < 3) {
- checkUnnamed340(o.app);
+ checkUnnamed341(o.app);
}
buildCounterGoogleCloudApigeeV1ListDeveloperAppsResponse--;
}
-buildUnnamed341() {
+buildUnnamed342() {
var o = new core.List<api.GoogleCloudApigeeV1EnvironmentGroupAttachment>();
o.add(buildGoogleCloudApigeeV1EnvironmentGroupAttachment());
o.add(buildGoogleCloudApigeeV1EnvironmentGroupAttachment());
return o;
}
-checkUnnamed341(
+checkUnnamed342(
core.List<api.GoogleCloudApigeeV1EnvironmentGroupAttachment> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudApigeeV1EnvironmentGroupAttachment(o[0]);
@@ -3196,7 +3318,7 @@
buildCounterGoogleCloudApigeeV1ListEnvironmentGroupAttachmentsResponse++;
if (buildCounterGoogleCloudApigeeV1ListEnvironmentGroupAttachmentsResponse <
3) {
- o.environmentGroupAttachments = buildUnnamed341();
+ o.environmentGroupAttachments = buildUnnamed342();
o.nextPageToken = "foo";
}
buildCounterGoogleCloudApigeeV1ListEnvironmentGroupAttachmentsResponse--;
@@ -3208,20 +3330,20 @@
buildCounterGoogleCloudApigeeV1ListEnvironmentGroupAttachmentsResponse++;
if (buildCounterGoogleCloudApigeeV1ListEnvironmentGroupAttachmentsResponse <
3) {
- checkUnnamed341(o.environmentGroupAttachments);
+ checkUnnamed342(o.environmentGroupAttachments);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterGoogleCloudApigeeV1ListEnvironmentGroupAttachmentsResponse--;
}
-buildUnnamed342() {
+buildUnnamed343() {
var o = new core.List<api.GoogleCloudApigeeV1EnvironmentGroup>();
o.add(buildGoogleCloudApigeeV1EnvironmentGroup());
o.add(buildGoogleCloudApigeeV1EnvironmentGroup());
return o;
}
-checkUnnamed342(core.List<api.GoogleCloudApigeeV1EnvironmentGroup> o) {
+checkUnnamed343(core.List<api.GoogleCloudApigeeV1EnvironmentGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudApigeeV1EnvironmentGroup(o[0]);
checkGoogleCloudApigeeV1EnvironmentGroup(o[1]);
@@ -3232,7 +3354,7 @@
var o = new api.GoogleCloudApigeeV1ListEnvironmentGroupsResponse();
buildCounterGoogleCloudApigeeV1ListEnvironmentGroupsResponse++;
if (buildCounterGoogleCloudApigeeV1ListEnvironmentGroupsResponse < 3) {
- o.environmentGroups = buildUnnamed342();
+ o.environmentGroups = buildUnnamed343();
o.nextPageToken = "foo";
}
buildCounterGoogleCloudApigeeV1ListEnvironmentGroupsResponse--;
@@ -3243,20 +3365,20 @@
api.GoogleCloudApigeeV1ListEnvironmentGroupsResponse o) {
buildCounterGoogleCloudApigeeV1ListEnvironmentGroupsResponse++;
if (buildCounterGoogleCloudApigeeV1ListEnvironmentGroupsResponse < 3) {
- checkUnnamed342(o.environmentGroups);
+ checkUnnamed343(o.environmentGroups);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterGoogleCloudApigeeV1ListEnvironmentGroupsResponse--;
}
-buildUnnamed343() {
+buildUnnamed344() {
var o = new core.List<api.GoogleCloudApigeeV1ResourceFile>();
o.add(buildGoogleCloudApigeeV1ResourceFile());
o.add(buildGoogleCloudApigeeV1ResourceFile());
return o;
}
-checkUnnamed343(core.List<api.GoogleCloudApigeeV1ResourceFile> o) {
+checkUnnamed344(core.List<api.GoogleCloudApigeeV1ResourceFile> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudApigeeV1ResourceFile(o[0]);
checkGoogleCloudApigeeV1ResourceFile(o[1]);
@@ -3267,7 +3389,7 @@
var o = new api.GoogleCloudApigeeV1ListEnvironmentResourcesResponse();
buildCounterGoogleCloudApigeeV1ListEnvironmentResourcesResponse++;
if (buildCounterGoogleCloudApigeeV1ListEnvironmentResourcesResponse < 3) {
- o.resourceFile = buildUnnamed343();
+ o.resourceFile = buildUnnamed344();
}
buildCounterGoogleCloudApigeeV1ListEnvironmentResourcesResponse--;
return o;
@@ -3277,19 +3399,19 @@
api.GoogleCloudApigeeV1ListEnvironmentResourcesResponse o) {
buildCounterGoogleCloudApigeeV1ListEnvironmentResourcesResponse++;
if (buildCounterGoogleCloudApigeeV1ListEnvironmentResourcesResponse < 3) {
- checkUnnamed343(o.resourceFile);
+ checkUnnamed344(o.resourceFile);
}
buildCounterGoogleCloudApigeeV1ListEnvironmentResourcesResponse--;
}
-buildUnnamed344() {
+buildUnnamed345() {
var o = new core.List<api.GoogleCloudApigeeV1Export>();
o.add(buildGoogleCloudApigeeV1Export());
o.add(buildGoogleCloudApigeeV1Export());
return o;
}
-checkUnnamed344(core.List<api.GoogleCloudApigeeV1Export> o) {
+checkUnnamed345(core.List<api.GoogleCloudApigeeV1Export> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudApigeeV1Export(o[0]);
checkGoogleCloudApigeeV1Export(o[1]);
@@ -3300,7 +3422,7 @@
var o = new api.GoogleCloudApigeeV1ListExportsResponse();
buildCounterGoogleCloudApigeeV1ListExportsResponse++;
if (buildCounterGoogleCloudApigeeV1ListExportsResponse < 3) {
- o.exports = buildUnnamed344();
+ o.exports = buildUnnamed345();
}
buildCounterGoogleCloudApigeeV1ListExportsResponse--;
return o;
@@ -3310,19 +3432,19 @@
api.GoogleCloudApigeeV1ListExportsResponse o) {
buildCounterGoogleCloudApigeeV1ListExportsResponse++;
if (buildCounterGoogleCloudApigeeV1ListExportsResponse < 3) {
- checkUnnamed344(o.exports);
+ checkUnnamed345(o.exports);
}
buildCounterGoogleCloudApigeeV1ListExportsResponse--;
}
-buildUnnamed345() {
+buildUnnamed346() {
var o = new core.List<api.GoogleCloudApigeeV1ServiceIssuersMapping>();
o.add(buildGoogleCloudApigeeV1ServiceIssuersMapping());
o.add(buildGoogleCloudApigeeV1ServiceIssuersMapping());
return o;
}
-checkUnnamed345(core.List<api.GoogleCloudApigeeV1ServiceIssuersMapping> o) {
+checkUnnamed346(core.List<api.GoogleCloudApigeeV1ServiceIssuersMapping> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudApigeeV1ServiceIssuersMapping(o[0]);
checkGoogleCloudApigeeV1ServiceIssuersMapping(o[1]);
@@ -3333,7 +3455,7 @@
var o = new api.GoogleCloudApigeeV1ListHybridIssuersResponse();
buildCounterGoogleCloudApigeeV1ListHybridIssuersResponse++;
if (buildCounterGoogleCloudApigeeV1ListHybridIssuersResponse < 3) {
- o.issuers = buildUnnamed345();
+ o.issuers = buildUnnamed346();
}
buildCounterGoogleCloudApigeeV1ListHybridIssuersResponse--;
return o;
@@ -3343,19 +3465,19 @@
api.GoogleCloudApigeeV1ListHybridIssuersResponse o) {
buildCounterGoogleCloudApigeeV1ListHybridIssuersResponse++;
if (buildCounterGoogleCloudApigeeV1ListHybridIssuersResponse < 3) {
- checkUnnamed345(o.issuers);
+ checkUnnamed346(o.issuers);
}
buildCounterGoogleCloudApigeeV1ListHybridIssuersResponse--;
}
-buildUnnamed346() {
+buildUnnamed347() {
var o = new core.List<api.GoogleCloudApigeeV1InstanceAttachment>();
o.add(buildGoogleCloudApigeeV1InstanceAttachment());
o.add(buildGoogleCloudApigeeV1InstanceAttachment());
return o;
}
-checkUnnamed346(core.List<api.GoogleCloudApigeeV1InstanceAttachment> o) {
+checkUnnamed347(core.List<api.GoogleCloudApigeeV1InstanceAttachment> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudApigeeV1InstanceAttachment(o[0]);
checkGoogleCloudApigeeV1InstanceAttachment(o[1]);
@@ -3366,7 +3488,7 @@
var o = new api.GoogleCloudApigeeV1ListInstanceAttachmentsResponse();
buildCounterGoogleCloudApigeeV1ListInstanceAttachmentsResponse++;
if (buildCounterGoogleCloudApigeeV1ListInstanceAttachmentsResponse < 3) {
- o.attachments = buildUnnamed346();
+ o.attachments = buildUnnamed347();
o.nextPageToken = "foo";
}
buildCounterGoogleCloudApigeeV1ListInstanceAttachmentsResponse--;
@@ -3377,20 +3499,20 @@
api.GoogleCloudApigeeV1ListInstanceAttachmentsResponse o) {
buildCounterGoogleCloudApigeeV1ListInstanceAttachmentsResponse++;
if (buildCounterGoogleCloudApigeeV1ListInstanceAttachmentsResponse < 3) {
- checkUnnamed346(o.attachments);
+ checkUnnamed347(o.attachments);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterGoogleCloudApigeeV1ListInstanceAttachmentsResponse--;
}
-buildUnnamed347() {
+buildUnnamed348() {
var o = new core.List<api.GoogleCloudApigeeV1Instance>();
o.add(buildGoogleCloudApigeeV1Instance());
o.add(buildGoogleCloudApigeeV1Instance());
return o;
}
-checkUnnamed347(core.List<api.GoogleCloudApigeeV1Instance> o) {
+checkUnnamed348(core.List<api.GoogleCloudApigeeV1Instance> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudApigeeV1Instance(o[0]);
checkGoogleCloudApigeeV1Instance(o[1]);
@@ -3401,7 +3523,7 @@
var o = new api.GoogleCloudApigeeV1ListInstancesResponse();
buildCounterGoogleCloudApigeeV1ListInstancesResponse++;
if (buildCounterGoogleCloudApigeeV1ListInstancesResponse < 3) {
- o.instances = buildUnnamed347();
+ o.instances = buildUnnamed348();
o.nextPageToken = "foo";
}
buildCounterGoogleCloudApigeeV1ListInstancesResponse--;
@@ -3412,20 +3534,20 @@
api.GoogleCloudApigeeV1ListInstancesResponse o) {
buildCounterGoogleCloudApigeeV1ListInstancesResponse++;
if (buildCounterGoogleCloudApigeeV1ListInstancesResponse < 3) {
- checkUnnamed347(o.instances);
+ checkUnnamed348(o.instances);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterGoogleCloudApigeeV1ListInstancesResponse--;
}
-buildUnnamed348() {
+buildUnnamed349() {
var o = new core.List<api.GoogleCloudApigeeV1Developer>();
o.add(buildGoogleCloudApigeeV1Developer());
o.add(buildGoogleCloudApigeeV1Developer());
return o;
}
-checkUnnamed348(core.List<api.GoogleCloudApigeeV1Developer> o) {
+checkUnnamed349(core.List<api.GoogleCloudApigeeV1Developer> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudApigeeV1Developer(o[0]);
checkGoogleCloudApigeeV1Developer(o[1]);
@@ -3436,7 +3558,7 @@
var o = new api.GoogleCloudApigeeV1ListOfDevelopersResponse();
buildCounterGoogleCloudApigeeV1ListOfDevelopersResponse++;
if (buildCounterGoogleCloudApigeeV1ListOfDevelopersResponse < 3) {
- o.developer = buildUnnamed348();
+ o.developer = buildUnnamed349();
}
buildCounterGoogleCloudApigeeV1ListOfDevelopersResponse--;
return o;
@@ -3446,19 +3568,19 @@
api.GoogleCloudApigeeV1ListOfDevelopersResponse o) {
buildCounterGoogleCloudApigeeV1ListOfDevelopersResponse++;
if (buildCounterGoogleCloudApigeeV1ListOfDevelopersResponse < 3) {
- checkUnnamed348(o.developer);
+ checkUnnamed349(o.developer);
}
buildCounterGoogleCloudApigeeV1ListOfDevelopersResponse--;
}
-buildUnnamed349() {
+buildUnnamed350() {
var o = new core.List<api.GoogleCloudApigeeV1OrganizationProjectMapping>();
o.add(buildGoogleCloudApigeeV1OrganizationProjectMapping());
o.add(buildGoogleCloudApigeeV1OrganizationProjectMapping());
return o;
}
-checkUnnamed349(
+checkUnnamed350(
core.List<api.GoogleCloudApigeeV1OrganizationProjectMapping> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudApigeeV1OrganizationProjectMapping(o[0]);
@@ -3470,7 +3592,7 @@
var o = new api.GoogleCloudApigeeV1ListOrganizationsResponse();
buildCounterGoogleCloudApigeeV1ListOrganizationsResponse++;
if (buildCounterGoogleCloudApigeeV1ListOrganizationsResponse < 3) {
- o.organizations = buildUnnamed349();
+ o.organizations = buildUnnamed350();
}
buildCounterGoogleCloudApigeeV1ListOrganizationsResponse--;
return o;
@@ -3480,19 +3602,19 @@
api.GoogleCloudApigeeV1ListOrganizationsResponse o) {
buildCounterGoogleCloudApigeeV1ListOrganizationsResponse++;
if (buildCounterGoogleCloudApigeeV1ListOrganizationsResponse < 3) {
- checkUnnamed349(o.organizations);
+ checkUnnamed350(o.organizations);
}
buildCounterGoogleCloudApigeeV1ListOrganizationsResponse--;
}
-buildUnnamed350() {
+buildUnnamed351() {
var o = new core.List<api.GoogleCloudApigeeV1SharedFlow>();
o.add(buildGoogleCloudApigeeV1SharedFlow());
o.add(buildGoogleCloudApigeeV1SharedFlow());
return o;
}
-checkUnnamed350(core.List<api.GoogleCloudApigeeV1SharedFlow> o) {
+checkUnnamed351(core.List<api.GoogleCloudApigeeV1SharedFlow> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudApigeeV1SharedFlow(o[0]);
checkGoogleCloudApigeeV1SharedFlow(o[1]);
@@ -3503,7 +3625,7 @@
var o = new api.GoogleCloudApigeeV1ListSharedFlowsResponse();
buildCounterGoogleCloudApigeeV1ListSharedFlowsResponse++;
if (buildCounterGoogleCloudApigeeV1ListSharedFlowsResponse < 3) {
- o.sharedFlows = buildUnnamed350();
+ o.sharedFlows = buildUnnamed351();
}
buildCounterGoogleCloudApigeeV1ListSharedFlowsResponse--;
return o;
@@ -3513,24 +3635,11 @@
api.GoogleCloudApigeeV1ListSharedFlowsResponse o) {
buildCounterGoogleCloudApigeeV1ListSharedFlowsResponse++;
if (buildCounterGoogleCloudApigeeV1ListSharedFlowsResponse < 3) {
- checkUnnamed350(o.sharedFlows);
+ checkUnnamed351(o.sharedFlows);
}
buildCounterGoogleCloudApigeeV1ListSharedFlowsResponse--;
}
-buildUnnamed351() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed351(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed352() {
var o = new core.List<core.String>();
o.add("foo");
@@ -3544,13 +3653,26 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed353() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed353(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
core.int buildCounterGoogleCloudApigeeV1Metadata = 0;
buildGoogleCloudApigeeV1Metadata() {
var o = new api.GoogleCloudApigeeV1Metadata();
buildCounterGoogleCloudApigeeV1Metadata++;
if (buildCounterGoogleCloudApigeeV1Metadata < 3) {
- o.errors = buildUnnamed351();
- o.notices = buildUnnamed352();
+ o.errors = buildUnnamed352();
+ o.notices = buildUnnamed353();
}
buildCounterGoogleCloudApigeeV1Metadata--;
return o;
@@ -3559,13 +3681,13 @@
checkGoogleCloudApigeeV1Metadata(api.GoogleCloudApigeeV1Metadata o) {
buildCounterGoogleCloudApigeeV1Metadata++;
if (buildCounterGoogleCloudApigeeV1Metadata < 3) {
- checkUnnamed351(o.errors);
- checkUnnamed352(o.notices);
+ checkUnnamed352(o.errors);
+ checkUnnamed353(o.notices);
}
buildCounterGoogleCloudApigeeV1Metadata--;
}
-buildUnnamed353() {
+buildUnnamed354() {
var o = new core.List<core.Object>();
o.add({
'list': [1, 2, 3],
@@ -3580,7 +3702,7 @@
return o;
}
-checkUnnamed353(core.List<core.Object> o) {
+checkUnnamed354(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted5 = (o[0]) as core.Map;
unittest.expect(casted5, unittest.hasLength(3));
@@ -3600,7 +3722,7 @@
buildCounterGoogleCloudApigeeV1Metric++;
if (buildCounterGoogleCloudApigeeV1Metric < 3) {
o.name = "foo";
- o.values = buildUnnamed353();
+ o.values = buildUnnamed354();
}
buildCounterGoogleCloudApigeeV1Metric--;
return o;
@@ -3610,19 +3732,19 @@
buildCounterGoogleCloudApigeeV1Metric++;
if (buildCounterGoogleCloudApigeeV1Metric < 3) {
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed353(o.values);
+ checkUnnamed354(o.values);
}
buildCounterGoogleCloudApigeeV1Metric--;
}
-buildUnnamed354() {
+buildUnnamed355() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed354(core.List<core.String> o) {
+checkUnnamed355(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3633,7 +3755,7 @@
var o = new api.GoogleCloudApigeeV1Operation();
buildCounterGoogleCloudApigeeV1Operation++;
if (buildCounterGoogleCloudApigeeV1Operation < 3) {
- o.methods = buildUnnamed354();
+ o.methods = buildUnnamed355();
o.resource = "foo";
}
buildCounterGoogleCloudApigeeV1Operation--;
@@ -3643,33 +3765,33 @@
checkGoogleCloudApigeeV1Operation(api.GoogleCloudApigeeV1Operation o) {
buildCounterGoogleCloudApigeeV1Operation++;
if (buildCounterGoogleCloudApigeeV1Operation < 3) {
- checkUnnamed354(o.methods);
+ checkUnnamed355(o.methods);
unittest.expect(o.resource, unittest.equals('foo'));
}
buildCounterGoogleCloudApigeeV1Operation--;
}
-buildUnnamed355() {
+buildUnnamed356() {
var o = new core.List<api.GoogleCloudApigeeV1Attribute>();
o.add(buildGoogleCloudApigeeV1Attribute());
o.add(buildGoogleCloudApigeeV1Attribute());
return o;
}
-checkUnnamed355(core.List<api.GoogleCloudApigeeV1Attribute> o) {
+checkUnnamed356(core.List<api.GoogleCloudApigeeV1Attribute> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudApigeeV1Attribute(o[0]);
checkGoogleCloudApigeeV1Attribute(o[1]);
}
-buildUnnamed356() {
+buildUnnamed357() {
var o = new core.List<api.GoogleCloudApigeeV1Operation>();
o.add(buildGoogleCloudApigeeV1Operation());
o.add(buildGoogleCloudApigeeV1Operation());
return o;
}
-checkUnnamed356(core.List<api.GoogleCloudApigeeV1Operation> o) {
+checkUnnamed357(core.List<api.GoogleCloudApigeeV1Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudApigeeV1Operation(o[0]);
checkGoogleCloudApigeeV1Operation(o[1]);
@@ -3681,8 +3803,8 @@
buildCounterGoogleCloudApigeeV1OperationConfig++;
if (buildCounterGoogleCloudApigeeV1OperationConfig < 3) {
o.apiSource = "foo";
- o.attributes = buildUnnamed355();
- o.operations = buildUnnamed356();
+ o.attributes = buildUnnamed356();
+ o.operations = buildUnnamed357();
o.quota = buildGoogleCloudApigeeV1Quota();
}
buildCounterGoogleCloudApigeeV1OperationConfig--;
@@ -3694,21 +3816,21 @@
buildCounterGoogleCloudApigeeV1OperationConfig++;
if (buildCounterGoogleCloudApigeeV1OperationConfig < 3) {
unittest.expect(o.apiSource, unittest.equals('foo'));
- checkUnnamed355(o.attributes);
- checkUnnamed356(o.operations);
+ checkUnnamed356(o.attributes);
+ checkUnnamed357(o.operations);
checkGoogleCloudApigeeV1Quota(o.quota);
}
buildCounterGoogleCloudApigeeV1OperationConfig--;
}
-buildUnnamed357() {
+buildUnnamed358() {
var o = new core.List<api.GoogleCloudApigeeV1OperationConfig>();
o.add(buildGoogleCloudApigeeV1OperationConfig());
o.add(buildGoogleCloudApigeeV1OperationConfig());
return o;
}
-checkUnnamed357(core.List<api.GoogleCloudApigeeV1OperationConfig> o) {
+checkUnnamed358(core.List<api.GoogleCloudApigeeV1OperationConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudApigeeV1OperationConfig(o[0]);
checkGoogleCloudApigeeV1OperationConfig(o[1]);
@@ -3720,7 +3842,7 @@
buildCounterGoogleCloudApigeeV1OperationGroup++;
if (buildCounterGoogleCloudApigeeV1OperationGroup < 3) {
o.operationConfigType = "foo";
- o.operationConfigs = buildUnnamed357();
+ o.operationConfigs = buildUnnamed358();
}
buildCounterGoogleCloudApigeeV1OperationGroup--;
return o;
@@ -3731,7 +3853,7 @@
buildCounterGoogleCloudApigeeV1OperationGroup++;
if (buildCounterGoogleCloudApigeeV1OperationGroup < 3) {
unittest.expect(o.operationConfigType, unittest.equals('foo'));
- checkUnnamed357(o.operationConfigs);
+ checkUnnamed358(o.operationConfigs);
}
buildCounterGoogleCloudApigeeV1OperationGroup--;
}
@@ -3780,7 +3902,7 @@
buildCounterGoogleCloudApigeeV1OptimizedStats--;
}
-buildUnnamed358() {
+buildUnnamed359() {
var o = new core.List<core.Object>();
o.add({
'list': [1, 2, 3],
@@ -3795,7 +3917,7 @@
return o;
}
-checkUnnamed358(core.List<core.Object> o) {
+checkUnnamed359(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted7 = (o[0]) as core.Map;
unittest.expect(casted7, unittest.hasLength(3));
@@ -3814,7 +3936,7 @@
var o = new api.GoogleCloudApigeeV1OptimizedStatsNode();
buildCounterGoogleCloudApigeeV1OptimizedStatsNode++;
if (buildCounterGoogleCloudApigeeV1OptimizedStatsNode < 3) {
- o.data = buildUnnamed358();
+ o.data = buildUnnamed359();
}
buildCounterGoogleCloudApigeeV1OptimizedStatsNode--;
return o;
@@ -3824,50 +3946,11 @@
api.GoogleCloudApigeeV1OptimizedStatsNode o) {
buildCounterGoogleCloudApigeeV1OptimizedStatsNode++;
if (buildCounterGoogleCloudApigeeV1OptimizedStatsNode < 3) {
- checkUnnamed358(o.data);
+ checkUnnamed359(o.data);
}
buildCounterGoogleCloudApigeeV1OptimizedStatsNode--;
}
-buildUnnamed359() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed359(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-core.int buildCounterGoogleCloudApigeeV1OptimizedStatsResponse = 0;
-buildGoogleCloudApigeeV1OptimizedStatsResponse() {
- var o = new api.GoogleCloudApigeeV1OptimizedStatsResponse();
- buildCounterGoogleCloudApigeeV1OptimizedStatsResponse++;
- if (buildCounterGoogleCloudApigeeV1OptimizedStatsResponse < 3) {
- o.TimeUnit = buildUnnamed359();
- o.metaData = buildGoogleCloudApigeeV1Metadata();
- o.resultTruncated = true;
- o.stats = buildGoogleCloudApigeeV1OptimizedStatsNode();
- }
- buildCounterGoogleCloudApigeeV1OptimizedStatsResponse--;
- return o;
-}
-
-checkGoogleCloudApigeeV1OptimizedStatsResponse(
- api.GoogleCloudApigeeV1OptimizedStatsResponse o) {
- buildCounterGoogleCloudApigeeV1OptimizedStatsResponse++;
- if (buildCounterGoogleCloudApigeeV1OptimizedStatsResponse < 3) {
- checkUnnamed359(o.TimeUnit);
- checkGoogleCloudApigeeV1Metadata(o.metaData);
- unittest.expect(o.resultTruncated, unittest.isTrue);
- checkGoogleCloudApigeeV1OptimizedStatsNode(o.stats);
- }
- buildCounterGoogleCloudApigeeV1OptimizedStatsResponse--;
-}
-
buildUnnamed360() {
var o = new core.List<core.String>();
o.add("foo");
@@ -3881,6 +3964,32 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+core.int buildCounterGoogleCloudApigeeV1OptimizedStatsResponse = 0;
+buildGoogleCloudApigeeV1OptimizedStatsResponse() {
+ var o = new api.GoogleCloudApigeeV1OptimizedStatsResponse();
+ buildCounterGoogleCloudApigeeV1OptimizedStatsResponse++;
+ if (buildCounterGoogleCloudApigeeV1OptimizedStatsResponse < 3) {
+ o.TimeUnit = buildUnnamed360();
+ o.metaData = buildGoogleCloudApigeeV1Metadata();
+ o.resultTruncated = true;
+ o.stats = buildGoogleCloudApigeeV1OptimizedStatsNode();
+ }
+ buildCounterGoogleCloudApigeeV1OptimizedStatsResponse--;
+ return o;
+}
+
+checkGoogleCloudApigeeV1OptimizedStatsResponse(
+ api.GoogleCloudApigeeV1OptimizedStatsResponse o) {
+ buildCounterGoogleCloudApigeeV1OptimizedStatsResponse++;
+ if (buildCounterGoogleCloudApigeeV1OptimizedStatsResponse < 3) {
+ checkUnnamed360(o.TimeUnit);
+ checkGoogleCloudApigeeV1Metadata(o.metaData);
+ unittest.expect(o.resultTruncated, unittest.isTrue);
+ checkGoogleCloudApigeeV1OptimizedStatsNode(o.stats);
+ }
+ buildCounterGoogleCloudApigeeV1OptimizedStatsResponse--;
+}
+
buildUnnamed361() {
var o = new core.List<core.String>();
o.add("foo");
@@ -3894,20 +4003,33 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed362() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed362(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
core.int buildCounterGoogleCloudApigeeV1Organization = 0;
buildGoogleCloudApigeeV1Organization() {
var o = new api.GoogleCloudApigeeV1Organization();
buildCounterGoogleCloudApigeeV1Organization++;
if (buildCounterGoogleCloudApigeeV1Organization < 3) {
o.analyticsRegion = "foo";
- o.attributes = buildUnnamed360();
+ o.attributes = buildUnnamed361();
o.authorizedNetwork = "foo";
o.caCertificate = "foo";
o.createdAt = "foo";
o.customerName = "foo";
o.description = "foo";
o.displayName = "foo";
- o.environments = buildUnnamed361();
+ o.environments = buildUnnamed362();
o.lastModifiedAt = "foo";
o.name = "foo";
o.projectId = "foo";
@@ -3924,14 +4046,14 @@
buildCounterGoogleCloudApigeeV1Organization++;
if (buildCounterGoogleCloudApigeeV1Organization < 3) {
unittest.expect(o.analyticsRegion, unittest.equals('foo'));
- checkUnnamed360(o.attributes);
+ checkUnnamed361(o.attributes);
unittest.expect(o.authorizedNetwork, unittest.equals('foo'));
unittest.expect(o.caCertificate, unittest.equals('foo'));
unittest.expect(o.createdAt, unittest.equals('foo'));
unittest.expect(o.customerName, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed361(o.environments);
+ checkUnnamed362(o.environments);
unittest.expect(o.lastModifiedAt, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.projectId, unittest.equals('foo'));
@@ -3943,14 +4065,14 @@
buildCounterGoogleCloudApigeeV1Organization--;
}
-buildUnnamed362() {
+buildUnnamed363() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed362(core.List<core.String> o) {
+checkUnnamed363(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3962,7 +4084,7 @@
buildCounterGoogleCloudApigeeV1OrganizationProjectMapping++;
if (buildCounterGoogleCloudApigeeV1OrganizationProjectMapping < 3) {
o.organization = "foo";
- o.projectIds = buildUnnamed362();
+ o.projectIds = buildUnnamed363();
}
buildCounterGoogleCloudApigeeV1OrganizationProjectMapping--;
return o;
@@ -3973,7 +4095,7 @@
buildCounterGoogleCloudApigeeV1OrganizationProjectMapping++;
if (buildCounterGoogleCloudApigeeV1OrganizationProjectMapping < 3) {
unittest.expect(o.organization, unittest.equals('foo'));
- checkUnnamed362(o.projectIds);
+ checkUnnamed363(o.projectIds);
}
buildCounterGoogleCloudApigeeV1OrganizationProjectMapping--;
}
@@ -4013,14 +4135,14 @@
buildCounterGoogleCloudApigeeV1PodStatus--;
}
-buildUnnamed363() {
+buildUnnamed364() {
var o = new core.List<api.GoogleCloudApigeeV1Result>();
o.add(buildGoogleCloudApigeeV1Result());
o.add(buildGoogleCloudApigeeV1Result());
return o;
}
-checkUnnamed363(core.List<api.GoogleCloudApigeeV1Result> o) {
+checkUnnamed364(core.List<api.GoogleCloudApigeeV1Result> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudApigeeV1Result(o[0]);
checkGoogleCloudApigeeV1Result(o[1]);
@@ -4032,7 +4154,7 @@
buildCounterGoogleCloudApigeeV1Point++;
if (buildCounterGoogleCloudApigeeV1Point < 3) {
o.id = "foo";
- o.results = buildUnnamed363();
+ o.results = buildUnnamed364();
}
buildCounterGoogleCloudApigeeV1Point--;
return o;
@@ -4042,19 +4164,19 @@
buildCounterGoogleCloudApigeeV1Point++;
if (buildCounterGoogleCloudApigeeV1Point < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed363(o.results);
+ checkUnnamed364(o.results);
}
buildCounterGoogleCloudApigeeV1Point--;
}
-buildUnnamed364() {
+buildUnnamed365() {
var o = new core.List<api.GoogleCloudApigeeV1Property>();
o.add(buildGoogleCloudApigeeV1Property());
o.add(buildGoogleCloudApigeeV1Property());
return o;
}
-checkUnnamed364(core.List<api.GoogleCloudApigeeV1Property> o) {
+checkUnnamed365(core.List<api.GoogleCloudApigeeV1Property> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudApigeeV1Property(o[0]);
checkGoogleCloudApigeeV1Property(o[1]);
@@ -4065,7 +4187,7 @@
var o = new api.GoogleCloudApigeeV1Properties();
buildCounterGoogleCloudApigeeV1Properties++;
if (buildCounterGoogleCloudApigeeV1Properties < 3) {
- o.property = buildUnnamed364();
+ o.property = buildUnnamed365();
}
buildCounterGoogleCloudApigeeV1Properties--;
return o;
@@ -4074,7 +4196,7 @@
checkGoogleCloudApigeeV1Properties(api.GoogleCloudApigeeV1Properties o) {
buildCounterGoogleCloudApigeeV1Properties++;
if (buildCounterGoogleCloudApigeeV1Properties < 3) {
- checkUnnamed364(o.property);
+ checkUnnamed365(o.property);
}
buildCounterGoogleCloudApigeeV1Properties--;
}
@@ -4100,27 +4222,51 @@
buildCounterGoogleCloudApigeeV1Property--;
}
-buildUnnamed365() {
+core.int buildCounterGoogleCloudApigeeV1ProvisionOrganizationRequest = 0;
+buildGoogleCloudApigeeV1ProvisionOrganizationRequest() {
+ var o = new api.GoogleCloudApigeeV1ProvisionOrganizationRequest();
+ buildCounterGoogleCloudApigeeV1ProvisionOrganizationRequest++;
+ if (buildCounterGoogleCloudApigeeV1ProvisionOrganizationRequest < 3) {
+ o.analyticsRegion = "foo";
+ o.authorizedNetwork = "foo";
+ o.runtimeLocation = "foo";
+ }
+ buildCounterGoogleCloudApigeeV1ProvisionOrganizationRequest--;
+ return o;
+}
+
+checkGoogleCloudApigeeV1ProvisionOrganizationRequest(
+ api.GoogleCloudApigeeV1ProvisionOrganizationRequest o) {
+ buildCounterGoogleCloudApigeeV1ProvisionOrganizationRequest++;
+ if (buildCounterGoogleCloudApigeeV1ProvisionOrganizationRequest < 3) {
+ unittest.expect(o.analyticsRegion, unittest.equals('foo'));
+ unittest.expect(o.authorizedNetwork, unittest.equals('foo'));
+ unittest.expect(o.runtimeLocation, unittest.equals('foo'));
+ }
+ buildCounterGoogleCloudApigeeV1ProvisionOrganizationRequest--;
+}
+
+buildUnnamed366() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed365(core.List<core.String> o) {
+checkUnnamed366(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed366() {
+buildUnnamed367() {
var o = new core.List<api.GoogleCloudApigeeV1QueryMetric>();
o.add(buildGoogleCloudApigeeV1QueryMetric());
o.add(buildGoogleCloudApigeeV1QueryMetric());
return o;
}
-checkUnnamed366(core.List<api.GoogleCloudApigeeV1QueryMetric> o) {
+checkUnnamed367(core.List<api.GoogleCloudApigeeV1QueryMetric> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudApigeeV1QueryMetric(o[0]);
checkGoogleCloudApigeeV1QueryMetric(o[1]);
@@ -4132,11 +4278,11 @@
buildCounterGoogleCloudApigeeV1Query++;
if (buildCounterGoogleCloudApigeeV1Query < 3) {
o.csvDelimiter = "foo";
- o.dimensions = buildUnnamed365();
+ o.dimensions = buildUnnamed366();
o.filter = "foo";
o.groupByTimeUnit = "foo";
o.limit = 42;
- o.metrics = buildUnnamed366();
+ o.metrics = buildUnnamed367();
o.name = "foo";
o.outputFormat = "foo";
o.reportDefinitionId = "foo";
@@ -4154,11 +4300,11 @@
buildCounterGoogleCloudApigeeV1Query++;
if (buildCounterGoogleCloudApigeeV1Query < 3) {
unittest.expect(o.csvDelimiter, unittest.equals('foo'));
- checkUnnamed365(o.dimensions);
+ checkUnnamed366(o.dimensions);
unittest.expect(o.filter, unittest.equals('foo'));
unittest.expect(o.groupByTimeUnit, unittest.equals('foo'));
unittest.expect(o.limit, unittest.equals(42));
- checkUnnamed366(o.metrics);
+ checkUnnamed367(o.metrics);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.outputFormat, unittest.equals('foo'));
unittest.expect(o.reportDefinitionId, unittest.equals('foo'));
@@ -4171,19 +4317,6 @@
buildCounterGoogleCloudApigeeV1Query--;
}
-buildUnnamed367() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed367(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed368() {
var o = new core.List<core.String>();
o.add("foo");
@@ -4197,14 +4330,27 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed369() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed369(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
core.int buildCounterGoogleCloudApigeeV1QueryMetadata = 0;
buildGoogleCloudApigeeV1QueryMetadata() {
var o = new api.GoogleCloudApigeeV1QueryMetadata();
buildCounterGoogleCloudApigeeV1QueryMetadata++;
if (buildCounterGoogleCloudApigeeV1QueryMetadata < 3) {
- o.dimensions = buildUnnamed367();
+ o.dimensions = buildUnnamed368();
o.endTimestamp = "foo";
- o.metrics = buildUnnamed368();
+ o.metrics = buildUnnamed369();
o.outputFormat = "foo";
o.startTimestamp = "foo";
o.timeUnit = "foo";
@@ -4216,9 +4362,9 @@
checkGoogleCloudApigeeV1QueryMetadata(api.GoogleCloudApigeeV1QueryMetadata o) {
buildCounterGoogleCloudApigeeV1QueryMetadata++;
if (buildCounterGoogleCloudApigeeV1QueryMetadata < 3) {
- checkUnnamed367(o.dimensions);
+ checkUnnamed368(o.dimensions);
unittest.expect(o.endTimestamp, unittest.equals('foo'));
- checkUnnamed368(o.metrics);
+ checkUnnamed369(o.metrics);
unittest.expect(o.outputFormat, unittest.equals('foo'));
unittest.expect(o.startTimestamp, unittest.equals('foo'));
unittest.expect(o.timeUnit, unittest.equals('foo'));
@@ -4323,14 +4469,14 @@
buildCounterGoogleCloudApigeeV1ReferenceConfig--;
}
-buildUnnamed369() {
+buildUnnamed370() {
var o = new core.List<api.GoogleCloudApigeeV1ResourceStatus>();
o.add(buildGoogleCloudApigeeV1ResourceStatus());
o.add(buildGoogleCloudApigeeV1ResourceStatus());
return o;
}
-checkUnnamed369(core.List<api.GoogleCloudApigeeV1ResourceStatus> o) {
+checkUnnamed370(core.List<api.GoogleCloudApigeeV1ResourceStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudApigeeV1ResourceStatus(o[0]);
checkGoogleCloudApigeeV1ResourceStatus(o[1]);
@@ -4343,7 +4489,7 @@
if (buildCounterGoogleCloudApigeeV1ReportInstanceStatusRequest < 3) {
o.instanceUid = "foo";
o.reportTime = "foo";
- o.resources = buildUnnamed369();
+ o.resources = buildUnnamed370();
}
buildCounterGoogleCloudApigeeV1ReportInstanceStatusRequest--;
return o;
@@ -4355,7 +4501,7 @@
if (buildCounterGoogleCloudApigeeV1ReportInstanceStatusRequest < 3) {
unittest.expect(o.instanceUid, unittest.equals('foo'));
unittest.expect(o.reportTime, unittest.equals('foo'));
- checkUnnamed369(o.resources);
+ checkUnnamed370(o.resources);
}
buildCounterGoogleCloudApigeeV1ReportInstanceStatusRequest--;
}
@@ -4376,14 +4522,14 @@
buildCounterGoogleCloudApigeeV1ReportInstanceStatusResponse--;
}
-buildUnnamed370() {
+buildUnnamed371() {
var o = new core.List<api.GoogleCloudApigeeV1Attribute>();
o.add(buildGoogleCloudApigeeV1Attribute());
o.add(buildGoogleCloudApigeeV1Attribute());
return o;
}
-checkUnnamed370(core.List<api.GoogleCloudApigeeV1Attribute> o) {
+checkUnnamed371(core.List<api.GoogleCloudApigeeV1Attribute> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudApigeeV1Attribute(o[0]);
checkGoogleCloudApigeeV1Attribute(o[1]);
@@ -4395,7 +4541,7 @@
buildCounterGoogleCloudApigeeV1ReportProperty++;
if (buildCounterGoogleCloudApigeeV1ReportProperty < 3) {
o.property = "foo";
- o.value = buildUnnamed370();
+ o.value = buildUnnamed371();
}
buildCounterGoogleCloudApigeeV1ReportProperty--;
return o;
@@ -4406,7 +4552,7 @@
buildCounterGoogleCloudApigeeV1ReportProperty++;
if (buildCounterGoogleCloudApigeeV1ReportProperty < 3) {
unittest.expect(o.property, unittest.equals('foo'));
- checkUnnamed370(o.value);
+ checkUnnamed371(o.value);
}
buildCounterGoogleCloudApigeeV1ReportProperty--;
}
@@ -4454,14 +4600,14 @@
buildCounterGoogleCloudApigeeV1ResourceFile--;
}
-buildUnnamed371() {
+buildUnnamed372() {
var o = new core.List<api.GoogleCloudApigeeV1ResourceFile>();
o.add(buildGoogleCloudApigeeV1ResourceFile());
o.add(buildGoogleCloudApigeeV1ResourceFile());
return o;
}
-checkUnnamed371(core.List<api.GoogleCloudApigeeV1ResourceFile> o) {
+checkUnnamed372(core.List<api.GoogleCloudApigeeV1ResourceFile> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudApigeeV1ResourceFile(o[0]);
checkGoogleCloudApigeeV1ResourceFile(o[1]);
@@ -4472,7 +4618,7 @@
var o = new api.GoogleCloudApigeeV1ResourceFiles();
buildCounterGoogleCloudApigeeV1ResourceFiles++;
if (buildCounterGoogleCloudApigeeV1ResourceFiles < 3) {
- o.resourceFile = buildUnnamed371();
+ o.resourceFile = buildUnnamed372();
}
buildCounterGoogleCloudApigeeV1ResourceFiles--;
return o;
@@ -4481,19 +4627,19 @@
checkGoogleCloudApigeeV1ResourceFiles(api.GoogleCloudApigeeV1ResourceFiles o) {
buildCounterGoogleCloudApigeeV1ResourceFiles++;
if (buildCounterGoogleCloudApigeeV1ResourceFiles < 3) {
- checkUnnamed371(o.resourceFile);
+ checkUnnamed372(o.resourceFile);
}
buildCounterGoogleCloudApigeeV1ResourceFiles--;
}
-buildUnnamed372() {
+buildUnnamed373() {
var o = new core.List<api.GoogleCloudApigeeV1RevisionStatus>();
o.add(buildGoogleCloudApigeeV1RevisionStatus());
o.add(buildGoogleCloudApigeeV1RevisionStatus());
return o;
}
-checkUnnamed372(core.List<api.GoogleCloudApigeeV1RevisionStatus> o) {
+checkUnnamed373(core.List<api.GoogleCloudApigeeV1RevisionStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudApigeeV1RevisionStatus(o[0]);
checkGoogleCloudApigeeV1RevisionStatus(o[1]);
@@ -4505,7 +4651,7 @@
buildCounterGoogleCloudApigeeV1ResourceStatus++;
if (buildCounterGoogleCloudApigeeV1ResourceStatus < 3) {
o.resource = "foo";
- o.revisions = buildUnnamed372();
+ o.revisions = buildUnnamed373();
o.totalReplicas = 42;
o.uid = "foo";
}
@@ -4518,34 +4664,34 @@
buildCounterGoogleCloudApigeeV1ResourceStatus++;
if (buildCounterGoogleCloudApigeeV1ResourceStatus < 3) {
unittest.expect(o.resource, unittest.equals('foo'));
- checkUnnamed372(o.revisions);
+ checkUnnamed373(o.revisions);
unittest.expect(o.totalReplicas, unittest.equals(42));
unittest.expect(o.uid, unittest.equals('foo'));
}
buildCounterGoogleCloudApigeeV1ResourceStatus--;
}
-buildUnnamed373() {
+buildUnnamed374() {
var o = new core.List<api.GoogleCloudApigeeV1Access>();
o.add(buildGoogleCloudApigeeV1Access());
o.add(buildGoogleCloudApigeeV1Access());
return o;
}
-checkUnnamed373(core.List<api.GoogleCloudApigeeV1Access> o) {
+checkUnnamed374(core.List<api.GoogleCloudApigeeV1Access> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudApigeeV1Access(o[0]);
checkGoogleCloudApigeeV1Access(o[1]);
}
-buildUnnamed374() {
+buildUnnamed375() {
var o = new core.List<api.GoogleCloudApigeeV1Property>();
o.add(buildGoogleCloudApigeeV1Property());
o.add(buildGoogleCloudApigeeV1Property());
return o;
}
-checkUnnamed374(core.List<api.GoogleCloudApigeeV1Property> o) {
+checkUnnamed375(core.List<api.GoogleCloudApigeeV1Property> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudApigeeV1Property(o[0]);
checkGoogleCloudApigeeV1Property(o[1]);
@@ -4557,9 +4703,9 @@
buildCounterGoogleCloudApigeeV1Result++;
if (buildCounterGoogleCloudApigeeV1Result < 3) {
o.ActionResult = "foo";
- o.accessList = buildUnnamed373();
+ o.accessList = buildUnnamed374();
o.content = "foo";
- o.headers = buildUnnamed374();
+ o.headers = buildUnnamed375();
o.properties = buildGoogleCloudApigeeV1Properties();
o.reasonPhrase = "foo";
o.statusCode = "foo";
@@ -4575,9 +4721,9 @@
buildCounterGoogleCloudApigeeV1Result++;
if (buildCounterGoogleCloudApigeeV1Result < 3) {
unittest.expect(o.ActionResult, unittest.equals('foo'));
- checkUnnamed373(o.accessList);
+ checkUnnamed374(o.accessList);
unittest.expect(o.content, unittest.equals('foo'));
- checkUnnamed374(o.headers);
+ checkUnnamed375(o.headers);
checkGoogleCloudApigeeV1Properties(o.properties);
unittest.expect(o.reasonPhrase, unittest.equals('foo'));
unittest.expect(o.statusCode, unittest.equals('foo'));
@@ -4588,14 +4734,14 @@
buildCounterGoogleCloudApigeeV1Result--;
}
-buildUnnamed375() {
+buildUnnamed376() {
var o = new core.List<api.GoogleCloudApigeeV1UpdateError>();
o.add(buildGoogleCloudApigeeV1UpdateError());
o.add(buildGoogleCloudApigeeV1UpdateError());
return o;
}
-checkUnnamed375(core.List<api.GoogleCloudApigeeV1UpdateError> o) {
+checkUnnamed376(core.List<api.GoogleCloudApigeeV1UpdateError> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudApigeeV1UpdateError(o[0]);
checkGoogleCloudApigeeV1UpdateError(o[1]);
@@ -4606,7 +4752,7 @@
var o = new api.GoogleCloudApigeeV1RevisionStatus();
buildCounterGoogleCloudApigeeV1RevisionStatus++;
if (buildCounterGoogleCloudApigeeV1RevisionStatus < 3) {
- o.errors = buildUnnamed375();
+ o.errors = buildUnnamed376();
o.jsonSpec = "foo";
o.replicas = 42;
o.revisionId = "foo";
@@ -4619,7 +4765,7 @@
api.GoogleCloudApigeeV1RevisionStatus o) {
buildCounterGoogleCloudApigeeV1RevisionStatus++;
if (buildCounterGoogleCloudApigeeV1RevisionStatus < 3) {
- checkUnnamed375(o.errors);
+ checkUnnamed376(o.errors);
unittest.expect(o.jsonSpec, unittest.equals('foo'));
unittest.expect(o.replicas, unittest.equals(42));
unittest.expect(o.revisionId, unittest.equals('foo'));
@@ -4633,7 +4779,10 @@
buildCounterGoogleCloudApigeeV1RoutingRule++;
if (buildCounterGoogleCloudApigeeV1RoutingRule < 3) {
o.basepath = "foo";
+ o.envGroupRevision = "foo";
o.environment = "foo";
+ o.receiver = "foo";
+ o.updateTime = "foo";
}
buildCounterGoogleCloudApigeeV1RoutingRule--;
return o;
@@ -4643,19 +4792,22 @@
buildCounterGoogleCloudApigeeV1RoutingRule++;
if (buildCounterGoogleCloudApigeeV1RoutingRule < 3) {
unittest.expect(o.basepath, unittest.equals('foo'));
+ unittest.expect(o.envGroupRevision, unittest.equals('foo'));
unittest.expect(o.environment, unittest.equals('foo'));
+ unittest.expect(o.receiver, unittest.equals('foo'));
+ unittest.expect(o.updateTime, unittest.equals('foo'));
}
buildCounterGoogleCloudApigeeV1RoutingRule--;
}
-buildUnnamed376() {
+buildUnnamed377() {
var o = new core.List<api.GoogleCloudApigeeV1RuntimeTraceConfigOverride>();
o.add(buildGoogleCloudApigeeV1RuntimeTraceConfigOverride());
o.add(buildGoogleCloudApigeeV1RuntimeTraceConfigOverride());
return o;
}
-checkUnnamed376(
+checkUnnamed377(
core.List<api.GoogleCloudApigeeV1RuntimeTraceConfigOverride> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudApigeeV1RuntimeTraceConfigOverride(o[0]);
@@ -4670,7 +4822,7 @@
o.endpoint = "foo";
o.exporter = "foo";
o.name = "foo";
- o.overrides = buildUnnamed376();
+ o.overrides = buildUnnamed377();
o.revisionCreateTime = "foo";
o.revisionId = "foo";
o.samplingConfig = buildGoogleCloudApigeeV1RuntimeTraceSamplingConfig();
@@ -4686,7 +4838,7 @@
unittest.expect(o.endpoint, unittest.equals('foo'));
unittest.expect(o.exporter, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed376(o.overrides);
+ checkUnnamed377(o.overrides);
unittest.expect(o.revisionCreateTime, unittest.equals('foo'));
unittest.expect(o.revisionId, unittest.equals('foo'));
checkGoogleCloudApigeeV1RuntimeTraceSamplingConfig(o.samplingConfig);
@@ -4724,20 +4876,20 @@
buildCounterGoogleCloudApigeeV1RuntimeTraceConfigOverride--;
}
-buildUnnamed377() {
+buildUnnamed378() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed377(core.List<core.String> o) {
+checkUnnamed378(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed378() {
+buildUnnamed379() {
var o = new core.List<
api.GoogleCloudApigeeV1RuntimeTraceSamplingConfigResponseCodeRange>();
o.add(buildGoogleCloudApigeeV1RuntimeTraceSamplingConfigResponseCodeRange());
@@ -4745,7 +4897,7 @@
return o;
}
-checkUnnamed378(
+checkUnnamed379(
core.List<
api.GoogleCloudApigeeV1RuntimeTraceSamplingConfigResponseCodeRange>
o) {
@@ -4754,14 +4906,14 @@
checkGoogleCloudApigeeV1RuntimeTraceSamplingConfigResponseCodeRange(o[1]);
}
-buildUnnamed379() {
+buildUnnamed380() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed379(core.List<core.int> o) {
+checkUnnamed380(core.List<core.int> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42));
unittest.expect(o[1], unittest.equals(42));
@@ -4772,9 +4924,9 @@
var o = new api.GoogleCloudApigeeV1RuntimeTraceSamplingConfig();
buildCounterGoogleCloudApigeeV1RuntimeTraceSamplingConfig++;
if (buildCounterGoogleCloudApigeeV1RuntimeTraceSamplingConfig < 3) {
- o.errorSources = buildUnnamed377();
- o.responseCodeRanges = buildUnnamed378();
- o.responseCodes = buildUnnamed379();
+ o.errorSources = buildUnnamed378();
+ o.responseCodeRanges = buildUnnamed379();
+ o.responseCodes = buildUnnamed380();
o.sampler = "foo";
o.samplingRate = 42.0;
}
@@ -4786,9 +4938,9 @@
api.GoogleCloudApigeeV1RuntimeTraceSamplingConfig o) {
buildCounterGoogleCloudApigeeV1RuntimeTraceSamplingConfig++;
if (buildCounterGoogleCloudApigeeV1RuntimeTraceSamplingConfig < 3) {
- checkUnnamed377(o.errorSources);
- checkUnnamed378(o.responseCodeRanges);
- checkUnnamed379(o.responseCodes);
+ checkUnnamed378(o.errorSources);
+ checkUnnamed379(o.responseCodeRanges);
+ checkUnnamed380(o.responseCodes);
unittest.expect(o.sampler, unittest.equals('foo'));
unittest.expect(o.samplingRate, unittest.equals(42.0));
}
@@ -4822,40 +4974,40 @@
buildCounterGoogleCloudApigeeV1RuntimeTraceSamplingConfigResponseCodeRange--;
}
-buildUnnamed380() {
+buildUnnamed381() {
var o = new core.List<api.GoogleCloudApigeeV1SchemaSchemaElement>();
o.add(buildGoogleCloudApigeeV1SchemaSchemaElement());
o.add(buildGoogleCloudApigeeV1SchemaSchemaElement());
return o;
}
-checkUnnamed380(core.List<api.GoogleCloudApigeeV1SchemaSchemaElement> o) {
+checkUnnamed381(core.List<api.GoogleCloudApigeeV1SchemaSchemaElement> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudApigeeV1SchemaSchemaElement(o[0]);
checkGoogleCloudApigeeV1SchemaSchemaElement(o[1]);
}
-buildUnnamed381() {
+buildUnnamed382() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed381(core.List<core.String> o) {
+checkUnnamed382(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed382() {
+buildUnnamed383() {
var o = new core.List<api.GoogleCloudApigeeV1SchemaSchemaElement>();
o.add(buildGoogleCloudApigeeV1SchemaSchemaElement());
o.add(buildGoogleCloudApigeeV1SchemaSchemaElement());
return o;
}
-checkUnnamed382(core.List<api.GoogleCloudApigeeV1SchemaSchemaElement> o) {
+checkUnnamed383(core.List<api.GoogleCloudApigeeV1SchemaSchemaElement> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudApigeeV1SchemaSchemaElement(o[0]);
checkGoogleCloudApigeeV1SchemaSchemaElement(o[1]);
@@ -4866,9 +5018,9 @@
var o = new api.GoogleCloudApigeeV1Schema();
buildCounterGoogleCloudApigeeV1Schema++;
if (buildCounterGoogleCloudApigeeV1Schema < 3) {
- o.dimensions = buildUnnamed380();
- o.meta = buildUnnamed381();
- o.metrics = buildUnnamed382();
+ o.dimensions = buildUnnamed381();
+ o.meta = buildUnnamed382();
+ o.metrics = buildUnnamed383();
}
buildCounterGoogleCloudApigeeV1Schema--;
return o;
@@ -4877,9 +5029,9 @@
checkGoogleCloudApigeeV1Schema(api.GoogleCloudApigeeV1Schema o) {
buildCounterGoogleCloudApigeeV1Schema++;
if (buildCounterGoogleCloudApigeeV1Schema < 3) {
- checkUnnamed380(o.dimensions);
- checkUnnamed381(o.meta);
- checkUnnamed382(o.metrics);
+ checkUnnamed381(o.dimensions);
+ checkUnnamed382(o.meta);
+ checkUnnamed383(o.metrics);
}
buildCounterGoogleCloudApigeeV1Schema--;
}
@@ -4930,14 +5082,14 @@
buildCounterGoogleCloudApigeeV1SchemaSchemaProperty--;
}
-buildUnnamed383() {
+buildUnnamed384() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed383(core.List<core.String> o) {
+checkUnnamed384(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -4948,7 +5100,7 @@
var o = new api.GoogleCloudApigeeV1ServiceIssuersMapping();
buildCounterGoogleCloudApigeeV1ServiceIssuersMapping++;
if (buildCounterGoogleCloudApigeeV1ServiceIssuersMapping < 3) {
- o.emailIds = buildUnnamed383();
+ o.emailIds = buildUnnamed384();
o.service = "foo";
}
buildCounterGoogleCloudApigeeV1ServiceIssuersMapping--;
@@ -4959,7 +5111,7 @@
api.GoogleCloudApigeeV1ServiceIssuersMapping o) {
buildCounterGoogleCloudApigeeV1ServiceIssuersMapping++;
if (buildCounterGoogleCloudApigeeV1ServiceIssuersMapping < 3) {
- checkUnnamed383(o.emailIds);
+ checkUnnamed384(o.emailIds);
unittest.expect(o.service, unittest.equals('foo'));
}
buildCounterGoogleCloudApigeeV1ServiceIssuersMapping--;
@@ -4986,14 +5138,14 @@
buildCounterGoogleCloudApigeeV1Session--;
}
-buildUnnamed384() {
+buildUnnamed385() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed384(core.List<core.String> o) {
+checkUnnamed385(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -5007,7 +5159,7 @@
o.latestRevisionId = "foo";
o.metaData = buildGoogleCloudApigeeV1EntityMetadata();
o.name = "foo";
- o.revision = buildUnnamed384();
+ o.revision = buildUnnamed385();
}
buildCounterGoogleCloudApigeeV1SharedFlow--;
return o;
@@ -5019,37 +5171,24 @@
unittest.expect(o.latestRevisionId, unittest.equals('foo'));
checkGoogleCloudApigeeV1EntityMetadata(o.metaData);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed384(o.revision);
+ checkUnnamed385(o.revision);
}
buildCounterGoogleCloudApigeeV1SharedFlow--;
}
-buildUnnamed385() {
+buildUnnamed386() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed385(core.Map<core.String, core.String> o) {
+checkUnnamed386(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed386() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed386(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed387() {
var o = new core.List<core.String>();
o.add("foo");
@@ -5076,6 +5215,19 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed389() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed389(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
core.int buildCounterGoogleCloudApigeeV1SharedFlowRevision = 0;
buildGoogleCloudApigeeV1SharedFlowRevision() {
var o = new api.GoogleCloudApigeeV1SharedFlowRevision();
@@ -5086,14 +5238,14 @@
o.createdAt = "foo";
o.description = "foo";
o.displayName = "foo";
- o.entityMetaDataAsProperties = buildUnnamed385();
+ o.entityMetaDataAsProperties = buildUnnamed386();
o.lastModifiedAt = "foo";
o.name = "foo";
- o.policies = buildUnnamed386();
+ o.policies = buildUnnamed387();
o.resourceFiles = buildGoogleCloudApigeeV1ResourceFiles();
- o.resources = buildUnnamed387();
+ o.resources = buildUnnamed388();
o.revision = "foo";
- o.sharedFlows = buildUnnamed388();
+ o.sharedFlows = buildUnnamed389();
o.type = "foo";
}
buildCounterGoogleCloudApigeeV1SharedFlowRevision--;
@@ -5109,27 +5261,27 @@
unittest.expect(o.createdAt, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed385(o.entityMetaDataAsProperties);
+ checkUnnamed386(o.entityMetaDataAsProperties);
unittest.expect(o.lastModifiedAt, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed386(o.policies);
+ checkUnnamed387(o.policies);
checkGoogleCloudApigeeV1ResourceFiles(o.resourceFiles);
- checkUnnamed387(o.resources);
+ checkUnnamed388(o.resources);
unittest.expect(o.revision, unittest.equals('foo'));
- checkUnnamed388(o.sharedFlows);
+ checkUnnamed389(o.sharedFlows);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterGoogleCloudApigeeV1SharedFlowRevision--;
}
-buildUnnamed389() {
+buildUnnamed390() {
var o = new core.List<api.GoogleCloudApigeeV1StatsEnvironmentStats>();
o.add(buildGoogleCloudApigeeV1StatsEnvironmentStats());
o.add(buildGoogleCloudApigeeV1StatsEnvironmentStats());
return o;
}
-checkUnnamed389(core.List<api.GoogleCloudApigeeV1StatsEnvironmentStats> o) {
+checkUnnamed390(core.List<api.GoogleCloudApigeeV1StatsEnvironmentStats> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudApigeeV1StatsEnvironmentStats(o[0]);
checkGoogleCloudApigeeV1StatsEnvironmentStats(o[1]);
@@ -5140,7 +5292,7 @@
var o = new api.GoogleCloudApigeeV1Stats();
buildCounterGoogleCloudApigeeV1Stats++;
if (buildCounterGoogleCloudApigeeV1Stats < 3) {
- o.environments = buildUnnamed389();
+ o.environments = buildUnnamed390();
o.metaData = buildGoogleCloudApigeeV1Metadata();
}
buildCounterGoogleCloudApigeeV1Stats--;
@@ -5150,33 +5302,33 @@
checkGoogleCloudApigeeV1Stats(api.GoogleCloudApigeeV1Stats o) {
buildCounterGoogleCloudApigeeV1Stats++;
if (buildCounterGoogleCloudApigeeV1Stats < 3) {
- checkUnnamed389(o.environments);
+ checkUnnamed390(o.environments);
checkGoogleCloudApigeeV1Metadata(o.metaData);
}
buildCounterGoogleCloudApigeeV1Stats--;
}
-buildUnnamed390() {
+buildUnnamed391() {
var o = new core.List<api.GoogleCloudApigeeV1DimensionMetric>();
o.add(buildGoogleCloudApigeeV1DimensionMetric());
o.add(buildGoogleCloudApigeeV1DimensionMetric());
return o;
}
-checkUnnamed390(core.List<api.GoogleCloudApigeeV1DimensionMetric> o) {
+checkUnnamed391(core.List<api.GoogleCloudApigeeV1DimensionMetric> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudApigeeV1DimensionMetric(o[0]);
checkGoogleCloudApigeeV1DimensionMetric(o[1]);
}
-buildUnnamed391() {
+buildUnnamed392() {
var o = new core.List<api.GoogleCloudApigeeV1Metric>();
o.add(buildGoogleCloudApigeeV1Metric());
o.add(buildGoogleCloudApigeeV1Metric());
return o;
}
-checkUnnamed391(core.List<api.GoogleCloudApigeeV1Metric> o) {
+checkUnnamed392(core.List<api.GoogleCloudApigeeV1Metric> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudApigeeV1Metric(o[0]);
checkGoogleCloudApigeeV1Metric(o[1]);
@@ -5187,8 +5339,8 @@
var o = new api.GoogleCloudApigeeV1StatsEnvironmentStats();
buildCounterGoogleCloudApigeeV1StatsEnvironmentStats++;
if (buildCounterGoogleCloudApigeeV1StatsEnvironmentStats < 3) {
- o.dimensions = buildUnnamed390();
- o.metrics = buildUnnamed391();
+ o.dimensions = buildUnnamed391();
+ o.metrics = buildUnnamed392();
o.name = "foo";
}
buildCounterGoogleCloudApigeeV1StatsEnvironmentStats--;
@@ -5199,8 +5351,8 @@
api.GoogleCloudApigeeV1StatsEnvironmentStats o) {
buildCounterGoogleCloudApigeeV1StatsEnvironmentStats++;
if (buildCounterGoogleCloudApigeeV1StatsEnvironmentStats < 3) {
- checkUnnamed390(o.dimensions);
- checkUnnamed391(o.metrics);
+ checkUnnamed391(o.dimensions);
+ checkUnnamed392(o.metrics);
unittest.expect(o.name, unittest.equals('foo'));
}
buildCounterGoogleCloudApigeeV1StatsEnvironmentStats--;
@@ -5225,14 +5377,14 @@
buildCounterGoogleCloudApigeeV1Subscription--;
}
-buildUnnamed392() {
+buildUnnamed393() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed392(core.List<core.String> o) {
+checkUnnamed393(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -5244,7 +5396,7 @@
buildCounterGoogleCloudApigeeV1SyncAuthorization++;
if (buildCounterGoogleCloudApigeeV1SyncAuthorization < 3) {
o.etag = "foo";
- o.identities = buildUnnamed392();
+ o.identities = buildUnnamed393();
}
buildCounterGoogleCloudApigeeV1SyncAuthorization--;
return o;
@@ -5255,7 +5407,7 @@
buildCounterGoogleCloudApigeeV1SyncAuthorization++;
if (buildCounterGoogleCloudApigeeV1SyncAuthorization < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed392(o.identities);
+ checkUnnamed393(o.identities);
}
buildCounterGoogleCloudApigeeV1SyncAuthorization--;
}
@@ -5337,19 +5489,6 @@
buildCounterGoogleCloudApigeeV1TestDatastoreResponse--;
}
-buildUnnamed393() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed393(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed394() {
var o = new core.List<core.String>();
o.add("foo");
@@ -5363,19 +5502,32 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed395() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed395(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
core.int buildCounterGoogleCloudApigeeV1TlsInfo = 0;
buildGoogleCloudApigeeV1TlsInfo() {
var o = new api.GoogleCloudApigeeV1TlsInfo();
buildCounterGoogleCloudApigeeV1TlsInfo++;
if (buildCounterGoogleCloudApigeeV1TlsInfo < 3) {
- o.ciphers = buildUnnamed393();
+ o.ciphers = buildUnnamed394();
o.clientAuthEnabled = true;
o.commonName = buildGoogleCloudApigeeV1TlsInfoCommonName();
o.enabled = true;
o.ignoreValidationErrors = true;
o.keyAlias = "foo";
o.keyStore = "foo";
- o.protocols = buildUnnamed394();
+ o.protocols = buildUnnamed395();
o.trustStore = "foo";
}
buildCounterGoogleCloudApigeeV1TlsInfo--;
@@ -5385,14 +5537,14 @@
checkGoogleCloudApigeeV1TlsInfo(api.GoogleCloudApigeeV1TlsInfo o) {
buildCounterGoogleCloudApigeeV1TlsInfo++;
if (buildCounterGoogleCloudApigeeV1TlsInfo < 3) {
- checkUnnamed393(o.ciphers);
+ checkUnnamed394(o.ciphers);
unittest.expect(o.clientAuthEnabled, unittest.isTrue);
checkGoogleCloudApigeeV1TlsInfoCommonName(o.commonName);
unittest.expect(o.enabled, unittest.isTrue);
unittest.expect(o.ignoreValidationErrors, unittest.isTrue);
unittest.expect(o.keyAlias, unittest.equals('foo'));
unittest.expect(o.keyStore, unittest.equals('foo'));
- checkUnnamed394(o.protocols);
+ checkUnnamed395(o.protocols);
unittest.expect(o.trustStore, unittest.equals('foo'));
}
buildCounterGoogleCloudApigeeV1TlsInfo--;
@@ -5420,19 +5572,6 @@
buildCounterGoogleCloudApigeeV1TlsInfoCommonName--;
}
-buildUnnamed395() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed395(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed396() {
var o = new core.List<core.String>();
o.add("foo");
@@ -5446,19 +5585,32 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed397() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed397(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
core.int buildCounterGoogleCloudApigeeV1TlsInfoConfig = 0;
buildGoogleCloudApigeeV1TlsInfoConfig() {
var o = new api.GoogleCloudApigeeV1TlsInfoConfig();
buildCounterGoogleCloudApigeeV1TlsInfoConfig++;
if (buildCounterGoogleCloudApigeeV1TlsInfoConfig < 3) {
- o.ciphers = buildUnnamed395();
+ o.ciphers = buildUnnamed396();
o.clientAuthEnabled = true;
o.commonName = buildGoogleCloudApigeeV1CommonNameConfig();
o.enabled = true;
o.ignoreValidationErrors = true;
o.keyAlias = "foo";
o.keyAliasReference = buildGoogleCloudApigeeV1KeyAliasReference();
- o.protocols = buildUnnamed396();
+ o.protocols = buildUnnamed397();
o.trustStore = "foo";
}
buildCounterGoogleCloudApigeeV1TlsInfoConfig--;
@@ -5468,14 +5620,14 @@
checkGoogleCloudApigeeV1TlsInfoConfig(api.GoogleCloudApigeeV1TlsInfoConfig o) {
buildCounterGoogleCloudApigeeV1TlsInfoConfig++;
if (buildCounterGoogleCloudApigeeV1TlsInfoConfig < 3) {
- checkUnnamed395(o.ciphers);
+ checkUnnamed396(o.ciphers);
unittest.expect(o.clientAuthEnabled, unittest.isTrue);
checkGoogleCloudApigeeV1CommonNameConfig(o.commonName);
unittest.expect(o.enabled, unittest.isTrue);
unittest.expect(o.ignoreValidationErrors, unittest.isTrue);
unittest.expect(o.keyAlias, unittest.equals('foo'));
checkGoogleCloudApigeeV1KeyAliasReference(o.keyAliasReference);
- checkUnnamed396(o.protocols);
+ checkUnnamed397(o.protocols);
unittest.expect(o.trustStore, unittest.equals('foo'));
}
buildCounterGoogleCloudApigeeV1TlsInfoConfig--;
@@ -5506,14 +5658,14 @@
buildCounterGoogleCloudApigeeV1UpdateError--;
}
-buildUnnamed397() {
+buildUnnamed398() {
var o = new core.List<api.GoogleIamV1AuditLogConfig>();
o.add(buildGoogleIamV1AuditLogConfig());
o.add(buildGoogleIamV1AuditLogConfig());
return o;
}
-checkUnnamed397(core.List<api.GoogleIamV1AuditLogConfig> o) {
+checkUnnamed398(core.List<api.GoogleIamV1AuditLogConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleIamV1AuditLogConfig(o[0]);
checkGoogleIamV1AuditLogConfig(o[1]);
@@ -5524,7 +5676,7 @@
var o = new api.GoogleIamV1AuditConfig();
buildCounterGoogleIamV1AuditConfig++;
if (buildCounterGoogleIamV1AuditConfig < 3) {
- o.auditLogConfigs = buildUnnamed397();
+ o.auditLogConfigs = buildUnnamed398();
o.service = "foo";
}
buildCounterGoogleIamV1AuditConfig--;
@@ -5534,46 +5686,12 @@
checkGoogleIamV1AuditConfig(api.GoogleIamV1AuditConfig o) {
buildCounterGoogleIamV1AuditConfig++;
if (buildCounterGoogleIamV1AuditConfig < 3) {
- checkUnnamed397(o.auditLogConfigs);
+ checkUnnamed398(o.auditLogConfigs);
unittest.expect(o.service, unittest.equals('foo'));
}
buildCounterGoogleIamV1AuditConfig--;
}
-buildUnnamed398() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed398(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-core.int buildCounterGoogleIamV1AuditLogConfig = 0;
-buildGoogleIamV1AuditLogConfig() {
- var o = new api.GoogleIamV1AuditLogConfig();
- buildCounterGoogleIamV1AuditLogConfig++;
- if (buildCounterGoogleIamV1AuditLogConfig < 3) {
- o.exemptedMembers = buildUnnamed398();
- o.logType = "foo";
- }
- buildCounterGoogleIamV1AuditLogConfig--;
- return o;
-}
-
-checkGoogleIamV1AuditLogConfig(api.GoogleIamV1AuditLogConfig o) {
- buildCounterGoogleIamV1AuditLogConfig++;
- if (buildCounterGoogleIamV1AuditLogConfig < 3) {
- checkUnnamed398(o.exemptedMembers);
- unittest.expect(o.logType, unittest.equals('foo'));
- }
- buildCounterGoogleIamV1AuditLogConfig--;
-}
-
buildUnnamed399() {
var o = new core.List<core.String>();
o.add("foo");
@@ -5587,13 +5705,47 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+core.int buildCounterGoogleIamV1AuditLogConfig = 0;
+buildGoogleIamV1AuditLogConfig() {
+ var o = new api.GoogleIamV1AuditLogConfig();
+ buildCounterGoogleIamV1AuditLogConfig++;
+ if (buildCounterGoogleIamV1AuditLogConfig < 3) {
+ o.exemptedMembers = buildUnnamed399();
+ o.logType = "foo";
+ }
+ buildCounterGoogleIamV1AuditLogConfig--;
+ return o;
+}
+
+checkGoogleIamV1AuditLogConfig(api.GoogleIamV1AuditLogConfig o) {
+ buildCounterGoogleIamV1AuditLogConfig++;
+ if (buildCounterGoogleIamV1AuditLogConfig < 3) {
+ checkUnnamed399(o.exemptedMembers);
+ unittest.expect(o.logType, unittest.equals('foo'));
+ }
+ buildCounterGoogleIamV1AuditLogConfig--;
+}
+
+buildUnnamed400() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed400(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
core.int buildCounterGoogleIamV1Binding = 0;
buildGoogleIamV1Binding() {
var o = new api.GoogleIamV1Binding();
buildCounterGoogleIamV1Binding++;
if (buildCounterGoogleIamV1Binding < 3) {
o.condition = buildGoogleTypeExpr();
- o.members = buildUnnamed399();
+ o.members = buildUnnamed400();
o.role = "foo";
}
buildCounterGoogleIamV1Binding--;
@@ -5604,33 +5756,33 @@
buildCounterGoogleIamV1Binding++;
if (buildCounterGoogleIamV1Binding < 3) {
checkGoogleTypeExpr(o.condition);
- checkUnnamed399(o.members);
+ checkUnnamed400(o.members);
unittest.expect(o.role, unittest.equals('foo'));
}
buildCounterGoogleIamV1Binding--;
}
-buildUnnamed400() {
+buildUnnamed401() {
var o = new core.List<api.GoogleIamV1AuditConfig>();
o.add(buildGoogleIamV1AuditConfig());
o.add(buildGoogleIamV1AuditConfig());
return o;
}
-checkUnnamed400(core.List<api.GoogleIamV1AuditConfig> o) {
+checkUnnamed401(core.List<api.GoogleIamV1AuditConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleIamV1AuditConfig(o[0]);
checkGoogleIamV1AuditConfig(o[1]);
}
-buildUnnamed401() {
+buildUnnamed402() {
var o = new core.List<api.GoogleIamV1Binding>();
o.add(buildGoogleIamV1Binding());
o.add(buildGoogleIamV1Binding());
return o;
}
-checkUnnamed401(core.List<api.GoogleIamV1Binding> o) {
+checkUnnamed402(core.List<api.GoogleIamV1Binding> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleIamV1Binding(o[0]);
checkGoogleIamV1Binding(o[1]);
@@ -5641,8 +5793,8 @@
var o = new api.GoogleIamV1Policy();
buildCounterGoogleIamV1Policy++;
if (buildCounterGoogleIamV1Policy < 3) {
- o.auditConfigs = buildUnnamed400();
- o.bindings = buildUnnamed401();
+ o.auditConfigs = buildUnnamed401();
+ o.bindings = buildUnnamed402();
o.etag = "foo";
o.version = 42;
}
@@ -5653,8 +5805,8 @@
checkGoogleIamV1Policy(api.GoogleIamV1Policy o) {
buildCounterGoogleIamV1Policy++;
if (buildCounterGoogleIamV1Policy < 3) {
- checkUnnamed400(o.auditConfigs);
- checkUnnamed401(o.bindings);
+ checkUnnamed401(o.auditConfigs);
+ checkUnnamed402(o.bindings);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals(42));
}
@@ -5682,39 +5834,6 @@
buildCounterGoogleIamV1SetIamPolicyRequest--;
}
-buildUnnamed402() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed402(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-core.int buildCounterGoogleIamV1TestIamPermissionsRequest = 0;
-buildGoogleIamV1TestIamPermissionsRequest() {
- var o = new api.GoogleIamV1TestIamPermissionsRequest();
- buildCounterGoogleIamV1TestIamPermissionsRequest++;
- if (buildCounterGoogleIamV1TestIamPermissionsRequest < 3) {
- o.permissions = buildUnnamed402();
- }
- buildCounterGoogleIamV1TestIamPermissionsRequest--;
- return o;
-}
-
-checkGoogleIamV1TestIamPermissionsRequest(
- api.GoogleIamV1TestIamPermissionsRequest o) {
- buildCounterGoogleIamV1TestIamPermissionsRequest++;
- if (buildCounterGoogleIamV1TestIamPermissionsRequest < 3) {
- checkUnnamed402(o.permissions);
- }
- buildCounterGoogleIamV1TestIamPermissionsRequest--;
-}
-
buildUnnamed403() {
var o = new core.List<core.String>();
o.add("foo");
@@ -5728,12 +5847,45 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+core.int buildCounterGoogleIamV1TestIamPermissionsRequest = 0;
+buildGoogleIamV1TestIamPermissionsRequest() {
+ var o = new api.GoogleIamV1TestIamPermissionsRequest();
+ buildCounterGoogleIamV1TestIamPermissionsRequest++;
+ if (buildCounterGoogleIamV1TestIamPermissionsRequest < 3) {
+ o.permissions = buildUnnamed403();
+ }
+ buildCounterGoogleIamV1TestIamPermissionsRequest--;
+ return o;
+}
+
+checkGoogleIamV1TestIamPermissionsRequest(
+ api.GoogleIamV1TestIamPermissionsRequest o) {
+ buildCounterGoogleIamV1TestIamPermissionsRequest++;
+ if (buildCounterGoogleIamV1TestIamPermissionsRequest < 3) {
+ checkUnnamed403(o.permissions);
+ }
+ buildCounterGoogleIamV1TestIamPermissionsRequest--;
+}
+
+buildUnnamed404() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed404(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
core.int buildCounterGoogleIamV1TestIamPermissionsResponse = 0;
buildGoogleIamV1TestIamPermissionsResponse() {
var o = new api.GoogleIamV1TestIamPermissionsResponse();
buildCounterGoogleIamV1TestIamPermissionsResponse++;
if (buildCounterGoogleIamV1TestIamPermissionsResponse < 3) {
- o.permissions = buildUnnamed403();
+ o.permissions = buildUnnamed404();
}
buildCounterGoogleIamV1TestIamPermissionsResponse--;
return o;
@@ -5743,19 +5895,19 @@
api.GoogleIamV1TestIamPermissionsResponse o) {
buildCounterGoogleIamV1TestIamPermissionsResponse++;
if (buildCounterGoogleIamV1TestIamPermissionsResponse < 3) {
- checkUnnamed403(o.permissions);
+ checkUnnamed404(o.permissions);
}
buildCounterGoogleIamV1TestIamPermissionsResponse--;
}
-buildUnnamed404() {
+buildUnnamed405() {
var o = new core.List<api.GoogleLongrunningOperation>();
o.add(buildGoogleLongrunningOperation());
o.add(buildGoogleLongrunningOperation());
return o;
}
-checkUnnamed404(core.List<api.GoogleLongrunningOperation> o) {
+checkUnnamed405(core.List<api.GoogleLongrunningOperation> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleLongrunningOperation(o[0]);
checkGoogleLongrunningOperation(o[1]);
@@ -5767,7 +5919,7 @@
buildCounterGoogleLongrunningListOperationsResponse++;
if (buildCounterGoogleLongrunningListOperationsResponse < 3) {
o.nextPageToken = "foo";
- o.operations = buildUnnamed404();
+ o.operations = buildUnnamed405();
}
buildCounterGoogleLongrunningListOperationsResponse--;
return o;
@@ -5778,40 +5930,11 @@
buildCounterGoogleLongrunningListOperationsResponse++;
if (buildCounterGoogleLongrunningListOperationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed404(o.operations);
+ checkUnnamed405(o.operations);
}
buildCounterGoogleLongrunningListOperationsResponse--;
}
-buildUnnamed405() {
- var o = new core.Map<core.String, core.Object>();
- o["x"] = {
- 'list': [1, 2, 3],
- 'bool': true,
- 'string': 'foo'
- };
- o["y"] = {
- 'list': [1, 2, 3],
- 'bool': true,
- 'string': 'foo'
- };
- return o;
-}
-
-checkUnnamed405(core.Map<core.String, core.Object> o) {
- unittest.expect(o, unittest.hasLength(2));
- var casted10 = (o["x"]) as core.Map;
- unittest.expect(casted10, unittest.hasLength(3));
- unittest.expect(casted10["list"], unittest.equals([1, 2, 3]));
- unittest.expect(casted10["bool"], unittest.equals(true));
- unittest.expect(casted10["string"], unittest.equals('foo'));
- var casted11 = (o["y"]) as core.Map;
- unittest.expect(casted11, unittest.hasLength(3));
- unittest.expect(casted11["list"], unittest.equals([1, 2, 3]));
- unittest.expect(casted11["bool"], unittest.equals(true));
- unittest.expect(casted11["string"], unittest.equals('foo'));
-}
-
buildUnnamed406() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
@@ -5829,6 +5952,35 @@
checkUnnamed406(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
+ var casted10 = (o["x"]) as core.Map;
+ unittest.expect(casted10, unittest.hasLength(3));
+ unittest.expect(casted10["list"], unittest.equals([1, 2, 3]));
+ unittest.expect(casted10["bool"], unittest.equals(true));
+ unittest.expect(casted10["string"], unittest.equals('foo'));
+ var casted11 = (o["y"]) as core.Map;
+ unittest.expect(casted11, unittest.hasLength(3));
+ unittest.expect(casted11["list"], unittest.equals([1, 2, 3]));
+ unittest.expect(casted11["bool"], unittest.equals(true));
+ unittest.expect(casted11["string"], unittest.equals('foo'));
+}
+
+buildUnnamed407() {
+ var o = new core.Map<core.String, core.Object>();
+ o["x"] = {
+ 'list': [1, 2, 3],
+ 'bool': true,
+ 'string': 'foo'
+ };
+ o["y"] = {
+ 'list': [1, 2, 3],
+ 'bool': true,
+ 'string': 'foo'
+ };
+ return o;
+}
+
+checkUnnamed407(core.Map<core.String, core.Object> o) {
+ unittest.expect(o, unittest.hasLength(2));
var casted12 = (o["x"]) as core.Map;
unittest.expect(casted12, unittest.hasLength(3));
unittest.expect(casted12["list"], unittest.equals([1, 2, 3]));
@@ -5848,9 +6000,9 @@
if (buildCounterGoogleLongrunningOperation < 3) {
o.done = true;
o.error = buildGoogleRpcStatus();
- o.metadata = buildUnnamed405();
+ o.metadata = buildUnnamed406();
o.name = "foo";
- o.response = buildUnnamed406();
+ o.response = buildUnnamed407();
}
buildCounterGoogleLongrunningOperation--;
return o;
@@ -5861,9 +6013,9 @@
if (buildCounterGoogleLongrunningOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkGoogleRpcStatus(o.error);
- checkUnnamed405(o.metadata);
+ checkUnnamed406(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed406(o.response);
+ checkUnnamed407(o.response);
}
buildCounterGoogleLongrunningOperation--;
}
@@ -5883,14 +6035,14 @@
buildCounterGoogleProtobufEmpty--;
}
-buildUnnamed407() {
+buildUnnamed408() {
var o = new core.List<api.GoogleRpcPreconditionFailureViolation>();
o.add(buildGoogleRpcPreconditionFailureViolation());
o.add(buildGoogleRpcPreconditionFailureViolation());
return o;
}
-checkUnnamed407(core.List<api.GoogleRpcPreconditionFailureViolation> o) {
+checkUnnamed408(core.List<api.GoogleRpcPreconditionFailureViolation> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleRpcPreconditionFailureViolation(o[0]);
checkGoogleRpcPreconditionFailureViolation(o[1]);
@@ -5901,7 +6053,7 @@
var o = new api.GoogleRpcPreconditionFailure();
buildCounterGoogleRpcPreconditionFailure++;
if (buildCounterGoogleRpcPreconditionFailure < 3) {
- o.violations = buildUnnamed407();
+ o.violations = buildUnnamed408();
}
buildCounterGoogleRpcPreconditionFailure--;
return o;
@@ -5910,7 +6062,7 @@
checkGoogleRpcPreconditionFailure(api.GoogleRpcPreconditionFailure o) {
buildCounterGoogleRpcPreconditionFailure++;
if (buildCounterGoogleRpcPreconditionFailure < 3) {
- checkUnnamed407(o.violations);
+ checkUnnamed408(o.violations);
}
buildCounterGoogleRpcPreconditionFailure--;
}
@@ -5939,7 +6091,7 @@
buildCounterGoogleRpcPreconditionFailureViolation--;
}
-buildUnnamed408() {
+buildUnnamed409() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -5954,7 +6106,7 @@
return o;
}
-checkUnnamed408(core.Map<core.String, core.Object> o) {
+checkUnnamed409(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted14 = (o["x"]) as core.Map;
unittest.expect(casted14, unittest.hasLength(3));
@@ -5968,17 +6120,17 @@
unittest.expect(casted15["string"], unittest.equals('foo'));
}
-buildUnnamed409() {
+buildUnnamed410() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed408());
- o.add(buildUnnamed408());
+ o.add(buildUnnamed409());
+ o.add(buildUnnamed409());
return o;
}
-checkUnnamed409(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed410(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed408(o[0]);
- checkUnnamed408(o[1]);
+ checkUnnamed409(o[0]);
+ checkUnnamed409(o[1]);
}
core.int buildCounterGoogleRpcStatus = 0;
@@ -5987,7 +6139,7 @@
buildCounterGoogleRpcStatus++;
if (buildCounterGoogleRpcStatus < 3) {
o.code = 42;
- o.details = buildUnnamed409();
+ o.details = buildUnnamed410();
o.message = "foo";
}
buildCounterGoogleRpcStatus--;
@@ -5998,7 +6150,7 @@
buildCounterGoogleRpcStatus++;
if (buildCounterGoogleRpcStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed409(o.details);
+ checkUnnamed410(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterGoogleRpcStatus--;
@@ -6087,6 +6239,22 @@
});
});
+ unittest.group("obj-schema-GoogleCloudApigeeV1ApiCategory", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildGoogleCloudApigeeV1ApiCategory();
+ var od = new api.GoogleCloudApigeeV1ApiCategory.fromJson(o.toJson());
+ checkGoogleCloudApigeeV1ApiCategory(od);
+ });
+ });
+
+ unittest.group("obj-schema-GoogleCloudApigeeV1ApiCategoryData", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildGoogleCloudApigeeV1ApiCategoryData();
+ var od = new api.GoogleCloudApigeeV1ApiCategoryData.fromJson(o.toJson());
+ checkGoogleCloudApigeeV1ApiCategoryData(od);
+ });
+ });
+
unittest.group("obj-schema-GoogleCloudApigeeV1ApiProduct", () {
unittest.test("to-json--from-json", () {
var o = buildGoogleCloudApigeeV1ApiProduct();
@@ -6119,6 +6287,15 @@
});
});
+ unittest.group("obj-schema-GoogleCloudApigeeV1ApiResponseWrapper", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildGoogleCloudApigeeV1ApiResponseWrapper();
+ var od =
+ new api.GoogleCloudApigeeV1ApiResponseWrapper.fromJson(o.toJson());
+ checkGoogleCloudApigeeV1ApiResponseWrapper(od);
+ });
+ });
+
unittest.group("obj-schema-GoogleCloudApigeeV1App", () {
unittest.test("to-json--from-json", () {
var o = buildGoogleCloudApigeeV1App();
@@ -6562,6 +6739,15 @@
});
});
+ unittest.group("obj-schema-GoogleCloudApigeeV1ListApiCategoriesResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildGoogleCloudApigeeV1ListApiCategoriesResponse();
+ var od = new api.GoogleCloudApigeeV1ListApiCategoriesResponse.fromJson(
+ o.toJson());
+ checkGoogleCloudApigeeV1ListApiCategoriesResponse(od);
+ });
+ });
+
unittest.group("obj-schema-GoogleCloudApigeeV1ListApiProductsResponse", () {
unittest.test("to-json--from-json", () {
var o = buildGoogleCloudApigeeV1ListApiProductsResponse();
@@ -6866,6 +7052,16 @@
});
});
+ unittest.group("obj-schema-GoogleCloudApigeeV1ProvisionOrganizationRequest",
+ () {
+ unittest.test("to-json--from-json", () {
+ var o = buildGoogleCloudApigeeV1ProvisionOrganizationRequest();
+ var od = new api.GoogleCloudApigeeV1ProvisionOrganizationRequest.fromJson(
+ o.toJson());
+ checkGoogleCloudApigeeV1ProvisionOrganizationRequest(od);
+ });
+ });
+
unittest.group("obj-schema-GoogleCloudApigeeV1Query", () {
unittest.test("to-json--from-json", () {
var o = buildGoogleCloudApigeeV1Query();
@@ -7474,6 +7670,7 @@
var mock = new HttpServerMock();
api.OrganizationsResourceApi res = new api.ApigeeApi(mock).organizations;
var arg_name = "foo";
+ var arg_view = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -7506,6 +7703,7 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -7515,7 +7713,8 @@
return new async.Future.value(stringResponse(200, h, resp));
}), true);
res
- .getDeployedIngressConfig(arg_name, $fields: arg_$fields)
+ .getDeployedIngressConfig(arg_name,
+ view: arg_view, $fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGoogleCloudApigeeV1IngressConfig(response);
})));
@@ -8296,11 +8495,11 @@
api.OrganizationsApiproductsResourceApi res =
new 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_expand = true;
- var arg_startKey = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -8333,15 +8532,15 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["count"].first, unittest.equals(arg_count));
- unittest.expect(queryMap["attributename"].first,
- unittest.equals(arg_attributename));
+ unittest.expect(
+ queryMap["expand"].first, unittest.equals("$arg_expand"));
unittest.expect(queryMap["attributevalue"].first,
unittest.equals(arg_attributevalue));
unittest.expect(
- queryMap["expand"].first, unittest.equals("$arg_expand"));
- 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["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -8353,11 +8552,11 @@
}), true);
res
.list(arg_parent,
+ expand: arg_expand,
+ attributevalue: arg_attributevalue,
+ startKey: arg_startKey,
count: arg_count,
attributename: arg_attributename,
- attributevalue: arg_attributevalue,
- expand: arg_expand,
- startKey: arg_startKey,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGoogleCloudApigeeV1ListApiProductsResponse(response);
@@ -8643,9 +8842,9 @@
new api.ApigeeApi(mock).organizations.apis;
var arg_request = buildGoogleApiHttpBody();
var arg_parent = "foo";
+ var arg_name = "foo";
var arg_validate = true;
var arg_action = "foo";
- var arg_name = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.GoogleApiHttpBody.fromJson(json);
@@ -8681,10 +8880,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ 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["name"].first, unittest.equals(arg_name));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -8696,9 +8895,9 @@
}), true);
res
.create(arg_request, arg_parent,
+ name: arg_name,
validate: arg_validate,
action: arg_action,
- name: arg_name,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGoogleCloudApigeeV1ApiProxyRevision(response);
@@ -9323,12 +9522,12 @@
var arg_parent = "foo";
var arg_startKey = "foo";
var arg_expand = true;
- var arg_apiProduct = "foo";
- var arg_apptype = "foo";
var arg_includeCred = true;
- var arg_status = "foo";
var arg_rows = "foo";
+ var arg_status = "foo";
var arg_keyStatus = "foo";
+ var arg_apptype = "foo";
+ var arg_apiProduct = "foo";
var arg_ids = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -9367,15 +9566,15 @@
unittest.expect(
queryMap["expand"].first, unittest.equals("$arg_expand"));
unittest.expect(
- queryMap["apiProduct"].first, unittest.equals(arg_apiProduct));
+ 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));
unittest.expect(
queryMap["apptype"].first, unittest.equals(arg_apptype));
unittest.expect(
- queryMap["includeCred"].first, unittest.equals("$arg_includeCred"));
- unittest.expect(queryMap["status"].first, unittest.equals(arg_status));
- unittest.expect(queryMap["rows"].first, unittest.equals(arg_rows));
- unittest.expect(
- queryMap["keyStatus"].first, unittest.equals(arg_keyStatus));
+ queryMap["apiProduct"].first, unittest.equals(arg_apiProduct));
unittest.expect(queryMap["ids"].first, unittest.equals(arg_ids));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -9390,12 +9589,12 @@
.list(arg_parent,
startKey: arg_startKey,
expand: arg_expand,
- apiProduct: arg_apiProduct,
- apptype: arg_apptype,
includeCred: arg_includeCred,
- status: arg_status,
rows: arg_rows,
+ status: arg_status,
keyStatus: arg_keyStatus,
+ apptype: arg_apptype,
+ apiProduct: arg_apiProduct,
ids: arg_ids,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -9686,11 +9885,11 @@
api.OrganizationsDevelopersResourceApi res =
new api.ApigeeApi(mock).organizations.developers;
var arg_parent = "foo";
- var arg_count = "foo";
- var arg_ids = "foo";
- var arg_startKey = "foo";
- var arg_includeCompany = true;
var arg_expand = true;
+ 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;
@@ -9723,14 +9922,14 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["count"].first, unittest.equals(arg_count));
- unittest.expect(queryMap["ids"].first, unittest.equals(arg_ids));
unittest.expect(
- queryMap["startKey"].first, unittest.equals(arg_startKey));
+ queryMap["expand"].first, unittest.equals("$arg_expand"));
unittest.expect(queryMap["includeCompany"].first,
unittest.equals("$arg_includeCompany"));
unittest.expect(
- queryMap["expand"].first, unittest.equals("$arg_expand"));
+ 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 = {
@@ -9742,11 +9941,11 @@
}), true);
res
.list(arg_parent,
- count: arg_count,
- ids: arg_ids,
- startKey: arg_startKey,
- includeCompany: arg_includeCompany,
expand: arg_expand,
+ includeCompany: arg_includeCompany,
+ startKey: arg_startKey,
+ ids: arg_ids,
+ count: arg_count,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGoogleCloudApigeeV1ListOfDevelopersResponse(response);
@@ -10094,8 +10293,8 @@
api.OrganizationsDevelopersAppsResourceApi res =
new api.ApigeeApi(mock).organizations.developers.apps;
var arg_name = "foo";
- var arg_entity = "foo";
var arg_query = "foo";
+ var arg_entity = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -10128,8 +10327,8 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["entity"].first, unittest.equals(arg_entity));
unittest.expect(queryMap["query"].first, unittest.equals(arg_query));
+ unittest.expect(queryMap["entity"].first, unittest.equals(arg_entity));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -10140,7 +10339,7 @@
}), true);
res
.get(arg_name,
- entity: arg_entity, query: arg_query, $fields: arg_$fields)
+ query: arg_query, entity: arg_entity, $fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGoogleCloudApigeeV1DeveloperApp(response);
})));
@@ -10151,10 +10350,10 @@
api.OrganizationsDevelopersAppsResourceApi res =
new 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_shallowExpand = true;
- var arg_startKey = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -10188,12 +10387,12 @@
}
}
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["shallowExpand"].first,
unittest.equals("$arg_shallowExpand"));
unittest.expect(
- queryMap["startKey"].first, unittest.equals(arg_startKey));
+ queryMap["expand"].first, unittest.equals("$arg_expand"));
+ unittest.expect(queryMap["count"].first, unittest.equals(arg_count));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -10205,10 +10404,10 @@
}), true);
res
.list(arg_parent,
+ startKey: arg_startKey,
+ shallowExpand: arg_shallowExpand,
expand: arg_expand,
count: arg_count,
- shallowExpand: arg_shallowExpand,
- startKey: arg_startKey,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGoogleCloudApigeeV1ListDeveloperAppsResponse(response);
@@ -11334,8 +11533,8 @@
api.OrganizationsEnvgroupsResourceApi res =
new api.ApigeeApi(mock).organizations.envgroups;
var arg_parent = "foo";
- var arg_pageSize = 42;
var arg_pageToken = "foo";
+ var arg_pageSize = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -11368,10 +11567,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -11383,8 +11582,8 @@
}), true);
res
.list(arg_parent,
- pageSize: arg_pageSize,
pageToken: arg_pageToken,
+ pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGoogleCloudApigeeV1ListEnvironmentGroupsResponse(response);
@@ -12690,8 +12889,8 @@
api.OrganizationsEnvironmentsApisRevisionsResourceApi res =
new api.ApigeeApi(mock).organizations.environments.apis.revisions;
var arg_name = "foo";
- var arg_sequencedRollout = true;
var arg_override = true;
+ var arg_sequencedRollout = true;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -12724,10 +12923,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["sequencedRollout"].first,
- unittest.equals("$arg_sequencedRollout"));
unittest.expect(
queryMap["override"].first, unittest.equals("$arg_override"));
+ unittest.expect(queryMap["sequencedRollout"].first,
+ unittest.equals("$arg_sequencedRollout"));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -12738,8 +12937,8 @@
}), true);
res
.deploy(arg_name,
- sequencedRollout: arg_sequencedRollout,
override: arg_override,
+ sequencedRollout: arg_sequencedRollout,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGoogleCloudApigeeV1Deployment(response);
@@ -13047,8 +13246,8 @@
.revisions
.debugsessions;
var arg_parent = "foo";
- var arg_pageSize = 42;
var arg_pageToken = "foo";
+ var arg_pageSize = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -13081,10 +13280,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -13096,8 +13295,8 @@
}), true);
res
.list(arg_parent,
- pageSize: arg_pageSize,
pageToken: arg_pageToken,
+ pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGoogleCloudApigeeV1ListDebugSessionsResponse(response);
@@ -13740,11 +13939,11 @@
new api.ApigeeApi(mock).organizations.environments.keystores.aliases;
var arg_request = buildGoogleApiHttpBody();
var arg_parent = "foo";
- var arg_ignoreNewlineValidation = true;
- var arg_format = "foo";
var arg_alias = "foo";
- var arg_ignoreExpiryValidation = true;
+ var arg_ignoreNewlineValidation = true;
var arg_P_password = "foo";
+ var arg_ignoreExpiryValidation = true;
+ var arg_format = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.GoogleApiHttpBody.fromJson(json);
@@ -13780,14 +13979,14 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["alias"].first, unittest.equals(arg_alias));
unittest.expect(queryMap["ignoreNewlineValidation"].first,
unittest.equals("$arg_ignoreNewlineValidation"));
- unittest.expect(queryMap["format"].first, unittest.equals(arg_format));
- unittest.expect(queryMap["alias"].first, unittest.equals(arg_alias));
- unittest.expect(queryMap["ignoreExpiryValidation"].first,
- unittest.equals("$arg_ignoreExpiryValidation"));
unittest.expect(
queryMap["_password"].first, unittest.equals(arg_P_password));
+ unittest.expect(queryMap["ignoreExpiryValidation"].first,
+ unittest.equals("$arg_ignoreExpiryValidation"));
+ unittest.expect(queryMap["format"].first, unittest.equals(arg_format));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -13798,11 +13997,11 @@
}), true);
res
.create(arg_request, arg_parent,
- ignoreNewlineValidation: arg_ignoreNewlineValidation,
- format: arg_format,
alias: arg_alias,
- ignoreExpiryValidation: arg_ignoreExpiryValidation,
+ ignoreNewlineValidation: arg_ignoreNewlineValidation,
P_password: arg_P_password,
+ ignoreExpiryValidation: arg_ignoreExpiryValidation,
+ format: arg_format,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGoogleCloudApigeeV1Alias(response);
@@ -14023,8 +14222,8 @@
new api.ApigeeApi(mock).organizations.environments.keystores.aliases;
var arg_request = buildGoogleApiHttpBody();
var arg_name = "foo";
- var arg_ignoreExpiryValidation = true;
var arg_ignoreNewlineValidation = true;
+ var arg_ignoreExpiryValidation = true;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.GoogleApiHttpBody.fromJson(json);
@@ -14060,10 +14259,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["ignoreExpiryValidation"].first,
- unittest.equals("$arg_ignoreExpiryValidation"));
unittest.expect(queryMap["ignoreNewlineValidation"].first,
unittest.equals("$arg_ignoreNewlineValidation"));
+ unittest.expect(queryMap["ignoreExpiryValidation"].first,
+ unittest.equals("$arg_ignoreExpiryValidation"));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -14074,8 +14273,8 @@
}), true);
res
.update(arg_request, arg_name,
- ignoreExpiryValidation: arg_ignoreExpiryValidation,
ignoreNewlineValidation: arg_ignoreNewlineValidation,
+ ignoreExpiryValidation: arg_ignoreExpiryValidation,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGoogleCloudApigeeV1Alias(response);
@@ -14201,21 +14400,21 @@
api.OrganizationsEnvironmentsOptimizedStatsResourceApi res =
new api.ApigeeApi(mock).organizations.environments.optimizedStats;
var arg_name = "foo";
- var arg_timeUnit = "foo";
- var arg_topk = "foo";
- var arg_sonar = true;
- var arg_realtime = true;
- var arg_filter = "foo";
- var arg_sortby = "foo";
- var arg_tsAscending = true;
- var arg_aggTable = "foo";
- var arg_sort = "foo";
var arg_offset = "foo";
- var arg_select = "foo";
- var arg_timeRange = "foo";
- var arg_limit = "foo";
- var arg_tzo = "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_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -14248,27 +14447,27 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(
- queryMap["timeUnit"].first, unittest.equals(arg_timeUnit));
- unittest.expect(queryMap["topk"].first, unittest.equals(arg_topk));
+ unittest.expect(queryMap["offset"].first, unittest.equals(arg_offset));
unittest.expect(queryMap["sonar"].first, unittest.equals("$arg_sonar"));
unittest.expect(
- queryMap["realtime"].first, unittest.equals("$arg_realtime"));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
- unittest.expect(queryMap["sortby"].first, unittest.equals(arg_sortby));
+ queryMap["accuracy"].first, unittest.equals(arg_accuracy));
+ unittest.expect(queryMap["limit"].first, unittest.equals(arg_limit));
unittest.expect(
- queryMap["tsAscending"].first, unittest.equals("$arg_tsAscending"));
+ 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["sort"].first, unittest.equals(arg_sort));
- unittest.expect(queryMap["offset"].first, unittest.equals(arg_offset));
- unittest.expect(queryMap["select"].first, unittest.equals(arg_select));
unittest.expect(
queryMap["timeRange"].first, unittest.equals(arg_timeRange));
- unittest.expect(queryMap["limit"].first, unittest.equals(arg_limit));
unittest.expect(queryMap["tzo"].first, unittest.equals(arg_tzo));
+ unittest.expect(queryMap["sortby"].first, unittest.equals(arg_sortby));
+ unittest.expect(queryMap["topk"].first, unittest.equals(arg_topk));
+ unittest.expect(queryMap["select"].first, unittest.equals(arg_select));
unittest.expect(
- queryMap["accuracy"].first, unittest.equals(arg_accuracy));
+ queryMap["tsAscending"].first, unittest.equals("$arg_tsAscending"));
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -14280,21 +14479,21 @@
}), true);
res
.get(arg_name,
- timeUnit: arg_timeUnit,
- topk: arg_topk,
- sonar: arg_sonar,
- realtime: arg_realtime,
- filter: arg_filter,
- sortby: arg_sortby,
- tsAscending: arg_tsAscending,
- aggTable: arg_aggTable,
- sort: arg_sort,
offset: arg_offset,
- select: arg_select,
- timeRange: arg_timeRange,
- limit: arg_limit,
- tzo: arg_tzo,
+ 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,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGoogleCloudApigeeV1OptimizedStats(response);
@@ -14468,12 +14667,12 @@
api.OrganizationsEnvironmentsQueriesResourceApi res =
new api.ApigeeApi(mock).organizations.environments.queries;
var arg_parent = "foo";
- var arg_to = "foo";
var arg_submittedBy = "foo";
- var arg_dataset = "foo";
- var arg_inclQueriesWithoutReport = "foo";
var arg_from = "foo";
+ var arg_inclQueriesWithoutReport = "foo";
+ var arg_to = "foo";
var arg_status = "foo";
+ var arg_dataset = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -14506,15 +14705,15 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["to"].first, unittest.equals(arg_to));
unittest.expect(
queryMap["submittedBy"].first, unittest.equals(arg_submittedBy));
- unittest.expect(
- 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["from"].first, unittest.equals(arg_from));
+ 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));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -14526,12 +14725,12 @@
}), true);
res
.list(arg_parent,
- to: arg_to,
submittedBy: arg_submittedBy,
- dataset: arg_dataset,
- inclQueriesWithoutReport: arg_inclQueriesWithoutReport,
from: arg_from,
+ inclQueriesWithoutReport: arg_inclQueriesWithoutReport,
+ to: arg_to,
status: arg_status,
+ dataset: arg_dataset,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGoogleCloudApigeeV1ListAsyncQueriesResponse(response);
@@ -15338,21 +15537,21 @@
api.OrganizationsEnvironmentsStatsResourceApi res =
new api.ApigeeApi(mock).organizations.environments.stats;
var arg_name = "foo";
- var arg_tsAscending = true;
- var arg_timeRange = "foo";
- var arg_topk = "foo";
- var arg_accuracy = "foo";
- var arg_select = "foo";
- var arg_limit = "foo";
- var arg_sortby = "foo";
- var arg_filter = "foo";
- var arg_aggTable = "foo";
- var arg_sonar = true;
- var arg_timeUnit = "foo";
- var arg_offset = "foo";
- var arg_sort = "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_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -15386,26 +15585,26 @@
}
}
unittest.expect(
- queryMap["tsAscending"].first, unittest.equals("$arg_tsAscending"));
- unittest.expect(
- queryMap["timeRange"].first, unittest.equals(arg_timeRange));
- unittest.expect(queryMap["topk"].first, unittest.equals(arg_topk));
- unittest.expect(
- queryMap["accuracy"].first, unittest.equals(arg_accuracy));
- unittest.expect(queryMap["select"].first, unittest.equals(arg_select));
- unittest.expect(queryMap["limit"].first, unittest.equals(arg_limit));
- unittest.expect(queryMap["sortby"].first, unittest.equals(arg_sortby));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
- unittest.expect(
- queryMap["aggTable"].first, unittest.equals(arg_aggTable));
- unittest.expect(queryMap["sonar"].first, unittest.equals("$arg_sonar"));
+ queryMap["realtime"].first, unittest.equals("$arg_realtime"));
unittest.expect(
queryMap["timeUnit"].first, unittest.equals(arg_timeUnit));
- unittest.expect(queryMap["offset"].first, unittest.equals(arg_offset));
- unittest.expect(queryMap["sort"].first, unittest.equals(arg_sort));
+ unittest.expect(queryMap["sortby"].first, unittest.equals(arg_sortby));
unittest.expect(
- queryMap["realtime"].first, unittest.equals("$arg_realtime"));
+ queryMap["accuracy"].first, unittest.equals(arg_accuracy));
+ 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["sonar"].first, unittest.equals("$arg_sonar"));
+ unittest.expect(queryMap["topk"].first, unittest.equals(arg_topk));
+ unittest.expect(
+ queryMap["timeRange"].first, unittest.equals(arg_timeRange));
+ unittest.expect(
+ queryMap["tsAscending"].first, unittest.equals("$arg_tsAscending"));
+ unittest.expect(
+ queryMap["aggTable"].first, unittest.equals(arg_aggTable));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -15416,21 +15615,21 @@
}), true);
res
.get(arg_name,
- tsAscending: arg_tsAscending,
- timeRange: arg_timeRange,
- topk: arg_topk,
- accuracy: arg_accuracy,
- select: arg_select,
- limit: arg_limit,
- sortby: arg_sortby,
- filter: arg_filter,
- aggTable: arg_aggTable,
- sonar: arg_sonar,
- timeUnit: arg_timeUnit,
- offset: arg_offset,
- sort: arg_sort,
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,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGoogleCloudApigeeV1Stats(response);
@@ -15825,8 +16024,8 @@
api.OrganizationsInstancesResourceApi res =
new api.ApigeeApi(mock).organizations.instances;
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;
@@ -15859,10 +16058,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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 = {
@@ -15874,8 +16073,8 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGoogleCloudApigeeV1ListInstancesResponse(response);
@@ -16109,8 +16308,8 @@
api.OrganizationsInstancesAttachmentsResourceApi res =
new api.ApigeeApi(mock).organizations.instances.attachments;
var arg_parent = "foo";
- var arg_pageSize = 42;
var arg_pageToken = "foo";
+ var arg_pageSize = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -16143,10 +16342,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -16158,8 +16357,8 @@
}), true);
res
.list(arg_parent,
- pageSize: arg_pageSize,
pageToken: arg_pageToken,
+ pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGoogleCloudApigeeV1ListInstanceAttachmentsResponse(response);
@@ -16335,9 +16534,9 @@
api.OrganizationsOperationsResourceApi res =
new api.ApigeeApi(mock).organizations.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;
@@ -16370,11 +16569,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ 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 = {
@@ -16386,9 +16585,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) {
checkGoogleLongrunningListOperationsResponse(response);
@@ -16678,8 +16877,8 @@
new api.ApigeeApi(mock).organizations.sharedflows;
var arg_request = buildGoogleApiHttpBody();
var arg_parent = "foo";
- var arg_name = "foo";
var arg_action = "foo";
+ var arg_name = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.GoogleApiHttpBody.fromJson(json);
@@ -16715,8 +16914,8 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["name"].first, unittest.equals(arg_name));
unittest.expect(queryMap["action"].first, unittest.equals(arg_action));
+ unittest.expect(queryMap["name"].first, unittest.equals(arg_name));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -16728,7 +16927,7 @@
}), true);
res
.create(arg_request, arg_parent,
- name: arg_name, action: arg_action, $fields: arg_$fields)
+ action: arg_action, name: arg_name, $fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGoogleCloudApigeeV1SharedFlowRevision(response);
})));
@@ -17185,4 +17384,335 @@
})));
});
});
+
+ unittest.group("resource-OrganizationsSitesApicategoriesResourceApi", () {
+ unittest.test("method--create", () {
+ var mock = new HttpServerMock();
+ api.OrganizationsSitesApicategoriesResourceApi res =
+ new api.ApigeeApi(mock).organizations.sites.apicategories;
+ var arg_request = buildGoogleCloudApigeeV1ApiCategoryData();
+ var arg_parent = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.GoogleCloudApigeeV1ApiCategoryData.fromJson(json);
+ checkGoogleCloudApigeeV1ApiCategoryData(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 3), unittest.equals("v1/"));
+ pathOffset += 3;
+ // NOTE: We cannot test reserved expansions due to the inability to reverse the operation;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = <core.String, core.List<core.String>>{};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.json.encode(buildGoogleCloudApigeeV1ApiCategory());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .create(arg_request, arg_parent, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((response) {
+ checkGoogleCloudApigeeV1ApiCategory(response);
+ })));
+ });
+
+ unittest.test("method--delete", () {
+ var mock = new HttpServerMock();
+ api.OrganizationsSitesApicategoriesResourceApi res =
+ new api.ApigeeApi(mock).organizations.sites.apicategories;
+ var arg_name = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 3), unittest.equals("v1/"));
+ pathOffset += 3;
+ // NOTE: We cannot test reserved expansions due to the inability to reverse the operation;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = <core.String, core.List<core.String>>{};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp =
+ convert.json.encode(buildGoogleCloudApigeeV1ApiResponseWrapper());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .delete(arg_name, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((response) {
+ checkGoogleCloudApigeeV1ApiResponseWrapper(response);
+ })));
+ });
+
+ unittest.test("method--get", () {
+ var mock = new HttpServerMock();
+ api.OrganizationsSitesApicategoriesResourceApi res =
+ new api.ApigeeApi(mock).organizations.sites.apicategories;
+ var arg_name = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 3), unittest.equals("v1/"));
+ pathOffset += 3;
+ // NOTE: We cannot test reserved expansions due to the inability to reverse the operation;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = <core.String, core.List<core.String>>{};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.json.encode(buildGoogleCloudApigeeV1ApiCategory());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .get(arg_name, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((response) {
+ checkGoogleCloudApigeeV1ApiCategory(response);
+ })));
+ });
+
+ unittest.test("method--list", () {
+ var mock = new HttpServerMock();
+ api.OrganizationsSitesApicategoriesResourceApi res =
+ new api.ApigeeApi(mock).organizations.sites.apicategories;
+ var arg_parent = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 3), unittest.equals("v1/"));
+ pathOffset += 3;
+ // NOTE: We cannot test reserved expansions due to the inability to reverse the operation;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = <core.String, core.List<core.String>>{};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.json
+ .encode(buildGoogleCloudApigeeV1ListApiCategoriesResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .list(arg_parent, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((response) {
+ checkGoogleCloudApigeeV1ListApiCategoriesResponse(response);
+ })));
+ });
+
+ unittest.test("method--patch", () {
+ var mock = new HttpServerMock();
+ api.OrganizationsSitesApicategoriesResourceApi res =
+ new api.ApigeeApi(mock).organizations.sites.apicategories;
+ var arg_request = buildGoogleCloudApigeeV1ApiCategoryData();
+ var arg_name = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.GoogleCloudApigeeV1ApiCategoryData.fromJson(json);
+ checkGoogleCloudApigeeV1ApiCategoryData(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 3), unittest.equals("v1/"));
+ pathOffset += 3;
+ // NOTE: We cannot test reserved expansions due to the inability to reverse the operation;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = <core.String, core.List<core.String>>{};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.json.encode(buildGoogleCloudApigeeV1ApiCategory());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .patch(arg_request, arg_name, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((response) {
+ checkGoogleCloudApigeeV1ApiCategory(response);
+ })));
+ });
+ });
+
+ unittest.group("resource-ProjectsResourceApi", () {
+ unittest.test("method--provisionOrganization", () {
+ var mock = new HttpServerMock();
+ api.ProjectsResourceApi res = new api.ApigeeApi(mock).projects;
+ var arg_request = buildGoogleCloudApigeeV1ProvisionOrganizationRequest();
+ var arg_project = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj =
+ new api.GoogleCloudApigeeV1ProvisionOrganizationRequest.fromJson(
+ json);
+ checkGoogleCloudApigeeV1ProvisionOrganizationRequest(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 3), unittest.equals("v1/"));
+ pathOffset += 3;
+ // NOTE: We cannot test reserved expansions due to the inability to reverse the operation;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = <core.String, core.List<core.String>>{};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.json.encode(buildGoogleLongrunningOperation());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .provisionOrganization(arg_request, arg_project, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((response) {
+ checkGoogleLongrunningOperation(response);
+ })));
+ });
+ });
}
diff --git a/generated/googleapis/test/appengine/v1_test.dart b/generated/googleapis/test/appengine/v1_test.dart
index b2c1307..a771ee8 100644
--- a/generated/googleapis/test/appengine/v1_test.dart
+++ b/generated/googleapis/test/appengine/v1_test.dart
@@ -96,14 +96,14 @@
buildCounterApiEndpointHandler--;
}
-buildUnnamed4161() {
+buildUnnamed4168() {
var o = new core.List<api.UrlDispatchRule>();
o.add(buildUrlDispatchRule());
o.add(buildUrlDispatchRule());
return o;
}
-checkUnnamed4161(core.List<api.UrlDispatchRule> o) {
+checkUnnamed4168(core.List<api.UrlDispatchRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkUrlDispatchRule(o[0]);
checkUrlDispatchRule(o[1]);
@@ -120,7 +120,7 @@
o.defaultBucket = "foo";
o.defaultCookieExpiration = "foo";
o.defaultHostname = "foo";
- o.dispatchRules = buildUnnamed4161();
+ o.dispatchRules = buildUnnamed4168();
o.featureSettings = buildFeatureSettings();
o.gcrDomain = "foo";
o.iap = buildIdentityAwareProxy();
@@ -142,7 +142,7 @@
unittest.expect(o.defaultBucket, unittest.equals('foo'));
unittest.expect(o.defaultCookieExpiration, unittest.equals('foo'));
unittest.expect(o.defaultHostname, unittest.equals('foo'));
- checkUnnamed4161(o.dispatchRules);
+ checkUnnamed4168(o.dispatchRules);
checkFeatureSettings(o.featureSettings);
unittest.expect(o.gcrDomain, unittest.equals('foo'));
checkIdentityAwareProxy(o.iap);
@@ -154,27 +154,27 @@
buildCounterApplication--;
}
-buildUnnamed4162() {
+buildUnnamed4169() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4162(core.List<core.String> o) {
+checkUnnamed4169(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed4163() {
+buildUnnamed4170() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4163(core.List<core.String> o) {
+checkUnnamed4170(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -188,12 +188,12 @@
o.certificateRawData = buildCertificateRawData();
o.displayName = "foo";
o.domainMappingsCount = 42;
- o.domainNames = buildUnnamed4162();
+ o.domainNames = buildUnnamed4169();
o.expireTime = "foo";
o.id = "foo";
o.managedCertificate = buildManagedCertificate();
o.name = "foo";
- o.visibleDomainMappings = buildUnnamed4163();
+ o.visibleDomainMappings = buildUnnamed4170();
}
buildCounterAuthorizedCertificate--;
return o;
@@ -205,12 +205,12 @@
checkCertificateRawData(o.certificateRawData);
unittest.expect(o.displayName, unittest.equals('foo'));
unittest.expect(o.domainMappingsCount, unittest.equals(42));
- checkUnnamed4162(o.domainNames);
+ checkUnnamed4169(o.domainNames);
unittest.expect(o.expireTime, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
checkManagedCertificate(o.managedCertificate);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed4163(o.visibleDomainMappings);
+ checkUnnamed4170(o.visibleDomainMappings);
}
buildCounterAuthorizedCertificate--;
}
@@ -300,14 +300,14 @@
buildCounterBasicScaling--;
}
-buildUnnamed4164() {
+buildUnnamed4171() {
var o = new core.List<api.FirewallRule>();
o.add(buildFirewallRule());
o.add(buildFirewallRule());
return o;
}
-checkUnnamed4164(core.List<api.FirewallRule> o) {
+checkUnnamed4171(core.List<api.FirewallRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkFirewallRule(o[0]);
checkFirewallRule(o[1]);
@@ -318,7 +318,7 @@
var o = new api.BatchUpdateIngressRulesRequest();
buildCounterBatchUpdateIngressRulesRequest++;
if (buildCounterBatchUpdateIngressRulesRequest < 3) {
- o.ingressRules = buildUnnamed4164();
+ o.ingressRules = buildUnnamed4171();
}
buildCounterBatchUpdateIngressRulesRequest--;
return o;
@@ -327,19 +327,19 @@
checkBatchUpdateIngressRulesRequest(api.BatchUpdateIngressRulesRequest o) {
buildCounterBatchUpdateIngressRulesRequest++;
if (buildCounterBatchUpdateIngressRulesRequest < 3) {
- checkUnnamed4164(o.ingressRules);
+ checkUnnamed4171(o.ingressRules);
}
buildCounterBatchUpdateIngressRulesRequest--;
}
-buildUnnamed4165() {
+buildUnnamed4172() {
var o = new core.List<api.FirewallRule>();
o.add(buildFirewallRule());
o.add(buildFirewallRule());
return o;
}
-checkUnnamed4165(core.List<api.FirewallRule> o) {
+checkUnnamed4172(core.List<api.FirewallRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkFirewallRule(o[0]);
checkFirewallRule(o[1]);
@@ -350,7 +350,7 @@
var o = new api.BatchUpdateIngressRulesResponse();
buildCounterBatchUpdateIngressRulesResponse++;
if (buildCounterBatchUpdateIngressRulesResponse < 3) {
- o.ingressRules = buildUnnamed4165();
+ o.ingressRules = buildUnnamed4172();
}
buildCounterBatchUpdateIngressRulesResponse--;
return o;
@@ -359,7 +359,7 @@
checkBatchUpdateIngressRulesResponse(api.BatchUpdateIngressRulesResponse o) {
buildCounterBatchUpdateIngressRulesResponse++;
if (buildCounterBatchUpdateIngressRulesResponse < 3) {
- checkUnnamed4165(o.ingressRules);
+ checkUnnamed4172(o.ingressRules);
}
buildCounterBatchUpdateIngressRulesResponse--;
}
@@ -522,14 +522,14 @@
buildCounterDebugInstanceRequest--;
}
-buildUnnamed4166() {
+buildUnnamed4173() {
var o = new core.Map<core.String, api.FileInfo>();
o["x"] = buildFileInfo();
o["y"] = buildFileInfo();
return o;
}
-checkUnnamed4166(core.Map<core.String, api.FileInfo> o) {
+checkUnnamed4173(core.Map<core.String, api.FileInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkFileInfo(o["x"]);
checkFileInfo(o["y"]);
@@ -542,7 +542,7 @@
if (buildCounterDeployment < 3) {
o.cloudBuildOptions = buildCloudBuildOptions();
o.container = buildContainerInfo();
- o.files = buildUnnamed4166();
+ o.files = buildUnnamed4173();
o.zip = buildZipInfo();
}
buildCounterDeployment--;
@@ -554,7 +554,7 @@
if (buildCounterDeployment < 3) {
checkCloudBuildOptions(o.cloudBuildOptions);
checkContainerInfo(o.container);
- checkUnnamed4166(o.files);
+ checkUnnamed4173(o.files);
checkZipInfo(o.zip);
}
buildCounterDeployment--;
@@ -585,14 +585,14 @@
buildCounterDiskUtilization--;
}
-buildUnnamed4167() {
+buildUnnamed4174() {
var o = new core.List<api.ResourceRecord>();
o.add(buildResourceRecord());
o.add(buildResourceRecord());
return o;
}
-checkUnnamed4167(core.List<api.ResourceRecord> o) {
+checkUnnamed4174(core.List<api.ResourceRecord> o) {
unittest.expect(o, unittest.hasLength(2));
checkResourceRecord(o[0]);
checkResourceRecord(o[1]);
@@ -605,7 +605,7 @@
if (buildCounterDomainMapping < 3) {
o.id = "foo";
o.name = "foo";
- o.resourceRecords = buildUnnamed4167();
+ o.resourceRecords = buildUnnamed4174();
o.sslSettings = buildSslSettings();
}
buildCounterDomainMapping--;
@@ -617,7 +617,7 @@
if (buildCounterDomainMapping < 3) {
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed4167(o.resourceRecords);
+ checkUnnamed4174(o.resourceRecords);
checkSslSettings(o.sslSettings);
}
buildCounterDomainMapping--;
@@ -900,14 +900,14 @@
buildCounterLibrary--;
}
-buildUnnamed4168() {
+buildUnnamed4175() {
var o = new core.List<api.AuthorizedCertificate>();
o.add(buildAuthorizedCertificate());
o.add(buildAuthorizedCertificate());
return o;
}
-checkUnnamed4168(core.List<api.AuthorizedCertificate> o) {
+checkUnnamed4175(core.List<api.AuthorizedCertificate> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuthorizedCertificate(o[0]);
checkAuthorizedCertificate(o[1]);
@@ -918,7 +918,7 @@
var o = new api.ListAuthorizedCertificatesResponse();
buildCounterListAuthorizedCertificatesResponse++;
if (buildCounterListAuthorizedCertificatesResponse < 3) {
- o.certificates = buildUnnamed4168();
+ o.certificates = buildUnnamed4175();
o.nextPageToken = "foo";
}
buildCounterListAuthorizedCertificatesResponse--;
@@ -929,20 +929,20 @@
api.ListAuthorizedCertificatesResponse o) {
buildCounterListAuthorizedCertificatesResponse++;
if (buildCounterListAuthorizedCertificatesResponse < 3) {
- checkUnnamed4168(o.certificates);
+ checkUnnamed4175(o.certificates);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListAuthorizedCertificatesResponse--;
}
-buildUnnamed4169() {
+buildUnnamed4176() {
var o = new core.List<api.AuthorizedDomain>();
o.add(buildAuthorizedDomain());
o.add(buildAuthorizedDomain());
return o;
}
-checkUnnamed4169(core.List<api.AuthorizedDomain> o) {
+checkUnnamed4176(core.List<api.AuthorizedDomain> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuthorizedDomain(o[0]);
checkAuthorizedDomain(o[1]);
@@ -953,7 +953,7 @@
var o = new api.ListAuthorizedDomainsResponse();
buildCounterListAuthorizedDomainsResponse++;
if (buildCounterListAuthorizedDomainsResponse < 3) {
- o.domains = buildUnnamed4169();
+ o.domains = buildUnnamed4176();
o.nextPageToken = "foo";
}
buildCounterListAuthorizedDomainsResponse--;
@@ -963,20 +963,20 @@
checkListAuthorizedDomainsResponse(api.ListAuthorizedDomainsResponse o) {
buildCounterListAuthorizedDomainsResponse++;
if (buildCounterListAuthorizedDomainsResponse < 3) {
- checkUnnamed4169(o.domains);
+ checkUnnamed4176(o.domains);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListAuthorizedDomainsResponse--;
}
-buildUnnamed4170() {
+buildUnnamed4177() {
var o = new core.List<api.DomainMapping>();
o.add(buildDomainMapping());
o.add(buildDomainMapping());
return o;
}
-checkUnnamed4170(core.List<api.DomainMapping> o) {
+checkUnnamed4177(core.List<api.DomainMapping> o) {
unittest.expect(o, unittest.hasLength(2));
checkDomainMapping(o[0]);
checkDomainMapping(o[1]);
@@ -987,7 +987,7 @@
var o = new api.ListDomainMappingsResponse();
buildCounterListDomainMappingsResponse++;
if (buildCounterListDomainMappingsResponse < 3) {
- o.domainMappings = buildUnnamed4170();
+ o.domainMappings = buildUnnamed4177();
o.nextPageToken = "foo";
}
buildCounterListDomainMappingsResponse--;
@@ -997,20 +997,20 @@
checkListDomainMappingsResponse(api.ListDomainMappingsResponse o) {
buildCounterListDomainMappingsResponse++;
if (buildCounterListDomainMappingsResponse < 3) {
- checkUnnamed4170(o.domainMappings);
+ checkUnnamed4177(o.domainMappings);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListDomainMappingsResponse--;
}
-buildUnnamed4171() {
+buildUnnamed4178() {
var o = new core.List<api.FirewallRule>();
o.add(buildFirewallRule());
o.add(buildFirewallRule());
return o;
}
-checkUnnamed4171(core.List<api.FirewallRule> o) {
+checkUnnamed4178(core.List<api.FirewallRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkFirewallRule(o[0]);
checkFirewallRule(o[1]);
@@ -1021,7 +1021,7 @@
var o = new api.ListIngressRulesResponse();
buildCounterListIngressRulesResponse++;
if (buildCounterListIngressRulesResponse < 3) {
- o.ingressRules = buildUnnamed4171();
+ o.ingressRules = buildUnnamed4178();
o.nextPageToken = "foo";
}
buildCounterListIngressRulesResponse--;
@@ -1031,20 +1031,20 @@
checkListIngressRulesResponse(api.ListIngressRulesResponse o) {
buildCounterListIngressRulesResponse++;
if (buildCounterListIngressRulesResponse < 3) {
- checkUnnamed4171(o.ingressRules);
+ checkUnnamed4178(o.ingressRules);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListIngressRulesResponse--;
}
-buildUnnamed4172() {
+buildUnnamed4179() {
var o = new core.List<api.Instance>();
o.add(buildInstance());
o.add(buildInstance());
return o;
}
-checkUnnamed4172(core.List<api.Instance> o) {
+checkUnnamed4179(core.List<api.Instance> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstance(o[0]);
checkInstance(o[1]);
@@ -1055,7 +1055,7 @@
var o = new api.ListInstancesResponse();
buildCounterListInstancesResponse++;
if (buildCounterListInstancesResponse < 3) {
- o.instances = buildUnnamed4172();
+ o.instances = buildUnnamed4179();
o.nextPageToken = "foo";
}
buildCounterListInstancesResponse--;
@@ -1065,20 +1065,20 @@
checkListInstancesResponse(api.ListInstancesResponse o) {
buildCounterListInstancesResponse++;
if (buildCounterListInstancesResponse < 3) {
- checkUnnamed4172(o.instances);
+ checkUnnamed4179(o.instances);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListInstancesResponse--;
}
-buildUnnamed4173() {
+buildUnnamed4180() {
var o = new core.List<api.Location>();
o.add(buildLocation());
o.add(buildLocation());
return o;
}
-checkUnnamed4173(core.List<api.Location> o) {
+checkUnnamed4180(core.List<api.Location> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocation(o[0]);
checkLocation(o[1]);
@@ -1089,7 +1089,7 @@
var o = new api.ListLocationsResponse();
buildCounterListLocationsResponse++;
if (buildCounterListLocationsResponse < 3) {
- o.locations = buildUnnamed4173();
+ o.locations = buildUnnamed4180();
o.nextPageToken = "foo";
}
buildCounterListLocationsResponse--;
@@ -1099,20 +1099,20 @@
checkListLocationsResponse(api.ListLocationsResponse o) {
buildCounterListLocationsResponse++;
if (buildCounterListLocationsResponse < 3) {
- checkUnnamed4173(o.locations);
+ checkUnnamed4180(o.locations);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListLocationsResponse--;
}
-buildUnnamed4174() {
+buildUnnamed4181() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed4174(core.List<api.Operation> o) {
+checkUnnamed4181(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -1124,7 +1124,7 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
o.nextPageToken = "foo";
- o.operations = buildUnnamed4174();
+ o.operations = buildUnnamed4181();
}
buildCounterListOperationsResponse--;
return o;
@@ -1134,19 +1134,19 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed4174(o.operations);
+ checkUnnamed4181(o.operations);
}
buildCounterListOperationsResponse--;
}
-buildUnnamed4175() {
+buildUnnamed4182() {
var o = new core.List<api.Service>();
o.add(buildService());
o.add(buildService());
return o;
}
-checkUnnamed4175(core.List<api.Service> o) {
+checkUnnamed4182(core.List<api.Service> o) {
unittest.expect(o, unittest.hasLength(2));
checkService(o[0]);
checkService(o[1]);
@@ -1158,7 +1158,7 @@
buildCounterListServicesResponse++;
if (buildCounterListServicesResponse < 3) {
o.nextPageToken = "foo";
- o.services = buildUnnamed4175();
+ o.services = buildUnnamed4182();
}
buildCounterListServicesResponse--;
return o;
@@ -1168,19 +1168,19 @@
buildCounterListServicesResponse++;
if (buildCounterListServicesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed4175(o.services);
+ checkUnnamed4182(o.services);
}
buildCounterListServicesResponse--;
}
-buildUnnamed4176() {
+buildUnnamed4183() {
var o = new core.List<api.Version>();
o.add(buildVersion());
o.add(buildVersion());
return o;
}
-checkUnnamed4176(core.List<api.Version> o) {
+checkUnnamed4183(core.List<api.Version> o) {
unittest.expect(o, unittest.hasLength(2));
checkVersion(o[0]);
checkVersion(o[1]);
@@ -1192,7 +1192,7 @@
buildCounterListVersionsResponse++;
if (buildCounterListVersionsResponse < 3) {
o.nextPageToken = "foo";
- o.versions = buildUnnamed4176();
+ o.versions = buildUnnamed4183();
}
buildCounterListVersionsResponse--;
return o;
@@ -1202,7 +1202,7 @@
buildCounterListVersionsResponse++;
if (buildCounterListVersionsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed4176(o.versions);
+ checkUnnamed4183(o.versions);
}
buildCounterListVersionsResponse--;
}
@@ -1238,20 +1238,20 @@
buildCounterLivenessCheck--;
}
-buildUnnamed4177() {
+buildUnnamed4184() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed4177(core.Map<core.String, core.String> o) {
+checkUnnamed4184(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed4178() {
+buildUnnamed4185() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1266,7 +1266,7 @@
return o;
}
-checkUnnamed4178(core.Map<core.String, core.Object> o) {
+checkUnnamed4185(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o["x"]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -1286,9 +1286,9 @@
buildCounterLocation++;
if (buildCounterLocation < 3) {
o.displayName = "foo";
- o.labels = buildUnnamed4177();
+ o.labels = buildUnnamed4184();
o.locationId = "foo";
- o.metadata = buildUnnamed4178();
+ o.metadata = buildUnnamed4185();
o.name = "foo";
}
buildCounterLocation--;
@@ -1299,9 +1299,9 @@
buildCounterLocation++;
if (buildCounterLocation < 3) {
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed4177(o.labels);
+ checkUnnamed4184(o.labels);
unittest.expect(o.locationId, unittest.equals('foo'));
- checkUnnamed4178(o.metadata);
+ checkUnnamed4185(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
}
buildCounterLocation--;
@@ -1368,14 +1368,14 @@
buildCounterManualScaling--;
}
-buildUnnamed4179() {
+buildUnnamed4186() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4179(core.List<core.String> o) {
+checkUnnamed4186(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1386,7 +1386,7 @@
var o = new api.Network();
buildCounterNetwork++;
if (buildCounterNetwork < 3) {
- o.forwardedPorts = buildUnnamed4179();
+ o.forwardedPorts = buildUnnamed4186();
o.instanceTag = "foo";
o.name = "foo";
o.sessionAffinity = true;
@@ -1399,7 +1399,7 @@
checkNetwork(api.Network o) {
buildCounterNetwork++;
if (buildCounterNetwork < 3) {
- checkUnnamed4179(o.forwardedPorts);
+ checkUnnamed4186(o.forwardedPorts);
unittest.expect(o.instanceTag, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.sessionAffinity, unittest.isTrue);
@@ -1452,7 +1452,7 @@
buildCounterNetworkUtilization--;
}
-buildUnnamed4180() {
+buildUnnamed4187() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1467,7 +1467,7 @@
return o;
}
-checkUnnamed4180(core.Map<core.String, core.Object> o) {
+checkUnnamed4187(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted3 = (o["x"]) as core.Map;
unittest.expect(casted3, unittest.hasLength(3));
@@ -1481,7 +1481,7 @@
unittest.expect(casted4["string"], unittest.equals('foo'));
}
-buildUnnamed4181() {
+buildUnnamed4188() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1496,7 +1496,7 @@
return o;
}
-checkUnnamed4181(core.Map<core.String, core.Object> o) {
+checkUnnamed4188(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted5 = (o["x"]) as core.Map;
unittest.expect(casted5, unittest.hasLength(3));
@@ -1517,9 +1517,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed4180();
+ o.metadata = buildUnnamed4187();
o.name = "foo";
- o.response = buildUnnamed4181();
+ o.response = buildUnnamed4188();
}
buildCounterOperation--;
return o;
@@ -1530,21 +1530,21 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed4180(o.metadata);
+ checkUnnamed4187(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed4181(o.response);
+ checkUnnamed4188(o.response);
}
buildCounterOperation--;
}
-buildUnnamed4182() {
+buildUnnamed4189() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4182(core.List<core.String> o) {
+checkUnnamed4189(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1562,7 +1562,7 @@
o.method = "foo";
o.target = "foo";
o.user = "foo";
- o.warning = buildUnnamed4182();
+ o.warning = buildUnnamed4189();
}
buildCounterOperationMetadataV1--;
return o;
@@ -1578,19 +1578,19 @@
unittest.expect(o.method, unittest.equals('foo'));
unittest.expect(o.target, unittest.equals('foo'));
unittest.expect(o.user, unittest.equals('foo'));
- checkUnnamed4182(o.warning);
+ checkUnnamed4189(o.warning);
}
buildCounterOperationMetadataV1--;
}
-buildUnnamed4183() {
+buildUnnamed4190() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4183(core.List<core.String> o) {
+checkUnnamed4190(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1608,7 +1608,7 @@
o.method = "foo";
o.target = "foo";
o.user = "foo";
- o.warning = buildUnnamed4183();
+ o.warning = buildUnnamed4190();
}
buildCounterOperationMetadataV1Alpha--;
return o;
@@ -1624,19 +1624,19 @@
unittest.expect(o.method, unittest.equals('foo'));
unittest.expect(o.target, unittest.equals('foo'));
unittest.expect(o.user, unittest.equals('foo'));
- checkUnnamed4183(o.warning);
+ checkUnnamed4190(o.warning);
}
buildCounterOperationMetadataV1Alpha--;
}
-buildUnnamed4184() {
+buildUnnamed4191() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4184(core.List<core.String> o) {
+checkUnnamed4191(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1654,7 +1654,7 @@
o.method = "foo";
o.target = "foo";
o.user = "foo";
- o.warning = buildUnnamed4184();
+ o.warning = buildUnnamed4191();
}
buildCounterOperationMetadataV1Beta--;
return o;
@@ -1670,7 +1670,7 @@
unittest.expect(o.method, unittest.equals('foo'));
unittest.expect(o.target, unittest.equals('foo'));
unittest.expect(o.user, unittest.equals('foo'));
- checkUnnamed4184(o.warning);
+ checkUnnamed4191(o.warning);
}
buildCounterOperationMetadataV1Beta--;
}
@@ -1765,14 +1765,14 @@
buildCounterResourceRecord--;
}
-buildUnnamed4185() {
+buildUnnamed4192() {
var o = new core.List<api.Volume>();
o.add(buildVolume());
o.add(buildVolume());
return o;
}
-checkUnnamed4185(core.List<api.Volume> o) {
+checkUnnamed4192(core.List<api.Volume> o) {
unittest.expect(o, unittest.hasLength(2));
checkVolume(o[0]);
checkVolume(o[1]);
@@ -1787,7 +1787,7 @@
o.diskGb = 42.0;
o.kmsKeyReference = "foo";
o.memoryGb = 42.0;
- o.volumes = buildUnnamed4185();
+ o.volumes = buildUnnamed4192();
}
buildCounterResources--;
return o;
@@ -1800,7 +1800,7 @@
unittest.expect(o.diskGb, unittest.equals(42.0));
unittest.expect(o.kmsKeyReference, unittest.equals('foo'));
unittest.expect(o.memoryGb, unittest.equals(42.0));
- checkUnnamed4185(o.volumes);
+ checkUnnamed4192(o.volumes);
}
buildCounterResources--;
}
@@ -1897,14 +1897,14 @@
buildCounterStandardSchedulerSettings--;
}
-buildUnnamed4186() {
+buildUnnamed4193() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed4186(core.Map<core.String, core.String> o) {
+checkUnnamed4193(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -1917,7 +1917,7 @@
if (buildCounterStaticFilesHandler < 3) {
o.applicationReadable = true;
o.expiration = "foo";
- o.httpHeaders = buildUnnamed4186();
+ o.httpHeaders = buildUnnamed4193();
o.mimeType = "foo";
o.path = "foo";
o.requireMatchingFile = true;
@@ -1932,7 +1932,7 @@
if (buildCounterStaticFilesHandler < 3) {
unittest.expect(o.applicationReadable, unittest.isTrue);
unittest.expect(o.expiration, unittest.equals('foo'));
- checkUnnamed4186(o.httpHeaders);
+ checkUnnamed4193(o.httpHeaders);
unittest.expect(o.mimeType, unittest.equals('foo'));
unittest.expect(o.path, unittest.equals('foo'));
unittest.expect(o.requireMatchingFile, unittest.isTrue);
@@ -1941,7 +1941,7 @@
buildCounterStaticFilesHandler--;
}
-buildUnnamed4187() {
+buildUnnamed4194() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1956,7 +1956,7 @@
return o;
}
-checkUnnamed4187(core.Map<core.String, core.Object> o) {
+checkUnnamed4194(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted7 = (o["x"]) as core.Map;
unittest.expect(casted7, unittest.hasLength(3));
@@ -1970,17 +1970,17 @@
unittest.expect(casted8["string"], unittest.equals('foo'));
}
-buildUnnamed4188() {
+buildUnnamed4195() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed4187());
- o.add(buildUnnamed4187());
+ o.add(buildUnnamed4194());
+ o.add(buildUnnamed4194());
return o;
}
-checkUnnamed4188(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed4195(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed4187(o[0]);
- checkUnnamed4187(o[1]);
+ checkUnnamed4194(o[0]);
+ checkUnnamed4194(o[1]);
}
core.int buildCounterStatus = 0;
@@ -1989,7 +1989,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed4188();
+ o.details = buildUnnamed4195();
o.message = "foo";
}
buildCounterStatus--;
@@ -2000,20 +2000,20 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed4188(o.details);
+ checkUnnamed4195(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
}
-buildUnnamed4189() {
+buildUnnamed4196() {
var o = new core.Map<core.String, core.double>();
o["x"] = 42.0;
o["y"] = 42.0;
return o;
}
-checkUnnamed4189(core.Map<core.String, core.double> o) {
+checkUnnamed4196(core.Map<core.String, core.double> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals(42.0));
unittest.expect(o["y"], unittest.equals(42.0));
@@ -2024,7 +2024,7 @@
var o = new api.TrafficSplit();
buildCounterTrafficSplit++;
if (buildCounterTrafficSplit < 3) {
- o.allocations = buildUnnamed4189();
+ o.allocations = buildUnnamed4196();
o.shardBy = "foo";
}
buildCounterTrafficSplit--;
@@ -2034,7 +2034,7 @@
checkTrafficSplit(api.TrafficSplit o) {
buildCounterTrafficSplit++;
if (buildCounterTrafficSplit < 3) {
- checkUnnamed4189(o.allocations);
+ checkUnnamed4196(o.allocations);
unittest.expect(o.shardBy, unittest.equals('foo'));
}
buildCounterTrafficSplit--;
@@ -2096,105 +2096,105 @@
buildCounterUrlMap--;
}
-buildUnnamed4190() {
+buildUnnamed4197() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed4190(core.Map<core.String, core.String> o) {
+checkUnnamed4197(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed4191() {
+buildUnnamed4198() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed4191(core.Map<core.String, core.String> o) {
+checkUnnamed4198(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed4192() {
+buildUnnamed4199() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed4192(core.Map<core.String, core.String> o) {
+checkUnnamed4199(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed4193() {
+buildUnnamed4200() {
var o = new core.List<api.ErrorHandler>();
o.add(buildErrorHandler());
o.add(buildErrorHandler());
return o;
}
-checkUnnamed4193(core.List<api.ErrorHandler> o) {
+checkUnnamed4200(core.List<api.ErrorHandler> o) {
unittest.expect(o, unittest.hasLength(2));
checkErrorHandler(o[0]);
checkErrorHandler(o[1]);
}
-buildUnnamed4194() {
+buildUnnamed4201() {
var o = new core.List<api.UrlMap>();
o.add(buildUrlMap());
o.add(buildUrlMap());
return o;
}
-checkUnnamed4194(core.List<api.UrlMap> o) {
+checkUnnamed4201(core.List<api.UrlMap> o) {
unittest.expect(o, unittest.hasLength(2));
checkUrlMap(o[0]);
checkUrlMap(o[1]);
}
-buildUnnamed4195() {
+buildUnnamed4202() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4195(core.List<core.String> o) {
+checkUnnamed4202(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed4196() {
+buildUnnamed4203() {
var o = new core.List<api.Library>();
o.add(buildLibrary());
o.add(buildLibrary());
return o;
}
-checkUnnamed4196(core.List<api.Library> o) {
+checkUnnamed4203(core.List<api.Library> o) {
unittest.expect(o, unittest.hasLength(2));
checkLibrary(o[0]);
checkLibrary(o[1]);
}
-buildUnnamed4197() {
+buildUnnamed4204() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4197(core.List<core.String> o) {
+checkUnnamed4204(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2208,8 +2208,8 @@
o.apiConfig = buildApiConfigHandler();
o.automaticScaling = buildAutomaticScaling();
o.basicScaling = buildBasicScaling();
- o.betaSettings = buildUnnamed4190();
- o.buildEnvVariables = buildUnnamed4191();
+ o.betaSettings = buildUnnamed4197();
+ o.buildEnvVariables = buildUnnamed4198();
o.createTime = "foo";
o.createdBy = "foo";
o.defaultExpiration = "foo";
@@ -2218,14 +2218,14 @@
o.endpointsApiService = buildEndpointsApiService();
o.entrypoint = buildEntrypoint();
o.env = "foo";
- o.envVariables = buildUnnamed4192();
- o.errorHandlers = buildUnnamed4193();
- o.handlers = buildUnnamed4194();
+ o.envVariables = buildUnnamed4199();
+ o.errorHandlers = buildUnnamed4200();
+ o.handlers = buildUnnamed4201();
o.healthCheck = buildHealthCheck();
o.id = "foo";
- o.inboundServices = buildUnnamed4195();
+ o.inboundServices = buildUnnamed4202();
o.instanceClass = "foo";
- o.libraries = buildUnnamed4196();
+ o.libraries = buildUnnamed4203();
o.livenessCheck = buildLivenessCheck();
o.manualScaling = buildManualScaling();
o.name = "foo";
@@ -2242,7 +2242,7 @@
o.versionUrl = "foo";
o.vm = true;
o.vpcAccessConnector = buildVpcAccessConnector();
- o.zones = buildUnnamed4197();
+ o.zones = buildUnnamed4204();
}
buildCounterVersion--;
return o;
@@ -2254,8 +2254,8 @@
checkApiConfigHandler(o.apiConfig);
checkAutomaticScaling(o.automaticScaling);
checkBasicScaling(o.basicScaling);
- checkUnnamed4190(o.betaSettings);
- checkUnnamed4191(o.buildEnvVariables);
+ checkUnnamed4197(o.betaSettings);
+ checkUnnamed4198(o.buildEnvVariables);
unittest.expect(o.createTime, unittest.equals('foo'));
unittest.expect(o.createdBy, unittest.equals('foo'));
unittest.expect(o.defaultExpiration, unittest.equals('foo'));
@@ -2264,14 +2264,14 @@
checkEndpointsApiService(o.endpointsApiService);
checkEntrypoint(o.entrypoint);
unittest.expect(o.env, unittest.equals('foo'));
- checkUnnamed4192(o.envVariables);
- checkUnnamed4193(o.errorHandlers);
- checkUnnamed4194(o.handlers);
+ checkUnnamed4199(o.envVariables);
+ checkUnnamed4200(o.errorHandlers);
+ checkUnnamed4201(o.handlers);
checkHealthCheck(o.healthCheck);
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed4195(o.inboundServices);
+ checkUnnamed4202(o.inboundServices);
unittest.expect(o.instanceClass, unittest.equals('foo'));
- checkUnnamed4196(o.libraries);
+ checkUnnamed4203(o.libraries);
checkLivenessCheck(o.livenessCheck);
checkManualScaling(o.manualScaling);
unittest.expect(o.name, unittest.equals('foo'));
@@ -2288,7 +2288,7 @@
unittest.expect(o.versionUrl, unittest.equals('foo'));
unittest.expect(o.vm, unittest.isTrue);
checkVpcAccessConnector(o.vpcAccessConnector);
- checkUnnamed4197(o.zones);
+ checkUnnamed4204(o.zones);
}
buildCounterVersion--;
}
@@ -4378,9 +4378,9 @@
api.AppsLocationsResourceApi res =
new api.AppengineApi(mock).apps.locations;
var arg_appsId = "foo";
- var arg_pageSize = 42;
var arg_pageToken = "foo";
var arg_filter = "foo";
+ var arg_pageSize = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -4421,11 +4421,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4436,9 +4436,9 @@
}), true);
res
.list(arg_appsId,
- pageSize: arg_pageSize,
pageToken: arg_pageToken,
filter: arg_filter,
+ pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListLocationsResponse(response);
@@ -4516,8 +4516,8 @@
api.AppsOperationsResourceApi res =
new api.AppengineApi(mock).apps.operations;
var arg_appsId = "foo";
- var arg_pageSize = 42;
var arg_pageToken = "foo";
+ var arg_pageSize = 42;
var arg_filter = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -4559,10 +4559,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
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["fields"].first, unittest.equals(arg_$fields));
@@ -4574,8 +4574,8 @@
}), true);
res
.list(arg_appsId,
- pageSize: arg_pageSize,
pageToken: arg_pageToken,
+ pageSize: arg_pageSize,
filter: arg_filter,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -4718,8 +4718,8 @@
api.AppsServicesResourceApi res =
new api.AppengineApi(mock).apps.services;
var arg_appsId = "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;
@@ -4760,10 +4760,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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 = {
@@ -4774,8 +4774,8 @@
}), true);
res
.list(arg_appsId,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListServicesResponse(response);
@@ -4789,8 +4789,8 @@
var arg_request = buildService();
var arg_appsId = "foo";
var arg_servicesId = "foo";
- var arg_migrateTraffic = true;
var arg_updateMask = "foo";
+ var arg_migrateTraffic = true;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.Service.fromJson(json);
@@ -4837,10 +4837,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["migrateTraffic"].first,
- unittest.equals("$arg_migrateTraffic"));
unittest.expect(
queryMap["updateMask"].first, unittest.equals(arg_updateMask));
+ unittest.expect(queryMap["migrateTraffic"].first,
+ unittest.equals("$arg_migrateTraffic"));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4851,8 +4851,8 @@
}), true);
res
.patch(arg_request, arg_appsId, arg_servicesId,
- migrateTraffic: arg_migrateTraffic,
updateMask: arg_updateMask,
+ migrateTraffic: arg_migrateTraffic,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkOperation(response);
@@ -5093,9 +5093,9 @@
new api.AppengineApi(mock).apps.services.versions;
var arg_appsId = "foo";
var arg_servicesId = "foo";
- var arg_pageToken = "foo";
var arg_pageSize = 42;
var arg_view = "foo";
+ var arg_pageToken = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -5145,11 +5145,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -5160,9 +5160,9 @@
}), true);
res
.list(arg_appsId, arg_servicesId,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
view: arg_view,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListVersionsResponse(response);
@@ -5526,8 +5526,8 @@
var arg_appsId = "foo";
var arg_servicesId = "foo";
var arg_versionsId = "foo";
- var arg_pageSize = 42;
var arg_pageToken = "foo";
+ var arg_pageSize = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -5586,10 +5586,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -5600,8 +5600,8 @@
}), true);
res
.list(arg_appsId, arg_servicesId, arg_versionsId,
- pageSize: arg_pageSize,
pageToken: arg_pageToken,
+ pageSize: arg_pageSize,
$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 1f84a89..fd97ad9 100644
--- a/generated/googleapis/test/bigquery/v2_test.dart
+++ b/generated/googleapis/test/bigquery/v2_test.dart
@@ -106,27 +106,27 @@
buildCounterArgument--;
}
-buildUnnamed3590() {
+buildUnnamed3594() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed3590(core.List<core.double> o) {
+checkUnnamed3594(core.List<core.double> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42.0));
unittest.expect(o[1], unittest.equals(42.0));
}
-buildUnnamed3591() {
+buildUnnamed3595() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed3591(core.List<core.double> o) {
+checkUnnamed3595(core.List<core.double> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42.0));
unittest.expect(o[1], unittest.equals(42.0));
@@ -137,9 +137,9 @@
var o = new api.ArimaCoefficients();
buildCounterArimaCoefficients++;
if (buildCounterArimaCoefficients < 3) {
- o.autoRegressiveCoefficients = buildUnnamed3590();
+ o.autoRegressiveCoefficients = buildUnnamed3594();
o.interceptCoefficient = 42.0;
- o.movingAverageCoefficients = buildUnnamed3591();
+ o.movingAverageCoefficients = buildUnnamed3595();
}
buildCounterArimaCoefficients--;
return o;
@@ -148,9 +148,9 @@
checkArimaCoefficients(api.ArimaCoefficients o) {
buildCounterArimaCoefficients++;
if (buildCounterArimaCoefficients < 3) {
- checkUnnamed3590(o.autoRegressiveCoefficients);
+ checkUnnamed3594(o.autoRegressiveCoefficients);
unittest.expect(o.interceptCoefficient, unittest.equals(42.0));
- checkUnnamed3591(o.movingAverageCoefficients);
+ checkUnnamed3595(o.movingAverageCoefficients);
}
buildCounterArimaCoefficients--;
}
@@ -178,79 +178,79 @@
buildCounterArimaFittingMetrics--;
}
-buildUnnamed3592() {
+buildUnnamed3596() {
var o = new core.List<api.ArimaFittingMetrics>();
o.add(buildArimaFittingMetrics());
o.add(buildArimaFittingMetrics());
return o;
}
-checkUnnamed3592(core.List<api.ArimaFittingMetrics> o) {
+checkUnnamed3596(core.List<api.ArimaFittingMetrics> o) {
unittest.expect(o, unittest.hasLength(2));
checkArimaFittingMetrics(o[0]);
checkArimaFittingMetrics(o[1]);
}
-buildUnnamed3593() {
+buildUnnamed3597() {
var o = new core.List<api.ArimaSingleModelForecastingMetrics>();
o.add(buildArimaSingleModelForecastingMetrics());
o.add(buildArimaSingleModelForecastingMetrics());
return o;
}
-checkUnnamed3593(core.List<api.ArimaSingleModelForecastingMetrics> o) {
+checkUnnamed3597(core.List<api.ArimaSingleModelForecastingMetrics> o) {
unittest.expect(o, unittest.hasLength(2));
checkArimaSingleModelForecastingMetrics(o[0]);
checkArimaSingleModelForecastingMetrics(o[1]);
}
-buildUnnamed3594() {
+buildUnnamed3598() {
var o = new core.List<core.bool>();
o.add(true);
o.add(true);
return o;
}
-checkUnnamed3594(core.List<core.bool> o) {
+checkUnnamed3598(core.List<core.bool> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.isTrue);
unittest.expect(o[1], unittest.isTrue);
}
-buildUnnamed3595() {
+buildUnnamed3599() {
var o = new core.List<api.ArimaOrder>();
o.add(buildArimaOrder());
o.add(buildArimaOrder());
return o;
}
-checkUnnamed3595(core.List<api.ArimaOrder> o) {
+checkUnnamed3599(core.List<api.ArimaOrder> o) {
unittest.expect(o, unittest.hasLength(2));
checkArimaOrder(o[0]);
checkArimaOrder(o[1]);
}
-buildUnnamed3596() {
+buildUnnamed3600() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3596(core.List<core.String> o) {
+checkUnnamed3600(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3597() {
+buildUnnamed3601() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3597(core.List<core.String> o) {
+checkUnnamed3601(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -261,12 +261,12 @@
var o = new api.ArimaForecastingMetrics();
buildCounterArimaForecastingMetrics++;
if (buildCounterArimaForecastingMetrics < 3) {
- o.arimaFittingMetrics = buildUnnamed3592();
- o.arimaSingleModelForecastingMetrics = buildUnnamed3593();
- o.hasDrift = buildUnnamed3594();
- o.nonSeasonalOrder = buildUnnamed3595();
- o.seasonalPeriods = buildUnnamed3596();
- o.timeSeriesId = buildUnnamed3597();
+ o.arimaFittingMetrics = buildUnnamed3596();
+ o.arimaSingleModelForecastingMetrics = buildUnnamed3597();
+ o.hasDrift = buildUnnamed3598();
+ o.nonSeasonalOrder = buildUnnamed3599();
+ o.seasonalPeriods = buildUnnamed3600();
+ o.timeSeriesId = buildUnnamed3601();
}
buildCounterArimaForecastingMetrics--;
return o;
@@ -275,24 +275,24 @@
checkArimaForecastingMetrics(api.ArimaForecastingMetrics o) {
buildCounterArimaForecastingMetrics++;
if (buildCounterArimaForecastingMetrics < 3) {
- checkUnnamed3592(o.arimaFittingMetrics);
- checkUnnamed3593(o.arimaSingleModelForecastingMetrics);
- checkUnnamed3594(o.hasDrift);
- checkUnnamed3595(o.nonSeasonalOrder);
- checkUnnamed3596(o.seasonalPeriods);
- checkUnnamed3597(o.timeSeriesId);
+ checkUnnamed3596(o.arimaFittingMetrics);
+ checkUnnamed3597(o.arimaSingleModelForecastingMetrics);
+ checkUnnamed3598(o.hasDrift);
+ checkUnnamed3599(o.nonSeasonalOrder);
+ checkUnnamed3600(o.seasonalPeriods);
+ checkUnnamed3601(o.timeSeriesId);
}
buildCounterArimaForecastingMetrics--;
}
-buildUnnamed3598() {
+buildUnnamed3602() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3598(core.List<core.String> o) {
+checkUnnamed3602(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -307,7 +307,7 @@
o.arimaFittingMetrics = buildArimaFittingMetrics();
o.hasDrift = true;
o.nonSeasonalOrder = buildArimaOrder();
- o.seasonalPeriods = buildUnnamed3598();
+ o.seasonalPeriods = buildUnnamed3602();
o.timeSeriesId = "foo";
}
buildCounterArimaModelInfo--;
@@ -321,7 +321,7 @@
checkArimaFittingMetrics(o.arimaFittingMetrics);
unittest.expect(o.hasDrift, unittest.isTrue);
checkArimaOrder(o.nonSeasonalOrder);
- checkUnnamed3598(o.seasonalPeriods);
+ checkUnnamed3602(o.seasonalPeriods);
unittest.expect(o.timeSeriesId, unittest.equals('foo'));
}
buildCounterArimaModelInfo--;
@@ -350,27 +350,27 @@
buildCounterArimaOrder--;
}
-buildUnnamed3599() {
+buildUnnamed3603() {
var o = new core.List<api.ArimaModelInfo>();
o.add(buildArimaModelInfo());
o.add(buildArimaModelInfo());
return o;
}
-checkUnnamed3599(core.List<api.ArimaModelInfo> o) {
+checkUnnamed3603(core.List<api.ArimaModelInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkArimaModelInfo(o[0]);
checkArimaModelInfo(o[1]);
}
-buildUnnamed3600() {
+buildUnnamed3604() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3600(core.List<core.String> o) {
+checkUnnamed3604(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -381,8 +381,8 @@
var o = new api.ArimaResult();
buildCounterArimaResult++;
if (buildCounterArimaResult < 3) {
- o.arimaModelInfo = buildUnnamed3599();
- o.seasonalPeriods = buildUnnamed3600();
+ o.arimaModelInfo = buildUnnamed3603();
+ o.seasonalPeriods = buildUnnamed3604();
}
buildCounterArimaResult--;
return o;
@@ -391,20 +391,20 @@
checkArimaResult(api.ArimaResult o) {
buildCounterArimaResult++;
if (buildCounterArimaResult < 3) {
- checkUnnamed3599(o.arimaModelInfo);
- checkUnnamed3600(o.seasonalPeriods);
+ checkUnnamed3603(o.arimaModelInfo);
+ checkUnnamed3604(o.seasonalPeriods);
}
buildCounterArimaResult--;
}
-buildUnnamed3601() {
+buildUnnamed3605() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3601(core.List<core.String> o) {
+checkUnnamed3605(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -418,7 +418,7 @@
o.arimaFittingMetrics = buildArimaFittingMetrics();
o.hasDrift = true;
o.nonSeasonalOrder = buildArimaOrder();
- o.seasonalPeriods = buildUnnamed3601();
+ o.seasonalPeriods = buildUnnamed3605();
o.timeSeriesId = "foo";
}
buildCounterArimaSingleModelForecastingMetrics--;
@@ -432,20 +432,20 @@
checkArimaFittingMetrics(o.arimaFittingMetrics);
unittest.expect(o.hasDrift, unittest.isTrue);
checkArimaOrder(o.nonSeasonalOrder);
- checkUnnamed3601(o.seasonalPeriods);
+ checkUnnamed3605(o.seasonalPeriods);
unittest.expect(o.timeSeriesId, unittest.equals('foo'));
}
buildCounterArimaSingleModelForecastingMetrics--;
}
-buildUnnamed3602() {
+buildUnnamed3606() {
var o = new core.List<api.AuditLogConfig>();
o.add(buildAuditLogConfig());
o.add(buildAuditLogConfig());
return o;
}
-checkUnnamed3602(core.List<api.AuditLogConfig> o) {
+checkUnnamed3606(core.List<api.AuditLogConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuditLogConfig(o[0]);
checkAuditLogConfig(o[1]);
@@ -456,7 +456,7 @@
var o = new api.AuditConfig();
buildCounterAuditConfig++;
if (buildCounterAuditConfig < 3) {
- o.auditLogConfigs = buildUnnamed3602();
+ o.auditLogConfigs = buildUnnamed3606();
o.service = "foo";
}
buildCounterAuditConfig--;
@@ -466,20 +466,20 @@
checkAuditConfig(api.AuditConfig o) {
buildCounterAuditConfig++;
if (buildCounterAuditConfig < 3) {
- checkUnnamed3602(o.auditLogConfigs);
+ checkUnnamed3606(o.auditLogConfigs);
unittest.expect(o.service, unittest.equals('foo'));
}
buildCounterAuditConfig--;
}
-buildUnnamed3603() {
+buildUnnamed3607() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3603(core.List<core.String> o) {
+checkUnnamed3607(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -490,7 +490,7 @@
var o = new api.AuditLogConfig();
buildCounterAuditLogConfig++;
if (buildCounterAuditLogConfig < 3) {
- o.exemptedMembers = buildUnnamed3603();
+ o.exemptedMembers = buildUnnamed3607();
o.logType = "foo";
}
buildCounterAuditLogConfig--;
@@ -500,7 +500,7 @@
checkAuditLogConfig(api.AuditLogConfig o) {
buildCounterAuditLogConfig++;
if (buildCounterAuditLogConfig < 3) {
- checkUnnamed3603(o.exemptedMembers);
+ checkUnnamed3607(o.exemptedMembers);
unittest.expect(o.logType, unittest.equals('foo'));
}
buildCounterAuditLogConfig--;
@@ -556,14 +556,14 @@
buildCounterBigtableColumn--;
}
-buildUnnamed3604() {
+buildUnnamed3608() {
var o = new core.List<api.BigtableColumn>();
o.add(buildBigtableColumn());
o.add(buildBigtableColumn());
return o;
}
-checkUnnamed3604(core.List<api.BigtableColumn> o) {
+checkUnnamed3608(core.List<api.BigtableColumn> o) {
unittest.expect(o, unittest.hasLength(2));
checkBigtableColumn(o[0]);
checkBigtableColumn(o[1]);
@@ -574,7 +574,7 @@
var o = new api.BigtableColumnFamily();
buildCounterBigtableColumnFamily++;
if (buildCounterBigtableColumnFamily < 3) {
- o.columns = buildUnnamed3604();
+ o.columns = buildUnnamed3608();
o.encoding = "foo";
o.familyId = "foo";
o.onlyReadLatest = true;
@@ -587,7 +587,7 @@
checkBigtableColumnFamily(api.BigtableColumnFamily o) {
buildCounterBigtableColumnFamily++;
if (buildCounterBigtableColumnFamily < 3) {
- checkUnnamed3604(o.columns);
+ checkUnnamed3608(o.columns);
unittest.expect(o.encoding, unittest.equals('foo'));
unittest.expect(o.familyId, unittest.equals('foo'));
unittest.expect(o.onlyReadLatest, unittest.isTrue);
@@ -596,14 +596,14 @@
buildCounterBigtableColumnFamily--;
}
-buildUnnamed3605() {
+buildUnnamed3609() {
var o = new core.List<api.BigtableColumnFamily>();
o.add(buildBigtableColumnFamily());
o.add(buildBigtableColumnFamily());
return o;
}
-checkUnnamed3605(core.List<api.BigtableColumnFamily> o) {
+checkUnnamed3609(core.List<api.BigtableColumnFamily> o) {
unittest.expect(o, unittest.hasLength(2));
checkBigtableColumnFamily(o[0]);
checkBigtableColumnFamily(o[1]);
@@ -614,7 +614,7 @@
var o = new api.BigtableOptions();
buildCounterBigtableOptions++;
if (buildCounterBigtableOptions < 3) {
- o.columnFamilies = buildUnnamed3605();
+ o.columnFamilies = buildUnnamed3609();
o.ignoreUnspecifiedColumnFamilies = true;
o.readRowkeyAsString = true;
}
@@ -625,21 +625,21 @@
checkBigtableOptions(api.BigtableOptions o) {
buildCounterBigtableOptions++;
if (buildCounterBigtableOptions < 3) {
- checkUnnamed3605(o.columnFamilies);
+ checkUnnamed3609(o.columnFamilies);
unittest.expect(o.ignoreUnspecifiedColumnFamilies, unittest.isTrue);
unittest.expect(o.readRowkeyAsString, unittest.isTrue);
}
buildCounterBigtableOptions--;
}
-buildUnnamed3606() {
+buildUnnamed3610() {
var o = new core.List<api.BinaryConfusionMatrix>();
o.add(buildBinaryConfusionMatrix());
o.add(buildBinaryConfusionMatrix());
return o;
}
-checkUnnamed3606(core.List<api.BinaryConfusionMatrix> o) {
+checkUnnamed3610(core.List<api.BinaryConfusionMatrix> o) {
unittest.expect(o, unittest.hasLength(2));
checkBinaryConfusionMatrix(o[0]);
checkBinaryConfusionMatrix(o[1]);
@@ -651,7 +651,7 @@
buildCounterBinaryClassificationMetrics++;
if (buildCounterBinaryClassificationMetrics < 3) {
o.aggregateClassificationMetrics = buildAggregateClassificationMetrics();
- o.binaryConfusionMatrixList = buildUnnamed3606();
+ o.binaryConfusionMatrixList = buildUnnamed3610();
o.negativeLabel = "foo";
o.positiveLabel = "foo";
}
@@ -663,7 +663,7 @@
buildCounterBinaryClassificationMetrics++;
if (buildCounterBinaryClassificationMetrics < 3) {
checkAggregateClassificationMetrics(o.aggregateClassificationMetrics);
- checkUnnamed3606(o.binaryConfusionMatrixList);
+ checkUnnamed3610(o.binaryConfusionMatrixList);
unittest.expect(o.negativeLabel, unittest.equals('foo'));
unittest.expect(o.positiveLabel, unittest.equals('foo'));
}
@@ -705,14 +705,14 @@
buildCounterBinaryConfusionMatrix--;
}
-buildUnnamed3607() {
+buildUnnamed3611() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3607(core.List<core.String> o) {
+checkUnnamed3611(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -724,7 +724,7 @@
buildCounterBinding++;
if (buildCounterBinding < 3) {
o.condition = buildExpr();
- o.members = buildUnnamed3607();
+ o.members = buildUnnamed3611();
o.role = "foo";
}
buildCounterBinding--;
@@ -735,7 +735,7 @@
buildCounterBinding++;
if (buildCounterBinding < 3) {
checkExpr(o.condition);
- checkUnnamed3607(o.members);
+ checkUnnamed3611(o.members);
unittest.expect(o.role, unittest.equals('foo'));
}
buildCounterBinding--;
@@ -768,14 +768,14 @@
buildCounterBqmlIterationResult--;
}
-buildUnnamed3608() {
+buildUnnamed3612() {
var o = new core.List<api.BqmlIterationResult>();
o.add(buildBqmlIterationResult());
o.add(buildBqmlIterationResult());
return o;
}
-checkUnnamed3608(core.List<api.BqmlIterationResult> o) {
+checkUnnamed3612(core.List<api.BqmlIterationResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkBqmlIterationResult(o[0]);
checkBqmlIterationResult(o[1]);
@@ -821,7 +821,7 @@
var o = new api.BqmlTrainingRun();
buildCounterBqmlTrainingRun++;
if (buildCounterBqmlTrainingRun < 3) {
- o.iterationResults = buildUnnamed3608();
+ o.iterationResults = buildUnnamed3612();
o.startTime = core.DateTime.parse("2002-02-27T14:01:02");
o.state = "foo";
o.trainingOptions = buildBqmlTrainingRunTrainingOptions();
@@ -833,7 +833,7 @@
checkBqmlTrainingRun(api.BqmlTrainingRun o) {
buildCounterBqmlTrainingRun++;
if (buildCounterBqmlTrainingRun < 3) {
- checkUnnamed3608(o.iterationResults);
+ checkUnnamed3612(o.iterationResults);
unittest.expect(o.startTime,
unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
unittest.expect(o.state, unittest.equals('foo'));
@@ -842,14 +842,14 @@
buildCounterBqmlTrainingRun--;
}
-buildUnnamed3609() {
+buildUnnamed3613() {
var o = new core.List<api.CategoryCount>();
o.add(buildCategoryCount());
o.add(buildCategoryCount());
return o;
}
-checkUnnamed3609(core.List<api.CategoryCount> o) {
+checkUnnamed3613(core.List<api.CategoryCount> o) {
unittest.expect(o, unittest.hasLength(2));
checkCategoryCount(o[0]);
checkCategoryCount(o[1]);
@@ -860,7 +860,7 @@
var o = new api.CategoricalValue();
buildCounterCategoricalValue++;
if (buildCounterCategoricalValue < 3) {
- o.categoryCounts = buildUnnamed3609();
+ o.categoryCounts = buildUnnamed3613();
}
buildCounterCategoricalValue--;
return o;
@@ -869,7 +869,7 @@
checkCategoricalValue(api.CategoricalValue o) {
buildCounterCategoricalValue++;
if (buildCounterCategoricalValue < 3) {
- checkUnnamed3609(o.categoryCounts);
+ checkUnnamed3613(o.categoryCounts);
}
buildCounterCategoricalValue--;
}
@@ -895,14 +895,14 @@
buildCounterCategoryCount--;
}
-buildUnnamed3610() {
+buildUnnamed3614() {
var o = new core.List<api.FeatureValue>();
o.add(buildFeatureValue());
o.add(buildFeatureValue());
return o;
}
-checkUnnamed3610(core.List<api.FeatureValue> o) {
+checkUnnamed3614(core.List<api.FeatureValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkFeatureValue(o[0]);
checkFeatureValue(o[1]);
@@ -915,7 +915,7 @@
if (buildCounterCluster < 3) {
o.centroidId = "foo";
o.count = "foo";
- o.featureValues = buildUnnamed3610();
+ o.featureValues = buildUnnamed3614();
}
buildCounterCluster--;
return o;
@@ -926,7 +926,7 @@
if (buildCounterCluster < 3) {
unittest.expect(o.centroidId, unittest.equals('foo'));
unittest.expect(o.count, unittest.equals('foo'));
- checkUnnamed3610(o.featureValues);
+ checkUnnamed3614(o.featureValues);
}
buildCounterCluster--;
}
@@ -954,14 +954,14 @@
buildCounterClusterInfo--;
}
-buildUnnamed3611() {
+buildUnnamed3615() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3611(core.List<core.String> o) {
+checkUnnamed3615(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -972,7 +972,7 @@
var o = new api.Clustering();
buildCounterClustering++;
if (buildCounterClustering < 3) {
- o.fields = buildUnnamed3611();
+ o.fields = buildUnnamed3615();
}
buildCounterClustering--;
return o;
@@ -981,19 +981,19 @@
checkClustering(api.Clustering o) {
buildCounterClustering++;
if (buildCounterClustering < 3) {
- checkUnnamed3611(o.fields);
+ checkUnnamed3615(o.fields);
}
buildCounterClustering--;
}
-buildUnnamed3612() {
+buildUnnamed3616() {
var o = new core.List<api.Cluster>();
o.add(buildCluster());
o.add(buildCluster());
return o;
}
-checkUnnamed3612(core.List<api.Cluster> o) {
+checkUnnamed3616(core.List<api.Cluster> o) {
unittest.expect(o, unittest.hasLength(2));
checkCluster(o[0]);
checkCluster(o[1]);
@@ -1004,7 +1004,7 @@
var o = new api.ClusteringMetrics();
buildCounterClusteringMetrics++;
if (buildCounterClusteringMetrics < 3) {
- o.clusters = buildUnnamed3612();
+ o.clusters = buildUnnamed3616();
o.daviesBouldinIndex = 42.0;
o.meanSquaredDistance = 42.0;
}
@@ -1015,21 +1015,21 @@
checkClusteringMetrics(api.ClusteringMetrics o) {
buildCounterClusteringMetrics++;
if (buildCounterClusteringMetrics < 3) {
- checkUnnamed3612(o.clusters);
+ checkUnnamed3616(o.clusters);
unittest.expect(o.daviesBouldinIndex, unittest.equals(42.0));
unittest.expect(o.meanSquaredDistance, unittest.equals(42.0));
}
buildCounterClusteringMetrics--;
}
-buildUnnamed3613() {
+buildUnnamed3617() {
var o = new core.List<api.Row>();
o.add(buildRow());
o.add(buildRow());
return o;
}
-checkUnnamed3613(core.List<api.Row> o) {
+checkUnnamed3617(core.List<api.Row> o) {
unittest.expect(o, unittest.hasLength(2));
checkRow(o[0]);
checkRow(o[1]);
@@ -1041,7 +1041,7 @@
buildCounterConfusionMatrix++;
if (buildCounterConfusionMatrix < 3) {
o.confidenceThreshold = 42.0;
- o.rows = buildUnnamed3613();
+ o.rows = buildUnnamed3617();
}
buildCounterConfusionMatrix--;
return o;
@@ -1051,7 +1051,7 @@
buildCounterConfusionMatrix++;
if (buildCounterConfusionMatrix < 3) {
unittest.expect(o.confidenceThreshold, unittest.equals(42.0));
- checkUnnamed3613(o.rows);
+ checkUnnamed3617(o.rows);
}
buildCounterConfusionMatrix--;
}
@@ -1158,27 +1158,27 @@
buildCounterDatasetAccess--;
}
-buildUnnamed3614() {
+buildUnnamed3618() {
var o = new core.List<api.DatasetAccess>();
o.add(buildDatasetAccess());
o.add(buildDatasetAccess());
return o;
}
-checkUnnamed3614(core.List<api.DatasetAccess> o) {
+checkUnnamed3618(core.List<api.DatasetAccess> o) {
unittest.expect(o, unittest.hasLength(2));
checkDatasetAccess(o[0]);
checkDatasetAccess(o[1]);
}
-buildUnnamed3615() {
+buildUnnamed3619() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3615(core.Map<core.String, core.String> o) {
+checkUnnamed3619(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -1189,7 +1189,7 @@
var o = new api.Dataset();
buildCounterDataset++;
if (buildCounterDataset < 3) {
- o.access = buildUnnamed3614();
+ o.access = buildUnnamed3618();
o.creationTime = "foo";
o.datasetReference = buildDatasetReference();
o.defaultEncryptionConfiguration = buildEncryptionConfiguration();
@@ -1200,7 +1200,7 @@
o.friendlyName = "foo";
o.id = "foo";
o.kind = "foo";
- o.labels = buildUnnamed3615();
+ o.labels = buildUnnamed3619();
o.lastModifiedTime = "foo";
o.location = "foo";
o.satisfiesPZS = true;
@@ -1213,7 +1213,7 @@
checkDataset(api.Dataset o) {
buildCounterDataset++;
if (buildCounterDataset < 3) {
- checkUnnamed3614(o.access);
+ checkUnnamed3618(o.access);
unittest.expect(o.creationTime, unittest.equals('foo'));
checkDatasetReference(o.datasetReference);
checkEncryptionConfiguration(o.defaultEncryptionConfiguration);
@@ -1224,7 +1224,7 @@
unittest.expect(o.friendlyName, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed3615(o.labels);
+ checkUnnamed3619(o.labels);
unittest.expect(o.lastModifiedTime, unittest.equals('foo'));
unittest.expect(o.location, unittest.equals('foo'));
unittest.expect(o.satisfiesPZS, unittest.isTrue);
@@ -1233,14 +1233,14 @@
buildCounterDataset--;
}
-buildUnnamed3616() {
+buildUnnamed3620() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3616(core.Map<core.String, core.String> o) {
+checkUnnamed3620(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -1255,7 +1255,7 @@
o.friendlyName = "foo";
o.id = "foo";
o.kind = "foo";
- o.labels = buildUnnamed3616();
+ o.labels = buildUnnamed3620();
o.location = "foo";
}
buildCounterDatasetListDatasets--;
@@ -1269,20 +1269,20 @@
unittest.expect(o.friendlyName, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed3616(o.labels);
+ checkUnnamed3620(o.labels);
unittest.expect(o.location, unittest.equals('foo'));
}
buildCounterDatasetListDatasets--;
}
-buildUnnamed3617() {
+buildUnnamed3621() {
var o = new core.List<api.DatasetListDatasets>();
o.add(buildDatasetListDatasets());
o.add(buildDatasetListDatasets());
return o;
}
-checkUnnamed3617(core.List<api.DatasetListDatasets> o) {
+checkUnnamed3621(core.List<api.DatasetListDatasets> o) {
unittest.expect(o, unittest.hasLength(2));
checkDatasetListDatasets(o[0]);
checkDatasetListDatasets(o[1]);
@@ -1293,7 +1293,7 @@
var o = new api.DatasetList();
buildCounterDatasetList++;
if (buildCounterDatasetList < 3) {
- o.datasets = buildUnnamed3617();
+ o.datasets = buildUnnamed3621();
o.etag = "foo";
o.kind = "foo";
o.nextPageToken = "foo";
@@ -1305,7 +1305,7 @@
checkDatasetList(api.DatasetList o) {
buildCounterDatasetList++;
if (buildCounterDatasetList < 3) {
- checkUnnamed3617(o.datasets);
+ checkUnnamed3621(o.datasets);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
@@ -1334,14 +1334,14 @@
buildCounterDatasetReference--;
}
-buildUnnamed3618() {
+buildUnnamed3622() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3618(core.Map<core.String, core.String> o) {
+checkUnnamed3622(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -1354,7 +1354,7 @@
if (buildCounterDestinationTableProperties < 3) {
o.description = "foo";
o.friendlyName = "foo";
- o.labels = buildUnnamed3618();
+ o.labels = buildUnnamed3622();
}
buildCounterDestinationTableProperties--;
return o;
@@ -1365,7 +1365,7 @@
if (buildCounterDestinationTableProperties < 3) {
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.friendlyName, unittest.equals('foo'));
- checkUnnamed3618(o.labels);
+ checkUnnamed3622(o.labels);
}
buildCounterDestinationTableProperties--;
}
@@ -1464,27 +1464,27 @@
buildCounterEvaluationMetrics--;
}
-buildUnnamed3619() {
+buildUnnamed3623() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3619(core.List<core.String> o) {
+checkUnnamed3623(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3620() {
+buildUnnamed3624() {
var o = new core.List<api.ExplainQueryStep>();
o.add(buildExplainQueryStep());
o.add(buildExplainQueryStep());
return o;
}
-checkUnnamed3620(core.List<api.ExplainQueryStep> o) {
+checkUnnamed3624(core.List<api.ExplainQueryStep> o) {
unittest.expect(o, unittest.hasLength(2));
checkExplainQueryStep(o[0]);
checkExplainQueryStep(o[1]);
@@ -1502,7 +1502,7 @@
o.computeRatioMax = 42.0;
o.endMs = "foo";
o.id = "foo";
- o.inputStages = buildUnnamed3619();
+ o.inputStages = buildUnnamed3623();
o.name = "foo";
o.parallelInputs = "foo";
o.readMsAvg = "foo";
@@ -1516,7 +1516,7 @@
o.slotMs = "foo";
o.startMs = "foo";
o.status = "foo";
- o.steps = buildUnnamed3620();
+ o.steps = buildUnnamed3624();
o.waitMsAvg = "foo";
o.waitMsMax = "foo";
o.waitRatioAvg = 42.0;
@@ -1540,7 +1540,7 @@
unittest.expect(o.computeRatioMax, unittest.equals(42.0));
unittest.expect(o.endMs, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed3619(o.inputStages);
+ checkUnnamed3623(o.inputStages);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.parallelInputs, unittest.equals('foo'));
unittest.expect(o.readMsAvg, unittest.equals('foo'));
@@ -1554,7 +1554,7 @@
unittest.expect(o.slotMs, unittest.equals('foo'));
unittest.expect(o.startMs, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals('foo'));
- checkUnnamed3620(o.steps);
+ checkUnnamed3624(o.steps);
unittest.expect(o.waitMsAvg, unittest.equals('foo'));
unittest.expect(o.waitMsMax, unittest.equals('foo'));
unittest.expect(o.waitRatioAvg, unittest.equals(42.0));
@@ -1567,14 +1567,14 @@
buildCounterExplainQueryStage--;
}
-buildUnnamed3621() {
+buildUnnamed3625() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3621(core.List<core.String> o) {
+checkUnnamed3625(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1586,7 +1586,7 @@
buildCounterExplainQueryStep++;
if (buildCounterExplainQueryStep < 3) {
o.kind = "foo";
- o.substeps = buildUnnamed3621();
+ o.substeps = buildUnnamed3625();
}
buildCounterExplainQueryStep--;
return o;
@@ -1596,7 +1596,7 @@
buildCounterExplainQueryStep++;
if (buildCounterExplainQueryStep < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed3621(o.substeps);
+ checkUnnamed3625(o.substeps);
}
buildCounterExplainQueryStep--;
}
@@ -1626,14 +1626,14 @@
buildCounterExpr--;
}
-buildUnnamed3622() {
+buildUnnamed3626() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3622(core.List<core.String> o) {
+checkUnnamed3626(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1655,7 +1655,7 @@
o.maxBadRecords = 42;
o.schema = buildTableSchema();
o.sourceFormat = "foo";
- o.sourceUris = buildUnnamed3622();
+ o.sourceUris = buildUnnamed3626();
}
buildCounterExternalDataConfiguration--;
return o;
@@ -1675,7 +1675,7 @@
unittest.expect(o.maxBadRecords, unittest.equals(42));
checkTableSchema(o.schema);
unittest.expect(o.sourceFormat, unittest.equals('foo'));
- checkUnnamed3622(o.sourceUris);
+ checkUnnamed3626(o.sourceUris);
}
buildCounterExternalDataConfiguration--;
}
@@ -1741,27 +1741,27 @@
buildCounterGetPolicyOptions--;
}
-buildUnnamed3623() {
+buildUnnamed3627() {
var o = new core.List<api.ErrorProto>();
o.add(buildErrorProto());
o.add(buildErrorProto());
return o;
}
-checkUnnamed3623(core.List<api.ErrorProto> o) {
+checkUnnamed3627(core.List<api.ErrorProto> o) {
unittest.expect(o, unittest.hasLength(2));
checkErrorProto(o[0]);
checkErrorProto(o[1]);
}
-buildUnnamed3624() {
+buildUnnamed3628() {
var o = new core.List<api.TableRow>();
o.add(buildTableRow());
o.add(buildTableRow());
return o;
}
-checkUnnamed3624(core.List<api.TableRow> o) {
+checkUnnamed3628(core.List<api.TableRow> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableRow(o[0]);
checkTableRow(o[1]);
@@ -1773,14 +1773,14 @@
buildCounterGetQueryResultsResponse++;
if (buildCounterGetQueryResultsResponse < 3) {
o.cacheHit = true;
- o.errors = buildUnnamed3623();
+ o.errors = buildUnnamed3627();
o.etag = "foo";
o.jobComplete = true;
o.jobReference = buildJobReference();
o.kind = "foo";
o.numDmlAffectedRows = "foo";
o.pageToken = "foo";
- o.rows = buildUnnamed3624();
+ o.rows = buildUnnamed3628();
o.schema = buildTableSchema();
o.totalBytesProcessed = "foo";
o.totalRows = "foo";
@@ -1793,14 +1793,14 @@
buildCounterGetQueryResultsResponse++;
if (buildCounterGetQueryResultsResponse < 3) {
unittest.expect(o.cacheHit, unittest.isTrue);
- checkUnnamed3623(o.errors);
+ checkUnnamed3627(o.errors);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.jobComplete, unittest.isTrue);
checkJobReference(o.jobReference);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.numDmlAffectedRows, unittest.equals('foo'));
unittest.expect(o.pageToken, unittest.equals('foo'));
- checkUnnamed3624(o.rows);
+ checkUnnamed3628(o.rows);
checkTableSchema(o.schema);
unittest.expect(o.totalBytesProcessed, unittest.equals('foo'));
unittest.expect(o.totalRows, unittest.equals('foo'));
@@ -1873,14 +1873,14 @@
buildCounterHivePartitioningOptions--;
}
-buildUnnamed3625() {
+buildUnnamed3629() {
var o = new core.List<api.ClusterInfo>();
o.add(buildClusterInfo());
o.add(buildClusterInfo());
return o;
}
-checkUnnamed3625(core.List<api.ClusterInfo> o) {
+checkUnnamed3629(core.List<api.ClusterInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkClusterInfo(o[0]);
checkClusterInfo(o[1]);
@@ -1892,7 +1892,7 @@
buildCounterIterationResult++;
if (buildCounterIterationResult < 3) {
o.arimaResult = buildArimaResult();
- o.clusterInfos = buildUnnamed3625();
+ o.clusterInfos = buildUnnamed3629();
o.durationMs = "foo";
o.evalLoss = 42.0;
o.index = 42;
@@ -1907,7 +1907,7 @@
buildCounterIterationResult++;
if (buildCounterIterationResult < 3) {
checkArimaResult(o.arimaResult);
- checkUnnamed3625(o.clusterInfos);
+ checkUnnamed3629(o.clusterInfos);
unittest.expect(o.durationMs, unittest.equals('foo'));
unittest.expect(o.evalLoss, unittest.equals(42.0));
unittest.expect(o.index, unittest.equals(42));
@@ -1973,14 +1973,14 @@
buildCounterJobCancelResponse--;
}
-buildUnnamed3626() {
+buildUnnamed3630() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3626(core.Map<core.String, core.String> o) {
+checkUnnamed3630(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -1996,7 +1996,7 @@
o.extract = buildJobConfigurationExtract();
o.jobTimeoutMs = "foo";
o.jobType = "foo";
- o.labels = buildUnnamed3626();
+ o.labels = buildUnnamed3630();
o.load = buildJobConfigurationLoad();
o.query = buildJobConfigurationQuery();
}
@@ -2012,21 +2012,21 @@
checkJobConfigurationExtract(o.extract);
unittest.expect(o.jobTimeoutMs, unittest.equals('foo'));
unittest.expect(o.jobType, unittest.equals('foo'));
- checkUnnamed3626(o.labels);
+ checkUnnamed3630(o.labels);
checkJobConfigurationLoad(o.load);
checkJobConfigurationQuery(o.query);
}
buildCounterJobConfiguration--;
}
-buildUnnamed3627() {
+buildUnnamed3631() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3627(core.List<core.String> o) {
+checkUnnamed3631(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2040,7 +2040,7 @@
o.compression = "foo";
o.destinationFormat = "foo";
o.destinationUri = "foo";
- o.destinationUris = buildUnnamed3627();
+ o.destinationUris = buildUnnamed3631();
o.fieldDelimiter = "foo";
o.printHeader = true;
o.sourceModel = buildModelReference();
@@ -2057,7 +2057,7 @@
unittest.expect(o.compression, unittest.equals('foo'));
unittest.expect(o.destinationFormat, unittest.equals('foo'));
unittest.expect(o.destinationUri, unittest.equals('foo'));
- checkUnnamed3627(o.destinationUris);
+ checkUnnamed3631(o.destinationUris);
unittest.expect(o.fieldDelimiter, unittest.equals('foo'));
unittest.expect(o.printHeader, unittest.isTrue);
checkModelReference(o.sourceModel);
@@ -2067,155 +2067,30 @@
buildCounterJobConfigurationExtract--;
}
-buildUnnamed3628() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3628(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed3629() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3629(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed3630() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3630(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed3631() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3631(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-core.int buildCounterJobConfigurationLoad = 0;
-buildJobConfigurationLoad() {
- var o = new api.JobConfigurationLoad();
- buildCounterJobConfigurationLoad++;
- if (buildCounterJobConfigurationLoad < 3) {
- o.allowJaggedRows = true;
- o.allowQuotedNewlines = true;
- o.autodetect = true;
- o.clustering = buildClustering();
- o.createDisposition = "foo";
- o.decimalTargetTypes = buildUnnamed3628();
- o.destinationEncryptionConfiguration = buildEncryptionConfiguration();
- o.destinationTable = buildTableReference();
- o.destinationTableProperties = buildDestinationTableProperties();
- o.encoding = "foo";
- o.fieldDelimiter = "foo";
- o.hivePartitioningOptions = buildHivePartitioningOptions();
- o.ignoreUnknownValues = true;
- o.maxBadRecords = 42;
- o.nullMarker = "foo";
- o.projectionFields = buildUnnamed3629();
- o.quote = "foo";
- o.rangePartitioning = buildRangePartitioning();
- o.schema = buildTableSchema();
- o.schemaInline = "foo";
- o.schemaInlineFormat = "foo";
- o.schemaUpdateOptions = buildUnnamed3630();
- o.skipLeadingRows = 42;
- o.sourceFormat = "foo";
- o.sourceUris = buildUnnamed3631();
- o.timePartitioning = buildTimePartitioning();
- o.useAvroLogicalTypes = true;
- o.writeDisposition = "foo";
- }
- buildCounterJobConfigurationLoad--;
- return o;
-}
-
-checkJobConfigurationLoad(api.JobConfigurationLoad o) {
- buildCounterJobConfigurationLoad++;
- if (buildCounterJobConfigurationLoad < 3) {
- unittest.expect(o.allowJaggedRows, unittest.isTrue);
- unittest.expect(o.allowQuotedNewlines, unittest.isTrue);
- unittest.expect(o.autodetect, unittest.isTrue);
- checkClustering(o.clustering);
- unittest.expect(o.createDisposition, unittest.equals('foo'));
- checkUnnamed3628(o.decimalTargetTypes);
- checkEncryptionConfiguration(o.destinationEncryptionConfiguration);
- checkTableReference(o.destinationTable);
- checkDestinationTableProperties(o.destinationTableProperties);
- unittest.expect(o.encoding, unittest.equals('foo'));
- unittest.expect(o.fieldDelimiter, unittest.equals('foo'));
- checkHivePartitioningOptions(o.hivePartitioningOptions);
- unittest.expect(o.ignoreUnknownValues, unittest.isTrue);
- unittest.expect(o.maxBadRecords, unittest.equals(42));
- unittest.expect(o.nullMarker, unittest.equals('foo'));
- checkUnnamed3629(o.projectionFields);
- unittest.expect(o.quote, unittest.equals('foo'));
- checkRangePartitioning(o.rangePartitioning);
- checkTableSchema(o.schema);
- unittest.expect(o.schemaInline, unittest.equals('foo'));
- unittest.expect(o.schemaInlineFormat, unittest.equals('foo'));
- checkUnnamed3630(o.schemaUpdateOptions);
- unittest.expect(o.skipLeadingRows, unittest.equals(42));
- unittest.expect(o.sourceFormat, unittest.equals('foo'));
- checkUnnamed3631(o.sourceUris);
- checkTimePartitioning(o.timePartitioning);
- unittest.expect(o.useAvroLogicalTypes, unittest.isTrue);
- unittest.expect(o.writeDisposition, unittest.equals('foo'));
- }
- buildCounterJobConfigurationLoad--;
-}
-
buildUnnamed3632() {
- var o = new core.List<api.ConnectionProperty>();
- o.add(buildConnectionProperty());
- o.add(buildConnectionProperty());
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
return o;
}
-checkUnnamed3632(core.List<api.ConnectionProperty> o) {
+checkUnnamed3632(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
- checkConnectionProperty(o[0]);
- checkConnectionProperty(o[1]);
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
}
buildUnnamed3633() {
- var o = new core.List<api.QueryParameter>();
- o.add(buildQueryParameter());
- o.add(buildQueryParameter());
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
return o;
}
-checkUnnamed3633(core.List<api.QueryParameter> o) {
+checkUnnamed3633(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
- checkQueryParameter(o[0]);
- checkQueryParameter(o[1]);
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
}
buildUnnamed3634() {
@@ -2232,26 +2107,151 @@
}
buildUnnamed3635() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3635(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+core.int buildCounterJobConfigurationLoad = 0;
+buildJobConfigurationLoad() {
+ var o = new api.JobConfigurationLoad();
+ buildCounterJobConfigurationLoad++;
+ if (buildCounterJobConfigurationLoad < 3) {
+ o.allowJaggedRows = true;
+ o.allowQuotedNewlines = true;
+ o.autodetect = true;
+ o.clustering = buildClustering();
+ o.createDisposition = "foo";
+ o.decimalTargetTypes = buildUnnamed3632();
+ o.destinationEncryptionConfiguration = buildEncryptionConfiguration();
+ o.destinationTable = buildTableReference();
+ o.destinationTableProperties = buildDestinationTableProperties();
+ o.encoding = "foo";
+ o.fieldDelimiter = "foo";
+ o.hivePartitioningOptions = buildHivePartitioningOptions();
+ o.ignoreUnknownValues = true;
+ o.maxBadRecords = 42;
+ o.nullMarker = "foo";
+ o.projectionFields = buildUnnamed3633();
+ o.quote = "foo";
+ o.rangePartitioning = buildRangePartitioning();
+ o.schema = buildTableSchema();
+ o.schemaInline = "foo";
+ o.schemaInlineFormat = "foo";
+ o.schemaUpdateOptions = buildUnnamed3634();
+ o.skipLeadingRows = 42;
+ o.sourceFormat = "foo";
+ o.sourceUris = buildUnnamed3635();
+ o.timePartitioning = buildTimePartitioning();
+ o.useAvroLogicalTypes = true;
+ o.writeDisposition = "foo";
+ }
+ buildCounterJobConfigurationLoad--;
+ return o;
+}
+
+checkJobConfigurationLoad(api.JobConfigurationLoad o) {
+ buildCounterJobConfigurationLoad++;
+ if (buildCounterJobConfigurationLoad < 3) {
+ unittest.expect(o.allowJaggedRows, unittest.isTrue);
+ unittest.expect(o.allowQuotedNewlines, unittest.isTrue);
+ unittest.expect(o.autodetect, unittest.isTrue);
+ checkClustering(o.clustering);
+ unittest.expect(o.createDisposition, unittest.equals('foo'));
+ checkUnnamed3632(o.decimalTargetTypes);
+ checkEncryptionConfiguration(o.destinationEncryptionConfiguration);
+ checkTableReference(o.destinationTable);
+ checkDestinationTableProperties(o.destinationTableProperties);
+ unittest.expect(o.encoding, unittest.equals('foo'));
+ unittest.expect(o.fieldDelimiter, unittest.equals('foo'));
+ checkHivePartitioningOptions(o.hivePartitioningOptions);
+ unittest.expect(o.ignoreUnknownValues, unittest.isTrue);
+ unittest.expect(o.maxBadRecords, unittest.equals(42));
+ unittest.expect(o.nullMarker, unittest.equals('foo'));
+ checkUnnamed3633(o.projectionFields);
+ unittest.expect(o.quote, unittest.equals('foo'));
+ checkRangePartitioning(o.rangePartitioning);
+ checkTableSchema(o.schema);
+ unittest.expect(o.schemaInline, unittest.equals('foo'));
+ unittest.expect(o.schemaInlineFormat, unittest.equals('foo'));
+ checkUnnamed3634(o.schemaUpdateOptions);
+ unittest.expect(o.skipLeadingRows, unittest.equals(42));
+ unittest.expect(o.sourceFormat, unittest.equals('foo'));
+ checkUnnamed3635(o.sourceUris);
+ checkTimePartitioning(o.timePartitioning);
+ unittest.expect(o.useAvroLogicalTypes, unittest.isTrue);
+ unittest.expect(o.writeDisposition, unittest.equals('foo'));
+ }
+ buildCounterJobConfigurationLoad--;
+}
+
+buildUnnamed3636() {
+ var o = new core.List<api.ConnectionProperty>();
+ o.add(buildConnectionProperty());
+ o.add(buildConnectionProperty());
+ return o;
+}
+
+checkUnnamed3636(core.List<api.ConnectionProperty> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkConnectionProperty(o[0]);
+ checkConnectionProperty(o[1]);
+}
+
+buildUnnamed3637() {
+ var o = new core.List<api.QueryParameter>();
+ o.add(buildQueryParameter());
+ o.add(buildQueryParameter());
+ return o;
+}
+
+checkUnnamed3637(core.List<api.QueryParameter> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkQueryParameter(o[0]);
+ checkQueryParameter(o[1]);
+}
+
+buildUnnamed3638() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3638(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed3639() {
var o = new core.Map<core.String, api.ExternalDataConfiguration>();
o["x"] = buildExternalDataConfiguration();
o["y"] = buildExternalDataConfiguration();
return o;
}
-checkUnnamed3635(core.Map<core.String, api.ExternalDataConfiguration> o) {
+checkUnnamed3639(core.Map<core.String, api.ExternalDataConfiguration> o) {
unittest.expect(o, unittest.hasLength(2));
checkExternalDataConfiguration(o["x"]);
checkExternalDataConfiguration(o["y"]);
}
-buildUnnamed3636() {
+buildUnnamed3640() {
var o = new core.List<api.UserDefinedFunctionResource>();
o.add(buildUserDefinedFunctionResource());
o.add(buildUserDefinedFunctionResource());
return o;
}
-checkUnnamed3636(core.List<api.UserDefinedFunctionResource> o) {
+checkUnnamed3640(core.List<api.UserDefinedFunctionResource> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserDefinedFunctionResource(o[0]);
checkUserDefinedFunctionResource(o[1]);
@@ -2264,7 +2264,7 @@
if (buildCounterJobConfigurationQuery < 3) {
o.allowLargeResults = true;
o.clustering = buildClustering();
- o.connectionProperties = buildUnnamed3632();
+ o.connectionProperties = buildUnnamed3636();
o.createDisposition = "foo";
o.defaultDataset = buildDatasetReference();
o.destinationEncryptionConfiguration = buildEncryptionConfiguration();
@@ -2276,14 +2276,14 @@
o.preserveNulls = true;
o.priority = "foo";
o.query = "foo";
- o.queryParameters = buildUnnamed3633();
+ o.queryParameters = buildUnnamed3637();
o.rangePartitioning = buildRangePartitioning();
- o.schemaUpdateOptions = buildUnnamed3634();
- o.tableDefinitions = buildUnnamed3635();
+ o.schemaUpdateOptions = buildUnnamed3638();
+ o.tableDefinitions = buildUnnamed3639();
o.timePartitioning = buildTimePartitioning();
o.useLegacySql = true;
o.useQueryCache = true;
- o.userDefinedFunctionResources = buildUnnamed3636();
+ o.userDefinedFunctionResources = buildUnnamed3640();
o.writeDisposition = "foo";
}
buildCounterJobConfigurationQuery--;
@@ -2295,7 +2295,7 @@
if (buildCounterJobConfigurationQuery < 3) {
unittest.expect(o.allowLargeResults, unittest.isTrue);
checkClustering(o.clustering);
- checkUnnamed3632(o.connectionProperties);
+ checkUnnamed3636(o.connectionProperties);
unittest.expect(o.createDisposition, unittest.equals('foo'));
checkDatasetReference(o.defaultDataset);
checkEncryptionConfiguration(o.destinationEncryptionConfiguration);
@@ -2307,27 +2307,27 @@
unittest.expect(o.preserveNulls, unittest.isTrue);
unittest.expect(o.priority, unittest.equals('foo'));
unittest.expect(o.query, unittest.equals('foo'));
- checkUnnamed3633(o.queryParameters);
+ checkUnnamed3637(o.queryParameters);
checkRangePartitioning(o.rangePartitioning);
- checkUnnamed3634(o.schemaUpdateOptions);
- checkUnnamed3635(o.tableDefinitions);
+ checkUnnamed3638(o.schemaUpdateOptions);
+ checkUnnamed3639(o.tableDefinitions);
checkTimePartitioning(o.timePartitioning);
unittest.expect(o.useLegacySql, unittest.isTrue);
unittest.expect(o.useQueryCache, unittest.isTrue);
- checkUnnamed3636(o.userDefinedFunctionResources);
+ checkUnnamed3640(o.userDefinedFunctionResources);
unittest.expect(o.writeDisposition, unittest.equals('foo'));
}
buildCounterJobConfigurationQuery--;
}
-buildUnnamed3637() {
+buildUnnamed3641() {
var o = new core.List<api.TableReference>();
o.add(buildTableReference());
o.add(buildTableReference());
return o;
}
-checkUnnamed3637(core.List<api.TableReference> o) {
+checkUnnamed3641(core.List<api.TableReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableReference(o[0]);
checkTableReference(o[1]);
@@ -2348,7 +2348,7 @@
o.destinationTable = buildTableReference();
o.operationType = "foo";
o.sourceTable = buildTableReference();
- o.sourceTables = buildUnnamed3637();
+ o.sourceTables = buildUnnamed3641();
o.writeDisposition = "foo";
}
buildCounterJobConfigurationTableCopy--;
@@ -2368,7 +2368,7 @@
checkTableReference(o.destinationTable);
unittest.expect(o.operationType, unittest.equals('foo'));
checkTableReference(o.sourceTable);
- checkUnnamed3637(o.sourceTables);
+ checkUnnamed3641(o.sourceTables);
unittest.expect(o.writeDisposition, unittest.equals('foo'));
}
buildCounterJobConfigurationTableCopy--;
@@ -2409,14 +2409,14 @@
buildCounterJobListJobs--;
}
-buildUnnamed3638() {
+buildUnnamed3642() {
var o = new core.List<api.JobListJobs>();
o.add(buildJobListJobs());
o.add(buildJobListJobs());
return o;
}
-checkUnnamed3638(core.List<api.JobListJobs> o) {
+checkUnnamed3642(core.List<api.JobListJobs> o) {
unittest.expect(o, unittest.hasLength(2));
checkJobListJobs(o[0]);
checkJobListJobs(o[1]);
@@ -2428,7 +2428,7 @@
buildCounterJobList++;
if (buildCounterJobList < 3) {
o.etag = "foo";
- o.jobs = buildUnnamed3638();
+ o.jobs = buildUnnamed3642();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -2440,7 +2440,7 @@
buildCounterJobList++;
if (buildCounterJobList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed3638(o.jobs);
+ checkUnnamed3642(o.jobs);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -2470,14 +2470,14 @@
buildCounterJobReference--;
}
-buildUnnamed3639() {
+buildUnnamed3643() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3639(core.List<core.String> o) {
+checkUnnamed3643(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2504,14 +2504,14 @@
buildCounterJobStatisticsReservationUsage--;
}
-buildUnnamed3640() {
+buildUnnamed3644() {
var o = new core.List<api.JobStatisticsReservationUsage>();
o.add(buildJobStatisticsReservationUsage());
o.add(buildJobStatisticsReservationUsage());
return o;
}
-checkUnnamed3640(core.List<api.JobStatisticsReservationUsage> o) {
+checkUnnamed3644(core.List<api.JobStatisticsReservationUsage> o) {
unittest.expect(o, unittest.hasLength(2));
checkJobStatisticsReservationUsage(o[0]);
checkJobStatisticsReservationUsage(o[1]);
@@ -2530,8 +2530,8 @@
o.numChildJobs = "foo";
o.parentJobId = "foo";
o.query = buildJobStatistics2();
- o.quotaDeferments = buildUnnamed3639();
- o.reservationUsage = buildUnnamed3640();
+ o.quotaDeferments = buildUnnamed3643();
+ o.reservationUsage = buildUnnamed3644();
o.reservationId = "foo";
o.rowLevelSecurityStatistics = buildRowLevelSecurityStatistics();
o.scriptStatistics = buildScriptStatistics();
@@ -2555,8 +2555,8 @@
unittest.expect(o.numChildJobs, unittest.equals('foo'));
unittest.expect(o.parentJobId, unittest.equals('foo'));
checkJobStatistics2(o.query);
- checkUnnamed3639(o.quotaDeferments);
- checkUnnamed3640(o.reservationUsage);
+ checkUnnamed3643(o.quotaDeferments);
+ checkUnnamed3644(o.reservationUsage);
unittest.expect(o.reservationId, unittest.equals('foo'));
checkRowLevelSecurityStatistics(o.rowLevelSecurityStatistics);
checkScriptStatistics(o.scriptStatistics);
@@ -2568,40 +2568,40 @@
buildCounterJobStatistics--;
}
-buildUnnamed3641() {
+buildUnnamed3645() {
var o = new core.List<api.ExplainQueryStage>();
o.add(buildExplainQueryStage());
o.add(buildExplainQueryStage());
return o;
}
-checkUnnamed3641(core.List<api.ExplainQueryStage> o) {
+checkUnnamed3645(core.List<api.ExplainQueryStage> o) {
unittest.expect(o, unittest.hasLength(2));
checkExplainQueryStage(o[0]);
checkExplainQueryStage(o[1]);
}
-buildUnnamed3642() {
+buildUnnamed3646() {
var o = new core.List<api.RoutineReference>();
o.add(buildRoutineReference());
o.add(buildRoutineReference());
return o;
}
-checkUnnamed3642(core.List<api.RoutineReference> o) {
+checkUnnamed3646(core.List<api.RoutineReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkRoutineReference(o[0]);
checkRoutineReference(o[1]);
}
-buildUnnamed3643() {
+buildUnnamed3647() {
var o = new core.List<api.TableReference>();
o.add(buildTableReference());
o.add(buildTableReference());
return o;
}
-checkUnnamed3643(core.List<api.TableReference> o) {
+checkUnnamed3647(core.List<api.TableReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableReference(o[0]);
checkTableReference(o[1]);
@@ -2628,40 +2628,40 @@
buildCounterJobStatistics2ReservationUsage--;
}
-buildUnnamed3644() {
+buildUnnamed3648() {
var o = new core.List<api.JobStatistics2ReservationUsage>();
o.add(buildJobStatistics2ReservationUsage());
o.add(buildJobStatistics2ReservationUsage());
return o;
}
-checkUnnamed3644(core.List<api.JobStatistics2ReservationUsage> o) {
+checkUnnamed3648(core.List<api.JobStatistics2ReservationUsage> o) {
unittest.expect(o, unittest.hasLength(2));
checkJobStatistics2ReservationUsage(o[0]);
checkJobStatistics2ReservationUsage(o[1]);
}
-buildUnnamed3645() {
+buildUnnamed3649() {
var o = new core.List<api.QueryTimelineSample>();
o.add(buildQueryTimelineSample());
o.add(buildQueryTimelineSample());
return o;
}
-checkUnnamed3645(core.List<api.QueryTimelineSample> o) {
+checkUnnamed3649(core.List<api.QueryTimelineSample> o) {
unittest.expect(o, unittest.hasLength(2));
checkQueryTimelineSample(o[0]);
checkQueryTimelineSample(o[1]);
}
-buildUnnamed3646() {
+buildUnnamed3650() {
var o = new core.List<api.QueryParameter>();
o.add(buildQueryParameter());
o.add(buildQueryParameter());
return o;
}
-checkUnnamed3646(core.List<api.QueryParameter> o) {
+checkUnnamed3650(core.List<api.QueryParameter> o) {
unittest.expect(o, unittest.hasLength(2));
checkQueryParameter(o[0]);
checkQueryParameter(o[1]);
@@ -2684,19 +2684,19 @@
o.modelTrainingCurrentIteration = 42;
o.modelTrainingExpectedTotalIteration = "foo";
o.numDmlAffectedRows = "foo";
- o.queryPlan = buildUnnamed3641();
- o.referencedRoutines = buildUnnamed3642();
- o.referencedTables = buildUnnamed3643();
- o.reservationUsage = buildUnnamed3644();
+ o.queryPlan = buildUnnamed3645();
+ o.referencedRoutines = buildUnnamed3646();
+ o.referencedTables = buildUnnamed3647();
+ o.reservationUsage = buildUnnamed3648();
o.schema = buildTableSchema();
o.statementType = "foo";
- o.timeline = buildUnnamed3645();
+ o.timeline = buildUnnamed3649();
o.totalBytesBilled = "foo";
o.totalBytesProcessed = "foo";
o.totalBytesProcessedAccuracy = "foo";
o.totalPartitionsProcessed = "foo";
o.totalSlotMs = "foo";
- o.undeclaredQueryParameters = buildUnnamed3646();
+ o.undeclaredQueryParameters = buildUnnamed3650();
}
buildCounterJobStatistics2--;
return o;
@@ -2718,19 +2718,19 @@
unittest.expect(
o.modelTrainingExpectedTotalIteration, unittest.equals('foo'));
unittest.expect(o.numDmlAffectedRows, unittest.equals('foo'));
- checkUnnamed3641(o.queryPlan);
- checkUnnamed3642(o.referencedRoutines);
- checkUnnamed3643(o.referencedTables);
- checkUnnamed3644(o.reservationUsage);
+ checkUnnamed3645(o.queryPlan);
+ checkUnnamed3646(o.referencedRoutines);
+ checkUnnamed3647(o.referencedTables);
+ checkUnnamed3648(o.reservationUsage);
checkTableSchema(o.schema);
unittest.expect(o.statementType, unittest.equals('foo'));
- checkUnnamed3645(o.timeline);
+ checkUnnamed3649(o.timeline);
unittest.expect(o.totalBytesBilled, unittest.equals('foo'));
unittest.expect(o.totalBytesProcessed, unittest.equals('foo'));
unittest.expect(o.totalBytesProcessedAccuracy, unittest.equals('foo'));
unittest.expect(o.totalPartitionsProcessed, unittest.equals('foo'));
unittest.expect(o.totalSlotMs, unittest.equals('foo'));
- checkUnnamed3646(o.undeclaredQueryParameters);
+ checkUnnamed3650(o.undeclaredQueryParameters);
}
buildCounterJobStatistics2--;
}
@@ -2762,14 +2762,14 @@
buildCounterJobStatistics3--;
}
-buildUnnamed3647() {
+buildUnnamed3651() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3647(core.List<core.String> o) {
+checkUnnamed3651(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2780,7 +2780,7 @@
var o = new api.JobStatistics4();
buildCounterJobStatistics4++;
if (buildCounterJobStatistics4 < 3) {
- o.destinationUriFileCounts = buildUnnamed3647();
+ o.destinationUriFileCounts = buildUnnamed3651();
o.inputBytes = "foo";
}
buildCounterJobStatistics4--;
@@ -2790,20 +2790,20 @@
checkJobStatistics4(api.JobStatistics4 o) {
buildCounterJobStatistics4++;
if (buildCounterJobStatistics4 < 3) {
- checkUnnamed3647(o.destinationUriFileCounts);
+ checkUnnamed3651(o.destinationUriFileCounts);
unittest.expect(o.inputBytes, unittest.equals('foo'));
}
buildCounterJobStatistics4--;
}
-buildUnnamed3648() {
+buildUnnamed3652() {
var o = new core.List<api.ErrorProto>();
o.add(buildErrorProto());
o.add(buildErrorProto());
return o;
}
-checkUnnamed3648(core.List<api.ErrorProto> o) {
+checkUnnamed3652(core.List<api.ErrorProto> o) {
unittest.expect(o, unittest.hasLength(2));
checkErrorProto(o[0]);
checkErrorProto(o[1]);
@@ -2815,7 +2815,7 @@
buildCounterJobStatus++;
if (buildCounterJobStatus < 3) {
o.errorResult = buildErrorProto();
- o.errors = buildUnnamed3648();
+ o.errors = buildUnnamed3652();
o.state = "foo";
}
buildCounterJobStatus--;
@@ -2826,7 +2826,7 @@
buildCounterJobStatus++;
if (buildCounterJobStatus < 3) {
checkErrorProto(o.errorResult);
- checkUnnamed3648(o.errors);
+ checkUnnamed3652(o.errors);
unittest.expect(o.state, unittest.equals('foo'));
}
buildCounterJobStatus--;
@@ -2861,14 +2861,14 @@
unittest.expect(casted3["string"], unittest.equals('foo'));
}
-buildUnnamed3649() {
+buildUnnamed3653() {
var o = new core.List<api.Model>();
o.add(buildModel());
o.add(buildModel());
return o;
}
-checkUnnamed3649(core.List<api.Model> o) {
+checkUnnamed3653(core.List<api.Model> o) {
unittest.expect(o, unittest.hasLength(2));
checkModel(o[0]);
checkModel(o[1]);
@@ -2879,7 +2879,7 @@
var o = new api.ListModelsResponse();
buildCounterListModelsResponse++;
if (buildCounterListModelsResponse < 3) {
- o.models = buildUnnamed3649();
+ o.models = buildUnnamed3653();
o.nextPageToken = "foo";
}
buildCounterListModelsResponse--;
@@ -2889,20 +2889,20 @@
checkListModelsResponse(api.ListModelsResponse o) {
buildCounterListModelsResponse++;
if (buildCounterListModelsResponse < 3) {
- checkUnnamed3649(o.models);
+ checkUnnamed3653(o.models);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListModelsResponse--;
}
-buildUnnamed3650() {
+buildUnnamed3654() {
var o = new core.List<api.Routine>();
o.add(buildRoutine());
o.add(buildRoutine());
return o;
}
-checkUnnamed3650(core.List<api.Routine> o) {
+checkUnnamed3654(core.List<api.Routine> o) {
unittest.expect(o, unittest.hasLength(2));
checkRoutine(o[0]);
checkRoutine(o[1]);
@@ -2914,7 +2914,7 @@
buildCounterListRoutinesResponse++;
if (buildCounterListRoutinesResponse < 3) {
o.nextPageToken = "foo";
- o.routines = buildUnnamed3650();
+ o.routines = buildUnnamed3654();
}
buildCounterListRoutinesResponse--;
return o;
@@ -2924,7 +2924,7 @@
buildCounterListRoutinesResponse++;
if (buildCounterListRoutinesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3650(o.routines);
+ checkUnnamed3654(o.routines);
}
buildCounterListRoutinesResponse--;
}
@@ -2973,53 +2973,53 @@
buildCounterMaterializedViewDefinition--;
}
-buildUnnamed3651() {
+buildUnnamed3655() {
var o = new core.List<api.StandardSqlField>();
o.add(buildStandardSqlField());
o.add(buildStandardSqlField());
return o;
}
-checkUnnamed3651(core.List<api.StandardSqlField> o) {
+checkUnnamed3655(core.List<api.StandardSqlField> o) {
unittest.expect(o, unittest.hasLength(2));
checkStandardSqlField(o[0]);
checkStandardSqlField(o[1]);
}
-buildUnnamed3652() {
+buildUnnamed3656() {
var o = new core.List<api.StandardSqlField>();
o.add(buildStandardSqlField());
o.add(buildStandardSqlField());
return o;
}
-checkUnnamed3652(core.List<api.StandardSqlField> o) {
+checkUnnamed3656(core.List<api.StandardSqlField> o) {
unittest.expect(o, unittest.hasLength(2));
checkStandardSqlField(o[0]);
checkStandardSqlField(o[1]);
}
-buildUnnamed3653() {
+buildUnnamed3657() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3653(core.Map<core.String, core.String> o) {
+checkUnnamed3657(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed3654() {
+buildUnnamed3658() {
var o = new core.List<api.TrainingRun>();
o.add(buildTrainingRun());
o.add(buildTrainingRun());
return o;
}
-checkUnnamed3654(core.List<api.TrainingRun> o) {
+checkUnnamed3658(core.List<api.TrainingRun> o) {
unittest.expect(o, unittest.hasLength(2));
checkTrainingRun(o[0]);
checkTrainingRun(o[1]);
@@ -3035,15 +3035,15 @@
o.encryptionConfiguration = buildEncryptionConfiguration();
o.etag = "foo";
o.expirationTime = "foo";
- o.featureColumns = buildUnnamed3651();
+ o.featureColumns = buildUnnamed3655();
o.friendlyName = "foo";
- o.labelColumns = buildUnnamed3652();
- o.labels = buildUnnamed3653();
+ o.labelColumns = buildUnnamed3656();
+ o.labels = buildUnnamed3657();
o.lastModifiedTime = "foo";
o.location = "foo";
o.modelReference = buildModelReference();
o.modelType = "foo";
- o.trainingRuns = buildUnnamed3654();
+ o.trainingRuns = buildUnnamed3658();
}
buildCounterModel--;
return o;
@@ -3057,27 +3057,27 @@
checkEncryptionConfiguration(o.encryptionConfiguration);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.expirationTime, unittest.equals('foo'));
- checkUnnamed3651(o.featureColumns);
+ checkUnnamed3655(o.featureColumns);
unittest.expect(o.friendlyName, unittest.equals('foo'));
- checkUnnamed3652(o.labelColumns);
- checkUnnamed3653(o.labels);
+ checkUnnamed3656(o.labelColumns);
+ checkUnnamed3657(o.labels);
unittest.expect(o.lastModifiedTime, unittest.equals('foo'));
unittest.expect(o.location, unittest.equals('foo'));
checkModelReference(o.modelReference);
unittest.expect(o.modelType, unittest.equals('foo'));
- checkUnnamed3654(o.trainingRuns);
+ checkUnnamed3658(o.trainingRuns);
}
buildCounterModel--;
}
-buildUnnamed3655() {
+buildUnnamed3659() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3655(core.List<core.String> o) {
+checkUnnamed3659(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3088,7 +3088,7 @@
var o = new api.ModelDefinitionModelOptions();
buildCounterModelDefinitionModelOptions++;
if (buildCounterModelDefinitionModelOptions < 3) {
- o.labels = buildUnnamed3655();
+ o.labels = buildUnnamed3659();
o.lossType = "foo";
o.modelType = "foo";
}
@@ -3099,21 +3099,21 @@
checkModelDefinitionModelOptions(api.ModelDefinitionModelOptions o) {
buildCounterModelDefinitionModelOptions++;
if (buildCounterModelDefinitionModelOptions < 3) {
- checkUnnamed3655(o.labels);
+ checkUnnamed3659(o.labels);
unittest.expect(o.lossType, unittest.equals('foo'));
unittest.expect(o.modelType, unittest.equals('foo'));
}
buildCounterModelDefinitionModelOptions--;
}
-buildUnnamed3656() {
+buildUnnamed3660() {
var o = new core.List<api.BqmlTrainingRun>();
o.add(buildBqmlTrainingRun());
o.add(buildBqmlTrainingRun());
return o;
}
-checkUnnamed3656(core.List<api.BqmlTrainingRun> o) {
+checkUnnamed3660(core.List<api.BqmlTrainingRun> o) {
unittest.expect(o, unittest.hasLength(2));
checkBqmlTrainingRun(o[0]);
checkBqmlTrainingRun(o[1]);
@@ -3125,7 +3125,7 @@
buildCounterModelDefinition++;
if (buildCounterModelDefinition < 3) {
o.modelOptions = buildModelDefinitionModelOptions();
- o.trainingRuns = buildUnnamed3656();
+ o.trainingRuns = buildUnnamed3660();
}
buildCounterModelDefinition--;
return o;
@@ -3135,7 +3135,7 @@
buildCounterModelDefinition++;
if (buildCounterModelDefinition < 3) {
checkModelDefinitionModelOptions(o.modelOptions);
- checkUnnamed3656(o.trainingRuns);
+ checkUnnamed3660(o.trainingRuns);
}
buildCounterModelDefinition--;
}
@@ -3163,14 +3163,14 @@
buildCounterModelReference--;
}
-buildUnnamed3657() {
+buildUnnamed3661() {
var o = new core.List<api.ConfusionMatrix>();
o.add(buildConfusionMatrix());
o.add(buildConfusionMatrix());
return o;
}
-checkUnnamed3657(core.List<api.ConfusionMatrix> o) {
+checkUnnamed3661(core.List<api.ConfusionMatrix> o) {
unittest.expect(o, unittest.hasLength(2));
checkConfusionMatrix(o[0]);
checkConfusionMatrix(o[1]);
@@ -3182,7 +3182,7 @@
buildCounterMultiClassClassificationMetrics++;
if (buildCounterMultiClassClassificationMetrics < 3) {
o.aggregateClassificationMetrics = buildAggregateClassificationMetrics();
- o.confusionMatrixList = buildUnnamed3657();
+ o.confusionMatrixList = buildUnnamed3661();
}
buildCounterMultiClassClassificationMetrics--;
return o;
@@ -3192,32 +3192,32 @@
buildCounterMultiClassClassificationMetrics++;
if (buildCounterMultiClassClassificationMetrics < 3) {
checkAggregateClassificationMetrics(o.aggregateClassificationMetrics);
- checkUnnamed3657(o.confusionMatrixList);
+ checkUnnamed3661(o.confusionMatrixList);
}
buildCounterMultiClassClassificationMetrics--;
}
-buildUnnamed3658() {
+buildUnnamed3662() {
var o = new core.List<api.AuditConfig>();
o.add(buildAuditConfig());
o.add(buildAuditConfig());
return o;
}
-checkUnnamed3658(core.List<api.AuditConfig> o) {
+checkUnnamed3662(core.List<api.AuditConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuditConfig(o[0]);
checkAuditConfig(o[1]);
}
-buildUnnamed3659() {
+buildUnnamed3663() {
var o = new core.List<api.Binding>();
o.add(buildBinding());
o.add(buildBinding());
return o;
}
-checkUnnamed3659(core.List<api.Binding> o) {
+checkUnnamed3663(core.List<api.Binding> o) {
unittest.expect(o, unittest.hasLength(2));
checkBinding(o[0]);
checkBinding(o[1]);
@@ -3228,8 +3228,8 @@
var o = new api.Policy();
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- o.auditConfigs = buildUnnamed3658();
- o.bindings = buildUnnamed3659();
+ o.auditConfigs = buildUnnamed3662();
+ o.bindings = buildUnnamed3663();
o.etag = "foo";
o.version = 42;
}
@@ -3240,8 +3240,8 @@
checkPolicy(api.Policy o) {
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- checkUnnamed3658(o.auditConfigs);
- checkUnnamed3659(o.bindings);
+ checkUnnamed3662(o.auditConfigs);
+ checkUnnamed3663(o.bindings);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals(42));
}
@@ -3275,14 +3275,14 @@
buildCounterProjectListProjects--;
}
-buildUnnamed3660() {
+buildUnnamed3664() {
var o = new core.List<api.ProjectListProjects>();
o.add(buildProjectListProjects());
o.add(buildProjectListProjects());
return o;
}
-checkUnnamed3660(core.List<api.ProjectListProjects> o) {
+checkUnnamed3664(core.List<api.ProjectListProjects> o) {
unittest.expect(o, unittest.hasLength(2));
checkProjectListProjects(o[0]);
checkProjectListProjects(o[1]);
@@ -3296,7 +3296,7 @@
o.etag = "foo";
o.kind = "foo";
o.nextPageToken = "foo";
- o.projects = buildUnnamed3660();
+ o.projects = buildUnnamed3664();
o.totalItems = 42;
}
buildCounterProjectList--;
@@ -3309,7 +3309,7 @@
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3660(o.projects);
+ checkUnnamed3664(o.projects);
unittest.expect(o.totalItems, unittest.equals(42));
}
buildCounterProjectList--;
@@ -3380,14 +3380,14 @@
buildCounterQueryParameterTypeStructTypes--;
}
-buildUnnamed3661() {
+buildUnnamed3665() {
var o = new core.List<api.QueryParameterTypeStructTypes>();
o.add(buildQueryParameterTypeStructTypes());
o.add(buildQueryParameterTypeStructTypes());
return o;
}
-checkUnnamed3661(core.List<api.QueryParameterTypeStructTypes> o) {
+checkUnnamed3665(core.List<api.QueryParameterTypeStructTypes> o) {
unittest.expect(o, unittest.hasLength(2));
checkQueryParameterTypeStructTypes(o[0]);
checkQueryParameterTypeStructTypes(o[1]);
@@ -3399,7 +3399,7 @@
buildCounterQueryParameterType++;
if (buildCounterQueryParameterType < 3) {
o.arrayType = buildQueryParameterType();
- o.structTypes = buildUnnamed3661();
+ o.structTypes = buildUnnamed3665();
o.type = "foo";
}
buildCounterQueryParameterType--;
@@ -3410,33 +3410,33 @@
buildCounterQueryParameterType++;
if (buildCounterQueryParameterType < 3) {
checkQueryParameterType(o.arrayType);
- checkUnnamed3661(o.structTypes);
+ checkUnnamed3665(o.structTypes);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterQueryParameterType--;
}
-buildUnnamed3662() {
+buildUnnamed3666() {
var o = new core.List<api.QueryParameterValue>();
o.add(buildQueryParameterValue());
o.add(buildQueryParameterValue());
return o;
}
-checkUnnamed3662(core.List<api.QueryParameterValue> o) {
+checkUnnamed3666(core.List<api.QueryParameterValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkQueryParameterValue(o[0]);
checkQueryParameterValue(o[1]);
}
-buildUnnamed3663() {
+buildUnnamed3667() {
var o = new core.Map<core.String, api.QueryParameterValue>();
o["x"] = buildQueryParameterValue();
o["y"] = buildQueryParameterValue();
return o;
}
-checkUnnamed3663(core.Map<core.String, api.QueryParameterValue> o) {
+checkUnnamed3667(core.Map<core.String, api.QueryParameterValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkQueryParameterValue(o["x"]);
checkQueryParameterValue(o["y"]);
@@ -3447,8 +3447,8 @@
var o = new api.QueryParameterValue();
buildCounterQueryParameterValue++;
if (buildCounterQueryParameterValue < 3) {
- o.arrayValues = buildUnnamed3662();
- o.structValues = buildUnnamed3663();
+ o.arrayValues = buildUnnamed3666();
+ o.structValues = buildUnnamed3667();
o.value = "foo";
}
buildCounterQueryParameterValue--;
@@ -3458,47 +3458,47 @@
checkQueryParameterValue(api.QueryParameterValue o) {
buildCounterQueryParameterValue++;
if (buildCounterQueryParameterValue < 3) {
- checkUnnamed3662(o.arrayValues);
- checkUnnamed3663(o.structValues);
+ checkUnnamed3666(o.arrayValues);
+ checkUnnamed3667(o.structValues);
unittest.expect(o.value, unittest.equals('foo'));
}
buildCounterQueryParameterValue--;
}
-buildUnnamed3664() {
+buildUnnamed3668() {
var o = new core.List<api.ConnectionProperty>();
o.add(buildConnectionProperty());
o.add(buildConnectionProperty());
return o;
}
-checkUnnamed3664(core.List<api.ConnectionProperty> o) {
+checkUnnamed3668(core.List<api.ConnectionProperty> o) {
unittest.expect(o, unittest.hasLength(2));
checkConnectionProperty(o[0]);
checkConnectionProperty(o[1]);
}
-buildUnnamed3665() {
+buildUnnamed3669() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3665(core.Map<core.String, core.String> o) {
+checkUnnamed3669(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed3666() {
+buildUnnamed3670() {
var o = new core.List<api.QueryParameter>();
o.add(buildQueryParameter());
o.add(buildQueryParameter());
return o;
}
-checkUnnamed3666(core.List<api.QueryParameter> o) {
+checkUnnamed3670(core.List<api.QueryParameter> o) {
unittest.expect(o, unittest.hasLength(2));
checkQueryParameter(o[0]);
checkQueryParameter(o[1]);
@@ -3509,18 +3509,18 @@
var o = new api.QueryRequest();
buildCounterQueryRequest++;
if (buildCounterQueryRequest < 3) {
- o.connectionProperties = buildUnnamed3664();
+ o.connectionProperties = buildUnnamed3668();
o.defaultDataset = buildDatasetReference();
o.dryRun = true;
o.kind = "foo";
- o.labels = buildUnnamed3665();
+ o.labels = buildUnnamed3669();
o.location = "foo";
o.maxResults = 42;
o.maximumBytesBilled = "foo";
o.parameterMode = "foo";
o.preserveNulls = true;
o.query = "foo";
- o.queryParameters = buildUnnamed3666();
+ o.queryParameters = buildUnnamed3670();
o.requestId = "foo";
o.timeoutMs = 42;
o.useLegacySql = true;
@@ -3533,18 +3533,18 @@
checkQueryRequest(api.QueryRequest o) {
buildCounterQueryRequest++;
if (buildCounterQueryRequest < 3) {
- checkUnnamed3664(o.connectionProperties);
+ checkUnnamed3668(o.connectionProperties);
checkDatasetReference(o.defaultDataset);
unittest.expect(o.dryRun, unittest.isTrue);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed3665(o.labels);
+ checkUnnamed3669(o.labels);
unittest.expect(o.location, unittest.equals('foo'));
unittest.expect(o.maxResults, unittest.equals(42));
unittest.expect(o.maximumBytesBilled, unittest.equals('foo'));
unittest.expect(o.parameterMode, unittest.equals('foo'));
unittest.expect(o.preserveNulls, unittest.isTrue);
unittest.expect(o.query, unittest.equals('foo'));
- checkUnnamed3666(o.queryParameters);
+ checkUnnamed3670(o.queryParameters);
unittest.expect(o.requestId, unittest.equals('foo'));
unittest.expect(o.timeoutMs, unittest.equals(42));
unittest.expect(o.useLegacySql, unittest.isTrue);
@@ -3553,27 +3553,27 @@
buildCounterQueryRequest--;
}
-buildUnnamed3667() {
+buildUnnamed3671() {
var o = new core.List<api.ErrorProto>();
o.add(buildErrorProto());
o.add(buildErrorProto());
return o;
}
-checkUnnamed3667(core.List<api.ErrorProto> o) {
+checkUnnamed3671(core.List<api.ErrorProto> o) {
unittest.expect(o, unittest.hasLength(2));
checkErrorProto(o[0]);
checkErrorProto(o[1]);
}
-buildUnnamed3668() {
+buildUnnamed3672() {
var o = new core.List<api.TableRow>();
o.add(buildTableRow());
o.add(buildTableRow());
return o;
}
-checkUnnamed3668(core.List<api.TableRow> o) {
+checkUnnamed3672(core.List<api.TableRow> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableRow(o[0]);
checkTableRow(o[1]);
@@ -3585,13 +3585,13 @@
buildCounterQueryResponse++;
if (buildCounterQueryResponse < 3) {
o.cacheHit = true;
- o.errors = buildUnnamed3667();
+ o.errors = buildUnnamed3671();
o.jobComplete = true;
o.jobReference = buildJobReference();
o.kind = "foo";
o.numDmlAffectedRows = "foo";
o.pageToken = "foo";
- o.rows = buildUnnamed3668();
+ o.rows = buildUnnamed3672();
o.schema = buildTableSchema();
o.totalBytesProcessed = "foo";
o.totalRows = "foo";
@@ -3604,13 +3604,13 @@
buildCounterQueryResponse++;
if (buildCounterQueryResponse < 3) {
unittest.expect(o.cacheHit, unittest.isTrue);
- checkUnnamed3667(o.errors);
+ checkUnnamed3671(o.errors);
unittest.expect(o.jobComplete, unittest.isTrue);
checkJobReference(o.jobReference);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.numDmlAffectedRows, unittest.equals('foo'));
unittest.expect(o.pageToken, unittest.equals('foo'));
- checkUnnamed3668(o.rows);
+ checkUnnamed3672(o.rows);
checkTableSchema(o.schema);
unittest.expect(o.totalBytesProcessed, unittest.equals('foo'));
unittest.expect(o.totalRows, unittest.equals('foo'));
@@ -3742,27 +3742,27 @@
buildCounterRegressionMetrics--;
}
-buildUnnamed3669() {
+buildUnnamed3673() {
var o = new core.List<api.Argument>();
o.add(buildArgument());
o.add(buildArgument());
return o;
}
-checkUnnamed3669(core.List<api.Argument> o) {
+checkUnnamed3673(core.List<api.Argument> o) {
unittest.expect(o, unittest.hasLength(2));
checkArgument(o[0]);
checkArgument(o[1]);
}
-buildUnnamed3670() {
+buildUnnamed3674() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3670(core.List<core.String> o) {
+checkUnnamed3674(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3773,13 +3773,13 @@
var o = new api.Routine();
buildCounterRoutine++;
if (buildCounterRoutine < 3) {
- o.arguments = buildUnnamed3669();
+ o.arguments = buildUnnamed3673();
o.creationTime = "foo";
o.definitionBody = "foo";
o.description = "foo";
o.determinismLevel = "foo";
o.etag = "foo";
- o.importedLibraries = buildUnnamed3670();
+ o.importedLibraries = buildUnnamed3674();
o.language = "foo";
o.lastModifiedTime = "foo";
o.returnType = buildStandardSqlDataType();
@@ -3793,13 +3793,13 @@
checkRoutine(api.Routine o) {
buildCounterRoutine++;
if (buildCounterRoutine < 3) {
- checkUnnamed3669(o.arguments);
+ checkUnnamed3673(o.arguments);
unittest.expect(o.creationTime, unittest.equals('foo'));
unittest.expect(o.definitionBody, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.determinismLevel, unittest.equals('foo'));
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed3670(o.importedLibraries);
+ checkUnnamed3674(o.importedLibraries);
unittest.expect(o.language, unittest.equals('foo'));
unittest.expect(o.lastModifiedTime, unittest.equals('foo'));
checkStandardSqlDataType(o.returnType);
@@ -3832,14 +3832,14 @@
buildCounterRoutineReference--;
}
-buildUnnamed3671() {
+buildUnnamed3675() {
var o = new core.List<api.Entry>();
o.add(buildEntry());
o.add(buildEntry());
return o;
}
-checkUnnamed3671(core.List<api.Entry> o) {
+checkUnnamed3675(core.List<api.Entry> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntry(o[0]);
checkEntry(o[1]);
@@ -3851,7 +3851,7 @@
buildCounterRow++;
if (buildCounterRow < 3) {
o.actualLabel = "foo";
- o.entries = buildUnnamed3671();
+ o.entries = buildUnnamed3675();
}
buildCounterRow--;
return o;
@@ -3861,7 +3861,7 @@
buildCounterRow++;
if (buildCounterRow < 3) {
unittest.expect(o.actualLabel, unittest.equals('foo'));
- checkUnnamed3671(o.entries);
+ checkUnnamed3675(o.entries);
}
buildCounterRow--;
}
@@ -3939,14 +3939,14 @@
buildCounterScriptStackFrame--;
}
-buildUnnamed3672() {
+buildUnnamed3676() {
var o = new core.List<api.ScriptStackFrame>();
o.add(buildScriptStackFrame());
o.add(buildScriptStackFrame());
return o;
}
-checkUnnamed3672(core.List<api.ScriptStackFrame> o) {
+checkUnnamed3676(core.List<api.ScriptStackFrame> o) {
unittest.expect(o, unittest.hasLength(2));
checkScriptStackFrame(o[0]);
checkScriptStackFrame(o[1]);
@@ -3958,7 +3958,7 @@
buildCounterScriptStatistics++;
if (buildCounterScriptStatistics < 3) {
o.evaluationKind = "foo";
- o.stackFrames = buildUnnamed3672();
+ o.stackFrames = buildUnnamed3676();
}
buildCounterScriptStatistics--;
return o;
@@ -3968,7 +3968,7 @@
buildCounterScriptStatistics++;
if (buildCounterScriptStatistics < 3) {
unittest.expect(o.evaluationKind, unittest.equals('foo'));
- checkUnnamed3672(o.stackFrames);
+ checkUnnamed3676(o.stackFrames);
}
buildCounterScriptStatistics--;
}
@@ -4060,14 +4060,14 @@
buildCounterStandardSqlField--;
}
-buildUnnamed3673() {
+buildUnnamed3677() {
var o = new core.List<api.StandardSqlField>();
o.add(buildStandardSqlField());
o.add(buildStandardSqlField());
return o;
}
-checkUnnamed3673(core.List<api.StandardSqlField> o) {
+checkUnnamed3677(core.List<api.StandardSqlField> o) {
unittest.expect(o, unittest.hasLength(2));
checkStandardSqlField(o[0]);
checkStandardSqlField(o[1]);
@@ -4078,7 +4078,7 @@
var o = new api.StandardSqlStructType();
buildCounterStandardSqlStructType++;
if (buildCounterStandardSqlStructType < 3) {
- o.fields = buildUnnamed3673();
+ o.fields = buildUnnamed3677();
}
buildCounterStandardSqlStructType--;
return o;
@@ -4087,7 +4087,7 @@
checkStandardSqlStructType(api.StandardSqlStructType o) {
buildCounterStandardSqlStructType++;
if (buildCounterStandardSqlStructType < 3) {
- checkUnnamed3673(o.fields);
+ checkUnnamed3677(o.fields);
}
buildCounterStandardSqlStructType--;
}
@@ -4115,14 +4115,14 @@
buildCounterStreamingbuffer--;
}
-buildUnnamed3674() {
+buildUnnamed3678() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3674(core.Map<core.String, core.String> o) {
+checkUnnamed3678(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -4143,7 +4143,7 @@
o.friendlyName = "foo";
o.id = "foo";
o.kind = "foo";
- o.labels = buildUnnamed3674();
+ o.labels = buildUnnamed3678();
o.lastModifiedTime = "foo";
o.location = "foo";
o.materializedView = buildMaterializedViewDefinition();
@@ -4180,7 +4180,7 @@
unittest.expect(o.friendlyName, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed3674(o.labels);
+ checkUnnamed3678(o.labels);
unittest.expect(o.lastModifiedTime, unittest.equals('foo'));
unittest.expect(o.location, unittest.equals('foo'));
checkMaterializedViewDefinition(o.materializedView);
@@ -4251,14 +4251,14 @@
buildCounterTableDataInsertAllRequestRows--;
}
-buildUnnamed3675() {
+buildUnnamed3679() {
var o = new core.List<api.TableDataInsertAllRequestRows>();
o.add(buildTableDataInsertAllRequestRows());
o.add(buildTableDataInsertAllRequestRows());
return o;
}
-checkUnnamed3675(core.List<api.TableDataInsertAllRequestRows> o) {
+checkUnnamed3679(core.List<api.TableDataInsertAllRequestRows> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableDataInsertAllRequestRows(o[0]);
checkTableDataInsertAllRequestRows(o[1]);
@@ -4271,7 +4271,7 @@
if (buildCounterTableDataInsertAllRequest < 3) {
o.ignoreUnknownValues = true;
o.kind = "foo";
- o.rows = buildUnnamed3675();
+ o.rows = buildUnnamed3679();
o.skipInvalidRows = true;
o.templateSuffix = "foo";
}
@@ -4284,21 +4284,21 @@
if (buildCounterTableDataInsertAllRequest < 3) {
unittest.expect(o.ignoreUnknownValues, unittest.isTrue);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed3675(o.rows);
+ checkUnnamed3679(o.rows);
unittest.expect(o.skipInvalidRows, unittest.isTrue);
unittest.expect(o.templateSuffix, unittest.equals('foo'));
}
buildCounterTableDataInsertAllRequest--;
}
-buildUnnamed3676() {
+buildUnnamed3680() {
var o = new core.List<api.ErrorProto>();
o.add(buildErrorProto());
o.add(buildErrorProto());
return o;
}
-checkUnnamed3676(core.List<api.ErrorProto> o) {
+checkUnnamed3680(core.List<api.ErrorProto> o) {
unittest.expect(o, unittest.hasLength(2));
checkErrorProto(o[0]);
checkErrorProto(o[1]);
@@ -4309,7 +4309,7 @@
var o = new api.TableDataInsertAllResponseInsertErrors();
buildCounterTableDataInsertAllResponseInsertErrors++;
if (buildCounterTableDataInsertAllResponseInsertErrors < 3) {
- o.errors = buildUnnamed3676();
+ o.errors = buildUnnamed3680();
o.index = 42;
}
buildCounterTableDataInsertAllResponseInsertErrors--;
@@ -4320,20 +4320,20 @@
api.TableDataInsertAllResponseInsertErrors o) {
buildCounterTableDataInsertAllResponseInsertErrors++;
if (buildCounterTableDataInsertAllResponseInsertErrors < 3) {
- checkUnnamed3676(o.errors);
+ checkUnnamed3680(o.errors);
unittest.expect(o.index, unittest.equals(42));
}
buildCounterTableDataInsertAllResponseInsertErrors--;
}
-buildUnnamed3677() {
+buildUnnamed3681() {
var o = new core.List<api.TableDataInsertAllResponseInsertErrors>();
o.add(buildTableDataInsertAllResponseInsertErrors());
o.add(buildTableDataInsertAllResponseInsertErrors());
return o;
}
-checkUnnamed3677(core.List<api.TableDataInsertAllResponseInsertErrors> o) {
+checkUnnamed3681(core.List<api.TableDataInsertAllResponseInsertErrors> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableDataInsertAllResponseInsertErrors(o[0]);
checkTableDataInsertAllResponseInsertErrors(o[1]);
@@ -4344,7 +4344,7 @@
var o = new api.TableDataInsertAllResponse();
buildCounterTableDataInsertAllResponse++;
if (buildCounterTableDataInsertAllResponse < 3) {
- o.insertErrors = buildUnnamed3677();
+ o.insertErrors = buildUnnamed3681();
o.kind = "foo";
}
buildCounterTableDataInsertAllResponse--;
@@ -4354,20 +4354,20 @@
checkTableDataInsertAllResponse(api.TableDataInsertAllResponse o) {
buildCounterTableDataInsertAllResponse++;
if (buildCounterTableDataInsertAllResponse < 3) {
- checkUnnamed3677(o.insertErrors);
+ checkUnnamed3681(o.insertErrors);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterTableDataInsertAllResponse--;
}
-buildUnnamed3678() {
+buildUnnamed3682() {
var o = new core.List<api.TableRow>();
o.add(buildTableRow());
o.add(buildTableRow());
return o;
}
-checkUnnamed3678(core.List<api.TableRow> o) {
+checkUnnamed3682(core.List<api.TableRow> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableRow(o[0]);
checkTableRow(o[1]);
@@ -4381,7 +4381,7 @@
o.etag = "foo";
o.kind = "foo";
o.pageToken = "foo";
- o.rows = buildUnnamed3678();
+ o.rows = buildUnnamed3682();
o.totalRows = "foo";
}
buildCounterTableDataList--;
@@ -4394,20 +4394,20 @@
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.pageToken, unittest.equals('foo'));
- checkUnnamed3678(o.rows);
+ checkUnnamed3682(o.rows);
unittest.expect(o.totalRows, unittest.equals('foo'));
}
buildCounterTableDataList--;
}
-buildUnnamed3679() {
+buildUnnamed3683() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3679(core.List<core.String> o) {
+checkUnnamed3683(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -4418,7 +4418,7 @@
var o = new api.TableFieldSchemaCategories();
buildCounterTableFieldSchemaCategories++;
if (buildCounterTableFieldSchemaCategories < 3) {
- o.names = buildUnnamed3679();
+ o.names = buildUnnamed3683();
}
buildCounterTableFieldSchemaCategories--;
return o;
@@ -4427,32 +4427,32 @@
checkTableFieldSchemaCategories(api.TableFieldSchemaCategories o) {
buildCounterTableFieldSchemaCategories++;
if (buildCounterTableFieldSchemaCategories < 3) {
- checkUnnamed3679(o.names);
+ checkUnnamed3683(o.names);
}
buildCounterTableFieldSchemaCategories--;
}
-buildUnnamed3680() {
+buildUnnamed3684() {
var o = new core.List<api.TableFieldSchema>();
o.add(buildTableFieldSchema());
o.add(buildTableFieldSchema());
return o;
}
-checkUnnamed3680(core.List<api.TableFieldSchema> o) {
+checkUnnamed3684(core.List<api.TableFieldSchema> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableFieldSchema(o[0]);
checkTableFieldSchema(o[1]);
}
-buildUnnamed3681() {
+buildUnnamed3685() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3681(core.List<core.String> o) {
+checkUnnamed3685(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -4463,7 +4463,7 @@
var o = new api.TableFieldSchemaPolicyTags();
buildCounterTableFieldSchemaPolicyTags++;
if (buildCounterTableFieldSchemaPolicyTags < 3) {
- o.names = buildUnnamed3681();
+ o.names = buildUnnamed3685();
}
buildCounterTableFieldSchemaPolicyTags--;
return o;
@@ -4472,7 +4472,7 @@
checkTableFieldSchemaPolicyTags(api.TableFieldSchemaPolicyTags o) {
buildCounterTableFieldSchemaPolicyTags++;
if (buildCounterTableFieldSchemaPolicyTags < 3) {
- checkUnnamed3681(o.names);
+ checkUnnamed3685(o.names);
}
buildCounterTableFieldSchemaPolicyTags--;
}
@@ -4484,7 +4484,7 @@
if (buildCounterTableFieldSchema < 3) {
o.categories = buildTableFieldSchemaCategories();
o.description = "foo";
- o.fields = buildUnnamed3680();
+ o.fields = buildUnnamed3684();
o.mode = "foo";
o.name = "foo";
o.policyTags = buildTableFieldSchemaPolicyTags();
@@ -4499,7 +4499,7 @@
if (buildCounterTableFieldSchema < 3) {
checkTableFieldSchemaCategories(o.categories);
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed3680(o.fields);
+ checkUnnamed3684(o.fields);
unittest.expect(o.mode, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
checkTableFieldSchemaPolicyTags(o.policyTags);
@@ -4508,14 +4508,14 @@
buildCounterTableFieldSchema--;
}
-buildUnnamed3682() {
+buildUnnamed3686() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3682(core.Map<core.String, core.String> o) {
+checkUnnamed3686(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -4551,7 +4551,7 @@
o.friendlyName = "foo";
o.id = "foo";
o.kind = "foo";
- o.labels = buildUnnamed3682();
+ o.labels = buildUnnamed3686();
o.rangePartitioning = buildRangePartitioning();
o.tableReference = buildTableReference();
o.timePartitioning = buildTimePartitioning();
@@ -4571,7 +4571,7 @@
unittest.expect(o.friendlyName, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed3682(o.labels);
+ checkUnnamed3686(o.labels);
checkRangePartitioning(o.rangePartitioning);
checkTableReference(o.tableReference);
checkTimePartitioning(o.timePartitioning);
@@ -4581,14 +4581,14 @@
buildCounterTableListTables--;
}
-buildUnnamed3683() {
+buildUnnamed3687() {
var o = new core.List<api.TableListTables>();
o.add(buildTableListTables());
o.add(buildTableListTables());
return o;
}
-checkUnnamed3683(core.List<api.TableListTables> o) {
+checkUnnamed3687(core.List<api.TableListTables> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableListTables(o[0]);
checkTableListTables(o[1]);
@@ -4602,7 +4602,7 @@
o.etag = "foo";
o.kind = "foo";
o.nextPageToken = "foo";
- o.tables = buildUnnamed3683();
+ o.tables = buildUnnamed3687();
o.totalItems = 42;
}
buildCounterTableList--;
@@ -4615,7 +4615,7 @@
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3683(o.tables);
+ checkUnnamed3687(o.tables);
unittest.expect(o.totalItems, unittest.equals(42));
}
buildCounterTableList--;
@@ -4644,14 +4644,14 @@
buildCounterTableReference--;
}
-buildUnnamed3684() {
+buildUnnamed3688() {
var o = new core.List<api.TableCell>();
o.add(buildTableCell());
o.add(buildTableCell());
return o;
}
-checkUnnamed3684(core.List<api.TableCell> o) {
+checkUnnamed3688(core.List<api.TableCell> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableCell(o[0]);
checkTableCell(o[1]);
@@ -4662,7 +4662,7 @@
var o = new api.TableRow();
buildCounterTableRow++;
if (buildCounterTableRow < 3) {
- o.f = buildUnnamed3684();
+ o.f = buildUnnamed3688();
}
buildCounterTableRow--;
return o;
@@ -4671,19 +4671,19 @@
checkTableRow(api.TableRow o) {
buildCounterTableRow++;
if (buildCounterTableRow < 3) {
- checkUnnamed3684(o.f);
+ checkUnnamed3688(o.f);
}
buildCounterTableRow--;
}
-buildUnnamed3685() {
+buildUnnamed3689() {
var o = new core.List<api.TableFieldSchema>();
o.add(buildTableFieldSchema());
o.add(buildTableFieldSchema());
return o;
}
-checkUnnamed3685(core.List<api.TableFieldSchema> o) {
+checkUnnamed3689(core.List<api.TableFieldSchema> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableFieldSchema(o[0]);
checkTableFieldSchema(o[1]);
@@ -4694,7 +4694,7 @@
var o = new api.TableSchema();
buildCounterTableSchema++;
if (buildCounterTableSchema < 3) {
- o.fields = buildUnnamed3685();
+ o.fields = buildUnnamed3689();
}
buildCounterTableSchema--;
return o;
@@ -4703,19 +4703,19 @@
checkTableSchema(api.TableSchema o) {
buildCounterTableSchema++;
if (buildCounterTableSchema < 3) {
- checkUnnamed3685(o.fields);
+ checkUnnamed3689(o.fields);
}
buildCounterTableSchema--;
}
-buildUnnamed3686() {
+buildUnnamed3690() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3686(core.List<core.String> o) {
+checkUnnamed3690(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -4726,7 +4726,7 @@
var o = new api.TestIamPermissionsRequest();
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- o.permissions = buildUnnamed3686();
+ o.permissions = buildUnnamed3690();
}
buildCounterTestIamPermissionsRequest--;
return o;
@@ -4735,19 +4735,19 @@
checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) {
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- checkUnnamed3686(o.permissions);
+ checkUnnamed3690(o.permissions);
}
buildCounterTestIamPermissionsRequest--;
}
-buildUnnamed3687() {
+buildUnnamed3691() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3687(core.List<core.String> o) {
+checkUnnamed3691(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -4758,7 +4758,7 @@
var o = new api.TestIamPermissionsResponse();
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- o.permissions = buildUnnamed3687();
+ o.permissions = buildUnnamed3691();
}
buildCounterTestIamPermissionsResponse--;
return o;
@@ -4767,7 +4767,7 @@
checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) {
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- checkUnnamed3687(o.permissions);
+ checkUnnamed3691(o.permissions);
}
buildCounterTestIamPermissionsResponse--;
}
@@ -4797,40 +4797,40 @@
buildCounterTimePartitioning--;
}
-buildUnnamed3688() {
+buildUnnamed3692() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3688(core.List<core.String> o) {
+checkUnnamed3692(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3689() {
+buildUnnamed3693() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3689(core.List<core.String> o) {
+checkUnnamed3693(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3690() {
+buildUnnamed3694() {
var o = new core.Map<core.String, core.double>();
o["x"] = 42.0;
o["y"] = 42.0;
return o;
}
-checkUnnamed3690(core.Map<core.String, core.double> o) {
+checkUnnamed3694(core.Map<core.String, core.double> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals(42.0));
unittest.expect(o["y"], unittest.equals(42.0));
@@ -4852,18 +4852,18 @@
o.dropout = 42.0;
o.earlyStop = true;
o.feedbackType = "foo";
- o.hiddenUnits = buildUnnamed3688();
+ o.hiddenUnits = buildUnnamed3692();
o.holidayRegion = "foo";
o.horizon = "foo";
o.includeDrift = true;
o.initialLearnRate = 42.0;
- o.inputLabelColumns = buildUnnamed3689();
+ o.inputLabelColumns = buildUnnamed3693();
o.itemColumn = "foo";
o.kmeansInitializationColumn = "foo";
o.kmeansInitializationMethod = "foo";
o.l1Regularization = 42.0;
o.l2Regularization = 42.0;
- o.labelClassWeights = buildUnnamed3690();
+ o.labelClassWeights = buildUnnamed3694();
o.learnRate = 42.0;
o.learnRateStrategy = "foo";
o.lossType = "foo";
@@ -4903,18 +4903,18 @@
unittest.expect(o.dropout, unittest.equals(42.0));
unittest.expect(o.earlyStop, unittest.isTrue);
unittest.expect(o.feedbackType, unittest.equals('foo'));
- checkUnnamed3688(o.hiddenUnits);
+ checkUnnamed3692(o.hiddenUnits);
unittest.expect(o.holidayRegion, unittest.equals('foo'));
unittest.expect(o.horizon, unittest.equals('foo'));
unittest.expect(o.includeDrift, unittest.isTrue);
unittest.expect(o.initialLearnRate, unittest.equals(42.0));
- checkUnnamed3689(o.inputLabelColumns);
+ checkUnnamed3693(o.inputLabelColumns);
unittest.expect(o.itemColumn, unittest.equals('foo'));
unittest.expect(o.kmeansInitializationColumn, unittest.equals('foo'));
unittest.expect(o.kmeansInitializationMethod, unittest.equals('foo'));
unittest.expect(o.l1Regularization, unittest.equals(42.0));
unittest.expect(o.l2Regularization, unittest.equals(42.0));
- checkUnnamed3690(o.labelClassWeights);
+ checkUnnamed3694(o.labelClassWeights);
unittest.expect(o.learnRate, unittest.equals(42.0));
unittest.expect(o.learnRateStrategy, unittest.equals('foo'));
unittest.expect(o.lossType, unittest.equals('foo'));
@@ -4939,14 +4939,14 @@
buildCounterTrainingOptions--;
}
-buildUnnamed3691() {
+buildUnnamed3695() {
var o = new core.List<api.IterationResult>();
o.add(buildIterationResult());
o.add(buildIterationResult());
return o;
}
-checkUnnamed3691(core.List<api.IterationResult> o) {
+checkUnnamed3695(core.List<api.IterationResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkIterationResult(o[0]);
checkIterationResult(o[1]);
@@ -4959,7 +4959,7 @@
if (buildCounterTrainingRun < 3) {
o.dataSplitResult = buildDataSplitResult();
o.evaluationMetrics = buildEvaluationMetrics();
- o.results = buildUnnamed3691();
+ o.results = buildUnnamed3695();
o.startTime = "foo";
o.trainingOptions = buildTrainingOptions();
}
@@ -4972,7 +4972,7 @@
if (buildCounterTrainingRun < 3) {
checkDataSplitResult(o.dataSplitResult);
checkEvaluationMetrics(o.evaluationMetrics);
- checkUnnamed3691(o.results);
+ checkUnnamed3695(o.results);
unittest.expect(o.startTime, unittest.equals('foo'));
checkTrainingOptions(o.trainingOptions);
}
@@ -5019,14 +5019,14 @@
buildCounterUserDefinedFunctionResource--;
}
-buildUnnamed3692() {
+buildUnnamed3696() {
var o = new core.List<api.UserDefinedFunctionResource>();
o.add(buildUserDefinedFunctionResource());
o.add(buildUserDefinedFunctionResource());
return o;
}
-checkUnnamed3692(core.List<api.UserDefinedFunctionResource> o) {
+checkUnnamed3696(core.List<api.UserDefinedFunctionResource> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserDefinedFunctionResource(o[0]);
checkUserDefinedFunctionResource(o[1]);
@@ -5039,7 +5039,7 @@
if (buildCounterViewDefinition < 3) {
o.query = "foo";
o.useLegacySql = true;
- o.userDefinedFunctionResources = buildUnnamed3692();
+ o.userDefinedFunctionResources = buildUnnamed3696();
}
buildCounterViewDefinition--;
return o;
@@ -5050,19 +5050,19 @@
if (buildCounterViewDefinition < 3) {
unittest.expect(o.query, unittest.equals('foo'));
unittest.expect(o.useLegacySql, unittest.isTrue);
- checkUnnamed3692(o.userDefinedFunctionResources);
+ checkUnnamed3696(o.userDefinedFunctionResources);
}
buildCounterViewDefinition--;
}
-buildUnnamed3693() {
+buildUnnamed3697() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3693(core.List<core.String> o) {
+checkUnnamed3697(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -6331,8 +6331,8 @@
var mock = new HttpServerMock();
api.DatasetsResourceApi res = new api.BigqueryApi(mock).datasets;
var arg_projectId = "foo";
- var arg_filter = "foo";
var arg_all = true;
+ var arg_filter = "foo";
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_$fields = "foo";
@@ -6378,8 +6378,8 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(queryMap["all"].first, unittest.equals("$arg_all"));
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
unittest.expect(
@@ -6394,8 +6394,8 @@
}), true);
res
.list(arg_projectId,
- filter: arg_filter,
all: arg_all,
+ filter: arg_filter,
maxResults: arg_maxResults,
pageToken: arg_pageToken,
$fields: arg_$fields)
@@ -6699,10 +6699,10 @@
api.JobsResourceApi res = new api.BigqueryApi(mock).jobs;
var arg_projectId = "foo";
var arg_jobId = "foo";
- var arg_timeoutMs = 42;
- var arg_startIndex = "foo";
- var arg_location = "foo";
var arg_maxResults = 42;
+ 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) {
@@ -6750,14 +6750,14 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(core.int.parse(queryMap["maxResults"].first),
+ unittest.equals(arg_maxResults));
+ unittest.expect(
+ queryMap["startIndex"].first, unittest.equals(arg_startIndex));
unittest.expect(core.int.parse(queryMap["timeoutMs"].first),
unittest.equals(arg_timeoutMs));
unittest.expect(
- queryMap["startIndex"].first, unittest.equals(arg_startIndex));
- 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["fields"].first, unittest.equals(arg_$fields));
@@ -6770,10 +6770,10 @@
}), true);
res
.getQueryResults(arg_projectId, arg_jobId,
- timeoutMs: arg_timeoutMs,
- startIndex: arg_startIndex,
- location: arg_location,
maxResults: arg_maxResults,
+ startIndex: arg_startIndex,
+ timeoutMs: arg_timeoutMs,
+ location: arg_location,
pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -6854,14 +6854,14 @@
var mock = new HttpServerMock();
api.JobsResourceApi res = new api.BigqueryApi(mock).jobs;
var arg_projectId = "foo";
- var arg_stateFilter = buildUnnamed3693();
- var arg_allUsers = true;
- var arg_pageToken = "foo";
+ var arg_maxCreationTime = "foo";
+ var arg_maxResults = 42;
+ var arg_stateFilter = buildUnnamed3697();
var arg_minCreationTime = "foo";
var arg_parentJobId = "foo";
- var arg_maxCreationTime = "foo";
var arg_projection = "foo";
- var arg_maxResults = 42;
+ var arg_pageToken = "foo";
+ var arg_allUsers = true;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -6905,22 +6905,22 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ 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["allUsers"].first, unittest.equals("$arg_allUsers"));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["minCreationTime"].first,
unittest.equals(arg_minCreationTime));
unittest.expect(
queryMap["parentJobId"].first, unittest.equals(arg_parentJobId));
- unittest.expect(queryMap["maxCreationTime"].first,
- unittest.equals(arg_maxCreationTime));
unittest.expect(
queryMap["projection"].first, unittest.equals(arg_projection));
- unittest.expect(core.int.parse(queryMap["maxResults"].first),
- unittest.equals(arg_maxResults));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(
+ queryMap["allUsers"].first, unittest.equals("$arg_allUsers"));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -6931,14 +6931,14 @@
}), true);
res
.list(arg_projectId,
+ maxCreationTime: arg_maxCreationTime,
+ maxResults: arg_maxResults,
stateFilter: arg_stateFilter,
- allUsers: arg_allUsers,
- pageToken: arg_pageToken,
minCreationTime: arg_minCreationTime,
parentJobId: arg_parentJobId,
- maxCreationTime: arg_maxCreationTime,
projection: arg_projection,
- maxResults: arg_maxResults,
+ pageToken: arg_pageToken,
+ allUsers: arg_allUsers,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkJobList(response);
@@ -7316,8 +7316,8 @@
unittest.test("method--list", () {
var mock = new HttpServerMock();
api.ProjectsResourceApi res = new api.BigqueryApi(mock).projects;
- var arg_maxResults = 42;
var arg_pageToken = "foo";
+ var arg_maxResults = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -7352,10 +7352,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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["maxResults"].first),
+ unittest.equals(arg_maxResults));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -7366,8 +7366,8 @@
}), true);
res
.list(
- maxResults: arg_maxResults,
pageToken: arg_pageToken,
+ maxResults: arg_maxResults,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkProjectList(response);
@@ -7558,8 +7558,8 @@
var arg_datasetId = "foo";
var arg_readMask = "foo";
var arg_pageToken = "foo";
- var arg_filter = "foo";
var arg_maxResults = 42;
+ var arg_filter = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -7599,9 +7599,9 @@
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["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -7614,8 +7614,8 @@
.list(arg_projectId, arg_datasetId,
readMask: arg_readMask,
pageToken: arg_pageToken,
- filter: arg_filter,
maxResults: arg_maxResults,
+ filter: arg_filter,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListRoutinesResponse(response);
@@ -7778,10 +7778,10 @@
var arg_projectId = "foo";
var arg_datasetId = "foo";
var arg_tableId = "foo";
- var arg_pageToken = "foo";
var arg_maxResults = 42;
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;
@@ -7843,14 +7843,14 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
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 = {
@@ -7861,10 +7861,10 @@
}), true);
res
.list(arg_projectId, arg_datasetId, arg_tableId,
- pageToken: arg_pageToken,
maxResults: arg_maxResults,
selectedFields: arg_selectedFields,
startIndex: arg_startIndex,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkTableDataList(response);
@@ -8161,8 +8161,8 @@
api.TablesResourceApi res = new api.BigqueryApi(mock).tables;
var arg_projectId = "foo";
var arg_datasetId = "foo";
- var arg_maxResults = 42;
var arg_pageToken = "foo";
+ var arg_maxResults = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -8215,10 +8215,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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["maxResults"].first),
+ unittest.equals(arg_maxResults));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -8229,8 +8229,8 @@
}), true);
res
.list(arg_projectId, arg_datasetId,
- maxResults: arg_maxResults,
pageToken: arg_pageToken,
+ maxResults: arg_maxResults,
$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 fdaee23..572eed4 100644
--- a/generated/googleapis/test/bigquerydatatransfer/v1_test.dart
+++ b/generated/googleapis/test/bigquerydatatransfer/v1_test.dart
@@ -84,27 +84,27 @@
buildCounterCheckValidCredsResponse--;
}
-buildUnnamed3694() {
+buildUnnamed3698() {
var o = new core.List<api.DataSourceParameter>();
o.add(buildDataSourceParameter());
o.add(buildDataSourceParameter());
return o;
}
-checkUnnamed3694(core.List<api.DataSourceParameter> o) {
+checkUnnamed3698(core.List<api.DataSourceParameter> o) {
unittest.expect(o, unittest.hasLength(2));
checkDataSourceParameter(o[0]);
checkDataSourceParameter(o[1]);
}
-buildUnnamed3695() {
+buildUnnamed3699() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3695(core.List<core.String> o) {
+checkUnnamed3699(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -127,8 +127,8 @@
o.manualRunsDisabled = true;
o.minimumScheduleInterval = "foo";
o.name = "foo";
- o.parameters = buildUnnamed3694();
- o.scopes = buildUnnamed3695();
+ o.parameters = buildUnnamed3698();
+ o.scopes = buildUnnamed3699();
o.supportsCustomSchedule = true;
o.supportsMultipleTransfers = true;
o.transferType = "foo";
@@ -153,8 +153,8 @@
unittest.expect(o.manualRunsDisabled, unittest.isTrue);
unittest.expect(o.minimumScheduleInterval, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed3694(o.parameters);
- checkUnnamed3695(o.scopes);
+ checkUnnamed3698(o.parameters);
+ checkUnnamed3699(o.scopes);
unittest.expect(o.supportsCustomSchedule, unittest.isTrue);
unittest.expect(o.supportsMultipleTransfers, unittest.isTrue);
unittest.expect(o.transferType, unittest.equals('foo'));
@@ -163,27 +163,27 @@
buildCounterDataSource--;
}
-buildUnnamed3696() {
+buildUnnamed3700() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3696(core.List<core.String> o) {
+checkUnnamed3700(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3697() {
+buildUnnamed3701() {
var o = new core.List<api.DataSourceParameter>();
o.add(buildDataSourceParameter());
o.add(buildDataSourceParameter());
return o;
}
-checkUnnamed3697(core.List<api.DataSourceParameter> o) {
+checkUnnamed3701(core.List<api.DataSourceParameter> o) {
unittest.expect(o, unittest.hasLength(2));
checkDataSourceParameter(o[0]);
checkDataSourceParameter(o[1]);
@@ -194,11 +194,11 @@
var o = new api.DataSourceParameter();
buildCounterDataSourceParameter++;
if (buildCounterDataSourceParameter < 3) {
- o.allowedValues = buildUnnamed3696();
+ o.allowedValues = buildUnnamed3700();
o.deprecated = true;
o.description = "foo";
o.displayName = "foo";
- o.fields = buildUnnamed3697();
+ o.fields = buildUnnamed3701();
o.immutable = true;
o.maxValue = 42.0;
o.minValue = 42.0;
@@ -218,11 +218,11 @@
checkDataSourceParameter(api.DataSourceParameter o) {
buildCounterDataSourceParameter++;
if (buildCounterDataSourceParameter < 3) {
- checkUnnamed3696(o.allowedValues);
+ checkUnnamed3700(o.allowedValues);
unittest.expect(o.deprecated, unittest.isTrue);
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed3697(o.fields);
+ checkUnnamed3701(o.fields);
unittest.expect(o.immutable, unittest.isTrue);
unittest.expect(o.maxValue, unittest.equals(42.0));
unittest.expect(o.minValue, unittest.equals(42.0));
@@ -272,14 +272,14 @@
buildCounterEmpty--;
}
-buildUnnamed3698() {
+buildUnnamed3702() {
var o = new core.List<api.DataSource>();
o.add(buildDataSource());
o.add(buildDataSource());
return o;
}
-checkUnnamed3698(core.List<api.DataSource> o) {
+checkUnnamed3702(core.List<api.DataSource> o) {
unittest.expect(o, unittest.hasLength(2));
checkDataSource(o[0]);
checkDataSource(o[1]);
@@ -290,7 +290,7 @@
var o = new api.ListDataSourcesResponse();
buildCounterListDataSourcesResponse++;
if (buildCounterListDataSourcesResponse < 3) {
- o.dataSources = buildUnnamed3698();
+ o.dataSources = buildUnnamed3702();
o.nextPageToken = "foo";
}
buildCounterListDataSourcesResponse--;
@@ -300,20 +300,20 @@
checkListDataSourcesResponse(api.ListDataSourcesResponse o) {
buildCounterListDataSourcesResponse++;
if (buildCounterListDataSourcesResponse < 3) {
- checkUnnamed3698(o.dataSources);
+ checkUnnamed3702(o.dataSources);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListDataSourcesResponse--;
}
-buildUnnamed3699() {
+buildUnnamed3703() {
var o = new core.List<api.Location>();
o.add(buildLocation());
o.add(buildLocation());
return o;
}
-checkUnnamed3699(core.List<api.Location> o) {
+checkUnnamed3703(core.List<api.Location> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocation(o[0]);
checkLocation(o[1]);
@@ -324,7 +324,7 @@
var o = new api.ListLocationsResponse();
buildCounterListLocationsResponse++;
if (buildCounterListLocationsResponse < 3) {
- o.locations = buildUnnamed3699();
+ o.locations = buildUnnamed3703();
o.nextPageToken = "foo";
}
buildCounterListLocationsResponse--;
@@ -334,20 +334,20 @@
checkListLocationsResponse(api.ListLocationsResponse o) {
buildCounterListLocationsResponse++;
if (buildCounterListLocationsResponse < 3) {
- checkUnnamed3699(o.locations);
+ checkUnnamed3703(o.locations);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListLocationsResponse--;
}
-buildUnnamed3700() {
+buildUnnamed3704() {
var o = new core.List<api.TransferConfig>();
o.add(buildTransferConfig());
o.add(buildTransferConfig());
return o;
}
-checkUnnamed3700(core.List<api.TransferConfig> o) {
+checkUnnamed3704(core.List<api.TransferConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkTransferConfig(o[0]);
checkTransferConfig(o[1]);
@@ -359,7 +359,7 @@
buildCounterListTransferConfigsResponse++;
if (buildCounterListTransferConfigsResponse < 3) {
o.nextPageToken = "foo";
- o.transferConfigs = buildUnnamed3700();
+ o.transferConfigs = buildUnnamed3704();
}
buildCounterListTransferConfigsResponse--;
return o;
@@ -369,19 +369,19 @@
buildCounterListTransferConfigsResponse++;
if (buildCounterListTransferConfigsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3700(o.transferConfigs);
+ checkUnnamed3704(o.transferConfigs);
}
buildCounterListTransferConfigsResponse--;
}
-buildUnnamed3701() {
+buildUnnamed3705() {
var o = new core.List<api.TransferMessage>();
o.add(buildTransferMessage());
o.add(buildTransferMessage());
return o;
}
-checkUnnamed3701(core.List<api.TransferMessage> o) {
+checkUnnamed3705(core.List<api.TransferMessage> o) {
unittest.expect(o, unittest.hasLength(2));
checkTransferMessage(o[0]);
checkTransferMessage(o[1]);
@@ -393,7 +393,7 @@
buildCounterListTransferLogsResponse++;
if (buildCounterListTransferLogsResponse < 3) {
o.nextPageToken = "foo";
- o.transferMessages = buildUnnamed3701();
+ o.transferMessages = buildUnnamed3705();
}
buildCounterListTransferLogsResponse--;
return o;
@@ -403,19 +403,19 @@
buildCounterListTransferLogsResponse++;
if (buildCounterListTransferLogsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3701(o.transferMessages);
+ checkUnnamed3705(o.transferMessages);
}
buildCounterListTransferLogsResponse--;
}
-buildUnnamed3702() {
+buildUnnamed3706() {
var o = new core.List<api.TransferRun>();
o.add(buildTransferRun());
o.add(buildTransferRun());
return o;
}
-checkUnnamed3702(core.List<api.TransferRun> o) {
+checkUnnamed3706(core.List<api.TransferRun> o) {
unittest.expect(o, unittest.hasLength(2));
checkTransferRun(o[0]);
checkTransferRun(o[1]);
@@ -427,7 +427,7 @@
buildCounterListTransferRunsResponse++;
if (buildCounterListTransferRunsResponse < 3) {
o.nextPageToken = "foo";
- o.transferRuns = buildUnnamed3702();
+ o.transferRuns = buildUnnamed3706();
}
buildCounterListTransferRunsResponse--;
return o;
@@ -437,25 +437,25 @@
buildCounterListTransferRunsResponse++;
if (buildCounterListTransferRunsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3702(o.transferRuns);
+ checkUnnamed3706(o.transferRuns);
}
buildCounterListTransferRunsResponse--;
}
-buildUnnamed3703() {
+buildUnnamed3707() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3703(core.Map<core.String, core.String> o) {
+checkUnnamed3707(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed3704() {
+buildUnnamed3708() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -470,7 +470,7 @@
return o;
}
-checkUnnamed3704(core.Map<core.String, core.Object> o) {
+checkUnnamed3708(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o["x"]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -490,9 +490,9 @@
buildCounterLocation++;
if (buildCounterLocation < 3) {
o.displayName = "foo";
- o.labels = buildUnnamed3703();
+ o.labels = buildUnnamed3707();
o.locationId = "foo";
- o.metadata = buildUnnamed3704();
+ o.metadata = buildUnnamed3708();
o.name = "foo";
}
buildCounterLocation--;
@@ -503,9 +503,9 @@
buildCounterLocation++;
if (buildCounterLocation < 3) {
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed3703(o.labels);
+ checkUnnamed3707(o.labels);
unittest.expect(o.locationId, unittest.equals('foo'));
- checkUnnamed3704(o.metadata);
+ checkUnnamed3708(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
}
buildCounterLocation--;
@@ -555,14 +555,14 @@
buildCounterScheduleTransferRunsRequest--;
}
-buildUnnamed3705() {
+buildUnnamed3709() {
var o = new core.List<api.TransferRun>();
o.add(buildTransferRun());
o.add(buildTransferRun());
return o;
}
-checkUnnamed3705(core.List<api.TransferRun> o) {
+checkUnnamed3709(core.List<api.TransferRun> o) {
unittest.expect(o, unittest.hasLength(2));
checkTransferRun(o[0]);
checkTransferRun(o[1]);
@@ -573,7 +573,7 @@
var o = new api.ScheduleTransferRunsResponse();
buildCounterScheduleTransferRunsResponse++;
if (buildCounterScheduleTransferRunsResponse < 3) {
- o.runs = buildUnnamed3705();
+ o.runs = buildUnnamed3709();
}
buildCounterScheduleTransferRunsResponse--;
return o;
@@ -582,7 +582,7 @@
checkScheduleTransferRunsResponse(api.ScheduleTransferRunsResponse o) {
buildCounterScheduleTransferRunsResponse++;
if (buildCounterScheduleTransferRunsResponse < 3) {
- checkUnnamed3705(o.runs);
+ checkUnnamed3709(o.runs);
}
buildCounterScheduleTransferRunsResponse--;
}
@@ -608,14 +608,14 @@
buildCounterStartManualTransferRunsRequest--;
}
-buildUnnamed3706() {
+buildUnnamed3710() {
var o = new core.List<api.TransferRun>();
o.add(buildTransferRun());
o.add(buildTransferRun());
return o;
}
-checkUnnamed3706(core.List<api.TransferRun> o) {
+checkUnnamed3710(core.List<api.TransferRun> o) {
unittest.expect(o, unittest.hasLength(2));
checkTransferRun(o[0]);
checkTransferRun(o[1]);
@@ -626,7 +626,7 @@
var o = new api.StartManualTransferRunsResponse();
buildCounterStartManualTransferRunsResponse++;
if (buildCounterStartManualTransferRunsResponse < 3) {
- o.runs = buildUnnamed3706();
+ o.runs = buildUnnamed3710();
}
buildCounterStartManualTransferRunsResponse--;
return o;
@@ -635,12 +635,12 @@
checkStartManualTransferRunsResponse(api.StartManualTransferRunsResponse o) {
buildCounterStartManualTransferRunsResponse++;
if (buildCounterStartManualTransferRunsResponse < 3) {
- checkUnnamed3706(o.runs);
+ checkUnnamed3710(o.runs);
}
buildCounterStartManualTransferRunsResponse--;
}
-buildUnnamed3707() {
+buildUnnamed3711() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -655,7 +655,7 @@
return o;
}
-checkUnnamed3707(core.Map<core.String, core.Object> o) {
+checkUnnamed3711(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted3 = (o["x"]) as core.Map;
unittest.expect(casted3, unittest.hasLength(3));
@@ -669,17 +669,17 @@
unittest.expect(casted4["string"], unittest.equals('foo'));
}
-buildUnnamed3708() {
+buildUnnamed3712() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed3707());
- o.add(buildUnnamed3707());
+ o.add(buildUnnamed3711());
+ o.add(buildUnnamed3711());
return o;
}
-checkUnnamed3708(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed3712(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed3707(o[0]);
- checkUnnamed3707(o[1]);
+ checkUnnamed3711(o[0]);
+ checkUnnamed3711(o[1]);
}
core.int buildCounterStatus = 0;
@@ -688,7 +688,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed3708();
+ o.details = buildUnnamed3712();
o.message = "foo";
}
buildCounterStatus--;
@@ -699,7 +699,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed3708(o.details);
+ checkUnnamed3712(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
@@ -726,7 +726,7 @@
buildCounterTimeRange--;
}
-buildUnnamed3709() {
+buildUnnamed3713() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -741,7 +741,7 @@
return o;
}
-checkUnnamed3709(core.Map<core.String, core.Object> o) {
+checkUnnamed3713(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted5 = (o["x"]) as core.Map;
unittest.expect(casted5, unittest.hasLength(3));
@@ -770,7 +770,7 @@
o.name = "foo";
o.nextRunTime = "foo";
o.notificationPubsubTopic = "foo";
- o.params = buildUnnamed3709();
+ o.params = buildUnnamed3713();
o.schedule = "foo";
o.scheduleOptions = buildScheduleOptions();
o.state = "foo";
@@ -794,7 +794,7 @@
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.nextRunTime, unittest.equals('foo'));
unittest.expect(o.notificationPubsubTopic, unittest.equals('foo'));
- checkUnnamed3709(o.params);
+ checkUnnamed3713(o.params);
unittest.expect(o.schedule, unittest.equals('foo'));
checkScheduleOptions(o.scheduleOptions);
unittest.expect(o.state, unittest.equals('foo'));
@@ -827,7 +827,7 @@
buildCounterTransferMessage--;
}
-buildUnnamed3710() {
+buildUnnamed3714() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -842,7 +842,7 @@
return o;
}
-checkUnnamed3710(core.Map<core.String, core.Object> o) {
+checkUnnamed3714(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted7 = (o["x"]) as core.Map;
unittest.expect(casted7, unittest.hasLength(3));
@@ -868,7 +868,7 @@
o.errorStatus = buildStatus();
o.name = "foo";
o.notificationPubsubTopic = "foo";
- o.params = buildUnnamed3710();
+ o.params = buildUnnamed3714();
o.runTime = "foo";
o.schedule = "foo";
o.scheduleTime = "foo";
@@ -891,7 +891,7 @@
checkStatus(o.errorStatus);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.notificationPubsubTopic, unittest.equals('foo'));
- checkUnnamed3710(o.params);
+ checkUnnamed3714(o.params);
unittest.expect(o.runTime, unittest.equals('foo'));
unittest.expect(o.schedule, unittest.equals('foo'));
unittest.expect(o.scheduleTime, unittest.equals('foo'));
@@ -903,58 +903,6 @@
buildCounterTransferRun--;
}
-buildUnnamed3711() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3711(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed3712() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3712(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed3713() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3713(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed3714() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3714(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed3715() {
var o = new core.List<core.String>();
o.add("foo");
@@ -981,6 +929,58 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed3717() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3717(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed3718() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3718(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed3719() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3719(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed3720() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3720(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
main() {
unittest.group("obj-schema-CheckValidCredsRequest", () {
unittest.test("to-json--from-json", () {
@@ -1387,9 +1387,9 @@
api.ProjectsLocationsResourceApi res =
new api.BigquerydatatransferApi(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;
@@ -1422,11 +1422,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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 = {
@@ -1437,9 +1437,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);
@@ -1561,8 +1561,8 @@
api.ProjectsLocationsDataSourcesResourceApi res =
new api.BigquerydatatransferApi(mock).projects.locations.dataSources;
var arg_parent = "foo";
- var arg_pageSize = 42;
var arg_pageToken = "foo";
+ var arg_pageSize = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1595,10 +1595,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1609,8 +1609,8 @@
}), true);
res
.list(arg_parent,
- pageSize: arg_pageSize,
pageToken: arg_pageToken,
+ pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListDataSourcesResponse(response);
@@ -1809,9 +1809,9 @@
.locations
.transferConfigs;
var arg_parent = "foo";
- var arg_pageToken = "foo";
var arg_pageSize = 42;
- var arg_dataSourceIds = buildUnnamed3711();
+ var arg_dataSourceIds = buildUnnamed3715();
+ var arg_pageToken = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1844,12 +1844,12 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
unittest.expect(
queryMap["dataSourceIds"], unittest.equals(arg_dataSourceIds));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1860,9 +1860,9 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
dataSourceIds: arg_dataSourceIds,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListTransferConfigsResponse(response);
@@ -1878,10 +1878,10 @@
.transferConfigs;
var arg_request = buildTransferConfig();
var arg_name = "foo";
- var arg_updateMask = "foo";
var arg_authorizationCode = "foo";
var arg_serviceAccountName = "foo";
var arg_versionInfo = "foo";
+ var arg_updateMask = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.TransferConfig.fromJson(json);
@@ -1917,14 +1917,14 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(
- queryMap["updateMask"].first, unittest.equals(arg_updateMask));
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["updateMask"].first, unittest.equals(arg_updateMask));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1935,10 +1935,10 @@
}), true);
res
.patch(arg_request, arg_name,
- updateMask: arg_updateMask,
authorizationCode: arg_authorizationCode,
serviceAccountName: arg_serviceAccountName,
versionInfo: arg_versionInfo,
+ updateMask: arg_updateMask,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkTransferConfig(response);
@@ -2187,10 +2187,10 @@
.transferConfigs
.runs;
var arg_parent = "foo";
+ var arg_states = buildUnnamed3716();
+ var arg_pageSize = 42;
var arg_pageToken = "foo";
var arg_runAttempt = "foo";
- var arg_pageSize = 42;
- var arg_states = buildUnnamed3712();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2223,13 +2223,13 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ 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(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
- unittest.expect(queryMap["states"], unittest.equals(arg_states));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2240,10 +2240,10 @@
}), true);
res
.list(arg_parent,
+ states: arg_states,
+ pageSize: arg_pageSize,
pageToken: arg_pageToken,
runAttempt: arg_runAttempt,
- pageSize: arg_pageSize,
- states: arg_states,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListTransferRunsResponse(response);
@@ -2264,9 +2264,9 @@
.runs
.transferLogs;
var arg_parent = "foo";
- var arg_pageSize = 42;
- var arg_messageTypes = buildUnnamed3713();
var arg_pageToken = "foo";
+ var arg_pageSize = 42;
+ var arg_messageTypes = buildUnnamed3717();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2299,12 +2299,12 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
unittest.expect(
queryMap["messageTypes"], unittest.equals(arg_messageTypes));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2315,9 +2315,9 @@
}), true);
res
.list(arg_parent,
+ pageToken: arg_pageToken,
pageSize: arg_pageSize,
messageTypes: arg_messageTypes,
- pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListTransferLogsResponse(response);
@@ -2504,9 +2504,9 @@
api.ProjectsTransferConfigsResourceApi res =
new api.BigquerydatatransferApi(mock).projects.transferConfigs;
var arg_parent = "foo";
- var arg_pageToken = "foo";
var arg_pageSize = 42;
- var arg_dataSourceIds = buildUnnamed3714();
+ var arg_pageToken = "foo";
+ var arg_dataSourceIds = buildUnnamed3718();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2539,11 +2539,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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["dataSourceIds"], unittest.equals(arg_dataSourceIds));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -2555,8 +2555,8 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
dataSourceIds: arg_dataSourceIds,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -2570,10 +2570,10 @@
new api.BigquerydatatransferApi(mock).projects.transferConfigs;
var arg_request = buildTransferConfig();
var arg_name = "foo";
- var arg_serviceAccountName = "foo";
- var arg_updateMask = "foo";
var arg_authorizationCode = "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 = new api.TransferConfig.fromJson(json);
@@ -2609,14 +2609,14 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["serviceAccountName"].first,
- unittest.equals(arg_serviceAccountName));
- unittest.expect(
- queryMap["updateMask"].first, unittest.equals(arg_updateMask));
unittest.expect(queryMap["authorizationCode"].first,
unittest.equals(arg_authorizationCode));
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 = {
@@ -2627,10 +2627,10 @@
}), true);
res
.patch(arg_request, arg_name,
- serviceAccountName: arg_serviceAccountName,
- updateMask: arg_updateMask,
authorizationCode: arg_authorizationCode,
+ updateMask: arg_updateMask,
versionInfo: arg_versionInfo,
+ serviceAccountName: arg_serviceAccountName,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkTransferConfig(response);
@@ -2860,10 +2860,10 @@
api.ProjectsTransferConfigsRunsResourceApi res =
new api.BigquerydatatransferApi(mock).projects.transferConfigs.runs;
var arg_parent = "foo";
- var arg_runAttempt = "foo";
- var arg_pageToken = "foo";
- var arg_states = buildUnnamed3715();
var arg_pageSize = 42;
+ var arg_states = buildUnnamed3719();
+ var arg_pageToken = "foo";
+ var arg_runAttempt = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2896,13 +2896,13 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(
- queryMap["runAttempt"].first, unittest.equals(arg_runAttempt));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(queryMap["states"], unittest.equals(arg_states));
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["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2913,10 +2913,10 @@
}), true);
res
.list(arg_parent,
- runAttempt: arg_runAttempt,
- pageToken: arg_pageToken,
- states: arg_states,
pageSize: arg_pageSize,
+ states: arg_states,
+ pageToken: arg_pageToken,
+ runAttempt: arg_runAttempt,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListTransferRunsResponse(response);
@@ -2935,9 +2935,9 @@
.runs
.transferLogs;
var arg_parent = "foo";
- var arg_messageTypes = buildUnnamed3716();
- var arg_pageSize = 42;
var arg_pageToken = "foo";
+ var arg_pageSize = 42;
+ var arg_messageTypes = buildUnnamed3720();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2971,11 +2971,11 @@
}
}
unittest.expect(
- queryMap["messageTypes"], unittest.equals(arg_messageTypes));
+ 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));
+ queryMap["messageTypes"], unittest.equals(arg_messageTypes));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2986,9 +2986,9 @@
}), true);
res
.list(arg_parent,
- messageTypes: arg_messageTypes,
- pageSize: arg_pageSize,
pageToken: arg_pageToken,
+ pageSize: arg_pageSize,
+ messageTypes: arg_messageTypes,
$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 25ef37c..ee9ce0a 100644
--- a/generated/googleapis/test/bigqueryreservation/v1_test.dart
+++ b/generated/googleapis/test/bigqueryreservation/v1_test.dart
@@ -165,14 +165,14 @@
buildCounterEmpty--;
}
-buildUnnamed5828() {
+buildUnnamed5804() {
var o = new core.List<api.Assignment>();
o.add(buildAssignment());
o.add(buildAssignment());
return o;
}
-checkUnnamed5828(core.List<api.Assignment> o) {
+checkUnnamed5804(core.List<api.Assignment> o) {
unittest.expect(o, unittest.hasLength(2));
checkAssignment(o[0]);
checkAssignment(o[1]);
@@ -183,7 +183,7 @@
var o = new api.ListAssignmentsResponse();
buildCounterListAssignmentsResponse++;
if (buildCounterListAssignmentsResponse < 3) {
- o.assignments = buildUnnamed5828();
+ o.assignments = buildUnnamed5804();
o.nextPageToken = "foo";
}
buildCounterListAssignmentsResponse--;
@@ -193,20 +193,20 @@
checkListAssignmentsResponse(api.ListAssignmentsResponse o) {
buildCounterListAssignmentsResponse++;
if (buildCounterListAssignmentsResponse < 3) {
- checkUnnamed5828(o.assignments);
+ checkUnnamed5804(o.assignments);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListAssignmentsResponse--;
}
-buildUnnamed5829() {
+buildUnnamed5805() {
var o = new core.List<api.CapacityCommitment>();
o.add(buildCapacityCommitment());
o.add(buildCapacityCommitment());
return o;
}
-checkUnnamed5829(core.List<api.CapacityCommitment> o) {
+checkUnnamed5805(core.List<api.CapacityCommitment> o) {
unittest.expect(o, unittest.hasLength(2));
checkCapacityCommitment(o[0]);
checkCapacityCommitment(o[1]);
@@ -217,7 +217,7 @@
var o = new api.ListCapacityCommitmentsResponse();
buildCounterListCapacityCommitmentsResponse++;
if (buildCounterListCapacityCommitmentsResponse < 3) {
- o.capacityCommitments = buildUnnamed5829();
+ o.capacityCommitments = buildUnnamed5805();
o.nextPageToken = "foo";
}
buildCounterListCapacityCommitmentsResponse--;
@@ -227,20 +227,20 @@
checkListCapacityCommitmentsResponse(api.ListCapacityCommitmentsResponse o) {
buildCounterListCapacityCommitmentsResponse++;
if (buildCounterListCapacityCommitmentsResponse < 3) {
- checkUnnamed5829(o.capacityCommitments);
+ checkUnnamed5805(o.capacityCommitments);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListCapacityCommitmentsResponse--;
}
-buildUnnamed5830() {
+buildUnnamed5806() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed5830(core.List<api.Operation> o) {
+checkUnnamed5806(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -252,7 +252,7 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
o.nextPageToken = "foo";
- o.operations = buildUnnamed5830();
+ o.operations = buildUnnamed5806();
}
buildCounterListOperationsResponse--;
return o;
@@ -262,19 +262,19 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed5830(o.operations);
+ checkUnnamed5806(o.operations);
}
buildCounterListOperationsResponse--;
}
-buildUnnamed5831() {
+buildUnnamed5807() {
var o = new core.List<api.Reservation>();
o.add(buildReservation());
o.add(buildReservation());
return o;
}
-checkUnnamed5831(core.List<api.Reservation> o) {
+checkUnnamed5807(core.List<api.Reservation> o) {
unittest.expect(o, unittest.hasLength(2));
checkReservation(o[0]);
checkReservation(o[1]);
@@ -286,7 +286,7 @@
buildCounterListReservationsResponse++;
if (buildCounterListReservationsResponse < 3) {
o.nextPageToken = "foo";
- o.reservations = buildUnnamed5831();
+ o.reservations = buildUnnamed5807();
}
buildCounterListReservationsResponse--;
return o;
@@ -296,19 +296,19 @@
buildCounterListReservationsResponse++;
if (buildCounterListReservationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed5831(o.reservations);
+ checkUnnamed5807(o.reservations);
}
buildCounterListReservationsResponse--;
}
-buildUnnamed5832() {
+buildUnnamed5808() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5832(core.List<core.String> o) {
+checkUnnamed5808(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -319,7 +319,7 @@
var o = new api.MergeCapacityCommitmentsRequest();
buildCounterMergeCapacityCommitmentsRequest++;
if (buildCounterMergeCapacityCommitmentsRequest < 3) {
- o.capacityCommitmentIds = buildUnnamed5832();
+ o.capacityCommitmentIds = buildUnnamed5808();
}
buildCounterMergeCapacityCommitmentsRequest--;
return o;
@@ -328,7 +328,7 @@
checkMergeCapacityCommitmentsRequest(api.MergeCapacityCommitmentsRequest o) {
buildCounterMergeCapacityCommitmentsRequest++;
if (buildCounterMergeCapacityCommitmentsRequest < 3) {
- checkUnnamed5832(o.capacityCommitmentIds);
+ checkUnnamed5808(o.capacityCommitmentIds);
}
buildCounterMergeCapacityCommitmentsRequest--;
}
@@ -352,7 +352,7 @@
buildCounterMoveAssignmentRequest--;
}
-buildUnnamed5833() {
+buildUnnamed5809() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -367,7 +367,7 @@
return o;
}
-checkUnnamed5833(core.Map<core.String, core.Object> o) {
+checkUnnamed5809(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o["x"]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -381,7 +381,7 @@
unittest.expect(casted2["string"], unittest.equals('foo'));
}
-buildUnnamed5834() {
+buildUnnamed5810() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -396,7 +396,7 @@
return o;
}
-checkUnnamed5834(core.Map<core.String, core.Object> o) {
+checkUnnamed5810(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted3 = (o["x"]) as core.Map;
unittest.expect(casted3, unittest.hasLength(3));
@@ -417,9 +417,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed5833();
+ o.metadata = buildUnnamed5809();
o.name = "foo";
- o.response = buildUnnamed5834();
+ o.response = buildUnnamed5810();
}
buildCounterOperation--;
return o;
@@ -430,9 +430,9 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed5833(o.metadata);
+ checkUnnamed5809(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed5834(o.response);
+ checkUnnamed5810(o.response);
}
buildCounterOperation--;
}
@@ -464,14 +464,14 @@
buildCounterReservation--;
}
-buildUnnamed5835() {
+buildUnnamed5811() {
var o = new core.List<api.Assignment>();
o.add(buildAssignment());
o.add(buildAssignment());
return o;
}
-checkUnnamed5835(core.List<api.Assignment> o) {
+checkUnnamed5811(core.List<api.Assignment> o) {
unittest.expect(o, unittest.hasLength(2));
checkAssignment(o[0]);
checkAssignment(o[1]);
@@ -482,7 +482,7 @@
var o = new api.SearchAllAssignmentsResponse();
buildCounterSearchAllAssignmentsResponse++;
if (buildCounterSearchAllAssignmentsResponse < 3) {
- o.assignments = buildUnnamed5835();
+ o.assignments = buildUnnamed5811();
o.nextPageToken = "foo";
}
buildCounterSearchAllAssignmentsResponse--;
@@ -492,20 +492,20 @@
checkSearchAllAssignmentsResponse(api.SearchAllAssignmentsResponse o) {
buildCounterSearchAllAssignmentsResponse++;
if (buildCounterSearchAllAssignmentsResponse < 3) {
- checkUnnamed5835(o.assignments);
+ checkUnnamed5811(o.assignments);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterSearchAllAssignmentsResponse--;
}
-buildUnnamed5836() {
+buildUnnamed5812() {
var o = new core.List<api.Assignment>();
o.add(buildAssignment());
o.add(buildAssignment());
return o;
}
-checkUnnamed5836(core.List<api.Assignment> o) {
+checkUnnamed5812(core.List<api.Assignment> o) {
unittest.expect(o, unittest.hasLength(2));
checkAssignment(o[0]);
checkAssignment(o[1]);
@@ -516,7 +516,7 @@
var o = new api.SearchAssignmentsResponse();
buildCounterSearchAssignmentsResponse++;
if (buildCounterSearchAssignmentsResponse < 3) {
- o.assignments = buildUnnamed5836();
+ o.assignments = buildUnnamed5812();
o.nextPageToken = "foo";
}
buildCounterSearchAssignmentsResponse--;
@@ -526,7 +526,7 @@
checkSearchAssignmentsResponse(api.SearchAssignmentsResponse o) {
buildCounterSearchAssignmentsResponse++;
if (buildCounterSearchAssignmentsResponse < 3) {
- checkUnnamed5836(o.assignments);
+ checkUnnamed5812(o.assignments);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterSearchAssignmentsResponse--;
@@ -572,7 +572,7 @@
buildCounterSplitCapacityCommitmentResponse--;
}
-buildUnnamed5837() {
+buildUnnamed5813() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -587,7 +587,7 @@
return o;
}
-checkUnnamed5837(core.Map<core.String, core.Object> o) {
+checkUnnamed5813(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted5 = (o["x"]) as core.Map;
unittest.expect(casted5, unittest.hasLength(3));
@@ -601,17 +601,17 @@
unittest.expect(casted6["string"], unittest.equals('foo'));
}
-buildUnnamed5838() {
+buildUnnamed5814() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed5837());
- o.add(buildUnnamed5837());
+ o.add(buildUnnamed5813());
+ o.add(buildUnnamed5813());
return o;
}
-checkUnnamed5838(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed5814(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed5837(o[0]);
- checkUnnamed5837(o[1]);
+ checkUnnamed5813(o[0]);
+ checkUnnamed5813(o[1]);
}
core.int buildCounterStatus = 0;
@@ -620,7 +620,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed5838();
+ o.details = buildUnnamed5814();
o.message = "foo";
}
buildCounterStatus--;
@@ -631,7 +631,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed5838(o.details);
+ checkUnnamed5814(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
@@ -840,9 +840,9 @@
api.OperationsResourceApi res =
new api.BigqueryreservationApi(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;
@@ -875,11 +875,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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 = {
@@ -890,9 +890,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);
@@ -1735,8 +1735,8 @@
api.ProjectsLocationsReservationsResourceApi res =
new api.BigqueryreservationApi(mock).projects.locations.reservations;
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;
@@ -1769,10 +1769,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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 = {
@@ -1783,8 +1783,8 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListReservationsResponse(response);
@@ -1979,8 +1979,8 @@
.reservations
.assignments;
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;
@@ -2013,10 +2013,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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 = {
@@ -2027,8 +2027,8 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListAssignmentsResponse(response);
diff --git a/generated/googleapis/test/bigtableadmin/v2_test.dart b/generated/googleapis/test/bigtableadmin/v2_test.dart
index 040478c..5706359 100644
--- a/generated/googleapis/test/bigtableadmin/v2_test.dart
+++ b/generated/googleapis/test/bigtableadmin/v2_test.dart
@@ -77,14 +77,14 @@
buildCounterAppProfile--;
}
-buildUnnamed483() {
+buildUnnamed484() {
var o = new core.List<api.AuditLogConfig>();
o.add(buildAuditLogConfig());
o.add(buildAuditLogConfig());
return o;
}
-checkUnnamed483(core.List<api.AuditLogConfig> o) {
+checkUnnamed484(core.List<api.AuditLogConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuditLogConfig(o[0]);
checkAuditLogConfig(o[1]);
@@ -95,7 +95,7 @@
var o = new api.AuditConfig();
buildCounterAuditConfig++;
if (buildCounterAuditConfig < 3) {
- o.auditLogConfigs = buildUnnamed483();
+ o.auditLogConfigs = buildUnnamed484();
o.service = "foo";
}
buildCounterAuditConfig--;
@@ -105,20 +105,20 @@
checkAuditConfig(api.AuditConfig o) {
buildCounterAuditConfig++;
if (buildCounterAuditConfig < 3) {
- checkUnnamed483(o.auditLogConfigs);
+ checkUnnamed484(o.auditLogConfigs);
unittest.expect(o.service, unittest.equals('foo'));
}
buildCounterAuditConfig--;
}
-buildUnnamed484() {
+buildUnnamed485() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed484(core.List<core.String> o) {
+checkUnnamed485(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -129,7 +129,7 @@
var o = new api.AuditLogConfig();
buildCounterAuditLogConfig++;
if (buildCounterAuditLogConfig < 3) {
- o.exemptedMembers = buildUnnamed484();
+ o.exemptedMembers = buildUnnamed485();
o.logType = "foo";
}
buildCounterAuditLogConfig--;
@@ -139,7 +139,7 @@
checkAuditLogConfig(api.AuditLogConfig o) {
buildCounterAuditLogConfig++;
if (buildCounterAuditLogConfig < 3) {
- checkUnnamed484(o.exemptedMembers);
+ checkUnnamed485(o.exemptedMembers);
unittest.expect(o.logType, unittest.equals('foo'));
}
buildCounterAuditLogConfig--;
@@ -201,14 +201,14 @@
buildCounterBackupInfo--;
}
-buildUnnamed485() {
+buildUnnamed486() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed485(core.List<core.String> o) {
+checkUnnamed486(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -220,7 +220,7 @@
buildCounterBinding++;
if (buildCounterBinding < 3) {
o.condition = buildExpr();
- o.members = buildUnnamed485();
+ o.members = buildUnnamed486();
o.role = "foo";
}
buildCounterBinding--;
@@ -231,7 +231,7 @@
buildCounterBinding++;
if (buildCounterBinding < 3) {
checkExpr(o.condition);
- checkUnnamed485(o.members);
+ checkUnnamed486(o.members);
unittest.expect(o.role, unittest.equals('foo'));
}
buildCounterBinding--;
@@ -365,14 +365,14 @@
buildCounterCreateBackupMetadata--;
}
-buildUnnamed486() {
+buildUnnamed487() {
var o = new core.Map<core.String, api.TableProgress>();
o["x"] = buildTableProgress();
o["y"] = buildTableProgress();
return o;
}
-checkUnnamed486(core.Map<core.String, api.TableProgress> o) {
+checkUnnamed487(core.Map<core.String, api.TableProgress> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableProgress(o["x"]);
checkTableProgress(o["y"]);
@@ -386,7 +386,7 @@
o.finishTime = "foo";
o.originalRequest = buildCreateClusterRequest();
o.requestTime = "foo";
- o.tables = buildUnnamed486();
+ o.tables = buildUnnamed487();
}
buildCounterCreateClusterMetadata--;
return o;
@@ -398,7 +398,7 @@
unittest.expect(o.finishTime, unittest.equals('foo'));
checkCreateClusterRequest(o.originalRequest);
unittest.expect(o.requestTime, unittest.equals('foo'));
- checkUnnamed486(o.tables);
+ checkUnnamed487(o.tables);
}
buildCounterCreateClusterMetadata--;
}
@@ -449,14 +449,14 @@
buildCounterCreateInstanceMetadata--;
}
-buildUnnamed487() {
+buildUnnamed488() {
var o = new core.Map<core.String, api.Cluster>();
o["x"] = buildCluster();
o["y"] = buildCluster();
return o;
}
-checkUnnamed487(core.Map<core.String, api.Cluster> o) {
+checkUnnamed488(core.Map<core.String, api.Cluster> o) {
unittest.expect(o, unittest.hasLength(2));
checkCluster(o["x"]);
checkCluster(o["y"]);
@@ -467,7 +467,7 @@
var o = new api.CreateInstanceRequest();
buildCounterCreateInstanceRequest++;
if (buildCounterCreateInstanceRequest < 3) {
- o.clusters = buildUnnamed487();
+ o.clusters = buildUnnamed488();
o.instance = buildInstance();
o.instanceId = "foo";
o.parent = "foo";
@@ -479,7 +479,7 @@
checkCreateInstanceRequest(api.CreateInstanceRequest o) {
buildCounterCreateInstanceRequest++;
if (buildCounterCreateInstanceRequest < 3) {
- checkUnnamed487(o.clusters);
+ checkUnnamed488(o.clusters);
checkInstance(o.instance);
unittest.expect(o.instanceId, unittest.equals('foo'));
unittest.expect(o.parent, unittest.equals('foo'));
@@ -487,14 +487,14 @@
buildCounterCreateInstanceRequest--;
}
-buildUnnamed488() {
+buildUnnamed489() {
var o = new core.List<api.Split>();
o.add(buildSplit());
o.add(buildSplit());
return o;
}
-checkUnnamed488(core.List<api.Split> o) {
+checkUnnamed489(core.List<api.Split> o) {
unittest.expect(o, unittest.hasLength(2));
checkSplit(o[0]);
checkSplit(o[1]);
@@ -505,7 +505,7 @@
var o = new api.CreateTableRequest();
buildCounterCreateTableRequest++;
if (buildCounterCreateTableRequest < 3) {
- o.initialSplits = buildUnnamed488();
+ o.initialSplits = buildUnnamed489();
o.table = buildTable();
o.tableId = "foo";
}
@@ -516,7 +516,7 @@
checkCreateTableRequest(api.CreateTableRequest o) {
buildCounterCreateTableRequest++;
if (buildCounterCreateTableRequest < 3) {
- checkUnnamed488(o.initialSplits);
+ checkUnnamed489(o.initialSplits);
checkTable(o.table);
unittest.expect(o.tableId, unittest.equals('foo'));
}
@@ -584,14 +584,14 @@
buildCounterExpr--;
}
-buildUnnamed489() {
+buildUnnamed490() {
var o = new core.List<api.Frame>();
o.add(buildFrame());
o.add(buildFrame());
return o;
}
-checkUnnamed489(core.List<api.Frame> o) {
+checkUnnamed490(core.List<api.Frame> o) {
unittest.expect(o, unittest.hasLength(2));
checkFrame(o[0]);
checkFrame(o[1]);
@@ -602,7 +602,7 @@
var o = new api.FailureTrace();
buildCounterFailureTrace++;
if (buildCounterFailureTrace < 3) {
- o.frames = buildUnnamed489();
+ o.frames = buildUnnamed490();
}
buildCounterFailureTrace--;
return o;
@@ -611,7 +611,7 @@
checkFailureTrace(api.FailureTrace o) {
buildCounterFailureTrace++;
if (buildCounterFailureTrace < 3) {
- checkUnnamed489(o.frames);
+ checkUnnamed490(o.frames);
}
buildCounterFailureTrace--;
}
@@ -736,14 +736,14 @@
buildCounterGetPolicyOptions--;
}
-buildUnnamed490() {
+buildUnnamed491() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed490(core.Map<core.String, core.String> o) {
+checkUnnamed491(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -755,7 +755,7 @@
buildCounterInstance++;
if (buildCounterInstance < 3) {
o.displayName = "foo";
- o.labels = buildUnnamed490();
+ o.labels = buildUnnamed491();
o.name = "foo";
o.state = "foo";
o.type = "foo";
@@ -768,7 +768,7 @@
buildCounterInstance++;
if (buildCounterInstance < 3) {
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed490(o.labels);
+ checkUnnamed491(o.labels);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.state, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
@@ -776,14 +776,14 @@
buildCounterInstance--;
}
-buildUnnamed491() {
+buildUnnamed492() {
var o = new core.List<api.GcRule>();
o.add(buildGcRule());
o.add(buildGcRule());
return o;
}
-checkUnnamed491(core.List<api.GcRule> o) {
+checkUnnamed492(core.List<api.GcRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkGcRule(o[0]);
checkGcRule(o[1]);
@@ -794,7 +794,7 @@
var o = new api.Intersection();
buildCounterIntersection++;
if (buildCounterIntersection < 3) {
- o.rules = buildUnnamed491();
+ o.rules = buildUnnamed492();
}
buildCounterIntersection--;
return o;
@@ -803,32 +803,32 @@
checkIntersection(api.Intersection o) {
buildCounterIntersection++;
if (buildCounterIntersection < 3) {
- checkUnnamed491(o.rules);
+ checkUnnamed492(o.rules);
}
buildCounterIntersection--;
}
-buildUnnamed492() {
+buildUnnamed493() {
var o = new core.List<api.AppProfile>();
o.add(buildAppProfile());
o.add(buildAppProfile());
return o;
}
-checkUnnamed492(core.List<api.AppProfile> o) {
+checkUnnamed493(core.List<api.AppProfile> o) {
unittest.expect(o, unittest.hasLength(2));
checkAppProfile(o[0]);
checkAppProfile(o[1]);
}
-buildUnnamed493() {
+buildUnnamed494() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed493(core.List<core.String> o) {
+checkUnnamed494(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -839,8 +839,8 @@
var o = new api.ListAppProfilesResponse();
buildCounterListAppProfilesResponse++;
if (buildCounterListAppProfilesResponse < 3) {
- o.appProfiles = buildUnnamed492();
- o.failedLocations = buildUnnamed493();
+ o.appProfiles = buildUnnamed493();
+ o.failedLocations = buildUnnamed494();
o.nextPageToken = "foo";
}
buildCounterListAppProfilesResponse--;
@@ -850,21 +850,21 @@
checkListAppProfilesResponse(api.ListAppProfilesResponse o) {
buildCounterListAppProfilesResponse++;
if (buildCounterListAppProfilesResponse < 3) {
- checkUnnamed492(o.appProfiles);
- checkUnnamed493(o.failedLocations);
+ checkUnnamed493(o.appProfiles);
+ checkUnnamed494(o.failedLocations);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListAppProfilesResponse--;
}
-buildUnnamed494() {
+buildUnnamed495() {
var o = new core.List<api.Backup>();
o.add(buildBackup());
o.add(buildBackup());
return o;
}
-checkUnnamed494(core.List<api.Backup> o) {
+checkUnnamed495(core.List<api.Backup> o) {
unittest.expect(o, unittest.hasLength(2));
checkBackup(o[0]);
checkBackup(o[1]);
@@ -875,7 +875,7 @@
var o = new api.ListBackupsResponse();
buildCounterListBackupsResponse++;
if (buildCounterListBackupsResponse < 3) {
- o.backups = buildUnnamed494();
+ o.backups = buildUnnamed495();
o.nextPageToken = "foo";
}
buildCounterListBackupsResponse--;
@@ -885,61 +885,25 @@
checkListBackupsResponse(api.ListBackupsResponse o) {
buildCounterListBackupsResponse++;
if (buildCounterListBackupsResponse < 3) {
- checkUnnamed494(o.backups);
+ checkUnnamed495(o.backups);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListBackupsResponse--;
}
-buildUnnamed495() {
+buildUnnamed496() {
var o = new core.List<api.Cluster>();
o.add(buildCluster());
o.add(buildCluster());
return o;
}
-checkUnnamed495(core.List<api.Cluster> o) {
+checkUnnamed496(core.List<api.Cluster> o) {
unittest.expect(o, unittest.hasLength(2));
checkCluster(o[0]);
checkCluster(o[1]);
}
-buildUnnamed496() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed496(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-core.int buildCounterListClustersResponse = 0;
-buildListClustersResponse() {
- var o = new api.ListClustersResponse();
- buildCounterListClustersResponse++;
- if (buildCounterListClustersResponse < 3) {
- o.clusters = buildUnnamed495();
- o.failedLocations = buildUnnamed496();
- o.nextPageToken = "foo";
- }
- buildCounterListClustersResponse--;
- return o;
-}
-
-checkListClustersResponse(api.ListClustersResponse o) {
- buildCounterListClustersResponse++;
- if (buildCounterListClustersResponse < 3) {
- checkUnnamed495(o.clusters);
- checkUnnamed496(o.failedLocations);
- unittest.expect(o.nextPageToken, unittest.equals('foo'));
- }
- buildCounterListClustersResponse--;
-}
-
buildUnnamed497() {
var o = new core.List<core.String>();
o.add("foo");
@@ -953,14 +917,50 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+core.int buildCounterListClustersResponse = 0;
+buildListClustersResponse() {
+ var o = new api.ListClustersResponse();
+ buildCounterListClustersResponse++;
+ if (buildCounterListClustersResponse < 3) {
+ o.clusters = buildUnnamed496();
+ o.failedLocations = buildUnnamed497();
+ o.nextPageToken = "foo";
+ }
+ buildCounterListClustersResponse--;
+ return o;
+}
+
+checkListClustersResponse(api.ListClustersResponse o) {
+ buildCounterListClustersResponse++;
+ if (buildCounterListClustersResponse < 3) {
+ checkUnnamed496(o.clusters);
+ checkUnnamed497(o.failedLocations);
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ }
+ buildCounterListClustersResponse--;
+}
+
buildUnnamed498() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed498(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed499() {
var o = new core.List<api.Instance>();
o.add(buildInstance());
o.add(buildInstance());
return o;
}
-checkUnnamed498(core.List<api.Instance> o) {
+checkUnnamed499(core.List<api.Instance> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstance(o[0]);
checkInstance(o[1]);
@@ -971,8 +971,8 @@
var o = new api.ListInstancesResponse();
buildCounterListInstancesResponse++;
if (buildCounterListInstancesResponse < 3) {
- o.failedLocations = buildUnnamed497();
- o.instances = buildUnnamed498();
+ o.failedLocations = buildUnnamed498();
+ o.instances = buildUnnamed499();
o.nextPageToken = "foo";
}
buildCounterListInstancesResponse--;
@@ -982,21 +982,21 @@
checkListInstancesResponse(api.ListInstancesResponse o) {
buildCounterListInstancesResponse++;
if (buildCounterListInstancesResponse < 3) {
- checkUnnamed497(o.failedLocations);
- checkUnnamed498(o.instances);
+ checkUnnamed498(o.failedLocations);
+ checkUnnamed499(o.instances);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListInstancesResponse--;
}
-buildUnnamed499() {
+buildUnnamed500() {
var o = new core.List<api.Location>();
o.add(buildLocation());
o.add(buildLocation());
return o;
}
-checkUnnamed499(core.List<api.Location> o) {
+checkUnnamed500(core.List<api.Location> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocation(o[0]);
checkLocation(o[1]);
@@ -1007,7 +1007,7 @@
var o = new api.ListLocationsResponse();
buildCounterListLocationsResponse++;
if (buildCounterListLocationsResponse < 3) {
- o.locations = buildUnnamed499();
+ o.locations = buildUnnamed500();
o.nextPageToken = "foo";
}
buildCounterListLocationsResponse--;
@@ -1017,20 +1017,20 @@
checkListLocationsResponse(api.ListLocationsResponse o) {
buildCounterListLocationsResponse++;
if (buildCounterListLocationsResponse < 3) {
- checkUnnamed499(o.locations);
+ checkUnnamed500(o.locations);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListLocationsResponse--;
}
-buildUnnamed500() {
+buildUnnamed501() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed500(core.List<api.Operation> o) {
+checkUnnamed501(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -1042,7 +1042,7 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
o.nextPageToken = "foo";
- o.operations = buildUnnamed500();
+ o.operations = buildUnnamed501();
}
buildCounterListOperationsResponse--;
return o;
@@ -1052,19 +1052,19 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed500(o.operations);
+ checkUnnamed501(o.operations);
}
buildCounterListOperationsResponse--;
}
-buildUnnamed501() {
+buildUnnamed502() {
var o = new core.List<api.Table>();
o.add(buildTable());
o.add(buildTable());
return o;
}
-checkUnnamed501(core.List<api.Table> o) {
+checkUnnamed502(core.List<api.Table> o) {
unittest.expect(o, unittest.hasLength(2));
checkTable(o[0]);
checkTable(o[1]);
@@ -1076,7 +1076,7 @@
buildCounterListTablesResponse++;
if (buildCounterListTablesResponse < 3) {
o.nextPageToken = "foo";
- o.tables = buildUnnamed501();
+ o.tables = buildUnnamed502();
}
buildCounterListTablesResponse--;
return o;
@@ -1086,25 +1086,25 @@
buildCounterListTablesResponse++;
if (buildCounterListTablesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed501(o.tables);
+ checkUnnamed502(o.tables);
}
buildCounterListTablesResponse--;
}
-buildUnnamed502() {
+buildUnnamed503() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed502(core.Map<core.String, core.String> o) {
+checkUnnamed503(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed503() {
+buildUnnamed504() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1119,7 +1119,7 @@
return o;
}
-checkUnnamed503(core.Map<core.String, core.Object> o) {
+checkUnnamed504(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o["x"]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -1139,9 +1139,9 @@
buildCounterLocation++;
if (buildCounterLocation < 3) {
o.displayName = "foo";
- o.labels = buildUnnamed502();
+ o.labels = buildUnnamed503();
o.locationId = "foo";
- o.metadata = buildUnnamed503();
+ o.metadata = buildUnnamed504();
o.name = "foo";
}
buildCounterLocation--;
@@ -1152,9 +1152,9 @@
buildCounterLocation++;
if (buildCounterLocation < 3) {
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed502(o.labels);
+ checkUnnamed503(o.labels);
unittest.expect(o.locationId, unittest.equals('foo'));
- checkUnnamed503(o.metadata);
+ checkUnnamed504(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
}
buildCounterLocation--;
@@ -1185,14 +1185,14 @@
buildCounterModification--;
}
-buildUnnamed504() {
+buildUnnamed505() {
var o = new core.List<api.Modification>();
o.add(buildModification());
o.add(buildModification());
return o;
}
-checkUnnamed504(core.List<api.Modification> o) {
+checkUnnamed505(core.List<api.Modification> o) {
unittest.expect(o, unittest.hasLength(2));
checkModification(o[0]);
checkModification(o[1]);
@@ -1203,7 +1203,7 @@
var o = new api.ModifyColumnFamiliesRequest();
buildCounterModifyColumnFamiliesRequest++;
if (buildCounterModifyColumnFamiliesRequest < 3) {
- o.modifications = buildUnnamed504();
+ o.modifications = buildUnnamed505();
}
buildCounterModifyColumnFamiliesRequest--;
return o;
@@ -1212,7 +1212,7 @@
checkModifyColumnFamiliesRequest(api.ModifyColumnFamiliesRequest o) {
buildCounterModifyColumnFamiliesRequest++;
if (buildCounterModifyColumnFamiliesRequest < 3) {
- checkUnnamed504(o.modifications);
+ checkUnnamed505(o.modifications);
}
buildCounterModifyColumnFamiliesRequest--;
}
@@ -1232,35 +1232,6 @@
buildCounterMultiClusterRoutingUseAny--;
}
-buildUnnamed505() {
- var o = new core.Map<core.String, core.Object>();
- o["x"] = {
- 'list': [1, 2, 3],
- 'bool': true,
- 'string': 'foo'
- };
- o["y"] = {
- 'list': [1, 2, 3],
- 'bool': true,
- 'string': 'foo'
- };
- return o;
-}
-
-checkUnnamed505(core.Map<core.String, core.Object> o) {
- unittest.expect(o, unittest.hasLength(2));
- var casted3 = (o["x"]) as core.Map;
- unittest.expect(casted3, unittest.hasLength(3));
- unittest.expect(casted3["list"], unittest.equals([1, 2, 3]));
- unittest.expect(casted3["bool"], unittest.equals(true));
- unittest.expect(casted3["string"], unittest.equals('foo'));
- var casted4 = (o["y"]) as core.Map;
- unittest.expect(casted4, unittest.hasLength(3));
- unittest.expect(casted4["list"], unittest.equals([1, 2, 3]));
- unittest.expect(casted4["bool"], unittest.equals(true));
- unittest.expect(casted4["string"], unittest.equals('foo'));
-}
-
buildUnnamed506() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
@@ -1278,6 +1249,35 @@
checkUnnamed506(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
+ var casted3 = (o["x"]) as core.Map;
+ unittest.expect(casted3, unittest.hasLength(3));
+ unittest.expect(casted3["list"], unittest.equals([1, 2, 3]));
+ unittest.expect(casted3["bool"], unittest.equals(true));
+ unittest.expect(casted3["string"], unittest.equals('foo'));
+ var casted4 = (o["y"]) as core.Map;
+ unittest.expect(casted4, unittest.hasLength(3));
+ unittest.expect(casted4["list"], unittest.equals([1, 2, 3]));
+ unittest.expect(casted4["bool"], unittest.equals(true));
+ unittest.expect(casted4["string"], unittest.equals('foo'));
+}
+
+buildUnnamed507() {
+ var o = new core.Map<core.String, core.Object>();
+ o["x"] = {
+ 'list': [1, 2, 3],
+ 'bool': true,
+ 'string': 'foo'
+ };
+ o["y"] = {
+ 'list': [1, 2, 3],
+ 'bool': true,
+ 'string': 'foo'
+ };
+ return o;
+}
+
+checkUnnamed507(core.Map<core.String, core.Object> o) {
+ unittest.expect(o, unittest.hasLength(2));
var casted5 = (o["x"]) as core.Map;
unittest.expect(casted5, unittest.hasLength(3));
unittest.expect(casted5["list"], unittest.equals([1, 2, 3]));
@@ -1297,9 +1297,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed505();
+ o.metadata = buildUnnamed506();
o.name = "foo";
- o.response = buildUnnamed506();
+ o.response = buildUnnamed507();
}
buildCounterOperation--;
return o;
@@ -1310,9 +1310,9 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed505(o.metadata);
+ checkUnnamed506(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed506(o.response);
+ checkUnnamed507(o.response);
}
buildCounterOperation--;
}
@@ -1382,27 +1382,27 @@
buildCounterPartialUpdateInstanceRequest--;
}
-buildUnnamed507() {
+buildUnnamed508() {
var o = new core.List<api.AuditConfig>();
o.add(buildAuditConfig());
o.add(buildAuditConfig());
return o;
}
-checkUnnamed507(core.List<api.AuditConfig> o) {
+checkUnnamed508(core.List<api.AuditConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuditConfig(o[0]);
checkAuditConfig(o[1]);
}
-buildUnnamed508() {
+buildUnnamed509() {
var o = new core.List<api.Binding>();
o.add(buildBinding());
o.add(buildBinding());
return o;
}
-checkUnnamed508(core.List<api.Binding> o) {
+checkUnnamed509(core.List<api.Binding> o) {
unittest.expect(o, unittest.hasLength(2));
checkBinding(o[0]);
checkBinding(o[1]);
@@ -1413,8 +1413,8 @@
var o = new api.Policy();
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- o.auditConfigs = buildUnnamed507();
- o.bindings = buildUnnamed508();
+ o.auditConfigs = buildUnnamed508();
+ o.bindings = buildUnnamed509();
o.etag = "foo";
o.version = 42;
}
@@ -1425,8 +1425,8 @@
checkPolicy(api.Policy o) {
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- checkUnnamed507(o.auditConfigs);
- checkUnnamed508(o.bindings);
+ checkUnnamed508(o.auditConfigs);
+ checkUnnamed509(o.bindings);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals(42));
}
@@ -1563,7 +1563,7 @@
buildCounterSplit--;
}
-buildUnnamed509() {
+buildUnnamed510() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1578,7 +1578,7 @@
return o;
}
-checkUnnamed509(core.Map<core.String, core.Object> o) {
+checkUnnamed510(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted7 = (o["x"]) as core.Map;
unittest.expect(casted7, unittest.hasLength(3));
@@ -1592,17 +1592,17 @@
unittest.expect(casted8["string"], unittest.equals('foo'));
}
-buildUnnamed510() {
+buildUnnamed511() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed509());
- o.add(buildUnnamed509());
+ o.add(buildUnnamed510());
+ o.add(buildUnnamed510());
return o;
}
-checkUnnamed510(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed511(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed509(o[0]);
- checkUnnamed509(o[1]);
+ checkUnnamed510(o[0]);
+ checkUnnamed510(o[1]);
}
core.int buildCounterStatus = 0;
@@ -1611,7 +1611,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed510();
+ o.details = buildUnnamed511();
o.message = "foo";
}
buildCounterStatus--;
@@ -1622,33 +1622,33 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed510(o.details);
+ checkUnnamed511(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
}
-buildUnnamed511() {
+buildUnnamed512() {
var o = new core.Map<core.String, api.ClusterState>();
o["x"] = buildClusterState();
o["y"] = buildClusterState();
return o;
}
-checkUnnamed511(core.Map<core.String, api.ClusterState> o) {
+checkUnnamed512(core.Map<core.String, api.ClusterState> o) {
unittest.expect(o, unittest.hasLength(2));
checkClusterState(o["x"]);
checkClusterState(o["y"]);
}
-buildUnnamed512() {
+buildUnnamed513() {
var o = new core.Map<core.String, api.ColumnFamily>();
o["x"] = buildColumnFamily();
o["y"] = buildColumnFamily();
return o;
}
-checkUnnamed512(core.Map<core.String, api.ColumnFamily> o) {
+checkUnnamed513(core.Map<core.String, api.ColumnFamily> o) {
unittest.expect(o, unittest.hasLength(2));
checkColumnFamily(o["x"]);
checkColumnFamily(o["y"]);
@@ -1659,8 +1659,8 @@
var o = new api.Table();
buildCounterTable++;
if (buildCounterTable < 3) {
- o.clusterStates = buildUnnamed511();
- o.columnFamilies = buildUnnamed512();
+ o.clusterStates = buildUnnamed512();
+ o.columnFamilies = buildUnnamed513();
o.granularity = "foo";
o.name = "foo";
o.restoreInfo = buildRestoreInfo();
@@ -1672,8 +1672,8 @@
checkTable(api.Table o) {
buildCounterTable++;
if (buildCounterTable < 3) {
- checkUnnamed511(o.clusterStates);
- checkUnnamed512(o.columnFamilies);
+ checkUnnamed512(o.clusterStates);
+ checkUnnamed513(o.columnFamilies);
unittest.expect(o.granularity, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
checkRestoreInfo(o.restoreInfo);
@@ -1704,38 +1704,6 @@
buildCounterTableProgress--;
}
-buildUnnamed513() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed513(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-core.int buildCounterTestIamPermissionsRequest = 0;
-buildTestIamPermissionsRequest() {
- var o = new api.TestIamPermissionsRequest();
- buildCounterTestIamPermissionsRequest++;
- if (buildCounterTestIamPermissionsRequest < 3) {
- o.permissions = buildUnnamed513();
- }
- buildCounterTestIamPermissionsRequest--;
- return o;
-}
-
-checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) {
- buildCounterTestIamPermissionsRequest++;
- if (buildCounterTestIamPermissionsRequest < 3) {
- checkUnnamed513(o.permissions);
- }
- buildCounterTestIamPermissionsRequest--;
-}
-
buildUnnamed514() {
var o = new core.List<core.String>();
o.add("foo");
@@ -1749,12 +1717,44 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+core.int buildCounterTestIamPermissionsRequest = 0;
+buildTestIamPermissionsRequest() {
+ var o = new api.TestIamPermissionsRequest();
+ buildCounterTestIamPermissionsRequest++;
+ if (buildCounterTestIamPermissionsRequest < 3) {
+ o.permissions = buildUnnamed514();
+ }
+ buildCounterTestIamPermissionsRequest--;
+ return o;
+}
+
+checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) {
+ buildCounterTestIamPermissionsRequest++;
+ if (buildCounterTestIamPermissionsRequest < 3) {
+ checkUnnamed514(o.permissions);
+ }
+ buildCounterTestIamPermissionsRequest--;
+}
+
+buildUnnamed515() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed515(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
core.int buildCounterTestIamPermissionsResponse = 0;
buildTestIamPermissionsResponse() {
var o = new api.TestIamPermissionsResponse();
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- o.permissions = buildUnnamed514();
+ o.permissions = buildUnnamed515();
}
buildCounterTestIamPermissionsResponse--;
return o;
@@ -1763,19 +1763,19 @@
checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) {
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- checkUnnamed514(o.permissions);
+ checkUnnamed515(o.permissions);
}
buildCounterTestIamPermissionsResponse--;
}
-buildUnnamed515() {
+buildUnnamed516() {
var o = new core.List<api.GcRule>();
o.add(buildGcRule());
o.add(buildGcRule());
return o;
}
-checkUnnamed515(core.List<api.GcRule> o) {
+checkUnnamed516(core.List<api.GcRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkGcRule(o[0]);
checkGcRule(o[1]);
@@ -1786,7 +1786,7 @@
var o = new api.Union();
buildCounterUnion++;
if (buildCounterUnion < 3) {
- o.rules = buildUnnamed515();
+ o.rules = buildUnnamed516();
}
buildCounterUnion--;
return o;
@@ -1795,7 +1795,7 @@
checkUnion(api.Union o) {
buildCounterUnion++;
if (buildCounterUnion < 3) {
- checkUnnamed515(o.rules);
+ checkUnnamed516(o.rules);
}
buildCounterUnion--;
}
@@ -2503,8 +2503,8 @@
api.OperationsProjectsOperationsResourceApi res =
new api.BigtableadminApi(mock).operations.projects.operations;
var arg_name = "foo";
- var arg_pageSize = 42;
var arg_pageToken = "foo";
+ var arg_pageSize = 42;
var arg_filter = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -2538,10 +2538,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
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["fields"].first, unittest.equals(arg_$fields));
@@ -2553,8 +2553,8 @@
}), true);
res
.list(arg_name,
- pageSize: arg_pageSize,
pageToken: arg_pageToken,
+ pageSize: arg_pageSize,
filter: arg_filter,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -3243,8 +3243,8 @@
api.ProjectsInstancesAppProfilesResourceApi res =
new api.BigtableadminApi(mock).projects.instances.appProfiles;
var arg_parent = "foo";
- var arg_pageSize = 42;
var arg_pageToken = "foo";
+ var arg_pageSize = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3277,10 +3277,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3291,8 +3291,8 @@
}), true);
res
.list(arg_parent,
- pageSize: arg_pageSize,
pageToken: arg_pageToken,
+ pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListAppProfilesResponse(response);
@@ -3868,10 +3868,10 @@
api.ProjectsInstancesClustersBackupsResourceApi res =
new api.BigtableadminApi(mock).projects.instances.clusters.backups;
var arg_parent = "foo";
- var arg_pageToken = "foo";
+ var arg_filter = "foo";
var arg_pageSize = 42;
var arg_orderBy = "foo";
- 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;
@@ -3904,13 +3904,13 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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["orderBy"].first, unittest.equals(arg_orderBy));
- 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 = {
@@ -3921,10 +3921,10 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
+ filter: arg_filter,
pageSize: arg_pageSize,
orderBy: arg_orderBy,
- filter: arg_filter,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListBackupsResponse(response);
@@ -4496,8 +4496,8 @@
api.ProjectsInstancesTablesResourceApi res =
new api.BigtableadminApi(mock).projects.instances.tables;
var arg_parent = "foo";
- var arg_pageToken = "foo";
var arg_view = "foo";
+ var arg_pageToken = "foo";
var arg_pageSize = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -4531,9 +4531,9 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ 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(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -4546,8 +4546,8 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
view: arg_view,
+ pageToken: arg_pageToken,
pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -4838,9 +4838,9 @@
api.ProjectsLocationsResourceApi res =
new api.BigtableadminApi(mock).projects.locations;
var arg_name = "foo";
+ var arg_pageToken = "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;
@@ -4873,11 +4873,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ 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 = {
@@ -4888,9 +4888,9 @@
}), true);
res
.list(arg_name,
+ pageToken: arg_pageToken,
pageSize: arg_pageSize,
filter: arg_filter,
- pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListLocationsResponse(response);
diff --git a/generated/googleapis/test/binaryauthorization/v1_test.dart b/generated/googleapis/test/binaryauthorization/v1_test.dart
index f91184b..8897b06 100644
--- a/generated/googleapis/test/binaryauthorization/v1_test.dart
+++ b/generated/googleapis/test/binaryauthorization/v1_test.dart
@@ -50,14 +50,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed2379() {
+buildUnnamed2381() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2379(core.List<core.String> o) {
+checkUnnamed2381(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -70,7 +70,7 @@
if (buildCounterAdmissionRule < 3) {
o.enforcementMode = "foo";
o.evaluationMode = "foo";
- o.requireAttestationsBy = buildUnnamed2379();
+ o.requireAttestationsBy = buildUnnamed2381();
}
buildCounterAdmissionRule--;
return o;
@@ -81,7 +81,7 @@
if (buildCounterAdmissionRule < 3) {
unittest.expect(o.enforcementMode, unittest.equals('foo'));
unittest.expect(o.evaluationMode, unittest.equals('foo'));
- checkUnnamed2379(o.requireAttestationsBy);
+ checkUnnamed2381(o.requireAttestationsBy);
}
buildCounterAdmissionRule--;
}
@@ -105,27 +105,27 @@
buildCounterAdmissionWhitelistPattern--;
}
-buildUnnamed2380() {
+buildUnnamed2382() {
var o = new core.List<api.Jwt>();
o.add(buildJwt());
o.add(buildJwt());
return o;
}
-checkUnnamed2380(core.List<api.Jwt> o) {
+checkUnnamed2382(core.List<api.Jwt> o) {
unittest.expect(o, unittest.hasLength(2));
checkJwt(o[0]);
checkJwt(o[1]);
}
-buildUnnamed2381() {
+buildUnnamed2383() {
var o = new core.List<api.Signature>();
o.add(buildSignature());
o.add(buildSignature());
return o;
}
-checkUnnamed2381(core.List<api.Signature> o) {
+checkUnnamed2383(core.List<api.Signature> o) {
unittest.expect(o, unittest.hasLength(2));
checkSignature(o[0]);
checkSignature(o[1]);
@@ -136,9 +136,9 @@
var o = new api.AttestationOccurrence();
buildCounterAttestationOccurrence++;
if (buildCounterAttestationOccurrence < 3) {
- o.jwts = buildUnnamed2380();
+ o.jwts = buildUnnamed2382();
o.serializedPayload = "foo";
- o.signatures = buildUnnamed2381();
+ o.signatures = buildUnnamed2383();
}
buildCounterAttestationOccurrence--;
return o;
@@ -147,9 +147,9 @@
checkAttestationOccurrence(api.AttestationOccurrence o) {
buildCounterAttestationOccurrence++;
if (buildCounterAttestationOccurrence < 3) {
- checkUnnamed2380(o.jwts);
+ checkUnnamed2382(o.jwts);
unittest.expect(o.serializedPayload, unittest.equals('foo'));
- checkUnnamed2381(o.signatures);
+ checkUnnamed2383(o.signatures);
}
buildCounterAttestationOccurrence--;
}
@@ -204,14 +204,14 @@
buildCounterAttestorPublicKey--;
}
-buildUnnamed2382() {
+buildUnnamed2384() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2382(core.List<core.String> o) {
+checkUnnamed2384(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -224,7 +224,7 @@
if (buildCounterBinding < 3) {
o.bindingId = "foo";
o.condition = buildExpr();
- o.members = buildUnnamed2382();
+ o.members = buildUnnamed2384();
o.role = "foo";
}
buildCounterBinding--;
@@ -236,7 +236,7 @@
if (buildCounterBinding < 3) {
unittest.expect(o.bindingId, unittest.equals('foo'));
checkExpr(o.condition);
- checkUnnamed2382(o.members);
+ checkUnnamed2384(o.members);
unittest.expect(o.role, unittest.equals('foo'));
}
buildCounterBinding--;
@@ -282,14 +282,14 @@
buildCounterExpr--;
}
-buildUnnamed2383() {
+buildUnnamed2385() {
var o = new core.List<api.Binding>();
o.add(buildBinding());
o.add(buildBinding());
return o;
}
-checkUnnamed2383(core.List<api.Binding> o) {
+checkUnnamed2385(core.List<api.Binding> o) {
unittest.expect(o, unittest.hasLength(2));
checkBinding(o[0]);
checkBinding(o[1]);
@@ -300,7 +300,7 @@
var o = new api.IamPolicy();
buildCounterIamPolicy++;
if (buildCounterIamPolicy < 3) {
- o.bindings = buildUnnamed2383();
+ o.bindings = buildUnnamed2385();
o.etag = "foo";
o.version = 42;
}
@@ -311,7 +311,7 @@
checkIamPolicy(api.IamPolicy o) {
buildCounterIamPolicy++;
if (buildCounterIamPolicy < 3) {
- checkUnnamed2383(o.bindings);
+ checkUnnamed2385(o.bindings);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals(42));
}
@@ -337,14 +337,14 @@
buildCounterJwt--;
}
-buildUnnamed2384() {
+buildUnnamed2386() {
var o = new core.List<api.Attestor>();
o.add(buildAttestor());
o.add(buildAttestor());
return o;
}
-checkUnnamed2384(core.List<api.Attestor> o) {
+checkUnnamed2386(core.List<api.Attestor> o) {
unittest.expect(o, unittest.hasLength(2));
checkAttestor(o[0]);
checkAttestor(o[1]);
@@ -355,7 +355,7 @@
var o = new api.ListAttestorsResponse();
buildCounterListAttestorsResponse++;
if (buildCounterListAttestorsResponse < 3) {
- o.attestors = buildUnnamed2384();
+ o.attestors = buildUnnamed2386();
o.nextPageToken = "foo";
}
buildCounterListAttestorsResponse--;
@@ -365,7 +365,7 @@
checkListAttestorsResponse(api.ListAttestorsResponse o) {
buildCounterListAttestorsResponse++;
if (buildCounterListAttestorsResponse < 3) {
- checkUnnamed2384(o.attestors);
+ checkUnnamed2386(o.attestors);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListAttestorsResponse--;
@@ -392,27 +392,27 @@
buildCounterPkixPublicKey--;
}
-buildUnnamed2385() {
+buildUnnamed2387() {
var o = new core.List<api.AdmissionWhitelistPattern>();
o.add(buildAdmissionWhitelistPattern());
o.add(buildAdmissionWhitelistPattern());
return o;
}
-checkUnnamed2385(core.List<api.AdmissionWhitelistPattern> o) {
+checkUnnamed2387(core.List<api.AdmissionWhitelistPattern> o) {
unittest.expect(o, unittest.hasLength(2));
checkAdmissionWhitelistPattern(o[0]);
checkAdmissionWhitelistPattern(o[1]);
}
-buildUnnamed2386() {
+buildUnnamed2388() {
var o = new core.Map<core.String, api.AdmissionRule>();
o["x"] = buildAdmissionRule();
o["y"] = buildAdmissionRule();
return o;
}
-checkUnnamed2386(core.Map<core.String, api.AdmissionRule> o) {
+checkUnnamed2388(core.Map<core.String, api.AdmissionRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkAdmissionRule(o["x"]);
checkAdmissionRule(o["y"]);
@@ -423,8 +423,8 @@
var o = new api.Policy();
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- o.admissionWhitelistPatterns = buildUnnamed2385();
- o.clusterAdmissionRules = buildUnnamed2386();
+ o.admissionWhitelistPatterns = buildUnnamed2387();
+ o.clusterAdmissionRules = buildUnnamed2388();
o.defaultAdmissionRule = buildAdmissionRule();
o.description = "foo";
o.globalPolicyEvaluationMode = "foo";
@@ -438,8 +438,8 @@
checkPolicy(api.Policy o) {
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- checkUnnamed2385(o.admissionWhitelistPatterns);
- checkUnnamed2386(o.clusterAdmissionRules);
+ checkUnnamed2387(o.admissionWhitelistPatterns);
+ checkUnnamed2388(o.clusterAdmissionRules);
checkAdmissionRule(o.defaultAdmissionRule);
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.globalPolicyEvaluationMode, unittest.equals('foo'));
@@ -489,14 +489,14 @@
buildCounterSignature--;
}
-buildUnnamed2387() {
+buildUnnamed2389() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2387(core.List<core.String> o) {
+checkUnnamed2389(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -507,7 +507,7 @@
var o = new api.TestIamPermissionsRequest();
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- o.permissions = buildUnnamed2387();
+ o.permissions = buildUnnamed2389();
}
buildCounterTestIamPermissionsRequest--;
return o;
@@ -516,19 +516,19 @@
checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) {
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- checkUnnamed2387(o.permissions);
+ checkUnnamed2389(o.permissions);
}
buildCounterTestIamPermissionsRequest--;
}
-buildUnnamed2388() {
+buildUnnamed2390() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2388(core.List<core.String> o) {
+checkUnnamed2390(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -539,7 +539,7 @@
var o = new api.TestIamPermissionsResponse();
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- o.permissions = buildUnnamed2388();
+ o.permissions = buildUnnamed2390();
}
buildCounterTestIamPermissionsResponse--;
return o;
@@ -548,19 +548,19 @@
checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) {
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- checkUnnamed2388(o.permissions);
+ checkUnnamed2390(o.permissions);
}
buildCounterTestIamPermissionsResponse--;
}
-buildUnnamed2389() {
+buildUnnamed2391() {
var o = new core.List<api.AttestorPublicKey>();
o.add(buildAttestorPublicKey());
o.add(buildAttestorPublicKey());
return o;
}
-checkUnnamed2389(core.List<api.AttestorPublicKey> o) {
+checkUnnamed2391(core.List<api.AttestorPublicKey> o) {
unittest.expect(o, unittest.hasLength(2));
checkAttestorPublicKey(o[0]);
checkAttestorPublicKey(o[1]);
@@ -573,7 +573,7 @@
if (buildCounterUserOwnedGrafeasNote < 3) {
o.delegationServiceAccountEmail = "foo";
o.noteReference = "foo";
- o.publicKeys = buildUnnamed2389();
+ o.publicKeys = buildUnnamed2391();
}
buildCounterUserOwnedGrafeasNote--;
return o;
@@ -584,7 +584,7 @@
if (buildCounterUserOwnedGrafeasNote < 3) {
unittest.expect(o.delegationServiceAccountEmail, unittest.equals('foo'));
unittest.expect(o.noteReference, unittest.equals('foo'));
- checkUnnamed2389(o.publicKeys);
+ checkUnnamed2391(o.publicKeys);
}
buildCounterUserOwnedGrafeasNote--;
}
diff --git a/generated/googleapis/test/blogger/v3_test.dart b/generated/googleapis/test/blogger/v3_test.dart
index 06df094..b67e4db 100644
--- a/generated/googleapis/test/blogger/v3_test.dart
+++ b/generated/googleapis/test/blogger/v3_test.dart
@@ -94,14 +94,14 @@
buildCounterBlogPages--;
}
-buildUnnamed5255() {
+buildUnnamed5231() {
var o = new core.List<api.Post>();
o.add(buildPost());
o.add(buildPost());
return o;
}
-checkUnnamed5255(core.List<api.Post> o) {
+checkUnnamed5231(core.List<api.Post> o) {
unittest.expect(o, unittest.hasLength(2));
checkPost(o[0]);
checkPost(o[1]);
@@ -112,7 +112,7 @@
var o = new api.BlogPosts();
buildCounterBlogPosts++;
if (buildCounterBlogPosts < 3) {
- o.items = buildUnnamed5255();
+ o.items = buildUnnamed5231();
o.selfLink = "foo";
o.totalItems = 42;
}
@@ -123,7 +123,7 @@
checkBlogPosts(api.BlogPosts o) {
buildCounterBlogPosts++;
if (buildCounterBlogPosts < 3) {
- checkUnnamed5255(o.items);
+ checkUnnamed5231(o.items);
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.totalItems, unittest.equals(42));
}
@@ -173,27 +173,27 @@
buildCounterBlog--;
}
-buildUnnamed5256() {
+buildUnnamed5232() {
var o = new core.List<api.BlogUserInfo>();
o.add(buildBlogUserInfo());
o.add(buildBlogUserInfo());
return o;
}
-checkUnnamed5256(core.List<api.BlogUserInfo> o) {
+checkUnnamed5232(core.List<api.BlogUserInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkBlogUserInfo(o[0]);
checkBlogUserInfo(o[1]);
}
-buildUnnamed5257() {
+buildUnnamed5233() {
var o = new core.List<api.Blog>();
o.add(buildBlog());
o.add(buildBlog());
return o;
}
-checkUnnamed5257(core.List<api.Blog> o) {
+checkUnnamed5233(core.List<api.Blog> o) {
unittest.expect(o, unittest.hasLength(2));
checkBlog(o[0]);
checkBlog(o[1]);
@@ -204,8 +204,8 @@
var o = new api.BlogList();
buildCounterBlogList++;
if (buildCounterBlogList < 3) {
- o.blogUserInfos = buildUnnamed5256();
- o.items = buildUnnamed5257();
+ o.blogUserInfos = buildUnnamed5232();
+ o.items = buildUnnamed5233();
o.kind = "foo";
}
buildCounterBlogList--;
@@ -215,8 +215,8 @@
checkBlogList(api.BlogList o) {
buildCounterBlogList++;
if (buildCounterBlogList < 3) {
- checkUnnamed5256(o.blogUserInfos);
- checkUnnamed5257(o.items);
+ checkUnnamed5232(o.blogUserInfos);
+ checkUnnamed5233(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterBlogList--;
@@ -414,14 +414,14 @@
buildCounterComment--;
}
-buildUnnamed5258() {
+buildUnnamed5234() {
var o = new core.List<api.Comment>();
o.add(buildComment());
o.add(buildComment());
return o;
}
-checkUnnamed5258(core.List<api.Comment> o) {
+checkUnnamed5234(core.List<api.Comment> o) {
unittest.expect(o, unittest.hasLength(2));
checkComment(o[0]);
checkComment(o[1]);
@@ -433,7 +433,7 @@
buildCounterCommentList++;
if (buildCounterCommentList < 3) {
o.etag = "foo";
- o.items = buildUnnamed5258();
+ o.items = buildUnnamed5234();
o.kind = "foo";
o.nextPageToken = "foo";
o.prevPageToken = "foo";
@@ -446,7 +446,7 @@
buildCounterCommentList++;
if (buildCounterCommentList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed5258(o.items);
+ checkUnnamed5234(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.prevPageToken, unittest.equals('foo'));
@@ -558,14 +558,14 @@
buildCounterPage--;
}
-buildUnnamed5259() {
+buildUnnamed5235() {
var o = new core.List<api.Page>();
o.add(buildPage());
o.add(buildPage());
return o;
}
-checkUnnamed5259(core.List<api.Page> o) {
+checkUnnamed5235(core.List<api.Page> o) {
unittest.expect(o, unittest.hasLength(2));
checkPage(o[0]);
checkPage(o[1]);
@@ -577,7 +577,7 @@
buildCounterPageList++;
if (buildCounterPageList < 3) {
o.etag = "foo";
- o.items = buildUnnamed5259();
+ o.items = buildUnnamed5235();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -589,7 +589,7 @@
buildCounterPageList++;
if (buildCounterPageList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed5259(o.items);
+ checkUnnamed5235(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -617,14 +617,14 @@
buildCounterPageviewsCounts--;
}
-buildUnnamed5260() {
+buildUnnamed5236() {
var o = new core.List<api.PageviewsCounts>();
o.add(buildPageviewsCounts());
o.add(buildPageviewsCounts());
return o;
}
-checkUnnamed5260(core.List<api.PageviewsCounts> o) {
+checkUnnamed5236(core.List<api.PageviewsCounts> o) {
unittest.expect(o, unittest.hasLength(2));
checkPageviewsCounts(o[0]);
checkPageviewsCounts(o[1]);
@@ -636,7 +636,7 @@
buildCounterPageviews++;
if (buildCounterPageviews < 3) {
o.blogId = "foo";
- o.counts = buildUnnamed5260();
+ o.counts = buildUnnamed5236();
o.kind = "foo";
}
buildCounterPageviews--;
@@ -647,7 +647,7 @@
buildCounterPageviews++;
if (buildCounterPageviews < 3) {
unittest.expect(o.blogId, unittest.equals('foo'));
- checkUnnamed5260(o.counts);
+ checkUnnamed5236(o.counts);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterPageviews--;
@@ -735,27 +735,27 @@
buildCounterPostImages--;
}
-buildUnnamed5261() {
+buildUnnamed5237() {
var o = new core.List<api.PostImages>();
o.add(buildPostImages());
o.add(buildPostImages());
return o;
}
-checkUnnamed5261(core.List<api.PostImages> o) {
+checkUnnamed5237(core.List<api.PostImages> o) {
unittest.expect(o, unittest.hasLength(2));
checkPostImages(o[0]);
checkPostImages(o[1]);
}
-buildUnnamed5262() {
+buildUnnamed5238() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5262(core.List<core.String> o) {
+checkUnnamed5238(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -786,14 +786,14 @@
buildCounterPostLocation--;
}
-buildUnnamed5263() {
+buildUnnamed5239() {
var o = new core.List<api.Comment>();
o.add(buildComment());
o.add(buildComment());
return o;
}
-checkUnnamed5263(core.List<api.Comment> o) {
+checkUnnamed5239(core.List<api.Comment> o) {
unittest.expect(o, unittest.hasLength(2));
checkComment(o[0]);
checkComment(o[1]);
@@ -804,7 +804,7 @@
var o = new api.PostReplies();
buildCounterPostReplies++;
if (buildCounterPostReplies < 3) {
- o.items = buildUnnamed5263();
+ o.items = buildUnnamed5239();
o.selfLink = "foo";
o.totalItems = "foo";
}
@@ -815,7 +815,7 @@
checkPostReplies(api.PostReplies o) {
buildCounterPostReplies++;
if (buildCounterPostReplies < 3) {
- checkUnnamed5263(o.items);
+ checkUnnamed5239(o.items);
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.totalItems, unittest.equals('foo'));
}
@@ -833,9 +833,9 @@
o.customMetaData = "foo";
o.etag = "foo";
o.id = "foo";
- o.images = buildUnnamed5261();
+ o.images = buildUnnamed5237();
o.kind = "foo";
- o.labels = buildUnnamed5262();
+ o.labels = buildUnnamed5238();
o.location = buildPostLocation();
o.published = "foo";
o.readerComments = "foo";
@@ -860,9 +860,9 @@
unittest.expect(o.customMetaData, unittest.equals('foo'));
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed5261(o.images);
+ checkUnnamed5237(o.images);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed5262(o.labels);
+ checkUnnamed5238(o.labels);
checkPostLocation(o.location);
unittest.expect(o.published, unittest.equals('foo'));
unittest.expect(o.readerComments, unittest.equals('foo'));
@@ -877,14 +877,14 @@
buildCounterPost--;
}
-buildUnnamed5264() {
+buildUnnamed5240() {
var o = new core.List<api.Post>();
o.add(buildPost());
o.add(buildPost());
return o;
}
-checkUnnamed5264(core.List<api.Post> o) {
+checkUnnamed5240(core.List<api.Post> o) {
unittest.expect(o, unittest.hasLength(2));
checkPost(o[0]);
checkPost(o[1]);
@@ -896,7 +896,7 @@
buildCounterPostList++;
if (buildCounterPostList < 3) {
o.etag = "foo";
- o.items = buildUnnamed5264();
+ o.items = buildUnnamed5240();
o.kind = "foo";
o.nextPageToken = "foo";
o.prevPageToken = "foo";
@@ -909,7 +909,7 @@
buildCounterPostList++;
if (buildCounterPostList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed5264(o.items);
+ checkUnnamed5240(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.prevPageToken, unittest.equals('foo'));
@@ -967,14 +967,14 @@
buildCounterPostUserInfo--;
}
-buildUnnamed5265() {
+buildUnnamed5241() {
var o = new core.List<api.PostUserInfo>();
o.add(buildPostUserInfo());
o.add(buildPostUserInfo());
return o;
}
-checkUnnamed5265(core.List<api.PostUserInfo> o) {
+checkUnnamed5241(core.List<api.PostUserInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkPostUserInfo(o[0]);
checkPostUserInfo(o[1]);
@@ -985,7 +985,7 @@
var o = new api.PostUserInfosList();
buildCounterPostUserInfosList++;
if (buildCounterPostUserInfosList < 3) {
- o.items = buildUnnamed5265();
+ o.items = buildUnnamed5241();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -996,7 +996,7 @@
checkPostUserInfosList(api.PostUserInfosList o) {
buildCounterPostUserInfosList++;
if (buildCounterPostUserInfosList < 3) {
- checkUnnamed5265(o.items);
+ checkUnnamed5241(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -1080,92 +1080,92 @@
buildCounterUser--;
}
-buildUnnamed5266() {
+buildUnnamed5242() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5266(core.List<core.String> o) {
+checkUnnamed5242(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed5267() {
+buildUnnamed5243() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5267(core.List<core.String> o) {
+checkUnnamed5243(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed5268() {
+buildUnnamed5244() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5268(core.List<core.String> o) {
+checkUnnamed5244(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed5269() {
+buildUnnamed5245() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5269(core.List<core.String> o) {
+checkUnnamed5245(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed5270() {
+buildUnnamed5246() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5270(core.List<core.String> o) {
+checkUnnamed5246(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed5271() {
+buildUnnamed5247() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5271(core.List<core.String> o) {
+checkUnnamed5247(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed5272() {
+buildUnnamed5248() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5272(core.List<core.String> o) {
+checkUnnamed5248(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1638,8 +1638,8 @@
var mock = new HttpServerMock();
api.BlogsResourceApi res = new api.BloggerApi(mock).blogs;
var arg_userId = "foo";
- var arg_role = buildUnnamed5266();
- var arg_status = buildUnnamed5267();
+ var arg_role = buildUnnamed5242();
+ var arg_status = buildUnnamed5243();
var arg_view = "foo";
var arg_fetchUserInfo = true;
var arg_$fields = "foo";
@@ -1940,13 +1940,13 @@
api.CommentsResourceApi res = new api.BloggerApi(mock).comments;
var arg_blogId = "foo";
var arg_postId = "foo";
- var arg_status = "foo";
- var arg_view = "foo";
- var arg_pageToken = "foo";
- var arg_maxResults = 42;
- var arg_startDate = "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_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1996,18 +1996,18 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["status"].first, unittest.equals(arg_status));
- unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ 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(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ 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["fetchBodies"].first, unittest.equals("$arg_fetchBodies"));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2018,13 +2018,13 @@
}), true);
res
.list(arg_blogId, arg_postId,
- status: arg_status,
- view: arg_view,
- pageToken: arg_pageToken,
- maxResults: arg_maxResults,
- startDate: arg_startDate,
- endDate: arg_endDate,
fetchBodies: arg_fetchBodies,
+ view: arg_view,
+ maxResults: arg_maxResults,
+ pageToken: arg_pageToken,
+ startDate: arg_startDate,
+ status: arg_status,
+ endDate: arg_endDate,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkCommentList(response);
@@ -2035,12 +2035,12 @@
var mock = new HttpServerMock();
api.CommentsResourceApi res = new api.BloggerApi(mock).comments;
var arg_blogId = "foo";
+ var arg_fetchBodies = true;
var arg_endDate = "foo";
var arg_pageToken = "foo";
- var arg_status = buildUnnamed5268();
- var arg_maxResults = 42;
- var arg_fetchBodies = true;
var arg_startDate = "foo";
+ var arg_status = buildUnnamed5244();
+ var arg_maxResults = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2082,16 +2082,16 @@
}
}
unittest.expect(
+ queryMap["fetchBodies"].first, unittest.equals("$arg_fetchBodies"));
+ unittest.expect(
queryMap["endDate"].first, unittest.equals(arg_endDate));
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["fetchBodies"].first, unittest.equals("$arg_fetchBodies"));
- unittest.expect(
- queryMap["startDate"].first, unittest.equals(arg_startDate));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2102,12 +2102,12 @@
}), true);
res
.listByBlog(arg_blogId,
+ fetchBodies: arg_fetchBodies,
endDate: arg_endDate,
pageToken: arg_pageToken,
+ startDate: arg_startDate,
status: arg_status,
maxResults: arg_maxResults,
- fetchBodies: arg_fetchBodies,
- startDate: arg_startDate,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkCommentList(response);
@@ -2280,7 +2280,7 @@
var mock = new HttpServerMock();
api.PageViewsResourceApi res = new api.BloggerApi(mock).pageViews;
var arg_blogId = "foo";
- var arg_range = buildUnnamed5269();
+ var arg_range = buildUnnamed5245();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2536,11 +2536,11 @@
var mock = new HttpServerMock();
api.PagesResourceApi res = new api.BloggerApi(mock).pages;
var arg_blogId = "foo";
- var arg_status = buildUnnamed5270();
var arg_view = "foo";
- var arg_fetchBodies = true;
- var arg_pageToken = "foo";
var arg_maxResults = 42;
+ var arg_fetchBodies = true;
+ var arg_status = buildUnnamed5246();
+ var arg_pageToken = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2581,14 +2581,14 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["status"], unittest.equals(arg_status));
unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
- unittest.expect(
- queryMap["fetchBodies"].first, unittest.equals("$arg_fetchBodies"));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
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["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2599,11 +2599,11 @@
}), true);
res
.list(arg_blogId,
- status: arg_status,
view: arg_view,
- fetchBodies: arg_fetchBodies,
- pageToken: arg_pageToken,
maxResults: arg_maxResults,
+ fetchBodies: arg_fetchBodies,
+ status: arg_status,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkPageList(response);
@@ -2830,8 +2830,8 @@
var arg_request = buildPage();
var arg_blogId = "foo";
var arg_pageId = "foo";
- var arg_publish_1 = true;
var arg_revert_1 = true;
+ var arg_publish_1 = true;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.Page.fromJson(json);
@@ -2879,9 +2879,9 @@
}
}
unittest.expect(
- queryMap["publish"].first, unittest.equals("$arg_publish_1"));
- unittest.expect(
queryMap["revert"].first, unittest.equals("$arg_revert_1"));
+ unittest.expect(
+ queryMap["publish"].first, unittest.equals("$arg_publish_1"));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2892,8 +2892,8 @@
}), true);
res
.update(arg_request, arg_blogId, arg_pageId,
- publish_1: arg_publish_1,
revert_1: arg_revert_1,
+ publish_1: arg_publish_1,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkPage(response);
@@ -2984,15 +2984,15 @@
api.PostUserInfosResourceApi res = new api.BloggerApi(mock).postUserInfos;
var arg_userId = "foo";
var arg_blogId = "foo";
- var arg_view = "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_pageToken = "foo";
- var arg_maxResults = 42;
- var arg_startDate = "foo";
- var arg_fetchBodies = true;
- var arg_status = buildUnnamed5271();
+ var arg_status = buildUnnamed5247();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3042,20 +3042,20 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
unittest.expect(
queryMap["orderBy"].first, unittest.equals(arg_orderBy));
+ 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(
+ 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));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(core.int.parse(queryMap["maxResults"].first),
- unittest.equals(arg_maxResults));
- unittest.expect(
- queryMap["startDate"].first, unittest.equals(arg_startDate));
- unittest.expect(
- queryMap["fetchBodies"].first, unittest.equals("$arg_fetchBodies"));
unittest.expect(queryMap["status"], unittest.equals(arg_status));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -3067,14 +3067,14 @@
}), true);
res
.list(arg_userId, arg_blogId,
- view: arg_view,
orderBy: arg_orderBy,
+ fetchBodies: arg_fetchBodies,
+ view: arg_view,
+ maxResults: arg_maxResults,
+ startDate: arg_startDate,
labels: arg_labels,
endDate: arg_endDate,
pageToken: arg_pageToken,
- maxResults: arg_maxResults,
- startDate: arg_startDate,
- fetchBodies: arg_fetchBodies,
status: arg_status,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -3152,8 +3152,8 @@
var arg_postId = "foo";
var arg_maxComments = 42;
var arg_fetchBody = true;
- var arg_view = "foo";
var arg_fetchImages = true;
+ var arg_view = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3201,9 +3201,9 @@
unittest.equals(arg_maxComments));
unittest.expect(
queryMap["fetchBody"].first, unittest.equals("$arg_fetchBody"));
- unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
unittest.expect(
queryMap["fetchImages"].first, unittest.equals("$arg_fetchImages"));
+ unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3216,8 +3216,8 @@
.get(arg_blogId, arg_postId,
maxComments: arg_maxComments,
fetchBody: arg_fetchBody,
- view: arg_view,
fetchImages: arg_fetchImages,
+ view: arg_view,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkPost(response);
@@ -3373,16 +3373,16 @@
var mock = new HttpServerMock();
api.PostsResourceApi res = new api.BloggerApi(mock).posts;
var arg_blogId = "foo";
- var arg_fetchBodies = true;
- var arg_pageToken = "foo";
- var arg_view = "foo";
- var arg_endDate = "foo";
- var arg_fetchImages = true;
- var arg_status = buildUnnamed5272();
- var arg_labels = "foo";
var arg_maxResults = 42;
- var arg_startDate = "foo";
+ var arg_pageToken = "foo";
+ var arg_fetchBodies = true;
+ var arg_endDate = "foo";
+ var arg_view = "foo";
+ var arg_fetchImages = true;
var arg_orderBy = "foo";
+ var arg_startDate = "foo";
+ var arg_status = buildUnnamed5248();
+ var arg_labels = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3423,23 +3423,23 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(
- queryMap["fetchBodies"].first, unittest.equals("$arg_fetchBodies"));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
- unittest.expect(
- queryMap["endDate"].first, unittest.equals(arg_endDate));
- unittest.expect(
- queryMap["fetchImages"].first, unittest.equals("$arg_fetchImages"));
- unittest.expect(queryMap["status"], unittest.equals(arg_status));
- 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));
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ 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["orderBy"].first, unittest.equals(arg_orderBy));
+ 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["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3450,16 +3450,16 @@
}), true);
res
.list(arg_blogId,
- fetchBodies: arg_fetchBodies,
+ maxResults: arg_maxResults,
pageToken: arg_pageToken,
- view: arg_view,
+ fetchBodies: arg_fetchBodies,
endDate: arg_endDate,
+ view: arg_view,
fetchImages: arg_fetchImages,
+ orderBy: arg_orderBy,
+ startDate: arg_startDate,
status: arg_status,
labels: arg_labels,
- maxResults: arg_maxResults,
- startDate: arg_startDate,
- orderBy: arg_orderBy,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkPostList(response);
@@ -3474,8 +3474,8 @@
var arg_postId = "foo";
var arg_publish_1 = true;
var arg_fetchImages = true;
- var arg_fetchBody = true;
var arg_maxComments = 42;
+ var arg_fetchBody = true;
var arg_revert_1 = true;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -3527,11 +3527,11 @@
queryMap["publish"].first, unittest.equals("$arg_publish_1"));
unittest.expect(
queryMap["fetchImages"].first, unittest.equals("$arg_fetchImages"));
- unittest.expect(
- queryMap["fetchBody"].first, unittest.equals("$arg_fetchBody"));
unittest.expect(core.int.parse(queryMap["maxComments"].first),
unittest.equals(arg_maxComments));
unittest.expect(
+ queryMap["fetchBody"].first, unittest.equals("$arg_fetchBody"));
+ unittest.expect(
queryMap["revert"].first, unittest.equals("$arg_revert_1"));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -3545,8 +3545,8 @@
.patch(arg_request, arg_blogId, arg_postId,
publish_1: arg_publish_1,
fetchImages: arg_fetchImages,
- fetchBody: arg_fetchBody,
maxComments: arg_maxComments,
+ fetchBody: arg_fetchBody,
revert_1: arg_revert_1,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -3772,11 +3772,11 @@
var arg_request = buildPost();
var arg_blogId = "foo";
var arg_postId = "foo";
- var arg_fetchBody = true;
- var arg_fetchImages = true;
var arg_publish_1 = true;
- var arg_maxComments = 42;
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 = new api.Post.fromJson(json);
@@ -3824,15 +3824,15 @@
}
}
unittest.expect(
- queryMap["fetchBody"].first, unittest.equals("$arg_fetchBody"));
- unittest.expect(
- queryMap["fetchImages"].first, unittest.equals("$arg_fetchImages"));
- unittest.expect(
queryMap["publish"].first, unittest.equals("$arg_publish_1"));
+ unittest.expect(
+ queryMap["revert"].first, unittest.equals("$arg_revert_1"));
unittest.expect(core.int.parse(queryMap["maxComments"].first),
unittest.equals(arg_maxComments));
unittest.expect(
- queryMap["revert"].first, unittest.equals("$arg_revert_1"));
+ queryMap["fetchImages"].first, unittest.equals("$arg_fetchImages"));
+ unittest.expect(
+ queryMap["fetchBody"].first, unittest.equals("$arg_fetchBody"));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3843,11 +3843,11 @@
}), true);
res
.update(arg_request, arg_blogId, arg_postId,
- fetchBody: arg_fetchBody,
- fetchImages: arg_fetchImages,
publish_1: arg_publish_1,
- maxComments: arg_maxComments,
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 f40a309..2c7b1e8 100644
--- a/generated/googleapis/test/books/v1_test.dart
+++ b/generated/googleapis/test/books/v1_test.dart
@@ -127,14 +127,14 @@
buildCounterAnnotationLayerSummary--;
}
-buildUnnamed3298() {
+buildUnnamed3302() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3298(core.List<core.String> o) {
+checkUnnamed3302(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -157,7 +157,7 @@
o.kind = "foo";
o.layerId = "foo";
o.layerSummary = buildAnnotationLayerSummary();
- o.pageIds = buildUnnamed3298();
+ o.pageIds = buildUnnamed3302();
o.selectedText = "foo";
o.selfLink = "foo";
o.updated = "foo";
@@ -182,7 +182,7 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.layerId, unittest.equals('foo'));
checkAnnotationLayerSummary(o.layerSummary);
- checkUnnamed3298(o.pageIds);
+ checkUnnamed3302(o.pageIds);
unittest.expect(o.selectedText, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.updated, unittest.equals('foo'));
@@ -191,14 +191,14 @@
buildCounterAnnotation--;
}
-buildUnnamed3299() {
+buildUnnamed3303() {
var o = new core.List<api.Annotation>();
o.add(buildAnnotation());
o.add(buildAnnotation());
return o;
}
-checkUnnamed3299(core.List<api.Annotation> o) {
+checkUnnamed3303(core.List<api.Annotation> o) {
unittest.expect(o, unittest.hasLength(2));
checkAnnotation(o[0]);
checkAnnotation(o[1]);
@@ -209,7 +209,7 @@
var o = new api.Annotations();
buildCounterAnnotations++;
if (buildCounterAnnotations < 3) {
- o.items = buildUnnamed3299();
+ o.items = buildUnnamed3303();
o.kind = "foo";
o.nextPageToken = "foo";
o.totalItems = 42;
@@ -221,7 +221,7 @@
checkAnnotations(api.Annotations o) {
buildCounterAnnotations++;
if (buildCounterAnnotations < 3) {
- checkUnnamed3299(o.items);
+ checkUnnamed3303(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.totalItems, unittest.equals(42));
@@ -256,14 +256,14 @@
buildCounterAnnotationsSummaryLayers--;
}
-buildUnnamed3300() {
+buildUnnamed3304() {
var o = new core.List<api.AnnotationsSummaryLayers>();
o.add(buildAnnotationsSummaryLayers());
o.add(buildAnnotationsSummaryLayers());
return o;
}
-checkUnnamed3300(core.List<api.AnnotationsSummaryLayers> o) {
+checkUnnamed3304(core.List<api.AnnotationsSummaryLayers> o) {
unittest.expect(o, unittest.hasLength(2));
checkAnnotationsSummaryLayers(o[0]);
checkAnnotationsSummaryLayers(o[1]);
@@ -275,7 +275,7 @@
buildCounterAnnotationsSummary++;
if (buildCounterAnnotationsSummary < 3) {
o.kind = "foo";
- o.layers = buildUnnamed3300();
+ o.layers = buildUnnamed3304();
}
buildCounterAnnotationsSummary--;
return o;
@@ -285,19 +285,19 @@
buildCounterAnnotationsSummary++;
if (buildCounterAnnotationsSummary < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed3300(o.layers);
+ checkUnnamed3304(o.layers);
}
buildCounterAnnotationsSummary--;
}
-buildUnnamed3301() {
+buildUnnamed3305() {
var o = new core.List<api.GeoAnnotationdata>();
o.add(buildGeoAnnotationdata());
o.add(buildGeoAnnotationdata());
return o;
}
-checkUnnamed3301(core.List<api.GeoAnnotationdata> o) {
+checkUnnamed3305(core.List<api.GeoAnnotationdata> o) {
unittest.expect(o, unittest.hasLength(2));
checkGeoAnnotationdata(o[0]);
checkGeoAnnotationdata(o[1]);
@@ -308,7 +308,7 @@
var o = new api.Annotationsdata();
buildCounterAnnotationsdata++;
if (buildCounterAnnotationsdata < 3) {
- o.items = buildUnnamed3301();
+ o.items = buildUnnamed3305();
o.kind = "foo";
o.nextPageToken = "foo";
o.totalItems = 42;
@@ -320,7 +320,7 @@
checkAnnotationsdata(api.Annotationsdata o) {
buildCounterAnnotationsdata++;
if (buildCounterAnnotationsdata < 3) {
- checkUnnamed3301(o.items);
+ checkUnnamed3305(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.totalItems, unittest.equals(42));
@@ -435,14 +435,14 @@
buildCounterBookshelf--;
}
-buildUnnamed3302() {
+buildUnnamed3306() {
var o = new core.List<api.Bookshelf>();
o.add(buildBookshelf());
o.add(buildBookshelf());
return o;
}
-checkUnnamed3302(core.List<api.Bookshelf> o) {
+checkUnnamed3306(core.List<api.Bookshelf> o) {
unittest.expect(o, unittest.hasLength(2));
checkBookshelf(o[0]);
checkBookshelf(o[1]);
@@ -453,7 +453,7 @@
var o = new api.Bookshelves();
buildCounterBookshelves++;
if (buildCounterBookshelves < 3) {
- o.items = buildUnnamed3302();
+ o.items = buildUnnamed3306();
o.kind = "foo";
}
buildCounterBookshelves--;
@@ -463,7 +463,7 @@
checkBookshelves(api.Bookshelves o) {
buildCounterBookshelves++;
if (buildCounterBookshelves < 3) {
- checkUnnamed3302(o.items);
+ checkUnnamed3306(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterBookshelves--;
@@ -492,14 +492,14 @@
buildCounterCategoryItems--;
}
-buildUnnamed3303() {
+buildUnnamed3307() {
var o = new core.List<api.CategoryItems>();
o.add(buildCategoryItems());
o.add(buildCategoryItems());
return o;
}
-checkUnnamed3303(core.List<api.CategoryItems> o) {
+checkUnnamed3307(core.List<api.CategoryItems> o) {
unittest.expect(o, unittest.hasLength(2));
checkCategoryItems(o[0]);
checkCategoryItems(o[1]);
@@ -510,7 +510,7 @@
var o = new api.Category();
buildCounterCategory++;
if (buildCounterCategory < 3) {
- o.items = buildUnnamed3303();
+ o.items = buildUnnamed3307();
o.kind = "foo";
}
buildCounterCategory--;
@@ -520,7 +520,7 @@
checkCategory(api.Category o) {
buildCounterCategory++;
if (buildCounterCategory < 3) {
- checkUnnamed3303(o.items);
+ checkUnnamed3307(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterCategory--;
@@ -684,14 +684,14 @@
buildCounterDictlayerdataDictWordsDerivatives--;
}
-buildUnnamed3304() {
+buildUnnamed3308() {
var o = new core.List<api.DictlayerdataDictWordsDerivatives>();
o.add(buildDictlayerdataDictWordsDerivatives());
o.add(buildDictlayerdataDictWordsDerivatives());
return o;
}
-checkUnnamed3304(core.List<api.DictlayerdataDictWordsDerivatives> o) {
+checkUnnamed3308(core.List<api.DictlayerdataDictWordsDerivatives> o) {
unittest.expect(o, unittest.hasLength(2));
checkDictlayerdataDictWordsDerivatives(o[0]);
checkDictlayerdataDictWordsDerivatives(o[1]);
@@ -740,14 +740,14 @@
buildCounterDictlayerdataDictWordsExamples--;
}
-buildUnnamed3305() {
+buildUnnamed3309() {
var o = new core.List<api.DictlayerdataDictWordsExamples>();
o.add(buildDictlayerdataDictWordsExamples());
o.add(buildDictlayerdataDictWordsExamples());
return o;
}
-checkUnnamed3305(core.List<api.DictlayerdataDictWordsExamples> o) {
+checkUnnamed3309(core.List<api.DictlayerdataDictWordsExamples> o) {
unittest.expect(o, unittest.hasLength(2));
checkDictlayerdataDictWordsExamples(o[0]);
checkDictlayerdataDictWordsExamples(o[1]);
@@ -775,14 +775,14 @@
buildCounterDictlayerdataDictWordsSensesConjugations--;
}
-buildUnnamed3306() {
+buildUnnamed3310() {
var o = new core.List<api.DictlayerdataDictWordsSensesConjugations>();
o.add(buildDictlayerdataDictWordsSensesConjugations());
o.add(buildDictlayerdataDictWordsSensesConjugations());
return o;
}
-checkUnnamed3306(core.List<api.DictlayerdataDictWordsSensesConjugations> o) {
+checkUnnamed3310(core.List<api.DictlayerdataDictWordsSensesConjugations> o) {
unittest.expect(o, unittest.hasLength(2));
checkDictlayerdataDictWordsSensesConjugations(o[0]);
checkDictlayerdataDictWordsSensesConjugations(o[1]);
@@ -832,14 +832,14 @@
buildCounterDictlayerdataDictWordsSensesDefinitionsExamples--;
}
-buildUnnamed3307() {
+buildUnnamed3311() {
var o = new core.List<api.DictlayerdataDictWordsSensesDefinitionsExamples>();
o.add(buildDictlayerdataDictWordsSensesDefinitionsExamples());
o.add(buildDictlayerdataDictWordsSensesDefinitionsExamples());
return o;
}
-checkUnnamed3307(
+checkUnnamed3311(
core.List<api.DictlayerdataDictWordsSensesDefinitionsExamples> o) {
unittest.expect(o, unittest.hasLength(2));
checkDictlayerdataDictWordsSensesDefinitionsExamples(o[0]);
@@ -852,7 +852,7 @@
buildCounterDictlayerdataDictWordsSensesDefinitions++;
if (buildCounterDictlayerdataDictWordsSensesDefinitions < 3) {
o.definition = "foo";
- o.examples = buildUnnamed3307();
+ o.examples = buildUnnamed3311();
}
buildCounterDictlayerdataDictWordsSensesDefinitions--;
return o;
@@ -863,19 +863,19 @@
buildCounterDictlayerdataDictWordsSensesDefinitions++;
if (buildCounterDictlayerdataDictWordsSensesDefinitions < 3) {
unittest.expect(o.definition, unittest.equals('foo'));
- checkUnnamed3307(o.examples);
+ checkUnnamed3311(o.examples);
}
buildCounterDictlayerdataDictWordsSensesDefinitions--;
}
-buildUnnamed3308() {
+buildUnnamed3312() {
var o = new core.List<api.DictlayerdataDictWordsSensesDefinitions>();
o.add(buildDictlayerdataDictWordsSensesDefinitions());
o.add(buildDictlayerdataDictWordsSensesDefinitions());
return o;
}
-checkUnnamed3308(core.List<api.DictlayerdataDictWordsSensesDefinitions> o) {
+checkUnnamed3312(core.List<api.DictlayerdataDictWordsSensesDefinitions> o) {
unittest.expect(o, unittest.hasLength(2));
checkDictlayerdataDictWordsSensesDefinitions(o[0]);
checkDictlayerdataDictWordsSensesDefinitions(o[1]);
@@ -947,14 +947,14 @@
buildCounterDictlayerdataDictWordsSensesSynonyms--;
}
-buildUnnamed3309() {
+buildUnnamed3313() {
var o = new core.List<api.DictlayerdataDictWordsSensesSynonyms>();
o.add(buildDictlayerdataDictWordsSensesSynonyms());
o.add(buildDictlayerdataDictWordsSensesSynonyms());
return o;
}
-checkUnnamed3309(core.List<api.DictlayerdataDictWordsSensesSynonyms> o) {
+checkUnnamed3313(core.List<api.DictlayerdataDictWordsSensesSynonyms> o) {
unittest.expect(o, unittest.hasLength(2));
checkDictlayerdataDictWordsSensesSynonyms(o[0]);
checkDictlayerdataDictWordsSensesSynonyms(o[1]);
@@ -965,14 +965,14 @@
var o = new api.DictlayerdataDictWordsSenses();
buildCounterDictlayerdataDictWordsSenses++;
if (buildCounterDictlayerdataDictWordsSenses < 3) {
- o.conjugations = buildUnnamed3306();
- o.definitions = buildUnnamed3308();
+ o.conjugations = buildUnnamed3310();
+ o.definitions = buildUnnamed3312();
o.partOfSpeech = "foo";
o.pronunciation = "foo";
o.pronunciationUrl = "foo";
o.source = buildDictlayerdataDictWordsSensesSource();
o.syllabification = "foo";
- o.synonyms = buildUnnamed3309();
+ o.synonyms = buildUnnamed3313();
}
buildCounterDictlayerdataDictWordsSenses--;
return o;
@@ -981,26 +981,26 @@
checkDictlayerdataDictWordsSenses(api.DictlayerdataDictWordsSenses o) {
buildCounterDictlayerdataDictWordsSenses++;
if (buildCounterDictlayerdataDictWordsSenses < 3) {
- checkUnnamed3306(o.conjugations);
- checkUnnamed3308(o.definitions);
+ checkUnnamed3310(o.conjugations);
+ checkUnnamed3312(o.definitions);
unittest.expect(o.partOfSpeech, unittest.equals('foo'));
unittest.expect(o.pronunciation, unittest.equals('foo'));
unittest.expect(o.pronunciationUrl, unittest.equals('foo'));
checkDictlayerdataDictWordsSensesSource(o.source);
unittest.expect(o.syllabification, unittest.equals('foo'));
- checkUnnamed3309(o.synonyms);
+ checkUnnamed3313(o.synonyms);
}
buildCounterDictlayerdataDictWordsSenses--;
}
-buildUnnamed3310() {
+buildUnnamed3314() {
var o = new core.List<api.DictlayerdataDictWordsSenses>();
o.add(buildDictlayerdataDictWordsSenses());
o.add(buildDictlayerdataDictWordsSenses());
return o;
}
-checkUnnamed3310(core.List<api.DictlayerdataDictWordsSenses> o) {
+checkUnnamed3314(core.List<api.DictlayerdataDictWordsSenses> o) {
unittest.expect(o, unittest.hasLength(2));
checkDictlayerdataDictWordsSenses(o[0]);
checkDictlayerdataDictWordsSenses(o[1]);
@@ -1032,9 +1032,9 @@
var o = new api.DictlayerdataDictWords();
buildCounterDictlayerdataDictWords++;
if (buildCounterDictlayerdataDictWords < 3) {
- o.derivatives = buildUnnamed3304();
- o.examples = buildUnnamed3305();
- o.senses = buildUnnamed3310();
+ o.derivatives = buildUnnamed3308();
+ o.examples = buildUnnamed3309();
+ o.senses = buildUnnamed3314();
o.source = buildDictlayerdataDictWordsSource();
}
buildCounterDictlayerdataDictWords--;
@@ -1044,22 +1044,22 @@
checkDictlayerdataDictWords(api.DictlayerdataDictWords o) {
buildCounterDictlayerdataDictWords++;
if (buildCounterDictlayerdataDictWords < 3) {
- checkUnnamed3304(o.derivatives);
- checkUnnamed3305(o.examples);
- checkUnnamed3310(o.senses);
+ checkUnnamed3308(o.derivatives);
+ checkUnnamed3309(o.examples);
+ checkUnnamed3314(o.senses);
checkDictlayerdataDictWordsSource(o.source);
}
buildCounterDictlayerdataDictWords--;
}
-buildUnnamed3311() {
+buildUnnamed3315() {
var o = new core.List<api.DictlayerdataDictWords>();
o.add(buildDictlayerdataDictWords());
o.add(buildDictlayerdataDictWords());
return o;
}
-checkUnnamed3311(core.List<api.DictlayerdataDictWords> o) {
+checkUnnamed3315(core.List<api.DictlayerdataDictWords> o) {
unittest.expect(o, unittest.hasLength(2));
checkDictlayerdataDictWords(o[0]);
checkDictlayerdataDictWords(o[1]);
@@ -1071,7 +1071,7 @@
buildCounterDictlayerdataDict++;
if (buildCounterDictlayerdataDict < 3) {
o.source = buildDictlayerdataDictSource();
- o.words = buildUnnamed3311();
+ o.words = buildUnnamed3315();
}
buildCounterDictlayerdataDict--;
return o;
@@ -1081,7 +1081,7 @@
buildCounterDictlayerdataDict++;
if (buildCounterDictlayerdataDict < 3) {
checkDictlayerdataDictSource(o.source);
- checkUnnamed3311(o.words);
+ checkUnnamed3315(o.words);
}
buildCounterDictlayerdataDict--;
}
@@ -1139,14 +1139,14 @@
buildCounterDiscoveryclustersClustersBannerWithContentContainer--;
}
-buildUnnamed3312() {
+buildUnnamed3316() {
var o = new core.List<api.Volume>();
o.add(buildVolume());
o.add(buildVolume());
return o;
}
-checkUnnamed3312(core.List<api.Volume> o) {
+checkUnnamed3316(core.List<api.Volume> o) {
unittest.expect(o, unittest.hasLength(2));
checkVolume(o[0]);
checkVolume(o[1]);
@@ -1163,7 +1163,7 @@
o.title = "foo";
o.totalVolumes = 42;
o.uid = "foo";
- o.volumes = buildUnnamed3312();
+ o.volumes = buildUnnamed3316();
}
buildCounterDiscoveryclustersClusters--;
return o;
@@ -1178,19 +1178,19 @@
unittest.expect(o.title, unittest.equals('foo'));
unittest.expect(o.totalVolumes, unittest.equals(42));
unittest.expect(o.uid, unittest.equals('foo'));
- checkUnnamed3312(o.volumes);
+ checkUnnamed3316(o.volumes);
}
buildCounterDiscoveryclustersClusters--;
}
-buildUnnamed3313() {
+buildUnnamed3317() {
var o = new core.List<api.DiscoveryclustersClusters>();
o.add(buildDiscoveryclustersClusters());
o.add(buildDiscoveryclustersClusters());
return o;
}
-checkUnnamed3313(core.List<api.DiscoveryclustersClusters> o) {
+checkUnnamed3317(core.List<api.DiscoveryclustersClusters> o) {
unittest.expect(o, unittest.hasLength(2));
checkDiscoveryclustersClusters(o[0]);
checkDiscoveryclustersClusters(o[1]);
@@ -1201,7 +1201,7 @@
var o = new api.Discoveryclusters();
buildCounterDiscoveryclusters++;
if (buildCounterDiscoveryclusters < 3) {
- o.clusters = buildUnnamed3313();
+ o.clusters = buildUnnamed3317();
o.kind = "foo";
o.totalClusters = 42;
}
@@ -1212,7 +1212,7 @@
checkDiscoveryclusters(api.Discoveryclusters o) {
buildCounterDiscoveryclusters++;
if (buildCounterDiscoveryclusters < 3) {
- checkUnnamed3313(o.clusters);
+ checkUnnamed3317(o.clusters);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.totalClusters, unittest.equals(42));
}
@@ -1260,14 +1260,14 @@
buildCounterDownloadAccessRestriction--;
}
-buildUnnamed3314() {
+buildUnnamed3318() {
var o = new core.List<api.DownloadAccessRestriction>();
o.add(buildDownloadAccessRestriction());
o.add(buildDownloadAccessRestriction());
return o;
}
-checkUnnamed3314(core.List<api.DownloadAccessRestriction> o) {
+checkUnnamed3318(core.List<api.DownloadAccessRestriction> o) {
unittest.expect(o, unittest.hasLength(2));
checkDownloadAccessRestriction(o[0]);
checkDownloadAccessRestriction(o[1]);
@@ -1278,7 +1278,7 @@
var o = new api.DownloadAccesses();
buildCounterDownloadAccesses++;
if (buildCounterDownloadAccesses < 3) {
- o.downloadAccessList = buildUnnamed3314();
+ o.downloadAccessList = buildUnnamed3318();
o.kind = "foo";
}
buildCounterDownloadAccesses--;
@@ -1288,7 +1288,7 @@
checkDownloadAccesses(api.DownloadAccesses o) {
buildCounterDownloadAccesses++;
if (buildCounterDownloadAccesses < 3) {
- checkUnnamed3314(o.downloadAccessList);
+ checkUnnamed3318(o.downloadAccessList);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterDownloadAccesses--;
@@ -1419,14 +1419,14 @@
buildCounterGeolayerdataCommon--;
}
-buildUnnamed3315() {
+buildUnnamed3319() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3315(core.List<core.String> o) {
+checkUnnamed3319(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1500,7 +1500,7 @@
var o = new api.GeolayerdataGeo();
buildCounterGeolayerdataGeo++;
if (buildCounterGeolayerdataGeo < 3) {
- o.boundary = buildUnnamed3315();
+ o.boundary = buildUnnamed3319();
o.cachePolicy = "foo";
o.countryCode = "foo";
o.latitude = 42.0;
@@ -1516,7 +1516,7 @@
checkGeolayerdataGeo(api.GeolayerdataGeo o) {
buildCounterGeolayerdataGeo++;
if (buildCounterGeolayerdataGeo < 3) {
- checkUnnamed3315(o.boundary);
+ checkUnnamed3319(o.boundary);
unittest.expect(o.cachePolicy, unittest.equals('foo'));
unittest.expect(o.countryCode, unittest.equals('foo'));
unittest.expect(o.latitude, unittest.equals(42.0));
@@ -1551,14 +1551,14 @@
buildCounterGeolayerdata--;
}
-buildUnnamed3316() {
+buildUnnamed3320() {
var o = new core.List<api.Layersummary>();
o.add(buildLayersummary());
o.add(buildLayersummary());
return o;
}
-checkUnnamed3316(core.List<api.Layersummary> o) {
+checkUnnamed3320(core.List<api.Layersummary> o) {
unittest.expect(o, unittest.hasLength(2));
checkLayersummary(o[0]);
checkLayersummary(o[1]);
@@ -1569,7 +1569,7 @@
var o = new api.Layersummaries();
buildCounterLayersummaries++;
if (buildCounterLayersummaries < 3) {
- o.items = buildUnnamed3316();
+ o.items = buildUnnamed3320();
o.kind = "foo";
o.totalItems = 42;
}
@@ -1580,21 +1580,21 @@
checkLayersummaries(api.Layersummaries o) {
buildCounterLayersummaries++;
if (buildCounterLayersummaries < 3) {
- checkUnnamed3316(o.items);
+ checkUnnamed3320(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.totalItems, unittest.equals(42));
}
buildCounterLayersummaries--;
}
-buildUnnamed3317() {
+buildUnnamed3321() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3317(core.List<core.String> o) {
+checkUnnamed3321(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1606,7 +1606,7 @@
buildCounterLayersummary++;
if (buildCounterLayersummary < 3) {
o.annotationCount = 42;
- o.annotationTypes = buildUnnamed3317();
+ o.annotationTypes = buildUnnamed3321();
o.annotationsDataLink = "foo";
o.annotationsLink = "foo";
o.contentVersion = "foo";
@@ -1627,7 +1627,7 @@
buildCounterLayersummary++;
if (buildCounterLayersummary < 3) {
unittest.expect(o.annotationCount, unittest.equals(42));
- checkUnnamed3317(o.annotationTypes);
+ checkUnnamed3321(o.annotationTypes);
unittest.expect(o.annotationsDataLink, unittest.equals('foo'));
unittest.expect(o.annotationsLink, unittest.equals('foo'));
unittest.expect(o.contentVersion, unittest.equals('foo'));
@@ -1670,14 +1670,14 @@
buildCounterMetadataItems--;
}
-buildUnnamed3318() {
+buildUnnamed3322() {
var o = new core.List<api.MetadataItems>();
o.add(buildMetadataItems());
o.add(buildMetadataItems());
return o;
}
-checkUnnamed3318(core.List<api.MetadataItems> o) {
+checkUnnamed3322(core.List<api.MetadataItems> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetadataItems(o[0]);
checkMetadataItems(o[1]);
@@ -1688,7 +1688,7 @@
var o = new api.Metadata();
buildCounterMetadata++;
if (buildCounterMetadata < 3) {
- o.items = buildUnnamed3318();
+ o.items = buildUnnamed3322();
o.kind = "foo";
}
buildCounterMetadata--;
@@ -1698,20 +1698,20 @@
checkMetadata(api.Metadata o) {
buildCounterMetadata++;
if (buildCounterMetadata < 3) {
- checkUnnamed3318(o.items);
+ checkUnnamed3322(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterMetadata--;
}
-buildUnnamed3319() {
+buildUnnamed3323() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3319(core.List<core.String> o) {
+checkUnnamed3323(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1723,7 +1723,7 @@
buildCounterNotification++;
if (buildCounterNotification < 3) {
o.body = "foo";
- o.crmExperimentIds = buildUnnamed3319();
+ o.crmExperimentIds = buildUnnamed3323();
o.docId = "foo";
o.docType = "foo";
o.dontShowNotification = true;
@@ -1747,7 +1747,7 @@
buildCounterNotification++;
if (buildCounterNotification < 3) {
unittest.expect(o.body, unittest.equals('foo'));
- checkUnnamed3319(o.crmExperimentIds);
+ checkUnnamed3323(o.crmExperimentIds);
unittest.expect(o.docId, unittest.equals('foo'));
unittest.expect(o.docType, unittest.equals('foo'));
unittest.expect(o.dontShowNotification, unittest.isTrue);
@@ -1795,14 +1795,14 @@
buildCounterOffersItemsItems--;
}
-buildUnnamed3320() {
+buildUnnamed3324() {
var o = new core.List<api.OffersItemsItems>();
o.add(buildOffersItemsItems());
o.add(buildOffersItemsItems());
return o;
}
-checkUnnamed3320(core.List<api.OffersItemsItems> o) {
+checkUnnamed3324(core.List<api.OffersItemsItems> o) {
unittest.expect(o, unittest.hasLength(2));
checkOffersItemsItems(o[0]);
checkOffersItemsItems(o[1]);
@@ -1816,7 +1816,7 @@
o.artUrl = "foo";
o.gservicesKey = "foo";
o.id = "foo";
- o.items = buildUnnamed3320();
+ o.items = buildUnnamed3324();
}
buildCounterOffersItems--;
return o;
@@ -1828,19 +1828,19 @@
unittest.expect(o.artUrl, unittest.equals('foo'));
unittest.expect(o.gservicesKey, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed3320(o.items);
+ checkUnnamed3324(o.items);
}
buildCounterOffersItems--;
}
-buildUnnamed3321() {
+buildUnnamed3325() {
var o = new core.List<api.OffersItems>();
o.add(buildOffersItems());
o.add(buildOffersItems());
return o;
}
-checkUnnamed3321(core.List<api.OffersItems> o) {
+checkUnnamed3325(core.List<api.OffersItems> o) {
unittest.expect(o, unittest.hasLength(2));
checkOffersItems(o[0]);
checkOffersItems(o[1]);
@@ -1851,7 +1851,7 @@
var o = new api.Offers();
buildCounterOffers++;
if (buildCounterOffers < 3) {
- o.items = buildUnnamed3321();
+ o.items = buildUnnamed3325();
o.kind = "foo";
}
buildCounterOffers--;
@@ -1861,7 +1861,7 @@
checkOffers(api.Offers o) {
buildCounterOffers++;
if (buildCounterOffers < 3) {
- checkUnnamed3321(o.items);
+ checkUnnamed3325(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterOffers--;
@@ -2127,14 +2127,14 @@
buildCounterSeriesSeries--;
}
-buildUnnamed3322() {
+buildUnnamed3326() {
var o = new core.List<api.SeriesSeries>();
o.add(buildSeriesSeries());
o.add(buildSeriesSeries());
return o;
}
-checkUnnamed3322(core.List<api.SeriesSeries> o) {
+checkUnnamed3326(core.List<api.SeriesSeries> o) {
unittest.expect(o, unittest.hasLength(2));
checkSeriesSeries(o[0]);
checkSeriesSeries(o[1]);
@@ -2146,7 +2146,7 @@
buildCounterSeries++;
if (buildCounterSeries < 3) {
o.kind = "foo";
- o.series = buildUnnamed3322();
+ o.series = buildUnnamed3326();
}
buildCounterSeries--;
return o;
@@ -2156,19 +2156,19 @@
buildCounterSeries++;
if (buildCounterSeries < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed3322(o.series);
+ checkUnnamed3326(o.series);
}
buildCounterSeries--;
}
-buildUnnamed3323() {
+buildUnnamed3327() {
var o = new core.List<api.Volume>();
o.add(buildVolume());
o.add(buildVolume());
return o;
}
-checkUnnamed3323(core.List<api.Volume> o) {
+checkUnnamed3327(core.List<api.Volume> o) {
unittest.expect(o, unittest.hasLength(2));
checkVolume(o[0]);
checkVolume(o[1]);
@@ -2180,7 +2180,7 @@
buildCounterSeriesmembership++;
if (buildCounterSeriesmembership < 3) {
o.kind = "foo";
- o.member = buildUnnamed3323();
+ o.member = buildUnnamed3327();
o.nextPageToken = "foo";
}
buildCounterSeriesmembership--;
@@ -2191,7 +2191,7 @@
buildCounterSeriesmembership++;
if (buildCounterSeriesmembership < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed3323(o.member);
+ checkUnnamed3327(o.member);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterSeriesmembership--;
@@ -2480,14 +2480,14 @@
buildCounterVolumeLayerInfoLayers--;
}
-buildUnnamed3324() {
+buildUnnamed3328() {
var o = new core.List<api.VolumeLayerInfoLayers>();
o.add(buildVolumeLayerInfoLayers());
o.add(buildVolumeLayerInfoLayers());
return o;
}
-checkUnnamed3324(core.List<api.VolumeLayerInfoLayers> o) {
+checkUnnamed3328(core.List<api.VolumeLayerInfoLayers> o) {
unittest.expect(o, unittest.hasLength(2));
checkVolumeLayerInfoLayers(o[0]);
checkVolumeLayerInfoLayers(o[1]);
@@ -2498,7 +2498,7 @@
var o = new api.VolumeLayerInfo();
buildCounterVolumeLayerInfo++;
if (buildCounterVolumeLayerInfo < 3) {
- o.layers = buildUnnamed3324();
+ o.layers = buildUnnamed3328();
}
buildCounterVolumeLayerInfo--;
return o;
@@ -2507,7 +2507,7 @@
checkVolumeLayerInfo(api.VolumeLayerInfo o) {
buildCounterVolumeLayerInfo++;
if (buildCounterVolumeLayerInfo < 3) {
- checkUnnamed3324(o.layers);
+ checkUnnamed3328(o.layers);
}
buildCounterVolumeLayerInfo--;
}
@@ -2643,14 +2643,14 @@
buildCounterVolumeSaleInfoOffers--;
}
-buildUnnamed3325() {
+buildUnnamed3329() {
var o = new core.List<api.VolumeSaleInfoOffers>();
o.add(buildVolumeSaleInfoOffers());
o.add(buildVolumeSaleInfoOffers());
return o;
}
-checkUnnamed3325(core.List<api.VolumeSaleInfoOffers> o) {
+checkUnnamed3329(core.List<api.VolumeSaleInfoOffers> o) {
unittest.expect(o, unittest.hasLength(2));
checkVolumeSaleInfoOffers(o[0]);
checkVolumeSaleInfoOffers(o[1]);
@@ -2686,7 +2686,7 @@
o.country = "foo";
o.isEbook = true;
o.listPrice = buildVolumeSaleInfoListPrice();
- o.offers = buildUnnamed3325();
+ o.offers = buildUnnamed3329();
o.onSaleDate = "foo";
o.retailPrice = buildVolumeSaleInfoRetailPrice();
o.saleability = "foo";
@@ -2702,7 +2702,7 @@
unittest.expect(o.country, unittest.equals('foo'));
unittest.expect(o.isEbook, unittest.isTrue);
checkVolumeSaleInfoListPrice(o.listPrice);
- checkUnnamed3325(o.offers);
+ checkUnnamed3329(o.offers);
unittest.expect(o.onSaleDate, unittest.equals('foo'));
checkVolumeSaleInfoRetailPrice(o.retailPrice);
unittest.expect(o.saleability, unittest.equals('foo'));
@@ -2873,27 +2873,27 @@
buildCounterVolumeUserInfo--;
}
-buildUnnamed3326() {
+buildUnnamed3330() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3326(core.List<core.String> o) {
+checkUnnamed3330(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3327() {
+buildUnnamed3331() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3327(core.List<core.String> o) {
+checkUnnamed3331(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2973,14 +2973,14 @@
buildCounterVolumeVolumeInfoIndustryIdentifiers--;
}
-buildUnnamed3328() {
+buildUnnamed3332() {
var o = new core.List<api.VolumeVolumeInfoIndustryIdentifiers>();
o.add(buildVolumeVolumeInfoIndustryIdentifiers());
o.add(buildVolumeVolumeInfoIndustryIdentifiers());
return o;
}
-checkUnnamed3328(core.List<api.VolumeVolumeInfoIndustryIdentifiers> o) {
+checkUnnamed3332(core.List<api.VolumeVolumeInfoIndustryIdentifiers> o) {
unittest.expect(o, unittest.hasLength(2));
checkVolumeVolumeInfoIndustryIdentifiers(o[0]);
checkVolumeVolumeInfoIndustryIdentifiers(o[1]);
@@ -3039,16 +3039,16 @@
buildCounterVolumeVolumeInfo++;
if (buildCounterVolumeVolumeInfo < 3) {
o.allowAnonLogging = true;
- o.authors = buildUnnamed3326();
+ o.authors = buildUnnamed3330();
o.averageRating = 42.0;
o.canonicalVolumeLink = "foo";
- o.categories = buildUnnamed3327();
+ o.categories = buildUnnamed3331();
o.comicsContent = true;
o.contentVersion = "foo";
o.description = "foo";
o.dimensions = buildVolumeVolumeInfoDimensions();
o.imageLinks = buildVolumeVolumeInfoImageLinks();
- o.industryIdentifiers = buildUnnamed3328();
+ o.industryIdentifiers = buildUnnamed3332();
o.infoLink = "foo";
o.language = "foo";
o.mainCategory = "foo";
@@ -3075,16 +3075,16 @@
buildCounterVolumeVolumeInfo++;
if (buildCounterVolumeVolumeInfo < 3) {
unittest.expect(o.allowAnonLogging, unittest.isTrue);
- checkUnnamed3326(o.authors);
+ checkUnnamed3330(o.authors);
unittest.expect(o.averageRating, unittest.equals(42.0));
unittest.expect(o.canonicalVolumeLink, unittest.equals('foo'));
- checkUnnamed3327(o.categories);
+ checkUnnamed3331(o.categories);
unittest.expect(o.comicsContent, unittest.isTrue);
unittest.expect(o.contentVersion, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
checkVolumeVolumeInfoDimensions(o.dimensions);
checkVolumeVolumeInfoImageLinks(o.imageLinks);
- checkUnnamed3328(o.industryIdentifiers);
+ checkUnnamed3332(o.industryIdentifiers);
unittest.expect(o.infoLink, unittest.equals('foo'));
unittest.expect(o.language, unittest.equals('foo'));
unittest.expect(o.mainCategory, unittest.equals('foo'));
@@ -3145,14 +3145,14 @@
buildCounterVolume--;
}
-buildUnnamed3329() {
+buildUnnamed3333() {
var o = new core.List<api.Volume>();
o.add(buildVolume());
o.add(buildVolume());
return o;
}
-checkUnnamed3329(core.List<api.Volume> o) {
+checkUnnamed3333(core.List<api.Volume> o) {
unittest.expect(o, unittest.hasLength(2));
checkVolume(o[0]);
checkVolume(o[1]);
@@ -3163,7 +3163,7 @@
var o = new api.Volume2();
buildCounterVolume2++;
if (buildCounterVolume2 < 3) {
- o.items = buildUnnamed3329();
+ o.items = buildUnnamed3333();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -3174,7 +3174,7 @@
checkVolume2(api.Volume2 o) {
buildCounterVolume2++;
if (buildCounterVolume2 < 3) {
- checkUnnamed3329(o.items);
+ checkUnnamed3333(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -3206,14 +3206,14 @@
buildCounterVolumeannotationContentRanges--;
}
-buildUnnamed3330() {
+buildUnnamed3334() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3330(core.List<core.String> o) {
+checkUnnamed3334(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3233,7 +3233,7 @@
o.id = "foo";
o.kind = "foo";
o.layerId = "foo";
- o.pageIds = buildUnnamed3330();
+ o.pageIds = buildUnnamed3334();
o.selectedText = "foo";
o.selfLink = "foo";
o.updated = "foo";
@@ -3255,7 +3255,7 @@
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.layerId, unittest.equals('foo'));
- checkUnnamed3330(o.pageIds);
+ checkUnnamed3334(o.pageIds);
unittest.expect(o.selectedText, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.updated, unittest.equals('foo'));
@@ -3264,14 +3264,14 @@
buildCounterVolumeannotation--;
}
-buildUnnamed3331() {
+buildUnnamed3335() {
var o = new core.List<api.Volumeannotation>();
o.add(buildVolumeannotation());
o.add(buildVolumeannotation());
return o;
}
-checkUnnamed3331(core.List<api.Volumeannotation> o) {
+checkUnnamed3335(core.List<api.Volumeannotation> o) {
unittest.expect(o, unittest.hasLength(2));
checkVolumeannotation(o[0]);
checkVolumeannotation(o[1]);
@@ -3282,7 +3282,7 @@
var o = new api.Volumeannotations();
buildCounterVolumeannotations++;
if (buildCounterVolumeannotations < 3) {
- o.items = buildUnnamed3331();
+ o.items = buildUnnamed3335();
o.kind = "foo";
o.nextPageToken = "foo";
o.totalItems = 42;
@@ -3295,7 +3295,7 @@
checkVolumeannotations(api.Volumeannotations o) {
buildCounterVolumeannotations++;
if (buildCounterVolumeannotations < 3) {
- checkUnnamed3331(o.items);
+ checkUnnamed3335(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.totalItems, unittest.equals(42));
@@ -3304,14 +3304,14 @@
buildCounterVolumeannotations--;
}
-buildUnnamed3332() {
+buildUnnamed3336() {
var o = new core.List<api.Volume>();
o.add(buildVolume());
o.add(buildVolume());
return o;
}
-checkUnnamed3332(core.List<api.Volume> o) {
+checkUnnamed3336(core.List<api.Volume> o) {
unittest.expect(o, unittest.hasLength(2));
checkVolume(o[0]);
checkVolume(o[1]);
@@ -3322,7 +3322,7 @@
var o = new api.Volumes();
buildCounterVolumes++;
if (buildCounterVolumes < 3) {
- o.items = buildUnnamed3332();
+ o.items = buildUnnamed3336();
o.kind = "foo";
o.totalItems = 42;
}
@@ -3333,7 +3333,7 @@
checkVolumes(api.Volumes o) {
buildCounterVolumes++;
if (buildCounterVolumes < 3) {
- checkUnnamed3332(o.items);
+ checkUnnamed3336(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.totalItems, unittest.equals(42));
}
@@ -3362,14 +3362,14 @@
buildCounterVolumeseriesinfoVolumeSeriesIssue--;
}
-buildUnnamed3333() {
+buildUnnamed3337() {
var o = new core.List<api.VolumeseriesinfoVolumeSeriesIssue>();
o.add(buildVolumeseriesinfoVolumeSeriesIssue());
o.add(buildVolumeseriesinfoVolumeSeriesIssue());
return o;
}
-checkUnnamed3333(core.List<api.VolumeseriesinfoVolumeSeriesIssue> o) {
+checkUnnamed3337(core.List<api.VolumeseriesinfoVolumeSeriesIssue> o) {
unittest.expect(o, unittest.hasLength(2));
checkVolumeseriesinfoVolumeSeriesIssue(o[0]);
checkVolumeseriesinfoVolumeSeriesIssue(o[1]);
@@ -3380,7 +3380,7 @@
var o = new api.VolumeseriesinfoVolumeSeries();
buildCounterVolumeseriesinfoVolumeSeries++;
if (buildCounterVolumeseriesinfoVolumeSeries < 3) {
- o.issue = buildUnnamed3333();
+ o.issue = buildUnnamed3337();
o.orderNumber = 42;
o.seriesBookType = "foo";
o.seriesId = "foo";
@@ -3392,7 +3392,7 @@
checkVolumeseriesinfoVolumeSeries(api.VolumeseriesinfoVolumeSeries o) {
buildCounterVolumeseriesinfoVolumeSeries++;
if (buildCounterVolumeseriesinfoVolumeSeries < 3) {
- checkUnnamed3333(o.issue);
+ checkUnnamed3337(o.issue);
unittest.expect(o.orderNumber, unittest.equals(42));
unittest.expect(o.seriesBookType, unittest.equals('foo'));
unittest.expect(o.seriesId, unittest.equals('foo'));
@@ -3400,14 +3400,14 @@
buildCounterVolumeseriesinfoVolumeSeries--;
}
-buildUnnamed3334() {
+buildUnnamed3338() {
var o = new core.List<api.VolumeseriesinfoVolumeSeries>();
o.add(buildVolumeseriesinfoVolumeSeries());
o.add(buildVolumeseriesinfoVolumeSeries());
return o;
}
-checkUnnamed3334(core.List<api.VolumeseriesinfoVolumeSeries> o) {
+checkUnnamed3338(core.List<api.VolumeseriesinfoVolumeSeries> o) {
unittest.expect(o, unittest.hasLength(2));
checkVolumeseriesinfoVolumeSeries(o[0]);
checkVolumeseriesinfoVolumeSeries(o[1]);
@@ -3421,7 +3421,7 @@
o.bookDisplayNumber = "foo";
o.kind = "foo";
o.shortSeriesBookTitle = "foo";
- o.volumeSeries = buildUnnamed3334();
+ o.volumeSeries = buildUnnamed3338();
}
buildCounterVolumeseriesinfo--;
return o;
@@ -3433,63 +3433,11 @@
unittest.expect(o.bookDisplayNumber, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.shortSeriesBookTitle, unittest.equals('foo'));
- checkUnnamed3334(o.volumeSeries);
+ checkUnnamed3338(o.volumeSeries);
}
buildCounterVolumeseriesinfo--;
}
-buildUnnamed3335() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3335(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed3336() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3336(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed3337() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3337(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed3338() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3338(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed3339() {
var o = new core.List<core.String>();
o.add("foo");
@@ -3594,6 +3542,58 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed3347() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3347(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed3348() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3348(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed3349() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3349(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed3350() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3350(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
main() {
unittest.group("obj-schema-AnnotationClientVersionRanges", () {
unittest.test("to-json--from-json", () {
@@ -4648,9 +4648,9 @@
var arg_userId = "foo";
var arg_shelf = "foo";
var arg_startIndex = 42;
- var arg_showPreorders = true;
var arg_source = "foo";
var arg_maxResults = 42;
+ var arg_showPreorders = true;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -4702,11 +4702,11 @@
}
unittest.expect(core.int.parse(queryMap["startIndex"].first),
unittest.equals(arg_startIndex));
- unittest.expect(queryMap["showPreorders"].first,
- unittest.equals("$arg_showPreorders"));
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["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4718,9 +4718,9 @@
res
.list(arg_userId, arg_shelf,
startIndex: arg_startIndex,
- showPreorders: arg_showPreorders,
source: arg_source,
maxResults: arg_maxResults,
+ showPreorders: arg_showPreorders,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkVolumes(response);
@@ -4732,10 +4732,10 @@
unittest.test("method--addBook", () {
var mock = new HttpServerMock();
api.CloudloadingResourceApi res = new api.BooksApi(mock).cloudloading;
+ var arg_name = "foo";
var arg_driveDocumentId = "foo";
var arg_mimeType = "foo";
var arg_uploadClientToken = "foo";
- var arg_name = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -4767,13 +4767,13 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ 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["upload_client_token"].first,
unittest.equals(arg_uploadClientToken));
- unittest.expect(queryMap["name"].first, unittest.equals(arg_name));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4784,10 +4784,10 @@
}), true);
res
.addBook(
+ name: arg_name,
driveDocumentId: arg_driveDocumentId,
mimeType: arg_mimeType,
uploadClientToken: arg_uploadClientToken,
- name: arg_name,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkBooksCloudloadingResource(response);
@@ -5010,8 +5010,8 @@
var mock = new HttpServerMock();
api.FamilysharingResourceApi res = new api.BooksApi(mock).familysharing;
var arg_source = "foo";
- var arg_volumeId = "foo";
var arg_docId = "foo";
+ var arg_volumeId = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -5044,9 +5044,9 @@
}
}
unittest.expect(queryMap["source"].first, unittest.equals(arg_source));
+ unittest.expect(queryMap["docId"].first, unittest.equals(arg_docId));
unittest.expect(
queryMap["volumeId"].first, unittest.equals(arg_volumeId));
- unittest.expect(queryMap["docId"].first, unittest.equals(arg_docId));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -5058,8 +5058,8 @@
res
.share(
source: arg_source,
- volumeId: arg_volumeId,
docId: arg_docId,
+ volumeId: arg_volumeId,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkEmpty(response);
@@ -5069,8 +5069,8 @@
unittest.test("method--unshare", () {
var mock = new HttpServerMock();
api.FamilysharingResourceApi res = new api.BooksApi(mock).familysharing;
- var arg_volumeId = "foo";
var arg_docId = "foo";
+ var arg_volumeId = "foo";
var arg_source = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -5103,9 +5103,9 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["docId"].first, unittest.equals(arg_docId));
unittest.expect(
queryMap["volumeId"].first, unittest.equals(arg_volumeId));
- unittest.expect(queryMap["docId"].first, unittest.equals(arg_docId));
unittest.expect(queryMap["source"].first, unittest.equals(arg_source));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -5117,8 +5117,8 @@
}), true);
res
.unshare(
- volumeId: arg_volumeId,
docId: arg_docId,
+ volumeId: arg_volumeId,
source: arg_source,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -5133,8 +5133,8 @@
api.LayersResourceApi res = new api.BooksApi(mock).layers;
var arg_volumeId = "foo";
var arg_summaryId = "foo";
- var arg_contentVersion = "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;
@@ -5178,9 +5178,9 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ 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 = {
@@ -5191,8 +5191,8 @@
}), true);
res
.get(arg_volumeId, arg_summaryId,
- contentVersion: arg_contentVersion,
source: arg_source,
+ contentVersion: arg_contentVersion,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkLayersummary(response);
@@ -5203,10 +5203,10 @@
var mock = new HttpServerMock();
api.LayersResourceApi res = new api.BooksApi(mock).layers;
var arg_volumeId = "foo";
- var arg_pageToken = "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;
@@ -5247,13 +5247,13 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- 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 = {
@@ -5264,10 +5264,10 @@
}), true);
res
.list(arg_volumeId,
- pageToken: arg_pageToken,
- contentVersion: arg_contentVersion,
maxResults: arg_maxResults,
+ pageToken: arg_pageToken,
source: arg_source,
+ contentVersion: arg_contentVersion,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkLayersummaries(response);
@@ -5283,13 +5283,13 @@
var arg_volumeId = "foo";
var arg_layerId = "foo";
var arg_annotationDataId = "foo";
- var arg_contentVersion = "foo";
+ var arg_allowWebDefinitions = true;
+ var arg_source = "foo";
var arg_locale = "foo";
+ var arg_scale = 42;
var arg_h = 42;
var arg_w = 42;
- var arg_allowWebDefinitions = true;
- var arg_scale = 42;
- 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;
@@ -5342,18 +5342,18 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["contentVersion"].first,
- unittest.equals(arg_contentVersion));
+ unittest.expect(queryMap["allowWebDefinitions"].first,
+ unittest.equals("$arg_allowWebDefinitions"));
+ unittest.expect(queryMap["source"].first, unittest.equals(arg_source));
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(
core.int.parse(queryMap["w"].first), unittest.equals(arg_w));
- unittest.expect(queryMap["allowWebDefinitions"].first,
- unittest.equals("$arg_allowWebDefinitions"));
- unittest.expect(core.int.parse(queryMap["scale"].first),
- unittest.equals(arg_scale));
- 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 = {
@@ -5364,13 +5364,13 @@
}), true);
res
.get(arg_volumeId, arg_layerId, arg_annotationDataId,
- contentVersion: arg_contentVersion,
+ allowWebDefinitions: arg_allowWebDefinitions,
+ source: arg_source,
locale: arg_locale,
+ scale: arg_scale,
h: arg_h,
w: arg_w,
- allowWebDefinitions: arg_allowWebDefinitions,
- scale: arg_scale,
- source: arg_source,
+ contentVersion: arg_contentVersion,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkDictionaryAnnotationdata(response);
@@ -5383,17 +5383,17 @@
new api.BooksApi(mock).layers.annotationData;
var arg_volumeId = "foo";
var arg_layerId = "foo";
- var arg_scale = 42;
- var arg_pageToken = "foo";
- var arg_locale = "foo";
var arg_w = 42;
- var arg_h = 42;
- var arg_updatedMax = "foo";
+ var arg_scale = 42;
var arg_updatedMin = "foo";
- var arg_contentVersion = "foo";
var arg_maxResults = 42;
- var arg_annotationDataId = buildUnnamed3335();
+ var arg_locale = "foo";
+ var arg_pageToken = "foo";
var arg_source = "foo";
+ var arg_contentVersion = "foo";
+ var arg_annotationDataId = buildUnnamed3339();
+ var arg_updatedMax = "foo";
+ var arg_h = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -5443,26 +5443,26 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ 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["pageToken"].first, unittest.equals(arg_pageToken));
+ 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(
- core.int.parse(queryMap["w"].first), unittest.equals(arg_w));
- unittest.expect(
- core.int.parse(queryMap["h"].first), unittest.equals(arg_h));
+ 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["updatedMax"].first, unittest.equals(arg_updatedMax));
unittest.expect(
- queryMap["updatedMin"].first, unittest.equals(arg_updatedMin));
- unittest.expect(queryMap["contentVersion"].first,
- unittest.equals(arg_contentVersion));
- unittest.expect(core.int.parse(queryMap["maxResults"].first),
- unittest.equals(arg_maxResults));
- unittest.expect(queryMap["annotationDataId"],
- unittest.equals(arg_annotationDataId));
- unittest.expect(queryMap["source"].first, unittest.equals(arg_source));
+ core.int.parse(queryMap["h"].first), unittest.equals(arg_h));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -5473,17 +5473,17 @@
}), true);
res
.list(arg_volumeId, arg_layerId,
- scale: arg_scale,
- pageToken: arg_pageToken,
- locale: arg_locale,
w: arg_w,
- h: arg_h,
- updatedMax: arg_updatedMax,
+ scale: arg_scale,
updatedMin: arg_updatedMin,
- contentVersion: arg_contentVersion,
maxResults: arg_maxResults,
- annotationDataId: arg_annotationDataId,
+ locale: arg_locale,
+ pageToken: arg_pageToken,
source: arg_source,
+ contentVersion: arg_contentVersion,
+ annotationDataId: arg_annotationDataId,
+ updatedMax: arg_updatedMax,
+ h: arg_h,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkAnnotationsdata(response);
@@ -5577,19 +5577,19 @@
new api.BooksApi(mock).layers.volumeAnnotations;
var arg_volumeId = "foo";
var arg_layerId = "foo";
- var arg_locale = "foo";
- var arg_maxResults = 42;
- var arg_updatedMax = "foo";
- var arg_pageToken = "foo";
- var arg_contentVersion = "foo";
- var arg_endPosition = "foo";
var arg_updatedMin = "foo";
- var arg_showDeleted = true;
- var arg_source = "foo";
- var arg_startOffset = "foo";
- var arg_endOffset = "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_locale = "foo";
+ var arg_showDeleted = true;
+ var arg_pageToken = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -5633,30 +5633,30 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["locale"].first, unittest.equals(arg_locale));
- unittest.expect(core.int.parse(queryMap["maxResults"].first),
- unittest.equals(arg_maxResults));
unittest.expect(
- queryMap["updatedMax"].first, unittest.equals(arg_updatedMax));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ queryMap["updatedMin"].first, unittest.equals(arg_updatedMin));
unittest.expect(queryMap["contentVersion"].first,
unittest.equals(arg_contentVersion));
+ unittest.expect(queryMap["startPosition"].first,
+ unittest.equals(arg_startPosition));
unittest.expect(
queryMap["endPosition"].first, unittest.equals(arg_endPosition));
unittest.expect(
- queryMap["updatedMin"].first, unittest.equals(arg_updatedMin));
- 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["endOffset"].first, unittest.equals(arg_endOffset));
- unittest.expect(queryMap["startPosition"].first,
- unittest.equals(arg_startPosition));
+ queryMap["updatedMax"].first, unittest.equals(arg_updatedMax));
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 = {
@@ -5667,19 +5667,19 @@
}), true);
res
.list(arg_volumeId, arg_layerId,
- locale: arg_locale,
- maxResults: arg_maxResults,
- updatedMax: arg_updatedMax,
- pageToken: arg_pageToken,
- contentVersion: arg_contentVersion,
- endPosition: arg_endPosition,
updatedMin: arg_updatedMin,
- showDeleted: arg_showDeleted,
- source: arg_source,
- startOffset: arg_startOffset,
- endOffset: arg_endOffset,
+ 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,
+ locale: arg_locale,
+ showDeleted: arg_showDeleted,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkVolumeannotations(response);
@@ -5743,10 +5743,10 @@
unittest.test("method--releaseDownloadAccess", () {
var mock = new HttpServerMock();
api.MyconfigResourceApi res = new api.BooksApi(mock).myconfig;
+ var arg_cpksver = "foo";
var arg_locale = "foo";
var arg_source = "foo";
- var arg_volumeIds = buildUnnamed3336();
- var arg_cpksver = "foo";
+ var arg_volumeIds = buildUnnamed3340();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -5778,11 +5778,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(
+ queryMap["cpksver"].first, unittest.equals(arg_cpksver));
unittest.expect(queryMap["locale"].first, unittest.equals(arg_locale));
unittest.expect(queryMap["source"].first, unittest.equals(arg_source));
unittest.expect(queryMap["volumeIds"], unittest.equals(arg_volumeIds));
- unittest.expect(
- queryMap["cpksver"].first, unittest.equals(arg_cpksver));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -5793,10 +5793,10 @@
}), true);
res
.releaseDownloadAccess(
+ cpksver: arg_cpksver,
locale: arg_locale,
source: arg_source,
volumeIds: arg_volumeIds,
- cpksver: arg_cpksver,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkDownloadAccesses(response);
@@ -5806,11 +5806,11 @@
unittest.test("method--requestAccess", () {
var mock = new HttpServerMock();
api.MyconfigResourceApi res = new api.BooksApi(mock).myconfig;
- var arg_licenseTypes = "foo";
- var arg_locale = "foo";
var arg_source = "foo";
+ var arg_locale = "foo";
var arg_nonce = "foo";
var arg_cpksver = "foo";
+ var arg_licenseTypes = "foo";
var arg_volumeId = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -5843,14 +5843,14 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(
- queryMap["licenseTypes"].first, unittest.equals(arg_licenseTypes));
- unittest.expect(queryMap["locale"].first, unittest.equals(arg_locale));
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["volumeId"].first, unittest.equals(arg_volumeId));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -5862,11 +5862,11 @@
}), true);
res
.requestAccess(
- licenseTypes: arg_licenseTypes,
- locale: arg_locale,
source: arg_source,
+ locale: arg_locale,
nonce: arg_nonce,
cpksver: arg_cpksver,
+ licenseTypes: arg_licenseTypes,
volumeId: arg_volumeId,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -5879,12 +5879,12 @@
api.MyconfigResourceApi res = new api.BooksApi(mock).myconfig;
var arg_cpksver = "foo";
var arg_source = "foo";
- var arg_volumeIds = buildUnnamed3337();
- var arg_nonce = "foo";
- var arg_showPreorders = true;
var arg_locale = "foo";
+ var arg_showPreorders = true;
var arg_includeNonComicsSeries = true;
- var arg_features = buildUnnamed3338();
+ var arg_features = buildUnnamed3341();
+ var arg_nonce = "foo";
+ var arg_volumeIds = buildUnnamed3342();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -5919,14 +5919,14 @@
unittest.expect(
queryMap["cpksver"].first, unittest.equals(arg_cpksver));
unittest.expect(queryMap["source"].first, unittest.equals(arg_source));
- unittest.expect(queryMap["volumeIds"], unittest.equals(arg_volumeIds));
- unittest.expect(queryMap["nonce"].first, unittest.equals(arg_nonce));
+ unittest.expect(queryMap["locale"].first, unittest.equals(arg_locale));
unittest.expect(queryMap["showPreorders"].first,
unittest.equals("$arg_showPreorders"));
- unittest.expect(queryMap["locale"].first, unittest.equals(arg_locale));
unittest.expect(queryMap["includeNonComicsSeries"].first,
unittest.equals("$arg_includeNonComicsSeries"));
unittest.expect(queryMap["features"], unittest.equals(arg_features));
+ unittest.expect(queryMap["nonce"].first, unittest.equals(arg_nonce));
+ unittest.expect(queryMap["volumeIds"], unittest.equals(arg_volumeIds));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -5939,12 +5939,12 @@
.syncVolumeLicenses(
cpksver: arg_cpksver,
source: arg_source,
- volumeIds: arg_volumeIds,
- nonce: arg_nonce,
- showPreorders: arg_showPreorders,
locale: arg_locale,
+ showPreorders: arg_showPreorders,
includeNonComicsSeries: arg_includeNonComicsSeries,
features: arg_features,
+ nonce: arg_nonce,
+ volumeIds: arg_volumeIds,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkVolumes(response);
@@ -6067,9 +6067,9 @@
api.MylibraryAnnotationsResourceApi res =
new api.BooksApi(mock).mylibrary.annotations;
var arg_request = buildAnnotation();
- var arg_showOnlySummaryInResponse = true;
- var arg_source = "foo";
var arg_annotationId = "foo";
+ var arg_source = "foo";
+ var arg_showOnlySummaryInResponse = true;
var arg_country = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -6105,11 +6105,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["showOnlySummaryInResponse"].first,
- unittest.equals("$arg_showOnlySummaryInResponse"));
- unittest.expect(queryMap["source"].first, unittest.equals(arg_source));
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["fields"].first, unittest.equals(arg_$fields));
@@ -6122,9 +6122,9 @@
}), true);
res
.insert(arg_request,
- showOnlySummaryInResponse: arg_showOnlySummaryInResponse,
- source: arg_source,
annotationId: arg_annotationId,
+ source: arg_source,
+ showOnlySummaryInResponse: arg_showOnlySummaryInResponse,
country: arg_country,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -6136,16 +6136,16 @@
var mock = new HttpServerMock();
api.MylibraryAnnotationsResourceApi res =
new api.BooksApi(mock).mylibrary.annotations;
- var arg_updatedMin = "foo";
- var arg_volumeId = "foo";
+ var arg_source = "foo";
+ var arg_layerIds = buildUnnamed3343();
var arg_layerId = "foo";
- var arg_layerIds = buildUnnamed3339();
- var arg_contentVersion = "foo";
- var arg_maxResults = 42;
- var arg_pageToken = "foo";
var arg_updatedMax = "foo";
var arg_showDeleted = true;
- var arg_source = "foo";
+ var arg_volumeId = "foo";
+ var arg_updatedMin = "foo";
+ var arg_pageToken = "foo";
+ var arg_maxResults = 42;
+ var arg_contentVersion = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -6177,24 +6177,24 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(
- queryMap["updatedMin"].first, unittest.equals(arg_updatedMin));
- unittest.expect(
- queryMap["volumeId"].first, unittest.equals(arg_volumeId));
+ unittest.expect(queryMap["source"].first, unittest.equals(arg_source));
+ unittest.expect(queryMap["layerIds"], unittest.equals(arg_layerIds));
unittest.expect(
queryMap["layerId"].first, unittest.equals(arg_layerId));
- unittest.expect(queryMap["layerIds"], unittest.equals(arg_layerIds));
- 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["updatedMax"].first, unittest.equals(arg_updatedMax));
unittest.expect(
queryMap["showDeleted"].first, unittest.equals("$arg_showDeleted"));
- unittest.expect(queryMap["source"].first, unittest.equals(arg_source));
+ 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));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -6205,16 +6205,16 @@
}), true);
res
.list(
- updatedMin: arg_updatedMin,
- volumeId: arg_volumeId,
- layerId: arg_layerId,
+ source: arg_source,
layerIds: arg_layerIds,
- contentVersion: arg_contentVersion,
- maxResults: arg_maxResults,
- pageToken: arg_pageToken,
+ layerId: arg_layerId,
updatedMax: arg_updatedMax,
showDeleted: arg_showDeleted,
- source: arg_source,
+ volumeId: arg_volumeId,
+ updatedMin: arg_updatedMin,
+ pageToken: arg_pageToken,
+ maxResults: arg_maxResults,
+ contentVersion: arg_contentVersion,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkAnnotations(response);
@@ -6225,8 +6225,8 @@
var mock = new HttpServerMock();
api.MylibraryAnnotationsResourceApi res =
new api.BooksApi(mock).mylibrary.annotations;
+ var arg_layerIds = buildUnnamed3344();
var arg_volumeId = "foo";
- var arg_layerIds = buildUnnamed3340();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -6258,9 +6258,9 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["layerIds"], unittest.equals(arg_layerIds));
unittest.expect(
queryMap["volumeId"].first, unittest.equals(arg_volumeId));
- unittest.expect(queryMap["layerIds"], unittest.equals(arg_layerIds));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -6271,8 +6271,8 @@
}), true);
res
.summary(
- volumeId: arg_volumeId,
layerIds: arg_layerIds,
+ volumeId: arg_volumeId,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkAnnotationsSummary(response);
@@ -6347,9 +6347,9 @@
api.MylibraryBookshelvesResourceApi res =
new api.BooksApi(mock).mylibrary.bookshelves;
var arg_shelf = "foo";
- var arg_volumeId = "foo";
var arg_source = "foo";
var arg_reason = "foo";
+ var arg_volumeId = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -6390,10 +6390,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(
- queryMap["volumeId"].first, unittest.equals(arg_volumeId));
unittest.expect(queryMap["source"].first, unittest.equals(arg_source));
unittest.expect(queryMap["reason"].first, unittest.equals(arg_reason));
+ unittest.expect(
+ queryMap["volumeId"].first, unittest.equals(arg_volumeId));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -6404,9 +6404,9 @@
}), true);
res
.addVolume(arg_shelf,
- volumeId: arg_volumeId,
source: arg_source,
reason: arg_reason,
+ volumeId: arg_volumeId,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkEmpty(response);
@@ -6589,8 +6589,8 @@
new api.BooksApi(mock).mylibrary.bookshelves;
var arg_shelf = "foo";
var arg_volumeId = "foo";
- var arg_volumePosition = 42;
var arg_source = "foo";
+ var arg_volumePosition = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -6633,9 +6633,9 @@
}
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["source"].first, unittest.equals(arg_source));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -6647,8 +6647,8 @@
res
.moveVolume(arg_shelf,
volumeId: arg_volumeId,
- volumePosition: arg_volumePosition,
source: arg_source,
+ volumePosition: arg_volumePosition,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkEmpty(response);
@@ -6733,12 +6733,12 @@
api.MylibraryBookshelvesVolumesResourceApi res =
new api.BooksApi(mock).mylibrary.bookshelves.volumes;
var arg_shelf = "foo";
+ var arg_maxResults = 42;
var arg_source = "foo";
var arg_country = "foo";
- var arg_q = "foo";
var arg_projection = "foo";
var arg_showPreorders = true;
- var arg_maxResults = 42;
+ var arg_q = "foo";
var arg_startIndex = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -6780,16 +6780,16 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ 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(queryMap["q"].first, unittest.equals(arg_q));
unittest.expect(
queryMap["projection"].first, unittest.equals(arg_projection));
unittest.expect(queryMap["showPreorders"].first,
unittest.equals("$arg_showPreorders"));
- unittest.expect(core.int.parse(queryMap["maxResults"].first),
- unittest.equals(arg_maxResults));
+ unittest.expect(queryMap["q"].first, unittest.equals(arg_q));
unittest.expect(core.int.parse(queryMap["startIndex"].first),
unittest.equals(arg_startIndex));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -6802,12 +6802,12 @@
}), true);
res
.list(arg_shelf,
+ maxResults: arg_maxResults,
source: arg_source,
country: arg_country,
- q: arg_q,
projection: arg_projection,
showPreorders: arg_showPreorders,
- maxResults: arg_maxResults,
+ q: arg_q,
startIndex: arg_startIndex,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -6822,8 +6822,8 @@
api.MylibraryReadingpositionsResourceApi res =
new api.BooksApi(mock).mylibrary.readingpositions;
var arg_volumeId = "foo";
- var arg_contentVersion = "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;
@@ -6858,9 +6858,9 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ 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 = {
@@ -6871,8 +6871,8 @@
}), true);
res
.get(arg_volumeId,
- contentVersion: arg_contentVersion,
source: arg_source,
+ contentVersion: arg_contentVersion,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkReadingPosition(response);
@@ -6884,12 +6884,12 @@
api.MylibraryReadingpositionsResourceApi res =
new api.BooksApi(mock).mylibrary.readingpositions;
var arg_volumeId = "foo";
- var arg_timestamp = "foo";
- var arg_contentVersion = "foo";
- var arg_action = "foo";
- var arg_source = "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_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -6931,15 +6931,15 @@
}
}
unittest.expect(
- queryMap["timestamp"].first, unittest.equals(arg_timestamp));
- unittest.expect(queryMap["contentVersion"].first,
- unittest.equals(arg_contentVersion));
- unittest.expect(queryMap["action"].first, unittest.equals(arg_action));
- unittest.expect(queryMap["source"].first, unittest.equals(arg_source));
- 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["contentVersion"].first,
+ unittest.equals(arg_contentVersion));
+ 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 = {
@@ -6950,12 +6950,12 @@
}), true);
res
.setPosition(arg_volumeId,
- timestamp: arg_timestamp,
- contentVersion: arg_contentVersion,
- action: arg_action,
- source: arg_source,
position: arg_position,
deviceCookie: arg_deviceCookie,
+ source: arg_source,
+ contentVersion: arg_contentVersion,
+ timestamp: arg_timestamp,
+ action: arg_action,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkEmpty(response);
@@ -6967,9 +6967,9 @@
unittest.test("method--get", () {
var mock = new HttpServerMock();
api.NotificationResourceApi res = new api.BooksApi(mock).notification;
- var arg_notificationId = "foo";
- var arg_locale = "foo";
var arg_source = "foo";
+ var arg_locale = "foo";
+ var arg_notificationId = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -7001,10 +7001,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ 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["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 = {
@@ -7015,9 +7015,9 @@
}), true);
res
.get(
- notificationId: arg_notificationId,
- locale: arg_locale,
source: arg_source,
+ locale: arg_locale,
+ notificationId: arg_notificationId,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkNotification(response);
@@ -7080,11 +7080,11 @@
unittest.test("method--listCategoryVolumes", () {
var mock = new HttpServerMock();
api.OnboardingResourceApi res = new api.BooksApi(mock).onboarding;
- var arg_categoryId = buildUnnamed3341();
- var arg_pageSize = 42;
var arg_locale = "foo";
- var arg_maxAllowedMaturityRating = "foo";
+ var arg_categoryId = buildUnnamed3345();
var arg_pageToken = "foo";
+ var arg_maxAllowedMaturityRating = "foo";
+ var arg_pageSize = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -7116,15 +7116,15 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["locale"].first, unittest.equals(arg_locale));
unittest.expect(
queryMap["categoryId"], unittest.equals(arg_categoryId));
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
- unittest.expect(queryMap["locale"].first, unittest.equals(arg_locale));
- unittest.expect(queryMap["maxAllowedMaturityRating"].first,
- unittest.equals(arg_maxAllowedMaturityRating));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["maxAllowedMaturityRating"].first,
+ unittest.equals(arg_maxAllowedMaturityRating));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -7135,11 +7135,11 @@
}), true);
res
.listCategoryVolumes(
- categoryId: arg_categoryId,
- pageSize: arg_pageSize,
locale: arg_locale,
- maxAllowedMaturityRating: arg_maxAllowedMaturityRating,
+ categoryId: arg_categoryId,
pageToken: arg_pageToken,
+ maxAllowedMaturityRating: arg_maxAllowedMaturityRating,
+ pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkVolume2(response);
@@ -7214,14 +7214,14 @@
unittest.test("method--accept", () {
var mock = new HttpServerMock();
api.PromoofferResourceApi res = new api.BooksApi(mock).promooffer;
- var arg_volumeId = "foo";
var arg_offerId = "foo";
- var arg_serial = "foo";
- var arg_androidId = "foo";
- var arg_model = "foo";
- var arg_device = "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_serial = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -7254,18 +7254,18 @@
}
}
unittest.expect(
- queryMap["volumeId"].first, unittest.equals(arg_volumeId));
- unittest.expect(
queryMap["offerId"].first, unittest.equals(arg_offerId));
- unittest.expect(queryMap["serial"].first, unittest.equals(arg_serial));
- unittest.expect(
- queryMap["androidId"].first, unittest.equals(arg_androidId));
- unittest.expect(queryMap["model"].first, unittest.equals(arg_model));
- unittest.expect(queryMap["device"].first, unittest.equals(arg_device));
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));
+ unittest.expect(queryMap["device"].first, unittest.equals(arg_device));
+ unittest.expect(
+ queryMap["androidId"].first, unittest.equals(arg_androidId));
+ unittest.expect(queryMap["serial"].first, unittest.equals(arg_serial));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -7276,14 +7276,14 @@
}), true);
res
.accept(
- volumeId: arg_volumeId,
offerId: arg_offerId,
- serial: arg_serial,
- androidId: arg_androidId,
- model: arg_model,
- device: arg_device,
manufacturer: arg_manufacturer,
product: arg_product,
+ model: arg_model,
+ volumeId: arg_volumeId,
+ device: arg_device,
+ androidId: arg_androidId,
+ serial: arg_serial,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkEmpty(response);
@@ -7294,12 +7294,12 @@
var mock = new HttpServerMock();
api.PromoofferResourceApi res = new api.BooksApi(mock).promooffer;
var arg_androidId = "foo";
- var arg_serial = "foo";
var arg_product = "foo";
+ var arg_serial = "foo";
var arg_model = "foo";
- var arg_manufacturer = "foo";
- var arg_device = "foo";
var arg_offerId = "foo";
+ var arg_device = "foo";
+ var arg_manufacturer = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -7333,15 +7333,15 @@
}
unittest.expect(
queryMap["androidId"].first, unittest.equals(arg_androidId));
- unittest.expect(queryMap["serial"].first, unittest.equals(arg_serial));
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["manufacturer"].first, unittest.equals(arg_manufacturer));
+ queryMap["offerId"].first, unittest.equals(arg_offerId));
unittest.expect(queryMap["device"].first, unittest.equals(arg_device));
unittest.expect(
- queryMap["offerId"].first, unittest.equals(arg_offerId));
+ queryMap["manufacturer"].first, unittest.equals(arg_manufacturer));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -7353,12 +7353,12 @@
res
.dismiss(
androidId: arg_androidId,
- serial: arg_serial,
product: arg_product,
+ serial: arg_serial,
model: arg_model,
- manufacturer: arg_manufacturer,
- device: arg_device,
offerId: arg_offerId,
+ device: arg_device,
+ manufacturer: arg_manufacturer,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkEmpty(response);
@@ -7369,11 +7369,11 @@
var mock = new HttpServerMock();
api.PromoofferResourceApi res = new api.BooksApi(mock).promooffer;
var arg_serial = "foo";
+ var arg_androidId = "foo";
+ var arg_manufacturer = "foo";
var arg_model = "foo";
var arg_device = "foo";
- var arg_manufacturer = "foo";
var arg_product = "foo";
- var arg_androidId = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -7406,14 +7406,14 @@
}
}
unittest.expect(queryMap["serial"].first, unittest.equals(arg_serial));
+ unittest.expect(
+ queryMap["androidId"].first, unittest.equals(arg_androidId));
+ 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["manufacturer"].first, unittest.equals(arg_manufacturer));
- unittest.expect(
queryMap["product"].first, unittest.equals(arg_product));
- unittest.expect(
- queryMap["androidId"].first, unittest.equals(arg_androidId));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -7425,11 +7425,11 @@
res
.get(
serial: arg_serial,
+ androidId: arg_androidId,
+ manufacturer: arg_manufacturer,
model: arg_model,
device: arg_device,
- manufacturer: arg_manufacturer,
product: arg_product,
- androidId: arg_androidId,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkOffers(response);
@@ -7441,7 +7441,7 @@
unittest.test("method--get", () {
var mock = new HttpServerMock();
api.SeriesResourceApi res = new api.BooksApi(mock).series;
- var arg_seriesId = buildUnnamed3342();
+ var arg_seriesId = buildUnnamed3346();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -7495,9 +7495,9 @@
var mock = new HttpServerMock();
api.SeriesMembershipResourceApi res =
new api.BooksApi(mock).series.membership;
+ var arg_pageSize = 42;
var arg_pageToken = "foo";
var arg_seriesId = "foo";
- var arg_pageSize = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -7529,12 +7529,12 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(core.int.parse(queryMap["page_size"].first),
+ unittest.equals(arg_pageSize));
unittest.expect(
queryMap["page_token"].first, unittest.equals(arg_pageToken));
unittest.expect(
queryMap["series_id"].first, unittest.equals(arg_seriesId));
- unittest.expect(core.int.parse(queryMap["page_size"].first),
- unittest.equals(arg_pageSize));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -7545,9 +7545,9 @@
}), true);
res
.get(
+ pageSize: arg_pageSize,
pageToken: arg_pageToken,
seriesId: arg_seriesId,
- pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkSeriesmembership(response);
@@ -7560,12 +7560,12 @@
var mock = new HttpServerMock();
api.VolumesResourceApi res = new api.BooksApi(mock).volumes;
var arg_volumeId = "foo";
- var arg_includeNonComicsSeries = true;
- var arg_userLibraryConsistentRead = true;
- var arg_partner = "foo";
var arg_country = "foo";
- var arg_source = "foo";
var arg_projection = "foo";
+ var arg_partner = "foo";
+ var arg_includeNonComicsSeries = true;
+ var arg_source = "foo";
+ var arg_userLibraryConsistentRead = true;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -7600,17 +7600,17 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["includeNonComicsSeries"].first,
- unittest.equals("$arg_includeNonComicsSeries"));
- unittest.expect(queryMap["user_library_consistent_read"].first,
- unittest.equals("$arg_userLibraryConsistentRead"));
- unittest.expect(
- queryMap["partner"].first, unittest.equals(arg_partner));
unittest.expect(
queryMap["country"].first, unittest.equals(arg_country));
- unittest.expect(queryMap["source"].first, unittest.equals(arg_source));
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["source"].first, unittest.equals(arg_source));
+ unittest.expect(queryMap["user_library_consistent_read"].first,
+ unittest.equals("$arg_userLibraryConsistentRead"));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -7621,12 +7621,12 @@
}), true);
res
.get(arg_volumeId,
- includeNonComicsSeries: arg_includeNonComicsSeries,
- userLibraryConsistentRead: arg_userLibraryConsistentRead,
- partner: arg_partner,
country: arg_country,
- source: arg_source,
projection: arg_projection,
+ partner: arg_partner,
+ includeNonComicsSeries: arg_includeNonComicsSeries,
+ source: arg_source,
+ userLibraryConsistentRead: arg_userLibraryConsistentRead,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkVolume(response);
@@ -7636,20 +7636,20 @@
unittest.test("method--list", () {
var mock = new HttpServerMock();
api.VolumesResourceApi res = new api.BooksApi(mock).volumes;
- var arg_startIndex = 42;
- var arg_q = "foo";
- var arg_maxResults = 42;
- var arg_maxAllowedMaturityRating = "foo";
- var arg_showPreorders = true;
- var arg_langRestrict = "foo";
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_orderBy = "foo";
- var arg_source = "foo";
- var arg_libraryRestrict = "foo";
+ var arg_maxAllowedMaturityRating = "foo";
var arg_download = "foo";
- var arg_filter = "foo";
+ var arg_langRestrict = "foo";
+ var arg_orderBy = "foo";
+ var arg_q = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -7681,31 +7681,31 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(core.int.parse(queryMap["startIndex"].first),
- unittest.equals(arg_startIndex));
- unittest.expect(queryMap["q"].first, unittest.equals(arg_q));
- unittest.expect(core.int.parse(queryMap["maxResults"].first),
- unittest.equals(arg_maxResults));
- unittest.expect(queryMap["maxAllowedMaturityRating"].first,
- unittest.equals(arg_maxAllowedMaturityRating));
- unittest.expect(queryMap["showPreorders"].first,
- unittest.equals("$arg_showPreorders"));
- unittest.expect(
- queryMap["langRestrict"].first, unittest.equals(arg_langRestrict));
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["orderBy"].first, unittest.equals(arg_orderBy));
- unittest.expect(queryMap["source"].first, unittest.equals(arg_source));
- unittest.expect(queryMap["libraryRestrict"].first,
- unittest.equals(arg_libraryRestrict));
+ 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["orderBy"].first, unittest.equals(arg_orderBy));
+ unittest.expect(queryMap["q"].first, unittest.equals(arg_q));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -7716,20 +7716,20 @@
}), true);
res
.list(
- startIndex: arg_startIndex,
- q: arg_q,
- maxResults: arg_maxResults,
- maxAllowedMaturityRating: arg_maxAllowedMaturityRating,
- showPreorders: arg_showPreorders,
- langRestrict: arg_langRestrict,
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,
- orderBy: arg_orderBy,
- source: arg_source,
- libraryRestrict: arg_libraryRestrict,
+ maxAllowedMaturityRating: arg_maxAllowedMaturityRating,
download: arg_download,
- filter: arg_filter,
+ langRestrict: arg_langRestrict,
+ orderBy: arg_orderBy,
+ q: arg_q,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkVolumes(response);
@@ -7743,10 +7743,10 @@
api.VolumesAssociatedResourceApi res =
new api.BooksApi(mock).volumes.associated;
var arg_volumeId = "foo";
- var arg_association = "foo";
- var arg_maxAllowedMaturityRating = "foo";
var arg_source = "foo";
var arg_locale = "foo";
+ var arg_association = "foo";
+ var arg_maxAllowedMaturityRating = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -7787,12 +7787,12 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ 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["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 = {
@@ -7803,10 +7803,10 @@
}), true);
res
.list(arg_volumeId,
- association: arg_association,
- maxAllowedMaturityRating: arg_maxAllowedMaturityRating,
source: arg_source,
locale: arg_locale,
+ association: arg_association,
+ maxAllowedMaturityRating: arg_maxAllowedMaturityRating,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkVolumes(response);
@@ -7819,13 +7819,13 @@
var mock = new HttpServerMock();
api.VolumesMybooksResourceApi res =
new api.BooksApi(mock).volumes.mybooks;
- var arg_startIndex = 42;
- var arg_country = "foo";
- var arg_acquireMethod = buildUnnamed3343();
- var arg_locale = "foo";
+ var arg_processingState = buildUnnamed3347();
var arg_maxResults = 42;
var arg_source = "foo";
- var arg_processingState = buildUnnamed3344();
+ var arg_locale = "foo";
+ var arg_acquireMethod = buildUnnamed3348();
+ var arg_country = "foo";
+ var arg_startIndex = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -7857,18 +7857,18 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(core.int.parse(queryMap["startIndex"].first),
- unittest.equals(arg_startIndex));
unittest.expect(
- queryMap["country"].first, unittest.equals(arg_country));
- unittest.expect(
- queryMap["acquireMethod"], unittest.equals(arg_acquireMethod));
- unittest.expect(queryMap["locale"].first, unittest.equals(arg_locale));
+ 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["processingState"], unittest.equals(arg_processingState));
+ queryMap["acquireMethod"], unittest.equals(arg_acquireMethod));
+ unittest.expect(
+ queryMap["country"].first, unittest.equals(arg_country));
+ unittest.expect(core.int.parse(queryMap["startIndex"].first),
+ unittest.equals(arg_startIndex));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -7879,13 +7879,13 @@
}), true);
res
.list(
- startIndex: arg_startIndex,
- country: arg_country,
- acquireMethod: arg_acquireMethod,
- locale: arg_locale,
+ processingState: arg_processingState,
maxResults: arg_maxResults,
source: arg_source,
- processingState: arg_processingState,
+ locale: arg_locale,
+ acquireMethod: arg_acquireMethod,
+ country: arg_country,
+ startIndex: arg_startIndex,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkVolumes(response);
@@ -7898,8 +7898,8 @@
var mock = new HttpServerMock();
api.VolumesRecommendedResourceApi res =
new api.BooksApi(mock).volumes.recommended;
- var arg_maxAllowedMaturityRating = "foo";
var arg_source = "foo";
+ var arg_maxAllowedMaturityRating = "foo";
var arg_locale = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -7932,9 +7932,9 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["source"].first, unittest.equals(arg_source));
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));
@@ -7946,8 +7946,8 @@
}), true);
res
.list(
- maxAllowedMaturityRating: arg_maxAllowedMaturityRating,
source: arg_source,
+ maxAllowedMaturityRating: arg_maxAllowedMaturityRating,
locale: arg_locale,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -7959,10 +7959,10 @@
var mock = new HttpServerMock();
api.VolumesRecommendedResourceApi res =
new api.BooksApi(mock).volumes.recommended;
+ var arg_volumeId = "foo";
+ var arg_rating = "foo";
var arg_locale = "foo";
var arg_source = "foo";
- var arg_rating = "foo";
- var arg_volumeId = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -7994,11 +7994,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["locale"].first, unittest.equals(arg_locale));
- unittest.expect(queryMap["source"].first, unittest.equals(arg_source));
- unittest.expect(queryMap["rating"].first, unittest.equals(arg_rating));
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 = {
@@ -8010,10 +8010,10 @@
}), true);
res
.rate(
+ volumeId: arg_volumeId,
+ rating: arg_rating,
locale: arg_locale,
source: arg_source,
- rating: arg_rating,
- volumeId: arg_volumeId,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkBooksVolumesRecommendedRateResponse(response);
@@ -8026,11 +8026,11 @@
var mock = new HttpServerMock();
api.VolumesUseruploadedResourceApi res =
new api.BooksApi(mock).volumes.useruploaded;
- var arg_startIndex = 42;
+ var arg_processingState = buildUnnamed3349();
var arg_locale = "foo";
+ var arg_volumeId = buildUnnamed3350();
+ var arg_startIndex = 42;
var arg_maxResults = 42;
- var arg_processingState = buildUnnamed3345();
- var arg_volumeId = buildUnnamed3346();
var arg_source = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -8063,14 +8063,14 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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["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["source"].first, unittest.equals(arg_source));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -8082,11 +8082,11 @@
}), true);
res
.list(
- startIndex: arg_startIndex,
- locale: arg_locale,
- maxResults: arg_maxResults,
processingState: arg_processingState,
+ locale: arg_locale,
volumeId: arg_volumeId,
+ startIndex: arg_startIndex,
+ maxResults: arg_maxResults,
source: arg_source,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
diff --git a/generated/googleapis/test/calendar/v3_test.dart b/generated/googleapis/test/calendar/v3_test.dart
index 01792d6..ce5c025 100644
--- a/generated/googleapis/test/calendar/v3_test.dart
+++ b/generated/googleapis/test/calendar/v3_test.dart
@@ -2134,10 +2134,10 @@
var mock = new HttpServerMock();
api.AclResourceApi res = new api.CalendarApi(mock).acl;
var arg_calendarId = "foo";
- var arg_syncToken = "foo";
var arg_pageToken = "foo";
- var arg_showDeleted = true;
+ var arg_syncToken = "foo";
var arg_maxResults = 42;
+ var arg_showDeleted = true;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2182,13 +2182,13 @@
}
}
unittest.expect(
- queryMap["syncToken"].first, unittest.equals(arg_syncToken));
- unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(
- queryMap["showDeleted"].first, unittest.equals("$arg_showDeleted"));
+ queryMap["syncToken"].first, unittest.equals(arg_syncToken));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
+ unittest.expect(
+ queryMap["showDeleted"].first, unittest.equals("$arg_showDeleted"));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2199,10 +2199,10 @@
}), true);
res
.list(arg_calendarId,
- syncToken: arg_syncToken,
pageToken: arg_pageToken,
- showDeleted: arg_showDeleted,
+ syncToken: arg_syncToken,
maxResults: arg_maxResults,
+ showDeleted: arg_showDeleted,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkAcl(response);
@@ -2362,10 +2362,10 @@
api.AclResourceApi res = new api.CalendarApi(mock).acl;
var arg_request = buildChannel();
var arg_calendarId = "foo";
- var arg_maxResults = 42;
- var arg_syncToken = "foo";
- var arg_pageToken = "foo";
var arg_showDeleted = true;
+ 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 = new api.Channel.fromJson(json);
@@ -2412,14 +2412,14 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(core.int.parse(queryMap["maxResults"].first),
- unittest.equals(arg_maxResults));
unittest.expect(
- queryMap["syncToken"].first, unittest.equals(arg_syncToken));
+ 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"));
+ 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 = {
@@ -2430,10 +2430,10 @@
}), true);
res
.watch(arg_request, arg_calendarId,
- maxResults: arg_maxResults,
- syncToken: arg_syncToken,
- pageToken: arg_pageToken,
showDeleted: arg_showDeleted,
+ pageToken: arg_pageToken,
+ syncToken: arg_syncToken,
+ maxResults: arg_maxResults,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkChannel(response);
@@ -2617,9 +2617,9 @@
api.CalendarListResourceApi res = new api.CalendarApi(mock).calendarList;
var arg_maxResults = 42;
var arg_showDeleted = true;
- var arg_syncToken = "foo";
- var arg_minAccessRole = "foo";
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) {
@@ -2660,11 +2660,11 @@
unittest.expect(
queryMap["showDeleted"].first, unittest.equals("$arg_showDeleted"));
unittest.expect(
- queryMap["syncToken"].first, unittest.equals(arg_syncToken));
+ queryMap["showHidden"].first, unittest.equals("$arg_showHidden"));
unittest.expect(queryMap["minAccessRole"].first,
unittest.equals(arg_minAccessRole));
unittest.expect(
- queryMap["showHidden"].first, unittest.equals("$arg_showHidden"));
+ 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));
@@ -2679,9 +2679,9 @@
.list(
maxResults: arg_maxResults,
showDeleted: arg_showDeleted,
- syncToken: arg_syncToken,
- minAccessRole: arg_minAccessRole,
showHidden: arg_showHidden,
+ minAccessRole: arg_minAccessRole,
+ syncToken: arg_syncToken,
pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -2821,12 +2821,12 @@
var mock = new HttpServerMock();
api.CalendarListResourceApi res = new api.CalendarApi(mock).calendarList;
var arg_request = buildChannel();
- var arg_syncToken = "foo";
- var arg_maxResults = 42;
- var arg_showHidden = true;
- var arg_showDeleted = true;
- var arg_minAccessRole = "foo";
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_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.Channel.fromJson(json);
@@ -2865,17 +2865,17 @@
}
}
unittest.expect(
- queryMap["syncToken"].first, unittest.equals(arg_syncToken));
- unittest.expect(core.int.parse(queryMap["maxResults"].first),
- unittest.equals(arg_maxResults));
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(
queryMap["showHidden"].first, unittest.equals("$arg_showHidden"));
- unittest.expect(
- queryMap["showDeleted"].first, unittest.equals("$arg_showDeleted"));
unittest.expect(queryMap["minAccessRole"].first,
unittest.equals(arg_minAccessRole));
unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ queryMap["syncToken"].first, unittest.equals(arg_syncToken));
+ unittest.expect(
+ queryMap["showDeleted"].first, unittest.equals("$arg_showDeleted"));
+ unittest.expect(core.int.parse(queryMap["maxResults"].first),
+ unittest.equals(arg_maxResults));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2886,12 +2886,12 @@
}), true);
res
.watch(arg_request,
- syncToken: arg_syncToken,
- maxResults: arg_maxResults,
- showHidden: arg_showHidden,
- showDeleted: arg_showDeleted,
- minAccessRole: arg_minAccessRole,
pageToken: arg_pageToken,
+ showHidden: arg_showHidden,
+ minAccessRole: arg_minAccessRole,
+ syncToken: arg_syncToken,
+ showDeleted: arg_showDeleted,
+ maxResults: arg_maxResults,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkChannel(response);
@@ -3434,9 +3434,9 @@
api.EventsResourceApi res = new api.CalendarApi(mock).events;
var arg_calendarId = "foo";
var arg_eventId = "foo";
- var arg_alwaysIncludeEmail = true;
var arg_timeZone = "foo";
var arg_maxAttendees = 42;
+ var arg_alwaysIncludeEmail = true;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3483,12 +3483,12 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["alwaysIncludeEmail"].first,
- unittest.equals("$arg_alwaysIncludeEmail"));
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(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3499,9 +3499,9 @@
}), true);
res
.get(arg_calendarId, arg_eventId,
- alwaysIncludeEmail: arg_alwaysIncludeEmail,
timeZone: arg_timeZone,
maxAttendees: arg_maxAttendees,
+ alwaysIncludeEmail: arg_alwaysIncludeEmail,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkEvent(response);
@@ -3513,8 +3513,8 @@
api.EventsResourceApi res = new api.CalendarApi(mock).events;
var arg_request = buildEvent();
var arg_calendarId = "foo";
- var arg_supportsAttachments = true;
var arg_conferenceDataVersion = 42;
+ var arg_supportsAttachments = true;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.Event.fromJson(json);
@@ -3561,10 +3561,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["supportsAttachments"].first,
- unittest.equals("$arg_supportsAttachments"));
unittest.expect(core.int.parse(queryMap["conferenceDataVersion"].first),
unittest.equals(arg_conferenceDataVersion));
+ unittest.expect(queryMap["supportsAttachments"].first,
+ unittest.equals("$arg_supportsAttachments"));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3575,8 +3575,8 @@
}), true);
res
.import(arg_request, arg_calendarId,
- supportsAttachments: arg_supportsAttachments,
conferenceDataVersion: arg_conferenceDataVersion,
+ supportsAttachments: arg_supportsAttachments,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkEvent(response);
@@ -3588,10 +3588,10 @@
api.EventsResourceApi res = new api.CalendarApi(mock).events;
var arg_request = buildEvent();
var arg_calendarId = "foo";
- var arg_sendUpdates = "foo";
- var arg_sendNotifications = true;
- var arg_maxAttendees = 42;
var arg_conferenceDataVersion = 42;
+ var arg_sendUpdates = "foo";
+ var arg_maxAttendees = 42;
+ var arg_sendNotifications = true;
var arg_supportsAttachments = true;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -3639,14 +3639,14 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(
- queryMap["sendUpdates"].first, unittest.equals(arg_sendUpdates));
- unittest.expect(queryMap["sendNotifications"].first,
- unittest.equals("$arg_sendNotifications"));
- unittest.expect(core.int.parse(queryMap["maxAttendees"].first),
- unittest.equals(arg_maxAttendees));
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["supportsAttachments"].first,
unittest.equals("$arg_supportsAttachments"));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -3659,10 +3659,10 @@
}), true);
res
.insert(arg_request, arg_calendarId,
- sendUpdates: arg_sendUpdates,
- sendNotifications: arg_sendNotifications,
- maxAttendees: arg_maxAttendees,
conferenceDataVersion: arg_conferenceDataVersion,
+ sendUpdates: arg_sendUpdates,
+ maxAttendees: arg_maxAttendees,
+ sendNotifications: arg_sendNotifications,
supportsAttachments: arg_supportsAttachments,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -3676,14 +3676,14 @@
var arg_calendarId = "foo";
var arg_eventId = "foo";
var arg_timeMin = core.DateTime.parse("2002-02-27T14:01:02");
- var arg_timeMax = core.DateTime.parse("2002-02-27T14:01:02");
- var arg_alwaysIncludeEmail = true;
- var arg_maxResults = 42;
- var arg_originalStart = "foo";
- var arg_showDeleted = true;
- var arg_pageToken = "foo";
var arg_maxAttendees = 42;
+ var arg_showDeleted = true;
+ var arg_originalStart = "foo";
+ var arg_pageToken = "foo";
+ var arg_timeMax = 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;
@@ -3738,22 +3738,22 @@
}
unittest.expect(core.DateTime.parse(queryMap["timeMin"].first),
unittest.equals(arg_timeMin));
- unittest.expect(core.DateTime.parse(queryMap["timeMax"].first),
- unittest.equals(arg_timeMax));
- unittest.expect(queryMap["alwaysIncludeEmail"].first,
- unittest.equals("$arg_alwaysIncludeEmail"));
- unittest.expect(core.int.parse(queryMap["maxResults"].first),
- unittest.equals(arg_maxResults));
- unittest.expect(queryMap["originalStart"].first,
- unittest.equals(arg_originalStart));
- unittest.expect(
- queryMap["showDeleted"].first, unittest.equals("$arg_showDeleted"));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["maxAttendees"].first),
unittest.equals(arg_maxAttendees));
unittest.expect(
+ queryMap["showDeleted"].first, unittest.equals("$arg_showDeleted"));
+ unittest.expect(queryMap["originalStart"].first,
+ unittest.equals(arg_originalStart));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(core.DateTime.parse(queryMap["timeMax"].first),
+ unittest.equals(arg_timeMax));
+ 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 = {
@@ -3765,14 +3765,14 @@
res
.instances(arg_calendarId, arg_eventId,
timeMin: arg_timeMin,
- timeMax: arg_timeMax,
- alwaysIncludeEmail: arg_alwaysIncludeEmail,
- maxResults: arg_maxResults,
- originalStart: arg_originalStart,
- showDeleted: arg_showDeleted,
- pageToken: arg_pageToken,
maxAttendees: arg_maxAttendees,
+ showDeleted: arg_showDeleted,
+ originalStart: arg_originalStart,
+ pageToken: arg_pageToken,
+ timeMax: arg_timeMax,
timeZone: arg_timeZone,
+ maxResults: arg_maxResults,
+ alwaysIncludeEmail: arg_alwaysIncludeEmail,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkEvents(response);
@@ -3783,23 +3783,23 @@
var mock = new HttpServerMock();
api.EventsResourceApi res = new api.CalendarApi(mock).events;
var arg_calendarId = "foo";
- var arg_alwaysIncludeEmail = true;
- var arg_singleEvents = true;
- var arg_sharedExtendedProperty = buildUnnamed36();
- var arg_iCalUID = "foo";
- var arg_maxAttendees = 42;
- var arg_showDeleted = true;
- var arg_privateExtendedProperty = buildUnnamed37();
- var arg_syncToken = "foo";
- var arg_timeMin = core.DateTime.parse("2002-02-27T14:01:02");
- var arg_q = "foo";
var arg_timeMax = core.DateTime.parse("2002-02-27T14:01:02");
- var arg_timeZone = "foo";
+ var arg_showDeleted = true;
+ var arg_alwaysIncludeEmail = true;
var arg_updatedMin = core.DateTime.parse("2002-02-27T14:01:02");
- var arg_orderBy = "foo";
- var arg_maxResults = 42;
- var arg_pageToken = "foo";
+ var arg_timeZone = "foo";
+ var arg_sharedExtendedProperty = buildUnnamed36();
+ var arg_privateExtendedProperty = buildUnnamed37();
+ 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_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3843,39 +3843,39 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["alwaysIncludeEmail"].first,
- unittest.equals("$arg_alwaysIncludeEmail"));
- unittest.expect(queryMap["singleEvents"].first,
- unittest.equals("$arg_singleEvents"));
- unittest.expect(queryMap["sharedExtendedProperty"],
- unittest.equals(arg_sharedExtendedProperty));
- unittest.expect(
- queryMap["iCalUID"].first, unittest.equals(arg_iCalUID));
- unittest.expect(core.int.parse(queryMap["maxAttendees"].first),
- unittest.equals(arg_maxAttendees));
- unittest.expect(
- queryMap["showDeleted"].first, unittest.equals("$arg_showDeleted"));
- unittest.expect(queryMap["privateExtendedProperty"],
- unittest.equals(arg_privateExtendedProperty));
- unittest.expect(
- queryMap["syncToken"].first, unittest.equals(arg_syncToken));
- unittest.expect(core.DateTime.parse(queryMap["timeMin"].first),
- unittest.equals(arg_timeMin));
- unittest.expect(queryMap["q"].first, unittest.equals(arg_q));
unittest.expect(core.DateTime.parse(queryMap["timeMax"].first),
unittest.equals(arg_timeMax));
unittest.expect(
- queryMap["timeZone"].first, unittest.equals(arg_timeZone));
+ 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["orderBy"].first, unittest.equals(arg_orderBy));
+ 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["maxResults"].first),
unittest.equals(arg_maxResults));
unittest.expect(
+ queryMap["syncToken"].first, unittest.equals(arg_syncToken));
+ unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(queryMap["showHiddenInvitations"].first,
- unittest.equals("$arg_showHiddenInvitations"));
+ unittest.expect(queryMap["q"].first, unittest.equals(arg_q));
+ 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));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3886,23 +3886,23 @@
}), true);
res
.list(arg_calendarId,
- alwaysIncludeEmail: arg_alwaysIncludeEmail,
- singleEvents: arg_singleEvents,
- sharedExtendedProperty: arg_sharedExtendedProperty,
- iCalUID: arg_iCalUID,
- maxAttendees: arg_maxAttendees,
- showDeleted: arg_showDeleted,
- privateExtendedProperty: arg_privateExtendedProperty,
- syncToken: arg_syncToken,
- timeMin: arg_timeMin,
- q: arg_q,
timeMax: arg_timeMax,
- timeZone: arg_timeZone,
+ showDeleted: arg_showDeleted,
+ alwaysIncludeEmail: arg_alwaysIncludeEmail,
updatedMin: arg_updatedMin,
- orderBy: arg_orderBy,
- maxResults: arg_maxResults,
- pageToken: arg_pageToken,
+ 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,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkEvents(response);
@@ -3999,12 +3999,12 @@
var arg_request = buildEvent();
var arg_calendarId = "foo";
var arg_eventId = "foo";
- var arg_supportsAttachments = true;
- var arg_sendNotifications = true;
var arg_sendUpdates = "foo";
- var arg_maxAttendees = 42;
- var arg_conferenceDataVersion = 42;
var arg_alwaysIncludeEmail = true;
+ var arg_sendNotifications = true;
+ var arg_conferenceDataVersion = 42;
+ var arg_maxAttendees = 42;
+ var arg_supportsAttachments = true;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.Event.fromJson(json);
@@ -4054,18 +4054,18 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["supportsAttachments"].first,
- unittest.equals("$arg_supportsAttachments"));
- unittest.expect(queryMap["sendNotifications"].first,
- unittest.equals("$arg_sendNotifications"));
unittest.expect(
queryMap["sendUpdates"].first, unittest.equals(arg_sendUpdates));
- unittest.expect(core.int.parse(queryMap["maxAttendees"].first),
- unittest.equals(arg_maxAttendees));
- unittest.expect(core.int.parse(queryMap["conferenceDataVersion"].first),
- unittest.equals(arg_conferenceDataVersion));
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["supportsAttachments"].first,
+ unittest.equals("$arg_supportsAttachments"));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4076,12 +4076,12 @@
}), true);
res
.patch(arg_request, arg_calendarId, arg_eventId,
- supportsAttachments: arg_supportsAttachments,
- sendNotifications: arg_sendNotifications,
sendUpdates: arg_sendUpdates,
- maxAttendees: arg_maxAttendees,
- conferenceDataVersion: arg_conferenceDataVersion,
alwaysIncludeEmail: arg_alwaysIncludeEmail,
+ sendNotifications: arg_sendNotifications,
+ conferenceDataVersion: arg_conferenceDataVersion,
+ maxAttendees: arg_maxAttendees,
+ supportsAttachments: arg_supportsAttachments,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkEvent(response);
@@ -4167,12 +4167,12 @@
var arg_request = buildEvent();
var arg_calendarId = "foo";
var arg_eventId = "foo";
- var arg_conferenceDataVersion = 42;
- var arg_sendNotifications = true;
- var arg_sendUpdates = "foo";
- var arg_supportsAttachments = true;
var arg_alwaysIncludeEmail = true;
+ var arg_conferenceDataVersion = 42;
+ var arg_supportsAttachments = true;
+ var arg_sendNotifications = true;
var arg_maxAttendees = 42;
+ var arg_sendUpdates = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.Event.fromJson(json);
@@ -4222,18 +4222,18 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(core.int.parse(queryMap["conferenceDataVersion"].first),
- unittest.equals(arg_conferenceDataVersion));
- 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["alwaysIncludeEmail"].first,
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["sendUpdates"].first, unittest.equals(arg_sendUpdates));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4244,12 +4244,12 @@
}), true);
res
.update(arg_request, arg_calendarId, arg_eventId,
- conferenceDataVersion: arg_conferenceDataVersion,
- sendNotifications: arg_sendNotifications,
- sendUpdates: arg_sendUpdates,
- supportsAttachments: arg_supportsAttachments,
alwaysIncludeEmail: arg_alwaysIncludeEmail,
+ conferenceDataVersion: arg_conferenceDataVersion,
+ supportsAttachments: arg_supportsAttachments,
+ sendNotifications: arg_sendNotifications,
maxAttendees: arg_maxAttendees,
+ sendUpdates: arg_sendUpdates,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkEvent(response);
@@ -4261,23 +4261,23 @@
api.EventsResourceApi res = new api.CalendarApi(mock).events;
var arg_request = buildChannel();
var arg_calendarId = "foo";
- var arg_maxResults = 42;
- var arg_sharedExtendedProperty = buildUnnamed38();
- var arg_maxAttendees = 42;
- var arg_orderBy = "foo";
- var arg_iCalUID = "foo";
- var arg_showDeleted = true;
- var arg_pageToken = "foo";
- var arg_singleEvents = true;
- var arg_showHiddenInvitations = true;
- var arg_syncToken = "foo";
var arg_q = "foo";
- var arg_privateExtendedProperty = buildUnnamed39();
- var arg_timeZone = "foo";
- var arg_timeMin = core.DateTime.parse("2002-02-27T14:01:02");
- var arg_alwaysIncludeEmail = true;
var arg_timeMax = core.DateTime.parse("2002-02-27T14:01:02");
+ var arg_pageToken = "foo";
+ var arg_alwaysIncludeEmail = true;
+ var arg_sharedExtendedProperty = buildUnnamed38();
+ var arg_iCalUID = "foo";
+ var arg_showHiddenInvitations = true;
+ var arg_timeZone = "foo";
+ var arg_orderBy = "foo";
+ var arg_syncToken = "foo";
+ var arg_privateExtendedProperty = buildUnnamed39();
+ 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_singleEvents = true;
+ var arg_timeMin = core.DateTime.parse("2002-02-27T14:01:02");
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.Channel.fromJson(json);
@@ -4324,39 +4324,39 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(core.int.parse(queryMap["maxResults"].first),
- unittest.equals(arg_maxResults));
- unittest.expect(queryMap["sharedExtendedProperty"],
- unittest.equals(arg_sharedExtendedProperty));
- unittest.expect(core.int.parse(queryMap["maxAttendees"].first),
- unittest.equals(arg_maxAttendees));
- unittest.expect(
- queryMap["orderBy"].first, unittest.equals(arg_orderBy));
- unittest.expect(
- queryMap["iCalUID"].first, unittest.equals(arg_iCalUID));
- unittest.expect(
- queryMap["showDeleted"].first, unittest.equals("$arg_showDeleted"));
+ 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["singleEvents"].first,
- unittest.equals("$arg_singleEvents"));
+ 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(
+ queryMap["orderBy"].first, unittest.equals(arg_orderBy));
+ unittest.expect(
queryMap["syncToken"].first, unittest.equals(arg_syncToken));
- unittest.expect(queryMap["q"].first, unittest.equals(arg_q));
unittest.expect(queryMap["privateExtendedProperty"],
unittest.equals(arg_privateExtendedProperty));
unittest.expect(
- queryMap["timeZone"].first, unittest.equals(arg_timeZone));
- unittest.expect(core.DateTime.parse(queryMap["timeMin"].first),
- unittest.equals(arg_timeMin));
- unittest.expect(queryMap["alwaysIncludeEmail"].first,
- unittest.equals("$arg_alwaysIncludeEmail"));
- unittest.expect(core.DateTime.parse(queryMap["timeMax"].first),
- unittest.equals(arg_timeMax));
+ 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["singleEvents"].first,
+ unittest.equals("$arg_singleEvents"));
+ unittest.expect(core.DateTime.parse(queryMap["timeMin"].first),
+ unittest.equals(arg_timeMin));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4367,23 +4367,23 @@
}), true);
res
.watch(arg_request, arg_calendarId,
- maxResults: arg_maxResults,
- sharedExtendedProperty: arg_sharedExtendedProperty,
- maxAttendees: arg_maxAttendees,
- orderBy: arg_orderBy,
- iCalUID: arg_iCalUID,
- showDeleted: arg_showDeleted,
- pageToken: arg_pageToken,
- singleEvents: arg_singleEvents,
- showHiddenInvitations: arg_showHiddenInvitations,
- syncToken: arg_syncToken,
q: arg_q,
- privateExtendedProperty: arg_privateExtendedProperty,
- timeZone: arg_timeZone,
- timeMin: arg_timeMin,
- alwaysIncludeEmail: arg_alwaysIncludeEmail,
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,
+ singleEvents: arg_singleEvents,
+ timeMin: arg_timeMin,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkChannel(response);
@@ -4509,9 +4509,9 @@
unittest.test("method--list", () {
var mock = new HttpServerMock();
api.SettingsResourceApi res = new api.CalendarApi(mock).settings;
+ var arg_pageToken = "foo";
var arg_maxResults = 42;
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;
@@ -4546,12 +4546,12 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
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 = {
@@ -4562,9 +4562,9 @@
}), true);
res
.list(
+ pageToken: arg_pageToken,
maxResults: arg_maxResults,
syncToken: arg_syncToken,
- pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkSettings(response);
@@ -4575,9 +4575,9 @@
var mock = new HttpServerMock();
api.SettingsResourceApi res = new api.CalendarApi(mock).settings;
var arg_request = buildChannel();
- var arg_maxResults = 42;
- var arg_syncToken = "foo";
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 = new api.Channel.fromJson(json);
@@ -4615,12 +4615,12 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(core.int.parse(queryMap["maxResults"].first),
- unittest.equals(arg_maxResults));
- unittest.expect(
- queryMap["syncToken"].first, unittest.equals(arg_syncToken));
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 = {
@@ -4631,9 +4631,9 @@
}), true);
res
.watch(arg_request,
- maxResults: arg_maxResults,
- syncToken: arg_syncToken,
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 69a08b3..ef75a90 100644
--- a/generated/googleapis/test/chat/v1_test.dart
+++ b/generated/googleapis/test/chat/v1_test.dart
@@ -192,27 +192,27 @@
buildCounterButton--;
}
-buildUnnamed3521() {
+buildUnnamed3525() {
var o = new core.List<api.CardAction>();
o.add(buildCardAction());
o.add(buildCardAction());
return o;
}
-checkUnnamed3521(core.List<api.CardAction> o) {
+checkUnnamed3525(core.List<api.CardAction> o) {
unittest.expect(o, unittest.hasLength(2));
checkCardAction(o[0]);
checkCardAction(o[1]);
}
-buildUnnamed3522() {
+buildUnnamed3526() {
var o = new core.List<api.Section>();
o.add(buildSection());
o.add(buildSection());
return o;
}
-checkUnnamed3522(core.List<api.Section> o) {
+checkUnnamed3526(core.List<api.Section> o) {
unittest.expect(o, unittest.hasLength(2));
checkSection(o[0]);
checkSection(o[1]);
@@ -223,10 +223,10 @@
var o = new api.Card();
buildCounterCard++;
if (buildCounterCard < 3) {
- o.cardActions = buildUnnamed3521();
+ o.cardActions = buildUnnamed3525();
o.header = buildCardHeader();
o.name = "foo";
- o.sections = buildUnnamed3522();
+ o.sections = buildUnnamed3526();
}
buildCounterCard--;
return o;
@@ -235,10 +235,10 @@
checkCard(api.Card o) {
buildCounterCard++;
if (buildCounterCard < 3) {
- checkUnnamed3521(o.cardActions);
+ checkUnnamed3525(o.cardActions);
checkCardHeader(o.header);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed3522(o.sections);
+ checkUnnamed3526(o.sections);
}
buildCounterCard--;
}
@@ -358,14 +358,14 @@
buildCounterEmpty--;
}
-buildUnnamed3523() {
+buildUnnamed3527() {
var o = new core.List<api.ActionParameter>();
o.add(buildActionParameter());
o.add(buildActionParameter());
return o;
}
-checkUnnamed3523(core.List<api.ActionParameter> o) {
+checkUnnamed3527(core.List<api.ActionParameter> o) {
unittest.expect(o, unittest.hasLength(2));
checkActionParameter(o[0]);
checkActionParameter(o[1]);
@@ -377,7 +377,7 @@
buildCounterFormAction++;
if (buildCounterFormAction < 3) {
o.actionMethodName = "foo";
- o.parameters = buildUnnamed3523();
+ o.parameters = buildUnnamed3527();
}
buildCounterFormAction--;
return o;
@@ -387,7 +387,7 @@
buildCounterFormAction++;
if (buildCounterFormAction < 3) {
unittest.expect(o.actionMethodName, unittest.equals('foo'));
- checkUnnamed3523(o.parameters);
+ checkUnnamed3527(o.parameters);
}
buildCounterFormAction--;
}
@@ -473,14 +473,14 @@
buildCounterKeyValue--;
}
-buildUnnamed3524() {
+buildUnnamed3528() {
var o = new core.List<api.Membership>();
o.add(buildMembership());
o.add(buildMembership());
return o;
}
-checkUnnamed3524(core.List<api.Membership> o) {
+checkUnnamed3528(core.List<api.Membership> o) {
unittest.expect(o, unittest.hasLength(2));
checkMembership(o[0]);
checkMembership(o[1]);
@@ -491,7 +491,7 @@
var o = new api.ListMembershipsResponse();
buildCounterListMembershipsResponse++;
if (buildCounterListMembershipsResponse < 3) {
- o.memberships = buildUnnamed3524();
+ o.memberships = buildUnnamed3528();
o.nextPageToken = "foo";
}
buildCounterListMembershipsResponse--;
@@ -501,20 +501,20 @@
checkListMembershipsResponse(api.ListMembershipsResponse o) {
buildCounterListMembershipsResponse++;
if (buildCounterListMembershipsResponse < 3) {
- checkUnnamed3524(o.memberships);
+ checkUnnamed3528(o.memberships);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListMembershipsResponse--;
}
-buildUnnamed3525() {
+buildUnnamed3529() {
var o = new core.List<api.Space>();
o.add(buildSpace());
o.add(buildSpace());
return o;
}
-checkUnnamed3525(core.List<api.Space> o) {
+checkUnnamed3529(core.List<api.Space> o) {
unittest.expect(o, unittest.hasLength(2));
checkSpace(o[0]);
checkSpace(o[1]);
@@ -526,7 +526,7 @@
buildCounterListSpacesResponse++;
if (buildCounterListSpacesResponse < 3) {
o.nextPageToken = "foo";
- o.spaces = buildUnnamed3525();
+ o.spaces = buildUnnamed3529();
}
buildCounterListSpacesResponse--;
return o;
@@ -536,7 +536,7 @@
buildCounterListSpacesResponse++;
if (buildCounterListSpacesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3525(o.spaces);
+ checkUnnamed3529(o.spaces);
}
buildCounterListSpacesResponse--;
}
@@ -585,40 +585,40 @@
buildCounterMembership--;
}
-buildUnnamed3526() {
+buildUnnamed3530() {
var o = new core.List<api.Annotation>();
o.add(buildAnnotation());
o.add(buildAnnotation());
return o;
}
-checkUnnamed3526(core.List<api.Annotation> o) {
+checkUnnamed3530(core.List<api.Annotation> o) {
unittest.expect(o, unittest.hasLength(2));
checkAnnotation(o[0]);
checkAnnotation(o[1]);
}
-buildUnnamed3527() {
+buildUnnamed3531() {
var o = new core.List<api.Attachment>();
o.add(buildAttachment());
o.add(buildAttachment());
return o;
}
-checkUnnamed3527(core.List<api.Attachment> o) {
+checkUnnamed3531(core.List<api.Attachment> o) {
unittest.expect(o, unittest.hasLength(2));
checkAttachment(o[0]);
checkAttachment(o[1]);
}
-buildUnnamed3528() {
+buildUnnamed3532() {
var o = new core.List<api.Card>();
o.add(buildCard());
o.add(buildCard());
return o;
}
-checkUnnamed3528(core.List<api.Card> o) {
+checkUnnamed3532(core.List<api.Card> o) {
unittest.expect(o, unittest.hasLength(2));
checkCard(o[0]);
checkCard(o[1]);
@@ -630,10 +630,10 @@
buildCounterMessage++;
if (buildCounterMessage < 3) {
o.actionResponse = buildActionResponse();
- o.annotations = buildUnnamed3526();
+ o.annotations = buildUnnamed3530();
o.argumentText = "foo";
- o.attachment = buildUnnamed3527();
- o.cards = buildUnnamed3528();
+ o.attachment = buildUnnamed3531();
+ o.cards = buildUnnamed3532();
o.createTime = "foo";
o.fallbackText = "foo";
o.name = "foo";
@@ -652,10 +652,10 @@
buildCounterMessage++;
if (buildCounterMessage < 3) {
checkActionResponse(o.actionResponse);
- checkUnnamed3526(o.annotations);
+ checkUnnamed3530(o.annotations);
unittest.expect(o.argumentText, unittest.equals('foo'));
- checkUnnamed3527(o.attachment);
- checkUnnamed3528(o.cards);
+ checkUnnamed3531(o.attachment);
+ checkUnnamed3532(o.cards);
unittest.expect(o.createTime, unittest.equals('foo'));
unittest.expect(o.fallbackText, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
@@ -709,14 +709,14 @@
buildCounterOpenLink--;
}
-buildUnnamed3529() {
+buildUnnamed3533() {
var o = new core.List<api.WidgetMarkup>();
o.add(buildWidgetMarkup());
o.add(buildWidgetMarkup());
return o;
}
-checkUnnamed3529(core.List<api.WidgetMarkup> o) {
+checkUnnamed3533(core.List<api.WidgetMarkup> o) {
unittest.expect(o, unittest.hasLength(2));
checkWidgetMarkup(o[0]);
checkWidgetMarkup(o[1]);
@@ -728,7 +728,7 @@
buildCounterSection++;
if (buildCounterSection < 3) {
o.header = "foo";
- o.widgets = buildUnnamed3529();
+ o.widgets = buildUnnamed3533();
}
buildCounterSection--;
return o;
@@ -738,7 +738,7 @@
buildCounterSection++;
if (buildCounterSection < 3) {
unittest.expect(o.header, unittest.equals('foo'));
- checkUnnamed3529(o.widgets);
+ checkUnnamed3533(o.widgets);
}
buildCounterSection--;
}
@@ -921,14 +921,14 @@
buildCounterUserMentionMetadata--;
}
-buildUnnamed3530() {
+buildUnnamed3534() {
var o = new core.List<api.Button>();
o.add(buildButton());
o.add(buildButton());
return o;
}
-checkUnnamed3530(core.List<api.Button> o) {
+checkUnnamed3534(core.List<api.Button> o) {
unittest.expect(o, unittest.hasLength(2));
checkButton(o[0]);
checkButton(o[1]);
@@ -939,7 +939,7 @@
var o = new api.WidgetMarkup();
buildCounterWidgetMarkup++;
if (buildCounterWidgetMarkup < 3) {
- o.buttons = buildUnnamed3530();
+ o.buttons = buildUnnamed3534();
o.image = buildImage();
o.keyValue = buildKeyValue();
o.textParagraph = buildTextParagraph();
@@ -951,7 +951,7 @@
checkWidgetMarkup(api.WidgetMarkup o) {
buildCounterWidgetMarkup++;
if (buildCounterWidgetMarkup < 3) {
- checkUnnamed3530(o.buttons);
+ checkUnnamed3534(o.buttons);
checkImage(o.image);
checkKeyValue(o.keyValue);
checkTextParagraph(o.textParagraph);
@@ -1335,8 +1335,8 @@
unittest.test("method--list", () {
var mock = new HttpServerMock();
api.SpacesResourceApi res = new api.ChatApi(mock).spaces;
- 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;
@@ -1368,10 +1368,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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 = {
@@ -1382,8 +1382,8 @@
}), true);
res
.list(
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListSpacesResponse(response);
@@ -1447,8 +1447,8 @@
var mock = new HttpServerMock();
api.SpacesMembersResourceApi res = new api.ChatApi(mock).spaces.members;
var arg_parent = "foo";
- var arg_pageSize = 42;
var arg_pageToken = "foo";
+ var arg_pageSize = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1481,10 +1481,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1495,8 +1495,8 @@
}), true);
res
.list(arg_parent,
- pageSize: arg_pageSize,
pageToken: arg_pageToken,
+ pageSize: arg_pageSize,
$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 325ef8b..9ef22a8 100644
--- a/generated/googleapis/test/civicinfo/v2_test.dart
+++ b/generated/googleapis/test/civicinfo/v2_test.dart
@@ -50,14 +50,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed4970() {
+buildUnnamed4977() {
var o = new core.List<api.Source>();
o.add(buildSource());
o.add(buildSource());
return o;
}
-checkUnnamed4970(core.List<api.Source> o) {
+checkUnnamed4977(core.List<api.Source> o) {
unittest.expect(o, unittest.hasLength(2));
checkSource(o[0]);
checkSource(o[1]);
@@ -72,7 +72,7 @@
o.id = "foo";
o.localJurisdiction = buildAdministrationRegion();
o.name = "foo";
- o.sources = buildUnnamed4970();
+ o.sources = buildUnnamed4977();
}
buildCounterAdministrationRegion--;
return o;
@@ -85,32 +85,32 @@
unittest.expect(o.id, unittest.equals('foo'));
checkAdministrationRegion(o.localJurisdiction);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed4970(o.sources);
+ checkUnnamed4977(o.sources);
}
buildCounterAdministrationRegion--;
}
-buildUnnamed4971() {
+buildUnnamed4978() {
var o = new core.List<api.ElectionOfficial>();
o.add(buildElectionOfficial());
o.add(buildElectionOfficial());
return o;
}
-checkUnnamed4971(core.List<api.ElectionOfficial> o) {
+checkUnnamed4978(core.List<api.ElectionOfficial> o) {
unittest.expect(o, unittest.hasLength(2));
checkElectionOfficial(o[0]);
checkElectionOfficial(o[1]);
}
-buildUnnamed4972() {
+buildUnnamed4979() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4972(core.List<core.String> o) {
+checkUnnamed4979(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -127,14 +127,14 @@
o.electionInfoUrl = "foo";
o.electionNoticeText = "foo";
o.electionNoticeUrl = "foo";
- o.electionOfficials = buildUnnamed4971();
+ o.electionOfficials = buildUnnamed4978();
o.electionRegistrationConfirmationUrl = "foo";
o.electionRegistrationUrl = "foo";
o.electionRulesUrl = "foo";
o.hoursOfOperation = "foo";
o.name = "foo";
o.physicalAddress = buildSimpleAddressType();
- o.voterServices = buildUnnamed4972();
+ o.voterServices = buildUnnamed4979();
o.votingLocationFinderUrl = "foo";
}
buildCounterAdministrativeBody--;
@@ -150,7 +150,7 @@
unittest.expect(o.electionInfoUrl, unittest.equals('foo'));
unittest.expect(o.electionNoticeText, unittest.equals('foo'));
unittest.expect(o.electionNoticeUrl, unittest.equals('foo'));
- checkUnnamed4971(o.electionOfficials);
+ checkUnnamed4978(o.electionOfficials);
unittest.expect(
o.electionRegistrationConfirmationUrl, unittest.equals('foo'));
unittest.expect(o.electionRegistrationUrl, unittest.equals('foo'));
@@ -158,20 +158,20 @@
unittest.expect(o.hoursOfOperation, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
checkSimpleAddressType(o.physicalAddress);
- checkUnnamed4972(o.voterServices);
+ checkUnnamed4979(o.voterServices);
unittest.expect(o.votingLocationFinderUrl, unittest.equals('foo'));
}
buildCounterAdministrativeBody--;
}
-buildUnnamed4973() {
+buildUnnamed4980() {
var o = new core.List<api.Channel>();
o.add(buildChannel());
o.add(buildChannel());
return o;
}
-checkUnnamed4973(core.List<api.Channel> o) {
+checkUnnamed4980(core.List<api.Channel> o) {
unittest.expect(o, unittest.hasLength(2));
checkChannel(o[0]);
checkChannel(o[1]);
@@ -183,7 +183,7 @@
buildCounterCandidate++;
if (buildCounterCandidate < 3) {
o.candidateUrl = "foo";
- o.channels = buildUnnamed4973();
+ o.channels = buildUnnamed4980();
o.email = "foo";
o.name = "foo";
o.orderOnBallot = "foo";
@@ -199,7 +199,7 @@
buildCounterCandidate++;
if (buildCounterCandidate < 3) {
unittest.expect(o.candidateUrl, unittest.equals('foo'));
- checkUnnamed4973(o.channels);
+ checkUnnamed4980(o.channels);
unittest.expect(o.email, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.orderOnBallot, unittest.equals('foo'));
@@ -231,79 +231,79 @@
buildCounterChannel--;
}
-buildUnnamed4974() {
+buildUnnamed4981() {
var o = new core.List<api.Candidate>();
o.add(buildCandidate());
o.add(buildCandidate());
return o;
}
-checkUnnamed4974(core.List<api.Candidate> o) {
+checkUnnamed4981(core.List<api.Candidate> o) {
unittest.expect(o, unittest.hasLength(2));
checkCandidate(o[0]);
checkCandidate(o[1]);
}
-buildUnnamed4975() {
+buildUnnamed4982() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4975(core.List<core.String> o) {
+checkUnnamed4982(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed4976() {
+buildUnnamed4983() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4976(core.List<core.String> o) {
+checkUnnamed4983(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed4977() {
+buildUnnamed4984() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4977(core.List<core.String> o) {
+checkUnnamed4984(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed4978() {
+buildUnnamed4985() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4978(core.List<core.String> o) {
+checkUnnamed4985(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed4979() {
+buildUnnamed4986() {
var o = new core.List<api.Source>();
o.add(buildSource());
o.add(buildSource());
return o;
}
-checkUnnamed4979(core.List<api.Source> o) {
+checkUnnamed4986(core.List<api.Source> o) {
unittest.expect(o, unittest.hasLength(2));
checkSource(o[0]);
checkSource(o[1]);
@@ -316,17 +316,17 @@
if (buildCounterContest < 3) {
o.ballotPlacement = "foo";
o.ballotTitle = "foo";
- o.candidates = buildUnnamed4974();
+ o.candidates = buildUnnamed4981();
o.district = buildElectoralDistrict();
o.electorateSpecifications = "foo";
o.id = "foo";
- o.level = buildUnnamed4975();
+ o.level = buildUnnamed4982();
o.numberElected = "foo";
o.numberVotingFor = "foo";
o.office = "foo";
- o.primaryParties = buildUnnamed4976();
+ o.primaryParties = buildUnnamed4983();
o.primaryParty = "foo";
- o.referendumBallotResponses = buildUnnamed4977();
+ o.referendumBallotResponses = buildUnnamed4984();
o.referendumBrief = "foo";
o.referendumConStatement = "foo";
o.referendumEffectOfAbstain = "foo";
@@ -336,8 +336,8 @@
o.referendumText = "foo";
o.referendumTitle = "foo";
o.referendumUrl = "foo";
- o.roles = buildUnnamed4978();
- o.sources = buildUnnamed4979();
+ o.roles = buildUnnamed4985();
+ o.sources = buildUnnamed4986();
o.special = "foo";
o.type = "foo";
}
@@ -350,17 +350,17 @@
if (buildCounterContest < 3) {
unittest.expect(o.ballotPlacement, unittest.equals('foo'));
unittest.expect(o.ballotTitle, unittest.equals('foo'));
- checkUnnamed4974(o.candidates);
+ checkUnnamed4981(o.candidates);
checkElectoralDistrict(o.district);
unittest.expect(o.electorateSpecifications, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed4975(o.level);
+ checkUnnamed4982(o.level);
unittest.expect(o.numberElected, unittest.equals('foo'));
unittest.expect(o.numberVotingFor, unittest.equals('foo'));
unittest.expect(o.office, unittest.equals('foo'));
- checkUnnamed4976(o.primaryParties);
+ checkUnnamed4983(o.primaryParties);
unittest.expect(o.primaryParty, unittest.equals('foo'));
- checkUnnamed4977(o.referendumBallotResponses);
+ checkUnnamed4984(o.referendumBallotResponses);
unittest.expect(o.referendumBrief, unittest.equals('foo'));
unittest.expect(o.referendumConStatement, unittest.equals('foo'));
unittest.expect(o.referendumEffectOfAbstain, unittest.equals('foo'));
@@ -370,22 +370,22 @@
unittest.expect(o.referendumText, unittest.equals('foo'));
unittest.expect(o.referendumTitle, unittest.equals('foo'));
unittest.expect(o.referendumUrl, unittest.equals('foo'));
- checkUnnamed4978(o.roles);
- checkUnnamed4979(o.sources);
+ checkUnnamed4985(o.roles);
+ checkUnnamed4986(o.sources);
unittest.expect(o.special, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterContest--;
}
-buildUnnamed4980() {
+buildUnnamed4987() {
var o = new core.List<api.DivisionSearchResult>();
o.add(buildDivisionSearchResult());
o.add(buildDivisionSearchResult());
return o;
}
-checkUnnamed4980(core.List<api.DivisionSearchResult> o) {
+checkUnnamed4987(core.List<api.DivisionSearchResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkDivisionSearchResult(o[0]);
checkDivisionSearchResult(o[1]);
@@ -397,7 +397,7 @@
buildCounterDivisionSearchResponse++;
if (buildCounterDivisionSearchResponse < 3) {
o.kind = "foo";
- o.results = buildUnnamed4980();
+ o.results = buildUnnamed4987();
}
buildCounterDivisionSearchResponse--;
return o;
@@ -407,19 +407,19 @@
buildCounterDivisionSearchResponse++;
if (buildCounterDivisionSearchResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed4980(o.results);
+ checkUnnamed4987(o.results);
}
buildCounterDivisionSearchResponse--;
}
-buildUnnamed4981() {
+buildUnnamed4988() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4981(core.List<core.String> o) {
+checkUnnamed4988(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -430,7 +430,7 @@
var o = new api.DivisionSearchResult();
buildCounterDivisionSearchResult++;
if (buildCounterDivisionSearchResult < 3) {
- o.aliases = buildUnnamed4981();
+ o.aliases = buildUnnamed4988();
o.name = "foo";
o.ocdId = "foo";
}
@@ -441,7 +441,7 @@
checkDivisionSearchResult(api.DivisionSearchResult o) {
buildCounterDivisionSearchResult++;
if (buildCounterDivisionSearchResult < 3) {
- checkUnnamed4981(o.aliases);
+ checkUnnamed4988(o.aliases);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.ocdId, unittest.equals('foo'));
}
@@ -500,14 +500,14 @@
buildCounterElectionOfficial--;
}
-buildUnnamed4982() {
+buildUnnamed4989() {
var o = new core.List<api.Election>();
o.add(buildElection());
o.add(buildElection());
return o;
}
-checkUnnamed4982(core.List<api.Election> o) {
+checkUnnamed4989(core.List<api.Election> o) {
unittest.expect(o, unittest.hasLength(2));
checkElection(o[0]);
checkElection(o[1]);
@@ -518,7 +518,7 @@
var o = new api.ElectionsQueryResponse();
buildCounterElectionsQueryResponse++;
if (buildCounterElectionsQueryResponse < 3) {
- o.elections = buildUnnamed4982();
+ o.elections = buildUnnamed4989();
o.kind = "foo";
}
buildCounterElectionsQueryResponse--;
@@ -528,7 +528,7 @@
checkElectionsQueryResponse(api.ElectionsQueryResponse o) {
buildCounterElectionsQueryResponse++;
if (buildCounterElectionsQueryResponse < 3) {
- checkUnnamed4982(o.elections);
+ checkUnnamed4989(o.elections);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterElectionsQueryResponse--;
@@ -557,27 +557,27 @@
buildCounterElectoralDistrict--;
}
-buildUnnamed4983() {
+buildUnnamed4990() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4983(core.List<core.String> o) {
+checkUnnamed4990(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed4984() {
+buildUnnamed4991() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed4984(core.List<core.int> o) {
+checkUnnamed4991(core.List<core.int> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42));
unittest.expect(o[1], unittest.equals(42));
@@ -588,9 +588,9 @@
var o = new api.GeographicDivision();
buildCounterGeographicDivision++;
if (buildCounterGeographicDivision < 3) {
- o.alsoKnownAs = buildUnnamed4983();
+ o.alsoKnownAs = buildUnnamed4990();
o.name = "foo";
- o.officeIndices = buildUnnamed4984();
+ o.officeIndices = buildUnnamed4991();
}
buildCounterGeographicDivision--;
return o;
@@ -599,133 +599,13 @@
checkGeographicDivision(api.GeographicDivision o) {
buildCounterGeographicDivision++;
if (buildCounterGeographicDivision < 3) {
- checkUnnamed4983(o.alsoKnownAs);
+ checkUnnamed4990(o.alsoKnownAs);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed4984(o.officeIndices);
+ checkUnnamed4991(o.officeIndices);
}
buildCounterGeographicDivision--;
}
-buildUnnamed4985() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed4985(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed4986() {
- var o = new core.List<core.int>();
- o.add(42);
- o.add(42);
- return o;
-}
-
-checkUnnamed4986(core.List<core.int> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals(42));
- unittest.expect(o[1], unittest.equals(42));
-}
-
-buildUnnamed4987() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed4987(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed4988() {
- var o = new core.List<api.Source>();
- o.add(buildSource());
- o.add(buildSource());
- return o;
-}
-
-checkUnnamed4988(core.List<api.Source> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkSource(o[0]);
- checkSource(o[1]);
-}
-
-core.int buildCounterOffice = 0;
-buildOffice() {
- var o = new api.Office();
- buildCounterOffice++;
- if (buildCounterOffice < 3) {
- o.divisionId = "foo";
- o.levels = buildUnnamed4985();
- o.name = "foo";
- o.officialIndices = buildUnnamed4986();
- o.roles = buildUnnamed4987();
- o.sources = buildUnnamed4988();
- }
- buildCounterOffice--;
- return o;
-}
-
-checkOffice(api.Office o) {
- buildCounterOffice++;
- if (buildCounterOffice < 3) {
- unittest.expect(o.divisionId, unittest.equals('foo'));
- checkUnnamed4985(o.levels);
- unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed4986(o.officialIndices);
- checkUnnamed4987(o.roles);
- checkUnnamed4988(o.sources);
- }
- buildCounterOffice--;
-}
-
-buildUnnamed4989() {
- var o = new core.List<api.SimpleAddressType>();
- o.add(buildSimpleAddressType());
- o.add(buildSimpleAddressType());
- return o;
-}
-
-checkUnnamed4989(core.List<api.SimpleAddressType> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkSimpleAddressType(o[0]);
- checkSimpleAddressType(o[1]);
-}
-
-buildUnnamed4990() {
- var o = new core.List<api.Channel>();
- o.add(buildChannel());
- o.add(buildChannel());
- return o;
-}
-
-checkUnnamed4990(core.List<api.Channel> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkChannel(o[0]);
- checkChannel(o[1]);
-}
-
-buildUnnamed4991() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed4991(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed4992() {
var o = new core.List<core.String>();
o.add("foo");
@@ -740,13 +620,133 @@
}
buildUnnamed4993() {
+ var o = new core.List<core.int>();
+ o.add(42);
+ o.add(42);
+ return o;
+}
+
+checkUnnamed4993(core.List<core.int> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals(42));
+ unittest.expect(o[1], unittest.equals(42));
+}
+
+buildUnnamed4994() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4993(core.List<core.String> o) {
+checkUnnamed4994(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed4995() {
+ var o = new core.List<api.Source>();
+ o.add(buildSource());
+ o.add(buildSource());
+ return o;
+}
+
+checkUnnamed4995(core.List<api.Source> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkSource(o[0]);
+ checkSource(o[1]);
+}
+
+core.int buildCounterOffice = 0;
+buildOffice() {
+ var o = new api.Office();
+ buildCounterOffice++;
+ if (buildCounterOffice < 3) {
+ o.divisionId = "foo";
+ o.levels = buildUnnamed4992();
+ o.name = "foo";
+ o.officialIndices = buildUnnamed4993();
+ o.roles = buildUnnamed4994();
+ o.sources = buildUnnamed4995();
+ }
+ buildCounterOffice--;
+ return o;
+}
+
+checkOffice(api.Office o) {
+ buildCounterOffice++;
+ if (buildCounterOffice < 3) {
+ unittest.expect(o.divisionId, unittest.equals('foo'));
+ checkUnnamed4992(o.levels);
+ unittest.expect(o.name, unittest.equals('foo'));
+ checkUnnamed4993(o.officialIndices);
+ checkUnnamed4994(o.roles);
+ checkUnnamed4995(o.sources);
+ }
+ buildCounterOffice--;
+}
+
+buildUnnamed4996() {
+ var o = new core.List<api.SimpleAddressType>();
+ o.add(buildSimpleAddressType());
+ o.add(buildSimpleAddressType());
+ return o;
+}
+
+checkUnnamed4996(core.List<api.SimpleAddressType> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkSimpleAddressType(o[0]);
+ checkSimpleAddressType(o[1]);
+}
+
+buildUnnamed4997() {
+ var o = new core.List<api.Channel>();
+ o.add(buildChannel());
+ o.add(buildChannel());
+ return o;
+}
+
+checkUnnamed4997(core.List<api.Channel> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkChannel(o[0]);
+ checkChannel(o[1]);
+}
+
+buildUnnamed4998() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed4998(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed4999() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed4999(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed5000() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed5000(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -757,14 +757,14 @@
var o = new api.Official();
buildCounterOfficial++;
if (buildCounterOfficial < 3) {
- o.address = buildUnnamed4989();
- o.channels = buildUnnamed4990();
- o.emails = buildUnnamed4991();
+ o.address = buildUnnamed4996();
+ o.channels = buildUnnamed4997();
+ o.emails = buildUnnamed4998();
o.name = "foo";
o.party = "foo";
- o.phones = buildUnnamed4992();
+ o.phones = buildUnnamed4999();
o.photoUrl = "foo";
- o.urls = buildUnnamed4993();
+ o.urls = buildUnnamed5000();
}
buildCounterOfficial--;
return o;
@@ -773,26 +773,26 @@
checkOfficial(api.Official o) {
buildCounterOfficial++;
if (buildCounterOfficial < 3) {
- checkUnnamed4989(o.address);
- checkUnnamed4990(o.channels);
- checkUnnamed4991(o.emails);
+ checkUnnamed4996(o.address);
+ checkUnnamed4997(o.channels);
+ checkUnnamed4998(o.emails);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.party, unittest.equals('foo'));
- checkUnnamed4992(o.phones);
+ checkUnnamed4999(o.phones);
unittest.expect(o.photoUrl, unittest.equals('foo'));
- checkUnnamed4993(o.urls);
+ checkUnnamed5000(o.urls);
}
buildCounterOfficial--;
}
-buildUnnamed4994() {
+buildUnnamed5001() {
var o = new core.List<api.Source>();
o.add(buildSource());
o.add(buildSource());
return o;
}
-checkUnnamed4994(core.List<api.Source> o) {
+checkUnnamed5001(core.List<api.Source> o) {
unittest.expect(o, unittest.hasLength(2));
checkSource(o[0]);
checkSource(o[1]);
@@ -811,7 +811,7 @@
o.name = "foo";
o.notes = "foo";
o.pollingHours = "foo";
- o.sources = buildUnnamed4994();
+ o.sources = buildUnnamed5001();
o.startDate = "foo";
o.voterServices = "foo";
}
@@ -830,47 +830,47 @@
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.notes, unittest.equals('foo'));
unittest.expect(o.pollingHours, unittest.equals('foo'));
- checkUnnamed4994(o.sources);
+ checkUnnamed5001(o.sources);
unittest.expect(o.startDate, unittest.equals('foo'));
unittest.expect(o.voterServices, unittest.equals('foo'));
}
buildCounterPollingLocation--;
}
-buildUnnamed4995() {
+buildUnnamed5002() {
var o = new core.Map<core.String, api.GeographicDivision>();
o["x"] = buildGeographicDivision();
o["y"] = buildGeographicDivision();
return o;
}
-checkUnnamed4995(core.Map<core.String, api.GeographicDivision> o) {
+checkUnnamed5002(core.Map<core.String, api.GeographicDivision> o) {
unittest.expect(o, unittest.hasLength(2));
checkGeographicDivision(o["x"]);
checkGeographicDivision(o["y"]);
}
-buildUnnamed4996() {
+buildUnnamed5003() {
var o = new core.List<api.Office>();
o.add(buildOffice());
o.add(buildOffice());
return o;
}
-checkUnnamed4996(core.List<api.Office> o) {
+checkUnnamed5003(core.List<api.Office> o) {
unittest.expect(o, unittest.hasLength(2));
checkOffice(o[0]);
checkOffice(o[1]);
}
-buildUnnamed4997() {
+buildUnnamed5004() {
var o = new core.List<api.Official>();
o.add(buildOfficial());
o.add(buildOfficial());
return o;
}
-checkUnnamed4997(core.List<api.Official> o) {
+checkUnnamed5004(core.List<api.Official> o) {
unittest.expect(o, unittest.hasLength(2));
checkOfficial(o[0]);
checkOfficial(o[1]);
@@ -881,9 +881,9 @@
var o = new api.RepresentativeInfoData();
buildCounterRepresentativeInfoData++;
if (buildCounterRepresentativeInfoData < 3) {
- o.divisions = buildUnnamed4995();
- o.offices = buildUnnamed4996();
- o.officials = buildUnnamed4997();
+ o.divisions = buildUnnamed5002();
+ o.offices = buildUnnamed5003();
+ o.officials = buildUnnamed5004();
}
buildCounterRepresentativeInfoData--;
return o;
@@ -892,47 +892,47 @@
checkRepresentativeInfoData(api.RepresentativeInfoData o) {
buildCounterRepresentativeInfoData++;
if (buildCounterRepresentativeInfoData < 3) {
- checkUnnamed4995(o.divisions);
- checkUnnamed4996(o.offices);
- checkUnnamed4997(o.officials);
+ checkUnnamed5002(o.divisions);
+ checkUnnamed5003(o.offices);
+ checkUnnamed5004(o.officials);
}
buildCounterRepresentativeInfoData--;
}
-buildUnnamed4998() {
+buildUnnamed5005() {
var o = new core.Map<core.String, api.GeographicDivision>();
o["x"] = buildGeographicDivision();
o["y"] = buildGeographicDivision();
return o;
}
-checkUnnamed4998(core.Map<core.String, api.GeographicDivision> o) {
+checkUnnamed5005(core.Map<core.String, api.GeographicDivision> o) {
unittest.expect(o, unittest.hasLength(2));
checkGeographicDivision(o["x"]);
checkGeographicDivision(o["y"]);
}
-buildUnnamed4999() {
+buildUnnamed5006() {
var o = new core.List<api.Office>();
o.add(buildOffice());
o.add(buildOffice());
return o;
}
-checkUnnamed4999(core.List<api.Office> o) {
+checkUnnamed5006(core.List<api.Office> o) {
unittest.expect(o, unittest.hasLength(2));
checkOffice(o[0]);
checkOffice(o[1]);
}
-buildUnnamed5000() {
+buildUnnamed5007() {
var o = new core.List<api.Official>();
o.add(buildOfficial());
o.add(buildOfficial());
return o;
}
-checkUnnamed5000(core.List<api.Official> o) {
+checkUnnamed5007(core.List<api.Official> o) {
unittest.expect(o, unittest.hasLength(2));
checkOfficial(o[0]);
checkOfficial(o[1]);
@@ -943,11 +943,11 @@
var o = new api.RepresentativeInfoResponse();
buildCounterRepresentativeInfoResponse++;
if (buildCounterRepresentativeInfoResponse < 3) {
- o.divisions = buildUnnamed4998();
+ o.divisions = buildUnnamed5005();
o.kind = "foo";
o.normalizedInput = buildSimpleAddressType();
- o.offices = buildUnnamed4999();
- o.officials = buildUnnamed5000();
+ o.offices = buildUnnamed5006();
+ o.officials = buildUnnamed5007();
}
buildCounterRepresentativeInfoResponse--;
return o;
@@ -956,11 +956,11 @@
checkRepresentativeInfoResponse(api.RepresentativeInfoResponse o) {
buildCounterRepresentativeInfoResponse++;
if (buildCounterRepresentativeInfoResponse < 3) {
- checkUnnamed4998(o.divisions);
+ checkUnnamed5005(o.divisions);
unittest.expect(o.kind, unittest.equals('foo'));
checkSimpleAddressType(o.normalizedInput);
- checkUnnamed4999(o.offices);
- checkUnnamed5000(o.officials);
+ checkUnnamed5006(o.offices);
+ checkUnnamed5007(o.officials);
}
buildCounterRepresentativeInfoResponse--;
}
@@ -1017,79 +1017,79 @@
buildCounterSource--;
}
-buildUnnamed5001() {
+buildUnnamed5008() {
var o = new core.List<api.Contest>();
o.add(buildContest());
o.add(buildContest());
return o;
}
-checkUnnamed5001(core.List<api.Contest> o) {
+checkUnnamed5008(core.List<api.Contest> o) {
unittest.expect(o, unittest.hasLength(2));
checkContest(o[0]);
checkContest(o[1]);
}
-buildUnnamed5002() {
+buildUnnamed5009() {
var o = new core.List<api.PollingLocation>();
o.add(buildPollingLocation());
o.add(buildPollingLocation());
return o;
}
-checkUnnamed5002(core.List<api.PollingLocation> o) {
+checkUnnamed5009(core.List<api.PollingLocation> o) {
unittest.expect(o, unittest.hasLength(2));
checkPollingLocation(o[0]);
checkPollingLocation(o[1]);
}
-buildUnnamed5003() {
+buildUnnamed5010() {
var o = new core.List<api.PollingLocation>();
o.add(buildPollingLocation());
o.add(buildPollingLocation());
return o;
}
-checkUnnamed5003(core.List<api.PollingLocation> o) {
+checkUnnamed5010(core.List<api.PollingLocation> o) {
unittest.expect(o, unittest.hasLength(2));
checkPollingLocation(o[0]);
checkPollingLocation(o[1]);
}
-buildUnnamed5004() {
+buildUnnamed5011() {
var o = new core.List<api.Election>();
o.add(buildElection());
o.add(buildElection());
return o;
}
-checkUnnamed5004(core.List<api.Election> o) {
+checkUnnamed5011(core.List<api.Election> o) {
unittest.expect(o, unittest.hasLength(2));
checkElection(o[0]);
checkElection(o[1]);
}
-buildUnnamed5005() {
+buildUnnamed5012() {
var o = new core.List<api.PollingLocation>();
o.add(buildPollingLocation());
o.add(buildPollingLocation());
return o;
}
-checkUnnamed5005(core.List<api.PollingLocation> o) {
+checkUnnamed5012(core.List<api.PollingLocation> o) {
unittest.expect(o, unittest.hasLength(2));
checkPollingLocation(o[0]);
checkPollingLocation(o[1]);
}
-buildUnnamed5006() {
+buildUnnamed5013() {
var o = new core.List<api.AdministrationRegion>();
o.add(buildAdministrationRegion());
o.add(buildAdministrationRegion());
return o;
}
-checkUnnamed5006(core.List<api.AdministrationRegion> o) {
+checkUnnamed5013(core.List<api.AdministrationRegion> o) {
unittest.expect(o, unittest.hasLength(2));
checkAdministrationRegion(o[0]);
checkAdministrationRegion(o[1]);
@@ -1100,17 +1100,17 @@
var o = new api.VoterInfoResponse();
buildCounterVoterInfoResponse++;
if (buildCounterVoterInfoResponse < 3) {
- o.contests = buildUnnamed5001();
- o.dropOffLocations = buildUnnamed5002();
- o.earlyVoteSites = buildUnnamed5003();
+ o.contests = buildUnnamed5008();
+ o.dropOffLocations = buildUnnamed5009();
+ o.earlyVoteSites = buildUnnamed5010();
o.election = buildElection();
o.kind = "foo";
o.mailOnly = true;
o.normalizedInput = buildSimpleAddressType();
- o.otherElections = buildUnnamed5004();
- o.pollingLocations = buildUnnamed5005();
+ o.otherElections = buildUnnamed5011();
+ o.pollingLocations = buildUnnamed5012();
o.precinctId = "foo";
- o.state = buildUnnamed5006();
+ o.state = buildUnnamed5013();
}
buildCounterVoterInfoResponse--;
return o;
@@ -1119,68 +1119,68 @@
checkVoterInfoResponse(api.VoterInfoResponse o) {
buildCounterVoterInfoResponse++;
if (buildCounterVoterInfoResponse < 3) {
- checkUnnamed5001(o.contests);
- checkUnnamed5002(o.dropOffLocations);
- checkUnnamed5003(o.earlyVoteSites);
+ checkUnnamed5008(o.contests);
+ checkUnnamed5009(o.dropOffLocations);
+ checkUnnamed5010(o.earlyVoteSites);
checkElection(o.election);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.mailOnly, unittest.isTrue);
checkSimpleAddressType(o.normalizedInput);
- checkUnnamed5004(o.otherElections);
- checkUnnamed5005(o.pollingLocations);
+ checkUnnamed5011(o.otherElections);
+ checkUnnamed5012(o.pollingLocations);
unittest.expect(o.precinctId, unittest.equals('foo'));
- checkUnnamed5006(o.state);
+ checkUnnamed5013(o.state);
}
buildCounterVoterInfoResponse--;
}
-buildUnnamed5007() {
+buildUnnamed5014() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5007(core.List<core.String> o) {
+checkUnnamed5014(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed5008() {
+buildUnnamed5015() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5008(core.List<core.String> o) {
+checkUnnamed5015(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed5009() {
+buildUnnamed5016() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5009(core.List<core.String> o) {
+checkUnnamed5016(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed5010() {
+buildUnnamed5017() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5010(core.List<core.String> o) {
+checkUnnamed5017(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1454,9 +1454,9 @@
var mock = new HttpServerMock();
api.ElectionsResourceApi res = new api.CivicinfoApi(mock).elections;
var arg_address = "foo";
- var arg_electionId = "foo";
var arg_returnAllAvailableData = true;
var arg_officialOnly = true;
+ var arg_electionId = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1490,12 +1490,12 @@
}
unittest.expect(
queryMap["address"].first, unittest.equals(arg_address));
- unittest.expect(
- queryMap["electionId"].first, unittest.equals(arg_electionId));
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["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1506,9 +1506,9 @@
}), true);
res
.voterInfoQuery(arg_address,
- electionId: arg_electionId,
returnAllAvailableData: arg_returnAllAvailableData,
officialOnly: arg_officialOnly,
+ electionId: arg_electionId,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkVoterInfoResponse(response);
@@ -1521,10 +1521,10 @@
var mock = new HttpServerMock();
api.RepresentativesResourceApi res =
new api.CivicinfoApi(mock).representatives;
- var arg_address = "foo";
- var arg_roles = buildUnnamed5007();
+ var arg_levels = buildUnnamed5014();
var arg_includeOffices = true;
- var arg_levels = buildUnnamed5008();
+ var arg_roles = buildUnnamed5015();
+ var arg_address = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1556,12 +1556,12 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(
- queryMap["address"].first, unittest.equals(arg_address));
- unittest.expect(queryMap["roles"], unittest.equals(arg_roles));
+ unittest.expect(queryMap["levels"], unittest.equals(arg_levels));
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["address"].first, unittest.equals(arg_address));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1572,10 +1572,10 @@
}), true);
res
.representativeInfoByAddress(
- address: arg_address,
- roles: arg_roles,
- includeOffices: arg_includeOffices,
levels: arg_levels,
+ includeOffices: arg_includeOffices,
+ roles: arg_roles,
+ address: arg_address,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkRepresentativeInfoResponse(response);
@@ -1587,9 +1587,9 @@
api.RepresentativesResourceApi res =
new api.CivicinfoApi(mock).representatives;
var arg_ocdId = "foo";
+ var arg_roles = buildUnnamed5016();
var arg_recursive = true;
- var arg_levels = buildUnnamed5009();
- var arg_roles = buildUnnamed5010();
+ var arg_levels = buildUnnamed5017();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1624,10 +1624,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["roles"], unittest.equals(arg_roles));
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 = {
@@ -1638,9 +1638,9 @@
}), true);
res
.representativeInfoByDivision(arg_ocdId,
+ roles: arg_roles,
recursive: arg_recursive,
levels: arg_levels,
- 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 a9a67d5..51f0354 100644
--- a/generated/googleapis/test/classroom/v1_test.dart
+++ b/generated/googleapis/test/classroom/v1_test.dart
@@ -50,14 +50,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed2609() {
+buildUnnamed2613() {
var o = new core.List<api.Material>();
o.add(buildMaterial());
o.add(buildMaterial());
return o;
}
-checkUnnamed2609(core.List<api.Material> o) {
+checkUnnamed2613(core.List<api.Material> o) {
unittest.expect(o, unittest.hasLength(2));
checkMaterial(o[0]);
checkMaterial(o[1]);
@@ -75,7 +75,7 @@
o.creatorUserId = "foo";
o.id = "foo";
o.individualStudentsOptions = buildIndividualStudentsOptions();
- o.materials = buildUnnamed2609();
+ o.materials = buildUnnamed2613();
o.scheduledTime = "foo";
o.state = "foo";
o.text = "foo";
@@ -95,7 +95,7 @@
unittest.expect(o.creatorUserId, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
checkIndividualStudentsOptions(o.individualStudentsOptions);
- checkUnnamed2609(o.materials);
+ checkUnnamed2613(o.materials);
unittest.expect(o.scheduledTime, unittest.equals('foo'));
unittest.expect(o.state, unittest.equals('foo'));
unittest.expect(o.text, unittest.equals('foo'));
@@ -123,14 +123,14 @@
buildCounterAssignment--;
}
-buildUnnamed2610() {
+buildUnnamed2614() {
var o = new core.List<api.Attachment>();
o.add(buildAttachment());
o.add(buildAttachment());
return o;
}
-checkUnnamed2610(core.List<api.Attachment> o) {
+checkUnnamed2614(core.List<api.Attachment> o) {
unittest.expect(o, unittest.hasLength(2));
checkAttachment(o[0]);
checkAttachment(o[1]);
@@ -141,7 +141,7 @@
var o = new api.AssignmentSubmission();
buildCounterAssignmentSubmission++;
if (buildCounterAssignmentSubmission < 3) {
- o.attachments = buildUnnamed2610();
+ o.attachments = buildUnnamed2614();
}
buildCounterAssignmentSubmission--;
return o;
@@ -150,7 +150,7 @@
checkAssignmentSubmission(api.AssignmentSubmission o) {
buildCounterAssignmentSubmission++;
if (buildCounterAssignmentSubmission < 3) {
- checkUnnamed2610(o.attachments);
+ checkUnnamed2614(o.attachments);
}
buildCounterAssignmentSubmission--;
}
@@ -199,14 +199,14 @@
buildCounterCloudPubsubTopic--;
}
-buildUnnamed2611() {
+buildUnnamed2615() {
var o = new core.List<api.CourseMaterialSet>();
o.add(buildCourseMaterialSet());
o.add(buildCourseMaterialSet());
return o;
}
-checkUnnamed2611(core.List<api.CourseMaterialSet> o) {
+checkUnnamed2615(core.List<api.CourseMaterialSet> o) {
unittest.expect(o, unittest.hasLength(2));
checkCourseMaterialSet(o[0]);
checkCourseMaterialSet(o[1]);
@@ -220,7 +220,7 @@
o.alternateLink = "foo";
o.calendarId = "foo";
o.courseGroupEmail = "foo";
- o.courseMaterialSets = buildUnnamed2611();
+ o.courseMaterialSets = buildUnnamed2615();
o.courseState = "foo";
o.creationTime = "foo";
o.description = "foo";
@@ -246,7 +246,7 @@
unittest.expect(o.alternateLink, unittest.equals('foo'));
unittest.expect(o.calendarId, unittest.equals('foo'));
unittest.expect(o.courseGroupEmail, unittest.equals('foo'));
- checkUnnamed2611(o.courseMaterialSets);
+ checkUnnamed2615(o.courseMaterialSets);
unittest.expect(o.courseState, unittest.equals('foo'));
unittest.expect(o.creationTime, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
@@ -309,14 +309,14 @@
buildCounterCourseMaterial--;
}
-buildUnnamed2612() {
+buildUnnamed2616() {
var o = new core.List<api.CourseMaterial>();
o.add(buildCourseMaterial());
o.add(buildCourseMaterial());
return o;
}
-checkUnnamed2612(core.List<api.CourseMaterial> o) {
+checkUnnamed2616(core.List<api.CourseMaterial> o) {
unittest.expect(o, unittest.hasLength(2));
checkCourseMaterial(o[0]);
checkCourseMaterial(o[1]);
@@ -327,7 +327,7 @@
var o = new api.CourseMaterialSet();
buildCounterCourseMaterialSet++;
if (buildCounterCourseMaterialSet < 3) {
- o.materials = buildUnnamed2612();
+ o.materials = buildUnnamed2616();
o.title = "foo";
}
buildCounterCourseMaterialSet--;
@@ -337,7 +337,7 @@
checkCourseMaterialSet(api.CourseMaterialSet o) {
buildCounterCourseMaterialSet++;
if (buildCounterCourseMaterialSet < 3) {
- checkUnnamed2612(o.materials);
+ checkUnnamed2616(o.materials);
unittest.expect(o.title, unittest.equals('foo'));
}
buildCounterCourseMaterialSet--;
@@ -362,14 +362,14 @@
buildCounterCourseRosterChangesInfo--;
}
-buildUnnamed2613() {
+buildUnnamed2617() {
var o = new core.List<api.Material>();
o.add(buildMaterial());
o.add(buildMaterial());
return o;
}
-checkUnnamed2613(core.List<api.Material> o) {
+checkUnnamed2617(core.List<api.Material> o) {
unittest.expect(o, unittest.hasLength(2));
checkMaterial(o[0]);
checkMaterial(o[1]);
@@ -392,7 +392,7 @@
o.dueTime = buildTimeOfDay();
o.id = "foo";
o.individualStudentsOptions = buildIndividualStudentsOptions();
- o.materials = buildUnnamed2613();
+ o.materials = buildUnnamed2617();
o.maxPoints = 42.0;
o.multipleChoiceQuestion = buildMultipleChoiceQuestion();
o.scheduledTime = "foo";
@@ -422,7 +422,7 @@
checkTimeOfDay(o.dueTime);
unittest.expect(o.id, unittest.equals('foo'));
checkIndividualStudentsOptions(o.individualStudentsOptions);
- checkUnnamed2613(o.materials);
+ checkUnnamed2617(o.materials);
unittest.expect(o.maxPoints, unittest.equals(42.0));
checkMultipleChoiceQuestion(o.multipleChoiceQuestion);
unittest.expect(o.scheduledTime, unittest.equals('foo'));
@@ -455,14 +455,14 @@
buildCounterCourseWorkChangesInfo--;
}
-buildUnnamed2614() {
+buildUnnamed2618() {
var o = new core.List<api.Material>();
o.add(buildMaterial());
o.add(buildMaterial());
return o;
}
-checkUnnamed2614(core.List<api.Material> o) {
+checkUnnamed2618(core.List<api.Material> o) {
unittest.expect(o, unittest.hasLength(2));
checkMaterial(o[0]);
checkMaterial(o[1]);
@@ -481,7 +481,7 @@
o.description = "foo";
o.id = "foo";
o.individualStudentsOptions = buildIndividualStudentsOptions();
- o.materials = buildUnnamed2614();
+ o.materials = buildUnnamed2618();
o.scheduledTime = "foo";
o.state = "foo";
o.title = "foo";
@@ -503,7 +503,7 @@
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
checkIndividualStudentsOptions(o.individualStudentsOptions);
- checkUnnamed2614(o.materials);
+ checkUnnamed2618(o.materials);
unittest.expect(o.scheduledTime, unittest.equals('foo'));
unittest.expect(o.state, unittest.equals('foo'));
unittest.expect(o.title, unittest.equals('foo'));
@@ -745,14 +745,14 @@
buildCounterGuardianInvitation--;
}
-buildUnnamed2615() {
+buildUnnamed2619() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2615(core.List<core.String> o) {
+checkUnnamed2619(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -763,7 +763,7 @@
var o = new api.IndividualStudentsOptions();
buildCounterIndividualStudentsOptions++;
if (buildCounterIndividualStudentsOptions < 3) {
- o.studentIds = buildUnnamed2615();
+ o.studentIds = buildUnnamed2619();
}
buildCounterIndividualStudentsOptions--;
return o;
@@ -772,7 +772,7 @@
checkIndividualStudentsOptions(api.IndividualStudentsOptions o) {
buildCounterIndividualStudentsOptions++;
if (buildCounterIndividualStudentsOptions < 3) {
- checkUnnamed2615(o.studentIds);
+ checkUnnamed2619(o.studentIds);
}
buildCounterIndividualStudentsOptions--;
}
@@ -825,14 +825,14 @@
buildCounterLink--;
}
-buildUnnamed2616() {
+buildUnnamed2620() {
var o = new core.List<api.Announcement>();
o.add(buildAnnouncement());
o.add(buildAnnouncement());
return o;
}
-checkUnnamed2616(core.List<api.Announcement> o) {
+checkUnnamed2620(core.List<api.Announcement> o) {
unittest.expect(o, unittest.hasLength(2));
checkAnnouncement(o[0]);
checkAnnouncement(o[1]);
@@ -843,7 +843,7 @@
var o = new api.ListAnnouncementsResponse();
buildCounterListAnnouncementsResponse++;
if (buildCounterListAnnouncementsResponse < 3) {
- o.announcements = buildUnnamed2616();
+ o.announcements = buildUnnamed2620();
o.nextPageToken = "foo";
}
buildCounterListAnnouncementsResponse--;
@@ -853,20 +853,20 @@
checkListAnnouncementsResponse(api.ListAnnouncementsResponse o) {
buildCounterListAnnouncementsResponse++;
if (buildCounterListAnnouncementsResponse < 3) {
- checkUnnamed2616(o.announcements);
+ checkUnnamed2620(o.announcements);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListAnnouncementsResponse--;
}
-buildUnnamed2617() {
+buildUnnamed2621() {
var o = new core.List<api.CourseAlias>();
o.add(buildCourseAlias());
o.add(buildCourseAlias());
return o;
}
-checkUnnamed2617(core.List<api.CourseAlias> o) {
+checkUnnamed2621(core.List<api.CourseAlias> o) {
unittest.expect(o, unittest.hasLength(2));
checkCourseAlias(o[0]);
checkCourseAlias(o[1]);
@@ -877,7 +877,7 @@
var o = new api.ListCourseAliasesResponse();
buildCounterListCourseAliasesResponse++;
if (buildCounterListCourseAliasesResponse < 3) {
- o.aliases = buildUnnamed2617();
+ o.aliases = buildUnnamed2621();
o.nextPageToken = "foo";
}
buildCounterListCourseAliasesResponse--;
@@ -887,20 +887,20 @@
checkListCourseAliasesResponse(api.ListCourseAliasesResponse o) {
buildCounterListCourseAliasesResponse++;
if (buildCounterListCourseAliasesResponse < 3) {
- checkUnnamed2617(o.aliases);
+ checkUnnamed2621(o.aliases);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListCourseAliasesResponse--;
}
-buildUnnamed2618() {
+buildUnnamed2622() {
var o = new core.List<api.CourseWorkMaterial>();
o.add(buildCourseWorkMaterial());
o.add(buildCourseWorkMaterial());
return o;
}
-checkUnnamed2618(core.List<api.CourseWorkMaterial> o) {
+checkUnnamed2622(core.List<api.CourseWorkMaterial> o) {
unittest.expect(o, unittest.hasLength(2));
checkCourseWorkMaterial(o[0]);
checkCourseWorkMaterial(o[1]);
@@ -911,7 +911,7 @@
var o = new api.ListCourseWorkMaterialResponse();
buildCounterListCourseWorkMaterialResponse++;
if (buildCounterListCourseWorkMaterialResponse < 3) {
- o.courseWorkMaterial = buildUnnamed2618();
+ o.courseWorkMaterial = buildUnnamed2622();
o.nextPageToken = "foo";
}
buildCounterListCourseWorkMaterialResponse--;
@@ -921,20 +921,20 @@
checkListCourseWorkMaterialResponse(api.ListCourseWorkMaterialResponse o) {
buildCounterListCourseWorkMaterialResponse++;
if (buildCounterListCourseWorkMaterialResponse < 3) {
- checkUnnamed2618(o.courseWorkMaterial);
+ checkUnnamed2622(o.courseWorkMaterial);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListCourseWorkMaterialResponse--;
}
-buildUnnamed2619() {
+buildUnnamed2623() {
var o = new core.List<api.CourseWork>();
o.add(buildCourseWork());
o.add(buildCourseWork());
return o;
}
-checkUnnamed2619(core.List<api.CourseWork> o) {
+checkUnnamed2623(core.List<api.CourseWork> o) {
unittest.expect(o, unittest.hasLength(2));
checkCourseWork(o[0]);
checkCourseWork(o[1]);
@@ -945,7 +945,7 @@
var o = new api.ListCourseWorkResponse();
buildCounterListCourseWorkResponse++;
if (buildCounterListCourseWorkResponse < 3) {
- o.courseWork = buildUnnamed2619();
+ o.courseWork = buildUnnamed2623();
o.nextPageToken = "foo";
}
buildCounterListCourseWorkResponse--;
@@ -955,20 +955,20 @@
checkListCourseWorkResponse(api.ListCourseWorkResponse o) {
buildCounterListCourseWorkResponse++;
if (buildCounterListCourseWorkResponse < 3) {
- checkUnnamed2619(o.courseWork);
+ checkUnnamed2623(o.courseWork);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListCourseWorkResponse--;
}
-buildUnnamed2620() {
+buildUnnamed2624() {
var o = new core.List<api.Course>();
o.add(buildCourse());
o.add(buildCourse());
return o;
}
-checkUnnamed2620(core.List<api.Course> o) {
+checkUnnamed2624(core.List<api.Course> o) {
unittest.expect(o, unittest.hasLength(2));
checkCourse(o[0]);
checkCourse(o[1]);
@@ -979,7 +979,7 @@
var o = new api.ListCoursesResponse();
buildCounterListCoursesResponse++;
if (buildCounterListCoursesResponse < 3) {
- o.courses = buildUnnamed2620();
+ o.courses = buildUnnamed2624();
o.nextPageToken = "foo";
}
buildCounterListCoursesResponse--;
@@ -989,20 +989,20 @@
checkListCoursesResponse(api.ListCoursesResponse o) {
buildCounterListCoursesResponse++;
if (buildCounterListCoursesResponse < 3) {
- checkUnnamed2620(o.courses);
+ checkUnnamed2624(o.courses);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListCoursesResponse--;
}
-buildUnnamed2621() {
+buildUnnamed2625() {
var o = new core.List<api.GuardianInvitation>();
o.add(buildGuardianInvitation());
o.add(buildGuardianInvitation());
return o;
}
-checkUnnamed2621(core.List<api.GuardianInvitation> o) {
+checkUnnamed2625(core.List<api.GuardianInvitation> o) {
unittest.expect(o, unittest.hasLength(2));
checkGuardianInvitation(o[0]);
checkGuardianInvitation(o[1]);
@@ -1013,7 +1013,7 @@
var o = new api.ListGuardianInvitationsResponse();
buildCounterListGuardianInvitationsResponse++;
if (buildCounterListGuardianInvitationsResponse < 3) {
- o.guardianInvitations = buildUnnamed2621();
+ o.guardianInvitations = buildUnnamed2625();
o.nextPageToken = "foo";
}
buildCounterListGuardianInvitationsResponse--;
@@ -1023,20 +1023,20 @@
checkListGuardianInvitationsResponse(api.ListGuardianInvitationsResponse o) {
buildCounterListGuardianInvitationsResponse++;
if (buildCounterListGuardianInvitationsResponse < 3) {
- checkUnnamed2621(o.guardianInvitations);
+ checkUnnamed2625(o.guardianInvitations);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListGuardianInvitationsResponse--;
}
-buildUnnamed2622() {
+buildUnnamed2626() {
var o = new core.List<api.Guardian>();
o.add(buildGuardian());
o.add(buildGuardian());
return o;
}
-checkUnnamed2622(core.List<api.Guardian> o) {
+checkUnnamed2626(core.List<api.Guardian> o) {
unittest.expect(o, unittest.hasLength(2));
checkGuardian(o[0]);
checkGuardian(o[1]);
@@ -1047,7 +1047,7 @@
var o = new api.ListGuardiansResponse();
buildCounterListGuardiansResponse++;
if (buildCounterListGuardiansResponse < 3) {
- o.guardians = buildUnnamed2622();
+ o.guardians = buildUnnamed2626();
o.nextPageToken = "foo";
}
buildCounterListGuardiansResponse--;
@@ -1057,20 +1057,20 @@
checkListGuardiansResponse(api.ListGuardiansResponse o) {
buildCounterListGuardiansResponse++;
if (buildCounterListGuardiansResponse < 3) {
- checkUnnamed2622(o.guardians);
+ checkUnnamed2626(o.guardians);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListGuardiansResponse--;
}
-buildUnnamed2623() {
+buildUnnamed2627() {
var o = new core.List<api.Invitation>();
o.add(buildInvitation());
o.add(buildInvitation());
return o;
}
-checkUnnamed2623(core.List<api.Invitation> o) {
+checkUnnamed2627(core.List<api.Invitation> o) {
unittest.expect(o, unittest.hasLength(2));
checkInvitation(o[0]);
checkInvitation(o[1]);
@@ -1081,7 +1081,7 @@
var o = new api.ListInvitationsResponse();
buildCounterListInvitationsResponse++;
if (buildCounterListInvitationsResponse < 3) {
- o.invitations = buildUnnamed2623();
+ o.invitations = buildUnnamed2627();
o.nextPageToken = "foo";
}
buildCounterListInvitationsResponse--;
@@ -1091,20 +1091,20 @@
checkListInvitationsResponse(api.ListInvitationsResponse o) {
buildCounterListInvitationsResponse++;
if (buildCounterListInvitationsResponse < 3) {
- checkUnnamed2623(o.invitations);
+ checkUnnamed2627(o.invitations);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListInvitationsResponse--;
}
-buildUnnamed2624() {
+buildUnnamed2628() {
var o = new core.List<api.StudentSubmission>();
o.add(buildStudentSubmission());
o.add(buildStudentSubmission());
return o;
}
-checkUnnamed2624(core.List<api.StudentSubmission> o) {
+checkUnnamed2628(core.List<api.StudentSubmission> o) {
unittest.expect(o, unittest.hasLength(2));
checkStudentSubmission(o[0]);
checkStudentSubmission(o[1]);
@@ -1116,7 +1116,7 @@
buildCounterListStudentSubmissionsResponse++;
if (buildCounterListStudentSubmissionsResponse < 3) {
o.nextPageToken = "foo";
- o.studentSubmissions = buildUnnamed2624();
+ o.studentSubmissions = buildUnnamed2628();
}
buildCounterListStudentSubmissionsResponse--;
return o;
@@ -1126,19 +1126,19 @@
buildCounterListStudentSubmissionsResponse++;
if (buildCounterListStudentSubmissionsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2624(o.studentSubmissions);
+ checkUnnamed2628(o.studentSubmissions);
}
buildCounterListStudentSubmissionsResponse--;
}
-buildUnnamed2625() {
+buildUnnamed2629() {
var o = new core.List<api.Student>();
o.add(buildStudent());
o.add(buildStudent());
return o;
}
-checkUnnamed2625(core.List<api.Student> o) {
+checkUnnamed2629(core.List<api.Student> o) {
unittest.expect(o, unittest.hasLength(2));
checkStudent(o[0]);
checkStudent(o[1]);
@@ -1150,7 +1150,7 @@
buildCounterListStudentsResponse++;
if (buildCounterListStudentsResponse < 3) {
o.nextPageToken = "foo";
- o.students = buildUnnamed2625();
+ o.students = buildUnnamed2629();
}
buildCounterListStudentsResponse--;
return o;
@@ -1160,19 +1160,19 @@
buildCounterListStudentsResponse++;
if (buildCounterListStudentsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2625(o.students);
+ checkUnnamed2629(o.students);
}
buildCounterListStudentsResponse--;
}
-buildUnnamed2626() {
+buildUnnamed2630() {
var o = new core.List<api.Teacher>();
o.add(buildTeacher());
o.add(buildTeacher());
return o;
}
-checkUnnamed2626(core.List<api.Teacher> o) {
+checkUnnamed2630(core.List<api.Teacher> o) {
unittest.expect(o, unittest.hasLength(2));
checkTeacher(o[0]);
checkTeacher(o[1]);
@@ -1184,7 +1184,7 @@
buildCounterListTeachersResponse++;
if (buildCounterListTeachersResponse < 3) {
o.nextPageToken = "foo";
- o.teachers = buildUnnamed2626();
+ o.teachers = buildUnnamed2630();
}
buildCounterListTeachersResponse--;
return o;
@@ -1194,19 +1194,19 @@
buildCounterListTeachersResponse++;
if (buildCounterListTeachersResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2626(o.teachers);
+ checkUnnamed2630(o.teachers);
}
buildCounterListTeachersResponse--;
}
-buildUnnamed2627() {
+buildUnnamed2631() {
var o = new core.List<api.Topic>();
o.add(buildTopic());
o.add(buildTopic());
return o;
}
-checkUnnamed2627(core.List<api.Topic> o) {
+checkUnnamed2631(core.List<api.Topic> o) {
unittest.expect(o, unittest.hasLength(2));
checkTopic(o[0]);
checkTopic(o[1]);
@@ -1218,7 +1218,7 @@
buildCounterListTopicResponse++;
if (buildCounterListTopicResponse < 3) {
o.nextPageToken = "foo";
- o.topic = buildUnnamed2627();
+ o.topic = buildUnnamed2631();
}
buildCounterListTopicResponse--;
return o;
@@ -1228,7 +1228,7 @@
buildCounterListTopicResponse++;
if (buildCounterListTopicResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2627(o.topic);
+ checkUnnamed2631(o.topic);
}
buildCounterListTopicResponse--;
}
@@ -1280,14 +1280,14 @@
buildCounterModifyAnnouncementAssigneesRequest--;
}
-buildUnnamed2628() {
+buildUnnamed2632() {
var o = new core.List<api.Attachment>();
o.add(buildAttachment());
o.add(buildAttachment());
return o;
}
-checkUnnamed2628(core.List<api.Attachment> o) {
+checkUnnamed2632(core.List<api.Attachment> o) {
unittest.expect(o, unittest.hasLength(2));
checkAttachment(o[0]);
checkAttachment(o[1]);
@@ -1298,7 +1298,7 @@
var o = new api.ModifyAttachmentsRequest();
buildCounterModifyAttachmentsRequest++;
if (buildCounterModifyAttachmentsRequest < 3) {
- o.addAttachments = buildUnnamed2628();
+ o.addAttachments = buildUnnamed2632();
}
buildCounterModifyAttachmentsRequest--;
return o;
@@ -1307,7 +1307,7 @@
checkModifyAttachmentsRequest(api.ModifyAttachmentsRequest o) {
buildCounterModifyAttachmentsRequest++;
if (buildCounterModifyAttachmentsRequest < 3) {
- checkUnnamed2628(o.addAttachments);
+ checkUnnamed2632(o.addAttachments);
}
buildCounterModifyAttachmentsRequest--;
}
@@ -1333,27 +1333,27 @@
buildCounterModifyCourseWorkAssigneesRequest--;
}
-buildUnnamed2629() {
+buildUnnamed2633() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2629(core.List<core.String> o) {
+checkUnnamed2633(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2630() {
+buildUnnamed2634() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2630(core.List<core.String> o) {
+checkUnnamed2634(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1364,8 +1364,8 @@
var o = new api.ModifyIndividualStudentsOptions();
buildCounterModifyIndividualStudentsOptions++;
if (buildCounterModifyIndividualStudentsOptions < 3) {
- o.addStudentIds = buildUnnamed2629();
- o.removeStudentIds = buildUnnamed2630();
+ o.addStudentIds = buildUnnamed2633();
+ o.removeStudentIds = buildUnnamed2634();
}
buildCounterModifyIndividualStudentsOptions--;
return o;
@@ -1374,20 +1374,20 @@
checkModifyIndividualStudentsOptions(api.ModifyIndividualStudentsOptions o) {
buildCounterModifyIndividualStudentsOptions++;
if (buildCounterModifyIndividualStudentsOptions < 3) {
- checkUnnamed2629(o.addStudentIds);
- checkUnnamed2630(o.removeStudentIds);
+ checkUnnamed2633(o.addStudentIds);
+ checkUnnamed2634(o.removeStudentIds);
}
buildCounterModifyIndividualStudentsOptions--;
}
-buildUnnamed2631() {
+buildUnnamed2635() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2631(core.List<core.String> o) {
+checkUnnamed2635(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1398,7 +1398,7 @@
var o = new api.MultipleChoiceQuestion();
buildCounterMultipleChoiceQuestion++;
if (buildCounterMultipleChoiceQuestion < 3) {
- o.choices = buildUnnamed2631();
+ o.choices = buildUnnamed2635();
}
buildCounterMultipleChoiceQuestion--;
return o;
@@ -1407,7 +1407,7 @@
checkMultipleChoiceQuestion(api.MultipleChoiceQuestion o) {
buildCounterMultipleChoiceQuestion++;
if (buildCounterMultipleChoiceQuestion < 3) {
- checkUnnamed2631(o.choices);
+ checkUnnamed2635(o.choices);
}
buildCounterMultipleChoiceQuestion--;
}
@@ -1597,14 +1597,14 @@
buildCounterStudent--;
}
-buildUnnamed2632() {
+buildUnnamed2636() {
var o = new core.List<api.SubmissionHistory>();
o.add(buildSubmissionHistory());
o.add(buildSubmissionHistory());
return o;
}
-checkUnnamed2632(core.List<api.SubmissionHistory> o) {
+checkUnnamed2636(core.List<api.SubmissionHistory> o) {
unittest.expect(o, unittest.hasLength(2));
checkSubmissionHistory(o[0]);
checkSubmissionHistory(o[1]);
@@ -1629,7 +1629,7 @@
o.multipleChoiceSubmission = buildMultipleChoiceSubmission();
o.shortAnswerSubmission = buildShortAnswerSubmission();
o.state = "foo";
- o.submissionHistory = buildUnnamed2632();
+ o.submissionHistory = buildUnnamed2636();
o.updateTime = "foo";
o.userId = "foo";
}
@@ -1654,7 +1654,7 @@
checkMultipleChoiceSubmission(o.multipleChoiceSubmission);
checkShortAnswerSubmission(o.shortAnswerSubmission);
unittest.expect(o.state, unittest.equals('foo'));
- checkUnnamed2632(o.submissionHistory);
+ checkUnnamed2636(o.submissionHistory);
unittest.expect(o.updateTime, unittest.equals('foo'));
unittest.expect(o.userId, unittest.equals('foo'));
}
@@ -1770,14 +1770,14 @@
buildCounterTurnInStudentSubmissionRequest--;
}
-buildUnnamed2633() {
+buildUnnamed2637() {
var o = new core.List<api.GlobalPermission>();
o.add(buildGlobalPermission());
o.add(buildGlobalPermission());
return o;
}
-checkUnnamed2633(core.List<api.GlobalPermission> o) {
+checkUnnamed2637(core.List<api.GlobalPermission> o) {
unittest.expect(o, unittest.hasLength(2));
checkGlobalPermission(o[0]);
checkGlobalPermission(o[1]);
@@ -1791,7 +1791,7 @@
o.emailAddress = "foo";
o.id = "foo";
o.name = buildName();
- o.permissions = buildUnnamed2633();
+ o.permissions = buildUnnamed2637();
o.photoUrl = "foo";
o.verifiedTeacher = true;
}
@@ -1805,7 +1805,7 @@
unittest.expect(o.emailAddress, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
checkName(o.name);
- checkUnnamed2633(o.permissions);
+ checkUnnamed2637(o.permissions);
unittest.expect(o.photoUrl, unittest.equals('foo'));
unittest.expect(o.verifiedTeacher, unittest.isTrue);
}
@@ -1837,58 +1837,6 @@
buildCounterYouTubeVideo--;
}
-buildUnnamed2634() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2634(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed2635() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2635(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed2636() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2636(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed2637() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2637(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed2638() {
var o = new core.List<core.String>();
o.add("foo");
@@ -1915,6 +1863,58 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed2640() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2640(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed2641() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2641(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed2642() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2642(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed2643() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2643(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
main() {
unittest.group("obj-schema-Announcement", () {
unittest.test("to-json--from-json", () {
@@ -2567,11 +2567,11 @@
unittest.test("method--list", () {
var mock = new HttpServerMock();
api.CoursesResourceApi res = new api.ClassroomApi(mock).courses;
- var arg_teacherId = "foo";
- var arg_pageSize = 42;
var arg_pageToken = "foo";
- var arg_courseStates = buildUnnamed2634();
var arg_studentId = "foo";
+ var arg_teacherId = "foo";
+ var arg_courseStates = buildUnnamed2638();
+ var arg_pageSize = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2604,15 +2604,15 @@
}
}
unittest.expect(
- queryMap["teacherId"].first, unittest.equals(arg_teacherId));
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
- unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(
- queryMap["courseStates"], unittest.equals(arg_courseStates));
- 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 = {
@@ -2623,11 +2623,11 @@
}), true);
res
.list(
- teacherId: arg_teacherId,
- pageSize: arg_pageSize,
pageToken: arg_pageToken,
- courseStates: arg_courseStates,
studentId: arg_studentId,
+ teacherId: arg_teacherId,
+ courseStates: arg_courseStates,
+ pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListCoursesResponse(response);
@@ -3150,10 +3150,10 @@
api.CoursesAnnouncementsResourceApi res =
new api.ClassroomApi(mock).courses.announcements;
var arg_courseId = "foo";
+ var arg_orderBy = "foo";
var arg_pageToken = "foo";
var arg_pageSize = 42;
- var arg_announcementStates = buildUnnamed2635();
- var arg_orderBy = "foo";
+ var arg_announcementStates = buildUnnamed2639();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3195,13 +3195,13 @@
}
}
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(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3212,10 +3212,10 @@
}), true);
res
.list(arg_courseId,
+ orderBy: arg_orderBy,
pageToken: arg_pageToken,
pageSize: arg_pageSize,
announcementStates: arg_announcementStates,
- orderBy: arg_orderBy,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListAnnouncementsResponse(response);
@@ -3568,10 +3568,10 @@
api.CoursesCourseWorkResourceApi res =
new api.ClassroomApi(mock).courses.courseWork;
var arg_courseId = "foo";
- var arg_courseWorkStates = buildUnnamed2636();
- var arg_pageSize = 42;
var arg_orderBy = "foo";
var arg_pageToken = "foo";
+ var arg_pageSize = 42;
+ var arg_courseWorkStates = buildUnnamed2640();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3612,14 +3612,14 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["courseWorkStates"],
- unittest.equals(arg_courseWorkStates));
- 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(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
+ unittest.expect(queryMap["courseWorkStates"],
+ unittest.equals(arg_courseWorkStates));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3630,10 +3630,10 @@
}), true);
res
.list(arg_courseId,
- courseWorkStates: arg_courseWorkStates,
- pageSize: arg_pageSize,
orderBy: arg_orderBy,
pageToken: arg_pageToken,
+ pageSize: arg_pageSize,
+ courseWorkStates: arg_courseWorkStates,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListCourseWorkResponse(response);
@@ -3869,9 +3869,9 @@
new api.ClassroomApi(mock).courses.courseWork.studentSubmissions;
var arg_courseId = "foo";
var arg_courseWorkId = "foo";
- var arg_states = buildUnnamed2637();
- var arg_userId = "foo";
var arg_pageSize = 42;
+ var arg_userId = "foo";
+ var arg_states = buildUnnamed2641();
var arg_late = "foo";
var arg_pageToken = "foo";
var arg_$fields = "foo";
@@ -3923,10 +3923,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["states"], unittest.equals(arg_states));
- unittest.expect(queryMap["userId"].first, unittest.equals(arg_userId));
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));
@@ -3940,9 +3940,9 @@
}), true);
res
.list(arg_courseId, arg_courseWorkId,
- states: arg_states,
- userId: arg_userId,
pageSize: arg_pageSize,
+ userId: arg_userId,
+ states: arg_states,
late: arg_late,
pageToken: arg_pageToken,
$fields: arg_$fields)
@@ -4573,12 +4573,12 @@
api.CoursesCourseWorkMaterialsResourceApi res =
new api.ClassroomApi(mock).courses.courseWorkMaterials;
var arg_courseId = "foo";
- var arg_courseWorkMaterialStates = buildUnnamed2638();
- var arg_materialLink = "foo";
- var arg_materialDriveId = "foo";
- var arg_orderBy = "foo";
var arg_pageToken = "foo";
+ var arg_materialLink = "foo";
var arg_pageSize = 42;
+ var arg_orderBy = "foo";
+ var arg_courseWorkMaterialStates = buildUnnamed2642();
+ var arg_materialDriveId = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -4619,18 +4619,18 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["courseWorkMaterialStates"],
- unittest.equals(arg_courseWorkMaterialStates));
- unittest.expect(
- queryMap["materialLink"].first, unittest.equals(arg_materialLink));
- unittest.expect(queryMap["materialDriveId"].first,
- unittest.equals(arg_materialDriveId));
- unittest.expect(
- queryMap["orderBy"].first, unittest.equals(arg_orderBy));
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["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4641,12 +4641,12 @@
}), true);
res
.list(arg_courseId,
- courseWorkMaterialStates: arg_courseWorkMaterialStates,
- materialLink: arg_materialLink,
- materialDriveId: arg_materialDriveId,
- orderBy: arg_orderBy,
pageToken: arg_pageToken,
+ materialLink: arg_materialLink,
pageSize: arg_pageSize,
+ orderBy: arg_orderBy,
+ courseWorkMaterialStates: arg_courseWorkMaterialStates,
+ materialDriveId: arg_materialDriveId,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListCourseWorkMaterialResponse(response);
@@ -6175,10 +6175,10 @@
api.UserProfilesGuardianInvitationsResourceApi res =
new api.ClassroomApi(mock).userProfiles.guardianInvitations;
var arg_studentId = "foo";
- var arg_states = buildUnnamed2639();
- var arg_invitedEmailAddress = "foo";
- var arg_pageToken = "foo";
var arg_pageSize = 42;
+ var arg_invitedEmailAddress = "foo";
+ var arg_states = buildUnnamed2643();
+ var arg_pageToken = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -6219,13 +6219,13 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["states"], unittest.equals(arg_states));
- unittest.expect(queryMap["invitedEmailAddress"].first,
- unittest.equals(arg_invitedEmailAddress));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
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(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -6236,10 +6236,10 @@
}), true);
res
.list(arg_studentId,
- states: arg_states,
- invitedEmailAddress: arg_invitedEmailAddress,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ invitedEmailAddress: arg_invitedEmailAddress,
+ states: arg_states,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListGuardianInvitationsResponse(response);
@@ -6453,8 +6453,8 @@
api.UserProfilesGuardiansResourceApi res =
new api.ClassroomApi(mock).userProfiles.guardians;
var arg_studentId = "foo";
- var arg_pageSize = 42;
var arg_invitedEmailAddress = "foo";
+ var arg_pageSize = 42;
var arg_pageToken = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -6496,10 +6496,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
unittest.expect(queryMap["invitedEmailAddress"].first,
unittest.equals(arg_invitedEmailAddress));
+ 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));
@@ -6512,8 +6512,8 @@
}), true);
res
.list(arg_studentId,
- pageSize: arg_pageSize,
invitedEmailAddress: arg_invitedEmailAddress,
+ pageSize: arg_pageSize,
pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
diff --git a/generated/googleapis/test/cloudasset/v1_test.dart b/generated/googleapis/test/cloudasset/v1_test.dart
index 068175f..a9d9598 100644
--- a/generated/googleapis/test/cloudasset/v1_test.dart
+++ b/generated/googleapis/test/cloudasset/v1_test.dart
@@ -50,27 +50,27 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed3189() {
+buildUnnamed3193() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3189(core.List<core.String> o) {
+checkUnnamed3193(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3190() {
+buildUnnamed3194() {
var o = new core.List<api.GoogleCloudOrgpolicyV1Policy>();
o.add(buildGoogleCloudOrgpolicyV1Policy());
o.add(buildGoogleCloudOrgpolicyV1Policy());
return o;
}
-checkUnnamed3190(core.List<api.GoogleCloudOrgpolicyV1Policy> o) {
+checkUnnamed3194(core.List<api.GoogleCloudOrgpolicyV1Policy> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudOrgpolicyV1Policy(o[0]);
checkGoogleCloudOrgpolicyV1Policy(o[1]);
@@ -83,11 +83,11 @@
if (buildCounterAsset < 3) {
o.accessLevel = buildGoogleIdentityAccesscontextmanagerV1AccessLevel();
o.accessPolicy = buildGoogleIdentityAccesscontextmanagerV1AccessPolicy();
- o.ancestors = buildUnnamed3189();
+ o.ancestors = buildUnnamed3193();
o.assetType = "foo";
o.iamPolicy = buildPolicy();
o.name = "foo";
- o.orgPolicy = buildUnnamed3190();
+ o.orgPolicy = buildUnnamed3194();
o.resource = buildResource();
o.servicePerimeter =
buildGoogleIdentityAccesscontextmanagerV1ServicePerimeter();
@@ -102,11 +102,11 @@
if (buildCounterAsset < 3) {
checkGoogleIdentityAccesscontextmanagerV1AccessLevel(o.accessLevel);
checkGoogleIdentityAccesscontextmanagerV1AccessPolicy(o.accessPolicy);
- checkUnnamed3189(o.ancestors);
+ checkUnnamed3193(o.ancestors);
unittest.expect(o.assetType, unittest.equals('foo'));
checkPolicy(o.iamPolicy);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed3190(o.orgPolicy);
+ checkUnnamed3194(o.orgPolicy);
checkResource(o.resource);
checkGoogleIdentityAccesscontextmanagerV1ServicePerimeter(
o.servicePerimeter);
@@ -115,14 +115,14 @@
buildCounterAsset--;
}
-buildUnnamed3191() {
+buildUnnamed3195() {
var o = new core.List<api.AuditLogConfig>();
o.add(buildAuditLogConfig());
o.add(buildAuditLogConfig());
return o;
}
-checkUnnamed3191(core.List<api.AuditLogConfig> o) {
+checkUnnamed3195(core.List<api.AuditLogConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuditLogConfig(o[0]);
checkAuditLogConfig(o[1]);
@@ -133,7 +133,7 @@
var o = new api.AuditConfig();
buildCounterAuditConfig++;
if (buildCounterAuditConfig < 3) {
- o.auditLogConfigs = buildUnnamed3191();
+ o.auditLogConfigs = buildUnnamed3195();
o.service = "foo";
}
buildCounterAuditConfig--;
@@ -143,20 +143,20 @@
checkAuditConfig(api.AuditConfig o) {
buildCounterAuditConfig++;
if (buildCounterAuditConfig < 3) {
- checkUnnamed3191(o.auditLogConfigs);
+ checkUnnamed3195(o.auditLogConfigs);
unittest.expect(o.service, unittest.equals('foo'));
}
buildCounterAuditConfig--;
}
-buildUnnamed3192() {
+buildUnnamed3196() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3192(core.List<core.String> o) {
+checkUnnamed3196(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -167,7 +167,7 @@
var o = new api.AuditLogConfig();
buildCounterAuditLogConfig++;
if (buildCounterAuditLogConfig < 3) {
- o.exemptedMembers = buildUnnamed3192();
+ o.exemptedMembers = buildUnnamed3196();
o.logType = "foo";
}
buildCounterAuditLogConfig--;
@@ -177,20 +177,20 @@
checkAuditLogConfig(api.AuditLogConfig o) {
buildCounterAuditLogConfig++;
if (buildCounterAuditLogConfig < 3) {
- checkUnnamed3192(o.exemptedMembers);
+ checkUnnamed3196(o.exemptedMembers);
unittest.expect(o.logType, unittest.equals('foo'));
}
buildCounterAuditLogConfig--;
}
-buildUnnamed3193() {
+buildUnnamed3197() {
var o = new core.List<api.TemporalAsset>();
o.add(buildTemporalAsset());
o.add(buildTemporalAsset());
return o;
}
-checkUnnamed3193(core.List<api.TemporalAsset> o) {
+checkUnnamed3197(core.List<api.TemporalAsset> o) {
unittest.expect(o, unittest.hasLength(2));
checkTemporalAsset(o[0]);
checkTemporalAsset(o[1]);
@@ -201,7 +201,7 @@
var o = new api.BatchGetAssetsHistoryResponse();
buildCounterBatchGetAssetsHistoryResponse++;
if (buildCounterBatchGetAssetsHistoryResponse < 3) {
- o.assets = buildUnnamed3193();
+ o.assets = buildUnnamed3197();
}
buildCounterBatchGetAssetsHistoryResponse--;
return o;
@@ -210,7 +210,7 @@
checkBatchGetAssetsHistoryResponse(api.BatchGetAssetsHistoryResponse o) {
buildCounterBatchGetAssetsHistoryResponse++;
if (buildCounterBatchGetAssetsHistoryResponse < 3) {
- checkUnnamed3193(o.assets);
+ checkUnnamed3197(o.assets);
}
buildCounterBatchGetAssetsHistoryResponse--;
}
@@ -242,14 +242,14 @@
buildCounterBigQueryDestination--;
}
-buildUnnamed3194() {
+buildUnnamed3198() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3194(core.List<core.String> o) {
+checkUnnamed3198(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -261,7 +261,7 @@
buildCounterBinding++;
if (buildCounterBinding < 3) {
o.condition = buildExpr();
- o.members = buildUnnamed3194();
+ o.members = buildUnnamed3198();
o.role = "foo";
}
buildCounterBinding--;
@@ -272,7 +272,7 @@
buildCounterBinding++;
if (buildCounterBinding < 3) {
checkExpr(o.condition);
- checkUnnamed3194(o.members);
+ checkUnnamed3198(o.members);
unittest.expect(o.role, unittest.equals('foo'));
}
buildCounterBinding--;
@@ -314,14 +314,14 @@
buildCounterEmpty--;
}
-buildUnnamed3195() {
+buildUnnamed3199() {
var o = new core.Map<core.String, api.Permissions>();
o["x"] = buildPermissions();
o["y"] = buildPermissions();
return o;
}
-checkUnnamed3195(core.Map<core.String, api.Permissions> o) {
+checkUnnamed3199(core.Map<core.String, api.Permissions> o) {
unittest.expect(o, unittest.hasLength(2));
checkPermissions(o["x"]);
checkPermissions(o["y"]);
@@ -332,7 +332,7 @@
var o = new api.Explanation();
buildCounterExplanation++;
if (buildCounterExplanation < 3) {
- o.matchedPermissions = buildUnnamed3195();
+ o.matchedPermissions = buildUnnamed3199();
}
buildCounterExplanation--;
return o;
@@ -341,19 +341,19 @@
checkExplanation(api.Explanation o) {
buildCounterExplanation++;
if (buildCounterExplanation < 3) {
- checkUnnamed3195(o.matchedPermissions);
+ checkUnnamed3199(o.matchedPermissions);
}
buildCounterExplanation--;
}
-buildUnnamed3196() {
+buildUnnamed3200() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3196(core.List<core.String> o) {
+checkUnnamed3200(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -364,7 +364,7 @@
var o = new api.ExportAssetsRequest();
buildCounterExportAssetsRequest++;
if (buildCounterExportAssetsRequest < 3) {
- o.assetTypes = buildUnnamed3196();
+ o.assetTypes = buildUnnamed3200();
o.contentType = "foo";
o.outputConfig = buildOutputConfig();
o.readTime = "foo";
@@ -376,7 +376,7 @@
checkExportAssetsRequest(api.ExportAssetsRequest o) {
buildCounterExportAssetsRequest++;
if (buildCounterExportAssetsRequest < 3) {
- checkUnnamed3196(o.assetTypes);
+ checkUnnamed3200(o.assetTypes);
unittest.expect(o.contentType, unittest.equals('foo'));
checkOutputConfig(o.outputConfig);
unittest.expect(o.readTime, unittest.equals('foo'));
@@ -409,27 +409,27 @@
buildCounterExpr--;
}
-buildUnnamed3197() {
+buildUnnamed3201() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3197(core.List<core.String> o) {
+checkUnnamed3201(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3198() {
+buildUnnamed3202() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3198(core.List<core.String> o) {
+checkUnnamed3202(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -440,8 +440,8 @@
var o = new api.Feed();
buildCounterFeed++;
if (buildCounterFeed < 3) {
- o.assetNames = buildUnnamed3197();
- o.assetTypes = buildUnnamed3198();
+ o.assetNames = buildUnnamed3201();
+ o.assetTypes = buildUnnamed3202();
o.condition = buildExpr();
o.contentType = "foo";
o.feedOutputConfig = buildFeedOutputConfig();
@@ -454,8 +454,8 @@
checkFeed(api.Feed o) {
buildCounterFeed++;
if (buildCounterFeed < 3) {
- checkUnnamed3197(o.assetNames);
- checkUnnamed3198(o.assetTypes);
+ checkUnnamed3201(o.assetNames);
+ checkUnnamed3202(o.assetTypes);
checkExpr(o.condition);
unittest.expect(o.contentType, unittest.equals('foo'));
checkFeedOutputConfig(o.feedOutputConfig);
@@ -524,27 +524,27 @@
buildCounterGoogleCloudOrgpolicyV1BooleanPolicy--;
}
-buildUnnamed3199() {
+buildUnnamed3203() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3199(core.List<core.String> o) {
+checkUnnamed3203(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3200() {
+buildUnnamed3204() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3200(core.List<core.String> o) {
+checkUnnamed3204(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -556,8 +556,8 @@
buildCounterGoogleCloudOrgpolicyV1ListPolicy++;
if (buildCounterGoogleCloudOrgpolicyV1ListPolicy < 3) {
o.allValues = "foo";
- o.allowedValues = buildUnnamed3199();
- o.deniedValues = buildUnnamed3200();
+ o.allowedValues = buildUnnamed3203();
+ o.deniedValues = buildUnnamed3204();
o.inheritFromParent = true;
o.suggestedValue = "foo";
}
@@ -569,8 +569,8 @@
buildCounterGoogleCloudOrgpolicyV1ListPolicy++;
if (buildCounterGoogleCloudOrgpolicyV1ListPolicy < 3) {
unittest.expect(o.allValues, unittest.equals('foo'));
- checkUnnamed3199(o.allowedValues);
- checkUnnamed3200(o.deniedValues);
+ checkUnnamed3203(o.allowedValues);
+ checkUnnamed3204(o.deniedValues);
unittest.expect(o.inheritFromParent, unittest.isTrue);
unittest.expect(o.suggestedValue, unittest.equals('foo'));
}
@@ -678,14 +678,14 @@
buildCounterGoogleIdentityAccesscontextmanagerV1AccessPolicy--;
}
-buildUnnamed3201() {
+buildUnnamed3205() {
var o = new core.List<api.GoogleIdentityAccesscontextmanagerV1Condition>();
o.add(buildGoogleIdentityAccesscontextmanagerV1Condition());
o.add(buildGoogleIdentityAccesscontextmanagerV1Condition());
return o;
}
-checkUnnamed3201(
+checkUnnamed3205(
core.List<api.GoogleIdentityAccesscontextmanagerV1Condition> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleIdentityAccesscontextmanagerV1Condition(o[0]);
@@ -698,7 +698,7 @@
buildCounterGoogleIdentityAccesscontextmanagerV1BasicLevel++;
if (buildCounterGoogleIdentityAccesscontextmanagerV1BasicLevel < 3) {
o.combiningFunction = "foo";
- o.conditions = buildUnnamed3201();
+ o.conditions = buildUnnamed3205();
}
buildCounterGoogleIdentityAccesscontextmanagerV1BasicLevel--;
return o;
@@ -709,113 +709,11 @@
buildCounterGoogleIdentityAccesscontextmanagerV1BasicLevel++;
if (buildCounterGoogleIdentityAccesscontextmanagerV1BasicLevel < 3) {
unittest.expect(o.combiningFunction, unittest.equals('foo'));
- checkUnnamed3201(o.conditions);
+ checkUnnamed3205(o.conditions);
}
buildCounterGoogleIdentityAccesscontextmanagerV1BasicLevel--;
}
-buildUnnamed3202() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3202(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed3203() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3203(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed3204() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3204(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed3205() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3205(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-core.int buildCounterGoogleIdentityAccesscontextmanagerV1Condition = 0;
-buildGoogleIdentityAccesscontextmanagerV1Condition() {
- var o = new api.GoogleIdentityAccesscontextmanagerV1Condition();
- buildCounterGoogleIdentityAccesscontextmanagerV1Condition++;
- if (buildCounterGoogleIdentityAccesscontextmanagerV1Condition < 3) {
- o.devicePolicy = buildGoogleIdentityAccesscontextmanagerV1DevicePolicy();
- o.ipSubnetworks = buildUnnamed3202();
- o.members = buildUnnamed3203();
- o.negate = true;
- o.regions = buildUnnamed3204();
- o.requiredAccessLevels = buildUnnamed3205();
- }
- buildCounterGoogleIdentityAccesscontextmanagerV1Condition--;
- return o;
-}
-
-checkGoogleIdentityAccesscontextmanagerV1Condition(
- api.GoogleIdentityAccesscontextmanagerV1Condition o) {
- buildCounterGoogleIdentityAccesscontextmanagerV1Condition++;
- if (buildCounterGoogleIdentityAccesscontextmanagerV1Condition < 3) {
- checkGoogleIdentityAccesscontextmanagerV1DevicePolicy(o.devicePolicy);
- checkUnnamed3202(o.ipSubnetworks);
- checkUnnamed3203(o.members);
- unittest.expect(o.negate, unittest.isTrue);
- checkUnnamed3204(o.regions);
- checkUnnamed3205(o.requiredAccessLevels);
- }
- buildCounterGoogleIdentityAccesscontextmanagerV1Condition--;
-}
-
-core.int buildCounterGoogleIdentityAccesscontextmanagerV1CustomLevel = 0;
-buildGoogleIdentityAccesscontextmanagerV1CustomLevel() {
- var o = new api.GoogleIdentityAccesscontextmanagerV1CustomLevel();
- buildCounterGoogleIdentityAccesscontextmanagerV1CustomLevel++;
- if (buildCounterGoogleIdentityAccesscontextmanagerV1CustomLevel < 3) {
- o.expr = buildExpr();
- }
- buildCounterGoogleIdentityAccesscontextmanagerV1CustomLevel--;
- return o;
-}
-
-checkGoogleIdentityAccesscontextmanagerV1CustomLevel(
- api.GoogleIdentityAccesscontextmanagerV1CustomLevel o) {
- buildCounterGoogleIdentityAccesscontextmanagerV1CustomLevel++;
- if (buildCounterGoogleIdentityAccesscontextmanagerV1CustomLevel < 3) {
- checkExpr(o.expr);
- }
- buildCounterGoogleIdentityAccesscontextmanagerV1CustomLevel--;
-}
-
buildUnnamed3206() {
var o = new core.List<core.String>();
o.add("foo");
@@ -843,13 +741,115 @@
}
buildUnnamed3208() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3208(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed3209() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3209(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+core.int buildCounterGoogleIdentityAccesscontextmanagerV1Condition = 0;
+buildGoogleIdentityAccesscontextmanagerV1Condition() {
+ var o = new api.GoogleIdentityAccesscontextmanagerV1Condition();
+ buildCounterGoogleIdentityAccesscontextmanagerV1Condition++;
+ if (buildCounterGoogleIdentityAccesscontextmanagerV1Condition < 3) {
+ o.devicePolicy = buildGoogleIdentityAccesscontextmanagerV1DevicePolicy();
+ o.ipSubnetworks = buildUnnamed3206();
+ o.members = buildUnnamed3207();
+ o.negate = true;
+ o.regions = buildUnnamed3208();
+ o.requiredAccessLevels = buildUnnamed3209();
+ }
+ buildCounterGoogleIdentityAccesscontextmanagerV1Condition--;
+ return o;
+}
+
+checkGoogleIdentityAccesscontextmanagerV1Condition(
+ api.GoogleIdentityAccesscontextmanagerV1Condition o) {
+ buildCounterGoogleIdentityAccesscontextmanagerV1Condition++;
+ if (buildCounterGoogleIdentityAccesscontextmanagerV1Condition < 3) {
+ checkGoogleIdentityAccesscontextmanagerV1DevicePolicy(o.devicePolicy);
+ checkUnnamed3206(o.ipSubnetworks);
+ checkUnnamed3207(o.members);
+ unittest.expect(o.negate, unittest.isTrue);
+ checkUnnamed3208(o.regions);
+ checkUnnamed3209(o.requiredAccessLevels);
+ }
+ buildCounterGoogleIdentityAccesscontextmanagerV1Condition--;
+}
+
+core.int buildCounterGoogleIdentityAccesscontextmanagerV1CustomLevel = 0;
+buildGoogleIdentityAccesscontextmanagerV1CustomLevel() {
+ var o = new api.GoogleIdentityAccesscontextmanagerV1CustomLevel();
+ buildCounterGoogleIdentityAccesscontextmanagerV1CustomLevel++;
+ if (buildCounterGoogleIdentityAccesscontextmanagerV1CustomLevel < 3) {
+ o.expr = buildExpr();
+ }
+ buildCounterGoogleIdentityAccesscontextmanagerV1CustomLevel--;
+ return o;
+}
+
+checkGoogleIdentityAccesscontextmanagerV1CustomLevel(
+ api.GoogleIdentityAccesscontextmanagerV1CustomLevel o) {
+ buildCounterGoogleIdentityAccesscontextmanagerV1CustomLevel++;
+ if (buildCounterGoogleIdentityAccesscontextmanagerV1CustomLevel < 3) {
+ checkExpr(o.expr);
+ }
+ buildCounterGoogleIdentityAccesscontextmanagerV1CustomLevel--;
+}
+
+buildUnnamed3210() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3210(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed3211() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3211(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed3212() {
var o = new core.List<api.GoogleIdentityAccesscontextmanagerV1OsConstraint>();
o.add(buildGoogleIdentityAccesscontextmanagerV1OsConstraint());
o.add(buildGoogleIdentityAccesscontextmanagerV1OsConstraint());
return o;
}
-checkUnnamed3208(
+checkUnnamed3212(
core.List<api.GoogleIdentityAccesscontextmanagerV1OsConstraint> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleIdentityAccesscontextmanagerV1OsConstraint(o[0]);
@@ -861,9 +861,9 @@
var o = new api.GoogleIdentityAccesscontextmanagerV1DevicePolicy();
buildCounterGoogleIdentityAccesscontextmanagerV1DevicePolicy++;
if (buildCounterGoogleIdentityAccesscontextmanagerV1DevicePolicy < 3) {
- o.allowedDeviceManagementLevels = buildUnnamed3206();
- o.allowedEncryptionStatuses = buildUnnamed3207();
- o.osConstraints = buildUnnamed3208();
+ o.allowedDeviceManagementLevels = buildUnnamed3210();
+ o.allowedEncryptionStatuses = buildUnnamed3211();
+ o.osConstraints = buildUnnamed3212();
o.requireAdminApproval = true;
o.requireCorpOwned = true;
o.requireScreenlock = true;
@@ -876,9 +876,9 @@
api.GoogleIdentityAccesscontextmanagerV1DevicePolicy o) {
buildCounterGoogleIdentityAccesscontextmanagerV1DevicePolicy++;
if (buildCounterGoogleIdentityAccesscontextmanagerV1DevicePolicy < 3) {
- checkUnnamed3206(o.allowedDeviceManagementLevels);
- checkUnnamed3207(o.allowedEncryptionStatuses);
- checkUnnamed3208(o.osConstraints);
+ checkUnnamed3210(o.allowedDeviceManagementLevels);
+ checkUnnamed3211(o.allowedEncryptionStatuses);
+ checkUnnamed3212(o.osConstraints);
unittest.expect(o.requireAdminApproval, unittest.isTrue);
unittest.expect(o.requireCorpOwned, unittest.isTrue);
unittest.expect(o.requireScreenlock, unittest.isTrue);
@@ -943,40 +943,40 @@
buildCounterGoogleIdentityAccesscontextmanagerV1ServicePerimeter--;
}
-buildUnnamed3209() {
+buildUnnamed3213() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3209(core.List<core.String> o) {
+checkUnnamed3213(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3210() {
+buildUnnamed3214() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3210(core.List<core.String> o) {
+checkUnnamed3214(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3211() {
+buildUnnamed3215() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3211(core.List<core.String> o) {
+checkUnnamed3215(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -989,9 +989,9 @@
buildCounterGoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig++;
if (buildCounterGoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig <
3) {
- o.accessLevels = buildUnnamed3209();
- o.resources = buildUnnamed3210();
- o.restrictedServices = buildUnnamed3211();
+ o.accessLevels = buildUnnamed3213();
+ o.resources = buildUnnamed3214();
+ o.restrictedServices = buildUnnamed3215();
o.vpcAccessibleServices =
buildGoogleIdentityAccesscontextmanagerV1VpcAccessibleServices();
}
@@ -1004,23 +1004,23 @@
buildCounterGoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig++;
if (buildCounterGoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig <
3) {
- checkUnnamed3209(o.accessLevels);
- checkUnnamed3210(o.resources);
- checkUnnamed3211(o.restrictedServices);
+ checkUnnamed3213(o.accessLevels);
+ checkUnnamed3214(o.resources);
+ checkUnnamed3215(o.restrictedServices);
checkGoogleIdentityAccesscontextmanagerV1VpcAccessibleServices(
o.vpcAccessibleServices);
}
buildCounterGoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig--;
}
-buildUnnamed3212() {
+buildUnnamed3216() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3212(core.List<core.String> o) {
+checkUnnamed3216(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1033,7 +1033,7 @@
buildCounterGoogleIdentityAccesscontextmanagerV1VpcAccessibleServices++;
if (buildCounterGoogleIdentityAccesscontextmanagerV1VpcAccessibleServices <
3) {
- o.allowedServices = buildUnnamed3212();
+ o.allowedServices = buildUnnamed3216();
o.enableRestriction = true;
}
buildCounterGoogleIdentityAccesscontextmanagerV1VpcAccessibleServices--;
@@ -1045,7 +1045,7 @@
buildCounterGoogleIdentityAccesscontextmanagerV1VpcAccessibleServices++;
if (buildCounterGoogleIdentityAccesscontextmanagerV1VpcAccessibleServices <
3) {
- checkUnnamed3212(o.allowedServices);
+ checkUnnamed3216(o.allowedServices);
unittest.expect(o.enableRestriction, unittest.isTrue);
}
buildCounterGoogleIdentityAccesscontextmanagerV1VpcAccessibleServices--;
@@ -1076,14 +1076,14 @@
buildCounterIamPolicySearchResult--;
}
-buildUnnamed3213() {
+buildUnnamed3217() {
var o = new core.List<api.Feed>();
o.add(buildFeed());
o.add(buildFeed());
return o;
}
-checkUnnamed3213(core.List<api.Feed> o) {
+checkUnnamed3217(core.List<api.Feed> o) {
unittest.expect(o, unittest.hasLength(2));
checkFeed(o[0]);
checkFeed(o[1]);
@@ -1094,7 +1094,7 @@
var o = new api.ListFeedsResponse();
buildCounterListFeedsResponse++;
if (buildCounterListFeedsResponse < 3) {
- o.feeds = buildUnnamed3213();
+ o.feeds = buildUnnamed3217();
}
buildCounterListFeedsResponse--;
return o;
@@ -1103,12 +1103,12 @@
checkListFeedsResponse(api.ListFeedsResponse o) {
buildCounterListFeedsResponse++;
if (buildCounterListFeedsResponse < 3) {
- checkUnnamed3213(o.feeds);
+ checkUnnamed3217(o.feeds);
}
buildCounterListFeedsResponse--;
}
-buildUnnamed3214() {
+buildUnnamed3218() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1123,7 +1123,7 @@
return o;
}
-checkUnnamed3214(core.Map<core.String, core.Object> o) {
+checkUnnamed3218(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o["x"]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -1137,7 +1137,7 @@
unittest.expect(casted2["string"], unittest.equals('foo'));
}
-buildUnnamed3215() {
+buildUnnamed3219() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1152,7 +1152,7 @@
return o;
}
-checkUnnamed3215(core.Map<core.String, core.Object> o) {
+checkUnnamed3219(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted3 = (o["x"]) as core.Map;
unittest.expect(casted3, unittest.hasLength(3));
@@ -1173,9 +1173,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed3214();
+ o.metadata = buildUnnamed3218();
o.name = "foo";
- o.response = buildUnnamed3215();
+ o.response = buildUnnamed3219();
}
buildCounterOperation--;
return o;
@@ -1186,9 +1186,9 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed3214(o.metadata);
+ checkUnnamed3218(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed3215(o.response);
+ checkUnnamed3219(o.response);
}
buildCounterOperation--;
}
@@ -1233,14 +1233,14 @@
buildCounterPartitionSpec--;
}
-buildUnnamed3216() {
+buildUnnamed3220() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3216(core.List<core.String> o) {
+checkUnnamed3220(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1251,7 +1251,7 @@
var o = new api.Permissions();
buildCounterPermissions++;
if (buildCounterPermissions < 3) {
- o.permissions = buildUnnamed3216();
+ o.permissions = buildUnnamed3220();
}
buildCounterPermissions--;
return o;
@@ -1260,32 +1260,32 @@
checkPermissions(api.Permissions o) {
buildCounterPermissions++;
if (buildCounterPermissions < 3) {
- checkUnnamed3216(o.permissions);
+ checkUnnamed3220(o.permissions);
}
buildCounterPermissions--;
}
-buildUnnamed3217() {
+buildUnnamed3221() {
var o = new core.List<api.AuditConfig>();
o.add(buildAuditConfig());
o.add(buildAuditConfig());
return o;
}
-checkUnnamed3217(core.List<api.AuditConfig> o) {
+checkUnnamed3221(core.List<api.AuditConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuditConfig(o[0]);
checkAuditConfig(o[1]);
}
-buildUnnamed3218() {
+buildUnnamed3222() {
var o = new core.List<api.Binding>();
o.add(buildBinding());
o.add(buildBinding());
return o;
}
-checkUnnamed3218(core.List<api.Binding> o) {
+checkUnnamed3222(core.List<api.Binding> o) {
unittest.expect(o, unittest.hasLength(2));
checkBinding(o[0]);
checkBinding(o[1]);
@@ -1296,8 +1296,8 @@
var o = new api.Policy();
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- o.auditConfigs = buildUnnamed3217();
- o.bindings = buildUnnamed3218();
+ o.auditConfigs = buildUnnamed3221();
+ o.bindings = buildUnnamed3222();
o.etag = "foo";
o.version = 42;
}
@@ -1308,8 +1308,8 @@
checkPolicy(api.Policy o) {
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- checkUnnamed3217(o.auditConfigs);
- checkUnnamed3218(o.bindings);
+ checkUnnamed3221(o.auditConfigs);
+ checkUnnamed3222(o.bindings);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals(42));
}
@@ -1335,7 +1335,7 @@
buildCounterPubsubDestination--;
}
-buildUnnamed3219() {
+buildUnnamed3223() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1350,7 +1350,7 @@
return o;
}
-checkUnnamed3219(core.Map<core.String, core.Object> o) {
+checkUnnamed3223(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted5 = (o["x"]) as core.Map;
unittest.expect(casted5, unittest.hasLength(3));
@@ -1369,7 +1369,7 @@
var o = new api.Resource();
buildCounterResource++;
if (buildCounterResource < 3) {
- o.data = buildUnnamed3219();
+ o.data = buildUnnamed3223();
o.discoveryDocumentUri = "foo";
o.discoveryName = "foo";
o.location = "foo";
@@ -1384,7 +1384,7 @@
checkResource(api.Resource o) {
buildCounterResource++;
if (buildCounterResource < 3) {
- checkUnnamed3219(o.data);
+ checkUnnamed3223(o.data);
unittest.expect(o.discoveryDocumentUri, unittest.equals('foo'));
unittest.expect(o.discoveryName, unittest.equals('foo'));
unittest.expect(o.location, unittest.equals('foo'));
@@ -1395,7 +1395,7 @@
buildCounterResource--;
}
-buildUnnamed3220() {
+buildUnnamed3224() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1410,7 +1410,7 @@
return o;
}
-checkUnnamed3220(core.Map<core.String, core.Object> o) {
+checkUnnamed3224(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted7 = (o["x"]) as core.Map;
unittest.expect(casted7, unittest.hasLength(3));
@@ -1424,27 +1424,27 @@
unittest.expect(casted8["string"], unittest.equals('foo'));
}
-buildUnnamed3221() {
+buildUnnamed3225() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3221(core.Map<core.String, core.String> o) {
+checkUnnamed3225(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed3222() {
+buildUnnamed3226() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3222(core.List<core.String> o) {
+checkUnnamed3226(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1455,14 +1455,14 @@
var o = new api.ResourceSearchResult();
buildCounterResourceSearchResult++;
if (buildCounterResourceSearchResult < 3) {
- o.additionalAttributes = buildUnnamed3220();
+ o.additionalAttributes = buildUnnamed3224();
o.assetType = "foo";
o.description = "foo";
o.displayName = "foo";
- o.labels = buildUnnamed3221();
+ o.labels = buildUnnamed3225();
o.location = "foo";
o.name = "foo";
- o.networkTags = buildUnnamed3222();
+ o.networkTags = buildUnnamed3226();
o.project = "foo";
}
buildCounterResourceSearchResult--;
@@ -1472,27 +1472,27 @@
checkResourceSearchResult(api.ResourceSearchResult o) {
buildCounterResourceSearchResult++;
if (buildCounterResourceSearchResult < 3) {
- checkUnnamed3220(o.additionalAttributes);
+ checkUnnamed3224(o.additionalAttributes);
unittest.expect(o.assetType, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed3221(o.labels);
+ checkUnnamed3225(o.labels);
unittest.expect(o.location, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed3222(o.networkTags);
+ checkUnnamed3226(o.networkTags);
unittest.expect(o.project, unittest.equals('foo'));
}
buildCounterResourceSearchResult--;
}
-buildUnnamed3223() {
+buildUnnamed3227() {
var o = new core.List<api.IamPolicySearchResult>();
o.add(buildIamPolicySearchResult());
o.add(buildIamPolicySearchResult());
return o;
}
-checkUnnamed3223(core.List<api.IamPolicySearchResult> o) {
+checkUnnamed3227(core.List<api.IamPolicySearchResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkIamPolicySearchResult(o[0]);
checkIamPolicySearchResult(o[1]);
@@ -1504,7 +1504,7 @@
buildCounterSearchAllIamPoliciesResponse++;
if (buildCounterSearchAllIamPoliciesResponse < 3) {
o.nextPageToken = "foo";
- o.results = buildUnnamed3223();
+ o.results = buildUnnamed3227();
}
buildCounterSearchAllIamPoliciesResponse--;
return o;
@@ -1514,19 +1514,19 @@
buildCounterSearchAllIamPoliciesResponse++;
if (buildCounterSearchAllIamPoliciesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3223(o.results);
+ checkUnnamed3227(o.results);
}
buildCounterSearchAllIamPoliciesResponse--;
}
-buildUnnamed3224() {
+buildUnnamed3228() {
var o = new core.List<api.ResourceSearchResult>();
o.add(buildResourceSearchResult());
o.add(buildResourceSearchResult());
return o;
}
-checkUnnamed3224(core.List<api.ResourceSearchResult> o) {
+checkUnnamed3228(core.List<api.ResourceSearchResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkResourceSearchResult(o[0]);
checkResourceSearchResult(o[1]);
@@ -1538,7 +1538,7 @@
buildCounterSearchAllResourcesResponse++;
if (buildCounterSearchAllResourcesResponse < 3) {
o.nextPageToken = "foo";
- o.results = buildUnnamed3224();
+ o.results = buildUnnamed3228();
}
buildCounterSearchAllResourcesResponse--;
return o;
@@ -1548,12 +1548,12 @@
buildCounterSearchAllResourcesResponse++;
if (buildCounterSearchAllResourcesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3224(o.results);
+ checkUnnamed3228(o.results);
}
buildCounterSearchAllResourcesResponse--;
}
-buildUnnamed3225() {
+buildUnnamed3229() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1568,7 +1568,7 @@
return o;
}
-checkUnnamed3225(core.Map<core.String, core.Object> o) {
+checkUnnamed3229(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted9 = (o["x"]) as core.Map;
unittest.expect(casted9, unittest.hasLength(3));
@@ -1582,17 +1582,17 @@
unittest.expect(casted10["string"], unittest.equals('foo'));
}
-buildUnnamed3226() {
+buildUnnamed3230() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed3225());
- o.add(buildUnnamed3225());
+ o.add(buildUnnamed3229());
+ o.add(buildUnnamed3229());
return o;
}
-checkUnnamed3226(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed3230(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed3225(o[0]);
- checkUnnamed3225(o[1]);
+ checkUnnamed3229(o[0]);
+ checkUnnamed3229(o[1]);
}
core.int buildCounterStatus = 0;
@@ -1601,7 +1601,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed3226();
+ o.details = buildUnnamed3230();
o.message = "foo";
}
buildCounterStatus--;
@@ -1612,7 +1612,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed3226(o.details);
+ checkUnnamed3230(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
@@ -1687,27 +1687,27 @@
buildCounterUpdateFeedRequest--;
}
-buildUnnamed3227() {
+buildUnnamed3231() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3227(core.List<core.String> o) {
+checkUnnamed3231(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3228() {
+buildUnnamed3232() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3228(core.List<core.String> o) {
+checkUnnamed3232(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2418,10 +2418,10 @@
var mock = new HttpServerMock();
api.V1ResourceApi res = new api.CloudassetApi(mock).v1;
var arg_parent = "foo";
- var arg_contentType = "foo";
- var arg_assetNames = buildUnnamed3227();
- var arg_readTimeWindow_endTime = "foo";
var arg_readTimeWindow_startTime = "foo";
+ var arg_contentType = "foo";
+ var arg_readTimeWindow_endTime = "foo";
+ var arg_assetNames = buildUnnamed3231();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2454,14 +2454,14 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(
- queryMap["contentType"].first, unittest.equals(arg_contentType));
- unittest.expect(
- queryMap["assetNames"], unittest.equals(arg_assetNames));
- unittest.expect(queryMap["readTimeWindow.endTime"].first,
- unittest.equals(arg_readTimeWindow_endTime));
unittest.expect(queryMap["readTimeWindow.startTime"].first,
unittest.equals(arg_readTimeWindow_startTime));
+ 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["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2472,10 +2472,10 @@
}), true);
res
.batchGetAssetsHistory(arg_parent,
- contentType: arg_contentType,
- assetNames: arg_assetNames,
- readTimeWindow_endTime: arg_readTimeWindow_endTime,
readTimeWindow_startTime: arg_readTimeWindow_startTime,
+ contentType: arg_contentType,
+ readTimeWindow_endTime: arg_readTimeWindow_endTime,
+ assetNames: arg_assetNames,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkBatchGetAssetsHistoryResponse(response);
@@ -2541,9 +2541,9 @@
var mock = new HttpServerMock();
api.V1ResourceApi res = new api.CloudassetApi(mock).v1;
var arg_scope = "foo";
- var arg_query = "foo";
var arg_pageSize = 42;
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;
@@ -2576,11 +2576,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["query"].first, unittest.equals(arg_query));
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["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2591,9 +2591,9 @@
}), true);
res
.searchAllIamPolicies(arg_scope,
- query: arg_query,
pageSize: arg_pageSize,
pageToken: arg_pageToken,
+ query: arg_query,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkSearchAllIamPoliciesResponse(response);
@@ -2604,10 +2604,10 @@
var mock = new HttpServerMock();
api.V1ResourceApi res = new api.CloudassetApi(mock).v1;
var arg_scope = "foo";
+ var arg_assetTypes = buildUnnamed3232();
+ var arg_orderBy = "foo";
var arg_pageToken = "foo";
var arg_query = "foo";
- var arg_orderBy = "foo";
- var arg_assetTypes = buildUnnamed3228();
var arg_pageSize = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -2642,12 +2642,12 @@
}
}
unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(queryMap["query"].first, unittest.equals(arg_query));
+ queryMap["assetTypes"], unittest.equals(arg_assetTypes));
unittest.expect(
queryMap["orderBy"].first, unittest.equals(arg_orderBy));
unittest.expect(
- queryMap["assetTypes"], unittest.equals(arg_assetTypes));
+ 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));
@@ -2660,10 +2660,10 @@
}), true);
res
.searchAllResources(arg_scope,
+ assetTypes: arg_assetTypes,
+ orderBy: arg_orderBy,
pageToken: arg_pageToken,
query: arg_query,
- orderBy: arg_orderBy,
- assetTypes: arg_assetTypes,
pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
diff --git a/generated/googleapis/test/cloudbilling/v1_test.dart b/generated/googleapis/test/cloudbilling/v1_test.dart
index 8cc310b..43f4a70 100644
--- a/generated/googleapis/test/cloudbilling/v1_test.dart
+++ b/generated/googleapis/test/cloudbilling/v1_test.dart
@@ -73,14 +73,14 @@
buildCounterAggregationInfo--;
}
-buildUnnamed859() {
+buildUnnamed860() {
var o = new core.List<api.AuditLogConfig>();
o.add(buildAuditLogConfig());
o.add(buildAuditLogConfig());
return o;
}
-checkUnnamed859(core.List<api.AuditLogConfig> o) {
+checkUnnamed860(core.List<api.AuditLogConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuditLogConfig(o[0]);
checkAuditLogConfig(o[1]);
@@ -91,7 +91,7 @@
var o = new api.AuditConfig();
buildCounterAuditConfig++;
if (buildCounterAuditConfig < 3) {
- o.auditLogConfigs = buildUnnamed859();
+ o.auditLogConfigs = buildUnnamed860();
o.service = "foo";
}
buildCounterAuditConfig--;
@@ -101,20 +101,20 @@
checkAuditConfig(api.AuditConfig o) {
buildCounterAuditConfig++;
if (buildCounterAuditConfig < 3) {
- checkUnnamed859(o.auditLogConfigs);
+ checkUnnamed860(o.auditLogConfigs);
unittest.expect(o.service, unittest.equals('foo'));
}
buildCounterAuditConfig--;
}
-buildUnnamed860() {
+buildUnnamed861() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed860(core.List<core.String> o) {
+checkUnnamed861(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -125,7 +125,7 @@
var o = new api.AuditLogConfig();
buildCounterAuditLogConfig++;
if (buildCounterAuditLogConfig < 3) {
- o.exemptedMembers = buildUnnamed860();
+ o.exemptedMembers = buildUnnamed861();
o.logType = "foo";
}
buildCounterAuditLogConfig--;
@@ -135,7 +135,7 @@
checkAuditLogConfig(api.AuditLogConfig o) {
buildCounterAuditLogConfig++;
if (buildCounterAuditLogConfig < 3) {
- checkUnnamed860(o.exemptedMembers);
+ checkUnnamed861(o.exemptedMembers);
unittest.expect(o.logType, unittest.equals('foo'));
}
buildCounterAuditLogConfig--;
@@ -166,14 +166,14 @@
buildCounterBillingAccount--;
}
-buildUnnamed861() {
+buildUnnamed862() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed861(core.List<core.String> o) {
+checkUnnamed862(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -185,7 +185,7 @@
buildCounterBinding++;
if (buildCounterBinding < 3) {
o.condition = buildExpr();
- o.members = buildUnnamed861();
+ o.members = buildUnnamed862();
o.role = "foo";
}
buildCounterBinding--;
@@ -196,7 +196,7 @@
buildCounterBinding++;
if (buildCounterBinding < 3) {
checkExpr(o.condition);
- checkUnnamed861(o.members);
+ checkUnnamed862(o.members);
unittest.expect(o.role, unittest.equals('foo'));
}
buildCounterBinding--;
@@ -252,14 +252,14 @@
buildCounterExpr--;
}
-buildUnnamed862() {
+buildUnnamed863() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed862(core.List<core.String> o) {
+checkUnnamed863(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -270,7 +270,7 @@
var o = new api.GeoTaxonomy();
buildCounterGeoTaxonomy++;
if (buildCounterGeoTaxonomy < 3) {
- o.regions = buildUnnamed862();
+ o.regions = buildUnnamed863();
o.type = "foo";
}
buildCounterGeoTaxonomy--;
@@ -280,20 +280,20 @@
checkGeoTaxonomy(api.GeoTaxonomy o) {
buildCounterGeoTaxonomy++;
if (buildCounterGeoTaxonomy < 3) {
- checkUnnamed862(o.regions);
+ checkUnnamed863(o.regions);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterGeoTaxonomy--;
}
-buildUnnamed863() {
+buildUnnamed864() {
var o = new core.List<api.BillingAccount>();
o.add(buildBillingAccount());
o.add(buildBillingAccount());
return o;
}
-checkUnnamed863(core.List<api.BillingAccount> o) {
+checkUnnamed864(core.List<api.BillingAccount> o) {
unittest.expect(o, unittest.hasLength(2));
checkBillingAccount(o[0]);
checkBillingAccount(o[1]);
@@ -304,7 +304,7 @@
var o = new api.ListBillingAccountsResponse();
buildCounterListBillingAccountsResponse++;
if (buildCounterListBillingAccountsResponse < 3) {
- o.billingAccounts = buildUnnamed863();
+ o.billingAccounts = buildUnnamed864();
o.nextPageToken = "foo";
}
buildCounterListBillingAccountsResponse--;
@@ -314,20 +314,20 @@
checkListBillingAccountsResponse(api.ListBillingAccountsResponse o) {
buildCounterListBillingAccountsResponse++;
if (buildCounterListBillingAccountsResponse < 3) {
- checkUnnamed863(o.billingAccounts);
+ checkUnnamed864(o.billingAccounts);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListBillingAccountsResponse--;
}
-buildUnnamed864() {
+buildUnnamed865() {
var o = new core.List<api.ProjectBillingInfo>();
o.add(buildProjectBillingInfo());
o.add(buildProjectBillingInfo());
return o;
}
-checkUnnamed864(core.List<api.ProjectBillingInfo> o) {
+checkUnnamed865(core.List<api.ProjectBillingInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkProjectBillingInfo(o[0]);
checkProjectBillingInfo(o[1]);
@@ -339,7 +339,7 @@
buildCounterListProjectBillingInfoResponse++;
if (buildCounterListProjectBillingInfoResponse < 3) {
o.nextPageToken = "foo";
- o.projectBillingInfo = buildUnnamed864();
+ o.projectBillingInfo = buildUnnamed865();
}
buildCounterListProjectBillingInfoResponse--;
return o;
@@ -349,19 +349,19 @@
buildCounterListProjectBillingInfoResponse++;
if (buildCounterListProjectBillingInfoResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed864(o.projectBillingInfo);
+ checkUnnamed865(o.projectBillingInfo);
}
buildCounterListProjectBillingInfoResponse--;
}
-buildUnnamed865() {
+buildUnnamed866() {
var o = new core.List<api.Service>();
o.add(buildService());
o.add(buildService());
return o;
}
-checkUnnamed865(core.List<api.Service> o) {
+checkUnnamed866(core.List<api.Service> o) {
unittest.expect(o, unittest.hasLength(2));
checkService(o[0]);
checkService(o[1]);
@@ -373,7 +373,7 @@
buildCounterListServicesResponse++;
if (buildCounterListServicesResponse < 3) {
o.nextPageToken = "foo";
- o.services = buildUnnamed865();
+ o.services = buildUnnamed866();
}
buildCounterListServicesResponse--;
return o;
@@ -383,19 +383,19 @@
buildCounterListServicesResponse++;
if (buildCounterListServicesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed865(o.services);
+ checkUnnamed866(o.services);
}
buildCounterListServicesResponse--;
}
-buildUnnamed866() {
+buildUnnamed867() {
var o = new core.List<api.Sku>();
o.add(buildSku());
o.add(buildSku());
return o;
}
-checkUnnamed866(core.List<api.Sku> o) {
+checkUnnamed867(core.List<api.Sku> o) {
unittest.expect(o, unittest.hasLength(2));
checkSku(o[0]);
checkSku(o[1]);
@@ -407,7 +407,7 @@
buildCounterListSkusResponse++;
if (buildCounterListSkusResponse < 3) {
o.nextPageToken = "foo";
- o.skus = buildUnnamed866();
+ o.skus = buildUnnamed867();
}
buildCounterListSkusResponse--;
return o;
@@ -417,7 +417,7 @@
buildCounterListSkusResponse++;
if (buildCounterListSkusResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed866(o.skus);
+ checkUnnamed867(o.skus);
}
buildCounterListSkusResponse--;
}
@@ -445,27 +445,27 @@
buildCounterMoney--;
}
-buildUnnamed867() {
+buildUnnamed868() {
var o = new core.List<api.AuditConfig>();
o.add(buildAuditConfig());
o.add(buildAuditConfig());
return o;
}
-checkUnnamed867(core.List<api.AuditConfig> o) {
+checkUnnamed868(core.List<api.AuditConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuditConfig(o[0]);
checkAuditConfig(o[1]);
}
-buildUnnamed868() {
+buildUnnamed869() {
var o = new core.List<api.Binding>();
o.add(buildBinding());
o.add(buildBinding());
return o;
}
-checkUnnamed868(core.List<api.Binding> o) {
+checkUnnamed869(core.List<api.Binding> o) {
unittest.expect(o, unittest.hasLength(2));
checkBinding(o[0]);
checkBinding(o[1]);
@@ -476,8 +476,8 @@
var o = new api.Policy();
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- o.auditConfigs = buildUnnamed867();
- o.bindings = buildUnnamed868();
+ o.auditConfigs = buildUnnamed868();
+ o.bindings = buildUnnamed869();
o.etag = "foo";
o.version = 42;
}
@@ -488,22 +488,22 @@
checkPolicy(api.Policy o) {
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- checkUnnamed867(o.auditConfigs);
- checkUnnamed868(o.bindings);
+ checkUnnamed868(o.auditConfigs);
+ checkUnnamed869(o.bindings);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals(42));
}
buildCounterPolicy--;
}
-buildUnnamed869() {
+buildUnnamed870() {
var o = new core.List<api.TierRate>();
o.add(buildTierRate());
o.add(buildTierRate());
return o;
}
-checkUnnamed869(core.List<api.TierRate> o) {
+checkUnnamed870(core.List<api.TierRate> o) {
unittest.expect(o, unittest.hasLength(2));
checkTierRate(o[0]);
checkTierRate(o[1]);
@@ -518,7 +518,7 @@
o.baseUnitConversionFactor = 42.0;
o.baseUnitDescription = "foo";
o.displayQuantity = 42.0;
- o.tieredRates = buildUnnamed869();
+ o.tieredRates = buildUnnamed870();
o.usageUnit = "foo";
o.usageUnitDescription = "foo";
}
@@ -533,7 +533,7 @@
unittest.expect(o.baseUnitConversionFactor, unittest.equals(42.0));
unittest.expect(o.baseUnitDescription, unittest.equals('foo'));
unittest.expect(o.displayQuantity, unittest.equals(42.0));
- checkUnnamed869(o.tieredRates);
+ checkUnnamed870(o.tieredRates);
unittest.expect(o.usageUnit, unittest.equals('foo'));
unittest.expect(o.usageUnitDescription, unittest.equals('foo'));
}
@@ -638,65 +638,19 @@
buildCounterSetIamPolicyRequest--;
}
-buildUnnamed870() {
+buildUnnamed871() {
var o = new core.List<api.PricingInfo>();
o.add(buildPricingInfo());
o.add(buildPricingInfo());
return o;
}
-checkUnnamed870(core.List<api.PricingInfo> o) {
+checkUnnamed871(core.List<api.PricingInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkPricingInfo(o[0]);
checkPricingInfo(o[1]);
}
-buildUnnamed871() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed871(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-core.int buildCounterSku = 0;
-buildSku() {
- var o = new api.Sku();
- buildCounterSku++;
- if (buildCounterSku < 3) {
- o.category = buildCategory();
- o.description = "foo";
- o.geoTaxonomy = buildGeoTaxonomy();
- o.name = "foo";
- o.pricingInfo = buildUnnamed870();
- o.serviceProviderName = "foo";
- o.serviceRegions = buildUnnamed871();
- o.skuId = "foo";
- }
- buildCounterSku--;
- return o;
-}
-
-checkSku(api.Sku o) {
- buildCounterSku++;
- if (buildCounterSku < 3) {
- checkCategory(o.category);
- unittest.expect(o.description, unittest.equals('foo'));
- checkGeoTaxonomy(o.geoTaxonomy);
- unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed870(o.pricingInfo);
- unittest.expect(o.serviceProviderName, unittest.equals('foo'));
- checkUnnamed871(o.serviceRegions);
- unittest.expect(o.skuId, unittest.equals('foo'));
- }
- buildCounterSku--;
-}
-
buildUnnamed872() {
var o = new core.List<core.String>();
o.add("foo");
@@ -710,23 +664,37 @@
unittest.expect(o[1], unittest.equals('foo'));
}
-core.int buildCounterTestIamPermissionsRequest = 0;
-buildTestIamPermissionsRequest() {
- var o = new api.TestIamPermissionsRequest();
- buildCounterTestIamPermissionsRequest++;
- if (buildCounterTestIamPermissionsRequest < 3) {
- o.permissions = buildUnnamed872();
+core.int buildCounterSku = 0;
+buildSku() {
+ var o = new api.Sku();
+ buildCounterSku++;
+ if (buildCounterSku < 3) {
+ o.category = buildCategory();
+ o.description = "foo";
+ o.geoTaxonomy = buildGeoTaxonomy();
+ o.name = "foo";
+ o.pricingInfo = buildUnnamed871();
+ o.serviceProviderName = "foo";
+ o.serviceRegions = buildUnnamed872();
+ o.skuId = "foo";
}
- buildCounterTestIamPermissionsRequest--;
+ buildCounterSku--;
return o;
}
-checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) {
- buildCounterTestIamPermissionsRequest++;
- if (buildCounterTestIamPermissionsRequest < 3) {
- checkUnnamed872(o.permissions);
+checkSku(api.Sku o) {
+ buildCounterSku++;
+ if (buildCounterSku < 3) {
+ checkCategory(o.category);
+ unittest.expect(o.description, unittest.equals('foo'));
+ checkGeoTaxonomy(o.geoTaxonomy);
+ unittest.expect(o.name, unittest.equals('foo'));
+ checkUnnamed871(o.pricingInfo);
+ unittest.expect(o.serviceProviderName, unittest.equals('foo'));
+ checkUnnamed872(o.serviceRegions);
+ unittest.expect(o.skuId, unittest.equals('foo'));
}
- buildCounterTestIamPermissionsRequest--;
+ buildCounterSku--;
}
buildUnnamed873() {
@@ -742,12 +710,44 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+core.int buildCounterTestIamPermissionsRequest = 0;
+buildTestIamPermissionsRequest() {
+ var o = new api.TestIamPermissionsRequest();
+ buildCounterTestIamPermissionsRequest++;
+ if (buildCounterTestIamPermissionsRequest < 3) {
+ o.permissions = buildUnnamed873();
+ }
+ buildCounterTestIamPermissionsRequest--;
+ return o;
+}
+
+checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) {
+ buildCounterTestIamPermissionsRequest++;
+ if (buildCounterTestIamPermissionsRequest < 3) {
+ checkUnnamed873(o.permissions);
+ }
+ buildCounterTestIamPermissionsRequest--;
+}
+
+buildUnnamed874() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed874(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
core.int buildCounterTestIamPermissionsResponse = 0;
buildTestIamPermissionsResponse() {
var o = new api.TestIamPermissionsResponse();
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- o.permissions = buildUnnamed873();
+ o.permissions = buildUnnamed874();
}
buildCounterTestIamPermissionsResponse--;
return o;
@@ -756,7 +756,7 @@
checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) {
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- checkUnnamed873(o.permissions);
+ checkUnnamed874(o.permissions);
}
buildCounterTestIamPermissionsResponse--;
}
@@ -1137,9 +1137,9 @@
var mock = new HttpServerMock();
api.BillingAccountsResourceApi res =
new api.CloudbillingApi(mock).billingAccounts;
- var arg_filter = "foo";
var arg_pageToken = "foo";
var arg_pageSize = 42;
+ var arg_filter = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1171,11 +1171,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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["filter"].first, unittest.equals(arg_filter));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1186,9 +1186,9 @@
}), true);
res
.list(
- filter: arg_filter,
pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ filter: arg_filter,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListBillingAccountsResponse(response);
@@ -1605,11 +1605,11 @@
api.ServicesSkusResourceApi res =
new api.CloudbillingApi(mock).services.skus;
var arg_parent = "foo";
- var arg_endTime = "foo";
var arg_currencyCode = "foo";
var arg_pageToken = "foo";
- var arg_startTime = "foo";
var arg_pageSize = 42;
+ var arg_startTime = "foo";
+ var arg_endTime = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1643,15 +1643,15 @@
}
}
unittest.expect(
- queryMap["endTime"].first, unittest.equals(arg_endTime));
- unittest.expect(
queryMap["currencyCode"].first, unittest.equals(arg_currencyCode));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(
- queryMap["startTime"].first, unittest.equals(arg_startTime));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["startTime"].first, unittest.equals(arg_startTime));
+ unittest.expect(
+ queryMap["endTime"].first, unittest.equals(arg_endTime));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1662,11 +1662,11 @@
}), true);
res
.list(arg_parent,
- endTime: arg_endTime,
currencyCode: arg_currencyCode,
pageToken: arg_pageToken,
- startTime: arg_startTime,
pageSize: arg_pageSize,
+ startTime: arg_startTime,
+ endTime: arg_endTime,
$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 798e991..6ed5475 100644
--- a/generated/googleapis/test/cloudbuild/v1_test.dart
+++ b/generated/googleapis/test/cloudbuild/v1_test.dart
@@ -50,14 +50,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed2517() {
+buildUnnamed2521() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2517(core.List<core.String> o) {
+checkUnnamed2521(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -69,7 +69,7 @@
buildCounterArtifactObjects++;
if (buildCounterArtifactObjects < 3) {
o.location = "foo";
- o.paths = buildUnnamed2517();
+ o.paths = buildUnnamed2521();
o.timing = buildTimeSpan();
}
buildCounterArtifactObjects--;
@@ -80,20 +80,20 @@
buildCounterArtifactObjects++;
if (buildCounterArtifactObjects < 3) {
unittest.expect(o.location, unittest.equals('foo'));
- checkUnnamed2517(o.paths);
+ checkUnnamed2521(o.paths);
checkTimeSpan(o.timing);
}
buildCounterArtifactObjects--;
}
-buildUnnamed2518() {
+buildUnnamed2522() {
var o = new core.List<api.FileHashes>();
o.add(buildFileHashes());
o.add(buildFileHashes());
return o;
}
-checkUnnamed2518(core.List<api.FileHashes> o) {
+checkUnnamed2522(core.List<api.FileHashes> o) {
unittest.expect(o, unittest.hasLength(2));
checkFileHashes(o[0]);
checkFileHashes(o[1]);
@@ -104,7 +104,7 @@
var o = new api.ArtifactResult();
buildCounterArtifactResult++;
if (buildCounterArtifactResult < 3) {
- o.fileHash = buildUnnamed2518();
+ o.fileHash = buildUnnamed2522();
o.location = "foo";
}
buildCounterArtifactResult--;
@@ -114,20 +114,20 @@
checkArtifactResult(api.ArtifactResult o) {
buildCounterArtifactResult++;
if (buildCounterArtifactResult < 3) {
- checkUnnamed2518(o.fileHash);
+ checkUnnamed2522(o.fileHash);
unittest.expect(o.location, unittest.equals('foo'));
}
buildCounterArtifactResult--;
}
-buildUnnamed2519() {
+buildUnnamed2523() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2519(core.List<core.String> o) {
+checkUnnamed2523(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -138,7 +138,7 @@
var o = new api.Artifacts();
buildCounterArtifacts++;
if (buildCounterArtifacts < 3) {
- o.images = buildUnnamed2519();
+ o.images = buildUnnamed2523();
o.objects = buildArtifactObjects();
}
buildCounterArtifacts--;
@@ -148,64 +148,12 @@
checkArtifacts(api.Artifacts o) {
buildCounterArtifacts++;
if (buildCounterArtifacts < 3) {
- checkUnnamed2519(o.images);
+ checkUnnamed2523(o.images);
checkArtifactObjects(o.objects);
}
buildCounterArtifacts--;
}
-buildUnnamed2520() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2520(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed2521() {
- var o = new core.List<api.Secret>();
- o.add(buildSecret());
- o.add(buildSecret());
- return o;
-}
-
-checkUnnamed2521(core.List<api.Secret> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkSecret(o[0]);
- checkSecret(o[1]);
-}
-
-buildUnnamed2522() {
- var o = new core.List<api.BuildStep>();
- o.add(buildBuildStep());
- o.add(buildBuildStep());
- return o;
-}
-
-checkUnnamed2522(core.List<api.BuildStep> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkBuildStep(o[0]);
- checkBuildStep(o[1]);
-}
-
-buildUnnamed2523() {
- var o = new core.Map<core.String, core.String>();
- o["x"] = "foo";
- o["y"] = "foo";
- return o;
-}
-
-checkUnnamed2523(core.Map<core.String, core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o["x"], unittest.equals('foo'));
- unittest.expect(o["y"], unittest.equals('foo'));
-}
-
buildUnnamed2524() {
var o = new core.List<core.String>();
o.add("foo");
@@ -220,13 +168,65 @@
}
buildUnnamed2525() {
+ var o = new core.List<api.Secret>();
+ o.add(buildSecret());
+ o.add(buildSecret());
+ return o;
+}
+
+checkUnnamed2525(core.List<api.Secret> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkSecret(o[0]);
+ checkSecret(o[1]);
+}
+
+buildUnnamed2526() {
+ var o = new core.List<api.BuildStep>();
+ o.add(buildBuildStep());
+ o.add(buildBuildStep());
+ return o;
+}
+
+checkUnnamed2526(core.List<api.BuildStep> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkBuildStep(o[0]);
+ checkBuildStep(o[1]);
+}
+
+buildUnnamed2527() {
+ var o = new core.Map<core.String, core.String>();
+ o["x"] = "foo";
+ o["y"] = "foo";
+ return o;
+}
+
+checkUnnamed2527(core.Map<core.String, core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o["x"], unittest.equals('foo'));
+ unittest.expect(o["y"], unittest.equals('foo'));
+}
+
+buildUnnamed2528() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2528(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed2529() {
var o = new core.Map<core.String, api.TimeSpan>();
o["x"] = buildTimeSpan();
o["y"] = buildTimeSpan();
return o;
}
-checkUnnamed2525(core.Map<core.String, api.TimeSpan> o) {
+checkUnnamed2529(core.Map<core.String, api.TimeSpan> o) {
unittest.expect(o, unittest.hasLength(2));
checkTimeSpan(o["x"]);
checkTimeSpan(o["y"]);
@@ -242,7 +242,7 @@
o.createTime = "foo";
o.finishTime = "foo";
o.id = "foo";
- o.images = buildUnnamed2520();
+ o.images = buildUnnamed2524();
o.logUrl = "foo";
o.logsBucket = "foo";
o.name = "foo";
@@ -250,18 +250,18 @@
o.projectId = "foo";
o.queueTtl = "foo";
o.results = buildResults();
- o.secrets = buildUnnamed2521();
+ o.secrets = buildUnnamed2525();
o.serviceAccount = "foo";
o.source = buildSource();
o.sourceProvenance = buildSourceProvenance();
o.startTime = "foo";
o.status = "foo";
o.statusDetail = "foo";
- o.steps = buildUnnamed2522();
- o.substitutions = buildUnnamed2523();
- o.tags = buildUnnamed2524();
+ o.steps = buildUnnamed2526();
+ o.substitutions = buildUnnamed2527();
+ o.tags = buildUnnamed2528();
o.timeout = "foo";
- o.timing = buildUnnamed2525();
+ o.timing = buildUnnamed2529();
}
buildCounterBuild--;
return o;
@@ -275,7 +275,7 @@
unittest.expect(o.createTime, unittest.equals('foo'));
unittest.expect(o.finishTime, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2520(o.images);
+ checkUnnamed2524(o.images);
unittest.expect(o.logUrl, unittest.equals('foo'));
unittest.expect(o.logsBucket, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
@@ -283,18 +283,18 @@
unittest.expect(o.projectId, unittest.equals('foo'));
unittest.expect(o.queueTtl, unittest.equals('foo'));
checkResults(o.results);
- checkUnnamed2521(o.secrets);
+ checkUnnamed2525(o.secrets);
unittest.expect(o.serviceAccount, unittest.equals('foo'));
checkSource(o.source);
checkSourceProvenance(o.sourceProvenance);
unittest.expect(o.startTime, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals('foo'));
unittest.expect(o.statusDetail, unittest.equals('foo'));
- checkUnnamed2522(o.steps);
- checkUnnamed2523(o.substitutions);
- checkUnnamed2524(o.tags);
+ checkUnnamed2526(o.steps);
+ checkUnnamed2527(o.substitutions);
+ checkUnnamed2528(o.tags);
unittest.expect(o.timeout, unittest.equals('foo'));
- checkUnnamed2525(o.timing);
+ checkUnnamed2529(o.timing);
}
buildCounterBuild--;
}
@@ -318,99 +318,6 @@
buildCounterBuildOperationMetadata--;
}
-buildUnnamed2526() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2526(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed2527() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2527(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed2528() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2528(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed2529() {
- var o = new core.List<api.Volume>();
- o.add(buildVolume());
- o.add(buildVolume());
- return o;
-}
-
-checkUnnamed2529(core.List<api.Volume> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkVolume(o[0]);
- checkVolume(o[1]);
-}
-
-core.int buildCounterBuildOptions = 0;
-buildBuildOptions() {
- var o = new api.BuildOptions();
- buildCounterBuildOptions++;
- if (buildCounterBuildOptions < 3) {
- o.diskSizeGb = "foo";
- o.dynamicSubstitutions = true;
- o.env = buildUnnamed2526();
- o.logStreamingOption = "foo";
- o.logging = "foo";
- o.machineType = "foo";
- o.requestedVerifyOption = "foo";
- o.secretEnv = buildUnnamed2527();
- o.sourceProvenanceHash = buildUnnamed2528();
- o.substitutionOption = "foo";
- o.volumes = buildUnnamed2529();
- o.workerPool = "foo";
- }
- buildCounterBuildOptions--;
- return o;
-}
-
-checkBuildOptions(api.BuildOptions o) {
- buildCounterBuildOptions++;
- if (buildCounterBuildOptions < 3) {
- unittest.expect(o.diskSizeGb, unittest.equals('foo'));
- unittest.expect(o.dynamicSubstitutions, unittest.isTrue);
- checkUnnamed2526(o.env);
- unittest.expect(o.logStreamingOption, unittest.equals('foo'));
- unittest.expect(o.logging, unittest.equals('foo'));
- unittest.expect(o.machineType, unittest.equals('foo'));
- unittest.expect(o.requestedVerifyOption, unittest.equals('foo'));
- checkUnnamed2527(o.secretEnv);
- checkUnnamed2528(o.sourceProvenanceHash);
- unittest.expect(o.substitutionOption, unittest.equals('foo'));
- checkUnnamed2529(o.volumes);
- unittest.expect(o.workerPool, unittest.equals('foo'));
- }
- buildCounterBuildOptions--;
-}
-
buildUnnamed2530() {
var o = new core.List<core.String>();
o.add("foo");
@@ -463,6 +370,47 @@
checkVolume(o[1]);
}
+core.int buildCounterBuildOptions = 0;
+buildBuildOptions() {
+ var o = new api.BuildOptions();
+ buildCounterBuildOptions++;
+ if (buildCounterBuildOptions < 3) {
+ o.diskSizeGb = "foo";
+ o.dynamicSubstitutions = true;
+ o.env = buildUnnamed2530();
+ o.logStreamingOption = "foo";
+ o.logging = "foo";
+ o.machineType = "foo";
+ o.requestedVerifyOption = "foo";
+ o.secretEnv = buildUnnamed2531();
+ o.sourceProvenanceHash = buildUnnamed2532();
+ o.substitutionOption = "foo";
+ o.volumes = buildUnnamed2533();
+ o.workerPool = "foo";
+ }
+ buildCounterBuildOptions--;
+ return o;
+}
+
+checkBuildOptions(api.BuildOptions o) {
+ buildCounterBuildOptions++;
+ if (buildCounterBuildOptions < 3) {
+ unittest.expect(o.diskSizeGb, unittest.equals('foo'));
+ unittest.expect(o.dynamicSubstitutions, unittest.isTrue);
+ checkUnnamed2530(o.env);
+ unittest.expect(o.logStreamingOption, unittest.equals('foo'));
+ unittest.expect(o.logging, unittest.equals('foo'));
+ unittest.expect(o.machineType, unittest.equals('foo'));
+ unittest.expect(o.requestedVerifyOption, unittest.equals('foo'));
+ checkUnnamed2531(o.secretEnv);
+ checkUnnamed2532(o.sourceProvenanceHash);
+ unittest.expect(o.substitutionOption, unittest.equals('foo'));
+ checkUnnamed2533(o.volumes);
+ unittest.expect(o.workerPool, unittest.equals('foo'));
+ }
+ buildCounterBuildOptions--;
+}
+
buildUnnamed2534() {
var o = new core.List<core.String>();
o.add("foo");
@@ -476,49 +424,6 @@
unittest.expect(o[1], unittest.equals('foo'));
}
-core.int buildCounterBuildStep = 0;
-buildBuildStep() {
- var o = new api.BuildStep();
- buildCounterBuildStep++;
- if (buildCounterBuildStep < 3) {
- o.args = buildUnnamed2530();
- o.dir = "foo";
- o.entrypoint = "foo";
- o.env = buildUnnamed2531();
- o.id = "foo";
- o.name = "foo";
- o.pullTiming = buildTimeSpan();
- o.secretEnv = buildUnnamed2532();
- o.status = "foo";
- o.timeout = "foo";
- o.timing = buildTimeSpan();
- o.volumes = buildUnnamed2533();
- o.waitFor = buildUnnamed2534();
- }
- buildCounterBuildStep--;
- return o;
-}
-
-checkBuildStep(api.BuildStep o) {
- buildCounterBuildStep++;
- if (buildCounterBuildStep < 3) {
- checkUnnamed2530(o.args);
- unittest.expect(o.dir, unittest.equals('foo'));
- unittest.expect(o.entrypoint, unittest.equals('foo'));
- checkUnnamed2531(o.env);
- unittest.expect(o.id, unittest.equals('foo'));
- unittest.expect(o.name, unittest.equals('foo'));
- checkTimeSpan(o.pullTiming);
- checkUnnamed2532(o.secretEnv);
- unittest.expect(o.status, unittest.equals('foo'));
- unittest.expect(o.timeout, unittest.equals('foo'));
- checkTimeSpan(o.timing);
- checkUnnamed2533(o.volumes);
- checkUnnamed2534(o.waitFor);
- }
- buildCounterBuildStep--;
-}
-
buildUnnamed2535() {
var o = new core.List<core.String>();
o.add("foo");
@@ -546,16 +451,16 @@
}
buildUnnamed2537() {
- var o = new core.Map<core.String, core.String>();
- o["x"] = "foo";
- o["y"] = "foo";
+ var o = new core.List<api.Volume>();
+ o.add(buildVolume());
+ o.add(buildVolume());
return o;
}
-checkUnnamed2537(core.Map<core.String, core.String> o) {
+checkUnnamed2537(core.List<api.Volume> o) {
unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o["x"], unittest.equals('foo'));
- unittest.expect(o["y"], unittest.equals('foo'));
+ checkVolume(o[0]);
+ checkVolume(o[1]);
}
buildUnnamed2538() {
@@ -571,6 +476,101 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+core.int buildCounterBuildStep = 0;
+buildBuildStep() {
+ var o = new api.BuildStep();
+ buildCounterBuildStep++;
+ if (buildCounterBuildStep < 3) {
+ o.args = buildUnnamed2534();
+ o.dir = "foo";
+ o.entrypoint = "foo";
+ o.env = buildUnnamed2535();
+ o.id = "foo";
+ o.name = "foo";
+ o.pullTiming = buildTimeSpan();
+ o.secretEnv = buildUnnamed2536();
+ o.status = "foo";
+ o.timeout = "foo";
+ o.timing = buildTimeSpan();
+ o.volumes = buildUnnamed2537();
+ o.waitFor = buildUnnamed2538();
+ }
+ buildCounterBuildStep--;
+ return o;
+}
+
+checkBuildStep(api.BuildStep o) {
+ buildCounterBuildStep++;
+ if (buildCounterBuildStep < 3) {
+ checkUnnamed2534(o.args);
+ unittest.expect(o.dir, unittest.equals('foo'));
+ unittest.expect(o.entrypoint, unittest.equals('foo'));
+ checkUnnamed2535(o.env);
+ unittest.expect(o.id, unittest.equals('foo'));
+ unittest.expect(o.name, unittest.equals('foo'));
+ checkTimeSpan(o.pullTiming);
+ checkUnnamed2536(o.secretEnv);
+ unittest.expect(o.status, unittest.equals('foo'));
+ unittest.expect(o.timeout, unittest.equals('foo'));
+ checkTimeSpan(o.timing);
+ checkUnnamed2537(o.volumes);
+ checkUnnamed2538(o.waitFor);
+ }
+ buildCounterBuildStep--;
+}
+
+buildUnnamed2539() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2539(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed2540() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2540(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed2541() {
+ var o = new core.Map<core.String, core.String>();
+ o["x"] = "foo";
+ o["y"] = "foo";
+ return o;
+}
+
+checkUnnamed2541(core.Map<core.String, core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o["x"], unittest.equals('foo'));
+ unittest.expect(o["y"], unittest.equals('foo'));
+}
+
+buildUnnamed2542() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2542(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
core.int buildCounterBuildTrigger = 0;
buildBuildTrigger() {
var o = new api.BuildTrigger();
@@ -583,11 +583,11 @@
o.filename = "foo";
o.github = buildGitHubEventsConfig();
o.id = "foo";
- o.ignoredFiles = buildUnnamed2535();
- o.includedFiles = buildUnnamed2536();
+ o.ignoredFiles = buildUnnamed2539();
+ o.includedFiles = buildUnnamed2540();
o.name = "foo";
- o.substitutions = buildUnnamed2537();
- o.tags = buildUnnamed2538();
+ o.substitutions = buildUnnamed2541();
+ o.tags = buildUnnamed2542();
o.triggerTemplate = buildRepoSource();
}
buildCounterBuildTrigger--;
@@ -604,11 +604,11 @@
unittest.expect(o.filename, unittest.equals('foo'));
checkGitHubEventsConfig(o.github);
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2535(o.ignoredFiles);
- checkUnnamed2536(o.includedFiles);
+ checkUnnamed2539(o.ignoredFiles);
+ checkUnnamed2540(o.includedFiles);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2537(o.substitutions);
- checkUnnamed2538(o.tags);
+ checkUnnamed2541(o.substitutions);
+ checkUnnamed2542(o.tags);
checkRepoSource(o.triggerTemplate);
}
buildCounterBuildTrigger--;
@@ -690,14 +690,14 @@
buildCounterEmpty--;
}
-buildUnnamed2539() {
+buildUnnamed2543() {
var o = new core.List<api.Hash>();
o.add(buildHash());
o.add(buildHash());
return o;
}
-checkUnnamed2539(core.List<api.Hash> o) {
+checkUnnamed2543(core.List<api.Hash> o) {
unittest.expect(o, unittest.hasLength(2));
checkHash(o[0]);
checkHash(o[1]);
@@ -708,7 +708,7 @@
var o = new api.FileHashes();
buildCounterFileHashes++;
if (buildCounterFileHashes < 3) {
- o.fileHash = buildUnnamed2539();
+ o.fileHash = buildUnnamed2543();
}
buildCounterFileHashes--;
return o;
@@ -717,7 +717,7 @@
checkFileHashes(api.FileHashes o) {
buildCounterFileHashes++;
if (buildCounterFileHashes < 3) {
- checkUnnamed2539(o.fileHash);
+ checkUnnamed2543(o.fileHash);
}
buildCounterFileHashes--;
}
@@ -789,14 +789,14 @@
buildCounterHash--;
}
-buildUnnamed2540() {
+buildUnnamed2544() {
var o = new core.List<api.BuildTrigger>();
o.add(buildBuildTrigger());
o.add(buildBuildTrigger());
return o;
}
-checkUnnamed2540(core.List<api.BuildTrigger> o) {
+checkUnnamed2544(core.List<api.BuildTrigger> o) {
unittest.expect(o, unittest.hasLength(2));
checkBuildTrigger(o[0]);
checkBuildTrigger(o[1]);
@@ -808,7 +808,7 @@
buildCounterListBuildTriggersResponse++;
if (buildCounterListBuildTriggersResponse < 3) {
o.nextPageToken = "foo";
- o.triggers = buildUnnamed2540();
+ o.triggers = buildUnnamed2544();
}
buildCounterListBuildTriggersResponse--;
return o;
@@ -818,19 +818,19 @@
buildCounterListBuildTriggersResponse++;
if (buildCounterListBuildTriggersResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2540(o.triggers);
+ checkUnnamed2544(o.triggers);
}
buildCounterListBuildTriggersResponse--;
}
-buildUnnamed2541() {
+buildUnnamed2545() {
var o = new core.List<api.Build>();
o.add(buildBuild());
o.add(buildBuild());
return o;
}
-checkUnnamed2541(core.List<api.Build> o) {
+checkUnnamed2545(core.List<api.Build> o) {
unittest.expect(o, unittest.hasLength(2));
checkBuild(o[0]);
checkBuild(o[1]);
@@ -841,7 +841,7 @@
var o = new api.ListBuildsResponse();
buildCounterListBuildsResponse++;
if (buildCounterListBuildsResponse < 3) {
- o.builds = buildUnnamed2541();
+ o.builds = buildUnnamed2545();
o.nextPageToken = "foo";
}
buildCounterListBuildsResponse--;
@@ -851,13 +851,13 @@
checkListBuildsResponse(api.ListBuildsResponse o) {
buildCounterListBuildsResponse++;
if (buildCounterListBuildsResponse < 3) {
- checkUnnamed2541(o.builds);
+ checkUnnamed2545(o.builds);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListBuildsResponse--;
}
-buildUnnamed2542() {
+buildUnnamed2546() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -872,7 +872,7 @@
return o;
}
-checkUnnamed2542(core.Map<core.String, core.Object> o) {
+checkUnnamed2546(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o["x"]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -895,7 +895,7 @@
o.httpDelivery = buildHTTPDelivery();
o.slackDelivery = buildSlackDelivery();
o.smtpDelivery = buildSMTPDelivery();
- o.structDelivery = buildUnnamed2542();
+ o.structDelivery = buildUnnamed2546();
}
buildCounterNotification--;
return o;
@@ -908,7 +908,7 @@
checkHTTPDelivery(o.httpDelivery);
checkSlackDelivery(o.slackDelivery);
checkSMTPDelivery(o.smtpDelivery);
- checkUnnamed2542(o.structDelivery);
+ checkUnnamed2546(o.structDelivery);
}
buildCounterNotification--;
}
@@ -999,14 +999,14 @@
buildCounterNotifierSecretRef--;
}
-buildUnnamed2543() {
+buildUnnamed2547() {
var o = new core.List<api.NotifierSecret>();
o.add(buildNotifierSecret());
o.add(buildNotifierSecret());
return o;
}
-checkUnnamed2543(core.List<api.NotifierSecret> o) {
+checkUnnamed2547(core.List<api.NotifierSecret> o) {
unittest.expect(o, unittest.hasLength(2));
checkNotifierSecret(o[0]);
checkNotifierSecret(o[1]);
@@ -1018,7 +1018,7 @@
buildCounterNotifierSpec++;
if (buildCounterNotifierSpec < 3) {
o.notification = buildNotification();
- o.secrets = buildUnnamed2543();
+ o.secrets = buildUnnamed2547();
}
buildCounterNotifierSpec--;
return o;
@@ -1028,12 +1028,12 @@
buildCounterNotifierSpec++;
if (buildCounterNotifierSpec < 3) {
checkNotification(o.notification);
- checkUnnamed2543(o.secrets);
+ checkUnnamed2547(o.secrets);
}
buildCounterNotifierSpec--;
}
-buildUnnamed2544() {
+buildUnnamed2548() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1048,7 +1048,7 @@
return o;
}
-checkUnnamed2544(core.Map<core.String, core.Object> o) {
+checkUnnamed2548(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted3 = (o["x"]) as core.Map;
unittest.expect(casted3, unittest.hasLength(3));
@@ -1062,7 +1062,7 @@
unittest.expect(casted4["string"], unittest.equals('foo'));
}
-buildUnnamed2545() {
+buildUnnamed2549() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1077,7 +1077,7 @@
return o;
}
-checkUnnamed2545(core.Map<core.String, core.Object> o) {
+checkUnnamed2549(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted5 = (o["x"]) as core.Map;
unittest.expect(casted5, unittest.hasLength(3));
@@ -1098,9 +1098,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed2544();
+ o.metadata = buildUnnamed2548();
o.name = "foo";
- o.response = buildUnnamed2545();
+ o.response = buildUnnamed2549();
}
buildCounterOperation--;
return o;
@@ -1111,9 +1111,9 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed2544(o.metadata);
+ checkUnnamed2548(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2545(o.response);
+ checkUnnamed2549(o.response);
}
buildCounterOperation--;
}
@@ -1164,14 +1164,14 @@
buildCounterPushFilter--;
}
-buildUnnamed2546() {
+buildUnnamed2550() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2546(core.Map<core.String, core.String> o) {
+checkUnnamed2550(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -1188,7 +1188,7 @@
o.invertRegex = true;
o.projectId = "foo";
o.repoName = "foo";
- o.substitutions = buildUnnamed2546();
+ o.substitutions = buildUnnamed2550();
o.tagName = "foo";
}
buildCounterRepoSource--;
@@ -1204,46 +1204,46 @@
unittest.expect(o.invertRegex, unittest.isTrue);
unittest.expect(o.projectId, unittest.equals('foo'));
unittest.expect(o.repoName, unittest.equals('foo'));
- checkUnnamed2546(o.substitutions);
+ checkUnnamed2550(o.substitutions);
unittest.expect(o.tagName, unittest.equals('foo'));
}
buildCounterRepoSource--;
}
-buildUnnamed2547() {
+buildUnnamed2551() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2547(core.List<core.String> o) {
+checkUnnamed2551(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2548() {
+buildUnnamed2552() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2548(core.List<core.String> o) {
+checkUnnamed2552(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2549() {
+buildUnnamed2553() {
var o = new core.List<api.BuiltImage>();
o.add(buildBuiltImage());
o.add(buildBuiltImage());
return o;
}
-checkUnnamed2549(core.List<api.BuiltImage> o) {
+checkUnnamed2553(core.List<api.BuiltImage> o) {
unittest.expect(o, unittest.hasLength(2));
checkBuiltImage(o[0]);
checkBuiltImage(o[1]);
@@ -1256,9 +1256,9 @@
if (buildCounterResults < 3) {
o.artifactManifest = "foo";
o.artifactTiming = buildTimeSpan();
- o.buildStepImages = buildUnnamed2547();
- o.buildStepOutputs = buildUnnamed2548();
- o.images = buildUnnamed2549();
+ o.buildStepImages = buildUnnamed2551();
+ o.buildStepOutputs = buildUnnamed2552();
+ o.images = buildUnnamed2553();
o.numArtifacts = "foo";
}
buildCounterResults--;
@@ -1270,9 +1270,9 @@
if (buildCounterResults < 3) {
unittest.expect(o.artifactManifest, unittest.equals('foo'));
checkTimeSpan(o.artifactTiming);
- checkUnnamed2547(o.buildStepImages);
- checkUnnamed2548(o.buildStepOutputs);
- checkUnnamed2549(o.images);
+ checkUnnamed2551(o.buildStepImages);
+ checkUnnamed2552(o.buildStepOutputs);
+ checkUnnamed2553(o.images);
unittest.expect(o.numArtifacts, unittest.equals('foo'));
}
buildCounterResults--;
@@ -1301,14 +1301,14 @@
buildCounterRetryBuildRequest--;
}
-buildUnnamed2550() {
+buildUnnamed2554() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2550(core.List<core.String> o) {
+checkUnnamed2554(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1322,7 +1322,7 @@
o.fromAddress = "foo";
o.password = buildNotifierSecretRef();
o.port = "foo";
- o.recipientAddresses = buildUnnamed2550();
+ o.recipientAddresses = buildUnnamed2554();
o.senderAddress = "foo";
o.server = "foo";
}
@@ -1336,21 +1336,21 @@
unittest.expect(o.fromAddress, unittest.equals('foo'));
checkNotifierSecretRef(o.password);
unittest.expect(o.port, unittest.equals('foo'));
- checkUnnamed2550(o.recipientAddresses);
+ checkUnnamed2554(o.recipientAddresses);
unittest.expect(o.senderAddress, unittest.equals('foo'));
unittest.expect(o.server, unittest.equals('foo'));
}
buildCounterSMTPDelivery--;
}
-buildUnnamed2551() {
+buildUnnamed2555() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2551(core.Map<core.String, core.String> o) {
+checkUnnamed2555(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -1362,7 +1362,7 @@
buildCounterSecret++;
if (buildCounterSecret < 3) {
o.kmsKeyName = "foo";
- o.secretEnv = buildUnnamed2551();
+ o.secretEnv = buildUnnamed2555();
}
buildCounterSecret--;
return o;
@@ -1372,7 +1372,7 @@
buildCounterSecret++;
if (buildCounterSecret < 3) {
unittest.expect(o.kmsKeyName, unittest.equals('foo'));
- checkUnnamed2551(o.secretEnv);
+ checkUnnamed2555(o.secretEnv);
}
buildCounterSecret--;
}
@@ -1417,14 +1417,14 @@
buildCounterSource--;
}
-buildUnnamed2552() {
+buildUnnamed2556() {
var o = new core.Map<core.String, api.FileHashes>();
o["x"] = buildFileHashes();
o["y"] = buildFileHashes();
return o;
}
-checkUnnamed2552(core.Map<core.String, api.FileHashes> o) {
+checkUnnamed2556(core.Map<core.String, api.FileHashes> o) {
unittest.expect(o, unittest.hasLength(2));
checkFileHashes(o["x"]);
checkFileHashes(o["y"]);
@@ -1435,7 +1435,7 @@
var o = new api.SourceProvenance();
buildCounterSourceProvenance++;
if (buildCounterSourceProvenance < 3) {
- o.fileHashes = buildUnnamed2552();
+ o.fileHashes = buildUnnamed2556();
o.resolvedRepoSource = buildRepoSource();
o.resolvedStorageSource = buildStorageSource();
}
@@ -1446,14 +1446,14 @@
checkSourceProvenance(api.SourceProvenance o) {
buildCounterSourceProvenance++;
if (buildCounterSourceProvenance < 3) {
- checkUnnamed2552(o.fileHashes);
+ checkUnnamed2556(o.fileHashes);
checkRepoSource(o.resolvedRepoSource);
checkStorageSource(o.resolvedStorageSource);
}
buildCounterSourceProvenance--;
}
-buildUnnamed2553() {
+buildUnnamed2557() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1468,7 +1468,7 @@
return o;
}
-checkUnnamed2553(core.Map<core.String, core.Object> o) {
+checkUnnamed2557(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted7 = (o["x"]) as core.Map;
unittest.expect(casted7, unittest.hasLength(3));
@@ -1482,17 +1482,17 @@
unittest.expect(casted8["string"], unittest.equals('foo'));
}
-buildUnnamed2554() {
+buildUnnamed2558() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed2553());
- o.add(buildUnnamed2553());
+ o.add(buildUnnamed2557());
+ o.add(buildUnnamed2557());
return o;
}
-checkUnnamed2554(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed2558(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2553(o[0]);
- checkUnnamed2553(o[1]);
+ checkUnnamed2557(o[0]);
+ checkUnnamed2557(o[1]);
}
core.int buildCounterStatus = 0;
@@ -1501,7 +1501,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed2554();
+ o.details = buildUnnamed2558();
o.message = "foo";
}
buildCounterStatus--;
@@ -1512,7 +1512,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed2554(o.details);
+ checkUnnamed2558(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
@@ -2217,10 +2217,10 @@
api.ProjectsBuildsResourceApi res =
new api.CloudbuildApi(mock).projects.builds;
var arg_projectId = "foo";
- var arg_pageSize = 42;
- var arg_filter = "foo";
var arg_parent = "foo";
+ var arg_filter = "foo";
var arg_pageToken = "foo";
+ var arg_pageSize = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2261,12 +2261,12 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
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["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2277,10 +2277,10 @@
}), true);
res
.list(arg_projectId,
- pageSize: arg_pageSize,
- filter: arg_filter,
parent: arg_parent,
+ filter: arg_filter,
pageToken: arg_pageToken,
+ pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListBuildsResponse(response);
@@ -2484,8 +2484,8 @@
api.ProjectsLocationsBuildsResourceApi res =
new api.CloudbuildApi(mock).projects.locations.builds;
var arg_name = "foo";
- var arg_projectId = "foo";
var arg_id = "foo";
+ var arg_projectId = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2518,9 +2518,9 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["id"].first, unittest.equals(arg_id));
unittest.expect(
queryMap["projectId"].first, unittest.equals(arg_projectId));
- unittest.expect(queryMap["id"].first, unittest.equals(arg_id));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2531,7 +2531,7 @@
}), true);
res
.get(arg_name,
- projectId: arg_projectId, id: arg_id, $fields: arg_$fields)
+ id: arg_id, projectId: arg_projectId, $fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkBuild(response);
})));
@@ -2542,10 +2542,10 @@
api.ProjectsLocationsBuildsResourceApi res =
new api.CloudbuildApi(mock).projects.locations.builds;
var arg_parent = "foo";
- var arg_pageSize = 42;
- var arg_filter = "foo";
- var arg_pageToken = "foo";
var arg_projectId = "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;
@@ -2578,13 +2578,13 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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["projectId"].first, unittest.equals(arg_projectId));
+ 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 = {
@@ -2595,10 +2595,10 @@
}), true);
res
.list(arg_parent,
- pageSize: arg_pageSize,
- filter: arg_filter,
- pageToken: arg_pageToken,
projectId: arg_projectId,
+ pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
+ filter: arg_filter,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListBuildsResponse(response);
diff --git a/generated/googleapis/test/clouddebugger/v2_test.dart b/generated/googleapis/test/clouddebugger/v2_test.dart
index 9b8f063..0a05fc1 100644
--- a/generated/googleapis/test/clouddebugger/v2_test.dart
+++ b/generated/googleapis/test/clouddebugger/v2_test.dart
@@ -71,58 +71,6 @@
buildCounterAliasContext--;
}
-buildUnnamed2641() {
- var o = new core.List<api.Variable>();
- o.add(buildVariable());
- o.add(buildVariable());
- return o;
-}
-
-checkUnnamed2641(core.List<api.Variable> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkVariable(o[0]);
- checkVariable(o[1]);
-}
-
-buildUnnamed2642() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2642(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed2643() {
- var o = new core.Map<core.String, core.String>();
- o["x"] = "foo";
- o["y"] = "foo";
- return o;
-}
-
-checkUnnamed2643(core.Map<core.String, core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o["x"], unittest.equals('foo'));
- unittest.expect(o["y"], unittest.equals('foo'));
-}
-
-buildUnnamed2644() {
- var o = new core.List<api.StackFrame>();
- o.add(buildStackFrame());
- o.add(buildStackFrame());
- return o;
-}
-
-checkUnnamed2644(core.List<api.StackFrame> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkStackFrame(o[0]);
- checkStackFrame(o[1]);
-}
-
buildUnnamed2645() {
var o = new core.List<api.Variable>();
o.add(buildVariable());
@@ -136,6 +84,58 @@
checkVariable(o[1]);
}
+buildUnnamed2646() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2646(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed2647() {
+ var o = new core.Map<core.String, core.String>();
+ o["x"] = "foo";
+ o["y"] = "foo";
+ return o;
+}
+
+checkUnnamed2647(core.Map<core.String, core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o["x"], unittest.equals('foo'));
+ unittest.expect(o["y"], unittest.equals('foo'));
+}
+
+buildUnnamed2648() {
+ var o = new core.List<api.StackFrame>();
+ o.add(buildStackFrame());
+ o.add(buildStackFrame());
+ return o;
+}
+
+checkUnnamed2648(core.List<api.StackFrame> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkStackFrame(o[0]);
+ checkStackFrame(o[1]);
+}
+
+buildUnnamed2649() {
+ var o = new core.List<api.Variable>();
+ o.add(buildVariable());
+ o.add(buildVariable());
+ return o;
+}
+
+checkUnnamed2649(core.List<api.Variable> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkVariable(o[0]);
+ checkVariable(o[1]);
+}
+
core.int buildCounterBreakpoint = 0;
buildBreakpoint() {
var o = new api.Breakpoint();
@@ -145,20 +145,20 @@
o.canaryExpireTime = "foo";
o.condition = "foo";
o.createTime = "foo";
- o.evaluatedExpressions = buildUnnamed2641();
- o.expressions = buildUnnamed2642();
+ o.evaluatedExpressions = buildUnnamed2645();
+ o.expressions = buildUnnamed2646();
o.finalTime = "foo";
o.id = "foo";
o.isFinalState = true;
- o.labels = buildUnnamed2643();
+ o.labels = buildUnnamed2647();
o.location = buildSourceLocation();
o.logLevel = "foo";
o.logMessageFormat = "foo";
- o.stackFrames = buildUnnamed2644();
+ o.stackFrames = buildUnnamed2648();
o.state = "foo";
o.status = buildStatusMessage();
o.userEmail = "foo";
- o.variableTable = buildUnnamed2645();
+ o.variableTable = buildUnnamed2649();
}
buildCounterBreakpoint--;
return o;
@@ -171,20 +171,20 @@
unittest.expect(o.canaryExpireTime, unittest.equals('foo'));
unittest.expect(o.condition, unittest.equals('foo'));
unittest.expect(o.createTime, unittest.equals('foo'));
- checkUnnamed2641(o.evaluatedExpressions);
- checkUnnamed2642(o.expressions);
+ checkUnnamed2645(o.evaluatedExpressions);
+ checkUnnamed2646(o.expressions);
unittest.expect(o.finalTime, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.isFinalState, unittest.isTrue);
- checkUnnamed2643(o.labels);
+ checkUnnamed2647(o.labels);
checkSourceLocation(o.location);
unittest.expect(o.logLevel, unittest.equals('foo'));
unittest.expect(o.logMessageFormat, unittest.equals('foo'));
- checkUnnamed2644(o.stackFrames);
+ checkUnnamed2648(o.stackFrames);
unittest.expect(o.state, unittest.equals('foo'));
checkStatusMessage(o.status);
unittest.expect(o.userEmail, unittest.equals('foo'));
- checkUnnamed2645(o.variableTable);
+ checkUnnamed2649(o.variableTable);
}
buildCounterBreakpoint--;
}
@@ -256,40 +256,40 @@
buildCounterCloudWorkspaceSourceContext--;
}
-buildUnnamed2646() {
+buildUnnamed2650() {
var o = new core.List<api.ExtendedSourceContext>();
o.add(buildExtendedSourceContext());
o.add(buildExtendedSourceContext());
return o;
}
-checkUnnamed2646(core.List<api.ExtendedSourceContext> o) {
+checkUnnamed2650(core.List<api.ExtendedSourceContext> o) {
unittest.expect(o, unittest.hasLength(2));
checkExtendedSourceContext(o[0]);
checkExtendedSourceContext(o[1]);
}
-buildUnnamed2647() {
+buildUnnamed2651() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2647(core.Map<core.String, core.String> o) {
+checkUnnamed2651(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed2648() {
+buildUnnamed2652() {
var o = new core.List<api.SourceContext>();
o.add(buildSourceContext());
o.add(buildSourceContext());
return o;
}
-checkUnnamed2648(core.List<api.SourceContext> o) {
+checkUnnamed2652(core.List<api.SourceContext> o) {
unittest.expect(o, unittest.hasLength(2));
checkSourceContext(o[0]);
checkSourceContext(o[1]);
@@ -303,13 +303,13 @@
o.agentVersion = "foo";
o.canaryMode = "foo";
o.description = "foo";
- o.extSourceContexts = buildUnnamed2646();
+ o.extSourceContexts = buildUnnamed2650();
o.id = "foo";
o.isDisabled = true;
o.isInactive = true;
- o.labels = buildUnnamed2647();
+ o.labels = buildUnnamed2651();
o.project = "foo";
- o.sourceContexts = buildUnnamed2648();
+ o.sourceContexts = buildUnnamed2652();
o.status = buildStatusMessage();
o.uniquifier = "foo";
}
@@ -323,13 +323,13 @@
unittest.expect(o.agentVersion, unittest.equals('foo'));
unittest.expect(o.canaryMode, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed2646(o.extSourceContexts);
+ checkUnnamed2650(o.extSourceContexts);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.isDisabled, unittest.isTrue);
unittest.expect(o.isInactive, unittest.isTrue);
- checkUnnamed2647(o.labels);
+ checkUnnamed2651(o.labels);
unittest.expect(o.project, unittest.equals('foo'));
- checkUnnamed2648(o.sourceContexts);
+ checkUnnamed2652(o.sourceContexts);
checkStatusMessage(o.status);
unittest.expect(o.uniquifier, unittest.equals('foo'));
}
@@ -351,14 +351,14 @@
buildCounterEmpty--;
}
-buildUnnamed2649() {
+buildUnnamed2653() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2649(core.Map<core.String, core.String> o) {
+checkUnnamed2653(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -370,7 +370,7 @@
buildCounterExtendedSourceContext++;
if (buildCounterExtendedSourceContext < 3) {
o.context = buildSourceContext();
- o.labels = buildUnnamed2649();
+ o.labels = buildUnnamed2653();
}
buildCounterExtendedSourceContext--;
return o;
@@ -380,19 +380,19 @@
buildCounterExtendedSourceContext++;
if (buildCounterExtendedSourceContext < 3) {
checkSourceContext(o.context);
- checkUnnamed2649(o.labels);
+ checkUnnamed2653(o.labels);
}
buildCounterExtendedSourceContext--;
}
-buildUnnamed2650() {
+buildUnnamed2654() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2650(core.List<core.String> o) {
+checkUnnamed2654(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -404,7 +404,7 @@
buildCounterFormatMessage++;
if (buildCounterFormatMessage < 3) {
o.format = "foo";
- o.parameters = buildUnnamed2650();
+ o.parameters = buildUnnamed2654();
}
buildCounterFormatMessage--;
return o;
@@ -414,7 +414,7 @@
buildCounterFormatMessage++;
if (buildCounterFormatMessage < 3) {
unittest.expect(o.format, unittest.equals('foo'));
- checkUnnamed2650(o.parameters);
+ checkUnnamed2654(o.parameters);
}
buildCounterFormatMessage--;
}
@@ -486,14 +486,14 @@
buildCounterGitSourceContext--;
}
-buildUnnamed2651() {
+buildUnnamed2655() {
var o = new core.List<api.Breakpoint>();
o.add(buildBreakpoint());
o.add(buildBreakpoint());
return o;
}
-checkUnnamed2651(core.List<api.Breakpoint> o) {
+checkUnnamed2655(core.List<api.Breakpoint> o) {
unittest.expect(o, unittest.hasLength(2));
checkBreakpoint(o[0]);
checkBreakpoint(o[1]);
@@ -504,7 +504,7 @@
var o = new api.ListActiveBreakpointsResponse();
buildCounterListActiveBreakpointsResponse++;
if (buildCounterListActiveBreakpointsResponse < 3) {
- o.breakpoints = buildUnnamed2651();
+ o.breakpoints = buildUnnamed2655();
o.nextWaitToken = "foo";
o.waitExpired = true;
}
@@ -515,21 +515,21 @@
checkListActiveBreakpointsResponse(api.ListActiveBreakpointsResponse o) {
buildCounterListActiveBreakpointsResponse++;
if (buildCounterListActiveBreakpointsResponse < 3) {
- checkUnnamed2651(o.breakpoints);
+ checkUnnamed2655(o.breakpoints);
unittest.expect(o.nextWaitToken, unittest.equals('foo'));
unittest.expect(o.waitExpired, unittest.isTrue);
}
buildCounterListActiveBreakpointsResponse--;
}
-buildUnnamed2652() {
+buildUnnamed2656() {
var o = new core.List<api.Breakpoint>();
o.add(buildBreakpoint());
o.add(buildBreakpoint());
return o;
}
-checkUnnamed2652(core.List<api.Breakpoint> o) {
+checkUnnamed2656(core.List<api.Breakpoint> o) {
unittest.expect(o, unittest.hasLength(2));
checkBreakpoint(o[0]);
checkBreakpoint(o[1]);
@@ -540,7 +540,7 @@
var o = new api.ListBreakpointsResponse();
buildCounterListBreakpointsResponse++;
if (buildCounterListBreakpointsResponse < 3) {
- o.breakpoints = buildUnnamed2652();
+ o.breakpoints = buildUnnamed2656();
o.nextWaitToken = "foo";
}
buildCounterListBreakpointsResponse--;
@@ -550,20 +550,20 @@
checkListBreakpointsResponse(api.ListBreakpointsResponse o) {
buildCounterListBreakpointsResponse++;
if (buildCounterListBreakpointsResponse < 3) {
- checkUnnamed2652(o.breakpoints);
+ checkUnnamed2656(o.breakpoints);
unittest.expect(o.nextWaitToken, unittest.equals('foo'));
}
buildCounterListBreakpointsResponse--;
}
-buildUnnamed2653() {
+buildUnnamed2657() {
var o = new core.List<api.Debuggee>();
o.add(buildDebuggee());
o.add(buildDebuggee());
return o;
}
-checkUnnamed2653(core.List<api.Debuggee> o) {
+checkUnnamed2657(core.List<api.Debuggee> o) {
unittest.expect(o, unittest.hasLength(2));
checkDebuggee(o[0]);
checkDebuggee(o[1]);
@@ -574,7 +574,7 @@
var o = new api.ListDebuggeesResponse();
buildCounterListDebuggeesResponse++;
if (buildCounterListDebuggeesResponse < 3) {
- o.debuggees = buildUnnamed2653();
+ o.debuggees = buildUnnamed2657();
}
buildCounterListDebuggeesResponse--;
return o;
@@ -583,7 +583,7 @@
checkListDebuggeesResponse(api.ListDebuggeesResponse o) {
buildCounterListDebuggeesResponse++;
if (buildCounterListDebuggeesResponse < 3) {
- checkUnnamed2653(o.debuggees);
+ checkUnnamed2657(o.debuggees);
}
buildCounterListDebuggeesResponse--;
}
@@ -737,27 +737,27 @@
buildCounterSourceLocation--;
}
-buildUnnamed2654() {
+buildUnnamed2658() {
var o = new core.List<api.Variable>();
o.add(buildVariable());
o.add(buildVariable());
return o;
}
-checkUnnamed2654(core.List<api.Variable> o) {
+checkUnnamed2658(core.List<api.Variable> o) {
unittest.expect(o, unittest.hasLength(2));
checkVariable(o[0]);
checkVariable(o[1]);
}
-buildUnnamed2655() {
+buildUnnamed2659() {
var o = new core.List<api.Variable>();
o.add(buildVariable());
o.add(buildVariable());
return o;
}
-checkUnnamed2655(core.List<api.Variable> o) {
+checkUnnamed2659(core.List<api.Variable> o) {
unittest.expect(o, unittest.hasLength(2));
checkVariable(o[0]);
checkVariable(o[1]);
@@ -768,9 +768,9 @@
var o = new api.StackFrame();
buildCounterStackFrame++;
if (buildCounterStackFrame < 3) {
- o.arguments = buildUnnamed2654();
+ o.arguments = buildUnnamed2658();
o.function = "foo";
- o.locals = buildUnnamed2655();
+ o.locals = buildUnnamed2659();
o.location = buildSourceLocation();
}
buildCounterStackFrame--;
@@ -780,9 +780,9 @@
checkStackFrame(api.StackFrame o) {
buildCounterStackFrame++;
if (buildCounterStackFrame < 3) {
- checkUnnamed2654(o.arguments);
+ checkUnnamed2658(o.arguments);
unittest.expect(o.function, unittest.equals('foo'));
- checkUnnamed2655(o.locals);
+ checkUnnamed2659(o.locals);
checkSourceLocation(o.location);
}
buildCounterStackFrame--;
@@ -845,14 +845,14 @@
buildCounterUpdateActiveBreakpointResponse--;
}
-buildUnnamed2656() {
+buildUnnamed2660() {
var o = new core.List<api.Variable>();
o.add(buildVariable());
o.add(buildVariable());
return o;
}
-checkUnnamed2656(core.List<api.Variable> o) {
+checkUnnamed2660(core.List<api.Variable> o) {
unittest.expect(o, unittest.hasLength(2));
checkVariable(o[0]);
checkVariable(o[1]);
@@ -863,7 +863,7 @@
var o = new api.Variable();
buildCounterVariable++;
if (buildCounterVariable < 3) {
- o.members = buildUnnamed2656();
+ o.members = buildUnnamed2660();
o.name = "foo";
o.status = buildStatusMessage();
o.type = "foo";
@@ -877,7 +877,7 @@
checkVariable(api.Variable o) {
buildCounterVariable++;
if (buildCounterVariable < 3) {
- checkUnnamed2656(o.members);
+ checkUnnamed2660(o.members);
unittest.expect(o.name, unittest.equals('foo'));
checkStatusMessage(o.status);
unittest.expect(o.type, unittest.equals('foo'));
@@ -1167,8 +1167,8 @@
new api.ClouddebuggerApi(mock).controller.debuggees.breakpoints;
var arg_debuggeeId = "foo";
var arg_agentId = "foo";
- var arg_waitToken = "foo";
var arg_successOnTimeout = true;
+ var arg_waitToken = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1211,10 +1211,10 @@
}
unittest.expect(
queryMap["agentId"].first, unittest.equals(arg_agentId));
- unittest.expect(
- queryMap["waitToken"].first, unittest.equals(arg_waitToken));
unittest.expect(queryMap["successOnTimeout"].first,
unittest.equals("$arg_successOnTimeout"));
+ unittest.expect(
+ queryMap["waitToken"].first, unittest.equals(arg_waitToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1226,8 +1226,8 @@
res
.list(arg_debuggeeId,
agentId: arg_agentId,
- waitToken: arg_waitToken,
successOnTimeout: arg_successOnTimeout,
+ waitToken: arg_waitToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListActiveBreakpointsResponse(response);
@@ -1308,9 +1308,9 @@
var mock = new HttpServerMock();
api.DebuggerDebuggeesResourceApi res =
new api.ClouddebuggerApi(mock).debugger.debuggees;
+ var arg_clientVersion = "foo";
var arg_project = "foo";
var arg_includeInactive = true;
- var arg_clientVersion = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1342,12 +1342,12 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ 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["clientVersion"].first,
- unittest.equals(arg_clientVersion));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1358,9 +1358,9 @@
}), true);
res
.list(
+ clientVersion: arg_clientVersion,
project: arg_project,
includeInactive: arg_includeInactive,
- clientVersion: arg_clientVersion,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListDebuggeesResponse(response);
@@ -1510,12 +1510,12 @@
api.DebuggerDebuggeesBreakpointsResourceApi res =
new api.ClouddebuggerApi(mock).debugger.debuggees.breakpoints;
var arg_debuggeeId = "foo";
- var arg_waitToken = "foo";
- var arg_includeAllUsers = true;
- var arg_action_value = "foo";
var arg_clientVersion = "foo";
- var arg_includeInactive = true;
+ var arg_waitToken = "foo";
+ var arg_action_value = "foo";
var arg_stripResults = true;
+ var arg_includeInactive = true;
+ var arg_includeAllUsers = true;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1556,18 +1556,18 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(
- queryMap["waitToken"].first, unittest.equals(arg_waitToken));
- unittest.expect(queryMap["includeAllUsers"].first,
- unittest.equals("$arg_includeAllUsers"));
- unittest.expect(
- queryMap["action.value"].first, unittest.equals(arg_action_value));
unittest.expect(queryMap["clientVersion"].first,
unittest.equals(arg_clientVersion));
- unittest.expect(queryMap["includeInactive"].first,
- unittest.equals("$arg_includeInactive"));
+ 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["includeAllUsers"].first,
+ unittest.equals("$arg_includeAllUsers"));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1578,12 +1578,12 @@
}), true);
res
.list(arg_debuggeeId,
- waitToken: arg_waitToken,
- includeAllUsers: arg_includeAllUsers,
- action_value: arg_action_value,
clientVersion: arg_clientVersion,
- includeInactive: arg_includeInactive,
+ waitToken: arg_waitToken,
+ action_value: arg_action_value,
stripResults: arg_stripResults,
+ includeInactive: arg_includeInactive,
+ includeAllUsers: arg_includeAllUsers,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListBreakpointsResponse(response);
diff --git a/generated/googleapis/test/cloudfunctions/v1_test.dart b/generated/googleapis/test/cloudfunctions/v1_test.dart
index 2fdf0ec..bf0555b 100644
--- a/generated/googleapis/test/cloudfunctions/v1_test.dart
+++ b/generated/googleapis/test/cloudfunctions/v1_test.dart
@@ -50,14 +50,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed3125() {
+buildUnnamed3129() {
var o = new core.List<api.AuditLogConfig>();
o.add(buildAuditLogConfig());
o.add(buildAuditLogConfig());
return o;
}
-checkUnnamed3125(core.List<api.AuditLogConfig> o) {
+checkUnnamed3129(core.List<api.AuditLogConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuditLogConfig(o[0]);
checkAuditLogConfig(o[1]);
@@ -68,7 +68,7 @@
var o = new api.AuditConfig();
buildCounterAuditConfig++;
if (buildCounterAuditConfig < 3) {
- o.auditLogConfigs = buildUnnamed3125();
+ o.auditLogConfigs = buildUnnamed3129();
o.service = "foo";
}
buildCounterAuditConfig--;
@@ -78,20 +78,20 @@
checkAuditConfig(api.AuditConfig o) {
buildCounterAuditConfig++;
if (buildCounterAuditConfig < 3) {
- checkUnnamed3125(o.auditLogConfigs);
+ checkUnnamed3129(o.auditLogConfigs);
unittest.expect(o.service, unittest.equals('foo'));
}
buildCounterAuditConfig--;
}
-buildUnnamed3126() {
+buildUnnamed3130() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3126(core.List<core.String> o) {
+checkUnnamed3130(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -102,7 +102,7 @@
var o = new api.AuditLogConfig();
buildCounterAuditLogConfig++;
if (buildCounterAuditLogConfig < 3) {
- o.exemptedMembers = buildUnnamed3126();
+ o.exemptedMembers = buildUnnamed3130();
o.logType = "foo";
}
buildCounterAuditLogConfig--;
@@ -112,20 +112,20 @@
checkAuditLogConfig(api.AuditLogConfig o) {
buildCounterAuditLogConfig++;
if (buildCounterAuditLogConfig < 3) {
- checkUnnamed3126(o.exemptedMembers);
+ checkUnnamed3130(o.exemptedMembers);
unittest.expect(o.logType, unittest.equals('foo'));
}
buildCounterAuditLogConfig--;
}
-buildUnnamed3127() {
+buildUnnamed3131() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3127(core.List<core.String> o) {
+checkUnnamed3131(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -137,7 +137,7 @@
buildCounterBinding++;
if (buildCounterBinding < 3) {
o.condition = buildExpr();
- o.members = buildUnnamed3127();
+ o.members = buildUnnamed3131();
o.role = "foo";
}
buildCounterBinding--;
@@ -148,7 +148,7 @@
buildCounterBinding++;
if (buildCounterBinding < 3) {
checkExpr(o.condition);
- checkUnnamed3127(o.members);
+ checkUnnamed3131(o.members);
unittest.expect(o.role, unittest.equals('foo'));
}
buildCounterBinding--;
@@ -196,40 +196,40 @@
buildCounterCallFunctionResponse--;
}
-buildUnnamed3128() {
+buildUnnamed3132() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3128(core.Map<core.String, core.String> o) {
+checkUnnamed3132(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed3129() {
+buildUnnamed3133() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3129(core.Map<core.String, core.String> o) {
+checkUnnamed3133(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed3130() {
+buildUnnamed3134() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3130(core.Map<core.String, core.String> o) {
+checkUnnamed3134(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -241,15 +241,15 @@
buildCounterCloudFunction++;
if (buildCounterCloudFunction < 3) {
o.availableMemoryMb = 42;
- o.buildEnvironmentVariables = buildUnnamed3128();
+ o.buildEnvironmentVariables = buildUnnamed3132();
o.buildId = "foo";
o.description = "foo";
o.entryPoint = "foo";
- o.environmentVariables = buildUnnamed3129();
+ o.environmentVariables = buildUnnamed3133();
o.eventTrigger = buildEventTrigger();
o.httpsTrigger = buildHttpsTrigger();
o.ingressSettings = "foo";
- o.labels = buildUnnamed3130();
+ o.labels = buildUnnamed3134();
o.maxInstances = 42;
o.name = "foo";
o.network = "foo";
@@ -273,15 +273,15 @@
buildCounterCloudFunction++;
if (buildCounterCloudFunction < 3) {
unittest.expect(o.availableMemoryMb, unittest.equals(42));
- checkUnnamed3128(o.buildEnvironmentVariables);
+ checkUnnamed3132(o.buildEnvironmentVariables);
unittest.expect(o.buildId, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.entryPoint, unittest.equals('foo'));
- checkUnnamed3129(o.environmentVariables);
+ checkUnnamed3133(o.environmentVariables);
checkEventTrigger(o.eventTrigger);
checkHttpsTrigger(o.httpsTrigger);
unittest.expect(o.ingressSettings, unittest.equals('foo'));
- checkUnnamed3130(o.labels);
+ checkUnnamed3134(o.labels);
unittest.expect(o.maxInstances, unittest.equals(42));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.network, unittest.equals('foo'));
@@ -460,27 +460,27 @@
buildCounterHttpsTrigger--;
}
-buildUnnamed3131() {
+buildUnnamed3135() {
var o = new core.List<api.CloudFunction>();
o.add(buildCloudFunction());
o.add(buildCloudFunction());
return o;
}
-checkUnnamed3131(core.List<api.CloudFunction> o) {
+checkUnnamed3135(core.List<api.CloudFunction> o) {
unittest.expect(o, unittest.hasLength(2));
checkCloudFunction(o[0]);
checkCloudFunction(o[1]);
}
-buildUnnamed3132() {
+buildUnnamed3136() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3132(core.List<core.String> o) {
+checkUnnamed3136(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -491,9 +491,9 @@
var o = new api.ListFunctionsResponse();
buildCounterListFunctionsResponse++;
if (buildCounterListFunctionsResponse < 3) {
- o.functions = buildUnnamed3131();
+ o.functions = buildUnnamed3135();
o.nextPageToken = "foo";
- o.unreachable = buildUnnamed3132();
+ o.unreachable = buildUnnamed3136();
}
buildCounterListFunctionsResponse--;
return o;
@@ -502,21 +502,21 @@
checkListFunctionsResponse(api.ListFunctionsResponse o) {
buildCounterListFunctionsResponse++;
if (buildCounterListFunctionsResponse < 3) {
- checkUnnamed3131(o.functions);
+ checkUnnamed3135(o.functions);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3132(o.unreachable);
+ checkUnnamed3136(o.unreachable);
}
buildCounterListFunctionsResponse--;
}
-buildUnnamed3133() {
+buildUnnamed3137() {
var o = new core.List<api.Location>();
o.add(buildLocation());
o.add(buildLocation());
return o;
}
-checkUnnamed3133(core.List<api.Location> o) {
+checkUnnamed3137(core.List<api.Location> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocation(o[0]);
checkLocation(o[1]);
@@ -527,7 +527,7 @@
var o = new api.ListLocationsResponse();
buildCounterListLocationsResponse++;
if (buildCounterListLocationsResponse < 3) {
- o.locations = buildUnnamed3133();
+ o.locations = buildUnnamed3137();
o.nextPageToken = "foo";
}
buildCounterListLocationsResponse--;
@@ -537,20 +537,20 @@
checkListLocationsResponse(api.ListLocationsResponse o) {
buildCounterListLocationsResponse++;
if (buildCounterListLocationsResponse < 3) {
- checkUnnamed3133(o.locations);
+ checkUnnamed3137(o.locations);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListLocationsResponse--;
}
-buildUnnamed3134() {
+buildUnnamed3138() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed3134(core.List<api.Operation> o) {
+checkUnnamed3138(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -562,7 +562,7 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
o.nextPageToken = "foo";
- o.operations = buildUnnamed3134();
+ o.operations = buildUnnamed3138();
}
buildCounterListOperationsResponse--;
return o;
@@ -572,25 +572,25 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3134(o.operations);
+ checkUnnamed3138(o.operations);
}
buildCounterListOperationsResponse--;
}
-buildUnnamed3135() {
+buildUnnamed3139() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3135(core.Map<core.String, core.String> o) {
+checkUnnamed3139(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed3136() {
+buildUnnamed3140() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -605,7 +605,7 @@
return o;
}
-checkUnnamed3136(core.Map<core.String, core.Object> o) {
+checkUnnamed3140(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o["x"]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -625,9 +625,9 @@
buildCounterLocation++;
if (buildCounterLocation < 3) {
o.displayName = "foo";
- o.labels = buildUnnamed3135();
+ o.labels = buildUnnamed3139();
o.locationId = "foo";
- o.metadata = buildUnnamed3136();
+ o.metadata = buildUnnamed3140();
o.name = "foo";
}
buildCounterLocation--;
@@ -638,15 +638,15 @@
buildCounterLocation++;
if (buildCounterLocation < 3) {
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed3135(o.labels);
+ checkUnnamed3139(o.labels);
unittest.expect(o.locationId, unittest.equals('foo'));
- checkUnnamed3136(o.metadata);
+ checkUnnamed3140(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
}
buildCounterLocation--;
}
-buildUnnamed3137() {
+buildUnnamed3141() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -661,7 +661,7 @@
return o;
}
-checkUnnamed3137(core.Map<core.String, core.Object> o) {
+checkUnnamed3141(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted3 = (o["x"]) as core.Map;
unittest.expect(casted3, unittest.hasLength(3));
@@ -675,7 +675,7 @@
unittest.expect(casted4["string"], unittest.equals('foo'));
}
-buildUnnamed3138() {
+buildUnnamed3142() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -690,7 +690,7 @@
return o;
}
-checkUnnamed3138(core.Map<core.String, core.Object> o) {
+checkUnnamed3142(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted5 = (o["x"]) as core.Map;
unittest.expect(casted5, unittest.hasLength(3));
@@ -711,9 +711,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed3137();
+ o.metadata = buildUnnamed3141();
o.name = "foo";
- o.response = buildUnnamed3138();
+ o.response = buildUnnamed3142();
}
buildCounterOperation--;
return o;
@@ -724,14 +724,14 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed3137(o.metadata);
+ checkUnnamed3141(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed3138(o.response);
+ checkUnnamed3142(o.response);
}
buildCounterOperation--;
}
-buildUnnamed3139() {
+buildUnnamed3143() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -746,7 +746,7 @@
return o;
}
-checkUnnamed3139(core.Map<core.String, core.Object> o) {
+checkUnnamed3143(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted7 = (o["x"]) as core.Map;
unittest.expect(casted7, unittest.hasLength(3));
@@ -766,7 +766,7 @@
buildCounterOperationMetadataV1++;
if (buildCounterOperationMetadataV1 < 3) {
o.buildId = "foo";
- o.request = buildUnnamed3139();
+ o.request = buildUnnamed3143();
o.target = "foo";
o.type = "foo";
o.updateTime = "foo";
@@ -780,7 +780,7 @@
buildCounterOperationMetadataV1++;
if (buildCounterOperationMetadataV1 < 3) {
unittest.expect(o.buildId, unittest.equals('foo'));
- checkUnnamed3139(o.request);
+ checkUnnamed3143(o.request);
unittest.expect(o.target, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
unittest.expect(o.updateTime, unittest.equals('foo'));
@@ -789,27 +789,27 @@
buildCounterOperationMetadataV1--;
}
-buildUnnamed3140() {
+buildUnnamed3144() {
var o = new core.List<api.AuditConfig>();
o.add(buildAuditConfig());
o.add(buildAuditConfig());
return o;
}
-checkUnnamed3140(core.List<api.AuditConfig> o) {
+checkUnnamed3144(core.List<api.AuditConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuditConfig(o[0]);
checkAuditConfig(o[1]);
}
-buildUnnamed3141() {
+buildUnnamed3145() {
var o = new core.List<api.Binding>();
o.add(buildBinding());
o.add(buildBinding());
return o;
}
-checkUnnamed3141(core.List<api.Binding> o) {
+checkUnnamed3145(core.List<api.Binding> o) {
unittest.expect(o, unittest.hasLength(2));
checkBinding(o[0]);
checkBinding(o[1]);
@@ -820,8 +820,8 @@
var o = new api.Policy();
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- o.auditConfigs = buildUnnamed3140();
- o.bindings = buildUnnamed3141();
+ o.auditConfigs = buildUnnamed3144();
+ o.bindings = buildUnnamed3145();
o.etag = "foo";
o.version = 42;
}
@@ -832,8 +832,8 @@
checkPolicy(api.Policy o) {
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- checkUnnamed3140(o.auditConfigs);
- checkUnnamed3141(o.bindings);
+ checkUnnamed3144(o.auditConfigs);
+ checkUnnamed3145(o.bindings);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals(42));
}
@@ -897,7 +897,7 @@
buildCounterSourceRepository--;
}
-buildUnnamed3142() {
+buildUnnamed3146() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -912,7 +912,7 @@
return o;
}
-checkUnnamed3142(core.Map<core.String, core.Object> o) {
+checkUnnamed3146(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted9 = (o["x"]) as core.Map;
unittest.expect(casted9, unittest.hasLength(3));
@@ -926,17 +926,17 @@
unittest.expect(casted10["string"], unittest.equals('foo'));
}
-buildUnnamed3143() {
+buildUnnamed3147() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed3142());
- o.add(buildUnnamed3142());
+ o.add(buildUnnamed3146());
+ o.add(buildUnnamed3146());
return o;
}
-checkUnnamed3143(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed3147(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed3142(o[0]);
- checkUnnamed3142(o[1]);
+ checkUnnamed3146(o[0]);
+ checkUnnamed3146(o[1]);
}
core.int buildCounterStatus = 0;
@@ -945,7 +945,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed3143();
+ o.details = buildUnnamed3147();
o.message = "foo";
}
buildCounterStatus--;
@@ -956,20 +956,20 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed3143(o.details);
+ checkUnnamed3147(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
}
-buildUnnamed3144() {
+buildUnnamed3148() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3144(core.List<core.String> o) {
+checkUnnamed3148(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -980,7 +980,7 @@
var o = new api.TestIamPermissionsRequest();
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- o.permissions = buildUnnamed3144();
+ o.permissions = buildUnnamed3148();
}
buildCounterTestIamPermissionsRequest--;
return o;
@@ -989,19 +989,19 @@
checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) {
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- checkUnnamed3144(o.permissions);
+ checkUnnamed3148(o.permissions);
}
buildCounterTestIamPermissionsRequest--;
}
-buildUnnamed3145() {
+buildUnnamed3149() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3145(core.List<core.String> o) {
+checkUnnamed3149(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1012,7 +1012,7 @@
var o = new api.TestIamPermissionsResponse();
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- o.permissions = buildUnnamed3145();
+ o.permissions = buildUnnamed3149();
}
buildCounterTestIamPermissionsResponse--;
return o;
@@ -1021,7 +1021,7 @@
checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) {
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- checkUnnamed3145(o.permissions);
+ checkUnnamed3149(o.permissions);
}
buildCounterTestIamPermissionsResponse--;
}
@@ -1368,9 +1368,9 @@
api.ProjectsLocationsResourceApi res =
new 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;
@@ -1403,11 +1403,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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 = {
@@ -1418,9 +1418,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);
@@ -1821,8 +1821,8 @@
api.ProjectsLocationsFunctionsResourceApi res =
new api.CloudfunctionsApi(mock).projects.locations.functions;
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;
@@ -1855,10 +1855,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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 = {
@@ -1869,8 +1869,8 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListFunctionsResponse(response);
diff --git a/generated/googleapis/test/cloudidentity/v1_test.dart b/generated/googleapis/test/cloudidentity/v1_test.dart
index 9160137..4e1423e 100644
--- a/generated/googleapis/test/cloudidentity/v1_test.dart
+++ b/generated/googleapis/test/cloudidentity/v1_test.dart
@@ -276,20 +276,20 @@
buildCounterGoogleAppsCloudidentityDevicesV1CancelWipeDeviceUserResponse--;
}
-buildUnnamed2686() {
+buildUnnamed2690() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2686(core.List<core.String> o) {
+checkUnnamed2690(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2687() {
+buildUnnamed2691() {
var o = new core.Map<core.String,
api.GoogleAppsCloudidentityDevicesV1CustomAttributeValue>();
o["x"] = buildGoogleAppsCloudidentityDevicesV1CustomAttributeValue();
@@ -297,7 +297,7 @@
return o;
}
-checkUnnamed2687(
+checkUnnamed2691(
core.Map<core.String,
api.GoogleAppsCloudidentityDevicesV1CustomAttributeValue>
o) {
@@ -311,13 +311,13 @@
var o = new api.GoogleAppsCloudidentityDevicesV1ClientState();
buildCounterGoogleAppsCloudidentityDevicesV1ClientState++;
if (buildCounterGoogleAppsCloudidentityDevicesV1ClientState < 3) {
- o.assetTags = buildUnnamed2686();
+ o.assetTags = buildUnnamed2690();
o.complianceState = "foo";
o.createTime = "foo";
o.customId = "foo";
o.etag = "foo";
o.healthScore = "foo";
- o.keyValuePairs = buildUnnamed2687();
+ o.keyValuePairs = buildUnnamed2691();
o.lastUpdateTime = "foo";
o.managed = "foo";
o.name = "foo";
@@ -332,13 +332,13 @@
api.GoogleAppsCloudidentityDevicesV1ClientState o) {
buildCounterGoogleAppsCloudidentityDevicesV1ClientState++;
if (buildCounterGoogleAppsCloudidentityDevicesV1ClientState < 3) {
- checkUnnamed2686(o.assetTags);
+ checkUnnamed2690(o.assetTags);
unittest.expect(o.complianceState, unittest.equals('foo'));
unittest.expect(o.createTime, unittest.equals('foo'));
unittest.expect(o.customId, unittest.equals('foo'));
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.healthScore, unittest.equals('foo'));
- checkUnnamed2687(o.keyValuePairs);
+ checkUnnamed2691(o.keyValuePairs);
unittest.expect(o.lastUpdateTime, unittest.equals('foo'));
unittest.expect(o.managed, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
@@ -372,27 +372,27 @@
buildCounterGoogleAppsCloudidentityDevicesV1CustomAttributeValue--;
}
-buildUnnamed2688() {
+buildUnnamed2692() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2688(core.List<core.String> o) {
+checkUnnamed2692(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2689() {
+buildUnnamed2693() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2689(core.List<core.String> o) {
+checkUnnamed2693(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -426,12 +426,12 @@
o.name = "foo";
o.networkOperator = "foo";
o.osVersion = "foo";
- o.otherAccounts = buildUnnamed2688();
+ o.otherAccounts = buildUnnamed2692();
o.ownerType = "foo";
o.releaseVersion = "foo";
o.securityPatchTime = "foo";
o.serialNumber = "foo";
- o.wifiMacAddresses = buildUnnamed2689();
+ o.wifiMacAddresses = buildUnnamed2693();
}
buildCounterGoogleAppsCloudidentityDevicesV1Device--;
return o;
@@ -464,12 +464,12 @@
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.networkOperator, unittest.equals('foo'));
unittest.expect(o.osVersion, unittest.equals('foo'));
- checkUnnamed2688(o.otherAccounts);
+ checkUnnamed2692(o.otherAccounts);
unittest.expect(o.ownerType, unittest.equals('foo'));
unittest.expect(o.releaseVersion, unittest.equals('foo'));
unittest.expect(o.securityPatchTime, unittest.equals('foo'));
unittest.expect(o.serialNumber, unittest.equals('foo'));
- checkUnnamed2689(o.wifiMacAddresses);
+ checkUnnamed2693(o.wifiMacAddresses);
}
buildCounterGoogleAppsCloudidentityDevicesV1Device--;
}
@@ -512,14 +512,14 @@
buildCounterGoogleAppsCloudidentityDevicesV1DeviceUser--;
}
-buildUnnamed2690() {
+buildUnnamed2694() {
var o = new core.List<api.GoogleAppsCloudidentityDevicesV1ClientState>();
o.add(buildGoogleAppsCloudidentityDevicesV1ClientState());
o.add(buildGoogleAppsCloudidentityDevicesV1ClientState());
return o;
}
-checkUnnamed2690(core.List<api.GoogleAppsCloudidentityDevicesV1ClientState> o) {
+checkUnnamed2694(core.List<api.GoogleAppsCloudidentityDevicesV1ClientState> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleAppsCloudidentityDevicesV1ClientState(o[0]);
checkGoogleAppsCloudidentityDevicesV1ClientState(o[1]);
@@ -532,7 +532,7 @@
buildCounterGoogleAppsCloudidentityDevicesV1ListClientStatesResponse++;
if (buildCounterGoogleAppsCloudidentityDevicesV1ListClientStatesResponse <
3) {
- o.clientStates = buildUnnamed2690();
+ o.clientStates = buildUnnamed2694();
o.nextPageToken = "foo";
}
buildCounterGoogleAppsCloudidentityDevicesV1ListClientStatesResponse--;
@@ -544,20 +544,20 @@
buildCounterGoogleAppsCloudidentityDevicesV1ListClientStatesResponse++;
if (buildCounterGoogleAppsCloudidentityDevicesV1ListClientStatesResponse <
3) {
- checkUnnamed2690(o.clientStates);
+ checkUnnamed2694(o.clientStates);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterGoogleAppsCloudidentityDevicesV1ListClientStatesResponse--;
}
-buildUnnamed2691() {
+buildUnnamed2695() {
var o = new core.List<api.GoogleAppsCloudidentityDevicesV1DeviceUser>();
o.add(buildGoogleAppsCloudidentityDevicesV1DeviceUser());
o.add(buildGoogleAppsCloudidentityDevicesV1DeviceUser());
return o;
}
-checkUnnamed2691(core.List<api.GoogleAppsCloudidentityDevicesV1DeviceUser> o) {
+checkUnnamed2695(core.List<api.GoogleAppsCloudidentityDevicesV1DeviceUser> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleAppsCloudidentityDevicesV1DeviceUser(o[0]);
checkGoogleAppsCloudidentityDevicesV1DeviceUser(o[1]);
@@ -569,7 +569,7 @@
var o = new api.GoogleAppsCloudidentityDevicesV1ListDeviceUsersResponse();
buildCounterGoogleAppsCloudidentityDevicesV1ListDeviceUsersResponse++;
if (buildCounterGoogleAppsCloudidentityDevicesV1ListDeviceUsersResponse < 3) {
- o.deviceUsers = buildUnnamed2691();
+ o.deviceUsers = buildUnnamed2695();
o.nextPageToken = "foo";
}
buildCounterGoogleAppsCloudidentityDevicesV1ListDeviceUsersResponse--;
@@ -580,20 +580,20 @@
api.GoogleAppsCloudidentityDevicesV1ListDeviceUsersResponse o) {
buildCounterGoogleAppsCloudidentityDevicesV1ListDeviceUsersResponse++;
if (buildCounterGoogleAppsCloudidentityDevicesV1ListDeviceUsersResponse < 3) {
- checkUnnamed2691(o.deviceUsers);
+ checkUnnamed2695(o.deviceUsers);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterGoogleAppsCloudidentityDevicesV1ListDeviceUsersResponse--;
}
-buildUnnamed2692() {
+buildUnnamed2696() {
var o = new core.List<api.GoogleAppsCloudidentityDevicesV1Device>();
o.add(buildGoogleAppsCloudidentityDevicesV1Device());
o.add(buildGoogleAppsCloudidentityDevicesV1Device());
return o;
}
-checkUnnamed2692(core.List<api.GoogleAppsCloudidentityDevicesV1Device> o) {
+checkUnnamed2696(core.List<api.GoogleAppsCloudidentityDevicesV1Device> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleAppsCloudidentityDevicesV1Device(o[0]);
checkGoogleAppsCloudidentityDevicesV1Device(o[1]);
@@ -604,7 +604,7 @@
var o = new api.GoogleAppsCloudidentityDevicesV1ListDevicesResponse();
buildCounterGoogleAppsCloudidentityDevicesV1ListDevicesResponse++;
if (buildCounterGoogleAppsCloudidentityDevicesV1ListDevicesResponse < 3) {
- o.devices = buildUnnamed2692();
+ o.devices = buildUnnamed2696();
o.nextPageToken = "foo";
}
buildCounterGoogleAppsCloudidentityDevicesV1ListDevicesResponse--;
@@ -615,20 +615,20 @@
api.GoogleAppsCloudidentityDevicesV1ListDevicesResponse o) {
buildCounterGoogleAppsCloudidentityDevicesV1ListDevicesResponse++;
if (buildCounterGoogleAppsCloudidentityDevicesV1ListDevicesResponse < 3) {
- checkUnnamed2692(o.devices);
+ checkUnnamed2696(o.devices);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterGoogleAppsCloudidentityDevicesV1ListDevicesResponse--;
}
-buildUnnamed2693() {
+buildUnnamed2697() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2693(core.List<core.String> o) {
+checkUnnamed2697(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -644,7 +644,7 @@
if (buildCounterGoogleAppsCloudidentityDevicesV1LookupSelfDeviceUsersResponse <
3) {
o.customer = "foo";
- o.names = buildUnnamed2693();
+ o.names = buildUnnamed2697();
o.nextPageToken = "foo";
}
buildCounterGoogleAppsCloudidentityDevicesV1LookupSelfDeviceUsersResponse--;
@@ -657,7 +657,7 @@
if (buildCounterGoogleAppsCloudidentityDevicesV1LookupSelfDeviceUsersResponse <
3) {
unittest.expect(o.customer, unittest.equals('foo'));
- checkUnnamed2693(o.names);
+ checkUnnamed2697(o.names);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterGoogleAppsCloudidentityDevicesV1LookupSelfDeviceUsersResponse--;
@@ -743,14 +743,14 @@
buildCounterGoogleAppsCloudidentityDevicesV1WipeDeviceUserResponse--;
}
-buildUnnamed2694() {
+buildUnnamed2698() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2694(core.Map<core.String, core.String> o) {
+checkUnnamed2698(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -765,7 +765,7 @@
o.description = "foo";
o.displayName = "foo";
o.groupKey = buildEntityKey();
- o.labels = buildUnnamed2694();
+ o.labels = buildUnnamed2698();
o.name = "foo";
o.parent = "foo";
o.updateTime = "foo";
@@ -781,7 +781,7 @@
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.displayName, unittest.equals('foo'));
checkEntityKey(o.groupKey);
- checkUnnamed2694(o.labels);
+ checkUnnamed2698(o.labels);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.parent, unittest.equals('foo'));
unittest.expect(o.updateTime, unittest.equals('foo'));
@@ -789,14 +789,14 @@
buildCounterGroup--;
}
-buildUnnamed2695() {
+buildUnnamed2699() {
var o = new core.List<api.Group>();
o.add(buildGroup());
o.add(buildGroup());
return o;
}
-checkUnnamed2695(core.List<api.Group> o) {
+checkUnnamed2699(core.List<api.Group> o) {
unittest.expect(o, unittest.hasLength(2));
checkGroup(o[0]);
checkGroup(o[1]);
@@ -807,7 +807,7 @@
var o = new api.ListGroupsResponse();
buildCounterListGroupsResponse++;
if (buildCounterListGroupsResponse < 3) {
- o.groups = buildUnnamed2695();
+ o.groups = buildUnnamed2699();
o.nextPageToken = "foo";
}
buildCounterListGroupsResponse--;
@@ -817,20 +817,20 @@
checkListGroupsResponse(api.ListGroupsResponse o) {
buildCounterListGroupsResponse++;
if (buildCounterListGroupsResponse < 3) {
- checkUnnamed2695(o.groups);
+ checkUnnamed2699(o.groups);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListGroupsResponse--;
}
-buildUnnamed2696() {
+buildUnnamed2700() {
var o = new core.List<api.Membership>();
o.add(buildMembership());
o.add(buildMembership());
return o;
}
-checkUnnamed2696(core.List<api.Membership> o) {
+checkUnnamed2700(core.List<api.Membership> o) {
unittest.expect(o, unittest.hasLength(2));
checkMembership(o[0]);
checkMembership(o[1]);
@@ -841,7 +841,7 @@
var o = new api.ListMembershipsResponse();
buildCounterListMembershipsResponse++;
if (buildCounterListMembershipsResponse < 3) {
- o.memberships = buildUnnamed2696();
+ o.memberships = buildUnnamed2700();
o.nextPageToken = "foo";
}
buildCounterListMembershipsResponse--;
@@ -851,7 +851,7 @@
checkListMembershipsResponse(api.ListMembershipsResponse o) {
buildCounterListMembershipsResponse++;
if (buildCounterListMembershipsResponse < 3) {
- checkUnnamed2696(o.memberships);
+ checkUnnamed2700(o.memberships);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListMembershipsResponse--;
@@ -895,14 +895,14 @@
buildCounterLookupMembershipNameResponse--;
}
-buildUnnamed2697() {
+buildUnnamed2701() {
var o = new core.List<api.MembershipRole>();
o.add(buildMembershipRole());
o.add(buildMembershipRole());
return o;
}
-checkUnnamed2697(core.List<api.MembershipRole> o) {
+checkUnnamed2701(core.List<api.MembershipRole> o) {
unittest.expect(o, unittest.hasLength(2));
checkMembershipRole(o[0]);
checkMembershipRole(o[1]);
@@ -916,7 +916,7 @@
o.createTime = "foo";
o.name = "foo";
o.preferredMemberKey = buildEntityKey();
- o.roles = buildUnnamed2697();
+ o.roles = buildUnnamed2701();
o.type = "foo";
o.updateTime = "foo";
}
@@ -930,7 +930,7 @@
unittest.expect(o.createTime, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
checkEntityKey(o.preferredMemberKey);
- checkUnnamed2697(o.roles);
+ checkUnnamed2701(o.roles);
unittest.expect(o.type, unittest.equals('foo'));
unittest.expect(o.updateTime, unittest.equals('foo'));
}
@@ -956,27 +956,27 @@
buildCounterMembershipRole--;
}
-buildUnnamed2698() {
+buildUnnamed2702() {
var o = new core.List<api.MembershipRole>();
o.add(buildMembershipRole());
o.add(buildMembershipRole());
return o;
}
-checkUnnamed2698(core.List<api.MembershipRole> o) {
+checkUnnamed2702(core.List<api.MembershipRole> o) {
unittest.expect(o, unittest.hasLength(2));
checkMembershipRole(o[0]);
checkMembershipRole(o[1]);
}
-buildUnnamed2699() {
+buildUnnamed2703() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2699(core.List<core.String> o) {
+checkUnnamed2703(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -987,8 +987,8 @@
var o = new api.ModifyMembershipRolesRequest();
buildCounterModifyMembershipRolesRequest++;
if (buildCounterModifyMembershipRolesRequest < 3) {
- o.addRoles = buildUnnamed2698();
- o.removeRoles = buildUnnamed2699();
+ o.addRoles = buildUnnamed2702();
+ o.removeRoles = buildUnnamed2703();
}
buildCounterModifyMembershipRolesRequest--;
return o;
@@ -997,8 +997,8 @@
checkModifyMembershipRolesRequest(api.ModifyMembershipRolesRequest o) {
buildCounterModifyMembershipRolesRequest++;
if (buildCounterModifyMembershipRolesRequest < 3) {
- checkUnnamed2698(o.addRoles);
- checkUnnamed2699(o.removeRoles);
+ checkUnnamed2702(o.addRoles);
+ checkUnnamed2703(o.removeRoles);
}
buildCounterModifyMembershipRolesRequest--;
}
@@ -1022,7 +1022,7 @@
buildCounterModifyMembershipRolesResponse--;
}
-buildUnnamed2700() {
+buildUnnamed2704() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1037,7 +1037,7 @@
return o;
}
-checkUnnamed2700(core.Map<core.String, core.Object> o) {
+checkUnnamed2704(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o["x"]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -1051,7 +1051,7 @@
unittest.expect(casted2["string"], unittest.equals('foo'));
}
-buildUnnamed2701() {
+buildUnnamed2705() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1066,7 +1066,7 @@
return o;
}
-checkUnnamed2701(core.Map<core.String, core.Object> o) {
+checkUnnamed2705(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted3 = (o["x"]) as core.Map;
unittest.expect(casted3, unittest.hasLength(3));
@@ -1087,9 +1087,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed2700();
+ o.metadata = buildUnnamed2704();
o.name = "foo";
- o.response = buildUnnamed2701();
+ o.response = buildUnnamed2705();
}
buildCounterOperation--;
return o;
@@ -1100,21 +1100,21 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed2700(o.metadata);
+ checkUnnamed2704(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2701(o.response);
+ checkUnnamed2705(o.response);
}
buildCounterOperation--;
}
-buildUnnamed2702() {
+buildUnnamed2706() {
var o = new core.List<api.Group>();
o.add(buildGroup());
o.add(buildGroup());
return o;
}
-checkUnnamed2702(core.List<api.Group> o) {
+checkUnnamed2706(core.List<api.Group> o) {
unittest.expect(o, unittest.hasLength(2));
checkGroup(o[0]);
checkGroup(o[1]);
@@ -1125,7 +1125,7 @@
var o = new api.SearchGroupsResponse();
buildCounterSearchGroupsResponse++;
if (buildCounterSearchGroupsResponse < 3) {
- o.groups = buildUnnamed2702();
+ o.groups = buildUnnamed2706();
o.nextPageToken = "foo";
}
buildCounterSearchGroupsResponse--;
@@ -1135,13 +1135,13 @@
checkSearchGroupsResponse(api.SearchGroupsResponse o) {
buildCounterSearchGroupsResponse++;
if (buildCounterSearchGroupsResponse < 3) {
- checkUnnamed2702(o.groups);
+ checkUnnamed2706(o.groups);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterSearchGroupsResponse--;
}
-buildUnnamed2703() {
+buildUnnamed2707() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1156,7 +1156,7 @@
return o;
}
-checkUnnamed2703(core.Map<core.String, core.Object> o) {
+checkUnnamed2707(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted5 = (o["x"]) as core.Map;
unittest.expect(casted5, unittest.hasLength(3));
@@ -1170,17 +1170,17 @@
unittest.expect(casted6["string"], unittest.equals('foo'));
}
-buildUnnamed2704() {
+buildUnnamed2708() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed2703());
- o.add(buildUnnamed2703());
+ o.add(buildUnnamed2707());
+ o.add(buildUnnamed2707());
return o;
}
-checkUnnamed2704(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed2708(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2703(o[0]);
- checkUnnamed2703(o[1]);
+ checkUnnamed2707(o[0]);
+ checkUnnamed2707(o[1]);
}
core.int buildCounterStatus = 0;
@@ -1189,7 +1189,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed2704();
+ o.details = buildUnnamed2708();
o.message = "foo";
}
buildCounterStatus--;
@@ -1200,7 +1200,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed2704(o.details);
+ checkUnnamed2708(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
@@ -1773,12 +1773,12 @@
unittest.test("method--list", () {
var mock = new HttpServerMock();
api.DevicesResourceApi res = new api.CloudidentityApi(mock).devices;
- var arg_view = "foo";
var arg_pageSize = 42;
- var arg_pageToken = "foo";
- var arg_customer = "foo";
- var arg_orderBy = "foo";
var arg_filter = "foo";
+ var arg_orderBy = "foo";
+ var arg_customer = "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;
@@ -1810,16 +1810,16 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
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));
+ queryMap["orderBy"].first, unittest.equals(arg_orderBy));
unittest.expect(
queryMap["customer"].first, unittest.equals(arg_customer));
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["view"].first, unittest.equals(arg_view));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1831,12 +1831,12 @@
}), true);
res
.list(
- view: arg_view,
pageSize: arg_pageSize,
- pageToken: arg_pageToken,
- customer: arg_customer,
- orderBy: arg_orderBy,
filter: arg_filter,
+ orderBy: arg_orderBy,
+ customer: arg_customer,
+ pageToken: arg_pageToken,
+ view: arg_view,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGoogleAppsCloudidentityDevicesV1ListDevicesResponse(response);
@@ -2197,10 +2197,10 @@
new api.CloudidentityApi(mock).devices.deviceUsers;
var arg_parent = "foo";
var arg_pageToken = "foo";
- var arg_customer = "foo";
var arg_pageSize = 42;
- var arg_filter = "foo";
var arg_orderBy = "foo";
+ var arg_customer = "foo";
+ var arg_filter = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2235,13 +2235,13 @@
}
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(
- queryMap["customer"].first, unittest.equals(arg_customer));
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["customer"].first, unittest.equals(arg_customer));
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2254,10 +2254,10 @@
res
.list(arg_parent,
pageToken: arg_pageToken,
- customer: arg_customer,
pageSize: arg_pageSize,
- filter: arg_filter,
orderBy: arg_orderBy,
+ customer: arg_customer,
+ filter: arg_filter,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGoogleAppsCloudidentityDevicesV1ListDeviceUsersResponse(response);
@@ -2272,8 +2272,8 @@
var arg_rawResourceId = "foo";
var arg_userId = "foo";
var arg_pageToken = "foo";
- var arg_pageSize = 42;
var arg_androidId = "foo";
+ var arg_pageSize = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2311,10 +2311,10 @@
unittest.expect(queryMap["userId"].first, unittest.equals(arg_userId));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
unittest.expect(
queryMap["androidId"].first, unittest.equals(arg_androidId));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2329,8 +2329,8 @@
rawResourceId: arg_rawResourceId,
userId: arg_userId,
pageToken: arg_pageToken,
- pageSize: arg_pageSize,
androidId: arg_androidId,
+ pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGoogleAppsCloudidentityDevicesV1LookupSelfDeviceUsersResponse(
@@ -2460,10 +2460,10 @@
api.DevicesDeviceUsersClientStatesResourceApi res =
new api.CloudidentityApi(mock).devices.deviceUsers.clientStates;
var arg_parent = "foo";
- var arg_customer = "foo";
+ var arg_orderBy = "foo";
var arg_filter = "foo";
var arg_pageToken = "foo";
- var arg_orderBy = "foo";
+ var arg_customer = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2497,12 +2497,12 @@
}
}
unittest.expect(
- queryMap["customer"].first, unittest.equals(arg_customer));
+ 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));
unittest.expect(
- queryMap["orderBy"].first, unittest.equals(arg_orderBy));
+ queryMap["customer"].first, unittest.equals(arg_customer));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2514,10 +2514,10 @@
}), true);
res
.list(arg_parent,
- customer: arg_customer,
+ orderBy: arg_orderBy,
filter: arg_filter,
pageToken: arg_pageToken,
- orderBy: arg_orderBy,
+ customer: arg_customer,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGoogleAppsCloudidentityDevicesV1ListClientStatesResponse(response);
@@ -2530,8 +2530,8 @@
new api.CloudidentityApi(mock).devices.deviceUsers.clientStates;
var arg_request = buildGoogleAppsCloudidentityDevicesV1ClientState();
var arg_name = "foo";
- var arg_customer = "foo";
var arg_updateMask = "foo";
+ var arg_customer = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj =
@@ -2569,9 +2569,9 @@
}
}
unittest.expect(
- queryMap["customer"].first, unittest.equals(arg_customer));
- unittest.expect(
queryMap["updateMask"].first, unittest.equals(arg_updateMask));
+ unittest.expect(
+ queryMap["customer"].first, unittest.equals(arg_customer));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2582,8 +2582,8 @@
}), true);
res
.patch(arg_request, arg_name,
- customer: arg_customer,
updateMask: arg_updateMask,
+ customer: arg_customer,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkOperation(response);
@@ -2755,9 +2755,9 @@
var mock = new HttpServerMock();
api.GroupsResourceApi res = new api.CloudidentityApi(mock).groups;
var arg_pageSize = 42;
- var arg_pageToken = "foo";
var arg_view = "foo";
var arg_parent = "foo";
+ var arg_pageToken = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2791,10 +2791,10 @@
}
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["parent"].first, unittest.equals(arg_parent));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2806,9 +2806,9 @@
res
.list(
pageSize: arg_pageSize,
- pageToken: arg_pageToken,
view: arg_view,
parent: arg_parent,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListGroupsResponse(response);
@@ -2935,10 +2935,10 @@
unittest.test("method--search", () {
var mock = new HttpServerMock();
api.GroupsResourceApi res = new api.CloudidentityApi(mock).groups;
- var arg_pageToken = "foo";
- var arg_query = "foo";
- var arg_pageSize = 42;
var arg_view = "foo";
+ var arg_query = "foo";
+ var arg_pageToken = "foo";
+ var arg_pageSize = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2970,12 +2970,12 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ 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(queryMap["query"].first, unittest.equals(arg_query));
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));
var h = {
@@ -2986,10 +2986,10 @@
}), true);
res
.search(
- pageToken: arg_pageToken,
- query: arg_query,
- pageSize: arg_pageSize,
view: arg_view,
+ query: arg_query,
+ pageToken: arg_pageToken,
+ pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkSearchGroupsResponse(response);
@@ -3163,8 +3163,8 @@
api.GroupsMembershipsResourceApi res =
new api.CloudidentityApi(mock).groups.memberships;
var arg_parent = "foo";
- var arg_view = "foo";
var arg_pageSize = 42;
+ var arg_view = "foo";
var arg_pageToken = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -3198,9 +3198,9 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
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["fields"].first, unittest.equals(arg_$fields));
@@ -3213,8 +3213,8 @@
}), true);
res
.list(arg_parent,
- view: arg_view,
pageSize: arg_pageSize,
+ view: arg_view,
pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
diff --git a/generated/googleapis/test/cloudiot/v1_test.dart b/generated/googleapis/test/cloudiot/v1_test.dart
index ef54094..069d75d 100644
--- a/generated/googleapis/test/cloudiot/v1_test.dart
+++ b/generated/googleapis/test/cloudiot/v1_test.dart
@@ -2075,14 +2075,14 @@
api.ProjectsLocationsRegistriesDevicesResourceApi res =
new api.CloudiotApi(mock).projects.locations.registries.devices;
var arg_parent = "foo";
- var arg_deviceIds = buildUnnamed116();
- var arg_gatewayListOptions_associationsDeviceId = "foo";
- var arg_pageSize = 42;
var arg_gatewayListOptions_gatewayType = "foo";
var arg_fieldMask = "foo";
+ var arg_gatewayListOptions_associationsDeviceId = "foo";
var arg_gatewayListOptions_associationsGatewayId = "foo";
- var arg_deviceNumIds = buildUnnamed117();
+ var arg_pageSize = 42;
+ var arg_deviceNumIds = buildUnnamed116();
var arg_pageToken = "foo";
+ var arg_deviceIds = buildUnnamed117();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2115,23 +2115,23 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["deviceIds"], unittest.equals(arg_deviceIds));
- unittest.expect(
- queryMap["gatewayListOptions.associationsDeviceId"].first,
- unittest.equals(arg_gatewayListOptions_associationsDeviceId));
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
unittest.expect(queryMap["gatewayListOptions.gatewayType"].first,
unittest.equals(arg_gatewayListOptions_gatewayType));
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(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 = {
@@ -2142,17 +2142,17 @@
}), true);
res
.list(arg_parent,
- deviceIds: arg_deviceIds,
- gatewayListOptions_associationsDeviceId:
- arg_gatewayListOptions_associationsDeviceId,
- pageSize: arg_pageSize,
gatewayListOptions_gatewayType:
arg_gatewayListOptions_gatewayType,
fieldMask: arg_fieldMask,
+ gatewayListOptions_associationsDeviceId:
+ arg_gatewayListOptions_associationsDeviceId,
gatewayListOptions_associationsGatewayId:
arg_gatewayListOptions_associationsGatewayId,
+ pageSize: arg_pageSize,
deviceNumIds: arg_deviceNumIds,
pageToken: arg_pageToken,
+ deviceIds: arg_deviceIds,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListDevicesResponse(response);
@@ -2642,14 +2642,14 @@
.groups
.devices;
var arg_parent = "foo";
- var arg_pageSize = 42;
- var arg_deviceIds = buildUnnamed118();
- var arg_pageToken = "foo";
- var arg_deviceNumIds = buildUnnamed119();
- var arg_gatewayListOptions_gatewayType = "foo";
- var arg_gatewayListOptions_associationsDeviceId = "foo";
- var arg_fieldMask = "foo";
var arg_gatewayListOptions_associationsGatewayId = "foo";
+ var arg_gatewayListOptions_gatewayType = "foo";
+ var arg_deviceIds = buildUnnamed118();
+ var arg_gatewayListOptions_associationsDeviceId = "foo";
+ var arg_deviceNumIds = buildUnnamed119();
+ 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;
@@ -2682,23 +2682,23 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
- unittest.expect(queryMap["deviceIds"], unittest.equals(arg_deviceIds));
unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(
- queryMap["deviceNumIds"], unittest.equals(arg_deviceNumIds));
+ 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["fieldMask"].first, unittest.equals(arg_fieldMask));
+ queryMap["deviceNumIds"], unittest.equals(arg_deviceNumIds));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
unittest.expect(
- queryMap["gatewayListOptions.associationsGatewayId"].first,
- unittest.equals(arg_gatewayListOptions_associationsGatewayId));
+ 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 = {
@@ -2709,17 +2709,17 @@
}), true);
res
.list(arg_parent,
- pageSize: arg_pageSize,
- deviceIds: arg_deviceIds,
- pageToken: arg_pageToken,
- deviceNumIds: arg_deviceNumIds,
- gatewayListOptions_gatewayType:
- arg_gatewayListOptions_gatewayType,
- gatewayListOptions_associationsDeviceId:
- arg_gatewayListOptions_associationsDeviceId,
- fieldMask: arg_fieldMask,
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 983f246..f432a34 100644
--- a/generated/googleapis/test/cloudkms/v1_test.dart
+++ b/generated/googleapis/test/cloudkms/v1_test.dart
@@ -140,14 +140,14 @@
buildCounterAsymmetricSignResponse--;
}
-buildUnnamed5354() {
+buildUnnamed5330() {
var o = new core.List<api.AuditLogConfig>();
o.add(buildAuditLogConfig());
o.add(buildAuditLogConfig());
return o;
}
-checkUnnamed5354(core.List<api.AuditLogConfig> o) {
+checkUnnamed5330(core.List<api.AuditLogConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuditLogConfig(o[0]);
checkAuditLogConfig(o[1]);
@@ -158,7 +158,7 @@
var o = new api.AuditConfig();
buildCounterAuditConfig++;
if (buildCounterAuditConfig < 3) {
- o.auditLogConfigs = buildUnnamed5354();
+ o.auditLogConfigs = buildUnnamed5330();
o.service = "foo";
}
buildCounterAuditConfig--;
@@ -168,20 +168,20 @@
checkAuditConfig(api.AuditConfig o) {
buildCounterAuditConfig++;
if (buildCounterAuditConfig < 3) {
- checkUnnamed5354(o.auditLogConfigs);
+ checkUnnamed5330(o.auditLogConfigs);
unittest.expect(o.service, unittest.equals('foo'));
}
buildCounterAuditConfig--;
}
-buildUnnamed5355() {
+buildUnnamed5331() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5355(core.List<core.String> o) {
+checkUnnamed5331(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -192,7 +192,7 @@
var o = new api.AuditLogConfig();
buildCounterAuditLogConfig++;
if (buildCounterAuditLogConfig < 3) {
- o.exemptedMembers = buildUnnamed5355();
+ o.exemptedMembers = buildUnnamed5331();
o.logType = "foo";
}
buildCounterAuditLogConfig--;
@@ -202,20 +202,20 @@
checkAuditLogConfig(api.AuditLogConfig o) {
buildCounterAuditLogConfig++;
if (buildCounterAuditLogConfig < 3) {
- checkUnnamed5355(o.exemptedMembers);
+ checkUnnamed5331(o.exemptedMembers);
unittest.expect(o.logType, unittest.equals('foo'));
}
buildCounterAuditLogConfig--;
}
-buildUnnamed5356() {
+buildUnnamed5332() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5356(core.List<core.String> o) {
+checkUnnamed5332(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -228,7 +228,7 @@
if (buildCounterBinding < 3) {
o.bindingId = "foo";
o.condition = buildExpr();
- o.members = buildUnnamed5356();
+ o.members = buildUnnamed5332();
o.role = "foo";
}
buildCounterBinding--;
@@ -240,46 +240,46 @@
if (buildCounterBinding < 3) {
unittest.expect(o.bindingId, unittest.equals('foo'));
checkExpr(o.condition);
- checkUnnamed5356(o.members);
+ checkUnnamed5332(o.members);
unittest.expect(o.role, unittest.equals('foo'));
}
buildCounterBinding--;
}
-buildUnnamed5357() {
+buildUnnamed5333() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5357(core.List<core.String> o) {
+checkUnnamed5333(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed5358() {
+buildUnnamed5334() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5358(core.List<core.String> o) {
+checkUnnamed5334(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed5359() {
+buildUnnamed5335() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5359(core.List<core.String> o) {
+checkUnnamed5335(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -290,9 +290,9 @@
var o = new api.CertificateChains();
buildCounterCertificateChains++;
if (buildCounterCertificateChains < 3) {
- o.caviumCerts = buildUnnamed5357();
- o.googleCardCerts = buildUnnamed5358();
- o.googlePartitionCerts = buildUnnamed5359();
+ o.caviumCerts = buildUnnamed5333();
+ o.googleCardCerts = buildUnnamed5334();
+ o.googlePartitionCerts = buildUnnamed5335();
}
buildCounterCertificateChains--;
return o;
@@ -301,21 +301,21 @@
checkCertificateChains(api.CertificateChains o) {
buildCounterCertificateChains++;
if (buildCounterCertificateChains < 3) {
- checkUnnamed5357(o.caviumCerts);
- checkUnnamed5358(o.googleCardCerts);
- checkUnnamed5359(o.googlePartitionCerts);
+ checkUnnamed5333(o.caviumCerts);
+ checkUnnamed5334(o.googleCardCerts);
+ checkUnnamed5335(o.googlePartitionCerts);
}
buildCounterCertificateChains--;
}
-buildUnnamed5360() {
+buildUnnamed5336() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed5360(core.Map<core.String, core.String> o) {
+checkUnnamed5336(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -327,7 +327,7 @@
buildCounterCryptoKey++;
if (buildCounterCryptoKey < 3) {
o.createTime = "foo";
- o.labels = buildUnnamed5360();
+ o.labels = buildUnnamed5336();
o.name = "foo";
o.nextRotationTime = "foo";
o.primary = buildCryptoKeyVersion();
@@ -343,7 +343,7 @@
buildCounterCryptoKey++;
if (buildCounterCryptoKey < 3) {
unittest.expect(o.createTime, unittest.equals('foo'));
- checkUnnamed5360(o.labels);
+ checkUnnamed5336(o.labels);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.nextRotationTime, unittest.equals('foo'));
checkCryptoKeyVersion(o.primary);
@@ -705,14 +705,14 @@
buildCounterKeyRing--;
}
-buildUnnamed5361() {
+buildUnnamed5337() {
var o = new core.List<api.CryptoKeyVersion>();
o.add(buildCryptoKeyVersion());
o.add(buildCryptoKeyVersion());
return o;
}
-checkUnnamed5361(core.List<api.CryptoKeyVersion> o) {
+checkUnnamed5337(core.List<api.CryptoKeyVersion> o) {
unittest.expect(o, unittest.hasLength(2));
checkCryptoKeyVersion(o[0]);
checkCryptoKeyVersion(o[1]);
@@ -723,7 +723,7 @@
var o = new api.ListCryptoKeyVersionsResponse();
buildCounterListCryptoKeyVersionsResponse++;
if (buildCounterListCryptoKeyVersionsResponse < 3) {
- o.cryptoKeyVersions = buildUnnamed5361();
+ o.cryptoKeyVersions = buildUnnamed5337();
o.nextPageToken = "foo";
o.totalSize = 42;
}
@@ -734,21 +734,21 @@
checkListCryptoKeyVersionsResponse(api.ListCryptoKeyVersionsResponse o) {
buildCounterListCryptoKeyVersionsResponse++;
if (buildCounterListCryptoKeyVersionsResponse < 3) {
- checkUnnamed5361(o.cryptoKeyVersions);
+ checkUnnamed5337(o.cryptoKeyVersions);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.totalSize, unittest.equals(42));
}
buildCounterListCryptoKeyVersionsResponse--;
}
-buildUnnamed5362() {
+buildUnnamed5338() {
var o = new core.List<api.CryptoKey>();
o.add(buildCryptoKey());
o.add(buildCryptoKey());
return o;
}
-checkUnnamed5362(core.List<api.CryptoKey> o) {
+checkUnnamed5338(core.List<api.CryptoKey> o) {
unittest.expect(o, unittest.hasLength(2));
checkCryptoKey(o[0]);
checkCryptoKey(o[1]);
@@ -759,7 +759,7 @@
var o = new api.ListCryptoKeysResponse();
buildCounterListCryptoKeysResponse++;
if (buildCounterListCryptoKeysResponse < 3) {
- o.cryptoKeys = buildUnnamed5362();
+ o.cryptoKeys = buildUnnamed5338();
o.nextPageToken = "foo";
o.totalSize = 42;
}
@@ -770,21 +770,21 @@
checkListCryptoKeysResponse(api.ListCryptoKeysResponse o) {
buildCounterListCryptoKeysResponse++;
if (buildCounterListCryptoKeysResponse < 3) {
- checkUnnamed5362(o.cryptoKeys);
+ checkUnnamed5338(o.cryptoKeys);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.totalSize, unittest.equals(42));
}
buildCounterListCryptoKeysResponse--;
}
-buildUnnamed5363() {
+buildUnnamed5339() {
var o = new core.List<api.ImportJob>();
o.add(buildImportJob());
o.add(buildImportJob());
return o;
}
-checkUnnamed5363(core.List<api.ImportJob> o) {
+checkUnnamed5339(core.List<api.ImportJob> o) {
unittest.expect(o, unittest.hasLength(2));
checkImportJob(o[0]);
checkImportJob(o[1]);
@@ -795,7 +795,7 @@
var o = new api.ListImportJobsResponse();
buildCounterListImportJobsResponse++;
if (buildCounterListImportJobsResponse < 3) {
- o.importJobs = buildUnnamed5363();
+ o.importJobs = buildUnnamed5339();
o.nextPageToken = "foo";
o.totalSize = 42;
}
@@ -806,21 +806,21 @@
checkListImportJobsResponse(api.ListImportJobsResponse o) {
buildCounterListImportJobsResponse++;
if (buildCounterListImportJobsResponse < 3) {
- checkUnnamed5363(o.importJobs);
+ checkUnnamed5339(o.importJobs);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.totalSize, unittest.equals(42));
}
buildCounterListImportJobsResponse--;
}
-buildUnnamed5364() {
+buildUnnamed5340() {
var o = new core.List<api.KeyRing>();
o.add(buildKeyRing());
o.add(buildKeyRing());
return o;
}
-checkUnnamed5364(core.List<api.KeyRing> o) {
+checkUnnamed5340(core.List<api.KeyRing> o) {
unittest.expect(o, unittest.hasLength(2));
checkKeyRing(o[0]);
checkKeyRing(o[1]);
@@ -831,7 +831,7 @@
var o = new api.ListKeyRingsResponse();
buildCounterListKeyRingsResponse++;
if (buildCounterListKeyRingsResponse < 3) {
- o.keyRings = buildUnnamed5364();
+ o.keyRings = buildUnnamed5340();
o.nextPageToken = "foo";
o.totalSize = 42;
}
@@ -842,21 +842,21 @@
checkListKeyRingsResponse(api.ListKeyRingsResponse o) {
buildCounterListKeyRingsResponse++;
if (buildCounterListKeyRingsResponse < 3) {
- checkUnnamed5364(o.keyRings);
+ checkUnnamed5340(o.keyRings);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.totalSize, unittest.equals(42));
}
buildCounterListKeyRingsResponse--;
}
-buildUnnamed5365() {
+buildUnnamed5341() {
var o = new core.List<api.Location>();
o.add(buildLocation());
o.add(buildLocation());
return o;
}
-checkUnnamed5365(core.List<api.Location> o) {
+checkUnnamed5341(core.List<api.Location> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocation(o[0]);
checkLocation(o[1]);
@@ -867,7 +867,7 @@
var o = new api.ListLocationsResponse();
buildCounterListLocationsResponse++;
if (buildCounterListLocationsResponse < 3) {
- o.locations = buildUnnamed5365();
+ o.locations = buildUnnamed5341();
o.nextPageToken = "foo";
}
buildCounterListLocationsResponse--;
@@ -877,26 +877,26 @@
checkListLocationsResponse(api.ListLocationsResponse o) {
buildCounterListLocationsResponse++;
if (buildCounterListLocationsResponse < 3) {
- checkUnnamed5365(o.locations);
+ checkUnnamed5341(o.locations);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListLocationsResponse--;
}
-buildUnnamed5366() {
+buildUnnamed5342() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed5366(core.Map<core.String, core.String> o) {
+checkUnnamed5342(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed5367() {
+buildUnnamed5343() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -911,7 +911,7 @@
return o;
}
-checkUnnamed5367(core.Map<core.String, core.Object> o) {
+checkUnnamed5343(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o["x"]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -931,9 +931,9 @@
buildCounterLocation++;
if (buildCounterLocation < 3) {
o.displayName = "foo";
- o.labels = buildUnnamed5366();
+ o.labels = buildUnnamed5342();
o.locationId = "foo";
- o.metadata = buildUnnamed5367();
+ o.metadata = buildUnnamed5343();
o.name = "foo";
}
buildCounterLocation--;
@@ -944,9 +944,9 @@
buildCounterLocation++;
if (buildCounterLocation < 3) {
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed5366(o.labels);
+ checkUnnamed5342(o.labels);
unittest.expect(o.locationId, unittest.equals('foo'));
- checkUnnamed5367(o.metadata);
+ checkUnnamed5343(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
}
buildCounterLocation--;
@@ -973,27 +973,27 @@
buildCounterLocationMetadata--;
}
-buildUnnamed5368() {
+buildUnnamed5344() {
var o = new core.List<api.AuditConfig>();
o.add(buildAuditConfig());
o.add(buildAuditConfig());
return o;
}
-checkUnnamed5368(core.List<api.AuditConfig> o) {
+checkUnnamed5344(core.List<api.AuditConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuditConfig(o[0]);
checkAuditConfig(o[1]);
}
-buildUnnamed5369() {
+buildUnnamed5345() {
var o = new core.List<api.Binding>();
o.add(buildBinding());
o.add(buildBinding());
return o;
}
-checkUnnamed5369(core.List<api.Binding> o) {
+checkUnnamed5345(core.List<api.Binding> o) {
unittest.expect(o, unittest.hasLength(2));
checkBinding(o[0]);
checkBinding(o[1]);
@@ -1004,8 +1004,8 @@
var o = new api.Policy();
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- o.auditConfigs = buildUnnamed5368();
- o.bindings = buildUnnamed5369();
+ o.auditConfigs = buildUnnamed5344();
+ o.bindings = buildUnnamed5345();
o.etag = "foo";
o.version = 42;
}
@@ -1016,8 +1016,8 @@
checkPolicy(api.Policy o) {
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- checkUnnamed5368(o.auditConfigs);
- checkUnnamed5369(o.bindings);
+ checkUnnamed5344(o.auditConfigs);
+ checkUnnamed5345(o.bindings);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals(42));
}
@@ -1085,14 +1085,14 @@
buildCounterSetIamPolicyRequest--;
}
-buildUnnamed5370() {
+buildUnnamed5346() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5370(core.List<core.String> o) {
+checkUnnamed5346(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1103,7 +1103,7 @@
var o = new api.TestIamPermissionsRequest();
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- o.permissions = buildUnnamed5370();
+ o.permissions = buildUnnamed5346();
}
buildCounterTestIamPermissionsRequest--;
return o;
@@ -1112,19 +1112,19 @@
checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) {
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- checkUnnamed5370(o.permissions);
+ checkUnnamed5346(o.permissions);
}
buildCounterTestIamPermissionsRequest--;
}
-buildUnnamed5371() {
+buildUnnamed5347() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5371(core.List<core.String> o) {
+checkUnnamed5347(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1135,7 +1135,7 @@
var o = new api.TestIamPermissionsResponse();
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- o.permissions = buildUnnamed5371();
+ o.permissions = buildUnnamed5347();
}
buildCounterTestIamPermissionsResponse--;
return o;
@@ -1144,7 +1144,7 @@
checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) {
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- checkUnnamed5371(o.permissions);
+ checkUnnamed5347(o.permissions);
}
buildCounterTestIamPermissionsResponse--;
}
@@ -1552,9 +1552,9 @@
api.ProjectsLocationsResourceApi res =
new api.CloudkmsApi(mock).projects.locations;
var arg_name = "foo";
+ var arg_pageSize = 42;
var arg_filter = "foo";
var arg_pageToken = "foo";
- var arg_pageSize = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1587,11 +1587,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ 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(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1602,9 +1602,9 @@
}), true);
res
.list(arg_name,
+ pageSize: arg_pageSize,
filter: arg_filter,
pageToken: arg_pageToken,
- pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListLocationsResponse(response);
@@ -1789,10 +1789,10 @@
api.ProjectsLocationsKeyRingsResourceApi res =
new api.CloudkmsApi(mock).projects.locations.keyRings;
var arg_parent = "foo";
- var arg_filter = "foo";
- var arg_pageSize = 42;
- var arg_pageToken = "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;
@@ -1825,13 +1825,13 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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["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 = {
@@ -1842,10 +1842,10 @@
}), true);
res
.list(arg_parent,
- filter: arg_filter,
- pageSize: arg_pageSize,
- pageToken: arg_pageToken,
orderBy: arg_orderBy,
+ pageSize: arg_pageSize,
+ filter: arg_filter,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListKeyRingsResponse(response);
@@ -1972,8 +1972,8 @@
new api.CloudkmsApi(mock).projects.locations.keyRings.cryptoKeys;
var arg_request = buildCryptoKey();
var arg_parent = "foo";
- var arg_cryptoKeyId = "foo";
var arg_skipInitialVersionCreation = true;
+ var arg_cryptoKeyId = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.CryptoKey.fromJson(json);
@@ -2009,10 +2009,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(
- queryMap["cryptoKeyId"].first, unittest.equals(arg_cryptoKeyId));
unittest.expect(queryMap["skipInitialVersionCreation"].first,
unittest.equals("$arg_skipInitialVersionCreation"));
+ unittest.expect(
+ queryMap["cryptoKeyId"].first, unittest.equals(arg_cryptoKeyId));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2023,8 +2023,8 @@
}), true);
res
.create(arg_request, arg_parent,
- cryptoKeyId: arg_cryptoKeyId,
skipInitialVersionCreation: arg_skipInitialVersionCreation,
+ cryptoKeyId: arg_cryptoKeyId,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkCryptoKey(response);
@@ -2259,11 +2259,11 @@
api.ProjectsLocationsKeyRingsCryptoKeysResourceApi res =
new api.CloudkmsApi(mock).projects.locations.keyRings.cryptoKeys;
var arg_parent = "foo";
- var arg_filter = "foo";
var arg_versionView = "foo";
- var arg_orderBy = "foo";
- var arg_pageSize = 42;
var arg_pageToken = "foo";
+ var arg_filter = "foo";
+ var arg_pageSize = 42;
+ var arg_orderBy = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2296,15 +2296,15 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(
queryMap["versionView"].first, unittest.equals(arg_versionView));
unittest.expect(
- queryMap["orderBy"].first, unittest.equals(arg_orderBy));
+ 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));
+ queryMap["orderBy"].first, unittest.equals(arg_orderBy));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2315,11 +2315,11 @@
}), true);
res
.list(arg_parent,
- filter: arg_filter,
versionView: arg_versionView,
- orderBy: arg_orderBy,
- pageSize: arg_pageSize,
pageToken: arg_pageToken,
+ filter: arg_filter,
+ pageSize: arg_pageSize,
+ orderBy: arg_orderBy,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListCryptoKeysResponse(response);
@@ -2987,11 +2987,11 @@
.cryptoKeys
.cryptoKeyVersions;
var arg_parent = "foo";
- var arg_view = "foo";
- var arg_orderBy = "foo";
- var arg_pageToken = "foo";
var arg_filter = "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) {
var path = (req.url).path;
@@ -3024,14 +3024,14 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
- 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(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));
var h = {
@@ -3042,11 +3042,11 @@
}), true);
res
.list(arg_parent,
- view: arg_view,
- orderBy: arg_orderBy,
- pageToken: arg_pageToken,
filter: arg_filter,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
+ orderBy: arg_orderBy,
+ view: arg_view,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListCryptoKeyVersionsResponse(response);
@@ -3357,10 +3357,10 @@
api.ProjectsLocationsKeyRingsImportJobsResourceApi res =
new api.CloudkmsApi(mock).projects.locations.keyRings.importJobs;
var arg_parent = "foo";
- var arg_filter = "foo";
- var arg_orderBy = "foo";
var arg_pageToken = "foo";
+ var arg_orderBy = "foo";
var arg_pageSize = 42;
+ var arg_filter = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3393,13 +3393,13 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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(
+ 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["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3410,10 +3410,10 @@
}), true);
res
.list(arg_parent,
- filter: arg_filter,
- orderBy: arg_orderBy,
pageToken: arg_pageToken,
+ orderBy: arg_orderBy,
pageSize: arg_pageSize,
+ filter: arg_filter,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListImportJobsResponse(response);
diff --git a/generated/googleapis/test/cloudprofiler/v2_test.dart b/generated/googleapis/test/cloudprofiler/v2_test.dart
index 527c3f0..21ef07e 100644
--- a/generated/googleapis/test/cloudprofiler/v2_test.dart
+++ b/generated/googleapis/test/cloudprofiler/v2_test.dart
@@ -50,14 +50,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed5018() {
+buildUnnamed5025() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5018(core.List<core.String> o) {
+checkUnnamed5025(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -69,7 +69,7 @@
buildCounterCreateProfileRequest++;
if (buildCounterCreateProfileRequest < 3) {
o.deployment = buildDeployment();
- o.profileType = buildUnnamed5018();
+ o.profileType = buildUnnamed5025();
}
buildCounterCreateProfileRequest--;
return o;
@@ -79,19 +79,19 @@
buildCounterCreateProfileRequest++;
if (buildCounterCreateProfileRequest < 3) {
checkDeployment(o.deployment);
- checkUnnamed5018(o.profileType);
+ checkUnnamed5025(o.profileType);
}
buildCounterCreateProfileRequest--;
}
-buildUnnamed5019() {
+buildUnnamed5026() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed5019(core.Map<core.String, core.String> o) {
+checkUnnamed5026(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -102,7 +102,7 @@
var o = new api.Deployment();
buildCounterDeployment++;
if (buildCounterDeployment < 3) {
- o.labels = buildUnnamed5019();
+ o.labels = buildUnnamed5026();
o.projectId = "foo";
o.target = "foo";
}
@@ -113,21 +113,21 @@
checkDeployment(api.Deployment o) {
buildCounterDeployment++;
if (buildCounterDeployment < 3) {
- checkUnnamed5019(o.labels);
+ checkUnnamed5026(o.labels);
unittest.expect(o.projectId, unittest.equals('foo'));
unittest.expect(o.target, unittest.equals('foo'));
}
buildCounterDeployment--;
}
-buildUnnamed5020() {
+buildUnnamed5027() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed5020(core.Map<core.String, core.String> o) {
+checkUnnamed5027(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -140,7 +140,7 @@
if (buildCounterProfile < 3) {
o.deployment = buildDeployment();
o.duration = "foo";
- o.labels = buildUnnamed5020();
+ o.labels = buildUnnamed5027();
o.name = "foo";
o.profileBytes = "foo";
o.profileType = "foo";
@@ -154,7 +154,7 @@
if (buildCounterProfile < 3) {
checkDeployment(o.deployment);
unittest.expect(o.duration, unittest.equals('foo'));
- checkUnnamed5020(o.labels);
+ checkUnnamed5027(o.labels);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.profileBytes, unittest.equals('foo'));
unittest.expect(o.profileType, unittest.equals('foo'));
diff --git a/generated/googleapis/test/cloudresourcemanager/v1_test.dart b/generated/googleapis/test/cloudresourcemanager/v1_test.dart
index c31e9b5..22ecddc 100644
--- a/generated/googleapis/test/cloudresourcemanager/v1_test.dart
+++ b/generated/googleapis/test/cloudresourcemanager/v1_test.dart
@@ -69,14 +69,14 @@
buildCounterAncestor--;
}
-buildUnnamed3146() {
+buildUnnamed3150() {
var o = new core.List<api.AuditLogConfig>();
o.add(buildAuditLogConfig());
o.add(buildAuditLogConfig());
return o;
}
-checkUnnamed3146(core.List<api.AuditLogConfig> o) {
+checkUnnamed3150(core.List<api.AuditLogConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuditLogConfig(o[0]);
checkAuditLogConfig(o[1]);
@@ -87,7 +87,7 @@
var o = new api.AuditConfig();
buildCounterAuditConfig++;
if (buildCounterAuditConfig < 3) {
- o.auditLogConfigs = buildUnnamed3146();
+ o.auditLogConfigs = buildUnnamed3150();
o.service = "foo";
}
buildCounterAuditConfig--;
@@ -97,20 +97,20 @@
checkAuditConfig(api.AuditConfig o) {
buildCounterAuditConfig++;
if (buildCounterAuditConfig < 3) {
- checkUnnamed3146(o.auditLogConfigs);
+ checkUnnamed3150(o.auditLogConfigs);
unittest.expect(o.service, unittest.equals('foo'));
}
buildCounterAuditConfig--;
}
-buildUnnamed3147() {
+buildUnnamed3151() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3147(core.List<core.String> o) {
+checkUnnamed3151(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -121,7 +121,7 @@
var o = new api.AuditLogConfig();
buildCounterAuditLogConfig++;
if (buildCounterAuditLogConfig < 3) {
- o.exemptedMembers = buildUnnamed3147();
+ o.exemptedMembers = buildUnnamed3151();
o.logType = "foo";
}
buildCounterAuditLogConfig--;
@@ -131,20 +131,20 @@
checkAuditLogConfig(api.AuditLogConfig o) {
buildCounterAuditLogConfig++;
if (buildCounterAuditLogConfig < 3) {
- checkUnnamed3147(o.exemptedMembers);
+ checkUnnamed3151(o.exemptedMembers);
unittest.expect(o.logType, unittest.equals('foo'));
}
buildCounterAuditLogConfig--;
}
-buildUnnamed3148() {
+buildUnnamed3152() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3148(core.List<core.String> o) {
+checkUnnamed3152(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -157,7 +157,7 @@
if (buildCounterBinding < 3) {
o.bindingId = "foo";
o.condition = buildExpr();
- o.members = buildUnnamed3148();
+ o.members = buildUnnamed3152();
o.role = "foo";
}
buildCounterBinding--;
@@ -169,7 +169,7 @@
if (buildCounterBinding < 3) {
unittest.expect(o.bindingId, unittest.equals('foo'));
checkExpr(o.condition);
- checkUnnamed3148(o.members);
+ checkUnnamed3152(o.members);
unittest.expect(o.role, unittest.equals('foo'));
}
buildCounterBinding--;
@@ -360,14 +360,14 @@
buildCounterGetAncestryRequest--;
}
-buildUnnamed3149() {
+buildUnnamed3153() {
var o = new core.List<api.Ancestor>();
o.add(buildAncestor());
o.add(buildAncestor());
return o;
}
-checkUnnamed3149(core.List<api.Ancestor> o) {
+checkUnnamed3153(core.List<api.Ancestor> o) {
unittest.expect(o, unittest.hasLength(2));
checkAncestor(o[0]);
checkAncestor(o[1]);
@@ -378,7 +378,7 @@
var o = new api.GetAncestryResponse();
buildCounterGetAncestryResponse++;
if (buildCounterGetAncestryResponse < 3) {
- o.ancestor = buildUnnamed3149();
+ o.ancestor = buildUnnamed3153();
}
buildCounterGetAncestryResponse--;
return o;
@@ -387,7 +387,7 @@
checkGetAncestryResponse(api.GetAncestryResponse o) {
buildCounterGetAncestryResponse++;
if (buildCounterGetAncestryResponse < 3) {
- checkUnnamed3149(o.ancestor);
+ checkUnnamed3153(o.ancestor);
}
buildCounterGetAncestryResponse--;
}
@@ -468,14 +468,14 @@
buildCounterGetPolicyOptions--;
}
-buildUnnamed3150() {
+buildUnnamed3154() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3150(core.List<core.String> o) {
+checkUnnamed3154(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -491,7 +491,7 @@
o.origin = "foo";
o.parent = "foo";
o.reason = "foo";
- o.restrictions = buildUnnamed3150();
+ o.restrictions = buildUnnamed3154();
}
buildCounterLien--;
return o;
@@ -505,7 +505,7 @@
unittest.expect(o.origin, unittest.equals('foo'));
unittest.expect(o.parent, unittest.equals('foo'));
unittest.expect(o.reason, unittest.equals('foo'));
- checkUnnamed3150(o.restrictions);
+ checkUnnamed3154(o.restrictions);
}
buildCounterLien--;
}
@@ -532,14 +532,14 @@
buildCounterListAvailableOrgPolicyConstraintsRequest--;
}
-buildUnnamed3151() {
+buildUnnamed3155() {
var o = new core.List<api.Constraint>();
o.add(buildConstraint());
o.add(buildConstraint());
return o;
}
-checkUnnamed3151(core.List<api.Constraint> o) {
+checkUnnamed3155(core.List<api.Constraint> o) {
unittest.expect(o, unittest.hasLength(2));
checkConstraint(o[0]);
checkConstraint(o[1]);
@@ -550,7 +550,7 @@
var o = new api.ListAvailableOrgPolicyConstraintsResponse();
buildCounterListAvailableOrgPolicyConstraintsResponse++;
if (buildCounterListAvailableOrgPolicyConstraintsResponse < 3) {
- o.constraints = buildUnnamed3151();
+ o.constraints = buildUnnamed3155();
o.nextPageToken = "foo";
}
buildCounterListAvailableOrgPolicyConstraintsResponse--;
@@ -561,7 +561,7 @@
api.ListAvailableOrgPolicyConstraintsResponse o) {
buildCounterListAvailableOrgPolicyConstraintsResponse++;
if (buildCounterListAvailableOrgPolicyConstraintsResponse < 3) {
- checkUnnamed3151(o.constraints);
+ checkUnnamed3155(o.constraints);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListAvailableOrgPolicyConstraintsResponse--;
@@ -588,14 +588,14 @@
buildCounterListConstraint--;
}
-buildUnnamed3152() {
+buildUnnamed3156() {
var o = new core.List<api.Lien>();
o.add(buildLien());
o.add(buildLien());
return o;
}
-checkUnnamed3152(core.List<api.Lien> o) {
+checkUnnamed3156(core.List<api.Lien> o) {
unittest.expect(o, unittest.hasLength(2));
checkLien(o[0]);
checkLien(o[1]);
@@ -606,7 +606,7 @@
var o = new api.ListLiensResponse();
buildCounterListLiensResponse++;
if (buildCounterListLiensResponse < 3) {
- o.liens = buildUnnamed3152();
+ o.liens = buildUnnamed3156();
o.nextPageToken = "foo";
}
buildCounterListLiensResponse--;
@@ -616,7 +616,7 @@
checkListLiensResponse(api.ListLiensResponse o) {
buildCounterListLiensResponse++;
if (buildCounterListLiensResponse < 3) {
- checkUnnamed3152(o.liens);
+ checkUnnamed3156(o.liens);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListLiensResponse--;
@@ -643,14 +643,14 @@
buildCounterListOrgPoliciesRequest--;
}
-buildUnnamed3153() {
+buildUnnamed3157() {
var o = new core.List<api.OrgPolicy>();
o.add(buildOrgPolicy());
o.add(buildOrgPolicy());
return o;
}
-checkUnnamed3153(core.List<api.OrgPolicy> o) {
+checkUnnamed3157(core.List<api.OrgPolicy> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrgPolicy(o[0]);
checkOrgPolicy(o[1]);
@@ -662,7 +662,7 @@
buildCounterListOrgPoliciesResponse++;
if (buildCounterListOrgPoliciesResponse < 3) {
o.nextPageToken = "foo";
- o.policies = buildUnnamed3153();
+ o.policies = buildUnnamed3157();
}
buildCounterListOrgPoliciesResponse--;
return o;
@@ -672,32 +672,32 @@
buildCounterListOrgPoliciesResponse++;
if (buildCounterListOrgPoliciesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3153(o.policies);
+ checkUnnamed3157(o.policies);
}
buildCounterListOrgPoliciesResponse--;
}
-buildUnnamed3154() {
+buildUnnamed3158() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3154(core.List<core.String> o) {
+checkUnnamed3158(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3155() {
+buildUnnamed3159() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3155(core.List<core.String> o) {
+checkUnnamed3159(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -709,8 +709,8 @@
buildCounterListPolicy++;
if (buildCounterListPolicy < 3) {
o.allValues = "foo";
- o.allowedValues = buildUnnamed3154();
- o.deniedValues = buildUnnamed3155();
+ o.allowedValues = buildUnnamed3158();
+ o.deniedValues = buildUnnamed3159();
o.inheritFromParent = true;
o.suggestedValue = "foo";
}
@@ -722,22 +722,22 @@
buildCounterListPolicy++;
if (buildCounterListPolicy < 3) {
unittest.expect(o.allValues, unittest.equals('foo'));
- checkUnnamed3154(o.allowedValues);
- checkUnnamed3155(o.deniedValues);
+ checkUnnamed3158(o.allowedValues);
+ checkUnnamed3159(o.deniedValues);
unittest.expect(o.inheritFromParent, unittest.isTrue);
unittest.expect(o.suggestedValue, unittest.equals('foo'));
}
buildCounterListPolicy--;
}
-buildUnnamed3156() {
+buildUnnamed3160() {
var o = new core.List<api.Project>();
o.add(buildProject());
o.add(buildProject());
return o;
}
-checkUnnamed3156(core.List<api.Project> o) {
+checkUnnamed3160(core.List<api.Project> o) {
unittest.expect(o, unittest.hasLength(2));
checkProject(o[0]);
checkProject(o[1]);
@@ -749,7 +749,7 @@
buildCounterListProjectsResponse++;
if (buildCounterListProjectsResponse < 3) {
o.nextPageToken = "foo";
- o.projects = buildUnnamed3156();
+ o.projects = buildUnnamed3160();
}
buildCounterListProjectsResponse--;
return o;
@@ -759,12 +759,12 @@
buildCounterListProjectsResponse++;
if (buildCounterListProjectsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3156(o.projects);
+ checkUnnamed3160(o.projects);
}
buildCounterListProjectsResponse--;
}
-buildUnnamed3157() {
+buildUnnamed3161() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -779,7 +779,7 @@
return o;
}
-checkUnnamed3157(core.Map<core.String, core.Object> o) {
+checkUnnamed3161(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o["x"]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -793,7 +793,7 @@
unittest.expect(casted2["string"], unittest.equals('foo'));
}
-buildUnnamed3158() {
+buildUnnamed3162() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -808,7 +808,7 @@
return o;
}
-checkUnnamed3158(core.Map<core.String, core.Object> o) {
+checkUnnamed3162(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted3 = (o["x"]) as core.Map;
unittest.expect(casted3, unittest.hasLength(3));
@@ -829,9 +829,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed3157();
+ o.metadata = buildUnnamed3161();
o.name = "foo";
- o.response = buildUnnamed3158();
+ o.response = buildUnnamed3162();
}
buildCounterOperation--;
return o;
@@ -842,9 +842,9 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed3157(o.metadata);
+ checkUnnamed3161(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed3158(o.response);
+ checkUnnamed3162(o.response);
}
buildCounterOperation--;
}
@@ -926,27 +926,27 @@
buildCounterOrganizationOwner--;
}
-buildUnnamed3159() {
+buildUnnamed3163() {
var o = new core.List<api.AuditConfig>();
o.add(buildAuditConfig());
o.add(buildAuditConfig());
return o;
}
-checkUnnamed3159(core.List<api.AuditConfig> o) {
+checkUnnamed3163(core.List<api.AuditConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuditConfig(o[0]);
checkAuditConfig(o[1]);
}
-buildUnnamed3160() {
+buildUnnamed3164() {
var o = new core.List<api.Binding>();
o.add(buildBinding());
o.add(buildBinding());
return o;
}
-checkUnnamed3160(core.List<api.Binding> o) {
+checkUnnamed3164(core.List<api.Binding> o) {
unittest.expect(o, unittest.hasLength(2));
checkBinding(o[0]);
checkBinding(o[1]);
@@ -957,8 +957,8 @@
var o = new api.Policy();
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- o.auditConfigs = buildUnnamed3159();
- o.bindings = buildUnnamed3160();
+ o.auditConfigs = buildUnnamed3163();
+ o.bindings = buildUnnamed3164();
o.etag = "foo";
o.version = 42;
}
@@ -969,22 +969,22 @@
checkPolicy(api.Policy o) {
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- checkUnnamed3159(o.auditConfigs);
- checkUnnamed3160(o.bindings);
+ checkUnnamed3163(o.auditConfigs);
+ checkUnnamed3164(o.bindings);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals(42));
}
buildCounterPolicy--;
}
-buildUnnamed3161() {
+buildUnnamed3165() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3161(core.Map<core.String, core.String> o) {
+checkUnnamed3165(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -996,7 +996,7 @@
buildCounterProject++;
if (buildCounterProject < 3) {
o.createTime = "foo";
- o.labels = buildUnnamed3161();
+ o.labels = buildUnnamed3165();
o.lifecycleState = "foo";
o.name = "foo";
o.parent = buildResourceId();
@@ -1011,7 +1011,7 @@
buildCounterProject++;
if (buildCounterProject < 3) {
unittest.expect(o.createTime, unittest.equals('foo'));
- checkUnnamed3161(o.labels);
+ checkUnnamed3165(o.labels);
unittest.expect(o.lifecycleState, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
checkResourceId(o.parent);
@@ -1103,14 +1103,14 @@
buildCounterSearchOrganizationsRequest--;
}
-buildUnnamed3162() {
+buildUnnamed3166() {
var o = new core.List<api.Organization>();
o.add(buildOrganization());
o.add(buildOrganization());
return o;
}
-checkUnnamed3162(core.List<api.Organization> o) {
+checkUnnamed3166(core.List<api.Organization> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrganization(o[0]);
checkOrganization(o[1]);
@@ -1122,7 +1122,7 @@
buildCounterSearchOrganizationsResponse++;
if (buildCounterSearchOrganizationsResponse < 3) {
o.nextPageToken = "foo";
- o.organizations = buildUnnamed3162();
+ o.organizations = buildUnnamed3166();
}
buildCounterSearchOrganizationsResponse--;
return o;
@@ -1132,7 +1132,7 @@
buildCounterSearchOrganizationsResponse++;
if (buildCounterSearchOrganizationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3162(o.organizations);
+ checkUnnamed3166(o.organizations);
}
buildCounterSearchOrganizationsResponse--;
}
@@ -1177,7 +1177,7 @@
buildCounterSetOrgPolicyRequest--;
}
-buildUnnamed3163() {
+buildUnnamed3167() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1192,7 +1192,7 @@
return o;
}
-checkUnnamed3163(core.Map<core.String, core.Object> o) {
+checkUnnamed3167(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted5 = (o["x"]) as core.Map;
unittest.expect(casted5, unittest.hasLength(3));
@@ -1206,17 +1206,17 @@
unittest.expect(casted6["string"], unittest.equals('foo'));
}
-buildUnnamed3164() {
+buildUnnamed3168() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed3163());
- o.add(buildUnnamed3163());
+ o.add(buildUnnamed3167());
+ o.add(buildUnnamed3167());
return o;
}
-checkUnnamed3164(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed3168(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed3163(o[0]);
- checkUnnamed3163(o[1]);
+ checkUnnamed3167(o[0]);
+ checkUnnamed3167(o[1]);
}
core.int buildCounterStatus = 0;
@@ -1225,7 +1225,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed3164();
+ o.details = buildUnnamed3168();
o.message = "foo";
}
buildCounterStatus--;
@@ -1236,20 +1236,20 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed3164(o.details);
+ checkUnnamed3168(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
}
-buildUnnamed3165() {
+buildUnnamed3169() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3165(core.List<core.String> o) {
+checkUnnamed3169(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1260,7 +1260,7 @@
var o = new api.TestIamPermissionsRequest();
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- o.permissions = buildUnnamed3165();
+ o.permissions = buildUnnamed3169();
}
buildCounterTestIamPermissionsRequest--;
return o;
@@ -1269,19 +1269,19 @@
checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) {
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- checkUnnamed3165(o.permissions);
+ checkUnnamed3169(o.permissions);
}
buildCounterTestIamPermissionsRequest--;
}
-buildUnnamed3166() {
+buildUnnamed3170() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3166(core.List<core.String> o) {
+checkUnnamed3170(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1292,7 +1292,7 @@
var o = new api.TestIamPermissionsResponse();
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- o.permissions = buildUnnamed3166();
+ o.permissions = buildUnnamed3170();
}
buildCounterTestIamPermissionsResponse--;
return o;
@@ -1301,7 +1301,7 @@
checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) {
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- checkUnnamed3166(o.permissions);
+ checkUnnamed3170(o.permissions);
}
buildCounterTestIamPermissionsResponse--;
}
@@ -2177,9 +2177,9 @@
unittest.test("method--list", () {
var mock = new HttpServerMock();
api.LiensResourceApi res = new api.CloudresourcemanagerApi(mock).liens;
- var arg_pageToken = "foo";
- var arg_parent = "foo";
var arg_pageSize = 42;
+ var arg_parent = "foo";
+ var arg_pageToken = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2211,11 +2211,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(queryMap["parent"].first, unittest.equals(arg_parent));
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["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2226,9 +2226,9 @@
}), true);
res
.list(
- pageToken: arg_pageToken,
- parent: arg_parent,
pageSize: arg_pageSize,
+ parent: arg_parent,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListLiensResponse(response);
@@ -3370,9 +3370,9 @@
var mock = new HttpServerMock();
api.ProjectsResourceApi res =
new 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;
@@ -3404,11 +3404,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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 = {
@@ -3419,9 +3419,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 5acec11..b18e4d2 100644
--- a/generated/googleapis/test/cloudresourcemanager/v2_test.dart
+++ b/generated/googleapis/test/cloudresourcemanager/v2_test.dart
@@ -50,14 +50,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed4833() {
+buildUnnamed4840() {
var o = new core.List<api.AuditLogConfig>();
o.add(buildAuditLogConfig());
o.add(buildAuditLogConfig());
return o;
}
-checkUnnamed4833(core.List<api.AuditLogConfig> o) {
+checkUnnamed4840(core.List<api.AuditLogConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuditLogConfig(o[0]);
checkAuditLogConfig(o[1]);
@@ -68,7 +68,7 @@
var o = new api.AuditConfig();
buildCounterAuditConfig++;
if (buildCounterAuditConfig < 3) {
- o.auditLogConfigs = buildUnnamed4833();
+ o.auditLogConfigs = buildUnnamed4840();
o.service = "foo";
}
buildCounterAuditConfig--;
@@ -78,20 +78,20 @@
checkAuditConfig(api.AuditConfig o) {
buildCounterAuditConfig++;
if (buildCounterAuditConfig < 3) {
- checkUnnamed4833(o.auditLogConfigs);
+ checkUnnamed4840(o.auditLogConfigs);
unittest.expect(o.service, unittest.equals('foo'));
}
buildCounterAuditConfig--;
}
-buildUnnamed4834() {
+buildUnnamed4841() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4834(core.List<core.String> o) {
+checkUnnamed4841(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -102,7 +102,7 @@
var o = new api.AuditLogConfig();
buildCounterAuditLogConfig++;
if (buildCounterAuditLogConfig < 3) {
- o.exemptedMembers = buildUnnamed4834();
+ o.exemptedMembers = buildUnnamed4841();
o.logType = "foo";
}
buildCounterAuditLogConfig--;
@@ -112,20 +112,20 @@
checkAuditLogConfig(api.AuditLogConfig o) {
buildCounterAuditLogConfig++;
if (buildCounterAuditLogConfig < 3) {
- checkUnnamed4834(o.exemptedMembers);
+ checkUnnamed4841(o.exemptedMembers);
unittest.expect(o.logType, unittest.equals('foo'));
}
buildCounterAuditLogConfig--;
}
-buildUnnamed4835() {
+buildUnnamed4842() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4835(core.List<core.String> o) {
+checkUnnamed4842(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -138,7 +138,7 @@
if (buildCounterBinding < 3) {
o.bindingId = "foo";
o.condition = buildExpr();
- o.members = buildUnnamed4835();
+ o.members = buildUnnamed4842();
o.role = "foo";
}
buildCounterBinding--;
@@ -150,7 +150,7 @@
if (buildCounterBinding < 3) {
unittest.expect(o.bindingId, unittest.equals('foo'));
checkExpr(o.condition);
- checkUnnamed4835(o.members);
+ checkUnnamed4842(o.members);
unittest.expect(o.role, unittest.equals('foo'));
}
buildCounterBinding--;
@@ -290,14 +290,14 @@
buildCounterGetPolicyOptions--;
}
-buildUnnamed4836() {
+buildUnnamed4843() {
var o = new core.List<api.Folder>();
o.add(buildFolder());
o.add(buildFolder());
return o;
}
-checkUnnamed4836(core.List<api.Folder> o) {
+checkUnnamed4843(core.List<api.Folder> o) {
unittest.expect(o, unittest.hasLength(2));
checkFolder(o[0]);
checkFolder(o[1]);
@@ -308,7 +308,7 @@
var o = new api.ListFoldersResponse();
buildCounterListFoldersResponse++;
if (buildCounterListFoldersResponse < 3) {
- o.folders = buildUnnamed4836();
+ o.folders = buildUnnamed4843();
o.nextPageToken = "foo";
}
buildCounterListFoldersResponse--;
@@ -318,7 +318,7 @@
checkListFoldersResponse(api.ListFoldersResponse o) {
buildCounterListFoldersResponse++;
if (buildCounterListFoldersResponse < 3) {
- checkUnnamed4836(o.folders);
+ checkUnnamed4843(o.folders);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListFoldersResponse--;
@@ -343,7 +343,7 @@
buildCounterMoveFolderRequest--;
}
-buildUnnamed4837() {
+buildUnnamed4844() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -358,7 +358,7 @@
return o;
}
-checkUnnamed4837(core.Map<core.String, core.Object> o) {
+checkUnnamed4844(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o["x"]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -372,7 +372,7 @@
unittest.expect(casted2["string"], unittest.equals('foo'));
}
-buildUnnamed4838() {
+buildUnnamed4845() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -387,7 +387,7 @@
return o;
}
-checkUnnamed4838(core.Map<core.String, core.Object> o) {
+checkUnnamed4845(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted3 = (o["x"]) as core.Map;
unittest.expect(casted3, unittest.hasLength(3));
@@ -408,9 +408,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed4837();
+ o.metadata = buildUnnamed4844();
o.name = "foo";
- o.response = buildUnnamed4838();
+ o.response = buildUnnamed4845();
}
buildCounterOperation--;
return o;
@@ -421,34 +421,34 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed4837(o.metadata);
+ checkUnnamed4844(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed4838(o.response);
+ checkUnnamed4845(o.response);
}
buildCounterOperation--;
}
-buildUnnamed4839() {
+buildUnnamed4846() {
var o = new core.List<api.AuditConfig>();
o.add(buildAuditConfig());
o.add(buildAuditConfig());
return o;
}
-checkUnnamed4839(core.List<api.AuditConfig> o) {
+checkUnnamed4846(core.List<api.AuditConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuditConfig(o[0]);
checkAuditConfig(o[1]);
}
-buildUnnamed4840() {
+buildUnnamed4847() {
var o = new core.List<api.Binding>();
o.add(buildBinding());
o.add(buildBinding());
return o;
}
-checkUnnamed4840(core.List<api.Binding> o) {
+checkUnnamed4847(core.List<api.Binding> o) {
unittest.expect(o, unittest.hasLength(2));
checkBinding(o[0]);
checkBinding(o[1]);
@@ -459,8 +459,8 @@
var o = new api.Policy();
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- o.auditConfigs = buildUnnamed4839();
- o.bindings = buildUnnamed4840();
+ o.auditConfigs = buildUnnamed4846();
+ o.bindings = buildUnnamed4847();
o.etag = "foo";
o.version = 42;
}
@@ -471,8 +471,8 @@
checkPolicy(api.Policy o) {
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- checkUnnamed4839(o.auditConfigs);
- checkUnnamed4840(o.bindings);
+ checkUnnamed4846(o.auditConfigs);
+ checkUnnamed4847(o.bindings);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals(42));
}
@@ -525,14 +525,14 @@
buildCounterSearchFoldersRequest--;
}
-buildUnnamed4841() {
+buildUnnamed4848() {
var o = new core.List<api.Folder>();
o.add(buildFolder());
o.add(buildFolder());
return o;
}
-checkUnnamed4841(core.List<api.Folder> o) {
+checkUnnamed4848(core.List<api.Folder> o) {
unittest.expect(o, unittest.hasLength(2));
checkFolder(o[0]);
checkFolder(o[1]);
@@ -543,7 +543,7 @@
var o = new api.SearchFoldersResponse();
buildCounterSearchFoldersResponse++;
if (buildCounterSearchFoldersResponse < 3) {
- o.folders = buildUnnamed4841();
+ o.folders = buildUnnamed4848();
o.nextPageToken = "foo";
}
buildCounterSearchFoldersResponse--;
@@ -553,7 +553,7 @@
checkSearchFoldersResponse(api.SearchFoldersResponse o) {
buildCounterSearchFoldersResponse++;
if (buildCounterSearchFoldersResponse < 3) {
- checkUnnamed4841(o.folders);
+ checkUnnamed4848(o.folders);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterSearchFoldersResponse--;
@@ -580,7 +580,7 @@
buildCounterSetIamPolicyRequest--;
}
-buildUnnamed4842() {
+buildUnnamed4849() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -595,7 +595,7 @@
return o;
}
-checkUnnamed4842(core.Map<core.String, core.Object> o) {
+checkUnnamed4849(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted5 = (o["x"]) as core.Map;
unittest.expect(casted5, unittest.hasLength(3));
@@ -609,17 +609,17 @@
unittest.expect(casted6["string"], unittest.equals('foo'));
}
-buildUnnamed4843() {
+buildUnnamed4850() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed4842());
- o.add(buildUnnamed4842());
+ o.add(buildUnnamed4849());
+ o.add(buildUnnamed4849());
return o;
}
-checkUnnamed4843(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed4850(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed4842(o[0]);
- checkUnnamed4842(o[1]);
+ checkUnnamed4849(o[0]);
+ checkUnnamed4849(o[1]);
}
core.int buildCounterStatus = 0;
@@ -628,7 +628,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed4843();
+ o.details = buildUnnamed4850();
o.message = "foo";
}
buildCounterStatus--;
@@ -639,20 +639,20 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed4843(o.details);
+ checkUnnamed4850(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
}
-buildUnnamed4844() {
+buildUnnamed4851() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4844(core.List<core.String> o) {
+checkUnnamed4851(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -663,7 +663,7 @@
var o = new api.TestIamPermissionsRequest();
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- o.permissions = buildUnnamed4844();
+ o.permissions = buildUnnamed4851();
}
buildCounterTestIamPermissionsRequest--;
return o;
@@ -672,19 +672,19 @@
checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) {
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- checkUnnamed4844(o.permissions);
+ checkUnnamed4851(o.permissions);
}
buildCounterTestIamPermissionsRequest--;
}
-buildUnnamed4845() {
+buildUnnamed4852() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4845(core.List<core.String> o) {
+checkUnnamed4852(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -695,7 +695,7 @@
var o = new api.TestIamPermissionsResponse();
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- o.permissions = buildUnnamed4845();
+ o.permissions = buildUnnamed4852();
}
buildCounterTestIamPermissionsResponse--;
return o;
@@ -704,7 +704,7 @@
checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) {
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- checkUnnamed4845(o.permissions);
+ checkUnnamed4852(o.permissions);
}
buildCounterTestIamPermissionsResponse--;
}
@@ -1114,10 +1114,10 @@
var mock = new HttpServerMock();
api.FoldersResourceApi res =
new api.CloudresourcemanagerApi(mock).folders;
- var arg_pageSize = 42;
+ var arg_showDeleted = true;
var arg_parent = "foo";
var arg_pageToken = "foo";
- var arg_showDeleted = true;
+ var arg_pageSize = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1149,13 +1149,13 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
+ 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(
- queryMap["showDeleted"].first, unittest.equals("$arg_showDeleted"));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1166,10 +1166,10 @@
}), true);
res
.list(
- pageSize: arg_pageSize,
+ showDeleted: arg_showDeleted,
parent: arg_parent,
pageToken: arg_pageToken,
- showDeleted: arg_showDeleted,
+ pageSize: arg_pageSize,
$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 a2c5a8a..ef8399b 100644
--- a/generated/googleapis/test/cloudscheduler/v1_test.dart
+++ b/generated/googleapis/test/cloudscheduler/v1_test.dart
@@ -50,14 +50,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed4125() {
+buildUnnamed4132() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed4125(core.Map<core.String, core.String> o) {
+checkUnnamed4132(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -70,7 +70,7 @@
if (buildCounterAppEngineHttpTarget < 3) {
o.appEngineRouting = buildAppEngineRouting();
o.body = "foo";
- o.headers = buildUnnamed4125();
+ o.headers = buildUnnamed4132();
o.httpMethod = "foo";
o.relativeUri = "foo";
}
@@ -83,7 +83,7 @@
if (buildCounterAppEngineHttpTarget < 3) {
checkAppEngineRouting(o.appEngineRouting);
unittest.expect(o.body, unittest.equals('foo'));
- checkUnnamed4125(o.headers);
+ checkUnnamed4132(o.headers);
unittest.expect(o.httpMethod, unittest.equals('foo'));
unittest.expect(o.relativeUri, unittest.equals('foo'));
}
@@ -130,14 +130,14 @@
buildCounterEmpty--;
}
-buildUnnamed4126() {
+buildUnnamed4133() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed4126(core.Map<core.String, core.String> o) {
+checkUnnamed4133(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -149,7 +149,7 @@
buildCounterHttpTarget++;
if (buildCounterHttpTarget < 3) {
o.body = "foo";
- o.headers = buildUnnamed4126();
+ o.headers = buildUnnamed4133();
o.httpMethod = "foo";
o.oauthToken = buildOAuthToken();
o.oidcToken = buildOidcToken();
@@ -163,7 +163,7 @@
buildCounterHttpTarget++;
if (buildCounterHttpTarget < 3) {
unittest.expect(o.body, unittest.equals('foo'));
- checkUnnamed4126(o.headers);
+ checkUnnamed4133(o.headers);
unittest.expect(o.httpMethod, unittest.equals('foo'));
checkOAuthToken(o.oauthToken);
checkOidcToken(o.oidcToken);
@@ -217,14 +217,14 @@
buildCounterJob--;
}
-buildUnnamed4127() {
+buildUnnamed4134() {
var o = new core.List<api.Job>();
o.add(buildJob());
o.add(buildJob());
return o;
}
-checkUnnamed4127(core.List<api.Job> o) {
+checkUnnamed4134(core.List<api.Job> o) {
unittest.expect(o, unittest.hasLength(2));
checkJob(o[0]);
checkJob(o[1]);
@@ -235,7 +235,7 @@
var o = new api.ListJobsResponse();
buildCounterListJobsResponse++;
if (buildCounterListJobsResponse < 3) {
- o.jobs = buildUnnamed4127();
+ o.jobs = buildUnnamed4134();
o.nextPageToken = "foo";
}
buildCounterListJobsResponse--;
@@ -245,20 +245,20 @@
checkListJobsResponse(api.ListJobsResponse o) {
buildCounterListJobsResponse++;
if (buildCounterListJobsResponse < 3) {
- checkUnnamed4127(o.jobs);
+ checkUnnamed4134(o.jobs);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListJobsResponse--;
}
-buildUnnamed4128() {
+buildUnnamed4135() {
var o = new core.List<api.Location>();
o.add(buildLocation());
o.add(buildLocation());
return o;
}
-checkUnnamed4128(core.List<api.Location> o) {
+checkUnnamed4135(core.List<api.Location> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocation(o[0]);
checkLocation(o[1]);
@@ -269,7 +269,7 @@
var o = new api.ListLocationsResponse();
buildCounterListLocationsResponse++;
if (buildCounterListLocationsResponse < 3) {
- o.locations = buildUnnamed4128();
+ o.locations = buildUnnamed4135();
o.nextPageToken = "foo";
}
buildCounterListLocationsResponse--;
@@ -279,26 +279,26 @@
checkListLocationsResponse(api.ListLocationsResponse o) {
buildCounterListLocationsResponse++;
if (buildCounterListLocationsResponse < 3) {
- checkUnnamed4128(o.locations);
+ checkUnnamed4135(o.locations);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListLocationsResponse--;
}
-buildUnnamed4129() {
+buildUnnamed4136() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed4129(core.Map<core.String, core.String> o) {
+checkUnnamed4136(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed4130() {
+buildUnnamed4137() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -313,7 +313,7 @@
return o;
}
-checkUnnamed4130(core.Map<core.String, core.Object> o) {
+checkUnnamed4137(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o["x"]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -333,9 +333,9 @@
buildCounterLocation++;
if (buildCounterLocation < 3) {
o.displayName = "foo";
- o.labels = buildUnnamed4129();
+ o.labels = buildUnnamed4136();
o.locationId = "foo";
- o.metadata = buildUnnamed4130();
+ o.metadata = buildUnnamed4137();
o.name = "foo";
}
buildCounterLocation--;
@@ -346,9 +346,9 @@
buildCounterLocation++;
if (buildCounterLocation < 3) {
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed4129(o.labels);
+ checkUnnamed4136(o.labels);
unittest.expect(o.locationId, unittest.equals('foo'));
- checkUnnamed4130(o.metadata);
+ checkUnnamed4137(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
}
buildCounterLocation--;
@@ -411,14 +411,14 @@
buildCounterPauseJobRequest--;
}
-buildUnnamed4131() {
+buildUnnamed4138() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed4131(core.Map<core.String, core.String> o) {
+checkUnnamed4138(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -429,7 +429,7 @@
var o = new api.PubsubMessage();
buildCounterPubsubMessage++;
if (buildCounterPubsubMessage < 3) {
- o.attributes = buildUnnamed4131();
+ o.attributes = buildUnnamed4138();
o.data = "foo";
o.messageId = "foo";
o.orderingKey = "foo";
@@ -442,7 +442,7 @@
checkPubsubMessage(api.PubsubMessage o) {
buildCounterPubsubMessage++;
if (buildCounterPubsubMessage < 3) {
- checkUnnamed4131(o.attributes);
+ checkUnnamed4138(o.attributes);
unittest.expect(o.data, unittest.equals('foo'));
unittest.expect(o.messageId, unittest.equals('foo'));
unittest.expect(o.orderingKey, unittest.equals('foo'));
@@ -451,14 +451,14 @@
buildCounterPubsubMessage--;
}
-buildUnnamed4132() {
+buildUnnamed4139() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed4132(core.Map<core.String, core.String> o) {
+checkUnnamed4139(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -469,7 +469,7 @@
var o = new api.PubsubTarget();
buildCounterPubsubTarget++;
if (buildCounterPubsubTarget < 3) {
- o.attributes = buildUnnamed4132();
+ o.attributes = buildUnnamed4139();
o.data = "foo";
o.topicName = "foo";
}
@@ -480,7 +480,7 @@
checkPubsubTarget(api.PubsubTarget o) {
buildCounterPubsubTarget++;
if (buildCounterPubsubTarget < 3) {
- checkUnnamed4132(o.attributes);
+ checkUnnamed4139(o.attributes);
unittest.expect(o.data, unittest.equals('foo'));
unittest.expect(o.topicName, unittest.equals('foo'));
}
@@ -544,7 +544,7 @@
buildCounterRunJobRequest--;
}
-buildUnnamed4133() {
+buildUnnamed4140() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -559,7 +559,7 @@
return o;
}
-checkUnnamed4133(core.Map<core.String, core.Object> o) {
+checkUnnamed4140(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted3 = (o["x"]) as core.Map;
unittest.expect(casted3, unittest.hasLength(3));
@@ -573,17 +573,17 @@
unittest.expect(casted4["string"], unittest.equals('foo'));
}
-buildUnnamed4134() {
+buildUnnamed4141() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed4133());
- o.add(buildUnnamed4133());
+ o.add(buildUnnamed4140());
+ o.add(buildUnnamed4140());
return o;
}
-checkUnnamed4134(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed4141(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed4133(o[0]);
- checkUnnamed4133(o[1]);
+ checkUnnamed4140(o[0]);
+ checkUnnamed4140(o[1]);
}
core.int buildCounterStatus = 0;
@@ -592,7 +592,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed4134();
+ o.details = buildUnnamed4141();
o.message = "foo";
}
buildCounterStatus--;
@@ -603,7 +603,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed4134(o.details);
+ checkUnnamed4141(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
@@ -804,9 +804,9 @@
api.ProjectsLocationsResourceApi res =
new api.CloudschedulerApi(mock).projects.locations;
var arg_name = "foo";
- var arg_pageSize = 42;
var arg_pageToken = "foo";
var arg_filter = "foo";
+ var arg_pageSize = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -839,11 +839,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -854,9 +854,9 @@
}), true);
res
.list(arg_name,
- pageSize: arg_pageSize,
pageToken: arg_pageToken,
filter: arg_filter,
+ pageSize: arg_pageSize,
$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 7d03be4..4e725d6 100644
--- a/generated/googleapis/test/cloudsearch/v1_test.dart
+++ b/generated/googleapis/test/cloudsearch/v1_test.dart
@@ -107,14 +107,14 @@
buildCounterCheckAccessResponse--;
}
-buildUnnamed4507() {
+buildUnnamed4514() {
var o = new core.List<api.Filter>();
o.add(buildFilter());
o.add(buildFilter());
return o;
}
-checkUnnamed4507(core.List<api.Filter> o) {
+checkUnnamed4514(core.List<api.Filter> o) {
unittest.expect(o, unittest.hasLength(2));
checkFilter(o[0]);
checkFilter(o[1]);
@@ -126,7 +126,7 @@
buildCounterCompositeFilter++;
if (buildCounterCompositeFilter < 3) {
o.logicOperator = "foo";
- o.subFilters = buildUnnamed4507();
+ o.subFilters = buildUnnamed4514();
}
buildCounterCompositeFilter--;
return o;
@@ -136,19 +136,19 @@
buildCounterCompositeFilter++;
if (buildCounterCompositeFilter < 3) {
unittest.expect(o.logicOperator, unittest.equals('foo'));
- checkUnnamed4507(o.subFilters);
+ checkUnnamed4514(o.subFilters);
}
buildCounterCompositeFilter--;
}
-buildUnnamed4508() {
+buildUnnamed4515() {
var o = new core.List<api.ItemCountByStatus>();
o.add(buildItemCountByStatus());
o.add(buildItemCountByStatus());
return o;
}
-checkUnnamed4508(core.List<api.ItemCountByStatus> o) {
+checkUnnamed4515(core.List<api.ItemCountByStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkItemCountByStatus(o[0]);
checkItemCountByStatus(o[1]);
@@ -160,7 +160,7 @@
buildCounterCustomerIndexStats++;
if (buildCounterCustomerIndexStats < 3) {
o.date = buildDate();
- o.itemCountByStatus = buildUnnamed4508();
+ o.itemCountByStatus = buildUnnamed4515();
}
buildCounterCustomerIndexStats--;
return o;
@@ -170,19 +170,19 @@
buildCounterCustomerIndexStats++;
if (buildCounterCustomerIndexStats < 3) {
checkDate(o.date);
- checkUnnamed4508(o.itemCountByStatus);
+ checkUnnamed4515(o.itemCountByStatus);
}
buildCounterCustomerIndexStats--;
}
-buildUnnamed4509() {
+buildUnnamed4516() {
var o = new core.List<api.QueryCountByStatus>();
o.add(buildQueryCountByStatus());
o.add(buildQueryCountByStatus());
return o;
}
-checkUnnamed4509(core.List<api.QueryCountByStatus> o) {
+checkUnnamed4516(core.List<api.QueryCountByStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkQueryCountByStatus(o[0]);
checkQueryCountByStatus(o[1]);
@@ -194,7 +194,7 @@
buildCounterCustomerQueryStats++;
if (buildCounterCustomerQueryStats < 3) {
o.date = buildDate();
- o.queryCountByStatus = buildUnnamed4509();
+ o.queryCountByStatus = buildUnnamed4516();
}
buildCounterCustomerQueryStats--;
return o;
@@ -204,7 +204,7 @@
buildCounterCustomerQueryStats++;
if (buildCounterCustomerQueryStats < 3) {
checkDate(o.date);
- checkUnnamed4509(o.queryCountByStatus);
+ checkUnnamed4516(o.queryCountByStatus);
}
buildCounterCustomerQueryStats--;
}
@@ -255,40 +255,40 @@
buildCounterCustomerUserStats--;
}
-buildUnnamed4510() {
+buildUnnamed4517() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4510(core.List<core.String> o) {
+checkUnnamed4517(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed4511() {
+buildUnnamed4518() {
var o = new core.List<api.GSuitePrincipal>();
o.add(buildGSuitePrincipal());
o.add(buildGSuitePrincipal());
return o;
}
-checkUnnamed4511(core.List<api.GSuitePrincipal> o) {
+checkUnnamed4518(core.List<api.GSuitePrincipal> o) {
unittest.expect(o, unittest.hasLength(2));
checkGSuitePrincipal(o[0]);
checkGSuitePrincipal(o[1]);
}
-buildUnnamed4512() {
+buildUnnamed4519() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4512(core.List<core.String> o) {
+checkUnnamed4519(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -302,10 +302,10 @@
o.disableModifications = true;
o.disableServing = true;
o.displayName = "foo";
- o.indexingServiceAccounts = buildUnnamed4510();
- o.itemsVisibility = buildUnnamed4511();
+ o.indexingServiceAccounts = buildUnnamed4517();
+ o.itemsVisibility = buildUnnamed4518();
o.name = "foo";
- o.operationIds = buildUnnamed4512();
+ o.operationIds = buildUnnamed4519();
o.shortName = "foo";
}
buildCounterDataSource--;
@@ -318,23 +318,23 @@
unittest.expect(o.disableModifications, unittest.isTrue);
unittest.expect(o.disableServing, unittest.isTrue);
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed4510(o.indexingServiceAccounts);
- checkUnnamed4511(o.itemsVisibility);
+ checkUnnamed4517(o.indexingServiceAccounts);
+ checkUnnamed4518(o.itemsVisibility);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed4512(o.operationIds);
+ checkUnnamed4519(o.operationIds);
unittest.expect(o.shortName, unittest.equals('foo'));
}
buildCounterDataSource--;
}
-buildUnnamed4513() {
+buildUnnamed4520() {
var o = new core.List<api.ItemCountByStatus>();
o.add(buildItemCountByStatus());
o.add(buildItemCountByStatus());
return o;
}
-checkUnnamed4513(core.List<api.ItemCountByStatus> o) {
+checkUnnamed4520(core.List<api.ItemCountByStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkItemCountByStatus(o[0]);
checkItemCountByStatus(o[1]);
@@ -346,7 +346,7 @@
buildCounterDataSourceIndexStats++;
if (buildCounterDataSourceIndexStats < 3) {
o.date = buildDate();
- o.itemCountByStatus = buildUnnamed4513();
+ o.itemCountByStatus = buildUnnamed4520();
}
buildCounterDataSourceIndexStats--;
return o;
@@ -356,19 +356,19 @@
buildCounterDataSourceIndexStats++;
if (buildCounterDataSourceIndexStats < 3) {
checkDate(o.date);
- checkUnnamed4513(o.itemCountByStatus);
+ checkUnnamed4520(o.itemCountByStatus);
}
buildCounterDataSourceIndexStats--;
}
-buildUnnamed4514() {
+buildUnnamed4521() {
var o = new core.List<api.FilterOptions>();
o.add(buildFilterOptions());
o.add(buildFilterOptions());
return o;
}
-checkUnnamed4514(core.List<api.FilterOptions> o) {
+checkUnnamed4521(core.List<api.FilterOptions> o) {
unittest.expect(o, unittest.hasLength(2));
checkFilterOptions(o[0]);
checkFilterOptions(o[1]);
@@ -379,7 +379,7 @@
var o = new api.DataSourceRestriction();
buildCounterDataSourceRestriction++;
if (buildCounterDataSourceRestriction < 3) {
- o.filterOptions = buildUnnamed4514();
+ o.filterOptions = buildUnnamed4521();
o.source = buildSource();
}
buildCounterDataSourceRestriction--;
@@ -389,7 +389,7 @@
checkDataSourceRestriction(api.DataSourceRestriction o) {
buildCounterDataSourceRestriction++;
if (buildCounterDataSourceRestriction < 3) {
- checkUnnamed4514(o.filterOptions);
+ checkUnnamed4521(o.filterOptions);
checkSource(o.source);
}
buildCounterDataSourceRestriction--;
@@ -460,14 +460,14 @@
buildCounterDatePropertyOptions--;
}
-buildUnnamed4515() {
+buildUnnamed4522() {
var o = new core.List<api.Date>();
o.add(buildDate());
o.add(buildDate());
return o;
}
-checkUnnamed4515(core.List<api.Date> o) {
+checkUnnamed4522(core.List<api.Date> o) {
unittest.expect(o, unittest.hasLength(2));
checkDate(o[0]);
checkDate(o[1]);
@@ -478,7 +478,7 @@
var o = new api.DateValues();
buildCounterDateValues++;
if (buildCounterDateValues < 3) {
- o.values = buildUnnamed4515();
+ o.values = buildUnnamed4522();
}
buildCounterDateValues--;
return o;
@@ -487,7 +487,7 @@
checkDateValues(api.DateValues o) {
buildCounterDateValues++;
if (buildCounterDateValues < 3) {
- checkUnnamed4515(o.values);
+ checkUnnamed4522(o.values);
}
buildCounterDateValues--;
}
@@ -591,14 +591,14 @@
buildCounterDoublePropertyOptions--;
}
-buildUnnamed4516() {
+buildUnnamed4523() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed4516(core.List<core.double> o) {
+checkUnnamed4523(core.List<core.double> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42.0));
unittest.expect(o[1], unittest.equals(42.0));
@@ -609,7 +609,7 @@
var o = new api.DoubleValues();
buildCounterDoubleValues++;
if (buildCounterDoubleValues < 3) {
- o.values = buildUnnamed4516();
+ o.values = buildUnnamed4523();
}
buildCounterDoubleValues--;
return o;
@@ -618,7 +618,7 @@
checkDoubleValues(api.DoubleValues o) {
buildCounterDoubleValues++;
if (buildCounterDoubleValues < 3) {
- checkUnnamed4516(o.values);
+ checkUnnamed4523(o.values);
}
buildCounterDoubleValues--;
}
@@ -737,14 +737,14 @@
buildCounterEnumOperatorOptions--;
}
-buildUnnamed4517() {
+buildUnnamed4524() {
var o = new core.List<api.EnumValuePair>();
o.add(buildEnumValuePair());
o.add(buildEnumValuePair());
return o;
}
-checkUnnamed4517(core.List<api.EnumValuePair> o) {
+checkUnnamed4524(core.List<api.EnumValuePair> o) {
unittest.expect(o, unittest.hasLength(2));
checkEnumValuePair(o[0]);
checkEnumValuePair(o[1]);
@@ -757,7 +757,7 @@
if (buildCounterEnumPropertyOptions < 3) {
o.operatorOptions = buildEnumOperatorOptions();
o.orderedRanking = "foo";
- o.possibleValues = buildUnnamed4517();
+ o.possibleValues = buildUnnamed4524();
}
buildCounterEnumPropertyOptions--;
return o;
@@ -768,7 +768,7 @@
if (buildCounterEnumPropertyOptions < 3) {
checkEnumOperatorOptions(o.operatorOptions);
unittest.expect(o.orderedRanking, unittest.equals('foo'));
- checkUnnamed4517(o.possibleValues);
+ checkUnnamed4524(o.possibleValues);
}
buildCounterEnumPropertyOptions--;
}
@@ -794,14 +794,14 @@
buildCounterEnumValuePair--;
}
-buildUnnamed4518() {
+buildUnnamed4525() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4518(core.List<core.String> o) {
+checkUnnamed4525(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -812,7 +812,7 @@
var o = new api.EnumValues();
buildCounterEnumValues++;
if (buildCounterEnumValues < 3) {
- o.values = buildUnnamed4518();
+ o.values = buildUnnamed4525();
}
buildCounterEnumValues--;
return o;
@@ -821,19 +821,19 @@
checkEnumValues(api.EnumValues o) {
buildCounterEnumValues++;
if (buildCounterEnumValues < 3) {
- checkUnnamed4518(o.values);
+ checkUnnamed4525(o.values);
}
buildCounterEnumValues--;
}
-buildUnnamed4519() {
+buildUnnamed4526() {
var o = new core.List<api.ErrorMessage>();
o.add(buildErrorMessage());
o.add(buildErrorMessage());
return o;
}
-checkUnnamed4519(core.List<api.ErrorMessage> o) {
+checkUnnamed4526(core.List<api.ErrorMessage> o) {
unittest.expect(o, unittest.hasLength(2));
checkErrorMessage(o[0]);
checkErrorMessage(o[1]);
@@ -844,7 +844,7 @@
var o = new api.ErrorInfo();
buildCounterErrorInfo++;
if (buildCounterErrorInfo < 3) {
- o.errorMessages = buildUnnamed4519();
+ o.errorMessages = buildUnnamed4526();
}
buildCounterErrorInfo--;
return o;
@@ -853,7 +853,7 @@
checkErrorInfo(api.ErrorInfo o) {
buildCounterErrorInfo++;
if (buildCounterErrorInfo < 3) {
- checkUnnamed4519(o.errorMessages);
+ checkUnnamed4526(o.errorMessages);
}
buildCounterErrorInfo--;
}
@@ -927,14 +927,14 @@
buildCounterFacetOptions--;
}
-buildUnnamed4520() {
+buildUnnamed4527() {
var o = new core.List<api.FacetBucket>();
o.add(buildFacetBucket());
o.add(buildFacetBucket());
return o;
}
-checkUnnamed4520(core.List<api.FacetBucket> o) {
+checkUnnamed4527(core.List<api.FacetBucket> o) {
unittest.expect(o, unittest.hasLength(2));
checkFacetBucket(o[0]);
checkFacetBucket(o[1]);
@@ -945,7 +945,7 @@
var o = new api.FacetResult();
buildCounterFacetResult++;
if (buildCounterFacetResult < 3) {
- o.buckets = buildUnnamed4520();
+ o.buckets = buildUnnamed4527();
o.objectType = "foo";
o.operatorName = "foo";
o.sourceName = "foo";
@@ -957,7 +957,7 @@
checkFacetResult(api.FacetResult o) {
buildCounterFacetResult++;
if (buildCounterFacetResult < 3) {
- checkUnnamed4520(o.buckets);
+ checkUnnamed4527(o.buckets);
unittest.expect(o.objectType, unittest.equals('foo'));
unittest.expect(o.operatorName, unittest.equals('foo'));
unittest.expect(o.sourceName, unittest.equals('foo'));
@@ -1072,14 +1072,14 @@
buildCounterGSuitePrincipal--;
}
-buildUnnamed4521() {
+buildUnnamed4528() {
var o = new core.List<api.CustomerIndexStats>();
o.add(buildCustomerIndexStats());
o.add(buildCustomerIndexStats());
return o;
}
-checkUnnamed4521(core.List<api.CustomerIndexStats> o) {
+checkUnnamed4528(core.List<api.CustomerIndexStats> o) {
unittest.expect(o, unittest.hasLength(2));
checkCustomerIndexStats(o[0]);
checkCustomerIndexStats(o[1]);
@@ -1090,7 +1090,7 @@
var o = new api.GetCustomerIndexStatsResponse();
buildCounterGetCustomerIndexStatsResponse++;
if (buildCounterGetCustomerIndexStatsResponse < 3) {
- o.stats = buildUnnamed4521();
+ o.stats = buildUnnamed4528();
}
buildCounterGetCustomerIndexStatsResponse--;
return o;
@@ -1099,19 +1099,19 @@
checkGetCustomerIndexStatsResponse(api.GetCustomerIndexStatsResponse o) {
buildCounterGetCustomerIndexStatsResponse++;
if (buildCounterGetCustomerIndexStatsResponse < 3) {
- checkUnnamed4521(o.stats);
+ checkUnnamed4528(o.stats);
}
buildCounterGetCustomerIndexStatsResponse--;
}
-buildUnnamed4522() {
+buildUnnamed4529() {
var o = new core.List<api.CustomerQueryStats>();
o.add(buildCustomerQueryStats());
o.add(buildCustomerQueryStats());
return o;
}
-checkUnnamed4522(core.List<api.CustomerQueryStats> o) {
+checkUnnamed4529(core.List<api.CustomerQueryStats> o) {
unittest.expect(o, unittest.hasLength(2));
checkCustomerQueryStats(o[0]);
checkCustomerQueryStats(o[1]);
@@ -1122,7 +1122,7 @@
var o = new api.GetCustomerQueryStatsResponse();
buildCounterGetCustomerQueryStatsResponse++;
if (buildCounterGetCustomerQueryStatsResponse < 3) {
- o.stats = buildUnnamed4522();
+ o.stats = buildUnnamed4529();
}
buildCounterGetCustomerQueryStatsResponse--;
return o;
@@ -1131,19 +1131,19 @@
checkGetCustomerQueryStatsResponse(api.GetCustomerQueryStatsResponse o) {
buildCounterGetCustomerQueryStatsResponse++;
if (buildCounterGetCustomerQueryStatsResponse < 3) {
- checkUnnamed4522(o.stats);
+ checkUnnamed4529(o.stats);
}
buildCounterGetCustomerQueryStatsResponse--;
}
-buildUnnamed4523() {
+buildUnnamed4530() {
var o = new core.List<api.CustomerSessionStats>();
o.add(buildCustomerSessionStats());
o.add(buildCustomerSessionStats());
return o;
}
-checkUnnamed4523(core.List<api.CustomerSessionStats> o) {
+checkUnnamed4530(core.List<api.CustomerSessionStats> o) {
unittest.expect(o, unittest.hasLength(2));
checkCustomerSessionStats(o[0]);
checkCustomerSessionStats(o[1]);
@@ -1154,7 +1154,7 @@
var o = new api.GetCustomerSessionStatsResponse();
buildCounterGetCustomerSessionStatsResponse++;
if (buildCounterGetCustomerSessionStatsResponse < 3) {
- o.stats = buildUnnamed4523();
+ o.stats = buildUnnamed4530();
}
buildCounterGetCustomerSessionStatsResponse--;
return o;
@@ -1163,19 +1163,19 @@
checkGetCustomerSessionStatsResponse(api.GetCustomerSessionStatsResponse o) {
buildCounterGetCustomerSessionStatsResponse++;
if (buildCounterGetCustomerSessionStatsResponse < 3) {
- checkUnnamed4523(o.stats);
+ checkUnnamed4530(o.stats);
}
buildCounterGetCustomerSessionStatsResponse--;
}
-buildUnnamed4524() {
+buildUnnamed4531() {
var o = new core.List<api.CustomerUserStats>();
o.add(buildCustomerUserStats());
o.add(buildCustomerUserStats());
return o;
}
-checkUnnamed4524(core.List<api.CustomerUserStats> o) {
+checkUnnamed4531(core.List<api.CustomerUserStats> o) {
unittest.expect(o, unittest.hasLength(2));
checkCustomerUserStats(o[0]);
checkCustomerUserStats(o[1]);
@@ -1186,7 +1186,7 @@
var o = new api.GetCustomerUserStatsResponse();
buildCounterGetCustomerUserStatsResponse++;
if (buildCounterGetCustomerUserStatsResponse < 3) {
- o.stats = buildUnnamed4524();
+ o.stats = buildUnnamed4531();
}
buildCounterGetCustomerUserStatsResponse--;
return o;
@@ -1195,19 +1195,19 @@
checkGetCustomerUserStatsResponse(api.GetCustomerUserStatsResponse o) {
buildCounterGetCustomerUserStatsResponse++;
if (buildCounterGetCustomerUserStatsResponse < 3) {
- checkUnnamed4524(o.stats);
+ checkUnnamed4531(o.stats);
}
buildCounterGetCustomerUserStatsResponse--;
}
-buildUnnamed4525() {
+buildUnnamed4532() {
var o = new core.List<api.DataSourceIndexStats>();
o.add(buildDataSourceIndexStats());
o.add(buildDataSourceIndexStats());
return o;
}
-checkUnnamed4525(core.List<api.DataSourceIndexStats> o) {
+checkUnnamed4532(core.List<api.DataSourceIndexStats> o) {
unittest.expect(o, unittest.hasLength(2));
checkDataSourceIndexStats(o[0]);
checkDataSourceIndexStats(o[1]);
@@ -1218,7 +1218,7 @@
var o = new api.GetDataSourceIndexStatsResponse();
buildCounterGetDataSourceIndexStatsResponse++;
if (buildCounterGetDataSourceIndexStatsResponse < 3) {
- o.stats = buildUnnamed4525();
+ o.stats = buildUnnamed4532();
}
buildCounterGetDataSourceIndexStatsResponse--;
return o;
@@ -1227,19 +1227,19 @@
checkGetDataSourceIndexStatsResponse(api.GetDataSourceIndexStatsResponse o) {
buildCounterGetDataSourceIndexStatsResponse++;
if (buildCounterGetDataSourceIndexStatsResponse < 3) {
- checkUnnamed4525(o.stats);
+ checkUnnamed4532(o.stats);
}
buildCounterGetDataSourceIndexStatsResponse--;
}
-buildUnnamed4526() {
+buildUnnamed4533() {
var o = new core.List<api.SearchApplicationQueryStats>();
o.add(buildSearchApplicationQueryStats());
o.add(buildSearchApplicationQueryStats());
return o;
}
-checkUnnamed4526(core.List<api.SearchApplicationQueryStats> o) {
+checkUnnamed4533(core.List<api.SearchApplicationQueryStats> o) {
unittest.expect(o, unittest.hasLength(2));
checkSearchApplicationQueryStats(o[0]);
checkSearchApplicationQueryStats(o[1]);
@@ -1250,7 +1250,7 @@
var o = new api.GetSearchApplicationQueryStatsResponse();
buildCounterGetSearchApplicationQueryStatsResponse++;
if (buildCounterGetSearchApplicationQueryStatsResponse < 3) {
- o.stats = buildUnnamed4526();
+ o.stats = buildUnnamed4533();
}
buildCounterGetSearchApplicationQueryStatsResponse--;
return o;
@@ -1260,19 +1260,19 @@
api.GetSearchApplicationQueryStatsResponse o) {
buildCounterGetSearchApplicationQueryStatsResponse++;
if (buildCounterGetSearchApplicationQueryStatsResponse < 3) {
- checkUnnamed4526(o.stats);
+ checkUnnamed4533(o.stats);
}
buildCounterGetSearchApplicationQueryStatsResponse--;
}
-buildUnnamed4527() {
+buildUnnamed4534() {
var o = new core.List<api.SearchApplicationSessionStats>();
o.add(buildSearchApplicationSessionStats());
o.add(buildSearchApplicationSessionStats());
return o;
}
-checkUnnamed4527(core.List<api.SearchApplicationSessionStats> o) {
+checkUnnamed4534(core.List<api.SearchApplicationSessionStats> o) {
unittest.expect(o, unittest.hasLength(2));
checkSearchApplicationSessionStats(o[0]);
checkSearchApplicationSessionStats(o[1]);
@@ -1283,7 +1283,7 @@
var o = new api.GetSearchApplicationSessionStatsResponse();
buildCounterGetSearchApplicationSessionStatsResponse++;
if (buildCounterGetSearchApplicationSessionStatsResponse < 3) {
- o.stats = buildUnnamed4527();
+ o.stats = buildUnnamed4534();
}
buildCounterGetSearchApplicationSessionStatsResponse--;
return o;
@@ -1293,19 +1293,19 @@
api.GetSearchApplicationSessionStatsResponse o) {
buildCounterGetSearchApplicationSessionStatsResponse++;
if (buildCounterGetSearchApplicationSessionStatsResponse < 3) {
- checkUnnamed4527(o.stats);
+ checkUnnamed4534(o.stats);
}
buildCounterGetSearchApplicationSessionStatsResponse--;
}
-buildUnnamed4528() {
+buildUnnamed4535() {
var o = new core.List<api.SearchApplicationUserStats>();
o.add(buildSearchApplicationUserStats());
o.add(buildSearchApplicationUserStats());
return o;
}
-checkUnnamed4528(core.List<api.SearchApplicationUserStats> o) {
+checkUnnamed4535(core.List<api.SearchApplicationUserStats> o) {
unittest.expect(o, unittest.hasLength(2));
checkSearchApplicationUserStats(o[0]);
checkSearchApplicationUserStats(o[1]);
@@ -1316,7 +1316,7 @@
var o = new api.GetSearchApplicationUserStatsResponse();
buildCounterGetSearchApplicationUserStatsResponse++;
if (buildCounterGetSearchApplicationUserStatsResponse < 3) {
- o.stats = buildUnnamed4528();
+ o.stats = buildUnnamed4535();
}
buildCounterGetSearchApplicationUserStatsResponse--;
return o;
@@ -1326,7 +1326,7 @@
api.GetSearchApplicationUserStatsResponse o) {
buildCounterGetSearchApplicationUserStatsResponse++;
if (buildCounterGetSearchApplicationUserStatsResponse < 3) {
- checkUnnamed4528(o.stats);
+ checkUnnamed4535(o.stats);
}
buildCounterGetSearchApplicationUserStatsResponse--;
}
@@ -1371,14 +1371,14 @@
buildCounterHtmlPropertyOptions--;
}
-buildUnnamed4529() {
+buildUnnamed4536() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4529(core.List<core.String> o) {
+checkUnnamed4536(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1389,7 +1389,7 @@
var o = new api.HtmlValues();
buildCounterHtmlValues++;
if (buildCounterHtmlValues < 3) {
- o.values = buildUnnamed4529();
+ o.values = buildUnnamed4536();
}
buildCounterHtmlValues--;
return o;
@@ -1398,7 +1398,7 @@
checkHtmlValues(api.HtmlValues o) {
buildCounterHtmlValues++;
if (buildCounterHtmlValues < 3) {
- checkUnnamed4529(o.values);
+ checkUnnamed4536(o.values);
}
buildCounterHtmlValues--;
}
@@ -1497,14 +1497,14 @@
buildCounterIntegerPropertyOptions--;
}
-buildUnnamed4530() {
+buildUnnamed4537() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4530(core.List<core.String> o) {
+checkUnnamed4537(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1515,7 +1515,7 @@
var o = new api.IntegerValues();
buildCounterIntegerValues++;
if (buildCounterIntegerValues < 3) {
- o.values = buildUnnamed4530();
+ o.values = buildUnnamed4537();
}
buildCounterIntegerValues--;
return o;
@@ -1524,7 +1524,7 @@
checkIntegerValues(api.IntegerValues o) {
buildCounterIntegerValues++;
if (buildCounterIntegerValues < 3) {
- checkUnnamed4530(o.values);
+ checkUnnamed4537(o.values);
}
buildCounterIntegerValues--;
}
@@ -1589,40 +1589,40 @@
buildCounterItem--;
}
-buildUnnamed4531() {
+buildUnnamed4538() {
var o = new core.List<api.Principal>();
o.add(buildPrincipal());
o.add(buildPrincipal());
return o;
}
-checkUnnamed4531(core.List<api.Principal> o) {
+checkUnnamed4538(core.List<api.Principal> o) {
unittest.expect(o, unittest.hasLength(2));
checkPrincipal(o[0]);
checkPrincipal(o[1]);
}
-buildUnnamed4532() {
+buildUnnamed4539() {
var o = new core.List<api.Principal>();
o.add(buildPrincipal());
o.add(buildPrincipal());
return o;
}
-checkUnnamed4532(core.List<api.Principal> o) {
+checkUnnamed4539(core.List<api.Principal> o) {
unittest.expect(o, unittest.hasLength(2));
checkPrincipal(o[0]);
checkPrincipal(o[1]);
}
-buildUnnamed4533() {
+buildUnnamed4540() {
var o = new core.List<api.Principal>();
o.add(buildPrincipal());
o.add(buildPrincipal());
return o;
}
-checkUnnamed4533(core.List<api.Principal> o) {
+checkUnnamed4540(core.List<api.Principal> o) {
unittest.expect(o, unittest.hasLength(2));
checkPrincipal(o[0]);
checkPrincipal(o[1]);
@@ -1634,10 +1634,10 @@
buildCounterItemAcl++;
if (buildCounterItemAcl < 3) {
o.aclInheritanceType = "foo";
- o.deniedReaders = buildUnnamed4531();
+ o.deniedReaders = buildUnnamed4538();
o.inheritAclFrom = "foo";
- o.owners = buildUnnamed4532();
- o.readers = buildUnnamed4533();
+ o.owners = buildUnnamed4539();
+ o.readers = buildUnnamed4540();
}
buildCounterItemAcl--;
return o;
@@ -1647,10 +1647,10 @@
buildCounterItemAcl++;
if (buildCounterItemAcl < 3) {
unittest.expect(o.aclInheritanceType, unittest.equals('foo'));
- checkUnnamed4531(o.deniedReaders);
+ checkUnnamed4538(o.deniedReaders);
unittest.expect(o.inheritAclFrom, unittest.equals('foo'));
- checkUnnamed4532(o.owners);
- checkUnnamed4533(o.readers);
+ checkUnnamed4539(o.owners);
+ checkUnnamed4540(o.readers);
}
buildCounterItemAcl--;
}
@@ -1701,27 +1701,27 @@
buildCounterItemCountByStatus--;
}
-buildUnnamed4534() {
+buildUnnamed4541() {
var o = new core.List<api.Interaction>();
o.add(buildInteraction());
o.add(buildInteraction());
return o;
}
-checkUnnamed4534(core.List<api.Interaction> o) {
+checkUnnamed4541(core.List<api.Interaction> o) {
unittest.expect(o, unittest.hasLength(2));
checkInteraction(o[0]);
checkInteraction(o[1]);
}
-buildUnnamed4535() {
+buildUnnamed4542() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4535(core.List<core.String> o) {
+checkUnnamed4542(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1736,8 +1736,8 @@
o.contentLanguage = "foo";
o.createTime = "foo";
o.hash = "foo";
- o.interactions = buildUnnamed4534();
- o.keywords = buildUnnamed4535();
+ o.interactions = buildUnnamed4541();
+ o.keywords = buildUnnamed4542();
o.mimeType = "foo";
o.objectType = "foo";
o.searchQualityMetadata = buildSearchQualityMetadata();
@@ -1756,8 +1756,8 @@
unittest.expect(o.contentLanguage, unittest.equals('foo'));
unittest.expect(o.createTime, unittest.equals('foo'));
unittest.expect(o.hash, unittest.equals('foo'));
- checkUnnamed4534(o.interactions);
- checkUnnamed4535(o.keywords);
+ checkUnnamed4541(o.interactions);
+ checkUnnamed4542(o.keywords);
unittest.expect(o.mimeType, unittest.equals('foo'));
unittest.expect(o.objectType, unittest.equals('foo'));
checkSearchQualityMetadata(o.searchQualityMetadata);
@@ -1768,27 +1768,27 @@
buildCounterItemMetadata--;
}
-buildUnnamed4536() {
+buildUnnamed4543() {
var o = new core.List<api.ProcessingError>();
o.add(buildProcessingError());
o.add(buildProcessingError());
return o;
}
-checkUnnamed4536(core.List<api.ProcessingError> o) {
+checkUnnamed4543(core.List<api.ProcessingError> o) {
unittest.expect(o, unittest.hasLength(2));
checkProcessingError(o[0]);
checkProcessingError(o[1]);
}
-buildUnnamed4537() {
+buildUnnamed4544() {
var o = new core.List<api.RepositoryError>();
o.add(buildRepositoryError());
o.add(buildRepositoryError());
return o;
}
-checkUnnamed4537(core.List<api.RepositoryError> o) {
+checkUnnamed4544(core.List<api.RepositoryError> o) {
unittest.expect(o, unittest.hasLength(2));
checkRepositoryError(o[0]);
checkRepositoryError(o[1]);
@@ -1800,8 +1800,8 @@
buildCounterItemStatus++;
if (buildCounterItemStatus < 3) {
o.code = "foo";
- o.processingErrors = buildUnnamed4536();
- o.repositoryErrors = buildUnnamed4537();
+ o.processingErrors = buildUnnamed4543();
+ o.repositoryErrors = buildUnnamed4544();
}
buildCounterItemStatus--;
return o;
@@ -1811,8 +1811,8 @@
buildCounterItemStatus++;
if (buildCounterItemStatus < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed4536(o.processingErrors);
- checkUnnamed4537(o.repositoryErrors);
+ checkUnnamed4543(o.processingErrors);
+ checkUnnamed4544(o.repositoryErrors);
}
buildCounterItemStatus--;
}
@@ -1838,14 +1838,14 @@
buildCounterItemStructuredData--;
}
-buildUnnamed4538() {
+buildUnnamed4545() {
var o = new core.List<api.DataSource>();
o.add(buildDataSource());
o.add(buildDataSource());
return o;
}
-checkUnnamed4538(core.List<api.DataSource> o) {
+checkUnnamed4545(core.List<api.DataSource> o) {
unittest.expect(o, unittest.hasLength(2));
checkDataSource(o[0]);
checkDataSource(o[1]);
@@ -1857,7 +1857,7 @@
buildCounterListDataSourceResponse++;
if (buildCounterListDataSourceResponse < 3) {
o.nextPageToken = "foo";
- o.sources = buildUnnamed4538();
+ o.sources = buildUnnamed4545();
}
buildCounterListDataSourceResponse--;
return o;
@@ -1867,19 +1867,19 @@
buildCounterListDataSourceResponse++;
if (buildCounterListDataSourceResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed4538(o.sources);
+ checkUnnamed4545(o.sources);
}
buildCounterListDataSourceResponse--;
}
-buildUnnamed4539() {
+buildUnnamed4546() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4539(core.List<core.String> o) {
+checkUnnamed4546(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1890,7 +1890,7 @@
var o = new api.ListItemNamesForUnmappedIdentityResponse();
buildCounterListItemNamesForUnmappedIdentityResponse++;
if (buildCounterListItemNamesForUnmappedIdentityResponse < 3) {
- o.itemNames = buildUnnamed4539();
+ o.itemNames = buildUnnamed4546();
o.nextPageToken = "foo";
}
buildCounterListItemNamesForUnmappedIdentityResponse--;
@@ -1901,20 +1901,20 @@
api.ListItemNamesForUnmappedIdentityResponse o) {
buildCounterListItemNamesForUnmappedIdentityResponse++;
if (buildCounterListItemNamesForUnmappedIdentityResponse < 3) {
- checkUnnamed4539(o.itemNames);
+ checkUnnamed4546(o.itemNames);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListItemNamesForUnmappedIdentityResponse--;
}
-buildUnnamed4540() {
+buildUnnamed4547() {
var o = new core.List<api.Item>();
o.add(buildItem());
o.add(buildItem());
return o;
}
-checkUnnamed4540(core.List<api.Item> o) {
+checkUnnamed4547(core.List<api.Item> o) {
unittest.expect(o, unittest.hasLength(2));
checkItem(o[0]);
checkItem(o[1]);
@@ -1925,7 +1925,7 @@
var o = new api.ListItemsResponse();
buildCounterListItemsResponse++;
if (buildCounterListItemsResponse < 3) {
- o.items = buildUnnamed4540();
+ o.items = buildUnnamed4547();
o.nextPageToken = "foo";
}
buildCounterListItemsResponse--;
@@ -1935,20 +1935,20 @@
checkListItemsResponse(api.ListItemsResponse o) {
buildCounterListItemsResponse++;
if (buildCounterListItemsResponse < 3) {
- checkUnnamed4540(o.items);
+ checkUnnamed4547(o.items);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListItemsResponse--;
}
-buildUnnamed4541() {
+buildUnnamed4548() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed4541(core.List<api.Operation> o) {
+checkUnnamed4548(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -1960,7 +1960,7 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
o.nextPageToken = "foo";
- o.operations = buildUnnamed4541();
+ o.operations = buildUnnamed4548();
}
buildCounterListOperationsResponse--;
return o;
@@ -1970,19 +1970,19 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed4541(o.operations);
+ checkUnnamed4548(o.operations);
}
buildCounterListOperationsResponse--;
}
-buildUnnamed4542() {
+buildUnnamed4549() {
var o = new core.List<api.QuerySource>();
o.add(buildQuerySource());
o.add(buildQuerySource());
return o;
}
-checkUnnamed4542(core.List<api.QuerySource> o) {
+checkUnnamed4549(core.List<api.QuerySource> o) {
unittest.expect(o, unittest.hasLength(2));
checkQuerySource(o[0]);
checkQuerySource(o[1]);
@@ -1994,7 +1994,7 @@
buildCounterListQuerySourcesResponse++;
if (buildCounterListQuerySourcesResponse < 3) {
o.nextPageToken = "foo";
- o.sources = buildUnnamed4542();
+ o.sources = buildUnnamed4549();
}
buildCounterListQuerySourcesResponse--;
return o;
@@ -2004,19 +2004,19 @@
buildCounterListQuerySourcesResponse++;
if (buildCounterListQuerySourcesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed4542(o.sources);
+ checkUnnamed4549(o.sources);
}
buildCounterListQuerySourcesResponse--;
}
-buildUnnamed4543() {
+buildUnnamed4550() {
var o = new core.List<api.SearchApplication>();
o.add(buildSearchApplication());
o.add(buildSearchApplication());
return o;
}
-checkUnnamed4543(core.List<api.SearchApplication> o) {
+checkUnnamed4550(core.List<api.SearchApplication> o) {
unittest.expect(o, unittest.hasLength(2));
checkSearchApplication(o[0]);
checkSearchApplication(o[1]);
@@ -2028,7 +2028,7 @@
buildCounterListSearchApplicationsResponse++;
if (buildCounterListSearchApplicationsResponse < 3) {
o.nextPageToken = "foo";
- o.searchApplications = buildUnnamed4543();
+ o.searchApplications = buildUnnamed4550();
}
buildCounterListSearchApplicationsResponse--;
return o;
@@ -2038,19 +2038,19 @@
buildCounterListSearchApplicationsResponse++;
if (buildCounterListSearchApplicationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed4543(o.searchApplications);
+ checkUnnamed4550(o.searchApplications);
}
buildCounterListSearchApplicationsResponse--;
}
-buildUnnamed4544() {
+buildUnnamed4551() {
var o = new core.List<api.UnmappedIdentity>();
o.add(buildUnmappedIdentity());
o.add(buildUnmappedIdentity());
return o;
}
-checkUnnamed4544(core.List<api.UnmappedIdentity> o) {
+checkUnnamed4551(core.List<api.UnmappedIdentity> o) {
unittest.expect(o, unittest.hasLength(2));
checkUnmappedIdentity(o[0]);
checkUnmappedIdentity(o[1]);
@@ -2062,7 +2062,7 @@
buildCounterListUnmappedIdentitiesResponse++;
if (buildCounterListUnmappedIdentitiesResponse < 3) {
o.nextPageToken = "foo";
- o.unmappedIdentities = buildUnnamed4544();
+ o.unmappedIdentities = buildUnnamed4551();
}
buildCounterListUnmappedIdentitiesResponse--;
return o;
@@ -2072,7 +2072,7 @@
buildCounterListUnmappedIdentitiesResponse++;
if (buildCounterListUnmappedIdentitiesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed4544(o.unmappedIdentities);
+ checkUnnamed4551(o.unmappedIdentities);
}
buildCounterListUnmappedIdentitiesResponse--;
}
@@ -2117,14 +2117,14 @@
buildCounterMedia--;
}
-buildUnnamed4545() {
+buildUnnamed4552() {
var o = new core.List<api.NamedProperty>();
o.add(buildNamedProperty());
o.add(buildNamedProperty());
return o;
}
-checkUnnamed4545(core.List<api.NamedProperty> o) {
+checkUnnamed4552(core.List<api.NamedProperty> o) {
unittest.expect(o, unittest.hasLength(2));
checkNamedProperty(o[0]);
checkNamedProperty(o[1]);
@@ -2137,7 +2137,7 @@
if (buildCounterMetadata < 3) {
o.createTime = "foo";
o.displayOptions = buildResultDisplayMetadata();
- o.fields = buildUnnamed4545();
+ o.fields = buildUnnamed4552();
o.mimeType = "foo";
o.objectType = "foo";
o.owner = buildPerson();
@@ -2153,7 +2153,7 @@
if (buildCounterMetadata < 3) {
unittest.expect(o.createTime, unittest.equals('foo'));
checkResultDisplayMetadata(o.displayOptions);
- checkUnnamed4545(o.fields);
+ checkUnnamed4552(o.fields);
unittest.expect(o.mimeType, unittest.equals('foo'));
unittest.expect(o.objectType, unittest.equals('foo'));
checkPerson(o.owner);
@@ -2163,14 +2163,14 @@
buildCounterMetadata--;
}
-buildUnnamed4546() {
+buildUnnamed4553() {
var o = new core.List<api.DisplayedProperty>();
o.add(buildDisplayedProperty());
o.add(buildDisplayedProperty());
return o;
}
-checkUnnamed4546(core.List<api.DisplayedProperty> o) {
+checkUnnamed4553(core.List<api.DisplayedProperty> o) {
unittest.expect(o, unittest.hasLength(2));
checkDisplayedProperty(o[0]);
checkDisplayedProperty(o[1]);
@@ -2181,7 +2181,7 @@
var o = new api.Metaline();
buildCounterMetaline++;
if (buildCounterMetaline < 3) {
- o.properties = buildUnnamed4546();
+ o.properties = buildUnnamed4553();
}
buildCounterMetaline--;
return o;
@@ -2190,7 +2190,7 @@
checkMetaline(api.Metaline o) {
buildCounterMetaline++;
if (buildCounterMetaline < 3) {
- checkUnnamed4546(o.properties);
+ checkUnnamed4553(o.properties);
}
buildCounterMetaline--;
}
@@ -2251,14 +2251,14 @@
buildCounterNamedProperty--;
}
-buildUnnamed4547() {
+buildUnnamed4554() {
var o = new core.List<api.PropertyDefinition>();
o.add(buildPropertyDefinition());
o.add(buildPropertyDefinition());
return o;
}
-checkUnnamed4547(core.List<api.PropertyDefinition> o) {
+checkUnnamed4554(core.List<api.PropertyDefinition> o) {
unittest.expect(o, unittest.hasLength(2));
checkPropertyDefinition(o[0]);
checkPropertyDefinition(o[1]);
@@ -2271,7 +2271,7 @@
if (buildCounterObjectDefinition < 3) {
o.name = "foo";
o.options = buildObjectOptions();
- o.propertyDefinitions = buildUnnamed4547();
+ o.propertyDefinitions = buildUnnamed4554();
}
buildCounterObjectDefinition--;
return o;
@@ -2282,19 +2282,19 @@
if (buildCounterObjectDefinition < 3) {
unittest.expect(o.name, unittest.equals('foo'));
checkObjectOptions(o.options);
- checkUnnamed4547(o.propertyDefinitions);
+ checkUnnamed4554(o.propertyDefinitions);
}
buildCounterObjectDefinition--;
}
-buildUnnamed4548() {
+buildUnnamed4555() {
var o = new core.List<api.Metaline>();
o.add(buildMetaline());
o.add(buildMetaline());
return o;
}
-checkUnnamed4548(core.List<api.Metaline> o) {
+checkUnnamed4555(core.List<api.Metaline> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetaline(o[0]);
checkMetaline(o[1]);
@@ -2305,7 +2305,7 @@
var o = new api.ObjectDisplayOptions();
buildCounterObjectDisplayOptions++;
if (buildCounterObjectDisplayOptions < 3) {
- o.metalines = buildUnnamed4548();
+ o.metalines = buildUnnamed4555();
o.objectDisplayLabel = "foo";
}
buildCounterObjectDisplayOptions--;
@@ -2315,7 +2315,7 @@
checkObjectDisplayOptions(api.ObjectDisplayOptions o) {
buildCounterObjectDisplayOptions++;
if (buildCounterObjectDisplayOptions < 3) {
- checkUnnamed4548(o.metalines);
+ checkUnnamed4555(o.metalines);
unittest.expect(o.objectDisplayLabel, unittest.equals('foo'));
}
buildCounterObjectDisplayOptions--;
@@ -2342,14 +2342,14 @@
buildCounterObjectOptions--;
}
-buildUnnamed4549() {
+buildUnnamed4556() {
var o = new core.List<api.PropertyDefinition>();
o.add(buildPropertyDefinition());
o.add(buildPropertyDefinition());
return o;
}
-checkUnnamed4549(core.List<api.PropertyDefinition> o) {
+checkUnnamed4556(core.List<api.PropertyDefinition> o) {
unittest.expect(o, unittest.hasLength(2));
checkPropertyDefinition(o[0]);
checkPropertyDefinition(o[1]);
@@ -2360,7 +2360,7 @@
var o = new api.ObjectPropertyOptions();
buildCounterObjectPropertyOptions++;
if (buildCounterObjectPropertyOptions < 3) {
- o.subobjectProperties = buildUnnamed4549();
+ o.subobjectProperties = buildUnnamed4556();
}
buildCounterObjectPropertyOptions--;
return o;
@@ -2369,19 +2369,19 @@
checkObjectPropertyOptions(api.ObjectPropertyOptions o) {
buildCounterObjectPropertyOptions++;
if (buildCounterObjectPropertyOptions < 3) {
- checkUnnamed4549(o.subobjectProperties);
+ checkUnnamed4556(o.subobjectProperties);
}
buildCounterObjectPropertyOptions--;
}
-buildUnnamed4550() {
+buildUnnamed4557() {
var o = new core.List<api.StructuredDataObject>();
o.add(buildStructuredDataObject());
o.add(buildStructuredDataObject());
return o;
}
-checkUnnamed4550(core.List<api.StructuredDataObject> o) {
+checkUnnamed4557(core.List<api.StructuredDataObject> o) {
unittest.expect(o, unittest.hasLength(2));
checkStructuredDataObject(o[0]);
checkStructuredDataObject(o[1]);
@@ -2392,7 +2392,7 @@
var o = new api.ObjectValues();
buildCounterObjectValues++;
if (buildCounterObjectValues < 3) {
- o.values = buildUnnamed4550();
+ o.values = buildUnnamed4557();
}
buildCounterObjectValues--;
return o;
@@ -2401,12 +2401,12 @@
checkObjectValues(api.ObjectValues o) {
buildCounterObjectValues++;
if (buildCounterObjectValues < 3) {
- checkUnnamed4550(o.values);
+ checkUnnamed4557(o.values);
}
buildCounterObjectValues--;
}
-buildUnnamed4551() {
+buildUnnamed4558() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -2421,7 +2421,7 @@
return o;
}
-checkUnnamed4551(core.Map<core.String, core.Object> o) {
+checkUnnamed4558(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o["x"]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -2435,7 +2435,7 @@
unittest.expect(casted2["string"], unittest.equals('foo'));
}
-buildUnnamed4552() {
+buildUnnamed4559() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -2450,7 +2450,7 @@
return o;
}
-checkUnnamed4552(core.Map<core.String, core.Object> o) {
+checkUnnamed4559(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted3 = (o["x"]) as core.Map;
unittest.expect(casted3, unittest.hasLength(3));
@@ -2471,9 +2471,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed4551();
+ o.metadata = buildUnnamed4558();
o.name = "foo";
- o.response = buildUnnamed4552();
+ o.response = buildUnnamed4559();
}
buildCounterOperation--;
return o;
@@ -2484,9 +2484,9 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed4551(o.metadata);
+ checkUnnamed4558(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed4552(o.response);
+ checkUnnamed4559(o.response);
}
buildCounterOperation--;
}
@@ -2510,40 +2510,40 @@
buildCounterPeopleSuggestion--;
}
-buildUnnamed4553() {
+buildUnnamed4560() {
var o = new core.List<api.EmailAddress>();
o.add(buildEmailAddress());
o.add(buildEmailAddress());
return o;
}
-checkUnnamed4553(core.List<api.EmailAddress> o) {
+checkUnnamed4560(core.List<api.EmailAddress> o) {
unittest.expect(o, unittest.hasLength(2));
checkEmailAddress(o[0]);
checkEmailAddress(o[1]);
}
-buildUnnamed4554() {
+buildUnnamed4561() {
var o = new core.List<api.Name>();
o.add(buildName());
o.add(buildName());
return o;
}
-checkUnnamed4554(core.List<api.Name> o) {
+checkUnnamed4561(core.List<api.Name> o) {
unittest.expect(o, unittest.hasLength(2));
checkName(o[0]);
checkName(o[1]);
}
-buildUnnamed4555() {
+buildUnnamed4562() {
var o = new core.List<api.Photo>();
o.add(buildPhoto());
o.add(buildPhoto());
return o;
}
-checkUnnamed4555(core.List<api.Photo> o) {
+checkUnnamed4562(core.List<api.Photo> o) {
unittest.expect(o, unittest.hasLength(2));
checkPhoto(o[0]);
checkPhoto(o[1]);
@@ -2554,11 +2554,11 @@
var o = new api.Person();
buildCounterPerson++;
if (buildCounterPerson < 3) {
- o.emailAddresses = buildUnnamed4553();
+ o.emailAddresses = buildUnnamed4560();
o.name = "foo";
o.obfuscatedId = "foo";
- o.personNames = buildUnnamed4554();
- o.photos = buildUnnamed4555();
+ o.personNames = buildUnnamed4561();
+ o.photos = buildUnnamed4562();
}
buildCounterPerson--;
return o;
@@ -2567,11 +2567,11 @@
checkPerson(api.Person o) {
buildCounterPerson++;
if (buildCounterPerson < 3) {
- checkUnnamed4553(o.emailAddresses);
+ checkUnnamed4560(o.emailAddresses);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.obfuscatedId, unittest.equals('foo'));
- checkUnnamed4554(o.personNames);
- checkUnnamed4555(o.photos);
+ checkUnnamed4561(o.personNames);
+ checkUnnamed4562(o.photos);
}
buildCounterPerson--;
}
@@ -2595,14 +2595,14 @@
buildCounterPhoto--;
}
-buildUnnamed4556() {
+buildUnnamed4563() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4556(core.List<core.String> o) {
+checkUnnamed4563(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2617,7 +2617,7 @@
o.debugOptions = buildDebugOptions();
o.limit = 42;
o.queue = "foo";
- o.statusCodes = buildUnnamed4556();
+ o.statusCodes = buildUnnamed4563();
}
buildCounterPollItemsRequest--;
return o;
@@ -2630,19 +2630,19 @@
checkDebugOptions(o.debugOptions);
unittest.expect(o.limit, unittest.equals(42));
unittest.expect(o.queue, unittest.equals('foo'));
- checkUnnamed4556(o.statusCodes);
+ checkUnnamed4563(o.statusCodes);
}
buildCounterPollItemsRequest--;
}
-buildUnnamed4557() {
+buildUnnamed4564() {
var o = new core.List<api.Item>();
o.add(buildItem());
o.add(buildItem());
return o;
}
-checkUnnamed4557(core.List<api.Item> o) {
+checkUnnamed4564(core.List<api.Item> o) {
unittest.expect(o, unittest.hasLength(2));
checkItem(o[0]);
checkItem(o[1]);
@@ -2653,7 +2653,7 @@
var o = new api.PollItemsResponse();
buildCounterPollItemsResponse++;
if (buildCounterPollItemsResponse < 3) {
- o.items = buildUnnamed4557();
+ o.items = buildUnnamed4564();
}
buildCounterPollItemsResponse--;
return o;
@@ -2662,7 +2662,7 @@
checkPollItemsResponse(api.PollItemsResponse o) {
buildCounterPollItemsResponse++;
if (buildCounterPollItemsResponse < 3) {
- checkUnnamed4557(o.items);
+ checkUnnamed4564(o.items);
}
buildCounterPollItemsResponse--;
}
@@ -2690,14 +2690,14 @@
buildCounterPrincipal--;
}
-buildUnnamed4558() {
+buildUnnamed4565() {
var o = new core.List<api.FieldViolation>();
o.add(buildFieldViolation());
o.add(buildFieldViolation());
return o;
}
-checkUnnamed4558(core.List<api.FieldViolation> o) {
+checkUnnamed4565(core.List<api.FieldViolation> o) {
unittest.expect(o, unittest.hasLength(2));
checkFieldViolation(o[0]);
checkFieldViolation(o[1]);
@@ -2710,7 +2710,7 @@
if (buildCounterProcessingError < 3) {
o.code = "foo";
o.errorMessage = "foo";
- o.fieldViolations = buildUnnamed4558();
+ o.fieldViolations = buildUnnamed4565();
}
buildCounterProcessingError--;
return o;
@@ -2721,7 +2721,7 @@
if (buildCounterProcessingError < 3) {
unittest.expect(o.code, unittest.equals('foo'));
unittest.expect(o.errorMessage, unittest.equals('foo'));
- checkUnnamed4558(o.fieldViolations);
+ checkUnnamed4565(o.fieldViolations);
}
buildCounterProcessingError--;
}
@@ -2934,14 +2934,14 @@
buildCounterQueryItem--;
}
-buildUnnamed4559() {
+buildUnnamed4566() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4559(core.List<core.String> o) {
+checkUnnamed4566(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2953,7 +2953,7 @@
buildCounterQueryOperator++;
if (buildCounterQueryOperator < 3) {
o.displayName = "foo";
- o.enumValues = buildUnnamed4559();
+ o.enumValues = buildUnnamed4566();
o.greaterThanOperatorName = "foo";
o.isFacetable = true;
o.isRepeatable = true;
@@ -2973,7 +2973,7 @@
buildCounterQueryOperator++;
if (buildCounterQueryOperator < 3) {
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed4559(o.enumValues);
+ checkUnnamed4566(o.enumValues);
unittest.expect(o.greaterThanOperatorName, unittest.equals('foo'));
unittest.expect(o.isFacetable, unittest.isTrue);
unittest.expect(o.isRepeatable, unittest.isTrue);
@@ -2988,14 +2988,14 @@
buildCounterQueryOperator--;
}
-buildUnnamed4560() {
+buildUnnamed4567() {
var o = new core.List<api.QueryOperator>();
o.add(buildQueryOperator());
o.add(buildQueryOperator());
return o;
}
-checkUnnamed4560(core.List<api.QueryOperator> o) {
+checkUnnamed4567(core.List<api.QueryOperator> o) {
unittest.expect(o, unittest.hasLength(2));
checkQueryOperator(o[0]);
checkQueryOperator(o[1]);
@@ -3007,7 +3007,7 @@
buildCounterQuerySource++;
if (buildCounterQuerySource < 3) {
o.displayName = "foo";
- o.operators = buildUnnamed4560();
+ o.operators = buildUnnamed4567();
o.shortName = "foo";
o.source = buildSource();
}
@@ -3019,7 +3019,7 @@
buildCounterQuerySource++;
if (buildCounterQuerySource < 3) {
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed4560(o.operators);
+ checkUnnamed4567(o.operators);
unittest.expect(o.shortName, unittest.equals('foo'));
checkSource(o.source);
}
@@ -3154,14 +3154,14 @@
buildCounterRestrictItem--;
}
-buildUnnamed4561() {
+buildUnnamed4568() {
var o = new core.List<api.SourceResultCount>();
o.add(buildSourceResultCount());
o.add(buildSourceResultCount());
return o;
}
-checkUnnamed4561(core.List<api.SourceResultCount> o) {
+checkUnnamed4568(core.List<api.SourceResultCount> o) {
unittest.expect(o, unittest.hasLength(2));
checkSourceResultCount(o[0]);
checkSourceResultCount(o[1]);
@@ -3172,7 +3172,7 @@
var o = new api.ResultCounts();
buildCounterResultCounts++;
if (buildCounterResultCounts < 3) {
- o.sourceResultCounts = buildUnnamed4561();
+ o.sourceResultCounts = buildUnnamed4568();
}
buildCounterResultCounts--;
return o;
@@ -3181,7 +3181,7 @@
checkResultCounts(api.ResultCounts o) {
buildCounterResultCounts++;
if (buildCounterResultCounts < 3) {
- checkUnnamed4561(o.sourceResultCounts);
+ checkUnnamed4568(o.sourceResultCounts);
}
buildCounterResultCounts--;
}
@@ -3228,14 +3228,14 @@
buildCounterResultDisplayField--;
}
-buildUnnamed4562() {
+buildUnnamed4569() {
var o = new core.List<api.ResultDisplayField>();
o.add(buildResultDisplayField());
o.add(buildResultDisplayField());
return o;
}
-checkUnnamed4562(core.List<api.ResultDisplayField> o) {
+checkUnnamed4569(core.List<api.ResultDisplayField> o) {
unittest.expect(o, unittest.hasLength(2));
checkResultDisplayField(o[0]);
checkResultDisplayField(o[1]);
@@ -3246,7 +3246,7 @@
var o = new api.ResultDisplayLine();
buildCounterResultDisplayLine++;
if (buildCounterResultDisplayLine < 3) {
- o.fields = buildUnnamed4562();
+ o.fields = buildUnnamed4569();
}
buildCounterResultDisplayLine--;
return o;
@@ -3255,19 +3255,19 @@
checkResultDisplayLine(api.ResultDisplayLine o) {
buildCounterResultDisplayLine++;
if (buildCounterResultDisplayLine < 3) {
- checkUnnamed4562(o.fields);
+ checkUnnamed4569(o.fields);
}
buildCounterResultDisplayLine--;
}
-buildUnnamed4563() {
+buildUnnamed4570() {
var o = new core.List<api.ResultDisplayLine>();
o.add(buildResultDisplayLine());
o.add(buildResultDisplayLine());
return o;
}
-checkUnnamed4563(core.List<api.ResultDisplayLine> o) {
+checkUnnamed4570(core.List<api.ResultDisplayLine> o) {
unittest.expect(o, unittest.hasLength(2));
checkResultDisplayLine(o[0]);
checkResultDisplayLine(o[1]);
@@ -3278,7 +3278,7 @@
var o = new api.ResultDisplayMetadata();
buildCounterResultDisplayMetadata++;
if (buildCounterResultDisplayMetadata < 3) {
- o.metalines = buildUnnamed4563();
+ o.metalines = buildUnnamed4570();
o.objectTypeLabel = "foo";
}
buildCounterResultDisplayMetadata--;
@@ -3288,7 +3288,7 @@
checkResultDisplayMetadata(api.ResultDisplayMetadata o) {
buildCounterResultDisplayMetadata++;
if (buildCounterResultDisplayMetadata < 3) {
- checkUnnamed4563(o.metalines);
+ checkUnnamed4570(o.metalines);
unittest.expect(o.objectTypeLabel, unittest.equals('foo'));
}
buildCounterResultDisplayMetadata--;
@@ -3313,27 +3313,27 @@
buildCounterRetrievalImportance--;
}
-buildUnnamed4564() {
+buildUnnamed4571() {
var o = new core.List<api.ObjectDefinition>();
o.add(buildObjectDefinition());
o.add(buildObjectDefinition());
return o;
}
-checkUnnamed4564(core.List<api.ObjectDefinition> o) {
+checkUnnamed4571(core.List<api.ObjectDefinition> o) {
unittest.expect(o, unittest.hasLength(2));
checkObjectDefinition(o[0]);
checkObjectDefinition(o[1]);
}
-buildUnnamed4565() {
+buildUnnamed4572() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4565(core.List<core.String> o) {
+checkUnnamed4572(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3344,8 +3344,8 @@
var o = new api.Schema();
buildCounterSchema++;
if (buildCounterSchema < 3) {
- o.objectDefinitions = buildUnnamed4564();
- o.operationIds = buildUnnamed4565();
+ o.objectDefinitions = buildUnnamed4571();
+ o.operationIds = buildUnnamed4572();
}
buildCounterSchema--;
return o;
@@ -3354,8 +3354,8 @@
checkSchema(api.Schema o) {
buildCounterSchema++;
if (buildCounterSchema < 3) {
- checkUnnamed4564(o.objectDefinitions);
- checkUnnamed4565(o.operationIds);
+ checkUnnamed4571(o.objectDefinitions);
+ checkUnnamed4572(o.operationIds);
}
buildCounterSchema--;
}
@@ -3381,53 +3381,53 @@
buildCounterScoringConfig--;
}
-buildUnnamed4566() {
+buildUnnamed4573() {
var o = new core.List<api.DataSourceRestriction>();
o.add(buildDataSourceRestriction());
o.add(buildDataSourceRestriction());
return o;
}
-checkUnnamed4566(core.List<api.DataSourceRestriction> o) {
+checkUnnamed4573(core.List<api.DataSourceRestriction> o) {
unittest.expect(o, unittest.hasLength(2));
checkDataSourceRestriction(o[0]);
checkDataSourceRestriction(o[1]);
}
-buildUnnamed4567() {
+buildUnnamed4574() {
var o = new core.List<api.FacetOptions>();
o.add(buildFacetOptions());
o.add(buildFacetOptions());
return o;
}
-checkUnnamed4567(core.List<api.FacetOptions> o) {
+checkUnnamed4574(core.List<api.FacetOptions> o) {
unittest.expect(o, unittest.hasLength(2));
checkFacetOptions(o[0]);
checkFacetOptions(o[1]);
}
-buildUnnamed4568() {
+buildUnnamed4575() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4568(core.List<core.String> o) {
+checkUnnamed4575(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed4569() {
+buildUnnamed4576() {
var o = new core.List<api.SourceConfig>();
o.add(buildSourceConfig());
o.add(buildSourceConfig());
return o;
}
-checkUnnamed4569(core.List<api.SourceConfig> o) {
+checkUnnamed4576(core.List<api.SourceConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkSourceConfig(o[0]);
checkSourceConfig(o[1]);
@@ -3438,14 +3438,14 @@
var o = new api.SearchApplication();
buildCounterSearchApplication++;
if (buildCounterSearchApplication < 3) {
- o.dataSourceRestrictions = buildUnnamed4566();
- o.defaultFacetOptions = buildUnnamed4567();
+ o.dataSourceRestrictions = buildUnnamed4573();
+ o.defaultFacetOptions = buildUnnamed4574();
o.defaultSortOptions = buildSortOptions();
o.displayName = "foo";
o.name = "foo";
- o.operationIds = buildUnnamed4568();
+ o.operationIds = buildUnnamed4575();
o.scoringConfig = buildScoringConfig();
- o.sourceConfig = buildUnnamed4569();
+ o.sourceConfig = buildUnnamed4576();
}
buildCounterSearchApplication--;
return o;
@@ -3454,26 +3454,26 @@
checkSearchApplication(api.SearchApplication o) {
buildCounterSearchApplication++;
if (buildCounterSearchApplication < 3) {
- checkUnnamed4566(o.dataSourceRestrictions);
- checkUnnamed4567(o.defaultFacetOptions);
+ checkUnnamed4573(o.dataSourceRestrictions);
+ checkUnnamed4574(o.defaultFacetOptions);
checkSortOptions(o.defaultSortOptions);
unittest.expect(o.displayName, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed4568(o.operationIds);
+ checkUnnamed4575(o.operationIds);
checkScoringConfig(o.scoringConfig);
- checkUnnamed4569(o.sourceConfig);
+ checkUnnamed4576(o.sourceConfig);
}
buildCounterSearchApplication--;
}
-buildUnnamed4570() {
+buildUnnamed4577() {
var o = new core.List<api.QueryCountByStatus>();
o.add(buildQueryCountByStatus());
o.add(buildQueryCountByStatus());
return o;
}
-checkUnnamed4570(core.List<api.QueryCountByStatus> o) {
+checkUnnamed4577(core.List<api.QueryCountByStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkQueryCountByStatus(o[0]);
checkQueryCountByStatus(o[1]);
@@ -3485,7 +3485,7 @@
buildCounterSearchApplicationQueryStats++;
if (buildCounterSearchApplicationQueryStats < 3) {
o.date = buildDate();
- o.queryCountByStatus = buildUnnamed4570();
+ o.queryCountByStatus = buildUnnamed4577();
}
buildCounterSearchApplicationQueryStats--;
return o;
@@ -3495,7 +3495,7 @@
buildCounterSearchApplicationQueryStats++;
if (buildCounterSearchApplicationQueryStats < 3) {
checkDate(o.date);
- checkUnnamed4570(o.queryCountByStatus);
+ checkUnnamed4577(o.queryCountByStatus);
}
buildCounterSearchApplicationQueryStats--;
}
@@ -3569,14 +3569,14 @@
buildCounterSearchItemsByViewUrlRequest--;
}
-buildUnnamed4571() {
+buildUnnamed4578() {
var o = new core.List<api.Item>();
o.add(buildItem());
o.add(buildItem());
return o;
}
-checkUnnamed4571(core.List<api.Item> o) {
+checkUnnamed4578(core.List<api.Item> o) {
unittest.expect(o, unittest.hasLength(2));
checkItem(o[0]);
checkItem(o[1]);
@@ -3587,7 +3587,7 @@
var o = new api.SearchItemsByViewUrlResponse();
buildCounterSearchItemsByViewUrlResponse++;
if (buildCounterSearchItemsByViewUrlResponse < 3) {
- o.items = buildUnnamed4571();
+ o.items = buildUnnamed4578();
o.nextPageToken = "foo";
}
buildCounterSearchItemsByViewUrlResponse--;
@@ -3597,7 +3597,7 @@
checkSearchItemsByViewUrlResponse(api.SearchItemsByViewUrlResponse o) {
buildCounterSearchItemsByViewUrlResponse++;
if (buildCounterSearchItemsByViewUrlResponse < 3) {
- checkUnnamed4571(o.items);
+ checkUnnamed4578(o.items);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterSearchItemsByViewUrlResponse--;
@@ -3622,27 +3622,27 @@
buildCounterSearchQualityMetadata--;
}
-buildUnnamed4572() {
+buildUnnamed4579() {
var o = new core.List<api.DataSourceRestriction>();
o.add(buildDataSourceRestriction());
o.add(buildDataSourceRestriction());
return o;
}
-checkUnnamed4572(core.List<api.DataSourceRestriction> o) {
+checkUnnamed4579(core.List<api.DataSourceRestriction> o) {
unittest.expect(o, unittest.hasLength(2));
checkDataSourceRestriction(o[0]);
checkDataSourceRestriction(o[1]);
}
-buildUnnamed4573() {
+buildUnnamed4580() {
var o = new core.List<api.FacetOptions>();
o.add(buildFacetOptions());
o.add(buildFacetOptions());
return o;
}
-checkUnnamed4573(core.List<api.FacetOptions> o) {
+checkUnnamed4580(core.List<api.FacetOptions> o) {
unittest.expect(o, unittest.hasLength(2));
checkFacetOptions(o[0]);
checkFacetOptions(o[1]);
@@ -3653,8 +3653,8 @@
var o = new api.SearchRequest();
buildCounterSearchRequest++;
if (buildCounterSearchRequest < 3) {
- o.dataSourceRestrictions = buildUnnamed4572();
- o.facetOptions = buildUnnamed4573();
+ o.dataSourceRestrictions = buildUnnamed4579();
+ o.facetOptions = buildUnnamed4580();
o.pageSize = 42;
o.query = "foo";
o.queryInterpretationOptions = buildQueryInterpretationOptions();
@@ -3669,8 +3669,8 @@
checkSearchRequest(api.SearchRequest o) {
buildCounterSearchRequest++;
if (buildCounterSearchRequest < 3) {
- checkUnnamed4572(o.dataSourceRestrictions);
- checkUnnamed4573(o.facetOptions);
+ checkUnnamed4579(o.dataSourceRestrictions);
+ checkUnnamed4580(o.facetOptions);
unittest.expect(o.pageSize, unittest.equals(42));
unittest.expect(o.query, unittest.equals('foo'));
checkQueryInterpretationOptions(o.queryInterpretationOptions);
@@ -3681,53 +3681,53 @@
buildCounterSearchRequest--;
}
-buildUnnamed4574() {
+buildUnnamed4581() {
var o = new core.List<api.FacetResult>();
o.add(buildFacetResult());
o.add(buildFacetResult());
return o;
}
-checkUnnamed4574(core.List<api.FacetResult> o) {
+checkUnnamed4581(core.List<api.FacetResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkFacetResult(o[0]);
checkFacetResult(o[1]);
}
-buildUnnamed4575() {
+buildUnnamed4582() {
var o = new core.List<api.SearchResult>();
o.add(buildSearchResult());
o.add(buildSearchResult());
return o;
}
-checkUnnamed4575(core.List<api.SearchResult> o) {
+checkUnnamed4582(core.List<api.SearchResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkSearchResult(o[0]);
checkSearchResult(o[1]);
}
-buildUnnamed4576() {
+buildUnnamed4583() {
var o = new core.List<api.SpellResult>();
o.add(buildSpellResult());
o.add(buildSpellResult());
return o;
}
-checkUnnamed4576(core.List<api.SpellResult> o) {
+checkUnnamed4583(core.List<api.SpellResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkSpellResult(o[0]);
checkSpellResult(o[1]);
}
-buildUnnamed4577() {
+buildUnnamed4584() {
var o = new core.List<api.StructuredResult>();
o.add(buildStructuredResult());
o.add(buildStructuredResult());
return o;
}
-checkUnnamed4577(core.List<api.StructuredResult> o) {
+checkUnnamed4584(core.List<api.StructuredResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkStructuredResult(o[0]);
checkStructuredResult(o[1]);
@@ -3740,15 +3740,15 @@
if (buildCounterSearchResponse < 3) {
o.debugInfo = buildResponseDebugInfo();
o.errorInfo = buildErrorInfo();
- o.facetResults = buildUnnamed4574();
+ o.facetResults = buildUnnamed4581();
o.hasMoreResults = true;
o.queryInterpretation = buildQueryInterpretation();
o.resultCountEstimate = "foo";
o.resultCountExact = "foo";
o.resultCounts = buildResultCounts();
- o.results = buildUnnamed4575();
- o.spellResults = buildUnnamed4576();
- o.structuredResults = buildUnnamed4577();
+ o.results = buildUnnamed4582();
+ o.spellResults = buildUnnamed4583();
+ o.structuredResults = buildUnnamed4584();
}
buildCounterSearchResponse--;
return o;
@@ -3759,27 +3759,27 @@
if (buildCounterSearchResponse < 3) {
checkResponseDebugInfo(o.debugInfo);
checkErrorInfo(o.errorInfo);
- checkUnnamed4574(o.facetResults);
+ checkUnnamed4581(o.facetResults);
unittest.expect(o.hasMoreResults, unittest.isTrue);
checkQueryInterpretation(o.queryInterpretation);
unittest.expect(o.resultCountEstimate, unittest.equals('foo'));
unittest.expect(o.resultCountExact, unittest.equals('foo'));
checkResultCounts(o.resultCounts);
- checkUnnamed4575(o.results);
- checkUnnamed4576(o.spellResults);
- checkUnnamed4577(o.structuredResults);
+ checkUnnamed4582(o.results);
+ checkUnnamed4583(o.spellResults);
+ checkUnnamed4584(o.structuredResults);
}
buildCounterSearchResponse--;
}
-buildUnnamed4578() {
+buildUnnamed4585() {
var o = new core.List<api.SearchResult>();
o.add(buildSearchResult());
o.add(buildSearchResult());
return o;
}
-checkUnnamed4578(core.List<api.SearchResult> o) {
+checkUnnamed4585(core.List<api.SearchResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkSearchResult(o[0]);
checkSearchResult(o[1]);
@@ -3790,7 +3790,7 @@
var o = new api.SearchResult();
buildCounterSearchResult++;
if (buildCounterSearchResult < 3) {
- o.clusteredResults = buildUnnamed4578();
+ o.clusteredResults = buildUnnamed4585();
o.debugInfo = buildResultDebugInfo();
o.metadata = buildMetadata();
o.snippet = buildSnippet();
@@ -3804,7 +3804,7 @@
checkSearchResult(api.SearchResult o) {
buildCounterSearchResult++;
if (buildCounterSearchResult < 3) {
- checkUnnamed4578(o.clusteredResults);
+ checkUnnamed4585(o.clusteredResults);
checkResultDebugInfo(o.debugInfo);
checkMetadata(o.metadata);
checkSnippet(o.snippet);
@@ -3814,14 +3814,14 @@
buildCounterSearchResult--;
}
-buildUnnamed4579() {
+buildUnnamed4586() {
var o = new core.List<api.MatchRange>();
o.add(buildMatchRange());
o.add(buildMatchRange());
return o;
}
-checkUnnamed4579(core.List<api.MatchRange> o) {
+checkUnnamed4586(core.List<api.MatchRange> o) {
unittest.expect(o, unittest.hasLength(2));
checkMatchRange(o[0]);
checkMatchRange(o[1]);
@@ -3832,7 +3832,7 @@
var o = new api.Snippet();
buildCounterSnippet++;
if (buildCounterSnippet < 3) {
- o.matchRanges = buildUnnamed4579();
+ o.matchRanges = buildUnnamed4586();
o.snippet = "foo";
}
buildCounterSnippet--;
@@ -3842,7 +3842,7 @@
checkSnippet(api.Snippet o) {
buildCounterSnippet++;
if (buildCounterSnippet < 3) {
- checkUnnamed4579(o.matchRanges);
+ checkUnnamed4586(o.matchRanges);
unittest.expect(o.snippet, unittest.equals('foo'));
}
buildCounterSnippet--;
@@ -4018,7 +4018,7 @@
buildCounterStartUploadItemRequest--;
}
-buildUnnamed4580() {
+buildUnnamed4587() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -4033,7 +4033,7 @@
return o;
}
-checkUnnamed4580(core.Map<core.String, core.Object> o) {
+checkUnnamed4587(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted5 = (o["x"]) as core.Map;
unittest.expect(casted5, unittest.hasLength(3));
@@ -4047,17 +4047,17 @@
unittest.expect(casted6["string"], unittest.equals('foo'));
}
-buildUnnamed4581() {
+buildUnnamed4588() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed4580());
- o.add(buildUnnamed4580());
+ o.add(buildUnnamed4587());
+ o.add(buildUnnamed4587());
return o;
}
-checkUnnamed4581(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed4588(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed4580(o[0]);
- checkUnnamed4580(o[1]);
+ checkUnnamed4587(o[0]);
+ checkUnnamed4587(o[1]);
}
core.int buildCounterStatus = 0;
@@ -4066,7 +4066,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed4581();
+ o.details = buildUnnamed4588();
o.message = "foo";
}
buildCounterStatus--;
@@ -4077,20 +4077,20 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed4581(o.details);
+ checkUnnamed4588(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
}
-buildUnnamed4582() {
+buildUnnamed4589() {
var o = new core.List<api.NamedProperty>();
o.add(buildNamedProperty());
o.add(buildNamedProperty());
return o;
}
-checkUnnamed4582(core.List<api.NamedProperty> o) {
+checkUnnamed4589(core.List<api.NamedProperty> o) {
unittest.expect(o, unittest.hasLength(2));
checkNamedProperty(o[0]);
checkNamedProperty(o[1]);
@@ -4101,7 +4101,7 @@
var o = new api.StructuredDataObject();
buildCounterStructuredDataObject++;
if (buildCounterStructuredDataObject < 3) {
- o.properties = buildUnnamed4582();
+ o.properties = buildUnnamed4589();
}
buildCounterStructuredDataObject--;
return o;
@@ -4110,7 +4110,7 @@
checkStructuredDataObject(api.StructuredDataObject o) {
buildCounterStructuredDataObject++;
if (buildCounterStructuredDataObject < 3) {
- checkUnnamed4582(o.properties);
+ checkUnnamed4589(o.properties);
}
buildCounterStructuredDataObject--;
}
@@ -4134,14 +4134,14 @@
buildCounterStructuredResult--;
}
-buildUnnamed4583() {
+buildUnnamed4590() {
var o = new core.List<api.DataSourceRestriction>();
o.add(buildDataSourceRestriction());
o.add(buildDataSourceRestriction());
return o;
}
-checkUnnamed4583(core.List<api.DataSourceRestriction> o) {
+checkUnnamed4590(core.List<api.DataSourceRestriction> o) {
unittest.expect(o, unittest.hasLength(2));
checkDataSourceRestriction(o[0]);
checkDataSourceRestriction(o[1]);
@@ -4152,7 +4152,7 @@
var o = new api.SuggestRequest();
buildCounterSuggestRequest++;
if (buildCounterSuggestRequest < 3) {
- o.dataSourceRestrictions = buildUnnamed4583();
+ o.dataSourceRestrictions = buildUnnamed4590();
o.query = "foo";
o.requestOptions = buildRequestOptions();
}
@@ -4163,21 +4163,21 @@
checkSuggestRequest(api.SuggestRequest o) {
buildCounterSuggestRequest++;
if (buildCounterSuggestRequest < 3) {
- checkUnnamed4583(o.dataSourceRestrictions);
+ checkUnnamed4590(o.dataSourceRestrictions);
unittest.expect(o.query, unittest.equals('foo'));
checkRequestOptions(o.requestOptions);
}
buildCounterSuggestRequest--;
}
-buildUnnamed4584() {
+buildUnnamed4591() {
var o = new core.List<api.SuggestResult>();
o.add(buildSuggestResult());
o.add(buildSuggestResult());
return o;
}
-checkUnnamed4584(core.List<api.SuggestResult> o) {
+checkUnnamed4591(core.List<api.SuggestResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkSuggestResult(o[0]);
checkSuggestResult(o[1]);
@@ -4188,7 +4188,7 @@
var o = new api.SuggestResponse();
buildCounterSuggestResponse++;
if (buildCounterSuggestResponse < 3) {
- o.suggestResults = buildUnnamed4584();
+ o.suggestResults = buildUnnamed4591();
}
buildCounterSuggestResponse--;
return o;
@@ -4197,7 +4197,7 @@
checkSuggestResponse(api.SuggestResponse o) {
buildCounterSuggestResponse++;
if (buildCounterSuggestResponse < 3) {
- checkUnnamed4584(o.suggestResults);
+ checkUnnamed4591(o.suggestResults);
}
buildCounterSuggestResponse--;
}
@@ -4269,14 +4269,14 @@
buildCounterTextPropertyOptions--;
}
-buildUnnamed4585() {
+buildUnnamed4592() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4585(core.List<core.String> o) {
+checkUnnamed4592(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -4287,7 +4287,7 @@
var o = new api.TextValues();
buildCounterTextValues++;
if (buildCounterTextValues < 3) {
- o.values = buildUnnamed4585();
+ o.values = buildUnnamed4592();
}
buildCounterTextValues--;
return o;
@@ -4296,7 +4296,7 @@
checkTextValues(api.TextValues o) {
buildCounterTextValues++;
if (buildCounterTextValues < 3) {
- checkUnnamed4585(o.values);
+ checkUnnamed4592(o.values);
}
buildCounterTextValues--;
}
@@ -4343,14 +4343,14 @@
buildCounterTimestampPropertyOptions--;
}
-buildUnnamed4586() {
+buildUnnamed4593() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4586(core.List<core.String> o) {
+checkUnnamed4593(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -4361,7 +4361,7 @@
var o = new api.TimestampValues();
buildCounterTimestampValues++;
if (buildCounterTimestampValues < 3) {
- o.values = buildUnnamed4586();
+ o.values = buildUnnamed4593();
}
buildCounterTimestampValues--;
return o;
@@ -4370,7 +4370,7 @@
checkTimestampValues(api.TimestampValues o) {
buildCounterTimestampValues++;
if (buildCounterTimestampValues < 3) {
- checkUnnamed4586(o.values);
+ checkUnnamed4593(o.values);
}
buildCounterTimestampValues--;
}
@@ -5878,9 +5878,9 @@
api.DebugDatasourcesItemsUnmappedidsResourceApi res =
new api.CloudsearchApi(mock).debug.datasources.items.unmappedids;
var arg_parent = "foo";
- var arg_pageSize = 42;
var arg_debugOptions_enableDebugging = true;
var arg_pageToken = "foo";
+ var arg_pageSize = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -5913,12 +5913,12 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -5929,9 +5929,9 @@
}), true);
res
.list(arg_parent,
- pageSize: arg_pageSize,
debugOptions_enableDebugging: arg_debugOptions_enableDebugging,
pageToken: arg_pageToken,
+ pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListUnmappedIdentitiesResponse(response);
@@ -5945,11 +5945,11 @@
api.DebugIdentitysourcesItemsResourceApi res =
new api.CloudsearchApi(mock).debug.identitysources.items;
var arg_parent = "foo";
- var arg_pageToken = "foo";
- var arg_groupResourceName = "foo";
var arg_userResourceName = "foo";
- var arg_debugOptions_enableDebugging = true;
+ var arg_groupResourceName = "foo";
+ var arg_pageToken = "foo";
var arg_pageSize = 42;
+ var arg_debugOptions_enableDebugging = true;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -5982,16 +5982,16 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(queryMap["groupResourceName"].first,
- unittest.equals(arg_groupResourceName));
unittest.expect(queryMap["userResourceName"].first,
unittest.equals(arg_userResourceName));
- unittest.expect(queryMap["debugOptions.enableDebugging"].first,
- unittest.equals("$arg_debugOptions_enableDebugging"));
+ 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["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -6003,11 +6003,11 @@
}), true);
res
.listForunmappedidentity(arg_parent,
- pageToken: arg_pageToken,
- groupResourceName: arg_groupResourceName,
userResourceName: arg_userResourceName,
- debugOptions_enableDebugging: arg_debugOptions_enableDebugging,
+ groupResourceName: arg_groupResourceName,
+ pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ debugOptions_enableDebugging: arg_debugOptions_enableDebugging,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListItemNamesForUnmappedIdentityResponse(response);
@@ -6021,10 +6021,10 @@
api.DebugIdentitysourcesUnmappedidsResourceApi res =
new api.CloudsearchApi(mock).debug.identitysources.unmappedids;
var arg_parent = "foo";
- var arg_debugOptions_enableDebugging = true;
- var arg_resolutionStatusCode = "foo";
var arg_pageToken = "foo";
var arg_pageSize = 42;
+ var arg_resolutionStatusCode = "foo";
+ var arg_debugOptions_enableDebugging = true;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -6057,14 +6057,14 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["debugOptions.enableDebugging"].first,
- unittest.equals("$arg_debugOptions_enableDebugging"));
- unittest.expect(queryMap["resolutionStatusCode"].first,
- unittest.equals(arg_resolutionStatusCode));
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(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -6075,10 +6075,10 @@
}), true);
res
.list(arg_parent,
- debugOptions_enableDebugging: arg_debugOptions_enableDebugging,
- resolutionStatusCode: arg_resolutionStatusCode,
pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ resolutionStatusCode: arg_resolutionStatusCode,
+ debugOptions_enableDebugging: arg_debugOptions_enableDebugging,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListUnmappedIdentitiesResponse(response);
@@ -6388,8 +6388,8 @@
api.IndexingDatasourcesItemsResourceApi res =
new api.CloudsearchApi(mock).indexing.datasources.items;
var arg_name = "foo";
- var arg_debugOptions_enableDebugging = true;
var arg_connectorName = "foo";
+ var arg_debugOptions_enableDebugging = true;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -6422,10 +6422,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["debugOptions.enableDebugging"].first,
- unittest.equals("$arg_debugOptions_enableDebugging"));
unittest.expect(queryMap["connectorName"].first,
unittest.equals(arg_connectorName));
+ unittest.expect(queryMap["debugOptions.enableDebugging"].first,
+ unittest.equals("$arg_debugOptions_enableDebugging"));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -6436,8 +6436,8 @@
}), true);
res
.get(arg_name,
- debugOptions_enableDebugging: arg_debugOptions_enableDebugging,
connectorName: arg_connectorName,
+ debugOptions_enableDebugging: arg_debugOptions_enableDebugging,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkItem(response);
@@ -6505,11 +6505,11 @@
api.IndexingDatasourcesItemsResourceApi res =
new api.CloudsearchApi(mock).indexing.datasources.items;
var arg_name = "foo";
- var arg_brief = true;
- var arg_pageToken = "foo";
- var arg_pageSize = 42;
- var arg_debugOptions_enableDebugging = 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";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -6542,15 +6542,15 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["brief"].first, unittest.equals("$arg_brief"));
- 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["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(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -6561,11 +6561,11 @@
}), true);
res
.list(arg_name,
- brief: arg_brief,
- pageToken: arg_pageToken,
- pageSize: arg_pageSize,
- debugOptions_enableDebugging: arg_debugOptions_enableDebugging,
connectorName: arg_connectorName,
+ debugOptions_enableDebugging: arg_debugOptions_enableDebugging,
+ brief: arg_brief,
+ pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListItemsResponse(response);
@@ -6917,8 +6917,8 @@
new api.CloudsearchApi(mock).operations.lro;
var arg_name = "foo";
var arg_pageToken = "foo";
- var arg_filter = "foo";
var arg_pageSize = 42;
+ var arg_filter = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -6953,9 +6953,9 @@
}
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["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -6967,8 +6967,8 @@
res
.list(arg_name,
pageToken: arg_pageToken,
- filter: arg_filter,
pageSize: arg_pageSize,
+ filter: arg_filter,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListOperationsResponse(response);
@@ -7089,10 +7089,10 @@
var mock = new HttpServerMock();
api.QuerySourcesResourceApi res =
new api.CloudsearchApi(mock).query.sources;
- var arg_requestOptions_debugOptions_enableDebugging = true;
- var arg_requestOptions_timeZone = "foo";
var arg_requestOptions_languageCode = "foo";
+ var arg_requestOptions_debugOptions_enableDebugging = true;
var arg_pageToken = "foo";
+ var arg_requestOptions_timeZone = "foo";
var arg_requestOptions_searchApplicationId = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -7125,16 +7125,16 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["requestOptions.languageCode"].first,
+ unittest.equals(arg_requestOptions_languageCode));
unittest.expect(
queryMap["requestOptions.debugOptions.enableDebugging"].first,
unittest
.equals("$arg_requestOptions_debugOptions_enableDebugging"));
- 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["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["requestOptions.timeZone"].first,
+ unittest.equals(arg_requestOptions_timeZone));
unittest.expect(queryMap["requestOptions.searchApplicationId"].first,
unittest.equals(arg_requestOptions_searchApplicationId));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -7147,11 +7147,11 @@
}), true);
res
.list(
+ requestOptions_languageCode: arg_requestOptions_languageCode,
requestOptions_debugOptions_enableDebugging:
arg_requestOptions_debugOptions_enableDebugging,
- requestOptions_timeZone: arg_requestOptions_timeZone,
- requestOptions_languageCode: arg_requestOptions_languageCode,
pageToken: arg_pageToken,
+ requestOptions_timeZone: arg_requestOptions_timeZone,
requestOptions_searchApplicationId:
arg_requestOptions_searchApplicationId,
$fields: arg_$fields)
@@ -7334,8 +7334,8 @@
var mock = new HttpServerMock();
api.SettingsDatasourcesResourceApi res =
new api.CloudsearchApi(mock).settings.datasources;
- var arg_debugOptions_enableDebugging = true;
var arg_pageSize = 42;
+ var arg_debugOptions_enableDebugging = true;
var arg_pageToken = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -7368,10 +7368,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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["debugOptions.enableDebugging"].first,
+ unittest.equals("$arg_debugOptions_enableDebugging"));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -7384,8 +7384,8 @@
}), true);
res
.list(
- debugOptions_enableDebugging: arg_debugOptions_enableDebugging,
pageSize: arg_pageSize,
+ debugOptions_enableDebugging: arg_debugOptions_enableDebugging,
pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -7623,9 +7623,9 @@
var mock = new HttpServerMock();
api.SettingsSearchapplicationsResourceApi res =
new api.CloudsearchApi(mock).settings.searchapplications;
+ var arg_debugOptions_enableDebugging = true;
var arg_pageSize = 42;
var arg_pageToken = "foo";
- var arg_debugOptions_enableDebugging = true;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -7657,12 +7657,12 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ 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["debugOptions.enableDebugging"].first,
- unittest.equals("$arg_debugOptions_enableDebugging"));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -7673,9 +7673,9 @@
}), true);
res
.list(
+ debugOptions_enableDebugging: arg_debugOptions_enableDebugging,
pageSize: arg_pageSize,
pageToken: arg_pageToken,
- debugOptions_enableDebugging: arg_debugOptions_enableDebugging,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListSearchApplicationsResponse(response);
@@ -7799,12 +7799,12 @@
unittest.test("method--getIndex", () {
var mock = new HttpServerMock();
api.StatsResourceApi res = new api.CloudsearchApi(mock).stats;
- var arg_fromDate_month = 42;
var arg_toDate_month = 42;
- var arg_fromDate_year = 42;
- var arg_fromDate_day = 42;
var arg_toDate_year = 42;
+ var arg_fromDate_year = 42;
var arg_toDate_day = 42;
+ var arg_fromDate_month = 42;
+ var arg_fromDate_day = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -7836,18 +7836,18 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(core.int.parse(queryMap["fromDate.month"].first),
- unittest.equals(arg_fromDate_month));
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.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(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -7858,12 +7858,12 @@
}), true);
res
.getIndex(
- fromDate_month: arg_fromDate_month,
toDate_month: arg_toDate_month,
- fromDate_year: arg_fromDate_year,
- fromDate_day: arg_fromDate_day,
toDate_year: arg_toDate_year,
+ fromDate_year: arg_fromDate_year,
toDate_day: arg_toDate_day,
+ fromDate_month: arg_fromDate_month,
+ fromDate_day: arg_fromDate_day,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGetCustomerIndexStatsResponse(response);
@@ -7874,11 +7874,11 @@
var mock = new HttpServerMock();
api.StatsResourceApi res = new api.CloudsearchApi(mock).stats;
var arg_toDate_month = 42;
- var arg_fromDate_day = 42;
- var arg_toDate_day = 42;
var arg_fromDate_year = 42;
- var arg_fromDate_month = 42;
+ var arg_fromDate_day = 42;
var arg_toDate_year = 42;
+ var arg_fromDate_month = 42;
+ var arg_toDate_day = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -7912,16 +7912,16 @@
}
unittest.expect(core.int.parse(queryMap["toDate.month"].first),
unittest.equals(arg_toDate_month));
- 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.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["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["toDate.day"].first),
+ unittest.equals(arg_toDate_day));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -7933,11 +7933,11 @@
res
.getQuery(
toDate_month: arg_toDate_month,
- fromDate_day: arg_fromDate_day,
- toDate_day: arg_toDate_day,
fromDate_year: arg_fromDate_year,
- fromDate_month: arg_fromDate_month,
+ fromDate_day: arg_fromDate_day,
toDate_year: arg_toDate_year,
+ fromDate_month: arg_fromDate_month,
+ toDate_day: arg_toDate_day,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGetCustomerQueryStatsResponse(response);
@@ -7947,12 +7947,12 @@
unittest.test("method--getSession", () {
var mock = new HttpServerMock();
api.StatsResourceApi res = new api.CloudsearchApi(mock).stats;
- var arg_fromDate_day = 42;
var arg_fromDate_year = 42;
- var arg_toDate_day = 42;
- var arg_toDate_year = 42;
- var arg_toDate_month = 42;
var arg_fromDate_month = 42;
+ var arg_fromDate_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;
@@ -7984,18 +7984,18 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(core.int.parse(queryMap["fromDate.day"].first),
- unittest.equals(arg_fromDate_day));
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.year"].first),
- unittest.equals(arg_toDate_year));
- 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.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(core.int.parse(queryMap["toDate.day"].first),
+ unittest.equals(arg_toDate_day));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -8006,12 +8006,12 @@
}), true);
res
.getSession(
- fromDate_day: arg_fromDate_day,
fromDate_year: arg_fromDate_year,
- toDate_day: arg_toDate_day,
- toDate_year: arg_toDate_year,
- toDate_month: arg_toDate_month,
fromDate_month: arg_fromDate_month,
+ fromDate_day: arg_fromDate_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);
@@ -8022,11 +8022,11 @@
var mock = new HttpServerMock();
api.StatsResourceApi res = new api.CloudsearchApi(mock).stats;
var arg_fromDate_month = 42;
- var arg_fromDate_day = 42;
- var arg_fromDate_year = 42;
var arg_toDate_day = 42;
- var arg_toDate_year = 42;
+ var arg_fromDate_day = 42;
var arg_toDate_month = 42;
+ var arg_fromDate_year = 42;
+ var arg_toDate_year = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -8060,16 +8060,16 @@
}
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.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.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["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["toDate.year"].first),
+ unittest.equals(arg_toDate_year));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -8081,11 +8081,11 @@
res
.getUser(
fromDate_month: arg_fromDate_month,
- fromDate_day: arg_fromDate_day,
- fromDate_year: arg_fromDate_year,
toDate_day: arg_toDate_day,
- toDate_year: arg_toDate_year,
+ fromDate_day: arg_fromDate_day,
toDate_month: arg_toDate_month,
+ fromDate_year: arg_fromDate_year,
+ toDate_year: arg_toDate_year,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGetCustomerUserStatsResponse(response);
@@ -8099,12 +8099,12 @@
api.StatsIndexDatasourcesResourceApi res =
new api.CloudsearchApi(mock).stats.index.datasources;
var arg_name = "foo";
- var arg_toDate_day = 42;
var arg_fromDate_month = 42;
- var arg_toDate_month = 42;
- var arg_toDate_year = 42;
+ var arg_toDate_day = 42;
var arg_fromDate_day = 42;
var arg_fromDate_year = 42;
+ var arg_toDate_year = 42;
+ var arg_toDate_month = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -8137,18 +8137,18 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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["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(core.int.parse(queryMap["fromDate.day"].first),
unittest.equals(arg_fromDate_day));
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.month"].first),
+ unittest.equals(arg_toDate_month));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -8159,12 +8159,12 @@
}), true);
res
.get(arg_name,
- toDate_day: arg_toDate_day,
fromDate_month: arg_fromDate_month,
- toDate_month: arg_toDate_month,
- toDate_year: arg_toDate_year,
+ toDate_day: arg_toDate_day,
fromDate_day: arg_fromDate_day,
fromDate_year: arg_fromDate_year,
+ toDate_year: arg_toDate_year,
+ toDate_month: arg_toDate_month,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGetDataSourceIndexStatsResponse(response);
@@ -8179,11 +8179,11 @@
new 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_day = 42;
var arg_toDate_month = 42;
- var arg_fromDate_year = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -8218,16 +8218,16 @@
}
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.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.year"].first),
- unittest.equals(arg_fromDate_year));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -8240,11 +8240,11 @@
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_day: arg_fromDate_day,
toDate_month: arg_toDate_month,
- fromDate_year: arg_fromDate_year,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGetSearchApplicationQueryStatsResponse(response);
@@ -8258,12 +8258,12 @@
api.StatsSessionSearchapplicationsResourceApi res =
new api.CloudsearchApi(mock).stats.session.searchapplications;
var arg_name = "foo";
- var arg_fromDate_year = 42;
- var arg_toDate_year = 42;
var arg_toDate_month = 42;
- var arg_fromDate_day = 42;
- var arg_toDate_day = 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_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -8296,18 +8296,18 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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.month"].first),
unittest.equals(arg_toDate_month));
- 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["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(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -8319,12 +8319,12 @@
}), true);
res
.get(arg_name,
- fromDate_year: arg_fromDate_year,
- toDate_year: arg_toDate_year,
toDate_month: arg_toDate_month,
- fromDate_day: arg_fromDate_day,
- toDate_day: arg_toDate_day,
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,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGetSearchApplicationSessionStatsResponse(response);
@@ -8338,12 +8338,12 @@
api.StatsUserSearchapplicationsResourceApi res =
new api.CloudsearchApi(mock).stats.user.searchapplications;
var arg_name = "foo";
- var arg_toDate_day = 42;
- var arg_fromDate_month = 42;
- var arg_fromDate_day = 42;
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_toDate_day = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -8376,18 +8376,18 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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["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["toDate.day"].first),
+ unittest.equals(arg_toDate_day));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -8399,12 +8399,12 @@
}), true);
res
.get(arg_name,
- toDate_day: arg_toDate_day,
- fromDate_month: arg_fromDate_month,
- fromDate_day: arg_fromDate_day,
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,
+ toDate_day: arg_toDate_day,
$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 a88b21a..052c1ed 100644
--- a/generated/googleapis/test/cloudshell/v1_test.dart
+++ b/generated/googleapis/test/cloudshell/v1_test.dart
@@ -216,14 +216,14 @@
buildCounterEmpty--;
}
-buildUnnamed5011() {
+buildUnnamed5018() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5011(core.List<core.String> o) {
+checkUnnamed5018(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -237,7 +237,7 @@
o.dockerImage = "foo";
o.id = "foo";
o.name = "foo";
- o.publicKeys = buildUnnamed5011();
+ o.publicKeys = buildUnnamed5018();
o.sshHost = "foo";
o.sshPort = 42;
o.sshUsername = "foo";
@@ -254,7 +254,7 @@
unittest.expect(o.dockerImage, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed5011(o.publicKeys);
+ checkUnnamed5018(o.publicKeys);
unittest.expect(o.sshHost, unittest.equals('foo'));
unittest.expect(o.sshPort, unittest.equals(42));
unittest.expect(o.sshUsername, unittest.equals('foo'));
@@ -264,14 +264,14 @@
buildCounterEnvironment--;
}
-buildUnnamed5012() {
+buildUnnamed5019() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed5012(core.List<api.Operation> o) {
+checkUnnamed5019(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -283,7 +283,7 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
o.nextPageToken = "foo";
- o.operations = buildUnnamed5012();
+ o.operations = buildUnnamed5019();
}
buildCounterListOperationsResponse--;
return o;
@@ -293,12 +293,12 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed5012(o.operations);
+ checkUnnamed5019(o.operations);
}
buildCounterListOperationsResponse--;
}
-buildUnnamed5013() {
+buildUnnamed5020() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -313,7 +313,7 @@
return o;
}
-checkUnnamed5013(core.Map<core.String, core.Object> o) {
+checkUnnamed5020(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o["x"]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -327,7 +327,7 @@
unittest.expect(casted2["string"], unittest.equals('foo'));
}
-buildUnnamed5014() {
+buildUnnamed5021() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -342,7 +342,7 @@
return o;
}
-checkUnnamed5014(core.Map<core.String, core.Object> o) {
+checkUnnamed5021(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted3 = (o["x"]) as core.Map;
unittest.expect(casted3, unittest.hasLength(3));
@@ -363,9 +363,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed5013();
+ o.metadata = buildUnnamed5020();
o.name = "foo";
- o.response = buildUnnamed5014();
+ o.response = buildUnnamed5021();
}
buildCounterOperation--;
return o;
@@ -376,9 +376,9 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed5013(o.metadata);
+ checkUnnamed5020(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed5014(o.response);
+ checkUnnamed5021(o.response);
}
buildCounterOperation--;
}
@@ -451,14 +451,14 @@
buildCounterStartEnvironmentMetadata--;
}
-buildUnnamed5015() {
+buildUnnamed5022() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5015(core.List<core.String> o) {
+checkUnnamed5022(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -470,7 +470,7 @@
buildCounterStartEnvironmentRequest++;
if (buildCounterStartEnvironmentRequest < 3) {
o.accessToken = "foo";
- o.publicKeys = buildUnnamed5015();
+ o.publicKeys = buildUnnamed5022();
}
buildCounterStartEnvironmentRequest--;
return o;
@@ -480,7 +480,7 @@
buildCounterStartEnvironmentRequest++;
if (buildCounterStartEnvironmentRequest < 3) {
unittest.expect(o.accessToken, unittest.equals('foo'));
- checkUnnamed5015(o.publicKeys);
+ checkUnnamed5022(o.publicKeys);
}
buildCounterStartEnvironmentRequest--;
}
@@ -504,7 +504,7 @@
buildCounterStartEnvironmentResponse--;
}
-buildUnnamed5016() {
+buildUnnamed5023() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -519,7 +519,7 @@
return o;
}
-checkUnnamed5016(core.Map<core.String, core.Object> o) {
+checkUnnamed5023(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted5 = (o["x"]) as core.Map;
unittest.expect(casted5, unittest.hasLength(3));
@@ -533,17 +533,17 @@
unittest.expect(casted6["string"], unittest.equals('foo'));
}
-buildUnnamed5017() {
+buildUnnamed5024() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed5016());
- o.add(buildUnnamed5016());
+ o.add(buildUnnamed5023());
+ o.add(buildUnnamed5023());
return o;
}
-checkUnnamed5017(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed5024(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed5016(o[0]);
- checkUnnamed5016(o[1]);
+ checkUnnamed5023(o[0]);
+ checkUnnamed5023(o[1]);
}
core.int buildCounterStatus = 0;
@@ -552,7 +552,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed5017();
+ o.details = buildUnnamed5024();
o.message = "foo";
}
buildCounterStatus--;
@@ -563,7 +563,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed5017(o.details);
+ checkUnnamed5024(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
@@ -892,9 +892,9 @@
var mock = new HttpServerMock();
api.OperationsResourceApi res = new api.CloudshellApi(mock).operations;
var arg_name = "foo";
- var arg_filter = "foo";
- var arg_pageSize = 42;
var arg_pageToken = "foo";
+ var arg_pageSize = 42;
+ var arg_filter = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -927,11 +927,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -942,9 +942,9 @@
}), true);
res
.list(arg_name,
- filter: arg_filter,
- pageSize: arg_pageSize,
pageToken: arg_pageToken,
+ pageSize: arg_pageSize,
+ filter: arg_filter,
$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 37bb6a1..cdbef76 100644
--- a/generated/googleapis/test/cloudtasks/v2_test.dart
+++ b/generated/googleapis/test/cloudtasks/v2_test.dart
@@ -50,14 +50,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed2284() {
+buildUnnamed2286() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2284(core.Map<core.String, core.String> o) {
+checkUnnamed2286(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -70,7 +70,7 @@
if (buildCounterAppEngineHttpRequest < 3) {
o.appEngineRouting = buildAppEngineRouting();
o.body = "foo";
- o.headers = buildUnnamed2284();
+ o.headers = buildUnnamed2286();
o.httpMethod = "foo";
o.relativeUri = "foo";
}
@@ -83,7 +83,7 @@
if (buildCounterAppEngineHttpRequest < 3) {
checkAppEngineRouting(o.appEngineRouting);
unittest.expect(o.body, unittest.equals('foo'));
- checkUnnamed2284(o.headers);
+ checkUnnamed2286(o.headers);
unittest.expect(o.httpMethod, unittest.equals('foo'));
unittest.expect(o.relativeUri, unittest.equals('foo'));
}
@@ -140,14 +140,14 @@
buildCounterAttempt--;
}
-buildUnnamed2285() {
+buildUnnamed2287() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2285(core.List<core.String> o) {
+checkUnnamed2287(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -160,7 +160,7 @@
if (buildCounterBinding < 3) {
o.bindingId = "foo";
o.condition = buildExpr();
- o.members = buildUnnamed2285();
+ o.members = buildUnnamed2287();
o.role = "foo";
}
buildCounterBinding--;
@@ -172,7 +172,7 @@
if (buildCounterBinding < 3) {
unittest.expect(o.bindingId, unittest.equals('foo'));
checkExpr(o.condition);
- checkUnnamed2285(o.members);
+ checkUnnamed2287(o.members);
unittest.expect(o.role, unittest.equals('foo'));
}
buildCounterBinding--;
@@ -277,14 +277,14 @@
buildCounterGetPolicyOptions--;
}
-buildUnnamed2286() {
+buildUnnamed2288() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2286(core.Map<core.String, core.String> o) {
+checkUnnamed2288(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -296,7 +296,7 @@
buildCounterHttpRequest++;
if (buildCounterHttpRequest < 3) {
o.body = "foo";
- o.headers = buildUnnamed2286();
+ o.headers = buildUnnamed2288();
o.httpMethod = "foo";
o.oauthToken = buildOAuthToken();
o.oidcToken = buildOidcToken();
@@ -310,7 +310,7 @@
buildCounterHttpRequest++;
if (buildCounterHttpRequest < 3) {
unittest.expect(o.body, unittest.equals('foo'));
- checkUnnamed2286(o.headers);
+ checkUnnamed2288(o.headers);
unittest.expect(o.httpMethod, unittest.equals('foo'));
checkOAuthToken(o.oauthToken);
checkOidcToken(o.oidcToken);
@@ -319,14 +319,14 @@
buildCounterHttpRequest--;
}
-buildUnnamed2287() {
+buildUnnamed2289() {
var o = new core.List<api.Location>();
o.add(buildLocation());
o.add(buildLocation());
return o;
}
-checkUnnamed2287(core.List<api.Location> o) {
+checkUnnamed2289(core.List<api.Location> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocation(o[0]);
checkLocation(o[1]);
@@ -337,7 +337,7 @@
var o = new api.ListLocationsResponse();
buildCounterListLocationsResponse++;
if (buildCounterListLocationsResponse < 3) {
- o.locations = buildUnnamed2287();
+ o.locations = buildUnnamed2289();
o.nextPageToken = "foo";
}
buildCounterListLocationsResponse--;
@@ -347,20 +347,20 @@
checkListLocationsResponse(api.ListLocationsResponse o) {
buildCounterListLocationsResponse++;
if (buildCounterListLocationsResponse < 3) {
- checkUnnamed2287(o.locations);
+ checkUnnamed2289(o.locations);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListLocationsResponse--;
}
-buildUnnamed2288() {
+buildUnnamed2290() {
var o = new core.List<api.Queue>();
o.add(buildQueue());
o.add(buildQueue());
return o;
}
-checkUnnamed2288(core.List<api.Queue> o) {
+checkUnnamed2290(core.List<api.Queue> o) {
unittest.expect(o, unittest.hasLength(2));
checkQueue(o[0]);
checkQueue(o[1]);
@@ -372,7 +372,7 @@
buildCounterListQueuesResponse++;
if (buildCounterListQueuesResponse < 3) {
o.nextPageToken = "foo";
- o.queues = buildUnnamed2288();
+ o.queues = buildUnnamed2290();
}
buildCounterListQueuesResponse--;
return o;
@@ -382,19 +382,19 @@
buildCounterListQueuesResponse++;
if (buildCounterListQueuesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2288(o.queues);
+ checkUnnamed2290(o.queues);
}
buildCounterListQueuesResponse--;
}
-buildUnnamed2289() {
+buildUnnamed2291() {
var o = new core.List<api.Task>();
o.add(buildTask());
o.add(buildTask());
return o;
}
-checkUnnamed2289(core.List<api.Task> o) {
+checkUnnamed2291(core.List<api.Task> o) {
unittest.expect(o, unittest.hasLength(2));
checkTask(o[0]);
checkTask(o[1]);
@@ -406,7 +406,7 @@
buildCounterListTasksResponse++;
if (buildCounterListTasksResponse < 3) {
o.nextPageToken = "foo";
- o.tasks = buildUnnamed2289();
+ o.tasks = buildUnnamed2291();
}
buildCounterListTasksResponse--;
return o;
@@ -416,25 +416,25 @@
buildCounterListTasksResponse++;
if (buildCounterListTasksResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2289(o.tasks);
+ checkUnnamed2291(o.tasks);
}
buildCounterListTasksResponse--;
}
-buildUnnamed2290() {
+buildUnnamed2292() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2290(core.Map<core.String, core.String> o) {
+checkUnnamed2292(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed2291() {
+buildUnnamed2293() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -449,7 +449,7 @@
return o;
}
-checkUnnamed2291(core.Map<core.String, core.Object> o) {
+checkUnnamed2293(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o["x"]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -469,9 +469,9 @@
buildCounterLocation++;
if (buildCounterLocation < 3) {
o.displayName = "foo";
- o.labels = buildUnnamed2290();
+ o.labels = buildUnnamed2292();
o.locationId = "foo";
- o.metadata = buildUnnamed2291();
+ o.metadata = buildUnnamed2293();
o.name = "foo";
}
buildCounterLocation--;
@@ -482,9 +482,9 @@
buildCounterLocation++;
if (buildCounterLocation < 3) {
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed2290(o.labels);
+ checkUnnamed2292(o.labels);
unittest.expect(o.locationId, unittest.equals('foo'));
- checkUnnamed2291(o.metadata);
+ checkUnnamed2293(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
}
buildCounterLocation--;
@@ -547,14 +547,14 @@
buildCounterPauseQueueRequest--;
}
-buildUnnamed2292() {
+buildUnnamed2294() {
var o = new core.List<api.Binding>();
o.add(buildBinding());
o.add(buildBinding());
return o;
}
-checkUnnamed2292(core.List<api.Binding> o) {
+checkUnnamed2294(core.List<api.Binding> o) {
unittest.expect(o, unittest.hasLength(2));
checkBinding(o[0]);
checkBinding(o[1]);
@@ -565,7 +565,7 @@
var o = new api.Policy();
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- o.bindings = buildUnnamed2292();
+ o.bindings = buildUnnamed2294();
o.etag = "foo";
o.version = 42;
}
@@ -576,7 +576,7 @@
checkPolicy(api.Policy o) {
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- checkUnnamed2292(o.bindings);
+ checkUnnamed2294(o.bindings);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals(42));
}
@@ -751,7 +751,7 @@
buildCounterStackdriverLoggingConfig--;
}
-buildUnnamed2293() {
+buildUnnamed2295() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -766,7 +766,7 @@
return o;
}
-checkUnnamed2293(core.Map<core.String, core.Object> o) {
+checkUnnamed2295(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted3 = (o["x"]) as core.Map;
unittest.expect(casted3, unittest.hasLength(3));
@@ -780,17 +780,17 @@
unittest.expect(casted4["string"], unittest.equals('foo'));
}
-buildUnnamed2294() {
+buildUnnamed2296() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed2293());
- o.add(buildUnnamed2293());
+ o.add(buildUnnamed2295());
+ o.add(buildUnnamed2295());
return o;
}
-checkUnnamed2294(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed2296(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2293(o[0]);
- checkUnnamed2293(o[1]);
+ checkUnnamed2295(o[0]);
+ checkUnnamed2295(o[1]);
}
core.int buildCounterStatus = 0;
@@ -799,7 +799,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed2294();
+ o.details = buildUnnamed2296();
o.message = "foo";
}
buildCounterStatus--;
@@ -810,7 +810,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed2294(o.details);
+ checkUnnamed2296(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
@@ -855,14 +855,14 @@
buildCounterTask--;
}
-buildUnnamed2295() {
+buildUnnamed2297() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2295(core.List<core.String> o) {
+checkUnnamed2297(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -873,7 +873,7 @@
var o = new api.TestIamPermissionsRequest();
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- o.permissions = buildUnnamed2295();
+ o.permissions = buildUnnamed2297();
}
buildCounterTestIamPermissionsRequest--;
return o;
@@ -882,19 +882,19 @@
checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) {
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- checkUnnamed2295(o.permissions);
+ checkUnnamed2297(o.permissions);
}
buildCounterTestIamPermissionsRequest--;
}
-buildUnnamed2296() {
+buildUnnamed2298() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2296(core.List<core.String> o) {
+checkUnnamed2298(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -905,7 +905,7 @@
var o = new api.TestIamPermissionsResponse();
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- o.permissions = buildUnnamed2296();
+ o.permissions = buildUnnamed2298();
}
buildCounterTestIamPermissionsResponse--;
return o;
@@ -914,7 +914,7 @@
checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) {
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- checkUnnamed2296(o.permissions);
+ checkUnnamed2298(o.permissions);
}
buildCounterTestIamPermissionsResponse--;
}
@@ -1218,9 +1218,9 @@
api.ProjectsLocationsResourceApi res =
new api.CloudtasksApi(mock).projects.locations;
var arg_name = "foo";
- var arg_pageToken = "foo";
- var arg_filter = "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;
@@ -1253,11 +1253,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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,
- filter: arg_filter,
pageSize: arg_pageSize,
+ filter: arg_filter,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListLocationsResponse(response);
@@ -1500,9 +1500,9 @@
api.ProjectsLocationsQueuesResourceApi res =
new api.CloudtasksApi(mock).projects.locations.queues;
var arg_parent = "foo";
- var arg_filter = "foo";
- var arg_pageSize = 42;
var arg_pageToken = "foo";
+ var arg_pageSize = 42;
+ var arg_filter = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1535,11 +1535,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1550,9 +1550,9 @@
}), true);
res
.list(arg_parent,
- filter: arg_filter,
- pageSize: arg_pageSize,
pageToken: arg_pageToken,
+ pageSize: arg_pageSize,
+ filter: arg_filter,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListQueuesResponse(response);
@@ -2069,8 +2069,8 @@
api.ProjectsLocationsQueuesTasksResourceApi res =
new api.CloudtasksApi(mock).projects.locations.queues.tasks;
var arg_parent = "foo";
- var arg_pageToken = "foo";
var arg_responseView = "foo";
+ var arg_pageToken = "foo";
var arg_pageSize = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -2105,9 +2105,9 @@
}
}
unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- 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["fields"].first, unittest.equals(arg_$fields));
@@ -2120,8 +2120,8 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
responseView: arg_responseView,
+ pageToken: arg_pageToken,
pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
diff --git a/generated/googleapis/test/cloudtrace/v2_test.dart b/generated/googleapis/test/cloudtrace/v2_test.dart
index 070e60a..e763f26 100644
--- a/generated/googleapis/test/cloudtrace/v2_test.dart
+++ b/generated/googleapis/test/cloudtrace/v2_test.dart
@@ -94,14 +94,14 @@
buildCounterAttributeValue--;
}
-buildUnnamed542() {
+buildUnnamed543() {
var o = new core.Map<core.String, api.AttributeValue>();
o["x"] = buildAttributeValue();
o["y"] = buildAttributeValue();
return o;
}
-checkUnnamed542(core.Map<core.String, api.AttributeValue> o) {
+checkUnnamed543(core.Map<core.String, api.AttributeValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkAttributeValue(o["x"]);
checkAttributeValue(o["y"]);
@@ -112,7 +112,7 @@
var o = new api.Attributes();
buildCounterAttributes++;
if (buildCounterAttributes < 3) {
- o.attributeMap = buildUnnamed542();
+ o.attributeMap = buildUnnamed543();
o.droppedAttributesCount = 42;
}
buildCounterAttributes--;
@@ -122,20 +122,20 @@
checkAttributes(api.Attributes o) {
buildCounterAttributes++;
if (buildCounterAttributes < 3) {
- checkUnnamed542(o.attributeMap);
+ checkUnnamed543(o.attributeMap);
unittest.expect(o.droppedAttributesCount, unittest.equals(42));
}
buildCounterAttributes--;
}
-buildUnnamed543() {
+buildUnnamed544() {
var o = new core.List<api.Span>();
o.add(buildSpan());
o.add(buildSpan());
return o;
}
-checkUnnamed543(core.List<api.Span> o) {
+checkUnnamed544(core.List<api.Span> o) {
unittest.expect(o, unittest.hasLength(2));
checkSpan(o[0]);
checkSpan(o[1]);
@@ -146,7 +146,7 @@
var o = new api.BatchWriteSpansRequest();
buildCounterBatchWriteSpansRequest++;
if (buildCounterBatchWriteSpansRequest < 3) {
- o.spans = buildUnnamed543();
+ o.spans = buildUnnamed544();
}
buildCounterBatchWriteSpansRequest--;
return o;
@@ -155,7 +155,7 @@
checkBatchWriteSpansRequest(api.BatchWriteSpansRequest o) {
buildCounterBatchWriteSpansRequest++;
if (buildCounterBatchWriteSpansRequest < 3) {
- checkUnnamed543(o.spans);
+ checkUnnamed544(o.spans);
}
buildCounterBatchWriteSpansRequest--;
}
@@ -200,14 +200,14 @@
buildCounterLink--;
}
-buildUnnamed544() {
+buildUnnamed545() {
var o = new core.List<api.Link>();
o.add(buildLink());
o.add(buildLink());
return o;
}
-checkUnnamed544(core.List<api.Link> o) {
+checkUnnamed545(core.List<api.Link> o) {
unittest.expect(o, unittest.hasLength(2));
checkLink(o[0]);
checkLink(o[1]);
@@ -219,7 +219,7 @@
buildCounterLinks++;
if (buildCounterLinks < 3) {
o.droppedLinksCount = 42;
- o.link = buildUnnamed544();
+ o.link = buildUnnamed545();
}
buildCounterLinks--;
return o;
@@ -229,7 +229,7 @@
buildCounterLinks++;
if (buildCounterLinks < 3) {
unittest.expect(o.droppedLinksCount, unittest.equals(42));
- checkUnnamed544(o.link);
+ checkUnnamed545(o.link);
}
buildCounterLinks--;
}
@@ -356,14 +356,14 @@
buildCounterStackFrame--;
}
-buildUnnamed545() {
+buildUnnamed546() {
var o = new core.List<api.StackFrame>();
o.add(buildStackFrame());
o.add(buildStackFrame());
return o;
}
-checkUnnamed545(core.List<api.StackFrame> o) {
+checkUnnamed546(core.List<api.StackFrame> o) {
unittest.expect(o, unittest.hasLength(2));
checkStackFrame(o[0]);
checkStackFrame(o[1]);
@@ -375,7 +375,7 @@
buildCounterStackFrames++;
if (buildCounterStackFrames < 3) {
o.droppedFramesCount = 42;
- o.frame = buildUnnamed545();
+ o.frame = buildUnnamed546();
}
buildCounterStackFrames--;
return o;
@@ -385,7 +385,7 @@
buildCounterStackFrames++;
if (buildCounterStackFrames < 3) {
unittest.expect(o.droppedFramesCount, unittest.equals(42));
- checkUnnamed545(o.frame);
+ checkUnnamed546(o.frame);
}
buildCounterStackFrames--;
}
@@ -411,7 +411,7 @@
buildCounterStackTrace--;
}
-buildUnnamed546() {
+buildUnnamed547() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -426,7 +426,7 @@
return o;
}
-checkUnnamed546(core.Map<core.String, core.Object> o) {
+checkUnnamed547(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o["x"]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -440,17 +440,17 @@
unittest.expect(casted2["string"], unittest.equals('foo'));
}
-buildUnnamed547() {
+buildUnnamed548() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed546());
- o.add(buildUnnamed546());
+ o.add(buildUnnamed547());
+ o.add(buildUnnamed547());
return o;
}
-checkUnnamed547(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed548(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed546(o[0]);
- checkUnnamed546(o[1]);
+ checkUnnamed547(o[0]);
+ checkUnnamed547(o[1]);
}
core.int buildCounterStatus = 0;
@@ -459,7 +459,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed547();
+ o.details = buildUnnamed548();
o.message = "foo";
}
buildCounterStatus--;
@@ -470,7 +470,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed547(o.details);
+ checkUnnamed548(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
@@ -499,14 +499,14 @@
buildCounterTimeEvent--;
}
-buildUnnamed548() {
+buildUnnamed549() {
var o = new core.List<api.TimeEvent>();
o.add(buildTimeEvent());
o.add(buildTimeEvent());
return o;
}
-checkUnnamed548(core.List<api.TimeEvent> o) {
+checkUnnamed549(core.List<api.TimeEvent> o) {
unittest.expect(o, unittest.hasLength(2));
checkTimeEvent(o[0]);
checkTimeEvent(o[1]);
@@ -519,7 +519,7 @@
if (buildCounterTimeEvents < 3) {
o.droppedAnnotationsCount = 42;
o.droppedMessageEventsCount = 42;
- o.timeEvent = buildUnnamed548();
+ o.timeEvent = buildUnnamed549();
}
buildCounterTimeEvents--;
return o;
@@ -530,7 +530,7 @@
if (buildCounterTimeEvents < 3) {
unittest.expect(o.droppedAnnotationsCount, unittest.equals(42));
unittest.expect(o.droppedMessageEventsCount, unittest.equals(42));
- checkUnnamed548(o.timeEvent);
+ checkUnnamed549(o.timeEvent);
}
buildCounterTimeEvents--;
}
diff --git a/generated/googleapis/test/composer/v1_test.dart b/generated/googleapis/test/composer/v1_test.dart
index cb6eac5..df1f159 100644
--- a/generated/googleapis/test/composer/v1_test.dart
+++ b/generated/googleapis/test/composer/v1_test.dart
@@ -65,14 +65,14 @@
buildCounterEmpty--;
}
-buildUnnamed2705() {
+buildUnnamed2709() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2705(core.Map<core.String, core.String> o) {
+checkUnnamed2709(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -85,7 +85,7 @@
if (buildCounterEnvironment < 3) {
o.config = buildEnvironmentConfig();
o.createTime = "foo";
- o.labels = buildUnnamed2705();
+ o.labels = buildUnnamed2709();
o.name = "foo";
o.state = "foo";
o.updateTime = "foo";
@@ -100,7 +100,7 @@
if (buildCounterEnvironment < 3) {
checkEnvironmentConfig(o.config);
unittest.expect(o.createTime, unittest.equals('foo'));
- checkUnnamed2705(o.labels);
+ checkUnnamed2709(o.labels);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.state, unittest.equals('foo'));
unittest.expect(o.updateTime, unittest.equals('foo'));
@@ -167,144 +167,6 @@
buildCounterIPAllocationPolicy--;
}
-buildUnnamed2706() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2706(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-core.int buildCounterImageVersion = 0;
-buildImageVersion() {
- var o = new api.ImageVersion();
- buildCounterImageVersion++;
- if (buildCounterImageVersion < 3) {
- o.imageVersionId = "foo";
- o.isDefault = true;
- o.supportedPythonVersions = buildUnnamed2706();
- }
- buildCounterImageVersion--;
- return o;
-}
-
-checkImageVersion(api.ImageVersion o) {
- buildCounterImageVersion++;
- if (buildCounterImageVersion < 3) {
- unittest.expect(o.imageVersionId, unittest.equals('foo'));
- unittest.expect(o.isDefault, unittest.isTrue);
- checkUnnamed2706(o.supportedPythonVersions);
- }
- buildCounterImageVersion--;
-}
-
-buildUnnamed2707() {
- var o = new core.List<api.Environment>();
- o.add(buildEnvironment());
- o.add(buildEnvironment());
- return o;
-}
-
-checkUnnamed2707(core.List<api.Environment> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkEnvironment(o[0]);
- checkEnvironment(o[1]);
-}
-
-core.int buildCounterListEnvironmentsResponse = 0;
-buildListEnvironmentsResponse() {
- var o = new api.ListEnvironmentsResponse();
- buildCounterListEnvironmentsResponse++;
- if (buildCounterListEnvironmentsResponse < 3) {
- o.environments = buildUnnamed2707();
- o.nextPageToken = "foo";
- }
- buildCounterListEnvironmentsResponse--;
- return o;
-}
-
-checkListEnvironmentsResponse(api.ListEnvironmentsResponse o) {
- buildCounterListEnvironmentsResponse++;
- if (buildCounterListEnvironmentsResponse < 3) {
- checkUnnamed2707(o.environments);
- unittest.expect(o.nextPageToken, unittest.equals('foo'));
- }
- buildCounterListEnvironmentsResponse--;
-}
-
-buildUnnamed2708() {
- var o = new core.List<api.ImageVersion>();
- o.add(buildImageVersion());
- o.add(buildImageVersion());
- return o;
-}
-
-checkUnnamed2708(core.List<api.ImageVersion> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkImageVersion(o[0]);
- checkImageVersion(o[1]);
-}
-
-core.int buildCounterListImageVersionsResponse = 0;
-buildListImageVersionsResponse() {
- var o = new api.ListImageVersionsResponse();
- buildCounterListImageVersionsResponse++;
- if (buildCounterListImageVersionsResponse < 3) {
- o.imageVersions = buildUnnamed2708();
- o.nextPageToken = "foo";
- }
- buildCounterListImageVersionsResponse--;
- return o;
-}
-
-checkListImageVersionsResponse(api.ListImageVersionsResponse o) {
- buildCounterListImageVersionsResponse++;
- if (buildCounterListImageVersionsResponse < 3) {
- checkUnnamed2708(o.imageVersions);
- unittest.expect(o.nextPageToken, unittest.equals('foo'));
- }
- buildCounterListImageVersionsResponse--;
-}
-
-buildUnnamed2709() {
- var o = new core.List<api.Operation>();
- o.add(buildOperation());
- o.add(buildOperation());
- return o;
-}
-
-checkUnnamed2709(core.List<api.Operation> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkOperation(o[0]);
- checkOperation(o[1]);
-}
-
-core.int buildCounterListOperationsResponse = 0;
-buildListOperationsResponse() {
- var o = new api.ListOperationsResponse();
- buildCounterListOperationsResponse++;
- if (buildCounterListOperationsResponse < 3) {
- o.nextPageToken = "foo";
- o.operations = buildUnnamed2709();
- }
- buildCounterListOperationsResponse--;
- return o;
-}
-
-checkListOperationsResponse(api.ListOperationsResponse o) {
- buildCounterListOperationsResponse++;
- if (buildCounterListOperationsResponse < 3) {
- unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2709(o.operations);
- }
- buildCounterListOperationsResponse--;
-}
-
buildUnnamed2710() {
var o = new core.List<core.String>();
o.add("foo");
@@ -318,14 +180,152 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+core.int buildCounterImageVersion = 0;
+buildImageVersion() {
+ var o = new api.ImageVersion();
+ buildCounterImageVersion++;
+ if (buildCounterImageVersion < 3) {
+ o.imageVersionId = "foo";
+ o.isDefault = true;
+ o.supportedPythonVersions = buildUnnamed2710();
+ }
+ buildCounterImageVersion--;
+ return o;
+}
+
+checkImageVersion(api.ImageVersion o) {
+ buildCounterImageVersion++;
+ if (buildCounterImageVersion < 3) {
+ unittest.expect(o.imageVersionId, unittest.equals('foo'));
+ unittest.expect(o.isDefault, unittest.isTrue);
+ checkUnnamed2710(o.supportedPythonVersions);
+ }
+ buildCounterImageVersion--;
+}
+
buildUnnamed2711() {
+ var o = new core.List<api.Environment>();
+ o.add(buildEnvironment());
+ o.add(buildEnvironment());
+ return o;
+}
+
+checkUnnamed2711(core.List<api.Environment> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkEnvironment(o[0]);
+ checkEnvironment(o[1]);
+}
+
+core.int buildCounterListEnvironmentsResponse = 0;
+buildListEnvironmentsResponse() {
+ var o = new api.ListEnvironmentsResponse();
+ buildCounterListEnvironmentsResponse++;
+ if (buildCounterListEnvironmentsResponse < 3) {
+ o.environments = buildUnnamed2711();
+ o.nextPageToken = "foo";
+ }
+ buildCounterListEnvironmentsResponse--;
+ return o;
+}
+
+checkListEnvironmentsResponse(api.ListEnvironmentsResponse o) {
+ buildCounterListEnvironmentsResponse++;
+ if (buildCounterListEnvironmentsResponse < 3) {
+ checkUnnamed2711(o.environments);
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ }
+ buildCounterListEnvironmentsResponse--;
+}
+
+buildUnnamed2712() {
+ var o = new core.List<api.ImageVersion>();
+ o.add(buildImageVersion());
+ o.add(buildImageVersion());
+ return o;
+}
+
+checkUnnamed2712(core.List<api.ImageVersion> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkImageVersion(o[0]);
+ checkImageVersion(o[1]);
+}
+
+core.int buildCounterListImageVersionsResponse = 0;
+buildListImageVersionsResponse() {
+ var o = new api.ListImageVersionsResponse();
+ buildCounterListImageVersionsResponse++;
+ if (buildCounterListImageVersionsResponse < 3) {
+ o.imageVersions = buildUnnamed2712();
+ o.nextPageToken = "foo";
+ }
+ buildCounterListImageVersionsResponse--;
+ return o;
+}
+
+checkListImageVersionsResponse(api.ListImageVersionsResponse o) {
+ buildCounterListImageVersionsResponse++;
+ if (buildCounterListImageVersionsResponse < 3) {
+ checkUnnamed2712(o.imageVersions);
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ }
+ buildCounterListImageVersionsResponse--;
+}
+
+buildUnnamed2713() {
+ var o = new core.List<api.Operation>();
+ o.add(buildOperation());
+ o.add(buildOperation());
+ return o;
+}
+
+checkUnnamed2713(core.List<api.Operation> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkOperation(o[0]);
+ checkOperation(o[1]);
+}
+
+core.int buildCounterListOperationsResponse = 0;
+buildListOperationsResponse() {
+ var o = new api.ListOperationsResponse();
+ buildCounterListOperationsResponse++;
+ if (buildCounterListOperationsResponse < 3) {
+ o.nextPageToken = "foo";
+ o.operations = buildUnnamed2713();
+ }
+ buildCounterListOperationsResponse--;
+ return o;
+}
+
+checkListOperationsResponse(api.ListOperationsResponse o) {
+ buildCounterListOperationsResponse++;
+ if (buildCounterListOperationsResponse < 3) {
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ checkUnnamed2713(o.operations);
+ }
+ buildCounterListOperationsResponse--;
+}
+
+buildUnnamed2714() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2711(core.List<core.String> o) {
+checkUnnamed2714(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed2715() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2715(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -341,10 +341,10 @@
o.location = "foo";
o.machineType = "foo";
o.network = "foo";
- o.oauthScopes = buildUnnamed2710();
+ o.oauthScopes = buildUnnamed2714();
o.serviceAccount = "foo";
o.subnetwork = "foo";
- o.tags = buildUnnamed2711();
+ o.tags = buildUnnamed2715();
}
buildCounterNodeConfig--;
return o;
@@ -358,15 +358,15 @@
unittest.expect(o.location, unittest.equals('foo'));
unittest.expect(o.machineType, unittest.equals('foo'));
unittest.expect(o.network, unittest.equals('foo'));
- checkUnnamed2710(o.oauthScopes);
+ checkUnnamed2714(o.oauthScopes);
unittest.expect(o.serviceAccount, unittest.equals('foo'));
unittest.expect(o.subnetwork, unittest.equals('foo'));
- checkUnnamed2711(o.tags);
+ checkUnnamed2715(o.tags);
}
buildCounterNodeConfig--;
}
-buildUnnamed2712() {
+buildUnnamed2716() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -381,7 +381,7 @@
return o;
}
-checkUnnamed2712(core.Map<core.String, core.Object> o) {
+checkUnnamed2716(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o["x"]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -395,7 +395,7 @@
unittest.expect(casted2["string"], unittest.equals('foo'));
}
-buildUnnamed2713() {
+buildUnnamed2717() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -410,7 +410,7 @@
return o;
}
-checkUnnamed2713(core.Map<core.String, core.Object> o) {
+checkUnnamed2717(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted3 = (o["x"]) as core.Map;
unittest.expect(casted3, unittest.hasLength(3));
@@ -431,9 +431,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed2712();
+ o.metadata = buildUnnamed2716();
o.name = "foo";
- o.response = buildUnnamed2713();
+ o.response = buildUnnamed2717();
}
buildCounterOperation--;
return o;
@@ -444,9 +444,9 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed2712(o.metadata);
+ checkUnnamed2716(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2713(o.response);
+ checkUnnamed2717(o.response);
}
buildCounterOperation--;
}
@@ -530,40 +530,40 @@
buildCounterPrivateEnvironmentConfig--;
}
-buildUnnamed2714() {
+buildUnnamed2718() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2714(core.Map<core.String, core.String> o) {
+checkUnnamed2718(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed2715() {
+buildUnnamed2719() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2715(core.Map<core.String, core.String> o) {
+checkUnnamed2719(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed2716() {
+buildUnnamed2720() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2716(core.Map<core.String, core.String> o) {
+checkUnnamed2720(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -574,10 +574,10 @@
var o = new api.SoftwareConfig();
buildCounterSoftwareConfig++;
if (buildCounterSoftwareConfig < 3) {
- o.airflowConfigOverrides = buildUnnamed2714();
- o.envVariables = buildUnnamed2715();
+ o.airflowConfigOverrides = buildUnnamed2718();
+ o.envVariables = buildUnnamed2719();
o.imageVersion = "foo";
- o.pypiPackages = buildUnnamed2716();
+ o.pypiPackages = buildUnnamed2720();
o.pythonVersion = "foo";
}
buildCounterSoftwareConfig--;
@@ -587,16 +587,16 @@
checkSoftwareConfig(api.SoftwareConfig o) {
buildCounterSoftwareConfig++;
if (buildCounterSoftwareConfig < 3) {
- checkUnnamed2714(o.airflowConfigOverrides);
- checkUnnamed2715(o.envVariables);
+ checkUnnamed2718(o.airflowConfigOverrides);
+ checkUnnamed2719(o.envVariables);
unittest.expect(o.imageVersion, unittest.equals('foo'));
- checkUnnamed2716(o.pypiPackages);
+ checkUnnamed2720(o.pypiPackages);
unittest.expect(o.pythonVersion, unittest.equals('foo'));
}
buildCounterSoftwareConfig--;
}
-buildUnnamed2717() {
+buildUnnamed2721() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -611,7 +611,7 @@
return o;
}
-checkUnnamed2717(core.Map<core.String, core.Object> o) {
+checkUnnamed2721(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted5 = (o["x"]) as core.Map;
unittest.expect(casted5, unittest.hasLength(3));
@@ -625,17 +625,17 @@
unittest.expect(casted6["string"], unittest.equals('foo'));
}
-buildUnnamed2718() {
+buildUnnamed2722() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed2717());
- o.add(buildUnnamed2717());
+ o.add(buildUnnamed2721());
+ o.add(buildUnnamed2721());
return o;
}
-checkUnnamed2718(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed2722(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2717(o[0]);
- checkUnnamed2717(o[1]);
+ checkUnnamed2721(o[0]);
+ checkUnnamed2721(o[1]);
}
core.int buildCounterStatus = 0;
@@ -644,7 +644,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed2718();
+ o.details = buildUnnamed2722();
o.message = "foo";
}
buildCounterStatus--;
@@ -655,7 +655,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed2718(o.details);
+ checkUnnamed2722(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
@@ -948,8 +948,8 @@
api.ProjectsLocationsEnvironmentsResourceApi res =
new api.ComposerApi(mock).projects.locations.environments;
var arg_parent = "foo";
- var arg_pageSize = 42;
var arg_pageToken = "foo";
+ var arg_pageSize = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -982,10 +982,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -996,8 +996,8 @@
}), true);
res
.list(arg_parent,
- pageSize: arg_pageSize,
pageToken: arg_pageToken,
+ pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListEnvironmentsResponse(response);
@@ -1071,8 +1071,8 @@
api.ProjectsLocationsImageVersionsResourceApi res =
new api.ComposerApi(mock).projects.locations.imageVersions;
var arg_parent = "foo";
- var arg_pageSize = 42;
var arg_pageToken = "foo";
+ var arg_pageSize = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1105,10 +1105,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1119,8 +1119,8 @@
}), true);
res
.list(arg_parent,
- pageSize: arg_pageSize,
pageToken: arg_pageToken,
+ pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListImageVersionsResponse(response);
@@ -1238,9 +1238,9 @@
api.ProjectsLocationsOperationsResourceApi res =
new api.ComposerApi(mock).projects.locations.operations;
var arg_name = "foo";
- var arg_filter = "foo";
- var arg_pageSize = 42;
var arg_pageToken = "foo";
+ var arg_pageSize = 42;
+ var arg_filter = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1273,11 +1273,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1288,9 +1288,9 @@
}), true);
res
.list(arg_name,
- filter: arg_filter,
- pageSize: arg_pageSize,
pageToken: arg_pageToken,
+ pageSize: arg_pageSize,
+ filter: arg_filter,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListOperationsResponse(response);
diff --git a/generated/googleapis/test/compute/v1_test.dart b/generated/googleapis/test/compute/v1_test.dart
index 801fc0e..ce0c335 100644
--- a/generated/googleapis/test/compute/v1_test.dart
+++ b/generated/googleapis/test/compute/v1_test.dart
@@ -106,27 +106,27 @@
buildCounterAcceleratorType--;
}
-buildUnnamed1701() {
+buildUnnamed1703() {
var o = new core.Map<core.String, api.AcceleratorTypesScopedList>();
o["x"] = buildAcceleratorTypesScopedList();
o["y"] = buildAcceleratorTypesScopedList();
return o;
}
-checkUnnamed1701(core.Map<core.String, api.AcceleratorTypesScopedList> o) {
+checkUnnamed1703(core.Map<core.String, api.AcceleratorTypesScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkAcceleratorTypesScopedList(o["x"]);
checkAcceleratorTypesScopedList(o["y"]);
}
-buildUnnamed1702() {
+buildUnnamed1704() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1702(core.List<core.String> o) {
+checkUnnamed1704(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -154,14 +154,14 @@
buildCounterAcceleratorTypeAggregatedListWarningData--;
}
-buildUnnamed1703() {
+buildUnnamed1705() {
var o = new core.List<api.AcceleratorTypeAggregatedListWarningData>();
o.add(buildAcceleratorTypeAggregatedListWarningData());
o.add(buildAcceleratorTypeAggregatedListWarningData());
return o;
}
-checkUnnamed1703(core.List<api.AcceleratorTypeAggregatedListWarningData> o) {
+checkUnnamed1705(core.List<api.AcceleratorTypeAggregatedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkAcceleratorTypeAggregatedListWarningData(o[0]);
checkAcceleratorTypeAggregatedListWarningData(o[1]);
@@ -173,7 +173,7 @@
buildCounterAcceleratorTypeAggregatedListWarning++;
if (buildCounterAcceleratorTypeAggregatedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed1703();
+ o.data = buildUnnamed1705();
o.message = "foo";
}
buildCounterAcceleratorTypeAggregatedListWarning--;
@@ -185,7 +185,7 @@
buildCounterAcceleratorTypeAggregatedListWarning++;
if (buildCounterAcceleratorTypeAggregatedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed1703(o.data);
+ checkUnnamed1705(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterAcceleratorTypeAggregatedListWarning--;
@@ -197,11 +197,11 @@
buildCounterAcceleratorTypeAggregatedList++;
if (buildCounterAcceleratorTypeAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed1701();
+ o.items = buildUnnamed1703();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
- o.unreachables = buildUnnamed1702();
+ o.unreachables = buildUnnamed1704();
o.warning = buildAcceleratorTypeAggregatedListWarning();
}
buildCounterAcceleratorTypeAggregatedList--;
@@ -212,24 +212,24 @@
buildCounterAcceleratorTypeAggregatedList++;
if (buildCounterAcceleratorTypeAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1701(o.items);
+ checkUnnamed1703(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
- checkUnnamed1702(o.unreachables);
+ checkUnnamed1704(o.unreachables);
checkAcceleratorTypeAggregatedListWarning(o.warning);
}
buildCounterAcceleratorTypeAggregatedList--;
}
-buildUnnamed1704() {
+buildUnnamed1706() {
var o = new core.List<api.AcceleratorType>();
o.add(buildAcceleratorType());
o.add(buildAcceleratorType());
return o;
}
-checkUnnamed1704(core.List<api.AcceleratorType> o) {
+checkUnnamed1706(core.List<api.AcceleratorType> o) {
unittest.expect(o, unittest.hasLength(2));
checkAcceleratorType(o[0]);
checkAcceleratorType(o[1]);
@@ -256,14 +256,14 @@
buildCounterAcceleratorTypeListWarningData--;
}
-buildUnnamed1705() {
+buildUnnamed1707() {
var o = new core.List<api.AcceleratorTypeListWarningData>();
o.add(buildAcceleratorTypeListWarningData());
o.add(buildAcceleratorTypeListWarningData());
return o;
}
-checkUnnamed1705(core.List<api.AcceleratorTypeListWarningData> o) {
+checkUnnamed1707(core.List<api.AcceleratorTypeListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkAcceleratorTypeListWarningData(o[0]);
checkAcceleratorTypeListWarningData(o[1]);
@@ -275,7 +275,7 @@
buildCounterAcceleratorTypeListWarning++;
if (buildCounterAcceleratorTypeListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed1705();
+ o.data = buildUnnamed1707();
o.message = "foo";
}
buildCounterAcceleratorTypeListWarning--;
@@ -286,7 +286,7 @@
buildCounterAcceleratorTypeListWarning++;
if (buildCounterAcceleratorTypeListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed1705(o.data);
+ checkUnnamed1707(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterAcceleratorTypeListWarning--;
@@ -298,7 +298,7 @@
buildCounterAcceleratorTypeList++;
if (buildCounterAcceleratorTypeList < 3) {
o.id = "foo";
- o.items = buildUnnamed1704();
+ o.items = buildUnnamed1706();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -312,7 +312,7 @@
buildCounterAcceleratorTypeList++;
if (buildCounterAcceleratorTypeList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1704(o.items);
+ checkUnnamed1706(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -321,14 +321,14 @@
buildCounterAcceleratorTypeList--;
}
-buildUnnamed1706() {
+buildUnnamed1708() {
var o = new core.List<api.AcceleratorType>();
o.add(buildAcceleratorType());
o.add(buildAcceleratorType());
return o;
}
-checkUnnamed1706(core.List<api.AcceleratorType> o) {
+checkUnnamed1708(core.List<api.AcceleratorType> o) {
unittest.expect(o, unittest.hasLength(2));
checkAcceleratorType(o[0]);
checkAcceleratorType(o[1]);
@@ -356,14 +356,14 @@
buildCounterAcceleratorTypesScopedListWarningData--;
}
-buildUnnamed1707() {
+buildUnnamed1709() {
var o = new core.List<api.AcceleratorTypesScopedListWarningData>();
o.add(buildAcceleratorTypesScopedListWarningData());
o.add(buildAcceleratorTypesScopedListWarningData());
return o;
}
-checkUnnamed1707(core.List<api.AcceleratorTypesScopedListWarningData> o) {
+checkUnnamed1709(core.List<api.AcceleratorTypesScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkAcceleratorTypesScopedListWarningData(o[0]);
checkAcceleratorTypesScopedListWarningData(o[1]);
@@ -375,7 +375,7 @@
buildCounterAcceleratorTypesScopedListWarning++;
if (buildCounterAcceleratorTypesScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed1707();
+ o.data = buildUnnamed1709();
o.message = "foo";
}
buildCounterAcceleratorTypesScopedListWarning--;
@@ -387,7 +387,7 @@
buildCounterAcceleratorTypesScopedListWarning++;
if (buildCounterAcceleratorTypesScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed1707(o.data);
+ checkUnnamed1709(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterAcceleratorTypesScopedListWarning--;
@@ -398,7 +398,7 @@
var o = new api.AcceleratorTypesScopedList();
buildCounterAcceleratorTypesScopedList++;
if (buildCounterAcceleratorTypesScopedList < 3) {
- o.acceleratorTypes = buildUnnamed1706();
+ o.acceleratorTypes = buildUnnamed1708();
o.warning = buildAcceleratorTypesScopedListWarning();
}
buildCounterAcceleratorTypesScopedList--;
@@ -408,7 +408,7 @@
checkAcceleratorTypesScopedList(api.AcceleratorTypesScopedList o) {
buildCounterAcceleratorTypesScopedList++;
if (buildCounterAcceleratorTypesScopedList < 3) {
- checkUnnamed1706(o.acceleratorTypes);
+ checkUnnamed1708(o.acceleratorTypes);
checkAcceleratorTypesScopedListWarning(o.warning);
}
buildCounterAcceleratorTypesScopedList--;
@@ -445,14 +445,14 @@
buildCounterAccessConfig--;
}
-buildUnnamed1708() {
+buildUnnamed1710() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1708(core.List<core.String> o) {
+checkUnnamed1710(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -479,7 +479,7 @@
o.selfLink = "foo";
o.status = "foo";
o.subnetwork = "foo";
- o.users = buildUnnamed1708();
+ o.users = buildUnnamed1710();
}
buildCounterAddress--;
return o;
@@ -504,32 +504,32 @@
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals('foo'));
unittest.expect(o.subnetwork, unittest.equals('foo'));
- checkUnnamed1708(o.users);
+ checkUnnamed1710(o.users);
}
buildCounterAddress--;
}
-buildUnnamed1709() {
+buildUnnamed1711() {
var o = new core.Map<core.String, api.AddressesScopedList>();
o["x"] = buildAddressesScopedList();
o["y"] = buildAddressesScopedList();
return o;
}
-checkUnnamed1709(core.Map<core.String, api.AddressesScopedList> o) {
+checkUnnamed1711(core.Map<core.String, api.AddressesScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkAddressesScopedList(o["x"]);
checkAddressesScopedList(o["y"]);
}
-buildUnnamed1710() {
+buildUnnamed1712() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1710(core.List<core.String> o) {
+checkUnnamed1712(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -556,14 +556,14 @@
buildCounterAddressAggregatedListWarningData--;
}
-buildUnnamed1711() {
+buildUnnamed1713() {
var o = new core.List<api.AddressAggregatedListWarningData>();
o.add(buildAddressAggregatedListWarningData());
o.add(buildAddressAggregatedListWarningData());
return o;
}
-checkUnnamed1711(core.List<api.AddressAggregatedListWarningData> o) {
+checkUnnamed1713(core.List<api.AddressAggregatedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkAddressAggregatedListWarningData(o[0]);
checkAddressAggregatedListWarningData(o[1]);
@@ -575,7 +575,7 @@
buildCounterAddressAggregatedListWarning++;
if (buildCounterAddressAggregatedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed1711();
+ o.data = buildUnnamed1713();
o.message = "foo";
}
buildCounterAddressAggregatedListWarning--;
@@ -586,7 +586,7 @@
buildCounterAddressAggregatedListWarning++;
if (buildCounterAddressAggregatedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed1711(o.data);
+ checkUnnamed1713(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterAddressAggregatedListWarning--;
@@ -598,11 +598,11 @@
buildCounterAddressAggregatedList++;
if (buildCounterAddressAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed1709();
+ o.items = buildUnnamed1711();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
- o.unreachables = buildUnnamed1710();
+ o.unreachables = buildUnnamed1712();
o.warning = buildAddressAggregatedListWarning();
}
buildCounterAddressAggregatedList--;
@@ -613,24 +613,24 @@
buildCounterAddressAggregatedList++;
if (buildCounterAddressAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1709(o.items);
+ checkUnnamed1711(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
- checkUnnamed1710(o.unreachables);
+ checkUnnamed1712(o.unreachables);
checkAddressAggregatedListWarning(o.warning);
}
buildCounterAddressAggregatedList--;
}
-buildUnnamed1712() {
+buildUnnamed1714() {
var o = new core.List<api.Address>();
o.add(buildAddress());
o.add(buildAddress());
return o;
}
-checkUnnamed1712(core.List<api.Address> o) {
+checkUnnamed1714(core.List<api.Address> o) {
unittest.expect(o, unittest.hasLength(2));
checkAddress(o[0]);
checkAddress(o[1]);
@@ -657,14 +657,14 @@
buildCounterAddressListWarningData--;
}
-buildUnnamed1713() {
+buildUnnamed1715() {
var o = new core.List<api.AddressListWarningData>();
o.add(buildAddressListWarningData());
o.add(buildAddressListWarningData());
return o;
}
-checkUnnamed1713(core.List<api.AddressListWarningData> o) {
+checkUnnamed1715(core.List<api.AddressListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkAddressListWarningData(o[0]);
checkAddressListWarningData(o[1]);
@@ -676,7 +676,7 @@
buildCounterAddressListWarning++;
if (buildCounterAddressListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed1713();
+ o.data = buildUnnamed1715();
o.message = "foo";
}
buildCounterAddressListWarning--;
@@ -687,7 +687,7 @@
buildCounterAddressListWarning++;
if (buildCounterAddressListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed1713(o.data);
+ checkUnnamed1715(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterAddressListWarning--;
@@ -699,7 +699,7 @@
buildCounterAddressList++;
if (buildCounterAddressList < 3) {
o.id = "foo";
- o.items = buildUnnamed1712();
+ o.items = buildUnnamed1714();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -713,7 +713,7 @@
buildCounterAddressList++;
if (buildCounterAddressList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1712(o.items);
+ checkUnnamed1714(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -722,14 +722,14 @@
buildCounterAddressList--;
}
-buildUnnamed1714() {
+buildUnnamed1716() {
var o = new core.List<api.Address>();
o.add(buildAddress());
o.add(buildAddress());
return o;
}
-checkUnnamed1714(core.List<api.Address> o) {
+checkUnnamed1716(core.List<api.Address> o) {
unittest.expect(o, unittest.hasLength(2));
checkAddress(o[0]);
checkAddress(o[1]);
@@ -756,14 +756,14 @@
buildCounterAddressesScopedListWarningData--;
}
-buildUnnamed1715() {
+buildUnnamed1717() {
var o = new core.List<api.AddressesScopedListWarningData>();
o.add(buildAddressesScopedListWarningData());
o.add(buildAddressesScopedListWarningData());
return o;
}
-checkUnnamed1715(core.List<api.AddressesScopedListWarningData> o) {
+checkUnnamed1717(core.List<api.AddressesScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkAddressesScopedListWarningData(o[0]);
checkAddressesScopedListWarningData(o[1]);
@@ -775,7 +775,7 @@
buildCounterAddressesScopedListWarning++;
if (buildCounterAddressesScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed1715();
+ o.data = buildUnnamed1717();
o.message = "foo";
}
buildCounterAddressesScopedListWarning--;
@@ -786,7 +786,7 @@
buildCounterAddressesScopedListWarning++;
if (buildCounterAddressesScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed1715(o.data);
+ checkUnnamed1717(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterAddressesScopedListWarning--;
@@ -797,7 +797,7 @@
var o = new api.AddressesScopedList();
buildCounterAddressesScopedList++;
if (buildCounterAddressesScopedList < 3) {
- o.addresses = buildUnnamed1714();
+ o.addresses = buildUnnamed1716();
o.warning = buildAddressesScopedListWarning();
}
buildCounterAddressesScopedList--;
@@ -807,7 +807,7 @@
checkAddressesScopedList(api.AddressesScopedList o) {
buildCounterAddressesScopedList++;
if (buildCounterAddressesScopedList < 3) {
- checkUnnamed1714(o.addresses);
+ checkUnnamed1716(o.addresses);
checkAddressesScopedListWarning(o.warning);
}
buildCounterAddressesScopedList--;
@@ -862,20 +862,20 @@
buildCounterAllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk--;
}
-buildUnnamed1716() {
+buildUnnamed1718() {
var o = new core.List<api.AcceleratorConfig>();
o.add(buildAcceleratorConfig());
o.add(buildAcceleratorConfig());
return o;
}
-checkUnnamed1716(core.List<api.AcceleratorConfig> o) {
+checkUnnamed1718(core.List<api.AcceleratorConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAcceleratorConfig(o[0]);
checkAcceleratorConfig(o[1]);
}
-buildUnnamed1717() {
+buildUnnamed1719() {
var o = new core.List<
api.AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk>();
o.add(
@@ -885,7 +885,7 @@
return o;
}
-checkUnnamed1717(
+checkUnnamed1719(
core.List<
api.AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk>
o) {
@@ -903,8 +903,8 @@
buildCounterAllocationSpecificSKUAllocationReservedInstanceProperties++;
if (buildCounterAllocationSpecificSKUAllocationReservedInstanceProperties <
3) {
- o.guestAccelerators = buildUnnamed1716();
- o.localSsds = buildUnnamed1717();
+ o.guestAccelerators = buildUnnamed1718();
+ o.localSsds = buildUnnamed1719();
o.machineType = "foo";
o.minCpuPlatform = "foo";
}
@@ -917,8 +917,8 @@
buildCounterAllocationSpecificSKUAllocationReservedInstanceProperties++;
if (buildCounterAllocationSpecificSKUAllocationReservedInstanceProperties <
3) {
- checkUnnamed1716(o.guestAccelerators);
- checkUnnamed1717(o.localSsds);
+ checkUnnamed1718(o.guestAccelerators);
+ checkUnnamed1719(o.localSsds);
unittest.expect(o.machineType, unittest.equals('foo'));
unittest.expect(o.minCpuPlatform, unittest.equals('foo'));
}
@@ -950,27 +950,27 @@
buildCounterAllocationSpecificSKUReservation--;
}
-buildUnnamed1718() {
+buildUnnamed1720() {
var o = new core.List<api.GuestOsFeature>();
o.add(buildGuestOsFeature());
o.add(buildGuestOsFeature());
return o;
}
-checkUnnamed1718(core.List<api.GuestOsFeature> o) {
+checkUnnamed1720(core.List<api.GuestOsFeature> o) {
unittest.expect(o, unittest.hasLength(2));
checkGuestOsFeature(o[0]);
checkGuestOsFeature(o[1]);
}
-buildUnnamed1719() {
+buildUnnamed1721() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1719(core.List<core.String> o) {
+checkUnnamed1721(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -986,12 +986,12 @@
o.deviceName = "foo";
o.diskEncryptionKey = buildCustomerEncryptionKey();
o.diskSizeGb = "foo";
- o.guestOsFeatures = buildUnnamed1718();
+ o.guestOsFeatures = buildUnnamed1720();
o.index = 42;
o.initializeParams = buildAttachedDiskInitializeParams();
o.interface = "foo";
o.kind = "foo";
- o.licenses = buildUnnamed1719();
+ o.licenses = buildUnnamed1721();
o.mode = "foo";
o.shieldedInstanceInitialState = buildInitialStateConfig();
o.source = "foo";
@@ -1009,12 +1009,12 @@
unittest.expect(o.deviceName, unittest.equals('foo'));
checkCustomerEncryptionKey(o.diskEncryptionKey);
unittest.expect(o.diskSizeGb, unittest.equals('foo'));
- checkUnnamed1718(o.guestOsFeatures);
+ checkUnnamed1720(o.guestOsFeatures);
unittest.expect(o.index, unittest.equals(42));
checkAttachedDiskInitializeParams(o.initializeParams);
unittest.expect(o.interface, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1719(o.licenses);
+ checkUnnamed1721(o.licenses);
unittest.expect(o.mode, unittest.equals('foo'));
checkInitialStateConfig(o.shieldedInstanceInitialState);
unittest.expect(o.source, unittest.equals('foo'));
@@ -1023,27 +1023,27 @@
buildCounterAttachedDisk--;
}
-buildUnnamed1720() {
+buildUnnamed1722() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1720(core.Map<core.String, core.String> o) {
+checkUnnamed1722(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed1721() {
+buildUnnamed1723() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1721(core.List<core.String> o) {
+checkUnnamed1723(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1058,9 +1058,9 @@
o.diskName = "foo";
o.diskSizeGb = "foo";
o.diskType = "foo";
- o.labels = buildUnnamed1720();
+ o.labels = buildUnnamed1722();
o.onUpdateAction = "foo";
- o.resourcePolicies = buildUnnamed1721();
+ o.resourcePolicies = buildUnnamed1723();
o.sourceImage = "foo";
o.sourceImageEncryptionKey = buildCustomerEncryptionKey();
o.sourceSnapshot = "foo";
@@ -1077,9 +1077,9 @@
unittest.expect(o.diskName, unittest.equals('foo'));
unittest.expect(o.diskSizeGb, unittest.equals('foo'));
unittest.expect(o.diskType, unittest.equals('foo'));
- checkUnnamed1720(o.labels);
+ checkUnnamed1722(o.labels);
unittest.expect(o.onUpdateAction, unittest.equals('foo'));
- checkUnnamed1721(o.resourcePolicies);
+ checkUnnamed1723(o.resourcePolicies);
unittest.expect(o.sourceImage, unittest.equals('foo'));
checkCustomerEncryptionKey(o.sourceImageEncryptionKey);
unittest.expect(o.sourceSnapshot, unittest.equals('foo'));
@@ -1088,27 +1088,27 @@
buildCounterAttachedDiskInitializeParams--;
}
-buildUnnamed1722() {
+buildUnnamed1724() {
var o = new core.List<api.AuditLogConfig>();
o.add(buildAuditLogConfig());
o.add(buildAuditLogConfig());
return o;
}
-checkUnnamed1722(core.List<api.AuditLogConfig> o) {
+checkUnnamed1724(core.List<api.AuditLogConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuditLogConfig(o[0]);
checkAuditLogConfig(o[1]);
}
-buildUnnamed1723() {
+buildUnnamed1725() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1723(core.List<core.String> o) {
+checkUnnamed1725(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1119,8 +1119,8 @@
var o = new api.AuditConfig();
buildCounterAuditConfig++;
if (buildCounterAuditConfig < 3) {
- o.auditLogConfigs = buildUnnamed1722();
- o.exemptedMembers = buildUnnamed1723();
+ o.auditLogConfigs = buildUnnamed1724();
+ o.exemptedMembers = buildUnnamed1725();
o.service = "foo";
}
buildCounterAuditConfig--;
@@ -1130,21 +1130,21 @@
checkAuditConfig(api.AuditConfig o) {
buildCounterAuditConfig++;
if (buildCounterAuditConfig < 3) {
- checkUnnamed1722(o.auditLogConfigs);
- checkUnnamed1723(o.exemptedMembers);
+ checkUnnamed1724(o.auditLogConfigs);
+ checkUnnamed1725(o.exemptedMembers);
unittest.expect(o.service, unittest.equals('foo'));
}
buildCounterAuditConfig--;
}
-buildUnnamed1724() {
+buildUnnamed1726() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1724(core.List<core.String> o) {
+checkUnnamed1726(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1155,7 +1155,7 @@
var o = new api.AuditLogConfig();
buildCounterAuditLogConfig++;
if (buildCounterAuditLogConfig < 3) {
- o.exemptedMembers = buildUnnamed1724();
+ o.exemptedMembers = buildUnnamed1726();
o.ignoreChildExemptions = true;
o.logType = "foo";
}
@@ -1166,7 +1166,7 @@
checkAuditLogConfig(api.AuditLogConfig o) {
buildCounterAuditLogConfig++;
if (buildCounterAuditLogConfig < 3) {
- checkUnnamed1724(o.exemptedMembers);
+ checkUnnamed1726(o.exemptedMembers);
unittest.expect(o.ignoreChildExemptions, unittest.isTrue);
unittest.expect(o.logType, unittest.equals('foo'));
}
@@ -1192,14 +1192,14 @@
buildCounterAuthorizationLoggingOptions--;
}
-buildUnnamed1725() {
+buildUnnamed1727() {
var o = new core.List<api.AutoscalerStatusDetails>();
o.add(buildAutoscalerStatusDetails());
o.add(buildAutoscalerStatusDetails());
return o;
}
-checkUnnamed1725(core.List<api.AutoscalerStatusDetails> o) {
+checkUnnamed1727(core.List<api.AutoscalerStatusDetails> o) {
unittest.expect(o, unittest.hasLength(2));
checkAutoscalerStatusDetails(o[0]);
checkAutoscalerStatusDetails(o[1]);
@@ -1220,7 +1220,7 @@
o.region = "foo";
o.selfLink = "foo";
o.status = "foo";
- o.statusDetails = buildUnnamed1725();
+ o.statusDetails = buildUnnamed1727();
o.target = "foo";
o.zone = "foo";
}
@@ -1241,34 +1241,34 @@
unittest.expect(o.region, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals('foo'));
- checkUnnamed1725(o.statusDetails);
+ checkUnnamed1727(o.statusDetails);
unittest.expect(o.target, unittest.equals('foo'));
unittest.expect(o.zone, unittest.equals('foo'));
}
buildCounterAutoscaler--;
}
-buildUnnamed1726() {
+buildUnnamed1728() {
var o = new core.Map<core.String, api.AutoscalersScopedList>();
o["x"] = buildAutoscalersScopedList();
o["y"] = buildAutoscalersScopedList();
return o;
}
-checkUnnamed1726(core.Map<core.String, api.AutoscalersScopedList> o) {
+checkUnnamed1728(core.Map<core.String, api.AutoscalersScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkAutoscalersScopedList(o["x"]);
checkAutoscalersScopedList(o["y"]);
}
-buildUnnamed1727() {
+buildUnnamed1729() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1727(core.List<core.String> o) {
+checkUnnamed1729(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1296,14 +1296,14 @@
buildCounterAutoscalerAggregatedListWarningData--;
}
-buildUnnamed1728() {
+buildUnnamed1730() {
var o = new core.List<api.AutoscalerAggregatedListWarningData>();
o.add(buildAutoscalerAggregatedListWarningData());
o.add(buildAutoscalerAggregatedListWarningData());
return o;
}
-checkUnnamed1728(core.List<api.AutoscalerAggregatedListWarningData> o) {
+checkUnnamed1730(core.List<api.AutoscalerAggregatedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkAutoscalerAggregatedListWarningData(o[0]);
checkAutoscalerAggregatedListWarningData(o[1]);
@@ -1315,7 +1315,7 @@
buildCounterAutoscalerAggregatedListWarning++;
if (buildCounterAutoscalerAggregatedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed1728();
+ o.data = buildUnnamed1730();
o.message = "foo";
}
buildCounterAutoscalerAggregatedListWarning--;
@@ -1326,7 +1326,7 @@
buildCounterAutoscalerAggregatedListWarning++;
if (buildCounterAutoscalerAggregatedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed1728(o.data);
+ checkUnnamed1730(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterAutoscalerAggregatedListWarning--;
@@ -1338,11 +1338,11 @@
buildCounterAutoscalerAggregatedList++;
if (buildCounterAutoscalerAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed1726();
+ o.items = buildUnnamed1728();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
- o.unreachables = buildUnnamed1727();
+ o.unreachables = buildUnnamed1729();
o.warning = buildAutoscalerAggregatedListWarning();
}
buildCounterAutoscalerAggregatedList--;
@@ -1353,24 +1353,24 @@
buildCounterAutoscalerAggregatedList++;
if (buildCounterAutoscalerAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1726(o.items);
+ checkUnnamed1728(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
- checkUnnamed1727(o.unreachables);
+ checkUnnamed1729(o.unreachables);
checkAutoscalerAggregatedListWarning(o.warning);
}
buildCounterAutoscalerAggregatedList--;
}
-buildUnnamed1729() {
+buildUnnamed1731() {
var o = new core.List<api.Autoscaler>();
o.add(buildAutoscaler());
o.add(buildAutoscaler());
return o;
}
-checkUnnamed1729(core.List<api.Autoscaler> o) {
+checkUnnamed1731(core.List<api.Autoscaler> o) {
unittest.expect(o, unittest.hasLength(2));
checkAutoscaler(o[0]);
checkAutoscaler(o[1]);
@@ -1397,14 +1397,14 @@
buildCounterAutoscalerListWarningData--;
}
-buildUnnamed1730() {
+buildUnnamed1732() {
var o = new core.List<api.AutoscalerListWarningData>();
o.add(buildAutoscalerListWarningData());
o.add(buildAutoscalerListWarningData());
return o;
}
-checkUnnamed1730(core.List<api.AutoscalerListWarningData> o) {
+checkUnnamed1732(core.List<api.AutoscalerListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkAutoscalerListWarningData(o[0]);
checkAutoscalerListWarningData(o[1]);
@@ -1416,7 +1416,7 @@
buildCounterAutoscalerListWarning++;
if (buildCounterAutoscalerListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed1730();
+ o.data = buildUnnamed1732();
o.message = "foo";
}
buildCounterAutoscalerListWarning--;
@@ -1427,7 +1427,7 @@
buildCounterAutoscalerListWarning++;
if (buildCounterAutoscalerListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed1730(o.data);
+ checkUnnamed1732(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterAutoscalerListWarning--;
@@ -1439,7 +1439,7 @@
buildCounterAutoscalerList++;
if (buildCounterAutoscalerList < 3) {
o.id = "foo";
- o.items = buildUnnamed1729();
+ o.items = buildUnnamed1731();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -1453,7 +1453,7 @@
buildCounterAutoscalerList++;
if (buildCounterAutoscalerList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1729(o.items);
+ checkUnnamed1731(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -1483,14 +1483,14 @@
buildCounterAutoscalerStatusDetails--;
}
-buildUnnamed1731() {
+buildUnnamed1733() {
var o = new core.List<api.Autoscaler>();
o.add(buildAutoscaler());
o.add(buildAutoscaler());
return o;
}
-checkUnnamed1731(core.List<api.Autoscaler> o) {
+checkUnnamed1733(core.List<api.Autoscaler> o) {
unittest.expect(o, unittest.hasLength(2));
checkAutoscaler(o[0]);
checkAutoscaler(o[1]);
@@ -1517,14 +1517,14 @@
buildCounterAutoscalersScopedListWarningData--;
}
-buildUnnamed1732() {
+buildUnnamed1734() {
var o = new core.List<api.AutoscalersScopedListWarningData>();
o.add(buildAutoscalersScopedListWarningData());
o.add(buildAutoscalersScopedListWarningData());
return o;
}
-checkUnnamed1732(core.List<api.AutoscalersScopedListWarningData> o) {
+checkUnnamed1734(core.List<api.AutoscalersScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkAutoscalersScopedListWarningData(o[0]);
checkAutoscalersScopedListWarningData(o[1]);
@@ -1536,7 +1536,7 @@
buildCounterAutoscalersScopedListWarning++;
if (buildCounterAutoscalersScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed1732();
+ o.data = buildUnnamed1734();
o.message = "foo";
}
buildCounterAutoscalersScopedListWarning--;
@@ -1547,7 +1547,7 @@
buildCounterAutoscalersScopedListWarning++;
if (buildCounterAutoscalersScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed1732(o.data);
+ checkUnnamed1734(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterAutoscalersScopedListWarning--;
@@ -1558,7 +1558,7 @@
var o = new api.AutoscalersScopedList();
buildCounterAutoscalersScopedList++;
if (buildCounterAutoscalersScopedList < 3) {
- o.autoscalers = buildUnnamed1731();
+ o.autoscalers = buildUnnamed1733();
o.warning = buildAutoscalersScopedListWarning();
}
buildCounterAutoscalersScopedList--;
@@ -1568,20 +1568,20 @@
checkAutoscalersScopedList(api.AutoscalersScopedList o) {
buildCounterAutoscalersScopedList++;
if (buildCounterAutoscalersScopedList < 3) {
- checkUnnamed1731(o.autoscalers);
+ checkUnnamed1733(o.autoscalers);
checkAutoscalersScopedListWarning(o.warning);
}
buildCounterAutoscalersScopedList--;
}
-buildUnnamed1733() {
+buildUnnamed1735() {
var o = new core.List<api.AutoscalingPolicyCustomMetricUtilization>();
o.add(buildAutoscalingPolicyCustomMetricUtilization());
o.add(buildAutoscalingPolicyCustomMetricUtilization());
return o;
}
-checkUnnamed1733(core.List<api.AutoscalingPolicyCustomMetricUtilization> o) {
+checkUnnamed1735(core.List<api.AutoscalingPolicyCustomMetricUtilization> o) {
unittest.expect(o, unittest.hasLength(2));
checkAutoscalingPolicyCustomMetricUtilization(o[0]);
checkAutoscalingPolicyCustomMetricUtilization(o[1]);
@@ -1594,7 +1594,7 @@
if (buildCounterAutoscalingPolicy < 3) {
o.coolDownPeriodSec = 42;
o.cpuUtilization = buildAutoscalingPolicyCpuUtilization();
- o.customMetricUtilizations = buildUnnamed1733();
+ o.customMetricUtilizations = buildUnnamed1735();
o.loadBalancingUtilization =
buildAutoscalingPolicyLoadBalancingUtilization();
o.maxNumReplicas = 42;
@@ -1611,7 +1611,7 @@
if (buildCounterAutoscalingPolicy < 3) {
unittest.expect(o.coolDownPeriodSec, unittest.equals(42));
checkAutoscalingPolicyCpuUtilization(o.cpuUtilization);
- checkUnnamed1733(o.customMetricUtilizations);
+ checkUnnamed1735(o.customMetricUtilizations);
checkAutoscalingPolicyLoadBalancingUtilization(o.loadBalancingUtilization);
unittest.expect(o.maxNumReplicas, unittest.equals(42));
unittest.expect(o.minNumReplicas, unittest.equals(42));
@@ -1781,14 +1781,14 @@
buildCounterBackendBucket--;
}
-buildUnnamed1734() {
+buildUnnamed1736() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1734(core.List<core.String> o) {
+checkUnnamed1736(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1800,7 +1800,7 @@
buildCounterBackendBucketCdnPolicy++;
if (buildCounterBackendBucketCdnPolicy < 3) {
o.signedUrlCacheMaxAgeSec = "foo";
- o.signedUrlKeyNames = buildUnnamed1734();
+ o.signedUrlKeyNames = buildUnnamed1736();
}
buildCounterBackendBucketCdnPolicy--;
return o;
@@ -1810,19 +1810,19 @@
buildCounterBackendBucketCdnPolicy++;
if (buildCounterBackendBucketCdnPolicy < 3) {
unittest.expect(o.signedUrlCacheMaxAgeSec, unittest.equals('foo'));
- checkUnnamed1734(o.signedUrlKeyNames);
+ checkUnnamed1736(o.signedUrlKeyNames);
}
buildCounterBackendBucketCdnPolicy--;
}
-buildUnnamed1735() {
+buildUnnamed1737() {
var o = new core.List<api.BackendBucket>();
o.add(buildBackendBucket());
o.add(buildBackendBucket());
return o;
}
-checkUnnamed1735(core.List<api.BackendBucket> o) {
+checkUnnamed1737(core.List<api.BackendBucket> o) {
unittest.expect(o, unittest.hasLength(2));
checkBackendBucket(o[0]);
checkBackendBucket(o[1]);
@@ -1849,14 +1849,14 @@
buildCounterBackendBucketListWarningData--;
}
-buildUnnamed1736() {
+buildUnnamed1738() {
var o = new core.List<api.BackendBucketListWarningData>();
o.add(buildBackendBucketListWarningData());
o.add(buildBackendBucketListWarningData());
return o;
}
-checkUnnamed1736(core.List<api.BackendBucketListWarningData> o) {
+checkUnnamed1738(core.List<api.BackendBucketListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkBackendBucketListWarningData(o[0]);
checkBackendBucketListWarningData(o[1]);
@@ -1868,7 +1868,7 @@
buildCounterBackendBucketListWarning++;
if (buildCounterBackendBucketListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed1736();
+ o.data = buildUnnamed1738();
o.message = "foo";
}
buildCounterBackendBucketListWarning--;
@@ -1879,7 +1879,7 @@
buildCounterBackendBucketListWarning++;
if (buildCounterBackendBucketListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed1736(o.data);
+ checkUnnamed1738(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterBackendBucketListWarning--;
@@ -1891,7 +1891,7 @@
buildCounterBackendBucketList++;
if (buildCounterBackendBucketList < 3) {
o.id = "foo";
- o.items = buildUnnamed1735();
+ o.items = buildUnnamed1737();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -1905,7 +1905,7 @@
buildCounterBackendBucketList++;
if (buildCounterBackendBucketList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1735(o.items);
+ checkUnnamed1737(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -1914,40 +1914,40 @@
buildCounterBackendBucketList--;
}
-buildUnnamed1737() {
+buildUnnamed1739() {
var o = new core.List<api.Backend>();
o.add(buildBackend());
o.add(buildBackend());
return o;
}
-checkUnnamed1737(core.List<api.Backend> o) {
+checkUnnamed1739(core.List<api.Backend> o) {
unittest.expect(o, unittest.hasLength(2));
checkBackend(o[0]);
checkBackend(o[1]);
}
-buildUnnamed1738() {
+buildUnnamed1740() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1738(core.List<core.String> o) {
+checkUnnamed1740(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1739() {
+buildUnnamed1741() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1739(core.List<core.String> o) {
+checkUnnamed1741(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1959,18 +1959,18 @@
buildCounterBackendService++;
if (buildCounterBackendService < 3) {
o.affinityCookieTtlSec = 42;
- o.backends = buildUnnamed1737();
+ o.backends = buildUnnamed1739();
o.cdnPolicy = buildBackendServiceCdnPolicy();
o.circuitBreakers = buildCircuitBreakers();
o.connectionDraining = buildConnectionDraining();
o.consistentHash = buildConsistentHashLoadBalancerSettings();
o.creationTimestamp = "foo";
- o.customRequestHeaders = buildUnnamed1738();
+ o.customRequestHeaders = buildUnnamed1740();
o.description = "foo";
o.enableCDN = true;
o.failoverPolicy = buildBackendServiceFailoverPolicy();
o.fingerprint = "foo";
- o.healthChecks = buildUnnamed1739();
+ o.healthChecks = buildUnnamed1741();
o.iap = buildBackendServiceIAP();
o.id = "foo";
o.kind = "foo";
@@ -1997,18 +1997,18 @@
buildCounterBackendService++;
if (buildCounterBackendService < 3) {
unittest.expect(o.affinityCookieTtlSec, unittest.equals(42));
- checkUnnamed1737(o.backends);
+ checkUnnamed1739(o.backends);
checkBackendServiceCdnPolicy(o.cdnPolicy);
checkCircuitBreakers(o.circuitBreakers);
checkConnectionDraining(o.connectionDraining);
checkConsistentHashLoadBalancerSettings(o.consistentHash);
unittest.expect(o.creationTimestamp, unittest.equals('foo'));
- checkUnnamed1738(o.customRequestHeaders);
+ checkUnnamed1740(o.customRequestHeaders);
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.enableCDN, unittest.isTrue);
checkBackendServiceFailoverPolicy(o.failoverPolicy);
unittest.expect(o.fingerprint, unittest.equals('foo'));
- checkUnnamed1739(o.healthChecks);
+ checkUnnamed1741(o.healthChecks);
checkBackendServiceIAP(o.iap);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
@@ -2030,27 +2030,27 @@
buildCounterBackendService--;
}
-buildUnnamed1740() {
+buildUnnamed1742() {
var o = new core.Map<core.String, api.BackendServicesScopedList>();
o["x"] = buildBackendServicesScopedList();
o["y"] = buildBackendServicesScopedList();
return o;
}
-checkUnnamed1740(core.Map<core.String, api.BackendServicesScopedList> o) {
+checkUnnamed1742(core.Map<core.String, api.BackendServicesScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkBackendServicesScopedList(o["x"]);
checkBackendServicesScopedList(o["y"]);
}
-buildUnnamed1741() {
+buildUnnamed1743() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1741(core.List<core.String> o) {
+checkUnnamed1743(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2078,14 +2078,14 @@
buildCounterBackendServiceAggregatedListWarningData--;
}
-buildUnnamed1742() {
+buildUnnamed1744() {
var o = new core.List<api.BackendServiceAggregatedListWarningData>();
o.add(buildBackendServiceAggregatedListWarningData());
o.add(buildBackendServiceAggregatedListWarningData());
return o;
}
-checkUnnamed1742(core.List<api.BackendServiceAggregatedListWarningData> o) {
+checkUnnamed1744(core.List<api.BackendServiceAggregatedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkBackendServiceAggregatedListWarningData(o[0]);
checkBackendServiceAggregatedListWarningData(o[1]);
@@ -2097,7 +2097,7 @@
buildCounterBackendServiceAggregatedListWarning++;
if (buildCounterBackendServiceAggregatedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed1742();
+ o.data = buildUnnamed1744();
o.message = "foo";
}
buildCounterBackendServiceAggregatedListWarning--;
@@ -2109,7 +2109,7 @@
buildCounterBackendServiceAggregatedListWarning++;
if (buildCounterBackendServiceAggregatedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed1742(o.data);
+ checkUnnamed1744(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterBackendServiceAggregatedListWarning--;
@@ -2121,11 +2121,11 @@
buildCounterBackendServiceAggregatedList++;
if (buildCounterBackendServiceAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed1740();
+ o.items = buildUnnamed1742();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
- o.unreachables = buildUnnamed1741();
+ o.unreachables = buildUnnamed1743();
o.warning = buildBackendServiceAggregatedListWarning();
}
buildCounterBackendServiceAggregatedList--;
@@ -2136,24 +2136,24 @@
buildCounterBackendServiceAggregatedList++;
if (buildCounterBackendServiceAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1740(o.items);
+ checkUnnamed1742(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
- checkUnnamed1741(o.unreachables);
+ checkUnnamed1743(o.unreachables);
checkBackendServiceAggregatedListWarning(o.warning);
}
buildCounterBackendServiceAggregatedList--;
}
-buildUnnamed1743() {
+buildUnnamed1745() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1743(core.List<core.String> o) {
+checkUnnamed1745(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2166,7 +2166,7 @@
if (buildCounterBackendServiceCdnPolicy < 3) {
o.cacheKeyPolicy = buildCacheKeyPolicy();
o.signedUrlCacheMaxAgeSec = "foo";
- o.signedUrlKeyNames = buildUnnamed1743();
+ o.signedUrlKeyNames = buildUnnamed1745();
}
buildCounterBackendServiceCdnPolicy--;
return o;
@@ -2177,7 +2177,7 @@
if (buildCounterBackendServiceCdnPolicy < 3) {
checkCacheKeyPolicy(o.cacheKeyPolicy);
unittest.expect(o.signedUrlCacheMaxAgeSec, unittest.equals('foo'));
- checkUnnamed1743(o.signedUrlKeyNames);
+ checkUnnamed1745(o.signedUrlKeyNames);
}
buildCounterBackendServiceCdnPolicy--;
}
@@ -2205,27 +2205,27 @@
buildCounterBackendServiceFailoverPolicy--;
}
-buildUnnamed1744() {
+buildUnnamed1746() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1744(core.Map<core.String, core.String> o) {
+checkUnnamed1746(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed1745() {
+buildUnnamed1747() {
var o = new core.List<api.HealthStatus>();
o.add(buildHealthStatus());
o.add(buildHealthStatus());
return o;
}
-checkUnnamed1745(core.List<api.HealthStatus> o) {
+checkUnnamed1747(core.List<api.HealthStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkHealthStatus(o[0]);
checkHealthStatus(o[1]);
@@ -2236,8 +2236,8 @@
var o = new api.BackendServiceGroupHealth();
buildCounterBackendServiceGroupHealth++;
if (buildCounterBackendServiceGroupHealth < 3) {
- o.annotations = buildUnnamed1744();
- o.healthStatus = buildUnnamed1745();
+ o.annotations = buildUnnamed1746();
+ o.healthStatus = buildUnnamed1747();
o.kind = "foo";
}
buildCounterBackendServiceGroupHealth--;
@@ -2247,8 +2247,8 @@
checkBackendServiceGroupHealth(api.BackendServiceGroupHealth o) {
buildCounterBackendServiceGroupHealth++;
if (buildCounterBackendServiceGroupHealth < 3) {
- checkUnnamed1744(o.annotations);
- checkUnnamed1745(o.healthStatus);
+ checkUnnamed1746(o.annotations);
+ checkUnnamed1747(o.healthStatus);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterBackendServiceGroupHealth--;
@@ -2279,14 +2279,14 @@
buildCounterBackendServiceIAP--;
}
-buildUnnamed1746() {
+buildUnnamed1748() {
var o = new core.List<api.BackendService>();
o.add(buildBackendService());
o.add(buildBackendService());
return o;
}
-checkUnnamed1746(core.List<api.BackendService> o) {
+checkUnnamed1748(core.List<api.BackendService> o) {
unittest.expect(o, unittest.hasLength(2));
checkBackendService(o[0]);
checkBackendService(o[1]);
@@ -2313,14 +2313,14 @@
buildCounterBackendServiceListWarningData--;
}
-buildUnnamed1747() {
+buildUnnamed1749() {
var o = new core.List<api.BackendServiceListWarningData>();
o.add(buildBackendServiceListWarningData());
o.add(buildBackendServiceListWarningData());
return o;
}
-checkUnnamed1747(core.List<api.BackendServiceListWarningData> o) {
+checkUnnamed1749(core.List<api.BackendServiceListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkBackendServiceListWarningData(o[0]);
checkBackendServiceListWarningData(o[1]);
@@ -2332,7 +2332,7 @@
buildCounterBackendServiceListWarning++;
if (buildCounterBackendServiceListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed1747();
+ o.data = buildUnnamed1749();
o.message = "foo";
}
buildCounterBackendServiceListWarning--;
@@ -2343,7 +2343,7 @@
buildCounterBackendServiceListWarning++;
if (buildCounterBackendServiceListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed1747(o.data);
+ checkUnnamed1749(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterBackendServiceListWarning--;
@@ -2355,7 +2355,7 @@
buildCounterBackendServiceList++;
if (buildCounterBackendServiceList < 3) {
o.id = "foo";
- o.items = buildUnnamed1746();
+ o.items = buildUnnamed1748();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -2369,7 +2369,7 @@
buildCounterBackendServiceList++;
if (buildCounterBackendServiceList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1746(o.items);
+ checkUnnamed1748(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -2418,14 +2418,14 @@
buildCounterBackendServiceReference--;
}
-buildUnnamed1748() {
+buildUnnamed1750() {
var o = new core.List<api.BackendService>();
o.add(buildBackendService());
o.add(buildBackendService());
return o;
}
-checkUnnamed1748(core.List<api.BackendService> o) {
+checkUnnamed1750(core.List<api.BackendService> o) {
unittest.expect(o, unittest.hasLength(2));
checkBackendService(o[0]);
checkBackendService(o[1]);
@@ -2453,14 +2453,14 @@
buildCounterBackendServicesScopedListWarningData--;
}
-buildUnnamed1749() {
+buildUnnamed1751() {
var o = new core.List<api.BackendServicesScopedListWarningData>();
o.add(buildBackendServicesScopedListWarningData());
o.add(buildBackendServicesScopedListWarningData());
return o;
}
-checkUnnamed1749(core.List<api.BackendServicesScopedListWarningData> o) {
+checkUnnamed1751(core.List<api.BackendServicesScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkBackendServicesScopedListWarningData(o[0]);
checkBackendServicesScopedListWarningData(o[1]);
@@ -2472,7 +2472,7 @@
buildCounterBackendServicesScopedListWarning++;
if (buildCounterBackendServicesScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed1749();
+ o.data = buildUnnamed1751();
o.message = "foo";
}
buildCounterBackendServicesScopedListWarning--;
@@ -2483,7 +2483,7 @@
buildCounterBackendServicesScopedListWarning++;
if (buildCounterBackendServicesScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed1749(o.data);
+ checkUnnamed1751(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterBackendServicesScopedListWarning--;
@@ -2494,7 +2494,7 @@
var o = new api.BackendServicesScopedList();
buildCounterBackendServicesScopedList++;
if (buildCounterBackendServicesScopedList < 3) {
- o.backendServices = buildUnnamed1748();
+ o.backendServices = buildUnnamed1750();
o.warning = buildBackendServicesScopedListWarning();
}
buildCounterBackendServicesScopedList--;
@@ -2504,20 +2504,20 @@
checkBackendServicesScopedList(api.BackendServicesScopedList o) {
buildCounterBackendServicesScopedList++;
if (buildCounterBackendServicesScopedList < 3) {
- checkUnnamed1748(o.backendServices);
+ checkUnnamed1750(o.backendServices);
checkBackendServicesScopedListWarning(o.warning);
}
buildCounterBackendServicesScopedList--;
}
-buildUnnamed1750() {
+buildUnnamed1752() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1750(core.List<core.String> o) {
+checkUnnamed1752(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2530,7 +2530,7 @@
if (buildCounterBinding < 3) {
o.bindingId = "foo";
o.condition = buildExpr();
- o.members = buildUnnamed1750();
+ o.members = buildUnnamed1752();
o.role = "foo";
}
buildCounterBinding--;
@@ -2542,7 +2542,7 @@
if (buildCounterBinding < 3) {
unittest.expect(o.bindingId, unittest.equals('foo'));
checkExpr(o.condition);
- checkUnnamed1750(o.members);
+ checkUnnamed1752(o.members);
unittest.expect(o.role, unittest.equals('foo'));
}
buildCounterBinding--;
@@ -2569,27 +2569,27 @@
buildCounterCacheInvalidationRule--;
}
-buildUnnamed1751() {
+buildUnnamed1753() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1751(core.List<core.String> o) {
+checkUnnamed1753(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1752() {
+buildUnnamed1754() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1752(core.List<core.String> o) {
+checkUnnamed1754(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2603,8 +2603,8 @@
o.includeHost = true;
o.includeProtocol = true;
o.includeQueryString = true;
- o.queryStringBlacklist = buildUnnamed1751();
- o.queryStringWhitelist = buildUnnamed1752();
+ o.queryStringBlacklist = buildUnnamed1753();
+ o.queryStringWhitelist = buildUnnamed1754();
}
buildCounterCacheKeyPolicy--;
return o;
@@ -2616,8 +2616,8 @@
unittest.expect(o.includeHost, unittest.isTrue);
unittest.expect(o.includeProtocol, unittest.isTrue);
unittest.expect(o.includeQueryString, unittest.isTrue);
- checkUnnamed1751(o.queryStringBlacklist);
- checkUnnamed1752(o.queryStringWhitelist);
+ checkUnnamed1753(o.queryStringBlacklist);
+ checkUnnamed1754(o.queryStringWhitelist);
}
buildCounterCacheKeyPolicy--;
}
@@ -2649,27 +2649,27 @@
buildCounterCircuitBreakers--;
}
-buildUnnamed1753() {
+buildUnnamed1755() {
var o = new core.List<api.Reservation>();
o.add(buildReservation());
o.add(buildReservation());
return o;
}
-checkUnnamed1753(core.List<api.Reservation> o) {
+checkUnnamed1755(core.List<api.Reservation> o) {
unittest.expect(o, unittest.hasLength(2));
checkReservation(o[0]);
checkReservation(o[1]);
}
-buildUnnamed1754() {
+buildUnnamed1756() {
var o = new core.List<api.ResourceCommitment>();
o.add(buildResourceCommitment());
o.add(buildResourceCommitment());
return o;
}
-checkUnnamed1754(core.List<api.ResourceCommitment> o) {
+checkUnnamed1756(core.List<api.ResourceCommitment> o) {
unittest.expect(o, unittest.hasLength(2));
checkResourceCommitment(o[0]);
checkResourceCommitment(o[1]);
@@ -2690,8 +2690,8 @@
o.name = "foo";
o.plan = "foo";
o.region = "foo";
- o.reservations = buildUnnamed1753();
- o.resources = buildUnnamed1754();
+ o.reservations = buildUnnamed1755();
+ o.resources = buildUnnamed1756();
o.selfLink = "foo";
o.startTimestamp = "foo";
o.status = "foo";
@@ -2714,8 +2714,8 @@
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.plan, unittest.equals('foo'));
unittest.expect(o.region, unittest.equals('foo'));
- checkUnnamed1753(o.reservations);
- checkUnnamed1754(o.resources);
+ checkUnnamed1755(o.reservations);
+ checkUnnamed1756(o.resources);
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.startTimestamp, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals('foo'));
@@ -2724,27 +2724,27 @@
buildCounterCommitment--;
}
-buildUnnamed1755() {
+buildUnnamed1757() {
var o = new core.Map<core.String, api.CommitmentsScopedList>();
o["x"] = buildCommitmentsScopedList();
o["y"] = buildCommitmentsScopedList();
return o;
}
-checkUnnamed1755(core.Map<core.String, api.CommitmentsScopedList> o) {
+checkUnnamed1757(core.Map<core.String, api.CommitmentsScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkCommitmentsScopedList(o["x"]);
checkCommitmentsScopedList(o["y"]);
}
-buildUnnamed1756() {
+buildUnnamed1758() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1756(core.List<core.String> o) {
+checkUnnamed1758(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2772,14 +2772,14 @@
buildCounterCommitmentAggregatedListWarningData--;
}
-buildUnnamed1757() {
+buildUnnamed1759() {
var o = new core.List<api.CommitmentAggregatedListWarningData>();
o.add(buildCommitmentAggregatedListWarningData());
o.add(buildCommitmentAggregatedListWarningData());
return o;
}
-checkUnnamed1757(core.List<api.CommitmentAggregatedListWarningData> o) {
+checkUnnamed1759(core.List<api.CommitmentAggregatedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkCommitmentAggregatedListWarningData(o[0]);
checkCommitmentAggregatedListWarningData(o[1]);
@@ -2791,7 +2791,7 @@
buildCounterCommitmentAggregatedListWarning++;
if (buildCounterCommitmentAggregatedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed1757();
+ o.data = buildUnnamed1759();
o.message = "foo";
}
buildCounterCommitmentAggregatedListWarning--;
@@ -2802,7 +2802,7 @@
buildCounterCommitmentAggregatedListWarning++;
if (buildCounterCommitmentAggregatedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed1757(o.data);
+ checkUnnamed1759(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterCommitmentAggregatedListWarning--;
@@ -2814,11 +2814,11 @@
buildCounterCommitmentAggregatedList++;
if (buildCounterCommitmentAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed1755();
+ o.items = buildUnnamed1757();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
- o.unreachables = buildUnnamed1756();
+ o.unreachables = buildUnnamed1758();
o.warning = buildCommitmentAggregatedListWarning();
}
buildCounterCommitmentAggregatedList--;
@@ -2829,24 +2829,24 @@
buildCounterCommitmentAggregatedList++;
if (buildCounterCommitmentAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1755(o.items);
+ checkUnnamed1757(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
- checkUnnamed1756(o.unreachables);
+ checkUnnamed1758(o.unreachables);
checkCommitmentAggregatedListWarning(o.warning);
}
buildCounterCommitmentAggregatedList--;
}
-buildUnnamed1758() {
+buildUnnamed1760() {
var o = new core.List<api.Commitment>();
o.add(buildCommitment());
o.add(buildCommitment());
return o;
}
-checkUnnamed1758(core.List<api.Commitment> o) {
+checkUnnamed1760(core.List<api.Commitment> o) {
unittest.expect(o, unittest.hasLength(2));
checkCommitment(o[0]);
checkCommitment(o[1]);
@@ -2873,14 +2873,14 @@
buildCounterCommitmentListWarningData--;
}
-buildUnnamed1759() {
+buildUnnamed1761() {
var o = new core.List<api.CommitmentListWarningData>();
o.add(buildCommitmentListWarningData());
o.add(buildCommitmentListWarningData());
return o;
}
-checkUnnamed1759(core.List<api.CommitmentListWarningData> o) {
+checkUnnamed1761(core.List<api.CommitmentListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkCommitmentListWarningData(o[0]);
checkCommitmentListWarningData(o[1]);
@@ -2892,7 +2892,7 @@
buildCounterCommitmentListWarning++;
if (buildCounterCommitmentListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed1759();
+ o.data = buildUnnamed1761();
o.message = "foo";
}
buildCounterCommitmentListWarning--;
@@ -2903,7 +2903,7 @@
buildCounterCommitmentListWarning++;
if (buildCounterCommitmentListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed1759(o.data);
+ checkUnnamed1761(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterCommitmentListWarning--;
@@ -2915,7 +2915,7 @@
buildCounterCommitmentList++;
if (buildCounterCommitmentList < 3) {
o.id = "foo";
- o.items = buildUnnamed1758();
+ o.items = buildUnnamed1760();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -2929,7 +2929,7 @@
buildCounterCommitmentList++;
if (buildCounterCommitmentList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1758(o.items);
+ checkUnnamed1760(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -2938,14 +2938,14 @@
buildCounterCommitmentList--;
}
-buildUnnamed1760() {
+buildUnnamed1762() {
var o = new core.List<api.Commitment>();
o.add(buildCommitment());
o.add(buildCommitment());
return o;
}
-checkUnnamed1760(core.List<api.Commitment> o) {
+checkUnnamed1762(core.List<api.Commitment> o) {
unittest.expect(o, unittest.hasLength(2));
checkCommitment(o[0]);
checkCommitment(o[1]);
@@ -2972,14 +2972,14 @@
buildCounterCommitmentsScopedListWarningData--;
}
-buildUnnamed1761() {
+buildUnnamed1763() {
var o = new core.List<api.CommitmentsScopedListWarningData>();
o.add(buildCommitmentsScopedListWarningData());
o.add(buildCommitmentsScopedListWarningData());
return o;
}
-checkUnnamed1761(core.List<api.CommitmentsScopedListWarningData> o) {
+checkUnnamed1763(core.List<api.CommitmentsScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkCommitmentsScopedListWarningData(o[0]);
checkCommitmentsScopedListWarningData(o[1]);
@@ -2991,7 +2991,7 @@
buildCounterCommitmentsScopedListWarning++;
if (buildCounterCommitmentsScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed1761();
+ o.data = buildUnnamed1763();
o.message = "foo";
}
buildCounterCommitmentsScopedListWarning--;
@@ -3002,7 +3002,7 @@
buildCounterCommitmentsScopedListWarning++;
if (buildCounterCommitmentsScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed1761(o.data);
+ checkUnnamed1763(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterCommitmentsScopedListWarning--;
@@ -3013,7 +3013,7 @@
var o = new api.CommitmentsScopedList();
buildCounterCommitmentsScopedList++;
if (buildCounterCommitmentsScopedList < 3) {
- o.commitments = buildUnnamed1760();
+ o.commitments = buildUnnamed1762();
o.warning = buildCommitmentsScopedListWarning();
}
buildCounterCommitmentsScopedList--;
@@ -3023,20 +3023,20 @@
checkCommitmentsScopedList(api.CommitmentsScopedList o) {
buildCounterCommitmentsScopedList++;
if (buildCounterCommitmentsScopedList < 3) {
- checkUnnamed1760(o.commitments);
+ checkUnnamed1762(o.commitments);
checkCommitmentsScopedListWarning(o.warning);
}
buildCounterCommitmentsScopedList--;
}
-buildUnnamed1762() {
+buildUnnamed1764() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1762(core.List<core.String> o) {
+checkUnnamed1764(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3051,7 +3051,7 @@
o.op = "foo";
o.svc = "foo";
o.sys = "foo";
- o.values = buildUnnamed1762();
+ o.values = buildUnnamed1764();
}
buildCounterCondition--;
return o;
@@ -3064,7 +3064,7 @@
unittest.expect(o.op, unittest.equals('foo'));
unittest.expect(o.svc, unittest.equals('foo'));
unittest.expect(o.sys, unittest.equals('foo'));
- checkUnnamed1762(o.values);
+ checkUnnamed1764(o.values);
}
buildCounterCondition--;
}
@@ -3155,32 +3155,6 @@
buildCounterConsistentHashLoadBalancerSettingsHttpCookie--;
}
-buildUnnamed1763() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1763(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed1764() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1764(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed1765() {
var o = new core.List<core.String>();
o.add("foo");
@@ -3220,18 +3194,44 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed1768() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1768(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed1769() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1769(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
core.int buildCounterCorsPolicy = 0;
buildCorsPolicy() {
var o = new api.CorsPolicy();
buildCounterCorsPolicy++;
if (buildCounterCorsPolicy < 3) {
o.allowCredentials = true;
- o.allowHeaders = buildUnnamed1763();
- o.allowMethods = buildUnnamed1764();
- o.allowOriginRegexes = buildUnnamed1765();
- o.allowOrigins = buildUnnamed1766();
+ o.allowHeaders = buildUnnamed1765();
+ o.allowMethods = buildUnnamed1766();
+ o.allowOriginRegexes = buildUnnamed1767();
+ o.allowOrigins = buildUnnamed1768();
o.disabled = true;
- o.exposeHeaders = buildUnnamed1767();
+ o.exposeHeaders = buildUnnamed1769();
o.maxAge = 42;
}
buildCounterCorsPolicy--;
@@ -3242,12 +3242,12 @@
buildCounterCorsPolicy++;
if (buildCounterCorsPolicy < 3) {
unittest.expect(o.allowCredentials, unittest.isTrue);
- checkUnnamed1763(o.allowHeaders);
- checkUnnamed1764(o.allowMethods);
- checkUnnamed1765(o.allowOriginRegexes);
- checkUnnamed1766(o.allowOrigins);
+ checkUnnamed1765(o.allowHeaders);
+ checkUnnamed1766(o.allowMethods);
+ checkUnnamed1767(o.allowOriginRegexes);
+ checkUnnamed1768(o.allowOrigins);
unittest.expect(o.disabled, unittest.isTrue);
- checkUnnamed1767(o.exposeHeaders);
+ checkUnnamed1769(o.exposeHeaders);
unittest.expect(o.maxAge, unittest.equals(42));
}
buildCounterCorsPolicy--;
@@ -3327,58 +3327,32 @@
buildCounterDeprecationStatus--;
}
-buildUnnamed1768() {
+buildUnnamed1770() {
var o = new core.List<api.GuestOsFeature>();
o.add(buildGuestOsFeature());
o.add(buildGuestOsFeature());
return o;
}
-checkUnnamed1768(core.List<api.GuestOsFeature> o) {
+checkUnnamed1770(core.List<api.GuestOsFeature> o) {
unittest.expect(o, unittest.hasLength(2));
checkGuestOsFeature(o[0]);
checkGuestOsFeature(o[1]);
}
-buildUnnamed1769() {
+buildUnnamed1771() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1769(core.Map<core.String, core.String> o) {
+checkUnnamed1771(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed1770() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1770(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed1771() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1771(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed1772() {
var o = new core.List<core.String>();
o.add("foo");
@@ -3418,6 +3392,32 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed1775() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1775(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed1776() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1776(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
core.int buildCounterDisk = 0;
buildDisk() {
var o = new api.Disk();
@@ -3426,21 +3426,21 @@
o.creationTimestamp = "foo";
o.description = "foo";
o.diskEncryptionKey = buildCustomerEncryptionKey();
- o.guestOsFeatures = buildUnnamed1768();
+ o.guestOsFeatures = buildUnnamed1770();
o.id = "foo";
o.kind = "foo";
o.labelFingerprint = "foo";
- o.labels = buildUnnamed1769();
+ o.labels = buildUnnamed1771();
o.lastAttachTimestamp = "foo";
o.lastDetachTimestamp = "foo";
- o.licenseCodes = buildUnnamed1770();
- o.licenses = buildUnnamed1771();
+ o.licenseCodes = buildUnnamed1772();
+ o.licenses = buildUnnamed1773();
o.name = "foo";
o.options = "foo";
o.physicalBlockSizeBytes = "foo";
o.region = "foo";
- o.replicaZones = buildUnnamed1772();
- o.resourcePolicies = buildUnnamed1773();
+ o.replicaZones = buildUnnamed1774();
+ o.resourcePolicies = buildUnnamed1775();
o.selfLink = "foo";
o.sizeGb = "foo";
o.sourceDisk = "foo";
@@ -3453,7 +3453,7 @@
o.sourceSnapshotId = "foo";
o.status = "foo";
o.type = "foo";
- o.users = buildUnnamed1774();
+ o.users = buildUnnamed1776();
o.zone = "foo";
}
buildCounterDisk--;
@@ -3466,21 +3466,21 @@
unittest.expect(o.creationTimestamp, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
checkCustomerEncryptionKey(o.diskEncryptionKey);
- checkUnnamed1768(o.guestOsFeatures);
+ checkUnnamed1770(o.guestOsFeatures);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.labelFingerprint, unittest.equals('foo'));
- checkUnnamed1769(o.labels);
+ checkUnnamed1771(o.labels);
unittest.expect(o.lastAttachTimestamp, unittest.equals('foo'));
unittest.expect(o.lastDetachTimestamp, unittest.equals('foo'));
- checkUnnamed1770(o.licenseCodes);
- checkUnnamed1771(o.licenses);
+ checkUnnamed1772(o.licenseCodes);
+ checkUnnamed1773(o.licenses);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.options, unittest.equals('foo'));
unittest.expect(o.physicalBlockSizeBytes, unittest.equals('foo'));
unittest.expect(o.region, unittest.equals('foo'));
- checkUnnamed1772(o.replicaZones);
- checkUnnamed1773(o.resourcePolicies);
+ checkUnnamed1774(o.replicaZones);
+ checkUnnamed1775(o.resourcePolicies);
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.sizeGb, unittest.equals('foo'));
unittest.expect(o.sourceDisk, unittest.equals('foo'));
@@ -3493,33 +3493,33 @@
unittest.expect(o.sourceSnapshotId, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
- checkUnnamed1774(o.users);
+ checkUnnamed1776(o.users);
unittest.expect(o.zone, unittest.equals('foo'));
}
buildCounterDisk--;
}
-buildUnnamed1775() {
+buildUnnamed1777() {
var o = new core.Map<core.String, api.DisksScopedList>();
o["x"] = buildDisksScopedList();
o["y"] = buildDisksScopedList();
return o;
}
-checkUnnamed1775(core.Map<core.String, api.DisksScopedList> o) {
+checkUnnamed1777(core.Map<core.String, api.DisksScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkDisksScopedList(o["x"]);
checkDisksScopedList(o["y"]);
}
-buildUnnamed1776() {
+buildUnnamed1778() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1776(core.List<core.String> o) {
+checkUnnamed1778(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3546,14 +3546,14 @@
buildCounterDiskAggregatedListWarningData--;
}
-buildUnnamed1777() {
+buildUnnamed1779() {
var o = new core.List<api.DiskAggregatedListWarningData>();
o.add(buildDiskAggregatedListWarningData());
o.add(buildDiskAggregatedListWarningData());
return o;
}
-checkUnnamed1777(core.List<api.DiskAggregatedListWarningData> o) {
+checkUnnamed1779(core.List<api.DiskAggregatedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkDiskAggregatedListWarningData(o[0]);
checkDiskAggregatedListWarningData(o[1]);
@@ -3565,7 +3565,7 @@
buildCounterDiskAggregatedListWarning++;
if (buildCounterDiskAggregatedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed1777();
+ o.data = buildUnnamed1779();
o.message = "foo";
}
buildCounterDiskAggregatedListWarning--;
@@ -3576,7 +3576,7 @@
buildCounterDiskAggregatedListWarning++;
if (buildCounterDiskAggregatedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed1777(o.data);
+ checkUnnamed1779(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterDiskAggregatedListWarning--;
@@ -3588,11 +3588,11 @@
buildCounterDiskAggregatedList++;
if (buildCounterDiskAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed1775();
+ o.items = buildUnnamed1777();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
- o.unreachables = buildUnnamed1776();
+ o.unreachables = buildUnnamed1778();
o.warning = buildDiskAggregatedListWarning();
}
buildCounterDiskAggregatedList--;
@@ -3603,11 +3603,11 @@
buildCounterDiskAggregatedList++;
if (buildCounterDiskAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1775(o.items);
+ checkUnnamed1777(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
- checkUnnamed1776(o.unreachables);
+ checkUnnamed1778(o.unreachables);
checkDiskAggregatedListWarning(o.warning);
}
buildCounterDiskAggregatedList--;
@@ -3638,14 +3638,14 @@
buildCounterDiskInstantiationConfig--;
}
-buildUnnamed1778() {
+buildUnnamed1780() {
var o = new core.List<api.Disk>();
o.add(buildDisk());
o.add(buildDisk());
return o;
}
-checkUnnamed1778(core.List<api.Disk> o) {
+checkUnnamed1780(core.List<api.Disk> o) {
unittest.expect(o, unittest.hasLength(2));
checkDisk(o[0]);
checkDisk(o[1]);
@@ -3672,14 +3672,14 @@
buildCounterDiskListWarningData--;
}
-buildUnnamed1779() {
+buildUnnamed1781() {
var o = new core.List<api.DiskListWarningData>();
o.add(buildDiskListWarningData());
o.add(buildDiskListWarningData());
return o;
}
-checkUnnamed1779(core.List<api.DiskListWarningData> o) {
+checkUnnamed1781(core.List<api.DiskListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkDiskListWarningData(o[0]);
checkDiskListWarningData(o[1]);
@@ -3691,7 +3691,7 @@
buildCounterDiskListWarning++;
if (buildCounterDiskListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed1779();
+ o.data = buildUnnamed1781();
o.message = "foo";
}
buildCounterDiskListWarning--;
@@ -3702,7 +3702,7 @@
buildCounterDiskListWarning++;
if (buildCounterDiskListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed1779(o.data);
+ checkUnnamed1781(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterDiskListWarning--;
@@ -3714,7 +3714,7 @@
buildCounterDiskList++;
if (buildCounterDiskList < 3) {
o.id = "foo";
- o.items = buildUnnamed1778();
+ o.items = buildUnnamed1780();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -3728,7 +3728,7 @@
buildCounterDiskList++;
if (buildCounterDiskList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1778(o.items);
+ checkUnnamed1780(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -3797,27 +3797,27 @@
buildCounterDiskType--;
}
-buildUnnamed1780() {
+buildUnnamed1782() {
var o = new core.Map<core.String, api.DiskTypesScopedList>();
o["x"] = buildDiskTypesScopedList();
o["y"] = buildDiskTypesScopedList();
return o;
}
-checkUnnamed1780(core.Map<core.String, api.DiskTypesScopedList> o) {
+checkUnnamed1782(core.Map<core.String, api.DiskTypesScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkDiskTypesScopedList(o["x"]);
checkDiskTypesScopedList(o["y"]);
}
-buildUnnamed1781() {
+buildUnnamed1783() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1781(core.List<core.String> o) {
+checkUnnamed1783(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3845,14 +3845,14 @@
buildCounterDiskTypeAggregatedListWarningData--;
}
-buildUnnamed1782() {
+buildUnnamed1784() {
var o = new core.List<api.DiskTypeAggregatedListWarningData>();
o.add(buildDiskTypeAggregatedListWarningData());
o.add(buildDiskTypeAggregatedListWarningData());
return o;
}
-checkUnnamed1782(core.List<api.DiskTypeAggregatedListWarningData> o) {
+checkUnnamed1784(core.List<api.DiskTypeAggregatedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkDiskTypeAggregatedListWarningData(o[0]);
checkDiskTypeAggregatedListWarningData(o[1]);
@@ -3864,7 +3864,7 @@
buildCounterDiskTypeAggregatedListWarning++;
if (buildCounterDiskTypeAggregatedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed1782();
+ o.data = buildUnnamed1784();
o.message = "foo";
}
buildCounterDiskTypeAggregatedListWarning--;
@@ -3875,7 +3875,7 @@
buildCounterDiskTypeAggregatedListWarning++;
if (buildCounterDiskTypeAggregatedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed1782(o.data);
+ checkUnnamed1784(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterDiskTypeAggregatedListWarning--;
@@ -3887,11 +3887,11 @@
buildCounterDiskTypeAggregatedList++;
if (buildCounterDiskTypeAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed1780();
+ o.items = buildUnnamed1782();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
- o.unreachables = buildUnnamed1781();
+ o.unreachables = buildUnnamed1783();
o.warning = buildDiskTypeAggregatedListWarning();
}
buildCounterDiskTypeAggregatedList--;
@@ -3902,24 +3902,24 @@
buildCounterDiskTypeAggregatedList++;
if (buildCounterDiskTypeAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1780(o.items);
+ checkUnnamed1782(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
- checkUnnamed1781(o.unreachables);
+ checkUnnamed1783(o.unreachables);
checkDiskTypeAggregatedListWarning(o.warning);
}
buildCounterDiskTypeAggregatedList--;
}
-buildUnnamed1783() {
+buildUnnamed1785() {
var o = new core.List<api.DiskType>();
o.add(buildDiskType());
o.add(buildDiskType());
return o;
}
-checkUnnamed1783(core.List<api.DiskType> o) {
+checkUnnamed1785(core.List<api.DiskType> o) {
unittest.expect(o, unittest.hasLength(2));
checkDiskType(o[0]);
checkDiskType(o[1]);
@@ -3946,14 +3946,14 @@
buildCounterDiskTypeListWarningData--;
}
-buildUnnamed1784() {
+buildUnnamed1786() {
var o = new core.List<api.DiskTypeListWarningData>();
o.add(buildDiskTypeListWarningData());
o.add(buildDiskTypeListWarningData());
return o;
}
-checkUnnamed1784(core.List<api.DiskTypeListWarningData> o) {
+checkUnnamed1786(core.List<api.DiskTypeListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkDiskTypeListWarningData(o[0]);
checkDiskTypeListWarningData(o[1]);
@@ -3965,7 +3965,7 @@
buildCounterDiskTypeListWarning++;
if (buildCounterDiskTypeListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed1784();
+ o.data = buildUnnamed1786();
o.message = "foo";
}
buildCounterDiskTypeListWarning--;
@@ -3976,7 +3976,7 @@
buildCounterDiskTypeListWarning++;
if (buildCounterDiskTypeListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed1784(o.data);
+ checkUnnamed1786(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterDiskTypeListWarning--;
@@ -3988,7 +3988,7 @@
buildCounterDiskTypeList++;
if (buildCounterDiskTypeList < 3) {
o.id = "foo";
- o.items = buildUnnamed1783();
+ o.items = buildUnnamed1785();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -4002,7 +4002,7 @@
buildCounterDiskTypeList++;
if (buildCounterDiskTypeList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1783(o.items);
+ checkUnnamed1785(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -4011,14 +4011,14 @@
buildCounterDiskTypeList--;
}
-buildUnnamed1785() {
+buildUnnamed1787() {
var o = new core.List<api.DiskType>();
o.add(buildDiskType());
o.add(buildDiskType());
return o;
}
-checkUnnamed1785(core.List<api.DiskType> o) {
+checkUnnamed1787(core.List<api.DiskType> o) {
unittest.expect(o, unittest.hasLength(2));
checkDiskType(o[0]);
checkDiskType(o[1]);
@@ -4045,14 +4045,14 @@
buildCounterDiskTypesScopedListWarningData--;
}
-buildUnnamed1786() {
+buildUnnamed1788() {
var o = new core.List<api.DiskTypesScopedListWarningData>();
o.add(buildDiskTypesScopedListWarningData());
o.add(buildDiskTypesScopedListWarningData());
return o;
}
-checkUnnamed1786(core.List<api.DiskTypesScopedListWarningData> o) {
+checkUnnamed1788(core.List<api.DiskTypesScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkDiskTypesScopedListWarningData(o[0]);
checkDiskTypesScopedListWarningData(o[1]);
@@ -4064,7 +4064,7 @@
buildCounterDiskTypesScopedListWarning++;
if (buildCounterDiskTypesScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed1786();
+ o.data = buildUnnamed1788();
o.message = "foo";
}
buildCounterDiskTypesScopedListWarning--;
@@ -4075,7 +4075,7 @@
buildCounterDiskTypesScopedListWarning++;
if (buildCounterDiskTypesScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed1786(o.data);
+ checkUnnamed1788(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterDiskTypesScopedListWarning--;
@@ -4086,7 +4086,7 @@
var o = new api.DiskTypesScopedList();
buildCounterDiskTypesScopedList++;
if (buildCounterDiskTypesScopedList < 3) {
- o.diskTypes = buildUnnamed1785();
+ o.diskTypes = buildUnnamed1787();
o.warning = buildDiskTypesScopedListWarning();
}
buildCounterDiskTypesScopedList--;
@@ -4096,20 +4096,20 @@
checkDiskTypesScopedList(api.DiskTypesScopedList o) {
buildCounterDiskTypesScopedList++;
if (buildCounterDiskTypesScopedList < 3) {
- checkUnnamed1785(o.diskTypes);
+ checkUnnamed1787(o.diskTypes);
checkDiskTypesScopedListWarning(o.warning);
}
buildCounterDiskTypesScopedList--;
}
-buildUnnamed1787() {
+buildUnnamed1789() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1787(core.List<core.String> o) {
+checkUnnamed1789(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -4120,7 +4120,7 @@
var o = new api.DisksAddResourcePoliciesRequest();
buildCounterDisksAddResourcePoliciesRequest++;
if (buildCounterDisksAddResourcePoliciesRequest < 3) {
- o.resourcePolicies = buildUnnamed1787();
+ o.resourcePolicies = buildUnnamed1789();
}
buildCounterDisksAddResourcePoliciesRequest--;
return o;
@@ -4129,19 +4129,19 @@
checkDisksAddResourcePoliciesRequest(api.DisksAddResourcePoliciesRequest o) {
buildCounterDisksAddResourcePoliciesRequest++;
if (buildCounterDisksAddResourcePoliciesRequest < 3) {
- checkUnnamed1787(o.resourcePolicies);
+ checkUnnamed1789(o.resourcePolicies);
}
buildCounterDisksAddResourcePoliciesRequest--;
}
-buildUnnamed1788() {
+buildUnnamed1790() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1788(core.List<core.String> o) {
+checkUnnamed1790(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -4152,7 +4152,7 @@
var o = new api.DisksRemoveResourcePoliciesRequest();
buildCounterDisksRemoveResourcePoliciesRequest++;
if (buildCounterDisksRemoveResourcePoliciesRequest < 3) {
- o.resourcePolicies = buildUnnamed1788();
+ o.resourcePolicies = buildUnnamed1790();
}
buildCounterDisksRemoveResourcePoliciesRequest--;
return o;
@@ -4162,7 +4162,7 @@
api.DisksRemoveResourcePoliciesRequest o) {
buildCounterDisksRemoveResourcePoliciesRequest++;
if (buildCounterDisksRemoveResourcePoliciesRequest < 3) {
- checkUnnamed1788(o.resourcePolicies);
+ checkUnnamed1790(o.resourcePolicies);
}
buildCounterDisksRemoveResourcePoliciesRequest--;
}
@@ -4186,14 +4186,14 @@
buildCounterDisksResizeRequest--;
}
-buildUnnamed1789() {
+buildUnnamed1791() {
var o = new core.List<api.Disk>();
o.add(buildDisk());
o.add(buildDisk());
return o;
}
-checkUnnamed1789(core.List<api.Disk> o) {
+checkUnnamed1791(core.List<api.Disk> o) {
unittest.expect(o, unittest.hasLength(2));
checkDisk(o[0]);
checkDisk(o[1]);
@@ -4220,14 +4220,14 @@
buildCounterDisksScopedListWarningData--;
}
-buildUnnamed1790() {
+buildUnnamed1792() {
var o = new core.List<api.DisksScopedListWarningData>();
o.add(buildDisksScopedListWarningData());
o.add(buildDisksScopedListWarningData());
return o;
}
-checkUnnamed1790(core.List<api.DisksScopedListWarningData> o) {
+checkUnnamed1792(core.List<api.DisksScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkDisksScopedListWarningData(o[0]);
checkDisksScopedListWarningData(o[1]);
@@ -4239,7 +4239,7 @@
buildCounterDisksScopedListWarning++;
if (buildCounterDisksScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed1790();
+ o.data = buildUnnamed1792();
o.message = "foo";
}
buildCounterDisksScopedListWarning--;
@@ -4250,7 +4250,7 @@
buildCounterDisksScopedListWarning++;
if (buildCounterDisksScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed1790(o.data);
+ checkUnnamed1792(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterDisksScopedListWarning--;
@@ -4261,7 +4261,7 @@
var o = new api.DisksScopedList();
buildCounterDisksScopedList++;
if (buildCounterDisksScopedList < 3) {
- o.disks = buildUnnamed1789();
+ o.disks = buildUnnamed1791();
o.warning = buildDisksScopedListWarning();
}
buildCounterDisksScopedList--;
@@ -4271,7 +4271,7 @@
checkDisksScopedList(api.DisksScopedList o) {
buildCounterDisksScopedList++;
if (buildCounterDisksScopedList < 3) {
- checkUnnamed1789(o.disks);
+ checkUnnamed1791(o.disks);
checkDisksScopedListWarning(o.warning);
}
buildCounterDisksScopedList--;
@@ -4296,14 +4296,14 @@
buildCounterDisplayDevice--;
}
-buildUnnamed1791() {
+buildUnnamed1793() {
var o = new core.List<api.DistributionPolicyZoneConfiguration>();
o.add(buildDistributionPolicyZoneConfiguration());
o.add(buildDistributionPolicyZoneConfiguration());
return o;
}
-checkUnnamed1791(core.List<api.DistributionPolicyZoneConfiguration> o) {
+checkUnnamed1793(core.List<api.DistributionPolicyZoneConfiguration> o) {
unittest.expect(o, unittest.hasLength(2));
checkDistributionPolicyZoneConfiguration(o[0]);
checkDistributionPolicyZoneConfiguration(o[1]);
@@ -4314,7 +4314,7 @@
var o = new api.DistributionPolicy();
buildCounterDistributionPolicy++;
if (buildCounterDistributionPolicy < 3) {
- o.zones = buildUnnamed1791();
+ o.zones = buildUnnamed1793();
}
buildCounterDistributionPolicy--;
return o;
@@ -4323,7 +4323,7 @@
checkDistributionPolicy(api.DistributionPolicy o) {
buildCounterDistributionPolicy++;
if (buildCounterDistributionPolicy < 3) {
- checkUnnamed1791(o.zones);
+ checkUnnamed1793(o.zones);
}
buildCounterDistributionPolicy--;
}
@@ -4396,14 +4396,14 @@
buildCounterExchangedPeeringRoute--;
}
-buildUnnamed1792() {
+buildUnnamed1794() {
var o = new core.List<api.ExchangedPeeringRoute>();
o.add(buildExchangedPeeringRoute());
o.add(buildExchangedPeeringRoute());
return o;
}
-checkUnnamed1792(core.List<api.ExchangedPeeringRoute> o) {
+checkUnnamed1794(core.List<api.ExchangedPeeringRoute> o) {
unittest.expect(o, unittest.hasLength(2));
checkExchangedPeeringRoute(o[0]);
checkExchangedPeeringRoute(o[1]);
@@ -4431,14 +4431,14 @@
buildCounterExchangedPeeringRoutesListWarningData--;
}
-buildUnnamed1793() {
+buildUnnamed1795() {
var o = new core.List<api.ExchangedPeeringRoutesListWarningData>();
o.add(buildExchangedPeeringRoutesListWarningData());
o.add(buildExchangedPeeringRoutesListWarningData());
return o;
}
-checkUnnamed1793(core.List<api.ExchangedPeeringRoutesListWarningData> o) {
+checkUnnamed1795(core.List<api.ExchangedPeeringRoutesListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkExchangedPeeringRoutesListWarningData(o[0]);
checkExchangedPeeringRoutesListWarningData(o[1]);
@@ -4450,7 +4450,7 @@
buildCounterExchangedPeeringRoutesListWarning++;
if (buildCounterExchangedPeeringRoutesListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed1793();
+ o.data = buildUnnamed1795();
o.message = "foo";
}
buildCounterExchangedPeeringRoutesListWarning--;
@@ -4462,7 +4462,7 @@
buildCounterExchangedPeeringRoutesListWarning++;
if (buildCounterExchangedPeeringRoutesListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed1793(o.data);
+ checkUnnamed1795(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterExchangedPeeringRoutesListWarning--;
@@ -4474,7 +4474,7 @@
buildCounterExchangedPeeringRoutesList++;
if (buildCounterExchangedPeeringRoutesList < 3) {
o.id = "foo";
- o.items = buildUnnamed1792();
+ o.items = buildUnnamed1794();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -4488,7 +4488,7 @@
buildCounterExchangedPeeringRoutesList++;
if (buildCounterExchangedPeeringRoutesList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1792(o.items);
+ checkUnnamed1794(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -4522,27 +4522,27 @@
buildCounterExpr--;
}
-buildUnnamed1794() {
+buildUnnamed1796() {
var o = new core.List<api.ExternalVpnGatewayInterface>();
o.add(buildExternalVpnGatewayInterface());
o.add(buildExternalVpnGatewayInterface());
return o;
}
-checkUnnamed1794(core.List<api.ExternalVpnGatewayInterface> o) {
+checkUnnamed1796(core.List<api.ExternalVpnGatewayInterface> o) {
unittest.expect(o, unittest.hasLength(2));
checkExternalVpnGatewayInterface(o[0]);
checkExternalVpnGatewayInterface(o[1]);
}
-buildUnnamed1795() {
+buildUnnamed1797() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1795(core.Map<core.String, core.String> o) {
+checkUnnamed1797(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -4556,10 +4556,10 @@
o.creationTimestamp = "foo";
o.description = "foo";
o.id = "foo";
- o.interfaces = buildUnnamed1794();
+ o.interfaces = buildUnnamed1796();
o.kind = "foo";
o.labelFingerprint = "foo";
- o.labels = buildUnnamed1795();
+ o.labels = buildUnnamed1797();
o.name = "foo";
o.redundancyType = "foo";
o.selfLink = "foo";
@@ -4574,10 +4574,10 @@
unittest.expect(o.creationTimestamp, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1794(o.interfaces);
+ checkUnnamed1796(o.interfaces);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.labelFingerprint, unittest.equals('foo'));
- checkUnnamed1795(o.labels);
+ checkUnnamed1797(o.labels);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.redundancyType, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -4606,14 +4606,14 @@
buildCounterExternalVpnGatewayInterface--;
}
-buildUnnamed1796() {
+buildUnnamed1798() {
var o = new core.List<api.ExternalVpnGateway>();
o.add(buildExternalVpnGateway());
o.add(buildExternalVpnGateway());
return o;
}
-checkUnnamed1796(core.List<api.ExternalVpnGateway> o) {
+checkUnnamed1798(core.List<api.ExternalVpnGateway> o) {
unittest.expect(o, unittest.hasLength(2));
checkExternalVpnGateway(o[0]);
checkExternalVpnGateway(o[1]);
@@ -4641,14 +4641,14 @@
buildCounterExternalVpnGatewayListWarningData--;
}
-buildUnnamed1797() {
+buildUnnamed1799() {
var o = new core.List<api.ExternalVpnGatewayListWarningData>();
o.add(buildExternalVpnGatewayListWarningData());
o.add(buildExternalVpnGatewayListWarningData());
return o;
}
-checkUnnamed1797(core.List<api.ExternalVpnGatewayListWarningData> o) {
+checkUnnamed1799(core.List<api.ExternalVpnGatewayListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkExternalVpnGatewayListWarningData(o[0]);
checkExternalVpnGatewayListWarningData(o[1]);
@@ -4660,7 +4660,7 @@
buildCounterExternalVpnGatewayListWarning++;
if (buildCounterExternalVpnGatewayListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed1797();
+ o.data = buildUnnamed1799();
o.message = "foo";
}
buildCounterExternalVpnGatewayListWarning--;
@@ -4671,7 +4671,7 @@
buildCounterExternalVpnGatewayListWarning++;
if (buildCounterExternalVpnGatewayListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed1797(o.data);
+ checkUnnamed1799(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterExternalVpnGatewayListWarning--;
@@ -4684,7 +4684,7 @@
if (buildCounterExternalVpnGatewayList < 3) {
o.etag = "foo";
o.id = "foo";
- o.items = buildUnnamed1796();
+ o.items = buildUnnamed1798();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -4699,7 +4699,7 @@
if (buildCounterExternalVpnGatewayList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1796(o.items);
+ checkUnnamed1798(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -4729,53 +4729,6 @@
buildCounterFileContentBuffer--;
}
-buildUnnamed1798() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1798(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-core.int buildCounterFirewallAllowed = 0;
-buildFirewallAllowed() {
- var o = new api.FirewallAllowed();
- buildCounterFirewallAllowed++;
- if (buildCounterFirewallAllowed < 3) {
- o.IPProtocol = "foo";
- o.ports = buildUnnamed1798();
- }
- buildCounterFirewallAllowed--;
- return o;
-}
-
-checkFirewallAllowed(api.FirewallAllowed o) {
- buildCounterFirewallAllowed++;
- if (buildCounterFirewallAllowed < 3) {
- unittest.expect(o.IPProtocol, unittest.equals('foo'));
- checkUnnamed1798(o.ports);
- }
- buildCounterFirewallAllowed--;
-}
-
-buildUnnamed1799() {
- var o = new core.List<api.FirewallAllowed>();
- o.add(buildFirewallAllowed());
- o.add(buildFirewallAllowed());
- return o;
-}
-
-checkUnnamed1799(core.List<api.FirewallAllowed> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkFirewallAllowed(o[0]);
- checkFirewallAllowed(o[1]);
-}
-
buildUnnamed1800() {
var o = new core.List<core.String>();
o.add("foo");
@@ -4789,38 +4742,38 @@
unittest.expect(o[1], unittest.equals('foo'));
}
-core.int buildCounterFirewallDenied = 0;
-buildFirewallDenied() {
- var o = new api.FirewallDenied();
- buildCounterFirewallDenied++;
- if (buildCounterFirewallDenied < 3) {
+core.int buildCounterFirewallAllowed = 0;
+buildFirewallAllowed() {
+ var o = new api.FirewallAllowed();
+ buildCounterFirewallAllowed++;
+ if (buildCounterFirewallAllowed < 3) {
o.IPProtocol = "foo";
o.ports = buildUnnamed1800();
}
- buildCounterFirewallDenied--;
+ buildCounterFirewallAllowed--;
return o;
}
-checkFirewallDenied(api.FirewallDenied o) {
- buildCounterFirewallDenied++;
- if (buildCounterFirewallDenied < 3) {
+checkFirewallAllowed(api.FirewallAllowed o) {
+ buildCounterFirewallAllowed++;
+ if (buildCounterFirewallAllowed < 3) {
unittest.expect(o.IPProtocol, unittest.equals('foo'));
checkUnnamed1800(o.ports);
}
- buildCounterFirewallDenied--;
+ buildCounterFirewallAllowed--;
}
buildUnnamed1801() {
- var o = new core.List<api.FirewallDenied>();
- o.add(buildFirewallDenied());
- o.add(buildFirewallDenied());
+ var o = new core.List<api.FirewallAllowed>();
+ o.add(buildFirewallAllowed());
+ o.add(buildFirewallAllowed());
return o;
}
-checkUnnamed1801(core.List<api.FirewallDenied> o) {
+checkUnnamed1801(core.List<api.FirewallAllowed> o) {
unittest.expect(o, unittest.hasLength(2));
- checkFirewallDenied(o[0]);
- checkFirewallDenied(o[1]);
+ checkFirewallAllowed(o[0]);
+ checkFirewallAllowed(o[1]);
}
buildUnnamed1802() {
@@ -4836,17 +4789,38 @@
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1803() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
+core.int buildCounterFirewallDenied = 0;
+buildFirewallDenied() {
+ var o = new api.FirewallDenied();
+ buildCounterFirewallDenied++;
+ if (buildCounterFirewallDenied < 3) {
+ o.IPProtocol = "foo";
+ o.ports = buildUnnamed1802();
+ }
+ buildCounterFirewallDenied--;
return o;
}
-checkUnnamed1803(core.List<core.String> o) {
+checkFirewallDenied(api.FirewallDenied o) {
+ buildCounterFirewallDenied++;
+ if (buildCounterFirewallDenied < 3) {
+ unittest.expect(o.IPProtocol, unittest.equals('foo'));
+ checkUnnamed1802(o.ports);
+ }
+ buildCounterFirewallDenied--;
+}
+
+buildUnnamed1803() {
+ var o = new core.List<api.FirewallDenied>();
+ o.add(buildFirewallDenied());
+ o.add(buildFirewallDenied());
+ return o;
+}
+
+checkUnnamed1803(core.List<api.FirewallDenied> o) {
unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
+ checkFirewallDenied(o[0]);
+ checkFirewallDenied(o[1]);
}
buildUnnamed1804() {
@@ -4901,16 +4875,42 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed1808() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1808(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed1809() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1809(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
core.int buildCounterFirewall = 0;
buildFirewall() {
var o = new api.Firewall();
buildCounterFirewall++;
if (buildCounterFirewall < 3) {
- o.allowed = buildUnnamed1799();
+ o.allowed = buildUnnamed1801();
o.creationTimestamp = "foo";
- o.denied = buildUnnamed1801();
+ o.denied = buildUnnamed1803();
o.description = "foo";
- o.destinationRanges = buildUnnamed1802();
+ o.destinationRanges = buildUnnamed1804();
o.direction = "foo";
o.disabled = true;
o.id = "foo";
@@ -4920,11 +4920,11 @@
o.network = "foo";
o.priority = 42;
o.selfLink = "foo";
- o.sourceRanges = buildUnnamed1803();
- o.sourceServiceAccounts = buildUnnamed1804();
- o.sourceTags = buildUnnamed1805();
- o.targetServiceAccounts = buildUnnamed1806();
- o.targetTags = buildUnnamed1807();
+ o.sourceRanges = buildUnnamed1805();
+ o.sourceServiceAccounts = buildUnnamed1806();
+ o.sourceTags = buildUnnamed1807();
+ o.targetServiceAccounts = buildUnnamed1808();
+ o.targetTags = buildUnnamed1809();
}
buildCounterFirewall--;
return o;
@@ -4933,11 +4933,11 @@
checkFirewall(api.Firewall o) {
buildCounterFirewall++;
if (buildCounterFirewall < 3) {
- checkUnnamed1799(o.allowed);
+ checkUnnamed1801(o.allowed);
unittest.expect(o.creationTimestamp, unittest.equals('foo'));
- checkUnnamed1801(o.denied);
+ checkUnnamed1803(o.denied);
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed1802(o.destinationRanges);
+ checkUnnamed1804(o.destinationRanges);
unittest.expect(o.direction, unittest.equals('foo'));
unittest.expect(o.disabled, unittest.isTrue);
unittest.expect(o.id, unittest.equals('foo'));
@@ -4947,23 +4947,23 @@
unittest.expect(o.network, unittest.equals('foo'));
unittest.expect(o.priority, unittest.equals(42));
unittest.expect(o.selfLink, unittest.equals('foo'));
- checkUnnamed1803(o.sourceRanges);
- checkUnnamed1804(o.sourceServiceAccounts);
- checkUnnamed1805(o.sourceTags);
- checkUnnamed1806(o.targetServiceAccounts);
- checkUnnamed1807(o.targetTags);
+ checkUnnamed1805(o.sourceRanges);
+ checkUnnamed1806(o.sourceServiceAccounts);
+ checkUnnamed1807(o.sourceTags);
+ checkUnnamed1808(o.targetServiceAccounts);
+ checkUnnamed1809(o.targetTags);
}
buildCounterFirewall--;
}
-buildUnnamed1808() {
+buildUnnamed1810() {
var o = new core.List<api.Firewall>();
o.add(buildFirewall());
o.add(buildFirewall());
return o;
}
-checkUnnamed1808(core.List<api.Firewall> o) {
+checkUnnamed1810(core.List<api.Firewall> o) {
unittest.expect(o, unittest.hasLength(2));
checkFirewall(o[0]);
checkFirewall(o[1]);
@@ -4990,14 +4990,14 @@
buildCounterFirewallListWarningData--;
}
-buildUnnamed1809() {
+buildUnnamed1811() {
var o = new core.List<api.FirewallListWarningData>();
o.add(buildFirewallListWarningData());
o.add(buildFirewallListWarningData());
return o;
}
-checkUnnamed1809(core.List<api.FirewallListWarningData> o) {
+checkUnnamed1811(core.List<api.FirewallListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkFirewallListWarningData(o[0]);
checkFirewallListWarningData(o[1]);
@@ -5009,7 +5009,7 @@
buildCounterFirewallListWarning++;
if (buildCounterFirewallListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed1809();
+ o.data = buildUnnamed1811();
o.message = "foo";
}
buildCounterFirewallListWarning--;
@@ -5020,7 +5020,7 @@
buildCounterFirewallListWarning++;
if (buildCounterFirewallListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed1809(o.data);
+ checkUnnamed1811(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterFirewallListWarning--;
@@ -5032,7 +5032,7 @@
buildCounterFirewallList++;
if (buildCounterFirewallList < 3) {
o.id = "foo";
- o.items = buildUnnamed1808();
+ o.items = buildUnnamed1810();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -5046,7 +5046,7 @@
buildCounterFirewallList++;
if (buildCounterFirewallList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1808(o.items);
+ checkUnnamed1810(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -5099,27 +5099,27 @@
buildCounterFixedOrPercent--;
}
-buildUnnamed1810() {
+buildUnnamed1812() {
var o = new core.List<api.MetadataFilter>();
o.add(buildMetadataFilter());
o.add(buildMetadataFilter());
return o;
}
-checkUnnamed1810(core.List<api.MetadataFilter> o) {
+checkUnnamed1812(core.List<api.MetadataFilter> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetadataFilter(o[0]);
checkMetadataFilter(o[1]);
}
-buildUnnamed1811() {
+buildUnnamed1813() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1811(core.List<core.String> o) {
+checkUnnamed1813(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -5143,12 +5143,12 @@
o.isMirroringCollector = true;
o.kind = "foo";
o.loadBalancingScheme = "foo";
- o.metadataFilters = buildUnnamed1810();
+ o.metadataFilters = buildUnnamed1812();
o.name = "foo";
o.network = "foo";
o.networkTier = "foo";
o.portRange = "foo";
- o.ports = buildUnnamed1811();
+ o.ports = buildUnnamed1813();
o.region = "foo";
o.selfLink = "foo";
o.serviceLabel = "foo";
@@ -5176,12 +5176,12 @@
unittest.expect(o.isMirroringCollector, unittest.isTrue);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.loadBalancingScheme, unittest.equals('foo'));
- checkUnnamed1810(o.metadataFilters);
+ checkUnnamed1812(o.metadataFilters);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.network, unittest.equals('foo'));
unittest.expect(o.networkTier, unittest.equals('foo'));
unittest.expect(o.portRange, unittest.equals('foo'));
- checkUnnamed1811(o.ports);
+ checkUnnamed1813(o.ports);
unittest.expect(o.region, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.serviceLabel, unittest.equals('foo'));
@@ -5192,27 +5192,27 @@
buildCounterForwardingRule--;
}
-buildUnnamed1812() {
+buildUnnamed1814() {
var o = new core.Map<core.String, api.ForwardingRulesScopedList>();
o["x"] = buildForwardingRulesScopedList();
o["y"] = buildForwardingRulesScopedList();
return o;
}
-checkUnnamed1812(core.Map<core.String, api.ForwardingRulesScopedList> o) {
+checkUnnamed1814(core.Map<core.String, api.ForwardingRulesScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkForwardingRulesScopedList(o["x"]);
checkForwardingRulesScopedList(o["y"]);
}
-buildUnnamed1813() {
+buildUnnamed1815() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1813(core.List<core.String> o) {
+checkUnnamed1815(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -5240,14 +5240,14 @@
buildCounterForwardingRuleAggregatedListWarningData--;
}
-buildUnnamed1814() {
+buildUnnamed1816() {
var o = new core.List<api.ForwardingRuleAggregatedListWarningData>();
o.add(buildForwardingRuleAggregatedListWarningData());
o.add(buildForwardingRuleAggregatedListWarningData());
return o;
}
-checkUnnamed1814(core.List<api.ForwardingRuleAggregatedListWarningData> o) {
+checkUnnamed1816(core.List<api.ForwardingRuleAggregatedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkForwardingRuleAggregatedListWarningData(o[0]);
checkForwardingRuleAggregatedListWarningData(o[1]);
@@ -5259,7 +5259,7 @@
buildCounterForwardingRuleAggregatedListWarning++;
if (buildCounterForwardingRuleAggregatedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed1814();
+ o.data = buildUnnamed1816();
o.message = "foo";
}
buildCounterForwardingRuleAggregatedListWarning--;
@@ -5271,7 +5271,7 @@
buildCounterForwardingRuleAggregatedListWarning++;
if (buildCounterForwardingRuleAggregatedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed1814(o.data);
+ checkUnnamed1816(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterForwardingRuleAggregatedListWarning--;
@@ -5283,11 +5283,11 @@
buildCounterForwardingRuleAggregatedList++;
if (buildCounterForwardingRuleAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed1812();
+ o.items = buildUnnamed1814();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
- o.unreachables = buildUnnamed1813();
+ o.unreachables = buildUnnamed1815();
o.warning = buildForwardingRuleAggregatedListWarning();
}
buildCounterForwardingRuleAggregatedList--;
@@ -5298,24 +5298,24 @@
buildCounterForwardingRuleAggregatedList++;
if (buildCounterForwardingRuleAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1812(o.items);
+ checkUnnamed1814(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
- checkUnnamed1813(o.unreachables);
+ checkUnnamed1815(o.unreachables);
checkForwardingRuleAggregatedListWarning(o.warning);
}
buildCounterForwardingRuleAggregatedList--;
}
-buildUnnamed1815() {
+buildUnnamed1817() {
var o = new core.List<api.ForwardingRule>();
o.add(buildForwardingRule());
o.add(buildForwardingRule());
return o;
}
-checkUnnamed1815(core.List<api.ForwardingRule> o) {
+checkUnnamed1817(core.List<api.ForwardingRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkForwardingRule(o[0]);
checkForwardingRule(o[1]);
@@ -5342,14 +5342,14 @@
buildCounterForwardingRuleListWarningData--;
}
-buildUnnamed1816() {
+buildUnnamed1818() {
var o = new core.List<api.ForwardingRuleListWarningData>();
o.add(buildForwardingRuleListWarningData());
o.add(buildForwardingRuleListWarningData());
return o;
}
-checkUnnamed1816(core.List<api.ForwardingRuleListWarningData> o) {
+checkUnnamed1818(core.List<api.ForwardingRuleListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkForwardingRuleListWarningData(o[0]);
checkForwardingRuleListWarningData(o[1]);
@@ -5361,7 +5361,7 @@
buildCounterForwardingRuleListWarning++;
if (buildCounterForwardingRuleListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed1816();
+ o.data = buildUnnamed1818();
o.message = "foo";
}
buildCounterForwardingRuleListWarning--;
@@ -5372,7 +5372,7 @@
buildCounterForwardingRuleListWarning++;
if (buildCounterForwardingRuleListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed1816(o.data);
+ checkUnnamed1818(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterForwardingRuleListWarning--;
@@ -5384,7 +5384,7 @@
buildCounterForwardingRuleList++;
if (buildCounterForwardingRuleList < 3) {
o.id = "foo";
- o.items = buildUnnamed1815();
+ o.items = buildUnnamed1817();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -5398,7 +5398,7 @@
buildCounterForwardingRuleList++;
if (buildCounterForwardingRuleList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1815(o.items);
+ checkUnnamed1817(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -5426,14 +5426,14 @@
buildCounterForwardingRuleReference--;
}
-buildUnnamed1817() {
+buildUnnamed1819() {
var o = new core.List<api.ForwardingRule>();
o.add(buildForwardingRule());
o.add(buildForwardingRule());
return o;
}
-checkUnnamed1817(core.List<api.ForwardingRule> o) {
+checkUnnamed1819(core.List<api.ForwardingRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkForwardingRule(o[0]);
checkForwardingRule(o[1]);
@@ -5461,14 +5461,14 @@
buildCounterForwardingRulesScopedListWarningData--;
}
-buildUnnamed1818() {
+buildUnnamed1820() {
var o = new core.List<api.ForwardingRulesScopedListWarningData>();
o.add(buildForwardingRulesScopedListWarningData());
o.add(buildForwardingRulesScopedListWarningData());
return o;
}
-checkUnnamed1818(core.List<api.ForwardingRulesScopedListWarningData> o) {
+checkUnnamed1820(core.List<api.ForwardingRulesScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkForwardingRulesScopedListWarningData(o[0]);
checkForwardingRulesScopedListWarningData(o[1]);
@@ -5480,7 +5480,7 @@
buildCounterForwardingRulesScopedListWarning++;
if (buildCounterForwardingRulesScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed1818();
+ o.data = buildUnnamed1820();
o.message = "foo";
}
buildCounterForwardingRulesScopedListWarning--;
@@ -5491,7 +5491,7 @@
buildCounterForwardingRulesScopedListWarning++;
if (buildCounterForwardingRulesScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed1818(o.data);
+ checkUnnamed1820(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterForwardingRulesScopedListWarning--;
@@ -5502,7 +5502,7 @@
var o = new api.ForwardingRulesScopedList();
buildCounterForwardingRulesScopedList++;
if (buildCounterForwardingRulesScopedList < 3) {
- o.forwardingRules = buildUnnamed1817();
+ o.forwardingRules = buildUnnamed1819();
o.warning = buildForwardingRulesScopedListWarning();
}
buildCounterForwardingRulesScopedList--;
@@ -5512,7 +5512,7 @@
checkForwardingRulesScopedList(api.ForwardingRulesScopedList o) {
buildCounterForwardingRulesScopedList++;
if (buildCounterForwardingRulesScopedList < 3) {
- checkUnnamed1817(o.forwardingRules);
+ checkUnnamed1819(o.forwardingRules);
checkForwardingRulesScopedListWarning(o.warning);
}
buildCounterForwardingRulesScopedList--;
@@ -5543,14 +5543,14 @@
buildCounterGRPCHealthCheck--;
}
-buildUnnamed1819() {
+buildUnnamed1821() {
var o = new core.List<api.NetworkEndpoint>();
o.add(buildNetworkEndpoint());
o.add(buildNetworkEndpoint());
return o;
}
-checkUnnamed1819(core.List<api.NetworkEndpoint> o) {
+checkUnnamed1821(core.List<api.NetworkEndpoint> o) {
unittest.expect(o, unittest.hasLength(2));
checkNetworkEndpoint(o[0]);
checkNetworkEndpoint(o[1]);
@@ -5561,7 +5561,7 @@
var o = new api.GlobalNetworkEndpointGroupsAttachEndpointsRequest();
buildCounterGlobalNetworkEndpointGroupsAttachEndpointsRequest++;
if (buildCounterGlobalNetworkEndpointGroupsAttachEndpointsRequest < 3) {
- o.networkEndpoints = buildUnnamed1819();
+ o.networkEndpoints = buildUnnamed1821();
}
buildCounterGlobalNetworkEndpointGroupsAttachEndpointsRequest--;
return o;
@@ -5571,19 +5571,19 @@
api.GlobalNetworkEndpointGroupsAttachEndpointsRequest o) {
buildCounterGlobalNetworkEndpointGroupsAttachEndpointsRequest++;
if (buildCounterGlobalNetworkEndpointGroupsAttachEndpointsRequest < 3) {
- checkUnnamed1819(o.networkEndpoints);
+ checkUnnamed1821(o.networkEndpoints);
}
buildCounterGlobalNetworkEndpointGroupsAttachEndpointsRequest--;
}
-buildUnnamed1820() {
+buildUnnamed1822() {
var o = new core.List<api.NetworkEndpoint>();
o.add(buildNetworkEndpoint());
o.add(buildNetworkEndpoint());
return o;
}
-checkUnnamed1820(core.List<api.NetworkEndpoint> o) {
+checkUnnamed1822(core.List<api.NetworkEndpoint> o) {
unittest.expect(o, unittest.hasLength(2));
checkNetworkEndpoint(o[0]);
checkNetworkEndpoint(o[1]);
@@ -5594,7 +5594,7 @@
var o = new api.GlobalNetworkEndpointGroupsDetachEndpointsRequest();
buildCounterGlobalNetworkEndpointGroupsDetachEndpointsRequest++;
if (buildCounterGlobalNetworkEndpointGroupsDetachEndpointsRequest < 3) {
- o.networkEndpoints = buildUnnamed1820();
+ o.networkEndpoints = buildUnnamed1822();
}
buildCounterGlobalNetworkEndpointGroupsDetachEndpointsRequest--;
return o;
@@ -5604,19 +5604,19 @@
api.GlobalNetworkEndpointGroupsDetachEndpointsRequest o) {
buildCounterGlobalNetworkEndpointGroupsDetachEndpointsRequest++;
if (buildCounterGlobalNetworkEndpointGroupsDetachEndpointsRequest < 3) {
- checkUnnamed1820(o.networkEndpoints);
+ checkUnnamed1822(o.networkEndpoints);
}
buildCounterGlobalNetworkEndpointGroupsDetachEndpointsRequest--;
}
-buildUnnamed1821() {
+buildUnnamed1823() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1821(core.Map<core.String, core.String> o) {
+checkUnnamed1823(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -5628,7 +5628,7 @@
buildCounterGlobalSetLabelsRequest++;
if (buildCounterGlobalSetLabelsRequest < 3) {
o.labelFingerprint = "foo";
- o.labels = buildUnnamed1821();
+ o.labels = buildUnnamed1823();
}
buildCounterGlobalSetLabelsRequest--;
return o;
@@ -5638,19 +5638,19 @@
buildCounterGlobalSetLabelsRequest++;
if (buildCounterGlobalSetLabelsRequest < 3) {
unittest.expect(o.labelFingerprint, unittest.equals('foo'));
- checkUnnamed1821(o.labels);
+ checkUnnamed1823(o.labels);
}
buildCounterGlobalSetLabelsRequest--;
}
-buildUnnamed1822() {
+buildUnnamed1824() {
var o = new core.List<api.Binding>();
o.add(buildBinding());
o.add(buildBinding());
return o;
}
-checkUnnamed1822(core.List<api.Binding> o) {
+checkUnnamed1824(core.List<api.Binding> o) {
unittest.expect(o, unittest.hasLength(2));
checkBinding(o[0]);
checkBinding(o[1]);
@@ -5661,7 +5661,7 @@
var o = new api.GlobalSetPolicyRequest();
buildCounterGlobalSetPolicyRequest++;
if (buildCounterGlobalSetPolicyRequest < 3) {
- o.bindings = buildUnnamed1822();
+ o.bindings = buildUnnamed1824();
o.etag = "foo";
o.policy = buildPolicy();
}
@@ -5672,7 +5672,7 @@
checkGlobalSetPolicyRequest(api.GlobalSetPolicyRequest o) {
buildCounterGlobalSetPolicyRequest++;
if (buildCounterGlobalSetPolicyRequest < 3) {
- checkUnnamed1822(o.bindings);
+ checkUnnamed1824(o.bindings);
unittest.expect(o.etag, unittest.equals('foo'));
checkPolicy(o.policy);
}
@@ -5731,14 +5731,14 @@
buildCounterGuestAttributesEntry--;
}
-buildUnnamed1823() {
+buildUnnamed1825() {
var o = new core.List<api.GuestAttributesEntry>();
o.add(buildGuestAttributesEntry());
o.add(buildGuestAttributesEntry());
return o;
}
-checkUnnamed1823(core.List<api.GuestAttributesEntry> o) {
+checkUnnamed1825(core.List<api.GuestAttributesEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkGuestAttributesEntry(o[0]);
checkGuestAttributesEntry(o[1]);
@@ -5749,7 +5749,7 @@
var o = new api.GuestAttributesValue();
buildCounterGuestAttributesValue++;
if (buildCounterGuestAttributesValue < 3) {
- o.items = buildUnnamed1823();
+ o.items = buildUnnamed1825();
}
buildCounterGuestAttributesValue--;
return o;
@@ -5758,7 +5758,7 @@
checkGuestAttributesValue(api.GuestAttributesValue o) {
buildCounterGuestAttributesValue++;
if (buildCounterGuestAttributesValue < 3) {
- checkUnnamed1823(o.items);
+ checkUnnamed1825(o.items);
}
buildCounterGuestAttributesValue--;
}
@@ -5928,14 +5928,14 @@
buildCounterHealthCheck--;
}
-buildUnnamed1824() {
+buildUnnamed1826() {
var o = new core.List<api.HealthCheck>();
o.add(buildHealthCheck());
o.add(buildHealthCheck());
return o;
}
-checkUnnamed1824(core.List<api.HealthCheck> o) {
+checkUnnamed1826(core.List<api.HealthCheck> o) {
unittest.expect(o, unittest.hasLength(2));
checkHealthCheck(o[0]);
checkHealthCheck(o[1]);
@@ -5962,14 +5962,14 @@
buildCounterHealthCheckListWarningData--;
}
-buildUnnamed1825() {
+buildUnnamed1827() {
var o = new core.List<api.HealthCheckListWarningData>();
o.add(buildHealthCheckListWarningData());
o.add(buildHealthCheckListWarningData());
return o;
}
-checkUnnamed1825(core.List<api.HealthCheckListWarningData> o) {
+checkUnnamed1827(core.List<api.HealthCheckListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkHealthCheckListWarningData(o[0]);
checkHealthCheckListWarningData(o[1]);
@@ -5981,7 +5981,7 @@
buildCounterHealthCheckListWarning++;
if (buildCounterHealthCheckListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed1825();
+ o.data = buildUnnamed1827();
o.message = "foo";
}
buildCounterHealthCheckListWarning--;
@@ -5992,7 +5992,7 @@
buildCounterHealthCheckListWarning++;
if (buildCounterHealthCheckListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed1825(o.data);
+ checkUnnamed1827(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterHealthCheckListWarning--;
@@ -6004,7 +6004,7 @@
buildCounterHealthCheckList++;
if (buildCounterHealthCheckList < 3) {
o.id = "foo";
- o.items = buildUnnamed1824();
+ o.items = buildUnnamed1826();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -6018,7 +6018,7 @@
buildCounterHealthCheckList++;
if (buildCounterHealthCheckList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1824(o.items);
+ checkUnnamed1826(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -6046,32 +6046,6 @@
buildCounterHealthCheckReference--;
}
-buildUnnamed1826() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1826(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed1827() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1827(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed1828() {
var o = new core.List<core.String>();
o.add("foo");
@@ -6085,6 +6059,32 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed1829() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1829(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed1830() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1830(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
core.int buildCounterHealthCheckService = 0;
buildHealthCheckService() {
var o = new api.HealthCheckService();
@@ -6093,13 +6093,13 @@
o.creationTimestamp = "foo";
o.description = "foo";
o.fingerprint = "foo";
- o.healthChecks = buildUnnamed1826();
+ o.healthChecks = buildUnnamed1828();
o.healthStatusAggregationPolicy = "foo";
o.id = "foo";
o.kind = "foo";
o.name = "foo";
- o.networkEndpointGroups = buildUnnamed1827();
- o.notificationEndpoints = buildUnnamed1828();
+ o.networkEndpointGroups = buildUnnamed1829();
+ o.notificationEndpoints = buildUnnamed1830();
o.region = "foo";
o.selfLink = "foo";
}
@@ -6113,13 +6113,13 @@
unittest.expect(o.creationTimestamp, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.fingerprint, unittest.equals('foo'));
- checkUnnamed1826(o.healthChecks);
+ checkUnnamed1828(o.healthChecks);
unittest.expect(o.healthStatusAggregationPolicy, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1827(o.networkEndpointGroups);
- checkUnnamed1828(o.notificationEndpoints);
+ checkUnnamed1829(o.networkEndpointGroups);
+ checkUnnamed1830(o.notificationEndpoints);
unittest.expect(o.region, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
}
@@ -6145,14 +6145,14 @@
buildCounterHealthCheckServiceReference--;
}
-buildUnnamed1829() {
+buildUnnamed1831() {
var o = new core.List<api.HealthCheckService>();
o.add(buildHealthCheckService());
o.add(buildHealthCheckService());
return o;
}
-checkUnnamed1829(core.List<api.HealthCheckService> o) {
+checkUnnamed1831(core.List<api.HealthCheckService> o) {
unittest.expect(o, unittest.hasLength(2));
checkHealthCheckService(o[0]);
checkHealthCheckService(o[1]);
@@ -6180,14 +6180,14 @@
buildCounterHealthCheckServicesListWarningData--;
}
-buildUnnamed1830() {
+buildUnnamed1832() {
var o = new core.List<api.HealthCheckServicesListWarningData>();
o.add(buildHealthCheckServicesListWarningData());
o.add(buildHealthCheckServicesListWarningData());
return o;
}
-checkUnnamed1830(core.List<api.HealthCheckServicesListWarningData> o) {
+checkUnnamed1832(core.List<api.HealthCheckServicesListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkHealthCheckServicesListWarningData(o[0]);
checkHealthCheckServicesListWarningData(o[1]);
@@ -6199,7 +6199,7 @@
buildCounterHealthCheckServicesListWarning++;
if (buildCounterHealthCheckServicesListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed1830();
+ o.data = buildUnnamed1832();
o.message = "foo";
}
buildCounterHealthCheckServicesListWarning--;
@@ -6210,7 +6210,7 @@
buildCounterHealthCheckServicesListWarning++;
if (buildCounterHealthCheckServicesListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed1830(o.data);
+ checkUnnamed1832(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterHealthCheckServicesListWarning--;
@@ -6222,7 +6222,7 @@
buildCounterHealthCheckServicesList++;
if (buildCounterHealthCheckServicesList < 3) {
o.id = "foo";
- o.items = buildUnnamed1829();
+ o.items = buildUnnamed1831();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -6236,7 +6236,7 @@
buildCounterHealthCheckServicesList++;
if (buildCounterHealthCheckServicesList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1829(o.items);
+ checkUnnamed1831(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -6245,27 +6245,27 @@
buildCounterHealthCheckServicesList--;
}
-buildUnnamed1831() {
+buildUnnamed1833() {
var o = new core.Map<core.String, api.HealthChecksScopedList>();
o["x"] = buildHealthChecksScopedList();
o["y"] = buildHealthChecksScopedList();
return o;
}
-checkUnnamed1831(core.Map<core.String, api.HealthChecksScopedList> o) {
+checkUnnamed1833(core.Map<core.String, api.HealthChecksScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkHealthChecksScopedList(o["x"]);
checkHealthChecksScopedList(o["y"]);
}
-buildUnnamed1832() {
+buildUnnamed1834() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1832(core.List<core.String> o) {
+checkUnnamed1834(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -6293,14 +6293,14 @@
buildCounterHealthChecksAggregatedListWarningData--;
}
-buildUnnamed1833() {
+buildUnnamed1835() {
var o = new core.List<api.HealthChecksAggregatedListWarningData>();
o.add(buildHealthChecksAggregatedListWarningData());
o.add(buildHealthChecksAggregatedListWarningData());
return o;
}
-checkUnnamed1833(core.List<api.HealthChecksAggregatedListWarningData> o) {
+checkUnnamed1835(core.List<api.HealthChecksAggregatedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkHealthChecksAggregatedListWarningData(o[0]);
checkHealthChecksAggregatedListWarningData(o[1]);
@@ -6312,7 +6312,7 @@
buildCounterHealthChecksAggregatedListWarning++;
if (buildCounterHealthChecksAggregatedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed1833();
+ o.data = buildUnnamed1835();
o.message = "foo";
}
buildCounterHealthChecksAggregatedListWarning--;
@@ -6324,7 +6324,7 @@
buildCounterHealthChecksAggregatedListWarning++;
if (buildCounterHealthChecksAggregatedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed1833(o.data);
+ checkUnnamed1835(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterHealthChecksAggregatedListWarning--;
@@ -6336,11 +6336,11 @@
buildCounterHealthChecksAggregatedList++;
if (buildCounterHealthChecksAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed1831();
+ o.items = buildUnnamed1833();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
- o.unreachables = buildUnnamed1832();
+ o.unreachables = buildUnnamed1834();
o.warning = buildHealthChecksAggregatedListWarning();
}
buildCounterHealthChecksAggregatedList--;
@@ -6351,24 +6351,24 @@
buildCounterHealthChecksAggregatedList++;
if (buildCounterHealthChecksAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1831(o.items);
+ checkUnnamed1833(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
- checkUnnamed1832(o.unreachables);
+ checkUnnamed1834(o.unreachables);
checkHealthChecksAggregatedListWarning(o.warning);
}
buildCounterHealthChecksAggregatedList--;
}
-buildUnnamed1834() {
+buildUnnamed1836() {
var o = new core.List<api.HealthCheck>();
o.add(buildHealthCheck());
o.add(buildHealthCheck());
return o;
}
-checkUnnamed1834(core.List<api.HealthCheck> o) {
+checkUnnamed1836(core.List<api.HealthCheck> o) {
unittest.expect(o, unittest.hasLength(2));
checkHealthCheck(o[0]);
checkHealthCheck(o[1]);
@@ -6396,14 +6396,14 @@
buildCounterHealthChecksScopedListWarningData--;
}
-buildUnnamed1835() {
+buildUnnamed1837() {
var o = new core.List<api.HealthChecksScopedListWarningData>();
o.add(buildHealthChecksScopedListWarningData());
o.add(buildHealthChecksScopedListWarningData());
return o;
}
-checkUnnamed1835(core.List<api.HealthChecksScopedListWarningData> o) {
+checkUnnamed1837(core.List<api.HealthChecksScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkHealthChecksScopedListWarningData(o[0]);
checkHealthChecksScopedListWarningData(o[1]);
@@ -6415,7 +6415,7 @@
buildCounterHealthChecksScopedListWarning++;
if (buildCounterHealthChecksScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed1835();
+ o.data = buildUnnamed1837();
o.message = "foo";
}
buildCounterHealthChecksScopedListWarning--;
@@ -6426,7 +6426,7 @@
buildCounterHealthChecksScopedListWarning++;
if (buildCounterHealthChecksScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed1835(o.data);
+ checkUnnamed1837(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterHealthChecksScopedListWarning--;
@@ -6437,7 +6437,7 @@
var o = new api.HealthChecksScopedList();
buildCounterHealthChecksScopedList++;
if (buildCounterHealthChecksScopedList < 3) {
- o.healthChecks = buildUnnamed1834();
+ o.healthChecks = buildUnnamed1836();
o.warning = buildHealthChecksScopedListWarning();
}
buildCounterHealthChecksScopedList--;
@@ -6447,20 +6447,20 @@
checkHealthChecksScopedList(api.HealthChecksScopedList o) {
buildCounterHealthChecksScopedList++;
if (buildCounterHealthChecksScopedList < 3) {
- checkUnnamed1834(o.healthChecks);
+ checkUnnamed1836(o.healthChecks);
checkHealthChecksScopedListWarning(o.warning);
}
buildCounterHealthChecksScopedList--;
}
-buildUnnamed1836() {
+buildUnnamed1838() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1836(core.Map<core.String, core.String> o) {
+checkUnnamed1838(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -6471,7 +6471,7 @@
var o = new api.HealthStatus();
buildCounterHealthStatus++;
if (buildCounterHealthStatus < 3) {
- o.annotations = buildUnnamed1836();
+ o.annotations = buildUnnamed1838();
o.healthState = "foo";
o.instance = "foo";
o.ipAddress = "foo";
@@ -6484,7 +6484,7 @@
checkHealthStatus(api.HealthStatus o) {
buildCounterHealthStatus++;
if (buildCounterHealthStatus < 3) {
- checkUnnamed1836(o.annotations);
+ checkUnnamed1838(o.annotations);
unittest.expect(o.healthState, unittest.equals('foo'));
unittest.expect(o.instance, unittest.equals('foo'));
unittest.expect(o.ipAddress, unittest.equals('foo'));
@@ -6520,14 +6520,14 @@
buildCounterHealthStatusForNetworkEndpoint--;
}
-buildUnnamed1837() {
+buildUnnamed1839() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1837(core.List<core.String> o) {
+checkUnnamed1839(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -6539,7 +6539,7 @@
buildCounterHostRule++;
if (buildCounterHostRule < 3) {
o.description = "foo";
- o.hosts = buildUnnamed1837();
+ o.hosts = buildUnnamed1839();
o.pathMatcher = "foo";
}
buildCounterHostRule--;
@@ -6550,7 +6550,7 @@
buildCounterHostRule++;
if (buildCounterHostRule < 3) {
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed1837(o.hosts);
+ checkUnnamed1839(o.hosts);
unittest.expect(o.pathMatcher, unittest.equals('foo'));
}
buildCounterHostRule--;
@@ -6619,32 +6619,6 @@
buildCounterHttpFaultInjection--;
}
-buildUnnamed1838() {
- var o = new core.List<api.HttpHeaderOption>();
- o.add(buildHttpHeaderOption());
- o.add(buildHttpHeaderOption());
- return o;
-}
-
-checkUnnamed1838(core.List<api.HttpHeaderOption> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkHttpHeaderOption(o[0]);
- checkHttpHeaderOption(o[1]);
-}
-
-buildUnnamed1839() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1839(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed1840() {
var o = new core.List<api.HttpHeaderOption>();
o.add(buildHttpHeaderOption());
@@ -6671,15 +6645,41 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed1842() {
+ var o = new core.List<api.HttpHeaderOption>();
+ o.add(buildHttpHeaderOption());
+ o.add(buildHttpHeaderOption());
+ return o;
+}
+
+checkUnnamed1842(core.List<api.HttpHeaderOption> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkHttpHeaderOption(o[0]);
+ checkHttpHeaderOption(o[1]);
+}
+
+buildUnnamed1843() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1843(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
core.int buildCounterHttpHeaderAction = 0;
buildHttpHeaderAction() {
var o = new api.HttpHeaderAction();
buildCounterHttpHeaderAction++;
if (buildCounterHttpHeaderAction < 3) {
- o.requestHeadersToAdd = buildUnnamed1838();
- o.requestHeadersToRemove = buildUnnamed1839();
- o.responseHeadersToAdd = buildUnnamed1840();
- o.responseHeadersToRemove = buildUnnamed1841();
+ o.requestHeadersToAdd = buildUnnamed1840();
+ o.requestHeadersToRemove = buildUnnamed1841();
+ o.responseHeadersToAdd = buildUnnamed1842();
+ o.responseHeadersToRemove = buildUnnamed1843();
}
buildCounterHttpHeaderAction--;
return o;
@@ -6688,10 +6688,10 @@
checkHttpHeaderAction(api.HttpHeaderAction o) {
buildCounterHttpHeaderAction++;
if (buildCounterHttpHeaderAction < 3) {
- checkUnnamed1838(o.requestHeadersToAdd);
- checkUnnamed1839(o.requestHeadersToRemove);
- checkUnnamed1840(o.responseHeadersToAdd);
- checkUnnamed1841(o.responseHeadersToRemove);
+ checkUnnamed1840(o.requestHeadersToAdd);
+ checkUnnamed1841(o.requestHeadersToRemove);
+ checkUnnamed1842(o.responseHeadersToAdd);
+ checkUnnamed1843(o.responseHeadersToRemove);
}
buildCounterHttpHeaderAction--;
}
@@ -6795,14 +6795,14 @@
buildCounterHttpHealthCheck--;
}
-buildUnnamed1842() {
+buildUnnamed1844() {
var o = new core.List<api.HttpHealthCheck>();
o.add(buildHttpHealthCheck());
o.add(buildHttpHealthCheck());
return o;
}
-checkUnnamed1842(core.List<api.HttpHealthCheck> o) {
+checkUnnamed1844(core.List<api.HttpHealthCheck> o) {
unittest.expect(o, unittest.hasLength(2));
checkHttpHealthCheck(o[0]);
checkHttpHealthCheck(o[1]);
@@ -6829,14 +6829,14 @@
buildCounterHttpHealthCheckListWarningData--;
}
-buildUnnamed1843() {
+buildUnnamed1845() {
var o = new core.List<api.HttpHealthCheckListWarningData>();
o.add(buildHttpHealthCheckListWarningData());
o.add(buildHttpHealthCheckListWarningData());
return o;
}
-checkUnnamed1843(core.List<api.HttpHealthCheckListWarningData> o) {
+checkUnnamed1845(core.List<api.HttpHealthCheckListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkHttpHealthCheckListWarningData(o[0]);
checkHttpHealthCheckListWarningData(o[1]);
@@ -6848,7 +6848,7 @@
buildCounterHttpHealthCheckListWarning++;
if (buildCounterHttpHealthCheckListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed1843();
+ o.data = buildUnnamed1845();
o.message = "foo";
}
buildCounterHttpHealthCheckListWarning--;
@@ -6859,7 +6859,7 @@
buildCounterHttpHealthCheckListWarning++;
if (buildCounterHttpHealthCheckListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed1843(o.data);
+ checkUnnamed1845(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterHttpHealthCheckListWarning--;
@@ -6871,7 +6871,7 @@
buildCounterHttpHealthCheckList++;
if (buildCounterHttpHealthCheckList < 3) {
o.id = "foo";
- o.items = buildUnnamed1842();
+ o.items = buildUnnamed1844();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -6885,7 +6885,7 @@
buildCounterHttpHealthCheckList++;
if (buildCounterHttpHealthCheckList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1842(o.items);
+ checkUnnamed1844(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -6948,14 +6948,14 @@
buildCounterHttpRedirectAction--;
}
-buildUnnamed1844() {
+buildUnnamed1846() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1844(core.List<core.String> o) {
+checkUnnamed1846(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -6968,7 +6968,7 @@
if (buildCounterHttpRetryPolicy < 3) {
o.numRetries = 42;
o.perTryTimeout = buildDuration();
- o.retryConditions = buildUnnamed1844();
+ o.retryConditions = buildUnnamed1846();
}
buildCounterHttpRetryPolicy--;
return o;
@@ -6979,19 +6979,19 @@
if (buildCounterHttpRetryPolicy < 3) {
unittest.expect(o.numRetries, unittest.equals(42));
checkDuration(o.perTryTimeout);
- checkUnnamed1844(o.retryConditions);
+ checkUnnamed1846(o.retryConditions);
}
buildCounterHttpRetryPolicy--;
}
-buildUnnamed1845() {
+buildUnnamed1847() {
var o = new core.List<api.WeightedBackendService>();
o.add(buildWeightedBackendService());
o.add(buildWeightedBackendService());
return o;
}
-checkUnnamed1845(core.List<api.WeightedBackendService> o) {
+checkUnnamed1847(core.List<api.WeightedBackendService> o) {
unittest.expect(o, unittest.hasLength(2));
checkWeightedBackendService(o[0]);
checkWeightedBackendService(o[1]);
@@ -7008,7 +7008,7 @@
o.retryPolicy = buildHttpRetryPolicy();
o.timeout = buildDuration();
o.urlRewrite = buildUrlRewrite();
- o.weightedBackendServices = buildUnnamed1845();
+ o.weightedBackendServices = buildUnnamed1847();
}
buildCounterHttpRouteAction--;
return o;
@@ -7023,19 +7023,19 @@
checkHttpRetryPolicy(o.retryPolicy);
checkDuration(o.timeout);
checkUrlRewrite(o.urlRewrite);
- checkUnnamed1845(o.weightedBackendServices);
+ checkUnnamed1847(o.weightedBackendServices);
}
buildCounterHttpRouteAction--;
}
-buildUnnamed1846() {
+buildUnnamed1848() {
var o = new core.List<api.HttpRouteRuleMatch>();
o.add(buildHttpRouteRuleMatch());
o.add(buildHttpRouteRuleMatch());
return o;
}
-checkUnnamed1846(core.List<api.HttpRouteRuleMatch> o) {
+checkUnnamed1848(core.List<api.HttpRouteRuleMatch> o) {
unittest.expect(o, unittest.hasLength(2));
checkHttpRouteRuleMatch(o[0]);
checkHttpRouteRuleMatch(o[1]);
@@ -7048,7 +7048,7 @@
if (buildCounterHttpRouteRule < 3) {
o.description = "foo";
o.headerAction = buildHttpHeaderAction();
- o.matchRules = buildUnnamed1846();
+ o.matchRules = buildUnnamed1848();
o.priority = 42;
o.routeAction = buildHttpRouteAction();
o.service = "foo";
@@ -7063,7 +7063,7 @@
if (buildCounterHttpRouteRule < 3) {
unittest.expect(o.description, unittest.equals('foo'));
checkHttpHeaderAction(o.headerAction);
- checkUnnamed1846(o.matchRules);
+ checkUnnamed1848(o.matchRules);
unittest.expect(o.priority, unittest.equals(42));
checkHttpRouteAction(o.routeAction);
unittest.expect(o.service, unittest.equals('foo'));
@@ -7072,40 +7072,40 @@
buildCounterHttpRouteRule--;
}
-buildUnnamed1847() {
+buildUnnamed1849() {
var o = new core.List<api.HttpHeaderMatch>();
o.add(buildHttpHeaderMatch());
o.add(buildHttpHeaderMatch());
return o;
}
-checkUnnamed1847(core.List<api.HttpHeaderMatch> o) {
+checkUnnamed1849(core.List<api.HttpHeaderMatch> o) {
unittest.expect(o, unittest.hasLength(2));
checkHttpHeaderMatch(o[0]);
checkHttpHeaderMatch(o[1]);
}
-buildUnnamed1848() {
+buildUnnamed1850() {
var o = new core.List<api.MetadataFilter>();
o.add(buildMetadataFilter());
o.add(buildMetadataFilter());
return o;
}
-checkUnnamed1848(core.List<api.MetadataFilter> o) {
+checkUnnamed1850(core.List<api.MetadataFilter> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetadataFilter(o[0]);
checkMetadataFilter(o[1]);
}
-buildUnnamed1849() {
+buildUnnamed1851() {
var o = new core.List<api.HttpQueryParameterMatch>();
o.add(buildHttpQueryParameterMatch());
o.add(buildHttpQueryParameterMatch());
return o;
}
-checkUnnamed1849(core.List<api.HttpQueryParameterMatch> o) {
+checkUnnamed1851(core.List<api.HttpQueryParameterMatch> o) {
unittest.expect(o, unittest.hasLength(2));
checkHttpQueryParameterMatch(o[0]);
checkHttpQueryParameterMatch(o[1]);
@@ -7117,11 +7117,11 @@
buildCounterHttpRouteRuleMatch++;
if (buildCounterHttpRouteRuleMatch < 3) {
o.fullPathMatch = "foo";
- o.headerMatches = buildUnnamed1847();
+ o.headerMatches = buildUnnamed1849();
o.ignoreCase = true;
- o.metadataFilters = buildUnnamed1848();
+ o.metadataFilters = buildUnnamed1850();
o.prefixMatch = "foo";
- o.queryParameterMatches = buildUnnamed1849();
+ o.queryParameterMatches = buildUnnamed1851();
o.regexMatch = "foo";
}
buildCounterHttpRouteRuleMatch--;
@@ -7132,11 +7132,11 @@
buildCounterHttpRouteRuleMatch++;
if (buildCounterHttpRouteRuleMatch < 3) {
unittest.expect(o.fullPathMatch, unittest.equals('foo'));
- checkUnnamed1847(o.headerMatches);
+ checkUnnamed1849(o.headerMatches);
unittest.expect(o.ignoreCase, unittest.isTrue);
- checkUnnamed1848(o.metadataFilters);
+ checkUnnamed1850(o.metadataFilters);
unittest.expect(o.prefixMatch, unittest.equals('foo'));
- checkUnnamed1849(o.queryParameterMatches);
+ checkUnnamed1851(o.queryParameterMatches);
unittest.expect(o.regexMatch, unittest.equals('foo'));
}
buildCounterHttpRouteRuleMatch--;
@@ -7185,14 +7185,14 @@
buildCounterHttpsHealthCheck--;
}
-buildUnnamed1850() {
+buildUnnamed1852() {
var o = new core.List<api.HttpsHealthCheck>();
o.add(buildHttpsHealthCheck());
o.add(buildHttpsHealthCheck());
return o;
}
-checkUnnamed1850(core.List<api.HttpsHealthCheck> o) {
+checkUnnamed1852(core.List<api.HttpsHealthCheck> o) {
unittest.expect(o, unittest.hasLength(2));
checkHttpsHealthCheck(o[0]);
checkHttpsHealthCheck(o[1]);
@@ -7219,14 +7219,14 @@
buildCounterHttpsHealthCheckListWarningData--;
}
-buildUnnamed1851() {
+buildUnnamed1853() {
var o = new core.List<api.HttpsHealthCheckListWarningData>();
o.add(buildHttpsHealthCheckListWarningData());
o.add(buildHttpsHealthCheckListWarningData());
return o;
}
-checkUnnamed1851(core.List<api.HttpsHealthCheckListWarningData> o) {
+checkUnnamed1853(core.List<api.HttpsHealthCheckListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkHttpsHealthCheckListWarningData(o[0]);
checkHttpsHealthCheckListWarningData(o[1]);
@@ -7238,7 +7238,7 @@
buildCounterHttpsHealthCheckListWarning++;
if (buildCounterHttpsHealthCheckListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed1851();
+ o.data = buildUnnamed1853();
o.message = "foo";
}
buildCounterHttpsHealthCheckListWarning--;
@@ -7249,7 +7249,7 @@
buildCounterHttpsHealthCheckListWarning++;
if (buildCounterHttpsHealthCheckListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed1851(o.data);
+ checkUnnamed1853(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterHttpsHealthCheckListWarning--;
@@ -7261,7 +7261,7 @@
buildCounterHttpsHealthCheckList++;
if (buildCounterHttpsHealthCheckList < 3) {
o.id = "foo";
- o.items = buildUnnamed1850();
+ o.items = buildUnnamed1852();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -7275,7 +7275,7 @@
buildCounterHttpsHealthCheckList++;
if (buildCounterHttpsHealthCheckList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1850(o.items);
+ checkUnnamed1852(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -7284,53 +7284,53 @@
buildCounterHttpsHealthCheckList--;
}
-buildUnnamed1852() {
+buildUnnamed1854() {
var o = new core.List<api.GuestOsFeature>();
o.add(buildGuestOsFeature());
o.add(buildGuestOsFeature());
return o;
}
-checkUnnamed1852(core.List<api.GuestOsFeature> o) {
+checkUnnamed1854(core.List<api.GuestOsFeature> o) {
unittest.expect(o, unittest.hasLength(2));
checkGuestOsFeature(o[0]);
checkGuestOsFeature(o[1]);
}
-buildUnnamed1853() {
+buildUnnamed1855() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1853(core.Map<core.String, core.String> o) {
+checkUnnamed1855(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed1854() {
+buildUnnamed1856() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1854(core.List<core.String> o) {
+checkUnnamed1856(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1855() {
+buildUnnamed1857() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1855(core.List<core.String> o) {
+checkUnnamed1857(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -7359,14 +7359,14 @@
buildCounterImageRawDisk--;
}
-buildUnnamed1856() {
+buildUnnamed1858() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1856(core.List<core.String> o) {
+checkUnnamed1858(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -7383,14 +7383,14 @@
o.description = "foo";
o.diskSizeGb = "foo";
o.family = "foo";
- o.guestOsFeatures = buildUnnamed1852();
+ o.guestOsFeatures = buildUnnamed1854();
o.id = "foo";
o.imageEncryptionKey = buildCustomerEncryptionKey();
o.kind = "foo";
o.labelFingerprint = "foo";
- o.labels = buildUnnamed1853();
- o.licenseCodes = buildUnnamed1854();
- o.licenses = buildUnnamed1855();
+ o.labels = buildUnnamed1855();
+ o.licenseCodes = buildUnnamed1856();
+ o.licenses = buildUnnamed1857();
o.name = "foo";
o.rawDisk = buildImageRawDisk();
o.selfLink = "foo";
@@ -7406,7 +7406,7 @@
o.sourceSnapshotId = "foo";
o.sourceType = "foo";
o.status = "foo";
- o.storageLocations = buildUnnamed1856();
+ o.storageLocations = buildUnnamed1858();
}
buildCounterImage--;
return o;
@@ -7421,14 +7421,14 @@
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.diskSizeGb, unittest.equals('foo'));
unittest.expect(o.family, unittest.equals('foo'));
- checkUnnamed1852(o.guestOsFeatures);
+ checkUnnamed1854(o.guestOsFeatures);
unittest.expect(o.id, unittest.equals('foo'));
checkCustomerEncryptionKey(o.imageEncryptionKey);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.labelFingerprint, unittest.equals('foo'));
- checkUnnamed1853(o.labels);
- checkUnnamed1854(o.licenseCodes);
- checkUnnamed1855(o.licenses);
+ checkUnnamed1855(o.labels);
+ checkUnnamed1856(o.licenseCodes);
+ checkUnnamed1857(o.licenses);
unittest.expect(o.name, unittest.equals('foo'));
checkImageRawDisk(o.rawDisk);
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -7444,19 +7444,19 @@
unittest.expect(o.sourceSnapshotId, unittest.equals('foo'));
unittest.expect(o.sourceType, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals('foo'));
- checkUnnamed1856(o.storageLocations);
+ checkUnnamed1858(o.storageLocations);
}
buildCounterImage--;
}
-buildUnnamed1857() {
+buildUnnamed1859() {
var o = new core.List<api.Image>();
o.add(buildImage());
o.add(buildImage());
return o;
}
-checkUnnamed1857(core.List<api.Image> o) {
+checkUnnamed1859(core.List<api.Image> o) {
unittest.expect(o, unittest.hasLength(2));
checkImage(o[0]);
checkImage(o[1]);
@@ -7483,14 +7483,14 @@
buildCounterImageListWarningData--;
}
-buildUnnamed1858() {
+buildUnnamed1860() {
var o = new core.List<api.ImageListWarningData>();
o.add(buildImageListWarningData());
o.add(buildImageListWarningData());
return o;
}
-checkUnnamed1858(core.List<api.ImageListWarningData> o) {
+checkUnnamed1860(core.List<api.ImageListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkImageListWarningData(o[0]);
checkImageListWarningData(o[1]);
@@ -7502,7 +7502,7 @@
buildCounterImageListWarning++;
if (buildCounterImageListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed1858();
+ o.data = buildUnnamed1860();
o.message = "foo";
}
buildCounterImageListWarning--;
@@ -7513,7 +7513,7 @@
buildCounterImageListWarning++;
if (buildCounterImageListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed1858(o.data);
+ checkUnnamed1860(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterImageListWarning--;
@@ -7525,7 +7525,7 @@
buildCounterImageList++;
if (buildCounterImageList < 3) {
o.id = "foo";
- o.items = buildUnnamed1857();
+ o.items = buildUnnamed1859();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -7539,7 +7539,7 @@
buildCounterImageList++;
if (buildCounterImageList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1857(o.items);
+ checkUnnamed1859(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -7548,32 +7548,6 @@
buildCounterImageList--;
}
-buildUnnamed1859() {
- var o = new core.List<api.FileContentBuffer>();
- o.add(buildFileContentBuffer());
- o.add(buildFileContentBuffer());
- return o;
-}
-
-checkUnnamed1859(core.List<api.FileContentBuffer> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkFileContentBuffer(o[0]);
- checkFileContentBuffer(o[1]);
-}
-
-buildUnnamed1860() {
- var o = new core.List<api.FileContentBuffer>();
- o.add(buildFileContentBuffer());
- o.add(buildFileContentBuffer());
- return o;
-}
-
-checkUnnamed1860(core.List<api.FileContentBuffer> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkFileContentBuffer(o[0]);
- checkFileContentBuffer(o[1]);
-}
-
buildUnnamed1861() {
var o = new core.List<api.FileContentBuffer>();
o.add(buildFileContentBuffer());
@@ -7587,14 +7561,40 @@
checkFileContentBuffer(o[1]);
}
+buildUnnamed1862() {
+ var o = new core.List<api.FileContentBuffer>();
+ o.add(buildFileContentBuffer());
+ o.add(buildFileContentBuffer());
+ return o;
+}
+
+checkUnnamed1862(core.List<api.FileContentBuffer> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkFileContentBuffer(o[0]);
+ checkFileContentBuffer(o[1]);
+}
+
+buildUnnamed1863() {
+ var o = new core.List<api.FileContentBuffer>();
+ o.add(buildFileContentBuffer());
+ o.add(buildFileContentBuffer());
+ return o;
+}
+
+checkUnnamed1863(core.List<api.FileContentBuffer> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkFileContentBuffer(o[0]);
+ checkFileContentBuffer(o[1]);
+}
+
core.int buildCounterInitialStateConfig = 0;
buildInitialStateConfig() {
var o = new api.InitialStateConfig();
buildCounterInitialStateConfig++;
if (buildCounterInitialStateConfig < 3) {
- o.dbs = buildUnnamed1859();
- o.dbxs = buildUnnamed1860();
- o.keks = buildUnnamed1861();
+ o.dbs = buildUnnamed1861();
+ o.dbxs = buildUnnamed1862();
+ o.keks = buildUnnamed1863();
o.pk = buildFileContentBuffer();
}
buildCounterInitialStateConfig--;
@@ -7604,87 +7604,87 @@
checkInitialStateConfig(api.InitialStateConfig o) {
buildCounterInitialStateConfig++;
if (buildCounterInitialStateConfig < 3) {
- checkUnnamed1859(o.dbs);
- checkUnnamed1860(o.dbxs);
- checkUnnamed1861(o.keks);
+ checkUnnamed1861(o.dbs);
+ checkUnnamed1862(o.dbxs);
+ checkUnnamed1863(o.keks);
checkFileContentBuffer(o.pk);
}
buildCounterInitialStateConfig--;
}
-buildUnnamed1862() {
+buildUnnamed1864() {
var o = new core.List<api.AttachedDisk>();
o.add(buildAttachedDisk());
o.add(buildAttachedDisk());
return o;
}
-checkUnnamed1862(core.List<api.AttachedDisk> o) {
+checkUnnamed1864(core.List<api.AttachedDisk> o) {
unittest.expect(o, unittest.hasLength(2));
checkAttachedDisk(o[0]);
checkAttachedDisk(o[1]);
}
-buildUnnamed1863() {
+buildUnnamed1865() {
var o = new core.List<api.AcceleratorConfig>();
o.add(buildAcceleratorConfig());
o.add(buildAcceleratorConfig());
return o;
}
-checkUnnamed1863(core.List<api.AcceleratorConfig> o) {
+checkUnnamed1865(core.List<api.AcceleratorConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAcceleratorConfig(o[0]);
checkAcceleratorConfig(o[1]);
}
-buildUnnamed1864() {
+buildUnnamed1866() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1864(core.Map<core.String, core.String> o) {
+checkUnnamed1866(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed1865() {
+buildUnnamed1867() {
var o = new core.List<api.NetworkInterface>();
o.add(buildNetworkInterface());
o.add(buildNetworkInterface());
return o;
}
-checkUnnamed1865(core.List<api.NetworkInterface> o) {
+checkUnnamed1867(core.List<api.NetworkInterface> o) {
unittest.expect(o, unittest.hasLength(2));
checkNetworkInterface(o[0]);
checkNetworkInterface(o[1]);
}
-buildUnnamed1866() {
+buildUnnamed1868() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1866(core.List<core.String> o) {
+checkUnnamed1868(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1867() {
+buildUnnamed1869() {
var o = new core.List<api.ServiceAccount>();
o.add(buildServiceAccount());
o.add(buildServiceAccount());
return o;
}
-checkUnnamed1867(core.List<api.ServiceAccount> o) {
+checkUnnamed1869(core.List<api.ServiceAccount> o) {
unittest.expect(o, unittest.hasLength(2));
checkServiceAccount(o[0]);
checkServiceAccount(o[1]);
@@ -7701,26 +7701,26 @@
o.creationTimestamp = "foo";
o.deletionProtection = true;
o.description = "foo";
- o.disks = buildUnnamed1862();
+ o.disks = buildUnnamed1864();
o.displayDevice = buildDisplayDevice();
o.fingerprint = "foo";
- o.guestAccelerators = buildUnnamed1863();
+ o.guestAccelerators = buildUnnamed1865();
o.hostname = "foo";
o.id = "foo";
o.kind = "foo";
o.labelFingerprint = "foo";
- o.labels = buildUnnamed1864();
+ o.labels = buildUnnamed1866();
o.machineType = "foo";
o.metadata = buildMetadata();
o.minCpuPlatform = "foo";
o.name = "foo";
- o.networkInterfaces = buildUnnamed1865();
+ o.networkInterfaces = buildUnnamed1867();
o.privateIpv6GoogleAccess = "foo";
o.reservationAffinity = buildReservationAffinity();
- o.resourcePolicies = buildUnnamed1866();
+ o.resourcePolicies = buildUnnamed1868();
o.scheduling = buildScheduling();
o.selfLink = "foo";
- o.serviceAccounts = buildUnnamed1867();
+ o.serviceAccounts = buildUnnamed1869();
o.shieldedInstanceConfig = buildShieldedInstanceConfig();
o.shieldedInstanceIntegrityPolicy = buildShieldedInstanceIntegrityPolicy();
o.startRestricted = true;
@@ -7742,26 +7742,26 @@
unittest.expect(o.creationTimestamp, unittest.equals('foo'));
unittest.expect(o.deletionProtection, unittest.isTrue);
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed1862(o.disks);
+ checkUnnamed1864(o.disks);
checkDisplayDevice(o.displayDevice);
unittest.expect(o.fingerprint, unittest.equals('foo'));
- checkUnnamed1863(o.guestAccelerators);
+ checkUnnamed1865(o.guestAccelerators);
unittest.expect(o.hostname, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.labelFingerprint, unittest.equals('foo'));
- checkUnnamed1864(o.labels);
+ checkUnnamed1866(o.labels);
unittest.expect(o.machineType, unittest.equals('foo'));
checkMetadata(o.metadata);
unittest.expect(o.minCpuPlatform, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1865(o.networkInterfaces);
+ checkUnnamed1867(o.networkInterfaces);
unittest.expect(o.privateIpv6GoogleAccess, unittest.equals('foo'));
checkReservationAffinity(o.reservationAffinity);
- checkUnnamed1866(o.resourcePolicies);
+ checkUnnamed1868(o.resourcePolicies);
checkScheduling(o.scheduling);
unittest.expect(o.selfLink, unittest.equals('foo'));
- checkUnnamed1867(o.serviceAccounts);
+ checkUnnamed1869(o.serviceAccounts);
checkShieldedInstanceConfig(o.shieldedInstanceConfig);
checkShieldedInstanceIntegrityPolicy(o.shieldedInstanceIntegrityPolicy);
unittest.expect(o.startRestricted, unittest.isTrue);
@@ -7773,27 +7773,27 @@
buildCounterInstance--;
}
-buildUnnamed1868() {
+buildUnnamed1870() {
var o = new core.Map<core.String, api.InstancesScopedList>();
o["x"] = buildInstancesScopedList();
o["y"] = buildInstancesScopedList();
return o;
}
-checkUnnamed1868(core.Map<core.String, api.InstancesScopedList> o) {
+checkUnnamed1870(core.Map<core.String, api.InstancesScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstancesScopedList(o["x"]);
checkInstancesScopedList(o["y"]);
}
-buildUnnamed1869() {
+buildUnnamed1871() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1869(core.List<core.String> o) {
+checkUnnamed1871(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -7821,14 +7821,14 @@
buildCounterInstanceAggregatedListWarningData--;
}
-buildUnnamed1870() {
+buildUnnamed1872() {
var o = new core.List<api.InstanceAggregatedListWarningData>();
o.add(buildInstanceAggregatedListWarningData());
o.add(buildInstanceAggregatedListWarningData());
return o;
}
-checkUnnamed1870(core.List<api.InstanceAggregatedListWarningData> o) {
+checkUnnamed1872(core.List<api.InstanceAggregatedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceAggregatedListWarningData(o[0]);
checkInstanceAggregatedListWarningData(o[1]);
@@ -7840,7 +7840,7 @@
buildCounterInstanceAggregatedListWarning++;
if (buildCounterInstanceAggregatedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed1870();
+ o.data = buildUnnamed1872();
o.message = "foo";
}
buildCounterInstanceAggregatedListWarning--;
@@ -7851,7 +7851,7 @@
buildCounterInstanceAggregatedListWarning++;
if (buildCounterInstanceAggregatedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed1870(o.data);
+ checkUnnamed1872(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterInstanceAggregatedListWarning--;
@@ -7863,11 +7863,11 @@
buildCounterInstanceAggregatedList++;
if (buildCounterInstanceAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed1868();
+ o.items = buildUnnamed1870();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
- o.unreachables = buildUnnamed1869();
+ o.unreachables = buildUnnamed1871();
o.warning = buildInstanceAggregatedListWarning();
}
buildCounterInstanceAggregatedList--;
@@ -7878,24 +7878,24 @@
buildCounterInstanceAggregatedList++;
if (buildCounterInstanceAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1868(o.items);
+ checkUnnamed1870(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
- checkUnnamed1869(o.unreachables);
+ checkUnnamed1871(o.unreachables);
checkInstanceAggregatedListWarning(o.warning);
}
buildCounterInstanceAggregatedList--;
}
-buildUnnamed1871() {
+buildUnnamed1873() {
var o = new core.List<api.NamedPort>();
o.add(buildNamedPort());
o.add(buildNamedPort());
return o;
}
-checkUnnamed1871(core.List<api.NamedPort> o) {
+checkUnnamed1873(core.List<api.NamedPort> o) {
unittest.expect(o, unittest.hasLength(2));
checkNamedPort(o[0]);
checkNamedPort(o[1]);
@@ -7912,7 +7912,7 @@
o.id = "foo";
o.kind = "foo";
o.name = "foo";
- o.namedPorts = buildUnnamed1871();
+ o.namedPorts = buildUnnamed1873();
o.network = "foo";
o.region = "foo";
o.selfLink = "foo";
@@ -7933,7 +7933,7 @@
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1871(o.namedPorts);
+ checkUnnamed1873(o.namedPorts);
unittest.expect(o.network, unittest.equals('foo'));
unittest.expect(o.region, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -7944,27 +7944,27 @@
buildCounterInstanceGroup--;
}
-buildUnnamed1872() {
+buildUnnamed1874() {
var o = new core.Map<core.String, api.InstanceGroupsScopedList>();
o["x"] = buildInstanceGroupsScopedList();
o["y"] = buildInstanceGroupsScopedList();
return o;
}
-checkUnnamed1872(core.Map<core.String, api.InstanceGroupsScopedList> o) {
+checkUnnamed1874(core.Map<core.String, api.InstanceGroupsScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceGroupsScopedList(o["x"]);
checkInstanceGroupsScopedList(o["y"]);
}
-buildUnnamed1873() {
+buildUnnamed1875() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1873(core.List<core.String> o) {
+checkUnnamed1875(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -7992,14 +7992,14 @@
buildCounterInstanceGroupAggregatedListWarningData--;
}
-buildUnnamed1874() {
+buildUnnamed1876() {
var o = new core.List<api.InstanceGroupAggregatedListWarningData>();
o.add(buildInstanceGroupAggregatedListWarningData());
o.add(buildInstanceGroupAggregatedListWarningData());
return o;
}
-checkUnnamed1874(core.List<api.InstanceGroupAggregatedListWarningData> o) {
+checkUnnamed1876(core.List<api.InstanceGroupAggregatedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceGroupAggregatedListWarningData(o[0]);
checkInstanceGroupAggregatedListWarningData(o[1]);
@@ -8011,7 +8011,7 @@
buildCounterInstanceGroupAggregatedListWarning++;
if (buildCounterInstanceGroupAggregatedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed1874();
+ o.data = buildUnnamed1876();
o.message = "foo";
}
buildCounterInstanceGroupAggregatedListWarning--;
@@ -8023,7 +8023,7 @@
buildCounterInstanceGroupAggregatedListWarning++;
if (buildCounterInstanceGroupAggregatedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed1874(o.data);
+ checkUnnamed1876(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterInstanceGroupAggregatedListWarning--;
@@ -8035,11 +8035,11 @@
buildCounterInstanceGroupAggregatedList++;
if (buildCounterInstanceGroupAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed1872();
+ o.items = buildUnnamed1874();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
- o.unreachables = buildUnnamed1873();
+ o.unreachables = buildUnnamed1875();
o.warning = buildInstanceGroupAggregatedListWarning();
}
buildCounterInstanceGroupAggregatedList--;
@@ -8050,24 +8050,24 @@
buildCounterInstanceGroupAggregatedList++;
if (buildCounterInstanceGroupAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1872(o.items);
+ checkUnnamed1874(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
- checkUnnamed1873(o.unreachables);
+ checkUnnamed1875(o.unreachables);
checkInstanceGroupAggregatedListWarning(o.warning);
}
buildCounterInstanceGroupAggregatedList--;
}
-buildUnnamed1875() {
+buildUnnamed1877() {
var o = new core.List<api.InstanceGroup>();
o.add(buildInstanceGroup());
o.add(buildInstanceGroup());
return o;
}
-checkUnnamed1875(core.List<api.InstanceGroup> o) {
+checkUnnamed1877(core.List<api.InstanceGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceGroup(o[0]);
checkInstanceGroup(o[1]);
@@ -8094,14 +8094,14 @@
buildCounterInstanceGroupListWarningData--;
}
-buildUnnamed1876() {
+buildUnnamed1878() {
var o = new core.List<api.InstanceGroupListWarningData>();
o.add(buildInstanceGroupListWarningData());
o.add(buildInstanceGroupListWarningData());
return o;
}
-checkUnnamed1876(core.List<api.InstanceGroupListWarningData> o) {
+checkUnnamed1878(core.List<api.InstanceGroupListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceGroupListWarningData(o[0]);
checkInstanceGroupListWarningData(o[1]);
@@ -8113,7 +8113,7 @@
buildCounterInstanceGroupListWarning++;
if (buildCounterInstanceGroupListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed1876();
+ o.data = buildUnnamed1878();
o.message = "foo";
}
buildCounterInstanceGroupListWarning--;
@@ -8124,7 +8124,7 @@
buildCounterInstanceGroupListWarning++;
if (buildCounterInstanceGroupListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed1876(o.data);
+ checkUnnamed1878(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterInstanceGroupListWarning--;
@@ -8136,7 +8136,7 @@
buildCounterInstanceGroupList++;
if (buildCounterInstanceGroupList < 3) {
o.id = "foo";
- o.items = buildUnnamed1875();
+ o.items = buildUnnamed1877();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -8150,7 +8150,7 @@
buildCounterInstanceGroupList++;
if (buildCounterInstanceGroupList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1875(o.items);
+ checkUnnamed1877(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -8159,53 +8159,53 @@
buildCounterInstanceGroupList--;
}
-buildUnnamed1877() {
+buildUnnamed1879() {
var o = new core.List<api.InstanceGroupManagerAutoHealingPolicy>();
o.add(buildInstanceGroupManagerAutoHealingPolicy());
o.add(buildInstanceGroupManagerAutoHealingPolicy());
return o;
}
-checkUnnamed1877(core.List<api.InstanceGroupManagerAutoHealingPolicy> o) {
+checkUnnamed1879(core.List<api.InstanceGroupManagerAutoHealingPolicy> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceGroupManagerAutoHealingPolicy(o[0]);
checkInstanceGroupManagerAutoHealingPolicy(o[1]);
}
-buildUnnamed1878() {
+buildUnnamed1880() {
var o = new core.List<api.NamedPort>();
o.add(buildNamedPort());
o.add(buildNamedPort());
return o;
}
-checkUnnamed1878(core.List<api.NamedPort> o) {
+checkUnnamed1880(core.List<api.NamedPort> o) {
unittest.expect(o, unittest.hasLength(2));
checkNamedPort(o[0]);
checkNamedPort(o[1]);
}
-buildUnnamed1879() {
+buildUnnamed1881() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1879(core.List<core.String> o) {
+checkUnnamed1881(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1880() {
+buildUnnamed1882() {
var o = new core.List<api.InstanceGroupManagerVersion>();
o.add(buildInstanceGroupManagerVersion());
o.add(buildInstanceGroupManagerVersion());
return o;
}
-checkUnnamed1880(core.List<api.InstanceGroupManagerVersion> o) {
+checkUnnamed1882(core.List<api.InstanceGroupManagerVersion> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceGroupManagerVersion(o[0]);
checkInstanceGroupManagerVersion(o[1]);
@@ -8216,7 +8216,7 @@
var o = new api.InstanceGroupManager();
buildCounterInstanceGroupManager++;
if (buildCounterInstanceGroupManager < 3) {
- o.autoHealingPolicies = buildUnnamed1877();
+ o.autoHealingPolicies = buildUnnamed1879();
o.baseInstanceName = "foo";
o.creationTimestamp = "foo";
o.currentActions = buildInstanceGroupManagerActionsSummary();
@@ -8228,15 +8228,15 @@
o.instanceTemplate = "foo";
o.kind = "foo";
o.name = "foo";
- o.namedPorts = buildUnnamed1878();
+ o.namedPorts = buildUnnamed1880();
o.region = "foo";
o.selfLink = "foo";
o.statefulPolicy = buildStatefulPolicy();
o.status = buildInstanceGroupManagerStatus();
- o.targetPools = buildUnnamed1879();
+ o.targetPools = buildUnnamed1881();
o.targetSize = 42;
o.updatePolicy = buildInstanceGroupManagerUpdatePolicy();
- o.versions = buildUnnamed1880();
+ o.versions = buildUnnamed1882();
o.zone = "foo";
}
buildCounterInstanceGroupManager--;
@@ -8246,7 +8246,7 @@
checkInstanceGroupManager(api.InstanceGroupManager o) {
buildCounterInstanceGroupManager++;
if (buildCounterInstanceGroupManager < 3) {
- checkUnnamed1877(o.autoHealingPolicies);
+ checkUnnamed1879(o.autoHealingPolicies);
unittest.expect(o.baseInstanceName, unittest.equals('foo'));
unittest.expect(o.creationTimestamp, unittest.equals('foo'));
checkInstanceGroupManagerActionsSummary(o.currentActions);
@@ -8258,15 +8258,15 @@
unittest.expect(o.instanceTemplate, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1878(o.namedPorts);
+ checkUnnamed1880(o.namedPorts);
unittest.expect(o.region, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
checkStatefulPolicy(o.statefulPolicy);
checkInstanceGroupManagerStatus(o.status);
- checkUnnamed1879(o.targetPools);
+ checkUnnamed1881(o.targetPools);
unittest.expect(o.targetSize, unittest.equals(42));
checkInstanceGroupManagerUpdatePolicy(o.updatePolicy);
- checkUnnamed1880(o.versions);
+ checkUnnamed1882(o.versions);
unittest.expect(o.zone, unittest.equals('foo'));
}
buildCounterInstanceGroupManager--;
@@ -8308,27 +8308,27 @@
buildCounterInstanceGroupManagerActionsSummary--;
}
-buildUnnamed1881() {
+buildUnnamed1883() {
var o = new core.Map<core.String, api.InstanceGroupManagersScopedList>();
o["x"] = buildInstanceGroupManagersScopedList();
o["y"] = buildInstanceGroupManagersScopedList();
return o;
}
-checkUnnamed1881(core.Map<core.String, api.InstanceGroupManagersScopedList> o) {
+checkUnnamed1883(core.Map<core.String, api.InstanceGroupManagersScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceGroupManagersScopedList(o["x"]);
checkInstanceGroupManagersScopedList(o["y"]);
}
-buildUnnamed1882() {
+buildUnnamed1884() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1882(core.List<core.String> o) {
+checkUnnamed1884(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -8356,14 +8356,14 @@
buildCounterInstanceGroupManagerAggregatedListWarningData--;
}
-buildUnnamed1883() {
+buildUnnamed1885() {
var o = new core.List<api.InstanceGroupManagerAggregatedListWarningData>();
o.add(buildInstanceGroupManagerAggregatedListWarningData());
o.add(buildInstanceGroupManagerAggregatedListWarningData());
return o;
}
-checkUnnamed1883(
+checkUnnamed1885(
core.List<api.InstanceGroupManagerAggregatedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceGroupManagerAggregatedListWarningData(o[0]);
@@ -8376,7 +8376,7 @@
buildCounterInstanceGroupManagerAggregatedListWarning++;
if (buildCounterInstanceGroupManagerAggregatedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed1883();
+ o.data = buildUnnamed1885();
o.message = "foo";
}
buildCounterInstanceGroupManagerAggregatedListWarning--;
@@ -8388,7 +8388,7 @@
buildCounterInstanceGroupManagerAggregatedListWarning++;
if (buildCounterInstanceGroupManagerAggregatedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed1883(o.data);
+ checkUnnamed1885(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterInstanceGroupManagerAggregatedListWarning--;
@@ -8400,11 +8400,11 @@
buildCounterInstanceGroupManagerAggregatedList++;
if (buildCounterInstanceGroupManagerAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed1881();
+ o.items = buildUnnamed1883();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
- o.unreachables = buildUnnamed1882();
+ o.unreachables = buildUnnamed1884();
o.warning = buildInstanceGroupManagerAggregatedListWarning();
}
buildCounterInstanceGroupManagerAggregatedList--;
@@ -8416,11 +8416,11 @@
buildCounterInstanceGroupManagerAggregatedList++;
if (buildCounterInstanceGroupManagerAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1881(o.items);
+ checkUnnamed1883(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
- checkUnnamed1882(o.unreachables);
+ checkUnnamed1884(o.unreachables);
checkInstanceGroupManagerAggregatedListWarning(o.warning);
}
buildCounterInstanceGroupManagerAggregatedList--;
@@ -8448,14 +8448,14 @@
buildCounterInstanceGroupManagerAutoHealingPolicy--;
}
-buildUnnamed1884() {
+buildUnnamed1886() {
var o = new core.List<api.InstanceGroupManager>();
o.add(buildInstanceGroupManager());
o.add(buildInstanceGroupManager());
return o;
}
-checkUnnamed1884(core.List<api.InstanceGroupManager> o) {
+checkUnnamed1886(core.List<api.InstanceGroupManager> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceGroupManager(o[0]);
checkInstanceGroupManager(o[1]);
@@ -8483,14 +8483,14 @@
buildCounterInstanceGroupManagerListWarningData--;
}
-buildUnnamed1885() {
+buildUnnamed1887() {
var o = new core.List<api.InstanceGroupManagerListWarningData>();
o.add(buildInstanceGroupManagerListWarningData());
o.add(buildInstanceGroupManagerListWarningData());
return o;
}
-checkUnnamed1885(core.List<api.InstanceGroupManagerListWarningData> o) {
+checkUnnamed1887(core.List<api.InstanceGroupManagerListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceGroupManagerListWarningData(o[0]);
checkInstanceGroupManagerListWarningData(o[1]);
@@ -8502,7 +8502,7 @@
buildCounterInstanceGroupManagerListWarning++;
if (buildCounterInstanceGroupManagerListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed1885();
+ o.data = buildUnnamed1887();
o.message = "foo";
}
buildCounterInstanceGroupManagerListWarning--;
@@ -8513,7 +8513,7 @@
buildCounterInstanceGroupManagerListWarning++;
if (buildCounterInstanceGroupManagerListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed1885(o.data);
+ checkUnnamed1887(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterInstanceGroupManagerListWarning--;
@@ -8525,7 +8525,7 @@
buildCounterInstanceGroupManagerList++;
if (buildCounterInstanceGroupManagerList < 3) {
o.id = "foo";
- o.items = buildUnnamed1884();
+ o.items = buildUnnamed1886();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -8539,7 +8539,7 @@
buildCounterInstanceGroupManagerList++;
if (buildCounterInstanceGroupManagerList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1884(o.items);
+ checkUnnamed1886(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -8689,14 +8689,14 @@
buildCounterInstanceGroupManagerVersion--;
}
-buildUnnamed1886() {
+buildUnnamed1888() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1886(core.List<core.String> o) {
+checkUnnamed1888(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -8707,7 +8707,7 @@
var o = new api.InstanceGroupManagersAbandonInstancesRequest();
buildCounterInstanceGroupManagersAbandonInstancesRequest++;
if (buildCounterInstanceGroupManagersAbandonInstancesRequest < 3) {
- o.instances = buildUnnamed1886();
+ o.instances = buildUnnamed1888();
}
buildCounterInstanceGroupManagersAbandonInstancesRequest--;
return o;
@@ -8717,79 +8717,9 @@
api.InstanceGroupManagersAbandonInstancesRequest o) {
buildCounterInstanceGroupManagersAbandonInstancesRequest++;
if (buildCounterInstanceGroupManagersAbandonInstancesRequest < 3) {
- checkUnnamed1886(o.instances);
- }
- buildCounterInstanceGroupManagersAbandonInstancesRequest--;
-}
-
-buildUnnamed1887() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1887(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-core.int buildCounterInstanceGroupManagersApplyUpdatesRequest = 0;
-buildInstanceGroupManagersApplyUpdatesRequest() {
- var o = new api.InstanceGroupManagersApplyUpdatesRequest();
- buildCounterInstanceGroupManagersApplyUpdatesRequest++;
- if (buildCounterInstanceGroupManagersApplyUpdatesRequest < 3) {
- o.instances = buildUnnamed1887();
- o.minimalAction = "foo";
- o.mostDisruptiveAllowedAction = "foo";
- }
- buildCounterInstanceGroupManagersApplyUpdatesRequest--;
- return o;
-}
-
-checkInstanceGroupManagersApplyUpdatesRequest(
- api.InstanceGroupManagersApplyUpdatesRequest o) {
- buildCounterInstanceGroupManagersApplyUpdatesRequest++;
- if (buildCounterInstanceGroupManagersApplyUpdatesRequest < 3) {
- checkUnnamed1887(o.instances);
- unittest.expect(o.minimalAction, unittest.equals('foo'));
- unittest.expect(o.mostDisruptiveAllowedAction, unittest.equals('foo'));
- }
- buildCounterInstanceGroupManagersApplyUpdatesRequest--;
-}
-
-buildUnnamed1888() {
- var o = new core.List<api.PerInstanceConfig>();
- o.add(buildPerInstanceConfig());
- o.add(buildPerInstanceConfig());
- return o;
-}
-
-checkUnnamed1888(core.List<api.PerInstanceConfig> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkPerInstanceConfig(o[0]);
- checkPerInstanceConfig(o[1]);
-}
-
-core.int buildCounterInstanceGroupManagersCreateInstancesRequest = 0;
-buildInstanceGroupManagersCreateInstancesRequest() {
- var o = new api.InstanceGroupManagersCreateInstancesRequest();
- buildCounterInstanceGroupManagersCreateInstancesRequest++;
- if (buildCounterInstanceGroupManagersCreateInstancesRequest < 3) {
- o.instances = buildUnnamed1888();
- }
- buildCounterInstanceGroupManagersCreateInstancesRequest--;
- return o;
-}
-
-checkInstanceGroupManagersCreateInstancesRequest(
- api.InstanceGroupManagersCreateInstancesRequest o) {
- buildCounterInstanceGroupManagersCreateInstancesRequest++;
- if (buildCounterInstanceGroupManagersCreateInstancesRequest < 3) {
checkUnnamed1888(o.instances);
}
- buildCounterInstanceGroupManagersCreateInstancesRequest--;
+ buildCounterInstanceGroupManagersAbandonInstancesRequest--;
}
buildUnnamed1889() {
@@ -8805,12 +8735,82 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+core.int buildCounterInstanceGroupManagersApplyUpdatesRequest = 0;
+buildInstanceGroupManagersApplyUpdatesRequest() {
+ var o = new api.InstanceGroupManagersApplyUpdatesRequest();
+ buildCounterInstanceGroupManagersApplyUpdatesRequest++;
+ if (buildCounterInstanceGroupManagersApplyUpdatesRequest < 3) {
+ o.instances = buildUnnamed1889();
+ o.minimalAction = "foo";
+ o.mostDisruptiveAllowedAction = "foo";
+ }
+ buildCounterInstanceGroupManagersApplyUpdatesRequest--;
+ return o;
+}
+
+checkInstanceGroupManagersApplyUpdatesRequest(
+ api.InstanceGroupManagersApplyUpdatesRequest o) {
+ buildCounterInstanceGroupManagersApplyUpdatesRequest++;
+ if (buildCounterInstanceGroupManagersApplyUpdatesRequest < 3) {
+ checkUnnamed1889(o.instances);
+ unittest.expect(o.minimalAction, unittest.equals('foo'));
+ unittest.expect(o.mostDisruptiveAllowedAction, unittest.equals('foo'));
+ }
+ buildCounterInstanceGroupManagersApplyUpdatesRequest--;
+}
+
+buildUnnamed1890() {
+ var o = new core.List<api.PerInstanceConfig>();
+ o.add(buildPerInstanceConfig());
+ o.add(buildPerInstanceConfig());
+ return o;
+}
+
+checkUnnamed1890(core.List<api.PerInstanceConfig> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkPerInstanceConfig(o[0]);
+ checkPerInstanceConfig(o[1]);
+}
+
+core.int buildCounterInstanceGroupManagersCreateInstancesRequest = 0;
+buildInstanceGroupManagersCreateInstancesRequest() {
+ var o = new api.InstanceGroupManagersCreateInstancesRequest();
+ buildCounterInstanceGroupManagersCreateInstancesRequest++;
+ if (buildCounterInstanceGroupManagersCreateInstancesRequest < 3) {
+ o.instances = buildUnnamed1890();
+ }
+ buildCounterInstanceGroupManagersCreateInstancesRequest--;
+ return o;
+}
+
+checkInstanceGroupManagersCreateInstancesRequest(
+ api.InstanceGroupManagersCreateInstancesRequest o) {
+ buildCounterInstanceGroupManagersCreateInstancesRequest++;
+ if (buildCounterInstanceGroupManagersCreateInstancesRequest < 3) {
+ checkUnnamed1890(o.instances);
+ }
+ buildCounterInstanceGroupManagersCreateInstancesRequest--;
+}
+
+buildUnnamed1891() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1891(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
core.int buildCounterInstanceGroupManagersDeleteInstancesRequest = 0;
buildInstanceGroupManagersDeleteInstancesRequest() {
var o = new api.InstanceGroupManagersDeleteInstancesRequest();
buildCounterInstanceGroupManagersDeleteInstancesRequest++;
if (buildCounterInstanceGroupManagersDeleteInstancesRequest < 3) {
- o.instances = buildUnnamed1889();
+ o.instances = buildUnnamed1891();
}
buildCounterInstanceGroupManagersDeleteInstancesRequest--;
return o;
@@ -8820,19 +8820,19 @@
api.InstanceGroupManagersDeleteInstancesRequest o) {
buildCounterInstanceGroupManagersDeleteInstancesRequest++;
if (buildCounterInstanceGroupManagersDeleteInstancesRequest < 3) {
- checkUnnamed1889(o.instances);
+ checkUnnamed1891(o.instances);
}
buildCounterInstanceGroupManagersDeleteInstancesRequest--;
}
-buildUnnamed1890() {
+buildUnnamed1892() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1890(core.List<core.String> o) {
+checkUnnamed1892(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -8843,7 +8843,7 @@
var o = new api.InstanceGroupManagersDeletePerInstanceConfigsReq();
buildCounterInstanceGroupManagersDeletePerInstanceConfigsReq++;
if (buildCounterInstanceGroupManagersDeletePerInstanceConfigsReq < 3) {
- o.names = buildUnnamed1890();
+ o.names = buildUnnamed1892();
}
buildCounterInstanceGroupManagersDeletePerInstanceConfigsReq--;
return o;
@@ -8853,19 +8853,19 @@
api.InstanceGroupManagersDeletePerInstanceConfigsReq o) {
buildCounterInstanceGroupManagersDeletePerInstanceConfigsReq++;
if (buildCounterInstanceGroupManagersDeletePerInstanceConfigsReq < 3) {
- checkUnnamed1890(o.names);
+ checkUnnamed1892(o.names);
}
buildCounterInstanceGroupManagersDeletePerInstanceConfigsReq--;
}
-buildUnnamed1891() {
+buildUnnamed1893() {
var o = new core.List<api.InstanceManagedByIgmError>();
o.add(buildInstanceManagedByIgmError());
o.add(buildInstanceManagedByIgmError());
return o;
}
-checkUnnamed1891(core.List<api.InstanceManagedByIgmError> o) {
+checkUnnamed1893(core.List<api.InstanceManagedByIgmError> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceManagedByIgmError(o[0]);
checkInstanceManagedByIgmError(o[1]);
@@ -8876,7 +8876,7 @@
var o = new api.InstanceGroupManagersListErrorsResponse();
buildCounterInstanceGroupManagersListErrorsResponse++;
if (buildCounterInstanceGroupManagersListErrorsResponse < 3) {
- o.items = buildUnnamed1891();
+ o.items = buildUnnamed1893();
o.nextPageToken = "foo";
}
buildCounterInstanceGroupManagersListErrorsResponse--;
@@ -8887,20 +8887,20 @@
api.InstanceGroupManagersListErrorsResponse o) {
buildCounterInstanceGroupManagersListErrorsResponse++;
if (buildCounterInstanceGroupManagersListErrorsResponse < 3) {
- checkUnnamed1891(o.items);
+ checkUnnamed1893(o.items);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterInstanceGroupManagersListErrorsResponse--;
}
-buildUnnamed1892() {
+buildUnnamed1894() {
var o = new core.List<api.ManagedInstance>();
o.add(buildManagedInstance());
o.add(buildManagedInstance());
return o;
}
-checkUnnamed1892(core.List<api.ManagedInstance> o) {
+checkUnnamed1894(core.List<api.ManagedInstance> o) {
unittest.expect(o, unittest.hasLength(2));
checkManagedInstance(o[0]);
checkManagedInstance(o[1]);
@@ -8911,7 +8911,7 @@
var o = new api.InstanceGroupManagersListManagedInstancesResponse();
buildCounterInstanceGroupManagersListManagedInstancesResponse++;
if (buildCounterInstanceGroupManagersListManagedInstancesResponse < 3) {
- o.managedInstances = buildUnnamed1892();
+ o.managedInstances = buildUnnamed1894();
o.nextPageToken = "foo";
}
buildCounterInstanceGroupManagersListManagedInstancesResponse--;
@@ -8922,20 +8922,20 @@
api.InstanceGroupManagersListManagedInstancesResponse o) {
buildCounterInstanceGroupManagersListManagedInstancesResponse++;
if (buildCounterInstanceGroupManagersListManagedInstancesResponse < 3) {
- checkUnnamed1892(o.managedInstances);
+ checkUnnamed1894(o.managedInstances);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterInstanceGroupManagersListManagedInstancesResponse--;
}
-buildUnnamed1893() {
+buildUnnamed1895() {
var o = new core.List<api.PerInstanceConfig>();
o.add(buildPerInstanceConfig());
o.add(buildPerInstanceConfig());
return o;
}
-checkUnnamed1893(core.List<api.PerInstanceConfig> o) {
+checkUnnamed1895(core.List<api.PerInstanceConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkPerInstanceConfig(o[0]);
checkPerInstanceConfig(o[1]);
@@ -8966,7 +8966,7 @@
buildCounterInstanceGroupManagersListPerInstanceConfigsRespWarningData--;
}
-buildUnnamed1894() {
+buildUnnamed1896() {
var o = new core
.List<api.InstanceGroupManagersListPerInstanceConfigsRespWarningData>();
o.add(buildInstanceGroupManagersListPerInstanceConfigsRespWarningData());
@@ -8974,7 +8974,7 @@
return o;
}
-checkUnnamed1894(
+checkUnnamed1896(
core.List<api.InstanceGroupManagersListPerInstanceConfigsRespWarningData>
o) {
unittest.expect(o, unittest.hasLength(2));
@@ -8988,7 +8988,7 @@
buildCounterInstanceGroupManagersListPerInstanceConfigsRespWarning++;
if (buildCounterInstanceGroupManagersListPerInstanceConfigsRespWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed1894();
+ o.data = buildUnnamed1896();
o.message = "foo";
}
buildCounterInstanceGroupManagersListPerInstanceConfigsRespWarning--;
@@ -9000,7 +9000,7 @@
buildCounterInstanceGroupManagersListPerInstanceConfigsRespWarning++;
if (buildCounterInstanceGroupManagersListPerInstanceConfigsRespWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed1894(o.data);
+ checkUnnamed1896(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterInstanceGroupManagersListPerInstanceConfigsRespWarning--;
@@ -9011,7 +9011,7 @@
var o = new api.InstanceGroupManagersListPerInstanceConfigsResp();
buildCounterInstanceGroupManagersListPerInstanceConfigsResp++;
if (buildCounterInstanceGroupManagersListPerInstanceConfigsResp < 3) {
- o.items = buildUnnamed1893();
+ o.items = buildUnnamed1895();
o.nextPageToken = "foo";
o.warning = buildInstanceGroupManagersListPerInstanceConfigsRespWarning();
}
@@ -9023,21 +9023,21 @@
api.InstanceGroupManagersListPerInstanceConfigsResp o) {
buildCounterInstanceGroupManagersListPerInstanceConfigsResp++;
if (buildCounterInstanceGroupManagersListPerInstanceConfigsResp < 3) {
- checkUnnamed1893(o.items);
+ checkUnnamed1895(o.items);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkInstanceGroupManagersListPerInstanceConfigsRespWarning(o.warning);
}
buildCounterInstanceGroupManagersListPerInstanceConfigsResp--;
}
-buildUnnamed1895() {
+buildUnnamed1897() {
var o = new core.List<api.PerInstanceConfig>();
o.add(buildPerInstanceConfig());
o.add(buildPerInstanceConfig());
return o;
}
-checkUnnamed1895(core.List<api.PerInstanceConfig> o) {
+checkUnnamed1897(core.List<api.PerInstanceConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkPerInstanceConfig(o[0]);
checkPerInstanceConfig(o[1]);
@@ -9048,7 +9048,7 @@
var o = new api.InstanceGroupManagersPatchPerInstanceConfigsReq();
buildCounterInstanceGroupManagersPatchPerInstanceConfigsReq++;
if (buildCounterInstanceGroupManagersPatchPerInstanceConfigsReq < 3) {
- o.perInstanceConfigs = buildUnnamed1895();
+ o.perInstanceConfigs = buildUnnamed1897();
}
buildCounterInstanceGroupManagersPatchPerInstanceConfigsReq--;
return o;
@@ -9058,19 +9058,19 @@
api.InstanceGroupManagersPatchPerInstanceConfigsReq o) {
buildCounterInstanceGroupManagersPatchPerInstanceConfigsReq++;
if (buildCounterInstanceGroupManagersPatchPerInstanceConfigsReq < 3) {
- checkUnnamed1895(o.perInstanceConfigs);
+ checkUnnamed1897(o.perInstanceConfigs);
}
buildCounterInstanceGroupManagersPatchPerInstanceConfigsReq--;
}
-buildUnnamed1896() {
+buildUnnamed1898() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1896(core.List<core.String> o) {
+checkUnnamed1898(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -9081,7 +9081,7 @@
var o = new api.InstanceGroupManagersRecreateInstancesRequest();
buildCounterInstanceGroupManagersRecreateInstancesRequest++;
if (buildCounterInstanceGroupManagersRecreateInstancesRequest < 3) {
- o.instances = buildUnnamed1896();
+ o.instances = buildUnnamed1898();
}
buildCounterInstanceGroupManagersRecreateInstancesRequest--;
return o;
@@ -9091,19 +9091,19 @@
api.InstanceGroupManagersRecreateInstancesRequest o) {
buildCounterInstanceGroupManagersRecreateInstancesRequest++;
if (buildCounterInstanceGroupManagersRecreateInstancesRequest < 3) {
- checkUnnamed1896(o.instances);
+ checkUnnamed1898(o.instances);
}
buildCounterInstanceGroupManagersRecreateInstancesRequest--;
}
-buildUnnamed1897() {
+buildUnnamed1899() {
var o = new core.List<api.InstanceGroupManager>();
o.add(buildInstanceGroupManager());
o.add(buildInstanceGroupManager());
return o;
}
-checkUnnamed1897(core.List<api.InstanceGroupManager> o) {
+checkUnnamed1899(core.List<api.InstanceGroupManager> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceGroupManager(o[0]);
checkInstanceGroupManager(o[1]);
@@ -9131,14 +9131,14 @@
buildCounterInstanceGroupManagersScopedListWarningData--;
}
-buildUnnamed1898() {
+buildUnnamed1900() {
var o = new core.List<api.InstanceGroupManagersScopedListWarningData>();
o.add(buildInstanceGroupManagersScopedListWarningData());
o.add(buildInstanceGroupManagersScopedListWarningData());
return o;
}
-checkUnnamed1898(core.List<api.InstanceGroupManagersScopedListWarningData> o) {
+checkUnnamed1900(core.List<api.InstanceGroupManagersScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceGroupManagersScopedListWarningData(o[0]);
checkInstanceGroupManagersScopedListWarningData(o[1]);
@@ -9150,7 +9150,7 @@
buildCounterInstanceGroupManagersScopedListWarning++;
if (buildCounterInstanceGroupManagersScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed1898();
+ o.data = buildUnnamed1900();
o.message = "foo";
}
buildCounterInstanceGroupManagersScopedListWarning--;
@@ -9162,7 +9162,7 @@
buildCounterInstanceGroupManagersScopedListWarning++;
if (buildCounterInstanceGroupManagersScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed1898(o.data);
+ checkUnnamed1900(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterInstanceGroupManagersScopedListWarning--;
@@ -9173,7 +9173,7 @@
var o = new api.InstanceGroupManagersScopedList();
buildCounterInstanceGroupManagersScopedList++;
if (buildCounterInstanceGroupManagersScopedList < 3) {
- o.instanceGroupManagers = buildUnnamed1897();
+ o.instanceGroupManagers = buildUnnamed1899();
o.warning = buildInstanceGroupManagersScopedListWarning();
}
buildCounterInstanceGroupManagersScopedList--;
@@ -9183,7 +9183,7 @@
checkInstanceGroupManagersScopedList(api.InstanceGroupManagersScopedList o) {
buildCounterInstanceGroupManagersScopedList++;
if (buildCounterInstanceGroupManagersScopedList < 3) {
- checkUnnamed1897(o.instanceGroupManagers);
+ checkUnnamed1899(o.instanceGroupManagers);
checkInstanceGroupManagersScopedListWarning(o.warning);
}
buildCounterInstanceGroupManagersScopedList--;
@@ -9209,14 +9209,14 @@
buildCounterInstanceGroupManagersSetInstanceTemplateRequest--;
}
-buildUnnamed1899() {
+buildUnnamed1901() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1899(core.List<core.String> o) {
+checkUnnamed1901(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -9228,7 +9228,7 @@
buildCounterInstanceGroupManagersSetTargetPoolsRequest++;
if (buildCounterInstanceGroupManagersSetTargetPoolsRequest < 3) {
o.fingerprint = "foo";
- o.targetPools = buildUnnamed1899();
+ o.targetPools = buildUnnamed1901();
}
buildCounterInstanceGroupManagersSetTargetPoolsRequest--;
return o;
@@ -9239,19 +9239,19 @@
buildCounterInstanceGroupManagersSetTargetPoolsRequest++;
if (buildCounterInstanceGroupManagersSetTargetPoolsRequest < 3) {
unittest.expect(o.fingerprint, unittest.equals('foo'));
- checkUnnamed1899(o.targetPools);
+ checkUnnamed1901(o.targetPools);
}
buildCounterInstanceGroupManagersSetTargetPoolsRequest--;
}
-buildUnnamed1900() {
+buildUnnamed1902() {
var o = new core.List<api.PerInstanceConfig>();
o.add(buildPerInstanceConfig());
o.add(buildPerInstanceConfig());
return o;
}
-checkUnnamed1900(core.List<api.PerInstanceConfig> o) {
+checkUnnamed1902(core.List<api.PerInstanceConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkPerInstanceConfig(o[0]);
checkPerInstanceConfig(o[1]);
@@ -9262,7 +9262,7 @@
var o = new api.InstanceGroupManagersUpdatePerInstanceConfigsReq();
buildCounterInstanceGroupManagersUpdatePerInstanceConfigsReq++;
if (buildCounterInstanceGroupManagersUpdatePerInstanceConfigsReq < 3) {
- o.perInstanceConfigs = buildUnnamed1900();
+ o.perInstanceConfigs = buildUnnamed1902();
}
buildCounterInstanceGroupManagersUpdatePerInstanceConfigsReq--;
return o;
@@ -9272,19 +9272,19 @@
api.InstanceGroupManagersUpdatePerInstanceConfigsReq o) {
buildCounterInstanceGroupManagersUpdatePerInstanceConfigsReq++;
if (buildCounterInstanceGroupManagersUpdatePerInstanceConfigsReq < 3) {
- checkUnnamed1900(o.perInstanceConfigs);
+ checkUnnamed1902(o.perInstanceConfigs);
}
buildCounterInstanceGroupManagersUpdatePerInstanceConfigsReq--;
}
-buildUnnamed1901() {
+buildUnnamed1903() {
var o = new core.List<api.InstanceReference>();
o.add(buildInstanceReference());
o.add(buildInstanceReference());
return o;
}
-checkUnnamed1901(core.List<api.InstanceReference> o) {
+checkUnnamed1903(core.List<api.InstanceReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceReference(o[0]);
checkInstanceReference(o[1]);
@@ -9295,7 +9295,7 @@
var o = new api.InstanceGroupsAddInstancesRequest();
buildCounterInstanceGroupsAddInstancesRequest++;
if (buildCounterInstanceGroupsAddInstancesRequest < 3) {
- o.instances = buildUnnamed1901();
+ o.instances = buildUnnamed1903();
}
buildCounterInstanceGroupsAddInstancesRequest--;
return o;
@@ -9305,19 +9305,19 @@
api.InstanceGroupsAddInstancesRequest o) {
buildCounterInstanceGroupsAddInstancesRequest++;
if (buildCounterInstanceGroupsAddInstancesRequest < 3) {
- checkUnnamed1901(o.instances);
+ checkUnnamed1903(o.instances);
}
buildCounterInstanceGroupsAddInstancesRequest--;
}
-buildUnnamed1902() {
+buildUnnamed1904() {
var o = new core.List<api.InstanceWithNamedPorts>();
o.add(buildInstanceWithNamedPorts());
o.add(buildInstanceWithNamedPorts());
return o;
}
-checkUnnamed1902(core.List<api.InstanceWithNamedPorts> o) {
+checkUnnamed1904(core.List<api.InstanceWithNamedPorts> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceWithNamedPorts(o[0]);
checkInstanceWithNamedPorts(o[1]);
@@ -9345,14 +9345,14 @@
buildCounterInstanceGroupsListInstancesWarningData--;
}
-buildUnnamed1903() {
+buildUnnamed1905() {
var o = new core.List<api.InstanceGroupsListInstancesWarningData>();
o.add(buildInstanceGroupsListInstancesWarningData());
o.add(buildInstanceGroupsListInstancesWarningData());
return o;
}
-checkUnnamed1903(core.List<api.InstanceGroupsListInstancesWarningData> o) {
+checkUnnamed1905(core.List<api.InstanceGroupsListInstancesWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceGroupsListInstancesWarningData(o[0]);
checkInstanceGroupsListInstancesWarningData(o[1]);
@@ -9364,7 +9364,7 @@
buildCounterInstanceGroupsListInstancesWarning++;
if (buildCounterInstanceGroupsListInstancesWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed1903();
+ o.data = buildUnnamed1905();
o.message = "foo";
}
buildCounterInstanceGroupsListInstancesWarning--;
@@ -9376,7 +9376,7 @@
buildCounterInstanceGroupsListInstancesWarning++;
if (buildCounterInstanceGroupsListInstancesWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed1903(o.data);
+ checkUnnamed1905(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterInstanceGroupsListInstancesWarning--;
@@ -9388,7 +9388,7 @@
buildCounterInstanceGroupsListInstances++;
if (buildCounterInstanceGroupsListInstances < 3) {
o.id = "foo";
- o.items = buildUnnamed1902();
+ o.items = buildUnnamed1904();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -9402,7 +9402,7 @@
buildCounterInstanceGroupsListInstances++;
if (buildCounterInstanceGroupsListInstances < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1902(o.items);
+ checkUnnamed1904(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -9431,14 +9431,14 @@
buildCounterInstanceGroupsListInstancesRequest--;
}
-buildUnnamed1904() {
+buildUnnamed1906() {
var o = new core.List<api.InstanceReference>();
o.add(buildInstanceReference());
o.add(buildInstanceReference());
return o;
}
-checkUnnamed1904(core.List<api.InstanceReference> o) {
+checkUnnamed1906(core.List<api.InstanceReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceReference(o[0]);
checkInstanceReference(o[1]);
@@ -9449,7 +9449,7 @@
var o = new api.InstanceGroupsRemoveInstancesRequest();
buildCounterInstanceGroupsRemoveInstancesRequest++;
if (buildCounterInstanceGroupsRemoveInstancesRequest < 3) {
- o.instances = buildUnnamed1904();
+ o.instances = buildUnnamed1906();
}
buildCounterInstanceGroupsRemoveInstancesRequest--;
return o;
@@ -9459,19 +9459,19 @@
api.InstanceGroupsRemoveInstancesRequest o) {
buildCounterInstanceGroupsRemoveInstancesRequest++;
if (buildCounterInstanceGroupsRemoveInstancesRequest < 3) {
- checkUnnamed1904(o.instances);
+ checkUnnamed1906(o.instances);
}
buildCounterInstanceGroupsRemoveInstancesRequest--;
}
-buildUnnamed1905() {
+buildUnnamed1907() {
var o = new core.List<api.InstanceGroup>();
o.add(buildInstanceGroup());
o.add(buildInstanceGroup());
return o;
}
-checkUnnamed1905(core.List<api.InstanceGroup> o) {
+checkUnnamed1907(core.List<api.InstanceGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceGroup(o[0]);
checkInstanceGroup(o[1]);
@@ -9499,14 +9499,14 @@
buildCounterInstanceGroupsScopedListWarningData--;
}
-buildUnnamed1906() {
+buildUnnamed1908() {
var o = new core.List<api.InstanceGroupsScopedListWarningData>();
o.add(buildInstanceGroupsScopedListWarningData());
o.add(buildInstanceGroupsScopedListWarningData());
return o;
}
-checkUnnamed1906(core.List<api.InstanceGroupsScopedListWarningData> o) {
+checkUnnamed1908(core.List<api.InstanceGroupsScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceGroupsScopedListWarningData(o[0]);
checkInstanceGroupsScopedListWarningData(o[1]);
@@ -9518,7 +9518,7 @@
buildCounterInstanceGroupsScopedListWarning++;
if (buildCounterInstanceGroupsScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed1906();
+ o.data = buildUnnamed1908();
o.message = "foo";
}
buildCounterInstanceGroupsScopedListWarning--;
@@ -9529,7 +9529,7 @@
buildCounterInstanceGroupsScopedListWarning++;
if (buildCounterInstanceGroupsScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed1906(o.data);
+ checkUnnamed1908(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterInstanceGroupsScopedListWarning--;
@@ -9540,7 +9540,7 @@
var o = new api.InstanceGroupsScopedList();
buildCounterInstanceGroupsScopedList++;
if (buildCounterInstanceGroupsScopedList < 3) {
- o.instanceGroups = buildUnnamed1905();
+ o.instanceGroups = buildUnnamed1907();
o.warning = buildInstanceGroupsScopedListWarning();
}
buildCounterInstanceGroupsScopedList--;
@@ -9550,20 +9550,20 @@
checkInstanceGroupsScopedList(api.InstanceGroupsScopedList o) {
buildCounterInstanceGroupsScopedList++;
if (buildCounterInstanceGroupsScopedList < 3) {
- checkUnnamed1905(o.instanceGroups);
+ checkUnnamed1907(o.instanceGroups);
checkInstanceGroupsScopedListWarning(o.warning);
}
buildCounterInstanceGroupsScopedList--;
}
-buildUnnamed1907() {
+buildUnnamed1909() {
var o = new core.List<api.NamedPort>();
o.add(buildNamedPort());
o.add(buildNamedPort());
return o;
}
-checkUnnamed1907(core.List<api.NamedPort> o) {
+checkUnnamed1909(core.List<api.NamedPort> o) {
unittest.expect(o, unittest.hasLength(2));
checkNamedPort(o[0]);
checkNamedPort(o[1]);
@@ -9575,7 +9575,7 @@
buildCounterInstanceGroupsSetNamedPortsRequest++;
if (buildCounterInstanceGroupsSetNamedPortsRequest < 3) {
o.fingerprint = "foo";
- o.namedPorts = buildUnnamed1907();
+ o.namedPorts = buildUnnamed1909();
}
buildCounterInstanceGroupsSetNamedPortsRequest--;
return o;
@@ -9586,19 +9586,19 @@
buildCounterInstanceGroupsSetNamedPortsRequest++;
if (buildCounterInstanceGroupsSetNamedPortsRequest < 3) {
unittest.expect(o.fingerprint, unittest.equals('foo'));
- checkUnnamed1907(o.namedPorts);
+ checkUnnamed1909(o.namedPorts);
}
buildCounterInstanceGroupsSetNamedPortsRequest--;
}
-buildUnnamed1908() {
+buildUnnamed1910() {
var o = new core.List<api.Instance>();
o.add(buildInstance());
o.add(buildInstance());
return o;
}
-checkUnnamed1908(core.List<api.Instance> o) {
+checkUnnamed1910(core.List<api.Instance> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstance(o[0]);
checkInstance(o[1]);
@@ -9625,14 +9625,14 @@
buildCounterInstanceListWarningData--;
}
-buildUnnamed1909() {
+buildUnnamed1911() {
var o = new core.List<api.InstanceListWarningData>();
o.add(buildInstanceListWarningData());
o.add(buildInstanceListWarningData());
return o;
}
-checkUnnamed1909(core.List<api.InstanceListWarningData> o) {
+checkUnnamed1911(core.List<api.InstanceListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceListWarningData(o[0]);
checkInstanceListWarningData(o[1]);
@@ -9644,7 +9644,7 @@
buildCounterInstanceListWarning++;
if (buildCounterInstanceListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed1909();
+ o.data = buildUnnamed1911();
o.message = "foo";
}
buildCounterInstanceListWarning--;
@@ -9655,7 +9655,7 @@
buildCounterInstanceListWarning++;
if (buildCounterInstanceListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed1909(o.data);
+ checkUnnamed1911(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterInstanceListWarning--;
@@ -9667,7 +9667,7 @@
buildCounterInstanceList++;
if (buildCounterInstanceList < 3) {
o.id = "foo";
- o.items = buildUnnamed1908();
+ o.items = buildUnnamed1910();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -9681,7 +9681,7 @@
buildCounterInstanceList++;
if (buildCounterInstanceList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1908(o.items);
+ checkUnnamed1910(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -9690,14 +9690,14 @@
buildCounterInstanceList--;
}
-buildUnnamed1910() {
+buildUnnamed1912() {
var o = new core.List<api.Reference>();
o.add(buildReference());
o.add(buildReference());
return o;
}
-checkUnnamed1910(core.List<api.Reference> o) {
+checkUnnamed1912(core.List<api.Reference> o) {
unittest.expect(o, unittest.hasLength(2));
checkReference(o[0]);
checkReference(o[1]);
@@ -9724,14 +9724,14 @@
buildCounterInstanceListReferrersWarningData--;
}
-buildUnnamed1911() {
+buildUnnamed1913() {
var o = new core.List<api.InstanceListReferrersWarningData>();
o.add(buildInstanceListReferrersWarningData());
o.add(buildInstanceListReferrersWarningData());
return o;
}
-checkUnnamed1911(core.List<api.InstanceListReferrersWarningData> o) {
+checkUnnamed1913(core.List<api.InstanceListReferrersWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceListReferrersWarningData(o[0]);
checkInstanceListReferrersWarningData(o[1]);
@@ -9743,7 +9743,7 @@
buildCounterInstanceListReferrersWarning++;
if (buildCounterInstanceListReferrersWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed1911();
+ o.data = buildUnnamed1913();
o.message = "foo";
}
buildCounterInstanceListReferrersWarning--;
@@ -9754,7 +9754,7 @@
buildCounterInstanceListReferrersWarning++;
if (buildCounterInstanceListReferrersWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed1911(o.data);
+ checkUnnamed1913(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterInstanceListReferrersWarning--;
@@ -9766,7 +9766,7 @@
buildCounterInstanceListReferrers++;
if (buildCounterInstanceListReferrers < 3) {
o.id = "foo";
- o.items = buildUnnamed1910();
+ o.items = buildUnnamed1912();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -9780,7 +9780,7 @@
buildCounterInstanceListReferrers++;
if (buildCounterInstanceListReferrers < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1910(o.items);
+ checkUnnamed1912(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -9881,79 +9881,79 @@
buildCounterInstanceMoveRequest--;
}
-buildUnnamed1912() {
+buildUnnamed1914() {
var o = new core.List<api.AttachedDisk>();
o.add(buildAttachedDisk());
o.add(buildAttachedDisk());
return o;
}
-checkUnnamed1912(core.List<api.AttachedDisk> o) {
+checkUnnamed1914(core.List<api.AttachedDisk> o) {
unittest.expect(o, unittest.hasLength(2));
checkAttachedDisk(o[0]);
checkAttachedDisk(o[1]);
}
-buildUnnamed1913() {
+buildUnnamed1915() {
var o = new core.List<api.AcceleratorConfig>();
o.add(buildAcceleratorConfig());
o.add(buildAcceleratorConfig());
return o;
}
-checkUnnamed1913(core.List<api.AcceleratorConfig> o) {
+checkUnnamed1915(core.List<api.AcceleratorConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAcceleratorConfig(o[0]);
checkAcceleratorConfig(o[1]);
}
-buildUnnamed1914() {
+buildUnnamed1916() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1914(core.Map<core.String, core.String> o) {
+checkUnnamed1916(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed1915() {
+buildUnnamed1917() {
var o = new core.List<api.NetworkInterface>();
o.add(buildNetworkInterface());
o.add(buildNetworkInterface());
return o;
}
-checkUnnamed1915(core.List<api.NetworkInterface> o) {
+checkUnnamed1917(core.List<api.NetworkInterface> o) {
unittest.expect(o, unittest.hasLength(2));
checkNetworkInterface(o[0]);
checkNetworkInterface(o[1]);
}
-buildUnnamed1916() {
+buildUnnamed1918() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1916(core.List<core.String> o) {
+checkUnnamed1918(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1917() {
+buildUnnamed1919() {
var o = new core.List<api.ServiceAccount>();
o.add(buildServiceAccount());
o.add(buildServiceAccount());
return o;
}
-checkUnnamed1917(core.List<api.ServiceAccount> o) {
+checkUnnamed1919(core.List<api.ServiceAccount> o) {
unittest.expect(o, unittest.hasLength(2));
checkServiceAccount(o[0]);
checkServiceAccount(o[1]);
@@ -9967,18 +9967,18 @@
o.canIpForward = true;
o.confidentialInstanceConfig = buildConfidentialInstanceConfig();
o.description = "foo";
- o.disks = buildUnnamed1912();
- o.guestAccelerators = buildUnnamed1913();
- o.labels = buildUnnamed1914();
+ o.disks = buildUnnamed1914();
+ o.guestAccelerators = buildUnnamed1915();
+ o.labels = buildUnnamed1916();
o.machineType = "foo";
o.metadata = buildMetadata();
o.minCpuPlatform = "foo";
- o.networkInterfaces = buildUnnamed1915();
+ o.networkInterfaces = buildUnnamed1917();
o.privateIpv6GoogleAccess = "foo";
o.reservationAffinity = buildReservationAffinity();
- o.resourcePolicies = buildUnnamed1916();
+ o.resourcePolicies = buildUnnamed1918();
o.scheduling = buildScheduling();
- o.serviceAccounts = buildUnnamed1917();
+ o.serviceAccounts = buildUnnamed1919();
o.shieldedInstanceConfig = buildShieldedInstanceConfig();
o.tags = buildTags();
}
@@ -9992,18 +9992,18 @@
unittest.expect(o.canIpForward, unittest.isTrue);
checkConfidentialInstanceConfig(o.confidentialInstanceConfig);
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed1912(o.disks);
- checkUnnamed1913(o.guestAccelerators);
- checkUnnamed1914(o.labels);
+ checkUnnamed1914(o.disks);
+ checkUnnamed1915(o.guestAccelerators);
+ checkUnnamed1916(o.labels);
unittest.expect(o.machineType, unittest.equals('foo'));
checkMetadata(o.metadata);
unittest.expect(o.minCpuPlatform, unittest.equals('foo'));
- checkUnnamed1915(o.networkInterfaces);
+ checkUnnamed1917(o.networkInterfaces);
unittest.expect(o.privateIpv6GoogleAccess, unittest.equals('foo'));
checkReservationAffinity(o.reservationAffinity);
- checkUnnamed1916(o.resourcePolicies);
+ checkUnnamed1918(o.resourcePolicies);
checkScheduling(o.scheduling);
- checkUnnamed1917(o.serviceAccounts);
+ checkUnnamed1919(o.serviceAccounts);
checkShieldedInstanceConfig(o.shieldedInstanceConfig);
checkTags(o.tags);
}
@@ -10064,14 +10064,14 @@
buildCounterInstanceTemplate--;
}
-buildUnnamed1918() {
+buildUnnamed1920() {
var o = new core.List<api.InstanceTemplate>();
o.add(buildInstanceTemplate());
o.add(buildInstanceTemplate());
return o;
}
-checkUnnamed1918(core.List<api.InstanceTemplate> o) {
+checkUnnamed1920(core.List<api.InstanceTemplate> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceTemplate(o[0]);
checkInstanceTemplate(o[1]);
@@ -10098,14 +10098,14 @@
buildCounterInstanceTemplateListWarningData--;
}
-buildUnnamed1919() {
+buildUnnamed1921() {
var o = new core.List<api.InstanceTemplateListWarningData>();
o.add(buildInstanceTemplateListWarningData());
o.add(buildInstanceTemplateListWarningData());
return o;
}
-checkUnnamed1919(core.List<api.InstanceTemplateListWarningData> o) {
+checkUnnamed1921(core.List<api.InstanceTemplateListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceTemplateListWarningData(o[0]);
checkInstanceTemplateListWarningData(o[1]);
@@ -10117,7 +10117,7 @@
buildCounterInstanceTemplateListWarning++;
if (buildCounterInstanceTemplateListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed1919();
+ o.data = buildUnnamed1921();
o.message = "foo";
}
buildCounterInstanceTemplateListWarning--;
@@ -10128,7 +10128,7 @@
buildCounterInstanceTemplateListWarning++;
if (buildCounterInstanceTemplateListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed1919(o.data);
+ checkUnnamed1921(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterInstanceTemplateListWarning--;
@@ -10140,7 +10140,7 @@
buildCounterInstanceTemplateList++;
if (buildCounterInstanceTemplateList < 3) {
o.id = "foo";
- o.items = buildUnnamed1918();
+ o.items = buildUnnamed1920();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -10154,7 +10154,7 @@
buildCounterInstanceTemplateList++;
if (buildCounterInstanceTemplateList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1918(o.items);
+ checkUnnamed1920(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -10163,14 +10163,14 @@
buildCounterInstanceTemplateList--;
}
-buildUnnamed1920() {
+buildUnnamed1922() {
var o = new core.List<api.NamedPort>();
o.add(buildNamedPort());
o.add(buildNamedPort());
return o;
}
-checkUnnamed1920(core.List<api.NamedPort> o) {
+checkUnnamed1922(core.List<api.NamedPort> o) {
unittest.expect(o, unittest.hasLength(2));
checkNamedPort(o[0]);
checkNamedPort(o[1]);
@@ -10182,7 +10182,7 @@
buildCounterInstanceWithNamedPorts++;
if (buildCounterInstanceWithNamedPorts < 3) {
o.instance = "foo";
- o.namedPorts = buildUnnamed1920();
+ o.namedPorts = buildUnnamed1922();
o.status = "foo";
}
buildCounterInstanceWithNamedPorts--;
@@ -10193,20 +10193,20 @@
buildCounterInstanceWithNamedPorts++;
if (buildCounterInstanceWithNamedPorts < 3) {
unittest.expect(o.instance, unittest.equals('foo'));
- checkUnnamed1920(o.namedPorts);
+ checkUnnamed1922(o.namedPorts);
unittest.expect(o.status, unittest.equals('foo'));
}
buildCounterInstanceWithNamedPorts--;
}
-buildUnnamed1921() {
+buildUnnamed1923() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1921(core.List<core.String> o) {
+checkUnnamed1923(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -10217,7 +10217,7 @@
var o = new api.InstancesAddResourcePoliciesRequest();
buildCounterInstancesAddResourcePoliciesRequest++;
if (buildCounterInstancesAddResourcePoliciesRequest < 3) {
- o.resourcePolicies = buildUnnamed1921();
+ o.resourcePolicies = buildUnnamed1923();
}
buildCounterInstancesAddResourcePoliciesRequest--;
return o;
@@ -10227,19 +10227,19 @@
api.InstancesAddResourcePoliciesRequest o) {
buildCounterInstancesAddResourcePoliciesRequest++;
if (buildCounterInstancesAddResourcePoliciesRequest < 3) {
- checkUnnamed1921(o.resourcePolicies);
+ checkUnnamed1923(o.resourcePolicies);
}
buildCounterInstancesAddResourcePoliciesRequest--;
}
-buildUnnamed1922() {
+buildUnnamed1924() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1922(core.List<core.String> o) {
+checkUnnamed1924(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -10250,7 +10250,7 @@
var o = new api.InstancesRemoveResourcePoliciesRequest();
buildCounterInstancesRemoveResourcePoliciesRequest++;
if (buildCounterInstancesRemoveResourcePoliciesRequest < 3) {
- o.resourcePolicies = buildUnnamed1922();
+ o.resourcePolicies = buildUnnamed1924();
}
buildCounterInstancesRemoveResourcePoliciesRequest--;
return o;
@@ -10260,19 +10260,19 @@
api.InstancesRemoveResourcePoliciesRequest o) {
buildCounterInstancesRemoveResourcePoliciesRequest++;
if (buildCounterInstancesRemoveResourcePoliciesRequest < 3) {
- checkUnnamed1922(o.resourcePolicies);
+ checkUnnamed1924(o.resourcePolicies);
}
buildCounterInstancesRemoveResourcePoliciesRequest--;
}
-buildUnnamed1923() {
+buildUnnamed1925() {
var o = new core.List<api.Instance>();
o.add(buildInstance());
o.add(buildInstance());
return o;
}
-checkUnnamed1923(core.List<api.Instance> o) {
+checkUnnamed1925(core.List<api.Instance> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstance(o[0]);
checkInstance(o[1]);
@@ -10299,14 +10299,14 @@
buildCounterInstancesScopedListWarningData--;
}
-buildUnnamed1924() {
+buildUnnamed1926() {
var o = new core.List<api.InstancesScopedListWarningData>();
o.add(buildInstancesScopedListWarningData());
o.add(buildInstancesScopedListWarningData());
return o;
}
-checkUnnamed1924(core.List<api.InstancesScopedListWarningData> o) {
+checkUnnamed1926(core.List<api.InstancesScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstancesScopedListWarningData(o[0]);
checkInstancesScopedListWarningData(o[1]);
@@ -10318,7 +10318,7 @@
buildCounterInstancesScopedListWarning++;
if (buildCounterInstancesScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed1924();
+ o.data = buildUnnamed1926();
o.message = "foo";
}
buildCounterInstancesScopedListWarning--;
@@ -10329,7 +10329,7 @@
buildCounterInstancesScopedListWarning++;
if (buildCounterInstancesScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed1924(o.data);
+ checkUnnamed1926(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterInstancesScopedListWarning--;
@@ -10340,7 +10340,7 @@
var o = new api.InstancesScopedList();
buildCounterInstancesScopedList++;
if (buildCounterInstancesScopedList < 3) {
- o.instances = buildUnnamed1923();
+ o.instances = buildUnnamed1925();
o.warning = buildInstancesScopedListWarning();
}
buildCounterInstancesScopedList--;
@@ -10350,20 +10350,20 @@
checkInstancesScopedList(api.InstancesScopedList o) {
buildCounterInstancesScopedList++;
if (buildCounterInstancesScopedList < 3) {
- checkUnnamed1923(o.instances);
+ checkUnnamed1925(o.instances);
checkInstancesScopedListWarning(o.warning);
}
buildCounterInstancesScopedList--;
}
-buildUnnamed1925() {
+buildUnnamed1927() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1925(core.Map<core.String, core.String> o) {
+checkUnnamed1927(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -10375,7 +10375,7 @@
buildCounterInstancesSetLabelsRequest++;
if (buildCounterInstancesSetLabelsRequest < 3) {
o.labelFingerprint = "foo";
- o.labels = buildUnnamed1925();
+ o.labels = buildUnnamed1927();
}
buildCounterInstancesSetLabelsRequest--;
return o;
@@ -10385,19 +10385,19 @@
buildCounterInstancesSetLabelsRequest++;
if (buildCounterInstancesSetLabelsRequest < 3) {
unittest.expect(o.labelFingerprint, unittest.equals('foo'));
- checkUnnamed1925(o.labels);
+ checkUnnamed1927(o.labels);
}
buildCounterInstancesSetLabelsRequest--;
}
-buildUnnamed1926() {
+buildUnnamed1928() {
var o = new core.List<api.AcceleratorConfig>();
o.add(buildAcceleratorConfig());
o.add(buildAcceleratorConfig());
return o;
}
-checkUnnamed1926(core.List<api.AcceleratorConfig> o) {
+checkUnnamed1928(core.List<api.AcceleratorConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAcceleratorConfig(o[0]);
checkAcceleratorConfig(o[1]);
@@ -10408,7 +10408,7 @@
var o = new api.InstancesSetMachineResourcesRequest();
buildCounterInstancesSetMachineResourcesRequest++;
if (buildCounterInstancesSetMachineResourcesRequest < 3) {
- o.guestAccelerators = buildUnnamed1926();
+ o.guestAccelerators = buildUnnamed1928();
}
buildCounterInstancesSetMachineResourcesRequest--;
return o;
@@ -10418,7 +10418,7 @@
api.InstancesSetMachineResourcesRequest o) {
buildCounterInstancesSetMachineResourcesRequest++;
if (buildCounterInstancesSetMachineResourcesRequest < 3) {
- checkUnnamed1926(o.guestAccelerators);
+ checkUnnamed1928(o.guestAccelerators);
}
buildCounterInstancesSetMachineResourcesRequest--;
}
@@ -10462,14 +10462,14 @@
buildCounterInstancesSetMinCpuPlatformRequest--;
}
-buildUnnamed1927() {
+buildUnnamed1929() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1927(core.List<core.String> o) {
+checkUnnamed1929(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -10481,7 +10481,7 @@
buildCounterInstancesSetServiceAccountRequest++;
if (buildCounterInstancesSetServiceAccountRequest < 3) {
o.email = "foo";
- o.scopes = buildUnnamed1927();
+ o.scopes = buildUnnamed1929();
}
buildCounterInstancesSetServiceAccountRequest--;
return o;
@@ -10492,19 +10492,19 @@
buildCounterInstancesSetServiceAccountRequest++;
if (buildCounterInstancesSetServiceAccountRequest < 3) {
unittest.expect(o.email, unittest.equals('foo'));
- checkUnnamed1927(o.scopes);
+ checkUnnamed1929(o.scopes);
}
buildCounterInstancesSetServiceAccountRequest--;
}
-buildUnnamed1928() {
+buildUnnamed1930() {
var o = new core.List<api.CustomerEncryptionKeyProtectedDisk>();
o.add(buildCustomerEncryptionKeyProtectedDisk());
o.add(buildCustomerEncryptionKeyProtectedDisk());
return o;
}
-checkUnnamed1928(core.List<api.CustomerEncryptionKeyProtectedDisk> o) {
+checkUnnamed1930(core.List<api.CustomerEncryptionKeyProtectedDisk> o) {
unittest.expect(o, unittest.hasLength(2));
checkCustomerEncryptionKeyProtectedDisk(o[0]);
checkCustomerEncryptionKeyProtectedDisk(o[1]);
@@ -10515,7 +10515,7 @@
var o = new api.InstancesStartWithEncryptionKeyRequest();
buildCounterInstancesStartWithEncryptionKeyRequest++;
if (buildCounterInstancesStartWithEncryptionKeyRequest < 3) {
- o.disks = buildUnnamed1928();
+ o.disks = buildUnnamed1930();
}
buildCounterInstancesStartWithEncryptionKeyRequest--;
return o;
@@ -10525,7 +10525,7 @@
api.InstancesStartWithEncryptionKeyRequest o) {
buildCounterInstancesStartWithEncryptionKeyRequest++;
if (buildCounterInstancesStartWithEncryptionKeyRequest < 3) {
- checkUnnamed1928(o.disks);
+ checkUnnamed1930(o.disks);
}
buildCounterInstancesStartWithEncryptionKeyRequest--;
}
@@ -10551,40 +10551,40 @@
buildCounterInt64RangeMatch--;
}
-buildUnnamed1929() {
+buildUnnamed1931() {
var o = new core.List<api.InterconnectCircuitInfo>();
o.add(buildInterconnectCircuitInfo());
o.add(buildInterconnectCircuitInfo());
return o;
}
-checkUnnamed1929(core.List<api.InterconnectCircuitInfo> o) {
+checkUnnamed1931(core.List<api.InterconnectCircuitInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkInterconnectCircuitInfo(o[0]);
checkInterconnectCircuitInfo(o[1]);
}
-buildUnnamed1930() {
+buildUnnamed1932() {
var o = new core.List<api.InterconnectOutageNotification>();
o.add(buildInterconnectOutageNotification());
o.add(buildInterconnectOutageNotification());
return o;
}
-checkUnnamed1930(core.List<api.InterconnectOutageNotification> o) {
+checkUnnamed1932(core.List<api.InterconnectOutageNotification> o) {
unittest.expect(o, unittest.hasLength(2));
checkInterconnectOutageNotification(o[0]);
checkInterconnectOutageNotification(o[1]);
}
-buildUnnamed1931() {
+buildUnnamed1933() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1931(core.List<core.String> o) {
+checkUnnamed1933(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -10596,15 +10596,15 @@
buildCounterInterconnect++;
if (buildCounterInterconnect < 3) {
o.adminEnabled = true;
- o.circuitInfos = buildUnnamed1929();
+ o.circuitInfos = buildUnnamed1931();
o.creationTimestamp = "foo";
o.customerName = "foo";
o.description = "foo";
- o.expectedOutages = buildUnnamed1930();
+ o.expectedOutages = buildUnnamed1932();
o.googleIpAddress = "foo";
o.googleReferenceId = "foo";
o.id = "foo";
- o.interconnectAttachments = buildUnnamed1931();
+ o.interconnectAttachments = buildUnnamed1933();
o.interconnectType = "foo";
o.kind = "foo";
o.linkType = "foo";
@@ -10626,15 +10626,15 @@
buildCounterInterconnect++;
if (buildCounterInterconnect < 3) {
unittest.expect(o.adminEnabled, unittest.isTrue);
- checkUnnamed1929(o.circuitInfos);
+ checkUnnamed1931(o.circuitInfos);
unittest.expect(o.creationTimestamp, unittest.equals('foo'));
unittest.expect(o.customerName, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed1930(o.expectedOutages);
+ checkUnnamed1932(o.expectedOutages);
unittest.expect(o.googleIpAddress, unittest.equals('foo'));
unittest.expect(o.googleReferenceId, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1931(o.interconnectAttachments);
+ checkUnnamed1933(o.interconnectAttachments);
unittest.expect(o.interconnectType, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.linkType, unittest.equals('foo'));
@@ -10651,14 +10651,14 @@
buildCounterInterconnect--;
}
-buildUnnamed1932() {
+buildUnnamed1934() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1932(core.List<core.String> o) {
+checkUnnamed1934(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -10671,7 +10671,7 @@
if (buildCounterInterconnectAttachment < 3) {
o.adminEnabled = true;
o.bandwidth = "foo";
- o.candidateSubnets = buildUnnamed1932();
+ o.candidateSubnets = buildUnnamed1934();
o.cloudRouterIpAddress = "foo";
o.creationTimestamp = "foo";
o.customerRouterIpAddress = "foo";
@@ -10703,7 +10703,7 @@
if (buildCounterInterconnectAttachment < 3) {
unittest.expect(o.adminEnabled, unittest.isTrue);
unittest.expect(o.bandwidth, unittest.equals('foo'));
- checkUnnamed1932(o.candidateSubnets);
+ checkUnnamed1934(o.candidateSubnets);
unittest.expect(o.cloudRouterIpAddress, unittest.equals('foo'));
unittest.expect(o.creationTimestamp, unittest.equals('foo'));
unittest.expect(o.customerRouterIpAddress, unittest.equals('foo'));
@@ -10729,28 +10729,28 @@
buildCounterInterconnectAttachment--;
}
-buildUnnamed1933() {
+buildUnnamed1935() {
var o = new core.Map<core.String, api.InterconnectAttachmentsScopedList>();
o["x"] = buildInterconnectAttachmentsScopedList();
o["y"] = buildInterconnectAttachmentsScopedList();
return o;
}
-checkUnnamed1933(
+checkUnnamed1935(
core.Map<core.String, api.InterconnectAttachmentsScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkInterconnectAttachmentsScopedList(o["x"]);
checkInterconnectAttachmentsScopedList(o["y"]);
}
-buildUnnamed1934() {
+buildUnnamed1936() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1934(core.List<core.String> o) {
+checkUnnamed1936(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -10778,14 +10778,14 @@
buildCounterInterconnectAttachmentAggregatedListWarningData--;
}
-buildUnnamed1935() {
+buildUnnamed1937() {
var o = new core.List<api.InterconnectAttachmentAggregatedListWarningData>();
o.add(buildInterconnectAttachmentAggregatedListWarningData());
o.add(buildInterconnectAttachmentAggregatedListWarningData());
return o;
}
-checkUnnamed1935(
+checkUnnamed1937(
core.List<api.InterconnectAttachmentAggregatedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkInterconnectAttachmentAggregatedListWarningData(o[0]);
@@ -10798,7 +10798,7 @@
buildCounterInterconnectAttachmentAggregatedListWarning++;
if (buildCounterInterconnectAttachmentAggregatedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed1935();
+ o.data = buildUnnamed1937();
o.message = "foo";
}
buildCounterInterconnectAttachmentAggregatedListWarning--;
@@ -10810,7 +10810,7 @@
buildCounterInterconnectAttachmentAggregatedListWarning++;
if (buildCounterInterconnectAttachmentAggregatedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed1935(o.data);
+ checkUnnamed1937(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterInterconnectAttachmentAggregatedListWarning--;
@@ -10822,11 +10822,11 @@
buildCounterInterconnectAttachmentAggregatedList++;
if (buildCounterInterconnectAttachmentAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed1933();
+ o.items = buildUnnamed1935();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
- o.unreachables = buildUnnamed1934();
+ o.unreachables = buildUnnamed1936();
o.warning = buildInterconnectAttachmentAggregatedListWarning();
}
buildCounterInterconnectAttachmentAggregatedList--;
@@ -10838,24 +10838,24 @@
buildCounterInterconnectAttachmentAggregatedList++;
if (buildCounterInterconnectAttachmentAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1933(o.items);
+ checkUnnamed1935(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
- checkUnnamed1934(o.unreachables);
+ checkUnnamed1936(o.unreachables);
checkInterconnectAttachmentAggregatedListWarning(o.warning);
}
buildCounterInterconnectAttachmentAggregatedList--;
}
-buildUnnamed1936() {
+buildUnnamed1938() {
var o = new core.List<api.InterconnectAttachment>();
o.add(buildInterconnectAttachment());
o.add(buildInterconnectAttachment());
return o;
}
-checkUnnamed1936(core.List<api.InterconnectAttachment> o) {
+checkUnnamed1938(core.List<api.InterconnectAttachment> o) {
unittest.expect(o, unittest.hasLength(2));
checkInterconnectAttachment(o[0]);
checkInterconnectAttachment(o[1]);
@@ -10883,14 +10883,14 @@
buildCounterInterconnectAttachmentListWarningData--;
}
-buildUnnamed1937() {
+buildUnnamed1939() {
var o = new core.List<api.InterconnectAttachmentListWarningData>();
o.add(buildInterconnectAttachmentListWarningData());
o.add(buildInterconnectAttachmentListWarningData());
return o;
}
-checkUnnamed1937(core.List<api.InterconnectAttachmentListWarningData> o) {
+checkUnnamed1939(core.List<api.InterconnectAttachmentListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkInterconnectAttachmentListWarningData(o[0]);
checkInterconnectAttachmentListWarningData(o[1]);
@@ -10902,7 +10902,7 @@
buildCounterInterconnectAttachmentListWarning++;
if (buildCounterInterconnectAttachmentListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed1937();
+ o.data = buildUnnamed1939();
o.message = "foo";
}
buildCounterInterconnectAttachmentListWarning--;
@@ -10914,7 +10914,7 @@
buildCounterInterconnectAttachmentListWarning++;
if (buildCounterInterconnectAttachmentListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed1937(o.data);
+ checkUnnamed1939(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterInterconnectAttachmentListWarning--;
@@ -10926,7 +10926,7 @@
buildCounterInterconnectAttachmentList++;
if (buildCounterInterconnectAttachmentList < 3) {
o.id = "foo";
- o.items = buildUnnamed1936();
+ o.items = buildUnnamed1938();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -10940,7 +10940,7 @@
buildCounterInterconnectAttachmentList++;
if (buildCounterInterconnectAttachmentList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1936(o.items);
+ checkUnnamed1938(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -10993,14 +10993,14 @@
buildCounterInterconnectAttachmentPrivateInfo--;
}
-buildUnnamed1938() {
+buildUnnamed1940() {
var o = new core.List<api.InterconnectAttachment>();
o.add(buildInterconnectAttachment());
o.add(buildInterconnectAttachment());
return o;
}
-checkUnnamed1938(core.List<api.InterconnectAttachment> o) {
+checkUnnamed1940(core.List<api.InterconnectAttachment> o) {
unittest.expect(o, unittest.hasLength(2));
checkInterconnectAttachment(o[0]);
checkInterconnectAttachment(o[1]);
@@ -11028,14 +11028,14 @@
buildCounterInterconnectAttachmentsScopedListWarningData--;
}
-buildUnnamed1939() {
+buildUnnamed1941() {
var o = new core.List<api.InterconnectAttachmentsScopedListWarningData>();
o.add(buildInterconnectAttachmentsScopedListWarningData());
o.add(buildInterconnectAttachmentsScopedListWarningData());
return o;
}
-checkUnnamed1939(
+checkUnnamed1941(
core.List<api.InterconnectAttachmentsScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkInterconnectAttachmentsScopedListWarningData(o[0]);
@@ -11048,7 +11048,7 @@
buildCounterInterconnectAttachmentsScopedListWarning++;
if (buildCounterInterconnectAttachmentsScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed1939();
+ o.data = buildUnnamed1941();
o.message = "foo";
}
buildCounterInterconnectAttachmentsScopedListWarning--;
@@ -11060,7 +11060,7 @@
buildCounterInterconnectAttachmentsScopedListWarning++;
if (buildCounterInterconnectAttachmentsScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed1939(o.data);
+ checkUnnamed1941(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterInterconnectAttachmentsScopedListWarning--;
@@ -11071,7 +11071,7 @@
var o = new api.InterconnectAttachmentsScopedList();
buildCounterInterconnectAttachmentsScopedList++;
if (buildCounterInterconnectAttachmentsScopedList < 3) {
- o.interconnectAttachments = buildUnnamed1938();
+ o.interconnectAttachments = buildUnnamed1940();
o.warning = buildInterconnectAttachmentsScopedListWarning();
}
buildCounterInterconnectAttachmentsScopedList--;
@@ -11082,7 +11082,7 @@
api.InterconnectAttachmentsScopedList o) {
buildCounterInterconnectAttachmentsScopedList++;
if (buildCounterInterconnectAttachmentsScopedList < 3) {
- checkUnnamed1938(o.interconnectAttachments);
+ checkUnnamed1940(o.interconnectAttachments);
checkInterconnectAttachmentsScopedListWarning(o.warning);
}
buildCounterInterconnectAttachmentsScopedList--;
@@ -11111,27 +11111,27 @@
buildCounterInterconnectCircuitInfo--;
}
-buildUnnamed1940() {
+buildUnnamed1942() {
var o = new core.List<api.InterconnectDiagnosticsARPEntry>();
o.add(buildInterconnectDiagnosticsARPEntry());
o.add(buildInterconnectDiagnosticsARPEntry());
return o;
}
-checkUnnamed1940(core.List<api.InterconnectDiagnosticsARPEntry> o) {
+checkUnnamed1942(core.List<api.InterconnectDiagnosticsARPEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkInterconnectDiagnosticsARPEntry(o[0]);
checkInterconnectDiagnosticsARPEntry(o[1]);
}
-buildUnnamed1941() {
+buildUnnamed1943() {
var o = new core.List<api.InterconnectDiagnosticsLinkStatus>();
o.add(buildInterconnectDiagnosticsLinkStatus());
o.add(buildInterconnectDiagnosticsLinkStatus());
return o;
}
-checkUnnamed1941(core.List<api.InterconnectDiagnosticsLinkStatus> o) {
+checkUnnamed1943(core.List<api.InterconnectDiagnosticsLinkStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkInterconnectDiagnosticsLinkStatus(o[0]);
checkInterconnectDiagnosticsLinkStatus(o[1]);
@@ -11142,8 +11142,8 @@
var o = new api.InterconnectDiagnostics();
buildCounterInterconnectDiagnostics++;
if (buildCounterInterconnectDiagnostics < 3) {
- o.arpCaches = buildUnnamed1940();
- o.links = buildUnnamed1941();
+ o.arpCaches = buildUnnamed1942();
+ o.links = buildUnnamed1943();
o.macAddress = "foo";
}
buildCounterInterconnectDiagnostics--;
@@ -11153,8 +11153,8 @@
checkInterconnectDiagnostics(api.InterconnectDiagnostics o) {
buildCounterInterconnectDiagnostics++;
if (buildCounterInterconnectDiagnostics < 3) {
- checkUnnamed1940(o.arpCaches);
- checkUnnamed1941(o.links);
+ checkUnnamed1942(o.arpCaches);
+ checkUnnamed1943(o.links);
unittest.expect(o.macAddress, unittest.equals('foo'));
}
buildCounterInterconnectDiagnostics--;
@@ -11227,14 +11227,14 @@
buildCounterInterconnectDiagnosticsLinkOpticalPower--;
}
-buildUnnamed1942() {
+buildUnnamed1944() {
var o = new core.List<api.InterconnectDiagnosticsARPEntry>();
o.add(buildInterconnectDiagnosticsARPEntry());
o.add(buildInterconnectDiagnosticsARPEntry());
return o;
}
-checkUnnamed1942(core.List<api.InterconnectDiagnosticsARPEntry> o) {
+checkUnnamed1944(core.List<api.InterconnectDiagnosticsARPEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkInterconnectDiagnosticsARPEntry(o[0]);
checkInterconnectDiagnosticsARPEntry(o[1]);
@@ -11245,7 +11245,7 @@
var o = new api.InterconnectDiagnosticsLinkStatus();
buildCounterInterconnectDiagnosticsLinkStatus++;
if (buildCounterInterconnectDiagnosticsLinkStatus < 3) {
- o.arpCaches = buildUnnamed1942();
+ o.arpCaches = buildUnnamed1944();
o.circuitId = "foo";
o.googleDemarc = "foo";
o.lacpStatus = buildInterconnectDiagnosticsLinkLACPStatus();
@@ -11260,7 +11260,7 @@
api.InterconnectDiagnosticsLinkStatus o) {
buildCounterInterconnectDiagnosticsLinkStatus++;
if (buildCounterInterconnectDiagnosticsLinkStatus < 3) {
- checkUnnamed1942(o.arpCaches);
+ checkUnnamed1944(o.arpCaches);
unittest.expect(o.circuitId, unittest.equals('foo'));
unittest.expect(o.googleDemarc, unittest.equals('foo'));
checkInterconnectDiagnosticsLinkLACPStatus(o.lacpStatus);
@@ -11270,14 +11270,14 @@
buildCounterInterconnectDiagnosticsLinkStatus--;
}
-buildUnnamed1943() {
+buildUnnamed1945() {
var o = new core.List<api.Interconnect>();
o.add(buildInterconnect());
o.add(buildInterconnect());
return o;
}
-checkUnnamed1943(core.List<api.Interconnect> o) {
+checkUnnamed1945(core.List<api.Interconnect> o) {
unittest.expect(o, unittest.hasLength(2));
checkInterconnect(o[0]);
checkInterconnect(o[1]);
@@ -11304,14 +11304,14 @@
buildCounterInterconnectListWarningData--;
}
-buildUnnamed1944() {
+buildUnnamed1946() {
var o = new core.List<api.InterconnectListWarningData>();
o.add(buildInterconnectListWarningData());
o.add(buildInterconnectListWarningData());
return o;
}
-checkUnnamed1944(core.List<api.InterconnectListWarningData> o) {
+checkUnnamed1946(core.List<api.InterconnectListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkInterconnectListWarningData(o[0]);
checkInterconnectListWarningData(o[1]);
@@ -11323,7 +11323,7 @@
buildCounterInterconnectListWarning++;
if (buildCounterInterconnectListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed1944();
+ o.data = buildUnnamed1946();
o.message = "foo";
}
buildCounterInterconnectListWarning--;
@@ -11334,7 +11334,7 @@
buildCounterInterconnectListWarning++;
if (buildCounterInterconnectListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed1944(o.data);
+ checkUnnamed1946(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterInterconnectListWarning--;
@@ -11346,7 +11346,7 @@
buildCounterInterconnectList++;
if (buildCounterInterconnectList < 3) {
o.id = "foo";
- o.items = buildUnnamed1943();
+ o.items = buildUnnamed1945();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -11360,7 +11360,7 @@
buildCounterInterconnectList++;
if (buildCounterInterconnectList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1943(o.items);
+ checkUnnamed1945(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -11369,14 +11369,14 @@
buildCounterInterconnectList--;
}
-buildUnnamed1945() {
+buildUnnamed1947() {
var o = new core.List<api.InterconnectLocationRegionInfo>();
o.add(buildInterconnectLocationRegionInfo());
o.add(buildInterconnectLocationRegionInfo());
return o;
}
-checkUnnamed1945(core.List<api.InterconnectLocationRegionInfo> o) {
+checkUnnamed1947(core.List<api.InterconnectLocationRegionInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkInterconnectLocationRegionInfo(o[0]);
checkInterconnectLocationRegionInfo(o[1]);
@@ -11399,7 +11399,7 @@
o.kind = "foo";
o.name = "foo";
o.peeringdbFacilityId = "foo";
- o.regionInfos = buildUnnamed1945();
+ o.regionInfos = buildUnnamed1947();
o.selfLink = "foo";
o.status = "foo";
}
@@ -11422,21 +11422,21 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.peeringdbFacilityId, unittest.equals('foo'));
- checkUnnamed1945(o.regionInfos);
+ checkUnnamed1947(o.regionInfos);
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals('foo'));
}
buildCounterInterconnectLocation--;
}
-buildUnnamed1946() {
+buildUnnamed1948() {
var o = new core.List<api.InterconnectLocation>();
o.add(buildInterconnectLocation());
o.add(buildInterconnectLocation());
return o;
}
-checkUnnamed1946(core.List<api.InterconnectLocation> o) {
+checkUnnamed1948(core.List<api.InterconnectLocation> o) {
unittest.expect(o, unittest.hasLength(2));
checkInterconnectLocation(o[0]);
checkInterconnectLocation(o[1]);
@@ -11464,14 +11464,14 @@
buildCounterInterconnectLocationListWarningData--;
}
-buildUnnamed1947() {
+buildUnnamed1949() {
var o = new core.List<api.InterconnectLocationListWarningData>();
o.add(buildInterconnectLocationListWarningData());
o.add(buildInterconnectLocationListWarningData());
return o;
}
-checkUnnamed1947(core.List<api.InterconnectLocationListWarningData> o) {
+checkUnnamed1949(core.List<api.InterconnectLocationListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkInterconnectLocationListWarningData(o[0]);
checkInterconnectLocationListWarningData(o[1]);
@@ -11483,7 +11483,7 @@
buildCounterInterconnectLocationListWarning++;
if (buildCounterInterconnectLocationListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed1947();
+ o.data = buildUnnamed1949();
o.message = "foo";
}
buildCounterInterconnectLocationListWarning--;
@@ -11494,7 +11494,7 @@
buildCounterInterconnectLocationListWarning++;
if (buildCounterInterconnectLocationListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed1947(o.data);
+ checkUnnamed1949(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterInterconnectLocationListWarning--;
@@ -11506,7 +11506,7 @@
buildCounterInterconnectLocationList++;
if (buildCounterInterconnectLocationList < 3) {
o.id = "foo";
- o.items = buildUnnamed1946();
+ o.items = buildUnnamed1948();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -11520,7 +11520,7 @@
buildCounterInterconnectLocationList++;
if (buildCounterInterconnectLocationList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1946(o.items);
+ checkUnnamed1948(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -11552,14 +11552,14 @@
buildCounterInterconnectLocationRegionInfo--;
}
-buildUnnamed1948() {
+buildUnnamed1950() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1948(core.List<core.String> o) {
+checkUnnamed1950(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -11570,7 +11570,7 @@
var o = new api.InterconnectOutageNotification();
buildCounterInterconnectOutageNotification++;
if (buildCounterInterconnectOutageNotification < 3) {
- o.affectedCircuits = buildUnnamed1948();
+ o.affectedCircuits = buildUnnamed1950();
o.description = "foo";
o.endTime = "foo";
o.issueType = "foo";
@@ -11586,7 +11586,7 @@
checkInterconnectOutageNotification(api.InterconnectOutageNotification o) {
buildCounterInterconnectOutageNotification++;
if (buildCounterInterconnectOutageNotification < 3) {
- checkUnnamed1948(o.affectedCircuits);
+ checkUnnamed1950(o.affectedCircuits);
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.endTime, unittest.equals('foo'));
unittest.expect(o.issueType, unittest.equals('foo'));
@@ -11655,14 +11655,14 @@
buildCounterLicense--;
}
-buildUnnamed1949() {
+buildUnnamed1951() {
var o = new core.List<api.LicenseCodeLicenseAlias>();
o.add(buildLicenseCodeLicenseAlias());
o.add(buildLicenseCodeLicenseAlias());
return o;
}
-checkUnnamed1949(core.List<api.LicenseCodeLicenseAlias> o) {
+checkUnnamed1951(core.List<api.LicenseCodeLicenseAlias> o) {
unittest.expect(o, unittest.hasLength(2));
checkLicenseCodeLicenseAlias(o[0]);
checkLicenseCodeLicenseAlias(o[1]);
@@ -11677,7 +11677,7 @@
o.description = "foo";
o.id = "foo";
o.kind = "foo";
- o.licenseAlias = buildUnnamed1949();
+ o.licenseAlias = buildUnnamed1951();
o.name = "foo";
o.selfLink = "foo";
o.state = "foo";
@@ -11694,7 +11694,7 @@
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1949(o.licenseAlias);
+ checkUnnamed1951(o.licenseAlias);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.state, unittest.equals('foo'));
@@ -11768,14 +11768,14 @@
buildCounterLicenseResourceRequirements--;
}
-buildUnnamed1950() {
+buildUnnamed1952() {
var o = new core.List<api.License>();
o.add(buildLicense());
o.add(buildLicense());
return o;
}
-checkUnnamed1950(core.List<api.License> o) {
+checkUnnamed1952(core.List<api.License> o) {
unittest.expect(o, unittest.hasLength(2));
checkLicense(o[0]);
checkLicense(o[1]);
@@ -11802,14 +11802,14 @@
buildCounterLicensesListResponseWarningData--;
}
-buildUnnamed1951() {
+buildUnnamed1953() {
var o = new core.List<api.LicensesListResponseWarningData>();
o.add(buildLicensesListResponseWarningData());
o.add(buildLicensesListResponseWarningData());
return o;
}
-checkUnnamed1951(core.List<api.LicensesListResponseWarningData> o) {
+checkUnnamed1953(core.List<api.LicensesListResponseWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkLicensesListResponseWarningData(o[0]);
checkLicensesListResponseWarningData(o[1]);
@@ -11821,7 +11821,7 @@
buildCounterLicensesListResponseWarning++;
if (buildCounterLicensesListResponseWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed1951();
+ o.data = buildUnnamed1953();
o.message = "foo";
}
buildCounterLicensesListResponseWarning--;
@@ -11832,7 +11832,7 @@
buildCounterLicensesListResponseWarning++;
if (buildCounterLicensesListResponseWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed1951(o.data);
+ checkUnnamed1953(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterLicensesListResponseWarning--;
@@ -11844,7 +11844,7 @@
buildCounterLicensesListResponse++;
if (buildCounterLicensesListResponse < 3) {
o.id = "foo";
- o.items = buildUnnamed1950();
+ o.items = buildUnnamed1952();
o.nextPageToken = "foo";
o.selfLink = "foo";
o.warning = buildLicensesListResponseWarning();
@@ -11857,7 +11857,7 @@
buildCounterLicensesListResponse++;
if (buildCounterLicensesListResponse < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1950(o.items);
+ checkUnnamed1952(o.items);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
checkLicensesListResponseWarning(o.warning);
@@ -11909,14 +11909,14 @@
buildCounterLogConfigCloudAuditOptions--;
}
-buildUnnamed1952() {
+buildUnnamed1954() {
var o = new core.List<api.LogConfigCounterOptionsCustomField>();
o.add(buildLogConfigCounterOptionsCustomField());
o.add(buildLogConfigCounterOptionsCustomField());
return o;
}
-checkUnnamed1952(core.List<api.LogConfigCounterOptionsCustomField> o) {
+checkUnnamed1954(core.List<api.LogConfigCounterOptionsCustomField> o) {
unittest.expect(o, unittest.hasLength(2));
checkLogConfigCounterOptionsCustomField(o[0]);
checkLogConfigCounterOptionsCustomField(o[1]);
@@ -11927,7 +11927,7 @@
var o = new api.LogConfigCounterOptions();
buildCounterLogConfigCounterOptions++;
if (buildCounterLogConfigCounterOptions < 3) {
- o.customFields = buildUnnamed1952();
+ o.customFields = buildUnnamed1954();
o.field = "foo";
o.metric = "foo";
}
@@ -11938,7 +11938,7 @@
checkLogConfigCounterOptions(api.LogConfigCounterOptions o) {
buildCounterLogConfigCounterOptions++;
if (buildCounterLogConfigCounterOptions < 3) {
- checkUnnamed1952(o.customFields);
+ checkUnnamed1954(o.customFields);
unittest.expect(o.field, unittest.equals('foo'));
unittest.expect(o.metric, unittest.equals('foo'));
}
@@ -12007,14 +12007,14 @@
buildCounterMachineTypeAccelerators--;
}
-buildUnnamed1953() {
+buildUnnamed1955() {
var o = new core.List<api.MachineTypeAccelerators>();
o.add(buildMachineTypeAccelerators());
o.add(buildMachineTypeAccelerators());
return o;
}
-checkUnnamed1953(core.List<api.MachineTypeAccelerators> o) {
+checkUnnamed1955(core.List<api.MachineTypeAccelerators> o) {
unittest.expect(o, unittest.hasLength(2));
checkMachineTypeAccelerators(o[0]);
checkMachineTypeAccelerators(o[1]);
@@ -12039,14 +12039,14 @@
buildCounterMachineTypeScratchDisks--;
}
-buildUnnamed1954() {
+buildUnnamed1956() {
var o = new core.List<api.MachineTypeScratchDisks>();
o.add(buildMachineTypeScratchDisks());
o.add(buildMachineTypeScratchDisks());
return o;
}
-checkUnnamed1954(core.List<api.MachineTypeScratchDisks> o) {
+checkUnnamed1956(core.List<api.MachineTypeScratchDisks> o) {
unittest.expect(o, unittest.hasLength(2));
checkMachineTypeScratchDisks(o[0]);
checkMachineTypeScratchDisks(o[1]);
@@ -12057,7 +12057,7 @@
var o = new api.MachineType();
buildCounterMachineType++;
if (buildCounterMachineType < 3) {
- o.accelerators = buildUnnamed1953();
+ o.accelerators = buildUnnamed1955();
o.creationTimestamp = "foo";
o.deprecated = buildDeprecationStatus();
o.description = "foo";
@@ -12070,7 +12070,7 @@
o.maximumPersistentDisksSizeGb = "foo";
o.memoryMb = 42;
o.name = "foo";
- o.scratchDisks = buildUnnamed1954();
+ o.scratchDisks = buildUnnamed1956();
o.selfLink = "foo";
o.zone = "foo";
}
@@ -12081,7 +12081,7 @@
checkMachineType(api.MachineType o) {
buildCounterMachineType++;
if (buildCounterMachineType < 3) {
- checkUnnamed1953(o.accelerators);
+ checkUnnamed1955(o.accelerators);
unittest.expect(o.creationTimestamp, unittest.equals('foo'));
checkDeprecationStatus(o.deprecated);
unittest.expect(o.description, unittest.equals('foo'));
@@ -12094,34 +12094,34 @@
unittest.expect(o.maximumPersistentDisksSizeGb, unittest.equals('foo'));
unittest.expect(o.memoryMb, unittest.equals(42));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1954(o.scratchDisks);
+ checkUnnamed1956(o.scratchDisks);
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.zone, unittest.equals('foo'));
}
buildCounterMachineType--;
}
-buildUnnamed1955() {
+buildUnnamed1957() {
var o = new core.Map<core.String, api.MachineTypesScopedList>();
o["x"] = buildMachineTypesScopedList();
o["y"] = buildMachineTypesScopedList();
return o;
}
-checkUnnamed1955(core.Map<core.String, api.MachineTypesScopedList> o) {
+checkUnnamed1957(core.Map<core.String, api.MachineTypesScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkMachineTypesScopedList(o["x"]);
checkMachineTypesScopedList(o["y"]);
}
-buildUnnamed1956() {
+buildUnnamed1958() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1956(core.List<core.String> o) {
+checkUnnamed1958(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -12149,14 +12149,14 @@
buildCounterMachineTypeAggregatedListWarningData--;
}
-buildUnnamed1957() {
+buildUnnamed1959() {
var o = new core.List<api.MachineTypeAggregatedListWarningData>();
o.add(buildMachineTypeAggregatedListWarningData());
o.add(buildMachineTypeAggregatedListWarningData());
return o;
}
-checkUnnamed1957(core.List<api.MachineTypeAggregatedListWarningData> o) {
+checkUnnamed1959(core.List<api.MachineTypeAggregatedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkMachineTypeAggregatedListWarningData(o[0]);
checkMachineTypeAggregatedListWarningData(o[1]);
@@ -12168,7 +12168,7 @@
buildCounterMachineTypeAggregatedListWarning++;
if (buildCounterMachineTypeAggregatedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed1957();
+ o.data = buildUnnamed1959();
o.message = "foo";
}
buildCounterMachineTypeAggregatedListWarning--;
@@ -12179,7 +12179,7 @@
buildCounterMachineTypeAggregatedListWarning++;
if (buildCounterMachineTypeAggregatedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed1957(o.data);
+ checkUnnamed1959(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterMachineTypeAggregatedListWarning--;
@@ -12191,11 +12191,11 @@
buildCounterMachineTypeAggregatedList++;
if (buildCounterMachineTypeAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed1955();
+ o.items = buildUnnamed1957();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
- o.unreachables = buildUnnamed1956();
+ o.unreachables = buildUnnamed1958();
o.warning = buildMachineTypeAggregatedListWarning();
}
buildCounterMachineTypeAggregatedList--;
@@ -12206,24 +12206,24 @@
buildCounterMachineTypeAggregatedList++;
if (buildCounterMachineTypeAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1955(o.items);
+ checkUnnamed1957(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
- checkUnnamed1956(o.unreachables);
+ checkUnnamed1958(o.unreachables);
checkMachineTypeAggregatedListWarning(o.warning);
}
buildCounterMachineTypeAggregatedList--;
}
-buildUnnamed1958() {
+buildUnnamed1960() {
var o = new core.List<api.MachineType>();
o.add(buildMachineType());
o.add(buildMachineType());
return o;
}
-checkUnnamed1958(core.List<api.MachineType> o) {
+checkUnnamed1960(core.List<api.MachineType> o) {
unittest.expect(o, unittest.hasLength(2));
checkMachineType(o[0]);
checkMachineType(o[1]);
@@ -12250,14 +12250,14 @@
buildCounterMachineTypeListWarningData--;
}
-buildUnnamed1959() {
+buildUnnamed1961() {
var o = new core.List<api.MachineTypeListWarningData>();
o.add(buildMachineTypeListWarningData());
o.add(buildMachineTypeListWarningData());
return o;
}
-checkUnnamed1959(core.List<api.MachineTypeListWarningData> o) {
+checkUnnamed1961(core.List<api.MachineTypeListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkMachineTypeListWarningData(o[0]);
checkMachineTypeListWarningData(o[1]);
@@ -12269,7 +12269,7 @@
buildCounterMachineTypeListWarning++;
if (buildCounterMachineTypeListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed1959();
+ o.data = buildUnnamed1961();
o.message = "foo";
}
buildCounterMachineTypeListWarning--;
@@ -12280,7 +12280,7 @@
buildCounterMachineTypeListWarning++;
if (buildCounterMachineTypeListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed1959(o.data);
+ checkUnnamed1961(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterMachineTypeListWarning--;
@@ -12292,7 +12292,7 @@
buildCounterMachineTypeList++;
if (buildCounterMachineTypeList < 3) {
o.id = "foo";
- o.items = buildUnnamed1958();
+ o.items = buildUnnamed1960();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -12306,7 +12306,7 @@
buildCounterMachineTypeList++;
if (buildCounterMachineTypeList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1958(o.items);
+ checkUnnamed1960(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -12315,14 +12315,14 @@
buildCounterMachineTypeList--;
}
-buildUnnamed1960() {
+buildUnnamed1962() {
var o = new core.List<api.MachineType>();
o.add(buildMachineType());
o.add(buildMachineType());
return o;
}
-checkUnnamed1960(core.List<api.MachineType> o) {
+checkUnnamed1962(core.List<api.MachineType> o) {
unittest.expect(o, unittest.hasLength(2));
checkMachineType(o[0]);
checkMachineType(o[1]);
@@ -12350,14 +12350,14 @@
buildCounterMachineTypesScopedListWarningData--;
}
-buildUnnamed1961() {
+buildUnnamed1963() {
var o = new core.List<api.MachineTypesScopedListWarningData>();
o.add(buildMachineTypesScopedListWarningData());
o.add(buildMachineTypesScopedListWarningData());
return o;
}
-checkUnnamed1961(core.List<api.MachineTypesScopedListWarningData> o) {
+checkUnnamed1963(core.List<api.MachineTypesScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkMachineTypesScopedListWarningData(o[0]);
checkMachineTypesScopedListWarningData(o[1]);
@@ -12369,7 +12369,7 @@
buildCounterMachineTypesScopedListWarning++;
if (buildCounterMachineTypesScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed1961();
+ o.data = buildUnnamed1963();
o.message = "foo";
}
buildCounterMachineTypesScopedListWarning--;
@@ -12380,7 +12380,7 @@
buildCounterMachineTypesScopedListWarning++;
if (buildCounterMachineTypesScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed1961(o.data);
+ checkUnnamed1963(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterMachineTypesScopedListWarning--;
@@ -12391,7 +12391,7 @@
var o = new api.MachineTypesScopedList();
buildCounterMachineTypesScopedList++;
if (buildCounterMachineTypesScopedList < 3) {
- o.machineTypes = buildUnnamed1960();
+ o.machineTypes = buildUnnamed1962();
o.warning = buildMachineTypesScopedListWarning();
}
buildCounterMachineTypesScopedList--;
@@ -12401,20 +12401,20 @@
checkMachineTypesScopedList(api.MachineTypesScopedList o) {
buildCounterMachineTypesScopedList++;
if (buildCounterMachineTypesScopedList < 3) {
- checkUnnamed1960(o.machineTypes);
+ checkUnnamed1962(o.machineTypes);
checkMachineTypesScopedListWarning(o.warning);
}
buildCounterMachineTypesScopedList--;
}
-buildUnnamed1962() {
+buildUnnamed1964() {
var o = new core.List<api.ManagedInstanceInstanceHealth>();
o.add(buildManagedInstanceInstanceHealth());
o.add(buildManagedInstanceInstanceHealth());
return o;
}
-checkUnnamed1962(core.List<api.ManagedInstanceInstanceHealth> o) {
+checkUnnamed1964(core.List<api.ManagedInstanceInstanceHealth> o) {
unittest.expect(o, unittest.hasLength(2));
checkManagedInstanceInstanceHealth(o[0]);
checkManagedInstanceInstanceHealth(o[1]);
@@ -12428,7 +12428,7 @@
o.currentAction = "foo";
o.id = "foo";
o.instance = "foo";
- o.instanceHealth = buildUnnamed1962();
+ o.instanceHealth = buildUnnamed1964();
o.instanceStatus = "foo";
o.lastAttempt = buildManagedInstanceLastAttempt();
o.preservedStateFromConfig = buildPreservedState();
@@ -12445,7 +12445,7 @@
unittest.expect(o.currentAction, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.instance, unittest.equals('foo'));
- checkUnnamed1962(o.instanceHealth);
+ checkUnnamed1964(o.instanceHealth);
unittest.expect(o.instanceStatus, unittest.equals('foo'));
checkManagedInstanceLastAttempt(o.lastAttempt);
checkPreservedState(o.preservedStateFromConfig);
@@ -12500,14 +12500,14 @@
buildCounterManagedInstanceLastAttemptErrorsErrors--;
}
-buildUnnamed1963() {
+buildUnnamed1965() {
var o = new core.List<api.ManagedInstanceLastAttemptErrorsErrors>();
o.add(buildManagedInstanceLastAttemptErrorsErrors());
o.add(buildManagedInstanceLastAttemptErrorsErrors());
return o;
}
-checkUnnamed1963(core.List<api.ManagedInstanceLastAttemptErrorsErrors> o) {
+checkUnnamed1965(core.List<api.ManagedInstanceLastAttemptErrorsErrors> o) {
unittest.expect(o, unittest.hasLength(2));
checkManagedInstanceLastAttemptErrorsErrors(o[0]);
checkManagedInstanceLastAttemptErrorsErrors(o[1]);
@@ -12518,7 +12518,7 @@
var o = new api.ManagedInstanceLastAttemptErrors();
buildCounterManagedInstanceLastAttemptErrors++;
if (buildCounterManagedInstanceLastAttemptErrors < 3) {
- o.errors = buildUnnamed1963();
+ o.errors = buildUnnamed1965();
}
buildCounterManagedInstanceLastAttemptErrors--;
return o;
@@ -12527,7 +12527,7 @@
checkManagedInstanceLastAttemptErrors(api.ManagedInstanceLastAttemptErrors o) {
buildCounterManagedInstanceLastAttemptErrors++;
if (buildCounterManagedInstanceLastAttemptErrors < 3) {
- checkUnnamed1963(o.errors);
+ checkUnnamed1965(o.errors);
}
buildCounterManagedInstanceLastAttemptErrors--;
}
@@ -12593,14 +12593,14 @@
buildCounterMetadataItems--;
}
-buildUnnamed1964() {
+buildUnnamed1966() {
var o = new core.List<api.MetadataItems>();
o.add(buildMetadataItems());
o.add(buildMetadataItems());
return o;
}
-checkUnnamed1964(core.List<api.MetadataItems> o) {
+checkUnnamed1966(core.List<api.MetadataItems> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetadataItems(o[0]);
checkMetadataItems(o[1]);
@@ -12612,7 +12612,7 @@
buildCounterMetadata++;
if (buildCounterMetadata < 3) {
o.fingerprint = "foo";
- o.items = buildUnnamed1964();
+ o.items = buildUnnamed1966();
o.kind = "foo";
}
buildCounterMetadata--;
@@ -12623,20 +12623,20 @@
buildCounterMetadata++;
if (buildCounterMetadata < 3) {
unittest.expect(o.fingerprint, unittest.equals('foo'));
- checkUnnamed1964(o.items);
+ checkUnnamed1966(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterMetadata--;
}
-buildUnnamed1965() {
+buildUnnamed1967() {
var o = new core.List<api.MetadataFilterLabelMatch>();
o.add(buildMetadataFilterLabelMatch());
o.add(buildMetadataFilterLabelMatch());
return o;
}
-checkUnnamed1965(core.List<api.MetadataFilterLabelMatch> o) {
+checkUnnamed1967(core.List<api.MetadataFilterLabelMatch> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetadataFilterLabelMatch(o[0]);
checkMetadataFilterLabelMatch(o[1]);
@@ -12647,7 +12647,7 @@
var o = new api.MetadataFilter();
buildCounterMetadataFilter++;
if (buildCounterMetadataFilter < 3) {
- o.filterLabels = buildUnnamed1965();
+ o.filterLabels = buildUnnamed1967();
o.filterMatchCriteria = "foo";
}
buildCounterMetadataFilter--;
@@ -12657,7 +12657,7 @@
checkMetadataFilter(api.MetadataFilter o) {
buildCounterMetadataFilter++;
if (buildCounterMetadataFilter < 3) {
- checkUnnamed1965(o.filterLabels);
+ checkUnnamed1967(o.filterLabels);
unittest.expect(o.filterMatchCriteria, unittest.equals('foo'));
}
buildCounterMetadataFilter--;
@@ -12705,27 +12705,27 @@
buildCounterNamedPort--;
}
-buildUnnamed1966() {
+buildUnnamed1968() {
var o = new core.List<api.NetworkPeering>();
o.add(buildNetworkPeering());
o.add(buildNetworkPeering());
return o;
}
-checkUnnamed1966(core.List<api.NetworkPeering> o) {
+checkUnnamed1968(core.List<api.NetworkPeering> o) {
unittest.expect(o, unittest.hasLength(2));
checkNetworkPeering(o[0]);
checkNetworkPeering(o[1]);
}
-buildUnnamed1967() {
+buildUnnamed1969() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1967(core.List<core.String> o) {
+checkUnnamed1969(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -12745,10 +12745,10 @@
o.kind = "foo";
o.mtu = 42;
o.name = "foo";
- o.peerings = buildUnnamed1966();
+ o.peerings = buildUnnamed1968();
o.routingConfig = buildNetworkRoutingConfig();
o.selfLink = "foo";
- o.subnetworks = buildUnnamed1967();
+ o.subnetworks = buildUnnamed1969();
}
buildCounterNetwork--;
return o;
@@ -12766,22 +12766,22 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.mtu, unittest.equals(42));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1966(o.peerings);
+ checkUnnamed1968(o.peerings);
checkNetworkRoutingConfig(o.routingConfig);
unittest.expect(o.selfLink, unittest.equals('foo'));
- checkUnnamed1967(o.subnetworks);
+ checkUnnamed1969(o.subnetworks);
}
buildCounterNetwork--;
}
-buildUnnamed1968() {
+buildUnnamed1970() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1968(core.Map<core.String, core.String> o) {
+checkUnnamed1970(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -12792,7 +12792,7 @@
var o = new api.NetworkEndpoint();
buildCounterNetworkEndpoint++;
if (buildCounterNetworkEndpoint < 3) {
- o.annotations = buildUnnamed1968();
+ o.annotations = buildUnnamed1970();
o.fqdn = "foo";
o.instance = "foo";
o.ipAddress = "foo";
@@ -12805,7 +12805,7 @@
checkNetworkEndpoint(api.NetworkEndpoint o) {
buildCounterNetworkEndpoint++;
if (buildCounterNetworkEndpoint < 3) {
- checkUnnamed1968(o.annotations);
+ checkUnnamed1970(o.annotations);
unittest.expect(o.fqdn, unittest.equals('foo'));
unittest.expect(o.instance, unittest.equals('foo'));
unittest.expect(o.ipAddress, unittest.equals('foo'));
@@ -12814,14 +12814,14 @@
buildCounterNetworkEndpoint--;
}
-buildUnnamed1969() {
+buildUnnamed1971() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1969(core.Map<core.String, core.String> o) {
+checkUnnamed1971(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -12832,7 +12832,7 @@
var o = new api.NetworkEndpointGroup();
buildCounterNetworkEndpointGroup++;
if (buildCounterNetworkEndpointGroup < 3) {
- o.annotations = buildUnnamed1969();
+ o.annotations = buildUnnamed1971();
o.appEngine = buildNetworkEndpointGroupAppEngine();
o.cloudFunction = buildNetworkEndpointGroupCloudFunction();
o.cloudRun = buildNetworkEndpointGroupCloudRun();
@@ -12857,7 +12857,7 @@
checkNetworkEndpointGroup(api.NetworkEndpointGroup o) {
buildCounterNetworkEndpointGroup++;
if (buildCounterNetworkEndpointGroup < 3) {
- checkUnnamed1969(o.annotations);
+ checkUnnamed1971(o.annotations);
checkNetworkEndpointGroupAppEngine(o.appEngine);
checkNetworkEndpointGroupCloudFunction(o.cloudFunction);
checkNetworkEndpointGroupCloudRun(o.cloudRun);
@@ -12878,27 +12878,27 @@
buildCounterNetworkEndpointGroup--;
}
-buildUnnamed1970() {
+buildUnnamed1972() {
var o = new core.Map<core.String, api.NetworkEndpointGroupsScopedList>();
o["x"] = buildNetworkEndpointGroupsScopedList();
o["y"] = buildNetworkEndpointGroupsScopedList();
return o;
}
-checkUnnamed1970(core.Map<core.String, api.NetworkEndpointGroupsScopedList> o) {
+checkUnnamed1972(core.Map<core.String, api.NetworkEndpointGroupsScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkNetworkEndpointGroupsScopedList(o["x"]);
checkNetworkEndpointGroupsScopedList(o["y"]);
}
-buildUnnamed1971() {
+buildUnnamed1973() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1971(core.List<core.String> o) {
+checkUnnamed1973(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -12926,14 +12926,14 @@
buildCounterNetworkEndpointGroupAggregatedListWarningData--;
}
-buildUnnamed1972() {
+buildUnnamed1974() {
var o = new core.List<api.NetworkEndpointGroupAggregatedListWarningData>();
o.add(buildNetworkEndpointGroupAggregatedListWarningData());
o.add(buildNetworkEndpointGroupAggregatedListWarningData());
return o;
}
-checkUnnamed1972(
+checkUnnamed1974(
core.List<api.NetworkEndpointGroupAggregatedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkNetworkEndpointGroupAggregatedListWarningData(o[0]);
@@ -12946,7 +12946,7 @@
buildCounterNetworkEndpointGroupAggregatedListWarning++;
if (buildCounterNetworkEndpointGroupAggregatedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed1972();
+ o.data = buildUnnamed1974();
o.message = "foo";
}
buildCounterNetworkEndpointGroupAggregatedListWarning--;
@@ -12958,7 +12958,7 @@
buildCounterNetworkEndpointGroupAggregatedListWarning++;
if (buildCounterNetworkEndpointGroupAggregatedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed1972(o.data);
+ checkUnnamed1974(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterNetworkEndpointGroupAggregatedListWarning--;
@@ -12970,11 +12970,11 @@
buildCounterNetworkEndpointGroupAggregatedList++;
if (buildCounterNetworkEndpointGroupAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed1970();
+ o.items = buildUnnamed1972();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
- o.unreachables = buildUnnamed1971();
+ o.unreachables = buildUnnamed1973();
o.warning = buildNetworkEndpointGroupAggregatedListWarning();
}
buildCounterNetworkEndpointGroupAggregatedList--;
@@ -12986,11 +12986,11 @@
buildCounterNetworkEndpointGroupAggregatedList++;
if (buildCounterNetworkEndpointGroupAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1970(o.items);
+ checkUnnamed1972(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
- checkUnnamed1971(o.unreachables);
+ checkUnnamed1973(o.unreachables);
checkNetworkEndpointGroupAggregatedListWarning(o.warning);
}
buildCounterNetworkEndpointGroupAggregatedList--;
@@ -13064,14 +13064,14 @@
buildCounterNetworkEndpointGroupCloudRun--;
}
-buildUnnamed1973() {
+buildUnnamed1975() {
var o = new core.List<api.NetworkEndpointGroup>();
o.add(buildNetworkEndpointGroup());
o.add(buildNetworkEndpointGroup());
return o;
}
-checkUnnamed1973(core.List<api.NetworkEndpointGroup> o) {
+checkUnnamed1975(core.List<api.NetworkEndpointGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkNetworkEndpointGroup(o[0]);
checkNetworkEndpointGroup(o[1]);
@@ -13099,14 +13099,14 @@
buildCounterNetworkEndpointGroupListWarningData--;
}
-buildUnnamed1974() {
+buildUnnamed1976() {
var o = new core.List<api.NetworkEndpointGroupListWarningData>();
o.add(buildNetworkEndpointGroupListWarningData());
o.add(buildNetworkEndpointGroupListWarningData());
return o;
}
-checkUnnamed1974(core.List<api.NetworkEndpointGroupListWarningData> o) {
+checkUnnamed1976(core.List<api.NetworkEndpointGroupListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkNetworkEndpointGroupListWarningData(o[0]);
checkNetworkEndpointGroupListWarningData(o[1]);
@@ -13118,7 +13118,7 @@
buildCounterNetworkEndpointGroupListWarning++;
if (buildCounterNetworkEndpointGroupListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed1974();
+ o.data = buildUnnamed1976();
o.message = "foo";
}
buildCounterNetworkEndpointGroupListWarning--;
@@ -13129,7 +13129,7 @@
buildCounterNetworkEndpointGroupListWarning++;
if (buildCounterNetworkEndpointGroupListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed1974(o.data);
+ checkUnnamed1976(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterNetworkEndpointGroupListWarning--;
@@ -13141,7 +13141,7 @@
buildCounterNetworkEndpointGroupList++;
if (buildCounterNetworkEndpointGroupList < 3) {
o.id = "foo";
- o.items = buildUnnamed1973();
+ o.items = buildUnnamed1975();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -13155,7 +13155,7 @@
buildCounterNetworkEndpointGroupList++;
if (buildCounterNetworkEndpointGroupList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1973(o.items);
+ checkUnnamed1975(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -13164,14 +13164,14 @@
buildCounterNetworkEndpointGroupList--;
}
-buildUnnamed1975() {
+buildUnnamed1977() {
var o = new core.List<api.NetworkEndpoint>();
o.add(buildNetworkEndpoint());
o.add(buildNetworkEndpoint());
return o;
}
-checkUnnamed1975(core.List<api.NetworkEndpoint> o) {
+checkUnnamed1977(core.List<api.NetworkEndpoint> o) {
unittest.expect(o, unittest.hasLength(2));
checkNetworkEndpoint(o[0]);
checkNetworkEndpoint(o[1]);
@@ -13182,7 +13182,7 @@
var o = new api.NetworkEndpointGroupsAttachEndpointsRequest();
buildCounterNetworkEndpointGroupsAttachEndpointsRequest++;
if (buildCounterNetworkEndpointGroupsAttachEndpointsRequest < 3) {
- o.networkEndpoints = buildUnnamed1975();
+ o.networkEndpoints = buildUnnamed1977();
}
buildCounterNetworkEndpointGroupsAttachEndpointsRequest--;
return o;
@@ -13192,19 +13192,19 @@
api.NetworkEndpointGroupsAttachEndpointsRequest o) {
buildCounterNetworkEndpointGroupsAttachEndpointsRequest++;
if (buildCounterNetworkEndpointGroupsAttachEndpointsRequest < 3) {
- checkUnnamed1975(o.networkEndpoints);
+ checkUnnamed1977(o.networkEndpoints);
}
buildCounterNetworkEndpointGroupsAttachEndpointsRequest--;
}
-buildUnnamed1976() {
+buildUnnamed1978() {
var o = new core.List<api.NetworkEndpoint>();
o.add(buildNetworkEndpoint());
o.add(buildNetworkEndpoint());
return o;
}
-checkUnnamed1976(core.List<api.NetworkEndpoint> o) {
+checkUnnamed1978(core.List<api.NetworkEndpoint> o) {
unittest.expect(o, unittest.hasLength(2));
checkNetworkEndpoint(o[0]);
checkNetworkEndpoint(o[1]);
@@ -13215,7 +13215,7 @@
var o = new api.NetworkEndpointGroupsDetachEndpointsRequest();
buildCounterNetworkEndpointGroupsDetachEndpointsRequest++;
if (buildCounterNetworkEndpointGroupsDetachEndpointsRequest < 3) {
- o.networkEndpoints = buildUnnamed1976();
+ o.networkEndpoints = buildUnnamed1978();
}
buildCounterNetworkEndpointGroupsDetachEndpointsRequest--;
return o;
@@ -13225,7 +13225,7 @@
api.NetworkEndpointGroupsDetachEndpointsRequest o) {
buildCounterNetworkEndpointGroupsDetachEndpointsRequest++;
if (buildCounterNetworkEndpointGroupsDetachEndpointsRequest < 3) {
- checkUnnamed1976(o.networkEndpoints);
+ checkUnnamed1978(o.networkEndpoints);
}
buildCounterNetworkEndpointGroupsDetachEndpointsRequest--;
}
@@ -13250,14 +13250,14 @@
buildCounterNetworkEndpointGroupsListEndpointsRequest--;
}
-buildUnnamed1977() {
+buildUnnamed1979() {
var o = new core.List<api.NetworkEndpointWithHealthStatus>();
o.add(buildNetworkEndpointWithHealthStatus());
o.add(buildNetworkEndpointWithHealthStatus());
return o;
}
-checkUnnamed1977(core.List<api.NetworkEndpointWithHealthStatus> o) {
+checkUnnamed1979(core.List<api.NetworkEndpointWithHealthStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkNetworkEndpointWithHealthStatus(o[0]);
checkNetworkEndpointWithHealthStatus(o[1]);
@@ -13285,7 +13285,7 @@
buildCounterNetworkEndpointGroupsListNetworkEndpointsWarningData--;
}
-buildUnnamed1978() {
+buildUnnamed1980() {
var o =
new core.List<api.NetworkEndpointGroupsListNetworkEndpointsWarningData>();
o.add(buildNetworkEndpointGroupsListNetworkEndpointsWarningData());
@@ -13293,7 +13293,7 @@
return o;
}
-checkUnnamed1978(
+checkUnnamed1980(
core.List<api.NetworkEndpointGroupsListNetworkEndpointsWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkNetworkEndpointGroupsListNetworkEndpointsWarningData(o[0]);
@@ -13306,7 +13306,7 @@
buildCounterNetworkEndpointGroupsListNetworkEndpointsWarning++;
if (buildCounterNetworkEndpointGroupsListNetworkEndpointsWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed1978();
+ o.data = buildUnnamed1980();
o.message = "foo";
}
buildCounterNetworkEndpointGroupsListNetworkEndpointsWarning--;
@@ -13318,7 +13318,7 @@
buildCounterNetworkEndpointGroupsListNetworkEndpointsWarning++;
if (buildCounterNetworkEndpointGroupsListNetworkEndpointsWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed1978(o.data);
+ checkUnnamed1980(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterNetworkEndpointGroupsListNetworkEndpointsWarning--;
@@ -13330,7 +13330,7 @@
buildCounterNetworkEndpointGroupsListNetworkEndpoints++;
if (buildCounterNetworkEndpointGroupsListNetworkEndpoints < 3) {
o.id = "foo";
- o.items = buildUnnamed1977();
+ o.items = buildUnnamed1979();
o.kind = "foo";
o.nextPageToken = "foo";
o.warning = buildNetworkEndpointGroupsListNetworkEndpointsWarning();
@@ -13344,7 +13344,7 @@
buildCounterNetworkEndpointGroupsListNetworkEndpoints++;
if (buildCounterNetworkEndpointGroupsListNetworkEndpoints < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1977(o.items);
+ checkUnnamed1979(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkNetworkEndpointGroupsListNetworkEndpointsWarning(o.warning);
@@ -13352,14 +13352,14 @@
buildCounterNetworkEndpointGroupsListNetworkEndpoints--;
}
-buildUnnamed1979() {
+buildUnnamed1981() {
var o = new core.List<api.NetworkEndpointGroup>();
o.add(buildNetworkEndpointGroup());
o.add(buildNetworkEndpointGroup());
return o;
}
-checkUnnamed1979(core.List<api.NetworkEndpointGroup> o) {
+checkUnnamed1981(core.List<api.NetworkEndpointGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkNetworkEndpointGroup(o[0]);
checkNetworkEndpointGroup(o[1]);
@@ -13387,14 +13387,14 @@
buildCounterNetworkEndpointGroupsScopedListWarningData--;
}
-buildUnnamed1980() {
+buildUnnamed1982() {
var o = new core.List<api.NetworkEndpointGroupsScopedListWarningData>();
o.add(buildNetworkEndpointGroupsScopedListWarningData());
o.add(buildNetworkEndpointGroupsScopedListWarningData());
return o;
}
-checkUnnamed1980(core.List<api.NetworkEndpointGroupsScopedListWarningData> o) {
+checkUnnamed1982(core.List<api.NetworkEndpointGroupsScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkNetworkEndpointGroupsScopedListWarningData(o[0]);
checkNetworkEndpointGroupsScopedListWarningData(o[1]);
@@ -13406,7 +13406,7 @@
buildCounterNetworkEndpointGroupsScopedListWarning++;
if (buildCounterNetworkEndpointGroupsScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed1980();
+ o.data = buildUnnamed1982();
o.message = "foo";
}
buildCounterNetworkEndpointGroupsScopedListWarning--;
@@ -13418,7 +13418,7 @@
buildCounterNetworkEndpointGroupsScopedListWarning++;
if (buildCounterNetworkEndpointGroupsScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed1980(o.data);
+ checkUnnamed1982(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterNetworkEndpointGroupsScopedListWarning--;
@@ -13429,7 +13429,7 @@
var o = new api.NetworkEndpointGroupsScopedList();
buildCounterNetworkEndpointGroupsScopedList++;
if (buildCounterNetworkEndpointGroupsScopedList < 3) {
- o.networkEndpointGroups = buildUnnamed1979();
+ o.networkEndpointGroups = buildUnnamed1981();
o.warning = buildNetworkEndpointGroupsScopedListWarning();
}
buildCounterNetworkEndpointGroupsScopedList--;
@@ -13439,20 +13439,20 @@
checkNetworkEndpointGroupsScopedList(api.NetworkEndpointGroupsScopedList o) {
buildCounterNetworkEndpointGroupsScopedList++;
if (buildCounterNetworkEndpointGroupsScopedList < 3) {
- checkUnnamed1979(o.networkEndpointGroups);
+ checkUnnamed1981(o.networkEndpointGroups);
checkNetworkEndpointGroupsScopedListWarning(o.warning);
}
buildCounterNetworkEndpointGroupsScopedList--;
}
-buildUnnamed1981() {
+buildUnnamed1983() {
var o = new core.List<api.HealthStatusForNetworkEndpoint>();
o.add(buildHealthStatusForNetworkEndpoint());
o.add(buildHealthStatusForNetworkEndpoint());
return o;
}
-checkUnnamed1981(core.List<api.HealthStatusForNetworkEndpoint> o) {
+checkUnnamed1983(core.List<api.HealthStatusForNetworkEndpoint> o) {
unittest.expect(o, unittest.hasLength(2));
checkHealthStatusForNetworkEndpoint(o[0]);
checkHealthStatusForNetworkEndpoint(o[1]);
@@ -13463,7 +13463,7 @@
var o = new api.NetworkEndpointWithHealthStatus();
buildCounterNetworkEndpointWithHealthStatus++;
if (buildCounterNetworkEndpointWithHealthStatus < 3) {
- o.healths = buildUnnamed1981();
+ o.healths = buildUnnamed1983();
o.networkEndpoint = buildNetworkEndpoint();
}
buildCounterNetworkEndpointWithHealthStatus--;
@@ -13473,33 +13473,33 @@
checkNetworkEndpointWithHealthStatus(api.NetworkEndpointWithHealthStatus o) {
buildCounterNetworkEndpointWithHealthStatus++;
if (buildCounterNetworkEndpointWithHealthStatus < 3) {
- checkUnnamed1981(o.healths);
+ checkUnnamed1983(o.healths);
checkNetworkEndpoint(o.networkEndpoint);
}
buildCounterNetworkEndpointWithHealthStatus--;
}
-buildUnnamed1982() {
+buildUnnamed1984() {
var o = new core.List<api.AccessConfig>();
o.add(buildAccessConfig());
o.add(buildAccessConfig());
return o;
}
-checkUnnamed1982(core.List<api.AccessConfig> o) {
+checkUnnamed1984(core.List<api.AccessConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccessConfig(o[0]);
checkAccessConfig(o[1]);
}
-buildUnnamed1983() {
+buildUnnamed1985() {
var o = new core.List<api.AliasIpRange>();
o.add(buildAliasIpRange());
o.add(buildAliasIpRange());
return o;
}
-checkUnnamed1983(core.List<api.AliasIpRange> o) {
+checkUnnamed1985(core.List<api.AliasIpRange> o) {
unittest.expect(o, unittest.hasLength(2));
checkAliasIpRange(o[0]);
checkAliasIpRange(o[1]);
@@ -13510,8 +13510,8 @@
var o = new api.NetworkInterface();
buildCounterNetworkInterface++;
if (buildCounterNetworkInterface < 3) {
- o.accessConfigs = buildUnnamed1982();
- o.aliasIpRanges = buildUnnamed1983();
+ o.accessConfigs = buildUnnamed1984();
+ o.aliasIpRanges = buildUnnamed1985();
o.fingerprint = "foo";
o.ipv6Address = "foo";
o.kind = "foo";
@@ -13527,8 +13527,8 @@
checkNetworkInterface(api.NetworkInterface o) {
buildCounterNetworkInterface++;
if (buildCounterNetworkInterface < 3) {
- checkUnnamed1982(o.accessConfigs);
- checkUnnamed1983(o.aliasIpRanges);
+ checkUnnamed1984(o.accessConfigs);
+ checkUnnamed1985(o.aliasIpRanges);
unittest.expect(o.fingerprint, unittest.equals('foo'));
unittest.expect(o.ipv6Address, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
@@ -13540,14 +13540,14 @@
buildCounterNetworkInterface--;
}
-buildUnnamed1984() {
+buildUnnamed1986() {
var o = new core.List<api.Network>();
o.add(buildNetwork());
o.add(buildNetwork());
return o;
}
-checkUnnamed1984(core.List<api.Network> o) {
+checkUnnamed1986(core.List<api.Network> o) {
unittest.expect(o, unittest.hasLength(2));
checkNetwork(o[0]);
checkNetwork(o[1]);
@@ -13574,14 +13574,14 @@
buildCounterNetworkListWarningData--;
}
-buildUnnamed1985() {
+buildUnnamed1987() {
var o = new core.List<api.NetworkListWarningData>();
o.add(buildNetworkListWarningData());
o.add(buildNetworkListWarningData());
return o;
}
-checkUnnamed1985(core.List<api.NetworkListWarningData> o) {
+checkUnnamed1987(core.List<api.NetworkListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkNetworkListWarningData(o[0]);
checkNetworkListWarningData(o[1]);
@@ -13593,7 +13593,7 @@
buildCounterNetworkListWarning++;
if (buildCounterNetworkListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed1985();
+ o.data = buildUnnamed1987();
o.message = "foo";
}
buildCounterNetworkListWarning--;
@@ -13604,7 +13604,7 @@
buildCounterNetworkListWarning++;
if (buildCounterNetworkListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed1985(o.data);
+ checkUnnamed1987(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterNetworkListWarning--;
@@ -13616,7 +13616,7 @@
buildCounterNetworkList++;
if (buildCounterNetworkList < 3) {
o.id = "foo";
- o.items = buildUnnamed1984();
+ o.items = buildUnnamed1986();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -13630,7 +13630,7 @@
buildCounterNetworkList++;
if (buildCounterNetworkList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1984(o.items);
+ checkUnnamed1986(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -13803,27 +13803,27 @@
buildCounterNodeGroup--;
}
-buildUnnamed1986() {
+buildUnnamed1988() {
var o = new core.Map<core.String, api.NodeGroupsScopedList>();
o["x"] = buildNodeGroupsScopedList();
o["y"] = buildNodeGroupsScopedList();
return o;
}
-checkUnnamed1986(core.Map<core.String, api.NodeGroupsScopedList> o) {
+checkUnnamed1988(core.Map<core.String, api.NodeGroupsScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkNodeGroupsScopedList(o["x"]);
checkNodeGroupsScopedList(o["y"]);
}
-buildUnnamed1987() {
+buildUnnamed1989() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1987(core.List<core.String> o) {
+checkUnnamed1989(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -13851,14 +13851,14 @@
buildCounterNodeGroupAggregatedListWarningData--;
}
-buildUnnamed1988() {
+buildUnnamed1990() {
var o = new core.List<api.NodeGroupAggregatedListWarningData>();
o.add(buildNodeGroupAggregatedListWarningData());
o.add(buildNodeGroupAggregatedListWarningData());
return o;
}
-checkUnnamed1988(core.List<api.NodeGroupAggregatedListWarningData> o) {
+checkUnnamed1990(core.List<api.NodeGroupAggregatedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkNodeGroupAggregatedListWarningData(o[0]);
checkNodeGroupAggregatedListWarningData(o[1]);
@@ -13870,7 +13870,7 @@
buildCounterNodeGroupAggregatedListWarning++;
if (buildCounterNodeGroupAggregatedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed1988();
+ o.data = buildUnnamed1990();
o.message = "foo";
}
buildCounterNodeGroupAggregatedListWarning--;
@@ -13881,7 +13881,7 @@
buildCounterNodeGroupAggregatedListWarning++;
if (buildCounterNodeGroupAggregatedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed1988(o.data);
+ checkUnnamed1990(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterNodeGroupAggregatedListWarning--;
@@ -13893,11 +13893,11 @@
buildCounterNodeGroupAggregatedList++;
if (buildCounterNodeGroupAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed1986();
+ o.items = buildUnnamed1988();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
- o.unreachables = buildUnnamed1987();
+ o.unreachables = buildUnnamed1989();
o.warning = buildNodeGroupAggregatedListWarning();
}
buildCounterNodeGroupAggregatedList--;
@@ -13908,11 +13908,11 @@
buildCounterNodeGroupAggregatedList++;
if (buildCounterNodeGroupAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1986(o.items);
+ checkUnnamed1988(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
- checkUnnamed1987(o.unreachables);
+ checkUnnamed1989(o.unreachables);
checkNodeGroupAggregatedListWarning(o.warning);
}
buildCounterNodeGroupAggregatedList--;
@@ -13941,14 +13941,14 @@
buildCounterNodeGroupAutoscalingPolicy--;
}
-buildUnnamed1989() {
+buildUnnamed1991() {
var o = new core.List<api.NodeGroup>();
o.add(buildNodeGroup());
o.add(buildNodeGroup());
return o;
}
-checkUnnamed1989(core.List<api.NodeGroup> o) {
+checkUnnamed1991(core.List<api.NodeGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkNodeGroup(o[0]);
checkNodeGroup(o[1]);
@@ -13975,14 +13975,14 @@
buildCounterNodeGroupListWarningData--;
}
-buildUnnamed1990() {
+buildUnnamed1992() {
var o = new core.List<api.NodeGroupListWarningData>();
o.add(buildNodeGroupListWarningData());
o.add(buildNodeGroupListWarningData());
return o;
}
-checkUnnamed1990(core.List<api.NodeGroupListWarningData> o) {
+checkUnnamed1992(core.List<api.NodeGroupListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkNodeGroupListWarningData(o[0]);
checkNodeGroupListWarningData(o[1]);
@@ -13994,7 +13994,7 @@
buildCounterNodeGroupListWarning++;
if (buildCounterNodeGroupListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed1990();
+ o.data = buildUnnamed1992();
o.message = "foo";
}
buildCounterNodeGroupListWarning--;
@@ -14005,7 +14005,7 @@
buildCounterNodeGroupListWarning++;
if (buildCounterNodeGroupListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed1990(o.data);
+ checkUnnamed1992(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterNodeGroupListWarning--;
@@ -14017,7 +14017,7 @@
buildCounterNodeGroupList++;
if (buildCounterNodeGroupList < 3) {
o.id = "foo";
- o.items = buildUnnamed1989();
+ o.items = buildUnnamed1991();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -14031,7 +14031,7 @@
buildCounterNodeGroupList++;
if (buildCounterNodeGroupList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1989(o.items);
+ checkUnnamed1991(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -14040,14 +14040,14 @@
buildCounterNodeGroupList--;
}
-buildUnnamed1991() {
+buildUnnamed1993() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1991(core.List<core.String> o) {
+checkUnnamed1993(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -14059,7 +14059,7 @@
buildCounterNodeGroupNode++;
if (buildCounterNodeGroupNode < 3) {
o.cpuOvercommitType = "foo";
- o.instances = buildUnnamed1991();
+ o.instances = buildUnnamed1993();
o.name = "foo";
o.nodeType = "foo";
o.serverBinding = buildServerBinding();
@@ -14074,7 +14074,7 @@
buildCounterNodeGroupNode++;
if (buildCounterNodeGroupNode < 3) {
unittest.expect(o.cpuOvercommitType, unittest.equals('foo'));
- checkUnnamed1991(o.instances);
+ checkUnnamed1993(o.instances);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.nodeType, unittest.equals('foo'));
checkServerBinding(o.serverBinding);
@@ -14103,14 +14103,14 @@
buildCounterNodeGroupsAddNodesRequest--;
}
-buildUnnamed1992() {
+buildUnnamed1994() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1992(core.List<core.String> o) {
+checkUnnamed1994(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -14121,7 +14121,7 @@
var o = new api.NodeGroupsDeleteNodesRequest();
buildCounterNodeGroupsDeleteNodesRequest++;
if (buildCounterNodeGroupsDeleteNodesRequest < 3) {
- o.nodes = buildUnnamed1992();
+ o.nodes = buildUnnamed1994();
}
buildCounterNodeGroupsDeleteNodesRequest--;
return o;
@@ -14130,19 +14130,19 @@
checkNodeGroupsDeleteNodesRequest(api.NodeGroupsDeleteNodesRequest o) {
buildCounterNodeGroupsDeleteNodesRequest++;
if (buildCounterNodeGroupsDeleteNodesRequest < 3) {
- checkUnnamed1992(o.nodes);
+ checkUnnamed1994(o.nodes);
}
buildCounterNodeGroupsDeleteNodesRequest--;
}
-buildUnnamed1993() {
+buildUnnamed1995() {
var o = new core.List<api.NodeGroupNode>();
o.add(buildNodeGroupNode());
o.add(buildNodeGroupNode());
return o;
}
-checkUnnamed1993(core.List<api.NodeGroupNode> o) {
+checkUnnamed1995(core.List<api.NodeGroupNode> o) {
unittest.expect(o, unittest.hasLength(2));
checkNodeGroupNode(o[0]);
checkNodeGroupNode(o[1]);
@@ -14169,14 +14169,14 @@
buildCounterNodeGroupsListNodesWarningData--;
}
-buildUnnamed1994() {
+buildUnnamed1996() {
var o = new core.List<api.NodeGroupsListNodesWarningData>();
o.add(buildNodeGroupsListNodesWarningData());
o.add(buildNodeGroupsListNodesWarningData());
return o;
}
-checkUnnamed1994(core.List<api.NodeGroupsListNodesWarningData> o) {
+checkUnnamed1996(core.List<api.NodeGroupsListNodesWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkNodeGroupsListNodesWarningData(o[0]);
checkNodeGroupsListNodesWarningData(o[1]);
@@ -14188,7 +14188,7 @@
buildCounterNodeGroupsListNodesWarning++;
if (buildCounterNodeGroupsListNodesWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed1994();
+ o.data = buildUnnamed1996();
o.message = "foo";
}
buildCounterNodeGroupsListNodesWarning--;
@@ -14199,7 +14199,7 @@
buildCounterNodeGroupsListNodesWarning++;
if (buildCounterNodeGroupsListNodesWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed1994(o.data);
+ checkUnnamed1996(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterNodeGroupsListNodesWarning--;
@@ -14211,7 +14211,7 @@
buildCounterNodeGroupsListNodes++;
if (buildCounterNodeGroupsListNodes < 3) {
o.id = "foo";
- o.items = buildUnnamed1993();
+ o.items = buildUnnamed1995();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -14225,7 +14225,7 @@
buildCounterNodeGroupsListNodes++;
if (buildCounterNodeGroupsListNodes < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1993(o.items);
+ checkUnnamed1995(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -14234,14 +14234,14 @@
buildCounterNodeGroupsListNodes--;
}
-buildUnnamed1995() {
+buildUnnamed1997() {
var o = new core.List<api.NodeGroup>();
o.add(buildNodeGroup());
o.add(buildNodeGroup());
return o;
}
-checkUnnamed1995(core.List<api.NodeGroup> o) {
+checkUnnamed1997(core.List<api.NodeGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkNodeGroup(o[0]);
checkNodeGroup(o[1]);
@@ -14268,14 +14268,14 @@
buildCounterNodeGroupsScopedListWarningData--;
}
-buildUnnamed1996() {
+buildUnnamed1998() {
var o = new core.List<api.NodeGroupsScopedListWarningData>();
o.add(buildNodeGroupsScopedListWarningData());
o.add(buildNodeGroupsScopedListWarningData());
return o;
}
-checkUnnamed1996(core.List<api.NodeGroupsScopedListWarningData> o) {
+checkUnnamed1998(core.List<api.NodeGroupsScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkNodeGroupsScopedListWarningData(o[0]);
checkNodeGroupsScopedListWarningData(o[1]);
@@ -14287,7 +14287,7 @@
buildCounterNodeGroupsScopedListWarning++;
if (buildCounterNodeGroupsScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed1996();
+ o.data = buildUnnamed1998();
o.message = "foo";
}
buildCounterNodeGroupsScopedListWarning--;
@@ -14298,7 +14298,7 @@
buildCounterNodeGroupsScopedListWarning++;
if (buildCounterNodeGroupsScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed1996(o.data);
+ checkUnnamed1998(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterNodeGroupsScopedListWarning--;
@@ -14309,7 +14309,7 @@
var o = new api.NodeGroupsScopedList();
buildCounterNodeGroupsScopedList++;
if (buildCounterNodeGroupsScopedList < 3) {
- o.nodeGroups = buildUnnamed1995();
+ o.nodeGroups = buildUnnamed1997();
o.warning = buildNodeGroupsScopedListWarning();
}
buildCounterNodeGroupsScopedList--;
@@ -14319,7 +14319,7 @@
checkNodeGroupsScopedList(api.NodeGroupsScopedList o) {
buildCounterNodeGroupsScopedList++;
if (buildCounterNodeGroupsScopedList < 3) {
- checkUnnamed1995(o.nodeGroups);
+ checkUnnamed1997(o.nodeGroups);
checkNodeGroupsScopedListWarning(o.warning);
}
buildCounterNodeGroupsScopedList--;
@@ -14344,14 +14344,14 @@
buildCounterNodeGroupsSetNodeTemplateRequest--;
}
-buildUnnamed1997() {
+buildUnnamed1999() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1997(core.Map<core.String, core.String> o) {
+checkUnnamed1999(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -14368,7 +14368,7 @@
o.id = "foo";
o.kind = "foo";
o.name = "foo";
- o.nodeAffinityLabels = buildUnnamed1997();
+ o.nodeAffinityLabels = buildUnnamed1999();
o.nodeType = "foo";
o.nodeTypeFlexibility = buildNodeTemplateNodeTypeFlexibility();
o.region = "foo";
@@ -14390,7 +14390,7 @@
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1997(o.nodeAffinityLabels);
+ checkUnnamed1999(o.nodeAffinityLabels);
unittest.expect(o.nodeType, unittest.equals('foo'));
checkNodeTemplateNodeTypeFlexibility(o.nodeTypeFlexibility);
unittest.expect(o.region, unittest.equals('foo'));
@@ -14402,27 +14402,27 @@
buildCounterNodeTemplate--;
}
-buildUnnamed1998() {
+buildUnnamed2000() {
var o = new core.Map<core.String, api.NodeTemplatesScopedList>();
o["x"] = buildNodeTemplatesScopedList();
o["y"] = buildNodeTemplatesScopedList();
return o;
}
-checkUnnamed1998(core.Map<core.String, api.NodeTemplatesScopedList> o) {
+checkUnnamed2000(core.Map<core.String, api.NodeTemplatesScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkNodeTemplatesScopedList(o["x"]);
checkNodeTemplatesScopedList(o["y"]);
}
-buildUnnamed1999() {
+buildUnnamed2001() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1999(core.List<core.String> o) {
+checkUnnamed2001(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -14450,14 +14450,14 @@
buildCounterNodeTemplateAggregatedListWarningData--;
}
-buildUnnamed2000() {
+buildUnnamed2002() {
var o = new core.List<api.NodeTemplateAggregatedListWarningData>();
o.add(buildNodeTemplateAggregatedListWarningData());
o.add(buildNodeTemplateAggregatedListWarningData());
return o;
}
-checkUnnamed2000(core.List<api.NodeTemplateAggregatedListWarningData> o) {
+checkUnnamed2002(core.List<api.NodeTemplateAggregatedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkNodeTemplateAggregatedListWarningData(o[0]);
checkNodeTemplateAggregatedListWarningData(o[1]);
@@ -14469,7 +14469,7 @@
buildCounterNodeTemplateAggregatedListWarning++;
if (buildCounterNodeTemplateAggregatedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2000();
+ o.data = buildUnnamed2002();
o.message = "foo";
}
buildCounterNodeTemplateAggregatedListWarning--;
@@ -14481,7 +14481,7 @@
buildCounterNodeTemplateAggregatedListWarning++;
if (buildCounterNodeTemplateAggregatedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2000(o.data);
+ checkUnnamed2002(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterNodeTemplateAggregatedListWarning--;
@@ -14493,11 +14493,11 @@
buildCounterNodeTemplateAggregatedList++;
if (buildCounterNodeTemplateAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed1998();
+ o.items = buildUnnamed2000();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
- o.unreachables = buildUnnamed1999();
+ o.unreachables = buildUnnamed2001();
o.warning = buildNodeTemplateAggregatedListWarning();
}
buildCounterNodeTemplateAggregatedList--;
@@ -14508,24 +14508,24 @@
buildCounterNodeTemplateAggregatedList++;
if (buildCounterNodeTemplateAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1998(o.items);
+ checkUnnamed2000(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
- checkUnnamed1999(o.unreachables);
+ checkUnnamed2001(o.unreachables);
checkNodeTemplateAggregatedListWarning(o.warning);
}
buildCounterNodeTemplateAggregatedList--;
}
-buildUnnamed2001() {
+buildUnnamed2003() {
var o = new core.List<api.NodeTemplate>();
o.add(buildNodeTemplate());
o.add(buildNodeTemplate());
return o;
}
-checkUnnamed2001(core.List<api.NodeTemplate> o) {
+checkUnnamed2003(core.List<api.NodeTemplate> o) {
unittest.expect(o, unittest.hasLength(2));
checkNodeTemplate(o[0]);
checkNodeTemplate(o[1]);
@@ -14552,14 +14552,14 @@
buildCounterNodeTemplateListWarningData--;
}
-buildUnnamed2002() {
+buildUnnamed2004() {
var o = new core.List<api.NodeTemplateListWarningData>();
o.add(buildNodeTemplateListWarningData());
o.add(buildNodeTemplateListWarningData());
return o;
}
-checkUnnamed2002(core.List<api.NodeTemplateListWarningData> o) {
+checkUnnamed2004(core.List<api.NodeTemplateListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkNodeTemplateListWarningData(o[0]);
checkNodeTemplateListWarningData(o[1]);
@@ -14571,7 +14571,7 @@
buildCounterNodeTemplateListWarning++;
if (buildCounterNodeTemplateListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2002();
+ o.data = buildUnnamed2004();
o.message = "foo";
}
buildCounterNodeTemplateListWarning--;
@@ -14582,7 +14582,7 @@
buildCounterNodeTemplateListWarning++;
if (buildCounterNodeTemplateListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2002(o.data);
+ checkUnnamed2004(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterNodeTemplateListWarning--;
@@ -14594,7 +14594,7 @@
buildCounterNodeTemplateList++;
if (buildCounterNodeTemplateList < 3) {
o.id = "foo";
- o.items = buildUnnamed2001();
+ o.items = buildUnnamed2003();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -14608,7 +14608,7 @@
buildCounterNodeTemplateList++;
if (buildCounterNodeTemplateList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2001(o.items);
+ checkUnnamed2003(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -14640,14 +14640,14 @@
buildCounterNodeTemplateNodeTypeFlexibility--;
}
-buildUnnamed2003() {
+buildUnnamed2005() {
var o = new core.List<api.NodeTemplate>();
o.add(buildNodeTemplate());
o.add(buildNodeTemplate());
return o;
}
-checkUnnamed2003(core.List<api.NodeTemplate> o) {
+checkUnnamed2005(core.List<api.NodeTemplate> o) {
unittest.expect(o, unittest.hasLength(2));
checkNodeTemplate(o[0]);
checkNodeTemplate(o[1]);
@@ -14675,14 +14675,14 @@
buildCounterNodeTemplatesScopedListWarningData--;
}
-buildUnnamed2004() {
+buildUnnamed2006() {
var o = new core.List<api.NodeTemplatesScopedListWarningData>();
o.add(buildNodeTemplatesScopedListWarningData());
o.add(buildNodeTemplatesScopedListWarningData());
return o;
}
-checkUnnamed2004(core.List<api.NodeTemplatesScopedListWarningData> o) {
+checkUnnamed2006(core.List<api.NodeTemplatesScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkNodeTemplatesScopedListWarningData(o[0]);
checkNodeTemplatesScopedListWarningData(o[1]);
@@ -14694,7 +14694,7 @@
buildCounterNodeTemplatesScopedListWarning++;
if (buildCounterNodeTemplatesScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2004();
+ o.data = buildUnnamed2006();
o.message = "foo";
}
buildCounterNodeTemplatesScopedListWarning--;
@@ -14705,7 +14705,7 @@
buildCounterNodeTemplatesScopedListWarning++;
if (buildCounterNodeTemplatesScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2004(o.data);
+ checkUnnamed2006(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterNodeTemplatesScopedListWarning--;
@@ -14716,7 +14716,7 @@
var o = new api.NodeTemplatesScopedList();
buildCounterNodeTemplatesScopedList++;
if (buildCounterNodeTemplatesScopedList < 3) {
- o.nodeTemplates = buildUnnamed2003();
+ o.nodeTemplates = buildUnnamed2005();
o.warning = buildNodeTemplatesScopedListWarning();
}
buildCounterNodeTemplatesScopedList--;
@@ -14726,7 +14726,7 @@
checkNodeTemplatesScopedList(api.NodeTemplatesScopedList o) {
buildCounterNodeTemplatesScopedList++;
if (buildCounterNodeTemplatesScopedList < 3) {
- checkUnnamed2003(o.nodeTemplates);
+ checkUnnamed2005(o.nodeTemplates);
checkNodeTemplatesScopedListWarning(o.warning);
}
buildCounterNodeTemplatesScopedList--;
@@ -14773,27 +14773,27 @@
buildCounterNodeType--;
}
-buildUnnamed2005() {
+buildUnnamed2007() {
var o = new core.Map<core.String, api.NodeTypesScopedList>();
o["x"] = buildNodeTypesScopedList();
o["y"] = buildNodeTypesScopedList();
return o;
}
-checkUnnamed2005(core.Map<core.String, api.NodeTypesScopedList> o) {
+checkUnnamed2007(core.Map<core.String, api.NodeTypesScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkNodeTypesScopedList(o["x"]);
checkNodeTypesScopedList(o["y"]);
}
-buildUnnamed2006() {
+buildUnnamed2008() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2006(core.List<core.String> o) {
+checkUnnamed2008(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -14821,14 +14821,14 @@
buildCounterNodeTypeAggregatedListWarningData--;
}
-buildUnnamed2007() {
+buildUnnamed2009() {
var o = new core.List<api.NodeTypeAggregatedListWarningData>();
o.add(buildNodeTypeAggregatedListWarningData());
o.add(buildNodeTypeAggregatedListWarningData());
return o;
}
-checkUnnamed2007(core.List<api.NodeTypeAggregatedListWarningData> o) {
+checkUnnamed2009(core.List<api.NodeTypeAggregatedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkNodeTypeAggregatedListWarningData(o[0]);
checkNodeTypeAggregatedListWarningData(o[1]);
@@ -14840,7 +14840,7 @@
buildCounterNodeTypeAggregatedListWarning++;
if (buildCounterNodeTypeAggregatedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2007();
+ o.data = buildUnnamed2009();
o.message = "foo";
}
buildCounterNodeTypeAggregatedListWarning--;
@@ -14851,7 +14851,7 @@
buildCounterNodeTypeAggregatedListWarning++;
if (buildCounterNodeTypeAggregatedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2007(o.data);
+ checkUnnamed2009(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterNodeTypeAggregatedListWarning--;
@@ -14863,11 +14863,11 @@
buildCounterNodeTypeAggregatedList++;
if (buildCounterNodeTypeAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed2005();
+ o.items = buildUnnamed2007();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
- o.unreachables = buildUnnamed2006();
+ o.unreachables = buildUnnamed2008();
o.warning = buildNodeTypeAggregatedListWarning();
}
buildCounterNodeTypeAggregatedList--;
@@ -14878,24 +14878,24 @@
buildCounterNodeTypeAggregatedList++;
if (buildCounterNodeTypeAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2005(o.items);
+ checkUnnamed2007(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
- checkUnnamed2006(o.unreachables);
+ checkUnnamed2008(o.unreachables);
checkNodeTypeAggregatedListWarning(o.warning);
}
buildCounterNodeTypeAggregatedList--;
}
-buildUnnamed2008() {
+buildUnnamed2010() {
var o = new core.List<api.NodeType>();
o.add(buildNodeType());
o.add(buildNodeType());
return o;
}
-checkUnnamed2008(core.List<api.NodeType> o) {
+checkUnnamed2010(core.List<api.NodeType> o) {
unittest.expect(o, unittest.hasLength(2));
checkNodeType(o[0]);
checkNodeType(o[1]);
@@ -14922,14 +14922,14 @@
buildCounterNodeTypeListWarningData--;
}
-buildUnnamed2009() {
+buildUnnamed2011() {
var o = new core.List<api.NodeTypeListWarningData>();
o.add(buildNodeTypeListWarningData());
o.add(buildNodeTypeListWarningData());
return o;
}
-checkUnnamed2009(core.List<api.NodeTypeListWarningData> o) {
+checkUnnamed2011(core.List<api.NodeTypeListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkNodeTypeListWarningData(o[0]);
checkNodeTypeListWarningData(o[1]);
@@ -14941,7 +14941,7 @@
buildCounterNodeTypeListWarning++;
if (buildCounterNodeTypeListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2009();
+ o.data = buildUnnamed2011();
o.message = "foo";
}
buildCounterNodeTypeListWarning--;
@@ -14952,7 +14952,7 @@
buildCounterNodeTypeListWarning++;
if (buildCounterNodeTypeListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2009(o.data);
+ checkUnnamed2011(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterNodeTypeListWarning--;
@@ -14964,7 +14964,7 @@
buildCounterNodeTypeList++;
if (buildCounterNodeTypeList < 3) {
o.id = "foo";
- o.items = buildUnnamed2008();
+ o.items = buildUnnamed2010();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -14978,7 +14978,7 @@
buildCounterNodeTypeList++;
if (buildCounterNodeTypeList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2008(o.items);
+ checkUnnamed2010(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -14987,14 +14987,14 @@
buildCounterNodeTypeList--;
}
-buildUnnamed2010() {
+buildUnnamed2012() {
var o = new core.List<api.NodeType>();
o.add(buildNodeType());
o.add(buildNodeType());
return o;
}
-checkUnnamed2010(core.List<api.NodeType> o) {
+checkUnnamed2012(core.List<api.NodeType> o) {
unittest.expect(o, unittest.hasLength(2));
checkNodeType(o[0]);
checkNodeType(o[1]);
@@ -15021,14 +15021,14 @@
buildCounterNodeTypesScopedListWarningData--;
}
-buildUnnamed2011() {
+buildUnnamed2013() {
var o = new core.List<api.NodeTypesScopedListWarningData>();
o.add(buildNodeTypesScopedListWarningData());
o.add(buildNodeTypesScopedListWarningData());
return o;
}
-checkUnnamed2011(core.List<api.NodeTypesScopedListWarningData> o) {
+checkUnnamed2013(core.List<api.NodeTypesScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkNodeTypesScopedListWarningData(o[0]);
checkNodeTypesScopedListWarningData(o[1]);
@@ -15040,7 +15040,7 @@
buildCounterNodeTypesScopedListWarning++;
if (buildCounterNodeTypesScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2011();
+ o.data = buildUnnamed2013();
o.message = "foo";
}
buildCounterNodeTypesScopedListWarning--;
@@ -15051,7 +15051,7 @@
buildCounterNodeTypesScopedListWarning++;
if (buildCounterNodeTypesScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2011(o.data);
+ checkUnnamed2013(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterNodeTypesScopedListWarning--;
@@ -15062,7 +15062,7 @@
var o = new api.NodeTypesScopedList();
buildCounterNodeTypesScopedList++;
if (buildCounterNodeTypesScopedList < 3) {
- o.nodeTypes = buildUnnamed2010();
+ o.nodeTypes = buildUnnamed2012();
o.warning = buildNodeTypesScopedListWarning();
}
buildCounterNodeTypesScopedList--;
@@ -15072,7 +15072,7 @@
checkNodeTypesScopedList(api.NodeTypesScopedList o) {
buildCounterNodeTypesScopedList++;
if (buildCounterNodeTypesScopedList < 3) {
- checkUnnamed2010(o.nodeTypes);
+ checkUnnamed2012(o.nodeTypes);
checkNodeTypesScopedListWarning(o.warning);
}
buildCounterNodeTypesScopedList--;
@@ -15138,14 +15138,14 @@
buildCounterNotificationEndpointGrpcSettings--;
}
-buildUnnamed2012() {
+buildUnnamed2014() {
var o = new core.List<api.NotificationEndpoint>();
o.add(buildNotificationEndpoint());
o.add(buildNotificationEndpoint());
return o;
}
-checkUnnamed2012(core.List<api.NotificationEndpoint> o) {
+checkUnnamed2014(core.List<api.NotificationEndpoint> o) {
unittest.expect(o, unittest.hasLength(2));
checkNotificationEndpoint(o[0]);
checkNotificationEndpoint(o[1]);
@@ -15173,14 +15173,14 @@
buildCounterNotificationEndpointListWarningData--;
}
-buildUnnamed2013() {
+buildUnnamed2015() {
var o = new core.List<api.NotificationEndpointListWarningData>();
o.add(buildNotificationEndpointListWarningData());
o.add(buildNotificationEndpointListWarningData());
return o;
}
-checkUnnamed2013(core.List<api.NotificationEndpointListWarningData> o) {
+checkUnnamed2015(core.List<api.NotificationEndpointListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkNotificationEndpointListWarningData(o[0]);
checkNotificationEndpointListWarningData(o[1]);
@@ -15192,7 +15192,7 @@
buildCounterNotificationEndpointListWarning++;
if (buildCounterNotificationEndpointListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2013();
+ o.data = buildUnnamed2015();
o.message = "foo";
}
buildCounterNotificationEndpointListWarning--;
@@ -15203,7 +15203,7 @@
buildCounterNotificationEndpointListWarning++;
if (buildCounterNotificationEndpointListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2013(o.data);
+ checkUnnamed2015(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterNotificationEndpointListWarning--;
@@ -15215,7 +15215,7 @@
buildCounterNotificationEndpointList++;
if (buildCounterNotificationEndpointList < 3) {
o.id = "foo";
- o.items = buildUnnamed2012();
+ o.items = buildUnnamed2014();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -15229,7 +15229,7 @@
buildCounterNotificationEndpointList++;
if (buildCounterNotificationEndpointList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2012(o.items);
+ checkUnnamed2014(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -15261,14 +15261,14 @@
buildCounterOperationErrorErrors--;
}
-buildUnnamed2014() {
+buildUnnamed2016() {
var o = new core.List<api.OperationErrorErrors>();
o.add(buildOperationErrorErrors());
o.add(buildOperationErrorErrors());
return o;
}
-checkUnnamed2014(core.List<api.OperationErrorErrors> o) {
+checkUnnamed2016(core.List<api.OperationErrorErrors> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperationErrorErrors(o[0]);
checkOperationErrorErrors(o[1]);
@@ -15279,7 +15279,7 @@
var o = new api.OperationError();
buildCounterOperationError++;
if (buildCounterOperationError < 3) {
- o.errors = buildUnnamed2014();
+ o.errors = buildUnnamed2016();
}
buildCounterOperationError--;
return o;
@@ -15288,7 +15288,7 @@
checkOperationError(api.OperationError o) {
buildCounterOperationError++;
if (buildCounterOperationError < 3) {
- checkUnnamed2014(o.errors);
+ checkUnnamed2016(o.errors);
}
buildCounterOperationError--;
}
@@ -15314,14 +15314,14 @@
buildCounterOperationWarningsData--;
}
-buildUnnamed2015() {
+buildUnnamed2017() {
var o = new core.List<api.OperationWarningsData>();
o.add(buildOperationWarningsData());
o.add(buildOperationWarningsData());
return o;
}
-checkUnnamed2015(core.List<api.OperationWarningsData> o) {
+checkUnnamed2017(core.List<api.OperationWarningsData> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperationWarningsData(o[0]);
checkOperationWarningsData(o[1]);
@@ -15333,7 +15333,7 @@
buildCounterOperationWarnings++;
if (buildCounterOperationWarnings < 3) {
o.code = "foo";
- o.data = buildUnnamed2015();
+ o.data = buildUnnamed2017();
o.message = "foo";
}
buildCounterOperationWarnings--;
@@ -15344,20 +15344,20 @@
buildCounterOperationWarnings++;
if (buildCounterOperationWarnings < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2015(o.data);
+ checkUnnamed2017(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterOperationWarnings--;
}
-buildUnnamed2016() {
+buildUnnamed2018() {
var o = new core.List<api.OperationWarnings>();
o.add(buildOperationWarnings());
o.add(buildOperationWarnings());
return o;
}
-checkUnnamed2016(core.List<api.OperationWarnings> o) {
+checkUnnamed2018(core.List<api.OperationWarnings> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperationWarnings(o[0]);
checkOperationWarnings(o[1]);
@@ -15389,7 +15389,7 @@
o.targetId = "foo";
o.targetLink = "foo";
o.user = "foo";
- o.warnings = buildUnnamed2016();
+ o.warnings = buildUnnamed2018();
o.zone = "foo";
}
buildCounterOperation--;
@@ -15420,33 +15420,33 @@
unittest.expect(o.targetId, unittest.equals('foo'));
unittest.expect(o.targetLink, unittest.equals('foo'));
unittest.expect(o.user, unittest.equals('foo'));
- checkUnnamed2016(o.warnings);
+ checkUnnamed2018(o.warnings);
unittest.expect(o.zone, unittest.equals('foo'));
}
buildCounterOperation--;
}
-buildUnnamed2017() {
+buildUnnamed2019() {
var o = new core.Map<core.String, api.OperationsScopedList>();
o["x"] = buildOperationsScopedList();
o["y"] = buildOperationsScopedList();
return o;
}
-checkUnnamed2017(core.Map<core.String, api.OperationsScopedList> o) {
+checkUnnamed2019(core.Map<core.String, api.OperationsScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperationsScopedList(o["x"]);
checkOperationsScopedList(o["y"]);
}
-buildUnnamed2018() {
+buildUnnamed2020() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2018(core.List<core.String> o) {
+checkUnnamed2020(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -15474,14 +15474,14 @@
buildCounterOperationAggregatedListWarningData--;
}
-buildUnnamed2019() {
+buildUnnamed2021() {
var o = new core.List<api.OperationAggregatedListWarningData>();
o.add(buildOperationAggregatedListWarningData());
o.add(buildOperationAggregatedListWarningData());
return o;
}
-checkUnnamed2019(core.List<api.OperationAggregatedListWarningData> o) {
+checkUnnamed2021(core.List<api.OperationAggregatedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperationAggregatedListWarningData(o[0]);
checkOperationAggregatedListWarningData(o[1]);
@@ -15493,7 +15493,7 @@
buildCounterOperationAggregatedListWarning++;
if (buildCounterOperationAggregatedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2019();
+ o.data = buildUnnamed2021();
o.message = "foo";
}
buildCounterOperationAggregatedListWarning--;
@@ -15504,7 +15504,7 @@
buildCounterOperationAggregatedListWarning++;
if (buildCounterOperationAggregatedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2019(o.data);
+ checkUnnamed2021(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterOperationAggregatedListWarning--;
@@ -15516,11 +15516,11 @@
buildCounterOperationAggregatedList++;
if (buildCounterOperationAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed2017();
+ o.items = buildUnnamed2019();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
- o.unreachables = buildUnnamed2018();
+ o.unreachables = buildUnnamed2020();
o.warning = buildOperationAggregatedListWarning();
}
buildCounterOperationAggregatedList--;
@@ -15531,24 +15531,24 @@
buildCounterOperationAggregatedList++;
if (buildCounterOperationAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2017(o.items);
+ checkUnnamed2019(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
- checkUnnamed2018(o.unreachables);
+ checkUnnamed2020(o.unreachables);
checkOperationAggregatedListWarning(o.warning);
}
buildCounterOperationAggregatedList--;
}
-buildUnnamed2020() {
+buildUnnamed2022() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed2020(core.List<api.Operation> o) {
+checkUnnamed2022(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -15575,14 +15575,14 @@
buildCounterOperationListWarningData--;
}
-buildUnnamed2021() {
+buildUnnamed2023() {
var o = new core.List<api.OperationListWarningData>();
o.add(buildOperationListWarningData());
o.add(buildOperationListWarningData());
return o;
}
-checkUnnamed2021(core.List<api.OperationListWarningData> o) {
+checkUnnamed2023(core.List<api.OperationListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperationListWarningData(o[0]);
checkOperationListWarningData(o[1]);
@@ -15594,7 +15594,7 @@
buildCounterOperationListWarning++;
if (buildCounterOperationListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2021();
+ o.data = buildUnnamed2023();
o.message = "foo";
}
buildCounterOperationListWarning--;
@@ -15605,7 +15605,7 @@
buildCounterOperationListWarning++;
if (buildCounterOperationListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2021(o.data);
+ checkUnnamed2023(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterOperationListWarning--;
@@ -15617,7 +15617,7 @@
buildCounterOperationList++;
if (buildCounterOperationList < 3) {
o.id = "foo";
- o.items = buildUnnamed2020();
+ o.items = buildUnnamed2022();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -15631,7 +15631,7 @@
buildCounterOperationList++;
if (buildCounterOperationList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2020(o.items);
+ checkUnnamed2022(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -15640,14 +15640,14 @@
buildCounterOperationList--;
}
-buildUnnamed2022() {
+buildUnnamed2024() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed2022(core.List<api.Operation> o) {
+checkUnnamed2024(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -15674,14 +15674,14 @@
buildCounterOperationsScopedListWarningData--;
}
-buildUnnamed2023() {
+buildUnnamed2025() {
var o = new core.List<api.OperationsScopedListWarningData>();
o.add(buildOperationsScopedListWarningData());
o.add(buildOperationsScopedListWarningData());
return o;
}
-checkUnnamed2023(core.List<api.OperationsScopedListWarningData> o) {
+checkUnnamed2025(core.List<api.OperationsScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperationsScopedListWarningData(o[0]);
checkOperationsScopedListWarningData(o[1]);
@@ -15693,7 +15693,7 @@
buildCounterOperationsScopedListWarning++;
if (buildCounterOperationsScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2023();
+ o.data = buildUnnamed2025();
o.message = "foo";
}
buildCounterOperationsScopedListWarning--;
@@ -15704,7 +15704,7 @@
buildCounterOperationsScopedListWarning++;
if (buildCounterOperationsScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2023(o.data);
+ checkUnnamed2025(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterOperationsScopedListWarning--;
@@ -15715,7 +15715,7 @@
var o = new api.OperationsScopedList();
buildCounterOperationsScopedList++;
if (buildCounterOperationsScopedList < 3) {
- o.operations = buildUnnamed2022();
+ o.operations = buildUnnamed2024();
o.warning = buildOperationsScopedListWarning();
}
buildCounterOperationsScopedList--;
@@ -15725,7 +15725,7 @@
checkOperationsScopedList(api.OperationsScopedList o) {
buildCounterOperationsScopedList++;
if (buildCounterOperationsScopedList < 3) {
- checkUnnamed2022(o.operations);
+ checkUnnamed2024(o.operations);
checkOperationsScopedListWarning(o.warning);
}
buildCounterOperationsScopedList--;
@@ -15813,27 +15813,27 @@
buildCounterPacketMirroring--;
}
-buildUnnamed2024() {
+buildUnnamed2026() {
var o = new core.Map<core.String, api.PacketMirroringsScopedList>();
o["x"] = buildPacketMirroringsScopedList();
o["y"] = buildPacketMirroringsScopedList();
return o;
}
-checkUnnamed2024(core.Map<core.String, api.PacketMirroringsScopedList> o) {
+checkUnnamed2026(core.Map<core.String, api.PacketMirroringsScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkPacketMirroringsScopedList(o["x"]);
checkPacketMirroringsScopedList(o["y"]);
}
-buildUnnamed2025() {
+buildUnnamed2027() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2025(core.List<core.String> o) {
+checkUnnamed2027(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -15861,14 +15861,14 @@
buildCounterPacketMirroringAggregatedListWarningData--;
}
-buildUnnamed2026() {
+buildUnnamed2028() {
var o = new core.List<api.PacketMirroringAggregatedListWarningData>();
o.add(buildPacketMirroringAggregatedListWarningData());
o.add(buildPacketMirroringAggregatedListWarningData());
return o;
}
-checkUnnamed2026(core.List<api.PacketMirroringAggregatedListWarningData> o) {
+checkUnnamed2028(core.List<api.PacketMirroringAggregatedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkPacketMirroringAggregatedListWarningData(o[0]);
checkPacketMirroringAggregatedListWarningData(o[1]);
@@ -15880,7 +15880,7 @@
buildCounterPacketMirroringAggregatedListWarning++;
if (buildCounterPacketMirroringAggregatedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2026();
+ o.data = buildUnnamed2028();
o.message = "foo";
}
buildCounterPacketMirroringAggregatedListWarning--;
@@ -15892,7 +15892,7 @@
buildCounterPacketMirroringAggregatedListWarning++;
if (buildCounterPacketMirroringAggregatedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2026(o.data);
+ checkUnnamed2028(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterPacketMirroringAggregatedListWarning--;
@@ -15904,11 +15904,11 @@
buildCounterPacketMirroringAggregatedList++;
if (buildCounterPacketMirroringAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed2024();
+ o.items = buildUnnamed2026();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
- o.unreachables = buildUnnamed2025();
+ o.unreachables = buildUnnamed2027();
o.warning = buildPacketMirroringAggregatedListWarning();
}
buildCounterPacketMirroringAggregatedList--;
@@ -15919,37 +15919,37 @@
buildCounterPacketMirroringAggregatedList++;
if (buildCounterPacketMirroringAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2024(o.items);
+ checkUnnamed2026(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
- checkUnnamed2025(o.unreachables);
+ checkUnnamed2027(o.unreachables);
checkPacketMirroringAggregatedListWarning(o.warning);
}
buildCounterPacketMirroringAggregatedList--;
}
-buildUnnamed2027() {
+buildUnnamed2029() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2027(core.List<core.String> o) {
+checkUnnamed2029(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2028() {
+buildUnnamed2030() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2028(core.List<core.String> o) {
+checkUnnamed2030(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -15960,8 +15960,8 @@
var o = new api.PacketMirroringFilter();
buildCounterPacketMirroringFilter++;
if (buildCounterPacketMirroringFilter < 3) {
- o.IPProtocols = buildUnnamed2027();
- o.cidrRanges = buildUnnamed2028();
+ o.IPProtocols = buildUnnamed2029();
+ o.cidrRanges = buildUnnamed2030();
}
buildCounterPacketMirroringFilter--;
return o;
@@ -15970,8 +15970,8 @@
checkPacketMirroringFilter(api.PacketMirroringFilter o) {
buildCounterPacketMirroringFilter++;
if (buildCounterPacketMirroringFilter < 3) {
- checkUnnamed2027(o.IPProtocols);
- checkUnnamed2028(o.cidrRanges);
+ checkUnnamed2029(o.IPProtocols);
+ checkUnnamed2030(o.cidrRanges);
}
buildCounterPacketMirroringFilter--;
}
@@ -15998,14 +15998,14 @@
buildCounterPacketMirroringForwardingRuleInfo--;
}
-buildUnnamed2029() {
+buildUnnamed2031() {
var o = new core.List<api.PacketMirroring>();
o.add(buildPacketMirroring());
o.add(buildPacketMirroring());
return o;
}
-checkUnnamed2029(core.List<api.PacketMirroring> o) {
+checkUnnamed2031(core.List<api.PacketMirroring> o) {
unittest.expect(o, unittest.hasLength(2));
checkPacketMirroring(o[0]);
checkPacketMirroring(o[1]);
@@ -16032,14 +16032,14 @@
buildCounterPacketMirroringListWarningData--;
}
-buildUnnamed2030() {
+buildUnnamed2032() {
var o = new core.List<api.PacketMirroringListWarningData>();
o.add(buildPacketMirroringListWarningData());
o.add(buildPacketMirroringListWarningData());
return o;
}
-checkUnnamed2030(core.List<api.PacketMirroringListWarningData> o) {
+checkUnnamed2032(core.List<api.PacketMirroringListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkPacketMirroringListWarningData(o[0]);
checkPacketMirroringListWarningData(o[1]);
@@ -16051,7 +16051,7 @@
buildCounterPacketMirroringListWarning++;
if (buildCounterPacketMirroringListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2030();
+ o.data = buildUnnamed2032();
o.message = "foo";
}
buildCounterPacketMirroringListWarning--;
@@ -16062,7 +16062,7 @@
buildCounterPacketMirroringListWarning++;
if (buildCounterPacketMirroringListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2030(o.data);
+ checkUnnamed2032(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterPacketMirroringListWarning--;
@@ -16074,7 +16074,7 @@
buildCounterPacketMirroringList++;
if (buildCounterPacketMirroringList < 3) {
o.id = "foo";
- o.items = buildUnnamed2029();
+ o.items = buildUnnamed2031();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -16088,7 +16088,7 @@
buildCounterPacketMirroringList++;
if (buildCounterPacketMirroringList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2029(o.items);
+ checkUnnamed2031(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -16097,42 +16097,42 @@
buildCounterPacketMirroringList--;
}
-buildUnnamed2031() {
+buildUnnamed2033() {
var o = new core.List<api.PacketMirroringMirroredResourceInfoInstanceInfo>();
o.add(buildPacketMirroringMirroredResourceInfoInstanceInfo());
o.add(buildPacketMirroringMirroredResourceInfoInstanceInfo());
return o;
}
-checkUnnamed2031(
+checkUnnamed2033(
core.List<api.PacketMirroringMirroredResourceInfoInstanceInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkPacketMirroringMirroredResourceInfoInstanceInfo(o[0]);
checkPacketMirroringMirroredResourceInfoInstanceInfo(o[1]);
}
-buildUnnamed2032() {
+buildUnnamed2034() {
var o = new core.List<api.PacketMirroringMirroredResourceInfoSubnetInfo>();
o.add(buildPacketMirroringMirroredResourceInfoSubnetInfo());
o.add(buildPacketMirroringMirroredResourceInfoSubnetInfo());
return o;
}
-checkUnnamed2032(
+checkUnnamed2034(
core.List<api.PacketMirroringMirroredResourceInfoSubnetInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkPacketMirroringMirroredResourceInfoSubnetInfo(o[0]);
checkPacketMirroringMirroredResourceInfoSubnetInfo(o[1]);
}
-buildUnnamed2033() {
+buildUnnamed2035() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2033(core.List<core.String> o) {
+checkUnnamed2035(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -16143,9 +16143,9 @@
var o = new api.PacketMirroringMirroredResourceInfo();
buildCounterPacketMirroringMirroredResourceInfo++;
if (buildCounterPacketMirroringMirroredResourceInfo < 3) {
- o.instances = buildUnnamed2031();
- o.subnetworks = buildUnnamed2032();
- o.tags = buildUnnamed2033();
+ o.instances = buildUnnamed2033();
+ o.subnetworks = buildUnnamed2034();
+ o.tags = buildUnnamed2035();
}
buildCounterPacketMirroringMirroredResourceInfo--;
return o;
@@ -16155,9 +16155,9 @@
api.PacketMirroringMirroredResourceInfo o) {
buildCounterPacketMirroringMirroredResourceInfo++;
if (buildCounterPacketMirroringMirroredResourceInfo < 3) {
- checkUnnamed2031(o.instances);
- checkUnnamed2032(o.subnetworks);
- checkUnnamed2033(o.tags);
+ checkUnnamed2033(o.instances);
+ checkUnnamed2034(o.subnetworks);
+ checkUnnamed2035(o.tags);
}
buildCounterPacketMirroringMirroredResourceInfo--;
}
@@ -16227,14 +16227,14 @@
buildCounterPacketMirroringNetworkInfo--;
}
-buildUnnamed2034() {
+buildUnnamed2036() {
var o = new core.List<api.PacketMirroring>();
o.add(buildPacketMirroring());
o.add(buildPacketMirroring());
return o;
}
-checkUnnamed2034(core.List<api.PacketMirroring> o) {
+checkUnnamed2036(core.List<api.PacketMirroring> o) {
unittest.expect(o, unittest.hasLength(2));
checkPacketMirroring(o[0]);
checkPacketMirroring(o[1]);
@@ -16262,14 +16262,14 @@
buildCounterPacketMirroringsScopedListWarningData--;
}
-buildUnnamed2035() {
+buildUnnamed2037() {
var o = new core.List<api.PacketMirroringsScopedListWarningData>();
o.add(buildPacketMirroringsScopedListWarningData());
o.add(buildPacketMirroringsScopedListWarningData());
return o;
}
-checkUnnamed2035(core.List<api.PacketMirroringsScopedListWarningData> o) {
+checkUnnamed2037(core.List<api.PacketMirroringsScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkPacketMirroringsScopedListWarningData(o[0]);
checkPacketMirroringsScopedListWarningData(o[1]);
@@ -16281,7 +16281,7 @@
buildCounterPacketMirroringsScopedListWarning++;
if (buildCounterPacketMirroringsScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2035();
+ o.data = buildUnnamed2037();
o.message = "foo";
}
buildCounterPacketMirroringsScopedListWarning--;
@@ -16293,7 +16293,7 @@
buildCounterPacketMirroringsScopedListWarning++;
if (buildCounterPacketMirroringsScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2035(o.data);
+ checkUnnamed2037(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterPacketMirroringsScopedListWarning--;
@@ -16304,7 +16304,7 @@
var o = new api.PacketMirroringsScopedList();
buildCounterPacketMirroringsScopedList++;
if (buildCounterPacketMirroringsScopedList < 3) {
- o.packetMirrorings = buildUnnamed2034();
+ o.packetMirrorings = buildUnnamed2036();
o.warning = buildPacketMirroringsScopedListWarning();
}
buildCounterPacketMirroringsScopedList--;
@@ -16314,33 +16314,33 @@
checkPacketMirroringsScopedList(api.PacketMirroringsScopedList o) {
buildCounterPacketMirroringsScopedList++;
if (buildCounterPacketMirroringsScopedList < 3) {
- checkUnnamed2034(o.packetMirrorings);
+ checkUnnamed2036(o.packetMirrorings);
checkPacketMirroringsScopedListWarning(o.warning);
}
buildCounterPacketMirroringsScopedList--;
}
-buildUnnamed2036() {
+buildUnnamed2038() {
var o = new core.List<api.PathRule>();
o.add(buildPathRule());
o.add(buildPathRule());
return o;
}
-checkUnnamed2036(core.List<api.PathRule> o) {
+checkUnnamed2038(core.List<api.PathRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkPathRule(o[0]);
checkPathRule(o[1]);
}
-buildUnnamed2037() {
+buildUnnamed2039() {
var o = new core.List<api.HttpRouteRule>();
o.add(buildHttpRouteRule());
o.add(buildHttpRouteRule());
return o;
}
-checkUnnamed2037(core.List<api.HttpRouteRule> o) {
+checkUnnamed2039(core.List<api.HttpRouteRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkHttpRouteRule(o[0]);
checkHttpRouteRule(o[1]);
@@ -16357,8 +16357,8 @@
o.description = "foo";
o.headerAction = buildHttpHeaderAction();
o.name = "foo";
- o.pathRules = buildUnnamed2036();
- o.routeRules = buildUnnamed2037();
+ o.pathRules = buildUnnamed2038();
+ o.routeRules = buildUnnamed2039();
}
buildCounterPathMatcher--;
return o;
@@ -16373,20 +16373,20 @@
unittest.expect(o.description, unittest.equals('foo'));
checkHttpHeaderAction(o.headerAction);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2036(o.pathRules);
- checkUnnamed2037(o.routeRules);
+ checkUnnamed2038(o.pathRules);
+ checkUnnamed2039(o.routeRules);
}
buildCounterPathMatcher--;
}
-buildUnnamed2038() {
+buildUnnamed2040() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2038(core.List<core.String> o) {
+checkUnnamed2040(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -16397,7 +16397,7 @@
var o = new api.PathRule();
buildCounterPathRule++;
if (buildCounterPathRule < 3) {
- o.paths = buildUnnamed2038();
+ o.paths = buildUnnamed2040();
o.routeAction = buildHttpRouteAction();
o.service = "foo";
o.urlRedirect = buildHttpRedirectAction();
@@ -16409,7 +16409,7 @@
checkPathRule(api.PathRule o) {
buildCounterPathRule++;
if (buildCounterPathRule < 3) {
- checkUnnamed2038(o.paths);
+ checkUnnamed2040(o.paths);
checkHttpRouteAction(o.routeAction);
unittest.expect(o.service, unittest.equals('foo'));
checkHttpRedirectAction(o.urlRedirect);
@@ -16442,40 +16442,40 @@
buildCounterPerInstanceConfig--;
}
-buildUnnamed2039() {
+buildUnnamed2041() {
var o = new core.List<api.AuditConfig>();
o.add(buildAuditConfig());
o.add(buildAuditConfig());
return o;
}
-checkUnnamed2039(core.List<api.AuditConfig> o) {
+checkUnnamed2041(core.List<api.AuditConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuditConfig(o[0]);
checkAuditConfig(o[1]);
}
-buildUnnamed2040() {
+buildUnnamed2042() {
var o = new core.List<api.Binding>();
o.add(buildBinding());
o.add(buildBinding());
return o;
}
-checkUnnamed2040(core.List<api.Binding> o) {
+checkUnnamed2042(core.List<api.Binding> o) {
unittest.expect(o, unittest.hasLength(2));
checkBinding(o[0]);
checkBinding(o[1]);
}
-buildUnnamed2041() {
+buildUnnamed2043() {
var o = new core.List<api.Rule>();
o.add(buildRule());
o.add(buildRule());
return o;
}
-checkUnnamed2041(core.List<api.Rule> o) {
+checkUnnamed2043(core.List<api.Rule> o) {
unittest.expect(o, unittest.hasLength(2));
checkRule(o[0]);
checkRule(o[1]);
@@ -16486,11 +16486,11 @@
var o = new api.Policy();
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- o.auditConfigs = buildUnnamed2039();
- o.bindings = buildUnnamed2040();
+ o.auditConfigs = buildUnnamed2041();
+ o.bindings = buildUnnamed2042();
o.etag = "foo";
o.iamOwned = true;
- o.rules = buildUnnamed2041();
+ o.rules = buildUnnamed2043();
o.version = 42;
}
buildCounterPolicy--;
@@ -16500,24 +16500,24 @@
checkPolicy(api.Policy o) {
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- checkUnnamed2039(o.auditConfigs);
- checkUnnamed2040(o.bindings);
+ checkUnnamed2041(o.auditConfigs);
+ checkUnnamed2042(o.bindings);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.iamOwned, unittest.isTrue);
- checkUnnamed2041(o.rules);
+ checkUnnamed2043(o.rules);
unittest.expect(o.version, unittest.equals(42));
}
buildCounterPolicy--;
}
-buildUnnamed2042() {
+buildUnnamed2044() {
var o = new core.List<api.WafExpressionSet>();
o.add(buildWafExpressionSet());
o.add(buildWafExpressionSet());
return o;
}
-checkUnnamed2042(core.List<api.WafExpressionSet> o) {
+checkUnnamed2044(core.List<api.WafExpressionSet> o) {
unittest.expect(o, unittest.hasLength(2));
checkWafExpressionSet(o[0]);
checkWafExpressionSet(o[1]);
@@ -16528,7 +16528,7 @@
var o = new api.PreconfiguredWafSet();
buildCounterPreconfiguredWafSet++;
if (buildCounterPreconfiguredWafSet < 3) {
- o.expressionSets = buildUnnamed2042();
+ o.expressionSets = buildUnnamed2044();
}
buildCounterPreconfiguredWafSet--;
return o;
@@ -16537,32 +16537,32 @@
checkPreconfiguredWafSet(api.PreconfiguredWafSet o) {
buildCounterPreconfiguredWafSet++;
if (buildCounterPreconfiguredWafSet < 3) {
- checkUnnamed2042(o.expressionSets);
+ checkUnnamed2044(o.expressionSets);
}
buildCounterPreconfiguredWafSet--;
}
-buildUnnamed2043() {
+buildUnnamed2045() {
var o = new core.Map<core.String, api.PreservedStatePreservedDisk>();
o["x"] = buildPreservedStatePreservedDisk();
o["y"] = buildPreservedStatePreservedDisk();
return o;
}
-checkUnnamed2043(core.Map<core.String, api.PreservedStatePreservedDisk> o) {
+checkUnnamed2045(core.Map<core.String, api.PreservedStatePreservedDisk> o) {
unittest.expect(o, unittest.hasLength(2));
checkPreservedStatePreservedDisk(o["x"]);
checkPreservedStatePreservedDisk(o["y"]);
}
-buildUnnamed2044() {
+buildUnnamed2046() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2044(core.Map<core.String, core.String> o) {
+checkUnnamed2046(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -16573,8 +16573,8 @@
var o = new api.PreservedState();
buildCounterPreservedState++;
if (buildCounterPreservedState < 3) {
- o.disks = buildUnnamed2043();
- o.metadata = buildUnnamed2044();
+ o.disks = buildUnnamed2045();
+ o.metadata = buildUnnamed2046();
}
buildCounterPreservedState--;
return o;
@@ -16583,8 +16583,8 @@
checkPreservedState(api.PreservedState o) {
buildCounterPreservedState++;
if (buildCounterPreservedState < 3) {
- checkUnnamed2043(o.disks);
- checkUnnamed2044(o.metadata);
+ checkUnnamed2045(o.disks);
+ checkUnnamed2046(o.metadata);
}
buildCounterPreservedState--;
}
@@ -16612,27 +16612,27 @@
buildCounterPreservedStatePreservedDisk--;
}
-buildUnnamed2045() {
+buildUnnamed2047() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2045(core.List<core.String> o) {
+checkUnnamed2047(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2046() {
+buildUnnamed2048() {
var o = new core.List<api.Quota>();
o.add(buildQuota());
o.add(buildQuota());
return o;
}
-checkUnnamed2046(core.List<api.Quota> o) {
+checkUnnamed2048(core.List<api.Quota> o) {
unittest.expect(o, unittest.hasLength(2));
checkQuota(o[0]);
checkQuota(o[1]);
@@ -16648,11 +16648,11 @@
o.defaultNetworkTier = "foo";
o.defaultServiceAccount = "foo";
o.description = "foo";
- o.enabledFeatures = buildUnnamed2045();
+ o.enabledFeatures = buildUnnamed2047();
o.id = "foo";
o.kind = "foo";
o.name = "foo";
- o.quotas = buildUnnamed2046();
+ o.quotas = buildUnnamed2048();
o.selfLink = "foo";
o.usageExportLocation = buildUsageExportLocation();
o.xpnProjectStatus = "foo";
@@ -16669,11 +16669,11 @@
unittest.expect(o.defaultNetworkTier, unittest.equals('foo'));
unittest.expect(o.defaultServiceAccount, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed2045(o.enabledFeatures);
+ checkUnnamed2047(o.enabledFeatures);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2046(o.quotas);
+ checkUnnamed2048(o.quotas);
unittest.expect(o.selfLink, unittest.equals('foo'));
checkUsageExportLocation(o.usageExportLocation);
unittest.expect(o.xpnProjectStatus, unittest.equals('foo'));
@@ -16720,14 +16720,14 @@
buildCounterProjectsEnableXpnResourceRequest--;
}
-buildUnnamed2047() {
+buildUnnamed2049() {
var o = new core.List<api.XpnResourceId>();
o.add(buildXpnResourceId());
o.add(buildXpnResourceId());
return o;
}
-checkUnnamed2047(core.List<api.XpnResourceId> o) {
+checkUnnamed2049(core.List<api.XpnResourceId> o) {
unittest.expect(o, unittest.hasLength(2));
checkXpnResourceId(o[0]);
checkXpnResourceId(o[1]);
@@ -16740,7 +16740,7 @@
if (buildCounterProjectsGetXpnResources < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.resources = buildUnnamed2047();
+ o.resources = buildUnnamed2049();
}
buildCounterProjectsGetXpnResources--;
return o;
@@ -16751,7 +16751,7 @@
if (buildCounterProjectsGetXpnResources < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2047(o.resources);
+ checkUnnamed2049(o.resources);
}
buildCounterProjectsGetXpnResources--;
}
@@ -16845,27 +16845,27 @@
buildCounterReference--;
}
-buildUnnamed2048() {
+buildUnnamed2050() {
var o = new core.List<api.Quota>();
o.add(buildQuota());
o.add(buildQuota());
return o;
}
-checkUnnamed2048(core.List<api.Quota> o) {
+checkUnnamed2050(core.List<api.Quota> o) {
unittest.expect(o, unittest.hasLength(2));
checkQuota(o[0]);
checkQuota(o[1]);
}
-buildUnnamed2049() {
+buildUnnamed2051() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2049(core.List<core.String> o) {
+checkUnnamed2051(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -16882,10 +16882,10 @@
o.id = "foo";
o.kind = "foo";
o.name = "foo";
- o.quotas = buildUnnamed2048();
+ o.quotas = buildUnnamed2050();
o.selfLink = "foo";
o.status = "foo";
- o.zones = buildUnnamed2049();
+ o.zones = buildUnnamed2051();
}
buildCounterRegion--;
return o;
@@ -16900,22 +16900,22 @@
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2048(o.quotas);
+ checkUnnamed2050(o.quotas);
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals('foo'));
- checkUnnamed2049(o.zones);
+ checkUnnamed2051(o.zones);
}
buildCounterRegion--;
}
-buildUnnamed2050() {
+buildUnnamed2052() {
var o = new core.List<api.Autoscaler>();
o.add(buildAutoscaler());
o.add(buildAutoscaler());
return o;
}
-checkUnnamed2050(core.List<api.Autoscaler> o) {
+checkUnnamed2052(core.List<api.Autoscaler> o) {
unittest.expect(o, unittest.hasLength(2));
checkAutoscaler(o[0]);
checkAutoscaler(o[1]);
@@ -16942,14 +16942,14 @@
buildCounterRegionAutoscalerListWarningData--;
}
-buildUnnamed2051() {
+buildUnnamed2053() {
var o = new core.List<api.RegionAutoscalerListWarningData>();
o.add(buildRegionAutoscalerListWarningData());
o.add(buildRegionAutoscalerListWarningData());
return o;
}
-checkUnnamed2051(core.List<api.RegionAutoscalerListWarningData> o) {
+checkUnnamed2053(core.List<api.RegionAutoscalerListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkRegionAutoscalerListWarningData(o[0]);
checkRegionAutoscalerListWarningData(o[1]);
@@ -16961,7 +16961,7 @@
buildCounterRegionAutoscalerListWarning++;
if (buildCounterRegionAutoscalerListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2051();
+ o.data = buildUnnamed2053();
o.message = "foo";
}
buildCounterRegionAutoscalerListWarning--;
@@ -16972,7 +16972,7 @@
buildCounterRegionAutoscalerListWarning++;
if (buildCounterRegionAutoscalerListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2051(o.data);
+ checkUnnamed2053(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterRegionAutoscalerListWarning--;
@@ -16984,7 +16984,7 @@
buildCounterRegionAutoscalerList++;
if (buildCounterRegionAutoscalerList < 3) {
o.id = "foo";
- o.items = buildUnnamed2050();
+ o.items = buildUnnamed2052();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -16998,7 +16998,7 @@
buildCounterRegionAutoscalerList++;
if (buildCounterRegionAutoscalerList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2050(o.items);
+ checkUnnamed2052(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -17007,14 +17007,14 @@
buildCounterRegionAutoscalerList--;
}
-buildUnnamed2052() {
+buildUnnamed2054() {
var o = new core.List<api.DiskType>();
o.add(buildDiskType());
o.add(buildDiskType());
return o;
}
-checkUnnamed2052(core.List<api.DiskType> o) {
+checkUnnamed2054(core.List<api.DiskType> o) {
unittest.expect(o, unittest.hasLength(2));
checkDiskType(o[0]);
checkDiskType(o[1]);
@@ -17041,14 +17041,14 @@
buildCounterRegionDiskTypeListWarningData--;
}
-buildUnnamed2053() {
+buildUnnamed2055() {
var o = new core.List<api.RegionDiskTypeListWarningData>();
o.add(buildRegionDiskTypeListWarningData());
o.add(buildRegionDiskTypeListWarningData());
return o;
}
-checkUnnamed2053(core.List<api.RegionDiskTypeListWarningData> o) {
+checkUnnamed2055(core.List<api.RegionDiskTypeListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkRegionDiskTypeListWarningData(o[0]);
checkRegionDiskTypeListWarningData(o[1]);
@@ -17060,7 +17060,7 @@
buildCounterRegionDiskTypeListWarning++;
if (buildCounterRegionDiskTypeListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2053();
+ o.data = buildUnnamed2055();
o.message = "foo";
}
buildCounterRegionDiskTypeListWarning--;
@@ -17071,7 +17071,7 @@
buildCounterRegionDiskTypeListWarning++;
if (buildCounterRegionDiskTypeListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2053(o.data);
+ checkUnnamed2055(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterRegionDiskTypeListWarning--;
@@ -17083,7 +17083,7 @@
buildCounterRegionDiskTypeList++;
if (buildCounterRegionDiskTypeList < 3) {
o.id = "foo";
- o.items = buildUnnamed2052();
+ o.items = buildUnnamed2054();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -17097,7 +17097,7 @@
buildCounterRegionDiskTypeList++;
if (buildCounterRegionDiskTypeList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2052(o.items);
+ checkUnnamed2054(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -17106,14 +17106,14 @@
buildCounterRegionDiskTypeList--;
}
-buildUnnamed2054() {
+buildUnnamed2056() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2054(core.List<core.String> o) {
+checkUnnamed2056(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -17124,7 +17124,7 @@
var o = new api.RegionDisksAddResourcePoliciesRequest();
buildCounterRegionDisksAddResourcePoliciesRequest++;
if (buildCounterRegionDisksAddResourcePoliciesRequest < 3) {
- o.resourcePolicies = buildUnnamed2054();
+ o.resourcePolicies = buildUnnamed2056();
}
buildCounterRegionDisksAddResourcePoliciesRequest--;
return o;
@@ -17134,19 +17134,19 @@
api.RegionDisksAddResourcePoliciesRequest o) {
buildCounterRegionDisksAddResourcePoliciesRequest++;
if (buildCounterRegionDisksAddResourcePoliciesRequest < 3) {
- checkUnnamed2054(o.resourcePolicies);
+ checkUnnamed2056(o.resourcePolicies);
}
buildCounterRegionDisksAddResourcePoliciesRequest--;
}
-buildUnnamed2055() {
+buildUnnamed2057() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2055(core.List<core.String> o) {
+checkUnnamed2057(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -17157,7 +17157,7 @@
var o = new api.RegionDisksRemoveResourcePoliciesRequest();
buildCounterRegionDisksRemoveResourcePoliciesRequest++;
if (buildCounterRegionDisksRemoveResourcePoliciesRequest < 3) {
- o.resourcePolicies = buildUnnamed2055();
+ o.resourcePolicies = buildUnnamed2057();
}
buildCounterRegionDisksRemoveResourcePoliciesRequest--;
return o;
@@ -17167,7 +17167,7 @@
api.RegionDisksRemoveResourcePoliciesRequest o) {
buildCounterRegionDisksRemoveResourcePoliciesRequest++;
if (buildCounterRegionDisksRemoveResourcePoliciesRequest < 3) {
- checkUnnamed2055(o.resourcePolicies);
+ checkUnnamed2057(o.resourcePolicies);
}
buildCounterRegionDisksRemoveResourcePoliciesRequest--;
}
@@ -17191,14 +17191,14 @@
buildCounterRegionDisksResizeRequest--;
}
-buildUnnamed2056() {
+buildUnnamed2058() {
var o = new core.List<api.InstanceGroup>();
o.add(buildInstanceGroup());
o.add(buildInstanceGroup());
return o;
}
-checkUnnamed2056(core.List<api.InstanceGroup> o) {
+checkUnnamed2058(core.List<api.InstanceGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceGroup(o[0]);
checkInstanceGroup(o[1]);
@@ -17226,14 +17226,14 @@
buildCounterRegionInstanceGroupListWarningData--;
}
-buildUnnamed2057() {
+buildUnnamed2059() {
var o = new core.List<api.RegionInstanceGroupListWarningData>();
o.add(buildRegionInstanceGroupListWarningData());
o.add(buildRegionInstanceGroupListWarningData());
return o;
}
-checkUnnamed2057(core.List<api.RegionInstanceGroupListWarningData> o) {
+checkUnnamed2059(core.List<api.RegionInstanceGroupListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkRegionInstanceGroupListWarningData(o[0]);
checkRegionInstanceGroupListWarningData(o[1]);
@@ -17245,7 +17245,7 @@
buildCounterRegionInstanceGroupListWarning++;
if (buildCounterRegionInstanceGroupListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2057();
+ o.data = buildUnnamed2059();
o.message = "foo";
}
buildCounterRegionInstanceGroupListWarning--;
@@ -17256,7 +17256,7 @@
buildCounterRegionInstanceGroupListWarning++;
if (buildCounterRegionInstanceGroupListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2057(o.data);
+ checkUnnamed2059(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterRegionInstanceGroupListWarning--;
@@ -17268,7 +17268,7 @@
buildCounterRegionInstanceGroupList++;
if (buildCounterRegionInstanceGroupList < 3) {
o.id = "foo";
- o.items = buildUnnamed2056();
+ o.items = buildUnnamed2058();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -17282,7 +17282,7 @@
buildCounterRegionInstanceGroupList++;
if (buildCounterRegionInstanceGroupList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2056(o.items);
+ checkUnnamed2058(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -17291,14 +17291,14 @@
buildCounterRegionInstanceGroupList--;
}
-buildUnnamed2058() {
+buildUnnamed2060() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2058(core.List<core.String> o) {
+checkUnnamed2060(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -17309,7 +17309,7 @@
var o = new api.RegionInstanceGroupManagerDeleteInstanceConfigReq();
buildCounterRegionInstanceGroupManagerDeleteInstanceConfigReq++;
if (buildCounterRegionInstanceGroupManagerDeleteInstanceConfigReq < 3) {
- o.names = buildUnnamed2058();
+ o.names = buildUnnamed2060();
}
buildCounterRegionInstanceGroupManagerDeleteInstanceConfigReq--;
return o;
@@ -17319,19 +17319,19 @@
api.RegionInstanceGroupManagerDeleteInstanceConfigReq o) {
buildCounterRegionInstanceGroupManagerDeleteInstanceConfigReq++;
if (buildCounterRegionInstanceGroupManagerDeleteInstanceConfigReq < 3) {
- checkUnnamed2058(o.names);
+ checkUnnamed2060(o.names);
}
buildCounterRegionInstanceGroupManagerDeleteInstanceConfigReq--;
}
-buildUnnamed2059() {
+buildUnnamed2061() {
var o = new core.List<api.InstanceGroupManager>();
o.add(buildInstanceGroupManager());
o.add(buildInstanceGroupManager());
return o;
}
-checkUnnamed2059(core.List<api.InstanceGroupManager> o) {
+checkUnnamed2061(core.List<api.InstanceGroupManager> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceGroupManager(o[0]);
checkInstanceGroupManager(o[1]);
@@ -17359,14 +17359,14 @@
buildCounterRegionInstanceGroupManagerListWarningData--;
}
-buildUnnamed2060() {
+buildUnnamed2062() {
var o = new core.List<api.RegionInstanceGroupManagerListWarningData>();
o.add(buildRegionInstanceGroupManagerListWarningData());
o.add(buildRegionInstanceGroupManagerListWarningData());
return o;
}
-checkUnnamed2060(core.List<api.RegionInstanceGroupManagerListWarningData> o) {
+checkUnnamed2062(core.List<api.RegionInstanceGroupManagerListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkRegionInstanceGroupManagerListWarningData(o[0]);
checkRegionInstanceGroupManagerListWarningData(o[1]);
@@ -17378,7 +17378,7 @@
buildCounterRegionInstanceGroupManagerListWarning++;
if (buildCounterRegionInstanceGroupManagerListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2060();
+ o.data = buildUnnamed2062();
o.message = "foo";
}
buildCounterRegionInstanceGroupManagerListWarning--;
@@ -17390,7 +17390,7 @@
buildCounterRegionInstanceGroupManagerListWarning++;
if (buildCounterRegionInstanceGroupManagerListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2060(o.data);
+ checkUnnamed2062(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterRegionInstanceGroupManagerListWarning--;
@@ -17402,7 +17402,7 @@
buildCounterRegionInstanceGroupManagerList++;
if (buildCounterRegionInstanceGroupManagerList < 3) {
o.id = "foo";
- o.items = buildUnnamed2059();
+ o.items = buildUnnamed2061();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -17416,7 +17416,7 @@
buildCounterRegionInstanceGroupManagerList++;
if (buildCounterRegionInstanceGroupManagerList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2059(o.items);
+ checkUnnamed2061(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -17425,14 +17425,14 @@
buildCounterRegionInstanceGroupManagerList--;
}
-buildUnnamed2061() {
+buildUnnamed2063() {
var o = new core.List<api.PerInstanceConfig>();
o.add(buildPerInstanceConfig());
o.add(buildPerInstanceConfig());
return o;
}
-checkUnnamed2061(core.List<api.PerInstanceConfig> o) {
+checkUnnamed2063(core.List<api.PerInstanceConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkPerInstanceConfig(o[0]);
checkPerInstanceConfig(o[1]);
@@ -17443,7 +17443,7 @@
var o = new api.RegionInstanceGroupManagerPatchInstanceConfigReq();
buildCounterRegionInstanceGroupManagerPatchInstanceConfigReq++;
if (buildCounterRegionInstanceGroupManagerPatchInstanceConfigReq < 3) {
- o.perInstanceConfigs = buildUnnamed2061();
+ o.perInstanceConfigs = buildUnnamed2063();
}
buildCounterRegionInstanceGroupManagerPatchInstanceConfigReq--;
return o;
@@ -17453,19 +17453,19 @@
api.RegionInstanceGroupManagerPatchInstanceConfigReq o) {
buildCounterRegionInstanceGroupManagerPatchInstanceConfigReq++;
if (buildCounterRegionInstanceGroupManagerPatchInstanceConfigReq < 3) {
- checkUnnamed2061(o.perInstanceConfigs);
+ checkUnnamed2063(o.perInstanceConfigs);
}
buildCounterRegionInstanceGroupManagerPatchInstanceConfigReq--;
}
-buildUnnamed2062() {
+buildUnnamed2064() {
var o = new core.List<api.PerInstanceConfig>();
o.add(buildPerInstanceConfig());
o.add(buildPerInstanceConfig());
return o;
}
-checkUnnamed2062(core.List<api.PerInstanceConfig> o) {
+checkUnnamed2064(core.List<api.PerInstanceConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkPerInstanceConfig(o[0]);
checkPerInstanceConfig(o[1]);
@@ -17476,7 +17476,7 @@
var o = new api.RegionInstanceGroupManagerUpdateInstanceConfigReq();
buildCounterRegionInstanceGroupManagerUpdateInstanceConfigReq++;
if (buildCounterRegionInstanceGroupManagerUpdateInstanceConfigReq < 3) {
- o.perInstanceConfigs = buildUnnamed2062();
+ o.perInstanceConfigs = buildUnnamed2064();
}
buildCounterRegionInstanceGroupManagerUpdateInstanceConfigReq--;
return o;
@@ -17486,19 +17486,19 @@
api.RegionInstanceGroupManagerUpdateInstanceConfigReq o) {
buildCounterRegionInstanceGroupManagerUpdateInstanceConfigReq++;
if (buildCounterRegionInstanceGroupManagerUpdateInstanceConfigReq < 3) {
- checkUnnamed2062(o.perInstanceConfigs);
+ checkUnnamed2064(o.perInstanceConfigs);
}
buildCounterRegionInstanceGroupManagerUpdateInstanceConfigReq--;
}
-buildUnnamed2063() {
+buildUnnamed2065() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2063(core.List<core.String> o) {
+checkUnnamed2065(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -17509,7 +17509,7 @@
var o = new api.RegionInstanceGroupManagersAbandonInstancesRequest();
buildCounterRegionInstanceGroupManagersAbandonInstancesRequest++;
if (buildCounterRegionInstanceGroupManagersAbandonInstancesRequest < 3) {
- o.instances = buildUnnamed2063();
+ o.instances = buildUnnamed2065();
}
buildCounterRegionInstanceGroupManagersAbandonInstancesRequest--;
return o;
@@ -17519,79 +17519,9 @@
api.RegionInstanceGroupManagersAbandonInstancesRequest o) {
buildCounterRegionInstanceGroupManagersAbandonInstancesRequest++;
if (buildCounterRegionInstanceGroupManagersAbandonInstancesRequest < 3) {
- checkUnnamed2063(o.instances);
- }
- buildCounterRegionInstanceGroupManagersAbandonInstancesRequest--;
-}
-
-buildUnnamed2064() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2064(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-core.int buildCounterRegionInstanceGroupManagersApplyUpdatesRequest = 0;
-buildRegionInstanceGroupManagersApplyUpdatesRequest() {
- var o = new api.RegionInstanceGroupManagersApplyUpdatesRequest();
- buildCounterRegionInstanceGroupManagersApplyUpdatesRequest++;
- if (buildCounterRegionInstanceGroupManagersApplyUpdatesRequest < 3) {
- o.instances = buildUnnamed2064();
- o.minimalAction = "foo";
- o.mostDisruptiveAllowedAction = "foo";
- }
- buildCounterRegionInstanceGroupManagersApplyUpdatesRequest--;
- return o;
-}
-
-checkRegionInstanceGroupManagersApplyUpdatesRequest(
- api.RegionInstanceGroupManagersApplyUpdatesRequest o) {
- buildCounterRegionInstanceGroupManagersApplyUpdatesRequest++;
- if (buildCounterRegionInstanceGroupManagersApplyUpdatesRequest < 3) {
- checkUnnamed2064(o.instances);
- unittest.expect(o.minimalAction, unittest.equals('foo'));
- unittest.expect(o.mostDisruptiveAllowedAction, unittest.equals('foo'));
- }
- buildCounterRegionInstanceGroupManagersApplyUpdatesRequest--;
-}
-
-buildUnnamed2065() {
- var o = new core.List<api.PerInstanceConfig>();
- o.add(buildPerInstanceConfig());
- o.add(buildPerInstanceConfig());
- return o;
-}
-
-checkUnnamed2065(core.List<api.PerInstanceConfig> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkPerInstanceConfig(o[0]);
- checkPerInstanceConfig(o[1]);
-}
-
-core.int buildCounterRegionInstanceGroupManagersCreateInstancesRequest = 0;
-buildRegionInstanceGroupManagersCreateInstancesRequest() {
- var o = new api.RegionInstanceGroupManagersCreateInstancesRequest();
- buildCounterRegionInstanceGroupManagersCreateInstancesRequest++;
- if (buildCounterRegionInstanceGroupManagersCreateInstancesRequest < 3) {
- o.instances = buildUnnamed2065();
- }
- buildCounterRegionInstanceGroupManagersCreateInstancesRequest--;
- return o;
-}
-
-checkRegionInstanceGroupManagersCreateInstancesRequest(
- api.RegionInstanceGroupManagersCreateInstancesRequest o) {
- buildCounterRegionInstanceGroupManagersCreateInstancesRequest++;
- if (buildCounterRegionInstanceGroupManagersCreateInstancesRequest < 3) {
checkUnnamed2065(o.instances);
}
- buildCounterRegionInstanceGroupManagersCreateInstancesRequest--;
+ buildCounterRegionInstanceGroupManagersAbandonInstancesRequest--;
}
buildUnnamed2066() {
@@ -17607,12 +17537,82 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+core.int buildCounterRegionInstanceGroupManagersApplyUpdatesRequest = 0;
+buildRegionInstanceGroupManagersApplyUpdatesRequest() {
+ var o = new api.RegionInstanceGroupManagersApplyUpdatesRequest();
+ buildCounterRegionInstanceGroupManagersApplyUpdatesRequest++;
+ if (buildCounterRegionInstanceGroupManagersApplyUpdatesRequest < 3) {
+ o.instances = buildUnnamed2066();
+ o.minimalAction = "foo";
+ o.mostDisruptiveAllowedAction = "foo";
+ }
+ buildCounterRegionInstanceGroupManagersApplyUpdatesRequest--;
+ return o;
+}
+
+checkRegionInstanceGroupManagersApplyUpdatesRequest(
+ api.RegionInstanceGroupManagersApplyUpdatesRequest o) {
+ buildCounterRegionInstanceGroupManagersApplyUpdatesRequest++;
+ if (buildCounterRegionInstanceGroupManagersApplyUpdatesRequest < 3) {
+ checkUnnamed2066(o.instances);
+ unittest.expect(o.minimalAction, unittest.equals('foo'));
+ unittest.expect(o.mostDisruptiveAllowedAction, unittest.equals('foo'));
+ }
+ buildCounterRegionInstanceGroupManagersApplyUpdatesRequest--;
+}
+
+buildUnnamed2067() {
+ var o = new core.List<api.PerInstanceConfig>();
+ o.add(buildPerInstanceConfig());
+ o.add(buildPerInstanceConfig());
+ return o;
+}
+
+checkUnnamed2067(core.List<api.PerInstanceConfig> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkPerInstanceConfig(o[0]);
+ checkPerInstanceConfig(o[1]);
+}
+
+core.int buildCounterRegionInstanceGroupManagersCreateInstancesRequest = 0;
+buildRegionInstanceGroupManagersCreateInstancesRequest() {
+ var o = new api.RegionInstanceGroupManagersCreateInstancesRequest();
+ buildCounterRegionInstanceGroupManagersCreateInstancesRequest++;
+ if (buildCounterRegionInstanceGroupManagersCreateInstancesRequest < 3) {
+ o.instances = buildUnnamed2067();
+ }
+ buildCounterRegionInstanceGroupManagersCreateInstancesRequest--;
+ return o;
+}
+
+checkRegionInstanceGroupManagersCreateInstancesRequest(
+ api.RegionInstanceGroupManagersCreateInstancesRequest o) {
+ buildCounterRegionInstanceGroupManagersCreateInstancesRequest++;
+ if (buildCounterRegionInstanceGroupManagersCreateInstancesRequest < 3) {
+ checkUnnamed2067(o.instances);
+ }
+ buildCounterRegionInstanceGroupManagersCreateInstancesRequest--;
+}
+
+buildUnnamed2068() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2068(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
core.int buildCounterRegionInstanceGroupManagersDeleteInstancesRequest = 0;
buildRegionInstanceGroupManagersDeleteInstancesRequest() {
var o = new api.RegionInstanceGroupManagersDeleteInstancesRequest();
buildCounterRegionInstanceGroupManagersDeleteInstancesRequest++;
if (buildCounterRegionInstanceGroupManagersDeleteInstancesRequest < 3) {
- o.instances = buildUnnamed2066();
+ o.instances = buildUnnamed2068();
}
buildCounterRegionInstanceGroupManagersDeleteInstancesRequest--;
return o;
@@ -17622,19 +17622,19 @@
api.RegionInstanceGroupManagersDeleteInstancesRequest o) {
buildCounterRegionInstanceGroupManagersDeleteInstancesRequest++;
if (buildCounterRegionInstanceGroupManagersDeleteInstancesRequest < 3) {
- checkUnnamed2066(o.instances);
+ checkUnnamed2068(o.instances);
}
buildCounterRegionInstanceGroupManagersDeleteInstancesRequest--;
}
-buildUnnamed2067() {
+buildUnnamed2069() {
var o = new core.List<api.InstanceManagedByIgmError>();
o.add(buildInstanceManagedByIgmError());
o.add(buildInstanceManagedByIgmError());
return o;
}
-checkUnnamed2067(core.List<api.InstanceManagedByIgmError> o) {
+checkUnnamed2069(core.List<api.InstanceManagedByIgmError> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceManagedByIgmError(o[0]);
checkInstanceManagedByIgmError(o[1]);
@@ -17645,7 +17645,7 @@
var o = new api.RegionInstanceGroupManagersListErrorsResponse();
buildCounterRegionInstanceGroupManagersListErrorsResponse++;
if (buildCounterRegionInstanceGroupManagersListErrorsResponse < 3) {
- o.items = buildUnnamed2067();
+ o.items = buildUnnamed2069();
o.nextPageToken = "foo";
}
buildCounterRegionInstanceGroupManagersListErrorsResponse--;
@@ -17656,20 +17656,20 @@
api.RegionInstanceGroupManagersListErrorsResponse o) {
buildCounterRegionInstanceGroupManagersListErrorsResponse++;
if (buildCounterRegionInstanceGroupManagersListErrorsResponse < 3) {
- checkUnnamed2067(o.items);
+ checkUnnamed2069(o.items);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterRegionInstanceGroupManagersListErrorsResponse--;
}
-buildUnnamed2068() {
+buildUnnamed2070() {
var o = new core.List<api.PerInstanceConfig>();
o.add(buildPerInstanceConfig());
o.add(buildPerInstanceConfig());
return o;
}
-checkUnnamed2068(core.List<api.PerInstanceConfig> o) {
+checkUnnamed2070(core.List<api.PerInstanceConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkPerInstanceConfig(o[0]);
checkPerInstanceConfig(o[1]);
@@ -17702,7 +17702,7 @@
buildCounterRegionInstanceGroupManagersListInstanceConfigsRespWarningData--;
}
-buildUnnamed2069() {
+buildUnnamed2071() {
var o = new core.List<
api.RegionInstanceGroupManagersListInstanceConfigsRespWarningData>();
o.add(buildRegionInstanceGroupManagersListInstanceConfigsRespWarningData());
@@ -17710,7 +17710,7 @@
return o;
}
-checkUnnamed2069(
+checkUnnamed2071(
core.List<api.RegionInstanceGroupManagersListInstanceConfigsRespWarningData>
o) {
unittest.expect(o, unittest.hasLength(2));
@@ -17726,7 +17726,7 @@
if (buildCounterRegionInstanceGroupManagersListInstanceConfigsRespWarning <
3) {
o.code = "foo";
- o.data = buildUnnamed2069();
+ o.data = buildUnnamed2071();
o.message = "foo";
}
buildCounterRegionInstanceGroupManagersListInstanceConfigsRespWarning--;
@@ -17739,7 +17739,7 @@
if (buildCounterRegionInstanceGroupManagersListInstanceConfigsRespWarning <
3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2069(o.data);
+ checkUnnamed2071(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterRegionInstanceGroupManagersListInstanceConfigsRespWarning--;
@@ -17750,7 +17750,7 @@
var o = new api.RegionInstanceGroupManagersListInstanceConfigsResp();
buildCounterRegionInstanceGroupManagersListInstanceConfigsResp++;
if (buildCounterRegionInstanceGroupManagersListInstanceConfigsResp < 3) {
- o.items = buildUnnamed2068();
+ o.items = buildUnnamed2070();
o.nextPageToken = "foo";
o.warning =
buildRegionInstanceGroupManagersListInstanceConfigsRespWarning();
@@ -17763,21 +17763,21 @@
api.RegionInstanceGroupManagersListInstanceConfigsResp o) {
buildCounterRegionInstanceGroupManagersListInstanceConfigsResp++;
if (buildCounterRegionInstanceGroupManagersListInstanceConfigsResp < 3) {
- checkUnnamed2068(o.items);
+ checkUnnamed2070(o.items);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkRegionInstanceGroupManagersListInstanceConfigsRespWarning(o.warning);
}
buildCounterRegionInstanceGroupManagersListInstanceConfigsResp--;
}
-buildUnnamed2070() {
+buildUnnamed2072() {
var o = new core.List<api.ManagedInstance>();
o.add(buildManagedInstance());
o.add(buildManagedInstance());
return o;
}
-checkUnnamed2070(core.List<api.ManagedInstance> o) {
+checkUnnamed2072(core.List<api.ManagedInstance> o) {
unittest.expect(o, unittest.hasLength(2));
checkManagedInstance(o[0]);
checkManagedInstance(o[1]);
@@ -17788,7 +17788,7 @@
var o = new api.RegionInstanceGroupManagersListInstancesResponse();
buildCounterRegionInstanceGroupManagersListInstancesResponse++;
if (buildCounterRegionInstanceGroupManagersListInstancesResponse < 3) {
- o.managedInstances = buildUnnamed2070();
+ o.managedInstances = buildUnnamed2072();
o.nextPageToken = "foo";
}
buildCounterRegionInstanceGroupManagersListInstancesResponse--;
@@ -17799,20 +17799,20 @@
api.RegionInstanceGroupManagersListInstancesResponse o) {
buildCounterRegionInstanceGroupManagersListInstancesResponse++;
if (buildCounterRegionInstanceGroupManagersListInstancesResponse < 3) {
- checkUnnamed2070(o.managedInstances);
+ checkUnnamed2072(o.managedInstances);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterRegionInstanceGroupManagersListInstancesResponse--;
}
-buildUnnamed2071() {
+buildUnnamed2073() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2071(core.List<core.String> o) {
+checkUnnamed2073(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -17823,7 +17823,7 @@
var o = new api.RegionInstanceGroupManagersRecreateRequest();
buildCounterRegionInstanceGroupManagersRecreateRequest++;
if (buildCounterRegionInstanceGroupManagersRecreateRequest < 3) {
- o.instances = buildUnnamed2071();
+ o.instances = buildUnnamed2073();
}
buildCounterRegionInstanceGroupManagersRecreateRequest--;
return o;
@@ -17833,19 +17833,19 @@
api.RegionInstanceGroupManagersRecreateRequest o) {
buildCounterRegionInstanceGroupManagersRecreateRequest++;
if (buildCounterRegionInstanceGroupManagersRecreateRequest < 3) {
- checkUnnamed2071(o.instances);
+ checkUnnamed2073(o.instances);
}
buildCounterRegionInstanceGroupManagersRecreateRequest--;
}
-buildUnnamed2072() {
+buildUnnamed2074() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2072(core.List<core.String> o) {
+checkUnnamed2074(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -17857,7 +17857,7 @@
buildCounterRegionInstanceGroupManagersSetTargetPoolsRequest++;
if (buildCounterRegionInstanceGroupManagersSetTargetPoolsRequest < 3) {
o.fingerprint = "foo";
- o.targetPools = buildUnnamed2072();
+ o.targetPools = buildUnnamed2074();
}
buildCounterRegionInstanceGroupManagersSetTargetPoolsRequest--;
return o;
@@ -17868,7 +17868,7 @@
buildCounterRegionInstanceGroupManagersSetTargetPoolsRequest++;
if (buildCounterRegionInstanceGroupManagersSetTargetPoolsRequest < 3) {
unittest.expect(o.fingerprint, unittest.equals('foo'));
- checkUnnamed2072(o.targetPools);
+ checkUnnamed2074(o.targetPools);
}
buildCounterRegionInstanceGroupManagersSetTargetPoolsRequest--;
}
@@ -17893,14 +17893,14 @@
buildCounterRegionInstanceGroupManagersSetTemplateRequest--;
}
-buildUnnamed2073() {
+buildUnnamed2075() {
var o = new core.List<api.InstanceWithNamedPorts>();
o.add(buildInstanceWithNamedPorts());
o.add(buildInstanceWithNamedPorts());
return o;
}
-checkUnnamed2073(core.List<api.InstanceWithNamedPorts> o) {
+checkUnnamed2075(core.List<api.InstanceWithNamedPorts> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceWithNamedPorts(o[0]);
checkInstanceWithNamedPorts(o[1]);
@@ -17928,14 +17928,14 @@
buildCounterRegionInstanceGroupsListInstancesWarningData--;
}
-buildUnnamed2074() {
+buildUnnamed2076() {
var o = new core.List<api.RegionInstanceGroupsListInstancesWarningData>();
o.add(buildRegionInstanceGroupsListInstancesWarningData());
o.add(buildRegionInstanceGroupsListInstancesWarningData());
return o;
}
-checkUnnamed2074(
+checkUnnamed2076(
core.List<api.RegionInstanceGroupsListInstancesWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkRegionInstanceGroupsListInstancesWarningData(o[0]);
@@ -17948,7 +17948,7 @@
buildCounterRegionInstanceGroupsListInstancesWarning++;
if (buildCounterRegionInstanceGroupsListInstancesWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2074();
+ o.data = buildUnnamed2076();
o.message = "foo";
}
buildCounterRegionInstanceGroupsListInstancesWarning--;
@@ -17960,7 +17960,7 @@
buildCounterRegionInstanceGroupsListInstancesWarning++;
if (buildCounterRegionInstanceGroupsListInstancesWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2074(o.data);
+ checkUnnamed2076(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterRegionInstanceGroupsListInstancesWarning--;
@@ -17972,7 +17972,7 @@
buildCounterRegionInstanceGroupsListInstances++;
if (buildCounterRegionInstanceGroupsListInstances < 3) {
o.id = "foo";
- o.items = buildUnnamed2073();
+ o.items = buildUnnamed2075();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -17987,7 +17987,7 @@
buildCounterRegionInstanceGroupsListInstances++;
if (buildCounterRegionInstanceGroupsListInstances < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2073(o.items);
+ checkUnnamed2075(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -18018,14 +18018,14 @@
buildCounterRegionInstanceGroupsListInstancesRequest--;
}
-buildUnnamed2075() {
+buildUnnamed2077() {
var o = new core.List<api.NamedPort>();
o.add(buildNamedPort());
o.add(buildNamedPort());
return o;
}
-checkUnnamed2075(core.List<api.NamedPort> o) {
+checkUnnamed2077(core.List<api.NamedPort> o) {
unittest.expect(o, unittest.hasLength(2));
checkNamedPort(o[0]);
checkNamedPort(o[1]);
@@ -18037,7 +18037,7 @@
buildCounterRegionInstanceGroupsSetNamedPortsRequest++;
if (buildCounterRegionInstanceGroupsSetNamedPortsRequest < 3) {
o.fingerprint = "foo";
- o.namedPorts = buildUnnamed2075();
+ o.namedPorts = buildUnnamed2077();
}
buildCounterRegionInstanceGroupsSetNamedPortsRequest--;
return o;
@@ -18048,19 +18048,19 @@
buildCounterRegionInstanceGroupsSetNamedPortsRequest++;
if (buildCounterRegionInstanceGroupsSetNamedPortsRequest < 3) {
unittest.expect(o.fingerprint, unittest.equals('foo'));
- checkUnnamed2075(o.namedPorts);
+ checkUnnamed2077(o.namedPorts);
}
buildCounterRegionInstanceGroupsSetNamedPortsRequest--;
}
-buildUnnamed2076() {
+buildUnnamed2078() {
var o = new core.List<api.Region>();
o.add(buildRegion());
o.add(buildRegion());
return o;
}
-checkUnnamed2076(core.List<api.Region> o) {
+checkUnnamed2078(core.List<api.Region> o) {
unittest.expect(o, unittest.hasLength(2));
checkRegion(o[0]);
checkRegion(o[1]);
@@ -18087,14 +18087,14 @@
buildCounterRegionListWarningData--;
}
-buildUnnamed2077() {
+buildUnnamed2079() {
var o = new core.List<api.RegionListWarningData>();
o.add(buildRegionListWarningData());
o.add(buildRegionListWarningData());
return o;
}
-checkUnnamed2077(core.List<api.RegionListWarningData> o) {
+checkUnnamed2079(core.List<api.RegionListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkRegionListWarningData(o[0]);
checkRegionListWarningData(o[1]);
@@ -18106,7 +18106,7 @@
buildCounterRegionListWarning++;
if (buildCounterRegionListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2077();
+ o.data = buildUnnamed2079();
o.message = "foo";
}
buildCounterRegionListWarning--;
@@ -18117,7 +18117,7 @@
buildCounterRegionListWarning++;
if (buildCounterRegionListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2077(o.data);
+ checkUnnamed2079(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterRegionListWarning--;
@@ -18129,7 +18129,7 @@
buildCounterRegionList++;
if (buildCounterRegionList < 3) {
o.id = "foo";
- o.items = buildUnnamed2076();
+ o.items = buildUnnamed2078();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -18143,7 +18143,7 @@
buildCounterRegionList++;
if (buildCounterRegionList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2076(o.items);
+ checkUnnamed2078(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -18152,14 +18152,14 @@
buildCounterRegionList--;
}
-buildUnnamed2078() {
+buildUnnamed2080() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2078(core.Map<core.String, core.String> o) {
+checkUnnamed2080(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -18171,7 +18171,7 @@
buildCounterRegionSetLabelsRequest++;
if (buildCounterRegionSetLabelsRequest < 3) {
o.labelFingerprint = "foo";
- o.labels = buildUnnamed2078();
+ o.labels = buildUnnamed2080();
}
buildCounterRegionSetLabelsRequest--;
return o;
@@ -18181,19 +18181,19 @@
buildCounterRegionSetLabelsRequest++;
if (buildCounterRegionSetLabelsRequest < 3) {
unittest.expect(o.labelFingerprint, unittest.equals('foo'));
- checkUnnamed2078(o.labels);
+ checkUnnamed2080(o.labels);
}
buildCounterRegionSetLabelsRequest--;
}
-buildUnnamed2079() {
+buildUnnamed2081() {
var o = new core.List<api.Binding>();
o.add(buildBinding());
o.add(buildBinding());
return o;
}
-checkUnnamed2079(core.List<api.Binding> o) {
+checkUnnamed2081(core.List<api.Binding> o) {
unittest.expect(o, unittest.hasLength(2));
checkBinding(o[0]);
checkBinding(o[1]);
@@ -18204,7 +18204,7 @@
var o = new api.RegionSetPolicyRequest();
buildCounterRegionSetPolicyRequest++;
if (buildCounterRegionSetPolicyRequest < 3) {
- o.bindings = buildUnnamed2079();
+ o.bindings = buildUnnamed2081();
o.etag = "foo";
o.policy = buildPolicy();
}
@@ -18215,21 +18215,21 @@
checkRegionSetPolicyRequest(api.RegionSetPolicyRequest o) {
buildCounterRegionSetPolicyRequest++;
if (buildCounterRegionSetPolicyRequest < 3) {
- checkUnnamed2079(o.bindings);
+ checkUnnamed2081(o.bindings);
unittest.expect(o.etag, unittest.equals('foo'));
checkPolicy(o.policy);
}
buildCounterRegionSetPolicyRequest--;
}
-buildUnnamed2080() {
+buildUnnamed2082() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2080(core.List<core.String> o) {
+checkUnnamed2082(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -18240,7 +18240,7 @@
var o = new api.RegionTargetHttpsProxiesSetSslCertificatesRequest();
buildCounterRegionTargetHttpsProxiesSetSslCertificatesRequest++;
if (buildCounterRegionTargetHttpsProxiesSetSslCertificatesRequest < 3) {
- o.sslCertificates = buildUnnamed2080();
+ o.sslCertificates = buildUnnamed2082();
}
buildCounterRegionTargetHttpsProxiesSetSslCertificatesRequest--;
return o;
@@ -18250,7 +18250,7 @@
api.RegionTargetHttpsProxiesSetSslCertificatesRequest o) {
buildCounterRegionTargetHttpsProxiesSetSslCertificatesRequest++;
if (buildCounterRegionTargetHttpsProxiesSetSslCertificatesRequest < 3) {
- checkUnnamed2080(o.sslCertificates);
+ checkUnnamed2082(o.sslCertificates);
}
buildCounterRegionTargetHttpsProxiesSetSslCertificatesRequest--;
}
@@ -18332,14 +18332,14 @@
buildCounterReservation--;
}
-buildUnnamed2081() {
+buildUnnamed2083() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2081(core.List<core.String> o) {
+checkUnnamed2083(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -18352,7 +18352,7 @@
if (buildCounterReservationAffinity < 3) {
o.consumeReservationType = "foo";
o.key = "foo";
- o.values = buildUnnamed2081();
+ o.values = buildUnnamed2083();
}
buildCounterReservationAffinity--;
return o;
@@ -18363,32 +18363,32 @@
if (buildCounterReservationAffinity < 3) {
unittest.expect(o.consumeReservationType, unittest.equals('foo'));
unittest.expect(o.key, unittest.equals('foo'));
- checkUnnamed2081(o.values);
+ checkUnnamed2083(o.values);
}
buildCounterReservationAffinity--;
}
-buildUnnamed2082() {
+buildUnnamed2084() {
var o = new core.Map<core.String, api.ReservationsScopedList>();
o["x"] = buildReservationsScopedList();
o["y"] = buildReservationsScopedList();
return o;
}
-checkUnnamed2082(core.Map<core.String, api.ReservationsScopedList> o) {
+checkUnnamed2084(core.Map<core.String, api.ReservationsScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkReservationsScopedList(o["x"]);
checkReservationsScopedList(o["y"]);
}
-buildUnnamed2083() {
+buildUnnamed2085() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2083(core.List<core.String> o) {
+checkUnnamed2085(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -18416,14 +18416,14 @@
buildCounterReservationAggregatedListWarningData--;
}
-buildUnnamed2084() {
+buildUnnamed2086() {
var o = new core.List<api.ReservationAggregatedListWarningData>();
o.add(buildReservationAggregatedListWarningData());
o.add(buildReservationAggregatedListWarningData());
return o;
}
-checkUnnamed2084(core.List<api.ReservationAggregatedListWarningData> o) {
+checkUnnamed2086(core.List<api.ReservationAggregatedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkReservationAggregatedListWarningData(o[0]);
checkReservationAggregatedListWarningData(o[1]);
@@ -18435,7 +18435,7 @@
buildCounterReservationAggregatedListWarning++;
if (buildCounterReservationAggregatedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2084();
+ o.data = buildUnnamed2086();
o.message = "foo";
}
buildCounterReservationAggregatedListWarning--;
@@ -18446,7 +18446,7 @@
buildCounterReservationAggregatedListWarning++;
if (buildCounterReservationAggregatedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2084(o.data);
+ checkUnnamed2086(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterReservationAggregatedListWarning--;
@@ -18458,11 +18458,11 @@
buildCounterReservationAggregatedList++;
if (buildCounterReservationAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed2082();
+ o.items = buildUnnamed2084();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
- o.unreachables = buildUnnamed2083();
+ o.unreachables = buildUnnamed2085();
o.warning = buildReservationAggregatedListWarning();
}
buildCounterReservationAggregatedList--;
@@ -18473,24 +18473,24 @@
buildCounterReservationAggregatedList++;
if (buildCounterReservationAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2082(o.items);
+ checkUnnamed2084(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
- checkUnnamed2083(o.unreachables);
+ checkUnnamed2085(o.unreachables);
checkReservationAggregatedListWarning(o.warning);
}
buildCounterReservationAggregatedList--;
}
-buildUnnamed2085() {
+buildUnnamed2087() {
var o = new core.List<api.Reservation>();
o.add(buildReservation());
o.add(buildReservation());
return o;
}
-checkUnnamed2085(core.List<api.Reservation> o) {
+checkUnnamed2087(core.List<api.Reservation> o) {
unittest.expect(o, unittest.hasLength(2));
checkReservation(o[0]);
checkReservation(o[1]);
@@ -18517,14 +18517,14 @@
buildCounterReservationListWarningData--;
}
-buildUnnamed2086() {
+buildUnnamed2088() {
var o = new core.List<api.ReservationListWarningData>();
o.add(buildReservationListWarningData());
o.add(buildReservationListWarningData());
return o;
}
-checkUnnamed2086(core.List<api.ReservationListWarningData> o) {
+checkUnnamed2088(core.List<api.ReservationListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkReservationListWarningData(o[0]);
checkReservationListWarningData(o[1]);
@@ -18536,7 +18536,7 @@
buildCounterReservationListWarning++;
if (buildCounterReservationListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2086();
+ o.data = buildUnnamed2088();
o.message = "foo";
}
buildCounterReservationListWarning--;
@@ -18547,7 +18547,7 @@
buildCounterReservationListWarning++;
if (buildCounterReservationListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2086(o.data);
+ checkUnnamed2088(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterReservationListWarning--;
@@ -18559,7 +18559,7 @@
buildCounterReservationList++;
if (buildCounterReservationList < 3) {
o.id = "foo";
- o.items = buildUnnamed2085();
+ o.items = buildUnnamed2087();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -18573,7 +18573,7 @@
buildCounterReservationList++;
if (buildCounterReservationList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2085(o.items);
+ checkUnnamed2087(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -18601,14 +18601,14 @@
buildCounterReservationsResizeRequest--;
}
-buildUnnamed2087() {
+buildUnnamed2089() {
var o = new core.List<api.Reservation>();
o.add(buildReservation());
o.add(buildReservation());
return o;
}
-checkUnnamed2087(core.List<api.Reservation> o) {
+checkUnnamed2089(core.List<api.Reservation> o) {
unittest.expect(o, unittest.hasLength(2));
checkReservation(o[0]);
checkReservation(o[1]);
@@ -18636,14 +18636,14 @@
buildCounterReservationsScopedListWarningData--;
}
-buildUnnamed2088() {
+buildUnnamed2090() {
var o = new core.List<api.ReservationsScopedListWarningData>();
o.add(buildReservationsScopedListWarningData());
o.add(buildReservationsScopedListWarningData());
return o;
}
-checkUnnamed2088(core.List<api.ReservationsScopedListWarningData> o) {
+checkUnnamed2090(core.List<api.ReservationsScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkReservationsScopedListWarningData(o[0]);
checkReservationsScopedListWarningData(o[1]);
@@ -18655,7 +18655,7 @@
buildCounterReservationsScopedListWarning++;
if (buildCounterReservationsScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2088();
+ o.data = buildUnnamed2090();
o.message = "foo";
}
buildCounterReservationsScopedListWarning--;
@@ -18666,7 +18666,7 @@
buildCounterReservationsScopedListWarning++;
if (buildCounterReservationsScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2088(o.data);
+ checkUnnamed2090(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterReservationsScopedListWarning--;
@@ -18677,7 +18677,7 @@
var o = new api.ReservationsScopedList();
buildCounterReservationsScopedList++;
if (buildCounterReservationsScopedList < 3) {
- o.reservations = buildUnnamed2087();
+ o.reservations = buildUnnamed2089();
o.warning = buildReservationsScopedListWarning();
}
buildCounterReservationsScopedList--;
@@ -18687,7 +18687,7 @@
checkReservationsScopedList(api.ReservationsScopedList o) {
buildCounterReservationsScopedList++;
if (buildCounterReservationsScopedList < 3) {
- checkUnnamed2087(o.reservations);
+ checkUnnamed2089(o.reservations);
checkReservationsScopedListWarning(o.warning);
}
buildCounterReservationsScopedList--;
@@ -18735,14 +18735,14 @@
buildCounterResourceGroupReference--;
}
-buildUnnamed2089() {
+buildUnnamed2091() {
var o = new core.List<api.ResourcePolicy>();
o.add(buildResourcePolicy());
o.add(buildResourcePolicy());
return o;
}
-checkUnnamed2089(core.List<api.ResourcePolicy> o) {
+checkUnnamed2091(core.List<api.ResourcePolicy> o) {
unittest.expect(o, unittest.hasLength(2));
checkResourcePolicy(o[0]);
checkResourcePolicy(o[1]);
@@ -18770,14 +18770,14 @@
buildCounterResourcePoliciesScopedListWarningData--;
}
-buildUnnamed2090() {
+buildUnnamed2092() {
var o = new core.List<api.ResourcePoliciesScopedListWarningData>();
o.add(buildResourcePoliciesScopedListWarningData());
o.add(buildResourcePoliciesScopedListWarningData());
return o;
}
-checkUnnamed2090(core.List<api.ResourcePoliciesScopedListWarningData> o) {
+checkUnnamed2092(core.List<api.ResourcePoliciesScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkResourcePoliciesScopedListWarningData(o[0]);
checkResourcePoliciesScopedListWarningData(o[1]);
@@ -18789,7 +18789,7 @@
buildCounterResourcePoliciesScopedListWarning++;
if (buildCounterResourcePoliciesScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2090();
+ o.data = buildUnnamed2092();
o.message = "foo";
}
buildCounterResourcePoliciesScopedListWarning--;
@@ -18801,7 +18801,7 @@
buildCounterResourcePoliciesScopedListWarning++;
if (buildCounterResourcePoliciesScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2090(o.data);
+ checkUnnamed2092(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterResourcePoliciesScopedListWarning--;
@@ -18812,7 +18812,7 @@
var o = new api.ResourcePoliciesScopedList();
buildCounterResourcePoliciesScopedList++;
if (buildCounterResourcePoliciesScopedList < 3) {
- o.resourcePolicies = buildUnnamed2089();
+ o.resourcePolicies = buildUnnamed2091();
o.warning = buildResourcePoliciesScopedListWarning();
}
buildCounterResourcePoliciesScopedList--;
@@ -18822,7 +18822,7 @@
checkResourcePoliciesScopedList(api.ResourcePoliciesScopedList o) {
buildCounterResourcePoliciesScopedList++;
if (buildCounterResourcePoliciesScopedList < 3) {
- checkUnnamed2089(o.resourcePolicies);
+ checkUnnamed2091(o.resourcePolicies);
checkResourcePoliciesScopedListWarning(o.warning);
}
buildCounterResourcePoliciesScopedList--;
@@ -18865,27 +18865,27 @@
buildCounterResourcePolicy--;
}
-buildUnnamed2091() {
+buildUnnamed2093() {
var o = new core.Map<core.String, api.ResourcePoliciesScopedList>();
o["x"] = buildResourcePoliciesScopedList();
o["y"] = buildResourcePoliciesScopedList();
return o;
}
-checkUnnamed2091(core.Map<core.String, api.ResourcePoliciesScopedList> o) {
+checkUnnamed2093(core.Map<core.String, api.ResourcePoliciesScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkResourcePoliciesScopedList(o["x"]);
checkResourcePoliciesScopedList(o["y"]);
}
-buildUnnamed2092() {
+buildUnnamed2094() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2092(core.List<core.String> o) {
+checkUnnamed2094(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -18913,14 +18913,14 @@
buildCounterResourcePolicyAggregatedListWarningData--;
}
-buildUnnamed2093() {
+buildUnnamed2095() {
var o = new core.List<api.ResourcePolicyAggregatedListWarningData>();
o.add(buildResourcePolicyAggregatedListWarningData());
o.add(buildResourcePolicyAggregatedListWarningData());
return o;
}
-checkUnnamed2093(core.List<api.ResourcePolicyAggregatedListWarningData> o) {
+checkUnnamed2095(core.List<api.ResourcePolicyAggregatedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkResourcePolicyAggregatedListWarningData(o[0]);
checkResourcePolicyAggregatedListWarningData(o[1]);
@@ -18932,7 +18932,7 @@
buildCounterResourcePolicyAggregatedListWarning++;
if (buildCounterResourcePolicyAggregatedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2093();
+ o.data = buildUnnamed2095();
o.message = "foo";
}
buildCounterResourcePolicyAggregatedListWarning--;
@@ -18944,7 +18944,7 @@
buildCounterResourcePolicyAggregatedListWarning++;
if (buildCounterResourcePolicyAggregatedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2093(o.data);
+ checkUnnamed2095(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterResourcePolicyAggregatedListWarning--;
@@ -18957,11 +18957,11 @@
if (buildCounterResourcePolicyAggregatedList < 3) {
o.etag = "foo";
o.id = "foo";
- o.items = buildUnnamed2091();
+ o.items = buildUnnamed2093();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
- o.unreachables = buildUnnamed2092();
+ o.unreachables = buildUnnamed2094();
o.warning = buildResourcePolicyAggregatedListWarning();
}
buildCounterResourcePolicyAggregatedList--;
@@ -18973,11 +18973,11 @@
if (buildCounterResourcePolicyAggregatedList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2091(o.items);
+ checkUnnamed2093(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
- checkUnnamed2092(o.unreachables);
+ checkUnnamed2094(o.unreachables);
checkResourcePolicyAggregatedListWarning(o.warning);
}
buildCounterResourcePolicyAggregatedList--;
@@ -19053,14 +19053,14 @@
buildCounterResourcePolicyHourlyCycle--;
}
-buildUnnamed2094() {
+buildUnnamed2096() {
var o = new core.List<api.ResourcePolicy>();
o.add(buildResourcePolicy());
o.add(buildResourcePolicy());
return o;
}
-checkUnnamed2094(core.List<api.ResourcePolicy> o) {
+checkUnnamed2096(core.List<api.ResourcePolicy> o) {
unittest.expect(o, unittest.hasLength(2));
checkResourcePolicy(o[0]);
checkResourcePolicy(o[1]);
@@ -19087,14 +19087,14 @@
buildCounterResourcePolicyListWarningData--;
}
-buildUnnamed2095() {
+buildUnnamed2097() {
var o = new core.List<api.ResourcePolicyListWarningData>();
o.add(buildResourcePolicyListWarningData());
o.add(buildResourcePolicyListWarningData());
return o;
}
-checkUnnamed2095(core.List<api.ResourcePolicyListWarningData> o) {
+checkUnnamed2097(core.List<api.ResourcePolicyListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkResourcePolicyListWarningData(o[0]);
checkResourcePolicyListWarningData(o[1]);
@@ -19106,7 +19106,7 @@
buildCounterResourcePolicyListWarning++;
if (buildCounterResourcePolicyListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2095();
+ o.data = buildUnnamed2097();
o.message = "foo";
}
buildCounterResourcePolicyListWarning--;
@@ -19117,7 +19117,7 @@
buildCounterResourcePolicyListWarning++;
if (buildCounterResourcePolicyListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2095(o.data);
+ checkUnnamed2097(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterResourcePolicyListWarning--;
@@ -19130,7 +19130,7 @@
if (buildCounterResourcePolicyList < 3) {
o.etag = "foo";
o.id = "foo";
- o.items = buildUnnamed2094();
+ o.items = buildUnnamed2096();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -19145,7 +19145,7 @@
if (buildCounterResourcePolicyList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2094(o.items);
+ checkUnnamed2096(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -19227,27 +19227,27 @@
buildCounterResourcePolicySnapshotSchedulePolicySchedule--;
}
-buildUnnamed2096() {
+buildUnnamed2098() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2096(core.Map<core.String, core.String> o) {
+checkUnnamed2098(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed2097() {
+buildUnnamed2099() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2097(core.List<core.String> o) {
+checkUnnamed2099(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -19259,8 +19259,8 @@
buildCounterResourcePolicySnapshotSchedulePolicySnapshotProperties++;
if (buildCounterResourcePolicySnapshotSchedulePolicySnapshotProperties < 3) {
o.guestFlush = true;
- o.labels = buildUnnamed2096();
- o.storageLocations = buildUnnamed2097();
+ o.labels = buildUnnamed2098();
+ o.storageLocations = buildUnnamed2099();
}
buildCounterResourcePolicySnapshotSchedulePolicySnapshotProperties--;
return o;
@@ -19271,20 +19271,20 @@
buildCounterResourcePolicySnapshotSchedulePolicySnapshotProperties++;
if (buildCounterResourcePolicySnapshotSchedulePolicySnapshotProperties < 3) {
unittest.expect(o.guestFlush, unittest.isTrue);
- checkUnnamed2096(o.labels);
- checkUnnamed2097(o.storageLocations);
+ checkUnnamed2098(o.labels);
+ checkUnnamed2099(o.storageLocations);
}
buildCounterResourcePolicySnapshotSchedulePolicySnapshotProperties--;
}
-buildUnnamed2098() {
+buildUnnamed2100() {
var o = new core.List<api.ResourcePolicyWeeklyCycleDayOfWeek>();
o.add(buildResourcePolicyWeeklyCycleDayOfWeek());
o.add(buildResourcePolicyWeeklyCycleDayOfWeek());
return o;
}
-checkUnnamed2098(core.List<api.ResourcePolicyWeeklyCycleDayOfWeek> o) {
+checkUnnamed2100(core.List<api.ResourcePolicyWeeklyCycleDayOfWeek> o) {
unittest.expect(o, unittest.hasLength(2));
checkResourcePolicyWeeklyCycleDayOfWeek(o[0]);
checkResourcePolicyWeeklyCycleDayOfWeek(o[1]);
@@ -19295,7 +19295,7 @@
var o = new api.ResourcePolicyWeeklyCycle();
buildCounterResourcePolicyWeeklyCycle++;
if (buildCounterResourcePolicyWeeklyCycle < 3) {
- o.dayOfWeeks = buildUnnamed2098();
+ o.dayOfWeeks = buildUnnamed2100();
}
buildCounterResourcePolicyWeeklyCycle--;
return o;
@@ -19304,7 +19304,7 @@
checkResourcePolicyWeeklyCycle(api.ResourcePolicyWeeklyCycle o) {
buildCounterResourcePolicyWeeklyCycle++;
if (buildCounterResourcePolicyWeeklyCycle < 3) {
- checkUnnamed2098(o.dayOfWeeks);
+ checkUnnamed2100(o.dayOfWeeks);
}
buildCounterResourcePolicyWeeklyCycle--;
}
@@ -19333,14 +19333,14 @@
buildCounterResourcePolicyWeeklyCycleDayOfWeek--;
}
-buildUnnamed2099() {
+buildUnnamed2101() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2099(core.List<core.String> o) {
+checkUnnamed2101(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -19367,14 +19367,14 @@
buildCounterRouteWarningsData--;
}
-buildUnnamed2100() {
+buildUnnamed2102() {
var o = new core.List<api.RouteWarningsData>();
o.add(buildRouteWarningsData());
o.add(buildRouteWarningsData());
return o;
}
-checkUnnamed2100(core.List<api.RouteWarningsData> o) {
+checkUnnamed2102(core.List<api.RouteWarningsData> o) {
unittest.expect(o, unittest.hasLength(2));
checkRouteWarningsData(o[0]);
checkRouteWarningsData(o[1]);
@@ -19386,7 +19386,7 @@
buildCounterRouteWarnings++;
if (buildCounterRouteWarnings < 3) {
o.code = "foo";
- o.data = buildUnnamed2100();
+ o.data = buildUnnamed2102();
o.message = "foo";
}
buildCounterRouteWarnings--;
@@ -19397,20 +19397,20 @@
buildCounterRouteWarnings++;
if (buildCounterRouteWarnings < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2100(o.data);
+ checkUnnamed2102(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterRouteWarnings--;
}
-buildUnnamed2101() {
+buildUnnamed2103() {
var o = new core.List<api.RouteWarnings>();
o.add(buildRouteWarnings());
o.add(buildRouteWarnings());
return o;
}
-checkUnnamed2101(core.List<api.RouteWarnings> o) {
+checkUnnamed2103(core.List<api.RouteWarnings> o) {
unittest.expect(o, unittest.hasLength(2));
checkRouteWarnings(o[0]);
checkRouteWarnings(o[1]);
@@ -19437,8 +19437,8 @@
o.nextHopVpnTunnel = "foo";
o.priority = 42;
o.selfLink = "foo";
- o.tags = buildUnnamed2099();
- o.warnings = buildUnnamed2101();
+ o.tags = buildUnnamed2101();
+ o.warnings = buildUnnamed2103();
}
buildCounterRoute--;
return o;
@@ -19463,20 +19463,20 @@
unittest.expect(o.nextHopVpnTunnel, unittest.equals('foo'));
unittest.expect(o.priority, unittest.equals(42));
unittest.expect(o.selfLink, unittest.equals('foo'));
- checkUnnamed2099(o.tags);
- checkUnnamed2101(o.warnings);
+ checkUnnamed2101(o.tags);
+ checkUnnamed2103(o.warnings);
}
buildCounterRoute--;
}
-buildUnnamed2102() {
+buildUnnamed2104() {
var o = new core.List<api.Route>();
o.add(buildRoute());
o.add(buildRoute());
return o;
}
-checkUnnamed2102(core.List<api.Route> o) {
+checkUnnamed2104(core.List<api.Route> o) {
unittest.expect(o, unittest.hasLength(2));
checkRoute(o[0]);
checkRoute(o[1]);
@@ -19503,14 +19503,14 @@
buildCounterRouteListWarningData--;
}
-buildUnnamed2103() {
+buildUnnamed2105() {
var o = new core.List<api.RouteListWarningData>();
o.add(buildRouteListWarningData());
o.add(buildRouteListWarningData());
return o;
}
-checkUnnamed2103(core.List<api.RouteListWarningData> o) {
+checkUnnamed2105(core.List<api.RouteListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkRouteListWarningData(o[0]);
checkRouteListWarningData(o[1]);
@@ -19522,7 +19522,7 @@
buildCounterRouteListWarning++;
if (buildCounterRouteListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2103();
+ o.data = buildUnnamed2105();
o.message = "foo";
}
buildCounterRouteListWarning--;
@@ -19533,7 +19533,7 @@
buildCounterRouteListWarning++;
if (buildCounterRouteListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2103(o.data);
+ checkUnnamed2105(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterRouteListWarning--;
@@ -19545,7 +19545,7 @@
buildCounterRouteList++;
if (buildCounterRouteList < 3) {
o.id = "foo";
- o.items = buildUnnamed2102();
+ o.items = buildUnnamed2104();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -19559,7 +19559,7 @@
buildCounterRouteList++;
if (buildCounterRouteList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2102(o.items);
+ checkUnnamed2104(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -19568,40 +19568,40 @@
buildCounterRouteList--;
}
-buildUnnamed2104() {
+buildUnnamed2106() {
var o = new core.List<api.RouterBgpPeer>();
o.add(buildRouterBgpPeer());
o.add(buildRouterBgpPeer());
return o;
}
-checkUnnamed2104(core.List<api.RouterBgpPeer> o) {
+checkUnnamed2106(core.List<api.RouterBgpPeer> o) {
unittest.expect(o, unittest.hasLength(2));
checkRouterBgpPeer(o[0]);
checkRouterBgpPeer(o[1]);
}
-buildUnnamed2105() {
+buildUnnamed2107() {
var o = new core.List<api.RouterInterface>();
o.add(buildRouterInterface());
o.add(buildRouterInterface());
return o;
}
-checkUnnamed2105(core.List<api.RouterInterface> o) {
+checkUnnamed2107(core.List<api.RouterInterface> o) {
unittest.expect(o, unittest.hasLength(2));
checkRouterInterface(o[0]);
checkRouterInterface(o[1]);
}
-buildUnnamed2106() {
+buildUnnamed2108() {
var o = new core.List<api.RouterNat>();
o.add(buildRouterNat());
o.add(buildRouterNat());
return o;
}
-checkUnnamed2106(core.List<api.RouterNat> o) {
+checkUnnamed2108(core.List<api.RouterNat> o) {
unittest.expect(o, unittest.hasLength(2));
checkRouterNat(o[0]);
checkRouterNat(o[1]);
@@ -19613,14 +19613,14 @@
buildCounterRouter++;
if (buildCounterRouter < 3) {
o.bgp = buildRouterBgp();
- o.bgpPeers = buildUnnamed2104();
+ o.bgpPeers = buildUnnamed2106();
o.creationTimestamp = "foo";
o.description = "foo";
o.id = "foo";
- o.interfaces = buildUnnamed2105();
+ o.interfaces = buildUnnamed2107();
o.kind = "foo";
o.name = "foo";
- o.nats = buildUnnamed2106();
+ o.nats = buildUnnamed2108();
o.network = "foo";
o.region = "foo";
o.selfLink = "foo";
@@ -19633,14 +19633,14 @@
buildCounterRouter++;
if (buildCounterRouter < 3) {
checkRouterBgp(o.bgp);
- checkUnnamed2104(o.bgpPeers);
+ checkUnnamed2106(o.bgpPeers);
unittest.expect(o.creationTimestamp, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2105(o.interfaces);
+ checkUnnamed2107(o.interfaces);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2106(o.nats);
+ checkUnnamed2108(o.nats);
unittest.expect(o.network, unittest.equals('foo'));
unittest.expect(o.region, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -19669,27 +19669,27 @@
buildCounterRouterAdvertisedIpRange--;
}
-buildUnnamed2107() {
+buildUnnamed2109() {
var o = new core.Map<core.String, api.RoutersScopedList>();
o["x"] = buildRoutersScopedList();
o["y"] = buildRoutersScopedList();
return o;
}
-checkUnnamed2107(core.Map<core.String, api.RoutersScopedList> o) {
+checkUnnamed2109(core.Map<core.String, api.RoutersScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkRoutersScopedList(o["x"]);
checkRoutersScopedList(o["y"]);
}
-buildUnnamed2108() {
+buildUnnamed2110() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2108(core.List<core.String> o) {
+checkUnnamed2110(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -19716,14 +19716,14 @@
buildCounterRouterAggregatedListWarningData--;
}
-buildUnnamed2109() {
+buildUnnamed2111() {
var o = new core.List<api.RouterAggregatedListWarningData>();
o.add(buildRouterAggregatedListWarningData());
o.add(buildRouterAggregatedListWarningData());
return o;
}
-checkUnnamed2109(core.List<api.RouterAggregatedListWarningData> o) {
+checkUnnamed2111(core.List<api.RouterAggregatedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkRouterAggregatedListWarningData(o[0]);
checkRouterAggregatedListWarningData(o[1]);
@@ -19735,7 +19735,7 @@
buildCounterRouterAggregatedListWarning++;
if (buildCounterRouterAggregatedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2109();
+ o.data = buildUnnamed2111();
o.message = "foo";
}
buildCounterRouterAggregatedListWarning--;
@@ -19746,7 +19746,7 @@
buildCounterRouterAggregatedListWarning++;
if (buildCounterRouterAggregatedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2109(o.data);
+ checkUnnamed2111(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterRouterAggregatedListWarning--;
@@ -19758,11 +19758,11 @@
buildCounterRouterAggregatedList++;
if (buildCounterRouterAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed2107();
+ o.items = buildUnnamed2109();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
- o.unreachables = buildUnnamed2108();
+ o.unreachables = buildUnnamed2110();
o.warning = buildRouterAggregatedListWarning();
}
buildCounterRouterAggregatedList--;
@@ -19773,67 +19773,16 @@
buildCounterRouterAggregatedList++;
if (buildCounterRouterAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2107(o.items);
+ checkUnnamed2109(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
- checkUnnamed2108(o.unreachables);
+ checkUnnamed2110(o.unreachables);
checkRouterAggregatedListWarning(o.warning);
}
buildCounterRouterAggregatedList--;
}
-buildUnnamed2110() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2110(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed2111() {
- var o = new core.List<api.RouterAdvertisedIpRange>();
- o.add(buildRouterAdvertisedIpRange());
- o.add(buildRouterAdvertisedIpRange());
- return o;
-}
-
-checkUnnamed2111(core.List<api.RouterAdvertisedIpRange> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkRouterAdvertisedIpRange(o[0]);
- checkRouterAdvertisedIpRange(o[1]);
-}
-
-core.int buildCounterRouterBgp = 0;
-buildRouterBgp() {
- var o = new api.RouterBgp();
- buildCounterRouterBgp++;
- if (buildCounterRouterBgp < 3) {
- o.advertiseMode = "foo";
- o.advertisedGroups = buildUnnamed2110();
- o.advertisedIpRanges = buildUnnamed2111();
- o.asn = 42;
- }
- buildCounterRouterBgp--;
- return o;
-}
-
-checkRouterBgp(api.RouterBgp o) {
- buildCounterRouterBgp++;
- if (buildCounterRouterBgp < 3) {
- unittest.expect(o.advertiseMode, unittest.equals('foo'));
- checkUnnamed2110(o.advertisedGroups);
- checkUnnamed2111(o.advertisedIpRanges);
- unittest.expect(o.asn, unittest.equals(42));
- }
- buildCounterRouterBgp--;
-}
-
buildUnnamed2112() {
var o = new core.List<core.String>();
o.add("foo");
@@ -19860,14 +19809,65 @@
checkRouterAdvertisedIpRange(o[1]);
}
+core.int buildCounterRouterBgp = 0;
+buildRouterBgp() {
+ var o = new api.RouterBgp();
+ buildCounterRouterBgp++;
+ if (buildCounterRouterBgp < 3) {
+ o.advertiseMode = "foo";
+ o.advertisedGroups = buildUnnamed2112();
+ o.advertisedIpRanges = buildUnnamed2113();
+ o.asn = 42;
+ }
+ buildCounterRouterBgp--;
+ return o;
+}
+
+checkRouterBgp(api.RouterBgp o) {
+ buildCounterRouterBgp++;
+ if (buildCounterRouterBgp < 3) {
+ unittest.expect(o.advertiseMode, unittest.equals('foo'));
+ checkUnnamed2112(o.advertisedGroups);
+ checkUnnamed2113(o.advertisedIpRanges);
+ unittest.expect(o.asn, unittest.equals(42));
+ }
+ buildCounterRouterBgp--;
+}
+
+buildUnnamed2114() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2114(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed2115() {
+ var o = new core.List<api.RouterAdvertisedIpRange>();
+ o.add(buildRouterAdvertisedIpRange());
+ o.add(buildRouterAdvertisedIpRange());
+ return o;
+}
+
+checkUnnamed2115(core.List<api.RouterAdvertisedIpRange> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkRouterAdvertisedIpRange(o[0]);
+ checkRouterAdvertisedIpRange(o[1]);
+}
+
core.int buildCounterRouterBgpPeer = 0;
buildRouterBgpPeer() {
var o = new api.RouterBgpPeer();
buildCounterRouterBgpPeer++;
if (buildCounterRouterBgpPeer < 3) {
o.advertiseMode = "foo";
- o.advertisedGroups = buildUnnamed2112();
- o.advertisedIpRanges = buildUnnamed2113();
+ o.advertisedGroups = buildUnnamed2114();
+ o.advertisedIpRanges = buildUnnamed2115();
o.advertisedRoutePriority = 42;
o.interfaceName = "foo";
o.ipAddress = "foo";
@@ -19884,8 +19884,8 @@
buildCounterRouterBgpPeer++;
if (buildCounterRouterBgpPeer < 3) {
unittest.expect(o.advertiseMode, unittest.equals('foo'));
- checkUnnamed2112(o.advertisedGroups);
- checkUnnamed2113(o.advertisedIpRanges);
+ checkUnnamed2114(o.advertisedGroups);
+ checkUnnamed2115(o.advertisedIpRanges);
unittest.expect(o.advertisedRoutePriority, unittest.equals(42));
unittest.expect(o.interfaceName, unittest.equals('foo'));
unittest.expect(o.ipAddress, unittest.equals('foo'));
@@ -19924,14 +19924,14 @@
buildCounterRouterInterface--;
}
-buildUnnamed2114() {
+buildUnnamed2116() {
var o = new core.List<api.Router>();
o.add(buildRouter());
o.add(buildRouter());
return o;
}
-checkUnnamed2114(core.List<api.Router> o) {
+checkUnnamed2116(core.List<api.Router> o) {
unittest.expect(o, unittest.hasLength(2));
checkRouter(o[0]);
checkRouter(o[1]);
@@ -19958,14 +19958,14 @@
buildCounterRouterListWarningData--;
}
-buildUnnamed2115() {
+buildUnnamed2117() {
var o = new core.List<api.RouterListWarningData>();
o.add(buildRouterListWarningData());
o.add(buildRouterListWarningData());
return o;
}
-checkUnnamed2115(core.List<api.RouterListWarningData> o) {
+checkUnnamed2117(core.List<api.RouterListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkRouterListWarningData(o[0]);
checkRouterListWarningData(o[1]);
@@ -19977,7 +19977,7 @@
buildCounterRouterListWarning++;
if (buildCounterRouterListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2115();
+ o.data = buildUnnamed2117();
o.message = "foo";
}
buildCounterRouterListWarning--;
@@ -19988,7 +19988,7 @@
buildCounterRouterListWarning++;
if (buildCounterRouterListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2115(o.data);
+ checkUnnamed2117(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterRouterListWarning--;
@@ -20000,7 +20000,7 @@
buildCounterRouterList++;
if (buildCounterRouterList < 3) {
o.id = "foo";
- o.items = buildUnnamed2114();
+ o.items = buildUnnamed2116();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -20014,7 +20014,7 @@
buildCounterRouterList++;
if (buildCounterRouterList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2114(o.items);
+ checkUnnamed2116(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -20023,40 +20023,40 @@
buildCounterRouterList--;
}
-buildUnnamed2116() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2116(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed2117() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2117(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed2118() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2118(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed2119() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2119(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed2120() {
var o = new core.List<api.RouterNatSubnetworkToNat>();
o.add(buildRouterNatSubnetworkToNat());
o.add(buildRouterNatSubnetworkToNat());
return o;
}
-checkUnnamed2118(core.List<api.RouterNatSubnetworkToNat> o) {
+checkUnnamed2120(core.List<api.RouterNatSubnetworkToNat> o) {
unittest.expect(o, unittest.hasLength(2));
checkRouterNatSubnetworkToNat(o[0]);
checkRouterNatSubnetworkToNat(o[1]);
@@ -20067,15 +20067,15 @@
var o = new api.RouterNat();
buildCounterRouterNat++;
if (buildCounterRouterNat < 3) {
- o.drainNatIps = buildUnnamed2116();
+ o.drainNatIps = buildUnnamed2118();
o.icmpIdleTimeoutSec = 42;
o.logConfig = buildRouterNatLogConfig();
o.minPortsPerVm = 42;
o.name = "foo";
o.natIpAllocateOption = "foo";
- o.natIps = buildUnnamed2117();
+ o.natIps = buildUnnamed2119();
o.sourceSubnetworkIpRangesToNat = "foo";
- o.subnetworks = buildUnnamed2118();
+ o.subnetworks = buildUnnamed2120();
o.tcpEstablishedIdleTimeoutSec = 42;
o.tcpTransitoryIdleTimeoutSec = 42;
o.udpIdleTimeoutSec = 42;
@@ -20087,15 +20087,15 @@
checkRouterNat(api.RouterNat o) {
buildCounterRouterNat++;
if (buildCounterRouterNat < 3) {
- checkUnnamed2116(o.drainNatIps);
+ checkUnnamed2118(o.drainNatIps);
unittest.expect(o.icmpIdleTimeoutSec, unittest.equals(42));
checkRouterNatLogConfig(o.logConfig);
unittest.expect(o.minPortsPerVm, unittest.equals(42));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.natIpAllocateOption, unittest.equals('foo'));
- checkUnnamed2117(o.natIps);
+ checkUnnamed2119(o.natIps);
unittest.expect(o.sourceSubnetworkIpRangesToNat, unittest.equals('foo'));
- checkUnnamed2118(o.subnetworks);
+ checkUnnamed2120(o.subnetworks);
unittest.expect(o.tcpEstablishedIdleTimeoutSec, unittest.equals(42));
unittest.expect(o.tcpTransitoryIdleTimeoutSec, unittest.equals(42));
unittest.expect(o.udpIdleTimeoutSec, unittest.equals(42));
@@ -20124,27 +20124,27 @@
buildCounterRouterNatLogConfig--;
}
-buildUnnamed2119() {
+buildUnnamed2121() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2119(core.List<core.String> o) {
+checkUnnamed2121(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2120() {
+buildUnnamed2122() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2120(core.List<core.String> o) {
+checkUnnamed2122(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -20156,8 +20156,8 @@
buildCounterRouterNatSubnetworkToNat++;
if (buildCounterRouterNatSubnetworkToNat < 3) {
o.name = "foo";
- o.secondaryIpRangeNames = buildUnnamed2119();
- o.sourceIpRangesToNat = buildUnnamed2120();
+ o.secondaryIpRangeNames = buildUnnamed2121();
+ o.sourceIpRangesToNat = buildUnnamed2122();
}
buildCounterRouterNatSubnetworkToNat--;
return o;
@@ -20167,59 +20167,59 @@
buildCounterRouterNatSubnetworkToNat++;
if (buildCounterRouterNatSubnetworkToNat < 3) {
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2119(o.secondaryIpRangeNames);
- checkUnnamed2120(o.sourceIpRangesToNat);
+ checkUnnamed2121(o.secondaryIpRangeNames);
+ checkUnnamed2122(o.sourceIpRangesToNat);
}
buildCounterRouterNatSubnetworkToNat--;
}
-buildUnnamed2121() {
- var o = new core.List<api.Route>();
- o.add(buildRoute());
- o.add(buildRoute());
- return o;
-}
-
-checkUnnamed2121(core.List<api.Route> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkRoute(o[0]);
- checkRoute(o[1]);
-}
-
-buildUnnamed2122() {
- var o = new core.List<api.Route>();
- o.add(buildRoute());
- o.add(buildRoute());
- return o;
-}
-
-checkUnnamed2122(core.List<api.Route> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkRoute(o[0]);
- checkRoute(o[1]);
-}
-
buildUnnamed2123() {
+ var o = new core.List<api.Route>();
+ o.add(buildRoute());
+ o.add(buildRoute());
+ return o;
+}
+
+checkUnnamed2123(core.List<api.Route> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkRoute(o[0]);
+ checkRoute(o[1]);
+}
+
+buildUnnamed2124() {
+ var o = new core.List<api.Route>();
+ o.add(buildRoute());
+ o.add(buildRoute());
+ return o;
+}
+
+checkUnnamed2124(core.List<api.Route> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkRoute(o[0]);
+ checkRoute(o[1]);
+}
+
+buildUnnamed2125() {
var o = new core.List<api.RouterStatusBgpPeerStatus>();
o.add(buildRouterStatusBgpPeerStatus());
o.add(buildRouterStatusBgpPeerStatus());
return o;
}
-checkUnnamed2123(core.List<api.RouterStatusBgpPeerStatus> o) {
+checkUnnamed2125(core.List<api.RouterStatusBgpPeerStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkRouterStatusBgpPeerStatus(o[0]);
checkRouterStatusBgpPeerStatus(o[1]);
}
-buildUnnamed2124() {
+buildUnnamed2126() {
var o = new core.List<api.RouterStatusNatStatus>();
o.add(buildRouterStatusNatStatus());
o.add(buildRouterStatusNatStatus());
return o;
}
-checkUnnamed2124(core.List<api.RouterStatusNatStatus> o) {
+checkUnnamed2126(core.List<api.RouterStatusNatStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkRouterStatusNatStatus(o[0]);
checkRouterStatusNatStatus(o[1]);
@@ -20230,10 +20230,10 @@
var o = new api.RouterStatus();
buildCounterRouterStatus++;
if (buildCounterRouterStatus < 3) {
- o.bestRoutes = buildUnnamed2121();
- o.bestRoutesForRouter = buildUnnamed2122();
- o.bgpPeerStatus = buildUnnamed2123();
- o.natStatus = buildUnnamed2124();
+ o.bestRoutes = buildUnnamed2123();
+ o.bestRoutesForRouter = buildUnnamed2124();
+ o.bgpPeerStatus = buildUnnamed2125();
+ o.natStatus = buildUnnamed2126();
o.network = "foo";
}
buildCounterRouterStatus--;
@@ -20243,23 +20243,23 @@
checkRouterStatus(api.RouterStatus o) {
buildCounterRouterStatus++;
if (buildCounterRouterStatus < 3) {
- checkUnnamed2121(o.bestRoutes);
- checkUnnamed2122(o.bestRoutesForRouter);
- checkUnnamed2123(o.bgpPeerStatus);
- checkUnnamed2124(o.natStatus);
+ checkUnnamed2123(o.bestRoutes);
+ checkUnnamed2124(o.bestRoutesForRouter);
+ checkUnnamed2125(o.bgpPeerStatus);
+ checkUnnamed2126(o.natStatus);
unittest.expect(o.network, unittest.equals('foo'));
}
buildCounterRouterStatus--;
}
-buildUnnamed2125() {
+buildUnnamed2127() {
var o = new core.List<api.Route>();
o.add(buildRoute());
o.add(buildRoute());
return o;
}
-checkUnnamed2125(core.List<api.Route> o) {
+checkUnnamed2127(core.List<api.Route> o) {
unittest.expect(o, unittest.hasLength(2));
checkRoute(o[0]);
checkRoute(o[1]);
@@ -20270,7 +20270,7 @@
var o = new api.RouterStatusBgpPeerStatus();
buildCounterRouterStatusBgpPeerStatus++;
if (buildCounterRouterStatusBgpPeerStatus < 3) {
- o.advertisedRoutes = buildUnnamed2125();
+ o.advertisedRoutes = buildUnnamed2127();
o.ipAddress = "foo";
o.linkedVpnTunnel = "foo";
o.name = "foo";
@@ -20288,7 +20288,7 @@
checkRouterStatusBgpPeerStatus(api.RouterStatusBgpPeerStatus o) {
buildCounterRouterStatusBgpPeerStatus++;
if (buildCounterRouterStatusBgpPeerStatus < 3) {
- checkUnnamed2125(o.advertisedRoutes);
+ checkUnnamed2127(o.advertisedRoutes);
unittest.expect(o.ipAddress, unittest.equals('foo'));
unittest.expect(o.linkedVpnTunnel, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
@@ -20302,32 +20302,6 @@
buildCounterRouterStatusBgpPeerStatus--;
}
-buildUnnamed2126() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2126(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed2127() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2127(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed2128() {
var o = new core.List<core.String>();
o.add("foo");
@@ -20367,19 +20341,45 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed2131() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2131(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed2132() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2132(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
core.int buildCounterRouterStatusNatStatus = 0;
buildRouterStatusNatStatus() {
var o = new api.RouterStatusNatStatus();
buildCounterRouterStatusNatStatus++;
if (buildCounterRouterStatusNatStatus < 3) {
- o.autoAllocatedNatIps = buildUnnamed2126();
- o.drainAutoAllocatedNatIps = buildUnnamed2127();
- o.drainUserAllocatedNatIps = buildUnnamed2128();
+ o.autoAllocatedNatIps = buildUnnamed2128();
+ o.drainAutoAllocatedNatIps = buildUnnamed2129();
+ o.drainUserAllocatedNatIps = buildUnnamed2130();
o.minExtraNatIpsNeeded = 42;
o.name = "foo";
o.numVmEndpointsWithNatMappings = 42;
- o.userAllocatedNatIpResources = buildUnnamed2129();
- o.userAllocatedNatIps = buildUnnamed2130();
+ o.userAllocatedNatIpResources = buildUnnamed2131();
+ o.userAllocatedNatIps = buildUnnamed2132();
}
buildCounterRouterStatusNatStatus--;
return o;
@@ -20388,14 +20388,14 @@
checkRouterStatusNatStatus(api.RouterStatusNatStatus o) {
buildCounterRouterStatusNatStatus++;
if (buildCounterRouterStatusNatStatus < 3) {
- checkUnnamed2126(o.autoAllocatedNatIps);
- checkUnnamed2127(o.drainAutoAllocatedNatIps);
- checkUnnamed2128(o.drainUserAllocatedNatIps);
+ checkUnnamed2128(o.autoAllocatedNatIps);
+ checkUnnamed2129(o.drainAutoAllocatedNatIps);
+ checkUnnamed2130(o.drainUserAllocatedNatIps);
unittest.expect(o.minExtraNatIpsNeeded, unittest.equals(42));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.numVmEndpointsWithNatMappings, unittest.equals(42));
- checkUnnamed2129(o.userAllocatedNatIpResources);
- checkUnnamed2130(o.userAllocatedNatIps);
+ checkUnnamed2131(o.userAllocatedNatIpResources);
+ checkUnnamed2132(o.userAllocatedNatIps);
}
buildCounterRouterStatusNatStatus--;
}
@@ -20440,14 +20440,14 @@
buildCounterRoutersPreviewResponse--;
}
-buildUnnamed2131() {
+buildUnnamed2133() {
var o = new core.List<api.Router>();
o.add(buildRouter());
o.add(buildRouter());
return o;
}
-checkUnnamed2131(core.List<api.Router> o) {
+checkUnnamed2133(core.List<api.Router> o) {
unittest.expect(o, unittest.hasLength(2));
checkRouter(o[0]);
checkRouter(o[1]);
@@ -20474,14 +20474,14 @@
buildCounterRoutersScopedListWarningData--;
}
-buildUnnamed2132() {
+buildUnnamed2134() {
var o = new core.List<api.RoutersScopedListWarningData>();
o.add(buildRoutersScopedListWarningData());
o.add(buildRoutersScopedListWarningData());
return o;
}
-checkUnnamed2132(core.List<api.RoutersScopedListWarningData> o) {
+checkUnnamed2134(core.List<api.RoutersScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkRoutersScopedListWarningData(o[0]);
checkRoutersScopedListWarningData(o[1]);
@@ -20493,7 +20493,7 @@
buildCounterRoutersScopedListWarning++;
if (buildCounterRoutersScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2132();
+ o.data = buildUnnamed2134();
o.message = "foo";
}
buildCounterRoutersScopedListWarning--;
@@ -20504,7 +20504,7 @@
buildCounterRoutersScopedListWarning++;
if (buildCounterRoutersScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2132(o.data);
+ checkUnnamed2134(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterRoutersScopedListWarning--;
@@ -20515,7 +20515,7 @@
var o = new api.RoutersScopedList();
buildCounterRoutersScopedList++;
if (buildCounterRoutersScopedList < 3) {
- o.routers = buildUnnamed2131();
+ o.routers = buildUnnamed2133();
o.warning = buildRoutersScopedListWarning();
}
buildCounterRoutersScopedList--;
@@ -20525,51 +20525,25 @@
checkRoutersScopedList(api.RoutersScopedList o) {
buildCounterRoutersScopedList++;
if (buildCounterRoutersScopedList < 3) {
- checkUnnamed2131(o.routers);
+ checkUnnamed2133(o.routers);
checkRoutersScopedListWarning(o.warning);
}
buildCounterRoutersScopedList--;
}
-buildUnnamed2133() {
+buildUnnamed2135() {
var o = new core.List<api.Condition>();
o.add(buildCondition());
o.add(buildCondition());
return o;
}
-checkUnnamed2133(core.List<api.Condition> o) {
+checkUnnamed2135(core.List<api.Condition> o) {
unittest.expect(o, unittest.hasLength(2));
checkCondition(o[0]);
checkCondition(o[1]);
}
-buildUnnamed2134() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2134(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed2135() {
- var o = new core.List<api.LogConfig>();
- o.add(buildLogConfig());
- o.add(buildLogConfig());
- return o;
-}
-
-checkUnnamed2135(core.List<api.LogConfig> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkLogConfig(o[0]);
- checkLogConfig(o[1]);
-}
-
buildUnnamed2136() {
var o = new core.List<core.String>();
o.add("foo");
@@ -20584,13 +20558,39 @@
}
buildUnnamed2137() {
+ var o = new core.List<api.LogConfig>();
+ o.add(buildLogConfig());
+ o.add(buildLogConfig());
+ return o;
+}
+
+checkUnnamed2137(core.List<api.LogConfig> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkLogConfig(o[0]);
+ checkLogConfig(o[1]);
+}
+
+buildUnnamed2138() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2137(core.List<core.String> o) {
+checkUnnamed2138(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed2139() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2139(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -20602,12 +20602,12 @@
buildCounterRule++;
if (buildCounterRule < 3) {
o.action = "foo";
- o.conditions = buildUnnamed2133();
+ o.conditions = buildUnnamed2135();
o.description = "foo";
- o.ins = buildUnnamed2134();
- o.logConfigs = buildUnnamed2135();
- o.notIns = buildUnnamed2136();
- o.permissions = buildUnnamed2137();
+ o.ins = buildUnnamed2136();
+ o.logConfigs = buildUnnamed2137();
+ o.notIns = buildUnnamed2138();
+ o.permissions = buildUnnamed2139();
}
buildCounterRule--;
return o;
@@ -20617,12 +20617,12 @@
buildCounterRule++;
if (buildCounterRule < 3) {
unittest.expect(o.action, unittest.equals('foo'));
- checkUnnamed2133(o.conditions);
+ checkUnnamed2135(o.conditions);
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed2134(o.ins);
- checkUnnamed2135(o.logConfigs);
- checkUnnamed2136(o.notIns);
- checkUnnamed2137(o.permissions);
+ checkUnnamed2136(o.ins);
+ checkUnnamed2137(o.logConfigs);
+ checkUnnamed2138(o.notIns);
+ checkUnnamed2139(o.permissions);
}
buildCounterRule--;
}
@@ -20656,14 +20656,14 @@
buildCounterSSLHealthCheck--;
}
-buildUnnamed2138() {
+buildUnnamed2140() {
var o = new core.List<api.SchedulingNodeAffinity>();
o.add(buildSchedulingNodeAffinity());
o.add(buildSchedulingNodeAffinity());
return o;
}
-checkUnnamed2138(core.List<api.SchedulingNodeAffinity> o) {
+checkUnnamed2140(core.List<api.SchedulingNodeAffinity> o) {
unittest.expect(o, unittest.hasLength(2));
checkSchedulingNodeAffinity(o[0]);
checkSchedulingNodeAffinity(o[1]);
@@ -20676,7 +20676,7 @@
if (buildCounterScheduling < 3) {
o.automaticRestart = true;
o.minNodeCpus = 42;
- o.nodeAffinities = buildUnnamed2138();
+ o.nodeAffinities = buildUnnamed2140();
o.onHostMaintenance = "foo";
o.preemptible = true;
}
@@ -20689,21 +20689,21 @@
if (buildCounterScheduling < 3) {
unittest.expect(o.automaticRestart, unittest.isTrue);
unittest.expect(o.minNodeCpus, unittest.equals(42));
- checkUnnamed2138(o.nodeAffinities);
+ checkUnnamed2140(o.nodeAffinities);
unittest.expect(o.onHostMaintenance, unittest.equals('foo'));
unittest.expect(o.preemptible, unittest.isTrue);
}
buildCounterScheduling--;
}
-buildUnnamed2139() {
+buildUnnamed2141() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2139(core.List<core.String> o) {
+checkUnnamed2141(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -20716,7 +20716,7 @@
if (buildCounterSchedulingNodeAffinity < 3) {
o.key = "foo";
o.operator = "foo";
- o.values = buildUnnamed2139();
+ o.values = buildUnnamed2141();
}
buildCounterSchedulingNodeAffinity--;
return o;
@@ -20727,7 +20727,7 @@
if (buildCounterSchedulingNodeAffinity < 3) {
unittest.expect(o.key, unittest.equals('foo'));
unittest.expect(o.operator, unittest.equals('foo'));
- checkUnnamed2139(o.values);
+ checkUnnamed2141(o.values);
}
buildCounterSchedulingNodeAffinity--;
}
@@ -20793,14 +20793,14 @@
buildCounterSecurityPoliciesWafConfig--;
}
-buildUnnamed2140() {
+buildUnnamed2142() {
var o = new core.List<api.SecurityPolicyRule>();
o.add(buildSecurityPolicyRule());
o.add(buildSecurityPolicyRule());
return o;
}
-checkUnnamed2140(core.List<api.SecurityPolicyRule> o) {
+checkUnnamed2142(core.List<api.SecurityPolicyRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkSecurityPolicyRule(o[0]);
checkSecurityPolicyRule(o[1]);
@@ -20817,7 +20817,7 @@
o.id = "foo";
o.kind = "foo";
o.name = "foo";
- o.rules = buildUnnamed2140();
+ o.rules = buildUnnamed2142();
o.selfLink = "foo";
}
buildCounterSecurityPolicy--;
@@ -20833,20 +20833,20 @@
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2140(o.rules);
+ checkUnnamed2142(o.rules);
unittest.expect(o.selfLink, unittest.equals('foo'));
}
buildCounterSecurityPolicy--;
}
-buildUnnamed2141() {
+buildUnnamed2143() {
var o = new core.List<api.SecurityPolicy>();
o.add(buildSecurityPolicy());
o.add(buildSecurityPolicy());
return o;
}
-checkUnnamed2141(core.List<api.SecurityPolicy> o) {
+checkUnnamed2143(core.List<api.SecurityPolicy> o) {
unittest.expect(o, unittest.hasLength(2));
checkSecurityPolicy(o[0]);
checkSecurityPolicy(o[1]);
@@ -20873,14 +20873,14 @@
buildCounterSecurityPolicyListWarningData--;
}
-buildUnnamed2142() {
+buildUnnamed2144() {
var o = new core.List<api.SecurityPolicyListWarningData>();
o.add(buildSecurityPolicyListWarningData());
o.add(buildSecurityPolicyListWarningData());
return o;
}
-checkUnnamed2142(core.List<api.SecurityPolicyListWarningData> o) {
+checkUnnamed2144(core.List<api.SecurityPolicyListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkSecurityPolicyListWarningData(o[0]);
checkSecurityPolicyListWarningData(o[1]);
@@ -20892,7 +20892,7 @@
buildCounterSecurityPolicyListWarning++;
if (buildCounterSecurityPolicyListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2142();
+ o.data = buildUnnamed2144();
o.message = "foo";
}
buildCounterSecurityPolicyListWarning--;
@@ -20903,7 +20903,7 @@
buildCounterSecurityPolicyListWarning++;
if (buildCounterSecurityPolicyListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2142(o.data);
+ checkUnnamed2144(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterSecurityPolicyListWarning--;
@@ -20915,7 +20915,7 @@
buildCounterSecurityPolicyList++;
if (buildCounterSecurityPolicyList < 3) {
o.id = "foo";
- o.items = buildUnnamed2141();
+ o.items = buildUnnamed2143();
o.kind = "foo";
o.nextPageToken = "foo";
o.warning = buildSecurityPolicyListWarning();
@@ -20928,7 +20928,7 @@
buildCounterSecurityPolicyList++;
if (buildCounterSecurityPolicyList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2141(o.items);
+ checkUnnamed2143(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkSecurityPolicyListWarning(o.warning);
@@ -21007,14 +21007,14 @@
buildCounterSecurityPolicyRuleMatcher--;
}
-buildUnnamed2143() {
+buildUnnamed2145() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2143(core.List<core.String> o) {
+checkUnnamed2145(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -21025,7 +21025,7 @@
var o = new api.SecurityPolicyRuleMatcherConfig();
buildCounterSecurityPolicyRuleMatcherConfig++;
if (buildCounterSecurityPolicyRuleMatcherConfig < 3) {
- o.srcIpRanges = buildUnnamed2143();
+ o.srcIpRanges = buildUnnamed2145();
}
buildCounterSecurityPolicyRuleMatcherConfig--;
return o;
@@ -21034,7 +21034,7 @@
checkSecurityPolicyRuleMatcherConfig(api.SecurityPolicyRuleMatcherConfig o) {
buildCounterSecurityPolicyRuleMatcherConfig++;
if (buildCounterSecurityPolicyRuleMatcherConfig < 3) {
- checkUnnamed2143(o.srcIpRanges);
+ checkUnnamed2145(o.srcIpRanges);
}
buildCounterSecurityPolicyRuleMatcherConfig--;
}
@@ -21085,14 +21085,14 @@
buildCounterServerBinding--;
}
-buildUnnamed2144() {
+buildUnnamed2146() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2144(core.List<core.String> o) {
+checkUnnamed2146(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -21104,7 +21104,7 @@
buildCounterServiceAccount++;
if (buildCounterServiceAccount < 3) {
o.email = "foo";
- o.scopes = buildUnnamed2144();
+ o.scopes = buildUnnamed2146();
}
buildCounterServiceAccount--;
return o;
@@ -21114,7 +21114,7 @@
buildCounterServiceAccount++;
if (buildCounterServiceAccount < 3) {
unittest.expect(o.email, unittest.equals('foo'));
- checkUnnamed2144(o.scopes);
+ checkUnnamed2146(o.scopes);
}
buildCounterServiceAccount--;
}
@@ -21226,45 +21226,19 @@
buildCounterSignedUrlKey--;
}
-buildUnnamed2145() {
+buildUnnamed2147() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2145(core.Map<core.String, core.String> o) {
+checkUnnamed2147(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed2146() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2146(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed2147() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2147(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed2148() {
var o = new core.List<core.String>();
o.add("foo");
@@ -21278,6 +21252,32 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed2149() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2149(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed2150() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2150(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
core.int buildCounterSnapshot = 0;
buildSnapshot() {
var o = new api.Snapshot();
@@ -21291,9 +21291,9 @@
o.id = "foo";
o.kind = "foo";
o.labelFingerprint = "foo";
- o.labels = buildUnnamed2145();
- o.licenseCodes = buildUnnamed2146();
- o.licenses = buildUnnamed2147();
+ o.labels = buildUnnamed2147();
+ o.licenseCodes = buildUnnamed2148();
+ o.licenses = buildUnnamed2149();
o.name = "foo";
o.selfLink = "foo";
o.snapshotEncryptionKey = buildCustomerEncryptionKey();
@@ -21303,7 +21303,7 @@
o.status = "foo";
o.storageBytes = "foo";
o.storageBytesStatus = "foo";
- o.storageLocations = buildUnnamed2148();
+ o.storageLocations = buildUnnamed2150();
}
buildCounterSnapshot--;
return o;
@@ -21320,9 +21320,9 @@
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.labelFingerprint, unittest.equals('foo'));
- checkUnnamed2145(o.labels);
- checkUnnamed2146(o.licenseCodes);
- checkUnnamed2147(o.licenses);
+ checkUnnamed2147(o.labels);
+ checkUnnamed2148(o.licenseCodes);
+ checkUnnamed2149(o.licenses);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
checkCustomerEncryptionKey(o.snapshotEncryptionKey);
@@ -21332,19 +21332,19 @@
unittest.expect(o.status, unittest.equals('foo'));
unittest.expect(o.storageBytes, unittest.equals('foo'));
unittest.expect(o.storageBytesStatus, unittest.equals('foo'));
- checkUnnamed2148(o.storageLocations);
+ checkUnnamed2150(o.storageLocations);
}
buildCounterSnapshot--;
}
-buildUnnamed2149() {
+buildUnnamed2151() {
var o = new core.List<api.Snapshot>();
o.add(buildSnapshot());
o.add(buildSnapshot());
return o;
}
-checkUnnamed2149(core.List<api.Snapshot> o) {
+checkUnnamed2151(core.List<api.Snapshot> o) {
unittest.expect(o, unittest.hasLength(2));
checkSnapshot(o[0]);
checkSnapshot(o[1]);
@@ -21371,14 +21371,14 @@
buildCounterSnapshotListWarningData--;
}
-buildUnnamed2150() {
+buildUnnamed2152() {
var o = new core.List<api.SnapshotListWarningData>();
o.add(buildSnapshotListWarningData());
o.add(buildSnapshotListWarningData());
return o;
}
-checkUnnamed2150(core.List<api.SnapshotListWarningData> o) {
+checkUnnamed2152(core.List<api.SnapshotListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkSnapshotListWarningData(o[0]);
checkSnapshotListWarningData(o[1]);
@@ -21390,7 +21390,7 @@
buildCounterSnapshotListWarning++;
if (buildCounterSnapshotListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2150();
+ o.data = buildUnnamed2152();
o.message = "foo";
}
buildCounterSnapshotListWarning--;
@@ -21401,7 +21401,7 @@
buildCounterSnapshotListWarning++;
if (buildCounterSnapshotListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2150(o.data);
+ checkUnnamed2152(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterSnapshotListWarning--;
@@ -21413,7 +21413,7 @@
buildCounterSnapshotList++;
if (buildCounterSnapshotList < 3) {
o.id = "foo";
- o.items = buildUnnamed2149();
+ o.items = buildUnnamed2151();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -21427,7 +21427,7 @@
buildCounterSnapshotList++;
if (buildCounterSnapshotList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2149(o.items);
+ checkUnnamed2151(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -21436,14 +21436,14 @@
buildCounterSnapshotList--;
}
-buildUnnamed2151() {
+buildUnnamed2153() {
var o = new core.List<api.DiskInstantiationConfig>();
o.add(buildDiskInstantiationConfig());
o.add(buildDiskInstantiationConfig());
return o;
}
-checkUnnamed2151(core.List<api.DiskInstantiationConfig> o) {
+checkUnnamed2153(core.List<api.DiskInstantiationConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkDiskInstantiationConfig(o[0]);
checkDiskInstantiationConfig(o[1]);
@@ -21454,7 +21454,7 @@
var o = new api.SourceInstanceParams();
buildCounterSourceInstanceParams++;
if (buildCounterSourceInstanceParams < 3) {
- o.diskConfigs = buildUnnamed2151();
+ o.diskConfigs = buildUnnamed2153();
}
buildCounterSourceInstanceParams--;
return o;
@@ -21463,19 +21463,19 @@
checkSourceInstanceParams(api.SourceInstanceParams o) {
buildCounterSourceInstanceParams++;
if (buildCounterSourceInstanceParams < 3) {
- checkUnnamed2151(o.diskConfigs);
+ checkUnnamed2153(o.diskConfigs);
}
buildCounterSourceInstanceParams--;
}
-buildUnnamed2152() {
+buildUnnamed2154() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2152(core.List<core.String> o) {
+checkUnnamed2154(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -21498,7 +21498,7 @@
o.region = "foo";
o.selfLink = "foo";
o.selfManaged = buildSslCertificateSelfManagedSslCertificate();
- o.subjectAlternativeNames = buildUnnamed2152();
+ o.subjectAlternativeNames = buildUnnamed2154();
o.type = "foo";
}
buildCounterSslCertificate--;
@@ -21520,33 +21520,33 @@
unittest.expect(o.region, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
checkSslCertificateSelfManagedSslCertificate(o.selfManaged);
- checkUnnamed2152(o.subjectAlternativeNames);
+ checkUnnamed2154(o.subjectAlternativeNames);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterSslCertificate--;
}
-buildUnnamed2153() {
+buildUnnamed2155() {
var o = new core.Map<core.String, api.SslCertificatesScopedList>();
o["x"] = buildSslCertificatesScopedList();
o["y"] = buildSslCertificatesScopedList();
return o;
}
-checkUnnamed2153(core.Map<core.String, api.SslCertificatesScopedList> o) {
+checkUnnamed2155(core.Map<core.String, api.SslCertificatesScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkSslCertificatesScopedList(o["x"]);
checkSslCertificatesScopedList(o["y"]);
}
-buildUnnamed2154() {
+buildUnnamed2156() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2154(core.List<core.String> o) {
+checkUnnamed2156(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -21574,14 +21574,14 @@
buildCounterSslCertificateAggregatedListWarningData--;
}
-buildUnnamed2155() {
+buildUnnamed2157() {
var o = new core.List<api.SslCertificateAggregatedListWarningData>();
o.add(buildSslCertificateAggregatedListWarningData());
o.add(buildSslCertificateAggregatedListWarningData());
return o;
}
-checkUnnamed2155(core.List<api.SslCertificateAggregatedListWarningData> o) {
+checkUnnamed2157(core.List<api.SslCertificateAggregatedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkSslCertificateAggregatedListWarningData(o[0]);
checkSslCertificateAggregatedListWarningData(o[1]);
@@ -21593,7 +21593,7 @@
buildCounterSslCertificateAggregatedListWarning++;
if (buildCounterSslCertificateAggregatedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2155();
+ o.data = buildUnnamed2157();
o.message = "foo";
}
buildCounterSslCertificateAggregatedListWarning--;
@@ -21605,7 +21605,7 @@
buildCounterSslCertificateAggregatedListWarning++;
if (buildCounterSslCertificateAggregatedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2155(o.data);
+ checkUnnamed2157(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterSslCertificateAggregatedListWarning--;
@@ -21617,11 +21617,11 @@
buildCounterSslCertificateAggregatedList++;
if (buildCounterSslCertificateAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed2153();
+ o.items = buildUnnamed2155();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
- o.unreachables = buildUnnamed2154();
+ o.unreachables = buildUnnamed2156();
o.warning = buildSslCertificateAggregatedListWarning();
}
buildCounterSslCertificateAggregatedList--;
@@ -21632,24 +21632,24 @@
buildCounterSslCertificateAggregatedList++;
if (buildCounterSslCertificateAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2153(o.items);
+ checkUnnamed2155(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
- checkUnnamed2154(o.unreachables);
+ checkUnnamed2156(o.unreachables);
checkSslCertificateAggregatedListWarning(o.warning);
}
buildCounterSslCertificateAggregatedList--;
}
-buildUnnamed2156() {
+buildUnnamed2158() {
var o = new core.List<api.SslCertificate>();
o.add(buildSslCertificate());
o.add(buildSslCertificate());
return o;
}
-checkUnnamed2156(core.List<api.SslCertificate> o) {
+checkUnnamed2158(core.List<api.SslCertificate> o) {
unittest.expect(o, unittest.hasLength(2));
checkSslCertificate(o[0]);
checkSslCertificate(o[1]);
@@ -21676,14 +21676,14 @@
buildCounterSslCertificateListWarningData--;
}
-buildUnnamed2157() {
+buildUnnamed2159() {
var o = new core.List<api.SslCertificateListWarningData>();
o.add(buildSslCertificateListWarningData());
o.add(buildSslCertificateListWarningData());
return o;
}
-checkUnnamed2157(core.List<api.SslCertificateListWarningData> o) {
+checkUnnamed2159(core.List<api.SslCertificateListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkSslCertificateListWarningData(o[0]);
checkSslCertificateListWarningData(o[1]);
@@ -21695,7 +21695,7 @@
buildCounterSslCertificateListWarning++;
if (buildCounterSslCertificateListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2157();
+ o.data = buildUnnamed2159();
o.message = "foo";
}
buildCounterSslCertificateListWarning--;
@@ -21706,7 +21706,7 @@
buildCounterSslCertificateListWarning++;
if (buildCounterSslCertificateListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2157(o.data);
+ checkUnnamed2159(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterSslCertificateListWarning--;
@@ -21718,7 +21718,7 @@
buildCounterSslCertificateList++;
if (buildCounterSslCertificateList < 3) {
o.id = "foo";
- o.items = buildUnnamed2156();
+ o.items = buildUnnamed2158();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -21732,7 +21732,7 @@
buildCounterSslCertificateList++;
if (buildCounterSslCertificateList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2156(o.items);
+ checkUnnamed2158(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -21741,27 +21741,27 @@
buildCounterSslCertificateList--;
}
-buildUnnamed2158() {
+buildUnnamed2160() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2158(core.Map<core.String, core.String> o) {
+checkUnnamed2160(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed2159() {
+buildUnnamed2161() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2159(core.List<core.String> o) {
+checkUnnamed2161(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -21772,8 +21772,8 @@
var o = new api.SslCertificateManagedSslCertificate();
buildCounterSslCertificateManagedSslCertificate++;
if (buildCounterSslCertificateManagedSslCertificate < 3) {
- o.domainStatus = buildUnnamed2158();
- o.domains = buildUnnamed2159();
+ o.domainStatus = buildUnnamed2160();
+ o.domains = buildUnnamed2161();
o.status = "foo";
}
buildCounterSslCertificateManagedSslCertificate--;
@@ -21784,8 +21784,8 @@
api.SslCertificateManagedSslCertificate o) {
buildCounterSslCertificateManagedSslCertificate++;
if (buildCounterSslCertificateManagedSslCertificate < 3) {
- checkUnnamed2158(o.domainStatus);
- checkUnnamed2159(o.domains);
+ checkUnnamed2160(o.domainStatus);
+ checkUnnamed2161(o.domains);
unittest.expect(o.status, unittest.equals('foo'));
}
buildCounterSslCertificateManagedSslCertificate--;
@@ -21813,14 +21813,14 @@
buildCounterSslCertificateSelfManagedSslCertificate--;
}
-buildUnnamed2160() {
+buildUnnamed2162() {
var o = new core.List<api.SslCertificate>();
o.add(buildSslCertificate());
o.add(buildSslCertificate());
return o;
}
-checkUnnamed2160(core.List<api.SslCertificate> o) {
+checkUnnamed2162(core.List<api.SslCertificate> o) {
unittest.expect(o, unittest.hasLength(2));
checkSslCertificate(o[0]);
checkSslCertificate(o[1]);
@@ -21848,14 +21848,14 @@
buildCounterSslCertificatesScopedListWarningData--;
}
-buildUnnamed2161() {
+buildUnnamed2163() {
var o = new core.List<api.SslCertificatesScopedListWarningData>();
o.add(buildSslCertificatesScopedListWarningData());
o.add(buildSslCertificatesScopedListWarningData());
return o;
}
-checkUnnamed2161(core.List<api.SslCertificatesScopedListWarningData> o) {
+checkUnnamed2163(core.List<api.SslCertificatesScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkSslCertificatesScopedListWarningData(o[0]);
checkSslCertificatesScopedListWarningData(o[1]);
@@ -21867,7 +21867,7 @@
buildCounterSslCertificatesScopedListWarning++;
if (buildCounterSslCertificatesScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2161();
+ o.data = buildUnnamed2163();
o.message = "foo";
}
buildCounterSslCertificatesScopedListWarning--;
@@ -21878,7 +21878,7 @@
buildCounterSslCertificatesScopedListWarning++;
if (buildCounterSslCertificatesScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2161(o.data);
+ checkUnnamed2163(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterSslCertificatesScopedListWarning--;
@@ -21889,7 +21889,7 @@
var o = new api.SslCertificatesScopedList();
buildCounterSslCertificatesScopedList++;
if (buildCounterSslCertificatesScopedList < 3) {
- o.sslCertificates = buildUnnamed2160();
+ o.sslCertificates = buildUnnamed2162();
o.warning = buildSslCertificatesScopedListWarning();
}
buildCounterSslCertificatesScopedList--;
@@ -21899,20 +21899,20 @@
checkSslCertificatesScopedList(api.SslCertificatesScopedList o) {
buildCounterSslCertificatesScopedList++;
if (buildCounterSslCertificatesScopedList < 3) {
- checkUnnamed2160(o.sslCertificates);
+ checkUnnamed2162(o.sslCertificates);
checkSslCertificatesScopedListWarning(o.warning);
}
buildCounterSslCertificatesScopedList--;
}
-buildUnnamed2162() {
+buildUnnamed2164() {
var o = new core.List<api.SslPolicy>();
o.add(buildSslPolicy());
o.add(buildSslPolicy());
return o;
}
-checkUnnamed2162(core.List<api.SslPolicy> o) {
+checkUnnamed2164(core.List<api.SslPolicy> o) {
unittest.expect(o, unittest.hasLength(2));
checkSslPolicy(o[0]);
checkSslPolicy(o[1]);
@@ -21939,14 +21939,14 @@
buildCounterSslPoliciesListWarningData--;
}
-buildUnnamed2163() {
+buildUnnamed2165() {
var o = new core.List<api.SslPoliciesListWarningData>();
o.add(buildSslPoliciesListWarningData());
o.add(buildSslPoliciesListWarningData());
return o;
}
-checkUnnamed2163(core.List<api.SslPoliciesListWarningData> o) {
+checkUnnamed2165(core.List<api.SslPoliciesListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkSslPoliciesListWarningData(o[0]);
checkSslPoliciesListWarningData(o[1]);
@@ -21958,7 +21958,7 @@
buildCounterSslPoliciesListWarning++;
if (buildCounterSslPoliciesListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2163();
+ o.data = buildUnnamed2165();
o.message = "foo";
}
buildCounterSslPoliciesListWarning--;
@@ -21969,7 +21969,7 @@
buildCounterSslPoliciesListWarning++;
if (buildCounterSslPoliciesListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2163(o.data);
+ checkUnnamed2165(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterSslPoliciesListWarning--;
@@ -21981,7 +21981,7 @@
buildCounterSslPoliciesList++;
if (buildCounterSslPoliciesList < 3) {
o.id = "foo";
- o.items = buildUnnamed2162();
+ o.items = buildUnnamed2164();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -21995,7 +21995,7 @@
buildCounterSslPoliciesList++;
if (buildCounterSslPoliciesList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2162(o.items);
+ checkUnnamed2164(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -22004,52 +22004,6 @@
buildCounterSslPoliciesList--;
}
-buildUnnamed2164() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2164(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-core.int buildCounterSslPoliciesListAvailableFeaturesResponse = 0;
-buildSslPoliciesListAvailableFeaturesResponse() {
- var o = new api.SslPoliciesListAvailableFeaturesResponse();
- buildCounterSslPoliciesListAvailableFeaturesResponse++;
- if (buildCounterSslPoliciesListAvailableFeaturesResponse < 3) {
- o.features = buildUnnamed2164();
- }
- buildCounterSslPoliciesListAvailableFeaturesResponse--;
- return o;
-}
-
-checkSslPoliciesListAvailableFeaturesResponse(
- api.SslPoliciesListAvailableFeaturesResponse o) {
- buildCounterSslPoliciesListAvailableFeaturesResponse++;
- if (buildCounterSslPoliciesListAvailableFeaturesResponse < 3) {
- checkUnnamed2164(o.features);
- }
- buildCounterSslPoliciesListAvailableFeaturesResponse--;
-}
-
-buildUnnamed2165() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2165(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed2166() {
var o = new core.List<core.String>();
o.add("foo");
@@ -22063,6 +22017,52 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+core.int buildCounterSslPoliciesListAvailableFeaturesResponse = 0;
+buildSslPoliciesListAvailableFeaturesResponse() {
+ var o = new api.SslPoliciesListAvailableFeaturesResponse();
+ buildCounterSslPoliciesListAvailableFeaturesResponse++;
+ if (buildCounterSslPoliciesListAvailableFeaturesResponse < 3) {
+ o.features = buildUnnamed2166();
+ }
+ buildCounterSslPoliciesListAvailableFeaturesResponse--;
+ return o;
+}
+
+checkSslPoliciesListAvailableFeaturesResponse(
+ api.SslPoliciesListAvailableFeaturesResponse o) {
+ buildCounterSslPoliciesListAvailableFeaturesResponse++;
+ if (buildCounterSslPoliciesListAvailableFeaturesResponse < 3) {
+ checkUnnamed2166(o.features);
+ }
+ buildCounterSslPoliciesListAvailableFeaturesResponse--;
+}
+
+buildUnnamed2167() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2167(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed2168() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2168(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
core.int buildCounterSslPolicyWarningsData = 0;
buildSslPolicyWarningsData() {
var o = new api.SslPolicyWarningsData();
@@ -22084,14 +22084,14 @@
buildCounterSslPolicyWarningsData--;
}
-buildUnnamed2167() {
+buildUnnamed2169() {
var o = new core.List<api.SslPolicyWarningsData>();
o.add(buildSslPolicyWarningsData());
o.add(buildSslPolicyWarningsData());
return o;
}
-checkUnnamed2167(core.List<api.SslPolicyWarningsData> o) {
+checkUnnamed2169(core.List<api.SslPolicyWarningsData> o) {
unittest.expect(o, unittest.hasLength(2));
checkSslPolicyWarningsData(o[0]);
checkSslPolicyWarningsData(o[1]);
@@ -22103,7 +22103,7 @@
buildCounterSslPolicyWarnings++;
if (buildCounterSslPolicyWarnings < 3) {
o.code = "foo";
- o.data = buildUnnamed2167();
+ o.data = buildUnnamed2169();
o.message = "foo";
}
buildCounterSslPolicyWarnings--;
@@ -22114,20 +22114,20 @@
buildCounterSslPolicyWarnings++;
if (buildCounterSslPolicyWarnings < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2167(o.data);
+ checkUnnamed2169(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterSslPolicyWarnings--;
}
-buildUnnamed2168() {
+buildUnnamed2170() {
var o = new core.List<api.SslPolicyWarnings>();
o.add(buildSslPolicyWarnings());
o.add(buildSslPolicyWarnings());
return o;
}
-checkUnnamed2168(core.List<api.SslPolicyWarnings> o) {
+checkUnnamed2170(core.List<api.SslPolicyWarnings> o) {
unittest.expect(o, unittest.hasLength(2));
checkSslPolicyWarnings(o[0]);
checkSslPolicyWarnings(o[1]);
@@ -22139,9 +22139,9 @@
buildCounterSslPolicy++;
if (buildCounterSslPolicy < 3) {
o.creationTimestamp = "foo";
- o.customFeatures = buildUnnamed2165();
+ o.customFeatures = buildUnnamed2167();
o.description = "foo";
- o.enabledFeatures = buildUnnamed2166();
+ o.enabledFeatures = buildUnnamed2168();
o.fingerprint = "foo";
o.id = "foo";
o.kind = "foo";
@@ -22149,7 +22149,7 @@
o.name = "foo";
o.profile = "foo";
o.selfLink = "foo";
- o.warnings = buildUnnamed2168();
+ o.warnings = buildUnnamed2170();
}
buildCounterSslPolicy--;
return o;
@@ -22159,9 +22159,9 @@
buildCounterSslPolicy++;
if (buildCounterSslPolicy < 3) {
unittest.expect(o.creationTimestamp, unittest.equals('foo'));
- checkUnnamed2165(o.customFeatures);
+ checkUnnamed2167(o.customFeatures);
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed2166(o.enabledFeatures);
+ checkUnnamed2168(o.enabledFeatures);
unittest.expect(o.fingerprint, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
@@ -22169,7 +22169,7 @@
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.profile, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
- checkUnnamed2168(o.warnings);
+ checkUnnamed2170(o.warnings);
}
buildCounterSslPolicy--;
}
@@ -22212,7 +22212,7 @@
buildCounterStatefulPolicy--;
}
-buildUnnamed2169() {
+buildUnnamed2171() {
var o =
new core.Map<core.String, api.StatefulPolicyPreservedStateDiskDevice>();
o["x"] = buildStatefulPolicyPreservedStateDiskDevice();
@@ -22220,7 +22220,7 @@
return o;
}
-checkUnnamed2169(
+checkUnnamed2171(
core.Map<core.String, api.StatefulPolicyPreservedStateDiskDevice> o) {
unittest.expect(o, unittest.hasLength(2));
checkStatefulPolicyPreservedStateDiskDevice(o["x"]);
@@ -22232,7 +22232,7 @@
var o = new api.StatefulPolicyPreservedState();
buildCounterStatefulPolicyPreservedState++;
if (buildCounterStatefulPolicyPreservedState < 3) {
- o.disks = buildUnnamed2169();
+ o.disks = buildUnnamed2171();
}
buildCounterStatefulPolicyPreservedState--;
return o;
@@ -22241,7 +22241,7 @@
checkStatefulPolicyPreservedState(api.StatefulPolicyPreservedState o) {
buildCounterStatefulPolicyPreservedState++;
if (buildCounterStatefulPolicyPreservedState < 3) {
- checkUnnamed2169(o.disks);
+ checkUnnamed2171(o.disks);
}
buildCounterStatefulPolicyPreservedState--;
}
@@ -22266,14 +22266,14 @@
buildCounterStatefulPolicyPreservedStateDiskDevice--;
}
-buildUnnamed2170() {
+buildUnnamed2172() {
var o = new core.List<api.SubnetworkSecondaryRange>();
o.add(buildSubnetworkSecondaryRange());
o.add(buildSubnetworkSecondaryRange());
return o;
}
-checkUnnamed2170(core.List<api.SubnetworkSecondaryRange> o) {
+checkUnnamed2172(core.List<api.SubnetworkSecondaryRange> o) {
unittest.expect(o, unittest.hasLength(2));
checkSubnetworkSecondaryRange(o[0]);
checkSubnetworkSecondaryRange(o[1]);
@@ -22301,7 +22301,7 @@
o.purpose = "foo";
o.region = "foo";
o.role = "foo";
- o.secondaryIpRanges = buildUnnamed2170();
+ o.secondaryIpRanges = buildUnnamed2172();
o.selfLink = "foo";
o.state = "foo";
}
@@ -22329,34 +22329,34 @@
unittest.expect(o.purpose, unittest.equals('foo'));
unittest.expect(o.region, unittest.equals('foo'));
unittest.expect(o.role, unittest.equals('foo'));
- checkUnnamed2170(o.secondaryIpRanges);
+ checkUnnamed2172(o.secondaryIpRanges);
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.state, unittest.equals('foo'));
}
buildCounterSubnetwork--;
}
-buildUnnamed2171() {
+buildUnnamed2173() {
var o = new core.Map<core.String, api.SubnetworksScopedList>();
o["x"] = buildSubnetworksScopedList();
o["y"] = buildSubnetworksScopedList();
return o;
}
-checkUnnamed2171(core.Map<core.String, api.SubnetworksScopedList> o) {
+checkUnnamed2173(core.Map<core.String, api.SubnetworksScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkSubnetworksScopedList(o["x"]);
checkSubnetworksScopedList(o["y"]);
}
-buildUnnamed2172() {
+buildUnnamed2174() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2172(core.List<core.String> o) {
+checkUnnamed2174(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -22384,14 +22384,14 @@
buildCounterSubnetworkAggregatedListWarningData--;
}
-buildUnnamed2173() {
+buildUnnamed2175() {
var o = new core.List<api.SubnetworkAggregatedListWarningData>();
o.add(buildSubnetworkAggregatedListWarningData());
o.add(buildSubnetworkAggregatedListWarningData());
return o;
}
-checkUnnamed2173(core.List<api.SubnetworkAggregatedListWarningData> o) {
+checkUnnamed2175(core.List<api.SubnetworkAggregatedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkSubnetworkAggregatedListWarningData(o[0]);
checkSubnetworkAggregatedListWarningData(o[1]);
@@ -22403,7 +22403,7 @@
buildCounterSubnetworkAggregatedListWarning++;
if (buildCounterSubnetworkAggregatedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2173();
+ o.data = buildUnnamed2175();
o.message = "foo";
}
buildCounterSubnetworkAggregatedListWarning--;
@@ -22414,7 +22414,7 @@
buildCounterSubnetworkAggregatedListWarning++;
if (buildCounterSubnetworkAggregatedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2173(o.data);
+ checkUnnamed2175(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterSubnetworkAggregatedListWarning--;
@@ -22426,11 +22426,11 @@
buildCounterSubnetworkAggregatedList++;
if (buildCounterSubnetworkAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed2171();
+ o.items = buildUnnamed2173();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
- o.unreachables = buildUnnamed2172();
+ o.unreachables = buildUnnamed2174();
o.warning = buildSubnetworkAggregatedListWarning();
}
buildCounterSubnetworkAggregatedList--;
@@ -22441,24 +22441,24 @@
buildCounterSubnetworkAggregatedList++;
if (buildCounterSubnetworkAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2171(o.items);
+ checkUnnamed2173(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
- checkUnnamed2172(o.unreachables);
+ checkUnnamed2174(o.unreachables);
checkSubnetworkAggregatedListWarning(o.warning);
}
buildCounterSubnetworkAggregatedList--;
}
-buildUnnamed2174() {
+buildUnnamed2176() {
var o = new core.List<api.Subnetwork>();
o.add(buildSubnetwork());
o.add(buildSubnetwork());
return o;
}
-checkUnnamed2174(core.List<api.Subnetwork> o) {
+checkUnnamed2176(core.List<api.Subnetwork> o) {
unittest.expect(o, unittest.hasLength(2));
checkSubnetwork(o[0]);
checkSubnetwork(o[1]);
@@ -22485,14 +22485,14 @@
buildCounterSubnetworkListWarningData--;
}
-buildUnnamed2175() {
+buildUnnamed2177() {
var o = new core.List<api.SubnetworkListWarningData>();
o.add(buildSubnetworkListWarningData());
o.add(buildSubnetworkListWarningData());
return o;
}
-checkUnnamed2175(core.List<api.SubnetworkListWarningData> o) {
+checkUnnamed2177(core.List<api.SubnetworkListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkSubnetworkListWarningData(o[0]);
checkSubnetworkListWarningData(o[1]);
@@ -22504,7 +22504,7 @@
buildCounterSubnetworkListWarning++;
if (buildCounterSubnetworkListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2175();
+ o.data = buildUnnamed2177();
o.message = "foo";
}
buildCounterSubnetworkListWarning--;
@@ -22515,7 +22515,7 @@
buildCounterSubnetworkListWarning++;
if (buildCounterSubnetworkListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2175(o.data);
+ checkUnnamed2177(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterSubnetworkListWarning--;
@@ -22527,7 +22527,7 @@
buildCounterSubnetworkList++;
if (buildCounterSubnetworkList < 3) {
o.id = "foo";
- o.items = buildUnnamed2174();
+ o.items = buildUnnamed2176();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -22541,7 +22541,7 @@
buildCounterSubnetworkList++;
if (buildCounterSubnetworkList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2174(o.items);
+ checkUnnamed2176(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -22550,14 +22550,14 @@
buildCounterSubnetworkList--;
}
-buildUnnamed2176() {
+buildUnnamed2178() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2176(core.List<core.String> o) {
+checkUnnamed2178(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -22573,7 +22573,7 @@
o.filterExpr = "foo";
o.flowSampling = 42.0;
o.metadata = "foo";
- o.metadataFields = buildUnnamed2176();
+ o.metadataFields = buildUnnamed2178();
}
buildCounterSubnetworkLogConfig--;
return o;
@@ -22587,7 +22587,7 @@
unittest.expect(o.filterExpr, unittest.equals('foo'));
unittest.expect(o.flowSampling, unittest.equals(42.0));
unittest.expect(o.metadata, unittest.equals('foo'));
- checkUnnamed2176(o.metadataFields);
+ checkUnnamed2178(o.metadataFields);
}
buildCounterSubnetworkLogConfig--;
}
@@ -22633,14 +22633,14 @@
buildCounterSubnetworksExpandIpCidrRangeRequest--;
}
-buildUnnamed2177() {
+buildUnnamed2179() {
var o = new core.List<api.Subnetwork>();
o.add(buildSubnetwork());
o.add(buildSubnetwork());
return o;
}
-checkUnnamed2177(core.List<api.Subnetwork> o) {
+checkUnnamed2179(core.List<api.Subnetwork> o) {
unittest.expect(o, unittest.hasLength(2));
checkSubnetwork(o[0]);
checkSubnetwork(o[1]);
@@ -22667,14 +22667,14 @@
buildCounterSubnetworksScopedListWarningData--;
}
-buildUnnamed2178() {
+buildUnnamed2180() {
var o = new core.List<api.SubnetworksScopedListWarningData>();
o.add(buildSubnetworksScopedListWarningData());
o.add(buildSubnetworksScopedListWarningData());
return o;
}
-checkUnnamed2178(core.List<api.SubnetworksScopedListWarningData> o) {
+checkUnnamed2180(core.List<api.SubnetworksScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkSubnetworksScopedListWarningData(o[0]);
checkSubnetworksScopedListWarningData(o[1]);
@@ -22686,7 +22686,7 @@
buildCounterSubnetworksScopedListWarning++;
if (buildCounterSubnetworksScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2178();
+ o.data = buildUnnamed2180();
o.message = "foo";
}
buildCounterSubnetworksScopedListWarning--;
@@ -22697,7 +22697,7 @@
buildCounterSubnetworksScopedListWarning++;
if (buildCounterSubnetworksScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2178(o.data);
+ checkUnnamed2180(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterSubnetworksScopedListWarning--;
@@ -22708,7 +22708,7 @@
var o = new api.SubnetworksScopedList();
buildCounterSubnetworksScopedList++;
if (buildCounterSubnetworksScopedList < 3) {
- o.subnetworks = buildUnnamed2177();
+ o.subnetworks = buildUnnamed2179();
o.warning = buildSubnetworksScopedListWarning();
}
buildCounterSubnetworksScopedList--;
@@ -22718,7 +22718,7 @@
checkSubnetworksScopedList(api.SubnetworksScopedList o) {
buildCounterSubnetworksScopedList++;
if (buildCounterSubnetworksScopedList < 3) {
- checkUnnamed2177(o.subnetworks);
+ checkUnnamed2179(o.subnetworks);
checkSubnetworksScopedListWarning(o.warning);
}
buildCounterSubnetworksScopedList--;
@@ -22773,14 +22773,14 @@
buildCounterTCPHealthCheck--;
}
-buildUnnamed2179() {
+buildUnnamed2181() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2179(core.List<core.String> o) {
+checkUnnamed2181(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -22792,7 +22792,7 @@
buildCounterTags++;
if (buildCounterTags < 3) {
o.fingerprint = "foo";
- o.items = buildUnnamed2179();
+ o.items = buildUnnamed2181();
}
buildCounterTags--;
return o;
@@ -22802,7 +22802,7 @@
buildCounterTags++;
if (buildCounterTags < 3) {
unittest.expect(o.fingerprint, unittest.equals('foo'));
- checkUnnamed2179(o.items);
+ checkUnnamed2181(o.items);
}
buildCounterTags--;
}
@@ -22844,14 +22844,14 @@
buildCounterTargetGrpcProxy--;
}
-buildUnnamed2180() {
+buildUnnamed2182() {
var o = new core.List<api.TargetGrpcProxy>();
o.add(buildTargetGrpcProxy());
o.add(buildTargetGrpcProxy());
return o;
}
-checkUnnamed2180(core.List<api.TargetGrpcProxy> o) {
+checkUnnamed2182(core.List<api.TargetGrpcProxy> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetGrpcProxy(o[0]);
checkTargetGrpcProxy(o[1]);
@@ -22878,14 +22878,14 @@
buildCounterTargetGrpcProxyListWarningData--;
}
-buildUnnamed2181() {
+buildUnnamed2183() {
var o = new core.List<api.TargetGrpcProxyListWarningData>();
o.add(buildTargetGrpcProxyListWarningData());
o.add(buildTargetGrpcProxyListWarningData());
return o;
}
-checkUnnamed2181(core.List<api.TargetGrpcProxyListWarningData> o) {
+checkUnnamed2183(core.List<api.TargetGrpcProxyListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetGrpcProxyListWarningData(o[0]);
checkTargetGrpcProxyListWarningData(o[1]);
@@ -22897,7 +22897,7 @@
buildCounterTargetGrpcProxyListWarning++;
if (buildCounterTargetGrpcProxyListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2181();
+ o.data = buildUnnamed2183();
o.message = "foo";
}
buildCounterTargetGrpcProxyListWarning--;
@@ -22908,7 +22908,7 @@
buildCounterTargetGrpcProxyListWarning++;
if (buildCounterTargetGrpcProxyListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2181(o.data);
+ checkUnnamed2183(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterTargetGrpcProxyListWarning--;
@@ -22920,7 +22920,7 @@
buildCounterTargetGrpcProxyList++;
if (buildCounterTargetGrpcProxyList < 3) {
o.id = "foo";
- o.items = buildUnnamed2180();
+ o.items = buildUnnamed2182();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -22934,7 +22934,7 @@
buildCounterTargetGrpcProxyList++;
if (buildCounterTargetGrpcProxyList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2180(o.items);
+ checkUnnamed2182(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -22943,14 +22943,14 @@
buildCounterTargetGrpcProxyList--;
}
-buildUnnamed2182() {
+buildUnnamed2184() {
var o = new core.List<api.TargetHttpProxy>();
o.add(buildTargetHttpProxy());
o.add(buildTargetHttpProxy());
return o;
}
-checkUnnamed2182(core.List<api.TargetHttpProxy> o) {
+checkUnnamed2184(core.List<api.TargetHttpProxy> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetHttpProxy(o[0]);
checkTargetHttpProxy(o[1]);
@@ -22978,14 +22978,14 @@
buildCounterTargetHttpProxiesScopedListWarningData--;
}
-buildUnnamed2183() {
+buildUnnamed2185() {
var o = new core.List<api.TargetHttpProxiesScopedListWarningData>();
o.add(buildTargetHttpProxiesScopedListWarningData());
o.add(buildTargetHttpProxiesScopedListWarningData());
return o;
}
-checkUnnamed2183(core.List<api.TargetHttpProxiesScopedListWarningData> o) {
+checkUnnamed2185(core.List<api.TargetHttpProxiesScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetHttpProxiesScopedListWarningData(o[0]);
checkTargetHttpProxiesScopedListWarningData(o[1]);
@@ -22997,7 +22997,7 @@
buildCounterTargetHttpProxiesScopedListWarning++;
if (buildCounterTargetHttpProxiesScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2183();
+ o.data = buildUnnamed2185();
o.message = "foo";
}
buildCounterTargetHttpProxiesScopedListWarning--;
@@ -23009,7 +23009,7 @@
buildCounterTargetHttpProxiesScopedListWarning++;
if (buildCounterTargetHttpProxiesScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2183(o.data);
+ checkUnnamed2185(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterTargetHttpProxiesScopedListWarning--;
@@ -23020,7 +23020,7 @@
var o = new api.TargetHttpProxiesScopedList();
buildCounterTargetHttpProxiesScopedList++;
if (buildCounterTargetHttpProxiesScopedList < 3) {
- o.targetHttpProxies = buildUnnamed2182();
+ o.targetHttpProxies = buildUnnamed2184();
o.warning = buildTargetHttpProxiesScopedListWarning();
}
buildCounterTargetHttpProxiesScopedList--;
@@ -23030,7 +23030,7 @@
checkTargetHttpProxiesScopedList(api.TargetHttpProxiesScopedList o) {
buildCounterTargetHttpProxiesScopedList++;
if (buildCounterTargetHttpProxiesScopedList < 3) {
- checkUnnamed2182(o.targetHttpProxies);
+ checkUnnamed2184(o.targetHttpProxies);
checkTargetHttpProxiesScopedListWarning(o.warning);
}
buildCounterTargetHttpProxiesScopedList--;
@@ -23071,27 +23071,27 @@
buildCounterTargetHttpProxy--;
}
-buildUnnamed2184() {
+buildUnnamed2186() {
var o = new core.Map<core.String, api.TargetHttpProxiesScopedList>();
o["x"] = buildTargetHttpProxiesScopedList();
o["y"] = buildTargetHttpProxiesScopedList();
return o;
}
-checkUnnamed2184(core.Map<core.String, api.TargetHttpProxiesScopedList> o) {
+checkUnnamed2186(core.Map<core.String, api.TargetHttpProxiesScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetHttpProxiesScopedList(o["x"]);
checkTargetHttpProxiesScopedList(o["y"]);
}
-buildUnnamed2185() {
+buildUnnamed2187() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2185(core.List<core.String> o) {
+checkUnnamed2187(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -23103,11 +23103,11 @@
buildCounterTargetHttpProxyAggregatedList++;
if (buildCounterTargetHttpProxyAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed2184();
+ o.items = buildUnnamed2186();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
- o.unreachables = buildUnnamed2185();
+ o.unreachables = buildUnnamed2187();
}
buildCounterTargetHttpProxyAggregatedList--;
return o;
@@ -23117,23 +23117,23 @@
buildCounterTargetHttpProxyAggregatedList++;
if (buildCounterTargetHttpProxyAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2184(o.items);
+ checkUnnamed2186(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
- checkUnnamed2185(o.unreachables);
+ checkUnnamed2187(o.unreachables);
}
buildCounterTargetHttpProxyAggregatedList--;
}
-buildUnnamed2186() {
+buildUnnamed2188() {
var o = new core.List<api.TargetHttpProxy>();
o.add(buildTargetHttpProxy());
o.add(buildTargetHttpProxy());
return o;
}
-checkUnnamed2186(core.List<api.TargetHttpProxy> o) {
+checkUnnamed2188(core.List<api.TargetHttpProxy> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetHttpProxy(o[0]);
checkTargetHttpProxy(o[1]);
@@ -23160,14 +23160,14 @@
buildCounterTargetHttpProxyListWarningData--;
}
-buildUnnamed2187() {
+buildUnnamed2189() {
var o = new core.List<api.TargetHttpProxyListWarningData>();
o.add(buildTargetHttpProxyListWarningData());
o.add(buildTargetHttpProxyListWarningData());
return o;
}
-checkUnnamed2187(core.List<api.TargetHttpProxyListWarningData> o) {
+checkUnnamed2189(core.List<api.TargetHttpProxyListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetHttpProxyListWarningData(o[0]);
checkTargetHttpProxyListWarningData(o[1]);
@@ -23179,7 +23179,7 @@
buildCounterTargetHttpProxyListWarning++;
if (buildCounterTargetHttpProxyListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2187();
+ o.data = buildUnnamed2189();
o.message = "foo";
}
buildCounterTargetHttpProxyListWarning--;
@@ -23190,7 +23190,7 @@
buildCounterTargetHttpProxyListWarning++;
if (buildCounterTargetHttpProxyListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2187(o.data);
+ checkUnnamed2189(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterTargetHttpProxyListWarning--;
@@ -23202,7 +23202,7 @@
buildCounterTargetHttpProxyList++;
if (buildCounterTargetHttpProxyList < 3) {
o.id = "foo";
- o.items = buildUnnamed2186();
+ o.items = buildUnnamed2188();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -23216,7 +23216,7 @@
buildCounterTargetHttpProxyList++;
if (buildCounterTargetHttpProxyList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2186(o.items);
+ checkUnnamed2188(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -23225,14 +23225,14 @@
buildCounterTargetHttpProxyList--;
}
-buildUnnamed2188() {
+buildUnnamed2190() {
var o = new core.List<api.TargetHttpsProxy>();
o.add(buildTargetHttpsProxy());
o.add(buildTargetHttpsProxy());
return o;
}
-checkUnnamed2188(core.List<api.TargetHttpsProxy> o) {
+checkUnnamed2190(core.List<api.TargetHttpsProxy> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetHttpsProxy(o[0]);
checkTargetHttpsProxy(o[1]);
@@ -23260,14 +23260,14 @@
buildCounterTargetHttpsProxiesScopedListWarningData--;
}
-buildUnnamed2189() {
+buildUnnamed2191() {
var o = new core.List<api.TargetHttpsProxiesScopedListWarningData>();
o.add(buildTargetHttpsProxiesScopedListWarningData());
o.add(buildTargetHttpsProxiesScopedListWarningData());
return o;
}
-checkUnnamed2189(core.List<api.TargetHttpsProxiesScopedListWarningData> o) {
+checkUnnamed2191(core.List<api.TargetHttpsProxiesScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetHttpsProxiesScopedListWarningData(o[0]);
checkTargetHttpsProxiesScopedListWarningData(o[1]);
@@ -23279,7 +23279,7 @@
buildCounterTargetHttpsProxiesScopedListWarning++;
if (buildCounterTargetHttpsProxiesScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2189();
+ o.data = buildUnnamed2191();
o.message = "foo";
}
buildCounterTargetHttpsProxiesScopedListWarning--;
@@ -23291,7 +23291,7 @@
buildCounterTargetHttpsProxiesScopedListWarning++;
if (buildCounterTargetHttpsProxiesScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2189(o.data);
+ checkUnnamed2191(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterTargetHttpsProxiesScopedListWarning--;
@@ -23302,7 +23302,7 @@
var o = new api.TargetHttpsProxiesScopedList();
buildCounterTargetHttpsProxiesScopedList++;
if (buildCounterTargetHttpsProxiesScopedList < 3) {
- o.targetHttpsProxies = buildUnnamed2188();
+ o.targetHttpsProxies = buildUnnamed2190();
o.warning = buildTargetHttpsProxiesScopedListWarning();
}
buildCounterTargetHttpsProxiesScopedList--;
@@ -23312,7 +23312,7 @@
checkTargetHttpsProxiesScopedList(api.TargetHttpsProxiesScopedList o) {
buildCounterTargetHttpsProxiesScopedList++;
if (buildCounterTargetHttpsProxiesScopedList < 3) {
- checkUnnamed2188(o.targetHttpsProxies);
+ checkUnnamed2190(o.targetHttpsProxies);
checkTargetHttpsProxiesScopedListWarning(o.warning);
}
buildCounterTargetHttpsProxiesScopedList--;
@@ -23338,14 +23338,14 @@
buildCounterTargetHttpsProxiesSetQuicOverrideRequest--;
}
-buildUnnamed2190() {
+buildUnnamed2192() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2190(core.List<core.String> o) {
+checkUnnamed2192(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -23356,7 +23356,7 @@
var o = new api.TargetHttpsProxiesSetSslCertificatesRequest();
buildCounterTargetHttpsProxiesSetSslCertificatesRequest++;
if (buildCounterTargetHttpsProxiesSetSslCertificatesRequest < 3) {
- o.sslCertificates = buildUnnamed2190();
+ o.sslCertificates = buildUnnamed2192();
}
buildCounterTargetHttpsProxiesSetSslCertificatesRequest--;
return o;
@@ -23366,19 +23366,19 @@
api.TargetHttpsProxiesSetSslCertificatesRequest o) {
buildCounterTargetHttpsProxiesSetSslCertificatesRequest++;
if (buildCounterTargetHttpsProxiesSetSslCertificatesRequest < 3) {
- checkUnnamed2190(o.sslCertificates);
+ checkUnnamed2192(o.sslCertificates);
}
buildCounterTargetHttpsProxiesSetSslCertificatesRequest--;
}
-buildUnnamed2191() {
+buildUnnamed2193() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2191(core.List<core.String> o) {
+checkUnnamed2193(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -23397,7 +23397,7 @@
o.quicOverride = "foo";
o.region = "foo";
o.selfLink = "foo";
- o.sslCertificates = buildUnnamed2191();
+ o.sslCertificates = buildUnnamed2193();
o.sslPolicy = "foo";
o.urlMap = "foo";
}
@@ -23416,34 +23416,34 @@
unittest.expect(o.quicOverride, unittest.equals('foo'));
unittest.expect(o.region, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
- checkUnnamed2191(o.sslCertificates);
+ checkUnnamed2193(o.sslCertificates);
unittest.expect(o.sslPolicy, unittest.equals('foo'));
unittest.expect(o.urlMap, unittest.equals('foo'));
}
buildCounterTargetHttpsProxy--;
}
-buildUnnamed2192() {
+buildUnnamed2194() {
var o = new core.Map<core.String, api.TargetHttpsProxiesScopedList>();
o["x"] = buildTargetHttpsProxiesScopedList();
o["y"] = buildTargetHttpsProxiesScopedList();
return o;
}
-checkUnnamed2192(core.Map<core.String, api.TargetHttpsProxiesScopedList> o) {
+checkUnnamed2194(core.Map<core.String, api.TargetHttpsProxiesScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetHttpsProxiesScopedList(o["x"]);
checkTargetHttpsProxiesScopedList(o["y"]);
}
-buildUnnamed2193() {
+buildUnnamed2195() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2193(core.List<core.String> o) {
+checkUnnamed2195(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -23471,14 +23471,14 @@
buildCounterTargetHttpsProxyAggregatedListWarningData--;
}
-buildUnnamed2194() {
+buildUnnamed2196() {
var o = new core.List<api.TargetHttpsProxyAggregatedListWarningData>();
o.add(buildTargetHttpsProxyAggregatedListWarningData());
o.add(buildTargetHttpsProxyAggregatedListWarningData());
return o;
}
-checkUnnamed2194(core.List<api.TargetHttpsProxyAggregatedListWarningData> o) {
+checkUnnamed2196(core.List<api.TargetHttpsProxyAggregatedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetHttpsProxyAggregatedListWarningData(o[0]);
checkTargetHttpsProxyAggregatedListWarningData(o[1]);
@@ -23490,7 +23490,7 @@
buildCounterTargetHttpsProxyAggregatedListWarning++;
if (buildCounterTargetHttpsProxyAggregatedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2194();
+ o.data = buildUnnamed2196();
o.message = "foo";
}
buildCounterTargetHttpsProxyAggregatedListWarning--;
@@ -23502,7 +23502,7 @@
buildCounterTargetHttpsProxyAggregatedListWarning++;
if (buildCounterTargetHttpsProxyAggregatedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2194(o.data);
+ checkUnnamed2196(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterTargetHttpsProxyAggregatedListWarning--;
@@ -23514,11 +23514,11 @@
buildCounterTargetHttpsProxyAggregatedList++;
if (buildCounterTargetHttpsProxyAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed2192();
+ o.items = buildUnnamed2194();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
- o.unreachables = buildUnnamed2193();
+ o.unreachables = buildUnnamed2195();
o.warning = buildTargetHttpsProxyAggregatedListWarning();
}
buildCounterTargetHttpsProxyAggregatedList--;
@@ -23529,24 +23529,24 @@
buildCounterTargetHttpsProxyAggregatedList++;
if (buildCounterTargetHttpsProxyAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2192(o.items);
+ checkUnnamed2194(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
- checkUnnamed2193(o.unreachables);
+ checkUnnamed2195(o.unreachables);
checkTargetHttpsProxyAggregatedListWarning(o.warning);
}
buildCounterTargetHttpsProxyAggregatedList--;
}
-buildUnnamed2195() {
+buildUnnamed2197() {
var o = new core.List<api.TargetHttpsProxy>();
o.add(buildTargetHttpsProxy());
o.add(buildTargetHttpsProxy());
return o;
}
-checkUnnamed2195(core.List<api.TargetHttpsProxy> o) {
+checkUnnamed2197(core.List<api.TargetHttpsProxy> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetHttpsProxy(o[0]);
checkTargetHttpsProxy(o[1]);
@@ -23573,14 +23573,14 @@
buildCounterTargetHttpsProxyListWarningData--;
}
-buildUnnamed2196() {
+buildUnnamed2198() {
var o = new core.List<api.TargetHttpsProxyListWarningData>();
o.add(buildTargetHttpsProxyListWarningData());
o.add(buildTargetHttpsProxyListWarningData());
return o;
}
-checkUnnamed2196(core.List<api.TargetHttpsProxyListWarningData> o) {
+checkUnnamed2198(core.List<api.TargetHttpsProxyListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetHttpsProxyListWarningData(o[0]);
checkTargetHttpsProxyListWarningData(o[1]);
@@ -23592,7 +23592,7 @@
buildCounterTargetHttpsProxyListWarning++;
if (buildCounterTargetHttpsProxyListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2196();
+ o.data = buildUnnamed2198();
o.message = "foo";
}
buildCounterTargetHttpsProxyListWarning--;
@@ -23603,7 +23603,7 @@
buildCounterTargetHttpsProxyListWarning++;
if (buildCounterTargetHttpsProxyListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2196(o.data);
+ checkUnnamed2198(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterTargetHttpsProxyListWarning--;
@@ -23615,7 +23615,7 @@
buildCounterTargetHttpsProxyList++;
if (buildCounterTargetHttpsProxyList < 3) {
o.id = "foo";
- o.items = buildUnnamed2195();
+ o.items = buildUnnamed2197();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -23629,7 +23629,7 @@
buildCounterTargetHttpsProxyList++;
if (buildCounterTargetHttpsProxyList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2195(o.items);
+ checkUnnamed2197(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -23673,27 +23673,27 @@
buildCounterTargetInstance--;
}
-buildUnnamed2197() {
+buildUnnamed2199() {
var o = new core.Map<core.String, api.TargetInstancesScopedList>();
o["x"] = buildTargetInstancesScopedList();
o["y"] = buildTargetInstancesScopedList();
return o;
}
-checkUnnamed2197(core.Map<core.String, api.TargetInstancesScopedList> o) {
+checkUnnamed2199(core.Map<core.String, api.TargetInstancesScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetInstancesScopedList(o["x"]);
checkTargetInstancesScopedList(o["y"]);
}
-buildUnnamed2198() {
+buildUnnamed2200() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2198(core.List<core.String> o) {
+checkUnnamed2200(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -23721,14 +23721,14 @@
buildCounterTargetInstanceAggregatedListWarningData--;
}
-buildUnnamed2199() {
+buildUnnamed2201() {
var o = new core.List<api.TargetInstanceAggregatedListWarningData>();
o.add(buildTargetInstanceAggregatedListWarningData());
o.add(buildTargetInstanceAggregatedListWarningData());
return o;
}
-checkUnnamed2199(core.List<api.TargetInstanceAggregatedListWarningData> o) {
+checkUnnamed2201(core.List<api.TargetInstanceAggregatedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetInstanceAggregatedListWarningData(o[0]);
checkTargetInstanceAggregatedListWarningData(o[1]);
@@ -23740,7 +23740,7 @@
buildCounterTargetInstanceAggregatedListWarning++;
if (buildCounterTargetInstanceAggregatedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2199();
+ o.data = buildUnnamed2201();
o.message = "foo";
}
buildCounterTargetInstanceAggregatedListWarning--;
@@ -23752,7 +23752,7 @@
buildCounterTargetInstanceAggregatedListWarning++;
if (buildCounterTargetInstanceAggregatedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2199(o.data);
+ checkUnnamed2201(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterTargetInstanceAggregatedListWarning--;
@@ -23764,11 +23764,11 @@
buildCounterTargetInstanceAggregatedList++;
if (buildCounterTargetInstanceAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed2197();
+ o.items = buildUnnamed2199();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
- o.unreachables = buildUnnamed2198();
+ o.unreachables = buildUnnamed2200();
o.warning = buildTargetInstanceAggregatedListWarning();
}
buildCounterTargetInstanceAggregatedList--;
@@ -23779,24 +23779,24 @@
buildCounterTargetInstanceAggregatedList++;
if (buildCounterTargetInstanceAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2197(o.items);
+ checkUnnamed2199(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
- checkUnnamed2198(o.unreachables);
+ checkUnnamed2200(o.unreachables);
checkTargetInstanceAggregatedListWarning(o.warning);
}
buildCounterTargetInstanceAggregatedList--;
}
-buildUnnamed2200() {
+buildUnnamed2202() {
var o = new core.List<api.TargetInstance>();
o.add(buildTargetInstance());
o.add(buildTargetInstance());
return o;
}
-checkUnnamed2200(core.List<api.TargetInstance> o) {
+checkUnnamed2202(core.List<api.TargetInstance> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetInstance(o[0]);
checkTargetInstance(o[1]);
@@ -23823,14 +23823,14 @@
buildCounterTargetInstanceListWarningData--;
}
-buildUnnamed2201() {
+buildUnnamed2203() {
var o = new core.List<api.TargetInstanceListWarningData>();
o.add(buildTargetInstanceListWarningData());
o.add(buildTargetInstanceListWarningData());
return o;
}
-checkUnnamed2201(core.List<api.TargetInstanceListWarningData> o) {
+checkUnnamed2203(core.List<api.TargetInstanceListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetInstanceListWarningData(o[0]);
checkTargetInstanceListWarningData(o[1]);
@@ -23842,7 +23842,7 @@
buildCounterTargetInstanceListWarning++;
if (buildCounterTargetInstanceListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2201();
+ o.data = buildUnnamed2203();
o.message = "foo";
}
buildCounterTargetInstanceListWarning--;
@@ -23853,7 +23853,7 @@
buildCounterTargetInstanceListWarning++;
if (buildCounterTargetInstanceListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2201(o.data);
+ checkUnnamed2203(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterTargetInstanceListWarning--;
@@ -23865,7 +23865,7 @@
buildCounterTargetInstanceList++;
if (buildCounterTargetInstanceList < 3) {
o.id = "foo";
- o.items = buildUnnamed2200();
+ o.items = buildUnnamed2202();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -23879,7 +23879,7 @@
buildCounterTargetInstanceList++;
if (buildCounterTargetInstanceList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2200(o.items);
+ checkUnnamed2202(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -23888,14 +23888,14 @@
buildCounterTargetInstanceList--;
}
-buildUnnamed2202() {
+buildUnnamed2204() {
var o = new core.List<api.TargetInstance>();
o.add(buildTargetInstance());
o.add(buildTargetInstance());
return o;
}
-checkUnnamed2202(core.List<api.TargetInstance> o) {
+checkUnnamed2204(core.List<api.TargetInstance> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetInstance(o[0]);
checkTargetInstance(o[1]);
@@ -23923,14 +23923,14 @@
buildCounterTargetInstancesScopedListWarningData--;
}
-buildUnnamed2203() {
+buildUnnamed2205() {
var o = new core.List<api.TargetInstancesScopedListWarningData>();
o.add(buildTargetInstancesScopedListWarningData());
o.add(buildTargetInstancesScopedListWarningData());
return o;
}
-checkUnnamed2203(core.List<api.TargetInstancesScopedListWarningData> o) {
+checkUnnamed2205(core.List<api.TargetInstancesScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetInstancesScopedListWarningData(o[0]);
checkTargetInstancesScopedListWarningData(o[1]);
@@ -23942,7 +23942,7 @@
buildCounterTargetInstancesScopedListWarning++;
if (buildCounterTargetInstancesScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2203();
+ o.data = buildUnnamed2205();
o.message = "foo";
}
buildCounterTargetInstancesScopedListWarning--;
@@ -23953,7 +23953,7 @@
buildCounterTargetInstancesScopedListWarning++;
if (buildCounterTargetInstancesScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2203(o.data);
+ checkUnnamed2205(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterTargetInstancesScopedListWarning--;
@@ -23964,7 +23964,7 @@
var o = new api.TargetInstancesScopedList();
buildCounterTargetInstancesScopedList++;
if (buildCounterTargetInstancesScopedList < 3) {
- o.targetInstances = buildUnnamed2202();
+ o.targetInstances = buildUnnamed2204();
o.warning = buildTargetInstancesScopedListWarning();
}
buildCounterTargetInstancesScopedList--;
@@ -23974,33 +23974,33 @@
checkTargetInstancesScopedList(api.TargetInstancesScopedList o) {
buildCounterTargetInstancesScopedList++;
if (buildCounterTargetInstancesScopedList < 3) {
- checkUnnamed2202(o.targetInstances);
+ checkUnnamed2204(o.targetInstances);
checkTargetInstancesScopedListWarning(o.warning);
}
buildCounterTargetInstancesScopedList--;
}
-buildUnnamed2204() {
+buildUnnamed2206() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2204(core.List<core.String> o) {
+checkUnnamed2206(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2205() {
+buildUnnamed2207() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2205(core.List<core.String> o) {
+checkUnnamed2207(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -24015,9 +24015,9 @@
o.creationTimestamp = "foo";
o.description = "foo";
o.failoverRatio = 42.0;
- o.healthChecks = buildUnnamed2204();
+ o.healthChecks = buildUnnamed2206();
o.id = "foo";
- o.instances = buildUnnamed2205();
+ o.instances = buildUnnamed2207();
o.kind = "foo";
o.name = "foo";
o.region = "foo";
@@ -24035,9 +24035,9 @@
unittest.expect(o.creationTimestamp, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.failoverRatio, unittest.equals(42.0));
- checkUnnamed2204(o.healthChecks);
+ checkUnnamed2206(o.healthChecks);
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2205(o.instances);
+ checkUnnamed2207(o.instances);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.region, unittest.equals('foo'));
@@ -24047,27 +24047,27 @@
buildCounterTargetPool--;
}
-buildUnnamed2206() {
+buildUnnamed2208() {
var o = new core.Map<core.String, api.TargetPoolsScopedList>();
o["x"] = buildTargetPoolsScopedList();
o["y"] = buildTargetPoolsScopedList();
return o;
}
-checkUnnamed2206(core.Map<core.String, api.TargetPoolsScopedList> o) {
+checkUnnamed2208(core.Map<core.String, api.TargetPoolsScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetPoolsScopedList(o["x"]);
checkTargetPoolsScopedList(o["y"]);
}
-buildUnnamed2207() {
+buildUnnamed2209() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2207(core.List<core.String> o) {
+checkUnnamed2209(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -24095,14 +24095,14 @@
buildCounterTargetPoolAggregatedListWarningData--;
}
-buildUnnamed2208() {
+buildUnnamed2210() {
var o = new core.List<api.TargetPoolAggregatedListWarningData>();
o.add(buildTargetPoolAggregatedListWarningData());
o.add(buildTargetPoolAggregatedListWarningData());
return o;
}
-checkUnnamed2208(core.List<api.TargetPoolAggregatedListWarningData> o) {
+checkUnnamed2210(core.List<api.TargetPoolAggregatedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetPoolAggregatedListWarningData(o[0]);
checkTargetPoolAggregatedListWarningData(o[1]);
@@ -24114,7 +24114,7 @@
buildCounterTargetPoolAggregatedListWarning++;
if (buildCounterTargetPoolAggregatedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2208();
+ o.data = buildUnnamed2210();
o.message = "foo";
}
buildCounterTargetPoolAggregatedListWarning--;
@@ -24125,7 +24125,7 @@
buildCounterTargetPoolAggregatedListWarning++;
if (buildCounterTargetPoolAggregatedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2208(o.data);
+ checkUnnamed2210(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterTargetPoolAggregatedListWarning--;
@@ -24137,11 +24137,11 @@
buildCounterTargetPoolAggregatedList++;
if (buildCounterTargetPoolAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed2206();
+ o.items = buildUnnamed2208();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
- o.unreachables = buildUnnamed2207();
+ o.unreachables = buildUnnamed2209();
o.warning = buildTargetPoolAggregatedListWarning();
}
buildCounterTargetPoolAggregatedList--;
@@ -24152,24 +24152,24 @@
buildCounterTargetPoolAggregatedList++;
if (buildCounterTargetPoolAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2206(o.items);
+ checkUnnamed2208(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
- checkUnnamed2207(o.unreachables);
+ checkUnnamed2209(o.unreachables);
checkTargetPoolAggregatedListWarning(o.warning);
}
buildCounterTargetPoolAggregatedList--;
}
-buildUnnamed2209() {
+buildUnnamed2211() {
var o = new core.List<api.HealthStatus>();
o.add(buildHealthStatus());
o.add(buildHealthStatus());
return o;
}
-checkUnnamed2209(core.List<api.HealthStatus> o) {
+checkUnnamed2211(core.List<api.HealthStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkHealthStatus(o[0]);
checkHealthStatus(o[1]);
@@ -24180,7 +24180,7 @@
var o = new api.TargetPoolInstanceHealth();
buildCounterTargetPoolInstanceHealth++;
if (buildCounterTargetPoolInstanceHealth < 3) {
- o.healthStatus = buildUnnamed2209();
+ o.healthStatus = buildUnnamed2211();
o.kind = "foo";
}
buildCounterTargetPoolInstanceHealth--;
@@ -24190,20 +24190,20 @@
checkTargetPoolInstanceHealth(api.TargetPoolInstanceHealth o) {
buildCounterTargetPoolInstanceHealth++;
if (buildCounterTargetPoolInstanceHealth < 3) {
- checkUnnamed2209(o.healthStatus);
+ checkUnnamed2211(o.healthStatus);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterTargetPoolInstanceHealth--;
}
-buildUnnamed2210() {
+buildUnnamed2212() {
var o = new core.List<api.TargetPool>();
o.add(buildTargetPool());
o.add(buildTargetPool());
return o;
}
-checkUnnamed2210(core.List<api.TargetPool> o) {
+checkUnnamed2212(core.List<api.TargetPool> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetPool(o[0]);
checkTargetPool(o[1]);
@@ -24230,14 +24230,14 @@
buildCounterTargetPoolListWarningData--;
}
-buildUnnamed2211() {
+buildUnnamed2213() {
var o = new core.List<api.TargetPoolListWarningData>();
o.add(buildTargetPoolListWarningData());
o.add(buildTargetPoolListWarningData());
return o;
}
-checkUnnamed2211(core.List<api.TargetPoolListWarningData> o) {
+checkUnnamed2213(core.List<api.TargetPoolListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetPoolListWarningData(o[0]);
checkTargetPoolListWarningData(o[1]);
@@ -24249,7 +24249,7 @@
buildCounterTargetPoolListWarning++;
if (buildCounterTargetPoolListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2211();
+ o.data = buildUnnamed2213();
o.message = "foo";
}
buildCounterTargetPoolListWarning--;
@@ -24260,7 +24260,7 @@
buildCounterTargetPoolListWarning++;
if (buildCounterTargetPoolListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2211(o.data);
+ checkUnnamed2213(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterTargetPoolListWarning--;
@@ -24272,7 +24272,7 @@
buildCounterTargetPoolList++;
if (buildCounterTargetPoolList < 3) {
o.id = "foo";
- o.items = buildUnnamed2210();
+ o.items = buildUnnamed2212();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -24286,7 +24286,7 @@
buildCounterTargetPoolList++;
if (buildCounterTargetPoolList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2210(o.items);
+ checkUnnamed2212(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -24295,70 +24295,6 @@
buildCounterTargetPoolList--;
}
-buildUnnamed2212() {
- var o = new core.List<api.HealthCheckReference>();
- o.add(buildHealthCheckReference());
- o.add(buildHealthCheckReference());
- return o;
-}
-
-checkUnnamed2212(core.List<api.HealthCheckReference> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkHealthCheckReference(o[0]);
- checkHealthCheckReference(o[1]);
-}
-
-core.int buildCounterTargetPoolsAddHealthCheckRequest = 0;
-buildTargetPoolsAddHealthCheckRequest() {
- var o = new api.TargetPoolsAddHealthCheckRequest();
- buildCounterTargetPoolsAddHealthCheckRequest++;
- if (buildCounterTargetPoolsAddHealthCheckRequest < 3) {
- o.healthChecks = buildUnnamed2212();
- }
- buildCounterTargetPoolsAddHealthCheckRequest--;
- return o;
-}
-
-checkTargetPoolsAddHealthCheckRequest(api.TargetPoolsAddHealthCheckRequest o) {
- buildCounterTargetPoolsAddHealthCheckRequest++;
- if (buildCounterTargetPoolsAddHealthCheckRequest < 3) {
- checkUnnamed2212(o.healthChecks);
- }
- buildCounterTargetPoolsAddHealthCheckRequest--;
-}
-
-buildUnnamed2213() {
- var o = new core.List<api.InstanceReference>();
- o.add(buildInstanceReference());
- o.add(buildInstanceReference());
- return o;
-}
-
-checkUnnamed2213(core.List<api.InstanceReference> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkInstanceReference(o[0]);
- checkInstanceReference(o[1]);
-}
-
-core.int buildCounterTargetPoolsAddInstanceRequest = 0;
-buildTargetPoolsAddInstanceRequest() {
- var o = new api.TargetPoolsAddInstanceRequest();
- buildCounterTargetPoolsAddInstanceRequest++;
- if (buildCounterTargetPoolsAddInstanceRequest < 3) {
- o.instances = buildUnnamed2213();
- }
- buildCounterTargetPoolsAddInstanceRequest--;
- return o;
-}
-
-checkTargetPoolsAddInstanceRequest(api.TargetPoolsAddInstanceRequest o) {
- buildCounterTargetPoolsAddInstanceRequest++;
- if (buildCounterTargetPoolsAddInstanceRequest < 3) {
- checkUnnamed2213(o.instances);
- }
- buildCounterTargetPoolsAddInstanceRequest--;
-}
-
buildUnnamed2214() {
var o = new core.List<api.HealthCheckReference>();
o.add(buildHealthCheckReference());
@@ -24372,24 +24308,23 @@
checkHealthCheckReference(o[1]);
}
-core.int buildCounterTargetPoolsRemoveHealthCheckRequest = 0;
-buildTargetPoolsRemoveHealthCheckRequest() {
- var o = new api.TargetPoolsRemoveHealthCheckRequest();
- buildCounterTargetPoolsRemoveHealthCheckRequest++;
- if (buildCounterTargetPoolsRemoveHealthCheckRequest < 3) {
+core.int buildCounterTargetPoolsAddHealthCheckRequest = 0;
+buildTargetPoolsAddHealthCheckRequest() {
+ var o = new api.TargetPoolsAddHealthCheckRequest();
+ buildCounterTargetPoolsAddHealthCheckRequest++;
+ if (buildCounterTargetPoolsAddHealthCheckRequest < 3) {
o.healthChecks = buildUnnamed2214();
}
- buildCounterTargetPoolsRemoveHealthCheckRequest--;
+ buildCounterTargetPoolsAddHealthCheckRequest--;
return o;
}
-checkTargetPoolsRemoveHealthCheckRequest(
- api.TargetPoolsRemoveHealthCheckRequest o) {
- buildCounterTargetPoolsRemoveHealthCheckRequest++;
- if (buildCounterTargetPoolsRemoveHealthCheckRequest < 3) {
+checkTargetPoolsAddHealthCheckRequest(api.TargetPoolsAddHealthCheckRequest o) {
+ buildCounterTargetPoolsAddHealthCheckRequest++;
+ if (buildCounterTargetPoolsAddHealthCheckRequest < 3) {
checkUnnamed2214(o.healthChecks);
}
- buildCounterTargetPoolsRemoveHealthCheckRequest--;
+ buildCounterTargetPoolsAddHealthCheckRequest--;
}
buildUnnamed2215() {
@@ -24405,12 +24340,77 @@
checkInstanceReference(o[1]);
}
+core.int buildCounterTargetPoolsAddInstanceRequest = 0;
+buildTargetPoolsAddInstanceRequest() {
+ var o = new api.TargetPoolsAddInstanceRequest();
+ buildCounterTargetPoolsAddInstanceRequest++;
+ if (buildCounterTargetPoolsAddInstanceRequest < 3) {
+ o.instances = buildUnnamed2215();
+ }
+ buildCounterTargetPoolsAddInstanceRequest--;
+ return o;
+}
+
+checkTargetPoolsAddInstanceRequest(api.TargetPoolsAddInstanceRequest o) {
+ buildCounterTargetPoolsAddInstanceRequest++;
+ if (buildCounterTargetPoolsAddInstanceRequest < 3) {
+ checkUnnamed2215(o.instances);
+ }
+ buildCounterTargetPoolsAddInstanceRequest--;
+}
+
+buildUnnamed2216() {
+ var o = new core.List<api.HealthCheckReference>();
+ o.add(buildHealthCheckReference());
+ o.add(buildHealthCheckReference());
+ return o;
+}
+
+checkUnnamed2216(core.List<api.HealthCheckReference> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkHealthCheckReference(o[0]);
+ checkHealthCheckReference(o[1]);
+}
+
+core.int buildCounterTargetPoolsRemoveHealthCheckRequest = 0;
+buildTargetPoolsRemoveHealthCheckRequest() {
+ var o = new api.TargetPoolsRemoveHealthCheckRequest();
+ buildCounterTargetPoolsRemoveHealthCheckRequest++;
+ if (buildCounterTargetPoolsRemoveHealthCheckRequest < 3) {
+ o.healthChecks = buildUnnamed2216();
+ }
+ buildCounterTargetPoolsRemoveHealthCheckRequest--;
+ return o;
+}
+
+checkTargetPoolsRemoveHealthCheckRequest(
+ api.TargetPoolsRemoveHealthCheckRequest o) {
+ buildCounterTargetPoolsRemoveHealthCheckRequest++;
+ if (buildCounterTargetPoolsRemoveHealthCheckRequest < 3) {
+ checkUnnamed2216(o.healthChecks);
+ }
+ buildCounterTargetPoolsRemoveHealthCheckRequest--;
+}
+
+buildUnnamed2217() {
+ var o = new core.List<api.InstanceReference>();
+ o.add(buildInstanceReference());
+ o.add(buildInstanceReference());
+ return o;
+}
+
+checkUnnamed2217(core.List<api.InstanceReference> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkInstanceReference(o[0]);
+ checkInstanceReference(o[1]);
+}
+
core.int buildCounterTargetPoolsRemoveInstanceRequest = 0;
buildTargetPoolsRemoveInstanceRequest() {
var o = new api.TargetPoolsRemoveInstanceRequest();
buildCounterTargetPoolsRemoveInstanceRequest++;
if (buildCounterTargetPoolsRemoveInstanceRequest < 3) {
- o.instances = buildUnnamed2215();
+ o.instances = buildUnnamed2217();
}
buildCounterTargetPoolsRemoveInstanceRequest--;
return o;
@@ -24419,19 +24419,19 @@
checkTargetPoolsRemoveInstanceRequest(api.TargetPoolsRemoveInstanceRequest o) {
buildCounterTargetPoolsRemoveInstanceRequest++;
if (buildCounterTargetPoolsRemoveInstanceRequest < 3) {
- checkUnnamed2215(o.instances);
+ checkUnnamed2217(o.instances);
}
buildCounterTargetPoolsRemoveInstanceRequest--;
}
-buildUnnamed2216() {
+buildUnnamed2218() {
var o = new core.List<api.TargetPool>();
o.add(buildTargetPool());
o.add(buildTargetPool());
return o;
}
-checkUnnamed2216(core.List<api.TargetPool> o) {
+checkUnnamed2218(core.List<api.TargetPool> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetPool(o[0]);
checkTargetPool(o[1]);
@@ -24458,14 +24458,14 @@
buildCounterTargetPoolsScopedListWarningData--;
}
-buildUnnamed2217() {
+buildUnnamed2219() {
var o = new core.List<api.TargetPoolsScopedListWarningData>();
o.add(buildTargetPoolsScopedListWarningData());
o.add(buildTargetPoolsScopedListWarningData());
return o;
}
-checkUnnamed2217(core.List<api.TargetPoolsScopedListWarningData> o) {
+checkUnnamed2219(core.List<api.TargetPoolsScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetPoolsScopedListWarningData(o[0]);
checkTargetPoolsScopedListWarningData(o[1]);
@@ -24477,7 +24477,7 @@
buildCounterTargetPoolsScopedListWarning++;
if (buildCounterTargetPoolsScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2217();
+ o.data = buildUnnamed2219();
o.message = "foo";
}
buildCounterTargetPoolsScopedListWarning--;
@@ -24488,7 +24488,7 @@
buildCounterTargetPoolsScopedListWarning++;
if (buildCounterTargetPoolsScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2217(o.data);
+ checkUnnamed2219(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterTargetPoolsScopedListWarning--;
@@ -24499,7 +24499,7 @@
var o = new api.TargetPoolsScopedList();
buildCounterTargetPoolsScopedList++;
if (buildCounterTargetPoolsScopedList < 3) {
- o.targetPools = buildUnnamed2216();
+ o.targetPools = buildUnnamed2218();
o.warning = buildTargetPoolsScopedListWarning();
}
buildCounterTargetPoolsScopedList--;
@@ -24509,7 +24509,7 @@
checkTargetPoolsScopedList(api.TargetPoolsScopedList o) {
buildCounterTargetPoolsScopedList++;
if (buildCounterTargetPoolsScopedList < 3) {
- checkUnnamed2216(o.targetPools);
+ checkUnnamed2218(o.targetPools);
checkTargetPoolsScopedListWarning(o.warning);
}
buildCounterTargetPoolsScopedList--;
@@ -24574,14 +24574,14 @@
buildCounterTargetSslProxiesSetProxyHeaderRequest--;
}
-buildUnnamed2218() {
+buildUnnamed2220() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2218(core.List<core.String> o) {
+checkUnnamed2220(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -24592,7 +24592,7 @@
var o = new api.TargetSslProxiesSetSslCertificatesRequest();
buildCounterTargetSslProxiesSetSslCertificatesRequest++;
if (buildCounterTargetSslProxiesSetSslCertificatesRequest < 3) {
- o.sslCertificates = buildUnnamed2218();
+ o.sslCertificates = buildUnnamed2220();
}
buildCounterTargetSslProxiesSetSslCertificatesRequest--;
return o;
@@ -24602,19 +24602,19 @@
api.TargetSslProxiesSetSslCertificatesRequest o) {
buildCounterTargetSslProxiesSetSslCertificatesRequest++;
if (buildCounterTargetSslProxiesSetSslCertificatesRequest < 3) {
- checkUnnamed2218(o.sslCertificates);
+ checkUnnamed2220(o.sslCertificates);
}
buildCounterTargetSslProxiesSetSslCertificatesRequest--;
}
-buildUnnamed2219() {
+buildUnnamed2221() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2219(core.List<core.String> o) {
+checkUnnamed2221(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -24633,7 +24633,7 @@
o.proxyHeader = "foo";
o.selfLink = "foo";
o.service = "foo";
- o.sslCertificates = buildUnnamed2219();
+ o.sslCertificates = buildUnnamed2221();
o.sslPolicy = "foo";
}
buildCounterTargetSslProxy--;
@@ -24651,20 +24651,20 @@
unittest.expect(o.proxyHeader, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.service, unittest.equals('foo'));
- checkUnnamed2219(o.sslCertificates);
+ checkUnnamed2221(o.sslCertificates);
unittest.expect(o.sslPolicy, unittest.equals('foo'));
}
buildCounterTargetSslProxy--;
}
-buildUnnamed2220() {
+buildUnnamed2222() {
var o = new core.List<api.TargetSslProxy>();
o.add(buildTargetSslProxy());
o.add(buildTargetSslProxy());
return o;
}
-checkUnnamed2220(core.List<api.TargetSslProxy> o) {
+checkUnnamed2222(core.List<api.TargetSslProxy> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetSslProxy(o[0]);
checkTargetSslProxy(o[1]);
@@ -24691,14 +24691,14 @@
buildCounterTargetSslProxyListWarningData--;
}
-buildUnnamed2221() {
+buildUnnamed2223() {
var o = new core.List<api.TargetSslProxyListWarningData>();
o.add(buildTargetSslProxyListWarningData());
o.add(buildTargetSslProxyListWarningData());
return o;
}
-checkUnnamed2221(core.List<api.TargetSslProxyListWarningData> o) {
+checkUnnamed2223(core.List<api.TargetSslProxyListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetSslProxyListWarningData(o[0]);
checkTargetSslProxyListWarningData(o[1]);
@@ -24710,7 +24710,7 @@
buildCounterTargetSslProxyListWarning++;
if (buildCounterTargetSslProxyListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2221();
+ o.data = buildUnnamed2223();
o.message = "foo";
}
buildCounterTargetSslProxyListWarning--;
@@ -24721,7 +24721,7 @@
buildCounterTargetSslProxyListWarning++;
if (buildCounterTargetSslProxyListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2221(o.data);
+ checkUnnamed2223(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterTargetSslProxyListWarning--;
@@ -24733,7 +24733,7 @@
buildCounterTargetSslProxyList++;
if (buildCounterTargetSslProxyList < 3) {
o.id = "foo";
- o.items = buildUnnamed2220();
+ o.items = buildUnnamed2222();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -24747,7 +24747,7 @@
buildCounterTargetSslProxyList++;
if (buildCounterTargetSslProxyList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2220(o.items);
+ checkUnnamed2222(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -24829,14 +24829,14 @@
buildCounterTargetTcpProxy--;
}
-buildUnnamed2222() {
+buildUnnamed2224() {
var o = new core.List<api.TargetTcpProxy>();
o.add(buildTargetTcpProxy());
o.add(buildTargetTcpProxy());
return o;
}
-checkUnnamed2222(core.List<api.TargetTcpProxy> o) {
+checkUnnamed2224(core.List<api.TargetTcpProxy> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetTcpProxy(o[0]);
checkTargetTcpProxy(o[1]);
@@ -24863,14 +24863,14 @@
buildCounterTargetTcpProxyListWarningData--;
}
-buildUnnamed2223() {
+buildUnnamed2225() {
var o = new core.List<api.TargetTcpProxyListWarningData>();
o.add(buildTargetTcpProxyListWarningData());
o.add(buildTargetTcpProxyListWarningData());
return o;
}
-checkUnnamed2223(core.List<api.TargetTcpProxyListWarningData> o) {
+checkUnnamed2225(core.List<api.TargetTcpProxyListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetTcpProxyListWarningData(o[0]);
checkTargetTcpProxyListWarningData(o[1]);
@@ -24882,7 +24882,7 @@
buildCounterTargetTcpProxyListWarning++;
if (buildCounterTargetTcpProxyListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2223();
+ o.data = buildUnnamed2225();
o.message = "foo";
}
buildCounterTargetTcpProxyListWarning--;
@@ -24893,7 +24893,7 @@
buildCounterTargetTcpProxyListWarning++;
if (buildCounterTargetTcpProxyListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2223(o.data);
+ checkUnnamed2225(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterTargetTcpProxyListWarning--;
@@ -24905,7 +24905,7 @@
buildCounterTargetTcpProxyList++;
if (buildCounterTargetTcpProxyList < 3) {
o.id = "foo";
- o.items = buildUnnamed2222();
+ o.items = buildUnnamed2224();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -24919,7 +24919,7 @@
buildCounterTargetTcpProxyList++;
if (buildCounterTargetTcpProxyList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2222(o.items);
+ checkUnnamed2224(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -24928,27 +24928,27 @@
buildCounterTargetTcpProxyList--;
}
-buildUnnamed2224() {
+buildUnnamed2226() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2224(core.List<core.String> o) {
+checkUnnamed2226(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2225() {
+buildUnnamed2227() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2225(core.List<core.String> o) {
+checkUnnamed2227(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -24961,7 +24961,7 @@
if (buildCounterTargetVpnGateway < 3) {
o.creationTimestamp = "foo";
o.description = "foo";
- o.forwardingRules = buildUnnamed2224();
+ o.forwardingRules = buildUnnamed2226();
o.id = "foo";
o.kind = "foo";
o.name = "foo";
@@ -24969,7 +24969,7 @@
o.region = "foo";
o.selfLink = "foo";
o.status = "foo";
- o.tunnels = buildUnnamed2225();
+ o.tunnels = buildUnnamed2227();
}
buildCounterTargetVpnGateway--;
return o;
@@ -24980,7 +24980,7 @@
if (buildCounterTargetVpnGateway < 3) {
unittest.expect(o.creationTimestamp, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed2224(o.forwardingRules);
+ checkUnnamed2226(o.forwardingRules);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
@@ -24988,32 +24988,32 @@
unittest.expect(o.region, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals('foo'));
- checkUnnamed2225(o.tunnels);
+ checkUnnamed2227(o.tunnels);
}
buildCounterTargetVpnGateway--;
}
-buildUnnamed2226() {
+buildUnnamed2228() {
var o = new core.Map<core.String, api.TargetVpnGatewaysScopedList>();
o["x"] = buildTargetVpnGatewaysScopedList();
o["y"] = buildTargetVpnGatewaysScopedList();
return o;
}
-checkUnnamed2226(core.Map<core.String, api.TargetVpnGatewaysScopedList> o) {
+checkUnnamed2228(core.Map<core.String, api.TargetVpnGatewaysScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetVpnGatewaysScopedList(o["x"]);
checkTargetVpnGatewaysScopedList(o["y"]);
}
-buildUnnamed2227() {
+buildUnnamed2229() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2227(core.List<core.String> o) {
+checkUnnamed2229(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -25041,14 +25041,14 @@
buildCounterTargetVpnGatewayAggregatedListWarningData--;
}
-buildUnnamed2228() {
+buildUnnamed2230() {
var o = new core.List<api.TargetVpnGatewayAggregatedListWarningData>();
o.add(buildTargetVpnGatewayAggregatedListWarningData());
o.add(buildTargetVpnGatewayAggregatedListWarningData());
return o;
}
-checkUnnamed2228(core.List<api.TargetVpnGatewayAggregatedListWarningData> o) {
+checkUnnamed2230(core.List<api.TargetVpnGatewayAggregatedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetVpnGatewayAggregatedListWarningData(o[0]);
checkTargetVpnGatewayAggregatedListWarningData(o[1]);
@@ -25060,7 +25060,7 @@
buildCounterTargetVpnGatewayAggregatedListWarning++;
if (buildCounterTargetVpnGatewayAggregatedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2228();
+ o.data = buildUnnamed2230();
o.message = "foo";
}
buildCounterTargetVpnGatewayAggregatedListWarning--;
@@ -25072,7 +25072,7 @@
buildCounterTargetVpnGatewayAggregatedListWarning++;
if (buildCounterTargetVpnGatewayAggregatedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2228(o.data);
+ checkUnnamed2230(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterTargetVpnGatewayAggregatedListWarning--;
@@ -25084,11 +25084,11 @@
buildCounterTargetVpnGatewayAggregatedList++;
if (buildCounterTargetVpnGatewayAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed2226();
+ o.items = buildUnnamed2228();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
- o.unreachables = buildUnnamed2227();
+ o.unreachables = buildUnnamed2229();
o.warning = buildTargetVpnGatewayAggregatedListWarning();
}
buildCounterTargetVpnGatewayAggregatedList--;
@@ -25099,24 +25099,24 @@
buildCounterTargetVpnGatewayAggregatedList++;
if (buildCounterTargetVpnGatewayAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2226(o.items);
+ checkUnnamed2228(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
- checkUnnamed2227(o.unreachables);
+ checkUnnamed2229(o.unreachables);
checkTargetVpnGatewayAggregatedListWarning(o.warning);
}
buildCounterTargetVpnGatewayAggregatedList--;
}
-buildUnnamed2229() {
+buildUnnamed2231() {
var o = new core.List<api.TargetVpnGateway>();
o.add(buildTargetVpnGateway());
o.add(buildTargetVpnGateway());
return o;
}
-checkUnnamed2229(core.List<api.TargetVpnGateway> o) {
+checkUnnamed2231(core.List<api.TargetVpnGateway> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetVpnGateway(o[0]);
checkTargetVpnGateway(o[1]);
@@ -25143,14 +25143,14 @@
buildCounterTargetVpnGatewayListWarningData--;
}
-buildUnnamed2230() {
+buildUnnamed2232() {
var o = new core.List<api.TargetVpnGatewayListWarningData>();
o.add(buildTargetVpnGatewayListWarningData());
o.add(buildTargetVpnGatewayListWarningData());
return o;
}
-checkUnnamed2230(core.List<api.TargetVpnGatewayListWarningData> o) {
+checkUnnamed2232(core.List<api.TargetVpnGatewayListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetVpnGatewayListWarningData(o[0]);
checkTargetVpnGatewayListWarningData(o[1]);
@@ -25162,7 +25162,7 @@
buildCounterTargetVpnGatewayListWarning++;
if (buildCounterTargetVpnGatewayListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2230();
+ o.data = buildUnnamed2232();
o.message = "foo";
}
buildCounterTargetVpnGatewayListWarning--;
@@ -25173,7 +25173,7 @@
buildCounterTargetVpnGatewayListWarning++;
if (buildCounterTargetVpnGatewayListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2230(o.data);
+ checkUnnamed2232(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterTargetVpnGatewayListWarning--;
@@ -25185,7 +25185,7 @@
buildCounterTargetVpnGatewayList++;
if (buildCounterTargetVpnGatewayList < 3) {
o.id = "foo";
- o.items = buildUnnamed2229();
+ o.items = buildUnnamed2231();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -25199,7 +25199,7 @@
buildCounterTargetVpnGatewayList++;
if (buildCounterTargetVpnGatewayList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2229(o.items);
+ checkUnnamed2231(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -25208,14 +25208,14 @@
buildCounterTargetVpnGatewayList--;
}
-buildUnnamed2231() {
+buildUnnamed2233() {
var o = new core.List<api.TargetVpnGateway>();
o.add(buildTargetVpnGateway());
o.add(buildTargetVpnGateway());
return o;
}
-checkUnnamed2231(core.List<api.TargetVpnGateway> o) {
+checkUnnamed2233(core.List<api.TargetVpnGateway> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetVpnGateway(o[0]);
checkTargetVpnGateway(o[1]);
@@ -25243,14 +25243,14 @@
buildCounterTargetVpnGatewaysScopedListWarningData--;
}
-buildUnnamed2232() {
+buildUnnamed2234() {
var o = new core.List<api.TargetVpnGatewaysScopedListWarningData>();
o.add(buildTargetVpnGatewaysScopedListWarningData());
o.add(buildTargetVpnGatewaysScopedListWarningData());
return o;
}
-checkUnnamed2232(core.List<api.TargetVpnGatewaysScopedListWarningData> o) {
+checkUnnamed2234(core.List<api.TargetVpnGatewaysScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetVpnGatewaysScopedListWarningData(o[0]);
checkTargetVpnGatewaysScopedListWarningData(o[1]);
@@ -25262,7 +25262,7 @@
buildCounterTargetVpnGatewaysScopedListWarning++;
if (buildCounterTargetVpnGatewaysScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2232();
+ o.data = buildUnnamed2234();
o.message = "foo";
}
buildCounterTargetVpnGatewaysScopedListWarning--;
@@ -25274,7 +25274,7 @@
buildCounterTargetVpnGatewaysScopedListWarning++;
if (buildCounterTargetVpnGatewaysScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2232(o.data);
+ checkUnnamed2234(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterTargetVpnGatewaysScopedListWarning--;
@@ -25285,7 +25285,7 @@
var o = new api.TargetVpnGatewaysScopedList();
buildCounterTargetVpnGatewaysScopedList++;
if (buildCounterTargetVpnGatewaysScopedList < 3) {
- o.targetVpnGateways = buildUnnamed2231();
+ o.targetVpnGateways = buildUnnamed2233();
o.warning = buildTargetVpnGatewaysScopedListWarning();
}
buildCounterTargetVpnGatewaysScopedList--;
@@ -25295,7 +25295,7 @@
checkTargetVpnGatewaysScopedList(api.TargetVpnGatewaysScopedList o) {
buildCounterTargetVpnGatewaysScopedList++;
if (buildCounterTargetVpnGatewaysScopedList < 3) {
- checkUnnamed2231(o.targetVpnGateways);
+ checkUnnamed2233(o.targetVpnGateways);
checkTargetVpnGatewaysScopedListWarning(o.warning);
}
buildCounterTargetVpnGatewaysScopedList--;
@@ -25326,14 +25326,14 @@
buildCounterTestFailure--;
}
-buildUnnamed2233() {
+buildUnnamed2235() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2233(core.List<core.String> o) {
+checkUnnamed2235(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -25344,7 +25344,7 @@
var o = new api.TestPermissionsRequest();
buildCounterTestPermissionsRequest++;
if (buildCounterTestPermissionsRequest < 3) {
- o.permissions = buildUnnamed2233();
+ o.permissions = buildUnnamed2235();
}
buildCounterTestPermissionsRequest--;
return o;
@@ -25353,19 +25353,19 @@
checkTestPermissionsRequest(api.TestPermissionsRequest o) {
buildCounterTestPermissionsRequest++;
if (buildCounterTestPermissionsRequest < 3) {
- checkUnnamed2233(o.permissions);
+ checkUnnamed2235(o.permissions);
}
buildCounterTestPermissionsRequest--;
}
-buildUnnamed2234() {
+buildUnnamed2236() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2234(core.List<core.String> o) {
+checkUnnamed2236(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -25376,7 +25376,7 @@
var o = new api.TestPermissionsResponse();
buildCounterTestPermissionsResponse++;
if (buildCounterTestPermissionsResponse < 3) {
- o.permissions = buildUnnamed2234();
+ o.permissions = buildUnnamed2236();
}
buildCounterTestPermissionsResponse--;
return o;
@@ -25385,45 +25385,45 @@
checkTestPermissionsResponse(api.TestPermissionsResponse o) {
buildCounterTestPermissionsResponse++;
if (buildCounterTestPermissionsResponse < 3) {
- checkUnnamed2234(o.permissions);
+ checkUnnamed2236(o.permissions);
}
buildCounterTestPermissionsResponse--;
}
-buildUnnamed2235() {
+buildUnnamed2237() {
var o = new core.List<api.HostRule>();
o.add(buildHostRule());
o.add(buildHostRule());
return o;
}
-checkUnnamed2235(core.List<api.HostRule> o) {
+checkUnnamed2237(core.List<api.HostRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkHostRule(o[0]);
checkHostRule(o[1]);
}
-buildUnnamed2236() {
+buildUnnamed2238() {
var o = new core.List<api.PathMatcher>();
o.add(buildPathMatcher());
o.add(buildPathMatcher());
return o;
}
-checkUnnamed2236(core.List<api.PathMatcher> o) {
+checkUnnamed2238(core.List<api.PathMatcher> o) {
unittest.expect(o, unittest.hasLength(2));
checkPathMatcher(o[0]);
checkPathMatcher(o[1]);
}
-buildUnnamed2237() {
+buildUnnamed2239() {
var o = new core.List<api.UrlMapTest>();
o.add(buildUrlMapTest());
o.add(buildUrlMapTest());
return o;
}
-checkUnnamed2237(core.List<api.UrlMapTest> o) {
+checkUnnamed2239(core.List<api.UrlMapTest> o) {
unittest.expect(o, unittest.hasLength(2));
checkUrlMapTest(o[0]);
checkUrlMapTest(o[1]);
@@ -25441,14 +25441,14 @@
o.description = "foo";
o.fingerprint = "foo";
o.headerAction = buildHttpHeaderAction();
- o.hostRules = buildUnnamed2235();
+ o.hostRules = buildUnnamed2237();
o.id = "foo";
o.kind = "foo";
o.name = "foo";
- o.pathMatchers = buildUnnamed2236();
+ o.pathMatchers = buildUnnamed2238();
o.region = "foo";
o.selfLink = "foo";
- o.tests = buildUnnamed2237();
+ o.tests = buildUnnamed2239();
}
buildCounterUrlMap--;
return o;
@@ -25464,26 +25464,26 @@
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.fingerprint, unittest.equals('foo'));
checkHttpHeaderAction(o.headerAction);
- checkUnnamed2235(o.hostRules);
+ checkUnnamed2237(o.hostRules);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2236(o.pathMatchers);
+ checkUnnamed2238(o.pathMatchers);
unittest.expect(o.region, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
- checkUnnamed2237(o.tests);
+ checkUnnamed2239(o.tests);
}
buildCounterUrlMap--;
}
-buildUnnamed2238() {
+buildUnnamed2240() {
var o = new core.List<api.UrlMap>();
o.add(buildUrlMap());
o.add(buildUrlMap());
return o;
}
-checkUnnamed2238(core.List<api.UrlMap> o) {
+checkUnnamed2240(core.List<api.UrlMap> o) {
unittest.expect(o, unittest.hasLength(2));
checkUrlMap(o[0]);
checkUrlMap(o[1]);
@@ -25510,14 +25510,14 @@
buildCounterUrlMapListWarningData--;
}
-buildUnnamed2239() {
+buildUnnamed2241() {
var o = new core.List<api.UrlMapListWarningData>();
o.add(buildUrlMapListWarningData());
o.add(buildUrlMapListWarningData());
return o;
}
-checkUnnamed2239(core.List<api.UrlMapListWarningData> o) {
+checkUnnamed2241(core.List<api.UrlMapListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkUrlMapListWarningData(o[0]);
checkUrlMapListWarningData(o[1]);
@@ -25529,7 +25529,7 @@
buildCounterUrlMapListWarning++;
if (buildCounterUrlMapListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2239();
+ o.data = buildUnnamed2241();
o.message = "foo";
}
buildCounterUrlMapListWarning--;
@@ -25540,7 +25540,7 @@
buildCounterUrlMapListWarning++;
if (buildCounterUrlMapListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2239(o.data);
+ checkUnnamed2241(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterUrlMapListWarning--;
@@ -25552,7 +25552,7 @@
buildCounterUrlMapList++;
if (buildCounterUrlMapList < 3) {
o.id = "foo";
- o.items = buildUnnamed2238();
+ o.items = buildUnnamed2240();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -25566,7 +25566,7 @@
buildCounterUrlMapList++;
if (buildCounterUrlMapList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2238(o.items);
+ checkUnnamed2240(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -25619,27 +25619,27 @@
buildCounterUrlMapTest--;
}
-buildUnnamed2240() {
+buildUnnamed2242() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2240(core.List<core.String> o) {
+checkUnnamed2242(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2241() {
+buildUnnamed2243() {
var o = new core.List<api.TestFailure>();
o.add(buildTestFailure());
o.add(buildTestFailure());
return o;
}
-checkUnnamed2241(core.List<api.TestFailure> o) {
+checkUnnamed2243(core.List<api.TestFailure> o) {
unittest.expect(o, unittest.hasLength(2));
checkTestFailure(o[0]);
checkTestFailure(o[1]);
@@ -25650,9 +25650,9 @@
var o = new api.UrlMapValidationResult();
buildCounterUrlMapValidationResult++;
if (buildCounterUrlMapValidationResult < 3) {
- o.loadErrors = buildUnnamed2240();
+ o.loadErrors = buildUnnamed2242();
o.loadSucceeded = true;
- o.testFailures = buildUnnamed2241();
+ o.testFailures = buildUnnamed2243();
o.testPassed = true;
}
buildCounterUrlMapValidationResult--;
@@ -25662,35 +25662,35 @@
checkUrlMapValidationResult(api.UrlMapValidationResult o) {
buildCounterUrlMapValidationResult++;
if (buildCounterUrlMapValidationResult < 3) {
- checkUnnamed2240(o.loadErrors);
+ checkUnnamed2242(o.loadErrors);
unittest.expect(o.loadSucceeded, unittest.isTrue);
- checkUnnamed2241(o.testFailures);
+ checkUnnamed2243(o.testFailures);
unittest.expect(o.testPassed, unittest.isTrue);
}
buildCounterUrlMapValidationResult--;
}
-buildUnnamed2242() {
+buildUnnamed2244() {
var o = new core.Map<core.String, api.UrlMapsScopedList>();
o["x"] = buildUrlMapsScopedList();
o["y"] = buildUrlMapsScopedList();
return o;
}
-checkUnnamed2242(core.Map<core.String, api.UrlMapsScopedList> o) {
+checkUnnamed2244(core.Map<core.String, api.UrlMapsScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkUrlMapsScopedList(o["x"]);
checkUrlMapsScopedList(o["y"]);
}
-buildUnnamed2243() {
+buildUnnamed2245() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2243(core.List<core.String> o) {
+checkUnnamed2245(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -25717,14 +25717,14 @@
buildCounterUrlMapsAggregatedListWarningData--;
}
-buildUnnamed2244() {
+buildUnnamed2246() {
var o = new core.List<api.UrlMapsAggregatedListWarningData>();
o.add(buildUrlMapsAggregatedListWarningData());
o.add(buildUrlMapsAggregatedListWarningData());
return o;
}
-checkUnnamed2244(core.List<api.UrlMapsAggregatedListWarningData> o) {
+checkUnnamed2246(core.List<api.UrlMapsAggregatedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkUrlMapsAggregatedListWarningData(o[0]);
checkUrlMapsAggregatedListWarningData(o[1]);
@@ -25736,7 +25736,7 @@
buildCounterUrlMapsAggregatedListWarning++;
if (buildCounterUrlMapsAggregatedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2244();
+ o.data = buildUnnamed2246();
o.message = "foo";
}
buildCounterUrlMapsAggregatedListWarning--;
@@ -25747,7 +25747,7 @@
buildCounterUrlMapsAggregatedListWarning++;
if (buildCounterUrlMapsAggregatedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2244(o.data);
+ checkUnnamed2246(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterUrlMapsAggregatedListWarning--;
@@ -25759,11 +25759,11 @@
buildCounterUrlMapsAggregatedList++;
if (buildCounterUrlMapsAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed2242();
+ o.items = buildUnnamed2244();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
- o.unreachables = buildUnnamed2243();
+ o.unreachables = buildUnnamed2245();
o.warning = buildUrlMapsAggregatedListWarning();
}
buildCounterUrlMapsAggregatedList--;
@@ -25774,24 +25774,24 @@
buildCounterUrlMapsAggregatedList++;
if (buildCounterUrlMapsAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2242(o.items);
+ checkUnnamed2244(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
- checkUnnamed2243(o.unreachables);
+ checkUnnamed2245(o.unreachables);
checkUrlMapsAggregatedListWarning(o.warning);
}
buildCounterUrlMapsAggregatedList--;
}
-buildUnnamed2245() {
+buildUnnamed2247() {
var o = new core.List<api.UrlMap>();
o.add(buildUrlMap());
o.add(buildUrlMap());
return o;
}
-checkUnnamed2245(core.List<api.UrlMap> o) {
+checkUnnamed2247(core.List<api.UrlMap> o) {
unittest.expect(o, unittest.hasLength(2));
checkUrlMap(o[0]);
checkUrlMap(o[1]);
@@ -25818,14 +25818,14 @@
buildCounterUrlMapsScopedListWarningData--;
}
-buildUnnamed2246() {
+buildUnnamed2248() {
var o = new core.List<api.UrlMapsScopedListWarningData>();
o.add(buildUrlMapsScopedListWarningData());
o.add(buildUrlMapsScopedListWarningData());
return o;
}
-checkUnnamed2246(core.List<api.UrlMapsScopedListWarningData> o) {
+checkUnnamed2248(core.List<api.UrlMapsScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkUrlMapsScopedListWarningData(o[0]);
checkUrlMapsScopedListWarningData(o[1]);
@@ -25837,7 +25837,7 @@
buildCounterUrlMapsScopedListWarning++;
if (buildCounterUrlMapsScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2246();
+ o.data = buildUnnamed2248();
o.message = "foo";
}
buildCounterUrlMapsScopedListWarning--;
@@ -25848,7 +25848,7 @@
buildCounterUrlMapsScopedListWarning++;
if (buildCounterUrlMapsScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2246(o.data);
+ checkUnnamed2248(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterUrlMapsScopedListWarning--;
@@ -25859,7 +25859,7 @@
var o = new api.UrlMapsScopedList();
buildCounterUrlMapsScopedList++;
if (buildCounterUrlMapsScopedList < 3) {
- o.urlMaps = buildUnnamed2245();
+ o.urlMaps = buildUnnamed2247();
o.warning = buildUrlMapsScopedListWarning();
}
buildCounterUrlMapsScopedList--;
@@ -25869,7 +25869,7 @@
checkUrlMapsScopedList(api.UrlMapsScopedList o) {
buildCounterUrlMapsScopedList++;
if (buildCounterUrlMapsScopedList < 3) {
- checkUnnamed2245(o.urlMaps);
+ checkUnnamed2247(o.urlMaps);
checkUrlMapsScopedListWarning(o.warning);
}
buildCounterUrlMapsScopedList--;
@@ -25934,14 +25934,14 @@
buildCounterUrlRewrite--;
}
-buildUnnamed2247() {
+buildUnnamed2249() {
var o = new core.List<api.UsableSubnetworkSecondaryRange>();
o.add(buildUsableSubnetworkSecondaryRange());
o.add(buildUsableSubnetworkSecondaryRange());
return o;
}
-checkUnnamed2247(core.List<api.UsableSubnetworkSecondaryRange> o) {
+checkUnnamed2249(core.List<api.UsableSubnetworkSecondaryRange> o) {
unittest.expect(o, unittest.hasLength(2));
checkUsableSubnetworkSecondaryRange(o[0]);
checkUsableSubnetworkSecondaryRange(o[1]);
@@ -25954,7 +25954,7 @@
if (buildCounterUsableSubnetwork < 3) {
o.ipCidrRange = "foo";
o.network = "foo";
- o.secondaryIpRanges = buildUnnamed2247();
+ o.secondaryIpRanges = buildUnnamed2249();
o.subnetwork = "foo";
}
buildCounterUsableSubnetwork--;
@@ -25966,7 +25966,7 @@
if (buildCounterUsableSubnetwork < 3) {
unittest.expect(o.ipCidrRange, unittest.equals('foo'));
unittest.expect(o.network, unittest.equals('foo'));
- checkUnnamed2247(o.secondaryIpRanges);
+ checkUnnamed2249(o.secondaryIpRanges);
unittest.expect(o.subnetwork, unittest.equals('foo'));
}
buildCounterUsableSubnetwork--;
@@ -25993,14 +25993,14 @@
buildCounterUsableSubnetworkSecondaryRange--;
}
-buildUnnamed2248() {
+buildUnnamed2250() {
var o = new core.List<api.UsableSubnetwork>();
o.add(buildUsableSubnetwork());
o.add(buildUsableSubnetwork());
return o;
}
-checkUnnamed2248(core.List<api.UsableSubnetwork> o) {
+checkUnnamed2250(core.List<api.UsableSubnetwork> o) {
unittest.expect(o, unittest.hasLength(2));
checkUsableSubnetwork(o[0]);
checkUsableSubnetwork(o[1]);
@@ -26028,14 +26028,14 @@
buildCounterUsableSubnetworksAggregatedListWarningData--;
}
-buildUnnamed2249() {
+buildUnnamed2251() {
var o = new core.List<api.UsableSubnetworksAggregatedListWarningData>();
o.add(buildUsableSubnetworksAggregatedListWarningData());
o.add(buildUsableSubnetworksAggregatedListWarningData());
return o;
}
-checkUnnamed2249(core.List<api.UsableSubnetworksAggregatedListWarningData> o) {
+checkUnnamed2251(core.List<api.UsableSubnetworksAggregatedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkUsableSubnetworksAggregatedListWarningData(o[0]);
checkUsableSubnetworksAggregatedListWarningData(o[1]);
@@ -26047,7 +26047,7 @@
buildCounterUsableSubnetworksAggregatedListWarning++;
if (buildCounterUsableSubnetworksAggregatedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2249();
+ o.data = buildUnnamed2251();
o.message = "foo";
}
buildCounterUsableSubnetworksAggregatedListWarning--;
@@ -26059,7 +26059,7 @@
buildCounterUsableSubnetworksAggregatedListWarning++;
if (buildCounterUsableSubnetworksAggregatedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2249(o.data);
+ checkUnnamed2251(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterUsableSubnetworksAggregatedListWarning--;
@@ -26071,7 +26071,7 @@
buildCounterUsableSubnetworksAggregatedList++;
if (buildCounterUsableSubnetworksAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed2248();
+ o.items = buildUnnamed2250();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -26085,7 +26085,7 @@
buildCounterUsableSubnetworksAggregatedList++;
if (buildCounterUsableSubnetworksAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2248(o.items);
+ checkUnnamed2250(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -26115,14 +26115,14 @@
buildCounterUsageExportLocation--;
}
-buildUnnamed2250() {
+buildUnnamed2252() {
var o = new core.List<api.VmEndpointNatMappingsInterfaceNatMappings>();
o.add(buildVmEndpointNatMappingsInterfaceNatMappings());
o.add(buildVmEndpointNatMappingsInterfaceNatMappings());
return o;
}
-checkUnnamed2250(core.List<api.VmEndpointNatMappingsInterfaceNatMappings> o) {
+checkUnnamed2252(core.List<api.VmEndpointNatMappingsInterfaceNatMappings> o) {
unittest.expect(o, unittest.hasLength(2));
checkVmEndpointNatMappingsInterfaceNatMappings(o[0]);
checkVmEndpointNatMappingsInterfaceNatMappings(o[1]);
@@ -26134,7 +26134,7 @@
buildCounterVmEndpointNatMappings++;
if (buildCounterVmEndpointNatMappings < 3) {
o.instanceName = "foo";
- o.interfaceNatMappings = buildUnnamed2250();
+ o.interfaceNatMappings = buildUnnamed2252();
}
buildCounterVmEndpointNatMappings--;
return o;
@@ -26144,32 +26144,32 @@
buildCounterVmEndpointNatMappings++;
if (buildCounterVmEndpointNatMappings < 3) {
unittest.expect(o.instanceName, unittest.equals('foo'));
- checkUnnamed2250(o.interfaceNatMappings);
+ checkUnnamed2252(o.interfaceNatMappings);
}
buildCounterVmEndpointNatMappings--;
}
-buildUnnamed2251() {
+buildUnnamed2253() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2251(core.List<core.String> o) {
+checkUnnamed2253(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2252() {
+buildUnnamed2254() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2252(core.List<core.String> o) {
+checkUnnamed2254(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -26180,8 +26180,8 @@
var o = new api.VmEndpointNatMappingsInterfaceNatMappings();
buildCounterVmEndpointNatMappingsInterfaceNatMappings++;
if (buildCounterVmEndpointNatMappingsInterfaceNatMappings < 3) {
- o.drainNatIpPortRanges = buildUnnamed2251();
- o.natIpPortRanges = buildUnnamed2252();
+ o.drainNatIpPortRanges = buildUnnamed2253();
+ o.natIpPortRanges = buildUnnamed2254();
o.numTotalDrainNatPorts = 42;
o.numTotalNatPorts = 42;
o.sourceAliasIpRange = "foo";
@@ -26195,8 +26195,8 @@
api.VmEndpointNatMappingsInterfaceNatMappings o) {
buildCounterVmEndpointNatMappingsInterfaceNatMappings++;
if (buildCounterVmEndpointNatMappingsInterfaceNatMappings < 3) {
- checkUnnamed2251(o.drainNatIpPortRanges);
- checkUnnamed2252(o.natIpPortRanges);
+ checkUnnamed2253(o.drainNatIpPortRanges);
+ checkUnnamed2254(o.natIpPortRanges);
unittest.expect(o.numTotalDrainNatPorts, unittest.equals(42));
unittest.expect(o.numTotalNatPorts, unittest.equals(42));
unittest.expect(o.sourceAliasIpRange, unittest.equals('foo'));
@@ -26205,14 +26205,14 @@
buildCounterVmEndpointNatMappingsInterfaceNatMappings--;
}
-buildUnnamed2253() {
+buildUnnamed2255() {
var o = new core.List<api.VmEndpointNatMappings>();
o.add(buildVmEndpointNatMappings());
o.add(buildVmEndpointNatMappings());
return o;
}
-checkUnnamed2253(core.List<api.VmEndpointNatMappings> o) {
+checkUnnamed2255(core.List<api.VmEndpointNatMappings> o) {
unittest.expect(o, unittest.hasLength(2));
checkVmEndpointNatMappings(o[0]);
checkVmEndpointNatMappings(o[1]);
@@ -26240,14 +26240,14 @@
buildCounterVmEndpointNatMappingsListWarningData--;
}
-buildUnnamed2254() {
+buildUnnamed2256() {
var o = new core.List<api.VmEndpointNatMappingsListWarningData>();
o.add(buildVmEndpointNatMappingsListWarningData());
o.add(buildVmEndpointNatMappingsListWarningData());
return o;
}
-checkUnnamed2254(core.List<api.VmEndpointNatMappingsListWarningData> o) {
+checkUnnamed2256(core.List<api.VmEndpointNatMappingsListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkVmEndpointNatMappingsListWarningData(o[0]);
checkVmEndpointNatMappingsListWarningData(o[1]);
@@ -26259,7 +26259,7 @@
buildCounterVmEndpointNatMappingsListWarning++;
if (buildCounterVmEndpointNatMappingsListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2254();
+ o.data = buildUnnamed2256();
o.message = "foo";
}
buildCounterVmEndpointNatMappingsListWarning--;
@@ -26270,7 +26270,7 @@
buildCounterVmEndpointNatMappingsListWarning++;
if (buildCounterVmEndpointNatMappingsListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2254(o.data);
+ checkUnnamed2256(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterVmEndpointNatMappingsListWarning--;
@@ -26284,7 +26284,7 @@
o.id = "foo";
o.kind = "foo";
o.nextPageToken = "foo";
- o.result = buildUnnamed2253();
+ o.result = buildUnnamed2255();
o.selfLink = "foo";
o.warning = buildVmEndpointNatMappingsListWarning();
}
@@ -26298,34 +26298,34 @@
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2253(o.result);
+ checkUnnamed2255(o.result);
unittest.expect(o.selfLink, unittest.equals('foo'));
checkVmEndpointNatMappingsListWarning(o.warning);
}
buildCounterVmEndpointNatMappingsList--;
}
-buildUnnamed2255() {
+buildUnnamed2257() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2255(core.Map<core.String, core.String> o) {
+checkUnnamed2257(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed2256() {
+buildUnnamed2258() {
var o = new core.List<api.VpnGatewayVpnGatewayInterface>();
o.add(buildVpnGatewayVpnGatewayInterface());
o.add(buildVpnGatewayVpnGatewayInterface());
return o;
}
-checkUnnamed2256(core.List<api.VpnGatewayVpnGatewayInterface> o) {
+checkUnnamed2258(core.List<api.VpnGatewayVpnGatewayInterface> o) {
unittest.expect(o, unittest.hasLength(2));
checkVpnGatewayVpnGatewayInterface(o[0]);
checkVpnGatewayVpnGatewayInterface(o[1]);
@@ -26341,12 +26341,12 @@
o.id = "foo";
o.kind = "foo";
o.labelFingerprint = "foo";
- o.labels = buildUnnamed2255();
+ o.labels = buildUnnamed2257();
o.name = "foo";
o.network = "foo";
o.region = "foo";
o.selfLink = "foo";
- o.vpnInterfaces = buildUnnamed2256();
+ o.vpnInterfaces = buildUnnamed2258();
}
buildCounterVpnGateway--;
return o;
@@ -26360,37 +26360,37 @@
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.labelFingerprint, unittest.equals('foo'));
- checkUnnamed2255(o.labels);
+ checkUnnamed2257(o.labels);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.network, unittest.equals('foo'));
unittest.expect(o.region, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
- checkUnnamed2256(o.vpnInterfaces);
+ checkUnnamed2258(o.vpnInterfaces);
}
buildCounterVpnGateway--;
}
-buildUnnamed2257() {
+buildUnnamed2259() {
var o = new core.Map<core.String, api.VpnGatewaysScopedList>();
o["x"] = buildVpnGatewaysScopedList();
o["y"] = buildVpnGatewaysScopedList();
return o;
}
-checkUnnamed2257(core.Map<core.String, api.VpnGatewaysScopedList> o) {
+checkUnnamed2259(core.Map<core.String, api.VpnGatewaysScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkVpnGatewaysScopedList(o["x"]);
checkVpnGatewaysScopedList(o["y"]);
}
-buildUnnamed2258() {
+buildUnnamed2260() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2258(core.List<core.String> o) {
+checkUnnamed2260(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -26418,14 +26418,14 @@
buildCounterVpnGatewayAggregatedListWarningData--;
}
-buildUnnamed2259() {
+buildUnnamed2261() {
var o = new core.List<api.VpnGatewayAggregatedListWarningData>();
o.add(buildVpnGatewayAggregatedListWarningData());
o.add(buildVpnGatewayAggregatedListWarningData());
return o;
}
-checkUnnamed2259(core.List<api.VpnGatewayAggregatedListWarningData> o) {
+checkUnnamed2261(core.List<api.VpnGatewayAggregatedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkVpnGatewayAggregatedListWarningData(o[0]);
checkVpnGatewayAggregatedListWarningData(o[1]);
@@ -26437,7 +26437,7 @@
buildCounterVpnGatewayAggregatedListWarning++;
if (buildCounterVpnGatewayAggregatedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2259();
+ o.data = buildUnnamed2261();
o.message = "foo";
}
buildCounterVpnGatewayAggregatedListWarning--;
@@ -26448,7 +26448,7 @@
buildCounterVpnGatewayAggregatedListWarning++;
if (buildCounterVpnGatewayAggregatedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2259(o.data);
+ checkUnnamed2261(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterVpnGatewayAggregatedListWarning--;
@@ -26460,11 +26460,11 @@
buildCounterVpnGatewayAggregatedList++;
if (buildCounterVpnGatewayAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed2257();
+ o.items = buildUnnamed2259();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
- o.unreachables = buildUnnamed2258();
+ o.unreachables = buildUnnamed2260();
o.warning = buildVpnGatewayAggregatedListWarning();
}
buildCounterVpnGatewayAggregatedList--;
@@ -26475,24 +26475,24 @@
buildCounterVpnGatewayAggregatedList++;
if (buildCounterVpnGatewayAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2257(o.items);
+ checkUnnamed2259(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
- checkUnnamed2258(o.unreachables);
+ checkUnnamed2260(o.unreachables);
checkVpnGatewayAggregatedListWarning(o.warning);
}
buildCounterVpnGatewayAggregatedList--;
}
-buildUnnamed2260() {
+buildUnnamed2262() {
var o = new core.List<api.VpnGateway>();
o.add(buildVpnGateway());
o.add(buildVpnGateway());
return o;
}
-checkUnnamed2260(core.List<api.VpnGateway> o) {
+checkUnnamed2262(core.List<api.VpnGateway> o) {
unittest.expect(o, unittest.hasLength(2));
checkVpnGateway(o[0]);
checkVpnGateway(o[1]);
@@ -26519,14 +26519,14 @@
buildCounterVpnGatewayListWarningData--;
}
-buildUnnamed2261() {
+buildUnnamed2263() {
var o = new core.List<api.VpnGatewayListWarningData>();
o.add(buildVpnGatewayListWarningData());
o.add(buildVpnGatewayListWarningData());
return o;
}
-checkUnnamed2261(core.List<api.VpnGatewayListWarningData> o) {
+checkUnnamed2263(core.List<api.VpnGatewayListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkVpnGatewayListWarningData(o[0]);
checkVpnGatewayListWarningData(o[1]);
@@ -26538,7 +26538,7 @@
buildCounterVpnGatewayListWarning++;
if (buildCounterVpnGatewayListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2261();
+ o.data = buildUnnamed2263();
o.message = "foo";
}
buildCounterVpnGatewayListWarning--;
@@ -26549,7 +26549,7 @@
buildCounterVpnGatewayListWarning++;
if (buildCounterVpnGatewayListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2261(o.data);
+ checkUnnamed2263(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterVpnGatewayListWarning--;
@@ -26561,7 +26561,7 @@
buildCounterVpnGatewayList++;
if (buildCounterVpnGatewayList < 3) {
o.id = "foo";
- o.items = buildUnnamed2260();
+ o.items = buildUnnamed2262();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -26575,7 +26575,7 @@
buildCounterVpnGatewayList++;
if (buildCounterVpnGatewayList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2260(o.items);
+ checkUnnamed2262(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -26584,14 +26584,14 @@
buildCounterVpnGatewayList--;
}
-buildUnnamed2262() {
+buildUnnamed2264() {
var o = new core.List<api.VpnGatewayStatusVpnConnection>();
o.add(buildVpnGatewayStatusVpnConnection());
o.add(buildVpnGatewayStatusVpnConnection());
return o;
}
-checkUnnamed2262(core.List<api.VpnGatewayStatusVpnConnection> o) {
+checkUnnamed2264(core.List<api.VpnGatewayStatusVpnConnection> o) {
unittest.expect(o, unittest.hasLength(2));
checkVpnGatewayStatusVpnConnection(o[0]);
checkVpnGatewayStatusVpnConnection(o[1]);
@@ -26602,7 +26602,7 @@
var o = new api.VpnGatewayStatus();
buildCounterVpnGatewayStatus++;
if (buildCounterVpnGatewayStatus < 3) {
- o.vpnConnections = buildUnnamed2262();
+ o.vpnConnections = buildUnnamed2264();
}
buildCounterVpnGatewayStatus--;
return o;
@@ -26611,7 +26611,7 @@
checkVpnGatewayStatus(api.VpnGatewayStatus o) {
buildCounterVpnGatewayStatus++;
if (buildCounterVpnGatewayStatus < 3) {
- checkUnnamed2262(o.vpnConnections);
+ checkUnnamed2264(o.vpnConnections);
}
buildCounterVpnGatewayStatus--;
}
@@ -26661,14 +26661,14 @@
buildCounterVpnGatewayStatusTunnel--;
}
-buildUnnamed2263() {
+buildUnnamed2265() {
var o = new core.List<api.VpnGatewayStatusTunnel>();
o.add(buildVpnGatewayStatusTunnel());
o.add(buildVpnGatewayStatusTunnel());
return o;
}
-checkUnnamed2263(core.List<api.VpnGatewayStatusTunnel> o) {
+checkUnnamed2265(core.List<api.VpnGatewayStatusTunnel> o) {
unittest.expect(o, unittest.hasLength(2));
checkVpnGatewayStatusTunnel(o[0]);
checkVpnGatewayStatusTunnel(o[1]);
@@ -26682,7 +26682,7 @@
o.peerExternalGateway = "foo";
o.peerGcpGateway = "foo";
o.state = buildVpnGatewayStatusHighAvailabilityRequirementState();
- o.tunnels = buildUnnamed2263();
+ o.tunnels = buildUnnamed2265();
}
buildCounterVpnGatewayStatusVpnConnection--;
return o;
@@ -26694,7 +26694,7 @@
unittest.expect(o.peerExternalGateway, unittest.equals('foo'));
unittest.expect(o.peerGcpGateway, unittest.equals('foo'));
checkVpnGatewayStatusHighAvailabilityRequirementState(o.state);
- checkUnnamed2263(o.tunnels);
+ checkUnnamed2265(o.tunnels);
}
buildCounterVpnGatewayStatusVpnConnection--;
}
@@ -26739,14 +26739,14 @@
buildCounterVpnGatewaysGetStatusResponse--;
}
-buildUnnamed2264() {
+buildUnnamed2266() {
var o = new core.List<api.VpnGateway>();
o.add(buildVpnGateway());
o.add(buildVpnGateway());
return o;
}
-checkUnnamed2264(core.List<api.VpnGateway> o) {
+checkUnnamed2266(core.List<api.VpnGateway> o) {
unittest.expect(o, unittest.hasLength(2));
checkVpnGateway(o[0]);
checkVpnGateway(o[1]);
@@ -26773,14 +26773,14 @@
buildCounterVpnGatewaysScopedListWarningData--;
}
-buildUnnamed2265() {
+buildUnnamed2267() {
var o = new core.List<api.VpnGatewaysScopedListWarningData>();
o.add(buildVpnGatewaysScopedListWarningData());
o.add(buildVpnGatewaysScopedListWarningData());
return o;
}
-checkUnnamed2265(core.List<api.VpnGatewaysScopedListWarningData> o) {
+checkUnnamed2267(core.List<api.VpnGatewaysScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkVpnGatewaysScopedListWarningData(o[0]);
checkVpnGatewaysScopedListWarningData(o[1]);
@@ -26792,7 +26792,7 @@
buildCounterVpnGatewaysScopedListWarning++;
if (buildCounterVpnGatewaysScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2265();
+ o.data = buildUnnamed2267();
o.message = "foo";
}
buildCounterVpnGatewaysScopedListWarning--;
@@ -26803,7 +26803,7 @@
buildCounterVpnGatewaysScopedListWarning++;
if (buildCounterVpnGatewaysScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2265(o.data);
+ checkUnnamed2267(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterVpnGatewaysScopedListWarning--;
@@ -26814,7 +26814,7 @@
var o = new api.VpnGatewaysScopedList();
buildCounterVpnGatewaysScopedList++;
if (buildCounterVpnGatewaysScopedList < 3) {
- o.vpnGateways = buildUnnamed2264();
+ o.vpnGateways = buildUnnamed2266();
o.warning = buildVpnGatewaysScopedListWarning();
}
buildCounterVpnGatewaysScopedList--;
@@ -26824,33 +26824,33 @@
checkVpnGatewaysScopedList(api.VpnGatewaysScopedList o) {
buildCounterVpnGatewaysScopedList++;
if (buildCounterVpnGatewaysScopedList < 3) {
- checkUnnamed2264(o.vpnGateways);
+ checkUnnamed2266(o.vpnGateways);
checkVpnGatewaysScopedListWarning(o.warning);
}
buildCounterVpnGatewaysScopedList--;
}
-buildUnnamed2266() {
+buildUnnamed2268() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2266(core.List<core.String> o) {
+checkUnnamed2268(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2267() {
+buildUnnamed2269() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2267(core.List<core.String> o) {
+checkUnnamed2269(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -26867,14 +26867,14 @@
o.id = "foo";
o.ikeVersion = 42;
o.kind = "foo";
- o.localTrafficSelector = buildUnnamed2266();
+ o.localTrafficSelector = buildUnnamed2268();
o.name = "foo";
o.peerExternalGateway = "foo";
o.peerExternalGatewayInterface = 42;
o.peerGcpGateway = "foo";
o.peerIp = "foo";
o.region = "foo";
- o.remoteTrafficSelector = buildUnnamed2267();
+ o.remoteTrafficSelector = buildUnnamed2269();
o.router = "foo";
o.selfLink = "foo";
o.sharedSecret = "foo";
@@ -26897,14 +26897,14 @@
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.ikeVersion, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2266(o.localTrafficSelector);
+ checkUnnamed2268(o.localTrafficSelector);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.peerExternalGateway, unittest.equals('foo'));
unittest.expect(o.peerExternalGatewayInterface, unittest.equals(42));
unittest.expect(o.peerGcpGateway, unittest.equals('foo'));
unittest.expect(o.peerIp, unittest.equals('foo'));
unittest.expect(o.region, unittest.equals('foo'));
- checkUnnamed2267(o.remoteTrafficSelector);
+ checkUnnamed2269(o.remoteTrafficSelector);
unittest.expect(o.router, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.sharedSecret, unittest.equals('foo'));
@@ -26917,27 +26917,27 @@
buildCounterVpnTunnel--;
}
-buildUnnamed2268() {
+buildUnnamed2270() {
var o = new core.Map<core.String, api.VpnTunnelsScopedList>();
o["x"] = buildVpnTunnelsScopedList();
o["y"] = buildVpnTunnelsScopedList();
return o;
}
-checkUnnamed2268(core.Map<core.String, api.VpnTunnelsScopedList> o) {
+checkUnnamed2270(core.Map<core.String, api.VpnTunnelsScopedList> o) {
unittest.expect(o, unittest.hasLength(2));
checkVpnTunnelsScopedList(o["x"]);
checkVpnTunnelsScopedList(o["y"]);
}
-buildUnnamed2269() {
+buildUnnamed2271() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2269(core.List<core.String> o) {
+checkUnnamed2271(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -26965,14 +26965,14 @@
buildCounterVpnTunnelAggregatedListWarningData--;
}
-buildUnnamed2270() {
+buildUnnamed2272() {
var o = new core.List<api.VpnTunnelAggregatedListWarningData>();
o.add(buildVpnTunnelAggregatedListWarningData());
o.add(buildVpnTunnelAggregatedListWarningData());
return o;
}
-checkUnnamed2270(core.List<api.VpnTunnelAggregatedListWarningData> o) {
+checkUnnamed2272(core.List<api.VpnTunnelAggregatedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkVpnTunnelAggregatedListWarningData(o[0]);
checkVpnTunnelAggregatedListWarningData(o[1]);
@@ -26984,7 +26984,7 @@
buildCounterVpnTunnelAggregatedListWarning++;
if (buildCounterVpnTunnelAggregatedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2270();
+ o.data = buildUnnamed2272();
o.message = "foo";
}
buildCounterVpnTunnelAggregatedListWarning--;
@@ -26995,7 +26995,7 @@
buildCounterVpnTunnelAggregatedListWarning++;
if (buildCounterVpnTunnelAggregatedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2270(o.data);
+ checkUnnamed2272(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterVpnTunnelAggregatedListWarning--;
@@ -27007,11 +27007,11 @@
buildCounterVpnTunnelAggregatedList++;
if (buildCounterVpnTunnelAggregatedList < 3) {
o.id = "foo";
- o.items = buildUnnamed2268();
+ o.items = buildUnnamed2270();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
- o.unreachables = buildUnnamed2269();
+ o.unreachables = buildUnnamed2271();
o.warning = buildVpnTunnelAggregatedListWarning();
}
buildCounterVpnTunnelAggregatedList--;
@@ -27022,24 +27022,24 @@
buildCounterVpnTunnelAggregatedList++;
if (buildCounterVpnTunnelAggregatedList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2268(o.items);
+ checkUnnamed2270(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
- checkUnnamed2269(o.unreachables);
+ checkUnnamed2271(o.unreachables);
checkVpnTunnelAggregatedListWarning(o.warning);
}
buildCounterVpnTunnelAggregatedList--;
}
-buildUnnamed2271() {
+buildUnnamed2273() {
var o = new core.List<api.VpnTunnel>();
o.add(buildVpnTunnel());
o.add(buildVpnTunnel());
return o;
}
-checkUnnamed2271(core.List<api.VpnTunnel> o) {
+checkUnnamed2273(core.List<api.VpnTunnel> o) {
unittest.expect(o, unittest.hasLength(2));
checkVpnTunnel(o[0]);
checkVpnTunnel(o[1]);
@@ -27066,14 +27066,14 @@
buildCounterVpnTunnelListWarningData--;
}
-buildUnnamed2272() {
+buildUnnamed2274() {
var o = new core.List<api.VpnTunnelListWarningData>();
o.add(buildVpnTunnelListWarningData());
o.add(buildVpnTunnelListWarningData());
return o;
}
-checkUnnamed2272(core.List<api.VpnTunnelListWarningData> o) {
+checkUnnamed2274(core.List<api.VpnTunnelListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkVpnTunnelListWarningData(o[0]);
checkVpnTunnelListWarningData(o[1]);
@@ -27085,7 +27085,7 @@
buildCounterVpnTunnelListWarning++;
if (buildCounterVpnTunnelListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2272();
+ o.data = buildUnnamed2274();
o.message = "foo";
}
buildCounterVpnTunnelListWarning--;
@@ -27096,7 +27096,7 @@
buildCounterVpnTunnelListWarning++;
if (buildCounterVpnTunnelListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2272(o.data);
+ checkUnnamed2274(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterVpnTunnelListWarning--;
@@ -27108,7 +27108,7 @@
buildCounterVpnTunnelList++;
if (buildCounterVpnTunnelList < 3) {
o.id = "foo";
- o.items = buildUnnamed2271();
+ o.items = buildUnnamed2273();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -27122,7 +27122,7 @@
buildCounterVpnTunnelList++;
if (buildCounterVpnTunnelList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2271(o.items);
+ checkUnnamed2273(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -27131,14 +27131,14 @@
buildCounterVpnTunnelList--;
}
-buildUnnamed2273() {
+buildUnnamed2275() {
var o = new core.List<api.VpnTunnel>();
o.add(buildVpnTunnel());
o.add(buildVpnTunnel());
return o;
}
-checkUnnamed2273(core.List<api.VpnTunnel> o) {
+checkUnnamed2275(core.List<api.VpnTunnel> o) {
unittest.expect(o, unittest.hasLength(2));
checkVpnTunnel(o[0]);
checkVpnTunnel(o[1]);
@@ -27165,14 +27165,14 @@
buildCounterVpnTunnelsScopedListWarningData--;
}
-buildUnnamed2274() {
+buildUnnamed2276() {
var o = new core.List<api.VpnTunnelsScopedListWarningData>();
o.add(buildVpnTunnelsScopedListWarningData());
o.add(buildVpnTunnelsScopedListWarningData());
return o;
}
-checkUnnamed2274(core.List<api.VpnTunnelsScopedListWarningData> o) {
+checkUnnamed2276(core.List<api.VpnTunnelsScopedListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkVpnTunnelsScopedListWarningData(o[0]);
checkVpnTunnelsScopedListWarningData(o[1]);
@@ -27184,7 +27184,7 @@
buildCounterVpnTunnelsScopedListWarning++;
if (buildCounterVpnTunnelsScopedListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2274();
+ o.data = buildUnnamed2276();
o.message = "foo";
}
buildCounterVpnTunnelsScopedListWarning--;
@@ -27195,7 +27195,7 @@
buildCounterVpnTunnelsScopedListWarning++;
if (buildCounterVpnTunnelsScopedListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2274(o.data);
+ checkUnnamed2276(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterVpnTunnelsScopedListWarning--;
@@ -27206,7 +27206,7 @@
var o = new api.VpnTunnelsScopedList();
buildCounterVpnTunnelsScopedList++;
if (buildCounterVpnTunnelsScopedList < 3) {
- o.vpnTunnels = buildUnnamed2273();
+ o.vpnTunnels = buildUnnamed2275();
o.warning = buildVpnTunnelsScopedListWarning();
}
buildCounterVpnTunnelsScopedList--;
@@ -27216,33 +27216,33 @@
checkVpnTunnelsScopedList(api.VpnTunnelsScopedList o) {
buildCounterVpnTunnelsScopedList++;
if (buildCounterVpnTunnelsScopedList < 3) {
- checkUnnamed2273(o.vpnTunnels);
+ checkUnnamed2275(o.vpnTunnels);
checkVpnTunnelsScopedListWarning(o.warning);
}
buildCounterVpnTunnelsScopedList--;
}
-buildUnnamed2275() {
+buildUnnamed2277() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2275(core.List<core.String> o) {
+checkUnnamed2277(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2276() {
+buildUnnamed2278() {
var o = new core.List<api.WafExpressionSetExpression>();
o.add(buildWafExpressionSetExpression());
o.add(buildWafExpressionSetExpression());
return o;
}
-checkUnnamed2276(core.List<api.WafExpressionSetExpression> o) {
+checkUnnamed2278(core.List<api.WafExpressionSetExpression> o) {
unittest.expect(o, unittest.hasLength(2));
checkWafExpressionSetExpression(o[0]);
checkWafExpressionSetExpression(o[1]);
@@ -27253,8 +27253,8 @@
var o = new api.WafExpressionSet();
buildCounterWafExpressionSet++;
if (buildCounterWafExpressionSet < 3) {
- o.aliases = buildUnnamed2275();
- o.expressions = buildUnnamed2276();
+ o.aliases = buildUnnamed2277();
+ o.expressions = buildUnnamed2278();
o.id = "foo";
}
buildCounterWafExpressionSet--;
@@ -27264,8 +27264,8 @@
checkWafExpressionSet(api.WafExpressionSet o) {
buildCounterWafExpressionSet++;
if (buildCounterWafExpressionSet < 3) {
- checkUnnamed2275(o.aliases);
- checkUnnamed2276(o.expressions);
+ checkUnnamed2277(o.aliases);
+ checkUnnamed2278(o.expressions);
unittest.expect(o.id, unittest.equals('foo'));
}
buildCounterWafExpressionSet--;
@@ -27313,14 +27313,14 @@
buildCounterWeightedBackendService--;
}
-buildUnnamed2277() {
+buildUnnamed2279() {
var o = new core.List<api.Project>();
o.add(buildProject());
o.add(buildProject());
return o;
}
-checkUnnamed2277(core.List<api.Project> o) {
+checkUnnamed2279(core.List<api.Project> o) {
unittest.expect(o, unittest.hasLength(2));
checkProject(o[0]);
checkProject(o[1]);
@@ -27347,14 +27347,14 @@
buildCounterXpnHostListWarningData--;
}
-buildUnnamed2278() {
+buildUnnamed2280() {
var o = new core.List<api.XpnHostListWarningData>();
o.add(buildXpnHostListWarningData());
o.add(buildXpnHostListWarningData());
return o;
}
-checkUnnamed2278(core.List<api.XpnHostListWarningData> o) {
+checkUnnamed2280(core.List<api.XpnHostListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkXpnHostListWarningData(o[0]);
checkXpnHostListWarningData(o[1]);
@@ -27366,7 +27366,7 @@
buildCounterXpnHostListWarning++;
if (buildCounterXpnHostListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2278();
+ o.data = buildUnnamed2280();
o.message = "foo";
}
buildCounterXpnHostListWarning--;
@@ -27377,7 +27377,7 @@
buildCounterXpnHostListWarning++;
if (buildCounterXpnHostListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2278(o.data);
+ checkUnnamed2280(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterXpnHostListWarning--;
@@ -27389,7 +27389,7 @@
buildCounterXpnHostList++;
if (buildCounterXpnHostList < 3) {
o.id = "foo";
- o.items = buildUnnamed2277();
+ o.items = buildUnnamed2279();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -27403,7 +27403,7 @@
buildCounterXpnHostList++;
if (buildCounterXpnHostList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2277(o.items);
+ checkUnnamed2279(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -27433,14 +27433,14 @@
buildCounterXpnResourceId--;
}
-buildUnnamed2279() {
+buildUnnamed2281() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2279(core.List<core.String> o) {
+checkUnnamed2281(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -27451,7 +27451,7 @@
var o = new api.Zone();
buildCounterZone++;
if (buildCounterZone < 3) {
- o.availableCpuPlatforms = buildUnnamed2279();
+ o.availableCpuPlatforms = buildUnnamed2281();
o.creationTimestamp = "foo";
o.deprecated = buildDeprecationStatus();
o.description = "foo";
@@ -27469,7 +27469,7 @@
checkZone(api.Zone o) {
buildCounterZone++;
if (buildCounterZone < 3) {
- checkUnnamed2279(o.availableCpuPlatforms);
+ checkUnnamed2281(o.availableCpuPlatforms);
unittest.expect(o.creationTimestamp, unittest.equals('foo'));
checkDeprecationStatus(o.deprecated);
unittest.expect(o.description, unittest.equals('foo'));
@@ -27483,14 +27483,14 @@
buildCounterZone--;
}
-buildUnnamed2280() {
+buildUnnamed2282() {
var o = new core.List<api.Zone>();
o.add(buildZone());
o.add(buildZone());
return o;
}
-checkUnnamed2280(core.List<api.Zone> o) {
+checkUnnamed2282(core.List<api.Zone> o) {
unittest.expect(o, unittest.hasLength(2));
checkZone(o[0]);
checkZone(o[1]);
@@ -27517,14 +27517,14 @@
buildCounterZoneListWarningData--;
}
-buildUnnamed2281() {
+buildUnnamed2283() {
var o = new core.List<api.ZoneListWarningData>();
o.add(buildZoneListWarningData());
o.add(buildZoneListWarningData());
return o;
}
-checkUnnamed2281(core.List<api.ZoneListWarningData> o) {
+checkUnnamed2283(core.List<api.ZoneListWarningData> o) {
unittest.expect(o, unittest.hasLength(2));
checkZoneListWarningData(o[0]);
checkZoneListWarningData(o[1]);
@@ -27536,7 +27536,7 @@
buildCounterZoneListWarning++;
if (buildCounterZoneListWarning < 3) {
o.code = "foo";
- o.data = buildUnnamed2281();
+ o.data = buildUnnamed2283();
o.message = "foo";
}
buildCounterZoneListWarning--;
@@ -27547,7 +27547,7 @@
buildCounterZoneListWarning++;
if (buildCounterZoneListWarning < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2281(o.data);
+ checkUnnamed2283(o.data);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterZoneListWarning--;
@@ -27559,7 +27559,7 @@
buildCounterZoneList++;
if (buildCounterZoneList < 3) {
o.id = "foo";
- o.items = buildUnnamed2280();
+ o.items = buildUnnamed2282();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -27573,7 +27573,7 @@
buildCounterZoneList++;
if (buildCounterZoneList < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2280(o.items);
+ checkUnnamed2282(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -27582,14 +27582,14 @@
buildCounterZoneList--;
}
-buildUnnamed2282() {
+buildUnnamed2284() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2282(core.Map<core.String, core.String> o) {
+checkUnnamed2284(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -27601,7 +27601,7 @@
buildCounterZoneSetLabelsRequest++;
if (buildCounterZoneSetLabelsRequest < 3) {
o.labelFingerprint = "foo";
- o.labels = buildUnnamed2282();
+ o.labels = buildUnnamed2284();
}
buildCounterZoneSetLabelsRequest--;
return o;
@@ -27611,19 +27611,19 @@
buildCounterZoneSetLabelsRequest++;
if (buildCounterZoneSetLabelsRequest < 3) {
unittest.expect(o.labelFingerprint, unittest.equals('foo'));
- checkUnnamed2282(o.labels);
+ checkUnnamed2284(o.labels);
}
buildCounterZoneSetLabelsRequest--;
}
-buildUnnamed2283() {
+buildUnnamed2285() {
var o = new core.List<api.Binding>();
o.add(buildBinding());
o.add(buildBinding());
return o;
}
-checkUnnamed2283(core.List<api.Binding> o) {
+checkUnnamed2285(core.List<api.Binding> o) {
unittest.expect(o, unittest.hasLength(2));
checkBinding(o[0]);
checkBinding(o[1]);
@@ -27634,7 +27634,7 @@
var o = new api.ZoneSetPolicyRequest();
buildCounterZoneSetPolicyRequest++;
if (buildCounterZoneSetPolicyRequest < 3) {
- o.bindings = buildUnnamed2283();
+ o.bindings = buildUnnamed2285();
o.etag = "foo";
o.policy = buildPolicy();
}
@@ -27645,7 +27645,7 @@
checkZoneSetPolicyRequest(api.ZoneSetPolicyRequest o) {
buildCounterZoneSetPolicyRequest++;
if (buildCounterZoneSetPolicyRequest < 3) {
- checkUnnamed2283(o.bindings);
+ checkUnnamed2285(o.bindings);
unittest.expect(o.etag, unittest.equals('foo'));
checkPolicy(o.policy);
}
diff --git a/generated/googleapis/test/container/v1_test.dart b/generated/googleapis/test/container/v1_test.dart
index dc6c5f1..9888df5 100644
--- a/generated/googleapis/test/container/v1_test.dart
+++ b/generated/googleapis/test/container/v1_test.dart
@@ -144,14 +144,14 @@
buildCounterAutoUpgradeOptions--;
}
-buildUnnamed4336() {
+buildUnnamed4343() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4336(core.List<core.String> o) {
+checkUnnamed4343(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -167,7 +167,7 @@
o.diskType = "foo";
o.management = buildNodeManagement();
o.minCpuPlatform = "foo";
- o.oauthScopes = buildUnnamed4336();
+ o.oauthScopes = buildUnnamed4343();
o.serviceAccount = "foo";
o.shieldedInstanceConfig = buildShieldedInstanceConfig();
o.upgradeSettings = buildUpgradeSettings();
@@ -184,7 +184,7 @@
unittest.expect(o.diskType, unittest.equals('foo'));
checkNodeManagement(o.management);
unittest.expect(o.minCpuPlatform, unittest.equals('foo'));
- checkUnnamed4336(o.oauthScopes);
+ checkUnnamed4343(o.oauthScopes);
unittest.expect(o.serviceAccount, unittest.equals('foo'));
checkShieldedInstanceConfig(o.shieldedInstanceConfig);
checkUpgradeSettings(o.upgradeSettings);
@@ -316,66 +316,66 @@
buildCounterCloudRunConfig--;
}
-buildUnnamed4337() {
+buildUnnamed4344() {
var o = new core.List<api.StatusCondition>();
o.add(buildStatusCondition());
o.add(buildStatusCondition());
return o;
}
-checkUnnamed4337(core.List<api.StatusCondition> o) {
+checkUnnamed4344(core.List<api.StatusCondition> o) {
unittest.expect(o, unittest.hasLength(2));
checkStatusCondition(o[0]);
checkStatusCondition(o[1]);
}
-buildUnnamed4338() {
+buildUnnamed4345() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4338(core.List<core.String> o) {
+checkUnnamed4345(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed4339() {
+buildUnnamed4346() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4339(core.List<core.String> o) {
+checkUnnamed4346(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed4340() {
+buildUnnamed4347() {
var o = new core.List<api.NodePool>();
o.add(buildNodePool());
o.add(buildNodePool());
return o;
}
-checkUnnamed4340(core.List<api.NodePool> o) {
+checkUnnamed4347(core.List<api.NodePool> o) {
unittest.expect(o, unittest.hasLength(2));
checkNodePool(o[0]);
checkNodePool(o[1]);
}
-buildUnnamed4341() {
+buildUnnamed4348() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed4341(core.Map<core.String, core.String> o) {
+checkUnnamed4348(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -391,7 +391,7 @@
o.autoscaling = buildClusterAutoscaling();
o.binaryAuthorization = buildBinaryAuthorization();
o.clusterIpv4Cidr = "foo";
- o.conditions = buildUnnamed4337();
+ o.conditions = buildUnnamed4344();
o.createTime = "foo";
o.currentMasterVersion = "foo";
o.currentNodeCount = 42;
@@ -405,12 +405,12 @@
o.expireTime = "foo";
o.initialClusterVersion = "foo";
o.initialNodeCount = 42;
- o.instanceGroupUrls = buildUnnamed4338();
+ o.instanceGroupUrls = buildUnnamed4345();
o.ipAllocationPolicy = buildIPAllocationPolicy();
o.labelFingerprint = "foo";
o.legacyAbac = buildLegacyAbac();
o.location = "foo";
- o.locations = buildUnnamed4339();
+ o.locations = buildUnnamed4346();
o.loggingService = "foo";
o.maintenancePolicy = buildMaintenancePolicy();
o.masterAuth = buildMasterAuth();
@@ -422,10 +422,10 @@
o.networkPolicy = buildNetworkPolicy();
o.nodeConfig = buildNodeConfig();
o.nodeIpv4CidrSize = 42;
- o.nodePools = buildUnnamed4340();
+ o.nodePools = buildUnnamed4347();
o.privateClusterConfig = buildPrivateClusterConfig();
o.releaseChannel = buildReleaseChannel();
- o.resourceLabels = buildUnnamed4341();
+ o.resourceLabels = buildUnnamed4348();
o.resourceUsageExportConfig = buildResourceUsageExportConfig();
o.selfLink = "foo";
o.servicesIpv4Cidr = "foo";
@@ -450,7 +450,7 @@
checkClusterAutoscaling(o.autoscaling);
checkBinaryAuthorization(o.binaryAuthorization);
unittest.expect(o.clusterIpv4Cidr, unittest.equals('foo'));
- checkUnnamed4337(o.conditions);
+ checkUnnamed4344(o.conditions);
unittest.expect(o.createTime, unittest.equals('foo'));
unittest.expect(o.currentMasterVersion, unittest.equals('foo'));
unittest.expect(o.currentNodeCount, unittest.equals(42));
@@ -464,12 +464,12 @@
unittest.expect(o.expireTime, unittest.equals('foo'));
unittest.expect(o.initialClusterVersion, unittest.equals('foo'));
unittest.expect(o.initialNodeCount, unittest.equals(42));
- checkUnnamed4338(o.instanceGroupUrls);
+ checkUnnamed4345(o.instanceGroupUrls);
checkIPAllocationPolicy(o.ipAllocationPolicy);
unittest.expect(o.labelFingerprint, unittest.equals('foo'));
checkLegacyAbac(o.legacyAbac);
unittest.expect(o.location, unittest.equals('foo'));
- checkUnnamed4339(o.locations);
+ checkUnnamed4346(o.locations);
unittest.expect(o.loggingService, unittest.equals('foo'));
checkMaintenancePolicy(o.maintenancePolicy);
checkMasterAuth(o.masterAuth);
@@ -481,10 +481,10 @@
checkNetworkPolicy(o.networkPolicy);
checkNodeConfig(o.nodeConfig);
unittest.expect(o.nodeIpv4CidrSize, unittest.equals(42));
- checkUnnamed4340(o.nodePools);
+ checkUnnamed4347(o.nodePools);
checkPrivateClusterConfig(o.privateClusterConfig);
checkReleaseChannel(o.releaseChannel);
- checkUnnamed4341(o.resourceLabels);
+ checkUnnamed4348(o.resourceLabels);
checkResourceUsageExportConfig(o.resourceUsageExportConfig);
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.servicesIpv4Cidr, unittest.equals('foo'));
@@ -500,27 +500,27 @@
buildCounterCluster--;
}
-buildUnnamed4342() {
+buildUnnamed4349() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4342(core.List<core.String> o) {
+checkUnnamed4349(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed4343() {
+buildUnnamed4350() {
var o = new core.List<api.ResourceLimit>();
o.add(buildResourceLimit());
o.add(buildResourceLimit());
return o;
}
-checkUnnamed4343(core.List<api.ResourceLimit> o) {
+checkUnnamed4350(core.List<api.ResourceLimit> o) {
unittest.expect(o, unittest.hasLength(2));
checkResourceLimit(o[0]);
checkResourceLimit(o[1]);
@@ -531,11 +531,11 @@
var o = new api.ClusterAutoscaling();
buildCounterClusterAutoscaling++;
if (buildCounterClusterAutoscaling < 3) {
- o.autoprovisioningLocations = buildUnnamed4342();
+ o.autoprovisioningLocations = buildUnnamed4349();
o.autoprovisioningNodePoolDefaults =
buildAutoprovisioningNodePoolDefaults();
o.enableNodeAutoprovisioning = true;
- o.resourceLimits = buildUnnamed4343();
+ o.resourceLimits = buildUnnamed4350();
}
buildCounterClusterAutoscaling--;
return o;
@@ -544,22 +544,22 @@
checkClusterAutoscaling(api.ClusterAutoscaling o) {
buildCounterClusterAutoscaling++;
if (buildCounterClusterAutoscaling < 3) {
- checkUnnamed4342(o.autoprovisioningLocations);
+ checkUnnamed4349(o.autoprovisioningLocations);
checkAutoprovisioningNodePoolDefaults(o.autoprovisioningNodePoolDefaults);
unittest.expect(o.enableNodeAutoprovisioning, unittest.isTrue);
- checkUnnamed4343(o.resourceLimits);
+ checkUnnamed4350(o.resourceLimits);
}
buildCounterClusterAutoscaling--;
}
-buildUnnamed4344() {
+buildUnnamed4351() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4344(core.List<core.String> o) {
+checkUnnamed4351(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -577,7 +577,7 @@
o.desiredDefaultSnatStatus = buildDefaultSnatStatus();
o.desiredImageType = "foo";
o.desiredIntraNodeVisibilityConfig = buildIntraNodeVisibilityConfig();
- o.desiredLocations = buildUnnamed4344();
+ o.desiredLocations = buildUnnamed4351();
o.desiredLoggingService = "foo";
o.desiredMasterAuthorizedNetworksConfig =
buildMasterAuthorizedNetworksConfig();
@@ -607,7 +607,7 @@
checkDefaultSnatStatus(o.desiredDefaultSnatStatus);
unittest.expect(o.desiredImageType, unittest.equals('foo'));
checkIntraNodeVisibilityConfig(o.desiredIntraNodeVisibilityConfig);
- checkUnnamed4344(o.desiredLocations);
+ checkUnnamed4351(o.desiredLocations);
unittest.expect(o.desiredLoggingService, unittest.equals('foo'));
checkMasterAuthorizedNetworksConfig(
o.desiredMasterAuthorizedNetworksConfig);
@@ -836,14 +836,14 @@
buildCounterEmpty--;
}
-buildUnnamed4345() {
+buildUnnamed4352() {
var o = new core.List<api.Jwk>();
o.add(buildJwk());
o.add(buildJwk());
return o;
}
-checkUnnamed4345(core.List<api.Jwk> o) {
+checkUnnamed4352(core.List<api.Jwk> o) {
unittest.expect(o, unittest.hasLength(2));
checkJwk(o[0]);
checkJwk(o[1]);
@@ -855,7 +855,7 @@
buildCounterGetJSONWebKeysResponse++;
if (buildCounterGetJSONWebKeysResponse < 3) {
o.cacheHeader = buildHttpCacheControlResponseHeader();
- o.keys = buildUnnamed4345();
+ o.keys = buildUnnamed4352();
}
buildCounterGetJSONWebKeysResponse--;
return o;
@@ -865,71 +865,71 @@
buildCounterGetJSONWebKeysResponse++;
if (buildCounterGetJSONWebKeysResponse < 3) {
checkHttpCacheControlResponseHeader(o.cacheHeader);
- checkUnnamed4345(o.keys);
+ checkUnnamed4352(o.keys);
}
buildCounterGetJSONWebKeysResponse--;
}
-buildUnnamed4346() {
+buildUnnamed4353() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4346(core.List<core.String> o) {
+checkUnnamed4353(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed4347() {
+buildUnnamed4354() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4347(core.List<core.String> o) {
+checkUnnamed4354(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed4348() {
+buildUnnamed4355() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4348(core.List<core.String> o) {
+checkUnnamed4355(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed4349() {
+buildUnnamed4356() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4349(core.List<core.String> o) {
+checkUnnamed4356(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed4350() {
+buildUnnamed4357() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4350(core.List<core.String> o) {
+checkUnnamed4357(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -941,13 +941,13 @@
buildCounterGetOpenIDConfigResponse++;
if (buildCounterGetOpenIDConfigResponse < 3) {
o.cacheHeader = buildHttpCacheControlResponseHeader();
- o.claimsSupported = buildUnnamed4346();
- o.grantTypes = buildUnnamed4347();
- o.idTokenSigningAlgValuesSupported = buildUnnamed4348();
+ o.claimsSupported = buildUnnamed4353();
+ o.grantTypes = buildUnnamed4354();
+ o.idTokenSigningAlgValuesSupported = buildUnnamed4355();
o.issuer = "foo";
o.jwksUri = "foo";
- o.responseTypesSupported = buildUnnamed4349();
- o.subjectTypesSupported = buildUnnamed4350();
+ o.responseTypesSupported = buildUnnamed4356();
+ o.subjectTypesSupported = buildUnnamed4357();
}
buildCounterGetOpenIDConfigResponse--;
return o;
@@ -957,13 +957,13 @@
buildCounterGetOpenIDConfigResponse++;
if (buildCounterGetOpenIDConfigResponse < 3) {
checkHttpCacheControlResponseHeader(o.cacheHeader);
- checkUnnamed4346(o.claimsSupported);
- checkUnnamed4347(o.grantTypes);
- checkUnnamed4348(o.idTokenSigningAlgValuesSupported);
+ checkUnnamed4353(o.claimsSupported);
+ checkUnnamed4354(o.grantTypes);
+ checkUnnamed4355(o.idTokenSigningAlgValuesSupported);
unittest.expect(o.issuer, unittest.equals('foo'));
unittest.expect(o.jwksUri, unittest.equals('foo'));
- checkUnnamed4349(o.responseTypesSupported);
- checkUnnamed4350(o.subjectTypesSupported);
+ checkUnnamed4356(o.responseTypesSupported);
+ checkUnnamed4357(o.subjectTypesSupported);
}
buildCounterGetOpenIDConfigResponse--;
}
@@ -1164,27 +1164,27 @@
buildCounterLegacyAbac--;
}
-buildUnnamed4351() {
+buildUnnamed4358() {
var o = new core.List<api.Cluster>();
o.add(buildCluster());
o.add(buildCluster());
return o;
}
-checkUnnamed4351(core.List<api.Cluster> o) {
+checkUnnamed4358(core.List<api.Cluster> o) {
unittest.expect(o, unittest.hasLength(2));
checkCluster(o[0]);
checkCluster(o[1]);
}
-buildUnnamed4352() {
+buildUnnamed4359() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4352(core.List<core.String> o) {
+checkUnnamed4359(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1195,8 +1195,8 @@
var o = new api.ListClustersResponse();
buildCounterListClustersResponse++;
if (buildCounterListClustersResponse < 3) {
- o.clusters = buildUnnamed4351();
- o.missingZones = buildUnnamed4352();
+ o.clusters = buildUnnamed4358();
+ o.missingZones = buildUnnamed4359();
}
buildCounterListClustersResponse--;
return o;
@@ -1205,20 +1205,20 @@
checkListClustersResponse(api.ListClustersResponse o) {
buildCounterListClustersResponse++;
if (buildCounterListClustersResponse < 3) {
- checkUnnamed4351(o.clusters);
- checkUnnamed4352(o.missingZones);
+ checkUnnamed4358(o.clusters);
+ checkUnnamed4359(o.missingZones);
}
buildCounterListClustersResponse--;
}
-buildUnnamed4353() {
+buildUnnamed4360() {
var o = new core.List<api.NodePool>();
o.add(buildNodePool());
o.add(buildNodePool());
return o;
}
-checkUnnamed4353(core.List<api.NodePool> o) {
+checkUnnamed4360(core.List<api.NodePool> o) {
unittest.expect(o, unittest.hasLength(2));
checkNodePool(o[0]);
checkNodePool(o[1]);
@@ -1229,7 +1229,7 @@
var o = new api.ListNodePoolsResponse();
buildCounterListNodePoolsResponse++;
if (buildCounterListNodePoolsResponse < 3) {
- o.nodePools = buildUnnamed4353();
+ o.nodePools = buildUnnamed4360();
}
buildCounterListNodePoolsResponse--;
return o;
@@ -1238,32 +1238,32 @@
checkListNodePoolsResponse(api.ListNodePoolsResponse o) {
buildCounterListNodePoolsResponse++;
if (buildCounterListNodePoolsResponse < 3) {
- checkUnnamed4353(o.nodePools);
+ checkUnnamed4360(o.nodePools);
}
buildCounterListNodePoolsResponse--;
}
-buildUnnamed4354() {
+buildUnnamed4361() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4354(core.List<core.String> o) {
+checkUnnamed4361(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed4355() {
+buildUnnamed4362() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed4355(core.List<api.Operation> o) {
+checkUnnamed4362(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -1274,8 +1274,8 @@
var o = new api.ListOperationsResponse();
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
- o.missingZones = buildUnnamed4354();
- o.operations = buildUnnamed4355();
+ o.missingZones = buildUnnamed4361();
+ o.operations = buildUnnamed4362();
}
buildCounterListOperationsResponse--;
return o;
@@ -1284,20 +1284,20 @@
checkListOperationsResponse(api.ListOperationsResponse o) {
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
- checkUnnamed4354(o.missingZones);
- checkUnnamed4355(o.operations);
+ checkUnnamed4361(o.missingZones);
+ checkUnnamed4362(o.operations);
}
buildCounterListOperationsResponse--;
}
-buildUnnamed4356() {
+buildUnnamed4363() {
var o = new core.List<api.UsableSubnetwork>();
o.add(buildUsableSubnetwork());
o.add(buildUsableSubnetwork());
return o;
}
-checkUnnamed4356(core.List<api.UsableSubnetwork> o) {
+checkUnnamed4363(core.List<api.UsableSubnetwork> o) {
unittest.expect(o, unittest.hasLength(2));
checkUsableSubnetwork(o[0]);
checkUsableSubnetwork(o[1]);
@@ -1309,7 +1309,7 @@
buildCounterListUsableSubnetworksResponse++;
if (buildCounterListUsableSubnetworksResponse < 3) {
o.nextPageToken = "foo";
- o.subnetworks = buildUnnamed4356();
+ o.subnetworks = buildUnnamed4363();
}
buildCounterListUsableSubnetworksResponse--;
return o;
@@ -1319,7 +1319,7 @@
buildCounterListUsableSubnetworksResponse++;
if (buildCounterListUsableSubnetworksResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed4356(o.subnetworks);
+ checkUnnamed4363(o.subnetworks);
}
buildCounterListUsableSubnetworksResponse--;
}
@@ -1345,14 +1345,14 @@
buildCounterMaintenancePolicy--;
}
-buildUnnamed4357() {
+buildUnnamed4364() {
var o = new core.Map<core.String, api.TimeWindow>();
o["x"] = buildTimeWindow();
o["y"] = buildTimeWindow();
return o;
}
-checkUnnamed4357(core.Map<core.String, api.TimeWindow> o) {
+checkUnnamed4364(core.Map<core.String, api.TimeWindow> o) {
unittest.expect(o, unittest.hasLength(2));
checkTimeWindow(o["x"]);
checkTimeWindow(o["y"]);
@@ -1364,7 +1364,7 @@
buildCounterMaintenanceWindow++;
if (buildCounterMaintenanceWindow < 3) {
o.dailyMaintenanceWindow = buildDailyMaintenanceWindow();
- o.maintenanceExclusions = buildUnnamed4357();
+ o.maintenanceExclusions = buildUnnamed4364();
o.recurringWindow = buildRecurringTimeWindow();
}
buildCounterMaintenanceWindow--;
@@ -1375,7 +1375,7 @@
buildCounterMaintenanceWindow++;
if (buildCounterMaintenanceWindow < 3) {
checkDailyMaintenanceWindow(o.dailyMaintenanceWindow);
- checkUnnamed4357(o.maintenanceExclusions);
+ checkUnnamed4364(o.maintenanceExclusions);
checkRecurringTimeWindow(o.recurringWindow);
}
buildCounterMaintenanceWindow--;
@@ -1410,14 +1410,14 @@
buildCounterMasterAuth--;
}
-buildUnnamed4358() {
+buildUnnamed4365() {
var o = new core.List<api.CidrBlock>();
o.add(buildCidrBlock());
o.add(buildCidrBlock());
return o;
}
-checkUnnamed4358(core.List<api.CidrBlock> o) {
+checkUnnamed4365(core.List<api.CidrBlock> o) {
unittest.expect(o, unittest.hasLength(2));
checkCidrBlock(o[0]);
checkCidrBlock(o[1]);
@@ -1428,7 +1428,7 @@
var o = new api.MasterAuthorizedNetworksConfig();
buildCounterMasterAuthorizedNetworksConfig++;
if (buildCounterMasterAuthorizedNetworksConfig < 3) {
- o.cidrBlocks = buildUnnamed4358();
+ o.cidrBlocks = buildUnnamed4365();
o.enabled = true;
}
buildCounterMasterAuthorizedNetworksConfig--;
@@ -1438,7 +1438,7 @@
checkMasterAuthorizedNetworksConfig(api.MasterAuthorizedNetworksConfig o) {
buildCounterMasterAuthorizedNetworksConfig++;
if (buildCounterMasterAuthorizedNetworksConfig < 3) {
- checkUnnamed4358(o.cidrBlocks);
+ checkUnnamed4365(o.cidrBlocks);
unittest.expect(o.enabled, unittest.isTrue);
}
buildCounterMasterAuthorizedNetworksConfig--;
@@ -1553,79 +1553,79 @@
buildCounterNetworkPolicyConfig--;
}
-buildUnnamed4359() {
+buildUnnamed4366() {
var o = new core.List<api.AcceleratorConfig>();
o.add(buildAcceleratorConfig());
o.add(buildAcceleratorConfig());
return o;
}
-checkUnnamed4359(core.List<api.AcceleratorConfig> o) {
+checkUnnamed4366(core.List<api.AcceleratorConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAcceleratorConfig(o[0]);
checkAcceleratorConfig(o[1]);
}
-buildUnnamed4360() {
+buildUnnamed4367() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed4360(core.Map<core.String, core.String> o) {
+checkUnnamed4367(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed4361() {
+buildUnnamed4368() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed4361(core.Map<core.String, core.String> o) {
+checkUnnamed4368(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed4362() {
+buildUnnamed4369() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4362(core.List<core.String> o) {
+checkUnnamed4369(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed4363() {
+buildUnnamed4370() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4363(core.List<core.String> o) {
+checkUnnamed4370(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed4364() {
+buildUnnamed4371() {
var o = new core.List<api.NodeTaint>();
o.add(buildNodeTaint());
o.add(buildNodeTaint());
return o;
}
-checkUnnamed4364(core.List<api.NodeTaint> o) {
+checkUnnamed4371(core.List<api.NodeTaint> o) {
unittest.expect(o, unittest.hasLength(2));
checkNodeTaint(o[0]);
checkNodeTaint(o[1]);
@@ -1636,25 +1636,25 @@
var o = new api.NodeConfig();
buildCounterNodeConfig++;
if (buildCounterNodeConfig < 3) {
- o.accelerators = buildUnnamed4359();
+ o.accelerators = buildUnnamed4366();
o.bootDiskKmsKey = "foo";
o.diskSizeGb = 42;
o.diskType = "foo";
o.imageType = "foo";
- o.labels = buildUnnamed4360();
+ o.labels = buildUnnamed4367();
o.localSsdCount = 42;
o.machineType = "foo";
- o.metadata = buildUnnamed4361();
+ o.metadata = buildUnnamed4368();
o.minCpuPlatform = "foo";
o.nodeGroup = "foo";
- o.oauthScopes = buildUnnamed4362();
+ o.oauthScopes = buildUnnamed4369();
o.preemptible = true;
o.reservationAffinity = buildReservationAffinity();
o.sandboxConfig = buildSandboxConfig();
o.serviceAccount = "foo";
o.shieldedInstanceConfig = buildShieldedInstanceConfig();
- o.tags = buildUnnamed4363();
- o.taints = buildUnnamed4364();
+ o.tags = buildUnnamed4370();
+ o.taints = buildUnnamed4371();
o.workloadMetadataConfig = buildWorkloadMetadataConfig();
}
buildCounterNodeConfig--;
@@ -1664,25 +1664,25 @@
checkNodeConfig(api.NodeConfig o) {
buildCounterNodeConfig++;
if (buildCounterNodeConfig < 3) {
- checkUnnamed4359(o.accelerators);
+ checkUnnamed4366(o.accelerators);
unittest.expect(o.bootDiskKmsKey, unittest.equals('foo'));
unittest.expect(o.diskSizeGb, unittest.equals(42));
unittest.expect(o.diskType, unittest.equals('foo'));
unittest.expect(o.imageType, unittest.equals('foo'));
- checkUnnamed4360(o.labels);
+ checkUnnamed4367(o.labels);
unittest.expect(o.localSsdCount, unittest.equals(42));
unittest.expect(o.machineType, unittest.equals('foo'));
- checkUnnamed4361(o.metadata);
+ checkUnnamed4368(o.metadata);
unittest.expect(o.minCpuPlatform, unittest.equals('foo'));
unittest.expect(o.nodeGroup, unittest.equals('foo'));
- checkUnnamed4362(o.oauthScopes);
+ checkUnnamed4369(o.oauthScopes);
unittest.expect(o.preemptible, unittest.isTrue);
checkReservationAffinity(o.reservationAffinity);
checkSandboxConfig(o.sandboxConfig);
unittest.expect(o.serviceAccount, unittest.equals('foo'));
checkShieldedInstanceConfig(o.shieldedInstanceConfig);
- checkUnnamed4363(o.tags);
- checkUnnamed4364(o.taints);
+ checkUnnamed4370(o.tags);
+ checkUnnamed4371(o.taints);
checkWorkloadMetadataConfig(o.workloadMetadataConfig);
}
buildCounterNodeConfig--;
@@ -1711,40 +1711,40 @@
buildCounterNodeManagement--;
}
-buildUnnamed4365() {
+buildUnnamed4372() {
var o = new core.List<api.StatusCondition>();
o.add(buildStatusCondition());
o.add(buildStatusCondition());
return o;
}
-checkUnnamed4365(core.List<api.StatusCondition> o) {
+checkUnnamed4372(core.List<api.StatusCondition> o) {
unittest.expect(o, unittest.hasLength(2));
checkStatusCondition(o[0]);
checkStatusCondition(o[1]);
}
-buildUnnamed4366() {
+buildUnnamed4373() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4366(core.List<core.String> o) {
+checkUnnamed4373(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed4367() {
+buildUnnamed4374() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4367(core.List<core.String> o) {
+checkUnnamed4374(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1756,11 +1756,11 @@
buildCounterNodePool++;
if (buildCounterNodePool < 3) {
o.autoscaling = buildNodePoolAutoscaling();
- o.conditions = buildUnnamed4365();
+ o.conditions = buildUnnamed4372();
o.config = buildNodeConfig();
o.initialNodeCount = 42;
- o.instanceGroupUrls = buildUnnamed4366();
- o.locations = buildUnnamed4367();
+ o.instanceGroupUrls = buildUnnamed4373();
+ o.locations = buildUnnamed4374();
o.management = buildNodeManagement();
o.maxPodsConstraint = buildMaxPodsConstraint();
o.name = "foo";
@@ -1779,11 +1779,11 @@
buildCounterNodePool++;
if (buildCounterNodePool < 3) {
checkNodePoolAutoscaling(o.autoscaling);
- checkUnnamed4365(o.conditions);
+ checkUnnamed4372(o.conditions);
checkNodeConfig(o.config);
unittest.expect(o.initialNodeCount, unittest.equals(42));
- checkUnnamed4366(o.instanceGroupUrls);
- checkUnnamed4367(o.locations);
+ checkUnnamed4373(o.instanceGroupUrls);
+ checkUnnamed4374(o.locations);
checkNodeManagement(o.management);
checkMaxPodsConstraint(o.maxPodsConstraint);
unittest.expect(o.name, unittest.equals('foo'));
@@ -1845,27 +1845,27 @@
buildCounterNodeTaint--;
}
-buildUnnamed4368() {
+buildUnnamed4375() {
var o = new core.List<api.StatusCondition>();
o.add(buildStatusCondition());
o.add(buildStatusCondition());
return o;
}
-checkUnnamed4368(core.List<api.StatusCondition> o) {
+checkUnnamed4375(core.List<api.StatusCondition> o) {
unittest.expect(o, unittest.hasLength(2));
checkStatusCondition(o[0]);
checkStatusCondition(o[1]);
}
-buildUnnamed4369() {
+buildUnnamed4376() {
var o = new core.List<api.StatusCondition>();
o.add(buildStatusCondition());
o.add(buildStatusCondition());
return o;
}
-checkUnnamed4369(core.List<api.StatusCondition> o) {
+checkUnnamed4376(core.List<api.StatusCondition> o) {
unittest.expect(o, unittest.hasLength(2));
checkStatusCondition(o[0]);
checkStatusCondition(o[1]);
@@ -1876,12 +1876,12 @@
var o = new api.Operation();
buildCounterOperation++;
if (buildCounterOperation < 3) {
- o.clusterConditions = buildUnnamed4368();
+ o.clusterConditions = buildUnnamed4375();
o.detail = "foo";
o.endTime = "foo";
o.location = "foo";
o.name = "foo";
- o.nodepoolConditions = buildUnnamed4369();
+ o.nodepoolConditions = buildUnnamed4376();
o.operationType = "foo";
o.progress = buildOperationProgress();
o.selfLink = "foo";
@@ -1898,12 +1898,12 @@
checkOperation(api.Operation o) {
buildCounterOperation++;
if (buildCounterOperation < 3) {
- checkUnnamed4368(o.clusterConditions);
+ checkUnnamed4375(o.clusterConditions);
unittest.expect(o.detail, unittest.equals('foo'));
unittest.expect(o.endTime, unittest.equals('foo'));
unittest.expect(o.location, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed4369(o.nodepoolConditions);
+ checkUnnamed4376(o.nodepoolConditions);
unittest.expect(o.operationType, unittest.equals('foo'));
checkOperationProgress(o.progress);
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -1916,27 +1916,27 @@
buildCounterOperation--;
}
-buildUnnamed4370() {
+buildUnnamed4377() {
var o = new core.List<api.Metric>();
o.add(buildMetric());
o.add(buildMetric());
return o;
}
-checkUnnamed4370(core.List<api.Metric> o) {
+checkUnnamed4377(core.List<api.Metric> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetric(o[0]);
checkMetric(o[1]);
}
-buildUnnamed4371() {
+buildUnnamed4378() {
var o = new core.List<api.OperationProgress>();
o.add(buildOperationProgress());
o.add(buildOperationProgress());
return o;
}
-checkUnnamed4371(core.List<api.OperationProgress> o) {
+checkUnnamed4378(core.List<api.OperationProgress> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperationProgress(o[0]);
checkOperationProgress(o[1]);
@@ -1947,9 +1947,9 @@
var o = new api.OperationProgress();
buildCounterOperationProgress++;
if (buildCounterOperationProgress < 3) {
- o.metrics = buildUnnamed4370();
+ o.metrics = buildUnnamed4377();
o.name = "foo";
- o.stages = buildUnnamed4371();
+ o.stages = buildUnnamed4378();
o.status = "foo";
}
buildCounterOperationProgress--;
@@ -1959,9 +1959,9 @@
checkOperationProgress(api.OperationProgress o) {
buildCounterOperationProgress++;
if (buildCounterOperationProgress < 3) {
- checkUnnamed4370(o.metrics);
+ checkUnnamed4377(o.metrics);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed4371(o.stages);
+ checkUnnamed4378(o.stages);
unittest.expect(o.status, unittest.equals('foo'));
}
buildCounterOperationProgress--;
@@ -2058,14 +2058,14 @@
buildCounterReleaseChannel--;
}
-buildUnnamed4372() {
+buildUnnamed4379() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4372(core.List<core.String> o) {
+checkUnnamed4379(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2078,7 +2078,7 @@
if (buildCounterReleaseChannelConfig < 3) {
o.channel = "foo";
o.defaultVersion = "foo";
- o.validVersions = buildUnnamed4372();
+ o.validVersions = buildUnnamed4379();
}
buildCounterReleaseChannelConfig--;
return o;
@@ -2089,19 +2089,19 @@
if (buildCounterReleaseChannelConfig < 3) {
unittest.expect(o.channel, unittest.equals('foo'));
unittest.expect(o.defaultVersion, unittest.equals('foo'));
- checkUnnamed4372(o.validVersions);
+ checkUnnamed4379(o.validVersions);
}
buildCounterReleaseChannelConfig--;
}
-buildUnnamed4373() {
+buildUnnamed4380() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4373(core.List<core.String> o) {
+checkUnnamed4380(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2114,7 +2114,7 @@
if (buildCounterReservationAffinity < 3) {
o.consumeReservationType = "foo";
o.key = "foo";
- o.values = buildUnnamed4373();
+ o.values = buildUnnamed4380();
}
buildCounterReservationAffinity--;
return o;
@@ -2125,7 +2125,7 @@
if (buildCounterReservationAffinity < 3) {
unittest.expect(o.consumeReservationType, unittest.equals('foo'));
unittest.expect(o.key, unittest.equals('foo'));
- checkUnnamed4373(o.values);
+ checkUnnamed4380(o.values);
}
buildCounterReservationAffinity--;
}
@@ -2222,53 +2222,53 @@
buildCounterSandboxConfig--;
}
-buildUnnamed4374() {
+buildUnnamed4381() {
var o = new core.List<api.ReleaseChannelConfig>();
o.add(buildReleaseChannelConfig());
o.add(buildReleaseChannelConfig());
return o;
}
-checkUnnamed4374(core.List<api.ReleaseChannelConfig> o) {
+checkUnnamed4381(core.List<api.ReleaseChannelConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkReleaseChannelConfig(o[0]);
checkReleaseChannelConfig(o[1]);
}
-buildUnnamed4375() {
+buildUnnamed4382() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4375(core.List<core.String> o) {
+checkUnnamed4382(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed4376() {
+buildUnnamed4383() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4376(core.List<core.String> o) {
+checkUnnamed4383(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed4377() {
+buildUnnamed4384() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4377(core.List<core.String> o) {
+checkUnnamed4384(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2279,12 +2279,12 @@
var o = new api.ServerConfig();
buildCounterServerConfig++;
if (buildCounterServerConfig < 3) {
- o.channels = buildUnnamed4374();
+ o.channels = buildUnnamed4381();
o.defaultClusterVersion = "foo";
o.defaultImageType = "foo";
- o.validImageTypes = buildUnnamed4375();
- o.validMasterVersions = buildUnnamed4376();
- o.validNodeVersions = buildUnnamed4377();
+ o.validImageTypes = buildUnnamed4382();
+ o.validMasterVersions = buildUnnamed4383();
+ o.validNodeVersions = buildUnnamed4384();
}
buildCounterServerConfig--;
return o;
@@ -2293,12 +2293,12 @@
checkServerConfig(api.ServerConfig o) {
buildCounterServerConfig++;
if (buildCounterServerConfig < 3) {
- checkUnnamed4374(o.channels);
+ checkUnnamed4381(o.channels);
unittest.expect(o.defaultClusterVersion, unittest.equals('foo'));
unittest.expect(o.defaultImageType, unittest.equals('foo'));
- checkUnnamed4375(o.validImageTypes);
- checkUnnamed4376(o.validMasterVersions);
- checkUnnamed4377(o.validNodeVersions);
+ checkUnnamed4382(o.validImageTypes);
+ checkUnnamed4383(o.validMasterVersions);
+ checkUnnamed4384(o.validNodeVersions);
}
buildCounterServerConfig--;
}
@@ -2330,14 +2330,14 @@
buildCounterSetAddonsConfigRequest--;
}
-buildUnnamed4378() {
+buildUnnamed4385() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed4378(core.Map<core.String, core.String> o) {
+checkUnnamed4385(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -2352,7 +2352,7 @@
o.labelFingerprint = "foo";
o.name = "foo";
o.projectId = "foo";
- o.resourceLabels = buildUnnamed4378();
+ o.resourceLabels = buildUnnamed4385();
o.zone = "foo";
}
buildCounterSetLabelsRequest--;
@@ -2366,7 +2366,7 @@
unittest.expect(o.labelFingerprint, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.projectId, unittest.equals('foo'));
- checkUnnamed4378(o.resourceLabels);
+ checkUnnamed4385(o.resourceLabels);
unittest.expect(o.zone, unittest.equals('foo'));
}
buildCounterSetLabelsRequest--;
@@ -2399,14 +2399,14 @@
buildCounterSetLegacyAbacRequest--;
}
-buildUnnamed4379() {
+buildUnnamed4386() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4379(core.List<core.String> o) {
+checkUnnamed4386(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2418,7 +2418,7 @@
buildCounterSetLocationsRequest++;
if (buildCounterSetLocationsRequest < 3) {
o.clusterId = "foo";
- o.locations = buildUnnamed4379();
+ o.locations = buildUnnamed4386();
o.name = "foo";
o.projectId = "foo";
o.zone = "foo";
@@ -2431,7 +2431,7 @@
buildCounterSetLocationsRequest++;
if (buildCounterSetLocationsRequest < 3) {
unittest.expect(o.clusterId, unittest.equals('foo'));
- checkUnnamed4379(o.locations);
+ checkUnnamed4386(o.locations);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.projectId, unittest.equals('foo'));
unittest.expect(o.zone, unittest.equals('foo'));
@@ -2826,14 +2826,14 @@
buildCounterUpdateMasterRequest--;
}
-buildUnnamed4380() {
+buildUnnamed4387() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4380(core.List<core.String> o) {
+checkUnnamed4387(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2846,7 +2846,7 @@
if (buildCounterUpdateNodePoolRequest < 3) {
o.clusterId = "foo";
o.imageType = "foo";
- o.locations = buildUnnamed4380();
+ o.locations = buildUnnamed4387();
o.name = "foo";
o.nodePoolId = "foo";
o.nodeVersion = "foo";
@@ -2864,7 +2864,7 @@
if (buildCounterUpdateNodePoolRequest < 3) {
unittest.expect(o.clusterId, unittest.equals('foo'));
unittest.expect(o.imageType, unittest.equals('foo'));
- checkUnnamed4380(o.locations);
+ checkUnnamed4387(o.locations);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.nodePoolId, unittest.equals('foo'));
unittest.expect(o.nodeVersion, unittest.equals('foo'));
@@ -2926,14 +2926,14 @@
buildCounterUpgradeSettings--;
}
-buildUnnamed4381() {
+buildUnnamed4388() {
var o = new core.List<api.UsableSubnetworkSecondaryRange>();
o.add(buildUsableSubnetworkSecondaryRange());
o.add(buildUsableSubnetworkSecondaryRange());
return o;
}
-checkUnnamed4381(core.List<api.UsableSubnetworkSecondaryRange> o) {
+checkUnnamed4388(core.List<api.UsableSubnetworkSecondaryRange> o) {
unittest.expect(o, unittest.hasLength(2));
checkUsableSubnetworkSecondaryRange(o[0]);
checkUsableSubnetworkSecondaryRange(o[1]);
@@ -2946,7 +2946,7 @@
if (buildCounterUsableSubnetwork < 3) {
o.ipCidrRange = "foo";
o.network = "foo";
- o.secondaryIpRanges = buildUnnamed4381();
+ o.secondaryIpRanges = buildUnnamed4388();
o.statusMessage = "foo";
o.subnetwork = "foo";
}
@@ -2959,7 +2959,7 @@
if (buildCounterUsableSubnetwork < 3) {
unittest.expect(o.ipCidrRange, unittest.equals('foo'));
unittest.expect(o.network, unittest.equals('foo'));
- checkUnnamed4381(o.secondaryIpRanges);
+ checkUnnamed4388(o.secondaryIpRanges);
unittest.expect(o.statusMessage, unittest.equals('foo'));
unittest.expect(o.subnetwork, unittest.equals('foo'));
}
@@ -3790,9 +3790,9 @@
api.ProjectsAggregatedUsableSubnetworksResourceApi res =
new api.ContainerApi(mock).projects.aggregated.usableSubnetworks;
var arg_parent = "foo";
- var arg_filter = "foo";
- var arg_pageSize = 42;
var arg_pageToken = "foo";
+ var arg_pageSize = 42;
+ var arg_filter = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3825,11 +3825,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3840,9 +3840,9 @@
}), true);
res
.list(arg_parent,
- filter: arg_filter,
- pageSize: arg_pageSize,
pageToken: arg_pageToken,
+ pageSize: arg_pageSize,
+ filter: arg_filter,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListUsableSubnetworksResponse(response);
@@ -4028,9 +4028,9 @@
api.ProjectsLocationsClustersResourceApi res =
new api.ContainerApi(mock).projects.locations.clusters;
var arg_name = "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;
@@ -4063,11 +4063,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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 = {
@@ -4078,9 +4078,9 @@
}), true);
res
.delete(arg_name,
- zone: arg_zone,
- projectId: arg_projectId,
clusterId: arg_clusterId,
+ projectId: arg_projectId,
+ zone: arg_zone,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkOperation(response);
@@ -4092,9 +4092,9 @@
api.ProjectsLocationsClustersResourceApi res =
new api.ContainerApi(mock).projects.locations.clusters;
var arg_name = "foo";
- var arg_projectId = "foo";
var arg_zone = "foo";
var arg_clusterId = "foo";
+ var arg_projectId = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -4127,11 +4127,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(
- queryMap["projectId"].first, unittest.equals(arg_projectId));
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["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4142,9 +4142,9 @@
}), true);
res
.get(arg_name,
- projectId: arg_projectId,
zone: arg_zone,
clusterId: arg_clusterId,
+ projectId: arg_projectId,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkCluster(response);
@@ -4996,10 +4996,10 @@
api.ProjectsLocationsClustersNodePoolsResourceApi res =
new api.ContainerApi(mock).projects.locations.clusters.nodePools;
var arg_name = "foo";
- var arg_nodePoolId = "foo";
- var arg_projectId = "foo";
var arg_clusterId = "foo";
var arg_zone = "foo";
+ var arg_projectId = "foo";
+ var arg_nodePoolId = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -5033,12 +5033,12 @@
}
}
unittest.expect(
- queryMap["nodePoolId"].first, unittest.equals(arg_nodePoolId));
+ 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["clusterId"].first, unittest.equals(arg_clusterId));
- unittest.expect(queryMap["zone"].first, unittest.equals(arg_zone));
+ queryMap["nodePoolId"].first, unittest.equals(arg_nodePoolId));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -5049,10 +5049,10 @@
}), true);
res
.delete(arg_name,
- nodePoolId: arg_nodePoolId,
- projectId: arg_projectId,
clusterId: arg_clusterId,
zone: arg_zone,
+ projectId: arg_projectId,
+ nodePoolId: arg_nodePoolId,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkOperation(response);
@@ -5064,10 +5064,10 @@
api.ProjectsLocationsClustersNodePoolsResourceApi res =
new 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_clusterId = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -5100,13 +5100,13 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ 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["clusterId"].first, unittest.equals(arg_clusterId));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -5117,10 +5117,10 @@
}), true);
res
.get(arg_name,
+ clusterId: arg_clusterId,
zone: arg_zone,
nodePoolId: arg_nodePoolId,
projectId: arg_projectId,
- clusterId: arg_clusterId,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkNodePool(response);
@@ -5588,9 +5588,9 @@
api.ProjectsLocationsOperationsResourceApi res =
new api.ContainerApi(mock).projects.locations.operations;
var arg_name = "foo";
- var arg_operationId = "foo";
var arg_zone = "foo";
var arg_projectId = "foo";
+ var arg_operationId = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -5623,11 +5623,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(
- queryMap["operationId"].first, unittest.equals(arg_operationId));
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["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -5638,9 +5638,9 @@
}), true);
res
.get(arg_name,
- operationId: arg_operationId,
zone: arg_zone,
projectId: arg_projectId,
+ operationId: arg_operationId,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkOperation(response);
diff --git a/generated/googleapis/test/content/v2_1_test.dart b/generated/googleapis/test/content/v2_1_test.dart
index 37622d7..d532c69 100644
--- a/generated/googleapis/test/content/v2_1_test.dart
+++ b/generated/googleapis/test/content/v2_1_test.dart
@@ -50,53 +50,53 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed1459() {
+buildUnnamed1460() {
var o = new core.List<api.AccountAdsLink>();
o.add(buildAccountAdsLink());
o.add(buildAccountAdsLink());
return o;
}
-checkUnnamed1459(core.List<api.AccountAdsLink> o) {
+checkUnnamed1460(core.List<api.AccountAdsLink> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccountAdsLink(o[0]);
checkAccountAdsLink(o[1]);
}
-buildUnnamed1460() {
+buildUnnamed1461() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1460(core.List<core.String> o) {
+checkUnnamed1461(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1461() {
+buildUnnamed1462() {
var o = new core.List<api.AccountUser>();
o.add(buildAccountUser());
o.add(buildAccountUser());
return o;
}
-checkUnnamed1461(core.List<api.AccountUser> o) {
+checkUnnamed1462(core.List<api.AccountUser> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccountUser(o[0]);
checkAccountUser(o[1]);
}
-buildUnnamed1462() {
+buildUnnamed1463() {
var o = new core.List<api.AccountYouTubeChannelLink>();
o.add(buildAccountYouTubeChannelLink());
o.add(buildAccountYouTubeChannelLink());
return o;
}
-checkUnnamed1462(core.List<api.AccountYouTubeChannelLink> o) {
+checkUnnamed1463(core.List<api.AccountYouTubeChannelLink> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccountYouTubeChannelLink(o[0]);
checkAccountYouTubeChannelLink(o[1]);
@@ -107,19 +107,19 @@
var o = new api.Account();
buildCounterAccount++;
if (buildCounterAccount < 3) {
- o.adsLinks = buildUnnamed1459();
+ o.adsLinks = buildUnnamed1460();
o.adultContent = true;
o.businessInformation = buildAccountBusinessInformation();
o.cssId = "foo";
o.googleMyBusinessLink = buildAccountGoogleMyBusinessLink();
o.id = "foo";
o.kind = "foo";
- o.labelIds = buildUnnamed1460();
+ o.labelIds = buildUnnamed1461();
o.name = "foo";
o.sellerId = "foo";
- o.users = buildUnnamed1461();
+ o.users = buildUnnamed1462();
o.websiteUrl = "foo";
- o.youtubeChannelLinks = buildUnnamed1462();
+ o.youtubeChannelLinks = buildUnnamed1463();
}
buildCounterAccount--;
return o;
@@ -128,19 +128,19 @@
checkAccount(api.Account o) {
buildCounterAccount++;
if (buildCounterAccount < 3) {
- checkUnnamed1459(o.adsLinks);
+ checkUnnamed1460(o.adsLinks);
unittest.expect(o.adultContent, unittest.isTrue);
checkAccountBusinessInformation(o.businessInformation);
unittest.expect(o.cssId, unittest.equals('foo'));
checkAccountGoogleMyBusinessLink(o.googleMyBusinessLink);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1460(o.labelIds);
+ checkUnnamed1461(o.labelIds);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.sellerId, unittest.equals('foo'));
- checkUnnamed1461(o.users);
+ checkUnnamed1462(o.users);
unittest.expect(o.websiteUrl, unittest.equals('foo'));
- checkUnnamed1462(o.youtubeChannelLinks);
+ checkUnnamed1463(o.youtubeChannelLinks);
}
buildCounterAccount--;
}
@@ -283,27 +283,27 @@
buildCounterAccountIdentifier--;
}
-buildUnnamed1463() {
+buildUnnamed1464() {
var o = new core.List<api.AccountStatusAccountLevelIssue>();
o.add(buildAccountStatusAccountLevelIssue());
o.add(buildAccountStatusAccountLevelIssue());
return o;
}
-checkUnnamed1463(core.List<api.AccountStatusAccountLevelIssue> o) {
+checkUnnamed1464(core.List<api.AccountStatusAccountLevelIssue> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccountStatusAccountLevelIssue(o[0]);
checkAccountStatusAccountLevelIssue(o[1]);
}
-buildUnnamed1464() {
+buildUnnamed1465() {
var o = new core.List<api.AccountStatusProducts>();
o.add(buildAccountStatusProducts());
o.add(buildAccountStatusProducts());
return o;
}
-checkUnnamed1464(core.List<api.AccountStatusProducts> o) {
+checkUnnamed1465(core.List<api.AccountStatusProducts> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccountStatusProducts(o[0]);
checkAccountStatusProducts(o[1]);
@@ -315,9 +315,9 @@
buildCounterAccountStatus++;
if (buildCounterAccountStatus < 3) {
o.accountId = "foo";
- o.accountLevelIssues = buildUnnamed1463();
+ o.accountLevelIssues = buildUnnamed1464();
o.kind = "foo";
- o.products = buildUnnamed1464();
+ o.products = buildUnnamed1465();
o.websiteClaimed = true;
}
buildCounterAccountStatus--;
@@ -328,9 +328,9 @@
buildCounterAccountStatus++;
if (buildCounterAccountStatus < 3) {
unittest.expect(o.accountId, unittest.equals('foo'));
- checkUnnamed1463(o.accountLevelIssues);
+ checkUnnamed1464(o.accountLevelIssues);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1464(o.products);
+ checkUnnamed1465(o.products);
unittest.expect(o.websiteClaimed, unittest.isTrue);
}
buildCounterAccountStatus--;
@@ -400,14 +400,14 @@
buildCounterAccountStatusItemLevelIssue--;
}
-buildUnnamed1465() {
+buildUnnamed1466() {
var o = new core.List<api.AccountStatusItemLevelIssue>();
o.add(buildAccountStatusItemLevelIssue());
o.add(buildAccountStatusItemLevelIssue());
return o;
}
-checkUnnamed1465(core.List<api.AccountStatusItemLevelIssue> o) {
+checkUnnamed1466(core.List<api.AccountStatusItemLevelIssue> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccountStatusItemLevelIssue(o[0]);
checkAccountStatusItemLevelIssue(o[1]);
@@ -421,7 +421,7 @@
o.channel = "foo";
o.country = "foo";
o.destination = "foo";
- o.itemLevelIssues = buildUnnamed1465();
+ o.itemLevelIssues = buildUnnamed1466();
o.statistics = buildAccountStatusStatistics();
}
buildCounterAccountStatusProducts--;
@@ -434,7 +434,7 @@
unittest.expect(o.channel, unittest.equals('foo'));
unittest.expect(o.country, unittest.equals('foo'));
unittest.expect(o.destination, unittest.equals('foo'));
- checkUnnamed1465(o.itemLevelIssues);
+ checkUnnamed1466(o.itemLevelIssues);
checkAccountStatusStatistics(o.statistics);
}
buildCounterAccountStatusProducts--;
@@ -465,14 +465,14 @@
buildCounterAccountStatusStatistics--;
}
-buildUnnamed1466() {
+buildUnnamed1467() {
var o = new core.List<api.AccountTaxTaxRule>();
o.add(buildAccountTaxTaxRule());
o.add(buildAccountTaxTaxRule());
return o;
}
-checkUnnamed1466(core.List<api.AccountTaxTaxRule> o) {
+checkUnnamed1467(core.List<api.AccountTaxTaxRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccountTaxTaxRule(o[0]);
checkAccountTaxTaxRule(o[1]);
@@ -485,7 +485,7 @@
if (buildCounterAccountTax < 3) {
o.accountId = "foo";
o.kind = "foo";
- o.rules = buildUnnamed1466();
+ o.rules = buildUnnamed1467();
}
buildCounterAccountTax--;
return o;
@@ -496,7 +496,7 @@
if (buildCounterAccountTax < 3) {
unittest.expect(o.accountId, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1466(o.rules);
+ checkUnnamed1467(o.rules);
}
buildCounterAccountTax--;
}
@@ -576,14 +576,14 @@
buildCounterAccountYouTubeChannelLink--;
}
-buildUnnamed1467() {
+buildUnnamed1468() {
var o = new core.List<api.AccountIdentifier>();
o.add(buildAccountIdentifier());
o.add(buildAccountIdentifier());
return o;
}
-checkUnnamed1467(core.List<api.AccountIdentifier> o) {
+checkUnnamed1468(core.List<api.AccountIdentifier> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccountIdentifier(o[0]);
checkAccountIdentifier(o[1]);
@@ -594,7 +594,7 @@
var o = new api.AccountsAuthInfoResponse();
buildCounterAccountsAuthInfoResponse++;
if (buildCounterAccountsAuthInfoResponse < 3) {
- o.accountIdentifiers = buildUnnamed1467();
+ o.accountIdentifiers = buildUnnamed1468();
o.kind = "foo";
}
buildCounterAccountsAuthInfoResponse--;
@@ -604,7 +604,7 @@
checkAccountsAuthInfoResponse(api.AccountsAuthInfoResponse o) {
buildCounterAccountsAuthInfoResponse++;
if (buildCounterAccountsAuthInfoResponse < 3) {
- checkUnnamed1467(o.accountIdentifiers);
+ checkUnnamed1468(o.accountIdentifiers);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAccountsAuthInfoResponse--;
@@ -629,14 +629,14 @@
buildCounterAccountsClaimWebsiteResponse--;
}
-buildUnnamed1468() {
+buildUnnamed1469() {
var o = new core.List<api.AccountsCustomBatchRequestEntry>();
o.add(buildAccountsCustomBatchRequestEntry());
o.add(buildAccountsCustomBatchRequestEntry());
return o;
}
-checkUnnamed1468(core.List<api.AccountsCustomBatchRequestEntry> o) {
+checkUnnamed1469(core.List<api.AccountsCustomBatchRequestEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccountsCustomBatchRequestEntry(o[0]);
checkAccountsCustomBatchRequestEntry(o[1]);
@@ -647,7 +647,7 @@
var o = new api.AccountsCustomBatchRequest();
buildCounterAccountsCustomBatchRequest++;
if (buildCounterAccountsCustomBatchRequest < 3) {
- o.entries = buildUnnamed1468();
+ o.entries = buildUnnamed1469();
}
buildCounterAccountsCustomBatchRequest--;
return o;
@@ -656,19 +656,19 @@
checkAccountsCustomBatchRequest(api.AccountsCustomBatchRequest o) {
buildCounterAccountsCustomBatchRequest++;
if (buildCounterAccountsCustomBatchRequest < 3) {
- checkUnnamed1468(o.entries);
+ checkUnnamed1469(o.entries);
}
buildCounterAccountsCustomBatchRequest--;
}
-buildUnnamed1469() {
+buildUnnamed1470() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1469(core.List<core.String> o) {
+checkUnnamed1470(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -683,7 +683,7 @@
o.accountId = "foo";
o.batchId = 42;
o.force = true;
- o.labelIds = buildUnnamed1469();
+ o.labelIds = buildUnnamed1470();
o.linkRequest = buildAccountsCustomBatchRequestEntryLinkRequest();
o.merchantId = "foo";
o.method = "foo";
@@ -701,7 +701,7 @@
unittest.expect(o.accountId, unittest.equals('foo'));
unittest.expect(o.batchId, unittest.equals(42));
unittest.expect(o.force, unittest.isTrue);
- checkUnnamed1469(o.labelIds);
+ checkUnnamed1470(o.labelIds);
checkAccountsCustomBatchRequestEntryLinkRequest(o.linkRequest);
unittest.expect(o.merchantId, unittest.equals('foo'));
unittest.expect(o.method, unittest.equals('foo'));
@@ -711,14 +711,14 @@
buildCounterAccountsCustomBatchRequestEntry--;
}
-buildUnnamed1470() {
+buildUnnamed1471() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1470(core.List<core.String> o) {
+checkUnnamed1471(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -732,7 +732,7 @@
o.action = "foo";
o.linkType = "foo";
o.linkedAccountId = "foo";
- o.services = buildUnnamed1470();
+ o.services = buildUnnamed1471();
}
buildCounterAccountsCustomBatchRequestEntryLinkRequest--;
return o;
@@ -745,19 +745,19 @@
unittest.expect(o.action, unittest.equals('foo'));
unittest.expect(o.linkType, unittest.equals('foo'));
unittest.expect(o.linkedAccountId, unittest.equals('foo'));
- checkUnnamed1470(o.services);
+ checkUnnamed1471(o.services);
}
buildCounterAccountsCustomBatchRequestEntryLinkRequest--;
}
-buildUnnamed1471() {
+buildUnnamed1472() {
var o = new core.List<api.AccountsCustomBatchResponseEntry>();
o.add(buildAccountsCustomBatchResponseEntry());
o.add(buildAccountsCustomBatchResponseEntry());
return o;
}
-checkUnnamed1471(core.List<api.AccountsCustomBatchResponseEntry> o) {
+checkUnnamed1472(core.List<api.AccountsCustomBatchResponseEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccountsCustomBatchResponseEntry(o[0]);
checkAccountsCustomBatchResponseEntry(o[1]);
@@ -768,7 +768,7 @@
var o = new api.AccountsCustomBatchResponse();
buildCounterAccountsCustomBatchResponse++;
if (buildCounterAccountsCustomBatchResponse < 3) {
- o.entries = buildUnnamed1471();
+ o.entries = buildUnnamed1472();
o.kind = "foo";
}
buildCounterAccountsCustomBatchResponse--;
@@ -778,7 +778,7 @@
checkAccountsCustomBatchResponse(api.AccountsCustomBatchResponse o) {
buildCounterAccountsCustomBatchResponse++;
if (buildCounterAccountsCustomBatchResponse < 3) {
- checkUnnamed1471(o.entries);
+ checkUnnamed1472(o.entries);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAccountsCustomBatchResponse--;
@@ -809,14 +809,14 @@
buildCounterAccountsCustomBatchResponseEntry--;
}
-buildUnnamed1472() {
+buildUnnamed1473() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1472(core.List<core.String> o) {
+checkUnnamed1473(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -830,7 +830,7 @@
o.action = "foo";
o.linkType = "foo";
o.linkedAccountId = "foo";
- o.services = buildUnnamed1472();
+ o.services = buildUnnamed1473();
}
buildCounterAccountsLinkRequest--;
return o;
@@ -842,7 +842,7 @@
unittest.expect(o.action, unittest.equals('foo'));
unittest.expect(o.linkType, unittest.equals('foo'));
unittest.expect(o.linkedAccountId, unittest.equals('foo'));
- checkUnnamed1472(o.services);
+ checkUnnamed1473(o.services);
}
buildCounterAccountsLinkRequest--;
}
@@ -866,14 +866,14 @@
buildCounterAccountsLinkResponse--;
}
-buildUnnamed1473() {
+buildUnnamed1474() {
var o = new core.List<api.LinkedAccount>();
o.add(buildLinkedAccount());
o.add(buildLinkedAccount());
return o;
}
-checkUnnamed1473(core.List<api.LinkedAccount> o) {
+checkUnnamed1474(core.List<api.LinkedAccount> o) {
unittest.expect(o, unittest.hasLength(2));
checkLinkedAccount(o[0]);
checkLinkedAccount(o[1]);
@@ -885,7 +885,7 @@
buildCounterAccountsListLinksResponse++;
if (buildCounterAccountsListLinksResponse < 3) {
o.kind = "foo";
- o.links = buildUnnamed1473();
+ o.links = buildUnnamed1474();
o.nextPageToken = "foo";
}
buildCounterAccountsListLinksResponse--;
@@ -896,20 +896,20 @@
buildCounterAccountsListLinksResponse++;
if (buildCounterAccountsListLinksResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1473(o.links);
+ checkUnnamed1474(o.links);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterAccountsListLinksResponse--;
}
-buildUnnamed1474() {
+buildUnnamed1475() {
var o = new core.List<api.Account>();
o.add(buildAccount());
o.add(buildAccount());
return o;
}
-checkUnnamed1474(core.List<api.Account> o) {
+checkUnnamed1475(core.List<api.Account> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccount(o[0]);
checkAccount(o[1]);
@@ -922,7 +922,7 @@
if (buildCounterAccountsListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.resources = buildUnnamed1474();
+ o.resources = buildUnnamed1475();
}
buildCounterAccountsListResponse--;
return o;
@@ -933,19 +933,19 @@
if (buildCounterAccountsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1474(o.resources);
+ checkUnnamed1475(o.resources);
}
buildCounterAccountsListResponse--;
}
-buildUnnamed1475() {
+buildUnnamed1476() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1475(core.List<core.String> o) {
+checkUnnamed1476(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -956,7 +956,7 @@
var o = new api.AccountsUpdateLabelsRequest();
buildCounterAccountsUpdateLabelsRequest++;
if (buildCounterAccountsUpdateLabelsRequest < 3) {
- o.labelIds = buildUnnamed1475();
+ o.labelIds = buildUnnamed1476();
}
buildCounterAccountsUpdateLabelsRequest--;
return o;
@@ -965,7 +965,7 @@
checkAccountsUpdateLabelsRequest(api.AccountsUpdateLabelsRequest o) {
buildCounterAccountsUpdateLabelsRequest++;
if (buildCounterAccountsUpdateLabelsRequest < 3) {
- checkUnnamed1475(o.labelIds);
+ checkUnnamed1476(o.labelIds);
}
buildCounterAccountsUpdateLabelsRequest--;
}
@@ -989,14 +989,14 @@
buildCounterAccountsUpdateLabelsResponse--;
}
-buildUnnamed1476() {
+buildUnnamed1477() {
var o = new core.List<api.AccountstatusesCustomBatchRequestEntry>();
o.add(buildAccountstatusesCustomBatchRequestEntry());
o.add(buildAccountstatusesCustomBatchRequestEntry());
return o;
}
-checkUnnamed1476(core.List<api.AccountstatusesCustomBatchRequestEntry> o) {
+checkUnnamed1477(core.List<api.AccountstatusesCustomBatchRequestEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccountstatusesCustomBatchRequestEntry(o[0]);
checkAccountstatusesCustomBatchRequestEntry(o[1]);
@@ -1007,7 +1007,7 @@
var o = new api.AccountstatusesCustomBatchRequest();
buildCounterAccountstatusesCustomBatchRequest++;
if (buildCounterAccountstatusesCustomBatchRequest < 3) {
- o.entries = buildUnnamed1476();
+ o.entries = buildUnnamed1477();
}
buildCounterAccountstatusesCustomBatchRequest--;
return o;
@@ -1017,19 +1017,19 @@
api.AccountstatusesCustomBatchRequest o) {
buildCounterAccountstatusesCustomBatchRequest++;
if (buildCounterAccountstatusesCustomBatchRequest < 3) {
- checkUnnamed1476(o.entries);
+ checkUnnamed1477(o.entries);
}
buildCounterAccountstatusesCustomBatchRequest--;
}
-buildUnnamed1477() {
+buildUnnamed1478() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1477(core.List<core.String> o) {
+checkUnnamed1478(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1042,7 +1042,7 @@
if (buildCounterAccountstatusesCustomBatchRequestEntry < 3) {
o.accountId = "foo";
o.batchId = 42;
- o.destinations = buildUnnamed1477();
+ o.destinations = buildUnnamed1478();
o.merchantId = "foo";
o.method = "foo";
}
@@ -1056,21 +1056,21 @@
if (buildCounterAccountstatusesCustomBatchRequestEntry < 3) {
unittest.expect(o.accountId, unittest.equals('foo'));
unittest.expect(o.batchId, unittest.equals(42));
- checkUnnamed1477(o.destinations);
+ checkUnnamed1478(o.destinations);
unittest.expect(o.merchantId, unittest.equals('foo'));
unittest.expect(o.method, unittest.equals('foo'));
}
buildCounterAccountstatusesCustomBatchRequestEntry--;
}
-buildUnnamed1478() {
+buildUnnamed1479() {
var o = new core.List<api.AccountstatusesCustomBatchResponseEntry>();
o.add(buildAccountstatusesCustomBatchResponseEntry());
o.add(buildAccountstatusesCustomBatchResponseEntry());
return o;
}
-checkUnnamed1478(core.List<api.AccountstatusesCustomBatchResponseEntry> o) {
+checkUnnamed1479(core.List<api.AccountstatusesCustomBatchResponseEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccountstatusesCustomBatchResponseEntry(o[0]);
checkAccountstatusesCustomBatchResponseEntry(o[1]);
@@ -1081,7 +1081,7 @@
var o = new api.AccountstatusesCustomBatchResponse();
buildCounterAccountstatusesCustomBatchResponse++;
if (buildCounterAccountstatusesCustomBatchResponse < 3) {
- o.entries = buildUnnamed1478();
+ o.entries = buildUnnamed1479();
o.kind = "foo";
}
buildCounterAccountstatusesCustomBatchResponse--;
@@ -1092,7 +1092,7 @@
api.AccountstatusesCustomBatchResponse o) {
buildCounterAccountstatusesCustomBatchResponse++;
if (buildCounterAccountstatusesCustomBatchResponse < 3) {
- checkUnnamed1478(o.entries);
+ checkUnnamed1479(o.entries);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAccountstatusesCustomBatchResponse--;
@@ -1122,14 +1122,14 @@
buildCounterAccountstatusesCustomBatchResponseEntry--;
}
-buildUnnamed1479() {
+buildUnnamed1480() {
var o = new core.List<api.AccountStatus>();
o.add(buildAccountStatus());
o.add(buildAccountStatus());
return o;
}
-checkUnnamed1479(core.List<api.AccountStatus> o) {
+checkUnnamed1480(core.List<api.AccountStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccountStatus(o[0]);
checkAccountStatus(o[1]);
@@ -1142,7 +1142,7 @@
if (buildCounterAccountstatusesListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.resources = buildUnnamed1479();
+ o.resources = buildUnnamed1480();
}
buildCounterAccountstatusesListResponse--;
return o;
@@ -1153,19 +1153,19 @@
if (buildCounterAccountstatusesListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1479(o.resources);
+ checkUnnamed1480(o.resources);
}
buildCounterAccountstatusesListResponse--;
}
-buildUnnamed1480() {
+buildUnnamed1481() {
var o = new core.List<api.AccounttaxCustomBatchRequestEntry>();
o.add(buildAccounttaxCustomBatchRequestEntry());
o.add(buildAccounttaxCustomBatchRequestEntry());
return o;
}
-checkUnnamed1480(core.List<api.AccounttaxCustomBatchRequestEntry> o) {
+checkUnnamed1481(core.List<api.AccounttaxCustomBatchRequestEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccounttaxCustomBatchRequestEntry(o[0]);
checkAccounttaxCustomBatchRequestEntry(o[1]);
@@ -1176,7 +1176,7 @@
var o = new api.AccounttaxCustomBatchRequest();
buildCounterAccounttaxCustomBatchRequest++;
if (buildCounterAccounttaxCustomBatchRequest < 3) {
- o.entries = buildUnnamed1480();
+ o.entries = buildUnnamed1481();
}
buildCounterAccounttaxCustomBatchRequest--;
return o;
@@ -1185,7 +1185,7 @@
checkAccounttaxCustomBatchRequest(api.AccounttaxCustomBatchRequest o) {
buildCounterAccounttaxCustomBatchRequest++;
if (buildCounterAccounttaxCustomBatchRequest < 3) {
- checkUnnamed1480(o.entries);
+ checkUnnamed1481(o.entries);
}
buildCounterAccounttaxCustomBatchRequest--;
}
@@ -1218,14 +1218,14 @@
buildCounterAccounttaxCustomBatchRequestEntry--;
}
-buildUnnamed1481() {
+buildUnnamed1482() {
var o = new core.List<api.AccounttaxCustomBatchResponseEntry>();
o.add(buildAccounttaxCustomBatchResponseEntry());
o.add(buildAccounttaxCustomBatchResponseEntry());
return o;
}
-checkUnnamed1481(core.List<api.AccounttaxCustomBatchResponseEntry> o) {
+checkUnnamed1482(core.List<api.AccounttaxCustomBatchResponseEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccounttaxCustomBatchResponseEntry(o[0]);
checkAccounttaxCustomBatchResponseEntry(o[1]);
@@ -1236,7 +1236,7 @@
var o = new api.AccounttaxCustomBatchResponse();
buildCounterAccounttaxCustomBatchResponse++;
if (buildCounterAccounttaxCustomBatchResponse < 3) {
- o.entries = buildUnnamed1481();
+ o.entries = buildUnnamed1482();
o.kind = "foo";
}
buildCounterAccounttaxCustomBatchResponse--;
@@ -1246,7 +1246,7 @@
checkAccounttaxCustomBatchResponse(api.AccounttaxCustomBatchResponse o) {
buildCounterAccounttaxCustomBatchResponse++;
if (buildCounterAccounttaxCustomBatchResponse < 3) {
- checkUnnamed1481(o.entries);
+ checkUnnamed1482(o.entries);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAccounttaxCustomBatchResponse--;
@@ -1278,14 +1278,14 @@
buildCounterAccounttaxCustomBatchResponseEntry--;
}
-buildUnnamed1482() {
+buildUnnamed1483() {
var o = new core.List<api.AccountTax>();
o.add(buildAccountTax());
o.add(buildAccountTax());
return o;
}
-checkUnnamed1482(core.List<api.AccountTax> o) {
+checkUnnamed1483(core.List<api.AccountTax> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccountTax(o[0]);
checkAccountTax(o[1]);
@@ -1298,7 +1298,7 @@
if (buildCounterAccounttaxListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.resources = buildUnnamed1482();
+ o.resources = buildUnnamed1483();
}
buildCounterAccounttaxListResponse--;
return o;
@@ -1309,7 +1309,7 @@
if (buildCounterAccounttaxListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1482(o.resources);
+ checkUnnamed1483(o.resources);
}
buildCounterAccounttaxListResponse--;
}
@@ -1335,14 +1335,14 @@
buildCounterAmount--;
}
-buildUnnamed1483() {
+buildUnnamed1484() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1483(core.List<core.String> o) {
+checkUnnamed1484(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1353,7 +1353,7 @@
var o = new api.BusinessDayConfig();
buildCounterBusinessDayConfig++;
if (buildCounterBusinessDayConfig < 3) {
- o.businessDays = buildUnnamed1483();
+ o.businessDays = buildUnnamed1484();
}
buildCounterBusinessDayConfig--;
return o;
@@ -1362,7 +1362,7 @@
checkBusinessDayConfig(api.BusinessDayConfig o) {
buildCounterBusinessDayConfig++;
if (buildCounterBusinessDayConfig < 3) {
- checkUnnamed1483(o.businessDays);
+ checkUnnamed1484(o.businessDays);
}
buildCounterBusinessDayConfig--;
}
@@ -1396,14 +1396,14 @@
buildCounterCarrierRate--;
}
-buildUnnamed1484() {
+buildUnnamed1485() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1484(core.List<core.String> o) {
+checkUnnamed1485(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1416,7 +1416,7 @@
if (buildCounterCarriersCarrier < 3) {
o.country = "foo";
o.name = "foo";
- o.services = buildUnnamed1484();
+ o.services = buildUnnamed1485();
}
buildCounterCarriersCarrier--;
return o;
@@ -1427,19 +1427,19 @@
if (buildCounterCarriersCarrier < 3) {
unittest.expect(o.country, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1484(o.services);
+ checkUnnamed1485(o.services);
}
buildCounterCarriersCarrier--;
}
-buildUnnamed1485() {
+buildUnnamed1486() {
var o = new core.List<api.CustomAttribute>();
o.add(buildCustomAttribute());
o.add(buildCustomAttribute());
return o;
}
-checkUnnamed1485(core.List<api.CustomAttribute> o) {
+checkUnnamed1486(core.List<api.CustomAttribute> o) {
unittest.expect(o, unittest.hasLength(2));
checkCustomAttribute(o[0]);
checkCustomAttribute(o[1]);
@@ -1450,7 +1450,7 @@
var o = new api.CustomAttribute();
buildCounterCustomAttribute++;
if (buildCounterCustomAttribute < 3) {
- o.groupValues = buildUnnamed1485();
+ o.groupValues = buildUnnamed1486();
o.name = "foo";
o.value = "foo";
}
@@ -1461,7 +1461,7 @@
checkCustomAttribute(api.CustomAttribute o) {
buildCounterCustomAttribute++;
if (buildCounterCustomAttribute < 3) {
- checkUnnamed1485(o.groupValues);
+ checkUnnamed1486(o.groupValues);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.value, unittest.equals('foo'));
}
@@ -1512,14 +1512,14 @@
buildCounterCutoffTime--;
}
-buildUnnamed1486() {
+buildUnnamed1487() {
var o = new core.List<api.DatafeedTarget>();
o.add(buildDatafeedTarget());
o.add(buildDatafeedTarget());
return o;
}
-checkUnnamed1486(core.List<api.DatafeedTarget> o) {
+checkUnnamed1487(core.List<api.DatafeedTarget> o) {
unittest.expect(o, unittest.hasLength(2));
checkDatafeedTarget(o[0]);
checkDatafeedTarget(o[1]);
@@ -1538,7 +1538,7 @@
o.id = "foo";
o.kind = "foo";
o.name = "foo";
- o.targets = buildUnnamed1486();
+ o.targets = buildUnnamed1487();
}
buildCounterDatafeed--;
return o;
@@ -1555,7 +1555,7 @@
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1486(o.targets);
+ checkUnnamed1487(o.targets);
}
buildCounterDatafeed--;
}
@@ -1618,19 +1618,6 @@
buildCounterDatafeedFormat--;
}
-buildUnnamed1487() {
- var o = new core.List<api.DatafeedStatusError>();
- o.add(buildDatafeedStatusError());
- o.add(buildDatafeedStatusError());
- return o;
-}
-
-checkUnnamed1487(core.List<api.DatafeedStatusError> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkDatafeedStatusError(o[0]);
- checkDatafeedStatusError(o[1]);
-}
-
buildUnnamed1488() {
var o = new core.List<api.DatafeedStatusError>();
o.add(buildDatafeedStatusError());
@@ -1644,6 +1631,19 @@
checkDatafeedStatusError(o[1]);
}
+buildUnnamed1489() {
+ var o = new core.List<api.DatafeedStatusError>();
+ o.add(buildDatafeedStatusError());
+ o.add(buildDatafeedStatusError());
+ return o;
+}
+
+checkUnnamed1489(core.List<api.DatafeedStatusError> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkDatafeedStatusError(o[0]);
+ checkDatafeedStatusError(o[1]);
+}
+
core.int buildCounterDatafeedStatus = 0;
buildDatafeedStatus() {
var o = new api.DatafeedStatus();
@@ -1651,14 +1651,14 @@
if (buildCounterDatafeedStatus < 3) {
o.country = "foo";
o.datafeedId = "foo";
- o.errors = buildUnnamed1487();
+ o.errors = buildUnnamed1488();
o.itemsTotal = "foo";
o.itemsValid = "foo";
o.kind = "foo";
o.language = "foo";
o.lastUploadDate = "foo";
o.processingStatus = "foo";
- o.warnings = buildUnnamed1488();
+ o.warnings = buildUnnamed1489();
}
buildCounterDatafeedStatus--;
return o;
@@ -1669,26 +1669,26 @@
if (buildCounterDatafeedStatus < 3) {
unittest.expect(o.country, unittest.equals('foo'));
unittest.expect(o.datafeedId, unittest.equals('foo'));
- checkUnnamed1487(o.errors);
+ checkUnnamed1488(o.errors);
unittest.expect(o.itemsTotal, unittest.equals('foo'));
unittest.expect(o.itemsValid, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.language, unittest.equals('foo'));
unittest.expect(o.lastUploadDate, unittest.equals('foo'));
unittest.expect(o.processingStatus, unittest.equals('foo'));
- checkUnnamed1488(o.warnings);
+ checkUnnamed1489(o.warnings);
}
buildCounterDatafeedStatus--;
}
-buildUnnamed1489() {
+buildUnnamed1490() {
var o = new core.List<api.DatafeedStatusExample>();
o.add(buildDatafeedStatusExample());
o.add(buildDatafeedStatusExample());
return o;
}
-checkUnnamed1489(core.List<api.DatafeedStatusExample> o) {
+checkUnnamed1490(core.List<api.DatafeedStatusExample> o) {
unittest.expect(o, unittest.hasLength(2));
checkDatafeedStatusExample(o[0]);
checkDatafeedStatusExample(o[1]);
@@ -1701,7 +1701,7 @@
if (buildCounterDatafeedStatusError < 3) {
o.code = "foo";
o.count = "foo";
- o.examples = buildUnnamed1489();
+ o.examples = buildUnnamed1490();
o.message = "foo";
}
buildCounterDatafeedStatusError--;
@@ -1713,7 +1713,7 @@
if (buildCounterDatafeedStatusError < 3) {
unittest.expect(o.code, unittest.equals('foo'));
unittest.expect(o.count, unittest.equals('foo'));
- checkUnnamed1489(o.examples);
+ checkUnnamed1490(o.examples);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterDatafeedStatusError--;
@@ -1742,19 +1742,6 @@
buildCounterDatafeedStatusExample--;
}
-buildUnnamed1490() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1490(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed1491() {
var o = new core.List<core.String>();
o.add("foo");
@@ -1768,14 +1755,27 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed1492() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1492(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
core.int buildCounterDatafeedTarget = 0;
buildDatafeedTarget() {
var o = new api.DatafeedTarget();
buildCounterDatafeedTarget++;
if (buildCounterDatafeedTarget < 3) {
o.country = "foo";
- o.excludedDestinations = buildUnnamed1490();
- o.includedDestinations = buildUnnamed1491();
+ o.excludedDestinations = buildUnnamed1491();
+ o.includedDestinations = buildUnnamed1492();
o.language = "foo";
}
buildCounterDatafeedTarget--;
@@ -1786,21 +1786,21 @@
buildCounterDatafeedTarget++;
if (buildCounterDatafeedTarget < 3) {
unittest.expect(o.country, unittest.equals('foo'));
- checkUnnamed1490(o.excludedDestinations);
- checkUnnamed1491(o.includedDestinations);
+ checkUnnamed1491(o.excludedDestinations);
+ checkUnnamed1492(o.includedDestinations);
unittest.expect(o.language, unittest.equals('foo'));
}
buildCounterDatafeedTarget--;
}
-buildUnnamed1492() {
+buildUnnamed1493() {
var o = new core.List<api.DatafeedsCustomBatchRequestEntry>();
o.add(buildDatafeedsCustomBatchRequestEntry());
o.add(buildDatafeedsCustomBatchRequestEntry());
return o;
}
-checkUnnamed1492(core.List<api.DatafeedsCustomBatchRequestEntry> o) {
+checkUnnamed1493(core.List<api.DatafeedsCustomBatchRequestEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkDatafeedsCustomBatchRequestEntry(o[0]);
checkDatafeedsCustomBatchRequestEntry(o[1]);
@@ -1811,7 +1811,7 @@
var o = new api.DatafeedsCustomBatchRequest();
buildCounterDatafeedsCustomBatchRequest++;
if (buildCounterDatafeedsCustomBatchRequest < 3) {
- o.entries = buildUnnamed1492();
+ o.entries = buildUnnamed1493();
}
buildCounterDatafeedsCustomBatchRequest--;
return o;
@@ -1820,7 +1820,7 @@
checkDatafeedsCustomBatchRequest(api.DatafeedsCustomBatchRequest o) {
buildCounterDatafeedsCustomBatchRequest++;
if (buildCounterDatafeedsCustomBatchRequest < 3) {
- checkUnnamed1492(o.entries);
+ checkUnnamed1493(o.entries);
}
buildCounterDatafeedsCustomBatchRequest--;
}
@@ -1852,14 +1852,14 @@
buildCounterDatafeedsCustomBatchRequestEntry--;
}
-buildUnnamed1493() {
+buildUnnamed1494() {
var o = new core.List<api.DatafeedsCustomBatchResponseEntry>();
o.add(buildDatafeedsCustomBatchResponseEntry());
o.add(buildDatafeedsCustomBatchResponseEntry());
return o;
}
-checkUnnamed1493(core.List<api.DatafeedsCustomBatchResponseEntry> o) {
+checkUnnamed1494(core.List<api.DatafeedsCustomBatchResponseEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkDatafeedsCustomBatchResponseEntry(o[0]);
checkDatafeedsCustomBatchResponseEntry(o[1]);
@@ -1870,7 +1870,7 @@
var o = new api.DatafeedsCustomBatchResponse();
buildCounterDatafeedsCustomBatchResponse++;
if (buildCounterDatafeedsCustomBatchResponse < 3) {
- o.entries = buildUnnamed1493();
+ o.entries = buildUnnamed1494();
o.kind = "foo";
}
buildCounterDatafeedsCustomBatchResponse--;
@@ -1880,7 +1880,7 @@
checkDatafeedsCustomBatchResponse(api.DatafeedsCustomBatchResponse o) {
buildCounterDatafeedsCustomBatchResponse++;
if (buildCounterDatafeedsCustomBatchResponse < 3) {
- checkUnnamed1493(o.entries);
+ checkUnnamed1494(o.entries);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterDatafeedsCustomBatchResponse--;
@@ -1929,14 +1929,14 @@
buildCounterDatafeedsFetchNowResponse--;
}
-buildUnnamed1494() {
+buildUnnamed1495() {
var o = new core.List<api.Datafeed>();
o.add(buildDatafeed());
o.add(buildDatafeed());
return o;
}
-checkUnnamed1494(core.List<api.Datafeed> o) {
+checkUnnamed1495(core.List<api.Datafeed> o) {
unittest.expect(o, unittest.hasLength(2));
checkDatafeed(o[0]);
checkDatafeed(o[1]);
@@ -1949,7 +1949,7 @@
if (buildCounterDatafeedsListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.resources = buildUnnamed1494();
+ o.resources = buildUnnamed1495();
}
buildCounterDatafeedsListResponse--;
return o;
@@ -1960,19 +1960,19 @@
if (buildCounterDatafeedsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1494(o.resources);
+ checkUnnamed1495(o.resources);
}
buildCounterDatafeedsListResponse--;
}
-buildUnnamed1495() {
+buildUnnamed1496() {
var o = new core.List<api.DatafeedstatusesCustomBatchRequestEntry>();
o.add(buildDatafeedstatusesCustomBatchRequestEntry());
o.add(buildDatafeedstatusesCustomBatchRequestEntry());
return o;
}
-checkUnnamed1495(core.List<api.DatafeedstatusesCustomBatchRequestEntry> o) {
+checkUnnamed1496(core.List<api.DatafeedstatusesCustomBatchRequestEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkDatafeedstatusesCustomBatchRequestEntry(o[0]);
checkDatafeedstatusesCustomBatchRequestEntry(o[1]);
@@ -1983,7 +1983,7 @@
var o = new api.DatafeedstatusesCustomBatchRequest();
buildCounterDatafeedstatusesCustomBatchRequest++;
if (buildCounterDatafeedstatusesCustomBatchRequest < 3) {
- o.entries = buildUnnamed1495();
+ o.entries = buildUnnamed1496();
}
buildCounterDatafeedstatusesCustomBatchRequest--;
return o;
@@ -1993,7 +1993,7 @@
api.DatafeedstatusesCustomBatchRequest o) {
buildCounterDatafeedstatusesCustomBatchRequest++;
if (buildCounterDatafeedstatusesCustomBatchRequest < 3) {
- checkUnnamed1495(o.entries);
+ checkUnnamed1496(o.entries);
}
buildCounterDatafeedstatusesCustomBatchRequest--;
}
@@ -2028,14 +2028,14 @@
buildCounterDatafeedstatusesCustomBatchRequestEntry--;
}
-buildUnnamed1496() {
+buildUnnamed1497() {
var o = new core.List<api.DatafeedstatusesCustomBatchResponseEntry>();
o.add(buildDatafeedstatusesCustomBatchResponseEntry());
o.add(buildDatafeedstatusesCustomBatchResponseEntry());
return o;
}
-checkUnnamed1496(core.List<api.DatafeedstatusesCustomBatchResponseEntry> o) {
+checkUnnamed1497(core.List<api.DatafeedstatusesCustomBatchResponseEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkDatafeedstatusesCustomBatchResponseEntry(o[0]);
checkDatafeedstatusesCustomBatchResponseEntry(o[1]);
@@ -2046,7 +2046,7 @@
var o = new api.DatafeedstatusesCustomBatchResponse();
buildCounterDatafeedstatusesCustomBatchResponse++;
if (buildCounterDatafeedstatusesCustomBatchResponse < 3) {
- o.entries = buildUnnamed1496();
+ o.entries = buildUnnamed1497();
o.kind = "foo";
}
buildCounterDatafeedstatusesCustomBatchResponse--;
@@ -2057,7 +2057,7 @@
api.DatafeedstatusesCustomBatchResponse o) {
buildCounterDatafeedstatusesCustomBatchResponse++;
if (buildCounterDatafeedstatusesCustomBatchResponse < 3) {
- checkUnnamed1496(o.entries);
+ checkUnnamed1497(o.entries);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterDatafeedstatusesCustomBatchResponse--;
@@ -2087,14 +2087,14 @@
buildCounterDatafeedstatusesCustomBatchResponseEntry--;
}
-buildUnnamed1497() {
+buildUnnamed1498() {
var o = new core.List<api.DatafeedStatus>();
o.add(buildDatafeedStatus());
o.add(buildDatafeedStatus());
return o;
}
-checkUnnamed1497(core.List<api.DatafeedStatus> o) {
+checkUnnamed1498(core.List<api.DatafeedStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkDatafeedStatus(o[0]);
checkDatafeedStatus(o[1]);
@@ -2107,7 +2107,7 @@
if (buildCounterDatafeedstatusesListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.resources = buildUnnamed1497();
+ o.resources = buildUnnamed1498();
}
buildCounterDatafeedstatusesListResponse--;
return o;
@@ -2118,19 +2118,19 @@
if (buildCounterDatafeedstatusesListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1497(o.resources);
+ checkUnnamed1498(o.resources);
}
buildCounterDatafeedstatusesListResponse--;
}
-buildUnnamed1498() {
+buildUnnamed1499() {
var o = new core.List<api.HolidayCutoff>();
o.add(buildHolidayCutoff());
o.add(buildHolidayCutoff());
return o;
}
-checkUnnamed1498(core.List<api.HolidayCutoff> o) {
+checkUnnamed1499(core.List<api.HolidayCutoff> o) {
unittest.expect(o, unittest.hasLength(2));
checkHolidayCutoff(o[0]);
checkHolidayCutoff(o[1]);
@@ -2143,7 +2143,7 @@
if (buildCounterDeliveryTime < 3) {
o.cutoffTime = buildCutoffTime();
o.handlingBusinessDayConfig = buildBusinessDayConfig();
- o.holidayCutoffs = buildUnnamed1498();
+ o.holidayCutoffs = buildUnnamed1499();
o.maxHandlingTimeInDays = 42;
o.maxTransitTimeInDays = 42;
o.minHandlingTimeInDays = 42;
@@ -2160,7 +2160,7 @@
if (buildCounterDeliveryTime < 3) {
checkCutoffTime(o.cutoffTime);
checkBusinessDayConfig(o.handlingBusinessDayConfig);
- checkUnnamed1498(o.holidayCutoffs);
+ checkUnnamed1499(o.holidayCutoffs);
unittest.expect(o.maxHandlingTimeInDays, unittest.equals(42));
unittest.expect(o.maxTransitTimeInDays, unittest.equals(42));
unittest.expect(o.minHandlingTimeInDays, unittest.equals(42));
@@ -2194,14 +2194,14 @@
buildCounterError--;
}
-buildUnnamed1499() {
+buildUnnamed1500() {
var o = new core.List<api.Error>();
o.add(buildError());
o.add(buildError());
return o;
}
-checkUnnamed1499(core.List<api.Error> o) {
+checkUnnamed1500(core.List<api.Error> o) {
unittest.expect(o, unittest.hasLength(2));
checkError(o[0]);
checkError(o[1]);
@@ -2213,7 +2213,7 @@
buildCounterErrors++;
if (buildCounterErrors < 3) {
o.code = 42;
- o.errors = buildUnnamed1499();
+ o.errors = buildUnnamed1500();
o.message = "foo";
}
buildCounterErrors--;
@@ -2224,20 +2224,20 @@
buildCounterErrors++;
if (buildCounterErrors < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed1499(o.errors);
+ checkUnnamed1500(o.errors);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterErrors--;
}
-buildUnnamed1500() {
+buildUnnamed1501() {
var o = new core.List<api.GmbAccountsGmbAccount>();
o.add(buildGmbAccountsGmbAccount());
o.add(buildGmbAccountsGmbAccount());
return o;
}
-checkUnnamed1500(core.List<api.GmbAccountsGmbAccount> o) {
+checkUnnamed1501(core.List<api.GmbAccountsGmbAccount> o) {
unittest.expect(o, unittest.hasLength(2));
checkGmbAccountsGmbAccount(o[0]);
checkGmbAccountsGmbAccount(o[1]);
@@ -2249,7 +2249,7 @@
buildCounterGmbAccounts++;
if (buildCounterGmbAccounts < 3) {
o.accountId = "foo";
- o.gmbAccounts = buildUnnamed1500();
+ o.gmbAccounts = buildUnnamed1501();
}
buildCounterGmbAccounts--;
return o;
@@ -2259,7 +2259,7 @@
buildCounterGmbAccounts++;
if (buildCounterGmbAccounts < 3) {
unittest.expect(o.accountId, unittest.equals('foo'));
- checkUnnamed1500(o.gmbAccounts);
+ checkUnnamed1501(o.gmbAccounts);
}
buildCounterGmbAccounts--;
}
@@ -2289,32 +2289,19 @@
buildCounterGmbAccountsGmbAccount--;
}
-buildUnnamed1501() {
+buildUnnamed1502() {
var o = new core.List<api.LocationIdSet>();
o.add(buildLocationIdSet());
o.add(buildLocationIdSet());
return o;
}
-checkUnnamed1501(core.List<api.LocationIdSet> o) {
+checkUnnamed1502(core.List<api.LocationIdSet> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocationIdSet(o[0]);
checkLocationIdSet(o[1]);
}
-buildUnnamed1502() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1502(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed1503() {
var o = new core.List<core.String>();
o.add("foo");
@@ -2329,26 +2316,39 @@
}
buildUnnamed1504() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1504(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed1505() {
var o = new core.List<api.Price>();
o.add(buildPrice());
o.add(buildPrice());
return o;
}
-checkUnnamed1504(core.List<api.Price> o) {
+checkUnnamed1505(core.List<api.Price> o) {
unittest.expect(o, unittest.hasLength(2));
checkPrice(o[0]);
checkPrice(o[1]);
}
-buildUnnamed1505() {
+buildUnnamed1506() {
var o = new core.List<api.Weight>();
o.add(buildWeight());
o.add(buildWeight());
return o;
}
-checkUnnamed1505(core.List<api.Weight> o) {
+checkUnnamed1506(core.List<api.Weight> o) {
unittest.expect(o, unittest.hasLength(2));
checkWeight(o[0]);
checkWeight(o[1]);
@@ -2359,11 +2359,11 @@
var o = new api.Headers();
buildCounterHeaders++;
if (buildCounterHeaders < 3) {
- o.locations = buildUnnamed1501();
- o.numberOfItems = buildUnnamed1502();
- o.postalCodeGroupNames = buildUnnamed1503();
- o.prices = buildUnnamed1504();
- o.weights = buildUnnamed1505();
+ o.locations = buildUnnamed1502();
+ o.numberOfItems = buildUnnamed1503();
+ o.postalCodeGroupNames = buildUnnamed1504();
+ o.prices = buildUnnamed1505();
+ o.weights = buildUnnamed1506();
}
buildCounterHeaders--;
return o;
@@ -2372,11 +2372,11 @@
checkHeaders(api.Headers o) {
buildCounterHeaders++;
if (buildCounterHeaders < 3) {
- checkUnnamed1501(o.locations);
- checkUnnamed1502(o.numberOfItems);
- checkUnnamed1503(o.postalCodeGroupNames);
- checkUnnamed1504(o.prices);
- checkUnnamed1505(o.weights);
+ checkUnnamed1502(o.locations);
+ checkUnnamed1503(o.numberOfItems);
+ checkUnnamed1504(o.postalCodeGroupNames);
+ checkUnnamed1505(o.prices);
+ checkUnnamed1506(o.weights);
}
buildCounterHeaders--;
}
@@ -2458,14 +2458,14 @@
buildCounterInstallment--;
}
-buildUnnamed1506() {
+buildUnnamed1507() {
var o = new core.List<api.InvoiceSummaryAdditionalChargeSummary>();
o.add(buildInvoiceSummaryAdditionalChargeSummary());
o.add(buildInvoiceSummaryAdditionalChargeSummary());
return o;
}
-checkUnnamed1506(core.List<api.InvoiceSummaryAdditionalChargeSummary> o) {
+checkUnnamed1507(core.List<api.InvoiceSummaryAdditionalChargeSummary> o) {
unittest.expect(o, unittest.hasLength(2));
checkInvoiceSummaryAdditionalChargeSummary(o[0]);
checkInvoiceSummaryAdditionalChargeSummary(o[1]);
@@ -2476,7 +2476,7 @@
var o = new api.InvoiceSummary();
buildCounterInvoiceSummary++;
if (buildCounterInvoiceSummary < 3) {
- o.additionalChargeSummaries = buildUnnamed1506();
+ o.additionalChargeSummaries = buildUnnamed1507();
o.productTotal = buildAmount();
}
buildCounterInvoiceSummary--;
@@ -2486,7 +2486,7 @@
checkInvoiceSummary(api.InvoiceSummary o) {
buildCounterInvoiceSummary++;
if (buildCounterInvoiceSummary < 3) {
- checkUnnamed1506(o.additionalChargeSummaries);
+ checkUnnamed1507(o.additionalChargeSummaries);
checkAmount(o.productTotal);
}
buildCounterInvoiceSummary--;
@@ -2635,14 +2635,14 @@
buildCounterLiaPosDataProvider--;
}
-buildUnnamed1507() {
+buildUnnamed1508() {
var o = new core.List<api.LiaCountrySettings>();
o.add(buildLiaCountrySettings());
o.add(buildLiaCountrySettings());
return o;
}
-checkUnnamed1507(core.List<api.LiaCountrySettings> o) {
+checkUnnamed1508(core.List<api.LiaCountrySettings> o) {
unittest.expect(o, unittest.hasLength(2));
checkLiaCountrySettings(o[0]);
checkLiaCountrySettings(o[1]);
@@ -2654,7 +2654,7 @@
buildCounterLiaSettings++;
if (buildCounterLiaSettings < 3) {
o.accountId = "foo";
- o.countrySettings = buildUnnamed1507();
+ o.countrySettings = buildUnnamed1508();
o.kind = "foo";
}
buildCounterLiaSettings--;
@@ -2665,20 +2665,20 @@
buildCounterLiaSettings++;
if (buildCounterLiaSettings < 3) {
unittest.expect(o.accountId, unittest.equals('foo'));
- checkUnnamed1507(o.countrySettings);
+ checkUnnamed1508(o.countrySettings);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterLiaSettings--;
}
-buildUnnamed1508() {
+buildUnnamed1509() {
var o = new core.List<api.LiasettingsCustomBatchRequestEntry>();
o.add(buildLiasettingsCustomBatchRequestEntry());
o.add(buildLiasettingsCustomBatchRequestEntry());
return o;
}
-checkUnnamed1508(core.List<api.LiasettingsCustomBatchRequestEntry> o) {
+checkUnnamed1509(core.List<api.LiasettingsCustomBatchRequestEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkLiasettingsCustomBatchRequestEntry(o[0]);
checkLiasettingsCustomBatchRequestEntry(o[1]);
@@ -2689,7 +2689,7 @@
var o = new api.LiasettingsCustomBatchRequest();
buildCounterLiasettingsCustomBatchRequest++;
if (buildCounterLiasettingsCustomBatchRequest < 3) {
- o.entries = buildUnnamed1508();
+ o.entries = buildUnnamed1509();
}
buildCounterLiasettingsCustomBatchRequest--;
return o;
@@ -2698,7 +2698,7 @@
checkLiasettingsCustomBatchRequest(api.LiasettingsCustomBatchRequest o) {
buildCounterLiasettingsCustomBatchRequest++;
if (buildCounterLiasettingsCustomBatchRequest < 3) {
- checkUnnamed1508(o.entries);
+ checkUnnamed1509(o.entries);
}
buildCounterLiasettingsCustomBatchRequest--;
}
@@ -2743,14 +2743,14 @@
buildCounterLiasettingsCustomBatchRequestEntry--;
}
-buildUnnamed1509() {
+buildUnnamed1510() {
var o = new core.List<api.LiasettingsCustomBatchResponseEntry>();
o.add(buildLiasettingsCustomBatchResponseEntry());
o.add(buildLiasettingsCustomBatchResponseEntry());
return o;
}
-checkUnnamed1509(core.List<api.LiasettingsCustomBatchResponseEntry> o) {
+checkUnnamed1510(core.List<api.LiasettingsCustomBatchResponseEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkLiasettingsCustomBatchResponseEntry(o[0]);
checkLiasettingsCustomBatchResponseEntry(o[1]);
@@ -2761,7 +2761,7 @@
var o = new api.LiasettingsCustomBatchResponse();
buildCounterLiasettingsCustomBatchResponse++;
if (buildCounterLiasettingsCustomBatchResponse < 3) {
- o.entries = buildUnnamed1509();
+ o.entries = buildUnnamed1510();
o.kind = "foo";
}
buildCounterLiasettingsCustomBatchResponse--;
@@ -2771,20 +2771,20 @@
checkLiasettingsCustomBatchResponse(api.LiasettingsCustomBatchResponse o) {
buildCounterLiasettingsCustomBatchResponse++;
if (buildCounterLiasettingsCustomBatchResponse < 3) {
- checkUnnamed1509(o.entries);
+ checkUnnamed1510(o.entries);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterLiasettingsCustomBatchResponse--;
}
-buildUnnamed1510() {
+buildUnnamed1511() {
var o = new core.List<api.PosDataProviders>();
o.add(buildPosDataProviders());
o.add(buildPosDataProviders());
return o;
}
-checkUnnamed1510(core.List<api.PosDataProviders> o) {
+checkUnnamed1511(core.List<api.PosDataProviders> o) {
unittest.expect(o, unittest.hasLength(2));
checkPosDataProviders(o[0]);
checkPosDataProviders(o[1]);
@@ -2800,7 +2800,7 @@
o.gmbAccounts = buildGmbAccounts();
o.kind = "foo";
o.liaSettings = buildLiaSettings();
- o.posDataProviders = buildUnnamed1510();
+ o.posDataProviders = buildUnnamed1511();
}
buildCounterLiasettingsCustomBatchResponseEntry--;
return o;
@@ -2815,19 +2815,19 @@
checkGmbAccounts(o.gmbAccounts);
unittest.expect(o.kind, unittest.equals('foo'));
checkLiaSettings(o.liaSettings);
- checkUnnamed1510(o.posDataProviders);
+ checkUnnamed1511(o.posDataProviders);
}
buildCounterLiasettingsCustomBatchResponseEntry--;
}
-buildUnnamed1511() {
+buildUnnamed1512() {
var o = new core.List<api.GmbAccountsGmbAccount>();
o.add(buildGmbAccountsGmbAccount());
o.add(buildGmbAccountsGmbAccount());
return o;
}
-checkUnnamed1511(core.List<api.GmbAccountsGmbAccount> o) {
+checkUnnamed1512(core.List<api.GmbAccountsGmbAccount> o) {
unittest.expect(o, unittest.hasLength(2));
checkGmbAccountsGmbAccount(o[0]);
checkGmbAccountsGmbAccount(o[1]);
@@ -2839,7 +2839,7 @@
buildCounterLiasettingsGetAccessibleGmbAccountsResponse++;
if (buildCounterLiasettingsGetAccessibleGmbAccountsResponse < 3) {
o.accountId = "foo";
- o.gmbAccounts = buildUnnamed1511();
+ o.gmbAccounts = buildUnnamed1512();
o.kind = "foo";
}
buildCounterLiasettingsGetAccessibleGmbAccountsResponse--;
@@ -2851,20 +2851,20 @@
buildCounterLiasettingsGetAccessibleGmbAccountsResponse++;
if (buildCounterLiasettingsGetAccessibleGmbAccountsResponse < 3) {
unittest.expect(o.accountId, unittest.equals('foo'));
- checkUnnamed1511(o.gmbAccounts);
+ checkUnnamed1512(o.gmbAccounts);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterLiasettingsGetAccessibleGmbAccountsResponse--;
}
-buildUnnamed1512() {
+buildUnnamed1513() {
var o = new core.List<api.PosDataProviders>();
o.add(buildPosDataProviders());
o.add(buildPosDataProviders());
return o;
}
-checkUnnamed1512(core.List<api.PosDataProviders> o) {
+checkUnnamed1513(core.List<api.PosDataProviders> o) {
unittest.expect(o, unittest.hasLength(2));
checkPosDataProviders(o[0]);
checkPosDataProviders(o[1]);
@@ -2876,7 +2876,7 @@
buildCounterLiasettingsListPosDataProvidersResponse++;
if (buildCounterLiasettingsListPosDataProvidersResponse < 3) {
o.kind = "foo";
- o.posDataProviders = buildUnnamed1512();
+ o.posDataProviders = buildUnnamed1513();
}
buildCounterLiasettingsListPosDataProvidersResponse--;
return o;
@@ -2887,19 +2887,19 @@
buildCounterLiasettingsListPosDataProvidersResponse++;
if (buildCounterLiasettingsListPosDataProvidersResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1512(o.posDataProviders);
+ checkUnnamed1513(o.posDataProviders);
}
buildCounterLiasettingsListPosDataProvidersResponse--;
}
-buildUnnamed1513() {
+buildUnnamed1514() {
var o = new core.List<api.LiaSettings>();
o.add(buildLiaSettings());
o.add(buildLiaSettings());
return o;
}
-checkUnnamed1513(core.List<api.LiaSettings> o) {
+checkUnnamed1514(core.List<api.LiaSettings> o) {
unittest.expect(o, unittest.hasLength(2));
checkLiaSettings(o[0]);
checkLiaSettings(o[1]);
@@ -2912,7 +2912,7 @@
if (buildCounterLiasettingsListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.resources = buildUnnamed1513();
+ o.resources = buildUnnamed1514();
}
buildCounterLiasettingsListResponse--;
return o;
@@ -2923,7 +2923,7 @@
if (buildCounterLiasettingsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1513(o.resources);
+ checkUnnamed1514(o.resources);
}
buildCounterLiasettingsListResponse--;
}
@@ -3029,14 +3029,14 @@
buildCounterLinkService--;
}
-buildUnnamed1514() {
+buildUnnamed1515() {
var o = new core.List<api.LinkService>();
o.add(buildLinkService());
o.add(buildLinkService());
return o;
}
-checkUnnamed1514(core.List<api.LinkService> o) {
+checkUnnamed1515(core.List<api.LinkService> o) {
unittest.expect(o, unittest.hasLength(2));
checkLinkService(o[0]);
checkLinkService(o[1]);
@@ -3048,7 +3048,7 @@
buildCounterLinkedAccount++;
if (buildCounterLinkedAccount < 3) {
o.linkedAccountId = "foo";
- o.services = buildUnnamed1514();
+ o.services = buildUnnamed1515();
}
buildCounterLinkedAccount--;
return o;
@@ -3058,7 +3058,7 @@
buildCounterLinkedAccount++;
if (buildCounterLinkedAccount < 3) {
unittest.expect(o.linkedAccountId, unittest.equals('foo'));
- checkUnnamed1514(o.services);
+ checkUnnamed1515(o.services);
}
buildCounterLinkedAccount--;
}
@@ -3100,14 +3100,14 @@
buildCounterLocalInventory--;
}
-buildUnnamed1515() {
+buildUnnamed1516() {
var o = new core.List<api.LocalinventoryCustomBatchRequestEntry>();
o.add(buildLocalinventoryCustomBatchRequestEntry());
o.add(buildLocalinventoryCustomBatchRequestEntry());
return o;
}
-checkUnnamed1515(core.List<api.LocalinventoryCustomBatchRequestEntry> o) {
+checkUnnamed1516(core.List<api.LocalinventoryCustomBatchRequestEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocalinventoryCustomBatchRequestEntry(o[0]);
checkLocalinventoryCustomBatchRequestEntry(o[1]);
@@ -3118,7 +3118,7 @@
var o = new api.LocalinventoryCustomBatchRequest();
buildCounterLocalinventoryCustomBatchRequest++;
if (buildCounterLocalinventoryCustomBatchRequest < 3) {
- o.entries = buildUnnamed1515();
+ o.entries = buildUnnamed1516();
}
buildCounterLocalinventoryCustomBatchRequest--;
return o;
@@ -3127,7 +3127,7 @@
checkLocalinventoryCustomBatchRequest(api.LocalinventoryCustomBatchRequest o) {
buildCounterLocalinventoryCustomBatchRequest++;
if (buildCounterLocalinventoryCustomBatchRequest < 3) {
- checkUnnamed1515(o.entries);
+ checkUnnamed1516(o.entries);
}
buildCounterLocalinventoryCustomBatchRequest--;
}
@@ -3160,14 +3160,14 @@
buildCounterLocalinventoryCustomBatchRequestEntry--;
}
-buildUnnamed1516() {
+buildUnnamed1517() {
var o = new core.List<api.LocalinventoryCustomBatchResponseEntry>();
o.add(buildLocalinventoryCustomBatchResponseEntry());
o.add(buildLocalinventoryCustomBatchResponseEntry());
return o;
}
-checkUnnamed1516(core.List<api.LocalinventoryCustomBatchResponseEntry> o) {
+checkUnnamed1517(core.List<api.LocalinventoryCustomBatchResponseEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocalinventoryCustomBatchResponseEntry(o[0]);
checkLocalinventoryCustomBatchResponseEntry(o[1]);
@@ -3178,7 +3178,7 @@
var o = new api.LocalinventoryCustomBatchResponse();
buildCounterLocalinventoryCustomBatchResponse++;
if (buildCounterLocalinventoryCustomBatchResponse < 3) {
- o.entries = buildUnnamed1516();
+ o.entries = buildUnnamed1517();
o.kind = "foo";
}
buildCounterLocalinventoryCustomBatchResponse--;
@@ -3189,7 +3189,7 @@
api.LocalinventoryCustomBatchResponse o) {
buildCounterLocalinventoryCustomBatchResponse++;
if (buildCounterLocalinventoryCustomBatchResponse < 3) {
- checkUnnamed1516(o.entries);
+ checkUnnamed1517(o.entries);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterLocalinventoryCustomBatchResponse--;
@@ -3219,14 +3219,14 @@
buildCounterLocalinventoryCustomBatchResponseEntry--;
}
-buildUnnamed1517() {
+buildUnnamed1518() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1517(core.List<core.String> o) {
+checkUnnamed1518(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3237,7 +3237,7 @@
var o = new api.LocationIdSet();
buildCounterLocationIdSet++;
if (buildCounterLocationIdSet < 3) {
- o.locationIds = buildUnnamed1517();
+ o.locationIds = buildUnnamed1518();
}
buildCounterLocationIdSet--;
return o;
@@ -3246,7 +3246,7 @@
checkLocationIdSet(api.LocationIdSet o) {
buildCounterLocationIdSet++;
if (buildCounterLocationIdSet < 3) {
- checkUnnamed1517(o.locationIds);
+ checkUnnamed1518(o.locationIds);
}
buildCounterLocationIdSet--;
}
@@ -3274,27 +3274,27 @@
buildCounterLoyaltyPoints--;
}
-buildUnnamed1518() {
+buildUnnamed1519() {
var o = new core.List<api.MerchantOrderReturnItem>();
o.add(buildMerchantOrderReturnItem());
o.add(buildMerchantOrderReturnItem());
return o;
}
-checkUnnamed1518(core.List<api.MerchantOrderReturnItem> o) {
+checkUnnamed1519(core.List<api.MerchantOrderReturnItem> o) {
unittest.expect(o, unittest.hasLength(2));
checkMerchantOrderReturnItem(o[0]);
checkMerchantOrderReturnItem(o[1]);
}
-buildUnnamed1519() {
+buildUnnamed1520() {
var o = new core.List<api.ReturnShipment>();
o.add(buildReturnShipment());
o.add(buildReturnShipment());
return o;
}
-checkUnnamed1519(core.List<api.ReturnShipment> o) {
+checkUnnamed1520(core.List<api.ReturnShipment> o) {
unittest.expect(o, unittest.hasLength(2));
checkReturnShipment(o[0]);
checkReturnShipment(o[1]);
@@ -3309,9 +3309,9 @@
o.merchantOrderId = "foo";
o.orderId = "foo";
o.orderReturnId = "foo";
- o.returnItems = buildUnnamed1518();
+ o.returnItems = buildUnnamed1519();
o.returnPricingInfo = buildReturnPricingInfo();
- o.returnShipments = buildUnnamed1519();
+ o.returnShipments = buildUnnamed1520();
}
buildCounterMerchantOrderReturn--;
return o;
@@ -3324,21 +3324,21 @@
unittest.expect(o.merchantOrderId, unittest.equals('foo'));
unittest.expect(o.orderId, unittest.equals('foo'));
unittest.expect(o.orderReturnId, unittest.equals('foo'));
- checkUnnamed1518(o.returnItems);
+ checkUnnamed1519(o.returnItems);
checkReturnPricingInfo(o.returnPricingInfo);
- checkUnnamed1519(o.returnShipments);
+ checkUnnamed1520(o.returnShipments);
}
buildCounterMerchantOrderReturn--;
}
-buildUnnamed1520() {
+buildUnnamed1521() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1520(core.List<core.String> o) {
+checkUnnamed1521(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3356,7 +3356,7 @@
o.product = buildOrderLineItemProduct();
o.refundableAmount = buildMonetaryAmount();
o.returnItemId = "foo";
- o.returnShipmentIds = buildUnnamed1520();
+ o.returnShipmentIds = buildUnnamed1521();
o.shipmentGroupId = "foo";
o.shipmentUnitId = "foo";
o.state = "foo";
@@ -3375,7 +3375,7 @@
checkOrderLineItemProduct(o.product);
checkMonetaryAmount(o.refundableAmount);
unittest.expect(o.returnItemId, unittest.equals('foo'));
- checkUnnamed1520(o.returnShipmentIds);
+ checkUnnamed1521(o.returnShipmentIds);
unittest.expect(o.shipmentGroupId, unittest.equals('foo'));
unittest.expect(o.shipmentUnitId, unittest.equals('foo'));
unittest.expect(o.state, unittest.equals('foo'));
@@ -3404,14 +3404,14 @@
buildCounterMerchantRejectionReason--;
}
-buildUnnamed1521() {
+buildUnnamed1522() {
var o = new core.List<api.MinimumOrderValueTableStoreCodeSetWithMov>();
o.add(buildMinimumOrderValueTableStoreCodeSetWithMov());
o.add(buildMinimumOrderValueTableStoreCodeSetWithMov());
return o;
}
-checkUnnamed1521(core.List<api.MinimumOrderValueTableStoreCodeSetWithMov> o) {
+checkUnnamed1522(core.List<api.MinimumOrderValueTableStoreCodeSetWithMov> o) {
unittest.expect(o, unittest.hasLength(2));
checkMinimumOrderValueTableStoreCodeSetWithMov(o[0]);
checkMinimumOrderValueTableStoreCodeSetWithMov(o[1]);
@@ -3422,7 +3422,7 @@
var o = new api.MinimumOrderValueTable();
buildCounterMinimumOrderValueTable++;
if (buildCounterMinimumOrderValueTable < 3) {
- o.storeCodeSetWithMovs = buildUnnamed1521();
+ o.storeCodeSetWithMovs = buildUnnamed1522();
}
buildCounterMinimumOrderValueTable--;
return o;
@@ -3431,19 +3431,19 @@
checkMinimumOrderValueTable(api.MinimumOrderValueTable o) {
buildCounterMinimumOrderValueTable++;
if (buildCounterMinimumOrderValueTable < 3) {
- checkUnnamed1521(o.storeCodeSetWithMovs);
+ checkUnnamed1522(o.storeCodeSetWithMovs);
}
buildCounterMinimumOrderValueTable--;
}
-buildUnnamed1522() {
+buildUnnamed1523() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1522(core.List<core.String> o) {
+checkUnnamed1523(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3454,7 +3454,7 @@
var o = new api.MinimumOrderValueTableStoreCodeSetWithMov();
buildCounterMinimumOrderValueTableStoreCodeSetWithMov++;
if (buildCounterMinimumOrderValueTableStoreCodeSetWithMov < 3) {
- o.storeCodes = buildUnnamed1522();
+ o.storeCodes = buildUnnamed1523();
o.value = buildPrice();
}
buildCounterMinimumOrderValueTableStoreCodeSetWithMov--;
@@ -3465,7 +3465,7 @@
api.MinimumOrderValueTableStoreCodeSetWithMov o) {
buildCounterMinimumOrderValueTableStoreCodeSetWithMov++;
if (buildCounterMinimumOrderValueTableStoreCodeSetWithMov < 3) {
- checkUnnamed1522(o.storeCodes);
+ checkUnnamed1523(o.storeCodes);
checkPrice(o.value);
}
buildCounterMinimumOrderValueTableStoreCodeSetWithMov--;
@@ -3492,66 +3492,66 @@
buildCounterMonetaryAmount--;
}
-buildUnnamed1523() {
+buildUnnamed1524() {
var o = new core.List<api.OrderOrderAnnotation>();
o.add(buildOrderOrderAnnotation());
o.add(buildOrderOrderAnnotation());
return o;
}
-checkUnnamed1523(core.List<api.OrderOrderAnnotation> o) {
+checkUnnamed1524(core.List<api.OrderOrderAnnotation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderOrderAnnotation(o[0]);
checkOrderOrderAnnotation(o[1]);
}
-buildUnnamed1524() {
+buildUnnamed1525() {
var o = new core.List<api.OrderLineItem>();
o.add(buildOrderLineItem());
o.add(buildOrderLineItem());
return o;
}
-checkUnnamed1524(core.List<api.OrderLineItem> o) {
+checkUnnamed1525(core.List<api.OrderLineItem> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderLineItem(o[0]);
checkOrderLineItem(o[1]);
}
-buildUnnamed1525() {
+buildUnnamed1526() {
var o = new core.List<api.OrderPromotion>();
o.add(buildOrderPromotion());
o.add(buildOrderPromotion());
return o;
}
-checkUnnamed1525(core.List<api.OrderPromotion> o) {
+checkUnnamed1526(core.List<api.OrderPromotion> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderPromotion(o[0]);
checkOrderPromotion(o[1]);
}
-buildUnnamed1526() {
+buildUnnamed1527() {
var o = new core.List<api.OrderRefund>();
o.add(buildOrderRefund());
o.add(buildOrderRefund());
return o;
}
-checkUnnamed1526(core.List<api.OrderRefund> o) {
+checkUnnamed1527(core.List<api.OrderRefund> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderRefund(o[0]);
checkOrderRefund(o[1]);
}
-buildUnnamed1527() {
+buildUnnamed1528() {
var o = new core.List<api.OrderShipment>();
o.add(buildOrderShipment());
o.add(buildOrderShipment());
return o;
}
-checkUnnamed1527(core.List<api.OrderShipment> o) {
+checkUnnamed1528(core.List<api.OrderShipment> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderShipment(o[0]);
checkOrderShipment(o[1]);
@@ -3563,13 +3563,13 @@
buildCounterOrder++;
if (buildCounterOrder < 3) {
o.acknowledged = true;
- o.annotations = buildUnnamed1523();
+ o.annotations = buildUnnamed1524();
o.billingAddress = buildOrderAddress();
o.customer = buildOrderCustomer();
o.deliveryDetails = buildOrderDeliveryDetails();
o.id = "foo";
o.kind = "foo";
- o.lineItems = buildUnnamed1524();
+ o.lineItems = buildUnnamed1525();
o.merchantId = "foo";
o.merchantOrderId = "foo";
o.netPriceAmount = buildPrice();
@@ -3577,9 +3577,9 @@
o.paymentStatus = "foo";
o.pickupDetails = buildOrderPickupDetails();
o.placedDate = "foo";
- o.promotions = buildUnnamed1525();
- o.refunds = buildUnnamed1526();
- o.shipments = buildUnnamed1527();
+ o.promotions = buildUnnamed1526();
+ o.refunds = buildUnnamed1527();
+ o.shipments = buildUnnamed1528();
o.shippingCost = buildPrice();
o.shippingCostTax = buildPrice();
o.status = "foo";
@@ -3593,13 +3593,13 @@
buildCounterOrder++;
if (buildCounterOrder < 3) {
unittest.expect(o.acknowledged, unittest.isTrue);
- checkUnnamed1523(o.annotations);
+ checkUnnamed1524(o.annotations);
checkOrderAddress(o.billingAddress);
checkOrderCustomer(o.customer);
checkOrderDeliveryDetails(o.deliveryDetails);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1524(o.lineItems);
+ checkUnnamed1525(o.lineItems);
unittest.expect(o.merchantId, unittest.equals('foo'));
unittest.expect(o.merchantOrderId, unittest.equals('foo'));
checkPrice(o.netPriceAmount);
@@ -3607,9 +3607,9 @@
unittest.expect(o.paymentStatus, unittest.equals('foo'));
checkOrderPickupDetails(o.pickupDetails);
unittest.expect(o.placedDate, unittest.equals('foo'));
- checkUnnamed1525(o.promotions);
- checkUnnamed1526(o.refunds);
- checkUnnamed1527(o.shipments);
+ checkUnnamed1526(o.promotions);
+ checkUnnamed1527(o.refunds);
+ checkUnnamed1528(o.shipments);
checkPrice(o.shippingCost);
checkPrice(o.shippingCostTax);
unittest.expect(o.status, unittest.equals('foo'));
@@ -3618,19 +3618,6 @@
buildCounterOrder--;
}
-buildUnnamed1528() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1528(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed1529() {
var o = new core.List<core.String>();
o.add("foo");
@@ -3644,19 +3631,32 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed1530() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1530(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
core.int buildCounterOrderAddress = 0;
buildOrderAddress() {
var o = new api.OrderAddress();
buildCounterOrderAddress++;
if (buildCounterOrderAddress < 3) {
o.country = "foo";
- o.fullAddress = buildUnnamed1528();
+ o.fullAddress = buildUnnamed1529();
o.isPostOfficeBox = true;
o.locality = "foo";
o.postalCode = "foo";
o.recipientName = "foo";
o.region = "foo";
- o.streetAddress = buildUnnamed1529();
+ o.streetAddress = buildUnnamed1530();
}
buildCounterOrderAddress--;
return o;
@@ -3666,13 +3666,13 @@
buildCounterOrderAddress++;
if (buildCounterOrderAddress < 3) {
unittest.expect(o.country, unittest.equals('foo'));
- checkUnnamed1528(o.fullAddress);
+ checkUnnamed1529(o.fullAddress);
unittest.expect(o.isPostOfficeBox, unittest.isTrue);
unittest.expect(o.locality, unittest.equals('foo'));
unittest.expect(o.postalCode, unittest.equals('foo'));
unittest.expect(o.recipientName, unittest.equals('foo'));
unittest.expect(o.region, unittest.equals('foo'));
- checkUnnamed1529(o.streetAddress);
+ checkUnnamed1530(o.streetAddress);
}
buildCounterOrderAddress--;
}
@@ -3794,53 +3794,53 @@
buildCounterOrderDeliveryDetails--;
}
-buildUnnamed1530() {
+buildUnnamed1531() {
var o = new core.List<api.OrderLineItemAdjustment>();
o.add(buildOrderLineItemAdjustment());
o.add(buildOrderLineItemAdjustment());
return o;
}
-checkUnnamed1530(core.List<api.OrderLineItemAdjustment> o) {
+checkUnnamed1531(core.List<api.OrderLineItemAdjustment> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderLineItemAdjustment(o[0]);
checkOrderLineItemAdjustment(o[1]);
}
-buildUnnamed1531() {
+buildUnnamed1532() {
var o = new core.List<api.OrderMerchantProvidedAnnotation>();
o.add(buildOrderMerchantProvidedAnnotation());
o.add(buildOrderMerchantProvidedAnnotation());
return o;
}
-checkUnnamed1531(core.List<api.OrderMerchantProvidedAnnotation> o) {
+checkUnnamed1532(core.List<api.OrderMerchantProvidedAnnotation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderMerchantProvidedAnnotation(o[0]);
checkOrderMerchantProvidedAnnotation(o[1]);
}
-buildUnnamed1532() {
+buildUnnamed1533() {
var o = new core.List<api.OrderCancellation>();
o.add(buildOrderCancellation());
o.add(buildOrderCancellation());
return o;
}
-checkUnnamed1532(core.List<api.OrderCancellation> o) {
+checkUnnamed1533(core.List<api.OrderCancellation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderCancellation(o[0]);
checkOrderCancellation(o[1]);
}
-buildUnnamed1533() {
+buildUnnamed1534() {
var o = new core.List<api.OrderReturn>();
o.add(buildOrderReturn());
o.add(buildOrderReturn());
return o;
}
-checkUnnamed1533(core.List<api.OrderReturn> o) {
+checkUnnamed1534(core.List<api.OrderReturn> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderReturn(o[0]);
checkOrderReturn(o[1]);
@@ -3851,9 +3851,9 @@
var o = new api.OrderLineItem();
buildCounterOrderLineItem++;
if (buildCounterOrderLineItem < 3) {
- o.adjustments = buildUnnamed1530();
- o.annotations = buildUnnamed1531();
- o.cancellations = buildUnnamed1532();
+ o.adjustments = buildUnnamed1531();
+ o.annotations = buildUnnamed1532();
+ o.cancellations = buildUnnamed1533();
o.id = "foo";
o.price = buildPrice();
o.product = buildOrderLineItemProduct();
@@ -3866,7 +3866,7 @@
o.quantityShipped = 42;
o.quantityUndeliverable = 42;
o.returnInfo = buildOrderLineItemReturnInfo();
- o.returns = buildUnnamed1533();
+ o.returns = buildUnnamed1534();
o.shippingDetails = buildOrderLineItemShippingDetails();
o.tax = buildPrice();
}
@@ -3877,9 +3877,9 @@
checkOrderLineItem(api.OrderLineItem o) {
buildCounterOrderLineItem++;
if (buildCounterOrderLineItem < 3) {
- checkUnnamed1530(o.adjustments);
- checkUnnamed1531(o.annotations);
- checkUnnamed1532(o.cancellations);
+ checkUnnamed1531(o.adjustments);
+ checkUnnamed1532(o.annotations);
+ checkUnnamed1533(o.cancellations);
unittest.expect(o.id, unittest.equals('foo'));
checkPrice(o.price);
checkOrderLineItemProduct(o.product);
@@ -3892,7 +3892,7 @@
unittest.expect(o.quantityShipped, unittest.equals(42));
unittest.expect(o.quantityUndeliverable, unittest.equals(42));
checkOrderLineItemReturnInfo(o.returnInfo);
- checkUnnamed1533(o.returns);
+ checkUnnamed1534(o.returns);
checkOrderLineItemShippingDetails(o.shippingDetails);
checkPrice(o.tax);
}
@@ -3922,27 +3922,27 @@
buildCounterOrderLineItemAdjustment--;
}
-buildUnnamed1534() {
+buildUnnamed1535() {
var o = new core.List<api.OrderLineItemProductFee>();
o.add(buildOrderLineItemProductFee());
o.add(buildOrderLineItemProductFee());
return o;
}
-checkUnnamed1534(core.List<api.OrderLineItemProductFee> o) {
+checkUnnamed1535(core.List<api.OrderLineItemProductFee> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderLineItemProductFee(o[0]);
checkOrderLineItemProductFee(o[1]);
}
-buildUnnamed1535() {
+buildUnnamed1536() {
var o = new core.List<api.OrderLineItemProductVariantAttribute>();
o.add(buildOrderLineItemProductVariantAttribute());
o.add(buildOrderLineItemProductVariantAttribute());
return o;
}
-checkUnnamed1535(core.List<api.OrderLineItemProductVariantAttribute> o) {
+checkUnnamed1536(core.List<api.OrderLineItemProductVariantAttribute> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderLineItemProductVariantAttribute(o[0]);
checkOrderLineItemProductVariantAttribute(o[1]);
@@ -3956,7 +3956,7 @@
o.brand = "foo";
o.condition = "foo";
o.contentLanguage = "foo";
- o.fees = buildUnnamed1534();
+ o.fees = buildUnnamed1535();
o.gtin = "foo";
o.id = "foo";
o.imageLink = "foo";
@@ -3967,7 +3967,7 @@
o.shownImage = "foo";
o.targetCountry = "foo";
o.title = "foo";
- o.variantAttributes = buildUnnamed1535();
+ o.variantAttributes = buildUnnamed1536();
}
buildCounterOrderLineItemProduct--;
return o;
@@ -3979,7 +3979,7 @@
unittest.expect(o.brand, unittest.equals('foo'));
unittest.expect(o.condition, unittest.equals('foo'));
unittest.expect(o.contentLanguage, unittest.equals('foo'));
- checkUnnamed1534(o.fees);
+ checkUnnamed1535(o.fees);
unittest.expect(o.gtin, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.imageLink, unittest.equals('foo'));
@@ -3990,7 +3990,7 @@
unittest.expect(o.shownImage, unittest.equals('foo'));
unittest.expect(o.targetCountry, unittest.equals('foo'));
unittest.expect(o.title, unittest.equals('foo'));
- checkUnnamed1535(o.variantAttributes);
+ checkUnnamed1536(o.variantAttributes);
}
buildCounterOrderLineItemProduct--;
}
@@ -4156,14 +4156,14 @@
buildCounterOrderOrderAnnotation--;
}
-buildUnnamed1536() {
+buildUnnamed1537() {
var o = new core.List<api.OrderPickupDetailsCollector>();
o.add(buildOrderPickupDetailsCollector());
o.add(buildOrderPickupDetailsCollector());
return o;
}
-checkUnnamed1536(core.List<api.OrderPickupDetailsCollector> o) {
+checkUnnamed1537(core.List<api.OrderPickupDetailsCollector> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderPickupDetailsCollector(o[0]);
checkOrderPickupDetailsCollector(o[1]);
@@ -4175,7 +4175,7 @@
buildCounterOrderPickupDetails++;
if (buildCounterOrderPickupDetails < 3) {
o.address = buildOrderAddress();
- o.collectors = buildUnnamed1536();
+ o.collectors = buildUnnamed1537();
o.locationId = "foo";
o.pickupType = "foo";
}
@@ -4187,7 +4187,7 @@
buildCounterOrderPickupDetails++;
if (buildCounterOrderPickupDetails < 3) {
checkOrderAddress(o.address);
- checkUnnamed1536(o.collectors);
+ checkUnnamed1537(o.collectors);
unittest.expect(o.locationId, unittest.equals('foo'));
unittest.expect(o.pickupType, unittest.equals('foo'));
}
@@ -4215,19 +4215,6 @@
buildCounterOrderPickupDetailsCollector--;
}
-buildUnnamed1537() {
- var o = new core.List<api.OrderPromotionItem>();
- o.add(buildOrderPromotionItem());
- o.add(buildOrderPromotionItem());
- return o;
-}
-
-checkUnnamed1537(core.List<api.OrderPromotionItem> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkOrderPromotionItem(o[0]);
- checkOrderPromotionItem(o[1]);
-}
-
buildUnnamed1538() {
var o = new core.List<api.OrderPromotionItem>();
o.add(buildOrderPromotionItem());
@@ -4241,13 +4228,26 @@
checkOrderPromotionItem(o[1]);
}
+buildUnnamed1539() {
+ var o = new core.List<api.OrderPromotionItem>();
+ o.add(buildOrderPromotionItem());
+ o.add(buildOrderPromotionItem());
+ return o;
+}
+
+checkUnnamed1539(core.List<api.OrderPromotionItem> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkOrderPromotionItem(o[0]);
+ checkOrderPromotionItem(o[1]);
+}
+
core.int buildCounterOrderPromotion = 0;
buildOrderPromotion() {
var o = new api.OrderPromotion();
buildCounterOrderPromotion++;
if (buildCounterOrderPromotion < 3) {
- o.applicableItems = buildUnnamed1537();
- o.appliedItems = buildUnnamed1538();
+ o.applicableItems = buildUnnamed1538();
+ o.appliedItems = buildUnnamed1539();
o.endTime = "foo";
o.funder = "foo";
o.merchantPromotionId = "foo";
@@ -4266,8 +4266,8 @@
checkOrderPromotion(api.OrderPromotion o) {
buildCounterOrderPromotion++;
if (buildCounterOrderPromotion < 3) {
- checkUnnamed1537(o.applicableItems);
- checkUnnamed1538(o.appliedItems);
+ checkUnnamed1538(o.applicableItems);
+ checkUnnamed1539(o.appliedItems);
unittest.expect(o.endTime, unittest.equals('foo'));
unittest.expect(o.funder, unittest.equals('foo'));
unittest.expect(o.merchantPromotionId, unittest.equals('foo'));
@@ -4423,14 +4423,14 @@
buildCounterOrderReturn--;
}
-buildUnnamed1539() {
+buildUnnamed1540() {
var o = new core.List<api.OrderShipmentLineItemShipment>();
o.add(buildOrderShipmentLineItemShipment());
o.add(buildOrderShipmentLineItemShipment());
return o;
}
-checkUnnamed1539(core.List<api.OrderShipmentLineItemShipment> o) {
+checkUnnamed1540(core.List<api.OrderShipmentLineItemShipment> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderShipmentLineItemShipment(o[0]);
checkOrderShipmentLineItemShipment(o[1]);
@@ -4445,7 +4445,7 @@
o.creationDate = "foo";
o.deliveryDate = "foo";
o.id = "foo";
- o.lineItems = buildUnnamed1539();
+ o.lineItems = buildUnnamed1540();
o.scheduledDeliveryDetails = buildOrderShipmentScheduledDeliveryDetails();
o.shipmentGroupId = "foo";
o.status = "foo";
@@ -4462,7 +4462,7 @@
unittest.expect(o.creationDate, unittest.equals('foo'));
unittest.expect(o.deliveryDate, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed1539(o.lineItems);
+ checkUnnamed1540(o.lineItems);
checkOrderShipmentScheduledDeliveryDetails(o.scheduledDeliveryDetails);
unittest.expect(o.shipmentGroupId, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals('foo'));
@@ -4516,14 +4516,14 @@
buildCounterOrderShipmentScheduledDeliveryDetails--;
}
-buildUnnamed1540() {
+buildUnnamed1541() {
var o = new core.List<api.ShipmentInvoiceLineItemInvoice>();
o.add(buildShipmentInvoiceLineItemInvoice());
o.add(buildShipmentInvoiceLineItemInvoice());
return o;
}
-checkUnnamed1540(core.List<api.ShipmentInvoiceLineItemInvoice> o) {
+checkUnnamed1541(core.List<api.ShipmentInvoiceLineItemInvoice> o) {
unittest.expect(o, unittest.hasLength(2));
checkShipmentInvoiceLineItemInvoice(o[0]);
checkShipmentInvoiceLineItemInvoice(o[1]);
@@ -4536,7 +4536,7 @@
if (buildCounterOrderinvoicesCreateChargeInvoiceRequest < 3) {
o.invoiceId = "foo";
o.invoiceSummary = buildInvoiceSummary();
- o.lineItemInvoices = buildUnnamed1540();
+ o.lineItemInvoices = buildUnnamed1541();
o.operationId = "foo";
o.shipmentGroupId = "foo";
}
@@ -4550,7 +4550,7 @@
if (buildCounterOrderinvoicesCreateChargeInvoiceRequest < 3) {
unittest.expect(o.invoiceId, unittest.equals('foo'));
checkInvoiceSummary(o.invoiceSummary);
- checkUnnamed1540(o.lineItemInvoices);
+ checkUnnamed1541(o.lineItemInvoices);
unittest.expect(o.operationId, unittest.equals('foo'));
unittest.expect(o.shipmentGroupId, unittest.equals('foo'));
}
@@ -4579,14 +4579,14 @@
buildCounterOrderinvoicesCreateChargeInvoiceResponse--;
}
-buildUnnamed1541() {
+buildUnnamed1542() {
var o = new core.List<api.ShipmentInvoice>();
o.add(buildShipmentInvoice());
o.add(buildShipmentInvoice());
return o;
}
-checkUnnamed1541(core.List<api.ShipmentInvoice> o) {
+checkUnnamed1542(core.List<api.ShipmentInvoice> o) {
unittest.expect(o, unittest.hasLength(2));
checkShipmentInvoice(o[0]);
checkShipmentInvoice(o[1]);
@@ -4603,7 +4603,7 @@
buildOrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceRefundOption();
o.returnOption =
buildOrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceReturnOption();
- o.shipmentInvoices = buildUnnamed1541();
+ o.shipmentInvoices = buildUnnamed1542();
}
buildCounterOrderinvoicesCreateRefundInvoiceRequest--;
return o;
@@ -4619,7 +4619,7 @@
o.refundOnlyOption);
checkOrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceReturnOption(
o.returnOption);
- checkUnnamed1541(o.shipmentInvoices);
+ checkUnnamed1542(o.shipmentInvoices);
}
buildCounterOrderinvoicesCreateRefundInvoiceRequest--;
}
@@ -4700,14 +4700,14 @@
buildCounterOrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceReturnOption--;
}
-buildUnnamed1542() {
+buildUnnamed1543() {
var o = new core.List<api.OrderReportDisbursement>();
o.add(buildOrderReportDisbursement());
o.add(buildOrderReportDisbursement());
return o;
}
-checkUnnamed1542(core.List<api.OrderReportDisbursement> o) {
+checkUnnamed1543(core.List<api.OrderReportDisbursement> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderReportDisbursement(o[0]);
checkOrderReportDisbursement(o[1]);
@@ -4718,7 +4718,7 @@
var o = new api.OrderreportsListDisbursementsResponse();
buildCounterOrderreportsListDisbursementsResponse++;
if (buildCounterOrderreportsListDisbursementsResponse < 3) {
- o.disbursements = buildUnnamed1542();
+ o.disbursements = buildUnnamed1543();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -4730,21 +4730,21 @@
api.OrderreportsListDisbursementsResponse o) {
buildCounterOrderreportsListDisbursementsResponse++;
if (buildCounterOrderreportsListDisbursementsResponse < 3) {
- checkUnnamed1542(o.disbursements);
+ checkUnnamed1543(o.disbursements);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterOrderreportsListDisbursementsResponse--;
}
-buildUnnamed1543() {
+buildUnnamed1544() {
var o = new core.List<api.OrderReportTransaction>();
o.add(buildOrderReportTransaction());
o.add(buildOrderReportTransaction());
return o;
}
-checkUnnamed1543(core.List<api.OrderReportTransaction> o) {
+checkUnnamed1544(core.List<api.OrderReportTransaction> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderReportTransaction(o[0]);
checkOrderReportTransaction(o[1]);
@@ -4757,7 +4757,7 @@
if (buildCounterOrderreportsListTransactionsResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.transactions = buildUnnamed1543();
+ o.transactions = buildUnnamed1544();
}
buildCounterOrderreportsListTransactionsResponse--;
return o;
@@ -4769,7 +4769,7 @@
if (buildCounterOrderreportsListTransactionsResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1543(o.transactions);
+ checkUnnamed1544(o.transactions);
}
buildCounterOrderreportsListTransactionsResponse--;
}
@@ -4814,14 +4814,98 @@
buildCounterOrderreturnsAcknowledgeResponse--;
}
-buildUnnamed1544() {
+buildUnnamed1545() {
+ var o = new core.List<api.OrderreturnsLineItem>();
+ o.add(buildOrderreturnsLineItem());
+ o.add(buildOrderreturnsLineItem());
+ return o;
+}
+
+checkUnnamed1545(core.List<api.OrderreturnsLineItem> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkOrderreturnsLineItem(o[0]);
+ checkOrderreturnsLineItem(o[1]);
+}
+
+core.int buildCounterOrderreturnsCreateOrderReturnRequest = 0;
+buildOrderreturnsCreateOrderReturnRequest() {
+ var o = new api.OrderreturnsCreateOrderReturnRequest();
+ buildCounterOrderreturnsCreateOrderReturnRequest++;
+ if (buildCounterOrderreturnsCreateOrderReturnRequest < 3) {
+ o.lineItems = buildUnnamed1545();
+ o.operationId = "foo";
+ o.orderId = "foo";
+ o.returnMethodType = "foo";
+ }
+ buildCounterOrderreturnsCreateOrderReturnRequest--;
+ return o;
+}
+
+checkOrderreturnsCreateOrderReturnRequest(
+ api.OrderreturnsCreateOrderReturnRequest o) {
+ buildCounterOrderreturnsCreateOrderReturnRequest++;
+ if (buildCounterOrderreturnsCreateOrderReturnRequest < 3) {
+ checkUnnamed1545(o.lineItems);
+ unittest.expect(o.operationId, unittest.equals('foo'));
+ unittest.expect(o.orderId, unittest.equals('foo'));
+ unittest.expect(o.returnMethodType, unittest.equals('foo'));
+ }
+ buildCounterOrderreturnsCreateOrderReturnRequest--;
+}
+
+core.int buildCounterOrderreturnsCreateOrderReturnResponse = 0;
+buildOrderreturnsCreateOrderReturnResponse() {
+ var o = new api.OrderreturnsCreateOrderReturnResponse();
+ buildCounterOrderreturnsCreateOrderReturnResponse++;
+ if (buildCounterOrderreturnsCreateOrderReturnResponse < 3) {
+ o.executionStatus = "foo";
+ o.kind = "foo";
+ o.orderReturn = buildMerchantOrderReturn();
+ }
+ buildCounterOrderreturnsCreateOrderReturnResponse--;
+ return o;
+}
+
+checkOrderreturnsCreateOrderReturnResponse(
+ api.OrderreturnsCreateOrderReturnResponse o) {
+ buildCounterOrderreturnsCreateOrderReturnResponse++;
+ if (buildCounterOrderreturnsCreateOrderReturnResponse < 3) {
+ unittest.expect(o.executionStatus, unittest.equals('foo'));
+ unittest.expect(o.kind, unittest.equals('foo'));
+ checkMerchantOrderReturn(o.orderReturn);
+ }
+ buildCounterOrderreturnsCreateOrderReturnResponse--;
+}
+
+core.int buildCounterOrderreturnsLineItem = 0;
+buildOrderreturnsLineItem() {
+ var o = new api.OrderreturnsLineItem();
+ buildCounterOrderreturnsLineItem++;
+ if (buildCounterOrderreturnsLineItem < 3) {
+ o.lineItemId = "foo";
+ o.quantity = 42;
+ }
+ buildCounterOrderreturnsLineItem--;
+ return o;
+}
+
+checkOrderreturnsLineItem(api.OrderreturnsLineItem o) {
+ buildCounterOrderreturnsLineItem++;
+ if (buildCounterOrderreturnsLineItem < 3) {
+ unittest.expect(o.lineItemId, unittest.equals('foo'));
+ unittest.expect(o.quantity, unittest.equals(42));
+ }
+ buildCounterOrderreturnsLineItem--;
+}
+
+buildUnnamed1546() {
var o = new core.List<api.MerchantOrderReturn>();
o.add(buildMerchantOrderReturn());
o.add(buildMerchantOrderReturn());
return o;
}
-checkUnnamed1544(core.List<api.MerchantOrderReturn> o) {
+checkUnnamed1546(core.List<api.MerchantOrderReturn> o) {
unittest.expect(o, unittest.hasLength(2));
checkMerchantOrderReturn(o[0]);
checkMerchantOrderReturn(o[1]);
@@ -4834,7 +4918,7 @@
if (buildCounterOrderreturnsListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.resources = buildUnnamed1544();
+ o.resources = buildUnnamed1546();
}
buildCounterOrderreturnsListResponse--;
return o;
@@ -4845,7 +4929,7 @@
if (buildCounterOrderreturnsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1544(o.resources);
+ checkUnnamed1546(o.resources);
}
buildCounterOrderreturnsListResponse--;
}
@@ -4871,14 +4955,14 @@
buildCounterOrderreturnsPartialRefund--;
}
-buildUnnamed1545() {
+buildUnnamed1547() {
var o = new core.List<api.OrderreturnsReturnItem>();
o.add(buildOrderreturnsReturnItem());
o.add(buildOrderreturnsReturnItem());
return o;
}
-checkUnnamed1545(core.List<api.OrderreturnsReturnItem> o) {
+checkUnnamed1547(core.List<api.OrderreturnsReturnItem> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderreturnsReturnItem(o[0]);
checkOrderreturnsReturnItem(o[1]);
@@ -4892,7 +4976,7 @@
o.fullChargeReturnShippingCost = true;
o.operationId = "foo";
o.refundShippingFee = buildOrderreturnsRefundOperation();
- o.returnItems = buildUnnamed1545();
+ o.returnItems = buildUnnamed1547();
}
buildCounterOrderreturnsProcessRequest--;
return o;
@@ -4904,7 +4988,7 @@
unittest.expect(o.fullChargeReturnShippingCost, unittest.isTrue);
unittest.expect(o.operationId, unittest.equals('foo'));
checkOrderreturnsRefundOperation(o.refundShippingFee);
- checkUnnamed1545(o.returnItems);
+ checkUnnamed1547(o.returnItems);
}
buildCounterOrderreturnsProcessRequest--;
}
@@ -5238,7 +5322,7 @@
buildCounterOrdersCreateTestOrderResponse--;
}
-buildUnnamed1546() {
+buildUnnamed1548() {
var o = new core
.List<api.OrdersCustomBatchRequestEntryCreateTestReturnReturnItem>();
o.add(buildOrdersCustomBatchRequestEntryCreateTestReturnReturnItem());
@@ -5246,7 +5330,7 @@
return o;
}
-checkUnnamed1546(
+checkUnnamed1548(
core.List<api.OrdersCustomBatchRequestEntryCreateTestReturnReturnItem> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrdersCustomBatchRequestEntryCreateTestReturnReturnItem(o[0]);
@@ -5258,7 +5342,7 @@
var o = new api.OrdersCreateTestReturnRequest();
buildCounterOrdersCreateTestReturnRequest++;
if (buildCounterOrdersCreateTestReturnRequest < 3) {
- o.items = buildUnnamed1546();
+ o.items = buildUnnamed1548();
}
buildCounterOrdersCreateTestReturnRequest--;
return o;
@@ -5267,7 +5351,7 @@
checkOrdersCreateTestReturnRequest(api.OrdersCreateTestReturnRequest o) {
buildCounterOrdersCreateTestReturnRequest++;
if (buildCounterOrdersCreateTestReturnRequest < 3) {
- checkUnnamed1546(o.items);
+ checkUnnamed1548(o.items);
}
buildCounterOrdersCreateTestReturnRequest--;
}
@@ -5490,14 +5574,14 @@
buildCounterOrdersInStoreRefundLineItemResponse--;
}
-buildUnnamed1547() {
+buildUnnamed1549() {
var o = new core.List<api.Order>();
o.add(buildOrder());
o.add(buildOrder());
return o;
}
-checkUnnamed1547(core.List<api.Order> o) {
+checkUnnamed1549(core.List<api.Order> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrder(o[0]);
checkOrder(o[1]);
@@ -5510,7 +5594,7 @@
if (buildCounterOrdersListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.resources = buildUnnamed1547();
+ o.resources = buildUnnamed1549();
}
buildCounterOrdersListResponse--;
return o;
@@ -5521,19 +5605,19 @@
if (buildCounterOrdersListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1547(o.resources);
+ checkUnnamed1549(o.resources);
}
buildCounterOrdersListResponse--;
}
-buildUnnamed1548() {
+buildUnnamed1550() {
var o = new core.List<api.OrdersCustomBatchRequestEntryRefundItemItem>();
o.add(buildOrdersCustomBatchRequestEntryRefundItemItem());
o.add(buildOrdersCustomBatchRequestEntryRefundItemItem());
return o;
}
-checkUnnamed1548(core.List<api.OrdersCustomBatchRequestEntryRefundItemItem> o) {
+checkUnnamed1550(core.List<api.OrdersCustomBatchRequestEntryRefundItemItem> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrdersCustomBatchRequestEntryRefundItemItem(o[0]);
checkOrdersCustomBatchRequestEntryRefundItemItem(o[1]);
@@ -5544,7 +5628,7 @@
var o = new api.OrdersRefundItemRequest();
buildCounterOrdersRefundItemRequest++;
if (buildCounterOrdersRefundItemRequest < 3) {
- o.items = buildUnnamed1548();
+ o.items = buildUnnamed1550();
o.operationId = "foo";
o.reason = "foo";
o.reasonText = "foo";
@@ -5557,7 +5641,7 @@
checkOrdersRefundItemRequest(api.OrdersRefundItemRequest o) {
buildCounterOrdersRefundItemRequest++;
if (buildCounterOrdersRefundItemRequest < 3) {
- checkUnnamed1548(o.items);
+ checkUnnamed1550(o.items);
unittest.expect(o.operationId, unittest.equals('foo'));
unittest.expect(o.reason, unittest.equals('foo'));
unittest.expect(o.reasonText, unittest.equals('foo'));
@@ -5743,14 +5827,14 @@
buildCounterOrdersReturnRefundLineItemResponse--;
}
-buildUnnamed1549() {
+buildUnnamed1551() {
var o = new core.List<api.OrderMerchantProvidedAnnotation>();
o.add(buildOrderMerchantProvidedAnnotation());
o.add(buildOrderMerchantProvidedAnnotation());
return o;
}
-checkUnnamed1549(core.List<api.OrderMerchantProvidedAnnotation> o) {
+checkUnnamed1551(core.List<api.OrderMerchantProvidedAnnotation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderMerchantProvidedAnnotation(o[0]);
checkOrderMerchantProvidedAnnotation(o[1]);
@@ -5761,7 +5845,7 @@
var o = new api.OrdersSetLineItemMetadataRequest();
buildCounterOrdersSetLineItemMetadataRequest++;
if (buildCounterOrdersSetLineItemMetadataRequest < 3) {
- o.annotations = buildUnnamed1549();
+ o.annotations = buildUnnamed1551();
o.lineItemId = "foo";
o.operationId = "foo";
o.productId = "foo";
@@ -5773,7 +5857,7 @@
checkOrdersSetLineItemMetadataRequest(api.OrdersSetLineItemMetadataRequest o) {
buildCounterOrdersSetLineItemMetadataRequest++;
if (buildCounterOrdersSetLineItemMetadataRequest < 3) {
- checkUnnamed1549(o.annotations);
+ checkUnnamed1551(o.annotations);
unittest.expect(o.lineItemId, unittest.equals('foo'));
unittest.expect(o.operationId, unittest.equals('foo'));
unittest.expect(o.productId, unittest.equals('foo'));
@@ -5803,20 +5887,20 @@
buildCounterOrdersSetLineItemMetadataResponse--;
}
-buildUnnamed1550() {
+buildUnnamed1552() {
var o = new core.List<api.OrderShipmentLineItemShipment>();
o.add(buildOrderShipmentLineItemShipment());
o.add(buildOrderShipmentLineItemShipment());
return o;
}
-checkUnnamed1550(core.List<api.OrderShipmentLineItemShipment> o) {
+checkUnnamed1552(core.List<api.OrderShipmentLineItemShipment> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderShipmentLineItemShipment(o[0]);
checkOrderShipmentLineItemShipment(o[1]);
}
-buildUnnamed1551() {
+buildUnnamed1553() {
var o = new core
.List<api.OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo>();
o.add(buildOrdersCustomBatchRequestEntryShipLineItemsShipmentInfo());
@@ -5824,7 +5908,7 @@
return o;
}
-checkUnnamed1551(
+checkUnnamed1553(
core.List<api.OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrdersCustomBatchRequestEntryShipLineItemsShipmentInfo(o[0]);
@@ -5836,10 +5920,10 @@
var o = new api.OrdersShipLineItemsRequest();
buildCounterOrdersShipLineItemsRequest++;
if (buildCounterOrdersShipLineItemsRequest < 3) {
- o.lineItems = buildUnnamed1550();
+ o.lineItems = buildUnnamed1552();
o.operationId = "foo";
o.shipmentGroupId = "foo";
- o.shipmentInfos = buildUnnamed1551();
+ o.shipmentInfos = buildUnnamed1553();
}
buildCounterOrdersShipLineItemsRequest--;
return o;
@@ -5848,10 +5932,10 @@
checkOrdersShipLineItemsRequest(api.OrdersShipLineItemsRequest o) {
buildCounterOrdersShipLineItemsRequest++;
if (buildCounterOrdersShipLineItemsRequest < 3) {
- checkUnnamed1550(o.lineItems);
+ checkUnnamed1552(o.lineItems);
unittest.expect(o.operationId, unittest.equals('foo'));
unittest.expect(o.shipmentGroupId, unittest.equals('foo'));
- checkUnnamed1551(o.shipmentInfos);
+ checkUnnamed1553(o.shipmentInfos);
}
buildCounterOrdersShipLineItemsRequest--;
}
@@ -6071,14 +6155,14 @@
buildCounterPickupServicesPickupService--;
}
-buildUnnamed1552() {
+buildUnnamed1554() {
var o = new core.List<api.PosCustomBatchRequestEntry>();
o.add(buildPosCustomBatchRequestEntry());
o.add(buildPosCustomBatchRequestEntry());
return o;
}
-checkUnnamed1552(core.List<api.PosCustomBatchRequestEntry> o) {
+checkUnnamed1554(core.List<api.PosCustomBatchRequestEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkPosCustomBatchRequestEntry(o[0]);
checkPosCustomBatchRequestEntry(o[1]);
@@ -6089,7 +6173,7 @@
var o = new api.PosCustomBatchRequest();
buildCounterPosCustomBatchRequest++;
if (buildCounterPosCustomBatchRequest < 3) {
- o.entries = buildUnnamed1552();
+ o.entries = buildUnnamed1554();
}
buildCounterPosCustomBatchRequest--;
return o;
@@ -6098,7 +6182,7 @@
checkPosCustomBatchRequest(api.PosCustomBatchRequest o) {
buildCounterPosCustomBatchRequest++;
if (buildCounterPosCustomBatchRequest < 3) {
- checkUnnamed1552(o.entries);
+ checkUnnamed1554(o.entries);
}
buildCounterPosCustomBatchRequest--;
}
@@ -6136,14 +6220,14 @@
buildCounterPosCustomBatchRequestEntry--;
}
-buildUnnamed1553() {
+buildUnnamed1555() {
var o = new core.List<api.PosCustomBatchResponseEntry>();
o.add(buildPosCustomBatchResponseEntry());
o.add(buildPosCustomBatchResponseEntry());
return o;
}
-checkUnnamed1553(core.List<api.PosCustomBatchResponseEntry> o) {
+checkUnnamed1555(core.List<api.PosCustomBatchResponseEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkPosCustomBatchResponseEntry(o[0]);
checkPosCustomBatchResponseEntry(o[1]);
@@ -6154,7 +6238,7 @@
var o = new api.PosCustomBatchResponse();
buildCounterPosCustomBatchResponse++;
if (buildCounterPosCustomBatchResponse < 3) {
- o.entries = buildUnnamed1553();
+ o.entries = buildUnnamed1555();
o.kind = "foo";
}
buildCounterPosCustomBatchResponse--;
@@ -6164,7 +6248,7 @@
checkPosCustomBatchResponse(api.PosCustomBatchResponse o) {
buildCounterPosCustomBatchResponse++;
if (buildCounterPosCustomBatchResponse < 3) {
- checkUnnamed1553(o.entries);
+ checkUnnamed1555(o.entries);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterPosCustomBatchResponse--;
@@ -6199,14 +6283,14 @@
buildCounterPosCustomBatchResponseEntry--;
}
-buildUnnamed1554() {
+buildUnnamed1556() {
var o = new core.List<api.PosDataProvidersPosDataProvider>();
o.add(buildPosDataProvidersPosDataProvider());
o.add(buildPosDataProvidersPosDataProvider());
return o;
}
-checkUnnamed1554(core.List<api.PosDataProvidersPosDataProvider> o) {
+checkUnnamed1556(core.List<api.PosDataProvidersPosDataProvider> o) {
unittest.expect(o, unittest.hasLength(2));
checkPosDataProvidersPosDataProvider(o[0]);
checkPosDataProvidersPosDataProvider(o[1]);
@@ -6218,7 +6302,7 @@
buildCounterPosDataProviders++;
if (buildCounterPosDataProviders < 3) {
o.country = "foo";
- o.posDataProviders = buildUnnamed1554();
+ o.posDataProviders = buildUnnamed1556();
}
buildCounterPosDataProviders--;
return o;
@@ -6228,7 +6312,7 @@
buildCounterPosDataProviders++;
if (buildCounterPosDataProviders < 3) {
unittest.expect(o.country, unittest.equals('foo'));
- checkUnnamed1554(o.posDataProviders);
+ checkUnnamed1556(o.posDataProviders);
}
buildCounterPosDataProviders--;
}
@@ -6359,14 +6443,14 @@
buildCounterPosInventoryResponse--;
}
-buildUnnamed1555() {
+buildUnnamed1557() {
var o = new core.List<api.PosStore>();
o.add(buildPosStore());
o.add(buildPosStore());
return o;
}
-checkUnnamed1555(core.List<api.PosStore> o) {
+checkUnnamed1557(core.List<api.PosStore> o) {
unittest.expect(o, unittest.hasLength(2));
checkPosStore(o[0]);
checkPosStore(o[1]);
@@ -6378,7 +6462,7 @@
buildCounterPosListResponse++;
if (buildCounterPosListResponse < 3) {
o.kind = "foo";
- o.resources = buildUnnamed1555();
+ o.resources = buildUnnamed1557();
}
buildCounterPosListResponse--;
return o;
@@ -6388,7 +6472,7 @@
buildCounterPosListResponse++;
if (buildCounterPosListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1555(o.resources);
+ checkUnnamed1557(o.resources);
}
buildCounterPosListResponse--;
}
@@ -6525,14 +6609,14 @@
buildCounterPosStore--;
}
-buildUnnamed1556() {
+buildUnnamed1558() {
var o = new core.List<api.PostalCodeRange>();
o.add(buildPostalCodeRange());
o.add(buildPostalCodeRange());
return o;
}
-checkUnnamed1556(core.List<api.PostalCodeRange> o) {
+checkUnnamed1558(core.List<api.PostalCodeRange> o) {
unittest.expect(o, unittest.hasLength(2));
checkPostalCodeRange(o[0]);
checkPostalCodeRange(o[1]);
@@ -6545,7 +6629,7 @@
if (buildCounterPostalCodeGroup < 3) {
o.country = "foo";
o.name = "foo";
- o.postalCodeRanges = buildUnnamed1556();
+ o.postalCodeRanges = buildUnnamed1558();
}
buildCounterPostalCodeGroup--;
return o;
@@ -6556,7 +6640,7 @@
if (buildCounterPostalCodeGroup < 3) {
unittest.expect(o.country, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1556(o.postalCodeRanges);
+ checkUnnamed1558(o.postalCodeRanges);
}
buildCounterPostalCodeGroup--;
}
@@ -6603,43 +6687,17 @@
buildCounterPrice--;
}
-buildUnnamed1557() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1557(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed1558() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1558(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed1559() {
- var o = new core.List<api.CustomAttribute>();
- o.add(buildCustomAttribute());
- o.add(buildCustomAttribute());
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
return o;
}
-checkUnnamed1559(core.List<api.CustomAttribute> o) {
+checkUnnamed1559(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
- checkCustomAttribute(o[0]);
- checkCustomAttribute(o[1]);
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
}
buildUnnamed1560() {
@@ -6656,16 +6714,16 @@
}
buildUnnamed1561() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
+ var o = new core.List<api.CustomAttribute>();
+ o.add(buildCustomAttribute());
+ o.add(buildCustomAttribute());
return o;
}
-checkUnnamed1561(core.List<core.String> o) {
+checkUnnamed1561(core.List<api.CustomAttribute> o) {
unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
+ checkCustomAttribute(o[0]);
+ checkCustomAttribute(o[1]);
}
buildUnnamed1562() {
@@ -6682,16 +6740,16 @@
}
buildUnnamed1563() {
- var o = new core.List<api.ProductProductDetail>();
- o.add(buildProductProductDetail());
- o.add(buildProductProductDetail());
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
return o;
}
-checkUnnamed1563(core.List<api.ProductProductDetail> o) {
+checkUnnamed1563(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
- checkProductProductDetail(o[0]);
- checkProductProductDetail(o[1]);
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
}
buildUnnamed1564() {
@@ -6708,16 +6766,16 @@
}
buildUnnamed1565() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
+ var o = new core.List<api.ProductProductDetail>();
+ o.add(buildProductProductDetail());
+ o.add(buildProductProductDetail());
return o;
}
-checkUnnamed1565(core.List<core.String> o) {
+checkUnnamed1565(core.List<api.ProductProductDetail> o) {
unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
+ checkProductProductDetail(o[0]);
+ checkProductProductDetail(o[1]);
}
buildUnnamed1566() {
@@ -6734,16 +6792,16 @@
}
buildUnnamed1567() {
- var o = new core.List<api.ProductShipping>();
- o.add(buildProductShipping());
- o.add(buildProductShipping());
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
return o;
}
-checkUnnamed1567(core.List<api.ProductShipping> o) {
+checkUnnamed1567(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
- checkProductShipping(o[0]);
- checkProductShipping(o[1]);
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
}
buildUnnamed1568() {
@@ -6760,26 +6818,52 @@
}
buildUnnamed1569() {
+ var o = new core.List<api.ProductShipping>();
+ o.add(buildProductShipping());
+ o.add(buildProductShipping());
+ return o;
+}
+
+checkUnnamed1569(core.List<api.ProductShipping> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkProductShipping(o[0]);
+ checkProductShipping(o[1]);
+}
+
+buildUnnamed1570() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1569(core.List<core.String> o) {
+checkUnnamed1570(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1570() {
+buildUnnamed1571() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1571(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed1572() {
var o = new core.List<api.ProductTax>();
o.add(buildProductTax());
o.add(buildProductTax());
return o;
}
-checkUnnamed1570(core.List<api.ProductTax> o) {
+checkUnnamed1572(core.List<api.ProductTax> o) {
unittest.expect(o, unittest.hasLength(2));
checkProductTax(o[0]);
checkProductTax(o[1]);
@@ -6790,9 +6874,9 @@
var o = new api.Product();
buildCounterProduct++;
if (buildCounterProduct < 3) {
- o.additionalImageLinks = buildUnnamed1557();
+ o.additionalImageLinks = buildUnnamed1559();
o.adsGrouping = "foo";
- o.adsLabels = buildUnnamed1558();
+ o.adsLabels = buildUnnamed1560();
o.adsRedirect = "foo";
o.adult = true;
o.ageGroup = "foo";
@@ -6805,7 +6889,7 @@
o.condition = "foo";
o.contentLanguage = "foo";
o.costOfGoodsSold = buildPrice();
- o.customAttributes = buildUnnamed1559();
+ o.customAttributes = buildUnnamed1561();
o.customLabel0 = "foo";
o.customLabel1 = "foo";
o.customLabel2 = "foo";
@@ -6814,11 +6898,11 @@
o.description = "foo";
o.displayAdsId = "foo";
o.displayAdsLink = "foo";
- o.displayAdsSimilarIds = buildUnnamed1560();
+ o.displayAdsSimilarIds = buildUnnamed1562();
o.displayAdsTitle = "foo";
o.displayAdsValue = 42.0;
o.energyEfficiencyClass = "foo";
- o.excludedDestinations = buildUnnamed1561();
+ o.excludedDestinations = buildUnnamed1563();
o.expirationDate = "foo";
o.gender = "foo";
o.googleProductCategory = "foo";
@@ -6826,7 +6910,7 @@
o.id = "foo";
o.identifierExists = true;
o.imageLink = "foo";
- o.includedDestinations = buildUnnamed1562();
+ o.includedDestinations = buildUnnamed1564();
o.installment = buildInstallment();
o.isBundle = true;
o.itemGroupId = "foo";
@@ -6844,28 +6928,28 @@
o.offerId = "foo";
o.pattern = "foo";
o.price = buildPrice();
- o.productDetails = buildUnnamed1563();
- o.productHighlights = buildUnnamed1564();
- o.productTypes = buildUnnamed1565();
- o.promotionIds = buildUnnamed1566();
+ o.productDetails = buildUnnamed1565();
+ o.productHighlights = buildUnnamed1566();
+ o.productTypes = buildUnnamed1567();
+ o.promotionIds = buildUnnamed1568();
o.salePrice = buildPrice();
o.salePriceEffectiveDate = "foo";
o.sellOnGoogleQuantity = "foo";
- o.shipping = buildUnnamed1567();
+ o.shipping = buildUnnamed1569();
o.shippingHeight = buildProductShippingDimension();
o.shippingLabel = "foo";
o.shippingLength = buildProductShippingDimension();
o.shippingWeight = buildProductShippingWeight();
o.shippingWidth = buildProductShippingDimension();
- o.shoppingAdsExcludedCountries = buildUnnamed1568();
+ o.shoppingAdsExcludedCountries = buildUnnamed1570();
o.sizeSystem = "foo";
o.sizeType = "foo";
- o.sizes = buildUnnamed1569();
+ o.sizes = buildUnnamed1571();
o.source = "foo";
o.subscriptionCost = buildProductSubscriptionCost();
o.targetCountry = "foo";
o.taxCategory = "foo";
- o.taxes = buildUnnamed1570();
+ o.taxes = buildUnnamed1572();
o.title = "foo";
o.transitTimeLabel = "foo";
o.unitPricingBaseMeasure = buildProductUnitPricingBaseMeasure();
@@ -6878,9 +6962,9 @@
checkProduct(api.Product o) {
buildCounterProduct++;
if (buildCounterProduct < 3) {
- checkUnnamed1557(o.additionalImageLinks);
+ checkUnnamed1559(o.additionalImageLinks);
unittest.expect(o.adsGrouping, unittest.equals('foo'));
- checkUnnamed1558(o.adsLabels);
+ checkUnnamed1560(o.adsLabels);
unittest.expect(o.adsRedirect, unittest.equals('foo'));
unittest.expect(o.adult, unittest.isTrue);
unittest.expect(o.ageGroup, unittest.equals('foo'));
@@ -6893,7 +6977,7 @@
unittest.expect(o.condition, unittest.equals('foo'));
unittest.expect(o.contentLanguage, unittest.equals('foo'));
checkPrice(o.costOfGoodsSold);
- checkUnnamed1559(o.customAttributes);
+ checkUnnamed1561(o.customAttributes);
unittest.expect(o.customLabel0, unittest.equals('foo'));
unittest.expect(o.customLabel1, unittest.equals('foo'));
unittest.expect(o.customLabel2, unittest.equals('foo'));
@@ -6902,11 +6986,11 @@
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.displayAdsId, unittest.equals('foo'));
unittest.expect(o.displayAdsLink, unittest.equals('foo'));
- checkUnnamed1560(o.displayAdsSimilarIds);
+ checkUnnamed1562(o.displayAdsSimilarIds);
unittest.expect(o.displayAdsTitle, unittest.equals('foo'));
unittest.expect(o.displayAdsValue, unittest.equals(42.0));
unittest.expect(o.energyEfficiencyClass, unittest.equals('foo'));
- checkUnnamed1561(o.excludedDestinations);
+ checkUnnamed1563(o.excludedDestinations);
unittest.expect(o.expirationDate, unittest.equals('foo'));
unittest.expect(o.gender, unittest.equals('foo'));
unittest.expect(o.googleProductCategory, unittest.equals('foo'));
@@ -6914,7 +6998,7 @@
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.identifierExists, unittest.isTrue);
unittest.expect(o.imageLink, unittest.equals('foo'));
- checkUnnamed1562(o.includedDestinations);
+ checkUnnamed1564(o.includedDestinations);
checkInstallment(o.installment);
unittest.expect(o.isBundle, unittest.isTrue);
unittest.expect(o.itemGroupId, unittest.equals('foo'));
@@ -6932,28 +7016,28 @@
unittest.expect(o.offerId, unittest.equals('foo'));
unittest.expect(o.pattern, unittest.equals('foo'));
checkPrice(o.price);
- checkUnnamed1563(o.productDetails);
- checkUnnamed1564(o.productHighlights);
- checkUnnamed1565(o.productTypes);
- checkUnnamed1566(o.promotionIds);
+ checkUnnamed1565(o.productDetails);
+ checkUnnamed1566(o.productHighlights);
+ checkUnnamed1567(o.productTypes);
+ checkUnnamed1568(o.promotionIds);
checkPrice(o.salePrice);
unittest.expect(o.salePriceEffectiveDate, unittest.equals('foo'));
unittest.expect(o.sellOnGoogleQuantity, unittest.equals('foo'));
- checkUnnamed1567(o.shipping);
+ checkUnnamed1569(o.shipping);
checkProductShippingDimension(o.shippingHeight);
unittest.expect(o.shippingLabel, unittest.equals('foo'));
checkProductShippingDimension(o.shippingLength);
checkProductShippingWeight(o.shippingWeight);
checkProductShippingDimension(o.shippingWidth);
- checkUnnamed1568(o.shoppingAdsExcludedCountries);
+ checkUnnamed1570(o.shoppingAdsExcludedCountries);
unittest.expect(o.sizeSystem, unittest.equals('foo'));
unittest.expect(o.sizeType, unittest.equals('foo'));
- checkUnnamed1569(o.sizes);
+ checkUnnamed1571(o.sizes);
unittest.expect(o.source, unittest.equals('foo'));
checkProductSubscriptionCost(o.subscriptionCost);
unittest.expect(o.targetCountry, unittest.equals('foo'));
unittest.expect(o.taxCategory, unittest.equals('foo'));
- checkUnnamed1570(o.taxes);
+ checkUnnamed1572(o.taxes);
unittest.expect(o.title, unittest.equals('foo'));
unittest.expect(o.transitTimeLabel, unittest.equals('foo'));
checkProductUnitPricingBaseMeasure(o.unitPricingBaseMeasure);
@@ -7081,27 +7165,27 @@
buildCounterProductShippingWeight--;
}
-buildUnnamed1571() {
+buildUnnamed1573() {
var o = new core.List<api.ProductStatusDestinationStatus>();
o.add(buildProductStatusDestinationStatus());
o.add(buildProductStatusDestinationStatus());
return o;
}
-checkUnnamed1571(core.List<api.ProductStatusDestinationStatus> o) {
+checkUnnamed1573(core.List<api.ProductStatusDestinationStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkProductStatusDestinationStatus(o[0]);
checkProductStatusDestinationStatus(o[1]);
}
-buildUnnamed1572() {
+buildUnnamed1574() {
var o = new core.List<api.ProductStatusItemLevelIssue>();
o.add(buildProductStatusItemLevelIssue());
o.add(buildProductStatusItemLevelIssue());
return o;
}
-checkUnnamed1572(core.List<api.ProductStatusItemLevelIssue> o) {
+checkUnnamed1574(core.List<api.ProductStatusItemLevelIssue> o) {
unittest.expect(o, unittest.hasLength(2));
checkProductStatusItemLevelIssue(o[0]);
checkProductStatusItemLevelIssue(o[1]);
@@ -7113,9 +7197,9 @@
buildCounterProductStatus++;
if (buildCounterProductStatus < 3) {
o.creationDate = "foo";
- o.destinationStatuses = buildUnnamed1571();
+ o.destinationStatuses = buildUnnamed1573();
o.googleExpirationDate = "foo";
- o.itemLevelIssues = buildUnnamed1572();
+ o.itemLevelIssues = buildUnnamed1574();
o.kind = "foo";
o.lastUpdateDate = "foo";
o.link = "foo";
@@ -7130,9 +7214,9 @@
buildCounterProductStatus++;
if (buildCounterProductStatus < 3) {
unittest.expect(o.creationDate, unittest.equals('foo'));
- checkUnnamed1571(o.destinationStatuses);
+ checkUnnamed1573(o.destinationStatuses);
unittest.expect(o.googleExpirationDate, unittest.equals('foo'));
- checkUnnamed1572(o.itemLevelIssues);
+ checkUnnamed1574(o.itemLevelIssues);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.lastUpdateDate, unittest.equals('foo'));
unittest.expect(o.link, unittest.equals('foo'));
@@ -7142,32 +7226,6 @@
buildCounterProductStatus--;
}
-buildUnnamed1573() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1573(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed1574() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1574(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed1575() {
var o = new core.List<core.String>();
o.add("foo");
@@ -7181,33 +7239,6 @@
unittest.expect(o[1], unittest.equals('foo'));
}
-core.int buildCounterProductStatusDestinationStatus = 0;
-buildProductStatusDestinationStatus() {
- var o = new api.ProductStatusDestinationStatus();
- buildCounterProductStatusDestinationStatus++;
- if (buildCounterProductStatusDestinationStatus < 3) {
- o.approvedCountries = buildUnnamed1573();
- o.destination = "foo";
- o.disapprovedCountries = buildUnnamed1574();
- o.pendingCountries = buildUnnamed1575();
- o.status = "foo";
- }
- buildCounterProductStatusDestinationStatus--;
- return o;
-}
-
-checkProductStatusDestinationStatus(api.ProductStatusDestinationStatus o) {
- buildCounterProductStatusDestinationStatus++;
- if (buildCounterProductStatusDestinationStatus < 3) {
- checkUnnamed1573(o.approvedCountries);
- unittest.expect(o.destination, unittest.equals('foo'));
- checkUnnamed1574(o.disapprovedCountries);
- checkUnnamed1575(o.pendingCountries);
- unittest.expect(o.status, unittest.equals('foo'));
- }
- buildCounterProductStatusDestinationStatus--;
-}
-
buildUnnamed1576() {
var o = new core.List<core.String>();
o.add("foo");
@@ -7221,12 +7252,65 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed1577() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1577(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+core.int buildCounterProductStatusDestinationStatus = 0;
+buildProductStatusDestinationStatus() {
+ var o = new api.ProductStatusDestinationStatus();
+ buildCounterProductStatusDestinationStatus++;
+ if (buildCounterProductStatusDestinationStatus < 3) {
+ o.approvedCountries = buildUnnamed1575();
+ o.destination = "foo";
+ o.disapprovedCountries = buildUnnamed1576();
+ o.pendingCountries = buildUnnamed1577();
+ o.status = "foo";
+ }
+ buildCounterProductStatusDestinationStatus--;
+ return o;
+}
+
+checkProductStatusDestinationStatus(api.ProductStatusDestinationStatus o) {
+ buildCounterProductStatusDestinationStatus++;
+ if (buildCounterProductStatusDestinationStatus < 3) {
+ checkUnnamed1575(o.approvedCountries);
+ unittest.expect(o.destination, unittest.equals('foo'));
+ checkUnnamed1576(o.disapprovedCountries);
+ checkUnnamed1577(o.pendingCountries);
+ unittest.expect(o.status, unittest.equals('foo'));
+ }
+ buildCounterProductStatusDestinationStatus--;
+}
+
+buildUnnamed1578() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1578(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
core.int buildCounterProductStatusItemLevelIssue = 0;
buildProductStatusItemLevelIssue() {
var o = new api.ProductStatusItemLevelIssue();
buildCounterProductStatusItemLevelIssue++;
if (buildCounterProductStatusItemLevelIssue < 3) {
- o.applicableCountries = buildUnnamed1576();
+ o.applicableCountries = buildUnnamed1578();
o.attributeName = "foo";
o.code = "foo";
o.description = "foo";
@@ -7243,7 +7327,7 @@
checkProductStatusItemLevelIssue(api.ProductStatusItemLevelIssue o) {
buildCounterProductStatusItemLevelIssue++;
if (buildCounterProductStatusItemLevelIssue < 3) {
- checkUnnamed1576(o.applicableCountries);
+ checkUnnamed1578(o.applicableCountries);
unittest.expect(o.attributeName, unittest.equals('foo'));
unittest.expect(o.code, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
@@ -7350,14 +7434,14 @@
buildCounterProductUnitPricingMeasure--;
}
-buildUnnamed1577() {
+buildUnnamed1579() {
var o = new core.List<api.ProductsCustomBatchRequestEntry>();
o.add(buildProductsCustomBatchRequestEntry());
o.add(buildProductsCustomBatchRequestEntry());
return o;
}
-checkUnnamed1577(core.List<api.ProductsCustomBatchRequestEntry> o) {
+checkUnnamed1579(core.List<api.ProductsCustomBatchRequestEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkProductsCustomBatchRequestEntry(o[0]);
checkProductsCustomBatchRequestEntry(o[1]);
@@ -7368,7 +7452,7 @@
var o = new api.ProductsCustomBatchRequest();
buildCounterProductsCustomBatchRequest++;
if (buildCounterProductsCustomBatchRequest < 3) {
- o.entries = buildUnnamed1577();
+ o.entries = buildUnnamed1579();
}
buildCounterProductsCustomBatchRequest--;
return o;
@@ -7377,7 +7461,7 @@
checkProductsCustomBatchRequest(api.ProductsCustomBatchRequest o) {
buildCounterProductsCustomBatchRequest++;
if (buildCounterProductsCustomBatchRequest < 3) {
- checkUnnamed1577(o.entries);
+ checkUnnamed1579(o.entries);
}
buildCounterProductsCustomBatchRequest--;
}
@@ -7411,14 +7495,14 @@
buildCounterProductsCustomBatchRequestEntry--;
}
-buildUnnamed1578() {
+buildUnnamed1580() {
var o = new core.List<api.ProductsCustomBatchResponseEntry>();
o.add(buildProductsCustomBatchResponseEntry());
o.add(buildProductsCustomBatchResponseEntry());
return o;
}
-checkUnnamed1578(core.List<api.ProductsCustomBatchResponseEntry> o) {
+checkUnnamed1580(core.List<api.ProductsCustomBatchResponseEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkProductsCustomBatchResponseEntry(o[0]);
checkProductsCustomBatchResponseEntry(o[1]);
@@ -7429,7 +7513,7 @@
var o = new api.ProductsCustomBatchResponse();
buildCounterProductsCustomBatchResponse++;
if (buildCounterProductsCustomBatchResponse < 3) {
- o.entries = buildUnnamed1578();
+ o.entries = buildUnnamed1580();
o.kind = "foo";
}
buildCounterProductsCustomBatchResponse--;
@@ -7439,7 +7523,7 @@
checkProductsCustomBatchResponse(api.ProductsCustomBatchResponse o) {
buildCounterProductsCustomBatchResponse++;
if (buildCounterProductsCustomBatchResponse < 3) {
- checkUnnamed1578(o.entries);
+ checkUnnamed1580(o.entries);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterProductsCustomBatchResponse--;
@@ -7470,14 +7554,14 @@
buildCounterProductsCustomBatchResponseEntry--;
}
-buildUnnamed1579() {
+buildUnnamed1581() {
var o = new core.List<api.Product>();
o.add(buildProduct());
o.add(buildProduct());
return o;
}
-checkUnnamed1579(core.List<api.Product> o) {
+checkUnnamed1581(core.List<api.Product> o) {
unittest.expect(o, unittest.hasLength(2));
checkProduct(o[0]);
checkProduct(o[1]);
@@ -7490,7 +7574,7 @@
if (buildCounterProductsListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.resources = buildUnnamed1579();
+ o.resources = buildUnnamed1581();
}
buildCounterProductsListResponse--;
return o;
@@ -7501,19 +7585,19 @@
if (buildCounterProductsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1579(o.resources);
+ checkUnnamed1581(o.resources);
}
buildCounterProductsListResponse--;
}
-buildUnnamed1580() {
+buildUnnamed1582() {
var o = new core.List<api.ProductstatusesCustomBatchRequestEntry>();
o.add(buildProductstatusesCustomBatchRequestEntry());
o.add(buildProductstatusesCustomBatchRequestEntry());
return o;
}
-checkUnnamed1580(core.List<api.ProductstatusesCustomBatchRequestEntry> o) {
+checkUnnamed1582(core.List<api.ProductstatusesCustomBatchRequestEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkProductstatusesCustomBatchRequestEntry(o[0]);
checkProductstatusesCustomBatchRequestEntry(o[1]);
@@ -7524,7 +7608,7 @@
var o = new api.ProductstatusesCustomBatchRequest();
buildCounterProductstatusesCustomBatchRequest++;
if (buildCounterProductstatusesCustomBatchRequest < 3) {
- o.entries = buildUnnamed1580();
+ o.entries = buildUnnamed1582();
}
buildCounterProductstatusesCustomBatchRequest--;
return o;
@@ -7534,19 +7618,19 @@
api.ProductstatusesCustomBatchRequest o) {
buildCounterProductstatusesCustomBatchRequest++;
if (buildCounterProductstatusesCustomBatchRequest < 3) {
- checkUnnamed1580(o.entries);
+ checkUnnamed1582(o.entries);
}
buildCounterProductstatusesCustomBatchRequest--;
}
-buildUnnamed1581() {
+buildUnnamed1583() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1581(core.List<core.String> o) {
+checkUnnamed1583(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -7558,7 +7642,7 @@
buildCounterProductstatusesCustomBatchRequestEntry++;
if (buildCounterProductstatusesCustomBatchRequestEntry < 3) {
o.batchId = 42;
- o.destinations = buildUnnamed1581();
+ o.destinations = buildUnnamed1583();
o.includeAttributes = true;
o.merchantId = "foo";
o.method = "foo";
@@ -7573,7 +7657,7 @@
buildCounterProductstatusesCustomBatchRequestEntry++;
if (buildCounterProductstatusesCustomBatchRequestEntry < 3) {
unittest.expect(o.batchId, unittest.equals(42));
- checkUnnamed1581(o.destinations);
+ checkUnnamed1583(o.destinations);
unittest.expect(o.includeAttributes, unittest.isTrue);
unittest.expect(o.merchantId, unittest.equals('foo'));
unittest.expect(o.method, unittest.equals('foo'));
@@ -7582,14 +7666,14 @@
buildCounterProductstatusesCustomBatchRequestEntry--;
}
-buildUnnamed1582() {
+buildUnnamed1584() {
var o = new core.List<api.ProductstatusesCustomBatchResponseEntry>();
o.add(buildProductstatusesCustomBatchResponseEntry());
o.add(buildProductstatusesCustomBatchResponseEntry());
return o;
}
-checkUnnamed1582(core.List<api.ProductstatusesCustomBatchResponseEntry> o) {
+checkUnnamed1584(core.List<api.ProductstatusesCustomBatchResponseEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkProductstatusesCustomBatchResponseEntry(o[0]);
checkProductstatusesCustomBatchResponseEntry(o[1]);
@@ -7600,7 +7684,7 @@
var o = new api.ProductstatusesCustomBatchResponse();
buildCounterProductstatusesCustomBatchResponse++;
if (buildCounterProductstatusesCustomBatchResponse < 3) {
- o.entries = buildUnnamed1582();
+ o.entries = buildUnnamed1584();
o.kind = "foo";
}
buildCounterProductstatusesCustomBatchResponse--;
@@ -7611,7 +7695,7 @@
api.ProductstatusesCustomBatchResponse o) {
buildCounterProductstatusesCustomBatchResponse++;
if (buildCounterProductstatusesCustomBatchResponse < 3) {
- checkUnnamed1582(o.entries);
+ checkUnnamed1584(o.entries);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterProductstatusesCustomBatchResponse--;
@@ -7643,14 +7727,14 @@
buildCounterProductstatusesCustomBatchResponseEntry--;
}
-buildUnnamed1583() {
+buildUnnamed1585() {
var o = new core.List<api.ProductStatus>();
o.add(buildProductStatus());
o.add(buildProductStatus());
return o;
}
-checkUnnamed1583(core.List<api.ProductStatus> o) {
+checkUnnamed1585(core.List<api.ProductStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkProductStatus(o[0]);
checkProductStatus(o[1]);
@@ -7663,7 +7747,7 @@
if (buildCounterProductstatusesListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.resources = buildUnnamed1583();
+ o.resources = buildUnnamed1585();
}
buildCounterProductstatusesListResponse--;
return o;
@@ -7674,19 +7758,19 @@
if (buildCounterProductstatusesListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1583(o.resources);
+ checkUnnamed1585(o.resources);
}
buildCounterProductstatusesListResponse--;
}
-buildUnnamed1584() {
+buildUnnamed1586() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1584(core.List<core.String> o) {
+checkUnnamed1586(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -7699,7 +7783,7 @@
if (buildCounterPubsubNotificationSettings < 3) {
o.cloudTopicName = "foo";
o.kind = "foo";
- o.registeredEvents = buildUnnamed1584();
+ o.registeredEvents = buildUnnamed1586();
}
buildCounterPubsubNotificationSettings--;
return o;
@@ -7710,45 +7794,45 @@
if (buildCounterPubsubNotificationSettings < 3) {
unittest.expect(o.cloudTopicName, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1584(o.registeredEvents);
+ checkUnnamed1586(o.registeredEvents);
}
buildCounterPubsubNotificationSettings--;
}
-buildUnnamed1585() {
+buildUnnamed1587() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1585(core.List<core.String> o) {
+checkUnnamed1587(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1586() {
+buildUnnamed1588() {
var o = new core.List<api.CarrierRate>();
o.add(buildCarrierRate());
o.add(buildCarrierRate());
return o;
}
-checkUnnamed1586(core.List<api.CarrierRate> o) {
+checkUnnamed1588(core.List<api.CarrierRate> o) {
unittest.expect(o, unittest.hasLength(2));
checkCarrierRate(o[0]);
checkCarrierRate(o[1]);
}
-buildUnnamed1587() {
+buildUnnamed1589() {
var o = new core.List<api.Table>();
o.add(buildTable());
o.add(buildTable());
return o;
}
-checkUnnamed1587(core.List<api.Table> o) {
+checkUnnamed1589(core.List<api.Table> o) {
unittest.expect(o, unittest.hasLength(2));
checkTable(o[0]);
checkTable(o[1]);
@@ -7759,12 +7843,12 @@
var o = new api.RateGroup();
buildCounterRateGroup++;
if (buildCounterRateGroup < 3) {
- o.applicableShippingLabels = buildUnnamed1585();
- o.carrierRates = buildUnnamed1586();
+ o.applicableShippingLabels = buildUnnamed1587();
+ o.carrierRates = buildUnnamed1588();
o.mainTable = buildTable();
o.name = "foo";
o.singleValue = buildValue();
- o.subtables = buildUnnamed1587();
+ o.subtables = buildUnnamed1589();
}
buildCounterRateGroup--;
return o;
@@ -7773,12 +7857,12 @@
checkRateGroup(api.RateGroup o) {
buildCounterRateGroup++;
if (buildCounterRateGroup < 3) {
- checkUnnamed1585(o.applicableShippingLabels);
- checkUnnamed1586(o.carrierRates);
+ checkUnnamed1587(o.applicableShippingLabels);
+ checkUnnamed1588(o.carrierRates);
checkTable(o.mainTable);
unittest.expect(o.name, unittest.equals('foo'));
checkValue(o.singleValue);
- checkUnnamed1587(o.subtables);
+ checkUnnamed1589(o.subtables);
}
buildCounterRateGroup--;
}
@@ -7804,14 +7888,14 @@
buildCounterRefundReason--;
}
-buildUnnamed1588() {
+buildUnnamed1590() {
var o = new core.List<api.CustomAttribute>();
o.add(buildCustomAttribute());
o.add(buildCustomAttribute());
return o;
}
-checkUnnamed1588(core.List<api.CustomAttribute> o) {
+checkUnnamed1590(core.List<api.CustomAttribute> o) {
unittest.expect(o, unittest.hasLength(2));
checkCustomAttribute(o[0]);
checkCustomAttribute(o[1]);
@@ -7823,7 +7907,7 @@
buildCounterRegionalInventory++;
if (buildCounterRegionalInventory < 3) {
o.availability = "foo";
- o.customAttributes = buildUnnamed1588();
+ o.customAttributes = buildUnnamed1590();
o.kind = "foo";
o.price = buildPrice();
o.regionId = "foo";
@@ -7838,7 +7922,7 @@
buildCounterRegionalInventory++;
if (buildCounterRegionalInventory < 3) {
unittest.expect(o.availability, unittest.equals('foo'));
- checkUnnamed1588(o.customAttributes);
+ checkUnnamed1590(o.customAttributes);
unittest.expect(o.kind, unittest.equals('foo'));
checkPrice(o.price);
unittest.expect(o.regionId, unittest.equals('foo'));
@@ -7848,14 +7932,14 @@
buildCounterRegionalInventory--;
}
-buildUnnamed1589() {
+buildUnnamed1591() {
var o = new core.List<api.RegionalinventoryCustomBatchRequestEntry>();
o.add(buildRegionalinventoryCustomBatchRequestEntry());
o.add(buildRegionalinventoryCustomBatchRequestEntry());
return o;
}
-checkUnnamed1589(core.List<api.RegionalinventoryCustomBatchRequestEntry> o) {
+checkUnnamed1591(core.List<api.RegionalinventoryCustomBatchRequestEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkRegionalinventoryCustomBatchRequestEntry(o[0]);
checkRegionalinventoryCustomBatchRequestEntry(o[1]);
@@ -7866,7 +7950,7 @@
var o = new api.RegionalinventoryCustomBatchRequest();
buildCounterRegionalinventoryCustomBatchRequest++;
if (buildCounterRegionalinventoryCustomBatchRequest < 3) {
- o.entries = buildUnnamed1589();
+ o.entries = buildUnnamed1591();
}
buildCounterRegionalinventoryCustomBatchRequest--;
return o;
@@ -7876,7 +7960,7 @@
api.RegionalinventoryCustomBatchRequest o) {
buildCounterRegionalinventoryCustomBatchRequest++;
if (buildCounterRegionalinventoryCustomBatchRequest < 3) {
- checkUnnamed1589(o.entries);
+ checkUnnamed1591(o.entries);
}
buildCounterRegionalinventoryCustomBatchRequest--;
}
@@ -7909,14 +7993,14 @@
buildCounterRegionalinventoryCustomBatchRequestEntry--;
}
-buildUnnamed1590() {
+buildUnnamed1592() {
var o = new core.List<api.RegionalinventoryCustomBatchResponseEntry>();
o.add(buildRegionalinventoryCustomBatchResponseEntry());
o.add(buildRegionalinventoryCustomBatchResponseEntry());
return o;
}
-checkUnnamed1590(core.List<api.RegionalinventoryCustomBatchResponseEntry> o) {
+checkUnnamed1592(core.List<api.RegionalinventoryCustomBatchResponseEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkRegionalinventoryCustomBatchResponseEntry(o[0]);
checkRegionalinventoryCustomBatchResponseEntry(o[1]);
@@ -7927,7 +8011,7 @@
var o = new api.RegionalinventoryCustomBatchResponse();
buildCounterRegionalinventoryCustomBatchResponse++;
if (buildCounterRegionalinventoryCustomBatchResponse < 3) {
- o.entries = buildUnnamed1590();
+ o.entries = buildUnnamed1592();
o.kind = "foo";
}
buildCounterRegionalinventoryCustomBatchResponse--;
@@ -7938,7 +8022,7 @@
api.RegionalinventoryCustomBatchResponse o) {
buildCounterRegionalinventoryCustomBatchResponse++;
if (buildCounterRegionalinventoryCustomBatchResponse < 3) {
- checkUnnamed1590(o.entries);
+ checkUnnamed1592(o.entries);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterRegionalinventoryCustomBatchResponse--;
@@ -7999,14 +8083,14 @@
buildCounterReturnAddress--;
}
-buildUnnamed1591() {
+buildUnnamed1593() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1591(core.List<core.String> o) {
+checkUnnamed1593(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -8022,7 +8106,7 @@
o.postalCode = "foo";
o.recipientName = "foo";
o.region = "foo";
- o.streetAddress = buildUnnamed1591();
+ o.streetAddress = buildUnnamed1593();
}
buildCounterReturnAddressAddress--;
return o;
@@ -8036,32 +8120,32 @@
unittest.expect(o.postalCode, unittest.equals('foo'));
unittest.expect(o.recipientName, unittest.equals('foo'));
unittest.expect(o.region, unittest.equals('foo'));
- checkUnnamed1591(o.streetAddress);
+ checkUnnamed1593(o.streetAddress);
}
buildCounterReturnAddressAddress--;
}
-buildUnnamed1592() {
+buildUnnamed1594() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1592(core.List<core.String> o) {
+checkUnnamed1594(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1593() {
+buildUnnamed1595() {
var o = new core.List<api.ReturnPolicySeasonalOverride>();
o.add(buildReturnPolicySeasonalOverride());
o.add(buildReturnPolicySeasonalOverride());
return o;
}
-checkUnnamed1593(core.List<api.ReturnPolicySeasonalOverride> o) {
+checkUnnamed1595(core.List<api.ReturnPolicySeasonalOverride> o) {
unittest.expect(o, unittest.hasLength(2));
checkReturnPolicySeasonalOverride(o[0]);
checkReturnPolicySeasonalOverride(o[1]);
@@ -8076,10 +8160,10 @@
o.kind = "foo";
o.label = "foo";
o.name = "foo";
- o.nonFreeReturnReasons = buildUnnamed1592();
+ o.nonFreeReturnReasons = buildUnnamed1594();
o.policy = buildReturnPolicyPolicy();
o.returnPolicyId = "foo";
- o.seasonalOverrides = buildUnnamed1593();
+ o.seasonalOverrides = buildUnnamed1595();
}
buildCounterReturnPolicy--;
return o;
@@ -8092,10 +8176,10 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.label, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1592(o.nonFreeReturnReasons);
+ checkUnnamed1594(o.nonFreeReturnReasons);
checkReturnPolicyPolicy(o.policy);
unittest.expect(o.returnPolicyId, unittest.equals('foo'));
- checkUnnamed1593(o.seasonalOverrides);
+ checkUnnamed1595(o.seasonalOverrides);
}
buildCounterReturnPolicy--;
}
@@ -8175,14 +8259,14 @@
buildCounterReturnPricingInfo--;
}
-buildUnnamed1594() {
+buildUnnamed1596() {
var o = new core.List<api.ShipmentTrackingInfo>();
o.add(buildShipmentTrackingInfo());
o.add(buildShipmentTrackingInfo());
return o;
}
-checkUnnamed1594(core.List<api.ShipmentTrackingInfo> o) {
+checkUnnamed1596(core.List<api.ShipmentTrackingInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkShipmentTrackingInfo(o[0]);
checkShipmentTrackingInfo(o[1]);
@@ -8197,7 +8281,7 @@
o.deliveryDate = "foo";
o.returnMethodType = "foo";
o.shipmentId = "foo";
- o.shipmentTrackingInfos = buildUnnamed1594();
+ o.shipmentTrackingInfos = buildUnnamed1596();
o.shippingDate = "foo";
o.state = "foo";
}
@@ -8212,21 +8296,21 @@
unittest.expect(o.deliveryDate, unittest.equals('foo'));
unittest.expect(o.returnMethodType, unittest.equals('foo'));
unittest.expect(o.shipmentId, unittest.equals('foo'));
- checkUnnamed1594(o.shipmentTrackingInfos);
+ checkUnnamed1596(o.shipmentTrackingInfos);
unittest.expect(o.shippingDate, unittest.equals('foo'));
unittest.expect(o.state, unittest.equals('foo'));
}
buildCounterReturnShipment--;
}
-buildUnnamed1595() {
+buildUnnamed1597() {
var o = new core.List<api.ReturnaddressCustomBatchRequestEntry>();
o.add(buildReturnaddressCustomBatchRequestEntry());
o.add(buildReturnaddressCustomBatchRequestEntry());
return o;
}
-checkUnnamed1595(core.List<api.ReturnaddressCustomBatchRequestEntry> o) {
+checkUnnamed1597(core.List<api.ReturnaddressCustomBatchRequestEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkReturnaddressCustomBatchRequestEntry(o[0]);
checkReturnaddressCustomBatchRequestEntry(o[1]);
@@ -8237,7 +8321,7 @@
var o = new api.ReturnaddressCustomBatchRequest();
buildCounterReturnaddressCustomBatchRequest++;
if (buildCounterReturnaddressCustomBatchRequest < 3) {
- o.entries = buildUnnamed1595();
+ o.entries = buildUnnamed1597();
}
buildCounterReturnaddressCustomBatchRequest--;
return o;
@@ -8246,7 +8330,7 @@
checkReturnaddressCustomBatchRequest(api.ReturnaddressCustomBatchRequest o) {
buildCounterReturnaddressCustomBatchRequest++;
if (buildCounterReturnaddressCustomBatchRequest < 3) {
- checkUnnamed1595(o.entries);
+ checkUnnamed1597(o.entries);
}
buildCounterReturnaddressCustomBatchRequest--;
}
@@ -8279,14 +8363,14 @@
buildCounterReturnaddressCustomBatchRequestEntry--;
}
-buildUnnamed1596() {
+buildUnnamed1598() {
var o = new core.List<api.ReturnaddressCustomBatchResponseEntry>();
o.add(buildReturnaddressCustomBatchResponseEntry());
o.add(buildReturnaddressCustomBatchResponseEntry());
return o;
}
-checkUnnamed1596(core.List<api.ReturnaddressCustomBatchResponseEntry> o) {
+checkUnnamed1598(core.List<api.ReturnaddressCustomBatchResponseEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkReturnaddressCustomBatchResponseEntry(o[0]);
checkReturnaddressCustomBatchResponseEntry(o[1]);
@@ -8297,7 +8381,7 @@
var o = new api.ReturnaddressCustomBatchResponse();
buildCounterReturnaddressCustomBatchResponse++;
if (buildCounterReturnaddressCustomBatchResponse < 3) {
- o.entries = buildUnnamed1596();
+ o.entries = buildUnnamed1598();
o.kind = "foo";
}
buildCounterReturnaddressCustomBatchResponse--;
@@ -8307,7 +8391,7 @@
checkReturnaddressCustomBatchResponse(api.ReturnaddressCustomBatchResponse o) {
buildCounterReturnaddressCustomBatchResponse++;
if (buildCounterReturnaddressCustomBatchResponse < 3) {
- checkUnnamed1596(o.entries);
+ checkUnnamed1598(o.entries);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterReturnaddressCustomBatchResponse--;
@@ -8339,14 +8423,14 @@
buildCounterReturnaddressCustomBatchResponseEntry--;
}
-buildUnnamed1597() {
+buildUnnamed1599() {
var o = new core.List<api.ReturnAddress>();
o.add(buildReturnAddress());
o.add(buildReturnAddress());
return o;
}
-checkUnnamed1597(core.List<api.ReturnAddress> o) {
+checkUnnamed1599(core.List<api.ReturnAddress> o) {
unittest.expect(o, unittest.hasLength(2));
checkReturnAddress(o[0]);
checkReturnAddress(o[1]);
@@ -8359,7 +8443,7 @@
if (buildCounterReturnaddressListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.resources = buildUnnamed1597();
+ o.resources = buildUnnamed1599();
}
buildCounterReturnaddressListResponse--;
return o;
@@ -8370,19 +8454,19 @@
if (buildCounterReturnaddressListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1597(o.resources);
+ checkUnnamed1599(o.resources);
}
buildCounterReturnaddressListResponse--;
}
-buildUnnamed1598() {
+buildUnnamed1600() {
var o = new core.List<api.ReturnpolicyCustomBatchRequestEntry>();
o.add(buildReturnpolicyCustomBatchRequestEntry());
o.add(buildReturnpolicyCustomBatchRequestEntry());
return o;
}
-checkUnnamed1598(core.List<api.ReturnpolicyCustomBatchRequestEntry> o) {
+checkUnnamed1600(core.List<api.ReturnpolicyCustomBatchRequestEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkReturnpolicyCustomBatchRequestEntry(o[0]);
checkReturnpolicyCustomBatchRequestEntry(o[1]);
@@ -8393,7 +8477,7 @@
var o = new api.ReturnpolicyCustomBatchRequest();
buildCounterReturnpolicyCustomBatchRequest++;
if (buildCounterReturnpolicyCustomBatchRequest < 3) {
- o.entries = buildUnnamed1598();
+ o.entries = buildUnnamed1600();
}
buildCounterReturnpolicyCustomBatchRequest--;
return o;
@@ -8402,7 +8486,7 @@
checkReturnpolicyCustomBatchRequest(api.ReturnpolicyCustomBatchRequest o) {
buildCounterReturnpolicyCustomBatchRequest++;
if (buildCounterReturnpolicyCustomBatchRequest < 3) {
- checkUnnamed1598(o.entries);
+ checkUnnamed1600(o.entries);
}
buildCounterReturnpolicyCustomBatchRequest--;
}
@@ -8435,14 +8519,14 @@
buildCounterReturnpolicyCustomBatchRequestEntry--;
}
-buildUnnamed1599() {
+buildUnnamed1601() {
var o = new core.List<api.ReturnpolicyCustomBatchResponseEntry>();
o.add(buildReturnpolicyCustomBatchResponseEntry());
o.add(buildReturnpolicyCustomBatchResponseEntry());
return o;
}
-checkUnnamed1599(core.List<api.ReturnpolicyCustomBatchResponseEntry> o) {
+checkUnnamed1601(core.List<api.ReturnpolicyCustomBatchResponseEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkReturnpolicyCustomBatchResponseEntry(o[0]);
checkReturnpolicyCustomBatchResponseEntry(o[1]);
@@ -8453,7 +8537,7 @@
var o = new api.ReturnpolicyCustomBatchResponse();
buildCounterReturnpolicyCustomBatchResponse++;
if (buildCounterReturnpolicyCustomBatchResponse < 3) {
- o.entries = buildUnnamed1599();
+ o.entries = buildUnnamed1601();
o.kind = "foo";
}
buildCounterReturnpolicyCustomBatchResponse--;
@@ -8463,7 +8547,7 @@
checkReturnpolicyCustomBatchResponse(api.ReturnpolicyCustomBatchResponse o) {
buildCounterReturnpolicyCustomBatchResponse++;
if (buildCounterReturnpolicyCustomBatchResponse < 3) {
- checkUnnamed1599(o.entries);
+ checkUnnamed1601(o.entries);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterReturnpolicyCustomBatchResponse--;
@@ -8495,14 +8579,14 @@
buildCounterReturnpolicyCustomBatchResponseEntry--;
}
-buildUnnamed1600() {
+buildUnnamed1602() {
var o = new core.List<api.ReturnPolicy>();
o.add(buildReturnPolicy());
o.add(buildReturnPolicy());
return o;
}
-checkUnnamed1600(core.List<api.ReturnPolicy> o) {
+checkUnnamed1602(core.List<api.ReturnPolicy> o) {
unittest.expect(o, unittest.hasLength(2));
checkReturnPolicy(o[0]);
checkReturnPolicy(o[1]);
@@ -8514,7 +8598,7 @@
buildCounterReturnpolicyListResponse++;
if (buildCounterReturnpolicyListResponse < 3) {
o.kind = "foo";
- o.resources = buildUnnamed1600();
+ o.resources = buildUnnamed1602();
}
buildCounterReturnpolicyListResponse--;
return o;
@@ -8524,19 +8608,19 @@
buildCounterReturnpolicyListResponse++;
if (buildCounterReturnpolicyListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1600(o.resources);
+ checkUnnamed1602(o.resources);
}
buildCounterReturnpolicyListResponse--;
}
-buildUnnamed1601() {
+buildUnnamed1603() {
var o = new core.List<api.Value>();
o.add(buildValue());
o.add(buildValue());
return o;
}
-checkUnnamed1601(core.List<api.Value> o) {
+checkUnnamed1603(core.List<api.Value> o) {
unittest.expect(o, unittest.hasLength(2));
checkValue(o[0]);
checkValue(o[1]);
@@ -8547,7 +8631,7 @@
var o = new api.Row();
buildCounterRow++;
if (buildCounterRow < 3) {
- o.cells = buildUnnamed1601();
+ o.cells = buildUnnamed1603();
}
buildCounterRow--;
return o;
@@ -8556,19 +8640,19 @@
checkRow(api.Row o) {
buildCounterRow++;
if (buildCounterRow < 3) {
- checkUnnamed1601(o.cells);
+ checkUnnamed1603(o.cells);
}
buildCounterRow--;
}
-buildUnnamed1602() {
+buildUnnamed1604() {
var o = new core.List<api.RateGroup>();
o.add(buildRateGroup());
o.add(buildRateGroup());
return o;
}
-checkUnnamed1602(core.List<api.RateGroup> o) {
+checkUnnamed1604(core.List<api.RateGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkRateGroup(o[0]);
checkRateGroup(o[1]);
@@ -8588,7 +8672,7 @@
o.minimumOrderValueTable = buildMinimumOrderValueTable();
o.name = "foo";
o.pickupService = buildPickupCarrierService();
- o.rateGroups = buildUnnamed1602();
+ o.rateGroups = buildUnnamed1604();
o.shipmentType = "foo";
}
buildCounterService--;
@@ -8607,20 +8691,20 @@
checkMinimumOrderValueTable(o.minimumOrderValueTable);
unittest.expect(o.name, unittest.equals('foo'));
checkPickupCarrierService(o.pickupService);
- checkUnnamed1602(o.rateGroups);
+ checkUnnamed1604(o.rateGroups);
unittest.expect(o.shipmentType, unittest.equals('foo'));
}
buildCounterService--;
}
-buildUnnamed1603() {
+buildUnnamed1605() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1603(core.List<core.String> o) {
+checkUnnamed1605(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -8638,7 +8722,7 @@
o.startDate = "foo";
o.transferAmount = buildPrice();
o.transferDate = "foo";
- o.transferIds = buildUnnamed1603();
+ o.transferIds = buildUnnamed1605();
}
buildCounterSettlementReport--;
return o;
@@ -8654,7 +8738,7 @@
unittest.expect(o.startDate, unittest.equals('foo'));
checkPrice(o.transferAmount);
unittest.expect(o.transferDate, unittest.equals('foo'));
- checkUnnamed1603(o.transferIds);
+ checkUnnamed1605(o.transferIds);
}
buildCounterSettlementReport--;
}
@@ -8731,14 +8815,14 @@
buildCounterSettlementTransactionAmountCommission--;
}
-buildUnnamed1604() {
+buildUnnamed1606() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1604(core.List<core.String> o) {
+checkUnnamed1606(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -8753,7 +8837,7 @@
o.merchantOrderId = "foo";
o.orderItemId = "foo";
o.settlementEntryId = "foo";
- o.shipmentIds = buildUnnamed1604();
+ o.shipmentIds = buildUnnamed1606();
o.transactionId = "foo";
}
buildCounterSettlementTransactionIdentifiers--;
@@ -8767,7 +8851,7 @@
unittest.expect(o.merchantOrderId, unittest.equals('foo'));
unittest.expect(o.orderItemId, unittest.equals('foo'));
unittest.expect(o.settlementEntryId, unittest.equals('foo'));
- checkUnnamed1604(o.shipmentIds);
+ checkUnnamed1606(o.shipmentIds);
unittest.expect(o.transactionId, unittest.equals('foo'));
}
buildCounterSettlementTransactionIdentifiers--;
@@ -8794,14 +8878,14 @@
buildCounterSettlementTransactionTransaction--;
}
-buildUnnamed1605() {
+buildUnnamed1607() {
var o = new core.List<api.SettlementReport>();
o.add(buildSettlementReport());
o.add(buildSettlementReport());
return o;
}
-checkUnnamed1605(core.List<api.SettlementReport> o) {
+checkUnnamed1607(core.List<api.SettlementReport> o) {
unittest.expect(o, unittest.hasLength(2));
checkSettlementReport(o[0]);
checkSettlementReport(o[1]);
@@ -8814,7 +8898,7 @@
if (buildCounterSettlementreportsListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.resources = buildUnnamed1605();
+ o.resources = buildUnnamed1607();
}
buildCounterSettlementreportsListResponse--;
return o;
@@ -8825,19 +8909,19 @@
if (buildCounterSettlementreportsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1605(o.resources);
+ checkUnnamed1607(o.resources);
}
buildCounterSettlementreportsListResponse--;
}
-buildUnnamed1606() {
+buildUnnamed1608() {
var o = new core.List<api.SettlementTransaction>();
o.add(buildSettlementTransaction());
o.add(buildSettlementTransaction());
return o;
}
-checkUnnamed1606(core.List<api.SettlementTransaction> o) {
+checkUnnamed1608(core.List<api.SettlementTransaction> o) {
unittest.expect(o, unittest.hasLength(2));
checkSettlementTransaction(o[0]);
checkSettlementTransaction(o[1]);
@@ -8850,7 +8934,7 @@
if (buildCounterSettlementtransactionsListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.resources = buildUnnamed1606();
+ o.resources = buildUnnamed1608();
}
buildCounterSettlementtransactionsListResponse--;
return o;
@@ -8862,19 +8946,19 @@
if (buildCounterSettlementtransactionsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1606(o.resources);
+ checkUnnamed1608(o.resources);
}
buildCounterSettlementtransactionsListResponse--;
}
-buildUnnamed1607() {
+buildUnnamed1609() {
var o = new core.List<api.ShipmentInvoiceLineItemInvoice>();
o.add(buildShipmentInvoiceLineItemInvoice());
o.add(buildShipmentInvoiceLineItemInvoice());
return o;
}
-checkUnnamed1607(core.List<api.ShipmentInvoiceLineItemInvoice> o) {
+checkUnnamed1609(core.List<api.ShipmentInvoiceLineItemInvoice> o) {
unittest.expect(o, unittest.hasLength(2));
checkShipmentInvoiceLineItemInvoice(o[0]);
checkShipmentInvoiceLineItemInvoice(o[1]);
@@ -8886,7 +8970,7 @@
buildCounterShipmentInvoice++;
if (buildCounterShipmentInvoice < 3) {
o.invoiceSummary = buildInvoiceSummary();
- o.lineItemInvoices = buildUnnamed1607();
+ o.lineItemInvoices = buildUnnamed1609();
o.shipmentGroupId = "foo";
}
buildCounterShipmentInvoice--;
@@ -8897,20 +8981,20 @@
buildCounterShipmentInvoice++;
if (buildCounterShipmentInvoice < 3) {
checkInvoiceSummary(o.invoiceSummary);
- checkUnnamed1607(o.lineItemInvoices);
+ checkUnnamed1609(o.lineItemInvoices);
unittest.expect(o.shipmentGroupId, unittest.equals('foo'));
}
buildCounterShipmentInvoice--;
}
-buildUnnamed1608() {
+buildUnnamed1610() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1608(core.List<core.String> o) {
+checkUnnamed1610(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -8923,7 +9007,7 @@
if (buildCounterShipmentInvoiceLineItemInvoice < 3) {
o.lineItemId = "foo";
o.productId = "foo";
- o.shipmentUnitIds = buildUnnamed1608();
+ o.shipmentUnitIds = buildUnnamed1610();
o.unitInvoice = buildUnitInvoice();
}
buildCounterShipmentInvoiceLineItemInvoice--;
@@ -8935,7 +9019,7 @@
if (buildCounterShipmentInvoiceLineItemInvoice < 3) {
unittest.expect(o.lineItemId, unittest.equals('foo'));
unittest.expect(o.productId, unittest.equals('foo'));
- checkUnnamed1608(o.shipmentUnitIds);
+ checkUnnamed1610(o.shipmentUnitIds);
checkUnitInvoice(o.unitInvoice);
}
buildCounterShipmentInvoiceLineItemInvoice--;
@@ -8962,27 +9046,27 @@
buildCounterShipmentTrackingInfo--;
}
-buildUnnamed1609() {
+buildUnnamed1611() {
var o = new core.List<api.PostalCodeGroup>();
o.add(buildPostalCodeGroup());
o.add(buildPostalCodeGroup());
return o;
}
-checkUnnamed1609(core.List<api.PostalCodeGroup> o) {
+checkUnnamed1611(core.List<api.PostalCodeGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkPostalCodeGroup(o[0]);
checkPostalCodeGroup(o[1]);
}
-buildUnnamed1610() {
+buildUnnamed1612() {
var o = new core.List<api.Service>();
o.add(buildService());
o.add(buildService());
return o;
}
-checkUnnamed1610(core.List<api.Service> o) {
+checkUnnamed1612(core.List<api.Service> o) {
unittest.expect(o, unittest.hasLength(2));
checkService(o[0]);
checkService(o[1]);
@@ -8994,8 +9078,8 @@
buildCounterShippingSettings++;
if (buildCounterShippingSettings < 3) {
o.accountId = "foo";
- o.postalCodeGroups = buildUnnamed1609();
- o.services = buildUnnamed1610();
+ o.postalCodeGroups = buildUnnamed1611();
+ o.services = buildUnnamed1612();
}
buildCounterShippingSettings--;
return o;
@@ -9005,20 +9089,20 @@
buildCounterShippingSettings++;
if (buildCounterShippingSettings < 3) {
unittest.expect(o.accountId, unittest.equals('foo'));
- checkUnnamed1609(o.postalCodeGroups);
- checkUnnamed1610(o.services);
+ checkUnnamed1611(o.postalCodeGroups);
+ checkUnnamed1612(o.services);
}
buildCounterShippingSettings--;
}
-buildUnnamed1611() {
+buildUnnamed1613() {
var o = new core.List<api.ShippingsettingsCustomBatchRequestEntry>();
o.add(buildShippingsettingsCustomBatchRequestEntry());
o.add(buildShippingsettingsCustomBatchRequestEntry());
return o;
}
-checkUnnamed1611(core.List<api.ShippingsettingsCustomBatchRequestEntry> o) {
+checkUnnamed1613(core.List<api.ShippingsettingsCustomBatchRequestEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkShippingsettingsCustomBatchRequestEntry(o[0]);
checkShippingsettingsCustomBatchRequestEntry(o[1]);
@@ -9029,7 +9113,7 @@
var o = new api.ShippingsettingsCustomBatchRequest();
buildCounterShippingsettingsCustomBatchRequest++;
if (buildCounterShippingsettingsCustomBatchRequest < 3) {
- o.entries = buildUnnamed1611();
+ o.entries = buildUnnamed1613();
}
buildCounterShippingsettingsCustomBatchRequest--;
return o;
@@ -9039,7 +9123,7 @@
api.ShippingsettingsCustomBatchRequest o) {
buildCounterShippingsettingsCustomBatchRequest++;
if (buildCounterShippingsettingsCustomBatchRequest < 3) {
- checkUnnamed1611(o.entries);
+ checkUnnamed1613(o.entries);
}
buildCounterShippingsettingsCustomBatchRequest--;
}
@@ -9072,14 +9156,14 @@
buildCounterShippingsettingsCustomBatchRequestEntry--;
}
-buildUnnamed1612() {
+buildUnnamed1614() {
var o = new core.List<api.ShippingsettingsCustomBatchResponseEntry>();
o.add(buildShippingsettingsCustomBatchResponseEntry());
o.add(buildShippingsettingsCustomBatchResponseEntry());
return o;
}
-checkUnnamed1612(core.List<api.ShippingsettingsCustomBatchResponseEntry> o) {
+checkUnnamed1614(core.List<api.ShippingsettingsCustomBatchResponseEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkShippingsettingsCustomBatchResponseEntry(o[0]);
checkShippingsettingsCustomBatchResponseEntry(o[1]);
@@ -9090,7 +9174,7 @@
var o = new api.ShippingsettingsCustomBatchResponse();
buildCounterShippingsettingsCustomBatchResponse++;
if (buildCounterShippingsettingsCustomBatchResponse < 3) {
- o.entries = buildUnnamed1612();
+ o.entries = buildUnnamed1614();
o.kind = "foo";
}
buildCounterShippingsettingsCustomBatchResponse--;
@@ -9101,7 +9185,7 @@
api.ShippingsettingsCustomBatchResponse o) {
buildCounterShippingsettingsCustomBatchResponse++;
if (buildCounterShippingsettingsCustomBatchResponse < 3) {
- checkUnnamed1612(o.entries);
+ checkUnnamed1614(o.entries);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterShippingsettingsCustomBatchResponse--;
@@ -9133,14 +9217,14 @@
buildCounterShippingsettingsCustomBatchResponseEntry--;
}
-buildUnnamed1613() {
+buildUnnamed1615() {
var o = new core.List<api.CarriersCarrier>();
o.add(buildCarriersCarrier());
o.add(buildCarriersCarrier());
return o;
}
-checkUnnamed1613(core.List<api.CarriersCarrier> o) {
+checkUnnamed1615(core.List<api.CarriersCarrier> o) {
unittest.expect(o, unittest.hasLength(2));
checkCarriersCarrier(o[0]);
checkCarriersCarrier(o[1]);
@@ -9151,7 +9235,7 @@
var o = new api.ShippingsettingsGetSupportedCarriersResponse();
buildCounterShippingsettingsGetSupportedCarriersResponse++;
if (buildCounterShippingsettingsGetSupportedCarriersResponse < 3) {
- o.carriers = buildUnnamed1613();
+ o.carriers = buildUnnamed1615();
o.kind = "foo";
}
buildCounterShippingsettingsGetSupportedCarriersResponse--;
@@ -9162,20 +9246,20 @@
api.ShippingsettingsGetSupportedCarriersResponse o) {
buildCounterShippingsettingsGetSupportedCarriersResponse++;
if (buildCounterShippingsettingsGetSupportedCarriersResponse < 3) {
- checkUnnamed1613(o.carriers);
+ checkUnnamed1615(o.carriers);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterShippingsettingsGetSupportedCarriersResponse--;
}
-buildUnnamed1614() {
+buildUnnamed1616() {
var o = new core.List<api.HolidaysHoliday>();
o.add(buildHolidaysHoliday());
o.add(buildHolidaysHoliday());
return o;
}
-checkUnnamed1614(core.List<api.HolidaysHoliday> o) {
+checkUnnamed1616(core.List<api.HolidaysHoliday> o) {
unittest.expect(o, unittest.hasLength(2));
checkHolidaysHoliday(o[0]);
checkHolidaysHoliday(o[1]);
@@ -9186,7 +9270,7 @@
var o = new api.ShippingsettingsGetSupportedHolidaysResponse();
buildCounterShippingsettingsGetSupportedHolidaysResponse++;
if (buildCounterShippingsettingsGetSupportedHolidaysResponse < 3) {
- o.holidays = buildUnnamed1614();
+ o.holidays = buildUnnamed1616();
o.kind = "foo";
}
buildCounterShippingsettingsGetSupportedHolidaysResponse--;
@@ -9197,20 +9281,20 @@
api.ShippingsettingsGetSupportedHolidaysResponse o) {
buildCounterShippingsettingsGetSupportedHolidaysResponse++;
if (buildCounterShippingsettingsGetSupportedHolidaysResponse < 3) {
- checkUnnamed1614(o.holidays);
+ checkUnnamed1616(o.holidays);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterShippingsettingsGetSupportedHolidaysResponse--;
}
-buildUnnamed1615() {
+buildUnnamed1617() {
var o = new core.List<api.PickupServicesPickupService>();
o.add(buildPickupServicesPickupService());
o.add(buildPickupServicesPickupService());
return o;
}
-checkUnnamed1615(core.List<api.PickupServicesPickupService> o) {
+checkUnnamed1617(core.List<api.PickupServicesPickupService> o) {
unittest.expect(o, unittest.hasLength(2));
checkPickupServicesPickupService(o[0]);
checkPickupServicesPickupService(o[1]);
@@ -9222,7 +9306,7 @@
buildCounterShippingsettingsGetSupportedPickupServicesResponse++;
if (buildCounterShippingsettingsGetSupportedPickupServicesResponse < 3) {
o.kind = "foo";
- o.pickupServices = buildUnnamed1615();
+ o.pickupServices = buildUnnamed1617();
}
buildCounterShippingsettingsGetSupportedPickupServicesResponse--;
return o;
@@ -9233,19 +9317,19 @@
buildCounterShippingsettingsGetSupportedPickupServicesResponse++;
if (buildCounterShippingsettingsGetSupportedPickupServicesResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1615(o.pickupServices);
+ checkUnnamed1617(o.pickupServices);
}
buildCounterShippingsettingsGetSupportedPickupServicesResponse--;
}
-buildUnnamed1616() {
+buildUnnamed1618() {
var o = new core.List<api.ShippingSettings>();
o.add(buildShippingSettings());
o.add(buildShippingSettings());
return o;
}
-checkUnnamed1616(core.List<api.ShippingSettings> o) {
+checkUnnamed1618(core.List<api.ShippingSettings> o) {
unittest.expect(o, unittest.hasLength(2));
checkShippingSettings(o[0]);
checkShippingSettings(o[1]);
@@ -9258,7 +9342,7 @@
if (buildCounterShippingsettingsListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.resources = buildUnnamed1616();
+ o.resources = buildUnnamed1618();
}
buildCounterShippingsettingsListResponse--;
return o;
@@ -9269,19 +9353,19 @@
if (buildCounterShippingsettingsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1616(o.resources);
+ checkUnnamed1618(o.resources);
}
buildCounterShippingsettingsListResponse--;
}
-buildUnnamed1617() {
+buildUnnamed1619() {
var o = new core.List<api.Row>();
o.add(buildRow());
o.add(buildRow());
return o;
}
-checkUnnamed1617(core.List<api.Row> o) {
+checkUnnamed1619(core.List<api.Row> o) {
unittest.expect(o, unittest.hasLength(2));
checkRow(o[0]);
checkRow(o[1]);
@@ -9295,7 +9379,7 @@
o.columnHeaders = buildHeaders();
o.name = "foo";
o.rowHeaders = buildHeaders();
- o.rows = buildUnnamed1617();
+ o.rows = buildUnnamed1619();
}
buildCounterTable--;
return o;
@@ -9307,32 +9391,32 @@
checkHeaders(o.columnHeaders);
unittest.expect(o.name, unittest.equals('foo'));
checkHeaders(o.rowHeaders);
- checkUnnamed1617(o.rows);
+ checkUnnamed1619(o.rows);
}
buildCounterTable--;
}
-buildUnnamed1618() {
+buildUnnamed1620() {
var o = new core.List<api.TestOrderLineItem>();
o.add(buildTestOrderLineItem());
o.add(buildTestOrderLineItem());
return o;
}
-checkUnnamed1618(core.List<api.TestOrderLineItem> o) {
+checkUnnamed1620(core.List<api.TestOrderLineItem> o) {
unittest.expect(o, unittest.hasLength(2));
checkTestOrderLineItem(o[0]);
checkTestOrderLineItem(o[1]);
}
-buildUnnamed1619() {
+buildUnnamed1621() {
var o = new core.List<api.OrderPromotion>();
o.add(buildOrderPromotion());
o.add(buildOrderPromotion());
return o;
}
-checkUnnamed1619(core.List<api.OrderPromotion> o) {
+checkUnnamed1621(core.List<api.OrderPromotion> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderPromotion(o[0]);
checkOrderPromotion(o[1]);
@@ -9346,14 +9430,14 @@
o.deliveryDetails = buildTestOrderDeliveryDetails();
o.enableOrderinvoices = true;
o.kind = "foo";
- o.lineItems = buildUnnamed1618();
+ o.lineItems = buildUnnamed1620();
o.notificationMode = "foo";
o.pickupDetails = buildTestOrderPickupDetails();
o.predefinedBillingAddress = "foo";
o.predefinedDeliveryAddress = "foo";
o.predefinedEmail = "foo";
o.predefinedPickupDetails = "foo";
- o.promotions = buildUnnamed1619();
+ o.promotions = buildUnnamed1621();
o.shippingCost = buildPrice();
o.shippingOption = "foo";
}
@@ -9367,41 +9451,41 @@
checkTestOrderDeliveryDetails(o.deliveryDetails);
unittest.expect(o.enableOrderinvoices, unittest.isTrue);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1618(o.lineItems);
+ checkUnnamed1620(o.lineItems);
unittest.expect(o.notificationMode, unittest.equals('foo'));
checkTestOrderPickupDetails(o.pickupDetails);
unittest.expect(o.predefinedBillingAddress, unittest.equals('foo'));
unittest.expect(o.predefinedDeliveryAddress, unittest.equals('foo'));
unittest.expect(o.predefinedEmail, unittest.equals('foo'));
unittest.expect(o.predefinedPickupDetails, unittest.equals('foo'));
- checkUnnamed1619(o.promotions);
+ checkUnnamed1621(o.promotions);
checkPrice(o.shippingCost);
unittest.expect(o.shippingOption, unittest.equals('foo'));
}
buildCounterTestOrder--;
}
-buildUnnamed1620() {
+buildUnnamed1622() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1620(core.List<core.String> o) {
+checkUnnamed1622(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1621() {
+buildUnnamed1623() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1621(core.List<core.String> o) {
+checkUnnamed1623(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -9413,13 +9497,13 @@
buildCounterTestOrderAddress++;
if (buildCounterTestOrderAddress < 3) {
o.country = "foo";
- o.fullAddress = buildUnnamed1620();
+ o.fullAddress = buildUnnamed1622();
o.isPostOfficeBox = true;
o.locality = "foo";
o.postalCode = "foo";
o.recipientName = "foo";
o.region = "foo";
- o.streetAddress = buildUnnamed1621();
+ o.streetAddress = buildUnnamed1623();
}
buildCounterTestOrderAddress--;
return o;
@@ -9429,13 +9513,13 @@
buildCounterTestOrderAddress++;
if (buildCounterTestOrderAddress < 3) {
unittest.expect(o.country, unittest.equals('foo'));
- checkUnnamed1620(o.fullAddress);
+ checkUnnamed1622(o.fullAddress);
unittest.expect(o.isPostOfficeBox, unittest.isTrue);
unittest.expect(o.locality, unittest.equals('foo'));
unittest.expect(o.postalCode, unittest.equals('foo'));
unittest.expect(o.recipientName, unittest.equals('foo'));
unittest.expect(o.region, unittest.equals('foo'));
- checkUnnamed1621(o.streetAddress);
+ checkUnnamed1623(o.streetAddress);
}
buildCounterTestOrderAddress--;
}
@@ -9486,27 +9570,27 @@
buildCounterTestOrderLineItem--;
}
-buildUnnamed1622() {
+buildUnnamed1624() {
var o = new core.List<api.OrderLineItemProductFee>();
o.add(buildOrderLineItemProductFee());
o.add(buildOrderLineItemProductFee());
return o;
}
-checkUnnamed1622(core.List<api.OrderLineItemProductFee> o) {
+checkUnnamed1624(core.List<api.OrderLineItemProductFee> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderLineItemProductFee(o[0]);
checkOrderLineItemProductFee(o[1]);
}
-buildUnnamed1623() {
+buildUnnamed1625() {
var o = new core.List<api.OrderLineItemProductVariantAttribute>();
o.add(buildOrderLineItemProductVariantAttribute());
o.add(buildOrderLineItemProductVariantAttribute());
return o;
}
-checkUnnamed1623(core.List<api.OrderLineItemProductVariantAttribute> o) {
+checkUnnamed1625(core.List<api.OrderLineItemProductVariantAttribute> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderLineItemProductVariantAttribute(o[0]);
checkOrderLineItemProductVariantAttribute(o[1]);
@@ -9520,7 +9604,7 @@
o.brand = "foo";
o.condition = "foo";
o.contentLanguage = "foo";
- o.fees = buildUnnamed1622();
+ o.fees = buildUnnamed1624();
o.gtin = "foo";
o.imageLink = "foo";
o.itemGroupId = "foo";
@@ -9529,7 +9613,7 @@
o.price = buildPrice();
o.targetCountry = "foo";
o.title = "foo";
- o.variantAttributes = buildUnnamed1623();
+ o.variantAttributes = buildUnnamed1625();
}
buildCounterTestOrderLineItemProduct--;
return o;
@@ -9541,7 +9625,7 @@
unittest.expect(o.brand, unittest.equals('foo'));
unittest.expect(o.condition, unittest.equals('foo'));
unittest.expect(o.contentLanguage, unittest.equals('foo'));
- checkUnnamed1622(o.fees);
+ checkUnnamed1624(o.fees);
unittest.expect(o.gtin, unittest.equals('foo'));
unittest.expect(o.imageLink, unittest.equals('foo'));
unittest.expect(o.itemGroupId, unittest.equals('foo'));
@@ -9550,19 +9634,19 @@
checkPrice(o.price);
unittest.expect(o.targetCountry, unittest.equals('foo'));
unittest.expect(o.title, unittest.equals('foo'));
- checkUnnamed1623(o.variantAttributes);
+ checkUnnamed1625(o.variantAttributes);
}
buildCounterTestOrderLineItemProduct--;
}
-buildUnnamed1624() {
+buildUnnamed1626() {
var o = new core.List<api.TestOrderPickupDetailsPickupPerson>();
o.add(buildTestOrderPickupDetailsPickupPerson());
o.add(buildTestOrderPickupDetailsPickupPerson());
return o;
}
-checkUnnamed1624(core.List<api.TestOrderPickupDetailsPickupPerson> o) {
+checkUnnamed1626(core.List<api.TestOrderPickupDetailsPickupPerson> o) {
unittest.expect(o, unittest.hasLength(2));
checkTestOrderPickupDetailsPickupPerson(o[0]);
checkTestOrderPickupDetailsPickupPerson(o[1]);
@@ -9576,7 +9660,7 @@
o.locationCode = "foo";
o.pickupLocationAddress = buildTestOrderAddress();
o.pickupLocationType = "foo";
- o.pickupPersons = buildUnnamed1624();
+ o.pickupPersons = buildUnnamed1626();
}
buildCounterTestOrderPickupDetails--;
return o;
@@ -9588,7 +9672,7 @@
unittest.expect(o.locationCode, unittest.equals('foo'));
checkTestOrderAddress(o.pickupLocationAddress);
unittest.expect(o.pickupLocationType, unittest.equals('foo'));
- checkUnnamed1624(o.pickupPersons);
+ checkUnnamed1626(o.pickupPersons);
}
buildCounterTestOrderPickupDetails--;
}
@@ -9615,32 +9699,6 @@
buildCounterTestOrderPickupDetailsPickupPerson--;
}
-buildUnnamed1625() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1625(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed1626() {
- var o = new core.List<api.TransitTableTransitTimeRow>();
- o.add(buildTransitTableTransitTimeRow());
- o.add(buildTransitTableTransitTimeRow());
- return o;
-}
-
-checkUnnamed1626(core.List<api.TransitTableTransitTimeRow> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkTransitTableTransitTimeRow(o[0]);
- checkTransitTableTransitTimeRow(o[1]);
-}
-
buildUnnamed1627() {
var o = new core.List<core.String>();
o.add("foo");
@@ -9654,14 +9712,40 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed1628() {
+ var o = new core.List<api.TransitTableTransitTimeRow>();
+ o.add(buildTransitTableTransitTimeRow());
+ o.add(buildTransitTableTransitTimeRow());
+ return o;
+}
+
+checkUnnamed1628(core.List<api.TransitTableTransitTimeRow> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkTransitTableTransitTimeRow(o[0]);
+ checkTransitTableTransitTimeRow(o[1]);
+}
+
+buildUnnamed1629() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1629(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
core.int buildCounterTransitTable = 0;
buildTransitTable() {
var o = new api.TransitTable();
buildCounterTransitTable++;
if (buildCounterTransitTable < 3) {
- o.postalCodeGroupNames = buildUnnamed1625();
- o.rows = buildUnnamed1626();
- o.transitTimeLabels = buildUnnamed1627();
+ o.postalCodeGroupNames = buildUnnamed1627();
+ o.rows = buildUnnamed1628();
+ o.transitTimeLabels = buildUnnamed1629();
}
buildCounterTransitTable--;
return o;
@@ -9670,21 +9754,21 @@
checkTransitTable(api.TransitTable o) {
buildCounterTransitTable++;
if (buildCounterTransitTable < 3) {
- checkUnnamed1625(o.postalCodeGroupNames);
- checkUnnamed1626(o.rows);
- checkUnnamed1627(o.transitTimeLabels);
+ checkUnnamed1627(o.postalCodeGroupNames);
+ checkUnnamed1628(o.rows);
+ checkUnnamed1629(o.transitTimeLabels);
}
buildCounterTransitTable--;
}
-buildUnnamed1628() {
+buildUnnamed1630() {
var o = new core.List<api.TransitTableTransitTimeRowTransitTimeValue>();
o.add(buildTransitTableTransitTimeRowTransitTimeValue());
o.add(buildTransitTableTransitTimeRowTransitTimeValue());
return o;
}
-checkUnnamed1628(core.List<api.TransitTableTransitTimeRowTransitTimeValue> o) {
+checkUnnamed1630(core.List<api.TransitTableTransitTimeRowTransitTimeValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkTransitTableTransitTimeRowTransitTimeValue(o[0]);
checkTransitTableTransitTimeRowTransitTimeValue(o[1]);
@@ -9695,7 +9779,7 @@
var o = new api.TransitTableTransitTimeRow();
buildCounterTransitTableTransitTimeRow++;
if (buildCounterTransitTableTransitTimeRow < 3) {
- o.values = buildUnnamed1628();
+ o.values = buildUnnamed1630();
}
buildCounterTransitTableTransitTimeRow--;
return o;
@@ -9704,7 +9788,7 @@
checkTransitTableTransitTimeRow(api.TransitTableTransitTimeRow o) {
buildCounterTransitTableTransitTimeRow++;
if (buildCounterTransitTableTransitTimeRow < 3) {
- checkUnnamed1628(o.values);
+ checkUnnamed1630(o.values);
}
buildCounterTransitTableTransitTimeRow--;
}
@@ -9731,27 +9815,27 @@
buildCounterTransitTableTransitTimeRowTransitTimeValue--;
}
-buildUnnamed1629() {
+buildUnnamed1631() {
var o = new core.List<api.UnitInvoiceAdditionalCharge>();
o.add(buildUnitInvoiceAdditionalCharge());
o.add(buildUnitInvoiceAdditionalCharge());
return o;
}
-checkUnnamed1629(core.List<api.UnitInvoiceAdditionalCharge> o) {
+checkUnnamed1631(core.List<api.UnitInvoiceAdditionalCharge> o) {
unittest.expect(o, unittest.hasLength(2));
checkUnitInvoiceAdditionalCharge(o[0]);
checkUnitInvoiceAdditionalCharge(o[1]);
}
-buildUnnamed1630() {
+buildUnnamed1632() {
var o = new core.List<api.UnitInvoiceTaxLine>();
o.add(buildUnitInvoiceTaxLine());
o.add(buildUnitInvoiceTaxLine());
return o;
}
-checkUnnamed1630(core.List<api.UnitInvoiceTaxLine> o) {
+checkUnnamed1632(core.List<api.UnitInvoiceTaxLine> o) {
unittest.expect(o, unittest.hasLength(2));
checkUnitInvoiceTaxLine(o[0]);
checkUnitInvoiceTaxLine(o[1]);
@@ -9762,9 +9846,9 @@
var o = new api.UnitInvoice();
buildCounterUnitInvoice++;
if (buildCounterUnitInvoice < 3) {
- o.additionalCharges = buildUnnamed1629();
+ o.additionalCharges = buildUnnamed1631();
o.unitPrice = buildPrice();
- o.unitPriceTaxes = buildUnnamed1630();
+ o.unitPriceTaxes = buildUnnamed1632();
}
buildCounterUnitInvoice--;
return o;
@@ -9773,9 +9857,9 @@
checkUnitInvoice(api.UnitInvoice o) {
buildCounterUnitInvoice++;
if (buildCounterUnitInvoice < 3) {
- checkUnnamed1629(o.additionalCharges);
+ checkUnnamed1631(o.additionalCharges);
checkPrice(o.unitPrice);
- checkUnnamed1630(o.unitPriceTaxes);
+ checkUnnamed1632(o.unitPriceTaxes);
}
buildCounterUnitInvoice--;
}
@@ -9872,32 +9956,6 @@
buildCounterWeight--;
}
-buildUnnamed1631() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1631(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed1632() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1632(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed1633() {
var o = new core.List<core.String>();
o.add("foo");
@@ -10015,6 +10073,32 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed1642() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1642(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed1643() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1643(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
main() {
unittest.group("obj-schema-Account", () {
unittest.test("to-json--from-json", () {
@@ -11213,6 +11297,32 @@
});
});
+ unittest.group("obj-schema-OrderreturnsCreateOrderReturnRequest", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildOrderreturnsCreateOrderReturnRequest();
+ var od =
+ new api.OrderreturnsCreateOrderReturnRequest.fromJson(o.toJson());
+ checkOrderreturnsCreateOrderReturnRequest(od);
+ });
+ });
+
+ unittest.group("obj-schema-OrderreturnsCreateOrderReturnResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildOrderreturnsCreateOrderReturnResponse();
+ var od =
+ new api.OrderreturnsCreateOrderReturnResponse.fromJson(o.toJson());
+ checkOrderreturnsCreateOrderReturnResponse(od);
+ });
+ });
+
+ unittest.group("obj-schema-OrderreturnsLineItem", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildOrderreturnsLineItem();
+ var od = new api.OrderreturnsLineItem.fromJson(o.toJson());
+ checkOrderreturnsLineItem(od);
+ });
+ });
+
unittest.group("obj-schema-OrderreturnsListResponse", () {
unittest.test("to-json--from-json", () {
var o = buildOrderreturnsListResponse();
@@ -13115,7 +13225,7 @@
new api.ContentApi(mock).accountstatuses;
var arg_merchantId = "foo";
var arg_accountId = "foo";
- var arg_destinations = buildUnnamed1631();
+ var arg_destinations = buildUnnamed1633();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -13167,7 +13277,7 @@
api.AccountstatusesResourceApi res =
new api.ContentApi(mock).accountstatuses;
var arg_merchantId = "foo";
- var arg_destinations = buildUnnamed1632();
+ var arg_destinations = buildUnnamed1634();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_$fields = "foo";
@@ -14933,6 +15043,58 @@
})));
});
+ unittest.test("method--createorderreturn", () {
+ var mock = new HttpServerMock();
+ api.OrderreturnsResourceApi res = new api.ContentApi(mock).orderreturns;
+ var arg_request = buildOrderreturnsCreateOrderReturnRequest();
+ var arg_merchantId = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.OrderreturnsCreateOrderReturnRequest.fromJson(json);
+ checkOrderreturnsCreateOrderReturnRequest(obj);
+
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = <core.String, core.List<core.String>>{};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp =
+ convert.json.encode(buildOrderreturnsCreateOrderReturnResponse());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .createorderreturn(arg_request, arg_merchantId, $fields: arg_$fields)
+ .then(unittest.expectAsync1(((response) {
+ checkOrderreturnsCreateOrderReturnResponse(response);
+ })));
+ });
+
unittest.test("method--get", () {
var mock = new HttpServerMock();
api.OrderreturnsResourceApi res = new api.ContentApi(mock).orderreturns;
@@ -14988,14 +15150,14 @@
var arg_acknowledged = true;
var arg_createdEndDate = "foo";
var arg_createdStartDate = "foo";
- var arg_googleOrderIds = buildUnnamed1633();
+ var arg_googleOrderIds = buildUnnamed1635();
var arg_maxResults = 42;
var arg_orderBy = "foo";
var arg_pageToken = "foo";
- var arg_shipmentStates = buildUnnamed1634();
- var arg_shipmentStatus = buildUnnamed1635();
- var arg_shipmentTrackingNumbers = buildUnnamed1636();
- var arg_shipmentTypes = buildUnnamed1637();
+ var arg_shipmentStates = buildUnnamed1636();
+ var arg_shipmentStatus = buildUnnamed1637();
+ var arg_shipmentTrackingNumbers = buildUnnamed1638();
+ var arg_shipmentTypes = buildUnnamed1639();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -15708,7 +15870,7 @@
var arg_pageToken = "foo";
var arg_placedDateEnd = "foo";
var arg_placedDateStart = "foo";
- var arg_statuses = buildUnnamed1638();
+ var arg_statuses = buildUnnamed1640();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -16951,7 +17113,7 @@
new api.ContentApi(mock).productstatuses;
var arg_merchantId = "foo";
var arg_productId = "foo";
- var arg_destinations = buildUnnamed1639();
+ var arg_destinations = buildUnnamed1641();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -17003,7 +17165,7 @@
api.ProductstatusesResourceApi res =
new api.ContentApi(mock).productstatuses;
var arg_merchantId = "foo";
- var arg_destinations = buildUnnamed1640();
+ var arg_destinations = buildUnnamed1642();
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_$fields = "foo";
@@ -17914,7 +18076,7 @@
var arg_settlementId = "foo";
var arg_maxResults = 42;
var arg_pageToken = "foo";
- var arg_transactionIds = buildUnnamed1641();
+ var arg_transactionIds = buildUnnamed1643();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
diff --git a/generated/googleapis/test/customsearch/v1_test.dart b/generated/googleapis/test/customsearch/v1_test.dart
index 9939acb..0d73bac 100644
--- a/generated/googleapis/test/customsearch/v1_test.dart
+++ b/generated/googleapis/test/customsearch/v1_test.dart
@@ -75,14 +75,14 @@
buildCounterPromotionBodyLines--;
}
-buildUnnamed4772() {
+buildUnnamed4779() {
var o = new core.List<api.PromotionBodyLines>();
o.add(buildPromotionBodyLines());
o.add(buildPromotionBodyLines());
return o;
}
-checkUnnamed4772(core.List<api.PromotionBodyLines> o) {
+checkUnnamed4779(core.List<api.PromotionBodyLines> o) {
unittest.expect(o, unittest.hasLength(2));
checkPromotionBodyLines(o[0]);
checkPromotionBodyLines(o[1]);
@@ -116,7 +116,7 @@
var o = new api.Promotion();
buildCounterPromotion++;
if (buildCounterPromotion < 3) {
- o.bodyLines = buildUnnamed4772();
+ o.bodyLines = buildUnnamed4779();
o.displayLink = "foo";
o.htmlTitle = "foo";
o.image = buildPromotionImage();
@@ -130,7 +130,7 @@
checkPromotion(api.Promotion o) {
buildCounterPromotion++;
if (buildCounterPromotion < 3) {
- checkUnnamed4772(o.bodyLines);
+ checkUnnamed4779(o.bodyLines);
unittest.expect(o.displayLink, unittest.equals('foo'));
unittest.expect(o.htmlTitle, unittest.equals('foo'));
checkPromotionImage(o.image);
@@ -194,20 +194,20 @@
buildCounterResultLabels--;
}
-buildUnnamed4773() {
+buildUnnamed4780() {
var o = new core.List<api.ResultLabels>();
o.add(buildResultLabels());
o.add(buildResultLabels());
return o;
}
-checkUnnamed4773(core.List<api.ResultLabels> o) {
+checkUnnamed4780(core.List<api.ResultLabels> o) {
unittest.expect(o, unittest.hasLength(2));
checkResultLabels(o[0]);
checkResultLabels(o[1]);
}
-buildUnnamed4774() {
+buildUnnamed4781() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -222,7 +222,7 @@
return o;
}
-checkUnnamed4774(core.Map<core.String, core.Object> o) {
+checkUnnamed4781(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o["x"]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -250,10 +250,10 @@
o.htmlTitle = "foo";
o.image = buildResultImage();
o.kind = "foo";
- o.labels = buildUnnamed4773();
+ o.labels = buildUnnamed4780();
o.link = "foo";
o.mime = "foo";
- o.pagemap = buildUnnamed4774();
+ o.pagemap = buildUnnamed4781();
o.snippet = "foo";
o.title = "foo";
}
@@ -273,17 +273,17 @@
unittest.expect(o.htmlTitle, unittest.equals('foo'));
checkResultImage(o.image);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed4773(o.labels);
+ checkUnnamed4780(o.labels);
unittest.expect(o.link, unittest.equals('foo'));
unittest.expect(o.mime, unittest.equals('foo'));
- checkUnnamed4774(o.pagemap);
+ checkUnnamed4781(o.pagemap);
unittest.expect(o.snippet, unittest.equals('foo'));
unittest.expect(o.title, unittest.equals('foo'));
}
buildCounterResult--;
}
-buildUnnamed4775() {
+buildUnnamed4782() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -298,7 +298,7 @@
return o;
}
-checkUnnamed4775(core.Map<core.String, core.Object> o) {
+checkUnnamed4782(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted3 = (o["x"]) as core.Map;
unittest.expect(casted3, unittest.hasLength(3));
@@ -312,27 +312,27 @@
unittest.expect(casted4["string"], unittest.equals('foo'));
}
-buildUnnamed4776() {
+buildUnnamed4783() {
var o = new core.List<api.Result>();
o.add(buildResult());
o.add(buildResult());
return o;
}
-checkUnnamed4776(core.List<api.Result> o) {
+checkUnnamed4783(core.List<api.Result> o) {
unittest.expect(o, unittest.hasLength(2));
checkResult(o[0]);
checkResult(o[1]);
}
-buildUnnamed4777() {
+buildUnnamed4784() {
var o = new core.List<api.Promotion>();
o.add(buildPromotion());
o.add(buildPromotion());
return o;
}
-checkUnnamed4777(core.List<api.Promotion> o) {
+checkUnnamed4784(core.List<api.Promotion> o) {
unittest.expect(o, unittest.hasLength(2));
checkPromotion(o[0]);
checkPromotion(o[1]);
@@ -427,14 +427,14 @@
buildCounterSearchQueriesNextPage--;
}
-buildUnnamed4778() {
+buildUnnamed4785() {
var o = new core.List<api.SearchQueriesNextPage>();
o.add(buildSearchQueriesNextPage());
o.add(buildSearchQueriesNextPage());
return o;
}
-checkUnnamed4778(core.List<api.SearchQueriesNextPage> o) {
+checkUnnamed4785(core.List<api.SearchQueriesNextPage> o) {
unittest.expect(o, unittest.hasLength(2));
checkSearchQueriesNextPage(o[0]);
checkSearchQueriesNextPage(o[1]);
@@ -529,14 +529,14 @@
buildCounterSearchQueriesPreviousPage--;
}
-buildUnnamed4779() {
+buildUnnamed4786() {
var o = new core.List<api.SearchQueriesPreviousPage>();
o.add(buildSearchQueriesPreviousPage());
o.add(buildSearchQueriesPreviousPage());
return o;
}
-checkUnnamed4779(core.List<api.SearchQueriesPreviousPage> o) {
+checkUnnamed4786(core.List<api.SearchQueriesPreviousPage> o) {
unittest.expect(o, unittest.hasLength(2));
checkSearchQueriesPreviousPage(o[0]);
checkSearchQueriesPreviousPage(o[1]);
@@ -631,14 +631,14 @@
buildCounterSearchQueriesRequest--;
}
-buildUnnamed4780() {
+buildUnnamed4787() {
var o = new core.List<api.SearchQueriesRequest>();
o.add(buildSearchQueriesRequest());
o.add(buildSearchQueriesRequest());
return o;
}
-checkUnnamed4780(core.List<api.SearchQueriesRequest> o) {
+checkUnnamed4787(core.List<api.SearchQueriesRequest> o) {
unittest.expect(o, unittest.hasLength(2));
checkSearchQueriesRequest(o[0]);
checkSearchQueriesRequest(o[1]);
@@ -649,9 +649,9 @@
var o = new api.SearchQueries();
buildCounterSearchQueries++;
if (buildCounterSearchQueries < 3) {
- o.nextPage = buildUnnamed4778();
- o.previousPage = buildUnnamed4779();
- o.request = buildUnnamed4780();
+ o.nextPage = buildUnnamed4785();
+ o.previousPage = buildUnnamed4786();
+ o.request = buildUnnamed4787();
}
buildCounterSearchQueries--;
return o;
@@ -660,9 +660,9 @@
checkSearchQueries(api.SearchQueries o) {
buildCounterSearchQueries++;
if (buildCounterSearchQueries < 3) {
- checkUnnamed4778(o.nextPage);
- checkUnnamed4779(o.previousPage);
- checkUnnamed4780(o.request);
+ checkUnnamed4785(o.nextPage);
+ checkUnnamed4786(o.previousPage);
+ checkUnnamed4787(o.request);
}
buildCounterSearchQueries--;
}
@@ -739,10 +739,10 @@
var o = new api.Search();
buildCounterSearch++;
if (buildCounterSearch < 3) {
- o.context = buildUnnamed4775();
- o.items = buildUnnamed4776();
+ o.context = buildUnnamed4782();
+ o.items = buildUnnamed4783();
o.kind = "foo";
- o.promotions = buildUnnamed4777();
+ o.promotions = buildUnnamed4784();
o.queries = buildSearchQueries();
o.searchInformation = buildSearchSearchInformation();
o.spelling = buildSearchSpelling();
@@ -755,10 +755,10 @@
checkSearch(api.Search o) {
buildCounterSearch++;
if (buildCounterSearch < 3) {
- checkUnnamed4775(o.context);
- checkUnnamed4776(o.items);
+ checkUnnamed4782(o.context);
+ checkUnnamed4783(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed4777(o.promotions);
+ checkUnnamed4784(o.promotions);
checkSearchQueries(o.queries);
checkSearchSearchInformation(o.searchInformation);
checkSearchSpelling(o.spelling);
@@ -884,37 +884,37 @@
unittest.test("method--list", () {
var mock = new HttpServerMock();
api.CseResourceApi res = new api.CustomsearchApi(mock).cse;
- var arg_lowRange = "foo";
- var arg_hq = "foo";
- var arg_siteSearchFilter = "foo";
- var arg_c2coff = "foo";
- var arg_gl = "foo";
- var arg_safe = "foo";
- var arg_imgDominantColor = "foo";
- var arg_imgColorType = "foo";
- var arg_fileType = "foo";
- var arg_q = "foo";
- var arg_imgType = "foo";
- var arg_linkSite = "foo";
- var arg_start = 42;
- var arg_imgSize = "foo";
- var arg_num = 42;
- var arg_excludeTerms = "foo";
- var arg_orTerms = "foo";
- var arg_hl = "foo";
- var arg_siteSearch = "foo";
- var arg_highRange = "foo";
- var arg_searchType = "foo";
- var arg_rights = "foo";
- var arg_sort = "foo";
- var arg_exactTerms = "foo";
- var arg_cx = "foo";
- var arg_googlehost = "foo";
- var arg_lr = "foo";
var arg_dateRestrict = "foo";
- var arg_cr = "foo";
- var arg_filter = "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_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_exactTerms = "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_siteSearch = "foo";
+ var arg_hq = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -947,55 +947,55 @@
}
}
unittest.expect(
- queryMap["lowRange"].first, unittest.equals(arg_lowRange));
- unittest.expect(queryMap["hq"].first, unittest.equals(arg_hq));
- unittest.expect(queryMap["siteSearchFilter"].first,
- unittest.equals(arg_siteSearchFilter));
- unittest.expect(queryMap["c2coff"].first, unittest.equals(arg_c2coff));
- unittest.expect(queryMap["gl"].first, unittest.equals(arg_gl));
- unittest.expect(queryMap["safe"].first, unittest.equals(arg_safe));
- unittest.expect(queryMap["imgDominantColor"].first,
- unittest.equals(arg_imgDominantColor));
+ queryMap["dateRestrict"].first, unittest.equals(arg_dateRestrict));
unittest.expect(
- queryMap["imgColorType"].first, unittest.equals(arg_imgColorType));
+ queryMap["relatedSite"].first, unittest.equals(arg_relatedSite));
+ unittest.expect(queryMap["hl"].first, unittest.equals(arg_hl));
unittest.expect(
queryMap["fileType"].first, unittest.equals(arg_fileType));
- unittest.expect(queryMap["q"].first, unittest.equals(arg_q));
+ 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));
+ 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));
+ unittest.expect(
+ queryMap["searchType"].first, unittest.equals(arg_searchType));
+ unittest.expect(
+ queryMap["exactTerms"].first, unittest.equals(arg_exactTerms));
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));
unittest.expect(
- core.int.parse(queryMap["num"].first), unittest.equals(arg_num));
- unittest.expect(
- queryMap["excludeTerms"].first, unittest.equals(arg_excludeTerms));
- unittest.expect(
- queryMap["orTerms"].first, unittest.equals(arg_orTerms));
- unittest.expect(queryMap["hl"].first, unittest.equals(arg_hl));
- unittest.expect(
queryMap["siteSearch"].first, unittest.equals(arg_siteSearch));
- unittest.expect(
- queryMap["highRange"].first, unittest.equals(arg_highRange));
- unittest.expect(
- queryMap["searchType"].first, unittest.equals(arg_searchType));
- unittest.expect(queryMap["rights"].first, unittest.equals(arg_rights));
- unittest.expect(queryMap["sort"].first, unittest.equals(arg_sort));
- unittest.expect(
- queryMap["exactTerms"].first, unittest.equals(arg_exactTerms));
- unittest.expect(queryMap["cx"].first, unittest.equals(arg_cx));
- unittest.expect(
- queryMap["googlehost"].first, unittest.equals(arg_googlehost));
- unittest.expect(queryMap["lr"].first, unittest.equals(arg_lr));
- unittest.expect(
- queryMap["dateRestrict"].first, unittest.equals(arg_dateRestrict));
- unittest.expect(queryMap["cr"].first, unittest.equals(arg_cr));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
- unittest.expect(
- queryMap["relatedSite"].first, unittest.equals(arg_relatedSite));
+ unittest.expect(queryMap["hq"].first, unittest.equals(arg_hq));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1006,37 +1006,37 @@
}), true);
res
.list(
- lowRange: arg_lowRange,
- hq: arg_hq,
- siteSearchFilter: arg_siteSearchFilter,
- c2coff: arg_c2coff,
- gl: arg_gl,
- safe: arg_safe,
- imgDominantColor: arg_imgDominantColor,
- imgColorType: arg_imgColorType,
- fileType: arg_fileType,
- q: arg_q,
- imgType: arg_imgType,
- linkSite: arg_linkSite,
- start: arg_start,
- imgSize: arg_imgSize,
- num: arg_num,
- excludeTerms: arg_excludeTerms,
- orTerms: arg_orTerms,
- hl: arg_hl,
- siteSearch: arg_siteSearch,
- highRange: arg_highRange,
- searchType: arg_searchType,
- rights: arg_rights,
- sort: arg_sort,
- exactTerms: arg_exactTerms,
- cx: arg_cx,
- googlehost: arg_googlehost,
- lr: arg_lr,
dateRestrict: arg_dateRestrict,
- cr: arg_cr,
- filter: arg_filter,
relatedSite: arg_relatedSite,
+ hl: arg_hl,
+ fileType: arg_fileType,
+ googlehost: arg_googlehost,
+ imgType: arg_imgType,
+ q: arg_q,
+ imgColorType: arg_imgColorType,
+ rights: arg_rights,
+ 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,
+ exactTerms: arg_exactTerms,
+ linkSite: arg_linkSite,
+ lowRange: arg_lowRange,
+ gl: arg_gl,
+ excludeTerms: arg_excludeTerms,
+ c2coff: arg_c2coff,
+ start: arg_start,
+ lr: arg_lr,
+ imgSize: arg_imgSize,
+ siteSearch: arg_siteSearch,
+ hq: arg_hq,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkSearch(response);
@@ -1049,37 +1049,37 @@
var mock = new HttpServerMock();
api.CseSiterestrictResourceApi res =
new api.CustomsearchApi(mock).cse.siterestrict;
- var arg_imgDominantColor = "foo";
- var arg_cr = "foo";
- var arg_exactTerms = "foo";
- var arg_safe = "foo";
- var arg_imgSize = "foo";
- var arg_start = 42;
- var arg_lr = "foo";
- var arg_googlehost = "foo";
- var arg_q = "foo";
- var arg_hq = "foo";
- var arg_siteSearch = "foo";
- var arg_imgColorType = "foo";
- var arg_linkSite = "foo";
- var arg_orTerms = "foo";
- var arg_lowRange = "foo";
- var arg_highRange = "foo";
- var arg_fileType = "foo";
- var arg_hl = "foo";
var arg_relatedSite = "foo";
- var arg_sort = "foo";
var arg_cx = "foo";
- var arg_dateRestrict = "foo";
- var arg_rights = "foo";
- var arg_siteSearchFilter = "foo";
- var arg_num = 42;
- var arg_gl = "foo";
- var arg_c2coff = "foo";
- var arg_filter = "foo";
- var arg_excludeTerms = "foo";
- var arg_searchType = "foo";
+ var arg_hl = "foo";
var arg_imgType = "foo";
+ var arg_siteSearch = "foo";
+ var arg_lowRange = "foo";
+ var arg_gl = "foo";
+ var arg_filter = "foo";
+ var arg_q = "foo";
+ var arg_siteSearchFilter = "foo";
+ var arg_hq = "foo";
+ var arg_num = 42;
+ var arg_orTerms = "foo";
+ var arg_lr = "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_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1111,56 +1111,56 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["imgDominantColor"].first,
- unittest.equals(arg_imgDominantColor));
- unittest.expect(queryMap["cr"].first, unittest.equals(arg_cr));
unittest.expect(
- queryMap["exactTerms"].first, unittest.equals(arg_exactTerms));
- unittest.expect(queryMap["safe"].first, unittest.equals(arg_safe));
+ queryMap["relatedSite"].first, unittest.equals(arg_relatedSite));
+ unittest.expect(queryMap["cx"].first, unittest.equals(arg_cx));
+ unittest.expect(queryMap["hl"].first, unittest.equals(arg_hl));
unittest.expect(
- queryMap["imgSize"].first, unittest.equals(arg_imgSize));
- unittest.expect(core.int.parse(queryMap["start"].first),
- unittest.equals(arg_start));
- unittest.expect(queryMap["lr"].first, unittest.equals(arg_lr));
- unittest.expect(
- queryMap["googlehost"].first, unittest.equals(arg_googlehost));
- unittest.expect(queryMap["q"].first, unittest.equals(arg_q));
- unittest.expect(queryMap["hq"].first, unittest.equals(arg_hq));
+ queryMap["imgType"].first, unittest.equals(arg_imgType));
unittest.expect(
queryMap["siteSearch"].first, unittest.equals(arg_siteSearch));
unittest.expect(
- queryMap["imgColorType"].first, unittest.equals(arg_imgColorType));
+ 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(
+ 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["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["orTerms"].first, unittest.equals(arg_orTerms));
+ queryMap["searchType"].first, unittest.equals(arg_searchType));
unittest.expect(
- queryMap["lowRange"].first, unittest.equals(arg_lowRange));
+ queryMap["fileType"].first, unittest.equals(arg_fileType));
unittest.expect(
queryMap["highRange"].first, unittest.equals(arg_highRange));
unittest.expect(
- queryMap["fileType"].first, unittest.equals(arg_fileType));
- unittest.expect(queryMap["hl"].first, unittest.equals(arg_hl));
- unittest.expect(
- queryMap["relatedSite"].first, unittest.equals(arg_relatedSite));
- unittest.expect(queryMap["sort"].first, unittest.equals(arg_sort));
- unittest.expect(queryMap["cx"].first, unittest.equals(arg_cx));
- unittest.expect(
- queryMap["dateRestrict"].first, unittest.equals(arg_dateRestrict));
- unittest.expect(queryMap["rights"].first, unittest.equals(arg_rights));
- unittest.expect(queryMap["siteSearchFilter"].first,
- unittest.equals(arg_siteSearchFilter));
- unittest.expect(
- core.int.parse(queryMap["num"].first), unittest.equals(arg_num));
- unittest.expect(queryMap["gl"].first, unittest.equals(arg_gl));
+ queryMap["exactTerms"].first, unittest.equals(arg_exactTerms));
unittest.expect(queryMap["c2coff"].first, unittest.equals(arg_c2coff));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
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["searchType"].first, unittest.equals(arg_searchType));
+ queryMap["imgColorType"].first, unittest.equals(arg_imgColorType));
unittest.expect(
- queryMap["imgType"].first, unittest.equals(arg_imgType));
+ queryMap["googlehost"].first, unittest.equals(arg_googlehost));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1171,37 +1171,37 @@
}), true);
res
.list(
- imgDominantColor: arg_imgDominantColor,
- cr: arg_cr,
- exactTerms: arg_exactTerms,
- safe: arg_safe,
- imgSize: arg_imgSize,
- start: arg_start,
- lr: arg_lr,
- googlehost: arg_googlehost,
- q: arg_q,
- hq: arg_hq,
- siteSearch: arg_siteSearch,
- imgColorType: arg_imgColorType,
- linkSite: arg_linkSite,
- orTerms: arg_orTerms,
- lowRange: arg_lowRange,
- highRange: arg_highRange,
- fileType: arg_fileType,
- hl: arg_hl,
relatedSite: arg_relatedSite,
- sort: arg_sort,
cx: arg_cx,
- dateRestrict: arg_dateRestrict,
- rights: arg_rights,
- siteSearchFilter: arg_siteSearchFilter,
- num: arg_num,
- gl: arg_gl,
- c2coff: arg_c2coff,
- filter: arg_filter,
- excludeTerms: arg_excludeTerms,
- searchType: arg_searchType,
+ hl: arg_hl,
imgType: arg_imgType,
+ siteSearch: arg_siteSearch,
+ lowRange: arg_lowRange,
+ gl: arg_gl,
+ filter: arg_filter,
+ q: arg_q,
+ siteSearchFilter: arg_siteSearchFilter,
+ hq: arg_hq,
+ num: arg_num,
+ orTerms: arg_orTerms,
+ lr: arg_lr,
+ 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,
$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 95de42c..cec6e92 100644
--- a/generated/googleapis/test/dataproc/v1_test.dart
+++ b/generated/googleapis/test/dataproc/v1_test.dart
@@ -165,14 +165,14 @@
buildCounterBasicYarnAutoscalingConfig--;
}
-buildUnnamed630() {
+buildUnnamed631() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed630(core.List<core.String> o) {
+checkUnnamed631(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -185,7 +185,7 @@
if (buildCounterBinding < 3) {
o.bindingId = "foo";
o.condition = buildExpr();
- o.members = buildUnnamed630();
+ o.members = buildUnnamed631();
o.role = "foo";
}
buildCounterBinding--;
@@ -197,7 +197,7 @@
if (buildCounterBinding < 3) {
unittest.expect(o.bindingId, unittest.equals('foo'));
checkExpr(o.condition);
- checkUnnamed630(o.members);
+ checkUnnamed631(o.members);
unittest.expect(o.role, unittest.equals('foo'));
}
buildCounterBinding--;
@@ -218,27 +218,27 @@
buildCounterCancelJobRequest--;
}
-buildUnnamed631() {
+buildUnnamed632() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed631(core.Map<core.String, core.String> o) {
+checkUnnamed632(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed632() {
+buildUnnamed633() {
var o = new core.List<api.ClusterStatus>();
o.add(buildClusterStatus());
o.add(buildClusterStatus());
return o;
}
-checkUnnamed632(core.List<api.ClusterStatus> o) {
+checkUnnamed633(core.List<api.ClusterStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkClusterStatus(o[0]);
checkClusterStatus(o[1]);
@@ -252,11 +252,11 @@
o.clusterName = "foo";
o.clusterUuid = "foo";
o.config = buildClusterConfig();
- o.labels = buildUnnamed631();
+ o.labels = buildUnnamed632();
o.metrics = buildClusterMetrics();
o.projectId = "foo";
o.status = buildClusterStatus();
- o.statusHistory = buildUnnamed632();
+ o.statusHistory = buildUnnamed633();
}
buildCounterCluster--;
return o;
@@ -268,23 +268,23 @@
unittest.expect(o.clusterName, unittest.equals('foo'));
unittest.expect(o.clusterUuid, unittest.equals('foo'));
checkClusterConfig(o.config);
- checkUnnamed631(o.labels);
+ checkUnnamed632(o.labels);
checkClusterMetrics(o.metrics);
unittest.expect(o.projectId, unittest.equals('foo'));
checkClusterStatus(o.status);
- checkUnnamed632(o.statusHistory);
+ checkUnnamed633(o.statusHistory);
}
buildCounterCluster--;
}
-buildUnnamed633() {
+buildUnnamed634() {
var o = new core.List<api.NodeInitializationAction>();
o.add(buildNodeInitializationAction());
o.add(buildNodeInitializationAction());
return o;
}
-checkUnnamed633(core.List<api.NodeInitializationAction> o) {
+checkUnnamed634(core.List<api.NodeInitializationAction> o) {
unittest.expect(o, unittest.hasLength(2));
checkNodeInitializationAction(o[0]);
checkNodeInitializationAction(o[1]);
@@ -300,7 +300,7 @@
o.encryptionConfig = buildEncryptionConfig();
o.endpointConfig = buildEndpointConfig();
o.gceClusterConfig = buildGceClusterConfig();
- o.initializationActions = buildUnnamed633();
+ o.initializationActions = buildUnnamed634();
o.lifecycleConfig = buildLifecycleConfig();
o.masterConfig = buildInstanceGroupConfig();
o.secondaryWorkerConfig = buildInstanceGroupConfig();
@@ -321,7 +321,7 @@
checkEncryptionConfig(o.encryptionConfig);
checkEndpointConfig(o.endpointConfig);
checkGceClusterConfig(o.gceClusterConfig);
- checkUnnamed633(o.initializationActions);
+ checkUnnamed634(o.initializationActions);
checkLifecycleConfig(o.lifecycleConfig);
checkInstanceGroupConfig(o.masterConfig);
checkInstanceGroupConfig(o.secondaryWorkerConfig);
@@ -333,19 +333,6 @@
buildCounterClusterConfig--;
}
-buildUnnamed634() {
- var o = new core.Map<core.String, core.String>();
- o["x"] = "foo";
- o["y"] = "foo";
- return o;
-}
-
-checkUnnamed634(core.Map<core.String, core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o["x"], unittest.equals('foo'));
- unittest.expect(o["y"], unittest.equals('foo'));
-}
-
buildUnnamed635() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
@@ -359,13 +346,26 @@
unittest.expect(o["y"], unittest.equals('foo'));
}
+buildUnnamed636() {
+ var o = new core.Map<core.String, core.String>();
+ o["x"] = "foo";
+ o["y"] = "foo";
+ return o;
+}
+
+checkUnnamed636(core.Map<core.String, core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o["x"], unittest.equals('foo'));
+ unittest.expect(o["y"], unittest.equals('foo'));
+}
+
core.int buildCounterClusterMetrics = 0;
buildClusterMetrics() {
var o = new api.ClusterMetrics();
buildCounterClusterMetrics++;
if (buildCounterClusterMetrics < 3) {
- o.hdfsMetrics = buildUnnamed634();
- o.yarnMetrics = buildUnnamed635();
+ o.hdfsMetrics = buildUnnamed635();
+ o.yarnMetrics = buildUnnamed636();
}
buildCounterClusterMetrics--;
return o;
@@ -374,8 +374,8 @@
checkClusterMetrics(api.ClusterMetrics o) {
buildCounterClusterMetrics++;
if (buildCounterClusterMetrics < 3) {
- checkUnnamed634(o.hdfsMetrics);
- checkUnnamed635(o.yarnMetrics);
+ checkUnnamed635(o.hdfsMetrics);
+ checkUnnamed636(o.yarnMetrics);
}
buildCounterClusterMetrics--;
}
@@ -403,40 +403,40 @@
buildCounterClusterOperation--;
}
-buildUnnamed636() {
+buildUnnamed637() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed636(core.Map<core.String, core.String> o) {
+checkUnnamed637(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed637() {
+buildUnnamed638() {
var o = new core.List<api.ClusterOperationStatus>();
o.add(buildClusterOperationStatus());
o.add(buildClusterOperationStatus());
return o;
}
-checkUnnamed637(core.List<api.ClusterOperationStatus> o) {
+checkUnnamed638(core.List<api.ClusterOperationStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkClusterOperationStatus(o[0]);
checkClusterOperationStatus(o[1]);
}
-buildUnnamed638() {
+buildUnnamed639() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed638(core.List<core.String> o) {
+checkUnnamed639(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -450,11 +450,11 @@
o.clusterName = "foo";
o.clusterUuid = "foo";
o.description = "foo";
- o.labels = buildUnnamed636();
+ o.labels = buildUnnamed637();
o.operationType = "foo";
o.status = buildClusterOperationStatus();
- o.statusHistory = buildUnnamed637();
- o.warnings = buildUnnamed638();
+ o.statusHistory = buildUnnamed638();
+ o.warnings = buildUnnamed639();
}
buildCounterClusterOperationMetadata--;
return o;
@@ -466,11 +466,11 @@
unittest.expect(o.clusterName, unittest.equals('foo'));
unittest.expect(o.clusterUuid, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed636(o.labels);
+ checkUnnamed637(o.labels);
unittest.expect(o.operationType, unittest.equals('foo'));
checkClusterOperationStatus(o.status);
- checkUnnamed637(o.statusHistory);
- checkUnnamed638(o.warnings);
+ checkUnnamed638(o.statusHistory);
+ checkUnnamed639(o.warnings);
}
buildCounterClusterOperationMetadata--;
}
@@ -500,14 +500,14 @@
buildCounterClusterOperationStatus--;
}
-buildUnnamed639() {
+buildUnnamed640() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed639(core.Map<core.String, core.String> o) {
+checkUnnamed640(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -518,7 +518,7 @@
var o = new api.ClusterSelector();
buildCounterClusterSelector++;
if (buildCounterClusterSelector < 3) {
- o.clusterLabels = buildUnnamed639();
+ o.clusterLabels = buildUnnamed640();
o.zone = "foo";
}
buildCounterClusterSelector--;
@@ -528,7 +528,7 @@
checkClusterSelector(api.ClusterSelector o) {
buildCounterClusterSelector++;
if (buildCounterClusterSelector < 3) {
- checkUnnamed639(o.clusterLabels);
+ checkUnnamed640(o.clusterLabels);
unittest.expect(o.zone, unittest.equals('foo'));
}
buildCounterClusterSelector--;
@@ -650,14 +650,14 @@
buildCounterEncryptionConfig--;
}
-buildUnnamed640() {
+buildUnnamed641() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed640(core.Map<core.String, core.String> o) {
+checkUnnamed641(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -669,7 +669,7 @@
buildCounterEndpointConfig++;
if (buildCounterEndpointConfig < 3) {
o.enableHttpPortAccess = true;
- o.httpPorts = buildUnnamed640();
+ o.httpPorts = buildUnnamed641();
}
buildCounterEndpointConfig--;
return o;
@@ -679,7 +679,7 @@
buildCounterEndpointConfig++;
if (buildCounterEndpointConfig < 3) {
unittest.expect(o.enableHttpPortAccess, unittest.isTrue);
- checkUnnamed640(o.httpPorts);
+ checkUnnamed641(o.httpPorts);
}
buildCounterEndpointConfig--;
}
@@ -709,32 +709,19 @@
buildCounterExpr--;
}
-buildUnnamed641() {
+buildUnnamed642() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed641(core.Map<core.String, core.String> o) {
+checkUnnamed642(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed642() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed642(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed643() {
var o = new core.List<core.String>();
o.add("foo");
@@ -748,21 +735,34 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed644() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed644(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
core.int buildCounterGceClusterConfig = 0;
buildGceClusterConfig() {
var o = new api.GceClusterConfig();
buildCounterGceClusterConfig++;
if (buildCounterGceClusterConfig < 3) {
o.internalIpOnly = true;
- o.metadata = buildUnnamed641();
+ o.metadata = buildUnnamed642();
o.networkUri = "foo";
o.nodeGroupAffinity = buildNodeGroupAffinity();
o.privateIpv6GoogleAccess = "foo";
o.reservationAffinity = buildReservationAffinity();
o.serviceAccount = "foo";
- o.serviceAccountScopes = buildUnnamed642();
+ o.serviceAccountScopes = buildUnnamed643();
o.subnetworkUri = "foo";
- o.tags = buildUnnamed643();
+ o.tags = buildUnnamed644();
o.zoneUri = "foo";
}
buildCounterGceClusterConfig--;
@@ -773,15 +773,15 @@
buildCounterGceClusterConfig++;
if (buildCounterGceClusterConfig < 3) {
unittest.expect(o.internalIpOnly, unittest.isTrue);
- checkUnnamed641(o.metadata);
+ checkUnnamed642(o.metadata);
unittest.expect(o.networkUri, unittest.equals('foo'));
checkNodeGroupAffinity(o.nodeGroupAffinity);
unittest.expect(o.privateIpv6GoogleAccess, unittest.equals('foo'));
checkReservationAffinity(o.reservationAffinity);
unittest.expect(o.serviceAccount, unittest.equals('foo'));
- checkUnnamed642(o.serviceAccountScopes);
+ checkUnnamed643(o.serviceAccountScopes);
unittest.expect(o.subnetworkUri, unittest.equals('foo'));
- checkUnnamed643(o.tags);
+ checkUnnamed644(o.tags);
unittest.expect(o.zoneUri, unittest.equals('foo'));
}
buildCounterGceClusterConfig--;
@@ -825,19 +825,6 @@
buildCounterGetPolicyOptions--;
}
-buildUnnamed644() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed644(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed645() {
var o = new core.List<core.String>();
o.add("foo");
@@ -878,13 +865,26 @@
}
buildUnnamed648() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed648(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed649() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed648(core.Map<core.String, core.String> o) {
+checkUnnamed649(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -895,14 +895,14 @@
var o = new api.HadoopJob();
buildCounterHadoopJob++;
if (buildCounterHadoopJob < 3) {
- o.archiveUris = buildUnnamed644();
- o.args = buildUnnamed645();
- o.fileUris = buildUnnamed646();
- o.jarFileUris = buildUnnamed647();
+ o.archiveUris = buildUnnamed645();
+ o.args = buildUnnamed646();
+ o.fileUris = buildUnnamed647();
+ o.jarFileUris = buildUnnamed648();
o.loggingConfig = buildLoggingConfig();
o.mainClass = "foo";
o.mainJarFileUri = "foo";
- o.properties = buildUnnamed648();
+ o.properties = buildUnnamed649();
}
buildCounterHadoopJob--;
return o;
@@ -911,44 +911,31 @@
checkHadoopJob(api.HadoopJob o) {
buildCounterHadoopJob++;
if (buildCounterHadoopJob < 3) {
- checkUnnamed644(o.archiveUris);
- checkUnnamed645(o.args);
- checkUnnamed646(o.fileUris);
- checkUnnamed647(o.jarFileUris);
+ checkUnnamed645(o.archiveUris);
+ checkUnnamed646(o.args);
+ checkUnnamed647(o.fileUris);
+ checkUnnamed648(o.jarFileUris);
checkLoggingConfig(o.loggingConfig);
unittest.expect(o.mainClass, unittest.equals('foo'));
unittest.expect(o.mainJarFileUri, unittest.equals('foo'));
- checkUnnamed648(o.properties);
+ checkUnnamed649(o.properties);
}
buildCounterHadoopJob--;
}
-buildUnnamed649() {
+buildUnnamed650() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed649(core.List<core.String> o) {
+checkUnnamed650(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed650() {
- var o = new core.Map<core.String, core.String>();
- o["x"] = "foo";
- o["y"] = "foo";
- return o;
-}
-
-checkUnnamed650(core.Map<core.String, core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o["x"], unittest.equals('foo'));
- unittest.expect(o["y"], unittest.equals('foo'));
-}
-
buildUnnamed651() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
@@ -962,17 +949,30 @@
unittest.expect(o["y"], unittest.equals('foo'));
}
+buildUnnamed652() {
+ var o = new core.Map<core.String, core.String>();
+ o["x"] = "foo";
+ o["y"] = "foo";
+ return o;
+}
+
+checkUnnamed652(core.Map<core.String, core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o["x"], unittest.equals('foo'));
+ unittest.expect(o["y"], unittest.equals('foo'));
+}
+
core.int buildCounterHiveJob = 0;
buildHiveJob() {
var o = new api.HiveJob();
buildCounterHiveJob++;
if (buildCounterHiveJob < 3) {
o.continueOnFailure = true;
- o.jarFileUris = buildUnnamed649();
- o.properties = buildUnnamed650();
+ o.jarFileUris = buildUnnamed650();
+ o.properties = buildUnnamed651();
o.queryFileUri = "foo";
o.queryList = buildQueryList();
- o.scriptVariables = buildUnnamed651();
+ o.scriptVariables = buildUnnamed652();
}
buildCounterHiveJob--;
return o;
@@ -982,11 +982,11 @@
buildCounterHiveJob++;
if (buildCounterHiveJob < 3) {
unittest.expect(o.continueOnFailure, unittest.isTrue);
- checkUnnamed649(o.jarFileUris);
- checkUnnamed650(o.properties);
+ checkUnnamed650(o.jarFileUris);
+ checkUnnamed651(o.properties);
unittest.expect(o.queryFileUri, unittest.equals('foo'));
checkQueryList(o.queryList);
- checkUnnamed651(o.scriptVariables);
+ checkUnnamed652(o.scriptVariables);
}
buildCounterHiveJob--;
}
@@ -1015,40 +1015,40 @@
buildCounterInstanceGroupAutoscalingPolicyConfig--;
}
-buildUnnamed652() {
+buildUnnamed653() {
var o = new core.List<api.AcceleratorConfig>();
o.add(buildAcceleratorConfig());
o.add(buildAcceleratorConfig());
return o;
}
-checkUnnamed652(core.List<api.AcceleratorConfig> o) {
+checkUnnamed653(core.List<api.AcceleratorConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAcceleratorConfig(o[0]);
checkAcceleratorConfig(o[1]);
}
-buildUnnamed653() {
+buildUnnamed654() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed653(core.List<core.String> o) {
+checkUnnamed654(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed654() {
+buildUnnamed655() {
var o = new core.List<api.InstanceReference>();
o.add(buildInstanceReference());
o.add(buildInstanceReference());
return o;
}
-checkUnnamed654(core.List<api.InstanceReference> o) {
+checkUnnamed655(core.List<api.InstanceReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstanceReference(o[0]);
checkInstanceReference(o[1]);
@@ -1059,11 +1059,11 @@
var o = new api.InstanceGroupConfig();
buildCounterInstanceGroupConfig++;
if (buildCounterInstanceGroupConfig < 3) {
- o.accelerators = buildUnnamed652();
+ o.accelerators = buildUnnamed653();
o.diskConfig = buildDiskConfig();
o.imageUri = "foo";
- o.instanceNames = buildUnnamed653();
- o.instanceReferences = buildUnnamed654();
+ o.instanceNames = buildUnnamed654();
+ o.instanceReferences = buildUnnamed655();
o.isPreemptible = true;
o.machineTypeUri = "foo";
o.managedGroupConfig = buildManagedGroupConfig();
@@ -1078,11 +1078,11 @@
checkInstanceGroupConfig(api.InstanceGroupConfig o) {
buildCounterInstanceGroupConfig++;
if (buildCounterInstanceGroupConfig < 3) {
- checkUnnamed652(o.accelerators);
+ checkUnnamed653(o.accelerators);
checkDiskConfig(o.diskConfig);
unittest.expect(o.imageUri, unittest.equals('foo'));
- checkUnnamed653(o.instanceNames);
- checkUnnamed654(o.instanceReferences);
+ checkUnnamed654(o.instanceNames);
+ checkUnnamed655(o.instanceReferences);
unittest.expect(o.isPreemptible, unittest.isTrue);
unittest.expect(o.machineTypeUri, unittest.equals('foo'));
checkManagedGroupConfig(o.managedGroupConfig);
@@ -1114,43 +1114,6 @@
buildCounterInstanceReference--;
}
-buildUnnamed655() {
- var o = new core.Map<core.String, core.String>();
- o["x"] = "foo";
- o["y"] = "foo";
- return o;
-}
-
-checkUnnamed655(core.Map<core.String, core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o["x"], unittest.equals('foo'));
- unittest.expect(o["y"], unittest.equals('foo'));
-}
-
-core.int buildCounterInstantiateWorkflowTemplateRequest = 0;
-buildInstantiateWorkflowTemplateRequest() {
- var o = new api.InstantiateWorkflowTemplateRequest();
- buildCounterInstantiateWorkflowTemplateRequest++;
- if (buildCounterInstantiateWorkflowTemplateRequest < 3) {
- o.parameters = buildUnnamed655();
- o.requestId = "foo";
- o.version = 42;
- }
- buildCounterInstantiateWorkflowTemplateRequest--;
- return o;
-}
-
-checkInstantiateWorkflowTemplateRequest(
- api.InstantiateWorkflowTemplateRequest o) {
- buildCounterInstantiateWorkflowTemplateRequest++;
- if (buildCounterInstantiateWorkflowTemplateRequest < 3) {
- checkUnnamed655(o.parameters);
- unittest.expect(o.requestId, unittest.equals('foo'));
- unittest.expect(o.version, unittest.equals(42));
- }
- buildCounterInstantiateWorkflowTemplateRequest--;
-}
-
buildUnnamed656() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
@@ -1164,27 +1127,64 @@
unittest.expect(o["y"], unittest.equals('foo'));
}
+core.int buildCounterInstantiateWorkflowTemplateRequest = 0;
+buildInstantiateWorkflowTemplateRequest() {
+ var o = new api.InstantiateWorkflowTemplateRequest();
+ buildCounterInstantiateWorkflowTemplateRequest++;
+ if (buildCounterInstantiateWorkflowTemplateRequest < 3) {
+ o.parameters = buildUnnamed656();
+ o.requestId = "foo";
+ o.version = 42;
+ }
+ buildCounterInstantiateWorkflowTemplateRequest--;
+ return o;
+}
+
+checkInstantiateWorkflowTemplateRequest(
+ api.InstantiateWorkflowTemplateRequest o) {
+ buildCounterInstantiateWorkflowTemplateRequest++;
+ if (buildCounterInstantiateWorkflowTemplateRequest < 3) {
+ checkUnnamed656(o.parameters);
+ unittest.expect(o.requestId, unittest.equals('foo'));
+ unittest.expect(o.version, unittest.equals(42));
+ }
+ buildCounterInstantiateWorkflowTemplateRequest--;
+}
+
buildUnnamed657() {
+ var o = new core.Map<core.String, core.String>();
+ o["x"] = "foo";
+ o["y"] = "foo";
+ return o;
+}
+
+checkUnnamed657(core.Map<core.String, core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o["x"], unittest.equals('foo'));
+ unittest.expect(o["y"], unittest.equals('foo'));
+}
+
+buildUnnamed658() {
var o = new core.List<api.JobStatus>();
o.add(buildJobStatus());
o.add(buildJobStatus());
return o;
}
-checkUnnamed657(core.List<api.JobStatus> o) {
+checkUnnamed658(core.List<api.JobStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkJobStatus(o[0]);
checkJobStatus(o[1]);
}
-buildUnnamed658() {
+buildUnnamed659() {
var o = new core.List<api.YarnApplication>();
o.add(buildYarnApplication());
o.add(buildYarnApplication());
return o;
}
-checkUnnamed658(core.List<api.YarnApplication> o) {
+checkUnnamed659(core.List<api.YarnApplication> o) {
unittest.expect(o, unittest.hasLength(2));
checkYarnApplication(o[0]);
checkYarnApplication(o[1]);
@@ -1201,7 +1201,7 @@
o.hadoopJob = buildHadoopJob();
o.hiveJob = buildHiveJob();
o.jobUuid = "foo";
- o.labels = buildUnnamed656();
+ o.labels = buildUnnamed657();
o.pigJob = buildPigJob();
o.placement = buildJobPlacement();
o.prestoJob = buildPrestoJob();
@@ -1212,8 +1212,8 @@
o.sparkRJob = buildSparkRJob();
o.sparkSqlJob = buildSparkSqlJob();
o.status = buildJobStatus();
- o.statusHistory = buildUnnamed657();
- o.yarnApplications = buildUnnamed658();
+ o.statusHistory = buildUnnamed658();
+ o.yarnApplications = buildUnnamed659();
}
buildCounterJob--;
return o;
@@ -1228,7 +1228,7 @@
checkHadoopJob(o.hadoopJob);
checkHiveJob(o.hiveJob);
unittest.expect(o.jobUuid, unittest.equals('foo'));
- checkUnnamed656(o.labels);
+ checkUnnamed657(o.labels);
checkPigJob(o.pigJob);
checkJobPlacement(o.placement);
checkPrestoJob(o.prestoJob);
@@ -1239,8 +1239,8 @@
checkSparkRJob(o.sparkRJob);
checkSparkSqlJob(o.sparkSqlJob);
checkJobStatus(o.status);
- checkUnnamed657(o.statusHistory);
- checkUnnamed658(o.yarnApplications);
+ checkUnnamed658(o.statusHistory);
+ checkUnnamed659(o.yarnApplications);
}
buildCounterJob--;
}
@@ -1428,14 +1428,14 @@
buildCounterLifecycleConfig--;
}
-buildUnnamed659() {
+buildUnnamed660() {
var o = new core.List<api.AutoscalingPolicy>();
o.add(buildAutoscalingPolicy());
o.add(buildAutoscalingPolicy());
return o;
}
-checkUnnamed659(core.List<api.AutoscalingPolicy> o) {
+checkUnnamed660(core.List<api.AutoscalingPolicy> o) {
unittest.expect(o, unittest.hasLength(2));
checkAutoscalingPolicy(o[0]);
checkAutoscalingPolicy(o[1]);
@@ -1447,7 +1447,7 @@
buildCounterListAutoscalingPoliciesResponse++;
if (buildCounterListAutoscalingPoliciesResponse < 3) {
o.nextPageToken = "foo";
- o.policies = buildUnnamed659();
+ o.policies = buildUnnamed660();
}
buildCounterListAutoscalingPoliciesResponse--;
return o;
@@ -1457,19 +1457,19 @@
buildCounterListAutoscalingPoliciesResponse++;
if (buildCounterListAutoscalingPoliciesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed659(o.policies);
+ checkUnnamed660(o.policies);
}
buildCounterListAutoscalingPoliciesResponse--;
}
-buildUnnamed660() {
+buildUnnamed661() {
var o = new core.List<api.Cluster>();
o.add(buildCluster());
o.add(buildCluster());
return o;
}
-checkUnnamed660(core.List<api.Cluster> o) {
+checkUnnamed661(core.List<api.Cluster> o) {
unittest.expect(o, unittest.hasLength(2));
checkCluster(o[0]);
checkCluster(o[1]);
@@ -1480,7 +1480,7 @@
var o = new api.ListClustersResponse();
buildCounterListClustersResponse++;
if (buildCounterListClustersResponse < 3) {
- o.clusters = buildUnnamed660();
+ o.clusters = buildUnnamed661();
o.nextPageToken = "foo";
}
buildCounterListClustersResponse--;
@@ -1490,20 +1490,20 @@
checkListClustersResponse(api.ListClustersResponse o) {
buildCounterListClustersResponse++;
if (buildCounterListClustersResponse < 3) {
- checkUnnamed660(o.clusters);
+ checkUnnamed661(o.clusters);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListClustersResponse--;
}
-buildUnnamed661() {
+buildUnnamed662() {
var o = new core.List<api.Job>();
o.add(buildJob());
o.add(buildJob());
return o;
}
-checkUnnamed661(core.List<api.Job> o) {
+checkUnnamed662(core.List<api.Job> o) {
unittest.expect(o, unittest.hasLength(2));
checkJob(o[0]);
checkJob(o[1]);
@@ -1514,7 +1514,7 @@
var o = new api.ListJobsResponse();
buildCounterListJobsResponse++;
if (buildCounterListJobsResponse < 3) {
- o.jobs = buildUnnamed661();
+ o.jobs = buildUnnamed662();
o.nextPageToken = "foo";
}
buildCounterListJobsResponse--;
@@ -1524,20 +1524,20 @@
checkListJobsResponse(api.ListJobsResponse o) {
buildCounterListJobsResponse++;
if (buildCounterListJobsResponse < 3) {
- checkUnnamed661(o.jobs);
+ checkUnnamed662(o.jobs);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListJobsResponse--;
}
-buildUnnamed662() {
+buildUnnamed663() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed662(core.List<api.Operation> o) {
+checkUnnamed663(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -1549,7 +1549,7 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
o.nextPageToken = "foo";
- o.operations = buildUnnamed662();
+ o.operations = buildUnnamed663();
}
buildCounterListOperationsResponse--;
return o;
@@ -1559,19 +1559,19 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed662(o.operations);
+ checkUnnamed663(o.operations);
}
buildCounterListOperationsResponse--;
}
-buildUnnamed663() {
+buildUnnamed664() {
var o = new core.List<api.WorkflowTemplate>();
o.add(buildWorkflowTemplate());
o.add(buildWorkflowTemplate());
return o;
}
-checkUnnamed663(core.List<api.WorkflowTemplate> o) {
+checkUnnamed664(core.List<api.WorkflowTemplate> o) {
unittest.expect(o, unittest.hasLength(2));
checkWorkflowTemplate(o[0]);
checkWorkflowTemplate(o[1]);
@@ -1583,7 +1583,7 @@
buildCounterListWorkflowTemplatesResponse++;
if (buildCounterListWorkflowTemplatesResponse < 3) {
o.nextPageToken = "foo";
- o.templates = buildUnnamed663();
+ o.templates = buildUnnamed664();
}
buildCounterListWorkflowTemplatesResponse--;
return o;
@@ -1593,43 +1593,11 @@
buildCounterListWorkflowTemplatesResponse++;
if (buildCounterListWorkflowTemplatesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed663(o.templates);
+ checkUnnamed664(o.templates);
}
buildCounterListWorkflowTemplatesResponse--;
}
-buildUnnamed664() {
- var o = new core.Map<core.String, core.String>();
- o["x"] = "foo";
- o["y"] = "foo";
- return o;
-}
-
-checkUnnamed664(core.Map<core.String, core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o["x"], unittest.equals('foo'));
- unittest.expect(o["y"], unittest.equals('foo'));
-}
-
-core.int buildCounterLoggingConfig = 0;
-buildLoggingConfig() {
- var o = new api.LoggingConfig();
- buildCounterLoggingConfig++;
- if (buildCounterLoggingConfig < 3) {
- o.driverLogLevels = buildUnnamed664();
- }
- buildCounterLoggingConfig--;
- return o;
-}
-
-checkLoggingConfig(api.LoggingConfig o) {
- buildCounterLoggingConfig++;
- if (buildCounterLoggingConfig < 3) {
- checkUnnamed664(o.driverLogLevels);
- }
- buildCounterLoggingConfig--;
-}
-
buildUnnamed665() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
@@ -1643,6 +1611,38 @@
unittest.expect(o["y"], unittest.equals('foo'));
}
+core.int buildCounterLoggingConfig = 0;
+buildLoggingConfig() {
+ var o = new api.LoggingConfig();
+ buildCounterLoggingConfig++;
+ if (buildCounterLoggingConfig < 3) {
+ o.driverLogLevels = buildUnnamed665();
+ }
+ buildCounterLoggingConfig--;
+ return o;
+}
+
+checkLoggingConfig(api.LoggingConfig o) {
+ buildCounterLoggingConfig++;
+ if (buildCounterLoggingConfig < 3) {
+ checkUnnamed665(o.driverLogLevels);
+ }
+ buildCounterLoggingConfig--;
+}
+
+buildUnnamed666() {
+ var o = new core.Map<core.String, core.String>();
+ o["x"] = "foo";
+ o["y"] = "foo";
+ return o;
+}
+
+checkUnnamed666(core.Map<core.String, core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o["x"], unittest.equals('foo'));
+ unittest.expect(o["y"], unittest.equals('foo'));
+}
+
core.int buildCounterManagedCluster = 0;
buildManagedCluster() {
var o = new api.ManagedCluster();
@@ -1650,7 +1650,7 @@
if (buildCounterManagedCluster < 3) {
o.clusterName = "foo";
o.config = buildClusterConfig();
- o.labels = buildUnnamed665();
+ o.labels = buildUnnamed666();
}
buildCounterManagedCluster--;
return o;
@@ -1661,7 +1661,7 @@
if (buildCounterManagedCluster < 3) {
unittest.expect(o.clusterName, unittest.equals('foo'));
checkClusterConfig(o.config);
- checkUnnamed665(o.labels);
+ checkUnnamed666(o.labels);
}
buildCounterManagedCluster--;
}
@@ -1727,35 +1727,6 @@
buildCounterNodeInitializationAction--;
}
-buildUnnamed666() {
- var o = new core.Map<core.String, core.Object>();
- o["x"] = {
- 'list': [1, 2, 3],
- 'bool': true,
- 'string': 'foo'
- };
- o["y"] = {
- 'list': [1, 2, 3],
- 'bool': true,
- 'string': 'foo'
- };
- return o;
-}
-
-checkUnnamed666(core.Map<core.String, core.Object> o) {
- unittest.expect(o, unittest.hasLength(2));
- var casted1 = (o["x"]) as core.Map;
- unittest.expect(casted1, unittest.hasLength(3));
- unittest.expect(casted1["list"], unittest.equals([1, 2, 3]));
- unittest.expect(casted1["bool"], unittest.equals(true));
- unittest.expect(casted1["string"], unittest.equals('foo'));
- var casted2 = (o["y"]) as core.Map;
- unittest.expect(casted2, unittest.hasLength(3));
- unittest.expect(casted2["list"], unittest.equals([1, 2, 3]));
- unittest.expect(casted2["bool"], unittest.equals(true));
- unittest.expect(casted2["string"], unittest.equals('foo'));
-}
-
buildUnnamed667() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
@@ -1773,6 +1744,35 @@
checkUnnamed667(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
+ var casted1 = (o["x"]) as core.Map;
+ unittest.expect(casted1, unittest.hasLength(3));
+ unittest.expect(casted1["list"], unittest.equals([1, 2, 3]));
+ unittest.expect(casted1["bool"], unittest.equals(true));
+ unittest.expect(casted1["string"], unittest.equals('foo'));
+ var casted2 = (o["y"]) as core.Map;
+ unittest.expect(casted2, unittest.hasLength(3));
+ unittest.expect(casted2["list"], unittest.equals([1, 2, 3]));
+ unittest.expect(casted2["bool"], unittest.equals(true));
+ unittest.expect(casted2["string"], unittest.equals('foo'));
+}
+
+buildUnnamed668() {
+ var o = new core.Map<core.String, core.Object>();
+ o["x"] = {
+ 'list': [1, 2, 3],
+ 'bool': true,
+ 'string': 'foo'
+ };
+ o["y"] = {
+ 'list': [1, 2, 3],
+ 'bool': true,
+ 'string': 'foo'
+ };
+ return o;
+}
+
+checkUnnamed668(core.Map<core.String, core.Object> o) {
+ unittest.expect(o, unittest.hasLength(2));
var casted3 = (o["x"]) as core.Map;
unittest.expect(casted3, unittest.hasLength(3));
unittest.expect(casted3["list"], unittest.equals([1, 2, 3]));
@@ -1792,9 +1792,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed666();
+ o.metadata = buildUnnamed667();
o.name = "foo";
- o.response = buildUnnamed667();
+ o.response = buildUnnamed668();
}
buildCounterOperation--;
return o;
@@ -1805,34 +1805,34 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed666(o.metadata);
+ checkUnnamed667(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed667(o.response);
+ checkUnnamed668(o.response);
}
buildCounterOperation--;
}
-buildUnnamed668() {
+buildUnnamed669() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed668(core.Map<core.String, core.String> o) {
+checkUnnamed669(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed669() {
+buildUnnamed670() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed669(core.List<core.String> o) {
+checkUnnamed670(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1845,9 +1845,9 @@
if (buildCounterOrderedJob < 3) {
o.hadoopJob = buildHadoopJob();
o.hiveJob = buildHiveJob();
- o.labels = buildUnnamed668();
+ o.labels = buildUnnamed669();
o.pigJob = buildPigJob();
- o.prerequisiteStepIds = buildUnnamed669();
+ o.prerequisiteStepIds = buildUnnamed670();
o.prestoJob = buildPrestoJob();
o.pysparkJob = buildPySparkJob();
o.scheduling = buildJobScheduling();
@@ -1865,9 +1865,9 @@
if (buildCounterOrderedJob < 3) {
checkHadoopJob(o.hadoopJob);
checkHiveJob(o.hiveJob);
- checkUnnamed668(o.labels);
+ checkUnnamed669(o.labels);
checkPigJob(o.pigJob);
- checkUnnamed669(o.prerequisiteStepIds);
+ checkUnnamed670(o.prerequisiteStepIds);
checkPrestoJob(o.prestoJob);
checkPySparkJob(o.pysparkJob);
checkJobScheduling(o.scheduling);
@@ -1900,32 +1900,19 @@
buildCounterParameterValidation--;
}
-buildUnnamed670() {
+buildUnnamed671() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed670(core.List<core.String> o) {
+checkUnnamed671(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed671() {
- var o = new core.Map<core.String, core.String>();
- o["x"] = "foo";
- o["y"] = "foo";
- return o;
-}
-
-checkUnnamed671(core.Map<core.String, core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o["x"], unittest.equals('foo'));
- unittest.expect(o["y"], unittest.equals('foo'));
-}
-
buildUnnamed672() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
@@ -1939,18 +1926,31 @@
unittest.expect(o["y"], unittest.equals('foo'));
}
+buildUnnamed673() {
+ var o = new core.Map<core.String, core.String>();
+ o["x"] = "foo";
+ o["y"] = "foo";
+ return o;
+}
+
+checkUnnamed673(core.Map<core.String, core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o["x"], unittest.equals('foo'));
+ unittest.expect(o["y"], unittest.equals('foo'));
+}
+
core.int buildCounterPigJob = 0;
buildPigJob() {
var o = new api.PigJob();
buildCounterPigJob++;
if (buildCounterPigJob < 3) {
o.continueOnFailure = true;
- o.jarFileUris = buildUnnamed670();
+ o.jarFileUris = buildUnnamed671();
o.loggingConfig = buildLoggingConfig();
- o.properties = buildUnnamed671();
+ o.properties = buildUnnamed672();
o.queryFileUri = "foo";
o.queryList = buildQueryList();
- o.scriptVariables = buildUnnamed672();
+ o.scriptVariables = buildUnnamed673();
}
buildCounterPigJob--;
return o;
@@ -1960,24 +1960,24 @@
buildCounterPigJob++;
if (buildCounterPigJob < 3) {
unittest.expect(o.continueOnFailure, unittest.isTrue);
- checkUnnamed670(o.jarFileUris);
+ checkUnnamed671(o.jarFileUris);
checkLoggingConfig(o.loggingConfig);
- checkUnnamed671(o.properties);
+ checkUnnamed672(o.properties);
unittest.expect(o.queryFileUri, unittest.equals('foo'));
checkQueryList(o.queryList);
- checkUnnamed672(o.scriptVariables);
+ checkUnnamed673(o.scriptVariables);
}
buildCounterPigJob--;
}
-buildUnnamed673() {
+buildUnnamed674() {
var o = new core.List<api.Binding>();
o.add(buildBinding());
o.add(buildBinding());
return o;
}
-checkUnnamed673(core.List<api.Binding> o) {
+checkUnnamed674(core.List<api.Binding> o) {
unittest.expect(o, unittest.hasLength(2));
checkBinding(o[0]);
checkBinding(o[1]);
@@ -1988,7 +1988,7 @@
var o = new api.Policy();
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- o.bindings = buildUnnamed673();
+ o.bindings = buildUnnamed674();
o.etag = "foo";
o.version = 42;
}
@@ -1999,34 +1999,34 @@
checkPolicy(api.Policy o) {
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- checkUnnamed673(o.bindings);
+ checkUnnamed674(o.bindings);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals(42));
}
buildCounterPolicy--;
}
-buildUnnamed674() {
+buildUnnamed675() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed674(core.List<core.String> o) {
+checkUnnamed675(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed675() {
+buildUnnamed676() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed675(core.Map<core.String, core.String> o) {
+checkUnnamed676(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -2037,11 +2037,11 @@
var o = new api.PrestoJob();
buildCounterPrestoJob++;
if (buildCounterPrestoJob < 3) {
- o.clientTags = buildUnnamed674();
+ o.clientTags = buildUnnamed675();
o.continueOnFailure = true;
o.loggingConfig = buildLoggingConfig();
o.outputFormat = "foo";
- o.properties = buildUnnamed675();
+ o.properties = buildUnnamed676();
o.queryFileUri = "foo";
o.queryList = buildQueryList();
}
@@ -2052,30 +2052,17 @@
checkPrestoJob(api.PrestoJob o) {
buildCounterPrestoJob++;
if (buildCounterPrestoJob < 3) {
- checkUnnamed674(o.clientTags);
+ checkUnnamed675(o.clientTags);
unittest.expect(o.continueOnFailure, unittest.isTrue);
checkLoggingConfig(o.loggingConfig);
unittest.expect(o.outputFormat, unittest.equals('foo'));
- checkUnnamed675(o.properties);
+ checkUnnamed676(o.properties);
unittest.expect(o.queryFileUri, unittest.equals('foo'));
checkQueryList(o.queryList);
}
buildCounterPrestoJob--;
}
-buildUnnamed676() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed676(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed677() {
var o = new core.List<core.String>();
o.add("foo");
@@ -2116,62 +2103,29 @@
}
buildUnnamed680() {
- var o = new core.Map<core.String, core.String>();
- o["x"] = "foo";
- o["y"] = "foo";
- return o;
-}
-
-checkUnnamed680(core.Map<core.String, core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o["x"], unittest.equals('foo'));
- unittest.expect(o["y"], unittest.equals('foo'));
-}
-
-buildUnnamed681() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed681(core.List<core.String> o) {
+checkUnnamed680(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-core.int buildCounterPySparkJob = 0;
-buildPySparkJob() {
- var o = new api.PySparkJob();
- buildCounterPySparkJob++;
- if (buildCounterPySparkJob < 3) {
- o.archiveUris = buildUnnamed676();
- o.args = buildUnnamed677();
- o.fileUris = buildUnnamed678();
- o.jarFileUris = buildUnnamed679();
- o.loggingConfig = buildLoggingConfig();
- o.mainPythonFileUri = "foo";
- o.properties = buildUnnamed680();
- o.pythonFileUris = buildUnnamed681();
- }
- buildCounterPySparkJob--;
+buildUnnamed681() {
+ var o = new core.Map<core.String, core.String>();
+ o["x"] = "foo";
+ o["y"] = "foo";
return o;
}
-checkPySparkJob(api.PySparkJob o) {
- buildCounterPySparkJob++;
- if (buildCounterPySparkJob < 3) {
- checkUnnamed676(o.archiveUris);
- checkUnnamed677(o.args);
- checkUnnamed678(o.fileUris);
- checkUnnamed679(o.jarFileUris);
- checkLoggingConfig(o.loggingConfig);
- unittest.expect(o.mainPythonFileUri, unittest.equals('foo'));
- checkUnnamed680(o.properties);
- checkUnnamed681(o.pythonFileUris);
- }
- buildCounterPySparkJob--;
+checkUnnamed681(core.Map<core.String, core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o["x"], unittest.equals('foo'));
+ unittest.expect(o["y"], unittest.equals('foo'));
}
buildUnnamed682() {
@@ -2187,23 +2141,37 @@
unittest.expect(o[1], unittest.equals('foo'));
}
-core.int buildCounterQueryList = 0;
-buildQueryList() {
- var o = new api.QueryList();
- buildCounterQueryList++;
- if (buildCounterQueryList < 3) {
- o.queries = buildUnnamed682();
+core.int buildCounterPySparkJob = 0;
+buildPySparkJob() {
+ var o = new api.PySparkJob();
+ buildCounterPySparkJob++;
+ if (buildCounterPySparkJob < 3) {
+ o.archiveUris = buildUnnamed677();
+ o.args = buildUnnamed678();
+ o.fileUris = buildUnnamed679();
+ o.jarFileUris = buildUnnamed680();
+ o.loggingConfig = buildLoggingConfig();
+ o.mainPythonFileUri = "foo";
+ o.properties = buildUnnamed681();
+ o.pythonFileUris = buildUnnamed682();
}
- buildCounterQueryList--;
+ buildCounterPySparkJob--;
return o;
}
-checkQueryList(api.QueryList o) {
- buildCounterQueryList++;
- if (buildCounterQueryList < 3) {
- checkUnnamed682(o.queries);
+checkPySparkJob(api.PySparkJob o) {
+ buildCounterPySparkJob++;
+ if (buildCounterPySparkJob < 3) {
+ checkUnnamed677(o.archiveUris);
+ checkUnnamed678(o.args);
+ checkUnnamed679(o.fileUris);
+ checkUnnamed680(o.jarFileUris);
+ checkLoggingConfig(o.loggingConfig);
+ unittest.expect(o.mainPythonFileUri, unittest.equals('foo'));
+ checkUnnamed681(o.properties);
+ checkUnnamed682(o.pythonFileUris);
}
- buildCounterQueryList--;
+ buildCounterPySparkJob--;
}
buildUnnamed683() {
@@ -2219,23 +2187,23 @@
unittest.expect(o[1], unittest.equals('foo'));
}
-core.int buildCounterRegexValidation = 0;
-buildRegexValidation() {
- var o = new api.RegexValidation();
- buildCounterRegexValidation++;
- if (buildCounterRegexValidation < 3) {
- o.regexes = buildUnnamed683();
+core.int buildCounterQueryList = 0;
+buildQueryList() {
+ var o = new api.QueryList();
+ buildCounterQueryList++;
+ if (buildCounterQueryList < 3) {
+ o.queries = buildUnnamed683();
}
- buildCounterRegexValidation--;
+ buildCounterQueryList--;
return o;
}
-checkRegexValidation(api.RegexValidation o) {
- buildCounterRegexValidation++;
- if (buildCounterRegexValidation < 3) {
- checkUnnamed683(o.regexes);
+checkQueryList(api.QueryList o) {
+ buildCounterQueryList++;
+ if (buildCounterQueryList < 3) {
+ checkUnnamed683(o.queries);
}
- buildCounterRegexValidation--;
+ buildCounterQueryList--;
}
buildUnnamed684() {
@@ -2251,6 +2219,38 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+core.int buildCounterRegexValidation = 0;
+buildRegexValidation() {
+ var o = new api.RegexValidation();
+ buildCounterRegexValidation++;
+ if (buildCounterRegexValidation < 3) {
+ o.regexes = buildUnnamed684();
+ }
+ buildCounterRegexValidation--;
+ return o;
+}
+
+checkRegexValidation(api.RegexValidation o) {
+ buildCounterRegexValidation++;
+ if (buildCounterRegexValidation < 3) {
+ checkUnnamed684(o.regexes);
+ }
+ buildCounterRegexValidation--;
+}
+
+buildUnnamed685() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed685(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
core.int buildCounterReservationAffinity = 0;
buildReservationAffinity() {
var o = new api.ReservationAffinity();
@@ -2258,7 +2258,7 @@
if (buildCounterReservationAffinity < 3) {
o.consumeReservationType = "foo";
o.key = "foo";
- o.values = buildUnnamed684();
+ o.values = buildUnnamed685();
}
buildCounterReservationAffinity--;
return o;
@@ -2269,7 +2269,7 @@
if (buildCounterReservationAffinity < 3) {
unittest.expect(o.consumeReservationType, unittest.equals('foo'));
unittest.expect(o.key, unittest.equals('foo'));
- checkUnnamed684(o.values);
+ checkUnnamed685(o.values);
}
buildCounterReservationAffinity--;
}
@@ -2312,27 +2312,27 @@
buildCounterSetIamPolicyRequest--;
}
-buildUnnamed685() {
+buildUnnamed686() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed685(core.List<core.String> o) {
+checkUnnamed686(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed686() {
+buildUnnamed687() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed686(core.Map<core.String, core.String> o) {
+checkUnnamed687(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -2344,8 +2344,8 @@
buildCounterSoftwareConfig++;
if (buildCounterSoftwareConfig < 3) {
o.imageVersion = "foo";
- o.optionalComponents = buildUnnamed685();
- o.properties = buildUnnamed686();
+ o.optionalComponents = buildUnnamed686();
+ o.properties = buildUnnamed687();
}
buildCounterSoftwareConfig--;
return o;
@@ -2355,25 +2355,12 @@
buildCounterSoftwareConfig++;
if (buildCounterSoftwareConfig < 3) {
unittest.expect(o.imageVersion, unittest.equals('foo'));
- checkUnnamed685(o.optionalComponents);
- checkUnnamed686(o.properties);
+ checkUnnamed686(o.optionalComponents);
+ checkUnnamed687(o.properties);
}
buildCounterSoftwareConfig--;
}
-buildUnnamed687() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed687(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed688() {
var o = new core.List<core.String>();
o.add("foo");
@@ -2414,13 +2401,26 @@
}
buildUnnamed691() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed691(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed692() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed691(core.Map<core.String, core.String> o) {
+checkUnnamed692(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -2431,14 +2431,14 @@
var o = new api.SparkJob();
buildCounterSparkJob++;
if (buildCounterSparkJob < 3) {
- o.archiveUris = buildUnnamed687();
- o.args = buildUnnamed688();
- o.fileUris = buildUnnamed689();
- o.jarFileUris = buildUnnamed690();
+ o.archiveUris = buildUnnamed688();
+ o.args = buildUnnamed689();
+ o.fileUris = buildUnnamed690();
+ o.jarFileUris = buildUnnamed691();
o.loggingConfig = buildLoggingConfig();
o.mainClass = "foo";
o.mainJarFileUri = "foo";
- o.properties = buildUnnamed691();
+ o.properties = buildUnnamed692();
}
buildCounterSparkJob--;
return o;
@@ -2447,31 +2447,18 @@
checkSparkJob(api.SparkJob o) {
buildCounterSparkJob++;
if (buildCounterSparkJob < 3) {
- checkUnnamed687(o.archiveUris);
- checkUnnamed688(o.args);
- checkUnnamed689(o.fileUris);
- checkUnnamed690(o.jarFileUris);
+ checkUnnamed688(o.archiveUris);
+ checkUnnamed689(o.args);
+ checkUnnamed690(o.fileUris);
+ checkUnnamed691(o.jarFileUris);
checkLoggingConfig(o.loggingConfig);
unittest.expect(o.mainClass, unittest.equals('foo'));
unittest.expect(o.mainJarFileUri, unittest.equals('foo'));
- checkUnnamed691(o.properties);
+ checkUnnamed692(o.properties);
}
buildCounterSparkJob--;
}
-buildUnnamed692() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed692(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed693() {
var o = new core.List<core.String>();
o.add("foo");
@@ -2499,13 +2486,26 @@
}
buildUnnamed695() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed695(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed696() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed695(core.Map<core.String, core.String> o) {
+checkUnnamed696(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -2516,12 +2516,12 @@
var o = new api.SparkRJob();
buildCounterSparkRJob++;
if (buildCounterSparkRJob < 3) {
- o.archiveUris = buildUnnamed692();
- o.args = buildUnnamed693();
- o.fileUris = buildUnnamed694();
+ o.archiveUris = buildUnnamed693();
+ o.args = buildUnnamed694();
+ o.fileUris = buildUnnamed695();
o.loggingConfig = buildLoggingConfig();
o.mainRFileUri = "foo";
- o.properties = buildUnnamed695();
+ o.properties = buildUnnamed696();
}
buildCounterSparkRJob--;
return o;
@@ -2530,42 +2530,29 @@
checkSparkRJob(api.SparkRJob o) {
buildCounterSparkRJob++;
if (buildCounterSparkRJob < 3) {
- checkUnnamed692(o.archiveUris);
- checkUnnamed693(o.args);
- checkUnnamed694(o.fileUris);
+ checkUnnamed693(o.archiveUris);
+ checkUnnamed694(o.args);
+ checkUnnamed695(o.fileUris);
checkLoggingConfig(o.loggingConfig);
unittest.expect(o.mainRFileUri, unittest.equals('foo'));
- checkUnnamed695(o.properties);
+ checkUnnamed696(o.properties);
}
buildCounterSparkRJob--;
}
-buildUnnamed696() {
+buildUnnamed697() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed696(core.List<core.String> o) {
+checkUnnamed697(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed697() {
- var o = new core.Map<core.String, core.String>();
- o["x"] = "foo";
- o["y"] = "foo";
- return o;
-}
-
-checkUnnamed697(core.Map<core.String, core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o["x"], unittest.equals('foo'));
- unittest.expect(o["y"], unittest.equals('foo'));
-}
-
buildUnnamed698() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
@@ -2579,17 +2566,30 @@
unittest.expect(o["y"], unittest.equals('foo'));
}
+buildUnnamed699() {
+ var o = new core.Map<core.String, core.String>();
+ o["x"] = "foo";
+ o["y"] = "foo";
+ return o;
+}
+
+checkUnnamed699(core.Map<core.String, core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o["x"], unittest.equals('foo'));
+ unittest.expect(o["y"], unittest.equals('foo'));
+}
+
core.int buildCounterSparkSqlJob = 0;
buildSparkSqlJob() {
var o = new api.SparkSqlJob();
buildCounterSparkSqlJob++;
if (buildCounterSparkSqlJob < 3) {
- o.jarFileUris = buildUnnamed696();
+ o.jarFileUris = buildUnnamed697();
o.loggingConfig = buildLoggingConfig();
- o.properties = buildUnnamed697();
+ o.properties = buildUnnamed698();
o.queryFileUri = "foo";
o.queryList = buildQueryList();
- o.scriptVariables = buildUnnamed698();
+ o.scriptVariables = buildUnnamed699();
}
buildCounterSparkSqlJob--;
return o;
@@ -2598,17 +2598,17 @@
checkSparkSqlJob(api.SparkSqlJob o) {
buildCounterSparkSqlJob++;
if (buildCounterSparkSqlJob < 3) {
- checkUnnamed696(o.jarFileUris);
+ checkUnnamed697(o.jarFileUris);
checkLoggingConfig(o.loggingConfig);
- checkUnnamed697(o.properties);
+ checkUnnamed698(o.properties);
unittest.expect(o.queryFileUri, unittest.equals('foo'));
checkQueryList(o.queryList);
- checkUnnamed698(o.scriptVariables);
+ checkUnnamed699(o.scriptVariables);
}
buildCounterSparkSqlJob--;
}
-buildUnnamed699() {
+buildUnnamed700() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -2623,7 +2623,7 @@
return o;
}
-checkUnnamed699(core.Map<core.String, core.Object> o) {
+checkUnnamed700(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted5 = (o["x"]) as core.Map;
unittest.expect(casted5, unittest.hasLength(3));
@@ -2637,17 +2637,17 @@
unittest.expect(casted6["string"], unittest.equals('foo'));
}
-buildUnnamed700() {
+buildUnnamed701() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed699());
- o.add(buildUnnamed699());
+ o.add(buildUnnamed700());
+ o.add(buildUnnamed700());
return o;
}
-checkUnnamed700(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed701(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed699(o[0]);
- checkUnnamed699(o[1]);
+ checkUnnamed700(o[0]);
+ checkUnnamed700(o[1]);
}
core.int buildCounterStatus = 0;
@@ -2656,7 +2656,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed700();
+ o.details = buildUnnamed701();
o.message = "foo";
}
buildCounterStatus--;
@@ -2667,7 +2667,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed700(o.details);
+ checkUnnamed701(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
@@ -2694,44 +2694,6 @@
buildCounterSubmitJobRequest--;
}
-buildUnnamed701() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed701(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-core.int buildCounterTemplateParameter = 0;
-buildTemplateParameter() {
- var o = new api.TemplateParameter();
- buildCounterTemplateParameter++;
- if (buildCounterTemplateParameter < 3) {
- o.description = "foo";
- o.fields = buildUnnamed701();
- o.name = "foo";
- o.validation = buildParameterValidation();
- }
- buildCounterTemplateParameter--;
- return o;
-}
-
-checkTemplateParameter(api.TemplateParameter o) {
- buildCounterTemplateParameter++;
- if (buildCounterTemplateParameter < 3) {
- unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed701(o.fields);
- unittest.expect(o.name, unittest.equals('foo'));
- checkParameterValidation(o.validation);
- }
- buildCounterTemplateParameter--;
-}
-
buildUnnamed702() {
var o = new core.List<core.String>();
o.add("foo");
@@ -2745,23 +2707,29 @@
unittest.expect(o[1], unittest.equals('foo'));
}
-core.int buildCounterTestIamPermissionsRequest = 0;
-buildTestIamPermissionsRequest() {
- var o = new api.TestIamPermissionsRequest();
- buildCounterTestIamPermissionsRequest++;
- if (buildCounterTestIamPermissionsRequest < 3) {
- o.permissions = buildUnnamed702();
+core.int buildCounterTemplateParameter = 0;
+buildTemplateParameter() {
+ var o = new api.TemplateParameter();
+ buildCounterTemplateParameter++;
+ if (buildCounterTemplateParameter < 3) {
+ o.description = "foo";
+ o.fields = buildUnnamed702();
+ o.name = "foo";
+ o.validation = buildParameterValidation();
}
- buildCounterTestIamPermissionsRequest--;
+ buildCounterTemplateParameter--;
return o;
}
-checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) {
- buildCounterTestIamPermissionsRequest++;
- if (buildCounterTestIamPermissionsRequest < 3) {
- checkUnnamed702(o.permissions);
+checkTemplateParameter(api.TemplateParameter o) {
+ buildCounterTemplateParameter++;
+ if (buildCounterTemplateParameter < 3) {
+ unittest.expect(o.description, unittest.equals('foo'));
+ checkUnnamed702(o.fields);
+ unittest.expect(o.name, unittest.equals('foo'));
+ checkParameterValidation(o.validation);
}
- buildCounterTestIamPermissionsRequest--;
+ buildCounterTemplateParameter--;
}
buildUnnamed703() {
@@ -2777,23 +2745,23 @@
unittest.expect(o[1], unittest.equals('foo'));
}
-core.int buildCounterTestIamPermissionsResponse = 0;
-buildTestIamPermissionsResponse() {
- var o = new api.TestIamPermissionsResponse();
- buildCounterTestIamPermissionsResponse++;
- if (buildCounterTestIamPermissionsResponse < 3) {
+core.int buildCounterTestIamPermissionsRequest = 0;
+buildTestIamPermissionsRequest() {
+ var o = new api.TestIamPermissionsRequest();
+ buildCounterTestIamPermissionsRequest++;
+ if (buildCounterTestIamPermissionsRequest < 3) {
o.permissions = buildUnnamed703();
}
- buildCounterTestIamPermissionsResponse--;
+ buildCounterTestIamPermissionsRequest--;
return o;
}
-checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) {
- buildCounterTestIamPermissionsResponse++;
- if (buildCounterTestIamPermissionsResponse < 3) {
+checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) {
+ buildCounterTestIamPermissionsRequest++;
+ if (buildCounterTestIamPermissionsRequest < 3) {
checkUnnamed703(o.permissions);
}
- buildCounterTestIamPermissionsResponse--;
+ buildCounterTestIamPermissionsRequest--;
}
buildUnnamed704() {
@@ -2809,12 +2777,44 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+core.int buildCounterTestIamPermissionsResponse = 0;
+buildTestIamPermissionsResponse() {
+ var o = new api.TestIamPermissionsResponse();
+ buildCounterTestIamPermissionsResponse++;
+ if (buildCounterTestIamPermissionsResponse < 3) {
+ o.permissions = buildUnnamed704();
+ }
+ buildCounterTestIamPermissionsResponse--;
+ return o;
+}
+
+checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) {
+ buildCounterTestIamPermissionsResponse++;
+ if (buildCounterTestIamPermissionsResponse < 3) {
+ checkUnnamed704(o.permissions);
+ }
+ buildCounterTestIamPermissionsResponse--;
+}
+
+buildUnnamed705() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed705(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
core.int buildCounterValueValidation = 0;
buildValueValidation() {
var o = new api.ValueValidation();
buildCounterValueValidation++;
if (buildCounterValueValidation < 3) {
- o.values = buildUnnamed704();
+ o.values = buildUnnamed705();
}
buildCounterValueValidation--;
return o;
@@ -2823,19 +2823,19 @@
checkValueValidation(api.ValueValidation o) {
buildCounterValueValidation++;
if (buildCounterValueValidation < 3) {
- checkUnnamed704(o.values);
+ checkUnnamed705(o.values);
}
buildCounterValueValidation--;
}
-buildUnnamed705() {
+buildUnnamed706() {
var o = new core.List<api.WorkflowNode>();
o.add(buildWorkflowNode());
o.add(buildWorkflowNode());
return o;
}
-checkUnnamed705(core.List<api.WorkflowNode> o) {
+checkUnnamed706(core.List<api.WorkflowNode> o) {
unittest.expect(o, unittest.hasLength(2));
checkWorkflowNode(o[0]);
checkWorkflowNode(o[1]);
@@ -2846,7 +2846,7 @@
var o = new api.WorkflowGraph();
buildCounterWorkflowGraph++;
if (buildCounterWorkflowGraph < 3) {
- o.nodes = buildUnnamed705();
+ o.nodes = buildUnnamed706();
}
buildCounterWorkflowGraph--;
return o;
@@ -2855,19 +2855,19 @@
checkWorkflowGraph(api.WorkflowGraph o) {
buildCounterWorkflowGraph++;
if (buildCounterWorkflowGraph < 3) {
- checkUnnamed705(o.nodes);
+ checkUnnamed706(o.nodes);
}
buildCounterWorkflowGraph--;
}
-buildUnnamed706() {
+buildUnnamed707() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed706(core.Map<core.String, core.String> o) {
+checkUnnamed707(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -2884,7 +2884,7 @@
o.deleteCluster = buildClusterOperation();
o.endTime = "foo";
o.graph = buildWorkflowGraph();
- o.parameters = buildUnnamed706();
+ o.parameters = buildUnnamed707();
o.startTime = "foo";
o.state = "foo";
o.template = "foo";
@@ -2903,7 +2903,7 @@
checkClusterOperation(o.deleteCluster);
unittest.expect(o.endTime, unittest.equals('foo'));
checkWorkflowGraph(o.graph);
- checkUnnamed706(o.parameters);
+ checkUnnamed707(o.parameters);
unittest.expect(o.startTime, unittest.equals('foo'));
unittest.expect(o.state, unittest.equals('foo'));
unittest.expect(o.template, unittest.equals('foo'));
@@ -2912,14 +2912,14 @@
buildCounterWorkflowMetadata--;
}
-buildUnnamed707() {
+buildUnnamed708() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed707(core.List<core.String> o) {
+checkUnnamed708(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2932,7 +2932,7 @@
if (buildCounterWorkflowNode < 3) {
o.error = "foo";
o.jobId = "foo";
- o.prerequisiteStepIds = buildUnnamed707();
+ o.prerequisiteStepIds = buildUnnamed708();
o.state = "foo";
o.stepId = "foo";
}
@@ -2945,47 +2945,47 @@
if (buildCounterWorkflowNode < 3) {
unittest.expect(o.error, unittest.equals('foo'));
unittest.expect(o.jobId, unittest.equals('foo'));
- checkUnnamed707(o.prerequisiteStepIds);
+ checkUnnamed708(o.prerequisiteStepIds);
unittest.expect(o.state, unittest.equals('foo'));
unittest.expect(o.stepId, unittest.equals('foo'));
}
buildCounterWorkflowNode--;
}
-buildUnnamed708() {
+buildUnnamed709() {
var o = new core.List<api.OrderedJob>();
o.add(buildOrderedJob());
o.add(buildOrderedJob());
return o;
}
-checkUnnamed708(core.List<api.OrderedJob> o) {
+checkUnnamed709(core.List<api.OrderedJob> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderedJob(o[0]);
checkOrderedJob(o[1]);
}
-buildUnnamed709() {
+buildUnnamed710() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed709(core.Map<core.String, core.String> o) {
+checkUnnamed710(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed710() {
+buildUnnamed711() {
var o = new core.List<api.TemplateParameter>();
o.add(buildTemplateParameter());
o.add(buildTemplateParameter());
return o;
}
-checkUnnamed710(core.List<api.TemplateParameter> o) {
+checkUnnamed711(core.List<api.TemplateParameter> o) {
unittest.expect(o, unittest.hasLength(2));
checkTemplateParameter(o[0]);
checkTemplateParameter(o[1]);
@@ -2998,10 +2998,10 @@
if (buildCounterWorkflowTemplate < 3) {
o.createTime = "foo";
o.id = "foo";
- o.jobs = buildUnnamed708();
- o.labels = buildUnnamed709();
+ o.jobs = buildUnnamed709();
+ o.labels = buildUnnamed710();
o.name = "foo";
- o.parameters = buildUnnamed710();
+ o.parameters = buildUnnamed711();
o.placement = buildWorkflowTemplatePlacement();
o.updateTime = "foo";
o.version = 42;
@@ -3015,10 +3015,10 @@
if (buildCounterWorkflowTemplate < 3) {
unittest.expect(o.createTime, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed708(o.jobs);
- checkUnnamed709(o.labels);
+ checkUnnamed709(o.jobs);
+ checkUnnamed710(o.labels);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed710(o.parameters);
+ checkUnnamed711(o.parameters);
checkWorkflowTemplatePlacement(o.placement);
unittest.expect(o.updateTime, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals(42));
@@ -3913,8 +3913,8 @@
api.ProjectsLocationsAutoscalingPoliciesResourceApi res =
new api.DataprocApi(mock).projects.locations.autoscalingPolicies;
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;
@@ -3947,10 +3947,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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 = {
@@ -3961,8 +3961,8 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListAutoscalingPoliciesResponse(response);
@@ -4929,8 +4929,8 @@
api.ProjectsRegionsAutoscalingPoliciesResourceApi res =
new api.DataprocApi(mock).projects.regions.autoscalingPolicies;
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;
@@ -4963,10 +4963,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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 = {
@@ -4977,8 +4977,8 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListAutoscalingPoliciesResponse(response);
@@ -5240,8 +5240,8 @@
var arg_projectId = "foo";
var arg_region = "foo";
var arg_clusterName = "foo";
- var arg_clusterUuid = "foo";
var arg_requestId = "foo";
+ var arg_clusterUuid = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -5295,9 +5295,9 @@
}
}
unittest.expect(
- queryMap["clusterUuid"].first, unittest.equals(arg_clusterUuid));
- unittest.expect(
queryMap["requestId"].first, unittest.equals(arg_requestId));
+ unittest.expect(
+ queryMap["clusterUuid"].first, unittest.equals(arg_clusterUuid));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -5308,8 +5308,8 @@
}), true);
res
.delete(arg_projectId, arg_region, arg_clusterName,
- clusterUuid: arg_clusterUuid,
requestId: arg_requestId,
+ clusterUuid: arg_clusterUuid,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkOperation(response);
@@ -5537,9 +5537,9 @@
new 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_pageToken = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -5589,11 +5589,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ 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 = {
@@ -5604,9 +5604,9 @@
}), true);
res
.list(arg_projectId, arg_region,
+ pageToken: arg_pageToken,
pageSize: arg_pageSize,
filter: arg_filter,
- pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListClustersResponse(response);
@@ -5621,8 +5621,8 @@
var arg_projectId = "foo";
var arg_region = "foo";
var arg_clusterName = "foo";
- var arg_gracefulDecommissionTimeout = "foo";
var arg_requestId = "foo";
+ var arg_gracefulDecommissionTimeout = "foo";
var arg_updateMask = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -5679,10 +5679,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["gracefulDecommissionTimeout"].first,
- unittest.equals(arg_gracefulDecommissionTimeout));
unittest.expect(
queryMap["requestId"].first, unittest.equals(arg_requestId));
+ unittest.expect(queryMap["gracefulDecommissionTimeout"].first,
+ unittest.equals(arg_gracefulDecommissionTimeout));
unittest.expect(
queryMap["updateMask"].first, unittest.equals(arg_updateMask));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -5695,8 +5695,8 @@
}), true);
res
.patch(arg_request, arg_projectId, arg_region, arg_clusterName,
- gracefulDecommissionTimeout: arg_gracefulDecommissionTimeout,
requestId: arg_requestId,
+ gracefulDecommissionTimeout: arg_gracefulDecommissionTimeout,
updateMask: arg_updateMask,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -6113,11 +6113,11 @@
new api.DataprocApi(mock).projects.regions.jobs;
var arg_projectId = "foo";
var arg_region = "foo";
- var arg_pageSize = 42;
var arg_pageToken = "foo";
- var arg_filter = "foo";
var arg_clusterName = "foo";
var arg_jobStateMatcher = "foo";
+ var arg_filter = "foo";
+ var arg_pageSize = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -6167,15 +6167,15 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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["clusterName"].first, unittest.equals(arg_clusterName));
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["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -6186,11 +6186,11 @@
}), true);
res
.list(arg_projectId, arg_region,
- pageSize: arg_pageSize,
pageToken: arg_pageToken,
- filter: arg_filter,
clusterName: arg_clusterName,
jobStateMatcher: arg_jobStateMatcher,
+ filter: arg_filter,
+ pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListJobsResponse(response);
@@ -6759,9 +6759,9 @@
api.ProjectsRegionsOperationsResourceApi res =
new api.DataprocApi(mock).projects.regions.operations;
var arg_name = "foo";
- var arg_filter = "foo";
var arg_pageToken = "foo";
var arg_pageSize = 42;
+ var arg_filter = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -6794,11 +6794,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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["filter"].first, unittest.equals(arg_filter));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -6809,9 +6809,9 @@
}), true);
res
.list(arg_name,
- filter: arg_filter,
pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ filter: arg_filter,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListOperationsResponse(response);
diff --git a/generated/googleapis/test/datastore/v1_test.dart b/generated/googleapis/test/datastore/v1_test.dart
index b768542..b6b883e 100644
--- a/generated/googleapis/test/datastore/v1_test.dart
+++ b/generated/googleapis/test/datastore/v1_test.dart
@@ -50,14 +50,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed5029() {
+buildUnnamed5036() {
var o = new core.List<api.Key>();
o.add(buildKey());
o.add(buildKey());
return o;
}
-checkUnnamed5029(core.List<api.Key> o) {
+checkUnnamed5036(core.List<api.Key> o) {
unittest.expect(o, unittest.hasLength(2));
checkKey(o[0]);
checkKey(o[1]);
@@ -68,7 +68,7 @@
var o = new api.AllocateIdsRequest();
buildCounterAllocateIdsRequest++;
if (buildCounterAllocateIdsRequest < 3) {
- o.keys = buildUnnamed5029();
+ o.keys = buildUnnamed5036();
}
buildCounterAllocateIdsRequest--;
return o;
@@ -77,19 +77,19 @@
checkAllocateIdsRequest(api.AllocateIdsRequest o) {
buildCounterAllocateIdsRequest++;
if (buildCounterAllocateIdsRequest < 3) {
- checkUnnamed5029(o.keys);
+ checkUnnamed5036(o.keys);
}
buildCounterAllocateIdsRequest--;
}
-buildUnnamed5030() {
+buildUnnamed5037() {
var o = new core.List<api.Key>();
o.add(buildKey());
o.add(buildKey());
return o;
}
-checkUnnamed5030(core.List<api.Key> o) {
+checkUnnamed5037(core.List<api.Key> o) {
unittest.expect(o, unittest.hasLength(2));
checkKey(o[0]);
checkKey(o[1]);
@@ -100,7 +100,7 @@
var o = new api.AllocateIdsResponse();
buildCounterAllocateIdsResponse++;
if (buildCounterAllocateIdsResponse < 3) {
- o.keys = buildUnnamed5030();
+ o.keys = buildUnnamed5037();
}
buildCounterAllocateIdsResponse--;
return o;
@@ -109,19 +109,19 @@
checkAllocateIdsResponse(api.AllocateIdsResponse o) {
buildCounterAllocateIdsResponse++;
if (buildCounterAllocateIdsResponse < 3) {
- checkUnnamed5030(o.keys);
+ checkUnnamed5037(o.keys);
}
buildCounterAllocateIdsResponse--;
}
-buildUnnamed5031() {
+buildUnnamed5038() {
var o = new core.List<api.Value>();
o.add(buildValue());
o.add(buildValue());
return o;
}
-checkUnnamed5031(core.List<api.Value> o) {
+checkUnnamed5038(core.List<api.Value> o) {
unittest.expect(o, unittest.hasLength(2));
checkValue(o[0]);
checkValue(o[1]);
@@ -132,7 +132,7 @@
var o = new api.ArrayValue();
buildCounterArrayValue++;
if (buildCounterArrayValue < 3) {
- o.values = buildUnnamed5031();
+ o.values = buildUnnamed5038();
}
buildCounterArrayValue--;
return o;
@@ -141,7 +141,7 @@
checkArrayValue(api.ArrayValue o) {
buildCounterArrayValue++;
if (buildCounterArrayValue < 3) {
- checkUnnamed5031(o.values);
+ checkUnnamed5038(o.values);
}
buildCounterArrayValue--;
}
@@ -184,14 +184,14 @@
buildCounterBeginTransactionResponse--;
}
-buildUnnamed5032() {
+buildUnnamed5039() {
var o = new core.List<api.Mutation>();
o.add(buildMutation());
o.add(buildMutation());
return o;
}
-checkUnnamed5032(core.List<api.Mutation> o) {
+checkUnnamed5039(core.List<api.Mutation> o) {
unittest.expect(o, unittest.hasLength(2));
checkMutation(o[0]);
checkMutation(o[1]);
@@ -203,7 +203,7 @@
buildCounterCommitRequest++;
if (buildCounterCommitRequest < 3) {
o.mode = "foo";
- o.mutations = buildUnnamed5032();
+ o.mutations = buildUnnamed5039();
o.transaction = "foo";
}
buildCounterCommitRequest--;
@@ -214,20 +214,20 @@
buildCounterCommitRequest++;
if (buildCounterCommitRequest < 3) {
unittest.expect(o.mode, unittest.equals('foo'));
- checkUnnamed5032(o.mutations);
+ checkUnnamed5039(o.mutations);
unittest.expect(o.transaction, unittest.equals('foo'));
}
buildCounterCommitRequest--;
}
-buildUnnamed5033() {
+buildUnnamed5040() {
var o = new core.List<api.MutationResult>();
o.add(buildMutationResult());
o.add(buildMutationResult());
return o;
}
-checkUnnamed5033(core.List<api.MutationResult> o) {
+checkUnnamed5040(core.List<api.MutationResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkMutationResult(o[0]);
checkMutationResult(o[1]);
@@ -239,7 +239,7 @@
buildCounterCommitResponse++;
if (buildCounterCommitResponse < 3) {
o.indexUpdates = 42;
- o.mutationResults = buildUnnamed5033();
+ o.mutationResults = buildUnnamed5040();
}
buildCounterCommitResponse--;
return o;
@@ -249,19 +249,19 @@
buildCounterCommitResponse++;
if (buildCounterCommitResponse < 3) {
unittest.expect(o.indexUpdates, unittest.equals(42));
- checkUnnamed5033(o.mutationResults);
+ checkUnnamed5040(o.mutationResults);
}
buildCounterCommitResponse--;
}
-buildUnnamed5034() {
+buildUnnamed5041() {
var o = new core.List<api.Filter>();
o.add(buildFilter());
o.add(buildFilter());
return o;
}
-checkUnnamed5034(core.List<api.Filter> o) {
+checkUnnamed5041(core.List<api.Filter> o) {
unittest.expect(o, unittest.hasLength(2));
checkFilter(o[0]);
checkFilter(o[1]);
@@ -272,7 +272,7 @@
var o = new api.CompositeFilter();
buildCounterCompositeFilter++;
if (buildCounterCompositeFilter < 3) {
- o.filters = buildUnnamed5034();
+ o.filters = buildUnnamed5041();
o.op = "foo";
}
buildCounterCompositeFilter--;
@@ -282,7 +282,7 @@
checkCompositeFilter(api.CompositeFilter o) {
buildCounterCompositeFilter++;
if (buildCounterCompositeFilter < 3) {
- checkUnnamed5034(o.filters);
+ checkUnnamed5041(o.filters);
unittest.expect(o.op, unittest.equals('foo'));
}
buildCounterCompositeFilter--;
@@ -303,14 +303,14 @@
buildCounterEmpty--;
}
-buildUnnamed5035() {
+buildUnnamed5042() {
var o = new core.Map<core.String, api.Value>();
o["x"] = buildValue();
o["y"] = buildValue();
return o;
}
-checkUnnamed5035(core.Map<core.String, api.Value> o) {
+checkUnnamed5042(core.Map<core.String, api.Value> o) {
unittest.expect(o, unittest.hasLength(2));
checkValue(o["x"]);
checkValue(o["y"]);
@@ -322,7 +322,7 @@
buildCounterEntity++;
if (buildCounterEntity < 3) {
o.key = buildKey();
- o.properties = buildUnnamed5035();
+ o.properties = buildUnnamed5042();
}
buildCounterEntity--;
return o;
@@ -332,7 +332,7 @@
buildCounterEntity++;
if (buildCounterEntity < 3) {
checkKey(o.key);
- checkUnnamed5035(o.properties);
+ checkUnnamed5042(o.properties);
}
buildCounterEntity--;
}
@@ -381,14 +381,14 @@
buildCounterFilter--;
}
-buildUnnamed5036() {
+buildUnnamed5043() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed5036(core.Map<core.String, core.String> o) {
+checkUnnamed5043(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -400,7 +400,7 @@
buildCounterGoogleDatastoreAdminV1CommonMetadata++;
if (buildCounterGoogleDatastoreAdminV1CommonMetadata < 3) {
o.endTime = "foo";
- o.labels = buildUnnamed5036();
+ o.labels = buildUnnamed5043();
o.operationType = "foo";
o.startTime = "foo";
o.state = "foo";
@@ -414,7 +414,7 @@
buildCounterGoogleDatastoreAdminV1CommonMetadata++;
if (buildCounterGoogleDatastoreAdminV1CommonMetadata < 3) {
unittest.expect(o.endTime, unittest.equals('foo'));
- checkUnnamed5036(o.labels);
+ checkUnnamed5043(o.labels);
unittest.expect(o.operationType, unittest.equals('foo'));
unittest.expect(o.startTime, unittest.equals('foo'));
unittest.expect(o.state, unittest.equals('foo'));
@@ -422,27 +422,27 @@
buildCounterGoogleDatastoreAdminV1CommonMetadata--;
}
-buildUnnamed5037() {
+buildUnnamed5044() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5037(core.List<core.String> o) {
+checkUnnamed5044(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed5038() {
+buildUnnamed5045() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5038(core.List<core.String> o) {
+checkUnnamed5045(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -453,8 +453,8 @@
var o = new api.GoogleDatastoreAdminV1EntityFilter();
buildCounterGoogleDatastoreAdminV1EntityFilter++;
if (buildCounterGoogleDatastoreAdminV1EntityFilter < 3) {
- o.kinds = buildUnnamed5037();
- o.namespaceIds = buildUnnamed5038();
+ o.kinds = buildUnnamed5044();
+ o.namespaceIds = buildUnnamed5045();
}
buildCounterGoogleDatastoreAdminV1EntityFilter--;
return o;
@@ -464,8 +464,8 @@
api.GoogleDatastoreAdminV1EntityFilter o) {
buildCounterGoogleDatastoreAdminV1EntityFilter++;
if (buildCounterGoogleDatastoreAdminV1EntityFilter < 3) {
- checkUnnamed5037(o.kinds);
- checkUnnamed5038(o.namespaceIds);
+ checkUnnamed5044(o.kinds);
+ checkUnnamed5045(o.namespaceIds);
}
buildCounterGoogleDatastoreAdminV1EntityFilter--;
}
@@ -498,14 +498,14 @@
buildCounterGoogleDatastoreAdminV1ExportEntitiesMetadata--;
}
-buildUnnamed5039() {
+buildUnnamed5046() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed5039(core.Map<core.String, core.String> o) {
+checkUnnamed5046(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -517,7 +517,7 @@
buildCounterGoogleDatastoreAdminV1ExportEntitiesRequest++;
if (buildCounterGoogleDatastoreAdminV1ExportEntitiesRequest < 3) {
o.entityFilter = buildGoogleDatastoreAdminV1EntityFilter();
- o.labels = buildUnnamed5039();
+ o.labels = buildUnnamed5046();
o.outputUrlPrefix = "foo";
}
buildCounterGoogleDatastoreAdminV1ExportEntitiesRequest--;
@@ -529,7 +529,7 @@
buildCounterGoogleDatastoreAdminV1ExportEntitiesRequest++;
if (buildCounterGoogleDatastoreAdminV1ExportEntitiesRequest < 3) {
checkGoogleDatastoreAdminV1EntityFilter(o.entityFilter);
- checkUnnamed5039(o.labels);
+ checkUnnamed5046(o.labels);
unittest.expect(o.outputUrlPrefix, unittest.equals('foo'));
}
buildCounterGoogleDatastoreAdminV1ExportEntitiesRequest--;
@@ -583,14 +583,14 @@
buildCounterGoogleDatastoreAdminV1ImportEntitiesMetadata--;
}
-buildUnnamed5040() {
+buildUnnamed5047() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed5040(core.Map<core.String, core.String> o) {
+checkUnnamed5047(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -603,7 +603,7 @@
if (buildCounterGoogleDatastoreAdminV1ImportEntitiesRequest < 3) {
o.entityFilter = buildGoogleDatastoreAdminV1EntityFilter();
o.inputUrl = "foo";
- o.labels = buildUnnamed5040();
+ o.labels = buildUnnamed5047();
}
buildCounterGoogleDatastoreAdminV1ImportEntitiesRequest--;
return o;
@@ -615,19 +615,19 @@
if (buildCounterGoogleDatastoreAdminV1ImportEntitiesRequest < 3) {
checkGoogleDatastoreAdminV1EntityFilter(o.entityFilter);
unittest.expect(o.inputUrl, unittest.equals('foo'));
- checkUnnamed5040(o.labels);
+ checkUnnamed5047(o.labels);
}
buildCounterGoogleDatastoreAdminV1ImportEntitiesRequest--;
}
-buildUnnamed5041() {
+buildUnnamed5048() {
var o = new core.List<api.GoogleDatastoreAdminV1IndexedProperty>();
o.add(buildGoogleDatastoreAdminV1IndexedProperty());
o.add(buildGoogleDatastoreAdminV1IndexedProperty());
return o;
}
-checkUnnamed5041(core.List<api.GoogleDatastoreAdminV1IndexedProperty> o) {
+checkUnnamed5048(core.List<api.GoogleDatastoreAdminV1IndexedProperty> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleDatastoreAdminV1IndexedProperty(o[0]);
checkGoogleDatastoreAdminV1IndexedProperty(o[1]);
@@ -642,7 +642,7 @@
o.indexId = "foo";
o.kind = "foo";
o.projectId = "foo";
- o.properties = buildUnnamed5041();
+ o.properties = buildUnnamed5048();
o.state = "foo";
}
buildCounterGoogleDatastoreAdminV1Index--;
@@ -656,7 +656,7 @@
unittest.expect(o.indexId, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.projectId, unittest.equals('foo'));
- checkUnnamed5041(o.properties);
+ checkUnnamed5048(o.properties);
unittest.expect(o.state, unittest.equals('foo'));
}
buildCounterGoogleDatastoreAdminV1Index--;
@@ -708,14 +708,14 @@
buildCounterGoogleDatastoreAdminV1IndexedProperty--;
}
-buildUnnamed5042() {
+buildUnnamed5049() {
var o = new core.List<api.GoogleDatastoreAdminV1Index>();
o.add(buildGoogleDatastoreAdminV1Index());
o.add(buildGoogleDatastoreAdminV1Index());
return o;
}
-checkUnnamed5042(core.List<api.GoogleDatastoreAdminV1Index> o) {
+checkUnnamed5049(core.List<api.GoogleDatastoreAdminV1Index> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleDatastoreAdminV1Index(o[0]);
checkGoogleDatastoreAdminV1Index(o[1]);
@@ -726,7 +726,7 @@
var o = new api.GoogleDatastoreAdminV1ListIndexesResponse();
buildCounterGoogleDatastoreAdminV1ListIndexesResponse++;
if (buildCounterGoogleDatastoreAdminV1ListIndexesResponse < 3) {
- o.indexes = buildUnnamed5042();
+ o.indexes = buildUnnamed5049();
o.nextPageToken = "foo";
}
buildCounterGoogleDatastoreAdminV1ListIndexesResponse--;
@@ -737,7 +737,7 @@
api.GoogleDatastoreAdminV1ListIndexesResponse o) {
buildCounterGoogleDatastoreAdminV1ListIndexesResponse++;
if (buildCounterGoogleDatastoreAdminV1ListIndexesResponse < 3) {
- checkUnnamed5042(o.indexes);
+ checkUnnamed5049(o.indexes);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterGoogleDatastoreAdminV1ListIndexesResponse--;
@@ -764,14 +764,14 @@
buildCounterGoogleDatastoreAdminV1Progress--;
}
-buildUnnamed5043() {
+buildUnnamed5050() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed5043(core.Map<core.String, core.String> o) {
+checkUnnamed5050(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -783,7 +783,7 @@
buildCounterGoogleDatastoreAdminV1beta1CommonMetadata++;
if (buildCounterGoogleDatastoreAdminV1beta1CommonMetadata < 3) {
o.endTime = "foo";
- o.labels = buildUnnamed5043();
+ o.labels = buildUnnamed5050();
o.operationType = "foo";
o.startTime = "foo";
o.state = "foo";
@@ -797,7 +797,7 @@
buildCounterGoogleDatastoreAdminV1beta1CommonMetadata++;
if (buildCounterGoogleDatastoreAdminV1beta1CommonMetadata < 3) {
unittest.expect(o.endTime, unittest.equals('foo'));
- checkUnnamed5043(o.labels);
+ checkUnnamed5050(o.labels);
unittest.expect(o.operationType, unittest.equals('foo'));
unittest.expect(o.startTime, unittest.equals('foo'));
unittest.expect(o.state, unittest.equals('foo'));
@@ -805,27 +805,27 @@
buildCounterGoogleDatastoreAdminV1beta1CommonMetadata--;
}
-buildUnnamed5044() {
+buildUnnamed5051() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5044(core.List<core.String> o) {
+checkUnnamed5051(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed5045() {
+buildUnnamed5052() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5045(core.List<core.String> o) {
+checkUnnamed5052(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -836,8 +836,8 @@
var o = new api.GoogleDatastoreAdminV1beta1EntityFilter();
buildCounterGoogleDatastoreAdminV1beta1EntityFilter++;
if (buildCounterGoogleDatastoreAdminV1beta1EntityFilter < 3) {
- o.kinds = buildUnnamed5044();
- o.namespaceIds = buildUnnamed5045();
+ o.kinds = buildUnnamed5051();
+ o.namespaceIds = buildUnnamed5052();
}
buildCounterGoogleDatastoreAdminV1beta1EntityFilter--;
return o;
@@ -847,8 +847,8 @@
api.GoogleDatastoreAdminV1beta1EntityFilter o) {
buildCounterGoogleDatastoreAdminV1beta1EntityFilter++;
if (buildCounterGoogleDatastoreAdminV1beta1EntityFilter < 3) {
- checkUnnamed5044(o.kinds);
- checkUnnamed5045(o.namespaceIds);
+ checkUnnamed5051(o.kinds);
+ checkUnnamed5052(o.namespaceIds);
}
buildCounterGoogleDatastoreAdminV1beta1EntityFilter--;
}
@@ -951,14 +951,14 @@
buildCounterGoogleDatastoreAdminV1beta1Progress--;
}
-buildUnnamed5046() {
+buildUnnamed5053() {
var o = new core.List<api.GoogleLongrunningOperation>();
o.add(buildGoogleLongrunningOperation());
o.add(buildGoogleLongrunningOperation());
return o;
}
-checkUnnamed5046(core.List<api.GoogleLongrunningOperation> o) {
+checkUnnamed5053(core.List<api.GoogleLongrunningOperation> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleLongrunningOperation(o[0]);
checkGoogleLongrunningOperation(o[1]);
@@ -970,7 +970,7 @@
buildCounterGoogleLongrunningListOperationsResponse++;
if (buildCounterGoogleLongrunningListOperationsResponse < 3) {
o.nextPageToken = "foo";
- o.operations = buildUnnamed5046();
+ o.operations = buildUnnamed5053();
}
buildCounterGoogleLongrunningListOperationsResponse--;
return o;
@@ -981,12 +981,12 @@
buildCounterGoogleLongrunningListOperationsResponse++;
if (buildCounterGoogleLongrunningListOperationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed5046(o.operations);
+ checkUnnamed5053(o.operations);
}
buildCounterGoogleLongrunningListOperationsResponse--;
}
-buildUnnamed5047() {
+buildUnnamed5054() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1001,7 +1001,7 @@
return o;
}
-checkUnnamed5047(core.Map<core.String, core.Object> o) {
+checkUnnamed5054(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o["x"]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -1015,7 +1015,7 @@
unittest.expect(casted2["string"], unittest.equals('foo'));
}
-buildUnnamed5048() {
+buildUnnamed5055() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1030,7 +1030,7 @@
return o;
}
-checkUnnamed5048(core.Map<core.String, core.Object> o) {
+checkUnnamed5055(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted3 = (o["x"]) as core.Map;
unittest.expect(casted3, unittest.hasLength(3));
@@ -1051,9 +1051,9 @@
if (buildCounterGoogleLongrunningOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed5047();
+ o.metadata = buildUnnamed5054();
o.name = "foo";
- o.response = buildUnnamed5048();
+ o.response = buildUnnamed5055();
}
buildCounterGoogleLongrunningOperation--;
return o;
@@ -1064,34 +1064,34 @@
if (buildCounterGoogleLongrunningOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed5047(o.metadata);
+ checkUnnamed5054(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed5048(o.response);
+ checkUnnamed5055(o.response);
}
buildCounterGoogleLongrunningOperation--;
}
-buildUnnamed5049() {
+buildUnnamed5056() {
var o = new core.Map<core.String, api.GqlQueryParameter>();
o["x"] = buildGqlQueryParameter();
o["y"] = buildGqlQueryParameter();
return o;
}
-checkUnnamed5049(core.Map<core.String, api.GqlQueryParameter> o) {
+checkUnnamed5056(core.Map<core.String, api.GqlQueryParameter> o) {
unittest.expect(o, unittest.hasLength(2));
checkGqlQueryParameter(o["x"]);
checkGqlQueryParameter(o["y"]);
}
-buildUnnamed5050() {
+buildUnnamed5057() {
var o = new core.List<api.GqlQueryParameter>();
o.add(buildGqlQueryParameter());
o.add(buildGqlQueryParameter());
return o;
}
-checkUnnamed5050(core.List<api.GqlQueryParameter> o) {
+checkUnnamed5057(core.List<api.GqlQueryParameter> o) {
unittest.expect(o, unittest.hasLength(2));
checkGqlQueryParameter(o[0]);
checkGqlQueryParameter(o[1]);
@@ -1103,8 +1103,8 @@
buildCounterGqlQuery++;
if (buildCounterGqlQuery < 3) {
o.allowLiterals = true;
- o.namedBindings = buildUnnamed5049();
- o.positionalBindings = buildUnnamed5050();
+ o.namedBindings = buildUnnamed5056();
+ o.positionalBindings = buildUnnamed5057();
o.queryString = "foo";
}
buildCounterGqlQuery--;
@@ -1115,8 +1115,8 @@
buildCounterGqlQuery++;
if (buildCounterGqlQuery < 3) {
unittest.expect(o.allowLiterals, unittest.isTrue);
- checkUnnamed5049(o.namedBindings);
- checkUnnamed5050(o.positionalBindings);
+ checkUnnamed5056(o.namedBindings);
+ checkUnnamed5057(o.positionalBindings);
unittest.expect(o.queryString, unittest.equals('foo'));
}
buildCounterGqlQuery--;
@@ -1143,14 +1143,14 @@
buildCounterGqlQueryParameter--;
}
-buildUnnamed5051() {
+buildUnnamed5058() {
var o = new core.List<api.PathElement>();
o.add(buildPathElement());
o.add(buildPathElement());
return o;
}
-checkUnnamed5051(core.List<api.PathElement> o) {
+checkUnnamed5058(core.List<api.PathElement> o) {
unittest.expect(o, unittest.hasLength(2));
checkPathElement(o[0]);
checkPathElement(o[1]);
@@ -1162,7 +1162,7 @@
buildCounterKey++;
if (buildCounterKey < 3) {
o.partitionId = buildPartitionId();
- o.path = buildUnnamed5051();
+ o.path = buildUnnamed5058();
}
buildCounterKey--;
return o;
@@ -1172,7 +1172,7 @@
buildCounterKey++;
if (buildCounterKey < 3) {
checkPartitionId(o.partitionId);
- checkUnnamed5051(o.path);
+ checkUnnamed5058(o.path);
}
buildCounterKey--;
}
@@ -1217,14 +1217,14 @@
buildCounterLatLng--;
}
-buildUnnamed5052() {
+buildUnnamed5059() {
var o = new core.List<api.Key>();
o.add(buildKey());
o.add(buildKey());
return o;
}
-checkUnnamed5052(core.List<api.Key> o) {
+checkUnnamed5059(core.List<api.Key> o) {
unittest.expect(o, unittest.hasLength(2));
checkKey(o[0]);
checkKey(o[1]);
@@ -1235,7 +1235,7 @@
var o = new api.LookupRequest();
buildCounterLookupRequest++;
if (buildCounterLookupRequest < 3) {
- o.keys = buildUnnamed5052();
+ o.keys = buildUnnamed5059();
o.readOptions = buildReadOptions();
}
buildCounterLookupRequest--;
@@ -1245,46 +1245,46 @@
checkLookupRequest(api.LookupRequest o) {
buildCounterLookupRequest++;
if (buildCounterLookupRequest < 3) {
- checkUnnamed5052(o.keys);
+ checkUnnamed5059(o.keys);
checkReadOptions(o.readOptions);
}
buildCounterLookupRequest--;
}
-buildUnnamed5053() {
+buildUnnamed5060() {
var o = new core.List<api.Key>();
o.add(buildKey());
o.add(buildKey());
return o;
}
-checkUnnamed5053(core.List<api.Key> o) {
+checkUnnamed5060(core.List<api.Key> o) {
unittest.expect(o, unittest.hasLength(2));
checkKey(o[0]);
checkKey(o[1]);
}
-buildUnnamed5054() {
+buildUnnamed5061() {
var o = new core.List<api.EntityResult>();
o.add(buildEntityResult());
o.add(buildEntityResult());
return o;
}
-checkUnnamed5054(core.List<api.EntityResult> o) {
+checkUnnamed5061(core.List<api.EntityResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntityResult(o[0]);
checkEntityResult(o[1]);
}
-buildUnnamed5055() {
+buildUnnamed5062() {
var o = new core.List<api.EntityResult>();
o.add(buildEntityResult());
o.add(buildEntityResult());
return o;
}
-checkUnnamed5055(core.List<api.EntityResult> o) {
+checkUnnamed5062(core.List<api.EntityResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntityResult(o[0]);
checkEntityResult(o[1]);
@@ -1295,9 +1295,9 @@
var o = new api.LookupResponse();
buildCounterLookupResponse++;
if (buildCounterLookupResponse < 3) {
- o.deferred = buildUnnamed5053();
- o.found = buildUnnamed5054();
- o.missing = buildUnnamed5055();
+ o.deferred = buildUnnamed5060();
+ o.found = buildUnnamed5061();
+ o.missing = buildUnnamed5062();
}
buildCounterLookupResponse--;
return o;
@@ -1306,9 +1306,9 @@
checkLookupResponse(api.LookupResponse o) {
buildCounterLookupResponse++;
if (buildCounterLookupResponse < 3) {
- checkUnnamed5053(o.deferred);
- checkUnnamed5054(o.found);
- checkUnnamed5055(o.missing);
+ checkUnnamed5060(o.deferred);
+ checkUnnamed5061(o.found);
+ checkUnnamed5062(o.missing);
}
buildCounterLookupResponse--;
}
@@ -1489,53 +1489,53 @@
buildCounterPropertyReference--;
}
-buildUnnamed5056() {
+buildUnnamed5063() {
var o = new core.List<api.PropertyReference>();
o.add(buildPropertyReference());
o.add(buildPropertyReference());
return o;
}
-checkUnnamed5056(core.List<api.PropertyReference> o) {
+checkUnnamed5063(core.List<api.PropertyReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkPropertyReference(o[0]);
checkPropertyReference(o[1]);
}
-buildUnnamed5057() {
+buildUnnamed5064() {
var o = new core.List<api.KindExpression>();
o.add(buildKindExpression());
o.add(buildKindExpression());
return o;
}
-checkUnnamed5057(core.List<api.KindExpression> o) {
+checkUnnamed5064(core.List<api.KindExpression> o) {
unittest.expect(o, unittest.hasLength(2));
checkKindExpression(o[0]);
checkKindExpression(o[1]);
}
-buildUnnamed5058() {
+buildUnnamed5065() {
var o = new core.List<api.PropertyOrder>();
o.add(buildPropertyOrder());
o.add(buildPropertyOrder());
return o;
}
-checkUnnamed5058(core.List<api.PropertyOrder> o) {
+checkUnnamed5065(core.List<api.PropertyOrder> o) {
unittest.expect(o, unittest.hasLength(2));
checkPropertyOrder(o[0]);
checkPropertyOrder(o[1]);
}
-buildUnnamed5059() {
+buildUnnamed5066() {
var o = new core.List<api.Projection>();
o.add(buildProjection());
o.add(buildProjection());
return o;
}
-checkUnnamed5059(core.List<api.Projection> o) {
+checkUnnamed5066(core.List<api.Projection> o) {
unittest.expect(o, unittest.hasLength(2));
checkProjection(o[0]);
checkProjection(o[1]);
@@ -1546,14 +1546,14 @@
var o = new api.Query();
buildCounterQuery++;
if (buildCounterQuery < 3) {
- o.distinctOn = buildUnnamed5056();
+ o.distinctOn = buildUnnamed5063();
o.endCursor = "foo";
o.filter = buildFilter();
- o.kind = buildUnnamed5057();
+ o.kind = buildUnnamed5064();
o.limit = 42;
o.offset = 42;
- o.order = buildUnnamed5058();
- o.projection = buildUnnamed5059();
+ o.order = buildUnnamed5065();
+ o.projection = buildUnnamed5066();
o.startCursor = "foo";
}
buildCounterQuery--;
@@ -1563,27 +1563,27 @@
checkQuery(api.Query o) {
buildCounterQuery++;
if (buildCounterQuery < 3) {
- checkUnnamed5056(o.distinctOn);
+ checkUnnamed5063(o.distinctOn);
unittest.expect(o.endCursor, unittest.equals('foo'));
checkFilter(o.filter);
- checkUnnamed5057(o.kind);
+ checkUnnamed5064(o.kind);
unittest.expect(o.limit, unittest.equals(42));
unittest.expect(o.offset, unittest.equals(42));
- checkUnnamed5058(o.order);
- checkUnnamed5059(o.projection);
+ checkUnnamed5065(o.order);
+ checkUnnamed5066(o.projection);
unittest.expect(o.startCursor, unittest.equals('foo'));
}
buildCounterQuery--;
}
-buildUnnamed5060() {
+buildUnnamed5067() {
var o = new core.List<api.EntityResult>();
o.add(buildEntityResult());
o.add(buildEntityResult());
return o;
}
-checkUnnamed5060(core.List<api.EntityResult> o) {
+checkUnnamed5067(core.List<api.EntityResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntityResult(o[0]);
checkEntityResult(o[1]);
@@ -1596,7 +1596,7 @@
if (buildCounterQueryResultBatch < 3) {
o.endCursor = "foo";
o.entityResultType = "foo";
- o.entityResults = buildUnnamed5060();
+ o.entityResults = buildUnnamed5067();
o.moreResults = "foo";
o.skippedCursor = "foo";
o.skippedResults = 42;
@@ -1611,7 +1611,7 @@
if (buildCounterQueryResultBatch < 3) {
unittest.expect(o.endCursor, unittest.equals('foo'));
unittest.expect(o.entityResultType, unittest.equals('foo'));
- checkUnnamed5060(o.entityResults);
+ checkUnnamed5067(o.entityResults);
unittest.expect(o.moreResults, unittest.equals('foo'));
unittest.expect(o.skippedCursor, unittest.equals('foo'));
unittest.expect(o.skippedResults, unittest.equals(42));
@@ -1675,14 +1675,14 @@
buildCounterReadWrite--;
}
-buildUnnamed5061() {
+buildUnnamed5068() {
var o = new core.List<api.Key>();
o.add(buildKey());
o.add(buildKey());
return o;
}
-checkUnnamed5061(core.List<api.Key> o) {
+checkUnnamed5068(core.List<api.Key> o) {
unittest.expect(o, unittest.hasLength(2));
checkKey(o[0]);
checkKey(o[1]);
@@ -1694,7 +1694,7 @@
buildCounterReserveIdsRequest++;
if (buildCounterReserveIdsRequest < 3) {
o.databaseId = "foo";
- o.keys = buildUnnamed5061();
+ o.keys = buildUnnamed5068();
}
buildCounterReserveIdsRequest--;
return o;
@@ -1704,7 +1704,7 @@
buildCounterReserveIdsRequest++;
if (buildCounterReserveIdsRequest < 3) {
unittest.expect(o.databaseId, unittest.equals('foo'));
- checkUnnamed5061(o.keys);
+ checkUnnamed5068(o.keys);
}
buildCounterReserveIdsRequest--;
}
@@ -1804,7 +1804,7 @@
buildCounterRunQueryResponse--;
}
-buildUnnamed5062() {
+buildUnnamed5069() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1819,7 +1819,7 @@
return o;
}
-checkUnnamed5062(core.Map<core.String, core.Object> o) {
+checkUnnamed5069(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted5 = (o["x"]) as core.Map;
unittest.expect(casted5, unittest.hasLength(3));
@@ -1833,17 +1833,17 @@
unittest.expect(casted6["string"], unittest.equals('foo'));
}
-buildUnnamed5063() {
+buildUnnamed5070() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed5062());
- o.add(buildUnnamed5062());
+ o.add(buildUnnamed5069());
+ o.add(buildUnnamed5069());
return o;
}
-checkUnnamed5063(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed5070(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed5062(o[0]);
- checkUnnamed5062(o[1]);
+ checkUnnamed5069(o[0]);
+ checkUnnamed5069(o[1]);
}
core.int buildCounterStatus = 0;
@@ -1852,7 +1852,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed5063();
+ o.details = buildUnnamed5070();
o.message = "foo";
}
buildCounterStatus--;
@@ -1863,7 +1863,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed5063(o.details);
+ checkUnnamed5070(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
@@ -3443,9 +3443,9 @@
api.ProjectsOperationsResourceApi res =
new api.DatastoreApi(mock).projects.operations;
var arg_name = "foo";
- var arg_pageSize = 42;
var arg_pageToken = "foo";
var arg_filter = "foo";
+ var arg_pageSize = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3478,11 +3478,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3494,9 +3494,9 @@
}), true);
res
.list(arg_name,
- pageSize: arg_pageSize,
pageToken: arg_pageToken,
filter: arg_filter,
+ pageSize: arg_pageSize,
$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 ee578ea..33c98d1 100644
--- a/generated/googleapis/test/deploymentmanager/v2_test.dart
+++ b/generated/googleapis/test/deploymentmanager/v2_test.dart
@@ -2184,8 +2184,8 @@
new api.DeploymentmanagerApi(mock).deployments;
var arg_request = buildDeployment();
var arg_project = "foo";
- var arg_preview = true;
var arg_createPolicy = "foo";
+ var arg_preview = true;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.Deployment.fromJson(json);
@@ -2218,9 +2218,9 @@
}
}
unittest.expect(
- queryMap["preview"].first, unittest.equals("$arg_preview"));
- unittest.expect(
queryMap["createPolicy"].first, unittest.equals(arg_createPolicy));
+ unittest.expect(
+ queryMap["preview"].first, unittest.equals("$arg_preview"));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2231,8 +2231,8 @@
}), true);
res
.insert(arg_request, arg_project,
- preview: arg_preview,
createPolicy: arg_createPolicy,
+ preview: arg_preview,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkOperation(response);
@@ -2244,10 +2244,10 @@
api.DeploymentsResourceApi res =
new api.DeploymentmanagerApi(mock).deployments;
var arg_project = "foo";
- var arg_filter = "foo";
- var arg_pageToken = "foo";
- var arg_maxResults = 42;
var arg_orderBy = "foo";
+ var arg_maxResults = 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;
@@ -2276,13 +2276,13 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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["maxResults"].first),
unittest.equals(arg_maxResults));
unittest.expect(
- queryMap["orderBy"].first, unittest.equals(arg_orderBy));
+ 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 = {
@@ -2293,10 +2293,10 @@
}), true);
res
.list(arg_project,
- filter: arg_filter,
- pageToken: arg_pageToken,
- maxResults: arg_maxResults,
orderBy: arg_orderBy,
+ maxResults: arg_maxResults,
+ pageToken: arg_pageToken,
+ filter: arg_filter,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkDeploymentsListResponse(response);
@@ -2311,8 +2311,8 @@
var arg_project = "foo";
var arg_deployment = "foo";
var arg_deletePolicy = "foo";
- var arg_createPolicy = "foo";
var arg_preview = true;
+ var arg_createPolicy = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.Deployment.fromJson(json);
@@ -2347,9 +2347,9 @@
unittest.expect(
queryMap["deletePolicy"].first, unittest.equals(arg_deletePolicy));
unittest.expect(
- queryMap["createPolicy"].first, unittest.equals(arg_createPolicy));
- 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 = {
@@ -2361,8 +2361,8 @@
res
.patch(arg_request, arg_project, arg_deployment,
deletePolicy: arg_deletePolicy,
- createPolicy: arg_createPolicy,
preview: arg_preview,
+ createPolicy: arg_createPolicy,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkOperation(response);
@@ -2537,8 +2537,8 @@
var arg_request = buildDeployment();
var arg_project = "foo";
var arg_deployment = "foo";
- var arg_deletePolicy = "foo";
var arg_createPolicy = "foo";
+ var arg_deletePolicy = "foo";
var arg_preview = true;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -2572,10 +2572,10 @@
}
}
unittest.expect(
- queryMap["deletePolicy"].first, unittest.equals(arg_deletePolicy));
- 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["fields"].first, unittest.equals(arg_$fields));
@@ -2587,8 +2587,8 @@
}), true);
res
.update(arg_request, arg_project, arg_deployment,
- deletePolicy: arg_deletePolicy,
createPolicy: arg_createPolicy,
+ deletePolicy: arg_deletePolicy,
preview: arg_preview,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -2655,9 +2655,9 @@
var arg_project = "foo";
var arg_deployment = "foo";
var arg_maxResults = 42;
- var arg_pageToken = "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;
@@ -2688,11 +2688,11 @@
}
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
- 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(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2704,9 +2704,9 @@
res
.list(arg_project, arg_deployment,
maxResults: arg_maxResults,
- pageToken: arg_pageToken,
filter: arg_filter,
orderBy: arg_orderBy,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkManifestsListResponse(response);
@@ -2769,10 +2769,10 @@
api.OperationsResourceApi res =
new api.DeploymentmanagerApi(mock).operations;
var arg_project = "foo";
- var arg_pageToken = "foo";
- var arg_orderBy = "foo";
var arg_filter = "foo";
+ var arg_orderBy = "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;
@@ -2801,13 +2801,13 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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(queryMap["filter"].first, unittest.equals(arg_filter));
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 = {
@@ -2818,10 +2818,10 @@
}), true);
res
.list(arg_project,
- pageToken: arg_pageToken,
- orderBy: arg_orderBy,
filter: arg_filter,
+ orderBy: arg_orderBy,
maxResults: arg_maxResults,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkOperationsListResponse(response);
@@ -2886,10 +2886,10 @@
new api.DeploymentmanagerApi(mock).resources;
var arg_project = "foo";
var arg_deployment = "foo";
- var arg_pageToken = "foo";
var arg_filter = "foo";
var arg_orderBy = "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;
@@ -2918,13 +2918,13 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2935,10 +2935,10 @@
}), true);
res
.list(arg_project, arg_deployment,
- pageToken: arg_pageToken,
filter: arg_filter,
orderBy: arg_orderBy,
maxResults: arg_maxResults,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkResourcesListResponse(response);
@@ -2951,10 +2951,10 @@
var mock = new HttpServerMock();
api.TypesResourceApi res = new api.DeploymentmanagerApi(mock).types;
var arg_project = "foo";
- var arg_orderBy = "foo";
var arg_pageToken = "foo";
- var arg_maxResults = 42;
var arg_filter = "foo";
+ var arg_orderBy = "foo";
+ var arg_maxResults = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2984,12 +2984,12 @@
}
}
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["orderBy"].first, unittest.equals(arg_orderBy));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3000,10 +3000,10 @@
}), true);
res
.list(arg_project,
- orderBy: arg_orderBy,
pageToken: arg_pageToken,
- maxResults: arg_maxResults,
filter: arg_filter,
+ orderBy: arg_orderBy,
+ maxResults: arg_maxResults,
$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 bd9d3ba..3eb1089 100644
--- a/generated/googleapis/test/dfareporting/v3_4_test.dart
+++ b/generated/googleapis/test/dfareporting/v3_4_test.dart
@@ -50,27 +50,27 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed5424() {
+buildUnnamed5400() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5424(core.List<core.String> o) {
+checkUnnamed5400(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed5425() {
+buildUnnamed5401() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5425(core.List<core.String> o) {
+checkUnnamed5401(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -81,12 +81,12 @@
var o = new api.Account();
buildCounterAccount++;
if (buildCounterAccount < 3) {
- o.accountPermissionIds = buildUnnamed5424();
+ o.accountPermissionIds = buildUnnamed5400();
o.accountProfile = "foo";
o.active = true;
o.activeAdsLimitTier = "foo";
o.activeViewOptOut = true;
- o.availablePermissionIds = buildUnnamed5425();
+ o.availablePermissionIds = buildUnnamed5401();
o.countryId = "foo";
o.currencyId = "foo";
o.defaultCreativeSizeId = "foo";
@@ -108,12 +108,12 @@
checkAccount(api.Account o) {
buildCounterAccount++;
if (buildCounterAccount < 3) {
- checkUnnamed5424(o.accountPermissionIds);
+ checkUnnamed5400(o.accountPermissionIds);
unittest.expect(o.accountProfile, unittest.equals('foo'));
unittest.expect(o.active, unittest.isTrue);
unittest.expect(o.activeAdsLimitTier, unittest.equals('foo'));
unittest.expect(o.activeViewOptOut, unittest.isTrue);
- checkUnnamed5425(o.availablePermissionIds);
+ checkUnnamed5401(o.availablePermissionIds);
unittest.expect(o.countryId, unittest.equals('foo'));
unittest.expect(o.currencyId, unittest.equals('foo'));
unittest.expect(o.defaultCreativeSizeId, unittest.equals('foo'));
@@ -158,14 +158,14 @@
buildCounterAccountActiveAdSummary--;
}
-buildUnnamed5426() {
+buildUnnamed5402() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5426(core.List<core.String> o) {
+checkUnnamed5402(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -176,7 +176,7 @@
var o = new api.AccountPermission();
buildCounterAccountPermission++;
if (buildCounterAccountPermission < 3) {
- o.accountProfiles = buildUnnamed5426();
+ o.accountProfiles = buildUnnamed5402();
o.id = "foo";
o.kind = "foo";
o.level = "foo";
@@ -190,7 +190,7 @@
checkAccountPermission(api.AccountPermission o) {
buildCounterAccountPermission++;
if (buildCounterAccountPermission < 3) {
- checkUnnamed5426(o.accountProfiles);
+ checkUnnamed5402(o.accountProfiles);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.level, unittest.equals('foo'));
@@ -223,14 +223,14 @@
buildCounterAccountPermissionGroup--;
}
-buildUnnamed5427() {
+buildUnnamed5403() {
var o = new core.List<api.AccountPermissionGroup>();
o.add(buildAccountPermissionGroup());
o.add(buildAccountPermissionGroup());
return o;
}
-checkUnnamed5427(core.List<api.AccountPermissionGroup> o) {
+checkUnnamed5403(core.List<api.AccountPermissionGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccountPermissionGroup(o[0]);
checkAccountPermissionGroup(o[1]);
@@ -241,7 +241,7 @@
var o = new api.AccountPermissionGroupsListResponse();
buildCounterAccountPermissionGroupsListResponse++;
if (buildCounterAccountPermissionGroupsListResponse < 3) {
- o.accountPermissionGroups = buildUnnamed5427();
+ o.accountPermissionGroups = buildUnnamed5403();
o.kind = "foo";
}
buildCounterAccountPermissionGroupsListResponse--;
@@ -252,20 +252,20 @@
api.AccountPermissionGroupsListResponse o) {
buildCounterAccountPermissionGroupsListResponse++;
if (buildCounterAccountPermissionGroupsListResponse < 3) {
- checkUnnamed5427(o.accountPermissionGroups);
+ checkUnnamed5403(o.accountPermissionGroups);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAccountPermissionGroupsListResponse--;
}
-buildUnnamed5428() {
+buildUnnamed5404() {
var o = new core.List<api.AccountPermission>();
o.add(buildAccountPermission());
o.add(buildAccountPermission());
return o;
}
-checkUnnamed5428(core.List<api.AccountPermission> o) {
+checkUnnamed5404(core.List<api.AccountPermission> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccountPermission(o[0]);
checkAccountPermission(o[1]);
@@ -276,7 +276,7 @@
var o = new api.AccountPermissionsListResponse();
buildCounterAccountPermissionsListResponse++;
if (buildCounterAccountPermissionsListResponse < 3) {
- o.accountPermissions = buildUnnamed5428();
+ o.accountPermissions = buildUnnamed5404();
o.kind = "foo";
}
buildCounterAccountPermissionsListResponse--;
@@ -286,7 +286,7 @@
checkAccountPermissionsListResponse(api.AccountPermissionsListResponse o) {
buildCounterAccountPermissionsListResponse++;
if (buildCounterAccountPermissionsListResponse < 3) {
- checkUnnamed5428(o.accountPermissions);
+ checkUnnamed5404(o.accountPermissions);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAccountPermissionsListResponse--;
@@ -341,14 +341,14 @@
buildCounterAccountUserProfile--;
}
-buildUnnamed5429() {
+buildUnnamed5405() {
var o = new core.List<api.AccountUserProfile>();
o.add(buildAccountUserProfile());
o.add(buildAccountUserProfile());
return o;
}
-checkUnnamed5429(core.List<api.AccountUserProfile> o) {
+checkUnnamed5405(core.List<api.AccountUserProfile> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccountUserProfile(o[0]);
checkAccountUserProfile(o[1]);
@@ -359,7 +359,7 @@
var o = new api.AccountUserProfilesListResponse();
buildCounterAccountUserProfilesListResponse++;
if (buildCounterAccountUserProfilesListResponse < 3) {
- o.accountUserProfiles = buildUnnamed5429();
+ o.accountUserProfiles = buildUnnamed5405();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -370,21 +370,21 @@
checkAccountUserProfilesListResponse(api.AccountUserProfilesListResponse o) {
buildCounterAccountUserProfilesListResponse++;
if (buildCounterAccountUserProfilesListResponse < 3) {
- checkUnnamed5429(o.accountUserProfiles);
+ checkUnnamed5405(o.accountUserProfiles);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterAccountUserProfilesListResponse--;
}
-buildUnnamed5430() {
+buildUnnamed5406() {
var o = new core.List<api.Account>();
o.add(buildAccount());
o.add(buildAccount());
return o;
}
-checkUnnamed5430(core.List<api.Account> o) {
+checkUnnamed5406(core.List<api.Account> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccount(o[0]);
checkAccount(o[1]);
@@ -395,7 +395,7 @@
var o = new api.AccountsListResponse();
buildCounterAccountsListResponse++;
if (buildCounterAccountsListResponse < 3) {
- o.accounts = buildUnnamed5430();
+ o.accounts = buildUnnamed5406();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -406,34 +406,34 @@
checkAccountsListResponse(api.AccountsListResponse o) {
buildCounterAccountsListResponse++;
if (buildCounterAccountsListResponse < 3) {
- checkUnnamed5430(o.accounts);
+ checkUnnamed5406(o.accounts);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterAccountsListResponse--;
}
-buildUnnamed5431() {
+buildUnnamed5407() {
var o = new core.List<api.DimensionValue>();
o.add(buildDimensionValue());
o.add(buildDimensionValue());
return o;
}
-checkUnnamed5431(core.List<api.DimensionValue> o) {
+checkUnnamed5407(core.List<api.DimensionValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionValue(o[0]);
checkDimensionValue(o[1]);
}
-buildUnnamed5432() {
+buildUnnamed5408() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5432(core.List<core.String> o) {
+checkUnnamed5408(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -444,9 +444,9 @@
var o = new api.Activities();
buildCounterActivities++;
if (buildCounterActivities < 3) {
- o.filters = buildUnnamed5431();
+ o.filters = buildUnnamed5407();
o.kind = "foo";
- o.metricNames = buildUnnamed5432();
+ o.metricNames = buildUnnamed5408();
}
buildCounterActivities--;
return o;
@@ -455,47 +455,47 @@
checkActivities(api.Activities o) {
buildCounterActivities++;
if (buildCounterActivities < 3) {
- checkUnnamed5431(o.filters);
+ checkUnnamed5407(o.filters);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed5432(o.metricNames);
+ checkUnnamed5408(o.metricNames);
}
buildCounterActivities--;
}
-buildUnnamed5433() {
+buildUnnamed5409() {
var o = new core.List<api.CreativeGroupAssignment>();
o.add(buildCreativeGroupAssignment());
o.add(buildCreativeGroupAssignment());
return o;
}
-checkUnnamed5433(core.List<api.CreativeGroupAssignment> o) {
+checkUnnamed5409(core.List<api.CreativeGroupAssignment> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeGroupAssignment(o[0]);
checkCreativeGroupAssignment(o[1]);
}
-buildUnnamed5434() {
+buildUnnamed5410() {
var o = new core.List<api.EventTagOverride>();
o.add(buildEventTagOverride());
o.add(buildEventTagOverride());
return o;
}
-checkUnnamed5434(core.List<api.EventTagOverride> o) {
+checkUnnamed5410(core.List<api.EventTagOverride> o) {
unittest.expect(o, unittest.hasLength(2));
checkEventTagOverride(o[0]);
checkEventTagOverride(o[1]);
}
-buildUnnamed5435() {
+buildUnnamed5411() {
var o = new core.List<api.PlacementAssignment>();
o.add(buildPlacementAssignment());
o.add(buildPlacementAssignment());
return o;
}
-checkUnnamed5435(core.List<api.PlacementAssignment> o) {
+checkUnnamed5411(core.List<api.PlacementAssignment> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlacementAssignment(o[0]);
checkPlacementAssignment(o[1]);
@@ -519,7 +519,7 @@
o.comments = "foo";
o.compatibility = "foo";
o.createInfo = buildLastModifiedInfo();
- o.creativeGroupAssignments = buildUnnamed5433();
+ o.creativeGroupAssignments = buildUnnamed5409();
o.creativeRotation = buildCreativeRotation();
o.dayPartTargeting = buildDayPartTargeting();
o.defaultClickThroughEventTagProperties =
@@ -527,7 +527,7 @@
o.deliverySchedule = buildDeliverySchedule();
o.dynamicClickTracker = true;
o.endTime = core.DateTime.parse("2002-02-27T14:01:02");
- o.eventTagOverrides = buildUnnamed5434();
+ o.eventTagOverrides = buildUnnamed5410();
o.geoTargeting = buildGeoTargeting();
o.id = "foo";
o.idDimensionValue = buildDimensionValue();
@@ -536,7 +536,7 @@
o.languageTargeting = buildLanguageTargeting();
o.lastModifiedInfo = buildLastModifiedInfo();
o.name = "foo";
- o.placementAssignments = buildUnnamed5435();
+ o.placementAssignments = buildUnnamed5411();
o.remarketingListExpression = buildListTargetingExpression();
o.size = buildSize();
o.sslCompliant = true;
@@ -567,7 +567,7 @@
unittest.expect(o.comments, unittest.equals('foo'));
unittest.expect(o.compatibility, unittest.equals('foo'));
checkLastModifiedInfo(o.createInfo);
- checkUnnamed5433(o.creativeGroupAssignments);
+ checkUnnamed5409(o.creativeGroupAssignments);
checkCreativeRotation(o.creativeRotation);
checkDayPartTargeting(o.dayPartTargeting);
checkDefaultClickThroughEventTagProperties(
@@ -576,7 +576,7 @@
unittest.expect(o.dynamicClickTracker, unittest.isTrue);
unittest.expect(
o.endTime, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
- checkUnnamed5434(o.eventTagOverrides);
+ checkUnnamed5410(o.eventTagOverrides);
checkGeoTargeting(o.geoTargeting);
unittest.expect(o.id, unittest.equals('foo'));
checkDimensionValue(o.idDimensionValue);
@@ -585,7 +585,7 @@
checkLanguageTargeting(o.languageTargeting);
checkLastModifiedInfo(o.lastModifiedInfo);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed5435(o.placementAssignments);
+ checkUnnamed5411(o.placementAssignments);
checkListTargetingExpression(o.remarketingListExpression);
checkSize(o.size);
unittest.expect(o.sslCompliant, unittest.isTrue);
@@ -658,14 +658,14 @@
buildCounterAdSlot--;
}
-buildUnnamed5436() {
+buildUnnamed5412() {
var o = new core.List<api.Ad>();
o.add(buildAd());
o.add(buildAd());
return o;
}
-checkUnnamed5436(core.List<api.Ad> o) {
+checkUnnamed5412(core.List<api.Ad> o) {
unittest.expect(o, unittest.hasLength(2));
checkAd(o[0]);
checkAd(o[1]);
@@ -676,7 +676,7 @@
var o = new api.AdsListResponse();
buildCounterAdsListResponse++;
if (buildCounterAdsListResponse < 3) {
- o.ads = buildUnnamed5436();
+ o.ads = buildUnnamed5412();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -687,7 +687,7 @@
checkAdsListResponse(api.AdsListResponse o) {
buildCounterAdsListResponse++;
if (buildCounterAdsListResponse < 3) {
- checkUnnamed5436(o.ads);
+ checkUnnamed5412(o.ads);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -767,14 +767,14 @@
buildCounterAdvertiserGroup--;
}
-buildUnnamed5437() {
+buildUnnamed5413() {
var o = new core.List<api.AdvertiserGroup>();
o.add(buildAdvertiserGroup());
o.add(buildAdvertiserGroup());
return o;
}
-checkUnnamed5437(core.List<api.AdvertiserGroup> o) {
+checkUnnamed5413(core.List<api.AdvertiserGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkAdvertiserGroup(o[0]);
checkAdvertiserGroup(o[1]);
@@ -785,7 +785,7 @@
var o = new api.AdvertiserGroupsListResponse();
buildCounterAdvertiserGroupsListResponse++;
if (buildCounterAdvertiserGroupsListResponse < 3) {
- o.advertiserGroups = buildUnnamed5437();
+ o.advertiserGroups = buildUnnamed5413();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -796,21 +796,21 @@
checkAdvertiserGroupsListResponse(api.AdvertiserGroupsListResponse o) {
buildCounterAdvertiserGroupsListResponse++;
if (buildCounterAdvertiserGroupsListResponse < 3) {
- checkUnnamed5437(o.advertiserGroups);
+ checkUnnamed5413(o.advertiserGroups);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterAdvertiserGroupsListResponse--;
}
-buildUnnamed5438() {
+buildUnnamed5414() {
var o = new core.List<api.LandingPage>();
o.add(buildLandingPage());
o.add(buildLandingPage());
return o;
}
-checkUnnamed5438(core.List<api.LandingPage> o) {
+checkUnnamed5414(core.List<api.LandingPage> o) {
unittest.expect(o, unittest.hasLength(2));
checkLandingPage(o[0]);
checkLandingPage(o[1]);
@@ -822,7 +822,7 @@
buildCounterAdvertiserLandingPagesListResponse++;
if (buildCounterAdvertiserLandingPagesListResponse < 3) {
o.kind = "foo";
- o.landingPages = buildUnnamed5438();
+ o.landingPages = buildUnnamed5414();
o.nextPageToken = "foo";
}
buildCounterAdvertiserLandingPagesListResponse--;
@@ -834,20 +834,20 @@
buildCounterAdvertiserLandingPagesListResponse++;
if (buildCounterAdvertiserLandingPagesListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed5438(o.landingPages);
+ checkUnnamed5414(o.landingPages);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterAdvertiserLandingPagesListResponse--;
}
-buildUnnamed5439() {
+buildUnnamed5415() {
var o = new core.List<api.Advertiser>();
o.add(buildAdvertiser());
o.add(buildAdvertiser());
return o;
}
-checkUnnamed5439(core.List<api.Advertiser> o) {
+checkUnnamed5415(core.List<api.Advertiser> o) {
unittest.expect(o, unittest.hasLength(2));
checkAdvertiser(o[0]);
checkAdvertiser(o[1]);
@@ -858,7 +858,7 @@
var o = new api.AdvertisersListResponse();
buildCounterAdvertisersListResponse++;
if (buildCounterAdvertisersListResponse < 3) {
- o.advertisers = buildUnnamed5439();
+ o.advertisers = buildUnnamed5415();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -869,7 +869,7 @@
checkAdvertisersListResponse(api.AdvertisersListResponse o) {
buildCounterAdvertisersListResponse++;
if (buildCounterAdvertisersListResponse < 3) {
- checkUnnamed5439(o.advertisers);
+ checkUnnamed5415(o.advertisers);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -899,14 +899,14 @@
buildCounterAudienceSegment--;
}
-buildUnnamed5440() {
+buildUnnamed5416() {
var o = new core.List<api.AudienceSegment>();
o.add(buildAudienceSegment());
o.add(buildAudienceSegment());
return o;
}
-checkUnnamed5440(core.List<api.AudienceSegment> o) {
+checkUnnamed5416(core.List<api.AudienceSegment> o) {
unittest.expect(o, unittest.hasLength(2));
checkAudienceSegment(o[0]);
checkAudienceSegment(o[1]);
@@ -917,7 +917,7 @@
var o = new api.AudienceSegmentGroup();
buildCounterAudienceSegmentGroup++;
if (buildCounterAudienceSegmentGroup < 3) {
- o.audienceSegments = buildUnnamed5440();
+ o.audienceSegments = buildUnnamed5416();
o.id = "foo";
o.name = "foo";
}
@@ -928,7 +928,7 @@
checkAudienceSegmentGroup(api.AudienceSegmentGroup o) {
buildCounterAudienceSegmentGroup++;
if (buildCounterAudienceSegmentGroup < 3) {
- checkUnnamed5440(o.audienceSegments);
+ checkUnnamed5416(o.audienceSegments);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
}
@@ -964,14 +964,14 @@
buildCounterBrowser--;
}
-buildUnnamed5441() {
+buildUnnamed5417() {
var o = new core.List<api.Browser>();
o.add(buildBrowser());
o.add(buildBrowser());
return o;
}
-checkUnnamed5441(core.List<api.Browser> o) {
+checkUnnamed5417(core.List<api.Browser> o) {
unittest.expect(o, unittest.hasLength(2));
checkBrowser(o[0]);
checkBrowser(o[1]);
@@ -982,7 +982,7 @@
var o = new api.BrowsersListResponse();
buildCounterBrowsersListResponse++;
if (buildCounterBrowsersListResponse < 3) {
- o.browsers = buildUnnamed5441();
+ o.browsers = buildUnnamed5417();
o.kind = "foo";
}
buildCounterBrowsersListResponse--;
@@ -992,72 +992,72 @@
checkBrowsersListResponse(api.BrowsersListResponse o) {
buildCounterBrowsersListResponse++;
if (buildCounterBrowsersListResponse < 3) {
- checkUnnamed5441(o.browsers);
+ checkUnnamed5417(o.browsers);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterBrowsersListResponse--;
}
-buildUnnamed5442() {
+buildUnnamed5418() {
var o = new core.List<api.CreativeOptimizationConfiguration>();
o.add(buildCreativeOptimizationConfiguration());
o.add(buildCreativeOptimizationConfiguration());
return o;
}
-checkUnnamed5442(core.List<api.CreativeOptimizationConfiguration> o) {
+checkUnnamed5418(core.List<api.CreativeOptimizationConfiguration> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeOptimizationConfiguration(o[0]);
checkCreativeOptimizationConfiguration(o[1]);
}
-buildUnnamed5443() {
+buildUnnamed5419() {
var o = new core.List<api.AudienceSegmentGroup>();
o.add(buildAudienceSegmentGroup());
o.add(buildAudienceSegmentGroup());
return o;
}
-checkUnnamed5443(core.List<api.AudienceSegmentGroup> o) {
+checkUnnamed5419(core.List<api.AudienceSegmentGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkAudienceSegmentGroup(o[0]);
checkAudienceSegmentGroup(o[1]);
}
-buildUnnamed5444() {
+buildUnnamed5420() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5444(core.List<core.String> o) {
+checkUnnamed5420(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed5445() {
+buildUnnamed5421() {
var o = new core.List<api.EventTagOverride>();
o.add(buildEventTagOverride());
o.add(buildEventTagOverride());
return o;
}
-checkUnnamed5445(core.List<api.EventTagOverride> o) {
+checkUnnamed5421(core.List<api.EventTagOverride> o) {
unittest.expect(o, unittest.hasLength(2));
checkEventTagOverride(o[0]);
checkEventTagOverride(o[1]);
}
-buildUnnamed5446() {
+buildUnnamed5422() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5446(core.List<core.String> o) {
+checkUnnamed5422(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1070,24 +1070,24 @@
if (buildCounterCampaign < 3) {
o.accountId = "foo";
o.adBlockingConfiguration = buildAdBlockingConfiguration();
- o.additionalCreativeOptimizationConfigurations = buildUnnamed5442();
+ o.additionalCreativeOptimizationConfigurations = buildUnnamed5418();
o.advertiserGroupId = "foo";
o.advertiserId = "foo";
o.advertiserIdDimensionValue = buildDimensionValue();
o.archived = true;
- o.audienceSegmentGroups = buildUnnamed5443();
+ o.audienceSegmentGroups = buildUnnamed5419();
o.billingInvoiceCode = "foo";
o.clickThroughUrlSuffixProperties = buildClickThroughUrlSuffixProperties();
o.comment = "foo";
o.createInfo = buildLastModifiedInfo();
- o.creativeGroupIds = buildUnnamed5444();
+ o.creativeGroupIds = buildUnnamed5420();
o.creativeOptimizationConfiguration =
buildCreativeOptimizationConfiguration();
o.defaultClickThroughEventTagProperties =
buildDefaultClickThroughEventTagProperties();
o.defaultLandingPageId = "foo";
o.endDate = core.DateTime.parse("2002-02-27T14:01:02Z");
- o.eventTagOverrides = buildUnnamed5445();
+ o.eventTagOverrides = buildUnnamed5421();
o.externalId = "foo";
o.id = "foo";
o.idDimensionValue = buildDimensionValue();
@@ -1097,7 +1097,7 @@
o.nielsenOcrEnabled = true;
o.startDate = core.DateTime.parse("2002-02-27T14:01:02Z");
o.subaccountId = "foo";
- o.traffickerEmails = buildUnnamed5446();
+ o.traffickerEmails = buildUnnamed5422();
}
buildCounterCampaign--;
return o;
@@ -1108,24 +1108,24 @@
if (buildCounterCampaign < 3) {
unittest.expect(o.accountId, unittest.equals('foo'));
checkAdBlockingConfiguration(o.adBlockingConfiguration);
- checkUnnamed5442(o.additionalCreativeOptimizationConfigurations);
+ checkUnnamed5418(o.additionalCreativeOptimizationConfigurations);
unittest.expect(o.advertiserGroupId, unittest.equals('foo'));
unittest.expect(o.advertiserId, unittest.equals('foo'));
checkDimensionValue(o.advertiserIdDimensionValue);
unittest.expect(o.archived, unittest.isTrue);
- checkUnnamed5443(o.audienceSegmentGroups);
+ checkUnnamed5419(o.audienceSegmentGroups);
unittest.expect(o.billingInvoiceCode, unittest.equals('foo'));
checkClickThroughUrlSuffixProperties(o.clickThroughUrlSuffixProperties);
unittest.expect(o.comment, unittest.equals('foo'));
checkLastModifiedInfo(o.createInfo);
- checkUnnamed5444(o.creativeGroupIds);
+ checkUnnamed5420(o.creativeGroupIds);
checkCreativeOptimizationConfiguration(o.creativeOptimizationConfiguration);
checkDefaultClickThroughEventTagProperties(
o.defaultClickThroughEventTagProperties);
unittest.expect(o.defaultLandingPageId, unittest.equals('foo'));
unittest.expect(
o.endDate, unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
- checkUnnamed5445(o.eventTagOverrides);
+ checkUnnamed5421(o.eventTagOverrides);
unittest.expect(o.externalId, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
checkDimensionValue(o.idDimensionValue);
@@ -1136,7 +1136,7 @@
unittest.expect(o.startDate,
unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
unittest.expect(o.subaccountId, unittest.equals('foo'));
- checkUnnamed5446(o.traffickerEmails);
+ checkUnnamed5422(o.traffickerEmails);
}
buildCounterCampaign--;
}
@@ -1162,14 +1162,14 @@
buildCounterCampaignCreativeAssociation--;
}
-buildUnnamed5447() {
+buildUnnamed5423() {
var o = new core.List<api.CampaignCreativeAssociation>();
o.add(buildCampaignCreativeAssociation());
o.add(buildCampaignCreativeAssociation());
return o;
}
-checkUnnamed5447(core.List<api.CampaignCreativeAssociation> o) {
+checkUnnamed5423(core.List<api.CampaignCreativeAssociation> o) {
unittest.expect(o, unittest.hasLength(2));
checkCampaignCreativeAssociation(o[0]);
checkCampaignCreativeAssociation(o[1]);
@@ -1180,7 +1180,7 @@
var o = new api.CampaignCreativeAssociationsListResponse();
buildCounterCampaignCreativeAssociationsListResponse++;
if (buildCounterCampaignCreativeAssociationsListResponse < 3) {
- o.campaignCreativeAssociations = buildUnnamed5447();
+ o.campaignCreativeAssociations = buildUnnamed5423();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -1192,7 +1192,7 @@
api.CampaignCreativeAssociationsListResponse o) {
buildCounterCampaignCreativeAssociationsListResponse++;
if (buildCounterCampaignCreativeAssociationsListResponse < 3) {
- checkUnnamed5447(o.campaignCreativeAssociations);
+ checkUnnamed5423(o.campaignCreativeAssociations);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -1228,14 +1228,14 @@
buildCounterCampaignManagerIds--;
}
-buildUnnamed5448() {
+buildUnnamed5424() {
var o = new core.List<api.Campaign>();
o.add(buildCampaign());
o.add(buildCampaign());
return o;
}
-checkUnnamed5448(core.List<api.Campaign> o) {
+checkUnnamed5424(core.List<api.Campaign> o) {
unittest.expect(o, unittest.hasLength(2));
checkCampaign(o[0]);
checkCampaign(o[1]);
@@ -1246,7 +1246,7 @@
var o = new api.CampaignsListResponse();
buildCounterCampaignsListResponse++;
if (buildCounterCampaignsListResponse < 3) {
- o.campaigns = buildUnnamed5448();
+ o.campaigns = buildUnnamed5424();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -1257,7 +1257,7 @@
checkCampaignsListResponse(api.CampaignsListResponse o) {
buildCounterCampaignsListResponse++;
if (buildCounterCampaignsListResponse < 3) {
- checkUnnamed5448(o.campaigns);
+ checkUnnamed5424(o.campaigns);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -1310,14 +1310,14 @@
buildCounterChangeLog--;
}
-buildUnnamed5449() {
+buildUnnamed5425() {
var o = new core.List<api.ChangeLog>();
o.add(buildChangeLog());
o.add(buildChangeLog());
return o;
}
-checkUnnamed5449(core.List<api.ChangeLog> o) {
+checkUnnamed5425(core.List<api.ChangeLog> o) {
unittest.expect(o, unittest.hasLength(2));
checkChangeLog(o[0]);
checkChangeLog(o[1]);
@@ -1328,7 +1328,7 @@
var o = new api.ChangeLogsListResponse();
buildCounterChangeLogsListResponse++;
if (buildCounterChangeLogsListResponse < 3) {
- o.changeLogs = buildUnnamed5449();
+ o.changeLogs = buildUnnamed5425();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -1339,21 +1339,21 @@
checkChangeLogsListResponse(api.ChangeLogsListResponse o) {
buildCounterChangeLogsListResponse++;
if (buildCounterChangeLogsListResponse < 3) {
- checkUnnamed5449(o.changeLogs);
+ checkUnnamed5425(o.changeLogs);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterChangeLogsListResponse--;
}
-buildUnnamed5450() {
+buildUnnamed5426() {
var o = new core.List<api.ChannelGroupingRule>();
o.add(buildChannelGroupingRule());
o.add(buildChannelGroupingRule());
return o;
}
-checkUnnamed5450(core.List<api.ChannelGroupingRule> o) {
+checkUnnamed5426(core.List<api.ChannelGroupingRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkChannelGroupingRule(o[0]);
checkChannelGroupingRule(o[1]);
@@ -1367,7 +1367,7 @@
o.fallbackName = "foo";
o.kind = "foo";
o.name = "foo";
- o.rules = buildUnnamed5450();
+ o.rules = buildUnnamed5426();
}
buildCounterChannelGrouping--;
return o;
@@ -1379,19 +1379,19 @@
unittest.expect(o.fallbackName, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed5450(o.rules);
+ checkUnnamed5426(o.rules);
}
buildCounterChannelGrouping--;
}
-buildUnnamed5451() {
+buildUnnamed5427() {
var o = new core.List<api.DisjunctiveMatchStatement>();
o.add(buildDisjunctiveMatchStatement());
o.add(buildDisjunctiveMatchStatement());
return o;
}
-checkUnnamed5451(core.List<api.DisjunctiveMatchStatement> o) {
+checkUnnamed5427(core.List<api.DisjunctiveMatchStatement> o) {
unittest.expect(o, unittest.hasLength(2));
checkDisjunctiveMatchStatement(o[0]);
checkDisjunctiveMatchStatement(o[1]);
@@ -1402,7 +1402,7 @@
var o = new api.ChannelGroupingRule();
buildCounterChannelGroupingRule++;
if (buildCounterChannelGroupingRule < 3) {
- o.disjunctiveMatchStatements = buildUnnamed5451();
+ o.disjunctiveMatchStatements = buildUnnamed5427();
o.kind = "foo";
o.name = "foo";
}
@@ -1413,21 +1413,21 @@
checkChannelGroupingRule(api.ChannelGroupingRule o) {
buildCounterChannelGroupingRule++;
if (buildCounterChannelGroupingRule < 3) {
- checkUnnamed5451(o.disjunctiveMatchStatements);
+ checkUnnamed5427(o.disjunctiveMatchStatements);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
}
buildCounterChannelGroupingRule--;
}
-buildUnnamed5452() {
+buildUnnamed5428() {
var o = new core.List<api.City>();
o.add(buildCity());
o.add(buildCity());
return o;
}
-checkUnnamed5452(core.List<api.City> o) {
+checkUnnamed5428(core.List<api.City> o) {
unittest.expect(o, unittest.hasLength(2));
checkCity(o[0]);
checkCity(o[1]);
@@ -1438,7 +1438,7 @@
var o = new api.CitiesListResponse();
buildCounterCitiesListResponse++;
if (buildCounterCitiesListResponse < 3) {
- o.cities = buildUnnamed5452();
+ o.cities = buildUnnamed5428();
o.kind = "foo";
}
buildCounterCitiesListResponse--;
@@ -1448,7 +1448,7 @@
checkCitiesListResponse(api.CitiesListResponse o) {
buildCounterCitiesListResponse++;
if (buildCounterCitiesListResponse < 3) {
- checkUnnamed5452(o.cities);
+ checkUnnamed5428(o.cities);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterCitiesListResponse--;
@@ -1579,14 +1579,14 @@
buildCounterCompanionClickThroughOverride--;
}
-buildUnnamed5453() {
+buildUnnamed5429() {
var o = new core.List<api.Size>();
o.add(buildSize());
o.add(buildSize());
return o;
}
-checkUnnamed5453(core.List<api.Size> o) {
+checkUnnamed5429(core.List<api.Size> o) {
unittest.expect(o, unittest.hasLength(2));
checkSize(o[0]);
checkSize(o[1]);
@@ -1598,7 +1598,7 @@
buildCounterCompanionSetting++;
if (buildCounterCompanionSetting < 3) {
o.companionsDisabled = true;
- o.enabledSizes = buildUnnamed5453();
+ o.enabledSizes = buildUnnamed5429();
o.imageOnly = true;
o.kind = "foo";
}
@@ -1610,7 +1610,7 @@
buildCounterCompanionSetting++;
if (buildCounterCompanionSetting < 3) {
unittest.expect(o.companionsDisabled, unittest.isTrue);
- checkUnnamed5453(o.enabledSizes);
+ checkUnnamed5429(o.enabledSizes);
unittest.expect(o.imageOnly, unittest.isTrue);
unittest.expect(o.kind, unittest.equals('foo'));
}
@@ -1678,14 +1678,14 @@
buildCounterConnectionType--;
}
-buildUnnamed5454() {
+buildUnnamed5430() {
var o = new core.List<api.ConnectionType>();
o.add(buildConnectionType());
o.add(buildConnectionType());
return o;
}
-checkUnnamed5454(core.List<api.ConnectionType> o) {
+checkUnnamed5430(core.List<api.ConnectionType> o) {
unittest.expect(o, unittest.hasLength(2));
checkConnectionType(o[0]);
checkConnectionType(o[1]);
@@ -1696,7 +1696,7 @@
var o = new api.ConnectionTypesListResponse();
buildCounterConnectionTypesListResponse++;
if (buildCounterConnectionTypesListResponse < 3) {
- o.connectionTypes = buildUnnamed5454();
+ o.connectionTypes = buildUnnamed5430();
o.kind = "foo";
}
buildCounterConnectionTypesListResponse--;
@@ -1706,20 +1706,20 @@
checkConnectionTypesListResponse(api.ConnectionTypesListResponse o) {
buildCounterConnectionTypesListResponse++;
if (buildCounterConnectionTypesListResponse < 3) {
- checkUnnamed5454(o.connectionTypes);
+ checkUnnamed5430(o.connectionTypes);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterConnectionTypesListResponse--;
}
-buildUnnamed5455() {
+buildUnnamed5431() {
var o = new core.List<api.ContentCategory>();
o.add(buildContentCategory());
o.add(buildContentCategory());
return o;
}
-checkUnnamed5455(core.List<api.ContentCategory> o) {
+checkUnnamed5431(core.List<api.ContentCategory> o) {
unittest.expect(o, unittest.hasLength(2));
checkContentCategory(o[0]);
checkContentCategory(o[1]);
@@ -1730,7 +1730,7 @@
var o = new api.ContentCategoriesListResponse();
buildCounterContentCategoriesListResponse++;
if (buildCounterContentCategoriesListResponse < 3) {
- o.contentCategories = buildUnnamed5455();
+ o.contentCategories = buildUnnamed5431();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -1741,7 +1741,7 @@
checkContentCategoriesListResponse(api.ContentCategoriesListResponse o) {
buildCounterContentCategoriesListResponse++;
if (buildCounterContentCategoriesListResponse < 3) {
- checkUnnamed5455(o.contentCategories);
+ checkUnnamed5431(o.contentCategories);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -1773,27 +1773,27 @@
buildCounterContentCategory--;
}
-buildUnnamed5456() {
+buildUnnamed5432() {
var o = new core.List<api.CustomFloodlightVariable>();
o.add(buildCustomFloodlightVariable());
o.add(buildCustomFloodlightVariable());
return o;
}
-checkUnnamed5456(core.List<api.CustomFloodlightVariable> o) {
+checkUnnamed5432(core.List<api.CustomFloodlightVariable> o) {
unittest.expect(o, unittest.hasLength(2));
checkCustomFloodlightVariable(o[0]);
checkCustomFloodlightVariable(o[1]);
}
-buildUnnamed5457() {
+buildUnnamed5433() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5457(core.List<core.String> o) {
+checkUnnamed5433(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1805,10 +1805,10 @@
buildCounterConversion++;
if (buildCounterConversion < 3) {
o.childDirectedTreatment = true;
- o.customVariables = buildUnnamed5456();
+ o.customVariables = buildUnnamed5432();
o.dclid = "foo";
o.encryptedUserId = "foo";
- o.encryptedUserIdCandidates = buildUnnamed5457();
+ o.encryptedUserIdCandidates = buildUnnamed5433();
o.floodlightActivityId = "foo";
o.floodlightConfigurationId = "foo";
o.gclid = "foo";
@@ -1831,10 +1831,10 @@
buildCounterConversion++;
if (buildCounterConversion < 3) {
unittest.expect(o.childDirectedTreatment, unittest.isTrue);
- checkUnnamed5456(o.customVariables);
+ checkUnnamed5432(o.customVariables);
unittest.expect(o.dclid, unittest.equals('foo'));
unittest.expect(o.encryptedUserId, unittest.equals('foo'));
- checkUnnamed5457(o.encryptedUserIdCandidates);
+ checkUnnamed5433(o.encryptedUserIdCandidates);
unittest.expect(o.floodlightActivityId, unittest.equals('foo'));
unittest.expect(o.floodlightConfigurationId, unittest.equals('foo'));
unittest.expect(o.gclid, unittest.equals('foo'));
@@ -1875,14 +1875,14 @@
buildCounterConversionError--;
}
-buildUnnamed5458() {
+buildUnnamed5434() {
var o = new core.List<api.ConversionError>();
o.add(buildConversionError());
o.add(buildConversionError());
return o;
}
-checkUnnamed5458(core.List<api.ConversionError> o) {
+checkUnnamed5434(core.List<api.ConversionError> o) {
unittest.expect(o, unittest.hasLength(2));
checkConversionError(o[0]);
checkConversionError(o[1]);
@@ -1894,7 +1894,7 @@
buildCounterConversionStatus++;
if (buildCounterConversionStatus < 3) {
o.conversion = buildConversion();
- o.errors = buildUnnamed5458();
+ o.errors = buildUnnamed5434();
o.kind = "foo";
}
buildCounterConversionStatus--;
@@ -1905,20 +1905,20 @@
buildCounterConversionStatus++;
if (buildCounterConversionStatus < 3) {
checkConversion(o.conversion);
- checkUnnamed5458(o.errors);
+ checkUnnamed5434(o.errors);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterConversionStatus--;
}
-buildUnnamed5459() {
+buildUnnamed5435() {
var o = new core.List<api.Conversion>();
o.add(buildConversion());
o.add(buildConversion());
return o;
}
-checkUnnamed5459(core.List<api.Conversion> o) {
+checkUnnamed5435(core.List<api.Conversion> o) {
unittest.expect(o, unittest.hasLength(2));
checkConversion(o[0]);
checkConversion(o[1]);
@@ -1929,7 +1929,7 @@
var o = new api.ConversionsBatchInsertRequest();
buildCounterConversionsBatchInsertRequest++;
if (buildCounterConversionsBatchInsertRequest < 3) {
- o.conversions = buildUnnamed5459();
+ o.conversions = buildUnnamed5435();
o.encryptionInfo = buildEncryptionInfo();
o.kind = "foo";
}
@@ -1940,21 +1940,21 @@
checkConversionsBatchInsertRequest(api.ConversionsBatchInsertRequest o) {
buildCounterConversionsBatchInsertRequest++;
if (buildCounterConversionsBatchInsertRequest < 3) {
- checkUnnamed5459(o.conversions);
+ checkUnnamed5435(o.conversions);
checkEncryptionInfo(o.encryptionInfo);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterConversionsBatchInsertRequest--;
}
-buildUnnamed5460() {
+buildUnnamed5436() {
var o = new core.List<api.ConversionStatus>();
o.add(buildConversionStatus());
o.add(buildConversionStatus());
return o;
}
-checkUnnamed5460(core.List<api.ConversionStatus> o) {
+checkUnnamed5436(core.List<api.ConversionStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkConversionStatus(o[0]);
checkConversionStatus(o[1]);
@@ -1967,7 +1967,7 @@
if (buildCounterConversionsBatchInsertResponse < 3) {
o.hasFailures = true;
o.kind = "foo";
- o.status = buildUnnamed5460();
+ o.status = buildUnnamed5436();
}
buildCounterConversionsBatchInsertResponse--;
return o;
@@ -1978,19 +1978,19 @@
if (buildCounterConversionsBatchInsertResponse < 3) {
unittest.expect(o.hasFailures, unittest.isTrue);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed5460(o.status);
+ checkUnnamed5436(o.status);
}
buildCounterConversionsBatchInsertResponse--;
}
-buildUnnamed5461() {
+buildUnnamed5437() {
var o = new core.List<api.Conversion>();
o.add(buildConversion());
o.add(buildConversion());
return o;
}
-checkUnnamed5461(core.List<api.Conversion> o) {
+checkUnnamed5437(core.List<api.Conversion> o) {
unittest.expect(o, unittest.hasLength(2));
checkConversion(o[0]);
checkConversion(o[1]);
@@ -2001,7 +2001,7 @@
var o = new api.ConversionsBatchUpdateRequest();
buildCounterConversionsBatchUpdateRequest++;
if (buildCounterConversionsBatchUpdateRequest < 3) {
- o.conversions = buildUnnamed5461();
+ o.conversions = buildUnnamed5437();
o.encryptionInfo = buildEncryptionInfo();
o.kind = "foo";
}
@@ -2012,21 +2012,21 @@
checkConversionsBatchUpdateRequest(api.ConversionsBatchUpdateRequest o) {
buildCounterConversionsBatchUpdateRequest++;
if (buildCounterConversionsBatchUpdateRequest < 3) {
- checkUnnamed5461(o.conversions);
+ checkUnnamed5437(o.conversions);
checkEncryptionInfo(o.encryptionInfo);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterConversionsBatchUpdateRequest--;
}
-buildUnnamed5462() {
+buildUnnamed5438() {
var o = new core.List<api.ConversionStatus>();
o.add(buildConversionStatus());
o.add(buildConversionStatus());
return o;
}
-checkUnnamed5462(core.List<api.ConversionStatus> o) {
+checkUnnamed5438(core.List<api.ConversionStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkConversionStatus(o[0]);
checkConversionStatus(o[1]);
@@ -2039,7 +2039,7 @@
if (buildCounterConversionsBatchUpdateResponse < 3) {
o.hasFailures = true;
o.kind = "foo";
- o.status = buildUnnamed5462();
+ o.status = buildUnnamed5438();
}
buildCounterConversionsBatchUpdateResponse--;
return o;
@@ -2050,19 +2050,19 @@
if (buildCounterConversionsBatchUpdateResponse < 3) {
unittest.expect(o.hasFailures, unittest.isTrue);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed5462(o.status);
+ checkUnnamed5438(o.status);
}
buildCounterConversionsBatchUpdateResponse--;
}
-buildUnnamed5463() {
+buildUnnamed5439() {
var o = new core.List<api.Country>();
o.add(buildCountry());
o.add(buildCountry());
return o;
}
-checkUnnamed5463(core.List<api.Country> o) {
+checkUnnamed5439(core.List<api.Country> o) {
unittest.expect(o, unittest.hasLength(2));
checkCountry(o[0]);
checkCountry(o[1]);
@@ -2073,7 +2073,7 @@
var o = new api.CountriesListResponse();
buildCounterCountriesListResponse++;
if (buildCounterCountriesListResponse < 3) {
- o.countries = buildUnnamed5463();
+ o.countries = buildUnnamed5439();
o.kind = "foo";
}
buildCounterCountriesListResponse--;
@@ -2083,7 +2083,7 @@
checkCountriesListResponse(api.CountriesListResponse o) {
buildCounterCountriesListResponse++;
if (buildCounterCountriesListResponse < 3) {
- checkUnnamed5463(o.countries);
+ checkUnnamed5439(o.countries);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterCountriesListResponse--;
@@ -2116,170 +2116,170 @@
buildCounterCountry--;
}
-buildUnnamed5464() {
+buildUnnamed5440() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5464(core.List<core.String> o) {
+checkUnnamed5440(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed5465() {
+buildUnnamed5441() {
var o = new core.List<api.Size>();
o.add(buildSize());
o.add(buildSize());
return o;
}
-checkUnnamed5465(core.List<api.Size> o) {
+checkUnnamed5441(core.List<api.Size> o) {
unittest.expect(o, unittest.hasLength(2));
checkSize(o[0]);
checkSize(o[1]);
}
-buildUnnamed5466() {
+buildUnnamed5442() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5466(core.List<core.String> o) {
+checkUnnamed5442(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed5467() {
+buildUnnamed5443() {
var o = new core.List<api.ClickTag>();
o.add(buildClickTag());
o.add(buildClickTag());
return o;
}
-checkUnnamed5467(core.List<api.ClickTag> o) {
+checkUnnamed5443(core.List<api.ClickTag> o) {
unittest.expect(o, unittest.hasLength(2));
checkClickTag(o[0]);
checkClickTag(o[1]);
}
-buildUnnamed5468() {
+buildUnnamed5444() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5468(core.List<core.String> o) {
+checkUnnamed5444(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed5469() {
+buildUnnamed5445() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5469(core.List<core.String> o) {
+checkUnnamed5445(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed5470() {
+buildUnnamed5446() {
var o = new core.List<api.CreativeCustomEvent>();
o.add(buildCreativeCustomEvent());
o.add(buildCreativeCustomEvent());
return o;
}
-checkUnnamed5470(core.List<api.CreativeCustomEvent> o) {
+checkUnnamed5446(core.List<api.CreativeCustomEvent> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeCustomEvent(o[0]);
checkCreativeCustomEvent(o[1]);
}
-buildUnnamed5471() {
+buildUnnamed5447() {
var o = new core.List<api.CreativeAsset>();
o.add(buildCreativeAsset());
o.add(buildCreativeAsset());
return o;
}
-checkUnnamed5471(core.List<api.CreativeAsset> o) {
+checkUnnamed5447(core.List<api.CreativeAsset> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeAsset(o[0]);
checkCreativeAsset(o[1]);
}
-buildUnnamed5472() {
+buildUnnamed5448() {
var o = new core.List<api.CreativeFieldAssignment>();
o.add(buildCreativeFieldAssignment());
o.add(buildCreativeFieldAssignment());
return o;
}
-checkUnnamed5472(core.List<api.CreativeFieldAssignment> o) {
+checkUnnamed5448(core.List<api.CreativeFieldAssignment> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeFieldAssignment(o[0]);
checkCreativeFieldAssignment(o[1]);
}
-buildUnnamed5473() {
+buildUnnamed5449() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5473(core.List<core.String> o) {
+checkUnnamed5449(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed5474() {
+buildUnnamed5450() {
var o = new core.List<api.CreativeCustomEvent>();
o.add(buildCreativeCustomEvent());
o.add(buildCreativeCustomEvent());
return o;
}
-checkUnnamed5474(core.List<api.CreativeCustomEvent> o) {
+checkUnnamed5450(core.List<api.CreativeCustomEvent> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeCustomEvent(o[0]);
checkCreativeCustomEvent(o[1]);
}
-buildUnnamed5475() {
+buildUnnamed5451() {
var o = new core.List<api.ThirdPartyTrackingUrl>();
o.add(buildThirdPartyTrackingUrl());
o.add(buildThirdPartyTrackingUrl());
return o;
}
-checkUnnamed5475(core.List<api.ThirdPartyTrackingUrl> o) {
+checkUnnamed5451(core.List<api.ThirdPartyTrackingUrl> o) {
unittest.expect(o, unittest.hasLength(2));
checkThirdPartyTrackingUrl(o[0]);
checkThirdPartyTrackingUrl(o[1]);
}
-buildUnnamed5476() {
+buildUnnamed5452() {
var o = new core.List<api.CreativeCustomEvent>();
o.add(buildCreativeCustomEvent());
o.add(buildCreativeCustomEvent());
return o;
}
-checkUnnamed5476(core.List<api.CreativeCustomEvent> o) {
+checkUnnamed5452(core.List<api.CreativeCustomEvent> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeCustomEvent(o[0]);
checkCreativeCustomEvent(o[1]);
@@ -2293,8 +2293,8 @@
o.accountId = "foo";
o.active = true;
o.adParameters = "foo";
- o.adTagKeys = buildUnnamed5464();
- o.additionalSizes = buildUnnamed5465();
+ o.adTagKeys = buildUnnamed5440();
+ o.additionalSizes = buildUnnamed5441();
o.advertiserId = "foo";
o.allowScriptAccess = true;
o.archived = true;
@@ -2304,21 +2304,21 @@
o.autoAdvanceImages = true;
o.backgroundColor = "foo";
o.backupImageClickThroughUrl = buildCreativeClickThroughUrl();
- o.backupImageFeatures = buildUnnamed5466();
+ o.backupImageFeatures = buildUnnamed5442();
o.backupImageReportingLabel = "foo";
o.backupImageTargetWindow = buildTargetWindow();
- o.clickTags = buildUnnamed5467();
+ o.clickTags = buildUnnamed5443();
o.commercialId = "foo";
- o.companionCreatives = buildUnnamed5468();
- o.compatibility = buildUnnamed5469();
+ o.companionCreatives = buildUnnamed5444();
+ o.compatibility = buildUnnamed5445();
o.convertFlashToHtml5 = true;
- o.counterCustomEvents = buildUnnamed5470();
+ o.counterCustomEvents = buildUnnamed5446();
o.creativeAssetSelection = buildCreativeAssetSelection();
- o.creativeAssets = buildUnnamed5471();
- o.creativeFieldAssignments = buildUnnamed5472();
- o.customKeyValues = buildUnnamed5473();
+ o.creativeAssets = buildUnnamed5447();
+ o.creativeFieldAssignments = buildUnnamed5448();
+ o.customKeyValues = buildUnnamed5449();
o.dynamicAssetSelection = true;
- o.exitCustomEvents = buildUnnamed5474();
+ o.exitCustomEvents = buildUnnamed5450();
o.fsCommand = buildFsCommand();
o.htmlCode = "foo";
o.htmlCodeLocked = true;
@@ -2349,8 +2349,8 @@
o.subaccountId = "foo";
o.thirdPartyBackupImageImpressionsUrl = "foo";
o.thirdPartyRichMediaImpressionsUrl = "foo";
- o.thirdPartyUrls = buildUnnamed5475();
- o.timerCustomEvents = buildUnnamed5476();
+ o.thirdPartyUrls = buildUnnamed5451();
+ o.timerCustomEvents = buildUnnamed5452();
o.totalFileSize = "foo";
o.type = "foo";
o.universalAdId = buildUniversalAdId();
@@ -2366,8 +2366,8 @@
unittest.expect(o.accountId, unittest.equals('foo'));
unittest.expect(o.active, unittest.isTrue);
unittest.expect(o.adParameters, unittest.equals('foo'));
- checkUnnamed5464(o.adTagKeys);
- checkUnnamed5465(o.additionalSizes);
+ checkUnnamed5440(o.adTagKeys);
+ checkUnnamed5441(o.additionalSizes);
unittest.expect(o.advertiserId, unittest.equals('foo'));
unittest.expect(o.allowScriptAccess, unittest.isTrue);
unittest.expect(o.archived, unittest.isTrue);
@@ -2377,21 +2377,21 @@
unittest.expect(o.autoAdvanceImages, unittest.isTrue);
unittest.expect(o.backgroundColor, unittest.equals('foo'));
checkCreativeClickThroughUrl(o.backupImageClickThroughUrl);
- checkUnnamed5466(o.backupImageFeatures);
+ checkUnnamed5442(o.backupImageFeatures);
unittest.expect(o.backupImageReportingLabel, unittest.equals('foo'));
checkTargetWindow(o.backupImageTargetWindow);
- checkUnnamed5467(o.clickTags);
+ checkUnnamed5443(o.clickTags);
unittest.expect(o.commercialId, unittest.equals('foo'));
- checkUnnamed5468(o.companionCreatives);
- checkUnnamed5469(o.compatibility);
+ checkUnnamed5444(o.companionCreatives);
+ checkUnnamed5445(o.compatibility);
unittest.expect(o.convertFlashToHtml5, unittest.isTrue);
- checkUnnamed5470(o.counterCustomEvents);
+ checkUnnamed5446(o.counterCustomEvents);
checkCreativeAssetSelection(o.creativeAssetSelection);
- checkUnnamed5471(o.creativeAssets);
- checkUnnamed5472(o.creativeFieldAssignments);
- checkUnnamed5473(o.customKeyValues);
+ checkUnnamed5447(o.creativeAssets);
+ checkUnnamed5448(o.creativeFieldAssignments);
+ checkUnnamed5449(o.customKeyValues);
unittest.expect(o.dynamicAssetSelection, unittest.isTrue);
- checkUnnamed5474(o.exitCustomEvents);
+ checkUnnamed5450(o.exitCustomEvents);
checkFsCommand(o.fsCommand);
unittest.expect(o.htmlCode, unittest.equals('foo'));
unittest.expect(o.htmlCodeLocked, unittest.isTrue);
@@ -2424,8 +2424,8 @@
o.thirdPartyBackupImageImpressionsUrl, unittest.equals('foo'));
unittest.expect(
o.thirdPartyRichMediaImpressionsUrl, unittest.equals('foo'));
- checkUnnamed5475(o.thirdPartyUrls);
- checkUnnamed5476(o.timerCustomEvents);
+ checkUnnamed5451(o.thirdPartyUrls);
+ checkUnnamed5452(o.timerCustomEvents);
unittest.expect(o.totalFileSize, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
checkUniversalAdId(o.universalAdId);
@@ -2434,40 +2434,40 @@
buildCounterCreative--;
}
-buildUnnamed5477() {
+buildUnnamed5453() {
var o = new core.List<api.Size>();
o.add(buildSize());
o.add(buildSize());
return o;
}
-checkUnnamed5477(core.List<api.Size> o) {
+checkUnnamed5453(core.List<api.Size> o) {
unittest.expect(o, unittest.hasLength(2));
checkSize(o[0]);
checkSize(o[1]);
}
-buildUnnamed5478() {
+buildUnnamed5454() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5478(core.List<core.String> o) {
+checkUnnamed5454(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed5479() {
+buildUnnamed5455() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5479(core.List<core.String> o) {
+checkUnnamed5455(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2480,7 +2480,7 @@
if (buildCounterCreativeAsset < 3) {
o.actionScript3 = true;
o.active = true;
- o.additionalSizes = buildUnnamed5477();
+ o.additionalSizes = buildUnnamed5453();
o.alignment = "foo";
o.artworkType = "foo";
o.assetIdentifier = buildCreativeAssetId();
@@ -2490,9 +2490,9 @@
o.bitRate = 42;
o.childAssetType = "foo";
o.collapsedSize = buildSize();
- o.companionCreativeIds = buildUnnamed5478();
+ o.companionCreativeIds = buildUnnamed5454();
o.customStartTimeValue = 42;
- o.detectedFeatures = buildUnnamed5479();
+ o.detectedFeatures = buildUnnamed5455();
o.displayType = "foo";
o.duration = 42;
o.durationType = "foo";
@@ -2538,7 +2538,7 @@
if (buildCounterCreativeAsset < 3) {
unittest.expect(o.actionScript3, unittest.isTrue);
unittest.expect(o.active, unittest.isTrue);
- checkUnnamed5477(o.additionalSizes);
+ checkUnnamed5453(o.additionalSizes);
unittest.expect(o.alignment, unittest.equals('foo'));
unittest.expect(o.artworkType, unittest.equals('foo'));
checkCreativeAssetId(o.assetIdentifier);
@@ -2548,9 +2548,9 @@
unittest.expect(o.bitRate, unittest.equals(42));
unittest.expect(o.childAssetType, unittest.equals('foo'));
checkSize(o.collapsedSize);
- checkUnnamed5478(o.companionCreativeIds);
+ checkUnnamed5454(o.companionCreativeIds);
unittest.expect(o.customStartTimeValue, unittest.equals(42));
- checkUnnamed5479(o.detectedFeatures);
+ checkUnnamed5455(o.detectedFeatures);
unittest.expect(o.displayType, unittest.equals('foo'));
unittest.expect(o.duration, unittest.equals(42));
unittest.expect(o.durationType, unittest.equals('foo'));
@@ -2611,79 +2611,79 @@
buildCounterCreativeAssetId--;
}
-buildUnnamed5480() {
+buildUnnamed5456() {
var o = new core.List<api.ClickTag>();
o.add(buildClickTag());
o.add(buildClickTag());
return o;
}
-checkUnnamed5480(core.List<api.ClickTag> o) {
+checkUnnamed5456(core.List<api.ClickTag> o) {
unittest.expect(o, unittest.hasLength(2));
checkClickTag(o[0]);
checkClickTag(o[1]);
}
-buildUnnamed5481() {
+buildUnnamed5457() {
var o = new core.List<api.CreativeCustomEvent>();
o.add(buildCreativeCustomEvent());
o.add(buildCreativeCustomEvent());
return o;
}
-checkUnnamed5481(core.List<api.CreativeCustomEvent> o) {
+checkUnnamed5457(core.List<api.CreativeCustomEvent> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeCustomEvent(o[0]);
checkCreativeCustomEvent(o[1]);
}
-buildUnnamed5482() {
+buildUnnamed5458() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5482(core.List<core.String> o) {
+checkUnnamed5458(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed5483() {
+buildUnnamed5459() {
var o = new core.List<api.CreativeCustomEvent>();
o.add(buildCreativeCustomEvent());
o.add(buildCreativeCustomEvent());
return o;
}
-checkUnnamed5483(core.List<api.CreativeCustomEvent> o) {
+checkUnnamed5459(core.List<api.CreativeCustomEvent> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeCustomEvent(o[0]);
checkCreativeCustomEvent(o[1]);
}
-buildUnnamed5484() {
+buildUnnamed5460() {
var o = new core.List<api.CreativeCustomEvent>();
o.add(buildCreativeCustomEvent());
o.add(buildCreativeCustomEvent());
return o;
}
-checkUnnamed5484(core.List<api.CreativeCustomEvent> o) {
+checkUnnamed5460(core.List<api.CreativeCustomEvent> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeCustomEvent(o[0]);
checkCreativeCustomEvent(o[1]);
}
-buildUnnamed5485() {
+buildUnnamed5461() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5485(core.List<core.String> o) {
+checkUnnamed5461(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2695,16 +2695,16 @@
buildCounterCreativeAssetMetadata++;
if (buildCounterCreativeAssetMetadata < 3) {
o.assetIdentifier = buildCreativeAssetId();
- o.clickTags = buildUnnamed5480();
- o.counterCustomEvents = buildUnnamed5481();
- o.detectedFeatures = buildUnnamed5482();
- o.exitCustomEvents = buildUnnamed5483();
+ o.clickTags = buildUnnamed5456();
+ o.counterCustomEvents = buildUnnamed5457();
+ o.detectedFeatures = buildUnnamed5458();
+ o.exitCustomEvents = buildUnnamed5459();
o.id = "foo";
o.idDimensionValue = buildDimensionValue();
o.kind = "foo";
o.richMedia = true;
- o.timerCustomEvents = buildUnnamed5484();
- o.warnedValidationRules = buildUnnamed5485();
+ o.timerCustomEvents = buildUnnamed5460();
+ o.warnedValidationRules = buildUnnamed5461();
}
buildCounterCreativeAssetMetadata--;
return o;
@@ -2714,28 +2714,28 @@
buildCounterCreativeAssetMetadata++;
if (buildCounterCreativeAssetMetadata < 3) {
checkCreativeAssetId(o.assetIdentifier);
- checkUnnamed5480(o.clickTags);
- checkUnnamed5481(o.counterCustomEvents);
- checkUnnamed5482(o.detectedFeatures);
- checkUnnamed5483(o.exitCustomEvents);
+ checkUnnamed5456(o.clickTags);
+ checkUnnamed5457(o.counterCustomEvents);
+ checkUnnamed5458(o.detectedFeatures);
+ checkUnnamed5459(o.exitCustomEvents);
unittest.expect(o.id, unittest.equals('foo'));
checkDimensionValue(o.idDimensionValue);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.richMedia, unittest.isTrue);
- checkUnnamed5484(o.timerCustomEvents);
- checkUnnamed5485(o.warnedValidationRules);
+ checkUnnamed5460(o.timerCustomEvents);
+ checkUnnamed5461(o.warnedValidationRules);
}
buildCounterCreativeAssetMetadata--;
}
-buildUnnamed5486() {
+buildUnnamed5462() {
var o = new core.List<api.Rule>();
o.add(buildRule());
o.add(buildRule());
return o;
}
-checkUnnamed5486(core.List<api.Rule> o) {
+checkUnnamed5462(core.List<api.Rule> o) {
unittest.expect(o, unittest.hasLength(2));
checkRule(o[0]);
checkRule(o[1]);
@@ -2747,7 +2747,7 @@
buildCounterCreativeAssetSelection++;
if (buildCounterCreativeAssetSelection < 3) {
o.defaultAssetId = "foo";
- o.rules = buildUnnamed5486();
+ o.rules = buildUnnamed5462();
}
buildCounterCreativeAssetSelection--;
return o;
@@ -2757,45 +2757,45 @@
buildCounterCreativeAssetSelection++;
if (buildCounterCreativeAssetSelection < 3) {
unittest.expect(o.defaultAssetId, unittest.equals('foo'));
- checkUnnamed5486(o.rules);
+ checkUnnamed5462(o.rules);
}
buildCounterCreativeAssetSelection--;
}
-buildUnnamed5487() {
+buildUnnamed5463() {
var o = new core.List<api.CompanionClickThroughOverride>();
o.add(buildCompanionClickThroughOverride());
o.add(buildCompanionClickThroughOverride());
return o;
}
-checkUnnamed5487(core.List<api.CompanionClickThroughOverride> o) {
+checkUnnamed5463(core.List<api.CompanionClickThroughOverride> o) {
unittest.expect(o, unittest.hasLength(2));
checkCompanionClickThroughOverride(o[0]);
checkCompanionClickThroughOverride(o[1]);
}
-buildUnnamed5488() {
+buildUnnamed5464() {
var o = new core.List<api.CreativeGroupAssignment>();
o.add(buildCreativeGroupAssignment());
o.add(buildCreativeGroupAssignment());
return o;
}
-checkUnnamed5488(core.List<api.CreativeGroupAssignment> o) {
+checkUnnamed5464(core.List<api.CreativeGroupAssignment> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeGroupAssignment(o[0]);
checkCreativeGroupAssignment(o[1]);
}
-buildUnnamed5489() {
+buildUnnamed5465() {
var o = new core.List<api.RichMediaExitOverride>();
o.add(buildRichMediaExitOverride());
o.add(buildRichMediaExitOverride());
return o;
}
-checkUnnamed5489(core.List<api.RichMediaExitOverride> o) {
+checkUnnamed5465(core.List<api.RichMediaExitOverride> o) {
unittest.expect(o, unittest.hasLength(2));
checkRichMediaExitOverride(o[0]);
checkRichMediaExitOverride(o[1]);
@@ -2809,12 +2809,12 @@
o.active = true;
o.applyEventTags = true;
o.clickThroughUrl = buildClickThroughUrl();
- o.companionCreativeOverrides = buildUnnamed5487();
- o.creativeGroupAssignments = buildUnnamed5488();
+ o.companionCreativeOverrides = buildUnnamed5463();
+ o.creativeGroupAssignments = buildUnnamed5464();
o.creativeId = "foo";
o.creativeIdDimensionValue = buildDimensionValue();
o.endTime = core.DateTime.parse("2002-02-27T14:01:02");
- o.richMediaExitOverrides = buildUnnamed5489();
+ o.richMediaExitOverrides = buildUnnamed5465();
o.sequence = 42;
o.sslCompliant = true;
o.startTime = core.DateTime.parse("2002-02-27T14:01:02");
@@ -2830,13 +2830,13 @@
unittest.expect(o.active, unittest.isTrue);
unittest.expect(o.applyEventTags, unittest.isTrue);
checkClickThroughUrl(o.clickThroughUrl);
- checkUnnamed5487(o.companionCreativeOverrides);
- checkUnnamed5488(o.creativeGroupAssignments);
+ checkUnnamed5463(o.companionCreativeOverrides);
+ checkUnnamed5464(o.creativeGroupAssignments);
unittest.expect(o.creativeId, unittest.equals('foo'));
checkDimensionValue(o.creativeIdDimensionValue);
unittest.expect(
o.endTime, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
- checkUnnamed5489(o.richMediaExitOverrides);
+ checkUnnamed5465(o.richMediaExitOverrides);
unittest.expect(o.sequence, unittest.equals(42));
unittest.expect(o.sslCompliant, unittest.isTrue);
unittest.expect(o.startTime,
@@ -2981,14 +2981,14 @@
buildCounterCreativeFieldValue--;
}
-buildUnnamed5490() {
+buildUnnamed5466() {
var o = new core.List<api.CreativeFieldValue>();
o.add(buildCreativeFieldValue());
o.add(buildCreativeFieldValue());
return o;
}
-checkUnnamed5490(core.List<api.CreativeFieldValue> o) {
+checkUnnamed5466(core.List<api.CreativeFieldValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeFieldValue(o[0]);
checkCreativeFieldValue(o[1]);
@@ -2999,7 +2999,7 @@
var o = new api.CreativeFieldValuesListResponse();
buildCounterCreativeFieldValuesListResponse++;
if (buildCounterCreativeFieldValuesListResponse < 3) {
- o.creativeFieldValues = buildUnnamed5490();
+ o.creativeFieldValues = buildUnnamed5466();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -3010,21 +3010,21 @@
checkCreativeFieldValuesListResponse(api.CreativeFieldValuesListResponse o) {
buildCounterCreativeFieldValuesListResponse++;
if (buildCounterCreativeFieldValuesListResponse < 3) {
- checkUnnamed5490(o.creativeFieldValues);
+ checkUnnamed5466(o.creativeFieldValues);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterCreativeFieldValuesListResponse--;
}
-buildUnnamed5491() {
+buildUnnamed5467() {
var o = new core.List<api.CreativeField>();
o.add(buildCreativeField());
o.add(buildCreativeField());
return o;
}
-checkUnnamed5491(core.List<api.CreativeField> o) {
+checkUnnamed5467(core.List<api.CreativeField> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeField(o[0]);
checkCreativeField(o[1]);
@@ -3035,7 +3035,7 @@
var o = new api.CreativeFieldsListResponse();
buildCounterCreativeFieldsListResponse++;
if (buildCounterCreativeFieldsListResponse < 3) {
- o.creativeFields = buildUnnamed5491();
+ o.creativeFields = buildUnnamed5467();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -3046,7 +3046,7 @@
checkCreativeFieldsListResponse(api.CreativeFieldsListResponse o) {
buildCounterCreativeFieldsListResponse++;
if (buildCounterCreativeFieldsListResponse < 3) {
- checkUnnamed5491(o.creativeFields);
+ checkUnnamed5467(o.creativeFields);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -3107,14 +3107,14 @@
buildCounterCreativeGroupAssignment--;
}
-buildUnnamed5492() {
+buildUnnamed5468() {
var o = new core.List<api.CreativeGroup>();
o.add(buildCreativeGroup());
o.add(buildCreativeGroup());
return o;
}
-checkUnnamed5492(core.List<api.CreativeGroup> o) {
+checkUnnamed5468(core.List<api.CreativeGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeGroup(o[0]);
checkCreativeGroup(o[1]);
@@ -3125,7 +3125,7 @@
var o = new api.CreativeGroupsListResponse();
buildCounterCreativeGroupsListResponse++;
if (buildCounterCreativeGroupsListResponse < 3) {
- o.creativeGroups = buildUnnamed5492();
+ o.creativeGroups = buildUnnamed5468();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -3136,21 +3136,21 @@
checkCreativeGroupsListResponse(api.CreativeGroupsListResponse o) {
buildCounterCreativeGroupsListResponse++;
if (buildCounterCreativeGroupsListResponse < 3) {
- checkUnnamed5492(o.creativeGroups);
+ checkUnnamed5468(o.creativeGroups);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterCreativeGroupsListResponse--;
}
-buildUnnamed5493() {
+buildUnnamed5469() {
var o = new core.List<api.OptimizationActivity>();
o.add(buildOptimizationActivity());
o.add(buildOptimizationActivity());
return o;
}
-checkUnnamed5493(core.List<api.OptimizationActivity> o) {
+checkUnnamed5469(core.List<api.OptimizationActivity> o) {
unittest.expect(o, unittest.hasLength(2));
checkOptimizationActivity(o[0]);
checkOptimizationActivity(o[1]);
@@ -3163,7 +3163,7 @@
if (buildCounterCreativeOptimizationConfiguration < 3) {
o.id = "foo";
o.name = "foo";
- o.optimizationActivitys = buildUnnamed5493();
+ o.optimizationActivitys = buildUnnamed5469();
o.optimizationModel = "foo";
}
buildCounterCreativeOptimizationConfiguration--;
@@ -3176,20 +3176,20 @@
if (buildCounterCreativeOptimizationConfiguration < 3) {
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed5493(o.optimizationActivitys);
+ checkUnnamed5469(o.optimizationActivitys);
unittest.expect(o.optimizationModel, unittest.equals('foo'));
}
buildCounterCreativeOptimizationConfiguration--;
}
-buildUnnamed5494() {
+buildUnnamed5470() {
var o = new core.List<api.CreativeAssignment>();
o.add(buildCreativeAssignment());
o.add(buildCreativeAssignment());
return o;
}
-checkUnnamed5494(core.List<api.CreativeAssignment> o) {
+checkUnnamed5470(core.List<api.CreativeAssignment> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeAssignment(o[0]);
checkCreativeAssignment(o[1]);
@@ -3200,7 +3200,7 @@
var o = new api.CreativeRotation();
buildCounterCreativeRotation++;
if (buildCounterCreativeRotation < 3) {
- o.creativeAssignments = buildUnnamed5494();
+ o.creativeAssignments = buildUnnamed5470();
o.creativeOptimizationConfigurationId = "foo";
o.type = "foo";
o.weightCalculationStrategy = "foo";
@@ -3212,7 +3212,7 @@
checkCreativeRotation(api.CreativeRotation o) {
buildCounterCreativeRotation++;
if (buildCounterCreativeRotation < 3) {
- checkUnnamed5494(o.creativeAssignments);
+ checkUnnamed5470(o.creativeAssignments);
unittest.expect(
o.creativeOptimizationConfigurationId, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
@@ -3221,14 +3221,14 @@
buildCounterCreativeRotation--;
}
-buildUnnamed5495() {
+buildUnnamed5471() {
var o = new core.List<api.Creative>();
o.add(buildCreative());
o.add(buildCreative());
return o;
}
-checkUnnamed5495(core.List<api.Creative> o) {
+checkUnnamed5471(core.List<api.Creative> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreative(o[0]);
checkCreative(o[1]);
@@ -3239,7 +3239,7 @@
var o = new api.CreativesListResponse();
buildCounterCreativesListResponse++;
if (buildCounterCreativesListResponse < 3) {
- o.creatives = buildUnnamed5495();
+ o.creatives = buildUnnamed5471();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -3250,60 +3250,60 @@
checkCreativesListResponse(api.CreativesListResponse o) {
buildCounterCreativesListResponse++;
if (buildCounterCreativesListResponse < 3) {
- checkUnnamed5495(o.creatives);
+ checkUnnamed5471(o.creatives);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterCreativesListResponse--;
}
-buildUnnamed5496() {
+buildUnnamed5472() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed5496(core.List<api.Dimension> o) {
+checkUnnamed5472(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
}
-buildUnnamed5497() {
+buildUnnamed5473() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed5497(core.List<api.Dimension> o) {
+checkUnnamed5473(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
}
-buildUnnamed5498() {
+buildUnnamed5474() {
var o = new core.List<api.Metric>();
o.add(buildMetric());
o.add(buildMetric());
return o;
}
-checkUnnamed5498(core.List<api.Metric> o) {
+checkUnnamed5474(core.List<api.Metric> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetric(o[0]);
checkMetric(o[1]);
}
-buildUnnamed5499() {
+buildUnnamed5475() {
var o = new core.List<api.Metric>();
o.add(buildMetric());
o.add(buildMetric());
return o;
}
-checkUnnamed5499(core.List<api.Metric> o) {
+checkUnnamed5475(core.List<api.Metric> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetric(o[0]);
checkMetric(o[1]);
@@ -3314,11 +3314,11 @@
var o = new api.CrossDimensionReachReportCompatibleFields();
buildCounterCrossDimensionReachReportCompatibleFields++;
if (buildCounterCrossDimensionReachReportCompatibleFields < 3) {
- o.breakdown = buildUnnamed5496();
- o.dimensionFilters = buildUnnamed5497();
+ o.breakdown = buildUnnamed5472();
+ o.dimensionFilters = buildUnnamed5473();
o.kind = "foo";
- o.metrics = buildUnnamed5498();
- o.overlapMetrics = buildUnnamed5499();
+ o.metrics = buildUnnamed5474();
+ o.overlapMetrics = buildUnnamed5475();
}
buildCounterCrossDimensionReachReportCompatibleFields--;
return o;
@@ -3328,23 +3328,23 @@
api.CrossDimensionReachReportCompatibleFields o) {
buildCounterCrossDimensionReachReportCompatibleFields++;
if (buildCounterCrossDimensionReachReportCompatibleFields < 3) {
- checkUnnamed5496(o.breakdown);
- checkUnnamed5497(o.dimensionFilters);
+ checkUnnamed5472(o.breakdown);
+ checkUnnamed5473(o.dimensionFilters);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed5498(o.metrics);
- checkUnnamed5499(o.overlapMetrics);
+ checkUnnamed5474(o.metrics);
+ checkUnnamed5475(o.overlapMetrics);
}
buildCounterCrossDimensionReachReportCompatibleFields--;
}
-buildUnnamed5500() {
+buildUnnamed5476() {
var o = new core.List<api.CustomVariable>();
o.add(buildCustomVariable());
o.add(buildCustomVariable());
return o;
}
-checkUnnamed5500(core.List<api.CustomVariable> o) {
+checkUnnamed5476(core.List<api.CustomVariable> o) {
unittest.expect(o, unittest.hasLength(2));
checkCustomVariable(o[0]);
checkCustomVariable(o[1]);
@@ -3357,7 +3357,7 @@
if (buildCounterCustomEvent < 3) {
o.annotateClickEvent = buildCustomEventClickAnnotation();
o.annotateImpressionEvent = buildCustomEventImpressionAnnotation();
- o.customVariables = buildUnnamed5500();
+ o.customVariables = buildUnnamed5476();
o.eventType = "foo";
o.floodlightConfigurationId = "foo";
o.insertEvent = buildCustomEventInsert();
@@ -3374,7 +3374,7 @@
if (buildCounterCustomEvent < 3) {
checkCustomEventClickAnnotation(o.annotateClickEvent);
checkCustomEventImpressionAnnotation(o.annotateImpressionEvent);
- checkUnnamed5500(o.customVariables);
+ checkUnnamed5476(o.customVariables);
unittest.expect(o.eventType, unittest.equals('foo'));
unittest.expect(o.floodlightConfigurationId, unittest.equals('foo'));
checkCustomEventInsert(o.insertEvent);
@@ -3479,14 +3479,14 @@
buildCounterCustomEventInsert--;
}
-buildUnnamed5501() {
+buildUnnamed5477() {
var o = new core.List<api.CustomEventError>();
o.add(buildCustomEventError());
o.add(buildCustomEventError());
return o;
}
-checkUnnamed5501(core.List<api.CustomEventError> o) {
+checkUnnamed5477(core.List<api.CustomEventError> o) {
unittest.expect(o, unittest.hasLength(2));
checkCustomEventError(o[0]);
checkCustomEventError(o[1]);
@@ -3498,7 +3498,7 @@
buildCounterCustomEventStatus++;
if (buildCounterCustomEventStatus < 3) {
o.customEvent = buildCustomEvent();
- o.errors = buildUnnamed5501();
+ o.errors = buildUnnamed5477();
o.kind = "foo";
}
buildCounterCustomEventStatus--;
@@ -3509,20 +3509,20 @@
buildCounterCustomEventStatus++;
if (buildCounterCustomEventStatus < 3) {
checkCustomEvent(o.customEvent);
- checkUnnamed5501(o.errors);
+ checkUnnamed5477(o.errors);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterCustomEventStatus--;
}
-buildUnnamed5502() {
+buildUnnamed5478() {
var o = new core.List<api.CustomEvent>();
o.add(buildCustomEvent());
o.add(buildCustomEvent());
return o;
}
-checkUnnamed5502(core.List<api.CustomEvent> o) {
+checkUnnamed5478(core.List<api.CustomEvent> o) {
unittest.expect(o, unittest.hasLength(2));
checkCustomEvent(o[0]);
checkCustomEvent(o[1]);
@@ -3533,7 +3533,7 @@
var o = new api.CustomEventsBatchInsertRequest();
buildCounterCustomEventsBatchInsertRequest++;
if (buildCounterCustomEventsBatchInsertRequest < 3) {
- o.customEvents = buildUnnamed5502();
+ o.customEvents = buildUnnamed5478();
o.kind = "foo";
}
buildCounterCustomEventsBatchInsertRequest--;
@@ -3543,20 +3543,20 @@
checkCustomEventsBatchInsertRequest(api.CustomEventsBatchInsertRequest o) {
buildCounterCustomEventsBatchInsertRequest++;
if (buildCounterCustomEventsBatchInsertRequest < 3) {
- checkUnnamed5502(o.customEvents);
+ checkUnnamed5478(o.customEvents);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterCustomEventsBatchInsertRequest--;
}
-buildUnnamed5503() {
+buildUnnamed5479() {
var o = new core.List<api.CustomEventStatus>();
o.add(buildCustomEventStatus());
o.add(buildCustomEventStatus());
return o;
}
-checkUnnamed5503(core.List<api.CustomEventStatus> o) {
+checkUnnamed5479(core.List<api.CustomEventStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkCustomEventStatus(o[0]);
checkCustomEventStatus(o[1]);
@@ -3569,7 +3569,7 @@
if (buildCounterCustomEventsBatchInsertResponse < 3) {
o.hasFailures = true;
o.kind = "foo";
- o.status = buildUnnamed5503();
+ o.status = buildUnnamed5479();
}
buildCounterCustomEventsBatchInsertResponse--;
return o;
@@ -3580,7 +3580,7 @@
if (buildCounterCustomEventsBatchInsertResponse < 3) {
unittest.expect(o.hasFailures, unittest.isTrue);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed5503(o.status);
+ checkUnnamed5479(o.status);
}
buildCounterCustomEventsBatchInsertResponse--;
}
@@ -3608,14 +3608,14 @@
buildCounterCustomFloodlightVariable--;
}
-buildUnnamed5504() {
+buildUnnamed5480() {
var o = new core.List<api.DimensionValue>();
o.add(buildDimensionValue());
o.add(buildDimensionValue());
return o;
}
-checkUnnamed5504(core.List<api.DimensionValue> o) {
+checkUnnamed5480(core.List<api.DimensionValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionValue(o[0]);
checkDimensionValue(o[1]);
@@ -3626,7 +3626,7 @@
var o = new api.CustomRichMediaEvents();
buildCounterCustomRichMediaEvents++;
if (buildCounterCustomRichMediaEvents < 3) {
- o.filteredEventIds = buildUnnamed5504();
+ o.filteredEventIds = buildUnnamed5480();
o.kind = "foo";
}
buildCounterCustomRichMediaEvents--;
@@ -3636,7 +3636,7 @@
checkCustomRichMediaEvents(api.CustomRichMediaEvents o) {
buildCounterCustomRichMediaEvents++;
if (buildCounterCustomRichMediaEvents < 3) {
- checkUnnamed5504(o.filteredEventIds);
+ checkUnnamed5480(o.filteredEventIds);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterCustomRichMediaEvents--;
@@ -3770,27 +3770,27 @@
buildCounterDateRange--;
}
-buildUnnamed5505() {
+buildUnnamed5481() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5505(core.List<core.String> o) {
+checkUnnamed5481(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed5506() {
+buildUnnamed5482() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed5506(core.List<core.int> o) {
+checkUnnamed5482(core.List<core.int> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42));
unittest.expect(o[1], unittest.equals(42));
@@ -3801,8 +3801,8 @@
var o = new api.DayPartTargeting();
buildCounterDayPartTargeting++;
if (buildCounterDayPartTargeting < 3) {
- o.daysOfWeek = buildUnnamed5505();
- o.hoursOfDay = buildUnnamed5506();
+ o.daysOfWeek = buildUnnamed5481();
+ o.hoursOfDay = buildUnnamed5482();
o.userLocalTime = true;
}
buildCounterDayPartTargeting--;
@@ -3812,21 +3812,21 @@
checkDayPartTargeting(api.DayPartTargeting o) {
buildCounterDayPartTargeting++;
if (buildCounterDayPartTargeting < 3) {
- checkUnnamed5505(o.daysOfWeek);
- checkUnnamed5506(o.hoursOfDay);
+ checkUnnamed5481(o.daysOfWeek);
+ checkUnnamed5482(o.hoursOfDay);
unittest.expect(o.userLocalTime, unittest.isTrue);
}
buildCounterDayPartTargeting--;
}
-buildUnnamed5507() {
+buildUnnamed5483() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5507(core.List<core.String> o) {
+checkUnnamed5483(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3841,7 +3841,7 @@
o.fallbackUrl = "foo";
o.kind = "foo";
o.mobileApp = buildMobileApp();
- o.remarketingListIds = buildUnnamed5507();
+ o.remarketingListIds = buildUnnamed5483();
}
buildCounterDeepLink--;
return o;
@@ -3854,7 +3854,7 @@
unittest.expect(o.fallbackUrl, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
checkMobileApp(o.mobileApp);
- checkUnnamed5507(o.remarketingListIds);
+ checkUnnamed5483(o.remarketingListIds);
}
buildCounterDeepLink--;
}
@@ -4006,14 +4006,14 @@
buildCounterDimensionValue--;
}
-buildUnnamed5508() {
+buildUnnamed5484() {
var o = new core.List<api.DimensionValue>();
o.add(buildDimensionValue());
o.add(buildDimensionValue());
return o;
}
-checkUnnamed5508(core.List<api.DimensionValue> o) {
+checkUnnamed5484(core.List<api.DimensionValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionValue(o[0]);
checkDimensionValue(o[1]);
@@ -4025,7 +4025,7 @@
buildCounterDimensionValueList++;
if (buildCounterDimensionValueList < 3) {
o.etag = "foo";
- o.items = buildUnnamed5508();
+ o.items = buildUnnamed5484();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -4037,21 +4037,21 @@
buildCounterDimensionValueList++;
if (buildCounterDimensionValueList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed5508(o.items);
+ checkUnnamed5484(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterDimensionValueList--;
}
-buildUnnamed5509() {
+buildUnnamed5485() {
var o = new core.List<api.DimensionFilter>();
o.add(buildDimensionFilter());
o.add(buildDimensionFilter());
return o;
}
-checkUnnamed5509(core.List<api.DimensionFilter> o) {
+checkUnnamed5485(core.List<api.DimensionFilter> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionFilter(o[0]);
checkDimensionFilter(o[1]);
@@ -4064,7 +4064,7 @@
if (buildCounterDimensionValueRequest < 3) {
o.dimensionName = "foo";
o.endDate = core.DateTime.parse("2002-02-27T14:01:02Z");
- o.filters = buildUnnamed5509();
+ o.filters = buildUnnamed5485();
o.kind = "foo";
o.startDate = core.DateTime.parse("2002-02-27T14:01:02Z");
}
@@ -4078,7 +4078,7 @@
unittest.expect(o.dimensionName, unittest.equals('foo'));
unittest.expect(
o.endDate, unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
- checkUnnamed5509(o.filters);
+ checkUnnamed5485(o.filters);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.startDate,
unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
@@ -4086,27 +4086,27 @@
buildCounterDimensionValueRequest--;
}
-buildUnnamed5510() {
+buildUnnamed5486() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5510(core.List<core.String> o) {
+checkUnnamed5486(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed5511() {
+buildUnnamed5487() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5511(core.List<core.String> o) {
+checkUnnamed5487(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -4119,8 +4119,8 @@
if (buildCounterDirectorySite < 3) {
o.id = "foo";
o.idDimensionValue = buildDimensionValue();
- o.inpageTagFormats = buildUnnamed5510();
- o.interstitialTagFormats = buildUnnamed5511();
+ o.inpageTagFormats = buildUnnamed5486();
+ o.interstitialTagFormats = buildUnnamed5487();
o.kind = "foo";
o.name = "foo";
o.settings = buildDirectorySiteSettings();
@@ -4135,8 +4135,8 @@
if (buildCounterDirectorySite < 3) {
unittest.expect(o.id, unittest.equals('foo'));
checkDimensionValue(o.idDimensionValue);
- checkUnnamed5510(o.inpageTagFormats);
- checkUnnamed5511(o.interstitialTagFormats);
+ checkUnnamed5486(o.inpageTagFormats);
+ checkUnnamed5487(o.interstitialTagFormats);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
checkDirectorySiteSettings(o.settings);
@@ -4170,14 +4170,14 @@
buildCounterDirectorySiteSettings--;
}
-buildUnnamed5512() {
+buildUnnamed5488() {
var o = new core.List<api.DirectorySite>();
o.add(buildDirectorySite());
o.add(buildDirectorySite());
return o;
}
-checkUnnamed5512(core.List<api.DirectorySite> o) {
+checkUnnamed5488(core.List<api.DirectorySite> o) {
unittest.expect(o, unittest.hasLength(2));
checkDirectorySite(o[0]);
checkDirectorySite(o[1]);
@@ -4188,7 +4188,7 @@
var o = new api.DirectorySitesListResponse();
buildCounterDirectorySitesListResponse++;
if (buildCounterDirectorySitesListResponse < 3) {
- o.directorySites = buildUnnamed5512();
+ o.directorySites = buildUnnamed5488();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -4199,21 +4199,21 @@
checkDirectorySitesListResponse(api.DirectorySitesListResponse o) {
buildCounterDirectorySitesListResponse++;
if (buildCounterDirectorySitesListResponse < 3) {
- checkUnnamed5512(o.directorySites);
+ checkUnnamed5488(o.directorySites);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterDirectorySitesListResponse--;
}
-buildUnnamed5513() {
+buildUnnamed5489() {
var o = new core.List<api.EventFilter>();
o.add(buildEventFilter());
o.add(buildEventFilter());
return o;
}
-checkUnnamed5513(core.List<api.EventFilter> o) {
+checkUnnamed5489(core.List<api.EventFilter> o) {
unittest.expect(o, unittest.hasLength(2));
checkEventFilter(o[0]);
checkEventFilter(o[1]);
@@ -4224,7 +4224,7 @@
var o = new api.DisjunctiveMatchStatement();
buildCounterDisjunctiveMatchStatement++;
if (buildCounterDisjunctiveMatchStatement < 3) {
- o.eventFilters = buildUnnamed5513();
+ o.eventFilters = buildUnnamed5489();
o.kind = "foo";
}
buildCounterDisjunctiveMatchStatement--;
@@ -4234,7 +4234,7 @@
checkDisjunctiveMatchStatement(api.DisjunctiveMatchStatement o) {
buildCounterDisjunctiveMatchStatement++;
if (buildCounterDisjunctiveMatchStatement < 3) {
- checkUnnamed5513(o.eventFilters);
+ checkUnnamed5489(o.eventFilters);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterDisjunctiveMatchStatement--;
@@ -4265,14 +4265,14 @@
buildCounterDynamicTargetingKey--;
}
-buildUnnamed5514() {
+buildUnnamed5490() {
var o = new core.List<api.DynamicTargetingKey>();
o.add(buildDynamicTargetingKey());
o.add(buildDynamicTargetingKey());
return o;
}
-checkUnnamed5514(core.List<api.DynamicTargetingKey> o) {
+checkUnnamed5490(core.List<api.DynamicTargetingKey> o) {
unittest.expect(o, unittest.hasLength(2));
checkDynamicTargetingKey(o[0]);
checkDynamicTargetingKey(o[1]);
@@ -4283,7 +4283,7 @@
var o = new api.DynamicTargetingKeysListResponse();
buildCounterDynamicTargetingKeysListResponse++;
if (buildCounterDynamicTargetingKeysListResponse < 3) {
- o.dynamicTargetingKeys = buildUnnamed5514();
+ o.dynamicTargetingKeys = buildUnnamed5490();
o.kind = "foo";
}
buildCounterDynamicTargetingKeysListResponse--;
@@ -4293,7 +4293,7 @@
checkDynamicTargetingKeysListResponse(api.DynamicTargetingKeysListResponse o) {
buildCounterDynamicTargetingKeysListResponse++;
if (buildCounterDynamicTargetingKeysListResponse < 3) {
- checkUnnamed5514(o.dynamicTargetingKeys);
+ checkUnnamed5490(o.dynamicTargetingKeys);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterDynamicTargetingKeysListResponse--;
@@ -4345,14 +4345,14 @@
buildCounterEventFilter--;
}
-buildUnnamed5515() {
+buildUnnamed5491() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5515(core.List<core.String> o) {
+checkUnnamed5491(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -4374,7 +4374,7 @@
o.kind = "foo";
o.name = "foo";
o.siteFilterType = "foo";
- o.siteIds = buildUnnamed5515();
+ o.siteIds = buildUnnamed5491();
o.sslCompliant = true;
o.status = "foo";
o.subaccountId = "foo";
@@ -4400,7 +4400,7 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.siteFilterType, unittest.equals('foo'));
- checkUnnamed5515(o.siteIds);
+ checkUnnamed5491(o.siteIds);
unittest.expect(o.sslCompliant, unittest.isTrue);
unittest.expect(o.status, unittest.equals('foo'));
unittest.expect(o.subaccountId, unittest.equals('foo'));
@@ -4432,14 +4432,14 @@
buildCounterEventTagOverride--;
}
-buildUnnamed5516() {
+buildUnnamed5492() {
var o = new core.List<api.EventTag>();
o.add(buildEventTag());
o.add(buildEventTag());
return o;
}
-checkUnnamed5516(core.List<api.EventTag> o) {
+checkUnnamed5492(core.List<api.EventTag> o) {
unittest.expect(o, unittest.hasLength(2));
checkEventTag(o[0]);
checkEventTag(o[1]);
@@ -4450,7 +4450,7 @@
var o = new api.EventTagsListResponse();
buildCounterEventTagsListResponse++;
if (buildCounterEventTagsListResponse < 3) {
- o.eventTags = buildUnnamed5516();
+ o.eventTags = buildUnnamed5492();
o.kind = "foo";
}
buildCounterEventTagsListResponse--;
@@ -4460,7 +4460,7 @@
checkEventTagsListResponse(api.EventTagsListResponse o) {
buildCounterEventTagsListResponse++;
if (buildCounterEventTagsListResponse < 3) {
- checkUnnamed5516(o.eventTags);
+ checkUnnamed5492(o.eventTags);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterEventTagsListResponse--;
@@ -4524,14 +4524,14 @@
buildCounterFile--;
}
-buildUnnamed5517() {
+buildUnnamed5493() {
var o = new core.List<api.File>();
o.add(buildFile());
o.add(buildFile());
return o;
}
-checkUnnamed5517(core.List<api.File> o) {
+checkUnnamed5493(core.List<api.File> o) {
unittest.expect(o, unittest.hasLength(2));
checkFile(o[0]);
checkFile(o[1]);
@@ -4543,7 +4543,7 @@
buildCounterFileList++;
if (buildCounterFileList < 3) {
o.etag = "foo";
- o.items = buildUnnamed5517();
+ o.items = buildUnnamed5493();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -4555,7 +4555,7 @@
buildCounterFileList++;
if (buildCounterFileList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed5517(o.items);
+ checkUnnamed5493(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -4613,14 +4613,14 @@
buildCounterFloodlightActivitiesGenerateTagResponse--;
}
-buildUnnamed5518() {
+buildUnnamed5494() {
var o = new core.List<api.FloodlightActivity>();
o.add(buildFloodlightActivity());
o.add(buildFloodlightActivity());
return o;
}
-checkUnnamed5518(core.List<api.FloodlightActivity> o) {
+checkUnnamed5494(core.List<api.FloodlightActivity> o) {
unittest.expect(o, unittest.hasLength(2));
checkFloodlightActivity(o[0]);
checkFloodlightActivity(o[1]);
@@ -4631,7 +4631,7 @@
var o = new api.FloodlightActivitiesListResponse();
buildCounterFloodlightActivitiesListResponse++;
if (buildCounterFloodlightActivitiesListResponse < 3) {
- o.floodlightActivities = buildUnnamed5518();
+ o.floodlightActivities = buildUnnamed5494();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -4642,47 +4642,47 @@
checkFloodlightActivitiesListResponse(api.FloodlightActivitiesListResponse o) {
buildCounterFloodlightActivitiesListResponse++;
if (buildCounterFloodlightActivitiesListResponse < 3) {
- checkUnnamed5518(o.floodlightActivities);
+ checkUnnamed5494(o.floodlightActivities);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterFloodlightActivitiesListResponse--;
}
-buildUnnamed5519() {
+buildUnnamed5495() {
var o = new core.List<api.FloodlightActivityDynamicTag>();
o.add(buildFloodlightActivityDynamicTag());
o.add(buildFloodlightActivityDynamicTag());
return o;
}
-checkUnnamed5519(core.List<api.FloodlightActivityDynamicTag> o) {
+checkUnnamed5495(core.List<api.FloodlightActivityDynamicTag> o) {
unittest.expect(o, unittest.hasLength(2));
checkFloodlightActivityDynamicTag(o[0]);
checkFloodlightActivityDynamicTag(o[1]);
}
-buildUnnamed5520() {
+buildUnnamed5496() {
var o = new core.List<api.FloodlightActivityPublisherDynamicTag>();
o.add(buildFloodlightActivityPublisherDynamicTag());
o.add(buildFloodlightActivityPublisherDynamicTag());
return o;
}
-checkUnnamed5520(core.List<api.FloodlightActivityPublisherDynamicTag> o) {
+checkUnnamed5496(core.List<api.FloodlightActivityPublisherDynamicTag> o) {
unittest.expect(o, unittest.hasLength(2));
checkFloodlightActivityPublisherDynamicTag(o[0]);
checkFloodlightActivityPublisherDynamicTag(o[1]);
}
-buildUnnamed5521() {
+buildUnnamed5497() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5521(core.List<core.String> o) {
+checkUnnamed5497(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -4699,7 +4699,7 @@
o.attributionEnabled = true;
o.cacheBustingType = "foo";
o.countingMethod = "foo";
- o.defaultTags = buildUnnamed5519();
+ o.defaultTags = buildUnnamed5495();
o.expectedUrl = "foo";
o.floodlightActivityGroupId = "foo";
o.floodlightActivityGroupName = "foo";
@@ -4713,7 +4713,7 @@
o.kind = "foo";
o.name = "foo";
o.notes = "foo";
- o.publisherTags = buildUnnamed5520();
+ o.publisherTags = buildUnnamed5496();
o.secure = true;
o.sslCompliant = true;
o.sslRequired = true;
@@ -4721,7 +4721,7 @@
o.subaccountId = "foo";
o.tagFormat = "foo";
o.tagString = "foo";
- o.userDefinedVariableTypes = buildUnnamed5521();
+ o.userDefinedVariableTypes = buildUnnamed5497();
}
buildCounterFloodlightActivity--;
return o;
@@ -4736,7 +4736,7 @@
unittest.expect(o.attributionEnabled, unittest.isTrue);
unittest.expect(o.cacheBustingType, unittest.equals('foo'));
unittest.expect(o.countingMethod, unittest.equals('foo'));
- checkUnnamed5519(o.defaultTags);
+ checkUnnamed5495(o.defaultTags);
unittest.expect(o.expectedUrl, unittest.equals('foo'));
unittest.expect(o.floodlightActivityGroupId, unittest.equals('foo'));
unittest.expect(o.floodlightActivityGroupName, unittest.equals('foo'));
@@ -4750,7 +4750,7 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.notes, unittest.equals('foo'));
- checkUnnamed5520(o.publisherTags);
+ checkUnnamed5496(o.publisherTags);
unittest.expect(o.secure, unittest.isTrue);
unittest.expect(o.sslCompliant, unittest.isTrue);
unittest.expect(o.sslRequired, unittest.isTrue);
@@ -4758,7 +4758,7 @@
unittest.expect(o.subaccountId, unittest.equals('foo'));
unittest.expect(o.tagFormat, unittest.equals('foo'));
unittest.expect(o.tagString, unittest.equals('foo'));
- checkUnnamed5521(o.userDefinedVariableTypes);
+ checkUnnamed5497(o.userDefinedVariableTypes);
}
buildCounterFloodlightActivity--;
}
@@ -4827,14 +4827,14 @@
buildCounterFloodlightActivityGroup--;
}
-buildUnnamed5522() {
+buildUnnamed5498() {
var o = new core.List<api.FloodlightActivityGroup>();
o.add(buildFloodlightActivityGroup());
o.add(buildFloodlightActivityGroup());
return o;
}
-checkUnnamed5522(core.List<api.FloodlightActivityGroup> o) {
+checkUnnamed5498(core.List<api.FloodlightActivityGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkFloodlightActivityGroup(o[0]);
checkFloodlightActivityGroup(o[1]);
@@ -4845,7 +4845,7 @@
var o = new api.FloodlightActivityGroupsListResponse();
buildCounterFloodlightActivityGroupsListResponse++;
if (buildCounterFloodlightActivityGroupsListResponse < 3) {
- o.floodlightActivityGroups = buildUnnamed5522();
+ o.floodlightActivityGroups = buildUnnamed5498();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -4857,7 +4857,7 @@
api.FloodlightActivityGroupsListResponse o) {
buildCounterFloodlightActivityGroupsListResponse++;
if (buildCounterFloodlightActivityGroupsListResponse < 3) {
- checkUnnamed5522(o.floodlightActivityGroups);
+ checkUnnamed5498(o.floodlightActivityGroups);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -4894,27 +4894,27 @@
buildCounterFloodlightActivityPublisherDynamicTag--;
}
-buildUnnamed5523() {
+buildUnnamed5499() {
var o = new core.List<api.ThirdPartyAuthenticationToken>();
o.add(buildThirdPartyAuthenticationToken());
o.add(buildThirdPartyAuthenticationToken());
return o;
}
-checkUnnamed5523(core.List<api.ThirdPartyAuthenticationToken> o) {
+checkUnnamed5499(core.List<api.ThirdPartyAuthenticationToken> o) {
unittest.expect(o, unittest.hasLength(2));
checkThirdPartyAuthenticationToken(o[0]);
checkThirdPartyAuthenticationToken(o[1]);
}
-buildUnnamed5524() {
+buildUnnamed5500() {
var o = new core.List<api.UserDefinedVariableConfiguration>();
o.add(buildUserDefinedVariableConfiguration());
o.add(buildUserDefinedVariableConfiguration());
return o;
}
-checkUnnamed5524(core.List<api.UserDefinedVariableConfiguration> o) {
+checkUnnamed5500(core.List<api.UserDefinedVariableConfiguration> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserDefinedVariableConfiguration(o[0]);
checkUserDefinedVariableConfiguration(o[1]);
@@ -4941,8 +4941,8 @@
o.omnitureSettings = buildOmnitureSettings();
o.subaccountId = "foo";
o.tagSettings = buildTagSettings();
- o.thirdPartyAuthenticationTokens = buildUnnamed5523();
- o.userDefinedVariableConfigurations = buildUnnamed5524();
+ o.thirdPartyAuthenticationTokens = buildUnnamed5499();
+ o.userDefinedVariableConfigurations = buildUnnamed5500();
}
buildCounterFloodlightConfiguration--;
return o;
@@ -4968,20 +4968,20 @@
checkOmnitureSettings(o.omnitureSettings);
unittest.expect(o.subaccountId, unittest.equals('foo'));
checkTagSettings(o.tagSettings);
- checkUnnamed5523(o.thirdPartyAuthenticationTokens);
- checkUnnamed5524(o.userDefinedVariableConfigurations);
+ checkUnnamed5499(o.thirdPartyAuthenticationTokens);
+ checkUnnamed5500(o.userDefinedVariableConfigurations);
}
buildCounterFloodlightConfiguration--;
}
-buildUnnamed5525() {
+buildUnnamed5501() {
var o = new core.List<api.FloodlightConfiguration>();
o.add(buildFloodlightConfiguration());
o.add(buildFloodlightConfiguration());
return o;
}
-checkUnnamed5525(core.List<api.FloodlightConfiguration> o) {
+checkUnnamed5501(core.List<api.FloodlightConfiguration> o) {
unittest.expect(o, unittest.hasLength(2));
checkFloodlightConfiguration(o[0]);
checkFloodlightConfiguration(o[1]);
@@ -4992,7 +4992,7 @@
var o = new api.FloodlightConfigurationsListResponse();
buildCounterFloodlightConfigurationsListResponse++;
if (buildCounterFloodlightConfigurationsListResponse < 3) {
- o.floodlightConfigurations = buildUnnamed5525();
+ o.floodlightConfigurations = buildUnnamed5501();
o.kind = "foo";
}
buildCounterFloodlightConfigurationsListResponse--;
@@ -5003,46 +5003,46 @@
api.FloodlightConfigurationsListResponse o) {
buildCounterFloodlightConfigurationsListResponse++;
if (buildCounterFloodlightConfigurationsListResponse < 3) {
- checkUnnamed5525(o.floodlightConfigurations);
+ checkUnnamed5501(o.floodlightConfigurations);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterFloodlightConfigurationsListResponse--;
}
-buildUnnamed5526() {
+buildUnnamed5502() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed5526(core.List<api.Dimension> o) {
+checkUnnamed5502(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
}
-buildUnnamed5527() {
+buildUnnamed5503() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed5527(core.List<api.Dimension> o) {
+checkUnnamed5503(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
}
-buildUnnamed5528() {
+buildUnnamed5504() {
var o = new core.List<api.Metric>();
o.add(buildMetric());
o.add(buildMetric());
return o;
}
-checkUnnamed5528(core.List<api.Metric> o) {
+checkUnnamed5504(core.List<api.Metric> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetric(o[0]);
checkMetric(o[1]);
@@ -5053,10 +5053,10 @@
var o = new api.FloodlightReportCompatibleFields();
buildCounterFloodlightReportCompatibleFields++;
if (buildCounterFloodlightReportCompatibleFields < 3) {
- o.dimensionFilters = buildUnnamed5526();
- o.dimensions = buildUnnamed5527();
+ o.dimensionFilters = buildUnnamed5502();
+ o.dimensions = buildUnnamed5503();
o.kind = "foo";
- o.metrics = buildUnnamed5528();
+ o.metrics = buildUnnamed5504();
}
buildCounterFloodlightReportCompatibleFields--;
return o;
@@ -5065,10 +5065,10 @@
checkFloodlightReportCompatibleFields(api.FloodlightReportCompatibleFields o) {
buildCounterFloodlightReportCompatibleFields++;
if (buildCounterFloodlightReportCompatibleFields < 3) {
- checkUnnamed5526(o.dimensionFilters);
- checkUnnamed5527(o.dimensions);
+ checkUnnamed5502(o.dimensionFilters);
+ checkUnnamed5503(o.dimensions);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed5528(o.metrics);
+ checkUnnamed5504(o.metrics);
}
buildCounterFloodlightReportCompatibleFields--;
}
@@ -5121,66 +5121,66 @@
buildCounterFsCommand--;
}
-buildUnnamed5529() {
+buildUnnamed5505() {
var o = new core.List<api.City>();
o.add(buildCity());
o.add(buildCity());
return o;
}
-checkUnnamed5529(core.List<api.City> o) {
+checkUnnamed5505(core.List<api.City> o) {
unittest.expect(o, unittest.hasLength(2));
checkCity(o[0]);
checkCity(o[1]);
}
-buildUnnamed5530() {
+buildUnnamed5506() {
var o = new core.List<api.Country>();
o.add(buildCountry());
o.add(buildCountry());
return o;
}
-checkUnnamed5530(core.List<api.Country> o) {
+checkUnnamed5506(core.List<api.Country> o) {
unittest.expect(o, unittest.hasLength(2));
checkCountry(o[0]);
checkCountry(o[1]);
}
-buildUnnamed5531() {
+buildUnnamed5507() {
var o = new core.List<api.Metro>();
o.add(buildMetro());
o.add(buildMetro());
return o;
}
-checkUnnamed5531(core.List<api.Metro> o) {
+checkUnnamed5507(core.List<api.Metro> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetro(o[0]);
checkMetro(o[1]);
}
-buildUnnamed5532() {
+buildUnnamed5508() {
var o = new core.List<api.PostalCode>();
o.add(buildPostalCode());
o.add(buildPostalCode());
return o;
}
-checkUnnamed5532(core.List<api.PostalCode> o) {
+checkUnnamed5508(core.List<api.PostalCode> o) {
unittest.expect(o, unittest.hasLength(2));
checkPostalCode(o[0]);
checkPostalCode(o[1]);
}
-buildUnnamed5533() {
+buildUnnamed5509() {
var o = new core.List<api.Region>();
o.add(buildRegion());
o.add(buildRegion());
return o;
}
-checkUnnamed5533(core.List<api.Region> o) {
+checkUnnamed5509(core.List<api.Region> o) {
unittest.expect(o, unittest.hasLength(2));
checkRegion(o[0]);
checkRegion(o[1]);
@@ -5191,12 +5191,12 @@
var o = new api.GeoTargeting();
buildCounterGeoTargeting++;
if (buildCounterGeoTargeting < 3) {
- o.cities = buildUnnamed5529();
- o.countries = buildUnnamed5530();
+ o.cities = buildUnnamed5505();
+ o.countries = buildUnnamed5506();
o.excludeCountries = true;
- o.metros = buildUnnamed5531();
- o.postalCodes = buildUnnamed5532();
- o.regions = buildUnnamed5533();
+ o.metros = buildUnnamed5507();
+ o.postalCodes = buildUnnamed5508();
+ o.regions = buildUnnamed5509();
}
buildCounterGeoTargeting--;
return o;
@@ -5205,24 +5205,24 @@
checkGeoTargeting(api.GeoTargeting o) {
buildCounterGeoTargeting++;
if (buildCounterGeoTargeting < 3) {
- checkUnnamed5529(o.cities);
- checkUnnamed5530(o.countries);
+ checkUnnamed5505(o.cities);
+ checkUnnamed5506(o.countries);
unittest.expect(o.excludeCountries, unittest.isTrue);
- checkUnnamed5531(o.metros);
- checkUnnamed5532(o.postalCodes);
- checkUnnamed5533(o.regions);
+ checkUnnamed5507(o.metros);
+ checkUnnamed5508(o.postalCodes);
+ checkUnnamed5509(o.regions);
}
buildCounterGeoTargeting--;
}
-buildUnnamed5534() {
+buildUnnamed5510() {
var o = new core.List<api.AdSlot>();
o.add(buildAdSlot());
o.add(buildAdSlot());
return o;
}
-checkUnnamed5534(core.List<api.AdSlot> o) {
+checkUnnamed5510(core.List<api.AdSlot> o) {
unittest.expect(o, unittest.hasLength(2));
checkAdSlot(o[0]);
checkAdSlot(o[1]);
@@ -5234,7 +5234,7 @@
buildCounterInventoryItem++;
if (buildCounterInventoryItem < 3) {
o.accountId = "foo";
- o.adSlots = buildUnnamed5534();
+ o.adSlots = buildUnnamed5510();
o.advertiserId = "foo";
o.contentCategoryId = "foo";
o.estimatedClickThroughRate = "foo";
@@ -5262,7 +5262,7 @@
buildCounterInventoryItem++;
if (buildCounterInventoryItem < 3) {
unittest.expect(o.accountId, unittest.equals('foo'));
- checkUnnamed5534(o.adSlots);
+ checkUnnamed5510(o.adSlots);
unittest.expect(o.advertiserId, unittest.equals('foo'));
unittest.expect(o.contentCategoryId, unittest.equals('foo'));
unittest.expect(o.estimatedClickThroughRate, unittest.equals('foo'));
@@ -5285,14 +5285,14 @@
buildCounterInventoryItem--;
}
-buildUnnamed5535() {
+buildUnnamed5511() {
var o = new core.List<api.InventoryItem>();
o.add(buildInventoryItem());
o.add(buildInventoryItem());
return o;
}
-checkUnnamed5535(core.List<api.InventoryItem> o) {
+checkUnnamed5511(core.List<api.InventoryItem> o) {
unittest.expect(o, unittest.hasLength(2));
checkInventoryItem(o[0]);
checkInventoryItem(o[1]);
@@ -5303,7 +5303,7 @@
var o = new api.InventoryItemsListResponse();
buildCounterInventoryItemsListResponse++;
if (buildCounterInventoryItemsListResponse < 3) {
- o.inventoryItems = buildUnnamed5535();
+ o.inventoryItems = buildUnnamed5511();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -5314,7 +5314,7 @@
checkInventoryItemsListResponse(api.InventoryItemsListResponse o) {
buildCounterInventoryItemsListResponse++;
if (buildCounterInventoryItemsListResponse < 3) {
- checkUnnamed5535(o.inventoryItems);
+ checkUnnamed5511(o.inventoryItems);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -5340,14 +5340,14 @@
buildCounterKeyValueTargetingExpression--;
}
-buildUnnamed5536() {
+buildUnnamed5512() {
var o = new core.List<api.DeepLink>();
o.add(buildDeepLink());
o.add(buildDeepLink());
return o;
}
-checkUnnamed5536(core.List<api.DeepLink> o) {
+checkUnnamed5512(core.List<api.DeepLink> o) {
unittest.expect(o, unittest.hasLength(2));
checkDeepLink(o[0]);
checkDeepLink(o[1]);
@@ -5360,7 +5360,7 @@
if (buildCounterLandingPage < 3) {
o.advertiserId = "foo";
o.archived = true;
- o.deepLinks = buildUnnamed5536();
+ o.deepLinks = buildUnnamed5512();
o.id = "foo";
o.kind = "foo";
o.name = "foo";
@@ -5375,7 +5375,7 @@
if (buildCounterLandingPage < 3) {
unittest.expect(o.advertiserId, unittest.equals('foo'));
unittest.expect(o.archived, unittest.isTrue);
- checkUnnamed5536(o.deepLinks);
+ checkUnnamed5512(o.deepLinks);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
@@ -5409,14 +5409,14 @@
buildCounterLanguage--;
}
-buildUnnamed5537() {
+buildUnnamed5513() {
var o = new core.List<api.Language>();
o.add(buildLanguage());
o.add(buildLanguage());
return o;
}
-checkUnnamed5537(core.List<api.Language> o) {
+checkUnnamed5513(core.List<api.Language> o) {
unittest.expect(o, unittest.hasLength(2));
checkLanguage(o[0]);
checkLanguage(o[1]);
@@ -5427,7 +5427,7 @@
var o = new api.LanguageTargeting();
buildCounterLanguageTargeting++;
if (buildCounterLanguageTargeting < 3) {
- o.languages = buildUnnamed5537();
+ o.languages = buildUnnamed5513();
}
buildCounterLanguageTargeting--;
return o;
@@ -5436,19 +5436,19 @@
checkLanguageTargeting(api.LanguageTargeting o) {
buildCounterLanguageTargeting++;
if (buildCounterLanguageTargeting < 3) {
- checkUnnamed5537(o.languages);
+ checkUnnamed5513(o.languages);
}
buildCounterLanguageTargeting--;
}
-buildUnnamed5538() {
+buildUnnamed5514() {
var o = new core.List<api.Language>();
o.add(buildLanguage());
o.add(buildLanguage());
return o;
}
-checkUnnamed5538(core.List<api.Language> o) {
+checkUnnamed5514(core.List<api.Language> o) {
unittest.expect(o, unittest.hasLength(2));
checkLanguage(o[0]);
checkLanguage(o[1]);
@@ -5460,7 +5460,7 @@
buildCounterLanguagesListResponse++;
if (buildCounterLanguagesListResponse < 3) {
o.kind = "foo";
- o.languages = buildUnnamed5538();
+ o.languages = buildUnnamed5514();
}
buildCounterLanguagesListResponse--;
return o;
@@ -5470,7 +5470,7 @@
buildCounterLanguagesListResponse++;
if (buildCounterLanguagesListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed5538(o.languages);
+ checkUnnamed5514(o.languages);
}
buildCounterLanguagesListResponse--;
}
@@ -5494,14 +5494,14 @@
buildCounterLastModifiedInfo--;
}
-buildUnnamed5539() {
+buildUnnamed5515() {
var o = new core.List<api.ListPopulationTerm>();
o.add(buildListPopulationTerm());
o.add(buildListPopulationTerm());
return o;
}
-checkUnnamed5539(core.List<api.ListPopulationTerm> o) {
+checkUnnamed5515(core.List<api.ListPopulationTerm> o) {
unittest.expect(o, unittest.hasLength(2));
checkListPopulationTerm(o[0]);
checkListPopulationTerm(o[1]);
@@ -5512,7 +5512,7 @@
var o = new api.ListPopulationClause();
buildCounterListPopulationClause++;
if (buildCounterListPopulationClause < 3) {
- o.terms = buildUnnamed5539();
+ o.terms = buildUnnamed5515();
}
buildCounterListPopulationClause--;
return o;
@@ -5521,19 +5521,19 @@
checkListPopulationClause(api.ListPopulationClause o) {
buildCounterListPopulationClause++;
if (buildCounterListPopulationClause < 3) {
- checkUnnamed5539(o.terms);
+ checkUnnamed5515(o.terms);
}
buildCounterListPopulationClause--;
}
-buildUnnamed5540() {
+buildUnnamed5516() {
var o = new core.List<api.ListPopulationClause>();
o.add(buildListPopulationClause());
o.add(buildListPopulationClause());
return o;
}
-checkUnnamed5540(core.List<api.ListPopulationClause> o) {
+checkUnnamed5516(core.List<api.ListPopulationClause> o) {
unittest.expect(o, unittest.hasLength(2));
checkListPopulationClause(o[0]);
checkListPopulationClause(o[1]);
@@ -5546,7 +5546,7 @@
if (buildCounterListPopulationRule < 3) {
o.floodlightActivityId = "foo";
o.floodlightActivityName = "foo";
- o.listPopulationClauses = buildUnnamed5540();
+ o.listPopulationClauses = buildUnnamed5516();
}
buildCounterListPopulationRule--;
return o;
@@ -5557,7 +5557,7 @@
if (buildCounterListPopulationRule < 3) {
unittest.expect(o.floodlightActivityId, unittest.equals('foo'));
unittest.expect(o.floodlightActivityName, unittest.equals('foo'));
- checkUnnamed5540(o.listPopulationClauses);
+ checkUnnamed5516(o.listPopulationClauses);
}
buildCounterListPopulationRule--;
}
@@ -5687,14 +5687,14 @@
buildCounterMetro--;
}
-buildUnnamed5541() {
+buildUnnamed5517() {
var o = new core.List<api.Metro>();
o.add(buildMetro());
o.add(buildMetro());
return o;
}
-checkUnnamed5541(core.List<api.Metro> o) {
+checkUnnamed5517(core.List<api.Metro> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetro(o[0]);
checkMetro(o[1]);
@@ -5706,7 +5706,7 @@
buildCounterMetrosListResponse++;
if (buildCounterMetrosListResponse < 3) {
o.kind = "foo";
- o.metros = buildUnnamed5541();
+ o.metros = buildUnnamed5517();
}
buildCounterMetrosListResponse--;
return o;
@@ -5716,7 +5716,7 @@
buildCounterMetrosListResponse++;
if (buildCounterMetrosListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed5541(o.metros);
+ checkUnnamed5517(o.metros);
}
buildCounterMetrosListResponse--;
}
@@ -5748,14 +5748,14 @@
buildCounterMobileApp--;
}
-buildUnnamed5542() {
+buildUnnamed5518() {
var o = new core.List<api.MobileApp>();
o.add(buildMobileApp());
o.add(buildMobileApp());
return o;
}
-checkUnnamed5542(core.List<api.MobileApp> o) {
+checkUnnamed5518(core.List<api.MobileApp> o) {
unittest.expect(o, unittest.hasLength(2));
checkMobileApp(o[0]);
checkMobileApp(o[1]);
@@ -5767,7 +5767,7 @@
buildCounterMobileAppsListResponse++;
if (buildCounterMobileAppsListResponse < 3) {
o.kind = "foo";
- o.mobileApps = buildUnnamed5542();
+ o.mobileApps = buildUnnamed5518();
o.nextPageToken = "foo";
}
buildCounterMobileAppsListResponse--;
@@ -5778,7 +5778,7 @@
buildCounterMobileAppsListResponse++;
if (buildCounterMobileAppsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed5542(o.mobileApps);
+ checkUnnamed5518(o.mobileApps);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterMobileAppsListResponse--;
@@ -5811,14 +5811,14 @@
buildCounterMobileCarrier--;
}
-buildUnnamed5543() {
+buildUnnamed5519() {
var o = new core.List<api.MobileCarrier>();
o.add(buildMobileCarrier());
o.add(buildMobileCarrier());
return o;
}
-checkUnnamed5543(core.List<api.MobileCarrier> o) {
+checkUnnamed5519(core.List<api.MobileCarrier> o) {
unittest.expect(o, unittest.hasLength(2));
checkMobileCarrier(o[0]);
checkMobileCarrier(o[1]);
@@ -5830,7 +5830,7 @@
buildCounterMobileCarriersListResponse++;
if (buildCounterMobileCarriersListResponse < 3) {
o.kind = "foo";
- o.mobileCarriers = buildUnnamed5543();
+ o.mobileCarriers = buildUnnamed5519();
}
buildCounterMobileCarriersListResponse--;
return o;
@@ -5840,7 +5840,7 @@
buildCounterMobileCarriersListResponse++;
if (buildCounterMobileCarriersListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed5543(o.mobileCarriers);
+ checkUnnamed5519(o.mobileCarriers);
}
buildCounterMobileCarriersListResponse--;
}
@@ -5878,14 +5878,14 @@
buildCounterObaIcon--;
}
-buildUnnamed5544() {
+buildUnnamed5520() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5544(core.List<core.String> o) {
+checkUnnamed5520(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -5897,7 +5897,7 @@
buildCounterObjectFilter++;
if (buildCounterObjectFilter < 3) {
o.kind = "foo";
- o.objectIds = buildUnnamed5544();
+ o.objectIds = buildUnnamed5520();
o.status = "foo";
}
buildCounterObjectFilter--;
@@ -5908,7 +5908,7 @@
buildCounterObjectFilter++;
if (buildCounterObjectFilter < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed5544(o.objectIds);
+ checkUnnamed5520(o.objectIds);
unittest.expect(o.status, unittest.equals('foo'));
}
buildCounterObjectFilter--;
@@ -6012,14 +6012,14 @@
buildCounterOperatingSystemVersion--;
}
-buildUnnamed5545() {
+buildUnnamed5521() {
var o = new core.List<api.OperatingSystemVersion>();
o.add(buildOperatingSystemVersion());
o.add(buildOperatingSystemVersion());
return o;
}
-checkUnnamed5545(core.List<api.OperatingSystemVersion> o) {
+checkUnnamed5521(core.List<api.OperatingSystemVersion> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperatingSystemVersion(o[0]);
checkOperatingSystemVersion(o[1]);
@@ -6031,7 +6031,7 @@
buildCounterOperatingSystemVersionsListResponse++;
if (buildCounterOperatingSystemVersionsListResponse < 3) {
o.kind = "foo";
- o.operatingSystemVersions = buildUnnamed5545();
+ o.operatingSystemVersions = buildUnnamed5521();
}
buildCounterOperatingSystemVersionsListResponse--;
return o;
@@ -6042,19 +6042,19 @@
buildCounterOperatingSystemVersionsListResponse++;
if (buildCounterOperatingSystemVersionsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed5545(o.operatingSystemVersions);
+ checkUnnamed5521(o.operatingSystemVersions);
}
buildCounterOperatingSystemVersionsListResponse--;
}
-buildUnnamed5546() {
+buildUnnamed5522() {
var o = new core.List<api.OperatingSystem>();
o.add(buildOperatingSystem());
o.add(buildOperatingSystem());
return o;
}
-checkUnnamed5546(core.List<api.OperatingSystem> o) {
+checkUnnamed5522(core.List<api.OperatingSystem> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperatingSystem(o[0]);
checkOperatingSystem(o[1]);
@@ -6066,7 +6066,7 @@
buildCounterOperatingSystemsListResponse++;
if (buildCounterOperatingSystemsListResponse < 3) {
o.kind = "foo";
- o.operatingSystems = buildUnnamed5546();
+ o.operatingSystems = buildUnnamed5522();
}
buildCounterOperatingSystemsListResponse--;
return o;
@@ -6076,7 +6076,7 @@
buildCounterOperatingSystemsListResponse++;
if (buildCounterOperatingSystemsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed5546(o.operatingSystems);
+ checkUnnamed5522(o.operatingSystems);
}
buildCounterOperatingSystemsListResponse--;
}
@@ -6104,53 +6104,53 @@
buildCounterOptimizationActivity--;
}
-buildUnnamed5547() {
+buildUnnamed5523() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5547(core.List<core.String> o) {
+checkUnnamed5523(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed5548() {
+buildUnnamed5524() {
var o = new core.List<api.OrderContact>();
o.add(buildOrderContact());
o.add(buildOrderContact());
return o;
}
-checkUnnamed5548(core.List<api.OrderContact> o) {
+checkUnnamed5524(core.List<api.OrderContact> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderContact(o[0]);
checkOrderContact(o[1]);
}
-buildUnnamed5549() {
+buildUnnamed5525() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5549(core.List<core.String> o) {
+checkUnnamed5525(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed5550() {
+buildUnnamed5526() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5550(core.List<core.String> o) {
+checkUnnamed5526(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -6163,11 +6163,11 @@
if (buildCounterOrder < 3) {
o.accountId = "foo";
o.advertiserId = "foo";
- o.approverUserProfileIds = buildUnnamed5547();
+ o.approverUserProfileIds = buildUnnamed5523();
o.buyerInvoiceId = "foo";
o.buyerOrganizationName = "foo";
o.comments = "foo";
- o.contacts = buildUnnamed5548();
+ o.contacts = buildUnnamed5524();
o.id = "foo";
o.kind = "foo";
o.lastModifiedInfo = buildLastModifiedInfo();
@@ -6177,8 +6177,8 @@
o.projectId = "foo";
o.sellerOrderId = "foo";
o.sellerOrganizationName = "foo";
- o.siteId = buildUnnamed5549();
- o.siteNames = buildUnnamed5550();
+ o.siteId = buildUnnamed5525();
+ o.siteNames = buildUnnamed5526();
o.subaccountId = "foo";
o.termsAndConditions = "foo";
}
@@ -6191,11 +6191,11 @@
if (buildCounterOrder < 3) {
unittest.expect(o.accountId, unittest.equals('foo'));
unittest.expect(o.advertiserId, unittest.equals('foo'));
- checkUnnamed5547(o.approverUserProfileIds);
+ checkUnnamed5523(o.approverUserProfileIds);
unittest.expect(o.buyerInvoiceId, unittest.equals('foo'));
unittest.expect(o.buyerOrganizationName, unittest.equals('foo'));
unittest.expect(o.comments, unittest.equals('foo'));
- checkUnnamed5548(o.contacts);
+ checkUnnamed5524(o.contacts);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
checkLastModifiedInfo(o.lastModifiedInfo);
@@ -6205,8 +6205,8 @@
unittest.expect(o.projectId, unittest.equals('foo'));
unittest.expect(o.sellerOrderId, unittest.equals('foo'));
unittest.expect(o.sellerOrganizationName, unittest.equals('foo'));
- checkUnnamed5549(o.siteId);
- checkUnnamed5550(o.siteNames);
+ checkUnnamed5525(o.siteId);
+ checkUnnamed5526(o.siteNames);
unittest.expect(o.subaccountId, unittest.equals('foo'));
unittest.expect(o.termsAndConditions, unittest.equals('foo'));
}
@@ -6240,27 +6240,27 @@
buildCounterOrderContact--;
}
-buildUnnamed5551() {
+buildUnnamed5527() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5551(core.List<core.String> o) {
+checkUnnamed5527(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed5552() {
+buildUnnamed5528() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5552(core.List<core.String> o) {
+checkUnnamed5528(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -6274,13 +6274,13 @@
o.accountId = "foo";
o.advertiserId = "foo";
o.amendedOrderDocumentId = "foo";
- o.approvedByUserProfileIds = buildUnnamed5551();
+ o.approvedByUserProfileIds = buildUnnamed5527();
o.cancelled = true;
o.createdInfo = buildLastModifiedInfo();
o.effectiveDate = core.DateTime.parse("2002-02-27T14:01:02Z");
o.id = "foo";
o.kind = "foo";
- o.lastSentRecipients = buildUnnamed5552();
+ o.lastSentRecipients = buildUnnamed5528();
o.lastSentTime = core.DateTime.parse("2002-02-27T14:01:02");
o.orderId = "foo";
o.projectId = "foo";
@@ -6299,14 +6299,14 @@
unittest.expect(o.accountId, unittest.equals('foo'));
unittest.expect(o.advertiserId, unittest.equals('foo'));
unittest.expect(o.amendedOrderDocumentId, unittest.equals('foo'));
- checkUnnamed5551(o.approvedByUserProfileIds);
+ checkUnnamed5527(o.approvedByUserProfileIds);
unittest.expect(o.cancelled, unittest.isTrue);
checkLastModifiedInfo(o.createdInfo);
unittest.expect(o.effectiveDate,
unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed5552(o.lastSentRecipients);
+ checkUnnamed5528(o.lastSentRecipients);
unittest.expect(o.lastSentTime,
unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
unittest.expect(o.orderId, unittest.equals('foo'));
@@ -6319,14 +6319,14 @@
buildCounterOrderDocument--;
}
-buildUnnamed5553() {
+buildUnnamed5529() {
var o = new core.List<api.OrderDocument>();
o.add(buildOrderDocument());
o.add(buildOrderDocument());
return o;
}
-checkUnnamed5553(core.List<api.OrderDocument> o) {
+checkUnnamed5529(core.List<api.OrderDocument> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrderDocument(o[0]);
checkOrderDocument(o[1]);
@@ -6339,7 +6339,7 @@
if (buildCounterOrderDocumentsListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.orderDocuments = buildUnnamed5553();
+ o.orderDocuments = buildUnnamed5529();
}
buildCounterOrderDocumentsListResponse--;
return o;
@@ -6350,19 +6350,19 @@
if (buildCounterOrderDocumentsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed5553(o.orderDocuments);
+ checkUnnamed5529(o.orderDocuments);
}
buildCounterOrderDocumentsListResponse--;
}
-buildUnnamed5554() {
+buildUnnamed5530() {
var o = new core.List<api.Order>();
o.add(buildOrder());
o.add(buildOrder());
return o;
}
-checkUnnamed5554(core.List<api.Order> o) {
+checkUnnamed5530(core.List<api.Order> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrder(o[0]);
checkOrder(o[1]);
@@ -6375,7 +6375,7 @@
if (buildCounterOrdersListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.orders = buildUnnamed5554();
+ o.orders = buildUnnamed5530();
}
buildCounterOrdersListResponse--;
return o;
@@ -6386,19 +6386,19 @@
if (buildCounterOrdersListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed5554(o.orders);
+ checkUnnamed5530(o.orders);
}
buildCounterOrdersListResponse--;
}
-buildUnnamed5555() {
+buildUnnamed5531() {
var o = new core.List<api.EventFilter>();
o.add(buildEventFilter());
o.add(buildEventFilter());
return o;
}
-checkUnnamed5555(core.List<api.EventFilter> o) {
+checkUnnamed5531(core.List<api.EventFilter> o) {
unittest.expect(o, unittest.hasLength(2));
checkEventFilter(o[0]);
checkEventFilter(o[1]);
@@ -6409,7 +6409,7 @@
var o = new api.PathFilter();
buildCounterPathFilter++;
if (buildCounterPathFilter < 3) {
- o.eventFilters = buildUnnamed5555();
+ o.eventFilters = buildUnnamed5531();
o.kind = "foo";
o.pathMatchPosition = "foo";
}
@@ -6420,60 +6420,60 @@
checkPathFilter(api.PathFilter o) {
buildCounterPathFilter++;
if (buildCounterPathFilter < 3) {
- checkUnnamed5555(o.eventFilters);
+ checkUnnamed5531(o.eventFilters);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.pathMatchPosition, unittest.equals('foo'));
}
buildCounterPathFilter--;
}
-buildUnnamed5556() {
+buildUnnamed5532() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed5556(core.List<api.Dimension> o) {
+checkUnnamed5532(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
}
-buildUnnamed5557() {
+buildUnnamed5533() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed5557(core.List<api.Dimension> o) {
+checkUnnamed5533(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
}
-buildUnnamed5558() {
+buildUnnamed5534() {
var o = new core.List<api.Metric>();
o.add(buildMetric());
o.add(buildMetric());
return o;
}
-checkUnnamed5558(core.List<api.Metric> o) {
+checkUnnamed5534(core.List<api.Metric> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetric(o[0]);
checkMetric(o[1]);
}
-buildUnnamed5559() {
+buildUnnamed5535() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed5559(core.List<api.Dimension> o) {
+checkUnnamed5535(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
@@ -6484,11 +6484,11 @@
var o = new api.PathReportCompatibleFields();
buildCounterPathReportCompatibleFields++;
if (buildCounterPathReportCompatibleFields < 3) {
- o.channelGroupings = buildUnnamed5556();
- o.dimensions = buildUnnamed5557();
+ o.channelGroupings = buildUnnamed5532();
+ o.dimensions = buildUnnamed5533();
o.kind = "foo";
- o.metrics = buildUnnamed5558();
- o.pathFilters = buildUnnamed5559();
+ o.metrics = buildUnnamed5534();
+ o.pathFilters = buildUnnamed5535();
}
buildCounterPathReportCompatibleFields--;
return o;
@@ -6497,36 +6497,36 @@
checkPathReportCompatibleFields(api.PathReportCompatibleFields o) {
buildCounterPathReportCompatibleFields++;
if (buildCounterPathReportCompatibleFields < 3) {
- checkUnnamed5556(o.channelGroupings);
- checkUnnamed5557(o.dimensions);
+ checkUnnamed5532(o.channelGroupings);
+ checkUnnamed5533(o.dimensions);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed5558(o.metrics);
- checkUnnamed5559(o.pathFilters);
+ checkUnnamed5534(o.metrics);
+ checkUnnamed5535(o.pathFilters);
}
buildCounterPathReportCompatibleFields--;
}
-buildUnnamed5560() {
+buildUnnamed5536() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5560(core.List<core.String> o) {
+checkUnnamed5536(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed5561() {
+buildUnnamed5537() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5561(core.List<core.String> o) {
+checkUnnamed5537(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -6538,10 +6538,10 @@
buildCounterPathReportDimensionValue++;
if (buildCounterPathReportDimensionValue < 3) {
o.dimensionName = "foo";
- o.ids = buildUnnamed5560();
+ o.ids = buildUnnamed5536();
o.kind = "foo";
o.matchType = "foo";
- o.values = buildUnnamed5561();
+ o.values = buildUnnamed5537();
}
buildCounterPathReportDimensionValue--;
return o;
@@ -6551,61 +6551,61 @@
buildCounterPathReportDimensionValue++;
if (buildCounterPathReportDimensionValue < 3) {
unittest.expect(o.dimensionName, unittest.equals('foo'));
- checkUnnamed5560(o.ids);
+ checkUnnamed5536(o.ids);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.matchType, unittest.equals('foo'));
- checkUnnamed5561(o.values);
+ checkUnnamed5537(o.values);
}
buildCounterPathReportDimensionValue--;
}
-buildUnnamed5562() {
+buildUnnamed5538() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed5562(core.List<api.Dimension> o) {
+checkUnnamed5538(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
}
-buildUnnamed5563() {
+buildUnnamed5539() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed5563(core.List<api.Dimension> o) {
+checkUnnamed5539(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
}
-buildUnnamed5564() {
+buildUnnamed5540() {
var o = new core.List<api.Metric>();
o.add(buildMetric());
o.add(buildMetric());
return o;
}
-checkUnnamed5564(core.List<api.Metric> o) {
+checkUnnamed5540(core.List<api.Metric> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetric(o[0]);
checkMetric(o[1]);
}
-buildUnnamed5565() {
+buildUnnamed5541() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed5565(core.List<api.Dimension> o) {
+checkUnnamed5541(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
@@ -6616,11 +6616,11 @@
var o = new api.PathToConversionReportCompatibleFields();
buildCounterPathToConversionReportCompatibleFields++;
if (buildCounterPathToConversionReportCompatibleFields < 3) {
- o.conversionDimensions = buildUnnamed5562();
- o.customFloodlightVariables = buildUnnamed5563();
+ o.conversionDimensions = buildUnnamed5538();
+ o.customFloodlightVariables = buildUnnamed5539();
o.kind = "foo";
- o.metrics = buildUnnamed5564();
- o.perInteractionDimensions = buildUnnamed5565();
+ o.metrics = buildUnnamed5540();
+ o.perInteractionDimensions = buildUnnamed5541();
}
buildCounterPathToConversionReportCompatibleFields--;
return o;
@@ -6630,36 +6630,36 @@
api.PathToConversionReportCompatibleFields o) {
buildCounterPathToConversionReportCompatibleFields++;
if (buildCounterPathToConversionReportCompatibleFields < 3) {
- checkUnnamed5562(o.conversionDimensions);
- checkUnnamed5563(o.customFloodlightVariables);
+ checkUnnamed5538(o.conversionDimensions);
+ checkUnnamed5539(o.customFloodlightVariables);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed5564(o.metrics);
- checkUnnamed5565(o.perInteractionDimensions);
+ checkUnnamed5540(o.metrics);
+ checkUnnamed5541(o.perInteractionDimensions);
}
buildCounterPathToConversionReportCompatibleFields--;
}
-buildUnnamed5566() {
+buildUnnamed5542() {
var o = new core.List<api.Size>();
o.add(buildSize());
o.add(buildSize());
return o;
}
-checkUnnamed5566(core.List<api.Size> o) {
+checkUnnamed5542(core.List<api.Size> o) {
unittest.expect(o, unittest.hasLength(2));
checkSize(o[0]);
checkSize(o[1]);
}
-buildUnnamed5567() {
+buildUnnamed5543() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5567(core.List<core.String> o) {
+checkUnnamed5543(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -6672,7 +6672,7 @@
if (buildCounterPlacement < 3) {
o.accountId = "foo";
o.adBlockingOptOut = true;
- o.additionalSizes = buildUnnamed5566();
+ o.additionalSizes = buildUnnamed5542();
o.advertiserId = "foo";
o.advertiserIdDimensionValue = buildDimensionValue();
o.archived = true;
@@ -6706,7 +6706,7 @@
o.sslRequired = true;
o.status = "foo";
o.subaccountId = "foo";
- o.tagFormats = buildUnnamed5567();
+ o.tagFormats = buildUnnamed5543();
o.tagSetting = buildTagSetting();
o.videoActiveViewOptOut = true;
o.videoSettings = buildVideoSettings();
@@ -6721,7 +6721,7 @@
if (buildCounterPlacement < 3) {
unittest.expect(o.accountId, unittest.equals('foo'));
unittest.expect(o.adBlockingOptOut, unittest.isTrue);
- checkUnnamed5566(o.additionalSizes);
+ checkUnnamed5542(o.additionalSizes);
unittest.expect(o.advertiserId, unittest.equals('foo'));
checkDimensionValue(o.advertiserIdDimensionValue);
unittest.expect(o.archived, unittest.isTrue);
@@ -6755,7 +6755,7 @@
unittest.expect(o.sslRequired, unittest.isTrue);
unittest.expect(o.status, unittest.equals('foo'));
unittest.expect(o.subaccountId, unittest.equals('foo'));
- checkUnnamed5567(o.tagFormats);
+ checkUnnamed5543(o.tagFormats);
checkTagSetting(o.tagSetting);
unittest.expect(o.videoActiveViewOptOut, unittest.isTrue);
checkVideoSettings(o.videoSettings);
@@ -6789,14 +6789,14 @@
buildCounterPlacementAssignment--;
}
-buildUnnamed5568() {
+buildUnnamed5544() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5568(core.List<core.String> o) {
+checkUnnamed5544(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -6813,7 +6813,7 @@
o.archived = true;
o.campaignId = "foo";
o.campaignIdDimensionValue = buildDimensionValue();
- o.childPlacementIds = buildUnnamed5568();
+ o.childPlacementIds = buildUnnamed5544();
o.comment = "foo";
o.contentCategoryId = "foo";
o.createInfo = buildLastModifiedInfo();
@@ -6847,7 +6847,7 @@
unittest.expect(o.archived, unittest.isTrue);
unittest.expect(o.campaignId, unittest.equals('foo'));
checkDimensionValue(o.campaignIdDimensionValue);
- checkUnnamed5568(o.childPlacementIds);
+ checkUnnamed5544(o.childPlacementIds);
unittest.expect(o.comment, unittest.equals('foo'));
unittest.expect(o.contentCategoryId, unittest.equals('foo'));
checkLastModifiedInfo(o.createInfo);
@@ -6871,14 +6871,14 @@
buildCounterPlacementGroup--;
}
-buildUnnamed5569() {
+buildUnnamed5545() {
var o = new core.List<api.PlacementGroup>();
o.add(buildPlacementGroup());
o.add(buildPlacementGroup());
return o;
}
-checkUnnamed5569(core.List<api.PlacementGroup> o) {
+checkUnnamed5545(core.List<api.PlacementGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlacementGroup(o[0]);
checkPlacementGroup(o[1]);
@@ -6891,7 +6891,7 @@
if (buildCounterPlacementGroupsListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.placementGroups = buildUnnamed5569();
+ o.placementGroups = buildUnnamed5545();
}
buildCounterPlacementGroupsListResponse--;
return o;
@@ -6902,19 +6902,19 @@
if (buildCounterPlacementGroupsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed5569(o.placementGroups);
+ checkUnnamed5545(o.placementGroups);
}
buildCounterPlacementGroupsListResponse--;
}
-buildUnnamed5570() {
+buildUnnamed5546() {
var o = new core.List<api.PlacementStrategy>();
o.add(buildPlacementStrategy());
o.add(buildPlacementStrategy());
return o;
}
-checkUnnamed5570(core.List<api.PlacementStrategy> o) {
+checkUnnamed5546(core.List<api.PlacementStrategy> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlacementStrategy(o[0]);
checkPlacementStrategy(o[1]);
@@ -6927,7 +6927,7 @@
if (buildCounterPlacementStrategiesListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.placementStrategies = buildUnnamed5570();
+ o.placementStrategies = buildUnnamed5546();
}
buildCounterPlacementStrategiesListResponse--;
return o;
@@ -6938,7 +6938,7 @@
if (buildCounterPlacementStrategiesListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed5570(o.placementStrategies);
+ checkUnnamed5546(o.placementStrategies);
}
buildCounterPlacementStrategiesListResponse--;
}
@@ -6968,14 +6968,14 @@
buildCounterPlacementStrategy--;
}
-buildUnnamed5571() {
+buildUnnamed5547() {
var o = new core.List<api.TagData>();
o.add(buildTagData());
o.add(buildTagData());
return o;
}
-checkUnnamed5571(core.List<api.TagData> o) {
+checkUnnamed5547(core.List<api.TagData> o) {
unittest.expect(o, unittest.hasLength(2));
checkTagData(o[0]);
checkTagData(o[1]);
@@ -6987,7 +6987,7 @@
buildCounterPlacementTag++;
if (buildCounterPlacementTag < 3) {
o.placementId = "foo";
- o.tagDatas = buildUnnamed5571();
+ o.tagDatas = buildUnnamed5547();
}
buildCounterPlacementTag--;
return o;
@@ -6997,19 +6997,19 @@
buildCounterPlacementTag++;
if (buildCounterPlacementTag < 3) {
unittest.expect(o.placementId, unittest.equals('foo'));
- checkUnnamed5571(o.tagDatas);
+ checkUnnamed5547(o.tagDatas);
}
buildCounterPlacementTag--;
}
-buildUnnamed5572() {
+buildUnnamed5548() {
var o = new core.List<api.PlacementTag>();
o.add(buildPlacementTag());
o.add(buildPlacementTag());
return o;
}
-checkUnnamed5572(core.List<api.PlacementTag> o) {
+checkUnnamed5548(core.List<api.PlacementTag> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlacementTag(o[0]);
checkPlacementTag(o[1]);
@@ -7021,7 +7021,7 @@
buildCounterPlacementsGenerateTagsResponse++;
if (buildCounterPlacementsGenerateTagsResponse < 3) {
o.kind = "foo";
- o.placementTags = buildUnnamed5572();
+ o.placementTags = buildUnnamed5548();
}
buildCounterPlacementsGenerateTagsResponse--;
return o;
@@ -7031,19 +7031,19 @@
buildCounterPlacementsGenerateTagsResponse++;
if (buildCounterPlacementsGenerateTagsResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed5572(o.placementTags);
+ checkUnnamed5548(o.placementTags);
}
buildCounterPlacementsGenerateTagsResponse--;
}
-buildUnnamed5573() {
+buildUnnamed5549() {
var o = new core.List<api.Placement>();
o.add(buildPlacement());
o.add(buildPlacement());
return o;
}
-checkUnnamed5573(core.List<api.Placement> o) {
+checkUnnamed5549(core.List<api.Placement> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlacement(o[0]);
checkPlacement(o[1]);
@@ -7056,7 +7056,7 @@
if (buildCounterPlacementsListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.placements = buildUnnamed5573();
+ o.placements = buildUnnamed5549();
}
buildCounterPlacementsListResponse--;
return o;
@@ -7067,7 +7067,7 @@
if (buildCounterPlacementsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed5573(o.placements);
+ checkUnnamed5549(o.placements);
}
buildCounterPlacementsListResponse--;
}
@@ -7095,14 +7095,14 @@
buildCounterPlatformType--;
}
-buildUnnamed5574() {
+buildUnnamed5550() {
var o = new core.List<api.PlatformType>();
o.add(buildPlatformType());
o.add(buildPlatformType());
return o;
}
-checkUnnamed5574(core.List<api.PlatformType> o) {
+checkUnnamed5550(core.List<api.PlatformType> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlatformType(o[0]);
checkPlatformType(o[1]);
@@ -7114,7 +7114,7 @@
buildCounterPlatformTypesListResponse++;
if (buildCounterPlatformTypesListResponse < 3) {
o.kind = "foo";
- o.platformTypes = buildUnnamed5574();
+ o.platformTypes = buildUnnamed5550();
}
buildCounterPlatformTypesListResponse--;
return o;
@@ -7124,7 +7124,7 @@
buildCounterPlatformTypesListResponse++;
if (buildCounterPlatformTypesListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed5574(o.platformTypes);
+ checkUnnamed5550(o.platformTypes);
}
buildCounterPlatformTypesListResponse--;
}
@@ -7191,14 +7191,14 @@
buildCounterPostalCode--;
}
-buildUnnamed5575() {
+buildUnnamed5551() {
var o = new core.List<api.PostalCode>();
o.add(buildPostalCode());
o.add(buildPostalCode());
return o;
}
-checkUnnamed5575(core.List<api.PostalCode> o) {
+checkUnnamed5551(core.List<api.PostalCode> o) {
unittest.expect(o, unittest.hasLength(2));
checkPostalCode(o[0]);
checkPostalCode(o[1]);
@@ -7210,7 +7210,7 @@
buildCounterPostalCodesListResponse++;
if (buildCounterPostalCodesListResponse < 3) {
o.kind = "foo";
- o.postalCodes = buildUnnamed5575();
+ o.postalCodes = buildUnnamed5551();
}
buildCounterPostalCodesListResponse--;
return o;
@@ -7220,19 +7220,19 @@
buildCounterPostalCodesListResponse++;
if (buildCounterPostalCodesListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed5575(o.postalCodes);
+ checkUnnamed5551(o.postalCodes);
}
buildCounterPostalCodesListResponse--;
}
-buildUnnamed5576() {
+buildUnnamed5552() {
var o = new core.List<api.Flight>();
o.add(buildFlight());
o.add(buildFlight());
return o;
}
-checkUnnamed5576(core.List<api.Flight> o) {
+checkUnnamed5552(core.List<api.Flight> o) {
unittest.expect(o, unittest.hasLength(2));
checkFlight(o[0]);
checkFlight(o[1]);
@@ -7245,7 +7245,7 @@
if (buildCounterPricing < 3) {
o.capCostType = "foo";
o.endDate = core.DateTime.parse("2002-02-27T14:01:02Z");
- o.flights = buildUnnamed5576();
+ o.flights = buildUnnamed5552();
o.groupType = "foo";
o.pricingType = "foo";
o.startDate = core.DateTime.parse("2002-02-27T14:01:02Z");
@@ -7260,7 +7260,7 @@
unittest.expect(o.capCostType, unittest.equals('foo'));
unittest.expect(
o.endDate, unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
- checkUnnamed5576(o.flights);
+ checkUnnamed5552(o.flights);
unittest.expect(o.groupType, unittest.equals('foo'));
unittest.expect(o.pricingType, unittest.equals('foo'));
unittest.expect(o.startDate,
@@ -7269,14 +7269,14 @@
buildCounterPricing--;
}
-buildUnnamed5577() {
+buildUnnamed5553() {
var o = new core.List<api.PricingSchedulePricingPeriod>();
o.add(buildPricingSchedulePricingPeriod());
o.add(buildPricingSchedulePricingPeriod());
return o;
}
-checkUnnamed5577(core.List<api.PricingSchedulePricingPeriod> o) {
+checkUnnamed5553(core.List<api.PricingSchedulePricingPeriod> o) {
unittest.expect(o, unittest.hasLength(2));
checkPricingSchedulePricingPeriod(o[0]);
checkPricingSchedulePricingPeriod(o[1]);
@@ -7291,7 +7291,7 @@
o.endDate = core.DateTime.parse("2002-02-27T14:01:02Z");
o.flighted = true;
o.floodlightActivityId = "foo";
- o.pricingPeriods = buildUnnamed5577();
+ o.pricingPeriods = buildUnnamed5553();
o.pricingType = "foo";
o.startDate = core.DateTime.parse("2002-02-27T14:01:02Z");
o.testingStartDate = core.DateTime.parse("2002-02-27T14:01:02Z");
@@ -7308,7 +7308,7 @@
o.endDate, unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
unittest.expect(o.flighted, unittest.isTrue);
unittest.expect(o.floodlightActivityId, unittest.equals('foo'));
- checkUnnamed5577(o.pricingPeriods);
+ checkUnnamed5553(o.pricingPeriods);
unittest.expect(o.pricingType, unittest.equals('foo'));
unittest.expect(o.startDate,
unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
@@ -7410,14 +7410,14 @@
buildCounterProject--;
}
-buildUnnamed5578() {
+buildUnnamed5554() {
var o = new core.List<api.Project>();
o.add(buildProject());
o.add(buildProject());
return o;
}
-checkUnnamed5578(core.List<api.Project> o) {
+checkUnnamed5554(core.List<api.Project> o) {
unittest.expect(o, unittest.hasLength(2));
checkProject(o[0]);
checkProject(o[1]);
@@ -7430,7 +7430,7 @@
if (buildCounterProjectsListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.projects = buildUnnamed5578();
+ o.projects = buildUnnamed5554();
}
buildCounterProjectsListResponse--;
return o;
@@ -7441,71 +7441,71 @@
if (buildCounterProjectsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed5578(o.projects);
+ checkUnnamed5554(o.projects);
}
buildCounterProjectsListResponse--;
}
-buildUnnamed5579() {
+buildUnnamed5555() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed5579(core.List<api.Dimension> o) {
+checkUnnamed5555(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
}
-buildUnnamed5580() {
+buildUnnamed5556() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed5580(core.List<api.Dimension> o) {
+checkUnnamed5556(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
}
-buildUnnamed5581() {
+buildUnnamed5557() {
var o = new core.List<api.Metric>();
o.add(buildMetric());
o.add(buildMetric());
return o;
}
-checkUnnamed5581(core.List<api.Metric> o) {
+checkUnnamed5557(core.List<api.Metric> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetric(o[0]);
checkMetric(o[1]);
}
-buildUnnamed5582() {
+buildUnnamed5558() {
var o = new core.List<api.Metric>();
o.add(buildMetric());
o.add(buildMetric());
return o;
}
-checkUnnamed5582(core.List<api.Metric> o) {
+checkUnnamed5558(core.List<api.Metric> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetric(o[0]);
checkMetric(o[1]);
}
-buildUnnamed5583() {
+buildUnnamed5559() {
var o = new core.List<api.Metric>();
o.add(buildMetric());
o.add(buildMetric());
return o;
}
-checkUnnamed5583(core.List<api.Metric> o) {
+checkUnnamed5559(core.List<api.Metric> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetric(o[0]);
checkMetric(o[1]);
@@ -7516,12 +7516,12 @@
var o = new api.ReachReportCompatibleFields();
buildCounterReachReportCompatibleFields++;
if (buildCounterReachReportCompatibleFields < 3) {
- o.dimensionFilters = buildUnnamed5579();
- o.dimensions = buildUnnamed5580();
+ o.dimensionFilters = buildUnnamed5555();
+ o.dimensions = buildUnnamed5556();
o.kind = "foo";
- o.metrics = buildUnnamed5581();
- o.pivotedActivityMetrics = buildUnnamed5582();
- o.reachByFrequencyMetrics = buildUnnamed5583();
+ o.metrics = buildUnnamed5557();
+ o.pivotedActivityMetrics = buildUnnamed5558();
+ o.reachByFrequencyMetrics = buildUnnamed5559();
}
buildCounterReachReportCompatibleFields--;
return o;
@@ -7530,12 +7530,12 @@
checkReachReportCompatibleFields(api.ReachReportCompatibleFields o) {
buildCounterReachReportCompatibleFields++;
if (buildCounterReachReportCompatibleFields < 3) {
- checkUnnamed5579(o.dimensionFilters);
- checkUnnamed5580(o.dimensions);
+ checkUnnamed5555(o.dimensionFilters);
+ checkUnnamed5556(o.dimensions);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed5581(o.metrics);
- checkUnnamed5582(o.pivotedActivityMetrics);
- checkUnnamed5583(o.reachByFrequencyMetrics);
+ checkUnnamed5557(o.metrics);
+ checkUnnamed5558(o.pivotedActivityMetrics);
+ checkUnnamed5559(o.reachByFrequencyMetrics);
}
buildCounterReachReportCompatibleFields--;
}
@@ -7592,14 +7592,14 @@
buildCounterRegion--;
}
-buildUnnamed5584() {
+buildUnnamed5560() {
var o = new core.List<api.Region>();
o.add(buildRegion());
o.add(buildRegion());
return o;
}
-checkUnnamed5584(core.List<api.Region> o) {
+checkUnnamed5560(core.List<api.Region> o) {
unittest.expect(o, unittest.hasLength(2));
checkRegion(o[0]);
checkRegion(o[1]);
@@ -7611,7 +7611,7 @@
buildCounterRegionsListResponse++;
if (buildCounterRegionsListResponse < 3) {
o.kind = "foo";
- o.regions = buildUnnamed5584();
+ o.regions = buildUnnamed5560();
}
buildCounterRegionsListResponse--;
return o;
@@ -7621,7 +7621,7 @@
buildCounterRegionsListResponse++;
if (buildCounterRegionsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed5584(o.regions);
+ checkUnnamed5560(o.regions);
}
buildCounterRegionsListResponse--;
}
@@ -7669,27 +7669,27 @@
buildCounterRemarketingList--;
}
-buildUnnamed5585() {
+buildUnnamed5561() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5585(core.List<core.String> o) {
+checkUnnamed5561(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed5586() {
+buildUnnamed5562() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5586(core.List<core.String> o) {
+checkUnnamed5562(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -7702,8 +7702,8 @@
if (buildCounterRemarketingListShare < 3) {
o.kind = "foo";
o.remarketingListId = "foo";
- o.sharedAccountIds = buildUnnamed5585();
- o.sharedAdvertiserIds = buildUnnamed5586();
+ o.sharedAccountIds = buildUnnamed5561();
+ o.sharedAdvertiserIds = buildUnnamed5562();
}
buildCounterRemarketingListShare--;
return o;
@@ -7714,20 +7714,20 @@
if (buildCounterRemarketingListShare < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.remarketingListId, unittest.equals('foo'));
- checkUnnamed5585(o.sharedAccountIds);
- checkUnnamed5586(o.sharedAdvertiserIds);
+ checkUnnamed5561(o.sharedAccountIds);
+ checkUnnamed5562(o.sharedAdvertiserIds);
}
buildCounterRemarketingListShare--;
}
-buildUnnamed5587() {
+buildUnnamed5563() {
var o = new core.List<api.RemarketingList>();
o.add(buildRemarketingList());
o.add(buildRemarketingList());
return o;
}
-checkUnnamed5587(core.List<api.RemarketingList> o) {
+checkUnnamed5563(core.List<api.RemarketingList> o) {
unittest.expect(o, unittest.hasLength(2));
checkRemarketingList(o[0]);
checkRemarketingList(o[1]);
@@ -7740,7 +7740,7 @@
if (buildCounterRemarketingListsListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.remarketingLists = buildUnnamed5587();
+ o.remarketingLists = buildUnnamed5563();
}
buildCounterRemarketingListsListResponse--;
return o;
@@ -7751,45 +7751,45 @@
if (buildCounterRemarketingListsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed5587(o.remarketingLists);
+ checkUnnamed5563(o.remarketingLists);
}
buildCounterRemarketingListsListResponse--;
}
-buildUnnamed5588() {
+buildUnnamed5564() {
var o = new core.List<api.DimensionValue>();
o.add(buildDimensionValue());
o.add(buildDimensionValue());
return o;
}
-checkUnnamed5588(core.List<api.DimensionValue> o) {
+checkUnnamed5564(core.List<api.DimensionValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionValue(o[0]);
checkDimensionValue(o[1]);
}
-buildUnnamed5589() {
+buildUnnamed5565() {
var o = new core.List<api.SortedDimension>();
o.add(buildSortedDimension());
o.add(buildSortedDimension());
return o;
}
-checkUnnamed5589(core.List<api.SortedDimension> o) {
+checkUnnamed5565(core.List<api.SortedDimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkSortedDimension(o[0]);
checkSortedDimension(o[1]);
}
-buildUnnamed5590() {
+buildUnnamed5566() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5590(core.List<core.String> o) {
+checkUnnamed5566(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -7803,9 +7803,9 @@
o.activities = buildActivities();
o.customRichMediaEvents = buildCustomRichMediaEvents();
o.dateRange = buildDateRange();
- o.dimensionFilters = buildUnnamed5588();
- o.dimensions = buildUnnamed5589();
- o.metricNames = buildUnnamed5590();
+ o.dimensionFilters = buildUnnamed5564();
+ o.dimensions = buildUnnamed5565();
+ o.metricNames = buildUnnamed5566();
}
buildCounterReportCriteria--;
return o;
@@ -7817,60 +7817,60 @@
checkActivities(o.activities);
checkCustomRichMediaEvents(o.customRichMediaEvents);
checkDateRange(o.dateRange);
- checkUnnamed5588(o.dimensionFilters);
- checkUnnamed5589(o.dimensions);
- checkUnnamed5590(o.metricNames);
+ checkUnnamed5564(o.dimensionFilters);
+ checkUnnamed5565(o.dimensions);
+ checkUnnamed5566(o.metricNames);
}
buildCounterReportCriteria--;
}
-buildUnnamed5591() {
+buildUnnamed5567() {
var o = new core.List<api.SortedDimension>();
o.add(buildSortedDimension());
o.add(buildSortedDimension());
return o;
}
-checkUnnamed5591(core.List<api.SortedDimension> o) {
+checkUnnamed5567(core.List<api.SortedDimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkSortedDimension(o[0]);
checkSortedDimension(o[1]);
}
-buildUnnamed5592() {
+buildUnnamed5568() {
var o = new core.List<api.DimensionValue>();
o.add(buildDimensionValue());
o.add(buildDimensionValue());
return o;
}
-checkUnnamed5592(core.List<api.DimensionValue> o) {
+checkUnnamed5568(core.List<api.DimensionValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionValue(o[0]);
checkDimensionValue(o[1]);
}
-buildUnnamed5593() {
+buildUnnamed5569() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5593(core.List<core.String> o) {
+checkUnnamed5569(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed5594() {
+buildUnnamed5570() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5594(core.List<core.String> o) {
+checkUnnamed5570(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -7881,12 +7881,12 @@
var o = new api.ReportCrossDimensionReachCriteria();
buildCounterReportCrossDimensionReachCriteria++;
if (buildCounterReportCrossDimensionReachCriteria < 3) {
- o.breakdown = buildUnnamed5591();
+ o.breakdown = buildUnnamed5567();
o.dateRange = buildDateRange();
o.dimension = "foo";
- o.dimensionFilters = buildUnnamed5592();
- o.metricNames = buildUnnamed5593();
- o.overlapMetricNames = buildUnnamed5594();
+ o.dimensionFilters = buildUnnamed5568();
+ o.metricNames = buildUnnamed5569();
+ o.overlapMetricNames = buildUnnamed5570();
o.pivoted = true;
}
buildCounterReportCrossDimensionReachCriteria--;
@@ -7897,25 +7897,25 @@
api.ReportCrossDimensionReachCriteria o) {
buildCounterReportCrossDimensionReachCriteria++;
if (buildCounterReportCrossDimensionReachCriteria < 3) {
- checkUnnamed5591(o.breakdown);
+ checkUnnamed5567(o.breakdown);
checkDateRange(o.dateRange);
unittest.expect(o.dimension, unittest.equals('foo'));
- checkUnnamed5592(o.dimensionFilters);
- checkUnnamed5593(o.metricNames);
- checkUnnamed5594(o.overlapMetricNames);
+ checkUnnamed5568(o.dimensionFilters);
+ checkUnnamed5569(o.metricNames);
+ checkUnnamed5570(o.overlapMetricNames);
unittest.expect(o.pivoted, unittest.isTrue);
}
buildCounterReportCrossDimensionReachCriteria--;
}
-buildUnnamed5595() {
+buildUnnamed5571() {
var o = new core.List<api.Recipient>();
o.add(buildRecipient());
o.add(buildRecipient());
return o;
}
-checkUnnamed5595(core.List<api.Recipient> o) {
+checkUnnamed5571(core.List<api.Recipient> o) {
unittest.expect(o, unittest.hasLength(2));
checkRecipient(o[0]);
checkRecipient(o[1]);
@@ -7929,7 +7929,7 @@
o.emailOwner = true;
o.emailOwnerDeliveryType = "foo";
o.message = "foo";
- o.recipients = buildUnnamed5595();
+ o.recipients = buildUnnamed5571();
}
buildCounterReportDelivery--;
return o;
@@ -7941,58 +7941,58 @@
unittest.expect(o.emailOwner, unittest.isTrue);
unittest.expect(o.emailOwnerDeliveryType, unittest.equals('foo'));
unittest.expect(o.message, unittest.equals('foo'));
- checkUnnamed5595(o.recipients);
+ checkUnnamed5571(o.recipients);
}
buildCounterReportDelivery--;
}
-buildUnnamed5596() {
+buildUnnamed5572() {
var o = new core.List<api.DimensionValue>();
o.add(buildDimensionValue());
o.add(buildDimensionValue());
return o;
}
-checkUnnamed5596(core.List<api.DimensionValue> o) {
+checkUnnamed5572(core.List<api.DimensionValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionValue(o[0]);
checkDimensionValue(o[1]);
}
-buildUnnamed5597() {
+buildUnnamed5573() {
var o = new core.List<api.DimensionValue>();
o.add(buildDimensionValue());
o.add(buildDimensionValue());
return o;
}
-checkUnnamed5597(core.List<api.DimensionValue> o) {
+checkUnnamed5573(core.List<api.DimensionValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionValue(o[0]);
checkDimensionValue(o[1]);
}
-buildUnnamed5598() {
+buildUnnamed5574() {
var o = new core.List<api.SortedDimension>();
o.add(buildSortedDimension());
o.add(buildSortedDimension());
return o;
}
-checkUnnamed5598(core.List<api.SortedDimension> o) {
+checkUnnamed5574(core.List<api.SortedDimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkSortedDimension(o[0]);
checkSortedDimension(o[1]);
}
-buildUnnamed5599() {
+buildUnnamed5575() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5599(core.List<core.String> o) {
+checkUnnamed5575(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -8027,12 +8027,12 @@
var o = new api.ReportFloodlightCriteria();
buildCounterReportFloodlightCriteria++;
if (buildCounterReportFloodlightCriteria < 3) {
- o.customRichMediaEvents = buildUnnamed5596();
+ o.customRichMediaEvents = buildUnnamed5572();
o.dateRange = buildDateRange();
- o.dimensionFilters = buildUnnamed5597();
- o.dimensions = buildUnnamed5598();
+ o.dimensionFilters = buildUnnamed5573();
+ o.dimensions = buildUnnamed5574();
o.floodlightConfigId = buildDimensionValue();
- o.metricNames = buildUnnamed5599();
+ o.metricNames = buildUnnamed5575();
o.reportProperties = buildReportFloodlightCriteriaReportProperties();
}
buildCounterReportFloodlightCriteria--;
@@ -8042,64 +8042,64 @@
checkReportFloodlightCriteria(api.ReportFloodlightCriteria o) {
buildCounterReportFloodlightCriteria++;
if (buildCounterReportFloodlightCriteria < 3) {
- checkUnnamed5596(o.customRichMediaEvents);
+ checkUnnamed5572(o.customRichMediaEvents);
checkDateRange(o.dateRange);
- checkUnnamed5597(o.dimensionFilters);
- checkUnnamed5598(o.dimensions);
+ checkUnnamed5573(o.dimensionFilters);
+ checkUnnamed5574(o.dimensions);
checkDimensionValue(o.floodlightConfigId);
- checkUnnamed5599(o.metricNames);
+ checkUnnamed5575(o.metricNames);
checkReportFloodlightCriteriaReportProperties(o.reportProperties);
}
buildCounterReportFloodlightCriteria--;
}
-buildUnnamed5600() {
+buildUnnamed5576() {
var o = new core.List<api.DimensionValue>();
o.add(buildDimensionValue());
o.add(buildDimensionValue());
return o;
}
-checkUnnamed5600(core.List<api.DimensionValue> o) {
+checkUnnamed5576(core.List<api.DimensionValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionValue(o[0]);
checkDimensionValue(o[1]);
}
-buildUnnamed5601() {
+buildUnnamed5577() {
var o = new core.List<api.SortedDimension>();
o.add(buildSortedDimension());
o.add(buildSortedDimension());
return o;
}
-checkUnnamed5601(core.List<api.SortedDimension> o) {
+checkUnnamed5577(core.List<api.SortedDimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkSortedDimension(o[0]);
checkSortedDimension(o[1]);
}
-buildUnnamed5602() {
+buildUnnamed5578() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5602(core.List<core.String> o) {
+checkUnnamed5578(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed5603() {
+buildUnnamed5579() {
var o = new core.List<api.PathFilter>();
o.add(buildPathFilter());
o.add(buildPathFilter());
return o;
}
-checkUnnamed5603(core.List<api.PathFilter> o) {
+checkUnnamed5579(core.List<api.PathFilter> o) {
unittest.expect(o, unittest.hasLength(2));
checkPathFilter(o[0]);
checkPathFilter(o[1]);
@@ -8110,13 +8110,13 @@
var o = new api.ReportPathAttributionCriteria();
buildCounterReportPathAttributionCriteria++;
if (buildCounterReportPathAttributionCriteria < 3) {
- o.activityFilters = buildUnnamed5600();
+ o.activityFilters = buildUnnamed5576();
o.customChannelGrouping = buildChannelGrouping();
o.dateRange = buildDateRange();
- o.dimensions = buildUnnamed5601();
+ o.dimensions = buildUnnamed5577();
o.floodlightConfigId = buildDimensionValue();
- o.metricNames = buildUnnamed5602();
- o.pathFilters = buildUnnamed5603();
+ o.metricNames = buildUnnamed5578();
+ o.pathFilters = buildUnnamed5579();
}
buildCounterReportPathAttributionCriteria--;
return o;
@@ -8125,64 +8125,64 @@
checkReportPathAttributionCriteria(api.ReportPathAttributionCriteria o) {
buildCounterReportPathAttributionCriteria++;
if (buildCounterReportPathAttributionCriteria < 3) {
- checkUnnamed5600(o.activityFilters);
+ checkUnnamed5576(o.activityFilters);
checkChannelGrouping(o.customChannelGrouping);
checkDateRange(o.dateRange);
- checkUnnamed5601(o.dimensions);
+ checkUnnamed5577(o.dimensions);
checkDimensionValue(o.floodlightConfigId);
- checkUnnamed5602(o.metricNames);
- checkUnnamed5603(o.pathFilters);
+ checkUnnamed5578(o.metricNames);
+ checkUnnamed5579(o.pathFilters);
}
buildCounterReportPathAttributionCriteria--;
}
-buildUnnamed5604() {
+buildUnnamed5580() {
var o = new core.List<api.DimensionValue>();
o.add(buildDimensionValue());
o.add(buildDimensionValue());
return o;
}
-checkUnnamed5604(core.List<api.DimensionValue> o) {
+checkUnnamed5580(core.List<api.DimensionValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionValue(o[0]);
checkDimensionValue(o[1]);
}
-buildUnnamed5605() {
+buildUnnamed5581() {
var o = new core.List<api.SortedDimension>();
o.add(buildSortedDimension());
o.add(buildSortedDimension());
return o;
}
-checkUnnamed5605(core.List<api.SortedDimension> o) {
+checkUnnamed5581(core.List<api.SortedDimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkSortedDimension(o[0]);
checkSortedDimension(o[1]);
}
-buildUnnamed5606() {
+buildUnnamed5582() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5606(core.List<core.String> o) {
+checkUnnamed5582(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed5607() {
+buildUnnamed5583() {
var o = new core.List<api.PathFilter>();
o.add(buildPathFilter());
o.add(buildPathFilter());
return o;
}
-checkUnnamed5607(core.List<api.PathFilter> o) {
+checkUnnamed5583(core.List<api.PathFilter> o) {
unittest.expect(o, unittest.hasLength(2));
checkPathFilter(o[0]);
checkPathFilter(o[1]);
@@ -8193,13 +8193,13 @@
var o = new api.ReportPathCriteria();
buildCounterReportPathCriteria++;
if (buildCounterReportPathCriteria < 3) {
- o.activityFilters = buildUnnamed5604();
+ o.activityFilters = buildUnnamed5580();
o.customChannelGrouping = buildChannelGrouping();
o.dateRange = buildDateRange();
- o.dimensions = buildUnnamed5605();
+ o.dimensions = buildUnnamed5581();
o.floodlightConfigId = buildDimensionValue();
- o.metricNames = buildUnnamed5606();
- o.pathFilters = buildUnnamed5607();
+ o.metricNames = buildUnnamed5582();
+ o.pathFilters = buildUnnamed5583();
}
buildCounterReportPathCriteria--;
return o;
@@ -8208,90 +8208,90 @@
checkReportPathCriteria(api.ReportPathCriteria o) {
buildCounterReportPathCriteria++;
if (buildCounterReportPathCriteria < 3) {
- checkUnnamed5604(o.activityFilters);
+ checkUnnamed5580(o.activityFilters);
checkChannelGrouping(o.customChannelGrouping);
checkDateRange(o.dateRange);
- checkUnnamed5605(o.dimensions);
+ checkUnnamed5581(o.dimensions);
checkDimensionValue(o.floodlightConfigId);
- checkUnnamed5606(o.metricNames);
- checkUnnamed5607(o.pathFilters);
+ checkUnnamed5582(o.metricNames);
+ checkUnnamed5583(o.pathFilters);
}
buildCounterReportPathCriteria--;
}
-buildUnnamed5608() {
+buildUnnamed5584() {
var o = new core.List<api.DimensionValue>();
o.add(buildDimensionValue());
o.add(buildDimensionValue());
return o;
}
-checkUnnamed5608(core.List<api.DimensionValue> o) {
+checkUnnamed5584(core.List<api.DimensionValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionValue(o[0]);
checkDimensionValue(o[1]);
}
-buildUnnamed5609() {
+buildUnnamed5585() {
var o = new core.List<api.SortedDimension>();
o.add(buildSortedDimension());
o.add(buildSortedDimension());
return o;
}
-checkUnnamed5609(core.List<api.SortedDimension> o) {
+checkUnnamed5585(core.List<api.SortedDimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkSortedDimension(o[0]);
checkSortedDimension(o[1]);
}
-buildUnnamed5610() {
+buildUnnamed5586() {
var o = new core.List<api.SortedDimension>();
o.add(buildSortedDimension());
o.add(buildSortedDimension());
return o;
}
-checkUnnamed5610(core.List<api.SortedDimension> o) {
+checkUnnamed5586(core.List<api.SortedDimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkSortedDimension(o[0]);
checkSortedDimension(o[1]);
}
-buildUnnamed5611() {
+buildUnnamed5587() {
var o = new core.List<api.DimensionValue>();
o.add(buildDimensionValue());
o.add(buildDimensionValue());
return o;
}
-checkUnnamed5611(core.List<api.DimensionValue> o) {
+checkUnnamed5587(core.List<api.DimensionValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionValue(o[0]);
checkDimensionValue(o[1]);
}
-buildUnnamed5612() {
+buildUnnamed5588() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5612(core.List<core.String> o) {
+checkUnnamed5588(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed5613() {
+buildUnnamed5589() {
var o = new core.List<api.SortedDimension>();
o.add(buildSortedDimension());
o.add(buildSortedDimension());
return o;
}
-checkUnnamed5613(core.List<api.SortedDimension> o) {
+checkUnnamed5589(core.List<api.SortedDimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkSortedDimension(o[0]);
checkSortedDimension(o[1]);
@@ -8338,14 +8338,14 @@
var o = new api.ReportPathToConversionCriteria();
buildCounterReportPathToConversionCriteria++;
if (buildCounterReportPathToConversionCriteria < 3) {
- o.activityFilters = buildUnnamed5608();
- o.conversionDimensions = buildUnnamed5609();
- o.customFloodlightVariables = buildUnnamed5610();
- o.customRichMediaEvents = buildUnnamed5611();
+ o.activityFilters = buildUnnamed5584();
+ o.conversionDimensions = buildUnnamed5585();
+ o.customFloodlightVariables = buildUnnamed5586();
+ o.customRichMediaEvents = buildUnnamed5587();
o.dateRange = buildDateRange();
o.floodlightConfigId = buildDimensionValue();
- o.metricNames = buildUnnamed5612();
- o.perInteractionDimensions = buildUnnamed5613();
+ o.metricNames = buildUnnamed5588();
+ o.perInteractionDimensions = buildUnnamed5589();
o.reportProperties = buildReportPathToConversionCriteriaReportProperties();
}
buildCounterReportPathToConversionCriteria--;
@@ -8355,66 +8355,66 @@
checkReportPathToConversionCriteria(api.ReportPathToConversionCriteria o) {
buildCounterReportPathToConversionCriteria++;
if (buildCounterReportPathToConversionCriteria < 3) {
- checkUnnamed5608(o.activityFilters);
- checkUnnamed5609(o.conversionDimensions);
- checkUnnamed5610(o.customFloodlightVariables);
- checkUnnamed5611(o.customRichMediaEvents);
+ checkUnnamed5584(o.activityFilters);
+ checkUnnamed5585(o.conversionDimensions);
+ checkUnnamed5586(o.customFloodlightVariables);
+ checkUnnamed5587(o.customRichMediaEvents);
checkDateRange(o.dateRange);
checkDimensionValue(o.floodlightConfigId);
- checkUnnamed5612(o.metricNames);
- checkUnnamed5613(o.perInteractionDimensions);
+ checkUnnamed5588(o.metricNames);
+ checkUnnamed5589(o.perInteractionDimensions);
checkReportPathToConversionCriteriaReportProperties(o.reportProperties);
}
buildCounterReportPathToConversionCriteria--;
}
-buildUnnamed5614() {
+buildUnnamed5590() {
var o = new core.List<api.DimensionValue>();
o.add(buildDimensionValue());
o.add(buildDimensionValue());
return o;
}
-checkUnnamed5614(core.List<api.DimensionValue> o) {
+checkUnnamed5590(core.List<api.DimensionValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensionValue(o[0]);
checkDimensionValue(o[1]);
}
-buildUnnamed5615() {
+buildUnnamed5591() {
var o = new core.List<api.SortedDimension>();
o.add(buildSortedDimension());
o.add(buildSortedDimension());
return o;
}
-checkUnnamed5615(core.List<api.SortedDimension> o) {
+checkUnnamed5591(core.List<api.SortedDimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkSortedDimension(o[0]);
checkSortedDimension(o[1]);
}
-buildUnnamed5616() {
+buildUnnamed5592() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5616(core.List<core.String> o) {
+checkUnnamed5592(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed5617() {
+buildUnnamed5593() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5617(core.List<core.String> o) {
+checkUnnamed5593(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -8428,11 +8428,11 @@
o.activities = buildActivities();
o.customRichMediaEvents = buildCustomRichMediaEvents();
o.dateRange = buildDateRange();
- o.dimensionFilters = buildUnnamed5614();
- o.dimensions = buildUnnamed5615();
+ o.dimensionFilters = buildUnnamed5590();
+ o.dimensions = buildUnnamed5591();
o.enableAllDimensionCombinations = true;
- o.metricNames = buildUnnamed5616();
- o.reachByFrequencyMetricNames = buildUnnamed5617();
+ o.metricNames = buildUnnamed5592();
+ o.reachByFrequencyMetricNames = buildUnnamed5593();
}
buildCounterReportReachCriteria--;
return o;
@@ -8444,23 +8444,23 @@
checkActivities(o.activities);
checkCustomRichMediaEvents(o.customRichMediaEvents);
checkDateRange(o.dateRange);
- checkUnnamed5614(o.dimensionFilters);
- checkUnnamed5615(o.dimensions);
+ checkUnnamed5590(o.dimensionFilters);
+ checkUnnamed5591(o.dimensions);
unittest.expect(o.enableAllDimensionCombinations, unittest.isTrue);
- checkUnnamed5616(o.metricNames);
- checkUnnamed5617(o.reachByFrequencyMetricNames);
+ checkUnnamed5592(o.metricNames);
+ checkUnnamed5593(o.reachByFrequencyMetricNames);
}
buildCounterReportReachCriteria--;
}
-buildUnnamed5618() {
+buildUnnamed5594() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5618(core.List<core.String> o) {
+checkUnnamed5594(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -8475,7 +8475,7 @@
o.every = 42;
o.expirationDate = core.DateTime.parse("2002-02-27T14:01:02Z");
o.repeats = "foo";
- o.repeatsOnWeekDays = buildUnnamed5618();
+ o.repeatsOnWeekDays = buildUnnamed5594();
o.runsOnDayOfMonth = "foo";
o.startDate = core.DateTime.parse("2002-02-27T14:01:02Z");
}
@@ -8491,7 +8491,7 @@
unittest.expect(o.expirationDate,
unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
unittest.expect(o.repeats, unittest.equals('foo'));
- checkUnnamed5618(o.repeatsOnWeekDays);
+ checkUnnamed5594(o.repeatsOnWeekDays);
unittest.expect(o.runsOnDayOfMonth, unittest.equals('foo'));
unittest.expect(o.startDate,
unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
@@ -8556,53 +8556,53 @@
buildCounterReport--;
}
-buildUnnamed5619() {
+buildUnnamed5595() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed5619(core.List<api.Dimension> o) {
+checkUnnamed5595(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
}
-buildUnnamed5620() {
+buildUnnamed5596() {
var o = new core.List<api.Dimension>();
o.add(buildDimension());
o.add(buildDimension());
return o;
}
-checkUnnamed5620(core.List<api.Dimension> o) {
+checkUnnamed5596(core.List<api.Dimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimension(o[0]);
checkDimension(o[1]);
}
-buildUnnamed5621() {
+buildUnnamed5597() {
var o = new core.List<api.Metric>();
o.add(buildMetric());
o.add(buildMetric());
return o;
}
-checkUnnamed5621(core.List<api.Metric> o) {
+checkUnnamed5597(core.List<api.Metric> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetric(o[0]);
checkMetric(o[1]);
}
-buildUnnamed5622() {
+buildUnnamed5598() {
var o = new core.List<api.Metric>();
o.add(buildMetric());
o.add(buildMetric());
return o;
}
-checkUnnamed5622(core.List<api.Metric> o) {
+checkUnnamed5598(core.List<api.Metric> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetric(o[0]);
checkMetric(o[1]);
@@ -8613,11 +8613,11 @@
var o = new api.ReportCompatibleFields();
buildCounterReportCompatibleFields++;
if (buildCounterReportCompatibleFields < 3) {
- o.dimensionFilters = buildUnnamed5619();
- o.dimensions = buildUnnamed5620();
+ o.dimensionFilters = buildUnnamed5595();
+ o.dimensions = buildUnnamed5596();
o.kind = "foo";
- o.metrics = buildUnnamed5621();
- o.pivotedActivityMetrics = buildUnnamed5622();
+ o.metrics = buildUnnamed5597();
+ o.pivotedActivityMetrics = buildUnnamed5598();
}
buildCounterReportCompatibleFields--;
return o;
@@ -8626,23 +8626,23 @@
checkReportCompatibleFields(api.ReportCompatibleFields o) {
buildCounterReportCompatibleFields++;
if (buildCounterReportCompatibleFields < 3) {
- checkUnnamed5619(o.dimensionFilters);
- checkUnnamed5620(o.dimensions);
+ checkUnnamed5595(o.dimensionFilters);
+ checkUnnamed5596(o.dimensions);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed5621(o.metrics);
- checkUnnamed5622(o.pivotedActivityMetrics);
+ checkUnnamed5597(o.metrics);
+ checkUnnamed5598(o.pivotedActivityMetrics);
}
buildCounterReportCompatibleFields--;
}
-buildUnnamed5623() {
+buildUnnamed5599() {
var o = new core.List<api.Report>();
o.add(buildReport());
o.add(buildReport());
return o;
}
-checkUnnamed5623(core.List<api.Report> o) {
+checkUnnamed5599(core.List<api.Report> o) {
unittest.expect(o, unittest.hasLength(2));
checkReport(o[0]);
checkReport(o[1]);
@@ -8654,7 +8654,7 @@
buildCounterReportList++;
if (buildCounterReportList < 3) {
o.etag = "foo";
- o.items = buildUnnamed5623();
+ o.items = buildUnnamed5599();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -8666,7 +8666,7 @@
buildCounterReportList++;
if (buildCounterReportList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed5623(o.items);
+ checkUnnamed5599(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -8742,14 +8742,14 @@
buildCounterRule--;
}
-buildUnnamed5624() {
+buildUnnamed5600() {
var o = new core.List<api.SiteContact>();
o.add(buildSiteContact());
o.add(buildSiteContact());
return o;
}
-checkUnnamed5624(core.List<api.SiteContact> o) {
+checkUnnamed5600(core.List<api.SiteContact> o) {
unittest.expect(o, unittest.hasLength(2));
checkSiteContact(o[0]);
checkSiteContact(o[1]);
@@ -8769,7 +8769,7 @@
o.keyName = "foo";
o.kind = "foo";
o.name = "foo";
- o.siteContacts = buildUnnamed5624();
+ o.siteContacts = buildUnnamed5600();
o.siteSettings = buildSiteSettings();
o.subaccountId = "foo";
o.videoSettings = buildSiteVideoSettings();
@@ -8790,7 +8790,7 @@
unittest.expect(o.keyName, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed5624(o.siteContacts);
+ checkUnnamed5600(o.siteContacts);
checkSiteSettings(o.siteSettings);
unittest.expect(o.subaccountId, unittest.equals('foo'));
checkSiteVideoSettings(o.videoSettings);
@@ -8798,14 +8798,14 @@
buildCounterSite--;
}
-buildUnnamed5625() {
+buildUnnamed5601() {
var o = new core.List<api.Size>();
o.add(buildSize());
o.add(buildSize());
return o;
}
-checkUnnamed5625(core.List<api.Size> o) {
+checkUnnamed5601(core.List<api.Size> o) {
unittest.expect(o, unittest.hasLength(2));
checkSize(o[0]);
checkSize(o[1]);
@@ -8817,7 +8817,7 @@
buildCounterSiteCompanionSetting++;
if (buildCounterSiteCompanionSetting < 3) {
o.companionsDisabled = true;
- o.enabledSizes = buildUnnamed5625();
+ o.enabledSizes = buildUnnamed5601();
o.imageOnly = true;
o.kind = "foo";
}
@@ -8829,7 +8829,7 @@
buildCounterSiteCompanionSetting++;
if (buildCounterSiteCompanionSetting < 3) {
unittest.expect(o.companionsDisabled, unittest.isTrue);
- checkUnnamed5625(o.enabledSizes);
+ checkUnnamed5601(o.enabledSizes);
unittest.expect(o.imageOnly, unittest.isTrue);
unittest.expect(o.kind, unittest.equals('foo'));
}
@@ -8923,14 +8923,14 @@
buildCounterSiteSkippableSetting--;
}
-buildUnnamed5626() {
+buildUnnamed5602() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed5626(core.List<core.int> o) {
+checkUnnamed5602(core.List<core.int> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42));
unittest.expect(o[1], unittest.equals(42));
@@ -8941,7 +8941,7 @@
var o = new api.SiteTranscodeSetting();
buildCounterSiteTranscodeSetting++;
if (buildCounterSiteTranscodeSetting < 3) {
- o.enabledVideoFormats = buildUnnamed5626();
+ o.enabledVideoFormats = buildUnnamed5602();
o.kind = "foo";
}
buildCounterSiteTranscodeSetting--;
@@ -8951,7 +8951,7 @@
checkSiteTranscodeSetting(api.SiteTranscodeSetting o) {
buildCounterSiteTranscodeSetting++;
if (buildCounterSiteTranscodeSetting < 3) {
- checkUnnamed5626(o.enabledVideoFormats);
+ checkUnnamed5602(o.enabledVideoFormats);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterSiteTranscodeSetting--;
@@ -8988,14 +8988,14 @@
buildCounterSiteVideoSettings--;
}
-buildUnnamed5627() {
+buildUnnamed5603() {
var o = new core.List<api.Site>();
o.add(buildSite());
o.add(buildSite());
return o;
}
-checkUnnamed5627(core.List<api.Site> o) {
+checkUnnamed5603(core.List<api.Site> o) {
unittest.expect(o, unittest.hasLength(2));
checkSite(o[0]);
checkSite(o[1]);
@@ -9008,7 +9008,7 @@
if (buildCounterSitesListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.sites = buildUnnamed5627();
+ o.sites = buildUnnamed5603();
}
buildCounterSitesListResponse--;
return o;
@@ -9019,7 +9019,7 @@
if (buildCounterSitesListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed5627(o.sites);
+ checkUnnamed5603(o.sites);
}
buildCounterSitesListResponse--;
}
@@ -9051,14 +9051,14 @@
buildCounterSize--;
}
-buildUnnamed5628() {
+buildUnnamed5604() {
var o = new core.List<api.Size>();
o.add(buildSize());
o.add(buildSize());
return o;
}
-checkUnnamed5628(core.List<api.Size> o) {
+checkUnnamed5604(core.List<api.Size> o) {
unittest.expect(o, unittest.hasLength(2));
checkSize(o[0]);
checkSize(o[1]);
@@ -9070,7 +9070,7 @@
buildCounterSizesListResponse++;
if (buildCounterSizesListResponse < 3) {
o.kind = "foo";
- o.sizes = buildUnnamed5628();
+ o.sizes = buildUnnamed5604();
}
buildCounterSizesListResponse--;
return o;
@@ -9080,7 +9080,7 @@
buildCounterSizesListResponse++;
if (buildCounterSizesListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed5628(o.sizes);
+ checkUnnamed5604(o.sizes);
}
buildCounterSizesListResponse--;
}
@@ -9133,14 +9133,14 @@
buildCounterSortedDimension--;
}
-buildUnnamed5629() {
+buildUnnamed5605() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5629(core.List<core.String> o) {
+checkUnnamed5605(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -9152,7 +9152,7 @@
buildCounterSubaccount++;
if (buildCounterSubaccount < 3) {
o.accountId = "foo";
- o.availablePermissionIds = buildUnnamed5629();
+ o.availablePermissionIds = buildUnnamed5605();
o.id = "foo";
o.kind = "foo";
o.name = "foo";
@@ -9165,7 +9165,7 @@
buildCounterSubaccount++;
if (buildCounterSubaccount < 3) {
unittest.expect(o.accountId, unittest.equals('foo'));
- checkUnnamed5629(o.availablePermissionIds);
+ checkUnnamed5605(o.availablePermissionIds);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
@@ -9173,14 +9173,14 @@
buildCounterSubaccount--;
}
-buildUnnamed5630() {
+buildUnnamed5606() {
var o = new core.List<api.Subaccount>();
o.add(buildSubaccount());
o.add(buildSubaccount());
return o;
}
-checkUnnamed5630(core.List<api.Subaccount> o) {
+checkUnnamed5606(core.List<api.Subaccount> o) {
unittest.expect(o, unittest.hasLength(2));
checkSubaccount(o[0]);
checkSubaccount(o[1]);
@@ -9193,7 +9193,7 @@
if (buildCounterSubaccountsListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.subaccounts = buildUnnamed5630();
+ o.subaccounts = buildUnnamed5606();
}
buildCounterSubaccountsListResponse--;
return o;
@@ -9204,7 +9204,7 @@
if (buildCounterSubaccountsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed5630(o.subaccounts);
+ checkUnnamed5606(o.subaccounts);
}
buildCounterSubaccountsListResponse--;
}
@@ -9344,14 +9344,14 @@
buildCounterTargetableRemarketingList--;
}
-buildUnnamed5631() {
+buildUnnamed5607() {
var o = new core.List<api.TargetableRemarketingList>();
o.add(buildTargetableRemarketingList());
o.add(buildTargetableRemarketingList());
return o;
}
-checkUnnamed5631(core.List<api.TargetableRemarketingList> o) {
+checkUnnamed5607(core.List<api.TargetableRemarketingList> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetableRemarketingList(o[0]);
checkTargetableRemarketingList(o[1]);
@@ -9364,7 +9364,7 @@
if (buildCounterTargetableRemarketingListsListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.targetableRemarketingLists = buildUnnamed5631();
+ o.targetableRemarketingLists = buildUnnamed5607();
}
buildCounterTargetableRemarketingListsListResponse--;
return o;
@@ -9376,7 +9376,7 @@
if (buildCounterTargetableRemarketingListsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed5631(o.targetableRemarketingLists);
+ checkUnnamed5607(o.targetableRemarketingLists);
}
buildCounterTargetableRemarketingListsListResponse--;
}
@@ -9424,14 +9424,14 @@
buildCounterTargetingTemplate--;
}
-buildUnnamed5632() {
+buildUnnamed5608() {
var o = new core.List<api.TargetingTemplate>();
o.add(buildTargetingTemplate());
o.add(buildTargetingTemplate());
return o;
}
-checkUnnamed5632(core.List<api.TargetingTemplate> o) {
+checkUnnamed5608(core.List<api.TargetingTemplate> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetingTemplate(o[0]);
checkTargetingTemplate(o[1]);
@@ -9444,7 +9444,7 @@
if (buildCounterTargetingTemplatesListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.targetingTemplates = buildUnnamed5632();
+ o.targetingTemplates = buildUnnamed5608();
}
buildCounterTargetingTemplatesListResponse--;
return o;
@@ -9455,84 +9455,84 @@
if (buildCounterTargetingTemplatesListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed5632(o.targetingTemplates);
+ checkUnnamed5608(o.targetingTemplates);
}
buildCounterTargetingTemplatesListResponse--;
}
-buildUnnamed5633() {
+buildUnnamed5609() {
var o = new core.List<api.Browser>();
o.add(buildBrowser());
o.add(buildBrowser());
return o;
}
-checkUnnamed5633(core.List<api.Browser> o) {
+checkUnnamed5609(core.List<api.Browser> o) {
unittest.expect(o, unittest.hasLength(2));
checkBrowser(o[0]);
checkBrowser(o[1]);
}
-buildUnnamed5634() {
+buildUnnamed5610() {
var o = new core.List<api.ConnectionType>();
o.add(buildConnectionType());
o.add(buildConnectionType());
return o;
}
-checkUnnamed5634(core.List<api.ConnectionType> o) {
+checkUnnamed5610(core.List<api.ConnectionType> o) {
unittest.expect(o, unittest.hasLength(2));
checkConnectionType(o[0]);
checkConnectionType(o[1]);
}
-buildUnnamed5635() {
+buildUnnamed5611() {
var o = new core.List<api.MobileCarrier>();
o.add(buildMobileCarrier());
o.add(buildMobileCarrier());
return o;
}
-checkUnnamed5635(core.List<api.MobileCarrier> o) {
+checkUnnamed5611(core.List<api.MobileCarrier> o) {
unittest.expect(o, unittest.hasLength(2));
checkMobileCarrier(o[0]);
checkMobileCarrier(o[1]);
}
-buildUnnamed5636() {
+buildUnnamed5612() {
var o = new core.List<api.OperatingSystemVersion>();
o.add(buildOperatingSystemVersion());
o.add(buildOperatingSystemVersion());
return o;
}
-checkUnnamed5636(core.List<api.OperatingSystemVersion> o) {
+checkUnnamed5612(core.List<api.OperatingSystemVersion> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperatingSystemVersion(o[0]);
checkOperatingSystemVersion(o[1]);
}
-buildUnnamed5637() {
+buildUnnamed5613() {
var o = new core.List<api.OperatingSystem>();
o.add(buildOperatingSystem());
o.add(buildOperatingSystem());
return o;
}
-checkUnnamed5637(core.List<api.OperatingSystem> o) {
+checkUnnamed5613(core.List<api.OperatingSystem> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperatingSystem(o[0]);
checkOperatingSystem(o[1]);
}
-buildUnnamed5638() {
+buildUnnamed5614() {
var o = new core.List<api.PlatformType>();
o.add(buildPlatformType());
o.add(buildPlatformType());
return o;
}
-checkUnnamed5638(core.List<api.PlatformType> o) {
+checkUnnamed5614(core.List<api.PlatformType> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlatformType(o[0]);
checkPlatformType(o[1]);
@@ -9543,12 +9543,12 @@
var o = new api.TechnologyTargeting();
buildCounterTechnologyTargeting++;
if (buildCounterTechnologyTargeting < 3) {
- o.browsers = buildUnnamed5633();
- o.connectionTypes = buildUnnamed5634();
- o.mobileCarriers = buildUnnamed5635();
- o.operatingSystemVersions = buildUnnamed5636();
- o.operatingSystems = buildUnnamed5637();
- o.platformTypes = buildUnnamed5638();
+ o.browsers = buildUnnamed5609();
+ o.connectionTypes = buildUnnamed5610();
+ o.mobileCarriers = buildUnnamed5611();
+ o.operatingSystemVersions = buildUnnamed5612();
+ o.operatingSystems = buildUnnamed5613();
+ o.platformTypes = buildUnnamed5614();
}
buildCounterTechnologyTargeting--;
return o;
@@ -9557,12 +9557,12 @@
checkTechnologyTargeting(api.TechnologyTargeting o) {
buildCounterTechnologyTargeting++;
if (buildCounterTechnologyTargeting < 3) {
- checkUnnamed5633(o.browsers);
- checkUnnamed5634(o.connectionTypes);
- checkUnnamed5635(o.mobileCarriers);
- checkUnnamed5636(o.operatingSystemVersions);
- checkUnnamed5637(o.operatingSystems);
- checkUnnamed5638(o.platformTypes);
+ checkUnnamed5609(o.browsers);
+ checkUnnamed5610(o.connectionTypes);
+ checkUnnamed5611(o.mobileCarriers);
+ checkUnnamed5612(o.operatingSystemVersions);
+ checkUnnamed5613(o.operatingSystems);
+ checkUnnamed5614(o.platformTypes);
}
buildCounterTechnologyTargeting--;
}
@@ -9609,14 +9609,14 @@
buildCounterThirdPartyTrackingUrl--;
}
-buildUnnamed5639() {
+buildUnnamed5615() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed5639(core.List<core.int> o) {
+checkUnnamed5615(core.List<core.int> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42));
unittest.expect(o[1], unittest.equals(42));
@@ -9627,7 +9627,7 @@
var o = new api.TranscodeSetting();
buildCounterTranscodeSetting++;
if (buildCounterTranscodeSetting < 3) {
- o.enabledVideoFormats = buildUnnamed5639();
+ o.enabledVideoFormats = buildUnnamed5615();
o.kind = "foo";
}
buildCounterTranscodeSetting--;
@@ -9637,7 +9637,7 @@
checkTranscodeSetting(api.TranscodeSetting o) {
buildCounterTranscodeSetting++;
if (buildCounterTranscodeSetting < 3) {
- checkUnnamed5639(o.enabledVideoFormats);
+ checkUnnamed5615(o.enabledVideoFormats);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterTranscodeSetting--;
@@ -9720,14 +9720,14 @@
buildCounterUserProfile--;
}
-buildUnnamed5640() {
+buildUnnamed5616() {
var o = new core.List<api.UserProfile>();
o.add(buildUserProfile());
o.add(buildUserProfile());
return o;
}
-checkUnnamed5640(core.List<api.UserProfile> o) {
+checkUnnamed5616(core.List<api.UserProfile> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserProfile(o[0]);
checkUserProfile(o[1]);
@@ -9739,7 +9739,7 @@
buildCounterUserProfileList++;
if (buildCounterUserProfileList < 3) {
o.etag = "foo";
- o.items = buildUnnamed5640();
+ o.items = buildUnnamed5616();
o.kind = "foo";
}
buildCounterUserProfileList--;
@@ -9750,20 +9750,20 @@
buildCounterUserProfileList++;
if (buildCounterUserProfileList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed5640(o.items);
+ checkUnnamed5616(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterUserProfileList--;
}
-buildUnnamed5641() {
+buildUnnamed5617() {
var o = new core.List<api.UserRolePermission>();
o.add(buildUserRolePermission());
o.add(buildUserRolePermission());
return o;
}
-checkUnnamed5641(core.List<api.UserRolePermission> o) {
+checkUnnamed5617(core.List<api.UserRolePermission> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserRolePermission(o[0]);
checkUserRolePermission(o[1]);
@@ -9780,7 +9780,7 @@
o.kind = "foo";
o.name = "foo";
o.parentUserRoleId = "foo";
- o.permissions = buildUnnamed5641();
+ o.permissions = buildUnnamed5617();
o.subaccountId = "foo";
}
buildCounterUserRole--;
@@ -9796,7 +9796,7 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.parentUserRoleId, unittest.equals('foo'));
- checkUnnamed5641(o.permissions);
+ checkUnnamed5617(o.permissions);
unittest.expect(o.subaccountId, unittest.equals('foo'));
}
buildCounterUserRole--;
@@ -9852,14 +9852,14 @@
buildCounterUserRolePermissionGroup--;
}
-buildUnnamed5642() {
+buildUnnamed5618() {
var o = new core.List<api.UserRolePermissionGroup>();
o.add(buildUserRolePermissionGroup());
o.add(buildUserRolePermissionGroup());
return o;
}
-checkUnnamed5642(core.List<api.UserRolePermissionGroup> o) {
+checkUnnamed5618(core.List<api.UserRolePermissionGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserRolePermissionGroup(o[0]);
checkUserRolePermissionGroup(o[1]);
@@ -9871,7 +9871,7 @@
buildCounterUserRolePermissionGroupsListResponse++;
if (buildCounterUserRolePermissionGroupsListResponse < 3) {
o.kind = "foo";
- o.userRolePermissionGroups = buildUnnamed5642();
+ o.userRolePermissionGroups = buildUnnamed5618();
}
buildCounterUserRolePermissionGroupsListResponse--;
return o;
@@ -9882,19 +9882,19 @@
buildCounterUserRolePermissionGroupsListResponse++;
if (buildCounterUserRolePermissionGroupsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed5642(o.userRolePermissionGroups);
+ checkUnnamed5618(o.userRolePermissionGroups);
}
buildCounterUserRolePermissionGroupsListResponse--;
}
-buildUnnamed5643() {
+buildUnnamed5619() {
var o = new core.List<api.UserRolePermission>();
o.add(buildUserRolePermission());
o.add(buildUserRolePermission());
return o;
}
-checkUnnamed5643(core.List<api.UserRolePermission> o) {
+checkUnnamed5619(core.List<api.UserRolePermission> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserRolePermission(o[0]);
checkUserRolePermission(o[1]);
@@ -9906,7 +9906,7 @@
buildCounterUserRolePermissionsListResponse++;
if (buildCounterUserRolePermissionsListResponse < 3) {
o.kind = "foo";
- o.userRolePermissions = buildUnnamed5643();
+ o.userRolePermissions = buildUnnamed5619();
}
buildCounterUserRolePermissionsListResponse--;
return o;
@@ -9916,19 +9916,19 @@
buildCounterUserRolePermissionsListResponse++;
if (buildCounterUserRolePermissionsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed5643(o.userRolePermissions);
+ checkUnnamed5619(o.userRolePermissions);
}
buildCounterUserRolePermissionsListResponse--;
}
-buildUnnamed5644() {
+buildUnnamed5620() {
var o = new core.List<api.UserRole>();
o.add(buildUserRole());
o.add(buildUserRole());
return o;
}
-checkUnnamed5644(core.List<api.UserRole> o) {
+checkUnnamed5620(core.List<api.UserRole> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserRole(o[0]);
checkUserRole(o[1]);
@@ -9941,7 +9941,7 @@
if (buildCounterUserRolesListResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.userRoles = buildUnnamed5644();
+ o.userRoles = buildUnnamed5620();
}
buildCounterUserRolesListResponse--;
return o;
@@ -9952,7 +9952,7 @@
if (buildCounterUserRolesListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed5644(o.userRoles);
+ checkUnnamed5620(o.userRoles);
}
buildCounterUserRolesListResponse--;
}
@@ -9984,14 +9984,14 @@
buildCounterVideoFormat--;
}
-buildUnnamed5645() {
+buildUnnamed5621() {
var o = new core.List<api.VideoFormat>();
o.add(buildVideoFormat());
o.add(buildVideoFormat());
return o;
}
-checkUnnamed5645(core.List<api.VideoFormat> o) {
+checkUnnamed5621(core.List<api.VideoFormat> o) {
unittest.expect(o, unittest.hasLength(2));
checkVideoFormat(o[0]);
checkVideoFormat(o[1]);
@@ -10003,7 +10003,7 @@
buildCounterVideoFormatsListResponse++;
if (buildCounterVideoFormatsListResponse < 3) {
o.kind = "foo";
- o.videoFormats = buildUnnamed5645();
+ o.videoFormats = buildUnnamed5621();
}
buildCounterVideoFormatsListResponse--;
return o;
@@ -10013,7 +10013,7 @@
buildCounterVideoFormatsListResponse++;
if (buildCounterVideoFormatsListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed5645(o.videoFormats);
+ checkUnnamed5621(o.videoFormats);
}
buildCounterVideoFormatsListResponse--;
}
@@ -10070,6 +10070,318 @@
buildCounterVideoSettings--;
}
+buildUnnamed5622() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed5622(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed5623() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed5623(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed5624() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed5624(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed5625() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed5625(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed5626() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed5626(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed5627() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed5627(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed5628() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed5628(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed5629() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed5629(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed5630() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed5630(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed5631() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed5631(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed5632() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed5632(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed5633() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed5633(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed5634() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed5634(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed5635() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed5635(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed5636() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed5636(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed5637() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed5637(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed5638() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed5638(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed5639() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed5639(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed5640() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed5640(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed5641() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed5641(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed5642() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed5642(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed5643() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed5643(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed5644() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed5644(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed5645() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed5645(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
buildUnnamed5646() {
var o = new core.List<core.String>();
o.add("foo");
@@ -10941,318 +11253,6 @@
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed5713() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed5713(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed5714() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed5714(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed5715() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed5715(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed5716() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed5716(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed5717() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed5717(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed5718() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed5718(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed5719() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed5719(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed5720() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed5720(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed5721() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed5721(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed5722() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed5722(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed5723() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed5723(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed5724() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed5724(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed5725() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed5725(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed5726() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed5726(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed5727() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed5727(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed5728() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed5728(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed5729() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed5729(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed5730() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed5730(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed5731() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed5731(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed5732() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed5732(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed5733() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed5733(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed5734() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed5734(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed5735() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed5735(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed5736() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed5736(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
main() {
unittest.group("obj-schema-Account", () {
unittest.test("to-json--from-json", () {
@@ -13718,15 +13718,15 @@
api.AccountUserProfilesResourceApi res =
new api.DfareportingApi(mock).accountUserProfiles;
var arg_profileId = "foo";
- var arg_sortField = "foo";
+ var arg_subaccountId = "foo";
var arg_sortOrder = "foo";
+ var arg_userRoleId = "foo";
+ var arg_pageToken = "foo";
+ var arg_ids = buildUnnamed5622();
+ var arg_sortField = "foo";
+ var arg_active = true;
var arg_searchString = "foo";
var arg_maxResults = 42;
- var arg_ids = buildUnnamed5646();
- var arg_subaccountId = "foo";
- var arg_userRoleId = "foo";
- var arg_active = true;
- var arg_pageToken = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -13771,22 +13771,22 @@
}
}
unittest.expect(
- queryMap["sortField"].first, unittest.equals(arg_sortField));
+ 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));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
+ unittest.expect(
+ queryMap["sortField"].first, unittest.equals(arg_sortField));
+ unittest.expect(
+ queryMap["active"].first, unittest.equals("$arg_active"));
+ unittest.expect(
queryMap["searchString"].first, unittest.equals(arg_searchString));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
- unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
- unittest.expect(
- queryMap["subaccountId"].first, unittest.equals(arg_subaccountId));
- unittest.expect(
- queryMap["userRoleId"].first, unittest.equals(arg_userRoleId));
- unittest.expect(
- queryMap["active"].first, unittest.equals("$arg_active"));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -13797,15 +13797,15 @@
}), true);
res
.list(arg_profileId,
- sortField: arg_sortField,
+ subaccountId: arg_subaccountId,
sortOrder: arg_sortOrder,
+ userRoleId: arg_userRoleId,
+ pageToken: arg_pageToken,
+ ids: arg_ids,
+ sortField: arg_sortField,
+ active: arg_active,
searchString: arg_searchString,
maxResults: arg_maxResults,
- ids: arg_ids,
- subaccountId: arg_subaccountId,
- userRoleId: arg_userRoleId,
- active: arg_active,
- pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkAccountUserProfilesListResponse(response);
@@ -14020,12 +14020,12 @@
var mock = new HttpServerMock();
api.AccountsResourceApi res = new api.DfareportingApi(mock).accounts;
var arg_profileId = "foo";
- var arg_maxResults = 42;
- var arg_sortOrder = "foo";
- var arg_searchString = "foo";
var arg_pageToken = "foo";
+ var arg_searchString = "foo";
var arg_sortField = "foo";
- var arg_ids = buildUnnamed5647();
+ var arg_maxResults = 42;
+ var arg_ids = buildUnnamed5623();
+ var arg_sortOrder = "foo";
var arg_active = true;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -14070,18 +14070,18 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(core.int.parse(queryMap["maxResults"].first),
- unittest.equals(arg_maxResults));
- unittest.expect(
- queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
- unittest.expect(
- queryMap["searchString"].first, unittest.equals(arg_searchString));
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));
@@ -14093,12 +14093,12 @@
}), true);
res
.list(arg_profileId,
- maxResults: arg_maxResults,
- sortOrder: arg_sortOrder,
- searchString: arg_searchString,
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) {
@@ -14378,29 +14378,29 @@
var mock = new HttpServerMock();
api.AdsResourceApi res = new api.DfareportingApi(mock).ads;
var arg_profileId = "foo";
+ var arg_placementIds = buildUnnamed5624();
+ var arg_campaignIds = buildUnnamed5625();
var arg_dynamicClickTracker = true;
- var arg_overriddenEventTagId = "foo";
- var arg_maxResults = 42;
- var arg_placementIds = buildUnnamed5648();
- var arg_remarketingListIds = buildUnnamed5649();
- var arg_pageToken = "foo";
- var arg_campaignIds = buildUnnamed5650();
- var arg_audienceSegmentIds = buildUnnamed5651();
- var arg_creativeOptimizationConfigurationIds = buildUnnamed5652();
- var arg_active = true;
- var arg_advertiserId = "foo";
- var arg_ids = buildUnnamed5653();
- var arg_archived = true;
- var arg_landingPageIds = buildUnnamed5654();
- var arg_sortField = "foo";
- var arg_sslCompliant = true;
var arg_compatibility = "foo";
+ var arg_type = buildUnnamed5626();
+ var arg_ids = buildUnnamed5627();
var arg_sortOrder = "foo";
- var arg_searchString = "foo";
- var arg_sizeIds = buildUnnamed5655();
- var arg_creativeIds = buildUnnamed5656();
+ var arg_archived = true;
+ var arg_audienceSegmentIds = buildUnnamed5628();
+ var arg_active = true;
+ var arg_remarketingListIds = buildUnnamed5629();
+ var arg_sizeIds = buildUnnamed5630();
+ var arg_creativeOptimizationConfigurationIds = buildUnnamed5631();
+ var arg_advertiserId = "foo";
+ var arg_maxResults = 42;
+ var arg_pageToken = "foo";
+ var arg_sslCompliant = true;
+ var arg_landingPageIds = buildUnnamed5632();
+ var arg_creativeIds = buildUnnamed5633();
+ var arg_overriddenEventTagId = "foo";
var arg_sslRequired = true;
- var arg_type = buildUnnamed5657();
+ var arg_sortField = "foo";
+ var arg_searchString = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -14444,49 +14444,49 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["dynamicClickTracker"].first,
- unittest.equals("$arg_dynamicClickTracker"));
- unittest.expect(queryMap["overriddenEventTagId"].first,
- unittest.equals(arg_overriddenEventTagId));
- unittest.expect(core.int.parse(queryMap["maxResults"].first),
- unittest.equals(arg_maxResults));
unittest.expect(
queryMap["placementIds"], unittest.equals(arg_placementIds));
- unittest.expect(queryMap["remarketingListIds"],
- unittest.equals(arg_remarketingListIds));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(
queryMap["campaignIds"], unittest.equals(arg_campaignIds));
- unittest.expect(queryMap["audienceSegmentIds"],
- unittest.equals(arg_audienceSegmentIds));
- unittest.expect(queryMap["creativeOptimizationConfigurationIds"],
- unittest.equals(arg_creativeOptimizationConfigurationIds));
- unittest.expect(
- queryMap["active"].first, unittest.equals("$arg_active"));
- unittest.expect(
- queryMap["advertiserId"].first, unittest.equals(arg_advertiserId));
- unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
- unittest.expect(
- queryMap["archived"].first, unittest.equals("$arg_archived"));
- unittest.expect(
- queryMap["landingPageIds"], unittest.equals(arg_landingPageIds));
- unittest.expect(
- queryMap["sortField"].first, unittest.equals(arg_sortField));
- unittest.expect(queryMap["sslCompliant"].first,
- unittest.equals("$arg_sslCompliant"));
+ 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));
unittest.expect(
- queryMap["searchString"].first, unittest.equals(arg_searchString));
+ 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));
unittest.expect(
queryMap["creativeIds"], unittest.equals(arg_creativeIds));
+ unittest.expect(queryMap["overriddenEventTagId"].first,
+ unittest.equals(arg_overriddenEventTagId));
unittest.expect(
queryMap["sslRequired"].first, unittest.equals("$arg_sslRequired"));
- unittest.expect(queryMap["type"], unittest.equals(arg_type));
+ unittest.expect(
+ queryMap["sortField"].first, unittest.equals(arg_sortField));
+ unittest.expect(
+ queryMap["searchString"].first, unittest.equals(arg_searchString));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -14497,30 +14497,30 @@
}), true);
res
.list(arg_profileId,
- dynamicClickTracker: arg_dynamicClickTracker,
- overriddenEventTagId: arg_overriddenEventTagId,
- maxResults: arg_maxResults,
placementIds: arg_placementIds,
- remarketingListIds: arg_remarketingListIds,
- pageToken: arg_pageToken,
campaignIds: arg_campaignIds,
+ dynamicClickTracker: arg_dynamicClickTracker,
+ compatibility: arg_compatibility,
+ type: arg_type,
+ ids: arg_ids,
+ sortOrder: arg_sortOrder,
+ archived: arg_archived,
audienceSegmentIds: arg_audienceSegmentIds,
+ active: arg_active,
+ remarketingListIds: arg_remarketingListIds,
+ sizeIds: arg_sizeIds,
creativeOptimizationConfigurationIds:
arg_creativeOptimizationConfigurationIds,
- active: arg_active,
advertiserId: arg_advertiserId,
- ids: arg_ids,
- archived: arg_archived,
- landingPageIds: arg_landingPageIds,
- sortField: arg_sortField,
+ maxResults: arg_maxResults,
+ pageToken: arg_pageToken,
sslCompliant: arg_sslCompliant,
- compatibility: arg_compatibility,
- sortOrder: arg_sortOrder,
- searchString: arg_searchString,
- sizeIds: arg_sizeIds,
+ landingPageIds: arg_landingPageIds,
creativeIds: arg_creativeIds,
+ overriddenEventTagId: arg_overriddenEventTagId,
sslRequired: arg_sslRequired,
- type: arg_type,
+ sortField: arg_sortField,
+ searchString: arg_searchString,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkAdsListResponse(response);
@@ -14868,11 +14868,11 @@
new api.DfareportingApi(mock).advertiserGroups;
var arg_profileId = "foo";
var arg_searchString = "foo";
- var arg_pageToken = "foo";
var arg_maxResults = 42;
- var arg_ids = buildUnnamed5658();
+ var arg_ids = buildUnnamed5634();
var arg_sortOrder = "foo";
var arg_sortField = "foo";
+ var arg_pageToken = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -14918,8 +14918,6 @@
}
unittest.expect(
queryMap["searchString"].first, unittest.equals(arg_searchString));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
@@ -14927,6 +14925,8 @@
queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
unittest.expect(
queryMap["sortField"].first, unittest.equals(arg_sortField));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -14938,11 +14938,11 @@
res
.list(arg_profileId,
searchString: arg_searchString,
- pageToken: arg_pageToken,
maxResults: arg_maxResults,
ids: arg_ids,
sortOrder: arg_sortOrder,
sortField: arg_sortField,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkAdvertiserGroupsListResponse(response);
@@ -15226,16 +15226,16 @@
api.AdvertiserLandingPagesResourceApi res =
new api.DfareportingApi(mock).advertiserLandingPages;
var arg_profileId = "foo";
- var arg_searchString = "foo";
- var arg_campaignIds = buildUnnamed5659();
- var arg_archived = true;
- var arg_sortField = "foo";
- var arg_sortOrder = "foo";
var arg_subaccountId = "foo";
- var arg_ids = buildUnnamed5660();
- var arg_maxResults = 42;
- var arg_advertiserIds = buildUnnamed5661();
+ var arg_campaignIds = buildUnnamed5635();
+ var arg_sortOrder = "foo";
+ var arg_advertiserIds = buildUnnamed5636();
var arg_pageToken = "foo";
+ var arg_sortField = "foo";
+ var arg_archived = true;
+ var arg_searchString = "foo";
+ var arg_maxResults = 42;
+ var arg_ids = buildUnnamed5637();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -15280,24 +15280,24 @@
}
}
unittest.expect(
- queryMap["searchString"].first, unittest.equals(arg_searchString));
+ queryMap["subaccountId"].first, unittest.equals(arg_subaccountId));
unittest.expect(
queryMap["campaignIds"], unittest.equals(arg_campaignIds));
unittest.expect(
- queryMap["archived"].first, unittest.equals("$arg_archived"));
- 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["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["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));
+ unittest.expect(core.int.parse(queryMap["maxResults"].first),
+ unittest.equals(arg_maxResults));
+ unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -15309,16 +15309,16 @@
}), true);
res
.list(arg_profileId,
- searchString: arg_searchString,
- campaignIds: arg_campaignIds,
- archived: arg_archived,
- sortField: arg_sortField,
- sortOrder: arg_sortOrder,
subaccountId: arg_subaccountId,
- ids: arg_ids,
- maxResults: arg_maxResults,
+ campaignIds: arg_campaignIds,
+ sortOrder: arg_sortOrder,
advertiserIds: arg_advertiserIds,
pageToken: arg_pageToken,
+ sortField: arg_sortField,
+ archived: arg_archived,
+ searchString: arg_searchString,
+ maxResults: arg_maxResults,
+ ids: arg_ids,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkAdvertiserLandingPagesListResponse(response);
@@ -15602,17 +15602,17 @@
api.AdvertisersResourceApi res =
new api.DfareportingApi(mock).advertisers;
var arg_profileId = "foo";
- var arg_floodlightConfigurationIds = buildUnnamed5662();
+ var arg_maxResults = 42;
+ var arg_subaccountId = "foo";
+ var arg_ids = buildUnnamed5638();
+ var arg_sortOrder = "foo";
+ var arg_status = "foo";
var arg_onlyParent = true;
- var arg_ids = buildUnnamed5663();
+ var arg_floodlightConfigurationIds = buildUnnamed5639();
var arg_sortField = "foo";
var arg_searchString = "foo";
- var arg_subaccountId = "foo";
- var arg_advertiserGroupIds = buildUnnamed5664();
+ var arg_advertiserGroupIds = buildUnnamed5640();
var arg_pageToken = "foo";
- var arg_sortOrder = "foo";
- var arg_maxResults = 42;
- var arg_status = "foo";
var arg_includeAdvertisersWithoutGroupsOnly = true;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -15657,26 +15657,26 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["floodlightConfigurationIds"],
- unittest.equals(arg_floodlightConfigurationIds));
+ 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));
+ 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["ids"], unittest.equals(arg_ids));
+ 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["subaccountId"].first, unittest.equals(arg_subaccountId));
unittest.expect(queryMap["advertiserGroupIds"],
unittest.equals(arg_advertiserGroupIds));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(
- queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
- unittest.expect(core.int.parse(queryMap["maxResults"].first),
- unittest.equals(arg_maxResults));
- unittest.expect(queryMap["status"].first, unittest.equals(arg_status));
unittest.expect(queryMap["includeAdvertisersWithoutGroupsOnly"].first,
unittest.equals("$arg_includeAdvertisersWithoutGroupsOnly"));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -15689,17 +15689,17 @@
}), true);
res
.list(arg_profileId,
- floodlightConfigurationIds: arg_floodlightConfigurationIds,
- onlyParent: arg_onlyParent,
+ 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,
- subaccountId: arg_subaccountId,
advertiserGroupIds: arg_advertiserGroupIds,
pageToken: arg_pageToken,
- sortOrder: arg_sortOrder,
- maxResults: arg_maxResults,
- status: arg_status,
includeAdvertisersWithoutGroupsOnly:
arg_includeAdvertisersWithoutGroupsOnly,
$fields: arg_$fields)
@@ -15995,8 +15995,8 @@
var arg_profileId = "foo";
var arg_campaignId = "foo";
var arg_maxResults = 42;
- var arg_pageToken = "foo";
var arg_sortOrder = "foo";
+ var arg_pageToken = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -16052,9 +16052,9 @@
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(
queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -16067,8 +16067,8 @@
res
.list(arg_profileId, arg_campaignId,
maxResults: arg_maxResults,
- pageToken: arg_pageToken,
sortOrder: arg_sortOrder,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkCampaignCreativeAssociationsListResponse(response);
@@ -16213,19 +16213,19 @@
var mock = new HttpServerMock();
api.CampaignsResourceApi res = new api.DfareportingApi(mock).campaigns;
var arg_profileId = "foo";
- var arg_sortOrder = "foo";
- var arg_subaccountId = "foo";
- var arg_atLeastOneOptimizationActivity = true;
- var arg_advertiserGroupIds = buildUnnamed5665();
- var arg_searchString = "foo";
- var arg_ids = buildUnnamed5666();
- var arg_excludedIds = buildUnnamed5667();
- var arg_sortField = "foo";
- var arg_pageToken = "foo";
var arg_maxResults = 42;
- var arg_advertiserIds = buildUnnamed5668();
- var arg_overriddenEventTagId = "foo";
var arg_archived = true;
+ var arg_sortField = "foo";
+ var arg_ids = buildUnnamed5641();
+ var arg_atLeastOneOptimizationActivity = true;
+ var arg_excludedIds = buildUnnamed5642();
+ var arg_sortOrder = "foo";
+ var arg_searchString = "foo";
+ var arg_advertiserGroupIds = buildUnnamed5643();
+ var arg_overriddenEventTagId = "foo";
+ var arg_pageToken = "foo";
+ var arg_subaccountId = "foo";
+ var arg_advertiserIds = buildUnnamed5644();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -16269,31 +16269,31 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(
- queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
- unittest.expect(
- queryMap["subaccountId"].first, unittest.equals(arg_subaccountId));
- unittest.expect(queryMap["atLeastOneOptimizationActivity"].first,
- unittest.equals("$arg_atLeastOneOptimizationActivity"));
- unittest.expect(queryMap["advertiserGroupIds"],
- unittest.equals(arg_advertiserGroupIds));
- unittest.expect(
- queryMap["searchString"].first, unittest.equals(arg_searchString));
- unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
- unittest.expect(
- queryMap["excludedIds"], unittest.equals(arg_excludedIds));
- unittest.expect(
- queryMap["sortField"].first, unittest.equals(arg_sortField));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
unittest.expect(
- queryMap["advertiserIds"], unittest.equals(arg_advertiserIds));
+ 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["overriddenEventTagId"].first,
unittest.equals(arg_overriddenEventTagId));
unittest.expect(
- queryMap["archived"].first, unittest.equals("$arg_archived"));
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(
+ queryMap["subaccountId"].first, unittest.equals(arg_subaccountId));
+ unittest.expect(
+ queryMap["advertiserIds"], unittest.equals(arg_advertiserIds));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -16304,20 +16304,20 @@
}), true);
res
.list(arg_profileId,
- sortOrder: arg_sortOrder,
- subaccountId: arg_subaccountId,
+ maxResults: arg_maxResults,
+ archived: arg_archived,
+ sortField: arg_sortField,
+ ids: arg_ids,
atLeastOneOptimizationActivity:
arg_atLeastOneOptimizationActivity,
- advertiserGroupIds: arg_advertiserGroupIds,
- searchString: arg_searchString,
- ids: arg_ids,
excludedIds: arg_excludedIds,
- sortField: arg_sortField,
- pageToken: arg_pageToken,
- maxResults: arg_maxResults,
- advertiserIds: arg_advertiserIds,
+ sortOrder: arg_sortOrder,
+ searchString: arg_searchString,
+ advertiserGroupIds: arg_advertiserGroupIds,
overriddenEventTagId: arg_overriddenEventTagId,
- archived: arg_archived,
+ pageToken: arg_pageToken,
+ subaccountId: arg_subaccountId,
+ advertiserIds: arg_advertiserIds,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkCampaignsListResponse(response);
@@ -16531,15 +16531,15 @@
api.ChangeLogsResourceApi res = new api.DfareportingApi(mock).changeLogs;
var arg_profileId = "foo";
var arg_action = "foo";
- var arg_searchString = "foo";
- var arg_pageToken = "foo";
- var arg_minChangeTime = "foo";
- var arg_ids = buildUnnamed5669();
var arg_objectType = "foo";
- var arg_objectIds = buildUnnamed5670();
- var arg_userProfileIds = buildUnnamed5671();
var arg_maxChangeTime = "foo";
+ var arg_objectIds = buildUnnamed5645();
+ var arg_userProfileIds = buildUnnamed5646();
var arg_maxResults = 42;
+ var arg_minChangeTime = "foo";
+ var arg_pageToken = "foo";
+ var arg_searchString = "foo";
+ var arg_ids = buildUnnamed5647();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -16585,21 +16585,21 @@
}
unittest.expect(queryMap["action"].first, unittest.equals(arg_action));
unittest.expect(
- queryMap["searchString"].first, unittest.equals(arg_searchString));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(queryMap["minChangeTime"].first,
- unittest.equals(arg_minChangeTime));
- unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
- unittest.expect(
queryMap["objectType"].first, unittest.equals(arg_objectType));
+ 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(queryMap["maxChangeTime"].first,
- unittest.equals(arg_maxChangeTime));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
+ unittest.expect(queryMap["minChangeTime"].first,
+ unittest.equals(arg_minChangeTime));
+ 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["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -16611,15 +16611,15 @@
res
.list(arg_profileId,
action: arg_action,
- searchString: arg_searchString,
- pageToken: arg_pageToken,
- minChangeTime: arg_minChangeTime,
- ids: arg_ids,
objectType: arg_objectType,
+ maxChangeTime: arg_maxChangeTime,
objectIds: arg_objectIds,
userProfileIds: arg_userProfileIds,
- maxChangeTime: arg_maxChangeTime,
maxResults: arg_maxResults,
+ minChangeTime: arg_minChangeTime,
+ pageToken: arg_pageToken,
+ searchString: arg_searchString,
+ ids: arg_ids,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkChangeLogsListResponse(response);
@@ -16632,10 +16632,10 @@
var mock = new HttpServerMock();
api.CitiesResourceApi res = new api.DfareportingApi(mock).cities;
var arg_profileId = "foo";
- var arg_dartIds = buildUnnamed5672();
- var arg_countryDartIds = buildUnnamed5673();
+ var arg_countryDartIds = buildUnnamed5648();
var arg_namePrefix = "foo";
- var arg_regionDartIds = buildUnnamed5674();
+ var arg_dartIds = buildUnnamed5649();
+ var arg_regionDartIds = buildUnnamed5650();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -16679,11 +16679,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["dartIds"], unittest.equals(arg_dartIds));
unittest.expect(
queryMap["countryDartIds"], unittest.equals(arg_countryDartIds));
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));
@@ -16696,9 +16696,9 @@
}), true);
res
.list(arg_profileId,
- dartIds: arg_dartIds,
countryDartIds: arg_countryDartIds,
namePrefix: arg_namePrefix,
+ dartIds: arg_dartIds,
regionDartIds: arg_regionDartIds,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -17044,12 +17044,12 @@
api.ContentCategoriesResourceApi res =
new api.DfareportingApi(mock).contentCategories;
var arg_profileId = "foo";
- var arg_sortField = "foo";
+ var arg_sortOrder = "foo";
var arg_searchString = "foo";
var arg_maxResults = 42;
- var arg_ids = buildUnnamed5675();
var arg_pageToken = "foo";
- var arg_sortOrder = "foo";
+ var arg_sortField = "foo";
+ var arg_ids = buildUnnamed5651();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -17094,16 +17094,16 @@
}
}
unittest.expect(
- queryMap["sortField"].first, unittest.equals(arg_sortField));
+ 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));
- unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(
- queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
+ queryMap["sortField"].first, unittest.equals(arg_sortField));
+ unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -17114,12 +17114,12 @@
}), true);
res
.list(arg_profileId,
- sortField: arg_sortField,
+ sortOrder: arg_sortOrder,
searchString: arg_searchString,
maxResults: arg_maxResults,
- ids: arg_ids,
pageToken: arg_pageToken,
- sortOrder: arg_sortOrder,
+ sortField: arg_sortField,
+ ids: arg_ids,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkContentCategoriesListResponse(response);
@@ -17850,12 +17850,12 @@
new api.DfareportingApi(mock).creativeFieldValues;
var arg_profileId = "foo";
var arg_creativeFieldId = "foo";
- var arg_sortOrder = "foo";
- var arg_maxResults = 42;
var arg_searchString = "foo";
- var arg_pageToken = "foo";
var arg_sortField = "foo";
- var arg_ids = buildUnnamed5676();
+ var arg_maxResults = 42;
+ var arg_pageToken = "foo";
+ var arg_ids = buildUnnamed5652();
+ var arg_sortOrder = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -17909,16 +17909,16 @@
}
}
unittest.expect(
- queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
+ 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["searchString"].first, unittest.equals(arg_searchString));
- unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- 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 = {
@@ -17929,12 +17929,12 @@
}), true);
res
.list(arg_profileId, arg_creativeFieldId,
- sortOrder: arg_sortOrder,
- maxResults: arg_maxResults,
searchString: arg_searchString,
- pageToken: arg_pageToken,
sortField: arg_sortField,
+ maxResults: arg_maxResults,
+ pageToken: arg_pageToken,
ids: arg_ids,
+ sortOrder: arg_sortOrder,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkCreativeFieldValuesListResponse(response);
@@ -18305,13 +18305,13 @@
api.CreativeFieldsResourceApi res =
new api.DfareportingApi(mock).creativeFields;
var arg_profileId = "foo";
- var arg_advertiserIds = buildUnnamed5677();
- var arg_maxResults = 42;
- var arg_sortOrder = "foo";
- var arg_ids = buildUnnamed5678();
var arg_searchString = "foo";
var arg_pageToken = "foo";
+ var arg_maxResults = 42;
var arg_sortField = "foo";
+ var arg_advertiserIds = buildUnnamed5653();
+ var arg_sortOrder = "foo";
+ var arg_ids = buildUnnamed5654();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -18356,18 +18356,18 @@
}
}
unittest.expect(
- queryMap["advertiserIds"], unittest.equals(arg_advertiserIds));
- unittest.expect(core.int.parse(queryMap["maxResults"].first),
- unittest.equals(arg_maxResults));
- unittest.expect(
- queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
- unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
- unittest.expect(
queryMap["searchString"].first, unittest.equals(arg_searchString));
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["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 = {
@@ -18378,13 +18378,13 @@
}), true);
res
.list(arg_profileId,
- advertiserIds: arg_advertiserIds,
- maxResults: arg_maxResults,
- sortOrder: arg_sortOrder,
- ids: arg_ids,
searchString: arg_searchString,
pageToken: arg_pageToken,
+ maxResults: arg_maxResults,
sortField: arg_sortField,
+ advertiserIds: arg_advertiserIds,
+ sortOrder: arg_sortOrder,
+ ids: arg_ids,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkCreativeFieldsListResponse(response);
@@ -18668,14 +18668,14 @@
api.CreativeGroupsResourceApi res =
new api.DfareportingApi(mock).creativeGroups;
var arg_profileId = "foo";
- var arg_ids = buildUnnamed5679();
- var arg_searchString = "foo";
- var arg_sortOrder = "foo";
- var arg_sortField = "foo";
- var arg_groupNumber = 42;
- var arg_advertiserIds = buildUnnamed5680();
var arg_maxResults = 42;
+ var arg_groupNumber = 42;
+ var arg_sortField = "foo";
+ var arg_ids = buildUnnamed5655();
+ var arg_advertiserIds = buildUnnamed5656();
+ var arg_searchString = "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;
@@ -18719,21 +18719,21 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
- unittest.expect(
- queryMap["searchString"].first, unittest.equals(arg_searchString));
- 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(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["maxResults"].first),
- unittest.equals(arg_maxResults));
+ unittest.expect(
+ queryMap["searchString"].first, unittest.equals(arg_searchString));
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 = {
@@ -18744,14 +18744,14 @@
}), true);
res
.list(arg_profileId,
- ids: arg_ids,
- searchString: arg_searchString,
- sortOrder: arg_sortOrder,
- sortField: arg_sortField,
- groupNumber: arg_groupNumber,
- advertiserIds: arg_advertiserIds,
maxResults: arg_maxResults,
+ groupNumber: arg_groupNumber,
+ sortField: arg_sortField,
+ ids: arg_ids,
+ advertiserIds: arg_advertiserIds,
+ searchString: arg_searchString,
pageToken: arg_pageToken,
+ sortOrder: arg_sortOrder,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkCreativeGroupsListResponse(response);
@@ -19032,22 +19032,22 @@
var mock = new HttpServerMock();
api.CreativesResourceApi res = new api.DfareportingApi(mock).creatives;
var arg_profileId = "foo";
- var arg_sizeIds = buildUnnamed5681();
- var arg_searchString = "foo";
var arg_maxResults = 42;
- var arg_archived = true;
- var arg_renderingIds = buildUnnamed5682();
- var arg_active = true;
- var arg_pageToken = "foo";
- var arg_studioCreativeId = "foo";
- var arg_companionCreativeIds = buildUnnamed5683();
- var arg_types = buildUnnamed5684();
- var arg_creativeFieldIds = buildUnnamed5685();
- var arg_ids = buildUnnamed5686();
- var arg_sortOrder = "foo";
- var arg_sortField = "foo";
- var arg_advertiserId = "foo";
+ var arg_creativeFieldIds = buildUnnamed5657();
+ var arg_types = buildUnnamed5658();
+ var arg_sizeIds = buildUnnamed5659();
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 = buildUnnamed5660();
+ var arg_companionCreativeIds = buildUnnamed5661();
+ var arg_renderingIds = buildUnnamed5662();
+ var arg_archived = true;
+ var arg_sortOrder = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -19091,35 +19091,35 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["sizeIds"], unittest.equals(arg_sizeIds));
- unittest.expect(
- queryMap["searchString"].first, unittest.equals(arg_searchString));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
- unittest.expect(
- queryMap["archived"].first, unittest.equals("$arg_archived"));
- unittest.expect(
- queryMap["renderingIds"], unittest.equals(arg_renderingIds));
- unittest.expect(
- queryMap["active"].first, unittest.equals("$arg_active"));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(queryMap["studioCreativeId"].first,
- unittest.equals(arg_studioCreativeId));
- unittest.expect(queryMap["companionCreativeIds"],
- unittest.equals(arg_companionCreativeIds));
- unittest.expect(queryMap["types"], unittest.equals(arg_types));
unittest.expect(queryMap["creativeFieldIds"],
unittest.equals(arg_creativeFieldIds));
- unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
+ unittest.expect(queryMap["types"], unittest.equals(arg_types));
+ unittest.expect(queryMap["sizeIds"], unittest.equals(arg_sizeIds));
unittest.expect(
- queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
- unittest.expect(
- queryMap["sortField"].first, unittest.equals(arg_sortField));
+ queryMap["campaignId"].first, unittest.equals(arg_campaignId));
unittest.expect(
queryMap["advertiserId"].first, unittest.equals(arg_advertiserId));
unittest.expect(
- queryMap["campaignId"].first, unittest.equals(arg_campaignId));
+ 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));
+ unittest.expect(
+ queryMap["archived"].first, unittest.equals("$arg_archived"));
+ unittest.expect(
+ queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -19130,22 +19130,22 @@
}), true);
res
.list(arg_profileId,
- sizeIds: arg_sizeIds,
- searchString: arg_searchString,
maxResults: arg_maxResults,
- archived: arg_archived,
- renderingIds: arg_renderingIds,
- active: arg_active,
- pageToken: arg_pageToken,
- studioCreativeId: arg_studioCreativeId,
- companionCreativeIds: arg_companionCreativeIds,
- types: arg_types,
creativeFieldIds: arg_creativeFieldIds,
- ids: arg_ids,
- sortOrder: arg_sortOrder,
- sortField: arg_sortField,
- advertiserId: arg_advertiserId,
+ 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,
+ archived: arg_archived,
+ sortOrder: arg_sortOrder,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkCreativesListResponse(response);
@@ -19363,8 +19363,8 @@
new api.DfareportingApi(mock).dimensionValues;
var arg_request = buildDimensionValueRequest();
var arg_profileId = "foo";
- var arg_maxResults = 42;
var arg_pageToken = "foo";
+ var arg_maxResults = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.DimensionValueRequest.fromJson(json);
@@ -19411,10 +19411,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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["maxResults"].first),
+ unittest.equals(arg_maxResults));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -19425,8 +19425,8 @@
}), true);
res
.query(arg_request, arg_profileId,
- maxResults: arg_maxResults,
pageToken: arg_pageToken,
+ maxResults: arg_maxResults,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkDimensionValueList(response);
@@ -19575,16 +19575,16 @@
new api.DfareportingApi(mock).directorySites;
var arg_profileId = "foo";
var arg_acceptsPublisherPaidPlacements = true;
- var arg_active = true;
var arg_sortField = "foo";
- var arg_pageToken = "foo";
- var arg_acceptsInterstitialPlacements = true;
- var arg_searchString = "foo";
var arg_sortOrder = "foo";
+ var arg_ids = buildUnnamed5663();
+ 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_ids = buildUnnamed5687();
+ var arg_acceptsInterstitialPlacements = true;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -19631,24 +19631,24 @@
unittest.expect(queryMap["acceptsPublisherPaidPlacements"].first,
unittest.equals("$arg_acceptsPublisherPaidPlacements"));
unittest.expect(
- queryMap["active"].first, unittest.equals("$arg_active"));
- unittest.expect(
queryMap["sortField"].first, unittest.equals(arg_sortField));
unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(queryMap["acceptsInterstitialPlacements"].first,
- unittest.equals("$arg_acceptsInterstitialPlacements"));
- 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["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["ids"], unittest.equals(arg_ids));
+ unittest.expect(queryMap["acceptsInterstitialPlacements"].first,
+ unittest.equals("$arg_acceptsInterstitialPlacements"));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -19661,17 +19661,17 @@
.list(arg_profileId,
acceptsPublisherPaidPlacements:
arg_acceptsPublisherPaidPlacements,
- active: arg_active,
sortField: arg_sortField,
- pageToken: arg_pageToken,
- acceptsInterstitialPlacements: arg_acceptsInterstitialPlacements,
- searchString: arg_searchString,
sortOrder: arg_sortOrder,
+ ids: arg_ids,
+ active: arg_active,
+ pageToken: arg_pageToken,
maxResults: arg_maxResults,
acceptsInStreamVideoPlacements:
arg_acceptsInStreamVideoPlacements,
+ searchString: arg_searchString,
dfpNetworkCode: arg_dfpNetworkCode,
- ids: arg_ids,
+ acceptsInterstitialPlacements: arg_acceptsInterstitialPlacements,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkDirectorySitesListResponse(response);
@@ -19823,10 +19823,10 @@
api.DynamicTargetingKeysResourceApi res =
new api.DfareportingApi(mock).dynamicTargetingKeys;
var arg_profileId = "foo";
- var arg_objectId = "foo";
- var arg_names = buildUnnamed5688();
- var arg_advertiserId = "foo";
var arg_objectType = "foo";
+ var arg_objectId = "foo";
+ var arg_names = buildUnnamed5664();
+ var arg_advertiserId = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -19871,12 +19871,12 @@
}
}
unittest.expect(
+ queryMap["objectType"].first, unittest.equals(arg_objectType));
+ unittest.expect(
queryMap["objectId"].first, unittest.equals(arg_objectId));
unittest.expect(queryMap["names"], unittest.equals(arg_names));
unittest.expect(
queryMap["advertiserId"].first, unittest.equals(arg_advertiserId));
- unittest.expect(
- queryMap["objectType"].first, unittest.equals(arg_objectType));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -19887,10 +19887,10 @@
}), true);
res
.list(arg_profileId,
+ objectType: arg_objectType,
objectId: arg_objectId,
names: arg_names,
advertiserId: arg_advertiserId,
- objectType: arg_objectType,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkDynamicTargetingKeysListResponse(response);
@@ -20099,16 +20099,16 @@
var mock = new HttpServerMock();
api.EventTagsResourceApi res = new api.DfareportingApi(mock).eventTags;
var arg_profileId = "foo";
- var arg_campaignId = "foo";
var arg_definitionsOnly = true;
var arg_adId = "foo";
- var arg_sortField = "foo";
- var arg_eventTagTypes = buildUnnamed5689();
- var arg_sortOrder = "foo";
- var arg_advertiserId = "foo";
var arg_searchString = "foo";
+ var arg_advertiserId = "foo";
+ var arg_ids = buildUnnamed5665();
+ var arg_sortField = "foo";
var arg_enabled = true;
- var arg_ids = buildUnnamed5690();
+ var arg_eventTagTypes = buildUnnamed5666();
+ var arg_campaignId = "foo";
+ var arg_sortOrder = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -20152,24 +20152,24 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(
- queryMap["campaignId"].first, unittest.equals(arg_campaignId));
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));
unittest.expect(
+ queryMap["enabled"].first, unittest.equals("$arg_enabled"));
+ unittest.expect(
queryMap["eventTagTypes"], unittest.equals(arg_eventTagTypes));
unittest.expect(
+ queryMap["campaignId"].first, unittest.equals(arg_campaignId));
+ unittest.expect(
queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
- unittest.expect(
- queryMap["advertiserId"].first, unittest.equals(arg_advertiserId));
- unittest.expect(
- queryMap["searchString"].first, unittest.equals(arg_searchString));
- unittest.expect(
- queryMap["enabled"].first, unittest.equals("$arg_enabled"));
- unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -20180,16 +20180,16 @@
}), true);
res
.list(arg_profileId,
- campaignId: arg_campaignId,
definitionsOnly: arg_definitionsOnly,
adId: arg_adId,
- sortField: arg_sortField,
- eventTagTypes: arg_eventTagTypes,
- sortOrder: arg_sortOrder,
- advertiserId: arg_advertiserId,
searchString: arg_searchString,
- enabled: arg_enabled,
+ advertiserId: arg_advertiserId,
ids: arg_ids,
+ sortField: arg_sortField,
+ enabled: arg_enabled,
+ eventTagTypes: arg_eventTagTypes,
+ campaignId: arg_campaignId,
+ sortOrder: arg_sortOrder,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkEventTagsListResponse(response);
@@ -20405,11 +20405,11 @@
var mock = new HttpServerMock();
api.FilesResourceApi res = new api.DfareportingApi(mock).files;
var arg_profileId = "foo";
- var arg_pageToken = "foo";
var arg_scope = "foo";
+ var arg_pageToken = "foo";
var arg_sortOrder = "foo";
- var arg_maxResults = 42;
var arg_sortField = "foo";
+ var arg_maxResults = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -20453,15 +20453,15 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
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(core.int.parse(queryMap["maxResults"].first),
- unittest.equals(arg_maxResults));
unittest.expect(
queryMap["sortField"].first, unittest.equals(arg_sortField));
+ unittest.expect(core.int.parse(queryMap["maxResults"].first),
+ unittest.equals(arg_maxResults));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -20472,11 +20472,11 @@
}), true);
res
.list(arg_profileId,
- pageToken: arg_pageToken,
scope: arg_scope,
+ pageToken: arg_pageToken,
sortOrder: arg_sortOrder,
- maxResults: arg_maxResults,
sortField: arg_sortField,
+ maxResults: arg_maxResults,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkFileList(response);
@@ -20758,19 +20758,19 @@
api.FloodlightActivitiesResourceApi res =
new api.DfareportingApi(mock).floodlightActivities;
var arg_profileId = "foo";
- var arg_tagString = "foo";
- var arg_searchString = "foo";
- var arg_floodlightActivityGroupType = "foo";
- var arg_sortOrder = "foo";
- var arg_floodlightActivityGroupIds = buildUnnamed5691();
- var arg_ids = buildUnnamed5692();
- var arg_sortField = "foo";
- var arg_maxResults = 42;
- var arg_floodlightActivityGroupName = "foo";
var arg_advertiserId = "foo";
- var arg_pageToken = "foo";
+ var arg_sortField = "foo";
+ var arg_sortOrder = "foo";
+ var arg_floodlightActivityGroupIds = buildUnnamed5667();
var arg_floodlightConfigurationId = "foo";
+ var arg_maxResults = 42;
+ var arg_ids = buildUnnamed5668();
+ var arg_tagString = "foo";
+ var arg_pageToken = "foo";
+ var arg_floodlightActivityGroupName = "foo";
var arg_floodlightActivityGroupTagString = "foo";
+ var arg_floodlightActivityGroupType = "foo";
+ var arg_searchString = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -20815,30 +20815,30 @@
}
}
unittest.expect(
- queryMap["tagString"].first, unittest.equals(arg_tagString));
+ queryMap["advertiserId"].first, unittest.equals(arg_advertiserId));
unittest.expect(
- queryMap["searchString"].first, unittest.equals(arg_searchString));
- unittest.expect(queryMap["floodlightActivityGroupType"].first,
- unittest.equals(arg_floodlightActivityGroupType));
+ 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["ids"], unittest.equals(arg_ids));
- unittest.expect(
- queryMap["sortField"].first, unittest.equals(arg_sortField));
- unittest.expect(core.int.parse(queryMap["maxResults"].first),
- unittest.equals(arg_maxResults));
- unittest.expect(queryMap["floodlightActivityGroupName"].first,
- unittest.equals(arg_floodlightActivityGroupName));
- unittest.expect(
- queryMap["advertiserId"].first, unittest.equals(arg_advertiserId));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
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["searchString"].first, unittest.equals(arg_searchString));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -20849,20 +20849,20 @@
}), true);
res
.list(arg_profileId,
- tagString: arg_tagString,
- searchString: arg_searchString,
- floodlightActivityGroupType: arg_floodlightActivityGroupType,
+ advertiserId: arg_advertiserId,
+ sortField: arg_sortField,
sortOrder: arg_sortOrder,
floodlightActivityGroupIds: arg_floodlightActivityGroupIds,
- ids: arg_ids,
- sortField: arg_sortField,
- maxResults: arg_maxResults,
- floodlightActivityGroupName: arg_floodlightActivityGroupName,
- advertiserId: arg_advertiserId,
- pageToken: arg_pageToken,
floodlightConfigurationId: arg_floodlightConfigurationId,
+ maxResults: arg_maxResults,
+ ids: arg_ids,
+ tagString: arg_tagString,
+ pageToken: arg_pageToken,
+ floodlightActivityGroupName: arg_floodlightActivityGroupName,
floodlightActivityGroupTagString:
arg_floodlightActivityGroupTagString,
+ floodlightActivityGroupType: arg_floodlightActivityGroupType,
+ searchString: arg_searchString,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkFloodlightActivitiesListResponse(response);
@@ -21146,15 +21146,15 @@
api.FloodlightActivityGroupsResourceApi res =
new api.DfareportingApi(mock).floodlightActivityGroups;
var arg_profileId = "foo";
- var arg_maxResults = 42;
var arg_advertiserId = "foo";
- var arg_pageToken = "foo";
var arg_sortOrder = "foo";
+ var arg_ids = buildUnnamed5669();
var arg_floodlightConfigurationId = "foo";
- var arg_ids = buildUnnamed5693();
- var arg_type = "foo";
- var arg_searchString = "foo";
var arg_sortField = "foo";
+ var arg_maxResults = 42;
+ var arg_searchString = "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;
@@ -21198,22 +21198,22 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(core.int.parse(queryMap["maxResults"].first),
- unittest.equals(arg_maxResults));
unittest.expect(
queryMap["advertiserId"].first, unittest.equals(arg_advertiserId));
unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- 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["ids"], unittest.equals(arg_ids));
- unittest.expect(queryMap["type"].first, unittest.equals(arg_type));
+ unittest.expect(
+ queryMap["sortField"].first, unittest.equals(arg_sortField));
+ unittest.expect(core.int.parse(queryMap["maxResults"].first),
+ unittest.equals(arg_maxResults));
unittest.expect(
queryMap["searchString"].first, unittest.equals(arg_searchString));
unittest.expect(
- queryMap["sortField"].first, unittest.equals(arg_sortField));
+ 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 = {
@@ -21225,15 +21225,15 @@
}), true);
res
.list(arg_profileId,
- maxResults: arg_maxResults,
advertiserId: arg_advertiserId,
- pageToken: arg_pageToken,
sortOrder: arg_sortOrder,
- floodlightConfigurationId: arg_floodlightConfigurationId,
ids: arg_ids,
- type: arg_type,
- searchString: arg_searchString,
+ floodlightConfigurationId: arg_floodlightConfigurationId,
sortField: arg_sortField,
+ maxResults: arg_maxResults,
+ searchString: arg_searchString,
+ pageToken: arg_pageToken,
+ type: arg_type,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkFloodlightActivityGroupsListResponse(response);
@@ -21450,7 +21450,7 @@
api.FloodlightConfigurationsResourceApi res =
new api.DfareportingApi(mock).floodlightConfigurations;
var arg_profileId = "foo";
- var arg_ids = buildUnnamed5694();
+ var arg_ids = buildUnnamed5670();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -21732,15 +21732,15 @@
new api.DfareportingApi(mock).inventoryItems;
var arg_profileId = "foo";
var arg_projectId = "foo";
- var arg_siteId = buildUnnamed5695();
- var arg_ids = buildUnnamed5696();
var arg_inPlan = true;
- var arg_maxResults = 42;
- var arg_type = "foo";
- var arg_orderId = buildUnnamed5697();
+ var arg_orderId = buildUnnamed5671();
+ var arg_siteId = buildUnnamed5672();
+ var arg_ids = buildUnnamed5673();
var arg_sortOrder = "foo";
- var arg_pageToken = "foo";
var arg_sortField = "foo";
+ var arg_maxResults = 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;
@@ -21793,20 +21793,20 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ 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["inPlan"].first, unittest.equals("$arg_inPlan"));
- unittest.expect(core.int.parse(queryMap["maxResults"].first),
- unittest.equals(arg_maxResults));
- unittest.expect(queryMap["type"].first, unittest.equals(arg_type));
- unittest.expect(queryMap["orderId"], unittest.equals(arg_orderId));
- 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(core.int.parse(queryMap["maxResults"].first),
+ unittest.equals(arg_maxResults));
+ 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 = {
@@ -21817,15 +21817,15 @@
}), true);
res
.list(arg_profileId, arg_projectId,
+ inPlan: arg_inPlan,
+ orderId: arg_orderId,
siteId: arg_siteId,
ids: arg_ids,
- inPlan: arg_inPlan,
- maxResults: arg_maxResults,
- type: arg_type,
- orderId: arg_orderId,
sortOrder: arg_sortOrder,
- pageToken: arg_pageToken,
sortField: arg_sortField,
+ maxResults: arg_maxResults,
+ pageToken: arg_pageToken,
+ type: arg_type,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkInventoryItemsListResponse(response);
@@ -22032,11 +22032,11 @@
var mock = new HttpServerMock();
api.MobileAppsResourceApi res = new api.DfareportingApi(mock).mobileApps;
var arg_profileId = "foo";
- var arg_searchString = "foo";
var arg_pageToken = "foo";
- var arg_directories = buildUnnamed5698();
+ var arg_directories = buildUnnamed5674();
+ var arg_searchString = "foo";
var arg_maxResults = 42;
- var arg_ids = buildUnnamed5699();
+ var arg_ids = buildUnnamed5675();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -22081,11 +22081,11 @@
}
}
unittest.expect(
- queryMap["searchString"].first, unittest.equals(arg_searchString));
- 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(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
@@ -22099,9 +22099,9 @@
}), true);
res
.list(arg_profileId,
- searchString: arg_searchString,
pageToken: arg_pageToken,
directories: arg_directories,
+ searchString: arg_searchString,
maxResults: arg_maxResults,
ids: arg_ids,
$fields: arg_$fields)
@@ -22592,15 +22592,15 @@
new api.DfareportingApi(mock).orderDocuments;
var arg_profileId = "foo";
var arg_projectId = "foo";
- var arg_pageToken = "foo";
- var arg_orderId = buildUnnamed5700();
- var arg_approved = true;
- var arg_siteId = buildUnnamed5701();
- var arg_sortField = "foo";
var arg_maxResults = 42;
- var arg_searchString = "foo";
+ var arg_pageToken = "foo";
+ var arg_approved = true;
var arg_sortOrder = "foo";
- var arg_ids = buildUnnamed5702();
+ var arg_orderId = buildUnnamed5676();
+ var arg_siteId = buildUnnamed5677();
+ var arg_sortField = "foo";
+ var arg_searchString = "foo";
+ var arg_ids = buildUnnamed5678();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -22653,20 +22653,20 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(queryMap["orderId"], unittest.equals(arg_orderId));
- unittest.expect(
- queryMap["approved"].first, unittest.equals("$arg_approved"));
- unittest.expect(queryMap["siteId"], unittest.equals(arg_siteId));
- unittest.expect(
- queryMap["sortField"].first, unittest.equals(arg_sortField));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
unittest.expect(
- queryMap["searchString"].first, unittest.equals(arg_searchString));
+ 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));
+ 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));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -22678,14 +22678,14 @@
}), true);
res
.list(arg_profileId, arg_projectId,
+ maxResults: arg_maxResults,
pageToken: arg_pageToken,
- orderId: arg_orderId,
approved: arg_approved,
+ sortOrder: arg_sortOrder,
+ orderId: arg_orderId,
siteId: arg_siteId,
sortField: arg_sortField,
- maxResults: arg_maxResults,
searchString: arg_searchString,
- sortOrder: arg_sortOrder,
ids: arg_ids,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -22776,13 +22776,13 @@
api.OrdersResourceApi res = new api.DfareportingApi(mock).orders;
var arg_profileId = "foo";
var arg_projectId = "foo";
- var arg_maxResults = 42;
- var arg_searchString = "foo";
- var arg_ids = buildUnnamed5703();
+ var arg_sortOrder = "foo";
var arg_sortField = "foo";
var arg_pageToken = "foo";
- var arg_siteId = buildUnnamed5704();
- var arg_sortOrder = "foo";
+ var arg_searchString = "foo";
+ var arg_siteId = buildUnnamed5679();
+ var arg_maxResults = 42;
+ var arg_ids = buildUnnamed5680();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -22835,18 +22835,18 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(core.int.parse(queryMap["maxResults"].first),
- unittest.equals(arg_maxResults));
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["sortField"].first, unittest.equals(arg_sortField));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(queryMap["siteId"], unittest.equals(arg_siteId));
unittest.expect(
- queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
+ 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["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -22857,13 +22857,13 @@
}), true);
res
.list(arg_profileId, arg_projectId,
- maxResults: arg_maxResults,
- searchString: arg_searchString,
- ids: arg_ids,
+ sortOrder: arg_sortOrder,
sortField: arg_sortField,
pageToken: arg_pageToken,
+ searchString: arg_searchString,
siteId: arg_siteId,
- sortOrder: arg_sortOrder,
+ maxResults: arg_maxResults,
+ ids: arg_ids,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkOrdersListResponse(response);
@@ -23011,25 +23011,25 @@
api.PlacementGroupsResourceApi res =
new api.DfareportingApi(mock).placementGroups;
var arg_profileId = "foo";
- var arg_placementGroupType = "foo";
- var arg_siteIds = buildUnnamed5705();
+ var arg_placementStrategyIds = buildUnnamed5681();
+ var arg_contentCategoryIds = buildUnnamed5682();
var arg_searchString = "foo";
- var arg_archived = true;
- var arg_maxStartDate = "foo";
- var arg_pricingTypes = buildUnnamed5706();
- var arg_contentCategoryIds = buildUnnamed5707();
- var arg_sortOrder = "foo";
- var arg_pageToken = "foo";
- var arg_advertiserIds = buildUnnamed5708();
+ var arg_sortField = "foo";
+ var arg_advertiserIds = buildUnnamed5683();
+ var arg_campaignIds = buildUnnamed5684();
var arg_minEndDate = "foo";
+ var arg_archived = true;
+ var arg_directorySiteIds = buildUnnamed5685();
+ var arg_siteIds = buildUnnamed5686();
+ var arg_pricingTypes = buildUnnamed5687();
+ var arg_pageToken = "foo";
+ var arg_ids = buildUnnamed5688();
+ var arg_sortOrder = "foo";
+ var arg_placementGroupType = "foo";
+ var arg_maxEndDate = "foo";
var arg_maxResults = 42;
var arg_minStartDate = "foo";
- var arg_ids = buildUnnamed5709();
- var arg_placementStrategyIds = buildUnnamed5710();
- var arg_directorySiteIds = buildUnnamed5711();
- var arg_maxEndDate = "foo";
- var arg_sortField = "foo";
- var arg_campaignIds = buildUnnamed5712();
+ var arg_maxStartDate = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -23073,42 +23073,42 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["placementGroupType"].first,
- unittest.equals(arg_placementGroupType));
- unittest.expect(queryMap["siteIds"], unittest.equals(arg_siteIds));
- unittest.expect(
- queryMap["searchString"].first, unittest.equals(arg_searchString));
- unittest.expect(
- queryMap["archived"].first, unittest.equals("$arg_archived"));
- unittest.expect(
- queryMap["maxStartDate"].first, unittest.equals(arg_maxStartDate));
- unittest.expect(
- queryMap["pricingTypes"], unittest.equals(arg_pricingTypes));
+ unittest.expect(queryMap["placementStrategyIds"],
+ unittest.equals(arg_placementStrategyIds));
unittest.expect(queryMap["contentCategoryIds"],
unittest.equals(arg_contentCategoryIds));
unittest.expect(
- queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
+ 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["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["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["minStartDate"].first, unittest.equals(arg_minStartDate));
- unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
- unittest.expect(queryMap["placementStrategyIds"],
- unittest.equals(arg_placementStrategyIds));
- unittest.expect(queryMap["directorySiteIds"],
- unittest.equals(arg_directorySiteIds));
unittest.expect(
- queryMap["maxEndDate"].first, unittest.equals(arg_maxEndDate));
- unittest.expect(
- queryMap["sortField"].first, unittest.equals(arg_sortField));
- unittest.expect(
- queryMap["campaignIds"], unittest.equals(arg_campaignIds));
+ queryMap["maxStartDate"].first, unittest.equals(arg_maxStartDate));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -23119,25 +23119,25 @@
}), true);
res
.list(arg_profileId,
- placementGroupType: arg_placementGroupType,
- siteIds: arg_siteIds,
- searchString: arg_searchString,
- archived: arg_archived,
- maxStartDate: arg_maxStartDate,
- pricingTypes: arg_pricingTypes,
+ placementStrategyIds: arg_placementStrategyIds,
contentCategoryIds: arg_contentCategoryIds,
- sortOrder: arg_sortOrder,
- pageToken: arg_pageToken,
+ searchString: arg_searchString,
+ sortField: arg_sortField,
advertiserIds: arg_advertiserIds,
+ campaignIds: arg_campaignIds,
minEndDate: arg_minEndDate,
+ archived: arg_archived,
+ 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,
- ids: arg_ids,
- placementStrategyIds: arg_placementStrategyIds,
- directorySiteIds: arg_directorySiteIds,
- maxEndDate: arg_maxEndDate,
- sortField: arg_sortField,
- campaignIds: arg_campaignIds,
+ maxStartDate: arg_maxStartDate,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkPlacementGroupsListResponse(response);
@@ -23486,12 +23486,12 @@
api.PlacementStrategiesResourceApi res =
new api.DfareportingApi(mock).placementStrategies;
var arg_profileId = "foo";
- var arg_sortField = "foo";
- var arg_ids = buildUnnamed5713();
- var arg_pageToken = "foo";
- var arg_searchString = "foo";
var arg_maxResults = 42;
+ var arg_searchString = "foo";
+ var arg_pageToken = "foo";
+ var arg_ids = buildUnnamed5689();
var arg_sortOrder = "foo";
+ var arg_sortField = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -23535,17 +23535,17 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(
- queryMap["sortField"].first, unittest.equals(arg_sortField));
- 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(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
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));
+ 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 = {
@@ -23556,12 +23556,12 @@
}), true);
res
.list(arg_profileId,
- sortField: arg_sortField,
- ids: arg_ids,
- pageToken: arg_pageToken,
- searchString: arg_searchString,
maxResults: arg_maxResults,
+ searchString: arg_searchString,
+ pageToken: arg_pageToken,
+ ids: arg_ids,
sortOrder: arg_sortOrder,
+ sortField: arg_sortField,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkPlacementStrategiesListResponse(response);
@@ -23710,9 +23710,9 @@
var mock = new HttpServerMock();
api.PlacementsResourceApi res = new api.DfareportingApi(mock).placements;
var arg_profileId = "foo";
+ var arg_tagFormats = buildUnnamed5690();
+ var arg_placementIds = buildUnnamed5691();
var arg_campaignId = "foo";
- var arg_tagFormats = buildUnnamed5714();
- var arg_placementIds = buildUnnamed5715();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -23757,11 +23757,11 @@
}
}
unittest.expect(
- queryMap["campaignId"].first, unittest.equals(arg_campaignId));
- unittest.expect(
queryMap["tagFormats"], unittest.equals(arg_tagFormats));
unittest.expect(
queryMap["placementIds"], unittest.equals(arg_placementIds));
+ unittest.expect(
+ queryMap["campaignId"].first, unittest.equals(arg_campaignId));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -23772,9 +23772,9 @@
}), true);
res
.generatetags(arg_profileId,
- campaignId: arg_campaignId,
tagFormats: arg_tagFormats,
placementIds: arg_placementIds,
+ campaignId: arg_campaignId,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkPlacementsGenerateTagsResponse(response);
@@ -23917,28 +23917,28 @@
var mock = new HttpServerMock();
api.PlacementsResourceApi res = new api.DfareportingApi(mock).placements;
var arg_profileId = "foo";
- var arg_paymentSource = "foo";
- var arg_minEndDate = "foo";
- var arg_pageToken = "foo";
- var arg_sortOrder = "foo";
- var arg_siteIds = buildUnnamed5716();
- var arg_directorySiteIds = buildUnnamed5717();
- var arg_pricingTypes = buildUnnamed5718();
- var arg_groupIds = buildUnnamed5719();
- var arg_compatibilities = buildUnnamed5720();
- var arg_contentCategoryIds = buildUnnamed5721();
- var arg_maxStartDate = "foo";
- var arg_minStartDate = "foo";
- var arg_ids = buildUnnamed5722();
- var arg_placementStrategyIds = buildUnnamed5723();
- var arg_sortField = "foo";
- var arg_campaignIds = buildUnnamed5724();
- var arg_searchString = "foo";
- var arg_maxEndDate = "foo";
- var arg_advertiserIds = buildUnnamed5725();
- var arg_sizeIds = buildUnnamed5726();
var arg_archived = true;
+ var arg_campaignIds = buildUnnamed5692();
+ var arg_maxEndDate = "foo";
+ var arg_compatibilities = buildUnnamed5693();
+ var arg_advertiserIds = buildUnnamed5694();
+ var arg_minEndDate = "foo";
+ var arg_sortOrder = "foo";
+ var arg_siteIds = buildUnnamed5695();
+ var arg_pageToken = "foo";
+ var arg_sortField = "foo";
+ var arg_searchString = "foo";
+ var arg_groupIds = buildUnnamed5696();
+ var arg_contentCategoryIds = buildUnnamed5697();
+ var arg_pricingTypes = buildUnnamed5698();
+ var arg_maxStartDate = "foo";
+ var arg_directorySiteIds = buildUnnamed5699();
+ var arg_paymentSource = "foo";
+ var arg_ids = buildUnnamed5700();
+ var arg_minStartDate = "foo";
+ var arg_sizeIds = buildUnnamed5701();
var arg_maxResults = 42;
+ var arg_placementStrategyIds = buildUnnamed5702();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -23982,46 +23982,46 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["paymentSource"].first,
- unittest.equals(arg_paymentSource));
unittest.expect(
- queryMap["minEndDate"].first, unittest.equals(arg_minEndDate));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(
- queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
- unittest.expect(queryMap["siteIds"], unittest.equals(arg_siteIds));
- unittest.expect(queryMap["directorySiteIds"],
- unittest.equals(arg_directorySiteIds));
- unittest.expect(
- queryMap["pricingTypes"], unittest.equals(arg_pricingTypes));
- unittest.expect(queryMap["groupIds"], unittest.equals(arg_groupIds));
- unittest.expect(
- queryMap["compatibilities"], unittest.equals(arg_compatibilities));
- unittest.expect(queryMap["contentCategoryIds"],
- unittest.equals(arg_contentCategoryIds));
- unittest.expect(
- queryMap["maxStartDate"].first, unittest.equals(arg_maxStartDate));
- unittest.expect(
- queryMap["minStartDate"].first, unittest.equals(arg_minStartDate));
- unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
- unittest.expect(queryMap["placementStrategyIds"],
- unittest.equals(arg_placementStrategyIds));
- unittest.expect(
- queryMap["sortField"].first, unittest.equals(arg_sortField));
+ queryMap["archived"].first, unittest.equals("$arg_archived"));
unittest.expect(
queryMap["campaignIds"], unittest.equals(arg_campaignIds));
unittest.expect(
- queryMap["searchString"].first, unittest.equals(arg_searchString));
- unittest.expect(
queryMap["maxEndDate"].first, unittest.equals(arg_maxEndDate));
unittest.expect(
- queryMap["advertiserIds"], unittest.equals(arg_advertiserIds));
- unittest.expect(queryMap["sizeIds"], unittest.equals(arg_sizeIds));
+ queryMap["compatibilities"], unittest.equals(arg_compatibilities));
unittest.expect(
- queryMap["archived"].first, unittest.equals("$arg_archived"));
+ queryMap["advertiserIds"], unittest.equals(arg_advertiserIds));
+ 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));
+ 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["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));
+ 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["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -24032,28 +24032,28 @@
}), true);
res
.list(arg_profileId,
- paymentSource: arg_paymentSource,
+ archived: arg_archived,
+ campaignIds: arg_campaignIds,
+ maxEndDate: arg_maxEndDate,
+ compatibilities: arg_compatibilities,
+ advertiserIds: arg_advertiserIds,
minEndDate: arg_minEndDate,
- pageToken: arg_pageToken,
sortOrder: arg_sortOrder,
siteIds: arg_siteIds,
- directorySiteIds: arg_directorySiteIds,
- pricingTypes: arg_pricingTypes,
- groupIds: arg_groupIds,
- compatibilities: arg_compatibilities,
- contentCategoryIds: arg_contentCategoryIds,
- maxStartDate: arg_maxStartDate,
- minStartDate: arg_minStartDate,
- ids: arg_ids,
- placementStrategyIds: arg_placementStrategyIds,
+ pageToken: arg_pageToken,
sortField: arg_sortField,
- campaignIds: arg_campaignIds,
searchString: arg_searchString,
- maxEndDate: arg_maxEndDate,
- advertiserIds: arg_advertiserIds,
+ groupIds: arg_groupIds,
+ contentCategoryIds: arg_contentCategoryIds,
+ pricingTypes: arg_pricingTypes,
+ maxStartDate: arg_maxStartDate,
+ directorySiteIds: arg_directorySiteIds,
+ paymentSource: arg_paymentSource,
+ ids: arg_ids,
+ minStartDate: arg_minStartDate,
sizeIds: arg_sizeIds,
- archived: arg_archived,
maxResults: arg_maxResults,
+ placementStrategyIds: arg_placementStrategyIds,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkPlacementsListResponse(response);
@@ -24530,13 +24530,13 @@
var mock = new HttpServerMock();
api.ProjectsResourceApi res = new api.DfareportingApi(mock).projects;
var arg_profileId = "foo";
- var arg_sortOrder = "foo";
- var arg_ids = buildUnnamed5727();
- var arg_pageToken = "foo";
- var arg_advertiserIds = buildUnnamed5728();
- var arg_searchString = "foo";
- var arg_sortField = "foo";
var arg_maxResults = 42;
+ var arg_advertiserIds = buildUnnamed5703();
+ var arg_sortOrder = "foo";
+ var arg_ids = buildUnnamed5704();
+ var arg_pageToken = "foo";
+ var arg_sortField = "foo";
+ var arg_searchString = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -24580,19 +24580,19 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ 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["advertiserIds"], unittest.equals(arg_advertiserIds));
+ queryMap["sortField"].first, unittest.equals(arg_sortField));
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["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -24603,13 +24603,13 @@
}), true);
res
.list(arg_profileId,
+ maxResults: arg_maxResults,
+ advertiserIds: arg_advertiserIds,
sortOrder: arg_sortOrder,
ids: arg_ids,
pageToken: arg_pageToken,
- advertiserIds: arg_advertiserIds,
- searchString: arg_searchString,
sortField: arg_sortField,
- maxResults: arg_maxResults,
+ searchString: arg_searchString,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkProjectsListResponse(response);
@@ -25027,13 +25027,13 @@
new api.DfareportingApi(mock).remarketingLists;
var arg_profileId = "foo";
var arg_advertiserId = "foo";
- var arg_maxResults = 42;
- var arg_name = "foo";
- var arg_floodlightActivityId = "foo";
- var arg_sortOrder = "foo";
var arg_sortField = "foo";
- var arg_active = true;
+ 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;
@@ -25079,19 +25079,19 @@
}
unittest.expect(
queryMap["advertiserId"].first, unittest.equals(arg_advertiserId));
- unittest.expect(core.int.parse(queryMap["maxResults"].first),
- unittest.equals(arg_maxResults));
- unittest.expect(queryMap["name"].first, unittest.equals(arg_name));
- unittest.expect(queryMap["floodlightActivityId"].first,
- unittest.equals(arg_floodlightActivityId));
- unittest.expect(
- queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
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["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 = {
@@ -25102,13 +25102,13 @@
}), true);
res
.list(arg_profileId, arg_advertiserId,
- maxResults: arg_maxResults,
- name: arg_name,
- floodlightActivityId: arg_floodlightActivityId,
- sortOrder: arg_sortOrder,
sortField: arg_sortField,
- active: arg_active,
+ 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);
@@ -25453,11 +25453,11 @@
var mock = new HttpServerMock();
api.ReportsResourceApi res = new 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_sortField = "foo";
- var arg_sortOrder = "foo";
- var arg_maxResults = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -25501,15 +25501,15 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ 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["sortField"].first, unittest.equals(arg_sortField));
- 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 = {
@@ -25520,11 +25520,11 @@
}), true);
res
.list(arg_profileId,
+ sortOrder: arg_sortOrder,
scope: arg_scope,
+ maxResults: arg_maxResults,
pageToken: arg_pageToken,
sortField: arg_sortField,
- sortOrder: arg_sortOrder,
- maxResults: arg_maxResults,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkReportList(response);
@@ -25905,10 +25905,10 @@
new api.DfareportingApi(mock).reports.files;
var arg_profileId = "foo";
var arg_reportId = "foo";
- var arg_sortField = "foo";
+ var arg_maxResults = 42;
var arg_sortOrder = "foo";
var arg_pageToken = "foo";
- var arg_maxResults = 42;
+ var arg_sortField = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -25961,14 +25961,14 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(
- queryMap["sortField"].first, unittest.equals(arg_sortField));
+ 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(core.int.parse(queryMap["maxResults"].first),
- unittest.equals(arg_maxResults));
+ unittest.expect(
+ queryMap["sortField"].first, unittest.equals(arg_sortField));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -25979,10 +25979,10 @@
}), true);
res
.list(arg_profileId, arg_reportId,
- sortField: arg_sortField,
+ maxResults: arg_maxResults,
sortOrder: arg_sortOrder,
pageToken: arg_pageToken,
- maxResults: arg_maxResults,
+ sortField: arg_sortField,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkFileList(response);
@@ -26127,21 +26127,21 @@
var mock = new HttpServerMock();
api.SitesResourceApi res = new api.DfareportingApi(mock).sites;
var arg_profileId = "foo";
- var arg_approved = true;
- var arg_directorySiteIds = buildUnnamed5729();
- var arg_searchString = "foo";
- var arg_maxResults = 42;
- var arg_acceptsInStreamVideoPlacements = true;
- var arg_acceptsInterstitialPlacements = true;
var arg_unmappedSite = true;
- var arg_subaccountId = "foo";
var arg_sortOrder = "foo";
- var arg_sortField = "foo";
+ var arg_acceptsInStreamVideoPlacements = true;
var arg_acceptsPublisherPaidPlacements = true;
- var arg_ids = buildUnnamed5730();
- var arg_pageToken = "foo";
+ var arg_maxResults = 42;
+ var arg_campaignIds = buildUnnamed5705();
+ var arg_searchString = "foo";
+ var arg_directorySiteIds = buildUnnamed5706();
var arg_adWordsSite = true;
- var arg_campaignIds = buildUnnamed5731();
+ var arg_approved = true;
+ var arg_pageToken = "foo";
+ var arg_ids = buildUnnamed5707();
+ var arg_acceptsInterstitialPlacements = true;
+ var arg_subaccountId = "foo";
+ var arg_sortField = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -26185,35 +26185,35 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(
- queryMap["approved"].first, unittest.equals("$arg_approved"));
- unittest.expect(queryMap["directorySiteIds"],
- unittest.equals(arg_directorySiteIds));
- unittest.expect(
- queryMap["searchString"].first, unittest.equals(arg_searchString));
- unittest.expect(core.int.parse(queryMap["maxResults"].first),
- unittest.equals(arg_maxResults));
- unittest.expect(queryMap["acceptsInStreamVideoPlacements"].first,
- unittest.equals("$arg_acceptsInStreamVideoPlacements"));
- unittest.expect(queryMap["acceptsInterstitialPlacements"].first,
- unittest.equals("$arg_acceptsInterstitialPlacements"));
unittest.expect(queryMap["unmappedSite"].first,
unittest.equals("$arg_unmappedSite"));
unittest.expect(
- queryMap["subaccountId"].first, unittest.equals(arg_subaccountId));
- unittest.expect(
queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
- unittest.expect(
- queryMap["sortField"].first, unittest.equals(arg_sortField));
+ unittest.expect(queryMap["acceptsInStreamVideoPlacements"].first,
+ unittest.equals("$arg_acceptsInStreamVideoPlacements"));
unittest.expect(queryMap["acceptsPublisherPaidPlacements"].first,
unittest.equals("$arg_acceptsPublisherPaidPlacements"));
- 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));
+ 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["campaignIds"], unittest.equals(arg_campaignIds));
+ queryMap["approved"].first, unittest.equals("$arg_approved"));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
+ unittest.expect(queryMap["acceptsInterstitialPlacements"].first,
+ unittest.equals("$arg_acceptsInterstitialPlacements"));
+ unittest.expect(
+ queryMap["subaccountId"].first, unittest.equals(arg_subaccountId));
+ unittest.expect(
+ queryMap["sortField"].first, unittest.equals(arg_sortField));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -26224,23 +26224,23 @@
}), true);
res
.list(arg_profileId,
- approved: arg_approved,
- directorySiteIds: arg_directorySiteIds,
- searchString: arg_searchString,
- maxResults: arg_maxResults,
+ unmappedSite: arg_unmappedSite,
+ sortOrder: arg_sortOrder,
acceptsInStreamVideoPlacements:
arg_acceptsInStreamVideoPlacements,
- acceptsInterstitialPlacements: arg_acceptsInterstitialPlacements,
- unmappedSite: arg_unmappedSite,
- subaccountId: arg_subaccountId,
- sortOrder: arg_sortOrder,
- sortField: arg_sortField,
acceptsPublisherPaidPlacements:
arg_acceptsPublisherPaidPlacements,
- ids: arg_ids,
- pageToken: arg_pageToken,
- adWordsSite: arg_adWordsSite,
+ maxResults: arg_maxResults,
campaignIds: arg_campaignIds,
+ searchString: arg_searchString,
+ directorySiteIds: arg_directorySiteIds,
+ adWordsSite: arg_adWordsSite,
+ approved: arg_approved,
+ pageToken: arg_pageToken,
+ ids: arg_ids,
+ acceptsInterstitialPlacements: arg_acceptsInterstitialPlacements,
+ subaccountId: arg_subaccountId,
+ sortField: arg_sortField,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkSitesListResponse(response);
@@ -26519,10 +26519,10 @@
var mock = new HttpServerMock();
api.SizesResourceApi res = new api.DfareportingApi(mock).sizes;
var arg_profileId = "foo";
- var arg_iabStandard = true;
- var arg_ids = buildUnnamed5732();
- var arg_width = 42;
var arg_height = 42;
+ var arg_iabStandard = true;
+ var arg_width = 42;
+ var arg_ids = buildUnnamed5708();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -26566,13 +26566,13 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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(core.int.parse(queryMap["height"].first),
unittest.equals(arg_height));
+ unittest.expect(
+ queryMap["iabStandard"].first, unittest.equals("$arg_iabStandard"));
+ 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 = {
@@ -26583,10 +26583,10 @@
}), true);
res
.list(arg_profileId,
- iabStandard: arg_iabStandard,
- ids: arg_ids,
- width: arg_width,
height: arg_height,
+ iabStandard: arg_iabStandard,
+ width: arg_width,
+ ids: arg_ids,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkSizesListResponse(response);
@@ -26734,12 +26734,12 @@
api.SubaccountsResourceApi res =
new api.DfareportingApi(mock).subaccounts;
var arg_profileId = "foo";
- var arg_sortField = "foo";
- var arg_sortOrder = "foo";
- var arg_ids = buildUnnamed5733();
- var arg_pageToken = "foo";
var arg_maxResults = 42;
var arg_searchString = "foo";
+ var arg_sortOrder = "foo";
+ var arg_ids = buildUnnamed5709();
+ var arg_pageToken = "foo";
+ var arg_sortField = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -26783,17 +26783,17 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(core.int.parse(queryMap["maxResults"].first),
+ unittest.equals(arg_maxResults));
unittest.expect(
- queryMap["sortField"].first, unittest.equals(arg_sortField));
+ 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(core.int.parse(queryMap["maxResults"].first),
- unittest.equals(arg_maxResults));
unittest.expect(
- queryMap["searchString"].first, unittest.equals(arg_searchString));
+ queryMap["sortField"].first, unittest.equals(arg_sortField));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -26804,12 +26804,12 @@
}), true);
res
.list(arg_profileId,
- sortField: arg_sortField,
+ maxResults: arg_maxResults,
+ searchString: arg_searchString,
sortOrder: arg_sortOrder,
ids: arg_ids,
pageToken: arg_pageToken,
- maxResults: arg_maxResults,
- searchString: arg_searchString,
+ sortField: arg_sortField,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkSubaccountsListResponse(response);
@@ -27027,12 +27027,12 @@
new api.DfareportingApi(mock).targetableRemarketingLists;
var arg_profileId = "foo";
var arg_advertiserId = "foo";
- var arg_maxResults = 42;
- var arg_sortOrder = "foo";
var arg_sortField = "foo";
+ var arg_sortOrder = "foo";
var arg_active = true;
var arg_name = "foo";
var arg_pageToken = "foo";
+ var arg_maxResults = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -27078,17 +27078,17 @@
}
unittest.expect(
queryMap["advertiserId"].first, unittest.equals(arg_advertiserId));
- unittest.expect(core.int.parse(queryMap["maxResults"].first),
- unittest.equals(arg_maxResults));
- unittest.expect(
- queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
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(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["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -27100,12 +27100,12 @@
}), true);
res
.list(arg_profileId, arg_advertiserId,
- maxResults: arg_maxResults,
- sortOrder: arg_sortOrder,
sortField: arg_sortField,
+ sortOrder: arg_sortOrder,
active: arg_active,
name: arg_name,
pageToken: arg_pageToken,
+ maxResults: arg_maxResults,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkTargetableRemarketingListsListResponse(response);
@@ -27253,13 +27253,13 @@
api.TargetingTemplatesResourceApi res =
new api.DfareportingApi(mock).targetingTemplates;
var arg_profileId = "foo";
- var arg_advertiserId = "foo";
- var arg_ids = buildUnnamed5734();
- var arg_sortOrder = "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 = buildUnnamed5710();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -27303,11 +27303,6 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(
- queryMap["advertiserId"].first, unittest.equals(arg_advertiserId));
- unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
- unittest.expect(
- queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
unittest.expect(
@@ -27316,6 +27311,11 @@
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));
+ 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 = {
@@ -27326,13 +27326,13 @@
}), true);
res
.list(arg_profileId,
- advertiserId: arg_advertiserId,
- ids: arg_ids,
- sortOrder: arg_sortOrder,
maxResults: arg_maxResults,
sortField: arg_sortField,
searchString: arg_searchString,
pageToken: arg_pageToken,
+ advertiserId: arg_advertiserId,
+ sortOrder: arg_sortOrder,
+ ids: arg_ids,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkTargetingTemplatesListResponse(response);
@@ -27792,7 +27792,7 @@
api.UserRolePermissionsResourceApi res =
new api.DfareportingApi(mock).userRolePermissions;
var arg_profileId = "foo";
- var arg_ids = buildUnnamed5735();
+ var arg_ids = buildUnnamed5711();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -28054,14 +28054,14 @@
var mock = new HttpServerMock();
api.UserRolesResourceApi res = new api.DfareportingApi(mock).userRoles;
var arg_profileId = "foo";
- var arg_searchString = "foo";
- var arg_sortField = "foo";
- var arg_sortOrder = "foo";
var arg_subaccountId = "foo";
+ var arg_sortOrder = "foo";
+ var arg_ids = buildUnnamed5712();
var arg_accountUserRoleOnly = true;
- var arg_pageToken = "foo";
+ var arg_sortField = "foo";
+ var arg_searchString = "foo";
var arg_maxResults = 42;
- var arg_ids = buildUnnamed5736();
+ var arg_pageToken = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -28106,20 +28106,20 @@
}
}
unittest.expect(
- queryMap["searchString"].first, unittest.equals(arg_searchString));
- unittest.expect(
- queryMap["sortField"].first, unittest.equals(arg_sortField));
+ queryMap["subaccountId"].first, unittest.equals(arg_subaccountId));
unittest.expect(
queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
- unittest.expect(
- queryMap["subaccountId"].first, unittest.equals(arg_subaccountId));
+ unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
unittest.expect(queryMap["accountUserRoleOnly"].first,
unittest.equals("$arg_accountUserRoleOnly"));
unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ queryMap["sortField"].first, unittest.equals(arg_sortField));
+ unittest.expect(
+ queryMap["searchString"].first, unittest.equals(arg_searchString));
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["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -28130,14 +28130,14 @@
}), true);
res
.list(arg_profileId,
- searchString: arg_searchString,
- sortField: arg_sortField,
- sortOrder: arg_sortOrder,
subaccountId: arg_subaccountId,
- accountUserRoleOnly: arg_accountUserRoleOnly,
- pageToken: arg_pageToken,
- maxResults: arg_maxResults,
+ sortOrder: arg_sortOrder,
ids: arg_ids,
+ accountUserRoleOnly: arg_accountUserRoleOnly,
+ sortField: arg_sortField,
+ searchString: arg_searchString,
+ maxResults: arg_maxResults,
+ pageToken: arg_pageToken,
$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 d1c4524..20c5af8 100644
--- a/generated/googleapis/test/dialogflow/v2_test.dart
+++ b/generated/googleapis/test/dialogflow/v2_test.dart
@@ -139,7 +139,7 @@
buildCounterGoogleCloudDialogflowCxV3beta1PageInfo--;
}
-buildUnnamed3935() {
+buildUnnamed3939() {
var o = new core
.List<api.GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo>();
o.add(buildGoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo());
@@ -147,7 +147,7 @@
return o;
}
-checkUnnamed3935(
+checkUnnamed3939(
core.List<api.GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo>
o) {
unittest.expect(o, unittest.hasLength(2));
@@ -160,7 +160,7 @@
var o = new api.GoogleCloudDialogflowCxV3beta1PageInfoFormInfo();
buildCounterGoogleCloudDialogflowCxV3beta1PageInfoFormInfo++;
if (buildCounterGoogleCloudDialogflowCxV3beta1PageInfoFormInfo < 3) {
- o.parameterInfo = buildUnnamed3935();
+ o.parameterInfo = buildUnnamed3939();
}
buildCounterGoogleCloudDialogflowCxV3beta1PageInfoFormInfo--;
return o;
@@ -170,7 +170,7 @@
api.GoogleCloudDialogflowCxV3beta1PageInfoFormInfo o) {
buildCounterGoogleCloudDialogflowCxV3beta1PageInfoFormInfo++;
if (buildCounterGoogleCloudDialogflowCxV3beta1PageInfoFormInfo < 3) {
- checkUnnamed3935(o.parameterInfo);
+ checkUnnamed3939(o.parameterInfo);
}
buildCounterGoogleCloudDialogflowCxV3beta1PageInfoFormInfo--;
}
@@ -214,7 +214,7 @@
buildCounterGoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo--;
}
-buildUnnamed3936() {
+buildUnnamed3940() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -229,7 +229,7 @@
return o;
}
-checkUnnamed3936(core.Map<core.String, core.Object> o) {
+checkUnnamed3940(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted2 = (o["x"]) as core.Map;
unittest.expect(casted2, unittest.hasLength(3));
@@ -258,7 +258,7 @@
buildGoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio();
o.outputAudioText =
buildGoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText();
- o.payload = buildUnnamed3936();
+ o.payload = buildUnnamed3940();
o.playAudio = buildGoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio();
o.text = buildGoogleCloudDialogflowCxV3beta1ResponseMessageText();
}
@@ -279,14 +279,14 @@
checkGoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio(o.mixedAudio);
checkGoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText(
o.outputAudioText);
- checkUnnamed3936(o.payload);
+ checkUnnamed3940(o.payload);
checkGoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio(o.playAudio);
checkGoogleCloudDialogflowCxV3beta1ResponseMessageText(o.text);
}
buildCounterGoogleCloudDialogflowCxV3beta1ResponseMessage--;
}
-buildUnnamed3937() {
+buildUnnamed3941() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -301,7 +301,7 @@
return o;
}
-checkUnnamed3937(core.Map<core.String, core.Object> o) {
+checkUnnamed3941(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted4 = (o["x"]) as core.Map;
unittest.expect(casted4, unittest.hasLength(3));
@@ -324,7 +324,7 @@
buildCounterGoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess++;
if (buildCounterGoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess <
3) {
- o.metadata = buildUnnamed3937();
+ o.metadata = buildUnnamed3941();
}
buildCounterGoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess--;
return o;
@@ -335,7 +335,7 @@
buildCounterGoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess++;
if (buildCounterGoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess <
3) {
- checkUnnamed3937(o.metadata);
+ checkUnnamed3941(o.metadata);
}
buildCounterGoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess--;
}
@@ -359,7 +359,7 @@
buildCounterGoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction--;
}
-buildUnnamed3938() {
+buildUnnamed3942() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -374,7 +374,7 @@
return o;
}
-checkUnnamed3938(core.Map<core.String, core.Object> o) {
+checkUnnamed3942(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted6 = (o["x"]) as core.Map;
unittest.expect(casted6, unittest.hasLength(3));
@@ -397,7 +397,7 @@
buildCounterGoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff++;
if (buildCounterGoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff <
3) {
- o.metadata = buildUnnamed3938();
+ o.metadata = buildUnnamed3942();
}
buildCounterGoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff--;
return o;
@@ -408,12 +408,12 @@
buildCounterGoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff++;
if (buildCounterGoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff <
3) {
- checkUnnamed3938(o.metadata);
+ checkUnnamed3942(o.metadata);
}
buildCounterGoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff--;
}
-buildUnnamed3939() {
+buildUnnamed3943() {
var o = new core.List<
api.GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment>();
o.add(buildGoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment());
@@ -421,7 +421,7 @@
return o;
}
-checkUnnamed3939(
+checkUnnamed3943(
core.List<
api.GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment>
o) {
@@ -436,7 +436,7 @@
var o = new api.GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio();
buildCounterGoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio++;
if (buildCounterGoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio < 3) {
- o.segments = buildUnnamed3939();
+ o.segments = buildUnnamed3943();
}
buildCounterGoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio--;
return o;
@@ -446,7 +446,7 @@
api.GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio o) {
buildCounterGoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio++;
if (buildCounterGoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio < 3) {
- checkUnnamed3939(o.segments);
+ checkUnnamed3943(o.segments);
}
buildCounterGoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio--;
}
@@ -531,14 +531,14 @@
buildCounterGoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio--;
}
-buildUnnamed3940() {
+buildUnnamed3944() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3940(core.List<core.String> o) {
+checkUnnamed3944(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -550,7 +550,7 @@
buildCounterGoogleCloudDialogflowCxV3beta1ResponseMessageText++;
if (buildCounterGoogleCloudDialogflowCxV3beta1ResponseMessageText < 3) {
o.allowPlaybackInterruption = true;
- o.text = buildUnnamed3940();
+ o.text = buildUnnamed3944();
}
buildCounterGoogleCloudDialogflowCxV3beta1ResponseMessageText--;
return o;
@@ -561,12 +561,12 @@
buildCounterGoogleCloudDialogflowCxV3beta1ResponseMessageText++;
if (buildCounterGoogleCloudDialogflowCxV3beta1ResponseMessageText < 3) {
unittest.expect(o.allowPlaybackInterruption, unittest.isTrue);
- checkUnnamed3940(o.text);
+ checkUnnamed3944(o.text);
}
buildCounterGoogleCloudDialogflowCxV3beta1ResponseMessageText--;
}
-buildUnnamed3941() {
+buildUnnamed3945() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -581,7 +581,7 @@
return o;
}
-checkUnnamed3941(core.Map<core.String, core.Object> o) {
+checkUnnamed3945(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted8 = (o["x"]) as core.Map;
unittest.expect(casted8, unittest.hasLength(3));
@@ -600,7 +600,7 @@
var o = new api.GoogleCloudDialogflowCxV3beta1SessionInfo();
buildCounterGoogleCloudDialogflowCxV3beta1SessionInfo++;
if (buildCounterGoogleCloudDialogflowCxV3beta1SessionInfo < 3) {
- o.parameters = buildUnnamed3941();
+ o.parameters = buildUnnamed3945();
o.session = "foo";
}
buildCounterGoogleCloudDialogflowCxV3beta1SessionInfo--;
@@ -611,27 +611,27 @@
api.GoogleCloudDialogflowCxV3beta1SessionInfo o) {
buildCounterGoogleCloudDialogflowCxV3beta1SessionInfo++;
if (buildCounterGoogleCloudDialogflowCxV3beta1SessionInfo < 3) {
- checkUnnamed3941(o.parameters);
+ checkUnnamed3945(o.parameters);
unittest.expect(o.session, unittest.equals('foo'));
}
buildCounterGoogleCloudDialogflowCxV3beta1SessionInfo--;
}
-buildUnnamed3942() {
+buildUnnamed3946() {
var o = new core.List<api.GoogleCloudDialogflowCxV3beta1ResponseMessage>();
o.add(buildGoogleCloudDialogflowCxV3beta1ResponseMessage());
o.add(buildGoogleCloudDialogflowCxV3beta1ResponseMessage());
return o;
}
-checkUnnamed3942(
+checkUnnamed3946(
core.List<api.GoogleCloudDialogflowCxV3beta1ResponseMessage> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudDialogflowCxV3beta1ResponseMessage(o[0]);
checkGoogleCloudDialogflowCxV3beta1ResponseMessage(o[1]);
}
-buildUnnamed3943() {
+buildUnnamed3947() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -646,7 +646,7 @@
return o;
}
-checkUnnamed3943(core.Map<core.String, core.Object> o) {
+checkUnnamed3947(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted10 = (o["x"]) as core.Map;
unittest.expect(casted10, unittest.hasLength(3));
@@ -670,9 +670,9 @@
buildGoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo();
o.intentInfo =
buildGoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo();
- o.messages = buildUnnamed3942();
+ o.messages = buildUnnamed3946();
o.pageInfo = buildGoogleCloudDialogflowCxV3beta1PageInfo();
- o.payload = buildUnnamed3943();
+ o.payload = buildUnnamed3947();
o.sessionInfo = buildGoogleCloudDialogflowCxV3beta1SessionInfo();
}
buildCounterGoogleCloudDialogflowCxV3beta1WebhookRequest--;
@@ -687,9 +687,9 @@
checkGoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo(
o.fulfillmentInfo);
checkGoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo(o.intentInfo);
- checkUnnamed3942(o.messages);
+ checkUnnamed3946(o.messages);
checkGoogleCloudDialogflowCxV3beta1PageInfo(o.pageInfo);
- checkUnnamed3943(o.payload);
+ checkUnnamed3947(o.payload);
checkGoogleCloudDialogflowCxV3beta1SessionInfo(o.sessionInfo);
}
buildCounterGoogleCloudDialogflowCxV3beta1WebhookRequest--;
@@ -718,7 +718,7 @@
buildCounterGoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo--;
}
-buildUnnamed3944() {
+buildUnnamed3948() {
var o = new core.Map<core.String,
api.GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue>();
o["x"] =
@@ -728,7 +728,7 @@
return o;
}
-checkUnnamed3944(
+checkUnnamed3948(
core.Map<core.String,
api.GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue>
o) {
@@ -745,7 +745,7 @@
buildCounterGoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo++;
if (buildCounterGoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo < 3) {
o.lastMatchedIntent = "foo";
- o.parameters = buildUnnamed3944();
+ o.parameters = buildUnnamed3948();
}
buildCounterGoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo--;
return o;
@@ -756,7 +756,7 @@
buildCounterGoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo++;
if (buildCounterGoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo < 3) {
unittest.expect(o.lastMatchedIntent, unittest.equals('foo'));
- checkUnnamed3944(o.parameters);
+ checkUnnamed3948(o.parameters);
}
buildCounterGoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo--;
}
@@ -797,7 +797,7 @@
buildCounterGoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue--;
}
-buildUnnamed3945() {
+buildUnnamed3949() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -812,7 +812,7 @@
return o;
}
-checkUnnamed3945(core.Map<core.String, core.Object> o) {
+checkUnnamed3949(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted13 = (o["x"]) as core.Map;
unittest.expect(casted13, unittest.hasLength(3));
@@ -834,7 +834,7 @@
o.fulfillmentResponse =
buildGoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse();
o.pageInfo = buildGoogleCloudDialogflowCxV3beta1PageInfo();
- o.payload = buildUnnamed3945();
+ o.payload = buildUnnamed3949();
o.sessionInfo = buildGoogleCloudDialogflowCxV3beta1SessionInfo();
o.targetFlow = "foo";
o.targetPage = "foo";
@@ -850,7 +850,7 @@
checkGoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse(
o.fulfillmentResponse);
checkGoogleCloudDialogflowCxV3beta1PageInfo(o.pageInfo);
- checkUnnamed3945(o.payload);
+ checkUnnamed3949(o.payload);
checkGoogleCloudDialogflowCxV3beta1SessionInfo(o.sessionInfo);
unittest.expect(o.targetFlow, unittest.equals('foo'));
unittest.expect(o.targetPage, unittest.equals('foo'));
@@ -858,14 +858,14 @@
buildCounterGoogleCloudDialogflowCxV3beta1WebhookResponse--;
}
-buildUnnamed3946() {
+buildUnnamed3950() {
var o = new core.List<api.GoogleCloudDialogflowCxV3beta1ResponseMessage>();
o.add(buildGoogleCloudDialogflowCxV3beta1ResponseMessage());
o.add(buildGoogleCloudDialogflowCxV3beta1ResponseMessage());
return o;
}
-checkUnnamed3946(
+checkUnnamed3950(
core.List<api.GoogleCloudDialogflowCxV3beta1ResponseMessage> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudDialogflowCxV3beta1ResponseMessage(o[0]);
@@ -882,7 +882,7 @@
if (buildCounterGoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse <
3) {
o.mergeBehavior = "foo";
- o.messages = buildUnnamed3946();
+ o.messages = buildUnnamed3950();
}
buildCounterGoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse--;
return o;
@@ -894,19 +894,19 @@
if (buildCounterGoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse <
3) {
unittest.expect(o.mergeBehavior, unittest.equals('foo'));
- checkUnnamed3946(o.messages);
+ checkUnnamed3950(o.messages);
}
buildCounterGoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse--;
}
-buildUnnamed3947() {
+buildUnnamed3951() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3947(core.List<core.String> o) {
+checkUnnamed3951(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -926,7 +926,7 @@
o.enableLogging = true;
o.matchMode = "foo";
o.parent = "foo";
- o.supportedLanguageCodes = buildUnnamed3947();
+ o.supportedLanguageCodes = buildUnnamed3951();
o.tier = "foo";
o.timeZone = "foo";
}
@@ -946,7 +946,7 @@
unittest.expect(o.enableLogging, unittest.isTrue);
unittest.expect(o.matchMode, unittest.equals('foo'));
unittest.expect(o.parent, unittest.equals('foo'));
- checkUnnamed3947(o.supportedLanguageCodes);
+ checkUnnamed3951(o.supportedLanguageCodes);
unittest.expect(o.tier, unittest.equals('foo'));
unittest.expect(o.timeZone, unittest.equals('foo'));
}
@@ -985,142 +985,6 @@
buildCounterGoogleCloudDialogflowV2AnnotatedMessagePart--;
}
-buildUnnamed3948() {
- var o = new core.List<api.GoogleCloudDialogflowV2EntityTypeEntity>();
- o.add(buildGoogleCloudDialogflowV2EntityTypeEntity());
- o.add(buildGoogleCloudDialogflowV2EntityTypeEntity());
- return o;
-}
-
-checkUnnamed3948(core.List<api.GoogleCloudDialogflowV2EntityTypeEntity> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkGoogleCloudDialogflowV2EntityTypeEntity(o[0]);
- checkGoogleCloudDialogflowV2EntityTypeEntity(o[1]);
-}
-
-core.int buildCounterGoogleCloudDialogflowV2BatchCreateEntitiesRequest = 0;
-buildGoogleCloudDialogflowV2BatchCreateEntitiesRequest() {
- var o = new api.GoogleCloudDialogflowV2BatchCreateEntitiesRequest();
- buildCounterGoogleCloudDialogflowV2BatchCreateEntitiesRequest++;
- if (buildCounterGoogleCloudDialogflowV2BatchCreateEntitiesRequest < 3) {
- o.entities = buildUnnamed3948();
- o.languageCode = "foo";
- }
- buildCounterGoogleCloudDialogflowV2BatchCreateEntitiesRequest--;
- return o;
-}
-
-checkGoogleCloudDialogflowV2BatchCreateEntitiesRequest(
- api.GoogleCloudDialogflowV2BatchCreateEntitiesRequest o) {
- buildCounterGoogleCloudDialogflowV2BatchCreateEntitiesRequest++;
- if (buildCounterGoogleCloudDialogflowV2BatchCreateEntitiesRequest < 3) {
- checkUnnamed3948(o.entities);
- unittest.expect(o.languageCode, unittest.equals('foo'));
- }
- buildCounterGoogleCloudDialogflowV2BatchCreateEntitiesRequest--;
-}
-
-buildUnnamed3949() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3949(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-core.int buildCounterGoogleCloudDialogflowV2BatchDeleteEntitiesRequest = 0;
-buildGoogleCloudDialogflowV2BatchDeleteEntitiesRequest() {
- var o = new api.GoogleCloudDialogflowV2BatchDeleteEntitiesRequest();
- buildCounterGoogleCloudDialogflowV2BatchDeleteEntitiesRequest++;
- if (buildCounterGoogleCloudDialogflowV2BatchDeleteEntitiesRequest < 3) {
- o.entityValues = buildUnnamed3949();
- o.languageCode = "foo";
- }
- buildCounterGoogleCloudDialogflowV2BatchDeleteEntitiesRequest--;
- return o;
-}
-
-checkGoogleCloudDialogflowV2BatchDeleteEntitiesRequest(
- api.GoogleCloudDialogflowV2BatchDeleteEntitiesRequest o) {
- buildCounterGoogleCloudDialogflowV2BatchDeleteEntitiesRequest++;
- if (buildCounterGoogleCloudDialogflowV2BatchDeleteEntitiesRequest < 3) {
- checkUnnamed3949(o.entityValues);
- unittest.expect(o.languageCode, unittest.equals('foo'));
- }
- buildCounterGoogleCloudDialogflowV2BatchDeleteEntitiesRequest--;
-}
-
-buildUnnamed3950() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3950(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-core.int buildCounterGoogleCloudDialogflowV2BatchDeleteEntityTypesRequest = 0;
-buildGoogleCloudDialogflowV2BatchDeleteEntityTypesRequest() {
- var o = new api.GoogleCloudDialogflowV2BatchDeleteEntityTypesRequest();
- buildCounterGoogleCloudDialogflowV2BatchDeleteEntityTypesRequest++;
- if (buildCounterGoogleCloudDialogflowV2BatchDeleteEntityTypesRequest < 3) {
- o.entityTypeNames = buildUnnamed3950();
- }
- buildCounterGoogleCloudDialogflowV2BatchDeleteEntityTypesRequest--;
- return o;
-}
-
-checkGoogleCloudDialogflowV2BatchDeleteEntityTypesRequest(
- api.GoogleCloudDialogflowV2BatchDeleteEntityTypesRequest o) {
- buildCounterGoogleCloudDialogflowV2BatchDeleteEntityTypesRequest++;
- if (buildCounterGoogleCloudDialogflowV2BatchDeleteEntityTypesRequest < 3) {
- checkUnnamed3950(o.entityTypeNames);
- }
- buildCounterGoogleCloudDialogflowV2BatchDeleteEntityTypesRequest--;
-}
-
-buildUnnamed3951() {
- var o = new core.List<api.GoogleCloudDialogflowV2Intent>();
- o.add(buildGoogleCloudDialogflowV2Intent());
- o.add(buildGoogleCloudDialogflowV2Intent());
- return o;
-}
-
-checkUnnamed3951(core.List<api.GoogleCloudDialogflowV2Intent> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkGoogleCloudDialogflowV2Intent(o[0]);
- checkGoogleCloudDialogflowV2Intent(o[1]);
-}
-
-core.int buildCounterGoogleCloudDialogflowV2BatchDeleteIntentsRequest = 0;
-buildGoogleCloudDialogflowV2BatchDeleteIntentsRequest() {
- var o = new api.GoogleCloudDialogflowV2BatchDeleteIntentsRequest();
- buildCounterGoogleCloudDialogflowV2BatchDeleteIntentsRequest++;
- if (buildCounterGoogleCloudDialogflowV2BatchDeleteIntentsRequest < 3) {
- o.intents = buildUnnamed3951();
- }
- buildCounterGoogleCloudDialogflowV2BatchDeleteIntentsRequest--;
- return o;
-}
-
-checkGoogleCloudDialogflowV2BatchDeleteIntentsRequest(
- api.GoogleCloudDialogflowV2BatchDeleteIntentsRequest o) {
- buildCounterGoogleCloudDialogflowV2BatchDeleteIntentsRequest++;
- if (buildCounterGoogleCloudDialogflowV2BatchDeleteIntentsRequest < 3) {
- checkUnnamed3951(o.intents);
- }
- buildCounterGoogleCloudDialogflowV2BatchDeleteIntentsRequest--;
-}
-
buildUnnamed3952() {
var o = new core.List<api.GoogleCloudDialogflowV2EntityTypeEntity>();
o.add(buildGoogleCloudDialogflowV2EntityTypeEntity());
@@ -1134,12 +998,148 @@
checkGoogleCloudDialogflowV2EntityTypeEntity(o[1]);
}
+core.int buildCounterGoogleCloudDialogflowV2BatchCreateEntitiesRequest = 0;
+buildGoogleCloudDialogflowV2BatchCreateEntitiesRequest() {
+ var o = new api.GoogleCloudDialogflowV2BatchCreateEntitiesRequest();
+ buildCounterGoogleCloudDialogflowV2BatchCreateEntitiesRequest++;
+ if (buildCounterGoogleCloudDialogflowV2BatchCreateEntitiesRequest < 3) {
+ o.entities = buildUnnamed3952();
+ o.languageCode = "foo";
+ }
+ buildCounterGoogleCloudDialogflowV2BatchCreateEntitiesRequest--;
+ return o;
+}
+
+checkGoogleCloudDialogflowV2BatchCreateEntitiesRequest(
+ api.GoogleCloudDialogflowV2BatchCreateEntitiesRequest o) {
+ buildCounterGoogleCloudDialogflowV2BatchCreateEntitiesRequest++;
+ if (buildCounterGoogleCloudDialogflowV2BatchCreateEntitiesRequest < 3) {
+ checkUnnamed3952(o.entities);
+ unittest.expect(o.languageCode, unittest.equals('foo'));
+ }
+ buildCounterGoogleCloudDialogflowV2BatchCreateEntitiesRequest--;
+}
+
+buildUnnamed3953() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3953(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+core.int buildCounterGoogleCloudDialogflowV2BatchDeleteEntitiesRequest = 0;
+buildGoogleCloudDialogflowV2BatchDeleteEntitiesRequest() {
+ var o = new api.GoogleCloudDialogflowV2BatchDeleteEntitiesRequest();
+ buildCounterGoogleCloudDialogflowV2BatchDeleteEntitiesRequest++;
+ if (buildCounterGoogleCloudDialogflowV2BatchDeleteEntitiesRequest < 3) {
+ o.entityValues = buildUnnamed3953();
+ o.languageCode = "foo";
+ }
+ buildCounterGoogleCloudDialogflowV2BatchDeleteEntitiesRequest--;
+ return o;
+}
+
+checkGoogleCloudDialogflowV2BatchDeleteEntitiesRequest(
+ api.GoogleCloudDialogflowV2BatchDeleteEntitiesRequest o) {
+ buildCounterGoogleCloudDialogflowV2BatchDeleteEntitiesRequest++;
+ if (buildCounterGoogleCloudDialogflowV2BatchDeleteEntitiesRequest < 3) {
+ checkUnnamed3953(o.entityValues);
+ unittest.expect(o.languageCode, unittest.equals('foo'));
+ }
+ buildCounterGoogleCloudDialogflowV2BatchDeleteEntitiesRequest--;
+}
+
+buildUnnamed3954() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3954(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+core.int buildCounterGoogleCloudDialogflowV2BatchDeleteEntityTypesRequest = 0;
+buildGoogleCloudDialogflowV2BatchDeleteEntityTypesRequest() {
+ var o = new api.GoogleCloudDialogflowV2BatchDeleteEntityTypesRequest();
+ buildCounterGoogleCloudDialogflowV2BatchDeleteEntityTypesRequest++;
+ if (buildCounterGoogleCloudDialogflowV2BatchDeleteEntityTypesRequest < 3) {
+ o.entityTypeNames = buildUnnamed3954();
+ }
+ buildCounterGoogleCloudDialogflowV2BatchDeleteEntityTypesRequest--;
+ return o;
+}
+
+checkGoogleCloudDialogflowV2BatchDeleteEntityTypesRequest(
+ api.GoogleCloudDialogflowV2BatchDeleteEntityTypesRequest o) {
+ buildCounterGoogleCloudDialogflowV2BatchDeleteEntityTypesRequest++;
+ if (buildCounterGoogleCloudDialogflowV2BatchDeleteEntityTypesRequest < 3) {
+ checkUnnamed3954(o.entityTypeNames);
+ }
+ buildCounterGoogleCloudDialogflowV2BatchDeleteEntityTypesRequest--;
+}
+
+buildUnnamed3955() {
+ var o = new core.List<api.GoogleCloudDialogflowV2Intent>();
+ o.add(buildGoogleCloudDialogflowV2Intent());
+ o.add(buildGoogleCloudDialogflowV2Intent());
+ return o;
+}
+
+checkUnnamed3955(core.List<api.GoogleCloudDialogflowV2Intent> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkGoogleCloudDialogflowV2Intent(o[0]);
+ checkGoogleCloudDialogflowV2Intent(o[1]);
+}
+
+core.int buildCounterGoogleCloudDialogflowV2BatchDeleteIntentsRequest = 0;
+buildGoogleCloudDialogflowV2BatchDeleteIntentsRequest() {
+ var o = new api.GoogleCloudDialogflowV2BatchDeleteIntentsRequest();
+ buildCounterGoogleCloudDialogflowV2BatchDeleteIntentsRequest++;
+ if (buildCounterGoogleCloudDialogflowV2BatchDeleteIntentsRequest < 3) {
+ o.intents = buildUnnamed3955();
+ }
+ buildCounterGoogleCloudDialogflowV2BatchDeleteIntentsRequest--;
+ return o;
+}
+
+checkGoogleCloudDialogflowV2BatchDeleteIntentsRequest(
+ api.GoogleCloudDialogflowV2BatchDeleteIntentsRequest o) {
+ buildCounterGoogleCloudDialogflowV2BatchDeleteIntentsRequest++;
+ if (buildCounterGoogleCloudDialogflowV2BatchDeleteIntentsRequest < 3) {
+ checkUnnamed3955(o.intents);
+ }
+ buildCounterGoogleCloudDialogflowV2BatchDeleteIntentsRequest--;
+}
+
+buildUnnamed3956() {
+ var o = new core.List<api.GoogleCloudDialogflowV2EntityTypeEntity>();
+ o.add(buildGoogleCloudDialogflowV2EntityTypeEntity());
+ o.add(buildGoogleCloudDialogflowV2EntityTypeEntity());
+ return o;
+}
+
+checkUnnamed3956(core.List<api.GoogleCloudDialogflowV2EntityTypeEntity> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkGoogleCloudDialogflowV2EntityTypeEntity(o[0]);
+ checkGoogleCloudDialogflowV2EntityTypeEntity(o[1]);
+}
+
core.int buildCounterGoogleCloudDialogflowV2BatchUpdateEntitiesRequest = 0;
buildGoogleCloudDialogflowV2BatchUpdateEntitiesRequest() {
var o = new api.GoogleCloudDialogflowV2BatchUpdateEntitiesRequest();
buildCounterGoogleCloudDialogflowV2BatchUpdateEntitiesRequest++;
if (buildCounterGoogleCloudDialogflowV2BatchUpdateEntitiesRequest < 3) {
- o.entities = buildUnnamed3952();
+ o.entities = buildUnnamed3956();
o.languageCode = "foo";
o.updateMask = "foo";
}
@@ -1151,7 +1151,7 @@
api.GoogleCloudDialogflowV2BatchUpdateEntitiesRequest o) {
buildCounterGoogleCloudDialogflowV2BatchUpdateEntitiesRequest++;
if (buildCounterGoogleCloudDialogflowV2BatchUpdateEntitiesRequest < 3) {
- checkUnnamed3952(o.entities);
+ checkUnnamed3956(o.entities);
unittest.expect(o.languageCode, unittest.equals('foo'));
unittest.expect(o.updateMask, unittest.equals('foo'));
}
@@ -1184,14 +1184,14 @@
buildCounterGoogleCloudDialogflowV2BatchUpdateEntityTypesRequest--;
}
-buildUnnamed3953() {
+buildUnnamed3957() {
var o = new core.List<api.GoogleCloudDialogflowV2EntityType>();
o.add(buildGoogleCloudDialogflowV2EntityType());
o.add(buildGoogleCloudDialogflowV2EntityType());
return o;
}
-checkUnnamed3953(core.List<api.GoogleCloudDialogflowV2EntityType> o) {
+checkUnnamed3957(core.List<api.GoogleCloudDialogflowV2EntityType> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudDialogflowV2EntityType(o[0]);
checkGoogleCloudDialogflowV2EntityType(o[1]);
@@ -1202,7 +1202,7 @@
var o = new api.GoogleCloudDialogflowV2BatchUpdateEntityTypesResponse();
buildCounterGoogleCloudDialogflowV2BatchUpdateEntityTypesResponse++;
if (buildCounterGoogleCloudDialogflowV2BatchUpdateEntityTypesResponse < 3) {
- o.entityTypes = buildUnnamed3953();
+ o.entityTypes = buildUnnamed3957();
}
buildCounterGoogleCloudDialogflowV2BatchUpdateEntityTypesResponse--;
return o;
@@ -1212,7 +1212,7 @@
api.GoogleCloudDialogflowV2BatchUpdateEntityTypesResponse o) {
buildCounterGoogleCloudDialogflowV2BatchUpdateEntityTypesResponse++;
if (buildCounterGoogleCloudDialogflowV2BatchUpdateEntityTypesResponse < 3) {
- checkUnnamed3953(o.entityTypes);
+ checkUnnamed3957(o.entityTypes);
}
buildCounterGoogleCloudDialogflowV2BatchUpdateEntityTypesResponse--;
}
@@ -1245,14 +1245,14 @@
buildCounterGoogleCloudDialogflowV2BatchUpdateIntentsRequest--;
}
-buildUnnamed3954() {
+buildUnnamed3958() {
var o = new core.List<api.GoogleCloudDialogflowV2Intent>();
o.add(buildGoogleCloudDialogflowV2Intent());
o.add(buildGoogleCloudDialogflowV2Intent());
return o;
}
-checkUnnamed3954(core.List<api.GoogleCloudDialogflowV2Intent> o) {
+checkUnnamed3958(core.List<api.GoogleCloudDialogflowV2Intent> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudDialogflowV2Intent(o[0]);
checkGoogleCloudDialogflowV2Intent(o[1]);
@@ -1263,7 +1263,7 @@
var o = new api.GoogleCloudDialogflowV2BatchUpdateIntentsResponse();
buildCounterGoogleCloudDialogflowV2BatchUpdateIntentsResponse++;
if (buildCounterGoogleCloudDialogflowV2BatchUpdateIntentsResponse < 3) {
- o.intents = buildUnnamed3954();
+ o.intents = buildUnnamed3958();
}
buildCounterGoogleCloudDialogflowV2BatchUpdateIntentsResponse--;
return o;
@@ -1273,12 +1273,12 @@
api.GoogleCloudDialogflowV2BatchUpdateIntentsResponse o) {
buildCounterGoogleCloudDialogflowV2BatchUpdateIntentsResponse++;
if (buildCounterGoogleCloudDialogflowV2BatchUpdateIntentsResponse < 3) {
- checkUnnamed3954(o.intents);
+ checkUnnamed3958(o.intents);
}
buildCounterGoogleCloudDialogflowV2BatchUpdateIntentsResponse--;
}
-buildUnnamed3955() {
+buildUnnamed3959() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1293,7 +1293,7 @@
return o;
}
-checkUnnamed3955(core.Map<core.String, core.Object> o) {
+checkUnnamed3959(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted16 = (o["x"]) as core.Map;
unittest.expect(casted16, unittest.hasLength(3));
@@ -1314,7 +1314,7 @@
if (buildCounterGoogleCloudDialogflowV2Context < 3) {
o.lifespanCount = 42;
o.name = "foo";
- o.parameters = buildUnnamed3955();
+ o.parameters = buildUnnamed3959();
}
buildCounterGoogleCloudDialogflowV2Context--;
return o;
@@ -1325,7 +1325,7 @@
if (buildCounterGoogleCloudDialogflowV2Context < 3) {
unittest.expect(o.lifespanCount, unittest.equals(42));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed3955(o.parameters);
+ checkUnnamed3959(o.parameters);
}
buildCounterGoogleCloudDialogflowV2Context--;
}
@@ -1412,14 +1412,14 @@
buildCounterGoogleCloudDialogflowV2DetectIntentResponse--;
}
-buildUnnamed3956() {
+buildUnnamed3960() {
var o = new core.List<api.GoogleCloudDialogflowV2EntityTypeEntity>();
o.add(buildGoogleCloudDialogflowV2EntityTypeEntity());
o.add(buildGoogleCloudDialogflowV2EntityTypeEntity());
return o;
}
-checkUnnamed3956(core.List<api.GoogleCloudDialogflowV2EntityTypeEntity> o) {
+checkUnnamed3960(core.List<api.GoogleCloudDialogflowV2EntityTypeEntity> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudDialogflowV2EntityTypeEntity(o[0]);
checkGoogleCloudDialogflowV2EntityTypeEntity(o[1]);
@@ -1433,7 +1433,7 @@
o.autoExpansionMode = "foo";
o.displayName = "foo";
o.enableFuzzyExtraction = true;
- o.entities = buildUnnamed3956();
+ o.entities = buildUnnamed3960();
o.kind = "foo";
o.name = "foo";
}
@@ -1448,21 +1448,21 @@
unittest.expect(o.autoExpansionMode, unittest.equals('foo'));
unittest.expect(o.displayName, unittest.equals('foo'));
unittest.expect(o.enableFuzzyExtraction, unittest.isTrue);
- checkUnnamed3956(o.entities);
+ checkUnnamed3960(o.entities);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
}
buildCounterGoogleCloudDialogflowV2EntityType--;
}
-buildUnnamed3957() {
+buildUnnamed3961() {
var o = new core.List<api.GoogleCloudDialogflowV2EntityType>();
o.add(buildGoogleCloudDialogflowV2EntityType());
o.add(buildGoogleCloudDialogflowV2EntityType());
return o;
}
-checkUnnamed3957(core.List<api.GoogleCloudDialogflowV2EntityType> o) {
+checkUnnamed3961(core.List<api.GoogleCloudDialogflowV2EntityType> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudDialogflowV2EntityType(o[0]);
checkGoogleCloudDialogflowV2EntityType(o[1]);
@@ -1473,7 +1473,7 @@
var o = new api.GoogleCloudDialogflowV2EntityTypeBatch();
buildCounterGoogleCloudDialogflowV2EntityTypeBatch++;
if (buildCounterGoogleCloudDialogflowV2EntityTypeBatch < 3) {
- o.entityTypes = buildUnnamed3957();
+ o.entityTypes = buildUnnamed3961();
}
buildCounterGoogleCloudDialogflowV2EntityTypeBatch--;
return o;
@@ -1483,19 +1483,19 @@
api.GoogleCloudDialogflowV2EntityTypeBatch o) {
buildCounterGoogleCloudDialogflowV2EntityTypeBatch++;
if (buildCounterGoogleCloudDialogflowV2EntityTypeBatch < 3) {
- checkUnnamed3957(o.entityTypes);
+ checkUnnamed3961(o.entityTypes);
}
buildCounterGoogleCloudDialogflowV2EntityTypeBatch--;
}
-buildUnnamed3958() {
+buildUnnamed3962() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3958(core.List<core.String> o) {
+checkUnnamed3962(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1506,7 +1506,7 @@
var o = new api.GoogleCloudDialogflowV2EntityTypeEntity();
buildCounterGoogleCloudDialogflowV2EntityTypeEntity++;
if (buildCounterGoogleCloudDialogflowV2EntityTypeEntity < 3) {
- o.synonyms = buildUnnamed3958();
+ o.synonyms = buildUnnamed3962();
o.value = "foo";
}
buildCounterGoogleCloudDialogflowV2EntityTypeEntity--;
@@ -1517,7 +1517,7 @@
api.GoogleCloudDialogflowV2EntityTypeEntity o) {
buildCounterGoogleCloudDialogflowV2EntityTypeEntity++;
if (buildCounterGoogleCloudDialogflowV2EntityTypeEntity < 3) {
- checkUnnamed3958(o.synonyms);
+ checkUnnamed3962(o.synonyms);
unittest.expect(o.value, unittest.equals('foo'));
}
buildCounterGoogleCloudDialogflowV2EntityTypeEntity--;
@@ -1551,7 +1551,7 @@
buildCounterGoogleCloudDialogflowV2Environment--;
}
-buildUnnamed3959() {
+buildUnnamed3963() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1566,7 +1566,7 @@
return o;
}
-checkUnnamed3959(core.Map<core.String, core.Object> o) {
+checkUnnamed3963(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted18 = (o["x"]) as core.Map;
unittest.expect(casted18, unittest.hasLength(3));
@@ -1587,7 +1587,7 @@
if (buildCounterGoogleCloudDialogflowV2EventInput < 3) {
o.languageCode = "foo";
o.name = "foo";
- o.parameters = buildUnnamed3959();
+ o.parameters = buildUnnamed3963();
}
buildCounterGoogleCloudDialogflowV2EventInput--;
return o;
@@ -1599,7 +1599,7 @@
if (buildCounterGoogleCloudDialogflowV2EventInput < 3) {
unittest.expect(o.languageCode, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed3959(o.parameters);
+ checkUnnamed3963(o.parameters);
}
buildCounterGoogleCloudDialogflowV2EventInput--;
}
@@ -1646,14 +1646,14 @@
buildCounterGoogleCloudDialogflowV2ExportAgentResponse--;
}
-buildUnnamed3960() {
+buildUnnamed3964() {
var o = new core.List<api.GoogleCloudDialogflowV2FulfillmentFeature>();
o.add(buildGoogleCloudDialogflowV2FulfillmentFeature());
o.add(buildGoogleCloudDialogflowV2FulfillmentFeature());
return o;
}
-checkUnnamed3960(core.List<api.GoogleCloudDialogflowV2FulfillmentFeature> o) {
+checkUnnamed3964(core.List<api.GoogleCloudDialogflowV2FulfillmentFeature> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudDialogflowV2FulfillmentFeature(o[0]);
checkGoogleCloudDialogflowV2FulfillmentFeature(o[1]);
@@ -1666,7 +1666,7 @@
if (buildCounterGoogleCloudDialogflowV2Fulfillment < 3) {
o.displayName = "foo";
o.enabled = true;
- o.features = buildUnnamed3960();
+ o.features = buildUnnamed3964();
o.genericWebService =
buildGoogleCloudDialogflowV2FulfillmentGenericWebService();
o.name = "foo";
@@ -1681,7 +1681,7 @@
if (buildCounterGoogleCloudDialogflowV2Fulfillment < 3) {
unittest.expect(o.displayName, unittest.equals('foo'));
unittest.expect(o.enabled, unittest.isTrue);
- checkUnnamed3960(o.features);
+ checkUnnamed3964(o.features);
checkGoogleCloudDialogflowV2FulfillmentGenericWebService(
o.genericWebService);
unittest.expect(o.name, unittest.equals('foo'));
@@ -1709,14 +1709,14 @@
buildCounterGoogleCloudDialogflowV2FulfillmentFeature--;
}
-buildUnnamed3961() {
+buildUnnamed3965() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3961(core.Map<core.String, core.String> o) {
+checkUnnamed3965(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -1729,7 +1729,7 @@
if (buildCounterGoogleCloudDialogflowV2FulfillmentGenericWebService < 3) {
o.isCloudFunction = true;
o.password = "foo";
- o.requestHeaders = buildUnnamed3961();
+ o.requestHeaders = buildUnnamed3965();
o.uri = "foo";
o.username = "foo";
}
@@ -1743,7 +1743,7 @@
if (buildCounterGoogleCloudDialogflowV2FulfillmentGenericWebService < 3) {
unittest.expect(o.isCloudFunction, unittest.isTrue);
unittest.expect(o.password, unittest.equals('foo'));
- checkUnnamed3961(o.requestHeaders);
+ checkUnnamed3965(o.requestHeaders);
unittest.expect(o.uri, unittest.equals('foo'));
unittest.expect(o.username, unittest.equals('foo'));
}
@@ -1772,106 +1772,37 @@
buildCounterGoogleCloudDialogflowV2ImportAgentRequest--;
}
-buildUnnamed3962() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3962(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed3963() {
- var o = new core.List<api.GoogleCloudDialogflowV2SpeechContext>();
- o.add(buildGoogleCloudDialogflowV2SpeechContext());
- o.add(buildGoogleCloudDialogflowV2SpeechContext());
- return o;
-}
-
-checkUnnamed3963(core.List<api.GoogleCloudDialogflowV2SpeechContext> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkGoogleCloudDialogflowV2SpeechContext(o[0]);
- checkGoogleCloudDialogflowV2SpeechContext(o[1]);
-}
-
-core.int buildCounterGoogleCloudDialogflowV2InputAudioConfig = 0;
-buildGoogleCloudDialogflowV2InputAudioConfig() {
- var o = new api.GoogleCloudDialogflowV2InputAudioConfig();
- buildCounterGoogleCloudDialogflowV2InputAudioConfig++;
- if (buildCounterGoogleCloudDialogflowV2InputAudioConfig < 3) {
- o.audioEncoding = "foo";
- o.enableWordInfo = true;
- o.languageCode = "foo";
- o.model = "foo";
- o.modelVariant = "foo";
- o.phraseHints = buildUnnamed3962();
- o.sampleRateHertz = 42;
- o.singleUtterance = true;
- o.speechContexts = buildUnnamed3963();
- }
- buildCounterGoogleCloudDialogflowV2InputAudioConfig--;
- return o;
-}
-
-checkGoogleCloudDialogflowV2InputAudioConfig(
- api.GoogleCloudDialogflowV2InputAudioConfig o) {
- buildCounterGoogleCloudDialogflowV2InputAudioConfig++;
- if (buildCounterGoogleCloudDialogflowV2InputAudioConfig < 3) {
- unittest.expect(o.audioEncoding, unittest.equals('foo'));
- unittest.expect(o.enableWordInfo, unittest.isTrue);
- unittest.expect(o.languageCode, unittest.equals('foo'));
- unittest.expect(o.model, unittest.equals('foo'));
- unittest.expect(o.modelVariant, unittest.equals('foo'));
- checkUnnamed3962(o.phraseHints);
- unittest.expect(o.sampleRateHertz, unittest.equals(42));
- unittest.expect(o.singleUtterance, unittest.isTrue);
- checkUnnamed3963(o.speechContexts);
- }
- buildCounterGoogleCloudDialogflowV2InputAudioConfig--;
-}
-
-buildUnnamed3964() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3964(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed3965() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3965(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed3966() {
- var o = new core.List<api.GoogleCloudDialogflowV2IntentFollowupIntentInfo>();
- o.add(buildGoogleCloudDialogflowV2IntentFollowupIntentInfo());
- o.add(buildGoogleCloudDialogflowV2IntentFollowupIntentInfo());
+ var o = new core.List<api.GoogleRpcStatus>();
+ o.add(buildGoogleRpcStatus());
+ o.add(buildGoogleRpcStatus());
return o;
}
-checkUnnamed3966(
- core.List<api.GoogleCloudDialogflowV2IntentFollowupIntentInfo> o) {
+checkUnnamed3966(core.List<api.GoogleRpcStatus> o) {
unittest.expect(o, unittest.hasLength(2));
- checkGoogleCloudDialogflowV2IntentFollowupIntentInfo(o[0]);
- checkGoogleCloudDialogflowV2IntentFollowupIntentInfo(o[1]);
+ checkGoogleRpcStatus(o[0]);
+ checkGoogleRpcStatus(o[1]);
+}
+
+core.int buildCounterGoogleCloudDialogflowV2ImportDocumentsResponse = 0;
+buildGoogleCloudDialogflowV2ImportDocumentsResponse() {
+ var o = new api.GoogleCloudDialogflowV2ImportDocumentsResponse();
+ buildCounterGoogleCloudDialogflowV2ImportDocumentsResponse++;
+ if (buildCounterGoogleCloudDialogflowV2ImportDocumentsResponse < 3) {
+ o.warnings = buildUnnamed3966();
+ }
+ buildCounterGoogleCloudDialogflowV2ImportDocumentsResponse--;
+ return o;
+}
+
+checkGoogleCloudDialogflowV2ImportDocumentsResponse(
+ api.GoogleCloudDialogflowV2ImportDocumentsResponse o) {
+ buildCounterGoogleCloudDialogflowV2ImportDocumentsResponse++;
+ if (buildCounterGoogleCloudDialogflowV2ImportDocumentsResponse < 3) {
+ checkUnnamed3966(o.warnings);
+ }
+ buildCounterGoogleCloudDialogflowV2ImportDocumentsResponse--;
}
buildUnnamed3967() {
@@ -1888,52 +1819,154 @@
}
buildUnnamed3968() {
+ var o = new core.List<api.GoogleCloudDialogflowV2SpeechContext>();
+ o.add(buildGoogleCloudDialogflowV2SpeechContext());
+ o.add(buildGoogleCloudDialogflowV2SpeechContext());
+ return o;
+}
+
+checkUnnamed3968(core.List<api.GoogleCloudDialogflowV2SpeechContext> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkGoogleCloudDialogflowV2SpeechContext(o[0]);
+ checkGoogleCloudDialogflowV2SpeechContext(o[1]);
+}
+
+core.int buildCounterGoogleCloudDialogflowV2InputAudioConfig = 0;
+buildGoogleCloudDialogflowV2InputAudioConfig() {
+ var o = new api.GoogleCloudDialogflowV2InputAudioConfig();
+ buildCounterGoogleCloudDialogflowV2InputAudioConfig++;
+ if (buildCounterGoogleCloudDialogflowV2InputAudioConfig < 3) {
+ o.audioEncoding = "foo";
+ o.enableWordInfo = true;
+ o.languageCode = "foo";
+ o.model = "foo";
+ o.modelVariant = "foo";
+ o.phraseHints = buildUnnamed3967();
+ o.sampleRateHertz = 42;
+ o.singleUtterance = true;
+ o.speechContexts = buildUnnamed3968();
+ }
+ buildCounterGoogleCloudDialogflowV2InputAudioConfig--;
+ return o;
+}
+
+checkGoogleCloudDialogflowV2InputAudioConfig(
+ api.GoogleCloudDialogflowV2InputAudioConfig o) {
+ buildCounterGoogleCloudDialogflowV2InputAudioConfig++;
+ if (buildCounterGoogleCloudDialogflowV2InputAudioConfig < 3) {
+ unittest.expect(o.audioEncoding, unittest.equals('foo'));
+ unittest.expect(o.enableWordInfo, unittest.isTrue);
+ unittest.expect(o.languageCode, unittest.equals('foo'));
+ unittest.expect(o.model, unittest.equals('foo'));
+ unittest.expect(o.modelVariant, unittest.equals('foo'));
+ checkUnnamed3967(o.phraseHints);
+ unittest.expect(o.sampleRateHertz, unittest.equals(42));
+ unittest.expect(o.singleUtterance, unittest.isTrue);
+ checkUnnamed3968(o.speechContexts);
+ }
+ buildCounterGoogleCloudDialogflowV2InputAudioConfig--;
+}
+
+buildUnnamed3969() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3969(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed3970() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3970(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed3971() {
+ var o = new core.List<api.GoogleCloudDialogflowV2IntentFollowupIntentInfo>();
+ o.add(buildGoogleCloudDialogflowV2IntentFollowupIntentInfo());
+ o.add(buildGoogleCloudDialogflowV2IntentFollowupIntentInfo());
+ return o;
+}
+
+checkUnnamed3971(
+ core.List<api.GoogleCloudDialogflowV2IntentFollowupIntentInfo> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkGoogleCloudDialogflowV2IntentFollowupIntentInfo(o[0]);
+ checkGoogleCloudDialogflowV2IntentFollowupIntentInfo(o[1]);
+}
+
+buildUnnamed3972() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3972(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed3973() {
var o = new core.List<api.GoogleCloudDialogflowV2IntentMessage>();
o.add(buildGoogleCloudDialogflowV2IntentMessage());
o.add(buildGoogleCloudDialogflowV2IntentMessage());
return o;
}
-checkUnnamed3968(core.List<api.GoogleCloudDialogflowV2IntentMessage> o) {
+checkUnnamed3973(core.List<api.GoogleCloudDialogflowV2IntentMessage> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudDialogflowV2IntentMessage(o[0]);
checkGoogleCloudDialogflowV2IntentMessage(o[1]);
}
-buildUnnamed3969() {
+buildUnnamed3974() {
var o = new core.List<api.GoogleCloudDialogflowV2Context>();
o.add(buildGoogleCloudDialogflowV2Context());
o.add(buildGoogleCloudDialogflowV2Context());
return o;
}
-checkUnnamed3969(core.List<api.GoogleCloudDialogflowV2Context> o) {
+checkUnnamed3974(core.List<api.GoogleCloudDialogflowV2Context> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudDialogflowV2Context(o[0]);
checkGoogleCloudDialogflowV2Context(o[1]);
}
-buildUnnamed3970() {
+buildUnnamed3975() {
var o = new core.List<api.GoogleCloudDialogflowV2IntentParameter>();
o.add(buildGoogleCloudDialogflowV2IntentParameter());
o.add(buildGoogleCloudDialogflowV2IntentParameter());
return o;
}
-checkUnnamed3970(core.List<api.GoogleCloudDialogflowV2IntentParameter> o) {
+checkUnnamed3975(core.List<api.GoogleCloudDialogflowV2IntentParameter> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudDialogflowV2IntentParameter(o[0]);
checkGoogleCloudDialogflowV2IntentParameter(o[1]);
}
-buildUnnamed3971() {
+buildUnnamed3976() {
var o = new core.List<api.GoogleCloudDialogflowV2IntentTrainingPhrase>();
o.add(buildGoogleCloudDialogflowV2IntentTrainingPhrase());
o.add(buildGoogleCloudDialogflowV2IntentTrainingPhrase());
return o;
}
-checkUnnamed3971(core.List<api.GoogleCloudDialogflowV2IntentTrainingPhrase> o) {
+checkUnnamed3976(core.List<api.GoogleCloudDialogflowV2IntentTrainingPhrase> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudDialogflowV2IntentTrainingPhrase(o[0]);
checkGoogleCloudDialogflowV2IntentTrainingPhrase(o[1]);
@@ -1945,22 +1978,22 @@
buildCounterGoogleCloudDialogflowV2Intent++;
if (buildCounterGoogleCloudDialogflowV2Intent < 3) {
o.action = "foo";
- o.defaultResponsePlatforms = buildUnnamed3964();
+ o.defaultResponsePlatforms = buildUnnamed3969();
o.displayName = "foo";
- o.events = buildUnnamed3965();
- o.followupIntentInfo = buildUnnamed3966();
- o.inputContextNames = buildUnnamed3967();
+ o.events = buildUnnamed3970();
+ o.followupIntentInfo = buildUnnamed3971();
+ o.inputContextNames = buildUnnamed3972();
o.isFallback = true;
- o.messages = buildUnnamed3968();
+ o.messages = buildUnnamed3973();
o.mlDisabled = true;
o.name = "foo";
- o.outputContexts = buildUnnamed3969();
- o.parameters = buildUnnamed3970();
+ o.outputContexts = buildUnnamed3974();
+ o.parameters = buildUnnamed3975();
o.parentFollowupIntentName = "foo";
o.priority = 42;
o.resetContexts = true;
o.rootFollowupIntentName = "foo";
- o.trainingPhrases = buildUnnamed3971();
+ o.trainingPhrases = buildUnnamed3976();
o.webhookState = "foo";
}
buildCounterGoogleCloudDialogflowV2Intent--;
@@ -1971,35 +2004,35 @@
buildCounterGoogleCloudDialogflowV2Intent++;
if (buildCounterGoogleCloudDialogflowV2Intent < 3) {
unittest.expect(o.action, unittest.equals('foo'));
- checkUnnamed3964(o.defaultResponsePlatforms);
+ checkUnnamed3969(o.defaultResponsePlatforms);
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed3965(o.events);
- checkUnnamed3966(o.followupIntentInfo);
- checkUnnamed3967(o.inputContextNames);
+ checkUnnamed3970(o.events);
+ checkUnnamed3971(o.followupIntentInfo);
+ checkUnnamed3972(o.inputContextNames);
unittest.expect(o.isFallback, unittest.isTrue);
- checkUnnamed3968(o.messages);
+ checkUnnamed3973(o.messages);
unittest.expect(o.mlDisabled, unittest.isTrue);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed3969(o.outputContexts);
- checkUnnamed3970(o.parameters);
+ checkUnnamed3974(o.outputContexts);
+ checkUnnamed3975(o.parameters);
unittest.expect(o.parentFollowupIntentName, unittest.equals('foo'));
unittest.expect(o.priority, unittest.equals(42));
unittest.expect(o.resetContexts, unittest.isTrue);
unittest.expect(o.rootFollowupIntentName, unittest.equals('foo'));
- checkUnnamed3971(o.trainingPhrases);
+ checkUnnamed3976(o.trainingPhrases);
unittest.expect(o.webhookState, unittest.equals('foo'));
}
buildCounterGoogleCloudDialogflowV2Intent--;
}
-buildUnnamed3972() {
+buildUnnamed3977() {
var o = new core.List<api.GoogleCloudDialogflowV2Intent>();
o.add(buildGoogleCloudDialogflowV2Intent());
o.add(buildGoogleCloudDialogflowV2Intent());
return o;
}
-checkUnnamed3972(core.List<api.GoogleCloudDialogflowV2Intent> o) {
+checkUnnamed3977(core.List<api.GoogleCloudDialogflowV2Intent> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudDialogflowV2Intent(o[0]);
checkGoogleCloudDialogflowV2Intent(o[1]);
@@ -2010,7 +2043,7 @@
var o = new api.GoogleCloudDialogflowV2IntentBatch();
buildCounterGoogleCloudDialogflowV2IntentBatch++;
if (buildCounterGoogleCloudDialogflowV2IntentBatch < 3) {
- o.intents = buildUnnamed3972();
+ o.intents = buildUnnamed3977();
}
buildCounterGoogleCloudDialogflowV2IntentBatch--;
return o;
@@ -2020,7 +2053,7 @@
api.GoogleCloudDialogflowV2IntentBatch o) {
buildCounterGoogleCloudDialogflowV2IntentBatch++;
if (buildCounterGoogleCloudDialogflowV2IntentBatch < 3) {
- checkUnnamed3972(o.intents);
+ checkUnnamed3977(o.intents);
}
buildCounterGoogleCloudDialogflowV2IntentBatch--;
}
@@ -2047,7 +2080,7 @@
buildCounterGoogleCloudDialogflowV2IntentFollowupIntentInfo--;
}
-buildUnnamed3973() {
+buildUnnamed3978() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -2062,7 +2095,7 @@
return o;
}
-checkUnnamed3973(core.Map<core.String, core.Object> o) {
+checkUnnamed3978(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted20 = (o["x"]) as core.Map;
unittest.expect(casted20, unittest.hasLength(3));
@@ -2092,7 +2125,7 @@
buildGoogleCloudDialogflowV2IntentMessageLinkOutSuggestion();
o.listSelect = buildGoogleCloudDialogflowV2IntentMessageListSelect();
o.mediaContent = buildGoogleCloudDialogflowV2IntentMessageMediaContent();
- o.payload = buildUnnamed3973();
+ o.payload = buildUnnamed3978();
o.platform = "foo";
o.quickReplies = buildGoogleCloudDialogflowV2IntentMessageQuickReplies();
o.simpleResponses =
@@ -2119,7 +2152,7 @@
o.linkOutSuggestion);
checkGoogleCloudDialogflowV2IntentMessageListSelect(o.listSelect);
checkGoogleCloudDialogflowV2IntentMessageMediaContent(o.mediaContent);
- checkUnnamed3973(o.payload);
+ checkUnnamed3978(o.payload);
unittest.expect(o.platform, unittest.equals('foo'));
checkGoogleCloudDialogflowV2IntentMessageQuickReplies(o.quickReplies);
checkGoogleCloudDialogflowV2IntentMessageSimpleResponses(o.simpleResponses);
@@ -2130,7 +2163,7 @@
buildCounterGoogleCloudDialogflowV2IntentMessage--;
}
-buildUnnamed3974() {
+buildUnnamed3979() {
var o =
new core.List<api.GoogleCloudDialogflowV2IntentMessageBasicCardButton>();
o.add(buildGoogleCloudDialogflowV2IntentMessageBasicCardButton());
@@ -2138,7 +2171,7 @@
return o;
}
-checkUnnamed3974(
+checkUnnamed3979(
core.List<api.GoogleCloudDialogflowV2IntentMessageBasicCardButton> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudDialogflowV2IntentMessageBasicCardButton(o[0]);
@@ -2150,7 +2183,7 @@
var o = new api.GoogleCloudDialogflowV2IntentMessageBasicCard();
buildCounterGoogleCloudDialogflowV2IntentMessageBasicCard++;
if (buildCounterGoogleCloudDialogflowV2IntentMessageBasicCard < 3) {
- o.buttons = buildUnnamed3974();
+ o.buttons = buildUnnamed3979();
o.formattedText = "foo";
o.image = buildGoogleCloudDialogflowV2IntentMessageImage();
o.subtitle = "foo";
@@ -2164,7 +2197,7 @@
api.GoogleCloudDialogflowV2IntentMessageBasicCard o) {
buildCounterGoogleCloudDialogflowV2IntentMessageBasicCard++;
if (buildCounterGoogleCloudDialogflowV2IntentMessageBasicCard < 3) {
- checkUnnamed3974(o.buttons);
+ checkUnnamed3979(o.buttons);
unittest.expect(o.formattedText, unittest.equals('foo'));
checkGoogleCloudDialogflowV2IntentMessageImage(o.image);
unittest.expect(o.subtitle, unittest.equals('foo'));
@@ -2222,7 +2255,7 @@
buildCounterGoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction--;
}
-buildUnnamed3975() {
+buildUnnamed3980() {
var o = new core.List<
api.GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem>();
o.add(
@@ -2232,7 +2265,7 @@
return o;
}
-checkUnnamed3975(
+checkUnnamed3980(
core.List<
api.GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem>
o) {
@@ -2249,7 +2282,7 @@
buildCounterGoogleCloudDialogflowV2IntentMessageBrowseCarouselCard++;
if (buildCounterGoogleCloudDialogflowV2IntentMessageBrowseCarouselCard < 3) {
o.imageDisplayOptions = "foo";
- o.items = buildUnnamed3975();
+ o.items = buildUnnamed3980();
}
buildCounterGoogleCloudDialogflowV2IntentMessageBrowseCarouselCard--;
return o;
@@ -2260,7 +2293,7 @@
buildCounterGoogleCloudDialogflowV2IntentMessageBrowseCarouselCard++;
if (buildCounterGoogleCloudDialogflowV2IntentMessageBrowseCarouselCard < 3) {
unittest.expect(o.imageDisplayOptions, unittest.equals('foo'));
- checkUnnamed3975(o.items);
+ checkUnnamed3980(o.items);
}
buildCounterGoogleCloudDialogflowV2IntentMessageBrowseCarouselCard--;
}
@@ -2329,14 +2362,14 @@
buildCounterGoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction--;
}
-buildUnnamed3976() {
+buildUnnamed3981() {
var o = new core.List<api.GoogleCloudDialogflowV2IntentMessageCardButton>();
o.add(buildGoogleCloudDialogflowV2IntentMessageCardButton());
o.add(buildGoogleCloudDialogflowV2IntentMessageCardButton());
return o;
}
-checkUnnamed3976(
+checkUnnamed3981(
core.List<api.GoogleCloudDialogflowV2IntentMessageCardButton> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudDialogflowV2IntentMessageCardButton(o[0]);
@@ -2348,7 +2381,7 @@
var o = new api.GoogleCloudDialogflowV2IntentMessageCard();
buildCounterGoogleCloudDialogflowV2IntentMessageCard++;
if (buildCounterGoogleCloudDialogflowV2IntentMessageCard < 3) {
- o.buttons = buildUnnamed3976();
+ o.buttons = buildUnnamed3981();
o.imageUri = "foo";
o.subtitle = "foo";
o.title = "foo";
@@ -2361,7 +2394,7 @@
api.GoogleCloudDialogflowV2IntentMessageCard o) {
buildCounterGoogleCloudDialogflowV2IntentMessageCard++;
if (buildCounterGoogleCloudDialogflowV2IntentMessageCard < 3) {
- checkUnnamed3976(o.buttons);
+ checkUnnamed3981(o.buttons);
unittest.expect(o.imageUri, unittest.equals('foo'));
unittest.expect(o.subtitle, unittest.equals('foo'));
unittest.expect(o.title, unittest.equals('foo'));
@@ -2391,7 +2424,7 @@
buildCounterGoogleCloudDialogflowV2IntentMessageCardButton--;
}
-buildUnnamed3977() {
+buildUnnamed3982() {
var o = new core
.List<api.GoogleCloudDialogflowV2IntentMessageCarouselSelectItem>();
o.add(buildGoogleCloudDialogflowV2IntentMessageCarouselSelectItem());
@@ -2399,7 +2432,7 @@
return o;
}
-checkUnnamed3977(
+checkUnnamed3982(
core.List<api.GoogleCloudDialogflowV2IntentMessageCarouselSelectItem> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudDialogflowV2IntentMessageCarouselSelectItem(o[0]);
@@ -2411,7 +2444,7 @@
var o = new api.GoogleCloudDialogflowV2IntentMessageCarouselSelect();
buildCounterGoogleCloudDialogflowV2IntentMessageCarouselSelect++;
if (buildCounterGoogleCloudDialogflowV2IntentMessageCarouselSelect < 3) {
- o.items = buildUnnamed3977();
+ o.items = buildUnnamed3982();
}
buildCounterGoogleCloudDialogflowV2IntentMessageCarouselSelect--;
return o;
@@ -2421,7 +2454,7 @@
api.GoogleCloudDialogflowV2IntentMessageCarouselSelect o) {
buildCounterGoogleCloudDialogflowV2IntentMessageCarouselSelect++;
if (buildCounterGoogleCloudDialogflowV2IntentMessageCarouselSelect < 3) {
- checkUnnamed3977(o.items);
+ checkUnnamed3982(o.items);
}
buildCounterGoogleCloudDialogflowV2IntentMessageCarouselSelect--;
}
@@ -2518,7 +2551,7 @@
buildCounterGoogleCloudDialogflowV2IntentMessageLinkOutSuggestion--;
}
-buildUnnamed3978() {
+buildUnnamed3983() {
var o =
new core.List<api.GoogleCloudDialogflowV2IntentMessageListSelectItem>();
o.add(buildGoogleCloudDialogflowV2IntentMessageListSelectItem());
@@ -2526,7 +2559,7 @@
return o;
}
-checkUnnamed3978(
+checkUnnamed3983(
core.List<api.GoogleCloudDialogflowV2IntentMessageListSelectItem> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudDialogflowV2IntentMessageListSelectItem(o[0]);
@@ -2538,7 +2571,7 @@
var o = new api.GoogleCloudDialogflowV2IntentMessageListSelect();
buildCounterGoogleCloudDialogflowV2IntentMessageListSelect++;
if (buildCounterGoogleCloudDialogflowV2IntentMessageListSelect < 3) {
- o.items = buildUnnamed3978();
+ o.items = buildUnnamed3983();
o.subtitle = "foo";
o.title = "foo";
}
@@ -2550,7 +2583,7 @@
api.GoogleCloudDialogflowV2IntentMessageListSelect o) {
buildCounterGoogleCloudDialogflowV2IntentMessageListSelect++;
if (buildCounterGoogleCloudDialogflowV2IntentMessageListSelect < 3) {
- checkUnnamed3978(o.items);
+ checkUnnamed3983(o.items);
unittest.expect(o.subtitle, unittest.equals('foo'));
unittest.expect(o.title, unittest.equals('foo'));
}
@@ -2583,7 +2616,7 @@
buildCounterGoogleCloudDialogflowV2IntentMessageListSelectItem--;
}
-buildUnnamed3979() {
+buildUnnamed3984() {
var o = new core.List<
api.GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject>();
o.add(
@@ -2593,7 +2626,7 @@
return o;
}
-checkUnnamed3979(
+checkUnnamed3984(
core.List<
api.GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject>
o) {
@@ -2609,7 +2642,7 @@
var o = new api.GoogleCloudDialogflowV2IntentMessageMediaContent();
buildCounterGoogleCloudDialogflowV2IntentMessageMediaContent++;
if (buildCounterGoogleCloudDialogflowV2IntentMessageMediaContent < 3) {
- o.mediaObjects = buildUnnamed3979();
+ o.mediaObjects = buildUnnamed3984();
o.mediaType = "foo";
}
buildCounterGoogleCloudDialogflowV2IntentMessageMediaContent--;
@@ -2620,7 +2653,7 @@
api.GoogleCloudDialogflowV2IntentMessageMediaContent o) {
buildCounterGoogleCloudDialogflowV2IntentMessageMediaContent++;
if (buildCounterGoogleCloudDialogflowV2IntentMessageMediaContent < 3) {
- checkUnnamed3979(o.mediaObjects);
+ checkUnnamed3984(o.mediaObjects);
unittest.expect(o.mediaType, unittest.equals('foo'));
}
buildCounterGoogleCloudDialogflowV2IntentMessageMediaContent--;
@@ -2659,14 +2692,14 @@
buildCounterGoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject--;
}
-buildUnnamed3980() {
+buildUnnamed3985() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3980(core.List<core.String> o) {
+checkUnnamed3985(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2677,7 +2710,7 @@
var o = new api.GoogleCloudDialogflowV2IntentMessageQuickReplies();
buildCounterGoogleCloudDialogflowV2IntentMessageQuickReplies++;
if (buildCounterGoogleCloudDialogflowV2IntentMessageQuickReplies < 3) {
- o.quickReplies = buildUnnamed3980();
+ o.quickReplies = buildUnnamed3985();
o.title = "foo";
}
buildCounterGoogleCloudDialogflowV2IntentMessageQuickReplies--;
@@ -2688,20 +2721,20 @@
api.GoogleCloudDialogflowV2IntentMessageQuickReplies o) {
buildCounterGoogleCloudDialogflowV2IntentMessageQuickReplies++;
if (buildCounterGoogleCloudDialogflowV2IntentMessageQuickReplies < 3) {
- checkUnnamed3980(o.quickReplies);
+ checkUnnamed3985(o.quickReplies);
unittest.expect(o.title, unittest.equals('foo'));
}
buildCounterGoogleCloudDialogflowV2IntentMessageQuickReplies--;
}
-buildUnnamed3981() {
+buildUnnamed3986() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3981(core.List<core.String> o) {
+checkUnnamed3986(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2713,7 +2746,7 @@
buildCounterGoogleCloudDialogflowV2IntentMessageSelectItemInfo++;
if (buildCounterGoogleCloudDialogflowV2IntentMessageSelectItemInfo < 3) {
o.key = "foo";
- o.synonyms = buildUnnamed3981();
+ o.synonyms = buildUnnamed3986();
}
buildCounterGoogleCloudDialogflowV2IntentMessageSelectItemInfo--;
return o;
@@ -2724,7 +2757,7 @@
buildCounterGoogleCloudDialogflowV2IntentMessageSelectItemInfo++;
if (buildCounterGoogleCloudDialogflowV2IntentMessageSelectItemInfo < 3) {
unittest.expect(o.key, unittest.equals('foo'));
- checkUnnamed3981(o.synonyms);
+ checkUnnamed3986(o.synonyms);
}
buildCounterGoogleCloudDialogflowV2IntentMessageSelectItemInfo--;
}
@@ -2753,7 +2786,7 @@
buildCounterGoogleCloudDialogflowV2IntentMessageSimpleResponse--;
}
-buildUnnamed3982() {
+buildUnnamed3987() {
var o =
new core.List<api.GoogleCloudDialogflowV2IntentMessageSimpleResponse>();
o.add(buildGoogleCloudDialogflowV2IntentMessageSimpleResponse());
@@ -2761,7 +2794,7 @@
return o;
}
-checkUnnamed3982(
+checkUnnamed3987(
core.List<api.GoogleCloudDialogflowV2IntentMessageSimpleResponse> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudDialogflowV2IntentMessageSimpleResponse(o[0]);
@@ -2773,7 +2806,7 @@
var o = new api.GoogleCloudDialogflowV2IntentMessageSimpleResponses();
buildCounterGoogleCloudDialogflowV2IntentMessageSimpleResponses++;
if (buildCounterGoogleCloudDialogflowV2IntentMessageSimpleResponses < 3) {
- o.simpleResponses = buildUnnamed3982();
+ o.simpleResponses = buildUnnamed3987();
}
buildCounterGoogleCloudDialogflowV2IntentMessageSimpleResponses--;
return o;
@@ -2783,7 +2816,7 @@
api.GoogleCloudDialogflowV2IntentMessageSimpleResponses o) {
buildCounterGoogleCloudDialogflowV2IntentMessageSimpleResponses++;
if (buildCounterGoogleCloudDialogflowV2IntentMessageSimpleResponses < 3) {
- checkUnnamed3982(o.simpleResponses);
+ checkUnnamed3987(o.simpleResponses);
}
buildCounterGoogleCloudDialogflowV2IntentMessageSimpleResponses--;
}
@@ -2808,14 +2841,14 @@
buildCounterGoogleCloudDialogflowV2IntentMessageSuggestion--;
}
-buildUnnamed3983() {
+buildUnnamed3988() {
var o = new core.List<api.GoogleCloudDialogflowV2IntentMessageSuggestion>();
o.add(buildGoogleCloudDialogflowV2IntentMessageSuggestion());
o.add(buildGoogleCloudDialogflowV2IntentMessageSuggestion());
return o;
}
-checkUnnamed3983(
+checkUnnamed3988(
core.List<api.GoogleCloudDialogflowV2IntentMessageSuggestion> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudDialogflowV2IntentMessageSuggestion(o[0]);
@@ -2827,7 +2860,7 @@
var o = new api.GoogleCloudDialogflowV2IntentMessageSuggestions();
buildCounterGoogleCloudDialogflowV2IntentMessageSuggestions++;
if (buildCounterGoogleCloudDialogflowV2IntentMessageSuggestions < 3) {
- o.suggestions = buildUnnamed3983();
+ o.suggestions = buildUnnamed3988();
}
buildCounterGoogleCloudDialogflowV2IntentMessageSuggestions--;
return o;
@@ -2837,12 +2870,12 @@
api.GoogleCloudDialogflowV2IntentMessageSuggestions o) {
buildCounterGoogleCloudDialogflowV2IntentMessageSuggestions++;
if (buildCounterGoogleCloudDialogflowV2IntentMessageSuggestions < 3) {
- checkUnnamed3983(o.suggestions);
+ checkUnnamed3988(o.suggestions);
}
buildCounterGoogleCloudDialogflowV2IntentMessageSuggestions--;
}
-buildUnnamed3984() {
+buildUnnamed3989() {
var o =
new core.List<api.GoogleCloudDialogflowV2IntentMessageBasicCardButton>();
o.add(buildGoogleCloudDialogflowV2IntentMessageBasicCardButton());
@@ -2850,14 +2883,14 @@
return o;
}
-checkUnnamed3984(
+checkUnnamed3989(
core.List<api.GoogleCloudDialogflowV2IntentMessageBasicCardButton> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudDialogflowV2IntentMessageBasicCardButton(o[0]);
checkGoogleCloudDialogflowV2IntentMessageBasicCardButton(o[1]);
}
-buildUnnamed3985() {
+buildUnnamed3990() {
var o =
new core.List<api.GoogleCloudDialogflowV2IntentMessageColumnProperties>();
o.add(buildGoogleCloudDialogflowV2IntentMessageColumnProperties());
@@ -2865,21 +2898,21 @@
return o;
}
-checkUnnamed3985(
+checkUnnamed3990(
core.List<api.GoogleCloudDialogflowV2IntentMessageColumnProperties> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudDialogflowV2IntentMessageColumnProperties(o[0]);
checkGoogleCloudDialogflowV2IntentMessageColumnProperties(o[1]);
}
-buildUnnamed3986() {
+buildUnnamed3991() {
var o = new core.List<api.GoogleCloudDialogflowV2IntentMessageTableCardRow>();
o.add(buildGoogleCloudDialogflowV2IntentMessageTableCardRow());
o.add(buildGoogleCloudDialogflowV2IntentMessageTableCardRow());
return o;
}
-checkUnnamed3986(
+checkUnnamed3991(
core.List<api.GoogleCloudDialogflowV2IntentMessageTableCardRow> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudDialogflowV2IntentMessageTableCardRow(o[0]);
@@ -2891,10 +2924,10 @@
var o = new api.GoogleCloudDialogflowV2IntentMessageTableCard();
buildCounterGoogleCloudDialogflowV2IntentMessageTableCard++;
if (buildCounterGoogleCloudDialogflowV2IntentMessageTableCard < 3) {
- o.buttons = buildUnnamed3984();
- o.columnProperties = buildUnnamed3985();
+ o.buttons = buildUnnamed3989();
+ o.columnProperties = buildUnnamed3990();
o.image = buildGoogleCloudDialogflowV2IntentMessageImage();
- o.rows = buildUnnamed3986();
+ o.rows = buildUnnamed3991();
o.subtitle = "foo";
o.title = "foo";
}
@@ -2906,10 +2939,10 @@
api.GoogleCloudDialogflowV2IntentMessageTableCard o) {
buildCounterGoogleCloudDialogflowV2IntentMessageTableCard++;
if (buildCounterGoogleCloudDialogflowV2IntentMessageTableCard < 3) {
- checkUnnamed3984(o.buttons);
- checkUnnamed3985(o.columnProperties);
+ checkUnnamed3989(o.buttons);
+ checkUnnamed3990(o.columnProperties);
checkGoogleCloudDialogflowV2IntentMessageImage(o.image);
- checkUnnamed3986(o.rows);
+ checkUnnamed3991(o.rows);
unittest.expect(o.subtitle, unittest.equals('foo'));
unittest.expect(o.title, unittest.equals('foo'));
}
@@ -2936,7 +2969,7 @@
buildCounterGoogleCloudDialogflowV2IntentMessageTableCardCell--;
}
-buildUnnamed3987() {
+buildUnnamed3992() {
var o =
new core.List<api.GoogleCloudDialogflowV2IntentMessageTableCardCell>();
o.add(buildGoogleCloudDialogflowV2IntentMessageTableCardCell());
@@ -2944,7 +2977,7 @@
return o;
}
-checkUnnamed3987(
+checkUnnamed3992(
core.List<api.GoogleCloudDialogflowV2IntentMessageTableCardCell> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudDialogflowV2IntentMessageTableCardCell(o[0]);
@@ -2956,7 +2989,7 @@
var o = new api.GoogleCloudDialogflowV2IntentMessageTableCardRow();
buildCounterGoogleCloudDialogflowV2IntentMessageTableCardRow++;
if (buildCounterGoogleCloudDialogflowV2IntentMessageTableCardRow < 3) {
- o.cells = buildUnnamed3987();
+ o.cells = buildUnnamed3992();
o.dividerAfter = true;
}
buildCounterGoogleCloudDialogflowV2IntentMessageTableCardRow--;
@@ -2967,20 +3000,20 @@
api.GoogleCloudDialogflowV2IntentMessageTableCardRow o) {
buildCounterGoogleCloudDialogflowV2IntentMessageTableCardRow++;
if (buildCounterGoogleCloudDialogflowV2IntentMessageTableCardRow < 3) {
- checkUnnamed3987(o.cells);
+ checkUnnamed3992(o.cells);
unittest.expect(o.dividerAfter, unittest.isTrue);
}
buildCounterGoogleCloudDialogflowV2IntentMessageTableCardRow--;
}
-buildUnnamed3988() {
+buildUnnamed3993() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3988(core.List<core.String> o) {
+checkUnnamed3993(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2991,7 +3024,7 @@
var o = new api.GoogleCloudDialogflowV2IntentMessageText();
buildCounterGoogleCloudDialogflowV2IntentMessageText++;
if (buildCounterGoogleCloudDialogflowV2IntentMessageText < 3) {
- o.text = buildUnnamed3988();
+ o.text = buildUnnamed3993();
}
buildCounterGoogleCloudDialogflowV2IntentMessageText--;
return o;
@@ -3001,19 +3034,19 @@
api.GoogleCloudDialogflowV2IntentMessageText o) {
buildCounterGoogleCloudDialogflowV2IntentMessageText++;
if (buildCounterGoogleCloudDialogflowV2IntentMessageText < 3) {
- checkUnnamed3988(o.text);
+ checkUnnamed3993(o.text);
}
buildCounterGoogleCloudDialogflowV2IntentMessageText--;
}
-buildUnnamed3989() {
+buildUnnamed3994() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3989(core.List<core.String> o) {
+checkUnnamed3994(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3030,7 +3063,7 @@
o.isList = true;
o.mandatory = true;
o.name = "foo";
- o.prompts = buildUnnamed3989();
+ o.prompts = buildUnnamed3994();
o.value = "foo";
}
buildCounterGoogleCloudDialogflowV2IntentParameter--;
@@ -3047,20 +3080,20 @@
unittest.expect(o.isList, unittest.isTrue);
unittest.expect(o.mandatory, unittest.isTrue);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed3989(o.prompts);
+ checkUnnamed3994(o.prompts);
unittest.expect(o.value, unittest.equals('foo'));
}
buildCounterGoogleCloudDialogflowV2IntentParameter--;
}
-buildUnnamed3990() {
+buildUnnamed3995() {
var o = new core.List<api.GoogleCloudDialogflowV2IntentTrainingPhrasePart>();
o.add(buildGoogleCloudDialogflowV2IntentTrainingPhrasePart());
o.add(buildGoogleCloudDialogflowV2IntentTrainingPhrasePart());
return o;
}
-checkUnnamed3990(
+checkUnnamed3995(
core.List<api.GoogleCloudDialogflowV2IntentTrainingPhrasePart> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudDialogflowV2IntentTrainingPhrasePart(o[0]);
@@ -3073,7 +3106,7 @@
buildCounterGoogleCloudDialogflowV2IntentTrainingPhrase++;
if (buildCounterGoogleCloudDialogflowV2IntentTrainingPhrase < 3) {
o.name = "foo";
- o.parts = buildUnnamed3990();
+ o.parts = buildUnnamed3995();
o.timesAddedCount = 42;
o.type = "foo";
}
@@ -3086,7 +3119,7 @@
buildCounterGoogleCloudDialogflowV2IntentTrainingPhrase++;
if (buildCounterGoogleCloudDialogflowV2IntentTrainingPhrase < 3) {
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed3990(o.parts);
+ checkUnnamed3995(o.parts);
unittest.expect(o.timesAddedCount, unittest.equals(42));
unittest.expect(o.type, unittest.equals('foo'));
}
@@ -3119,14 +3152,14 @@
buildCounterGoogleCloudDialogflowV2IntentTrainingPhrasePart--;
}
-buildUnnamed3991() {
+buildUnnamed3996() {
var o = new core.List<api.GoogleCloudDialogflowV2Context>();
o.add(buildGoogleCloudDialogflowV2Context());
o.add(buildGoogleCloudDialogflowV2Context());
return o;
}
-checkUnnamed3991(core.List<api.GoogleCloudDialogflowV2Context> o) {
+checkUnnamed3996(core.List<api.GoogleCloudDialogflowV2Context> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudDialogflowV2Context(o[0]);
checkGoogleCloudDialogflowV2Context(o[1]);
@@ -3137,7 +3170,7 @@
var o = new api.GoogleCloudDialogflowV2ListContextsResponse();
buildCounterGoogleCloudDialogflowV2ListContextsResponse++;
if (buildCounterGoogleCloudDialogflowV2ListContextsResponse < 3) {
- o.contexts = buildUnnamed3991();
+ o.contexts = buildUnnamed3996();
o.nextPageToken = "foo";
}
buildCounterGoogleCloudDialogflowV2ListContextsResponse--;
@@ -3148,20 +3181,20 @@
api.GoogleCloudDialogflowV2ListContextsResponse o) {
buildCounterGoogleCloudDialogflowV2ListContextsResponse++;
if (buildCounterGoogleCloudDialogflowV2ListContextsResponse < 3) {
- checkUnnamed3991(o.contexts);
+ checkUnnamed3996(o.contexts);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterGoogleCloudDialogflowV2ListContextsResponse--;
}
-buildUnnamed3992() {
+buildUnnamed3997() {
var o = new core.List<api.GoogleCloudDialogflowV2EntityType>();
o.add(buildGoogleCloudDialogflowV2EntityType());
o.add(buildGoogleCloudDialogflowV2EntityType());
return o;
}
-checkUnnamed3992(core.List<api.GoogleCloudDialogflowV2EntityType> o) {
+checkUnnamed3997(core.List<api.GoogleCloudDialogflowV2EntityType> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudDialogflowV2EntityType(o[0]);
checkGoogleCloudDialogflowV2EntityType(o[1]);
@@ -3172,7 +3205,7 @@
var o = new api.GoogleCloudDialogflowV2ListEntityTypesResponse();
buildCounterGoogleCloudDialogflowV2ListEntityTypesResponse++;
if (buildCounterGoogleCloudDialogflowV2ListEntityTypesResponse < 3) {
- o.entityTypes = buildUnnamed3992();
+ o.entityTypes = buildUnnamed3997();
o.nextPageToken = "foo";
}
buildCounterGoogleCloudDialogflowV2ListEntityTypesResponse--;
@@ -3183,20 +3216,20 @@
api.GoogleCloudDialogflowV2ListEntityTypesResponse o) {
buildCounterGoogleCloudDialogflowV2ListEntityTypesResponse++;
if (buildCounterGoogleCloudDialogflowV2ListEntityTypesResponse < 3) {
- checkUnnamed3992(o.entityTypes);
+ checkUnnamed3997(o.entityTypes);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterGoogleCloudDialogflowV2ListEntityTypesResponse--;
}
-buildUnnamed3993() {
+buildUnnamed3998() {
var o = new core.List<api.GoogleCloudDialogflowV2Environment>();
o.add(buildGoogleCloudDialogflowV2Environment());
o.add(buildGoogleCloudDialogflowV2Environment());
return o;
}
-checkUnnamed3993(core.List<api.GoogleCloudDialogflowV2Environment> o) {
+checkUnnamed3998(core.List<api.GoogleCloudDialogflowV2Environment> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudDialogflowV2Environment(o[0]);
checkGoogleCloudDialogflowV2Environment(o[1]);
@@ -3207,7 +3240,7 @@
var o = new api.GoogleCloudDialogflowV2ListEnvironmentsResponse();
buildCounterGoogleCloudDialogflowV2ListEnvironmentsResponse++;
if (buildCounterGoogleCloudDialogflowV2ListEnvironmentsResponse < 3) {
- o.environments = buildUnnamed3993();
+ o.environments = buildUnnamed3998();
o.nextPageToken = "foo";
}
buildCounterGoogleCloudDialogflowV2ListEnvironmentsResponse--;
@@ -3218,20 +3251,20 @@
api.GoogleCloudDialogflowV2ListEnvironmentsResponse o) {
buildCounterGoogleCloudDialogflowV2ListEnvironmentsResponse++;
if (buildCounterGoogleCloudDialogflowV2ListEnvironmentsResponse < 3) {
- checkUnnamed3993(o.environments);
+ checkUnnamed3998(o.environments);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterGoogleCloudDialogflowV2ListEnvironmentsResponse--;
}
-buildUnnamed3994() {
+buildUnnamed3999() {
var o = new core.List<api.GoogleCloudDialogflowV2Intent>();
o.add(buildGoogleCloudDialogflowV2Intent());
o.add(buildGoogleCloudDialogflowV2Intent());
return o;
}
-checkUnnamed3994(core.List<api.GoogleCloudDialogflowV2Intent> o) {
+checkUnnamed3999(core.List<api.GoogleCloudDialogflowV2Intent> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudDialogflowV2Intent(o[0]);
checkGoogleCloudDialogflowV2Intent(o[1]);
@@ -3242,7 +3275,7 @@
var o = new api.GoogleCloudDialogflowV2ListIntentsResponse();
buildCounterGoogleCloudDialogflowV2ListIntentsResponse++;
if (buildCounterGoogleCloudDialogflowV2ListIntentsResponse < 3) {
- o.intents = buildUnnamed3994();
+ o.intents = buildUnnamed3999();
o.nextPageToken = "foo";
}
buildCounterGoogleCloudDialogflowV2ListIntentsResponse--;
@@ -3253,20 +3286,20 @@
api.GoogleCloudDialogflowV2ListIntentsResponse o) {
buildCounterGoogleCloudDialogflowV2ListIntentsResponse++;
if (buildCounterGoogleCloudDialogflowV2ListIntentsResponse < 3) {
- checkUnnamed3994(o.intents);
+ checkUnnamed3999(o.intents);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterGoogleCloudDialogflowV2ListIntentsResponse--;
}
-buildUnnamed3995() {
+buildUnnamed4000() {
var o = new core.List<api.GoogleCloudDialogflowV2SessionEntityType>();
o.add(buildGoogleCloudDialogflowV2SessionEntityType());
o.add(buildGoogleCloudDialogflowV2SessionEntityType());
return o;
}
-checkUnnamed3995(core.List<api.GoogleCloudDialogflowV2SessionEntityType> o) {
+checkUnnamed4000(core.List<api.GoogleCloudDialogflowV2SessionEntityType> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudDialogflowV2SessionEntityType(o[0]);
checkGoogleCloudDialogflowV2SessionEntityType(o[1]);
@@ -3278,7 +3311,7 @@
buildCounterGoogleCloudDialogflowV2ListSessionEntityTypesResponse++;
if (buildCounterGoogleCloudDialogflowV2ListSessionEntityTypesResponse < 3) {
o.nextPageToken = "foo";
- o.sessionEntityTypes = buildUnnamed3995();
+ o.sessionEntityTypes = buildUnnamed4000();
}
buildCounterGoogleCloudDialogflowV2ListSessionEntityTypesResponse--;
return o;
@@ -3289,7 +3322,7 @@
buildCounterGoogleCloudDialogflowV2ListSessionEntityTypesResponse++;
if (buildCounterGoogleCloudDialogflowV2ListSessionEntityTypesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3995(o.sessionEntityTypes);
+ checkUnnamed4000(o.sessionEntityTypes);
}
buildCounterGoogleCloudDialogflowV2ListSessionEntityTypesResponse--;
}
@@ -3325,14 +3358,14 @@
buildCounterGoogleCloudDialogflowV2Message--;
}
-buildUnnamed3996() {
+buildUnnamed4001() {
var o = new core.List<api.GoogleCloudDialogflowV2AnnotatedMessagePart>();
o.add(buildGoogleCloudDialogflowV2AnnotatedMessagePart());
o.add(buildGoogleCloudDialogflowV2AnnotatedMessagePart());
return o;
}
-checkUnnamed3996(core.List<api.GoogleCloudDialogflowV2AnnotatedMessagePart> o) {
+checkUnnamed4001(core.List<api.GoogleCloudDialogflowV2AnnotatedMessagePart> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudDialogflowV2AnnotatedMessagePart(o[0]);
checkGoogleCloudDialogflowV2AnnotatedMessagePart(o[1]);
@@ -3344,7 +3377,7 @@
buildCounterGoogleCloudDialogflowV2MessageAnnotation++;
if (buildCounterGoogleCloudDialogflowV2MessageAnnotation < 3) {
o.containEntities = true;
- o.parts = buildUnnamed3996();
+ o.parts = buildUnnamed4001();
}
buildCounterGoogleCloudDialogflowV2MessageAnnotation--;
return o;
@@ -3355,12 +3388,12 @@
buildCounterGoogleCloudDialogflowV2MessageAnnotation++;
if (buildCounterGoogleCloudDialogflowV2MessageAnnotation < 3) {
unittest.expect(o.containEntities, unittest.isTrue);
- checkUnnamed3996(o.parts);
+ checkUnnamed4001(o.parts);
}
buildCounterGoogleCloudDialogflowV2MessageAnnotation--;
}
-buildUnnamed3997() {
+buildUnnamed4002() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -3375,7 +3408,7 @@
return o;
}
-checkUnnamed3997(core.Map<core.String, core.Object> o) {
+checkUnnamed4002(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted22 = (o["x"]) as core.Map;
unittest.expect(casted22, unittest.hasLength(3));
@@ -3394,7 +3427,7 @@
var o = new api.GoogleCloudDialogflowV2OriginalDetectIntentRequest();
buildCounterGoogleCloudDialogflowV2OriginalDetectIntentRequest++;
if (buildCounterGoogleCloudDialogflowV2OriginalDetectIntentRequest < 3) {
- o.payload = buildUnnamed3997();
+ o.payload = buildUnnamed4002();
o.source = "foo";
o.version = "foo";
}
@@ -3406,7 +3439,7 @@
api.GoogleCloudDialogflowV2OriginalDetectIntentRequest o) {
buildCounterGoogleCloudDialogflowV2OriginalDetectIntentRequest++;
if (buildCounterGoogleCloudDialogflowV2OriginalDetectIntentRequest < 3) {
- checkUnnamed3997(o.payload);
+ checkUnnamed4002(o.payload);
unittest.expect(o.source, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals('foo'));
}
@@ -3463,137 +3496,6 @@
buildCounterGoogleCloudDialogflowV2QueryInput--;
}
-buildUnnamed3998() {
- var o = new core.List<api.GoogleCloudDialogflowV2Context>();
- o.add(buildGoogleCloudDialogflowV2Context());
- o.add(buildGoogleCloudDialogflowV2Context());
- return o;
-}
-
-checkUnnamed3998(core.List<api.GoogleCloudDialogflowV2Context> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkGoogleCloudDialogflowV2Context(o[0]);
- checkGoogleCloudDialogflowV2Context(o[1]);
-}
-
-buildUnnamed3999() {
- var o = new core.Map<core.String, core.Object>();
- o["x"] = {
- 'list': [1, 2, 3],
- 'bool': true,
- 'string': 'foo'
- };
- o["y"] = {
- 'list': [1, 2, 3],
- 'bool': true,
- 'string': 'foo'
- };
- return o;
-}
-
-checkUnnamed3999(core.Map<core.String, core.Object> o) {
- unittest.expect(o, unittest.hasLength(2));
- var casted24 = (o["x"]) as core.Map;
- unittest.expect(casted24, unittest.hasLength(3));
- unittest.expect(casted24["list"], unittest.equals([1, 2, 3]));
- unittest.expect(casted24["bool"], unittest.equals(true));
- unittest.expect(casted24["string"], unittest.equals('foo'));
- var casted25 = (o["y"]) as core.Map;
- unittest.expect(casted25, unittest.hasLength(3));
- unittest.expect(casted25["list"], unittest.equals([1, 2, 3]));
- unittest.expect(casted25["bool"], unittest.equals(true));
- unittest.expect(casted25["string"], unittest.equals('foo'));
-}
-
-buildUnnamed4000() {
- var o = new core.List<api.GoogleCloudDialogflowV2SessionEntityType>();
- o.add(buildGoogleCloudDialogflowV2SessionEntityType());
- o.add(buildGoogleCloudDialogflowV2SessionEntityType());
- return o;
-}
-
-checkUnnamed4000(core.List<api.GoogleCloudDialogflowV2SessionEntityType> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkGoogleCloudDialogflowV2SessionEntityType(o[0]);
- checkGoogleCloudDialogflowV2SessionEntityType(o[1]);
-}
-
-core.int buildCounterGoogleCloudDialogflowV2QueryParameters = 0;
-buildGoogleCloudDialogflowV2QueryParameters() {
- var o = new api.GoogleCloudDialogflowV2QueryParameters();
- buildCounterGoogleCloudDialogflowV2QueryParameters++;
- if (buildCounterGoogleCloudDialogflowV2QueryParameters < 3) {
- o.contexts = buildUnnamed3998();
- o.geoLocation = buildGoogleTypeLatLng();
- o.payload = buildUnnamed3999();
- o.resetContexts = true;
- o.sentimentAnalysisRequestConfig =
- buildGoogleCloudDialogflowV2SentimentAnalysisRequestConfig();
- o.sessionEntityTypes = buildUnnamed4000();
- o.timeZone = "foo";
- }
- buildCounterGoogleCloudDialogflowV2QueryParameters--;
- return o;
-}
-
-checkGoogleCloudDialogflowV2QueryParameters(
- api.GoogleCloudDialogflowV2QueryParameters o) {
- buildCounterGoogleCloudDialogflowV2QueryParameters++;
- if (buildCounterGoogleCloudDialogflowV2QueryParameters < 3) {
- checkUnnamed3998(o.contexts);
- checkGoogleTypeLatLng(o.geoLocation);
- checkUnnamed3999(o.payload);
- unittest.expect(o.resetContexts, unittest.isTrue);
- checkGoogleCloudDialogflowV2SentimentAnalysisRequestConfig(
- o.sentimentAnalysisRequestConfig);
- checkUnnamed4000(o.sessionEntityTypes);
- unittest.expect(o.timeZone, unittest.equals('foo'));
- }
- buildCounterGoogleCloudDialogflowV2QueryParameters--;
-}
-
-buildUnnamed4001() {
- var o = new core.Map<core.String, core.Object>();
- o["x"] = {
- 'list': [1, 2, 3],
- 'bool': true,
- 'string': 'foo'
- };
- o["y"] = {
- 'list': [1, 2, 3],
- 'bool': true,
- 'string': 'foo'
- };
- return o;
-}
-
-checkUnnamed4001(core.Map<core.String, core.Object> o) {
- unittest.expect(o, unittest.hasLength(2));
- var casted26 = (o["x"]) as core.Map;
- unittest.expect(casted26, unittest.hasLength(3));
- unittest.expect(casted26["list"], unittest.equals([1, 2, 3]));
- unittest.expect(casted26["bool"], unittest.equals(true));
- unittest.expect(casted26["string"], unittest.equals('foo'));
- var casted27 = (o["y"]) as core.Map;
- unittest.expect(casted27, unittest.hasLength(3));
- unittest.expect(casted27["list"], unittest.equals([1, 2, 3]));
- unittest.expect(casted27["bool"], unittest.equals(true));
- unittest.expect(casted27["string"], unittest.equals('foo'));
-}
-
-buildUnnamed4002() {
- var o = new core.List<api.GoogleCloudDialogflowV2IntentMessage>();
- o.add(buildGoogleCloudDialogflowV2IntentMessage());
- o.add(buildGoogleCloudDialogflowV2IntentMessage());
- return o;
-}
-
-checkUnnamed4002(core.List<api.GoogleCloudDialogflowV2IntentMessage> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkGoogleCloudDialogflowV2IntentMessage(o[0]);
- checkGoogleCloudDialogflowV2IntentMessage(o[1]);
-}
-
buildUnnamed4003() {
var o = new core.List<api.GoogleCloudDialogflowV2Context>();
o.add(buildGoogleCloudDialogflowV2Context());
@@ -3624,19 +3526,66 @@
checkUnnamed4004(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
- var casted28 = (o["x"]) as core.Map;
- unittest.expect(casted28, unittest.hasLength(3));
- unittest.expect(casted28["list"], unittest.equals([1, 2, 3]));
- unittest.expect(casted28["bool"], unittest.equals(true));
- unittest.expect(casted28["string"], unittest.equals('foo'));
- var casted29 = (o["y"]) as core.Map;
- unittest.expect(casted29, unittest.hasLength(3));
- unittest.expect(casted29["list"], unittest.equals([1, 2, 3]));
- unittest.expect(casted29["bool"], unittest.equals(true));
- unittest.expect(casted29["string"], unittest.equals('foo'));
+ var casted24 = (o["x"]) as core.Map;
+ unittest.expect(casted24, unittest.hasLength(3));
+ unittest.expect(casted24["list"], unittest.equals([1, 2, 3]));
+ unittest.expect(casted24["bool"], unittest.equals(true));
+ unittest.expect(casted24["string"], unittest.equals('foo'));
+ var casted25 = (o["y"]) as core.Map;
+ unittest.expect(casted25, unittest.hasLength(3));
+ unittest.expect(casted25["list"], unittest.equals([1, 2, 3]));
+ unittest.expect(casted25["bool"], unittest.equals(true));
+ unittest.expect(casted25["string"], unittest.equals('foo'));
}
buildUnnamed4005() {
+ var o = new core.List<api.GoogleCloudDialogflowV2SessionEntityType>();
+ o.add(buildGoogleCloudDialogflowV2SessionEntityType());
+ o.add(buildGoogleCloudDialogflowV2SessionEntityType());
+ return o;
+}
+
+checkUnnamed4005(core.List<api.GoogleCloudDialogflowV2SessionEntityType> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkGoogleCloudDialogflowV2SessionEntityType(o[0]);
+ checkGoogleCloudDialogflowV2SessionEntityType(o[1]);
+}
+
+core.int buildCounterGoogleCloudDialogflowV2QueryParameters = 0;
+buildGoogleCloudDialogflowV2QueryParameters() {
+ var o = new api.GoogleCloudDialogflowV2QueryParameters();
+ buildCounterGoogleCloudDialogflowV2QueryParameters++;
+ if (buildCounterGoogleCloudDialogflowV2QueryParameters < 3) {
+ o.contexts = buildUnnamed4003();
+ o.geoLocation = buildGoogleTypeLatLng();
+ o.payload = buildUnnamed4004();
+ o.resetContexts = true;
+ o.sentimentAnalysisRequestConfig =
+ buildGoogleCloudDialogflowV2SentimentAnalysisRequestConfig();
+ o.sessionEntityTypes = buildUnnamed4005();
+ o.timeZone = "foo";
+ }
+ buildCounterGoogleCloudDialogflowV2QueryParameters--;
+ return o;
+}
+
+checkGoogleCloudDialogflowV2QueryParameters(
+ api.GoogleCloudDialogflowV2QueryParameters o) {
+ buildCounterGoogleCloudDialogflowV2QueryParameters++;
+ if (buildCounterGoogleCloudDialogflowV2QueryParameters < 3) {
+ checkUnnamed4003(o.contexts);
+ checkGoogleTypeLatLng(o.geoLocation);
+ checkUnnamed4004(o.payload);
+ unittest.expect(o.resetContexts, unittest.isTrue);
+ checkGoogleCloudDialogflowV2SentimentAnalysisRequestConfig(
+ o.sentimentAnalysisRequestConfig);
+ checkUnnamed4005(o.sessionEntityTypes);
+ unittest.expect(o.timeZone, unittest.equals('foo'));
+ }
+ buildCounterGoogleCloudDialogflowV2QueryParameters--;
+}
+
+buildUnnamed4006() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -3651,7 +3600,91 @@
return o;
}
-checkUnnamed4005(core.Map<core.String, core.Object> o) {
+checkUnnamed4006(core.Map<core.String, core.Object> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ var casted26 = (o["x"]) as core.Map;
+ unittest.expect(casted26, unittest.hasLength(3));
+ unittest.expect(casted26["list"], unittest.equals([1, 2, 3]));
+ unittest.expect(casted26["bool"], unittest.equals(true));
+ unittest.expect(casted26["string"], unittest.equals('foo'));
+ var casted27 = (o["y"]) as core.Map;
+ unittest.expect(casted27, unittest.hasLength(3));
+ unittest.expect(casted27["list"], unittest.equals([1, 2, 3]));
+ unittest.expect(casted27["bool"], unittest.equals(true));
+ unittest.expect(casted27["string"], unittest.equals('foo'));
+}
+
+buildUnnamed4007() {
+ var o = new core.List<api.GoogleCloudDialogflowV2IntentMessage>();
+ o.add(buildGoogleCloudDialogflowV2IntentMessage());
+ o.add(buildGoogleCloudDialogflowV2IntentMessage());
+ return o;
+}
+
+checkUnnamed4007(core.List<api.GoogleCloudDialogflowV2IntentMessage> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkGoogleCloudDialogflowV2IntentMessage(o[0]);
+ checkGoogleCloudDialogflowV2IntentMessage(o[1]);
+}
+
+buildUnnamed4008() {
+ var o = new core.List<api.GoogleCloudDialogflowV2Context>();
+ o.add(buildGoogleCloudDialogflowV2Context());
+ o.add(buildGoogleCloudDialogflowV2Context());
+ return o;
+}
+
+checkUnnamed4008(core.List<api.GoogleCloudDialogflowV2Context> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkGoogleCloudDialogflowV2Context(o[0]);
+ checkGoogleCloudDialogflowV2Context(o[1]);
+}
+
+buildUnnamed4009() {
+ var o = new core.Map<core.String, core.Object>();
+ o["x"] = {
+ 'list': [1, 2, 3],
+ 'bool': true,
+ 'string': 'foo'
+ };
+ o["y"] = {
+ 'list': [1, 2, 3],
+ 'bool': true,
+ 'string': 'foo'
+ };
+ return o;
+}
+
+checkUnnamed4009(core.Map<core.String, core.Object> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ var casted28 = (o["x"]) as core.Map;
+ unittest.expect(casted28, unittest.hasLength(3));
+ unittest.expect(casted28["list"], unittest.equals([1, 2, 3]));
+ unittest.expect(casted28["bool"], unittest.equals(true));
+ unittest.expect(casted28["string"], unittest.equals('foo'));
+ var casted29 = (o["y"]) as core.Map;
+ unittest.expect(casted29, unittest.hasLength(3));
+ unittest.expect(casted29["list"], unittest.equals([1, 2, 3]));
+ unittest.expect(casted29["bool"], unittest.equals(true));
+ unittest.expect(casted29["string"], unittest.equals('foo'));
+}
+
+buildUnnamed4010() {
+ var o = new core.Map<core.String, core.Object>();
+ o["x"] = {
+ 'list': [1, 2, 3],
+ 'bool': true,
+ 'string': 'foo'
+ };
+ o["y"] = {
+ 'list': [1, 2, 3],
+ 'bool': true,
+ 'string': 'foo'
+ };
+ return o;
+}
+
+checkUnnamed4010(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted30 = (o["x"]) as core.Map;
unittest.expect(casted30, unittest.hasLength(3));
@@ -3672,19 +3705,19 @@
if (buildCounterGoogleCloudDialogflowV2QueryResult < 3) {
o.action = "foo";
o.allRequiredParamsPresent = true;
- o.diagnosticInfo = buildUnnamed4001();
- o.fulfillmentMessages = buildUnnamed4002();
+ o.diagnosticInfo = buildUnnamed4006();
+ o.fulfillmentMessages = buildUnnamed4007();
o.fulfillmentText = "foo";
o.intent = buildGoogleCloudDialogflowV2Intent();
o.intentDetectionConfidence = 42.0;
o.languageCode = "foo";
- o.outputContexts = buildUnnamed4003();
- o.parameters = buildUnnamed4004();
+ o.outputContexts = buildUnnamed4008();
+ o.parameters = buildUnnamed4009();
o.queryText = "foo";
o.sentimentAnalysisResult =
buildGoogleCloudDialogflowV2SentimentAnalysisResult();
o.speechRecognitionConfidence = 42.0;
- o.webhookPayload = buildUnnamed4005();
+ o.webhookPayload = buildUnnamed4010();
o.webhookSource = "foo";
}
buildCounterGoogleCloudDialogflowV2QueryResult--;
@@ -3697,19 +3730,19 @@
if (buildCounterGoogleCloudDialogflowV2QueryResult < 3) {
unittest.expect(o.action, unittest.equals('foo'));
unittest.expect(o.allRequiredParamsPresent, unittest.isTrue);
- checkUnnamed4001(o.diagnosticInfo);
- checkUnnamed4002(o.fulfillmentMessages);
+ checkUnnamed4006(o.diagnosticInfo);
+ checkUnnamed4007(o.fulfillmentMessages);
unittest.expect(o.fulfillmentText, unittest.equals('foo'));
checkGoogleCloudDialogflowV2Intent(o.intent);
unittest.expect(o.intentDetectionConfidence, unittest.equals(42.0));
unittest.expect(o.languageCode, unittest.equals('foo'));
- checkUnnamed4003(o.outputContexts);
- checkUnnamed4004(o.parameters);
+ checkUnnamed4008(o.outputContexts);
+ checkUnnamed4009(o.parameters);
unittest.expect(o.queryText, unittest.equals('foo'));
checkGoogleCloudDialogflowV2SentimentAnalysisResult(
o.sentimentAnalysisResult);
unittest.expect(o.speechRecognitionConfidence, unittest.equals(42.0));
- checkUnnamed4005(o.webhookPayload);
+ checkUnnamed4010(o.webhookPayload);
unittest.expect(o.webhookSource, unittest.equals('foo'));
}
buildCounterGoogleCloudDialogflowV2QueryResult--;
@@ -3737,14 +3770,14 @@
buildCounterGoogleCloudDialogflowV2RestoreAgentRequest--;
}
-buildUnnamed4006() {
+buildUnnamed4011() {
var o = new core.List<api.GoogleCloudDialogflowV2Agent>();
o.add(buildGoogleCloudDialogflowV2Agent());
o.add(buildGoogleCloudDialogflowV2Agent());
return o;
}
-checkUnnamed4006(core.List<api.GoogleCloudDialogflowV2Agent> o) {
+checkUnnamed4011(core.List<api.GoogleCloudDialogflowV2Agent> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudDialogflowV2Agent(o[0]);
checkGoogleCloudDialogflowV2Agent(o[1]);
@@ -3755,7 +3788,7 @@
var o = new api.GoogleCloudDialogflowV2SearchAgentsResponse();
buildCounterGoogleCloudDialogflowV2SearchAgentsResponse++;
if (buildCounterGoogleCloudDialogflowV2SearchAgentsResponse < 3) {
- o.agents = buildUnnamed4006();
+ o.agents = buildUnnamed4011();
o.nextPageToken = "foo";
}
buildCounterGoogleCloudDialogflowV2SearchAgentsResponse--;
@@ -3766,7 +3799,7 @@
api.GoogleCloudDialogflowV2SearchAgentsResponse o) {
buildCounterGoogleCloudDialogflowV2SearchAgentsResponse++;
if (buildCounterGoogleCloudDialogflowV2SearchAgentsResponse < 3) {
- checkUnnamed4006(o.agents);
+ checkUnnamed4011(o.agents);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterGoogleCloudDialogflowV2SearchAgentsResponse--;
@@ -3833,14 +3866,14 @@
buildCounterGoogleCloudDialogflowV2SentimentAnalysisResult--;
}
-buildUnnamed4007() {
+buildUnnamed4012() {
var o = new core.List<api.GoogleCloudDialogflowV2EntityTypeEntity>();
o.add(buildGoogleCloudDialogflowV2EntityTypeEntity());
o.add(buildGoogleCloudDialogflowV2EntityTypeEntity());
return o;
}
-checkUnnamed4007(core.List<api.GoogleCloudDialogflowV2EntityTypeEntity> o) {
+checkUnnamed4012(core.List<api.GoogleCloudDialogflowV2EntityTypeEntity> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudDialogflowV2EntityTypeEntity(o[0]);
checkGoogleCloudDialogflowV2EntityTypeEntity(o[1]);
@@ -3851,7 +3884,7 @@
var o = new api.GoogleCloudDialogflowV2SessionEntityType();
buildCounterGoogleCloudDialogflowV2SessionEntityType++;
if (buildCounterGoogleCloudDialogflowV2SessionEntityType < 3) {
- o.entities = buildUnnamed4007();
+ o.entities = buildUnnamed4012();
o.entityOverrideMode = "foo";
o.name = "foo";
}
@@ -3863,21 +3896,21 @@
api.GoogleCloudDialogflowV2SessionEntityType o) {
buildCounterGoogleCloudDialogflowV2SessionEntityType++;
if (buildCounterGoogleCloudDialogflowV2SessionEntityType < 3) {
- checkUnnamed4007(o.entities);
+ checkUnnamed4012(o.entities);
unittest.expect(o.entityOverrideMode, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
}
buildCounterGoogleCloudDialogflowV2SessionEntityType--;
}
-buildUnnamed4008() {
+buildUnnamed4013() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4008(core.List<core.String> o) {
+checkUnnamed4013(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3889,7 +3922,7 @@
buildCounterGoogleCloudDialogflowV2SpeechContext++;
if (buildCounterGoogleCloudDialogflowV2SpeechContext < 3) {
o.boost = 42.0;
- o.phrases = buildUnnamed4008();
+ o.phrases = buildUnnamed4013();
}
buildCounterGoogleCloudDialogflowV2SpeechContext--;
return o;
@@ -3900,19 +3933,19 @@
buildCounterGoogleCloudDialogflowV2SpeechContext++;
if (buildCounterGoogleCloudDialogflowV2SpeechContext < 3) {
unittest.expect(o.boost, unittest.equals(42.0));
- checkUnnamed4008(o.phrases);
+ checkUnnamed4013(o.phrases);
}
buildCounterGoogleCloudDialogflowV2SpeechContext--;
}
-buildUnnamed4009() {
+buildUnnamed4014() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4009(core.List<core.String> o) {
+checkUnnamed4014(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3923,7 +3956,7 @@
var o = new api.GoogleCloudDialogflowV2SynthesizeSpeechConfig();
buildCounterGoogleCloudDialogflowV2SynthesizeSpeechConfig++;
if (buildCounterGoogleCloudDialogflowV2SynthesizeSpeechConfig < 3) {
- o.effectsProfileId = buildUnnamed4009();
+ o.effectsProfileId = buildUnnamed4014();
o.pitch = 42.0;
o.speakingRate = 42.0;
o.voice = buildGoogleCloudDialogflowV2VoiceSelectionParams();
@@ -3937,7 +3970,7 @@
api.GoogleCloudDialogflowV2SynthesizeSpeechConfig o) {
buildCounterGoogleCloudDialogflowV2SynthesizeSpeechConfig++;
if (buildCounterGoogleCloudDialogflowV2SynthesizeSpeechConfig < 3) {
- checkUnnamed4009(o.effectsProfileId);
+ checkUnnamed4014(o.effectsProfileId);
unittest.expect(o.pitch, unittest.equals(42.0));
unittest.expect(o.speakingRate, unittest.equals(42.0));
checkGoogleCloudDialogflowV2VoiceSelectionParams(o.voice);
@@ -3983,14 +4016,14 @@
buildCounterGoogleCloudDialogflowV2TrainAgentRequest--;
}
-buildUnnamed4010() {
+buildUnnamed4015() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4010(core.List<core.String> o) {
+checkUnnamed4015(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -4001,7 +4034,7 @@
var o = new api.GoogleCloudDialogflowV2ValidationError();
buildCounterGoogleCloudDialogflowV2ValidationError++;
if (buildCounterGoogleCloudDialogflowV2ValidationError < 3) {
- o.entries = buildUnnamed4010();
+ o.entries = buildUnnamed4015();
o.errorMessage = "foo";
o.severity = "foo";
}
@@ -4013,21 +4046,21 @@
api.GoogleCloudDialogflowV2ValidationError o) {
buildCounterGoogleCloudDialogflowV2ValidationError++;
if (buildCounterGoogleCloudDialogflowV2ValidationError < 3) {
- checkUnnamed4010(o.entries);
+ checkUnnamed4015(o.entries);
unittest.expect(o.errorMessage, unittest.equals('foo'));
unittest.expect(o.severity, unittest.equals('foo'));
}
buildCounterGoogleCloudDialogflowV2ValidationError--;
}
-buildUnnamed4011() {
+buildUnnamed4016() {
var o = new core.List<api.GoogleCloudDialogflowV2ValidationError>();
o.add(buildGoogleCloudDialogflowV2ValidationError());
o.add(buildGoogleCloudDialogflowV2ValidationError());
return o;
}
-checkUnnamed4011(core.List<api.GoogleCloudDialogflowV2ValidationError> o) {
+checkUnnamed4016(core.List<api.GoogleCloudDialogflowV2ValidationError> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudDialogflowV2ValidationError(o[0]);
checkGoogleCloudDialogflowV2ValidationError(o[1]);
@@ -4038,7 +4071,7 @@
var o = new api.GoogleCloudDialogflowV2ValidationResult();
buildCounterGoogleCloudDialogflowV2ValidationResult++;
if (buildCounterGoogleCloudDialogflowV2ValidationResult < 3) {
- o.validationErrors = buildUnnamed4011();
+ o.validationErrors = buildUnnamed4016();
}
buildCounterGoogleCloudDialogflowV2ValidationResult--;
return o;
@@ -4048,7 +4081,7 @@
api.GoogleCloudDialogflowV2ValidationResult o) {
buildCounterGoogleCloudDialogflowV2ValidationResult++;
if (buildCounterGoogleCloudDialogflowV2ValidationResult < 3) {
- checkUnnamed4011(o.validationErrors);
+ checkUnnamed4016(o.validationErrors);
}
buildCounterGoogleCloudDialogflowV2ValidationResult--;
}
@@ -4103,33 +4136,33 @@
buildCounterGoogleCloudDialogflowV2WebhookRequest--;
}
-buildUnnamed4012() {
+buildUnnamed4017() {
var o = new core.List<api.GoogleCloudDialogflowV2IntentMessage>();
o.add(buildGoogleCloudDialogflowV2IntentMessage());
o.add(buildGoogleCloudDialogflowV2IntentMessage());
return o;
}
-checkUnnamed4012(core.List<api.GoogleCloudDialogflowV2IntentMessage> o) {
+checkUnnamed4017(core.List<api.GoogleCloudDialogflowV2IntentMessage> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudDialogflowV2IntentMessage(o[0]);
checkGoogleCloudDialogflowV2IntentMessage(o[1]);
}
-buildUnnamed4013() {
+buildUnnamed4018() {
var o = new core.List<api.GoogleCloudDialogflowV2Context>();
o.add(buildGoogleCloudDialogflowV2Context());
o.add(buildGoogleCloudDialogflowV2Context());
return o;
}
-checkUnnamed4013(core.List<api.GoogleCloudDialogflowV2Context> o) {
+checkUnnamed4018(core.List<api.GoogleCloudDialogflowV2Context> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudDialogflowV2Context(o[0]);
checkGoogleCloudDialogflowV2Context(o[1]);
}
-buildUnnamed4014() {
+buildUnnamed4019() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -4144,7 +4177,7 @@
return o;
}
-checkUnnamed4014(core.Map<core.String, core.Object> o) {
+checkUnnamed4019(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted32 = (o["x"]) as core.Map;
unittest.expect(casted32, unittest.hasLength(3));
@@ -4158,14 +4191,14 @@
unittest.expect(casted33["string"], unittest.equals('foo'));
}
-buildUnnamed4015() {
+buildUnnamed4020() {
var o = new core.List<api.GoogleCloudDialogflowV2SessionEntityType>();
o.add(buildGoogleCloudDialogflowV2SessionEntityType());
o.add(buildGoogleCloudDialogflowV2SessionEntityType());
return o;
}
-checkUnnamed4015(core.List<api.GoogleCloudDialogflowV2SessionEntityType> o) {
+checkUnnamed4020(core.List<api.GoogleCloudDialogflowV2SessionEntityType> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudDialogflowV2SessionEntityType(o[0]);
checkGoogleCloudDialogflowV2SessionEntityType(o[1]);
@@ -4177,11 +4210,11 @@
buildCounterGoogleCloudDialogflowV2WebhookResponse++;
if (buildCounterGoogleCloudDialogflowV2WebhookResponse < 3) {
o.followupEventInput = buildGoogleCloudDialogflowV2EventInput();
- o.fulfillmentMessages = buildUnnamed4012();
+ o.fulfillmentMessages = buildUnnamed4017();
o.fulfillmentText = "foo";
- o.outputContexts = buildUnnamed4013();
- o.payload = buildUnnamed4014();
- o.sessionEntityTypes = buildUnnamed4015();
+ o.outputContexts = buildUnnamed4018();
+ o.payload = buildUnnamed4019();
+ o.sessionEntityTypes = buildUnnamed4020();
o.source = "foo";
}
buildCounterGoogleCloudDialogflowV2WebhookResponse--;
@@ -4193,11 +4226,11 @@
buildCounterGoogleCloudDialogflowV2WebhookResponse++;
if (buildCounterGoogleCloudDialogflowV2WebhookResponse < 3) {
checkGoogleCloudDialogflowV2EventInput(o.followupEventInput);
- checkUnnamed4012(o.fulfillmentMessages);
+ checkUnnamed4017(o.fulfillmentMessages);
unittest.expect(o.fulfillmentText, unittest.equals('foo'));
- checkUnnamed4013(o.outputContexts);
- checkUnnamed4014(o.payload);
- checkUnnamed4015(o.sessionEntityTypes);
+ checkUnnamed4018(o.outputContexts);
+ checkUnnamed4019(o.payload);
+ checkUnnamed4020(o.sessionEntityTypes);
unittest.expect(o.source, unittest.equals('foo'));
}
buildCounterGoogleCloudDialogflowV2WebhookResponse--;
@@ -4268,14 +4301,14 @@
buildCounterGoogleCloudDialogflowV2beta1AutoApproveSmartMessagingEntriesResponse--;
}
-buildUnnamed4016() {
+buildUnnamed4021() {
var o = new core.List<api.GoogleCloudDialogflowV2beta1EntityType>();
o.add(buildGoogleCloudDialogflowV2beta1EntityType());
o.add(buildGoogleCloudDialogflowV2beta1EntityType());
return o;
}
-checkUnnamed4016(core.List<api.GoogleCloudDialogflowV2beta1EntityType> o) {
+checkUnnamed4021(core.List<api.GoogleCloudDialogflowV2beta1EntityType> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudDialogflowV2beta1EntityType(o[0]);
checkGoogleCloudDialogflowV2beta1EntityType(o[1]);
@@ -4288,7 +4321,7 @@
buildCounterGoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse++;
if (buildCounterGoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse <
3) {
- o.entityTypes = buildUnnamed4016();
+ o.entityTypes = buildUnnamed4021();
}
buildCounterGoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse--;
return o;
@@ -4299,19 +4332,19 @@
buildCounterGoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse++;
if (buildCounterGoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse <
3) {
- checkUnnamed4016(o.entityTypes);
+ checkUnnamed4021(o.entityTypes);
}
buildCounterGoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse--;
}
-buildUnnamed4017() {
+buildUnnamed4022() {
var o = new core.List<api.GoogleCloudDialogflowV2beta1Intent>();
o.add(buildGoogleCloudDialogflowV2beta1Intent());
o.add(buildGoogleCloudDialogflowV2beta1Intent());
return o;
}
-checkUnnamed4017(core.List<api.GoogleCloudDialogflowV2beta1Intent> o) {
+checkUnnamed4022(core.List<api.GoogleCloudDialogflowV2beta1Intent> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudDialogflowV2beta1Intent(o[0]);
checkGoogleCloudDialogflowV2beta1Intent(o[1]);
@@ -4322,7 +4355,7 @@
var o = new api.GoogleCloudDialogflowV2beta1BatchUpdateIntentsResponse();
buildCounterGoogleCloudDialogflowV2beta1BatchUpdateIntentsResponse++;
if (buildCounterGoogleCloudDialogflowV2beta1BatchUpdateIntentsResponse < 3) {
- o.intents = buildUnnamed4017();
+ o.intents = buildUnnamed4022();
}
buildCounterGoogleCloudDialogflowV2beta1BatchUpdateIntentsResponse--;
return o;
@@ -4332,12 +4365,52 @@
api.GoogleCloudDialogflowV2beta1BatchUpdateIntentsResponse o) {
buildCounterGoogleCloudDialogflowV2beta1BatchUpdateIntentsResponse++;
if (buildCounterGoogleCloudDialogflowV2beta1BatchUpdateIntentsResponse < 3) {
- checkUnnamed4017(o.intents);
+ checkUnnamed4022(o.intents);
}
buildCounterGoogleCloudDialogflowV2beta1BatchUpdateIntentsResponse--;
}
-buildUnnamed4018() {
+buildUnnamed4023() {
+ var o = new core.List<api.GoogleCloudDialogflowV2beta1SmartMessagingEntry>();
+ o.add(buildGoogleCloudDialogflowV2beta1SmartMessagingEntry());
+ o.add(buildGoogleCloudDialogflowV2beta1SmartMessagingEntry());
+ return o;
+}
+
+checkUnnamed4023(
+ core.List<api.GoogleCloudDialogflowV2beta1SmartMessagingEntry> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkGoogleCloudDialogflowV2beta1SmartMessagingEntry(o[0]);
+ checkGoogleCloudDialogflowV2beta1SmartMessagingEntry(o[1]);
+}
+
+core.int
+ buildCounterGoogleCloudDialogflowV2beta1BatchUpdateSmartMessagingEntriesResponse =
+ 0;
+buildGoogleCloudDialogflowV2beta1BatchUpdateSmartMessagingEntriesResponse() {
+ var o = new api
+ .GoogleCloudDialogflowV2beta1BatchUpdateSmartMessagingEntriesResponse();
+ buildCounterGoogleCloudDialogflowV2beta1BatchUpdateSmartMessagingEntriesResponse++;
+ if (buildCounterGoogleCloudDialogflowV2beta1BatchUpdateSmartMessagingEntriesResponse <
+ 3) {
+ o.smartMessagingEntries = buildUnnamed4023();
+ }
+ buildCounterGoogleCloudDialogflowV2beta1BatchUpdateSmartMessagingEntriesResponse--;
+ return o;
+}
+
+checkGoogleCloudDialogflowV2beta1BatchUpdateSmartMessagingEntriesResponse(
+ api.GoogleCloudDialogflowV2beta1BatchUpdateSmartMessagingEntriesResponse
+ o) {
+ buildCounterGoogleCloudDialogflowV2beta1BatchUpdateSmartMessagingEntriesResponse++;
+ if (buildCounterGoogleCloudDialogflowV2beta1BatchUpdateSmartMessagingEntriesResponse <
+ 3) {
+ checkUnnamed4023(o.smartMessagingEntries);
+ }
+ buildCounterGoogleCloudDialogflowV2beta1BatchUpdateSmartMessagingEntriesResponse--;
+}
+
+buildUnnamed4024() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -4352,7 +4425,7 @@
return o;
}
-checkUnnamed4018(core.Map<core.String, core.Object> o) {
+checkUnnamed4024(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted34 = (o["x"]) as core.Map;
unittest.expect(casted34, unittest.hasLength(3));
@@ -4373,7 +4446,7 @@
if (buildCounterGoogleCloudDialogflowV2beta1Context < 3) {
o.lifespanCount = 42;
o.name = "foo";
- o.parameters = buildUnnamed4018();
+ o.parameters = buildUnnamed4024();
}
buildCounterGoogleCloudDialogflowV2beta1Context--;
return o;
@@ -4385,19 +4458,19 @@
if (buildCounterGoogleCloudDialogflowV2beta1Context < 3) {
unittest.expect(o.lifespanCount, unittest.equals(42));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed4018(o.parameters);
+ checkUnnamed4024(o.parameters);
}
buildCounterGoogleCloudDialogflowV2beta1Context--;
}
-buildUnnamed4019() {
+buildUnnamed4025() {
var o = new core.List<api.GoogleCloudDialogflowV2beta1EntityTypeEntity>();
o.add(buildGoogleCloudDialogflowV2beta1EntityTypeEntity());
o.add(buildGoogleCloudDialogflowV2beta1EntityTypeEntity());
return o;
}
-checkUnnamed4019(
+checkUnnamed4025(
core.List<api.GoogleCloudDialogflowV2beta1EntityTypeEntity> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudDialogflowV2beta1EntityTypeEntity(o[0]);
@@ -4412,7 +4485,7 @@
o.autoExpansionMode = "foo";
o.displayName = "foo";
o.enableFuzzyExtraction = true;
- o.entities = buildUnnamed4019();
+ o.entities = buildUnnamed4025();
o.kind = "foo";
o.name = "foo";
}
@@ -4427,21 +4500,21 @@
unittest.expect(o.autoExpansionMode, unittest.equals('foo'));
unittest.expect(o.displayName, unittest.equals('foo'));
unittest.expect(o.enableFuzzyExtraction, unittest.isTrue);
- checkUnnamed4019(o.entities);
+ checkUnnamed4025(o.entities);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
}
buildCounterGoogleCloudDialogflowV2beta1EntityType--;
}
-buildUnnamed4020() {
+buildUnnamed4026() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4020(core.List<core.String> o) {
+checkUnnamed4026(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -4452,7 +4525,7 @@
var o = new api.GoogleCloudDialogflowV2beta1EntityTypeEntity();
buildCounterGoogleCloudDialogflowV2beta1EntityTypeEntity++;
if (buildCounterGoogleCloudDialogflowV2beta1EntityTypeEntity < 3) {
- o.synonyms = buildUnnamed4020();
+ o.synonyms = buildUnnamed4026();
o.value = "foo";
}
buildCounterGoogleCloudDialogflowV2beta1EntityTypeEntity--;
@@ -4463,13 +4536,13 @@
api.GoogleCloudDialogflowV2beta1EntityTypeEntity o) {
buildCounterGoogleCloudDialogflowV2beta1EntityTypeEntity++;
if (buildCounterGoogleCloudDialogflowV2beta1EntityTypeEntity < 3) {
- checkUnnamed4020(o.synonyms);
+ checkUnnamed4026(o.synonyms);
unittest.expect(o.value, unittest.equals('foo'));
}
buildCounterGoogleCloudDialogflowV2beta1EntityTypeEntity--;
}
-buildUnnamed4021() {
+buildUnnamed4027() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -4484,7 +4557,7 @@
return o;
}
-checkUnnamed4021(core.Map<core.String, core.Object> o) {
+checkUnnamed4027(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted36 = (o["x"]) as core.Map;
unittest.expect(casted36, unittest.hasLength(3));
@@ -4505,7 +4578,7 @@
if (buildCounterGoogleCloudDialogflowV2beta1EventInput < 3) {
o.languageCode = "foo";
o.name = "foo";
- o.parameters = buildUnnamed4021();
+ o.parameters = buildUnnamed4027();
}
buildCounterGoogleCloudDialogflowV2beta1EventInput--;
return o;
@@ -4517,7 +4590,7 @@
if (buildCounterGoogleCloudDialogflowV2beta1EventInput < 3) {
unittest.expect(o.languageCode, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed4021(o.parameters);
+ checkUnnamed4027(o.parameters);
}
buildCounterGoogleCloudDialogflowV2beta1EventInput--;
}
@@ -4544,33 +4617,66 @@
buildCounterGoogleCloudDialogflowV2beta1ExportAgentResponse--;
}
-buildUnnamed4022() {
+buildUnnamed4028() {
+ var o = new core.List<api.GoogleRpcStatus>();
+ o.add(buildGoogleRpcStatus());
+ o.add(buildGoogleRpcStatus());
+ return o;
+}
+
+checkUnnamed4028(core.List<api.GoogleRpcStatus> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkGoogleRpcStatus(o[0]);
+ checkGoogleRpcStatus(o[1]);
+}
+
+core.int buildCounterGoogleCloudDialogflowV2beta1ImportDocumentsResponse = 0;
+buildGoogleCloudDialogflowV2beta1ImportDocumentsResponse() {
+ var o = new api.GoogleCloudDialogflowV2beta1ImportDocumentsResponse();
+ buildCounterGoogleCloudDialogflowV2beta1ImportDocumentsResponse++;
+ if (buildCounterGoogleCloudDialogflowV2beta1ImportDocumentsResponse < 3) {
+ o.warnings = buildUnnamed4028();
+ }
+ buildCounterGoogleCloudDialogflowV2beta1ImportDocumentsResponse--;
+ return o;
+}
+
+checkGoogleCloudDialogflowV2beta1ImportDocumentsResponse(
+ api.GoogleCloudDialogflowV2beta1ImportDocumentsResponse o) {
+ buildCounterGoogleCloudDialogflowV2beta1ImportDocumentsResponse++;
+ if (buildCounterGoogleCloudDialogflowV2beta1ImportDocumentsResponse < 3) {
+ checkUnnamed4028(o.warnings);
+ }
+ buildCounterGoogleCloudDialogflowV2beta1ImportDocumentsResponse--;
+}
+
+buildUnnamed4029() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4022(core.List<core.String> o) {
+checkUnnamed4029(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed4023() {
+buildUnnamed4030() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4023(core.List<core.String> o) {
+checkUnnamed4030(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed4024() {
+buildUnnamed4031() {
var o =
new core.List<api.GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo>();
o.add(buildGoogleCloudDialogflowV2beta1IntentFollowupIntentInfo());
@@ -4578,73 +4684,73 @@
return o;
}
-checkUnnamed4024(
+checkUnnamed4031(
core.List<api.GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudDialogflowV2beta1IntentFollowupIntentInfo(o[0]);
checkGoogleCloudDialogflowV2beta1IntentFollowupIntentInfo(o[1]);
}
-buildUnnamed4025() {
+buildUnnamed4032() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4025(core.List<core.String> o) {
+checkUnnamed4032(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed4026() {
+buildUnnamed4033() {
var o = new core.List<api.GoogleCloudDialogflowV2beta1IntentMessage>();
o.add(buildGoogleCloudDialogflowV2beta1IntentMessage());
o.add(buildGoogleCloudDialogflowV2beta1IntentMessage());
return o;
}
-checkUnnamed4026(core.List<api.GoogleCloudDialogflowV2beta1IntentMessage> o) {
+checkUnnamed4033(core.List<api.GoogleCloudDialogflowV2beta1IntentMessage> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudDialogflowV2beta1IntentMessage(o[0]);
checkGoogleCloudDialogflowV2beta1IntentMessage(o[1]);
}
-buildUnnamed4027() {
+buildUnnamed4034() {
var o = new core.List<api.GoogleCloudDialogflowV2beta1Context>();
o.add(buildGoogleCloudDialogflowV2beta1Context());
o.add(buildGoogleCloudDialogflowV2beta1Context());
return o;
}
-checkUnnamed4027(core.List<api.GoogleCloudDialogflowV2beta1Context> o) {
+checkUnnamed4034(core.List<api.GoogleCloudDialogflowV2beta1Context> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudDialogflowV2beta1Context(o[0]);
checkGoogleCloudDialogflowV2beta1Context(o[1]);
}
-buildUnnamed4028() {
+buildUnnamed4035() {
var o = new core.List<api.GoogleCloudDialogflowV2beta1IntentParameter>();
o.add(buildGoogleCloudDialogflowV2beta1IntentParameter());
o.add(buildGoogleCloudDialogflowV2beta1IntentParameter());
return o;
}
-checkUnnamed4028(core.List<api.GoogleCloudDialogflowV2beta1IntentParameter> o) {
+checkUnnamed4035(core.List<api.GoogleCloudDialogflowV2beta1IntentParameter> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudDialogflowV2beta1IntentParameter(o[0]);
checkGoogleCloudDialogflowV2beta1IntentParameter(o[1]);
}
-buildUnnamed4029() {
+buildUnnamed4036() {
var o = new core.List<api.GoogleCloudDialogflowV2beta1IntentTrainingPhrase>();
o.add(buildGoogleCloudDialogflowV2beta1IntentTrainingPhrase());
o.add(buildGoogleCloudDialogflowV2beta1IntentTrainingPhrase());
return o;
}
-checkUnnamed4029(
+checkUnnamed4036(
core.List<api.GoogleCloudDialogflowV2beta1IntentTrainingPhrase> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudDialogflowV2beta1IntentTrainingPhrase(o[0]);
@@ -4657,24 +4763,24 @@
buildCounterGoogleCloudDialogflowV2beta1Intent++;
if (buildCounterGoogleCloudDialogflowV2beta1Intent < 3) {
o.action = "foo";
- o.defaultResponsePlatforms = buildUnnamed4022();
+ o.defaultResponsePlatforms = buildUnnamed4029();
o.displayName = "foo";
o.endInteraction = true;
- o.events = buildUnnamed4023();
- o.followupIntentInfo = buildUnnamed4024();
- o.inputContextNames = buildUnnamed4025();
+ o.events = buildUnnamed4030();
+ o.followupIntentInfo = buildUnnamed4031();
+ o.inputContextNames = buildUnnamed4032();
o.isFallback = true;
- o.messages = buildUnnamed4026();
+ o.messages = buildUnnamed4033();
o.mlDisabled = true;
o.mlEnabled = true;
o.name = "foo";
- o.outputContexts = buildUnnamed4027();
- o.parameters = buildUnnamed4028();
+ o.outputContexts = buildUnnamed4034();
+ o.parameters = buildUnnamed4035();
o.parentFollowupIntentName = "foo";
o.priority = 42;
o.resetContexts = true;
o.rootFollowupIntentName = "foo";
- o.trainingPhrases = buildUnnamed4029();
+ o.trainingPhrases = buildUnnamed4036();
o.webhookState = "foo";
}
buildCounterGoogleCloudDialogflowV2beta1Intent--;
@@ -4686,24 +4792,24 @@
buildCounterGoogleCloudDialogflowV2beta1Intent++;
if (buildCounterGoogleCloudDialogflowV2beta1Intent < 3) {
unittest.expect(o.action, unittest.equals('foo'));
- checkUnnamed4022(o.defaultResponsePlatforms);
+ checkUnnamed4029(o.defaultResponsePlatforms);
unittest.expect(o.displayName, unittest.equals('foo'));
unittest.expect(o.endInteraction, unittest.isTrue);
- checkUnnamed4023(o.events);
- checkUnnamed4024(o.followupIntentInfo);
- checkUnnamed4025(o.inputContextNames);
+ checkUnnamed4030(o.events);
+ checkUnnamed4031(o.followupIntentInfo);
+ checkUnnamed4032(o.inputContextNames);
unittest.expect(o.isFallback, unittest.isTrue);
- checkUnnamed4026(o.messages);
+ checkUnnamed4033(o.messages);
unittest.expect(o.mlDisabled, unittest.isTrue);
unittest.expect(o.mlEnabled, unittest.isTrue);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed4027(o.outputContexts);
- checkUnnamed4028(o.parameters);
+ checkUnnamed4034(o.outputContexts);
+ checkUnnamed4035(o.parameters);
unittest.expect(o.parentFollowupIntentName, unittest.equals('foo'));
unittest.expect(o.priority, unittest.equals(42));
unittest.expect(o.resetContexts, unittest.isTrue);
unittest.expect(o.rootFollowupIntentName, unittest.equals('foo'));
- checkUnnamed4029(o.trainingPhrases);
+ checkUnnamed4036(o.trainingPhrases);
unittest.expect(o.webhookState, unittest.equals('foo'));
}
buildCounterGoogleCloudDialogflowV2beta1Intent--;
@@ -4731,7 +4837,7 @@
buildCounterGoogleCloudDialogflowV2beta1IntentFollowupIntentInfo--;
}
-buildUnnamed4030() {
+buildUnnamed4037() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -4746,7 +4852,7 @@
return o;
}
-checkUnnamed4030(core.Map<core.String, core.Object> o) {
+checkUnnamed4037(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted38 = (o["x"]) as core.Map;
unittest.expect(casted38, unittest.hasLength(3));
@@ -4777,7 +4883,7 @@
o.listSelect = buildGoogleCloudDialogflowV2beta1IntentMessageListSelect();
o.mediaContent =
buildGoogleCloudDialogflowV2beta1IntentMessageMediaContent();
- o.payload = buildUnnamed4030();
+ o.payload = buildUnnamed4037();
o.platform = "foo";
o.quickReplies =
buildGoogleCloudDialogflowV2beta1IntentMessageQuickReplies();
@@ -4817,7 +4923,7 @@
o.linkOutSuggestion);
checkGoogleCloudDialogflowV2beta1IntentMessageListSelect(o.listSelect);
checkGoogleCloudDialogflowV2beta1IntentMessageMediaContent(o.mediaContent);
- checkUnnamed4030(o.payload);
+ checkUnnamed4037(o.payload);
unittest.expect(o.platform, unittest.equals('foo'));
checkGoogleCloudDialogflowV2beta1IntentMessageQuickReplies(o.quickReplies);
checkGoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard(
@@ -4840,7 +4946,7 @@
buildCounterGoogleCloudDialogflowV2beta1IntentMessage--;
}
-buildUnnamed4031() {
+buildUnnamed4038() {
var o = new core
.List<api.GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton>();
o.add(buildGoogleCloudDialogflowV2beta1IntentMessageBasicCardButton());
@@ -4848,7 +4954,7 @@
return o;
}
-checkUnnamed4031(
+checkUnnamed4038(
core.List<api.GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudDialogflowV2beta1IntentMessageBasicCardButton(o[0]);
@@ -4860,7 +4966,7 @@
var o = new api.GoogleCloudDialogflowV2beta1IntentMessageBasicCard();
buildCounterGoogleCloudDialogflowV2beta1IntentMessageBasicCard++;
if (buildCounterGoogleCloudDialogflowV2beta1IntentMessageBasicCard < 3) {
- o.buttons = buildUnnamed4031();
+ o.buttons = buildUnnamed4038();
o.formattedText = "foo";
o.image = buildGoogleCloudDialogflowV2beta1IntentMessageImage();
o.subtitle = "foo";
@@ -4874,7 +4980,7 @@
api.GoogleCloudDialogflowV2beta1IntentMessageBasicCard o) {
buildCounterGoogleCloudDialogflowV2beta1IntentMessageBasicCard++;
if (buildCounterGoogleCloudDialogflowV2beta1IntentMessageBasicCard < 3) {
- checkUnnamed4031(o.buttons);
+ checkUnnamed4038(o.buttons);
unittest.expect(o.formattedText, unittest.equals('foo'));
checkGoogleCloudDialogflowV2beta1IntentMessageImage(o.image);
unittest.expect(o.subtitle, unittest.equals('foo'));
@@ -4936,7 +5042,7 @@
buildCounterGoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction--;
}
-buildUnnamed4032() {
+buildUnnamed4039() {
var o = new core.List<
api.GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem>();
o.add(
@@ -4946,7 +5052,7 @@
return o;
}
-checkUnnamed4032(
+checkUnnamed4039(
core.List<
api.GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem>
o) {
@@ -4965,7 +5071,7 @@
if (buildCounterGoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard <
3) {
o.imageDisplayOptions = "foo";
- o.items = buildUnnamed4032();
+ o.items = buildUnnamed4039();
}
buildCounterGoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard--;
return o;
@@ -4977,7 +5083,7 @@
if (buildCounterGoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard <
3) {
unittest.expect(o.imageDisplayOptions, unittest.equals('foo'));
- checkUnnamed4032(o.items);
+ checkUnnamed4039(o.items);
}
buildCounterGoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard--;
}
@@ -5046,7 +5152,7 @@
buildCounterGoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction--;
}
-buildUnnamed4033() {
+buildUnnamed4040() {
var o =
new core.List<api.GoogleCloudDialogflowV2beta1IntentMessageCardButton>();
o.add(buildGoogleCloudDialogflowV2beta1IntentMessageCardButton());
@@ -5054,7 +5160,7 @@
return o;
}
-checkUnnamed4033(
+checkUnnamed4040(
core.List<api.GoogleCloudDialogflowV2beta1IntentMessageCardButton> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudDialogflowV2beta1IntentMessageCardButton(o[0]);
@@ -5066,7 +5172,7 @@
var o = new api.GoogleCloudDialogflowV2beta1IntentMessageCard();
buildCounterGoogleCloudDialogflowV2beta1IntentMessageCard++;
if (buildCounterGoogleCloudDialogflowV2beta1IntentMessageCard < 3) {
- o.buttons = buildUnnamed4033();
+ o.buttons = buildUnnamed4040();
o.imageUri = "foo";
o.subtitle = "foo";
o.title = "foo";
@@ -5079,7 +5185,7 @@
api.GoogleCloudDialogflowV2beta1IntentMessageCard o) {
buildCounterGoogleCloudDialogflowV2beta1IntentMessageCard++;
if (buildCounterGoogleCloudDialogflowV2beta1IntentMessageCard < 3) {
- checkUnnamed4033(o.buttons);
+ checkUnnamed4040(o.buttons);
unittest.expect(o.imageUri, unittest.equals('foo'));
unittest.expect(o.subtitle, unittest.equals('foo'));
unittest.expect(o.title, unittest.equals('foo'));
@@ -5109,7 +5215,7 @@
buildCounterGoogleCloudDialogflowV2beta1IntentMessageCardButton--;
}
-buildUnnamed4034() {
+buildUnnamed4041() {
var o = new core
.List<api.GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem>();
o.add(buildGoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem());
@@ -5117,7 +5223,7 @@
return o;
}
-checkUnnamed4034(
+checkUnnamed4041(
core.List<api.GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem>
o) {
unittest.expect(o, unittest.hasLength(2));
@@ -5131,7 +5237,7 @@
var o = new api.GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect();
buildCounterGoogleCloudDialogflowV2beta1IntentMessageCarouselSelect++;
if (buildCounterGoogleCloudDialogflowV2beta1IntentMessageCarouselSelect < 3) {
- o.items = buildUnnamed4034();
+ o.items = buildUnnamed4041();
}
buildCounterGoogleCloudDialogflowV2beta1IntentMessageCarouselSelect--;
return o;
@@ -5141,7 +5247,7 @@
api.GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect o) {
buildCounterGoogleCloudDialogflowV2beta1IntentMessageCarouselSelect++;
if (buildCounterGoogleCloudDialogflowV2beta1IntentMessageCarouselSelect < 3) {
- checkUnnamed4034(o.items);
+ checkUnnamed4041(o.items);
}
buildCounterGoogleCloudDialogflowV2beta1IntentMessageCarouselSelect--;
}
@@ -5247,7 +5353,7 @@
buildCounterGoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion--;
}
-buildUnnamed4035() {
+buildUnnamed4042() {
var o = new core
.List<api.GoogleCloudDialogflowV2beta1IntentMessageListSelectItem>();
o.add(buildGoogleCloudDialogflowV2beta1IntentMessageListSelectItem());
@@ -5255,7 +5361,7 @@
return o;
}
-checkUnnamed4035(
+checkUnnamed4042(
core.List<api.GoogleCloudDialogflowV2beta1IntentMessageListSelectItem> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudDialogflowV2beta1IntentMessageListSelectItem(o[0]);
@@ -5267,7 +5373,7 @@
var o = new api.GoogleCloudDialogflowV2beta1IntentMessageListSelect();
buildCounterGoogleCloudDialogflowV2beta1IntentMessageListSelect++;
if (buildCounterGoogleCloudDialogflowV2beta1IntentMessageListSelect < 3) {
- o.items = buildUnnamed4035();
+ o.items = buildUnnamed4042();
o.subtitle = "foo";
o.title = "foo";
}
@@ -5279,7 +5385,7 @@
api.GoogleCloudDialogflowV2beta1IntentMessageListSelect o) {
buildCounterGoogleCloudDialogflowV2beta1IntentMessageListSelect++;
if (buildCounterGoogleCloudDialogflowV2beta1IntentMessageListSelect < 3) {
- checkUnnamed4035(o.items);
+ checkUnnamed4042(o.items);
unittest.expect(o.subtitle, unittest.equals('foo'));
unittest.expect(o.title, unittest.equals('foo'));
}
@@ -5313,7 +5419,7 @@
buildCounterGoogleCloudDialogflowV2beta1IntentMessageListSelectItem--;
}
-buildUnnamed4036() {
+buildUnnamed4043() {
var o = new core.List<
api.GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject>();
o.add(
@@ -5323,7 +5429,7 @@
return o;
}
-checkUnnamed4036(
+checkUnnamed4043(
core.List<
api.GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject>
o) {
@@ -5339,7 +5445,7 @@
var o = new api.GoogleCloudDialogflowV2beta1IntentMessageMediaContent();
buildCounterGoogleCloudDialogflowV2beta1IntentMessageMediaContent++;
if (buildCounterGoogleCloudDialogflowV2beta1IntentMessageMediaContent < 3) {
- o.mediaObjects = buildUnnamed4036();
+ o.mediaObjects = buildUnnamed4043();
o.mediaType = "foo";
}
buildCounterGoogleCloudDialogflowV2beta1IntentMessageMediaContent--;
@@ -5350,7 +5456,7 @@
api.GoogleCloudDialogflowV2beta1IntentMessageMediaContent o) {
buildCounterGoogleCloudDialogflowV2beta1IntentMessageMediaContent++;
if (buildCounterGoogleCloudDialogflowV2beta1IntentMessageMediaContent < 3) {
- checkUnnamed4036(o.mediaObjects);
+ checkUnnamed4043(o.mediaObjects);
unittest.expect(o.mediaType, unittest.equals('foo'));
}
buildCounterGoogleCloudDialogflowV2beta1IntentMessageMediaContent--;
@@ -5390,14 +5496,14 @@
buildCounterGoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject--;
}
-buildUnnamed4037() {
+buildUnnamed4044() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4037(core.List<core.String> o) {
+checkUnnamed4044(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -5408,7 +5514,7 @@
var o = new api.GoogleCloudDialogflowV2beta1IntentMessageQuickReplies();
buildCounterGoogleCloudDialogflowV2beta1IntentMessageQuickReplies++;
if (buildCounterGoogleCloudDialogflowV2beta1IntentMessageQuickReplies < 3) {
- o.quickReplies = buildUnnamed4037();
+ o.quickReplies = buildUnnamed4044();
o.title = "foo";
}
buildCounterGoogleCloudDialogflowV2beta1IntentMessageQuickReplies--;
@@ -5419,13 +5525,13 @@
api.GoogleCloudDialogflowV2beta1IntentMessageQuickReplies o) {
buildCounterGoogleCloudDialogflowV2beta1IntentMessageQuickReplies++;
if (buildCounterGoogleCloudDialogflowV2beta1IntentMessageQuickReplies < 3) {
- checkUnnamed4037(o.quickReplies);
+ checkUnnamed4044(o.quickReplies);
unittest.expect(o.title, unittest.equals('foo'));
}
buildCounterGoogleCloudDialogflowV2beta1IntentMessageQuickReplies--;
}
-buildUnnamed4038() {
+buildUnnamed4045() {
var o = new core
.List<api.GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion>();
o.add(buildGoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion());
@@ -5433,7 +5539,7 @@
return o;
}
-checkUnnamed4038(
+checkUnnamed4045(
core.List<api.GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion(o[0]);
@@ -5449,7 +5555,7 @@
o.description = "foo";
o.media =
buildGoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia();
- o.suggestions = buildUnnamed4038();
+ o.suggestions = buildUnnamed4045();
o.title = "foo";
}
buildCounterGoogleCloudDialogflowV2beta1IntentMessageRbmCardContent--;
@@ -5463,7 +5569,7 @@
unittest.expect(o.description, unittest.equals('foo'));
checkGoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia(
o.media);
- checkUnnamed4038(o.suggestions);
+ checkUnnamed4045(o.suggestions);
unittest.expect(o.title, unittest.equals('foo'));
}
buildCounterGoogleCloudDialogflowV2beta1IntentMessageRbmCardContent--;
@@ -5498,7 +5604,7 @@
buildCounterGoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia--;
}
-buildUnnamed4039() {
+buildUnnamed4046() {
var o = new core
.List<api.GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent>();
o.add(buildGoogleCloudDialogflowV2beta1IntentMessageRbmCardContent());
@@ -5506,7 +5612,7 @@
return o;
}
-checkUnnamed4039(
+checkUnnamed4046(
core.List<api.GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudDialogflowV2beta1IntentMessageRbmCardContent(o[0]);
@@ -5520,7 +5626,7 @@
buildCounterGoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard++;
if (buildCounterGoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard <
3) {
- o.cardContents = buildUnnamed4039();
+ o.cardContents = buildUnnamed4046();
o.cardWidth = "foo";
}
buildCounterGoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard--;
@@ -5532,7 +5638,7 @@
buildCounterGoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard++;
if (buildCounterGoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard <
3) {
- checkUnnamed4039(o.cardContents);
+ checkUnnamed4046(o.cardContents);
unittest.expect(o.cardWidth, unittest.equals('foo'));
}
buildCounterGoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard--;
@@ -5725,7 +5831,7 @@
buildCounterGoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion--;
}
-buildUnnamed4040() {
+buildUnnamed4047() {
var o = new core
.List<api.GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion>();
o.add(buildGoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion());
@@ -5733,7 +5839,7 @@
return o;
}
-checkUnnamed4040(
+checkUnnamed4047(
core.List<api.GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion(o[0]);
@@ -5745,7 +5851,7 @@
var o = new api.GoogleCloudDialogflowV2beta1IntentMessageRbmText();
buildCounterGoogleCloudDialogflowV2beta1IntentMessageRbmText++;
if (buildCounterGoogleCloudDialogflowV2beta1IntentMessageRbmText < 3) {
- o.rbmSuggestion = buildUnnamed4040();
+ o.rbmSuggestion = buildUnnamed4047();
o.text = "foo";
}
buildCounterGoogleCloudDialogflowV2beta1IntentMessageRbmText--;
@@ -5756,20 +5862,20 @@
api.GoogleCloudDialogflowV2beta1IntentMessageRbmText o) {
buildCounterGoogleCloudDialogflowV2beta1IntentMessageRbmText++;
if (buildCounterGoogleCloudDialogflowV2beta1IntentMessageRbmText < 3) {
- checkUnnamed4040(o.rbmSuggestion);
+ checkUnnamed4047(o.rbmSuggestion);
unittest.expect(o.text, unittest.equals('foo'));
}
buildCounterGoogleCloudDialogflowV2beta1IntentMessageRbmText--;
}
-buildUnnamed4041() {
+buildUnnamed4048() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4041(core.List<core.String> o) {
+checkUnnamed4048(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -5782,7 +5888,7 @@
buildCounterGoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo++;
if (buildCounterGoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo < 3) {
o.key = "foo";
- o.synonyms = buildUnnamed4041();
+ o.synonyms = buildUnnamed4048();
}
buildCounterGoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo--;
return o;
@@ -5793,7 +5899,7 @@
buildCounterGoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo++;
if (buildCounterGoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo < 3) {
unittest.expect(o.key, unittest.equals('foo'));
- checkUnnamed4041(o.synonyms);
+ checkUnnamed4048(o.synonyms);
}
buildCounterGoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo--;
}
@@ -5823,7 +5929,7 @@
buildCounterGoogleCloudDialogflowV2beta1IntentMessageSimpleResponse--;
}
-buildUnnamed4042() {
+buildUnnamed4049() {
var o = new core
.List<api.GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse>();
o.add(buildGoogleCloudDialogflowV2beta1IntentMessageSimpleResponse());
@@ -5831,7 +5937,7 @@
return o;
}
-checkUnnamed4042(
+checkUnnamed4049(
core.List<api.GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudDialogflowV2beta1IntentMessageSimpleResponse(o[0]);
@@ -5845,7 +5951,7 @@
buildCounterGoogleCloudDialogflowV2beta1IntentMessageSimpleResponses++;
if (buildCounterGoogleCloudDialogflowV2beta1IntentMessageSimpleResponses <
3) {
- o.simpleResponses = buildUnnamed4042();
+ o.simpleResponses = buildUnnamed4049();
}
buildCounterGoogleCloudDialogflowV2beta1IntentMessageSimpleResponses--;
return o;
@@ -5856,7 +5962,7 @@
buildCounterGoogleCloudDialogflowV2beta1IntentMessageSimpleResponses++;
if (buildCounterGoogleCloudDialogflowV2beta1IntentMessageSimpleResponses <
3) {
- checkUnnamed4042(o.simpleResponses);
+ checkUnnamed4049(o.simpleResponses);
}
buildCounterGoogleCloudDialogflowV2beta1IntentMessageSimpleResponses--;
}
@@ -5881,7 +5987,7 @@
buildCounterGoogleCloudDialogflowV2beta1IntentMessageSuggestion--;
}
-buildUnnamed4043() {
+buildUnnamed4050() {
var o =
new core.List<api.GoogleCloudDialogflowV2beta1IntentMessageSuggestion>();
o.add(buildGoogleCloudDialogflowV2beta1IntentMessageSuggestion());
@@ -5889,7 +5995,7 @@
return o;
}
-checkUnnamed4043(
+checkUnnamed4050(
core.List<api.GoogleCloudDialogflowV2beta1IntentMessageSuggestion> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudDialogflowV2beta1IntentMessageSuggestion(o[0]);
@@ -5901,7 +6007,7 @@
var o = new api.GoogleCloudDialogflowV2beta1IntentMessageSuggestions();
buildCounterGoogleCloudDialogflowV2beta1IntentMessageSuggestions++;
if (buildCounterGoogleCloudDialogflowV2beta1IntentMessageSuggestions < 3) {
- o.suggestions = buildUnnamed4043();
+ o.suggestions = buildUnnamed4050();
}
buildCounterGoogleCloudDialogflowV2beta1IntentMessageSuggestions--;
return o;
@@ -5911,12 +6017,12 @@
api.GoogleCloudDialogflowV2beta1IntentMessageSuggestions o) {
buildCounterGoogleCloudDialogflowV2beta1IntentMessageSuggestions++;
if (buildCounterGoogleCloudDialogflowV2beta1IntentMessageSuggestions < 3) {
- checkUnnamed4043(o.suggestions);
+ checkUnnamed4050(o.suggestions);
}
buildCounterGoogleCloudDialogflowV2beta1IntentMessageSuggestions--;
}
-buildUnnamed4044() {
+buildUnnamed4051() {
var o = new core
.List<api.GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton>();
o.add(buildGoogleCloudDialogflowV2beta1IntentMessageBasicCardButton());
@@ -5924,14 +6030,14 @@
return o;
}
-checkUnnamed4044(
+checkUnnamed4051(
core.List<api.GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudDialogflowV2beta1IntentMessageBasicCardButton(o[0]);
checkGoogleCloudDialogflowV2beta1IntentMessageBasicCardButton(o[1]);
}
-buildUnnamed4045() {
+buildUnnamed4052() {
var o = new core
.List<api.GoogleCloudDialogflowV2beta1IntentMessageColumnProperties>();
o.add(buildGoogleCloudDialogflowV2beta1IntentMessageColumnProperties());
@@ -5939,7 +6045,7 @@
return o;
}
-checkUnnamed4045(
+checkUnnamed4052(
core.List<api.GoogleCloudDialogflowV2beta1IntentMessageColumnProperties>
o) {
unittest.expect(o, unittest.hasLength(2));
@@ -5947,7 +6053,7 @@
checkGoogleCloudDialogflowV2beta1IntentMessageColumnProperties(o[1]);
}
-buildUnnamed4046() {
+buildUnnamed4053() {
var o = new core
.List<api.GoogleCloudDialogflowV2beta1IntentMessageTableCardRow>();
o.add(buildGoogleCloudDialogflowV2beta1IntentMessageTableCardRow());
@@ -5955,7 +6061,7 @@
return o;
}
-checkUnnamed4046(
+checkUnnamed4053(
core.List<api.GoogleCloudDialogflowV2beta1IntentMessageTableCardRow> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudDialogflowV2beta1IntentMessageTableCardRow(o[0]);
@@ -5967,10 +6073,10 @@
var o = new api.GoogleCloudDialogflowV2beta1IntentMessageTableCard();
buildCounterGoogleCloudDialogflowV2beta1IntentMessageTableCard++;
if (buildCounterGoogleCloudDialogflowV2beta1IntentMessageTableCard < 3) {
- o.buttons = buildUnnamed4044();
- o.columnProperties = buildUnnamed4045();
+ o.buttons = buildUnnamed4051();
+ o.columnProperties = buildUnnamed4052();
o.image = buildGoogleCloudDialogflowV2beta1IntentMessageImage();
- o.rows = buildUnnamed4046();
+ o.rows = buildUnnamed4053();
o.subtitle = "foo";
o.title = "foo";
}
@@ -5982,10 +6088,10 @@
api.GoogleCloudDialogflowV2beta1IntentMessageTableCard o) {
buildCounterGoogleCloudDialogflowV2beta1IntentMessageTableCard++;
if (buildCounterGoogleCloudDialogflowV2beta1IntentMessageTableCard < 3) {
- checkUnnamed4044(o.buttons);
- checkUnnamed4045(o.columnProperties);
+ checkUnnamed4051(o.buttons);
+ checkUnnamed4052(o.columnProperties);
checkGoogleCloudDialogflowV2beta1IntentMessageImage(o.image);
- checkUnnamed4046(o.rows);
+ checkUnnamed4053(o.rows);
unittest.expect(o.subtitle, unittest.equals('foo'));
unittest.expect(o.title, unittest.equals('foo'));
}
@@ -6012,7 +6118,7 @@
buildCounterGoogleCloudDialogflowV2beta1IntentMessageTableCardCell--;
}
-buildUnnamed4047() {
+buildUnnamed4054() {
var o = new core
.List<api.GoogleCloudDialogflowV2beta1IntentMessageTableCardCell>();
o.add(buildGoogleCloudDialogflowV2beta1IntentMessageTableCardCell());
@@ -6020,7 +6126,7 @@
return o;
}
-checkUnnamed4047(
+checkUnnamed4054(
core.List<api.GoogleCloudDialogflowV2beta1IntentMessageTableCardCell> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudDialogflowV2beta1IntentMessageTableCardCell(o[0]);
@@ -6032,7 +6138,7 @@
var o = new api.GoogleCloudDialogflowV2beta1IntentMessageTableCardRow();
buildCounterGoogleCloudDialogflowV2beta1IntentMessageTableCardRow++;
if (buildCounterGoogleCloudDialogflowV2beta1IntentMessageTableCardRow < 3) {
- o.cells = buildUnnamed4047();
+ o.cells = buildUnnamed4054();
o.dividerAfter = true;
}
buildCounterGoogleCloudDialogflowV2beta1IntentMessageTableCardRow--;
@@ -6043,7 +6149,7 @@
api.GoogleCloudDialogflowV2beta1IntentMessageTableCardRow o) {
buildCounterGoogleCloudDialogflowV2beta1IntentMessageTableCardRow++;
if (buildCounterGoogleCloudDialogflowV2beta1IntentMessageTableCardRow < 3) {
- checkUnnamed4047(o.cells);
+ checkUnnamed4054(o.cells);
unittest.expect(o.dividerAfter, unittest.isTrue);
}
buildCounterGoogleCloudDialogflowV2beta1IntentMessageTableCardRow--;
@@ -6124,14 +6230,14 @@
buildCounterGoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall--;
}
-buildUnnamed4048() {
+buildUnnamed4055() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4048(core.List<core.String> o) {
+checkUnnamed4055(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -6142,7 +6248,7 @@
var o = new api.GoogleCloudDialogflowV2beta1IntentMessageText();
buildCounterGoogleCloudDialogflowV2beta1IntentMessageText++;
if (buildCounterGoogleCloudDialogflowV2beta1IntentMessageText < 3) {
- o.text = buildUnnamed4048();
+ o.text = buildUnnamed4055();
}
buildCounterGoogleCloudDialogflowV2beta1IntentMessageText--;
return o;
@@ -6152,19 +6258,19 @@
api.GoogleCloudDialogflowV2beta1IntentMessageText o) {
buildCounterGoogleCloudDialogflowV2beta1IntentMessageText++;
if (buildCounterGoogleCloudDialogflowV2beta1IntentMessageText < 3) {
- checkUnnamed4048(o.text);
+ checkUnnamed4055(o.text);
}
buildCounterGoogleCloudDialogflowV2beta1IntentMessageText--;
}
-buildUnnamed4049() {
+buildUnnamed4056() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4049(core.List<core.String> o) {
+checkUnnamed4056(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -6181,7 +6287,7 @@
o.isList = true;
o.mandatory = true;
o.name = "foo";
- o.prompts = buildUnnamed4049();
+ o.prompts = buildUnnamed4056();
o.value = "foo";
}
buildCounterGoogleCloudDialogflowV2beta1IntentParameter--;
@@ -6198,13 +6304,13 @@
unittest.expect(o.isList, unittest.isTrue);
unittest.expect(o.mandatory, unittest.isTrue);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed4049(o.prompts);
+ checkUnnamed4056(o.prompts);
unittest.expect(o.value, unittest.equals('foo'));
}
buildCounterGoogleCloudDialogflowV2beta1IntentParameter--;
}
-buildUnnamed4050() {
+buildUnnamed4057() {
var o =
new core.List<api.GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart>();
o.add(buildGoogleCloudDialogflowV2beta1IntentTrainingPhrasePart());
@@ -6212,7 +6318,7 @@
return o;
}
-checkUnnamed4050(
+checkUnnamed4057(
core.List<api.GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudDialogflowV2beta1IntentTrainingPhrasePart(o[0]);
@@ -6225,7 +6331,7 @@
buildCounterGoogleCloudDialogflowV2beta1IntentTrainingPhrase++;
if (buildCounterGoogleCloudDialogflowV2beta1IntentTrainingPhrase < 3) {
o.name = "foo";
- o.parts = buildUnnamed4050();
+ o.parts = buildUnnamed4057();
o.timesAddedCount = 42;
o.type = "foo";
}
@@ -6238,7 +6344,7 @@
buildCounterGoogleCloudDialogflowV2beta1IntentTrainingPhrase++;
if (buildCounterGoogleCloudDialogflowV2beta1IntentTrainingPhrase < 3) {
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed4050(o.parts);
+ checkUnnamed4057(o.parts);
unittest.expect(o.timesAddedCount, unittest.equals(42));
unittest.expect(o.type, unittest.equals('foo'));
}
@@ -6271,7 +6377,7 @@
buildCounterGoogleCloudDialogflowV2beta1IntentTrainingPhrasePart--;
}
-buildUnnamed4051() {
+buildUnnamed4058() {
var o =
new core.List<api.GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer>();
o.add(buildGoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer());
@@ -6279,7 +6385,7 @@
return o;
}
-checkUnnamed4051(
+checkUnnamed4058(
core.List<api.GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer(o[0]);
@@ -6291,7 +6397,7 @@
var o = new api.GoogleCloudDialogflowV2beta1KnowledgeAnswers();
buildCounterGoogleCloudDialogflowV2beta1KnowledgeAnswers++;
if (buildCounterGoogleCloudDialogflowV2beta1KnowledgeAnswers < 3) {
- o.answers = buildUnnamed4051();
+ o.answers = buildUnnamed4058();
}
buildCounterGoogleCloudDialogflowV2beta1KnowledgeAnswers--;
return o;
@@ -6301,7 +6407,7 @@
api.GoogleCloudDialogflowV2beta1KnowledgeAnswers o) {
buildCounterGoogleCloudDialogflowV2beta1KnowledgeAnswers++;
if (buildCounterGoogleCloudDialogflowV2beta1KnowledgeAnswers < 3) {
- checkUnnamed4051(o.answers);
+ checkUnnamed4058(o.answers);
}
buildCounterGoogleCloudDialogflowV2beta1KnowledgeAnswers--;
}
@@ -6376,7 +6482,7 @@
buildCounterGoogleCloudDialogflowV2beta1LabelConversationResponse--;
}
-buildUnnamed4052() {
+buildUnnamed4059() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -6391,7 +6497,7 @@
return o;
}
-checkUnnamed4052(core.Map<core.String, core.Object> o) {
+checkUnnamed4059(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted40 = (o["x"]) as core.Map;
unittest.expect(casted40, unittest.hasLength(3));
@@ -6411,7 +6517,7 @@
var o = new api.GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest();
buildCounterGoogleCloudDialogflowV2beta1OriginalDetectIntentRequest++;
if (buildCounterGoogleCloudDialogflowV2beta1OriginalDetectIntentRequest < 3) {
- o.payload = buildUnnamed4052();
+ o.payload = buildUnnamed4059();
o.source = "foo";
o.version = "foo";
}
@@ -6423,14 +6529,14 @@
api.GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest o) {
buildCounterGoogleCloudDialogflowV2beta1OriginalDetectIntentRequest++;
if (buildCounterGoogleCloudDialogflowV2beta1OriginalDetectIntentRequest < 3) {
- checkUnnamed4052(o.payload);
+ checkUnnamed4059(o.payload);
unittest.expect(o.source, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals('foo'));
}
buildCounterGoogleCloudDialogflowV2beta1OriginalDetectIntentRequest--;
}
-buildUnnamed4053() {
+buildUnnamed4060() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -6445,7 +6551,7 @@
return o;
}
-checkUnnamed4053(core.Map<core.String, core.Object> o) {
+checkUnnamed4060(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted42 = (o["x"]) as core.Map;
unittest.expect(casted42, unittest.hasLength(3));
@@ -6459,33 +6565,33 @@
unittest.expect(casted43["string"], unittest.equals('foo'));
}
-buildUnnamed4054() {
+buildUnnamed4061() {
var o = new core.List<api.GoogleCloudDialogflowV2beta1IntentMessage>();
o.add(buildGoogleCloudDialogflowV2beta1IntentMessage());
o.add(buildGoogleCloudDialogflowV2beta1IntentMessage());
return o;
}
-checkUnnamed4054(core.List<api.GoogleCloudDialogflowV2beta1IntentMessage> o) {
+checkUnnamed4061(core.List<api.GoogleCloudDialogflowV2beta1IntentMessage> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudDialogflowV2beta1IntentMessage(o[0]);
checkGoogleCloudDialogflowV2beta1IntentMessage(o[1]);
}
-buildUnnamed4055() {
+buildUnnamed4062() {
var o = new core.List<api.GoogleCloudDialogflowV2beta1Context>();
o.add(buildGoogleCloudDialogflowV2beta1Context());
o.add(buildGoogleCloudDialogflowV2beta1Context());
return o;
}
-checkUnnamed4055(core.List<api.GoogleCloudDialogflowV2beta1Context> o) {
+checkUnnamed4062(core.List<api.GoogleCloudDialogflowV2beta1Context> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudDialogflowV2beta1Context(o[0]);
checkGoogleCloudDialogflowV2beta1Context(o[1]);
}
-buildUnnamed4056() {
+buildUnnamed4063() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -6500,7 +6606,7 @@
return o;
}
-checkUnnamed4056(core.Map<core.String, core.Object> o) {
+checkUnnamed4063(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted44 = (o["x"]) as core.Map;
unittest.expect(casted44, unittest.hasLength(3));
@@ -6514,7 +6620,7 @@
unittest.expect(casted45["string"], unittest.equals('foo'));
}
-buildUnnamed4057() {
+buildUnnamed4064() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -6529,7 +6635,7 @@
return o;
}
-checkUnnamed4057(core.Map<core.String, core.Object> o) {
+checkUnnamed4064(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted46 = (o["x"]) as core.Map;
unittest.expect(casted46, unittest.hasLength(3));
@@ -6550,20 +6656,20 @@
if (buildCounterGoogleCloudDialogflowV2beta1QueryResult < 3) {
o.action = "foo";
o.allRequiredParamsPresent = true;
- o.diagnosticInfo = buildUnnamed4053();
- o.fulfillmentMessages = buildUnnamed4054();
+ o.diagnosticInfo = buildUnnamed4060();
+ o.fulfillmentMessages = buildUnnamed4061();
o.fulfillmentText = "foo";
o.intent = buildGoogleCloudDialogflowV2beta1Intent();
o.intentDetectionConfidence = 42.0;
o.knowledgeAnswers = buildGoogleCloudDialogflowV2beta1KnowledgeAnswers();
o.languageCode = "foo";
- o.outputContexts = buildUnnamed4055();
- o.parameters = buildUnnamed4056();
+ o.outputContexts = buildUnnamed4062();
+ o.parameters = buildUnnamed4063();
o.queryText = "foo";
o.sentimentAnalysisResult =
buildGoogleCloudDialogflowV2beta1SentimentAnalysisResult();
o.speechRecognitionConfidence = 42.0;
- o.webhookPayload = buildUnnamed4057();
+ o.webhookPayload = buildUnnamed4064();
o.webhookSource = "foo";
}
buildCounterGoogleCloudDialogflowV2beta1QueryResult--;
@@ -6576,20 +6682,20 @@
if (buildCounterGoogleCloudDialogflowV2beta1QueryResult < 3) {
unittest.expect(o.action, unittest.equals('foo'));
unittest.expect(o.allRequiredParamsPresent, unittest.isTrue);
- checkUnnamed4053(o.diagnosticInfo);
- checkUnnamed4054(o.fulfillmentMessages);
+ checkUnnamed4060(o.diagnosticInfo);
+ checkUnnamed4061(o.fulfillmentMessages);
unittest.expect(o.fulfillmentText, unittest.equals('foo'));
checkGoogleCloudDialogflowV2beta1Intent(o.intent);
unittest.expect(o.intentDetectionConfidence, unittest.equals(42.0));
checkGoogleCloudDialogflowV2beta1KnowledgeAnswers(o.knowledgeAnswers);
unittest.expect(o.languageCode, unittest.equals('foo'));
- checkUnnamed4055(o.outputContexts);
- checkUnnamed4056(o.parameters);
+ checkUnnamed4062(o.outputContexts);
+ checkUnnamed4063(o.parameters);
unittest.expect(o.queryText, unittest.equals('foo'));
checkGoogleCloudDialogflowV2beta1SentimentAnalysisResult(
o.sentimentAnalysisResult);
unittest.expect(o.speechRecognitionConfidence, unittest.equals(42.0));
- checkUnnamed4057(o.webhookPayload);
+ checkUnnamed4064(o.webhookPayload);
unittest.expect(o.webhookSource, unittest.equals('foo'));
}
buildCounterGoogleCloudDialogflowV2beta1QueryResult--;
@@ -6637,14 +6743,14 @@
buildCounterGoogleCloudDialogflowV2beta1SentimentAnalysisResult--;
}
-buildUnnamed4058() {
+buildUnnamed4065() {
var o = new core.List<api.GoogleCloudDialogflowV2beta1EntityTypeEntity>();
o.add(buildGoogleCloudDialogflowV2beta1EntityTypeEntity());
o.add(buildGoogleCloudDialogflowV2beta1EntityTypeEntity());
return o;
}
-checkUnnamed4058(
+checkUnnamed4065(
core.List<api.GoogleCloudDialogflowV2beta1EntityTypeEntity> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudDialogflowV2beta1EntityTypeEntity(o[0]);
@@ -6656,7 +6762,7 @@
var o = new api.GoogleCloudDialogflowV2beta1SessionEntityType();
buildCounterGoogleCloudDialogflowV2beta1SessionEntityType++;
if (buildCounterGoogleCloudDialogflowV2beta1SessionEntityType < 3) {
- o.entities = buildUnnamed4058();
+ o.entities = buildUnnamed4065();
o.entityOverrideMode = "foo";
o.name = "foo";
}
@@ -6668,21 +6774,69 @@
api.GoogleCloudDialogflowV2beta1SessionEntityType o) {
buildCounterGoogleCloudDialogflowV2beta1SessionEntityType++;
if (buildCounterGoogleCloudDialogflowV2beta1SessionEntityType < 3) {
- checkUnnamed4058(o.entities);
+ checkUnnamed4065(o.entities);
unittest.expect(o.entityOverrideMode, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
}
buildCounterGoogleCloudDialogflowV2beta1SessionEntityType--;
}
-buildUnnamed4059() {
+core.int buildCounterGoogleCloudDialogflowV2beta1SmartMessagingEntry = 0;
+buildGoogleCloudDialogflowV2beta1SmartMessagingEntry() {
+ var o = new api.GoogleCloudDialogflowV2beta1SmartMessagingEntry();
+ buildCounterGoogleCloudDialogflowV2beta1SmartMessagingEntry++;
+ if (buildCounterGoogleCloudDialogflowV2beta1SmartMessagingEntry < 3) {
+ o.messageInfo = buildGoogleCloudDialogflowV2beta1SmartMessagingEntryInfo();
+ o.name = "foo";
+ o.rawText = "foo";
+ o.state = "foo";
+ }
+ buildCounterGoogleCloudDialogflowV2beta1SmartMessagingEntry--;
+ return o;
+}
+
+checkGoogleCloudDialogflowV2beta1SmartMessagingEntry(
+ api.GoogleCloudDialogflowV2beta1SmartMessagingEntry o) {
+ buildCounterGoogleCloudDialogflowV2beta1SmartMessagingEntry++;
+ if (buildCounterGoogleCloudDialogflowV2beta1SmartMessagingEntry < 3) {
+ checkGoogleCloudDialogflowV2beta1SmartMessagingEntryInfo(o.messageInfo);
+ unittest.expect(o.name, unittest.equals('foo'));
+ unittest.expect(o.rawText, unittest.equals('foo'));
+ unittest.expect(o.state, unittest.equals('foo'));
+ }
+ buildCounterGoogleCloudDialogflowV2beta1SmartMessagingEntry--;
+}
+
+core.int buildCounterGoogleCloudDialogflowV2beta1SmartMessagingEntryInfo = 0;
+buildGoogleCloudDialogflowV2beta1SmartMessagingEntryInfo() {
+ var o = new api.GoogleCloudDialogflowV2beta1SmartMessagingEntryInfo();
+ buildCounterGoogleCloudDialogflowV2beta1SmartMessagingEntryInfo++;
+ if (buildCounterGoogleCloudDialogflowV2beta1SmartMessagingEntryInfo < 3) {
+ o.creationMethod = "foo";
+ o.occurrenceCount = 42;
+ }
+ buildCounterGoogleCloudDialogflowV2beta1SmartMessagingEntryInfo--;
+ return o;
+}
+
+checkGoogleCloudDialogflowV2beta1SmartMessagingEntryInfo(
+ api.GoogleCloudDialogflowV2beta1SmartMessagingEntryInfo o) {
+ buildCounterGoogleCloudDialogflowV2beta1SmartMessagingEntryInfo++;
+ if (buildCounterGoogleCloudDialogflowV2beta1SmartMessagingEntryInfo < 3) {
+ unittest.expect(o.creationMethod, unittest.equals('foo'));
+ unittest.expect(o.occurrenceCount, unittest.equals(42));
+ }
+ buildCounterGoogleCloudDialogflowV2beta1SmartMessagingEntryInfo--;
+}
+
+buildUnnamed4066() {
var o = new core.List<api.GoogleCloudDialogflowV2beta1QueryResult>();
o.add(buildGoogleCloudDialogflowV2beta1QueryResult());
o.add(buildGoogleCloudDialogflowV2beta1QueryResult());
return o;
}
-checkUnnamed4059(core.List<api.GoogleCloudDialogflowV2beta1QueryResult> o) {
+checkUnnamed4066(core.List<api.GoogleCloudDialogflowV2beta1QueryResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudDialogflowV2beta1QueryResult(o[0]);
checkGoogleCloudDialogflowV2beta1QueryResult(o[1]);
@@ -6693,7 +6847,7 @@
var o = new api.GoogleCloudDialogflowV2beta1WebhookRequest();
buildCounterGoogleCloudDialogflowV2beta1WebhookRequest++;
if (buildCounterGoogleCloudDialogflowV2beta1WebhookRequest < 3) {
- o.alternativeQueryResults = buildUnnamed4059();
+ o.alternativeQueryResults = buildUnnamed4066();
o.originalDetectIntentRequest =
buildGoogleCloudDialogflowV2beta1OriginalDetectIntentRequest();
o.queryResult = buildGoogleCloudDialogflowV2beta1QueryResult();
@@ -6708,7 +6862,7 @@
api.GoogleCloudDialogflowV2beta1WebhookRequest o) {
buildCounterGoogleCloudDialogflowV2beta1WebhookRequest++;
if (buildCounterGoogleCloudDialogflowV2beta1WebhookRequest < 3) {
- checkUnnamed4059(o.alternativeQueryResults);
+ checkUnnamed4066(o.alternativeQueryResults);
checkGoogleCloudDialogflowV2beta1OriginalDetectIntentRequest(
o.originalDetectIntentRequest);
checkGoogleCloudDialogflowV2beta1QueryResult(o.queryResult);
@@ -6718,33 +6872,33 @@
buildCounterGoogleCloudDialogflowV2beta1WebhookRequest--;
}
-buildUnnamed4060() {
+buildUnnamed4067() {
var o = new core.List<api.GoogleCloudDialogflowV2beta1IntentMessage>();
o.add(buildGoogleCloudDialogflowV2beta1IntentMessage());
o.add(buildGoogleCloudDialogflowV2beta1IntentMessage());
return o;
}
-checkUnnamed4060(core.List<api.GoogleCloudDialogflowV2beta1IntentMessage> o) {
+checkUnnamed4067(core.List<api.GoogleCloudDialogflowV2beta1IntentMessage> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudDialogflowV2beta1IntentMessage(o[0]);
checkGoogleCloudDialogflowV2beta1IntentMessage(o[1]);
}
-buildUnnamed4061() {
+buildUnnamed4068() {
var o = new core.List<api.GoogleCloudDialogflowV2beta1Context>();
o.add(buildGoogleCloudDialogflowV2beta1Context());
o.add(buildGoogleCloudDialogflowV2beta1Context());
return o;
}
-checkUnnamed4061(core.List<api.GoogleCloudDialogflowV2beta1Context> o) {
+checkUnnamed4068(core.List<api.GoogleCloudDialogflowV2beta1Context> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudDialogflowV2beta1Context(o[0]);
checkGoogleCloudDialogflowV2beta1Context(o[1]);
}
-buildUnnamed4062() {
+buildUnnamed4069() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -6759,7 +6913,7 @@
return o;
}
-checkUnnamed4062(core.Map<core.String, core.Object> o) {
+checkUnnamed4069(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted48 = (o["x"]) as core.Map;
unittest.expect(casted48, unittest.hasLength(3));
@@ -6773,14 +6927,14 @@
unittest.expect(casted49["string"], unittest.equals('foo'));
}
-buildUnnamed4063() {
+buildUnnamed4070() {
var o = new core.List<api.GoogleCloudDialogflowV2beta1SessionEntityType>();
o.add(buildGoogleCloudDialogflowV2beta1SessionEntityType());
o.add(buildGoogleCloudDialogflowV2beta1SessionEntityType());
return o;
}
-checkUnnamed4063(
+checkUnnamed4070(
core.List<api.GoogleCloudDialogflowV2beta1SessionEntityType> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudDialogflowV2beta1SessionEntityType(o[0]);
@@ -6794,11 +6948,11 @@
if (buildCounterGoogleCloudDialogflowV2beta1WebhookResponse < 3) {
o.endInteraction = true;
o.followupEventInput = buildGoogleCloudDialogflowV2beta1EventInput();
- o.fulfillmentMessages = buildUnnamed4060();
+ o.fulfillmentMessages = buildUnnamed4067();
o.fulfillmentText = "foo";
- o.outputContexts = buildUnnamed4061();
- o.payload = buildUnnamed4062();
- o.sessionEntityTypes = buildUnnamed4063();
+ o.outputContexts = buildUnnamed4068();
+ o.payload = buildUnnamed4069();
+ o.sessionEntityTypes = buildUnnamed4070();
o.source = "foo";
}
buildCounterGoogleCloudDialogflowV2beta1WebhookResponse--;
@@ -6811,39 +6965,16 @@
if (buildCounterGoogleCloudDialogflowV2beta1WebhookResponse < 3) {
unittest.expect(o.endInteraction, unittest.isTrue);
checkGoogleCloudDialogflowV2beta1EventInput(o.followupEventInput);
- checkUnnamed4060(o.fulfillmentMessages);
+ checkUnnamed4067(o.fulfillmentMessages);
unittest.expect(o.fulfillmentText, unittest.equals('foo'));
- checkUnnamed4061(o.outputContexts);
- checkUnnamed4062(o.payload);
- checkUnnamed4063(o.sessionEntityTypes);
+ checkUnnamed4068(o.outputContexts);
+ checkUnnamed4069(o.payload);
+ checkUnnamed4070(o.sessionEntityTypes);
unittest.expect(o.source, unittest.equals('foo'));
}
buildCounterGoogleCloudDialogflowV2beta1WebhookResponse--;
}
-core.int
- buildCounterGoogleCloudDialogflowV3alpha1CreateVersionOperationMetadata = 0;
-buildGoogleCloudDialogflowV3alpha1CreateVersionOperationMetadata() {
- var o = new api.GoogleCloudDialogflowV3alpha1CreateVersionOperationMetadata();
- buildCounterGoogleCloudDialogflowV3alpha1CreateVersionOperationMetadata++;
- if (buildCounterGoogleCloudDialogflowV3alpha1CreateVersionOperationMetadata <
- 3) {
- o.version = "foo";
- }
- buildCounterGoogleCloudDialogflowV3alpha1CreateVersionOperationMetadata--;
- return o;
-}
-
-checkGoogleCloudDialogflowV3alpha1CreateVersionOperationMetadata(
- api.GoogleCloudDialogflowV3alpha1CreateVersionOperationMetadata o) {
- buildCounterGoogleCloudDialogflowV3alpha1CreateVersionOperationMetadata++;
- if (buildCounterGoogleCloudDialogflowV3alpha1CreateVersionOperationMetadata <
- 3) {
- unittest.expect(o.version, unittest.equals('foo'));
- }
- buildCounterGoogleCloudDialogflowV3alpha1CreateVersionOperationMetadata--;
-}
-
core.int buildCounterGoogleCloudDialogflowV3alpha1ExportAgentResponse = 0;
buildGoogleCloudDialogflowV3alpha1ExportAgentResponse() {
var o = new api.GoogleCloudDialogflowV3alpha1ExportAgentResponse();
@@ -6940,14 +7071,14 @@
buildCounterGoogleCloudDialogflowV3alpha1ImportTestCasesMetadata--;
}
-buildUnnamed4064() {
+buildUnnamed4071() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4064(core.List<core.String> o) {
+checkUnnamed4071(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -6958,7 +7089,7 @@
var o = new api.GoogleCloudDialogflowV3alpha1ImportTestCasesResponse();
buildCounterGoogleCloudDialogflowV3alpha1ImportTestCasesResponse++;
if (buildCounterGoogleCloudDialogflowV3alpha1ImportTestCasesResponse < 3) {
- o.names = buildUnnamed4064();
+ o.names = buildUnnamed4071();
}
buildCounterGoogleCloudDialogflowV3alpha1ImportTestCasesResponse--;
return o;
@@ -6968,19 +7099,19 @@
api.GoogleCloudDialogflowV3alpha1ImportTestCasesResponse o) {
buildCounterGoogleCloudDialogflowV3alpha1ImportTestCasesResponse++;
if (buildCounterGoogleCloudDialogflowV3alpha1ImportTestCasesResponse < 3) {
- checkUnnamed4064(o.names);
+ checkUnnamed4071(o.names);
}
buildCounterGoogleCloudDialogflowV3alpha1ImportTestCasesResponse--;
}
-buildUnnamed4065() {
+buildUnnamed4072() {
var o = new core.List<api.GoogleLongrunningOperation>();
o.add(buildGoogleLongrunningOperation());
o.add(buildGoogleLongrunningOperation());
return o;
}
-checkUnnamed4065(core.List<api.GoogleLongrunningOperation> o) {
+checkUnnamed4072(core.List<api.GoogleLongrunningOperation> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleLongrunningOperation(o[0]);
checkGoogleLongrunningOperation(o[1]);
@@ -6992,7 +7123,7 @@
buildCounterGoogleLongrunningListOperationsResponse++;
if (buildCounterGoogleLongrunningListOperationsResponse < 3) {
o.nextPageToken = "foo";
- o.operations = buildUnnamed4065();
+ o.operations = buildUnnamed4072();
}
buildCounterGoogleLongrunningListOperationsResponse--;
return o;
@@ -7003,12 +7134,12 @@
buildCounterGoogleLongrunningListOperationsResponse++;
if (buildCounterGoogleLongrunningListOperationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed4065(o.operations);
+ checkUnnamed4072(o.operations);
}
buildCounterGoogleLongrunningListOperationsResponse--;
}
-buildUnnamed4066() {
+buildUnnamed4073() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -7023,7 +7154,7 @@
return o;
}
-checkUnnamed4066(core.Map<core.String, core.Object> o) {
+checkUnnamed4073(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted50 = (o["x"]) as core.Map;
unittest.expect(casted50, unittest.hasLength(3));
@@ -7037,7 +7168,7 @@
unittest.expect(casted51["string"], unittest.equals('foo'));
}
-buildUnnamed4067() {
+buildUnnamed4074() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -7052,7 +7183,7 @@
return o;
}
-checkUnnamed4067(core.Map<core.String, core.Object> o) {
+checkUnnamed4074(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted52 = (o["x"]) as core.Map;
unittest.expect(casted52, unittest.hasLength(3));
@@ -7073,9 +7204,9 @@
if (buildCounterGoogleLongrunningOperation < 3) {
o.done = true;
o.error = buildGoogleRpcStatus();
- o.metadata = buildUnnamed4066();
+ o.metadata = buildUnnamed4073();
o.name = "foo";
- o.response = buildUnnamed4067();
+ o.response = buildUnnamed4074();
}
buildCounterGoogleLongrunningOperation--;
return o;
@@ -7086,9 +7217,9 @@
if (buildCounterGoogleLongrunningOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkGoogleRpcStatus(o.error);
- checkUnnamed4066(o.metadata);
+ checkUnnamed4073(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed4067(o.response);
+ checkUnnamed4074(o.response);
}
buildCounterGoogleLongrunningOperation--;
}
@@ -7108,7 +7239,7 @@
buildCounterGoogleProtobufEmpty--;
}
-buildUnnamed4068() {
+buildUnnamed4075() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -7123,7 +7254,7 @@
return o;
}
-checkUnnamed4068(core.Map<core.String, core.Object> o) {
+checkUnnamed4075(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted54 = (o["x"]) as core.Map;
unittest.expect(casted54, unittest.hasLength(3));
@@ -7137,17 +7268,17 @@
unittest.expect(casted55["string"], unittest.equals('foo'));
}
-buildUnnamed4069() {
+buildUnnamed4076() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed4068());
- o.add(buildUnnamed4068());
+ o.add(buildUnnamed4075());
+ o.add(buildUnnamed4075());
return o;
}
-checkUnnamed4069(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed4076(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed4068(o[0]);
- checkUnnamed4068(o[1]);
+ checkUnnamed4075(o[0]);
+ checkUnnamed4075(o[1]);
}
core.int buildCounterGoogleRpcStatus = 0;
@@ -7156,7 +7287,7 @@
buildCounterGoogleRpcStatus++;
if (buildCounterGoogleRpcStatus < 3) {
o.code = 42;
- o.details = buildUnnamed4069();
+ o.details = buildUnnamed4076();
o.message = "foo";
}
buildCounterGoogleRpcStatus--;
@@ -7167,7 +7298,7 @@
buildCounterGoogleRpcStatus++;
if (buildCounterGoogleRpcStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed4069(o.details);
+ checkUnnamed4076(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterGoogleRpcStatus--;
@@ -7697,6 +7828,16 @@
});
});
+ unittest.group("obj-schema-GoogleCloudDialogflowV2ImportDocumentsResponse",
+ () {
+ unittest.test("to-json--from-json", () {
+ var o = buildGoogleCloudDialogflowV2ImportDocumentsResponse();
+ var od = new api.GoogleCloudDialogflowV2ImportDocumentsResponse.fromJson(
+ o.toJson());
+ checkGoogleCloudDialogflowV2ImportDocumentsResponse(od);
+ });
+ });
+
unittest.group("obj-schema-GoogleCloudDialogflowV2InputAudioConfig", () {
unittest.test("to-json--from-json", () {
var o = buildGoogleCloudDialogflowV2InputAudioConfig();
@@ -8362,6 +8503,20 @@
});
});
+ unittest.group(
+ "obj-schema-GoogleCloudDialogflowV2beta1BatchUpdateSmartMessagingEntriesResponse",
+ () {
+ unittest.test("to-json--from-json", () {
+ var o =
+ buildGoogleCloudDialogflowV2beta1BatchUpdateSmartMessagingEntriesResponse();
+ var od = new api
+ .GoogleCloudDialogflowV2beta1BatchUpdateSmartMessagingEntriesResponse.fromJson(
+ o.toJson());
+ checkGoogleCloudDialogflowV2beta1BatchUpdateSmartMessagingEntriesResponse(
+ od);
+ });
+ });
+
unittest.group("obj-schema-GoogleCloudDialogflowV2beta1Context", () {
unittest.test("to-json--from-json", () {
var o = buildGoogleCloudDialogflowV2beta1Context();
@@ -8407,6 +8562,17 @@
});
});
+ unittest.group(
+ "obj-schema-GoogleCloudDialogflowV2beta1ImportDocumentsResponse", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildGoogleCloudDialogflowV2beta1ImportDocumentsResponse();
+ var od =
+ new api.GoogleCloudDialogflowV2beta1ImportDocumentsResponse.fromJson(
+ o.toJson());
+ checkGoogleCloudDialogflowV2beta1ImportDocumentsResponse(od);
+ });
+ });
+
unittest.group("obj-schema-GoogleCloudDialogflowV2beta1Intent", () {
unittest.test("to-json--from-json", () {
var o = buildGoogleCloudDialogflowV2beta1Intent();
@@ -9049,6 +9215,27 @@
});
});
+ unittest.group("obj-schema-GoogleCloudDialogflowV2beta1SmartMessagingEntry",
+ () {
+ unittest.test("to-json--from-json", () {
+ var o = buildGoogleCloudDialogflowV2beta1SmartMessagingEntry();
+ var od = new api.GoogleCloudDialogflowV2beta1SmartMessagingEntry.fromJson(
+ o.toJson());
+ checkGoogleCloudDialogflowV2beta1SmartMessagingEntry(od);
+ });
+ });
+
+ unittest.group(
+ "obj-schema-GoogleCloudDialogflowV2beta1SmartMessagingEntryInfo", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildGoogleCloudDialogflowV2beta1SmartMessagingEntryInfo();
+ var od =
+ new api.GoogleCloudDialogflowV2beta1SmartMessagingEntryInfo.fromJson(
+ o.toJson());
+ checkGoogleCloudDialogflowV2beta1SmartMessagingEntryInfo(od);
+ });
+ });
+
unittest.group("obj-schema-GoogleCloudDialogflowV2beta1WebhookRequest", () {
unittest.test("to-json--from-json", () {
var o = buildGoogleCloudDialogflowV2beta1WebhookRequest();
@@ -9067,19 +9254,6 @@
});
});
- unittest.group(
- "obj-schema-GoogleCloudDialogflowV3alpha1CreateVersionOperationMetadata",
- () {
- unittest.test("to-json--from-json", () {
- var o =
- buildGoogleCloudDialogflowV3alpha1CreateVersionOperationMetadata();
- var od = new api
- .GoogleCloudDialogflowV3alpha1CreateVersionOperationMetadata.fromJson(
- o.toJson());
- checkGoogleCloudDialogflowV3alpha1CreateVersionOperationMetadata(od);
- });
- });
-
unittest.group("obj-schema-GoogleCloudDialogflowV3alpha1ExportAgentResponse",
() {
unittest.test("to-json--from-json", () {
@@ -10791,8 +10965,8 @@
.sessions
.contexts;
var arg_parent = "foo";
- var arg_pageSize = 42;
var arg_pageToken = "foo";
+ var arg_pageSize = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -10825,10 +10999,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -10840,8 +11014,8 @@
}), true);
res
.list(arg_parent,
- pageSize: arg_pageSize,
pageToken: arg_pageToken,
+ pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGoogleCloudDialogflowV2ListContextsResponse(response);
@@ -11110,8 +11284,8 @@
.sessions
.entityTypes;
var arg_parent = "foo";
- var arg_pageSize = 42;
var arg_pageToken = "foo";
+ var arg_pageSize = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -11144,10 +11318,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -11159,8 +11333,8 @@
}), true);
res
.list(arg_parent,
- pageSize: arg_pageSize,
pageToken: arg_pageToken,
+ pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGoogleCloudDialogflowV2ListSessionEntityTypesResponse(response);
@@ -11475,8 +11649,8 @@
api.ProjectsAgentIntentsResourceApi res =
new api.DialogflowApi(mock).projects.agent.intents;
var arg_name = "foo";
- var arg_languageCode = "foo";
var arg_intentView = "foo";
+ var arg_languageCode = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -11510,9 +11684,9 @@
}
}
unittest.expect(
- queryMap["languageCode"].first, unittest.equals(arg_languageCode));
- unittest.expect(
queryMap["intentView"].first, unittest.equals(arg_intentView));
+ unittest.expect(
+ queryMap["languageCode"].first, unittest.equals(arg_languageCode));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -11523,8 +11697,8 @@
}), true);
res
.get(arg_name,
- languageCode: arg_languageCode,
intentView: arg_intentView,
+ languageCode: arg_languageCode,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGoogleCloudDialogflowV2Intent(response);
@@ -11536,9 +11710,9 @@
api.ProjectsAgentIntentsResourceApi res =
new api.DialogflowApi(mock).projects.agent.intents;
var arg_parent = "foo";
- var arg_pageToken = "foo";
- var arg_pageSize = 42;
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) {
@@ -11573,11 +11747,11 @@
}
}
unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ queryMap["languageCode"].first, unittest.equals(arg_languageCode));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
unittest.expect(
- queryMap["languageCode"].first, unittest.equals(arg_languageCode));
+ 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));
@@ -11591,9 +11765,9 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
- pageSize: arg_pageSize,
languageCode: arg_languageCode,
+ pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
intentView: arg_intentView,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -11607,9 +11781,9 @@
new 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_updateMask = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.GoogleCloudDialogflowV2Intent.fromJson(json);
@@ -11646,11 +11820,11 @@
}
}
unittest.expect(
+ queryMap["updateMask"].first, unittest.equals(arg_updateMask));
+ unittest.expect(
queryMap["languageCode"].first, unittest.equals(arg_languageCode));
unittest.expect(
queryMap["intentView"].first, unittest.equals(arg_intentView));
- unittest.expect(
- queryMap["updateMask"].first, unittest.equals(arg_updateMask));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -11661,9 +11835,9 @@
}), true);
res
.patch(arg_request, arg_name,
+ updateMask: arg_updateMask,
languageCode: arg_languageCode,
intentView: arg_intentView,
- updateMask: arg_updateMask,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGoogleCloudDialogflowV2Intent(response);
@@ -12236,8 +12410,8 @@
api.ProjectsAgentSessionsEntityTypesResourceApi res =
new api.DialogflowApi(mock).projects.agent.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;
@@ -12270,10 +12444,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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 = {
@@ -12285,8 +12459,8 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGoogleCloudDialogflowV2ListSessionEntityTypesResponse(response);
@@ -12466,9 +12640,9 @@
api.ProjectsLocationsOperationsResourceApi res =
new api.DialogflowApi(mock).projects.locations.operations;
var arg_name = "foo";
- var arg_pageToken = "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;
@@ -12501,11 +12675,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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 = {
@@ -12517,9 +12691,9 @@
}), true);
res
.list(arg_name,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
filter: arg_filter,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGoogleLongrunningListOperationsResponse(response);
diff --git a/generated/googleapis/test/digitalassetlinks/v1_test.dart b/generated/googleapis/test/digitalassetlinks/v1_test.dart
index 4839be3..778e460 100644
--- a/generated/googleapis/test/digitalassetlinks/v1_test.dart
+++ b/generated/googleapis/test/digitalassetlinks/v1_test.dart
@@ -111,44 +111,6 @@
buildCounterCertificateInfo--;
}
-buildUnnamed759() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed759(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-core.int buildCounterCheckResponse = 0;
-buildCheckResponse() {
- var o = new api.CheckResponse();
- buildCounterCheckResponse++;
- if (buildCounterCheckResponse < 3) {
- o.debugString = "foo";
- o.errorCode = buildUnnamed759();
- o.linked = true;
- o.maxAge = "foo";
- }
- buildCounterCheckResponse--;
- return o;
-}
-
-checkCheckResponse(api.CheckResponse o) {
- buildCounterCheckResponse++;
- if (buildCounterCheckResponse < 3) {
- unittest.expect(o.debugString, unittest.equals('foo'));
- checkUnnamed759(o.errorCode);
- unittest.expect(o.linked, unittest.isTrue);
- unittest.expect(o.maxAge, unittest.equals('foo'));
- }
- buildCounterCheckResponse--;
-}
-
buildUnnamed760() {
var o = new core.List<core.String>();
o.add("foo");
@@ -162,14 +124,52 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+core.int buildCounterCheckResponse = 0;
+buildCheckResponse() {
+ var o = new api.CheckResponse();
+ buildCounterCheckResponse++;
+ if (buildCounterCheckResponse < 3) {
+ o.debugString = "foo";
+ o.errorCode = buildUnnamed760();
+ o.linked = true;
+ o.maxAge = "foo";
+ }
+ buildCounterCheckResponse--;
+ return o;
+}
+
+checkCheckResponse(api.CheckResponse o) {
+ buildCounterCheckResponse++;
+ if (buildCounterCheckResponse < 3) {
+ unittest.expect(o.debugString, unittest.equals('foo'));
+ checkUnnamed760(o.errorCode);
+ unittest.expect(o.linked, unittest.isTrue);
+ unittest.expect(o.maxAge, unittest.equals('foo'));
+ }
+ buildCounterCheckResponse--;
+}
+
buildUnnamed761() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed761(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed762() {
var o = new core.List<api.Statement>();
o.add(buildStatement());
o.add(buildStatement());
return o;
}
-checkUnnamed761(core.List<api.Statement> o) {
+checkUnnamed762(core.List<api.Statement> o) {
unittest.expect(o, unittest.hasLength(2));
checkStatement(o[0]);
checkStatement(o[1]);
@@ -181,9 +181,9 @@
buildCounterListResponse++;
if (buildCounterListResponse < 3) {
o.debugString = "foo";
- o.errorCode = buildUnnamed760();
+ o.errorCode = buildUnnamed761();
o.maxAge = "foo";
- o.statements = buildUnnamed761();
+ o.statements = buildUnnamed762();
}
buildCounterListResponse--;
return o;
@@ -193,9 +193,9 @@
buildCounterListResponse++;
if (buildCounterListResponse < 3) {
unittest.expect(o.debugString, unittest.equals('foo'));
- checkUnnamed760(o.errorCode);
+ checkUnnamed761(o.errorCode);
unittest.expect(o.maxAge, unittest.equals('foo'));
- checkUnnamed761(o.statements);
+ checkUnnamed762(o.statements);
}
buildCounterListResponse--;
}
@@ -304,13 +304,13 @@
var mock = new HttpServerMock();
api.AssetlinksResourceApi res =
new api.DigitalassetlinksApi(mock).assetlinks;
- var arg_target_web_site = "foo";
+ 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_packageName = "foo";
- var arg_source_web_site = "foo";
- var arg_source_androidApp_certificate_sha256Fingerprint = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -342,24 +342,24 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["target.web.site"].first,
- unittest.equals(arg_target_web_site));
+ 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["source.androidApp.certificate.sha256Fingerprint"].first,
+ unittest
+ .equals(arg_source_androidApp_certificate_sha256Fingerprint));
+ unittest.expect(
queryMap["relation"].first, unittest.equals(arg_relation));
unittest.expect(
queryMap["target.androidApp.certificate.sha256Fingerprint"].first,
unittest
.equals(arg_target_androidApp_certificate_sha256Fingerprint));
+ 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["source.web.site"].first,
- unittest.equals(arg_source_web_site));
- unittest.expect(
- queryMap["source.androidApp.certificate.sha256Fingerprint"].first,
- unittest
- .equals(arg_source_androidApp_certificate_sha256Fingerprint));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -370,15 +370,15 @@
}), true);
res
.check(
- target_web_site: arg_target_web_site,
+ source_web_site: arg_source_web_site,
target_androidApp_packageName: arg_target_androidApp_packageName,
+ source_androidApp_certificate_sha256Fingerprint:
+ arg_source_androidApp_certificate_sha256Fingerprint,
relation: arg_relation,
target_androidApp_certificate_sha256Fingerprint:
arg_target_androidApp_certificate_sha256Fingerprint,
+ target_web_site: arg_target_web_site,
source_androidApp_packageName: arg_source_androidApp_packageName,
- source_web_site: arg_source_web_site,
- source_androidApp_certificate_sha256Fingerprint:
- arg_source_androidApp_certificate_sha256Fingerprint,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkCheckResponse(response);
@@ -391,9 +391,9 @@
var mock = new HttpServerMock();
api.StatementsResourceApi res =
new api.DigitalassetlinksApi(mock).statements;
+ var arg_source_web_site = "foo";
var arg_source_androidApp_packageName = "foo";
var arg_relation = "foo";
- var arg_source_web_site = "foo";
var arg_source_androidApp_certificate_sha256Fingerprint = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -426,12 +426,12 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ 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.web.site"].first,
- unittest.equals(arg_source_web_site));
unittest.expect(
queryMap["source.androidApp.certificate.sha256Fingerprint"].first,
unittest
@@ -446,9 +446,9 @@
}), true);
res
.list(
+ source_web_site: arg_source_web_site,
source_androidApp_packageName: arg_source_androidApp_packageName,
relation: arg_relation,
- source_web_site: arg_source_web_site,
source_androidApp_certificate_sha256Fingerprint:
arg_source_androidApp_certificate_sha256Fingerprint,
$fields: arg_$fields)
diff --git a/generated/googleapis/test/discovery/v1_test.dart b/generated/googleapis/test/discovery/v1_test.dart
index 29738b5..eb39ecb 100644
--- a/generated/googleapis/test/discovery/v1_test.dart
+++ b/generated/googleapis/test/discovery/v1_test.dart
@@ -71,14 +71,14 @@
buildCounterDirectoryListItemsIcons--;
}
-buildUnnamed5374() {
+buildUnnamed5350() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5374(core.List<core.String> o) {
+checkUnnamed5350(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -96,7 +96,7 @@
o.icons = buildDirectoryListItemsIcons();
o.id = "foo";
o.kind = "foo";
- o.labels = buildUnnamed5374();
+ o.labels = buildUnnamed5350();
o.name = "foo";
o.preferred = true;
o.title = "foo";
@@ -116,7 +116,7 @@
checkDirectoryListItemsIcons(o.icons);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed5374(o.labels);
+ checkUnnamed5350(o.labels);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.preferred, unittest.isTrue);
unittest.expect(o.title, unittest.equals('foo'));
@@ -125,14 +125,14 @@
buildCounterDirectoryListItems--;
}
-buildUnnamed5375() {
+buildUnnamed5351() {
var o = new core.List<api.DirectoryListItems>();
o.add(buildDirectoryListItems());
o.add(buildDirectoryListItems());
return o;
}
-checkUnnamed5375(core.List<api.DirectoryListItems> o) {
+checkUnnamed5351(core.List<api.DirectoryListItems> o) {
unittest.expect(o, unittest.hasLength(2));
checkDirectoryListItems(o[0]);
checkDirectoryListItems(o[1]);
@@ -144,7 +144,7 @@
buildCounterDirectoryList++;
if (buildCounterDirectoryList < 3) {
o.discoveryVersion = "foo";
- o.items = buildUnnamed5375();
+ o.items = buildUnnamed5351();
o.kind = "foo";
}
buildCounterDirectoryList--;
@@ -155,20 +155,20 @@
buildCounterDirectoryList++;
if (buildCounterDirectoryList < 3) {
unittest.expect(o.discoveryVersion, unittest.equals('foo'));
- checkUnnamed5375(o.items);
+ checkUnnamed5351(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterDirectoryList--;
}
-buildUnnamed5376() {
+buildUnnamed5352() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5376(core.List<core.String> o) {
+checkUnnamed5352(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -179,7 +179,7 @@
var o = new api.JsonSchemaAnnotations();
buildCounterJsonSchemaAnnotations++;
if (buildCounterJsonSchemaAnnotations < 3) {
- o.required = buildUnnamed5376();
+ o.required = buildUnnamed5352();
}
buildCounterJsonSchemaAnnotations--;
return o;
@@ -188,45 +188,45 @@
checkJsonSchemaAnnotations(api.JsonSchemaAnnotations o) {
buildCounterJsonSchemaAnnotations++;
if (buildCounterJsonSchemaAnnotations < 3) {
- checkUnnamed5376(o.required);
+ checkUnnamed5352(o.required);
}
buildCounterJsonSchemaAnnotations--;
}
-buildUnnamed5377() {
+buildUnnamed5353() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5377(core.List<core.String> o) {
+checkUnnamed5353(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed5378() {
+buildUnnamed5354() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5378(core.List<core.String> o) {
+checkUnnamed5354(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed5379() {
+buildUnnamed5355() {
var o = new core.Map<core.String, api.JsonSchema>();
o["x"] = buildJsonSchema();
o["y"] = buildJsonSchema();
return o;
}
-checkUnnamed5379(core.Map<core.String, api.JsonSchema> o) {
+checkUnnamed5355(core.Map<core.String, api.JsonSchema> o) {
unittest.expect(o, unittest.hasLength(2));
checkJsonSchema(o["x"]);
checkJsonSchema(o["y"]);
@@ -253,14 +253,14 @@
buildCounterJsonSchemaVariantMap--;
}
-buildUnnamed5380() {
+buildUnnamed5356() {
var o = new core.List<api.JsonSchemaVariantMap>();
o.add(buildJsonSchemaVariantMap());
o.add(buildJsonSchemaVariantMap());
return o;
}
-checkUnnamed5380(core.List<api.JsonSchemaVariantMap> o) {
+checkUnnamed5356(core.List<api.JsonSchemaVariantMap> o) {
unittest.expect(o, unittest.hasLength(2));
checkJsonSchemaVariantMap(o[0]);
checkJsonSchemaVariantMap(o[1]);
@@ -272,7 +272,7 @@
buildCounterJsonSchemaVariant++;
if (buildCounterJsonSchemaVariant < 3) {
o.discriminant = "foo";
- o.map = buildUnnamed5380();
+ o.map = buildUnnamed5356();
}
buildCounterJsonSchemaVariant--;
return o;
@@ -282,7 +282,7 @@
buildCounterJsonSchemaVariant++;
if (buildCounterJsonSchemaVariant < 3) {
unittest.expect(o.discriminant, unittest.equals('foo'));
- checkUnnamed5380(o.map);
+ checkUnnamed5356(o.map);
}
buildCounterJsonSchemaVariant--;
}
@@ -297,8 +297,8 @@
o.annotations = buildJsonSchemaAnnotations();
o.default_ = "foo";
o.description = "foo";
- o.enum_ = buildUnnamed5377();
- o.enumDescriptions = buildUnnamed5378();
+ o.enum_ = buildUnnamed5353();
+ o.enumDescriptions = buildUnnamed5354();
o.format = "foo";
o.id = "foo";
o.items = buildJsonSchema();
@@ -306,7 +306,7 @@
o.maximum = "foo";
o.minimum = "foo";
o.pattern = "foo";
- o.properties = buildUnnamed5379();
+ o.properties = buildUnnamed5355();
o.readOnly = true;
o.repeated = true;
o.required = true;
@@ -325,8 +325,8 @@
checkJsonSchemaAnnotations(o.annotations);
unittest.expect(o.default_, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed5377(o.enum_);
- checkUnnamed5378(o.enumDescriptions);
+ checkUnnamed5353(o.enum_);
+ checkUnnamed5354(o.enumDescriptions);
unittest.expect(o.format, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
checkJsonSchema(o.items);
@@ -334,7 +334,7 @@
unittest.expect(o.maximum, unittest.equals('foo'));
unittest.expect(o.minimum, unittest.equals('foo'));
unittest.expect(o.pattern, unittest.equals('foo'));
- checkUnnamed5379(o.properties);
+ checkUnnamed5355(o.properties);
unittest.expect(o.readOnly, unittest.isTrue);
unittest.expect(o.repeated, unittest.isTrue);
unittest.expect(o.required, unittest.isTrue);
@@ -364,14 +364,14 @@
buildCounterRestDescriptionAuthOauth2ScopesValue--;
}
-buildUnnamed5381() {
+buildUnnamed5357() {
var o = new core.Map<core.String, api.RestDescriptionAuthOauth2ScopesValue>();
o["x"] = buildRestDescriptionAuthOauth2ScopesValue();
o["y"] = buildRestDescriptionAuthOauth2ScopesValue();
return o;
}
-checkUnnamed5381(
+checkUnnamed5357(
core.Map<core.String, api.RestDescriptionAuthOauth2ScopesValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkRestDescriptionAuthOauth2ScopesValue(o["x"]);
@@ -383,7 +383,7 @@
var o = new api.RestDescriptionAuthOauth2();
buildCounterRestDescriptionAuthOauth2++;
if (buildCounterRestDescriptionAuthOauth2 < 3) {
- o.scopes = buildUnnamed5381();
+ o.scopes = buildUnnamed5357();
}
buildCounterRestDescriptionAuthOauth2--;
return o;
@@ -392,7 +392,7 @@
checkRestDescriptionAuthOauth2(api.RestDescriptionAuthOauth2 o) {
buildCounterRestDescriptionAuthOauth2++;
if (buildCounterRestDescriptionAuthOauth2 < 3) {
- checkUnnamed5381(o.scopes);
+ checkUnnamed5357(o.scopes);
}
buildCounterRestDescriptionAuthOauth2--;
}
@@ -416,14 +416,14 @@
buildCounterRestDescriptionAuth--;
}
-buildUnnamed5382() {
+buildUnnamed5358() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5382(core.List<core.String> o) {
+checkUnnamed5358(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -450,66 +450,66 @@
buildCounterRestDescriptionIcons--;
}
-buildUnnamed5383() {
+buildUnnamed5359() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5383(core.List<core.String> o) {
+checkUnnamed5359(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed5384() {
+buildUnnamed5360() {
var o = new core.Map<core.String, api.RestMethod>();
o["x"] = buildRestMethod();
o["y"] = buildRestMethod();
return o;
}
-checkUnnamed5384(core.Map<core.String, api.RestMethod> o) {
+checkUnnamed5360(core.Map<core.String, api.RestMethod> o) {
unittest.expect(o, unittest.hasLength(2));
checkRestMethod(o["x"]);
checkRestMethod(o["y"]);
}
-buildUnnamed5385() {
+buildUnnamed5361() {
var o = new core.Map<core.String, api.JsonSchema>();
o["x"] = buildJsonSchema();
o["y"] = buildJsonSchema();
return o;
}
-checkUnnamed5385(core.Map<core.String, api.JsonSchema> o) {
+checkUnnamed5361(core.Map<core.String, api.JsonSchema> o) {
unittest.expect(o, unittest.hasLength(2));
checkJsonSchema(o["x"]);
checkJsonSchema(o["y"]);
}
-buildUnnamed5386() {
+buildUnnamed5362() {
var o = new core.Map<core.String, api.RestResource>();
o["x"] = buildRestResource();
o["y"] = buildRestResource();
return o;
}
-checkUnnamed5386(core.Map<core.String, api.RestResource> o) {
+checkUnnamed5362(core.Map<core.String, api.RestResource> o) {
unittest.expect(o, unittest.hasLength(2));
checkRestResource(o["x"]);
checkRestResource(o["y"]);
}
-buildUnnamed5387() {
+buildUnnamed5363() {
var o = new core.Map<core.String, api.JsonSchema>();
o["x"] = buildJsonSchema();
o["y"] = buildJsonSchema();
return o;
}
-checkUnnamed5387(core.Map<core.String, api.JsonSchema> o) {
+checkUnnamed5363(core.Map<core.String, api.JsonSchema> o) {
unittest.expect(o, unittest.hasLength(2));
checkJsonSchema(o["x"]);
checkJsonSchema(o["y"]);
@@ -530,22 +530,22 @@
o.documentationLink = "foo";
o.etag = "foo";
o.exponentialBackoffDefault = true;
- o.features = buildUnnamed5382();
+ o.features = buildUnnamed5358();
o.icons = buildRestDescriptionIcons();
o.id = "foo";
o.kind = "foo";
- o.labels = buildUnnamed5383();
- o.methods = buildUnnamed5384();
+ o.labels = buildUnnamed5359();
+ o.methods = buildUnnamed5360();
o.name = "foo";
o.ownerDomain = "foo";
o.ownerName = "foo";
o.packagePath = "foo";
- o.parameters = buildUnnamed5385();
+ o.parameters = buildUnnamed5361();
o.protocol = "foo";
- o.resources = buildUnnamed5386();
+ o.resources = buildUnnamed5362();
o.revision = "foo";
o.rootUrl = "foo";
- o.schemas = buildUnnamed5387();
+ o.schemas = buildUnnamed5363();
o.servicePath = "foo";
o.title = "foo";
o.version = "foo";
@@ -568,22 +568,22 @@
unittest.expect(o.documentationLink, unittest.equals('foo'));
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.exponentialBackoffDefault, unittest.isTrue);
- checkUnnamed5382(o.features);
+ checkUnnamed5358(o.features);
checkRestDescriptionIcons(o.icons);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed5383(o.labels);
- checkUnnamed5384(o.methods);
+ checkUnnamed5359(o.labels);
+ checkUnnamed5360(o.methods);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.ownerDomain, unittest.equals('foo'));
unittest.expect(o.ownerName, unittest.equals('foo'));
unittest.expect(o.packagePath, unittest.equals('foo'));
- checkUnnamed5385(o.parameters);
+ checkUnnamed5361(o.parameters);
unittest.expect(o.protocol, unittest.equals('foo'));
- checkUnnamed5386(o.resources);
+ checkUnnamed5362(o.resources);
unittest.expect(o.revision, unittest.equals('foo'));
unittest.expect(o.rootUrl, unittest.equals('foo'));
- checkUnnamed5387(o.schemas);
+ checkUnnamed5363(o.schemas);
unittest.expect(o.servicePath, unittest.equals('foo'));
unittest.expect(o.title, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals('foo'));
@@ -592,14 +592,14 @@
buildCounterRestDescription--;
}
-buildUnnamed5388() {
+buildUnnamed5364() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5388(core.List<core.String> o) {
+checkUnnamed5364(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -675,7 +675,7 @@
var o = new api.RestMethodMediaUpload();
buildCounterRestMethodMediaUpload++;
if (buildCounterRestMethodMediaUpload < 3) {
- o.accept = buildUnnamed5388();
+ o.accept = buildUnnamed5364();
o.maxSize = "foo";
o.protocols = buildRestMethodMediaUploadProtocols();
}
@@ -686,34 +686,34 @@
checkRestMethodMediaUpload(api.RestMethodMediaUpload o) {
buildCounterRestMethodMediaUpload++;
if (buildCounterRestMethodMediaUpload < 3) {
- checkUnnamed5388(o.accept);
+ checkUnnamed5364(o.accept);
unittest.expect(o.maxSize, unittest.equals('foo'));
checkRestMethodMediaUploadProtocols(o.protocols);
}
buildCounterRestMethodMediaUpload--;
}
-buildUnnamed5389() {
+buildUnnamed5365() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5389(core.List<core.String> o) {
+checkUnnamed5365(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed5390() {
+buildUnnamed5366() {
var o = new core.Map<core.String, api.JsonSchema>();
o["x"] = buildJsonSchema();
o["y"] = buildJsonSchema();
return o;
}
-checkUnnamed5390(core.Map<core.String, api.JsonSchema> o) {
+checkUnnamed5366(core.Map<core.String, api.JsonSchema> o) {
unittest.expect(o, unittest.hasLength(2));
checkJsonSchema(o["x"]);
checkJsonSchema(o["y"]);
@@ -759,14 +759,14 @@
buildCounterRestMethodResponse--;
}
-buildUnnamed5391() {
+buildUnnamed5367() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5391(core.List<core.String> o) {
+checkUnnamed5367(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -782,12 +782,12 @@
o.httpMethod = "foo";
o.id = "foo";
o.mediaUpload = buildRestMethodMediaUpload();
- o.parameterOrder = buildUnnamed5389();
- o.parameters = buildUnnamed5390();
+ o.parameterOrder = buildUnnamed5365();
+ o.parameters = buildUnnamed5366();
o.path = "foo";
o.request = buildRestMethodRequest();
o.response = buildRestMethodResponse();
- o.scopes = buildUnnamed5391();
+ o.scopes = buildUnnamed5367();
o.supportsMediaDownload = true;
o.supportsMediaUpload = true;
o.supportsSubscription = true;
@@ -805,12 +805,12 @@
unittest.expect(o.httpMethod, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
checkRestMethodMediaUpload(o.mediaUpload);
- checkUnnamed5389(o.parameterOrder);
- checkUnnamed5390(o.parameters);
+ checkUnnamed5365(o.parameterOrder);
+ checkUnnamed5366(o.parameters);
unittest.expect(o.path, unittest.equals('foo'));
checkRestMethodRequest(o.request);
checkRestMethodResponse(o.response);
- checkUnnamed5391(o.scopes);
+ checkUnnamed5367(o.scopes);
unittest.expect(o.supportsMediaDownload, unittest.isTrue);
unittest.expect(o.supportsMediaUpload, unittest.isTrue);
unittest.expect(o.supportsSubscription, unittest.isTrue);
@@ -819,27 +819,27 @@
buildCounterRestMethod--;
}
-buildUnnamed5392() {
+buildUnnamed5368() {
var o = new core.Map<core.String, api.RestMethod>();
o["x"] = buildRestMethod();
o["y"] = buildRestMethod();
return o;
}
-checkUnnamed5392(core.Map<core.String, api.RestMethod> o) {
+checkUnnamed5368(core.Map<core.String, api.RestMethod> o) {
unittest.expect(o, unittest.hasLength(2));
checkRestMethod(o["x"]);
checkRestMethod(o["y"]);
}
-buildUnnamed5393() {
+buildUnnamed5369() {
var o = new core.Map<core.String, api.RestResource>();
o["x"] = buildRestResource();
o["y"] = buildRestResource();
return o;
}
-checkUnnamed5393(core.Map<core.String, api.RestResource> o) {
+checkUnnamed5369(core.Map<core.String, api.RestResource> o) {
unittest.expect(o, unittest.hasLength(2));
checkRestResource(o["x"]);
checkRestResource(o["y"]);
@@ -850,8 +850,8 @@
var o = new api.RestResource();
buildCounterRestResource++;
if (buildCounterRestResource < 3) {
- o.methods = buildUnnamed5392();
- o.resources = buildUnnamed5393();
+ o.methods = buildUnnamed5368();
+ o.resources = buildUnnamed5369();
}
buildCounterRestResource--;
return o;
@@ -860,8 +860,8 @@
checkRestResource(api.RestResource o) {
buildCounterRestResource++;
if (buildCounterRestResource < 3) {
- checkUnnamed5392(o.methods);
- checkUnnamed5393(o.resources);
+ checkUnnamed5368(o.methods);
+ checkUnnamed5369(o.resources);
}
buildCounterRestResource--;
}
@@ -1106,8 +1106,8 @@
unittest.test("method--list", () {
var mock = new HttpServerMock();
api.ApisResourceApi res = new api.DiscoveryApi(mock).apis;
- var arg_preferred = true;
var arg_name = "foo";
+ var arg_preferred = true;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1142,9 +1142,9 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["name"].first, unittest.equals(arg_name));
unittest.expect(
queryMap["preferred"].first, unittest.equals("$arg_preferred"));
- unittest.expect(queryMap["name"].first, unittest.equals(arg_name));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1154,7 +1154,7 @@
return new async.Future.value(stringResponse(200, h, resp));
}), true);
res
- .list(preferred: arg_preferred, name: arg_name, $fields: arg_$fields)
+ .list(name: arg_name, preferred: arg_preferred, $fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkDirectoryList(response);
})));
diff --git a/generated/googleapis/test/displayvideo/v1_test.dart b/generated/googleapis/test/displayvideo/v1_test.dart
index 3f7d49f..8db040a 100644
--- a/generated/googleapis/test/displayvideo/v1_test.dart
+++ b/generated/googleapis/test/displayvideo/v1_test.dart
@@ -78,14 +78,14 @@
buildCounterActiveViewVideoViewabilityMetricConfig--;
}
-buildUnnamed4198() {
+buildUnnamed4205() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4198(core.List<core.String> o) {
+checkUnnamed4205(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -96,7 +96,7 @@
var o = new api.Adloox();
buildCounterAdloox++;
if (buildCounterAdloox < 3) {
- o.excludedAdlooxCategories = buildUnnamed4198();
+ o.excludedAdlooxCategories = buildUnnamed4205();
}
buildCounterAdloox--;
return o;
@@ -105,7 +105,7 @@
checkAdloox(api.Adloox o) {
buildCounterAdloox++;
if (buildCounterAdloox < 3) {
- checkUnnamed4198(o.excludedAdlooxCategories);
+ checkUnnamed4205(o.excludedAdlooxCategories);
}
buildCounterAdloox--;
}
@@ -635,14 +635,14 @@
buildCounterAssignedUserRole--;
}
-buildUnnamed4199() {
+buildUnnamed4206() {
var o = new core.List<api.FirstAndThirdPartyAudienceGroup>();
o.add(buildFirstAndThirdPartyAudienceGroup());
o.add(buildFirstAndThirdPartyAudienceGroup());
return o;
}
-checkUnnamed4199(core.List<api.FirstAndThirdPartyAudienceGroup> o) {
+checkUnnamed4206(core.List<api.FirstAndThirdPartyAudienceGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkFirstAndThirdPartyAudienceGroup(o[0]);
checkFirstAndThirdPartyAudienceGroup(o[1]);
@@ -658,7 +658,7 @@
o.excludedGoogleAudienceGroup = buildGoogleAudienceGroup();
o.includedCombinedAudienceGroup = buildCombinedAudienceGroup();
o.includedCustomListGroup = buildCustomListGroup();
- o.includedFirstAndThirdPartyAudienceGroups = buildUnnamed4199();
+ o.includedFirstAndThirdPartyAudienceGroups = buildUnnamed4206();
o.includedGoogleAudienceGroup = buildGoogleAudienceGroup();
}
buildCounterAudienceGroupAssignedTargetingOptionDetails--;
@@ -674,7 +674,7 @@
checkGoogleAudienceGroup(o.excludedGoogleAudienceGroup);
checkCombinedAudienceGroup(o.includedCombinedAudienceGroup);
checkCustomListGroup(o.includedCustomListGroup);
- checkUnnamed4199(o.includedFirstAndThirdPartyAudienceGroups);
+ checkUnnamed4206(o.includedFirstAndThirdPartyAudienceGroups);
checkGoogleAudienceGroup(o.includedGoogleAudienceGroup);
}
buildCounterAudienceGroupAssignedTargetingOptionDetails--;
@@ -842,27 +842,27 @@
buildCounterBrowserTargetingOptionDetails--;
}
-buildUnnamed4200() {
+buildUnnamed4207() {
var o = new core.List<api.CreateAssignedTargetingOptionsRequest>();
o.add(buildCreateAssignedTargetingOptionsRequest());
o.add(buildCreateAssignedTargetingOptionsRequest());
return o;
}
-checkUnnamed4200(core.List<api.CreateAssignedTargetingOptionsRequest> o) {
+checkUnnamed4207(core.List<api.CreateAssignedTargetingOptionsRequest> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreateAssignedTargetingOptionsRequest(o[0]);
checkCreateAssignedTargetingOptionsRequest(o[1]);
}
-buildUnnamed4201() {
+buildUnnamed4208() {
var o = new core.List<api.DeleteAssignedTargetingOptionsRequest>();
o.add(buildDeleteAssignedTargetingOptionsRequest());
o.add(buildDeleteAssignedTargetingOptionsRequest());
return o;
}
-checkUnnamed4201(core.List<api.DeleteAssignedTargetingOptionsRequest> o) {
+checkUnnamed4208(core.List<api.DeleteAssignedTargetingOptionsRequest> o) {
unittest.expect(o, unittest.hasLength(2));
checkDeleteAssignedTargetingOptionsRequest(o[0]);
checkDeleteAssignedTargetingOptionsRequest(o[1]);
@@ -873,8 +873,8 @@
var o = new api.BulkEditAdvertiserAssignedTargetingOptionsRequest();
buildCounterBulkEditAdvertiserAssignedTargetingOptionsRequest++;
if (buildCounterBulkEditAdvertiserAssignedTargetingOptionsRequest < 3) {
- o.createRequests = buildUnnamed4200();
- o.deleteRequests = buildUnnamed4201();
+ o.createRequests = buildUnnamed4207();
+ o.deleteRequests = buildUnnamed4208();
}
buildCounterBulkEditAdvertiserAssignedTargetingOptionsRequest--;
return o;
@@ -884,20 +884,20 @@
api.BulkEditAdvertiserAssignedTargetingOptionsRequest o) {
buildCounterBulkEditAdvertiserAssignedTargetingOptionsRequest++;
if (buildCounterBulkEditAdvertiserAssignedTargetingOptionsRequest < 3) {
- checkUnnamed4200(o.createRequests);
- checkUnnamed4201(o.deleteRequests);
+ checkUnnamed4207(o.createRequests);
+ checkUnnamed4208(o.deleteRequests);
}
buildCounterBulkEditAdvertiserAssignedTargetingOptionsRequest--;
}
-buildUnnamed4202() {
+buildUnnamed4209() {
var o = new core.List<api.AssignedTargetingOption>();
o.add(buildAssignedTargetingOption());
o.add(buildAssignedTargetingOption());
return o;
}
-checkUnnamed4202(core.List<api.AssignedTargetingOption> o) {
+checkUnnamed4209(core.List<api.AssignedTargetingOption> o) {
unittest.expect(o, unittest.hasLength(2));
checkAssignedTargetingOption(o[0]);
checkAssignedTargetingOption(o[1]);
@@ -908,7 +908,7 @@
var o = new api.BulkEditAdvertiserAssignedTargetingOptionsResponse();
buildCounterBulkEditAdvertiserAssignedTargetingOptionsResponse++;
if (buildCounterBulkEditAdvertiserAssignedTargetingOptionsResponse < 3) {
- o.createdAssignedTargetingOptions = buildUnnamed4202();
+ o.createdAssignedTargetingOptions = buildUnnamed4209();
}
buildCounterBulkEditAdvertiserAssignedTargetingOptionsResponse--;
return o;
@@ -918,32 +918,32 @@
api.BulkEditAdvertiserAssignedTargetingOptionsResponse o) {
buildCounterBulkEditAdvertiserAssignedTargetingOptionsResponse++;
if (buildCounterBulkEditAdvertiserAssignedTargetingOptionsResponse < 3) {
- checkUnnamed4202(o.createdAssignedTargetingOptions);
+ checkUnnamed4209(o.createdAssignedTargetingOptions);
}
buildCounterBulkEditAdvertiserAssignedTargetingOptionsResponse--;
}
-buildUnnamed4203() {
+buildUnnamed4210() {
var o = new core.List<api.AssignedInventorySource>();
o.add(buildAssignedInventorySource());
o.add(buildAssignedInventorySource());
return o;
}
-checkUnnamed4203(core.List<api.AssignedInventorySource> o) {
+checkUnnamed4210(core.List<api.AssignedInventorySource> o) {
unittest.expect(o, unittest.hasLength(2));
checkAssignedInventorySource(o[0]);
checkAssignedInventorySource(o[1]);
}
-buildUnnamed4204() {
+buildUnnamed4211() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4204(core.List<core.String> o) {
+checkUnnamed4211(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -955,8 +955,8 @@
buildCounterBulkEditAssignedInventorySourcesRequest++;
if (buildCounterBulkEditAssignedInventorySourcesRequest < 3) {
o.advertiserId = "foo";
- o.createdAssignedInventorySources = buildUnnamed4203();
- o.deletedAssignedInventorySources = buildUnnamed4204();
+ o.createdAssignedInventorySources = buildUnnamed4210();
+ o.deletedAssignedInventorySources = buildUnnamed4211();
o.partnerId = "foo";
}
buildCounterBulkEditAssignedInventorySourcesRequest--;
@@ -968,21 +968,21 @@
buildCounterBulkEditAssignedInventorySourcesRequest++;
if (buildCounterBulkEditAssignedInventorySourcesRequest < 3) {
unittest.expect(o.advertiserId, unittest.equals('foo'));
- checkUnnamed4203(o.createdAssignedInventorySources);
- checkUnnamed4204(o.deletedAssignedInventorySources);
+ checkUnnamed4210(o.createdAssignedInventorySources);
+ checkUnnamed4211(o.deletedAssignedInventorySources);
unittest.expect(o.partnerId, unittest.equals('foo'));
}
buildCounterBulkEditAssignedInventorySourcesRequest--;
}
-buildUnnamed4205() {
+buildUnnamed4212() {
var o = new core.List<api.AssignedInventorySource>();
o.add(buildAssignedInventorySource());
o.add(buildAssignedInventorySource());
return o;
}
-checkUnnamed4205(core.List<api.AssignedInventorySource> o) {
+checkUnnamed4212(core.List<api.AssignedInventorySource> o) {
unittest.expect(o, unittest.hasLength(2));
checkAssignedInventorySource(o[0]);
checkAssignedInventorySource(o[1]);
@@ -993,7 +993,7 @@
var o = new api.BulkEditAssignedInventorySourcesResponse();
buildCounterBulkEditAssignedInventorySourcesResponse++;
if (buildCounterBulkEditAssignedInventorySourcesResponse < 3) {
- o.assignedInventorySources = buildUnnamed4205();
+ o.assignedInventorySources = buildUnnamed4212();
}
buildCounterBulkEditAssignedInventorySourcesResponse--;
return o;
@@ -1003,32 +1003,32 @@
api.BulkEditAssignedInventorySourcesResponse o) {
buildCounterBulkEditAssignedInventorySourcesResponse++;
if (buildCounterBulkEditAssignedInventorySourcesResponse < 3) {
- checkUnnamed4205(o.assignedInventorySources);
+ checkUnnamed4212(o.assignedInventorySources);
}
buildCounterBulkEditAssignedInventorySourcesResponse--;
}
-buildUnnamed4206() {
+buildUnnamed4213() {
var o = new core.List<api.AssignedLocation>();
o.add(buildAssignedLocation());
o.add(buildAssignedLocation());
return o;
}
-checkUnnamed4206(core.List<api.AssignedLocation> o) {
+checkUnnamed4213(core.List<api.AssignedLocation> o) {
unittest.expect(o, unittest.hasLength(2));
checkAssignedLocation(o[0]);
checkAssignedLocation(o[1]);
}
-buildUnnamed4207() {
+buildUnnamed4214() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4207(core.List<core.String> o) {
+checkUnnamed4214(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1039,8 +1039,8 @@
var o = new api.BulkEditAssignedLocationsRequest();
buildCounterBulkEditAssignedLocationsRequest++;
if (buildCounterBulkEditAssignedLocationsRequest < 3) {
- o.createdAssignedLocations = buildUnnamed4206();
- o.deletedAssignedLocations = buildUnnamed4207();
+ o.createdAssignedLocations = buildUnnamed4213();
+ o.deletedAssignedLocations = buildUnnamed4214();
}
buildCounterBulkEditAssignedLocationsRequest--;
return o;
@@ -1049,20 +1049,20 @@
checkBulkEditAssignedLocationsRequest(api.BulkEditAssignedLocationsRequest o) {
buildCounterBulkEditAssignedLocationsRequest++;
if (buildCounterBulkEditAssignedLocationsRequest < 3) {
- checkUnnamed4206(o.createdAssignedLocations);
- checkUnnamed4207(o.deletedAssignedLocations);
+ checkUnnamed4213(o.createdAssignedLocations);
+ checkUnnamed4214(o.deletedAssignedLocations);
}
buildCounterBulkEditAssignedLocationsRequest--;
}
-buildUnnamed4208() {
+buildUnnamed4215() {
var o = new core.List<api.AssignedLocation>();
o.add(buildAssignedLocation());
o.add(buildAssignedLocation());
return o;
}
-checkUnnamed4208(core.List<api.AssignedLocation> o) {
+checkUnnamed4215(core.List<api.AssignedLocation> o) {
unittest.expect(o, unittest.hasLength(2));
checkAssignedLocation(o[0]);
checkAssignedLocation(o[1]);
@@ -1073,7 +1073,7 @@
var o = new api.BulkEditAssignedLocationsResponse();
buildCounterBulkEditAssignedLocationsResponse++;
if (buildCounterBulkEditAssignedLocationsResponse < 3) {
- o.assignedLocations = buildUnnamed4208();
+ o.assignedLocations = buildUnnamed4215();
}
buildCounterBulkEditAssignedLocationsResponse--;
return o;
@@ -1083,32 +1083,32 @@
api.BulkEditAssignedLocationsResponse o) {
buildCounterBulkEditAssignedLocationsResponse++;
if (buildCounterBulkEditAssignedLocationsResponse < 3) {
- checkUnnamed4208(o.assignedLocations);
+ checkUnnamed4215(o.assignedLocations);
}
buildCounterBulkEditAssignedLocationsResponse--;
}
-buildUnnamed4209() {
+buildUnnamed4216() {
var o = new core.List<api.AssignedUserRole>();
o.add(buildAssignedUserRole());
o.add(buildAssignedUserRole());
return o;
}
-checkUnnamed4209(core.List<api.AssignedUserRole> o) {
+checkUnnamed4216(core.List<api.AssignedUserRole> o) {
unittest.expect(o, unittest.hasLength(2));
checkAssignedUserRole(o[0]);
checkAssignedUserRole(o[1]);
}
-buildUnnamed4210() {
+buildUnnamed4217() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4210(core.List<core.String> o) {
+checkUnnamed4217(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1119,8 +1119,8 @@
var o = new api.BulkEditAssignedUserRolesRequest();
buildCounterBulkEditAssignedUserRolesRequest++;
if (buildCounterBulkEditAssignedUserRolesRequest < 3) {
- o.createdAssignedUserRoles = buildUnnamed4209();
- o.deletedAssignedUserRoles = buildUnnamed4210();
+ o.createdAssignedUserRoles = buildUnnamed4216();
+ o.deletedAssignedUserRoles = buildUnnamed4217();
}
buildCounterBulkEditAssignedUserRolesRequest--;
return o;
@@ -1129,20 +1129,20 @@
checkBulkEditAssignedUserRolesRequest(api.BulkEditAssignedUserRolesRequest o) {
buildCounterBulkEditAssignedUserRolesRequest++;
if (buildCounterBulkEditAssignedUserRolesRequest < 3) {
- checkUnnamed4209(o.createdAssignedUserRoles);
- checkUnnamed4210(o.deletedAssignedUserRoles);
+ checkUnnamed4216(o.createdAssignedUserRoles);
+ checkUnnamed4217(o.deletedAssignedUserRoles);
}
buildCounterBulkEditAssignedUserRolesRequest--;
}
-buildUnnamed4211() {
+buildUnnamed4218() {
var o = new core.List<api.AssignedUserRole>();
o.add(buildAssignedUserRole());
o.add(buildAssignedUserRole());
return o;
}
-checkUnnamed4211(core.List<api.AssignedUserRole> o) {
+checkUnnamed4218(core.List<api.AssignedUserRole> o) {
unittest.expect(o, unittest.hasLength(2));
checkAssignedUserRole(o[0]);
checkAssignedUserRole(o[1]);
@@ -1153,7 +1153,7 @@
var o = new api.BulkEditAssignedUserRolesResponse();
buildCounterBulkEditAssignedUserRolesResponse++;
if (buildCounterBulkEditAssignedUserRolesResponse < 3) {
- o.createdAssignedUserRoles = buildUnnamed4211();
+ o.createdAssignedUserRoles = buildUnnamed4218();
}
buildCounterBulkEditAssignedUserRolesResponse--;
return o;
@@ -1163,32 +1163,32 @@
api.BulkEditAssignedUserRolesResponse o) {
buildCounterBulkEditAssignedUserRolesResponse++;
if (buildCounterBulkEditAssignedUserRolesResponse < 3) {
- checkUnnamed4211(o.createdAssignedUserRoles);
+ checkUnnamed4218(o.createdAssignedUserRoles);
}
buildCounterBulkEditAssignedUserRolesResponse--;
}
-buildUnnamed4212() {
+buildUnnamed4219() {
var o = new core.List<api.CreateAssignedTargetingOptionsRequest>();
o.add(buildCreateAssignedTargetingOptionsRequest());
o.add(buildCreateAssignedTargetingOptionsRequest());
return o;
}
-checkUnnamed4212(core.List<api.CreateAssignedTargetingOptionsRequest> o) {
+checkUnnamed4219(core.List<api.CreateAssignedTargetingOptionsRequest> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreateAssignedTargetingOptionsRequest(o[0]);
checkCreateAssignedTargetingOptionsRequest(o[1]);
}
-buildUnnamed4213() {
+buildUnnamed4220() {
var o = new core.List<api.DeleteAssignedTargetingOptionsRequest>();
o.add(buildDeleteAssignedTargetingOptionsRequest());
o.add(buildDeleteAssignedTargetingOptionsRequest());
return o;
}
-checkUnnamed4213(core.List<api.DeleteAssignedTargetingOptionsRequest> o) {
+checkUnnamed4220(core.List<api.DeleteAssignedTargetingOptionsRequest> o) {
unittest.expect(o, unittest.hasLength(2));
checkDeleteAssignedTargetingOptionsRequest(o[0]);
checkDeleteAssignedTargetingOptionsRequest(o[1]);
@@ -1199,8 +1199,8 @@
var o = new api.BulkEditLineItemAssignedTargetingOptionsRequest();
buildCounterBulkEditLineItemAssignedTargetingOptionsRequest++;
if (buildCounterBulkEditLineItemAssignedTargetingOptionsRequest < 3) {
- o.createRequests = buildUnnamed4212();
- o.deleteRequests = buildUnnamed4213();
+ o.createRequests = buildUnnamed4219();
+ o.deleteRequests = buildUnnamed4220();
}
buildCounterBulkEditLineItemAssignedTargetingOptionsRequest--;
return o;
@@ -1210,20 +1210,20 @@
api.BulkEditLineItemAssignedTargetingOptionsRequest o) {
buildCounterBulkEditLineItemAssignedTargetingOptionsRequest++;
if (buildCounterBulkEditLineItemAssignedTargetingOptionsRequest < 3) {
- checkUnnamed4212(o.createRequests);
- checkUnnamed4213(o.deleteRequests);
+ checkUnnamed4219(o.createRequests);
+ checkUnnamed4220(o.deleteRequests);
}
buildCounterBulkEditLineItemAssignedTargetingOptionsRequest--;
}
-buildUnnamed4214() {
+buildUnnamed4221() {
var o = new core.List<api.AssignedTargetingOption>();
o.add(buildAssignedTargetingOption());
o.add(buildAssignedTargetingOption());
return o;
}
-checkUnnamed4214(core.List<api.AssignedTargetingOption> o) {
+checkUnnamed4221(core.List<api.AssignedTargetingOption> o) {
unittest.expect(o, unittest.hasLength(2));
checkAssignedTargetingOption(o[0]);
checkAssignedTargetingOption(o[1]);
@@ -1234,7 +1234,7 @@
var o = new api.BulkEditLineItemAssignedTargetingOptionsResponse();
buildCounterBulkEditLineItemAssignedTargetingOptionsResponse++;
if (buildCounterBulkEditLineItemAssignedTargetingOptionsResponse < 3) {
- o.createdAssignedTargetingOptions = buildUnnamed4214();
+ o.createdAssignedTargetingOptions = buildUnnamed4221();
}
buildCounterBulkEditLineItemAssignedTargetingOptionsResponse--;
return o;
@@ -1244,32 +1244,32 @@
api.BulkEditLineItemAssignedTargetingOptionsResponse o) {
buildCounterBulkEditLineItemAssignedTargetingOptionsResponse++;
if (buildCounterBulkEditLineItemAssignedTargetingOptionsResponse < 3) {
- checkUnnamed4214(o.createdAssignedTargetingOptions);
+ checkUnnamed4221(o.createdAssignedTargetingOptions);
}
buildCounterBulkEditLineItemAssignedTargetingOptionsResponse--;
}
-buildUnnamed4215() {
+buildUnnamed4222() {
var o = new core.List<api.NegativeKeyword>();
o.add(buildNegativeKeyword());
o.add(buildNegativeKeyword());
return o;
}
-checkUnnamed4215(core.List<api.NegativeKeyword> o) {
+checkUnnamed4222(core.List<api.NegativeKeyword> o) {
unittest.expect(o, unittest.hasLength(2));
checkNegativeKeyword(o[0]);
checkNegativeKeyword(o[1]);
}
-buildUnnamed4216() {
+buildUnnamed4223() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4216(core.List<core.String> o) {
+checkUnnamed4223(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1280,8 +1280,8 @@
var o = new api.BulkEditNegativeKeywordsRequest();
buildCounterBulkEditNegativeKeywordsRequest++;
if (buildCounterBulkEditNegativeKeywordsRequest < 3) {
- o.createdNegativeKeywords = buildUnnamed4215();
- o.deletedNegativeKeywords = buildUnnamed4216();
+ o.createdNegativeKeywords = buildUnnamed4222();
+ o.deletedNegativeKeywords = buildUnnamed4223();
}
buildCounterBulkEditNegativeKeywordsRequest--;
return o;
@@ -1290,20 +1290,20 @@
checkBulkEditNegativeKeywordsRequest(api.BulkEditNegativeKeywordsRequest o) {
buildCounterBulkEditNegativeKeywordsRequest++;
if (buildCounterBulkEditNegativeKeywordsRequest < 3) {
- checkUnnamed4215(o.createdNegativeKeywords);
- checkUnnamed4216(o.deletedNegativeKeywords);
+ checkUnnamed4222(o.createdNegativeKeywords);
+ checkUnnamed4223(o.deletedNegativeKeywords);
}
buildCounterBulkEditNegativeKeywordsRequest--;
}
-buildUnnamed4217() {
+buildUnnamed4224() {
var o = new core.List<api.NegativeKeyword>();
o.add(buildNegativeKeyword());
o.add(buildNegativeKeyword());
return o;
}
-checkUnnamed4217(core.List<api.NegativeKeyword> o) {
+checkUnnamed4224(core.List<api.NegativeKeyword> o) {
unittest.expect(o, unittest.hasLength(2));
checkNegativeKeyword(o[0]);
checkNegativeKeyword(o[1]);
@@ -1314,7 +1314,7 @@
var o = new api.BulkEditNegativeKeywordsResponse();
buildCounterBulkEditNegativeKeywordsResponse++;
if (buildCounterBulkEditNegativeKeywordsResponse < 3) {
- o.negativeKeywords = buildUnnamed4217();
+ o.negativeKeywords = buildUnnamed4224();
}
buildCounterBulkEditNegativeKeywordsResponse--;
return o;
@@ -1323,32 +1323,32 @@
checkBulkEditNegativeKeywordsResponse(api.BulkEditNegativeKeywordsResponse o) {
buildCounterBulkEditNegativeKeywordsResponse++;
if (buildCounterBulkEditNegativeKeywordsResponse < 3) {
- checkUnnamed4217(o.negativeKeywords);
+ checkUnnamed4224(o.negativeKeywords);
}
buildCounterBulkEditNegativeKeywordsResponse--;
}
-buildUnnamed4218() {
+buildUnnamed4225() {
var o = new core.List<api.CreateAssignedTargetingOptionsRequest>();
o.add(buildCreateAssignedTargetingOptionsRequest());
o.add(buildCreateAssignedTargetingOptionsRequest());
return o;
}
-checkUnnamed4218(core.List<api.CreateAssignedTargetingOptionsRequest> o) {
+checkUnnamed4225(core.List<api.CreateAssignedTargetingOptionsRequest> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreateAssignedTargetingOptionsRequest(o[0]);
checkCreateAssignedTargetingOptionsRequest(o[1]);
}
-buildUnnamed4219() {
+buildUnnamed4226() {
var o = new core.List<api.DeleteAssignedTargetingOptionsRequest>();
o.add(buildDeleteAssignedTargetingOptionsRequest());
o.add(buildDeleteAssignedTargetingOptionsRequest());
return o;
}
-checkUnnamed4219(core.List<api.DeleteAssignedTargetingOptionsRequest> o) {
+checkUnnamed4226(core.List<api.DeleteAssignedTargetingOptionsRequest> o) {
unittest.expect(o, unittest.hasLength(2));
checkDeleteAssignedTargetingOptionsRequest(o[0]);
checkDeleteAssignedTargetingOptionsRequest(o[1]);
@@ -1359,8 +1359,8 @@
var o = new api.BulkEditPartnerAssignedTargetingOptionsRequest();
buildCounterBulkEditPartnerAssignedTargetingOptionsRequest++;
if (buildCounterBulkEditPartnerAssignedTargetingOptionsRequest < 3) {
- o.createRequests = buildUnnamed4218();
- o.deleteRequests = buildUnnamed4219();
+ o.createRequests = buildUnnamed4225();
+ o.deleteRequests = buildUnnamed4226();
}
buildCounterBulkEditPartnerAssignedTargetingOptionsRequest--;
return o;
@@ -1370,20 +1370,20 @@
api.BulkEditPartnerAssignedTargetingOptionsRequest o) {
buildCounterBulkEditPartnerAssignedTargetingOptionsRequest++;
if (buildCounterBulkEditPartnerAssignedTargetingOptionsRequest < 3) {
- checkUnnamed4218(o.createRequests);
- checkUnnamed4219(o.deleteRequests);
+ checkUnnamed4225(o.createRequests);
+ checkUnnamed4226(o.deleteRequests);
}
buildCounterBulkEditPartnerAssignedTargetingOptionsRequest--;
}
-buildUnnamed4220() {
+buildUnnamed4227() {
var o = new core.List<api.AssignedTargetingOption>();
o.add(buildAssignedTargetingOption());
o.add(buildAssignedTargetingOption());
return o;
}
-checkUnnamed4220(core.List<api.AssignedTargetingOption> o) {
+checkUnnamed4227(core.List<api.AssignedTargetingOption> o) {
unittest.expect(o, unittest.hasLength(2));
checkAssignedTargetingOption(o[0]);
checkAssignedTargetingOption(o[1]);
@@ -1394,7 +1394,7 @@
var o = new api.BulkEditPartnerAssignedTargetingOptionsResponse();
buildCounterBulkEditPartnerAssignedTargetingOptionsResponse++;
if (buildCounterBulkEditPartnerAssignedTargetingOptionsResponse < 3) {
- o.createdAssignedTargetingOptions = buildUnnamed4220();
+ o.createdAssignedTargetingOptions = buildUnnamed4227();
}
buildCounterBulkEditPartnerAssignedTargetingOptionsResponse--;
return o;
@@ -1404,32 +1404,32 @@
api.BulkEditPartnerAssignedTargetingOptionsResponse o) {
buildCounterBulkEditPartnerAssignedTargetingOptionsResponse++;
if (buildCounterBulkEditPartnerAssignedTargetingOptionsResponse < 3) {
- checkUnnamed4220(o.createdAssignedTargetingOptions);
+ checkUnnamed4227(o.createdAssignedTargetingOptions);
}
buildCounterBulkEditPartnerAssignedTargetingOptionsResponse--;
}
-buildUnnamed4221() {
+buildUnnamed4228() {
var o = new core.List<api.Site>();
o.add(buildSite());
o.add(buildSite());
return o;
}
-checkUnnamed4221(core.List<api.Site> o) {
+checkUnnamed4228(core.List<api.Site> o) {
unittest.expect(o, unittest.hasLength(2));
checkSite(o[0]);
checkSite(o[1]);
}
-buildUnnamed4222() {
+buildUnnamed4229() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4222(core.List<core.String> o) {
+checkUnnamed4229(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1441,8 +1441,8 @@
buildCounterBulkEditSitesRequest++;
if (buildCounterBulkEditSitesRequest < 3) {
o.advertiserId = "foo";
- o.createdSites = buildUnnamed4221();
- o.deletedSites = buildUnnamed4222();
+ o.createdSites = buildUnnamed4228();
+ o.deletedSites = buildUnnamed4229();
o.partnerId = "foo";
}
buildCounterBulkEditSitesRequest--;
@@ -1453,21 +1453,21 @@
buildCounterBulkEditSitesRequest++;
if (buildCounterBulkEditSitesRequest < 3) {
unittest.expect(o.advertiserId, unittest.equals('foo'));
- checkUnnamed4221(o.createdSites);
- checkUnnamed4222(o.deletedSites);
+ checkUnnamed4228(o.createdSites);
+ checkUnnamed4229(o.deletedSites);
unittest.expect(o.partnerId, unittest.equals('foo'));
}
buildCounterBulkEditSitesRequest--;
}
-buildUnnamed4223() {
+buildUnnamed4230() {
var o = new core.List<api.Site>();
o.add(buildSite());
o.add(buildSite());
return o;
}
-checkUnnamed4223(core.List<api.Site> o) {
+checkUnnamed4230(core.List<api.Site> o) {
unittest.expect(o, unittest.hasLength(2));
checkSite(o[0]);
checkSite(o[1]);
@@ -1478,7 +1478,7 @@
var o = new api.BulkEditSitesResponse();
buildCounterBulkEditSitesResponse++;
if (buildCounterBulkEditSitesResponse < 3) {
- o.sites = buildUnnamed4223();
+ o.sites = buildUnnamed4230();
}
buildCounterBulkEditSitesResponse--;
return o;
@@ -1487,19 +1487,19 @@
checkBulkEditSitesResponse(api.BulkEditSitesResponse o) {
buildCounterBulkEditSitesResponse++;
if (buildCounterBulkEditSitesResponse < 3) {
- checkUnnamed4223(o.sites);
+ checkUnnamed4230(o.sites);
}
buildCounterBulkEditSitesResponse--;
}
-buildUnnamed4224() {
+buildUnnamed4231() {
var o = new core.List<api.AssignedTargetingOption>();
o.add(buildAssignedTargetingOption());
o.add(buildAssignedTargetingOption());
return o;
}
-checkUnnamed4224(core.List<api.AssignedTargetingOption> o) {
+checkUnnamed4231(core.List<api.AssignedTargetingOption> o) {
unittest.expect(o, unittest.hasLength(2));
checkAssignedTargetingOption(o[0]);
checkAssignedTargetingOption(o[1]);
@@ -1510,7 +1510,7 @@
var o = new api.BulkListAdvertiserAssignedTargetingOptionsResponse();
buildCounterBulkListAdvertiserAssignedTargetingOptionsResponse++;
if (buildCounterBulkListAdvertiserAssignedTargetingOptionsResponse < 3) {
- o.assignedTargetingOptions = buildUnnamed4224();
+ o.assignedTargetingOptions = buildUnnamed4231();
o.nextPageToken = "foo";
}
buildCounterBulkListAdvertiserAssignedTargetingOptionsResponse--;
@@ -1521,20 +1521,20 @@
api.BulkListAdvertiserAssignedTargetingOptionsResponse o) {
buildCounterBulkListAdvertiserAssignedTargetingOptionsResponse++;
if (buildCounterBulkListAdvertiserAssignedTargetingOptionsResponse < 3) {
- checkUnnamed4224(o.assignedTargetingOptions);
+ checkUnnamed4231(o.assignedTargetingOptions);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterBulkListAdvertiserAssignedTargetingOptionsResponse--;
}
-buildUnnamed4225() {
+buildUnnamed4232() {
var o = new core.List<api.AssignedTargetingOption>();
o.add(buildAssignedTargetingOption());
o.add(buildAssignedTargetingOption());
return o;
}
-checkUnnamed4225(core.List<api.AssignedTargetingOption> o) {
+checkUnnamed4232(core.List<api.AssignedTargetingOption> o) {
unittest.expect(o, unittest.hasLength(2));
checkAssignedTargetingOption(o[0]);
checkAssignedTargetingOption(o[1]);
@@ -1545,7 +1545,7 @@
var o = new api.BulkListLineItemAssignedTargetingOptionsResponse();
buildCounterBulkListLineItemAssignedTargetingOptionsResponse++;
if (buildCounterBulkListLineItemAssignedTargetingOptionsResponse < 3) {
- o.assignedTargetingOptions = buildUnnamed4225();
+ o.assignedTargetingOptions = buildUnnamed4232();
o.nextPageToken = "foo";
}
buildCounterBulkListLineItemAssignedTargetingOptionsResponse--;
@@ -1556,7 +1556,7 @@
api.BulkListLineItemAssignedTargetingOptionsResponse o) {
buildCounterBulkListLineItemAssignedTargetingOptionsResponse++;
if (buildCounterBulkListLineItemAssignedTargetingOptionsResponse < 3) {
- checkUnnamed4225(o.assignedTargetingOptions);
+ checkUnnamed4232(o.assignedTargetingOptions);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterBulkListLineItemAssignedTargetingOptionsResponse--;
@@ -1777,14 +1777,14 @@
buildCounterChannelAssignedTargetingOptionDetails--;
}
-buildUnnamed4226() {
+buildUnnamed4233() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4226(core.List<core.String> o) {
+checkUnnamed4233(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1798,7 +1798,7 @@
o.cmAccountId = "foo";
o.cmFloodlightConfigId = "foo";
o.cmFloodlightLinkingAuthorized = true;
- o.cmSyncableSiteIds = buildUnnamed4226();
+ o.cmSyncableSiteIds = buildUnnamed4233();
o.dv360ToCmCostReportingEnabled = true;
o.dv360ToCmDataSharingEnabled = true;
}
@@ -1812,7 +1812,7 @@
unittest.expect(o.cmAccountId, unittest.equals('foo'));
unittest.expect(o.cmFloodlightConfigId, unittest.equals('foo'));
unittest.expect(o.cmFloodlightLinkingAuthorized, unittest.isTrue);
- checkUnnamed4226(o.cmSyncableSiteIds);
+ checkUnnamed4233(o.cmSyncableSiteIds);
unittest.expect(o.dv360ToCmCostReportingEnabled, unittest.isTrue);
unittest.expect(o.dv360ToCmDataSharingEnabled, unittest.isTrue);
}
@@ -1865,14 +1865,14 @@
buildCounterCombinedAudience--;
}
-buildUnnamed4227() {
+buildUnnamed4234() {
var o = new core.List<api.CombinedAudienceTargetingSetting>();
o.add(buildCombinedAudienceTargetingSetting());
o.add(buildCombinedAudienceTargetingSetting());
return o;
}
-checkUnnamed4227(core.List<api.CombinedAudienceTargetingSetting> o) {
+checkUnnamed4234(core.List<api.CombinedAudienceTargetingSetting> o) {
unittest.expect(o, unittest.hasLength(2));
checkCombinedAudienceTargetingSetting(o[0]);
checkCombinedAudienceTargetingSetting(o[1]);
@@ -1883,7 +1883,7 @@
var o = new api.CombinedAudienceGroup();
buildCounterCombinedAudienceGroup++;
if (buildCounterCombinedAudienceGroup < 3) {
- o.settings = buildUnnamed4227();
+ o.settings = buildUnnamed4234();
}
buildCounterCombinedAudienceGroup--;
return o;
@@ -1892,7 +1892,7 @@
checkCombinedAudienceGroup(api.CombinedAudienceGroup o) {
buildCounterCombinedAudienceGroup++;
if (buildCounterCombinedAudienceGroup < 3) {
- checkUnnamed4227(o.settings);
+ checkUnnamed4234(o.settings);
}
buildCounterCombinedAudienceGroup--;
}
@@ -2000,14 +2000,14 @@
buildCounterContentOutstreamPositionTargetingOptionDetails--;
}
-buildUnnamed4228() {
+buildUnnamed4235() {
var o = new core.List<api.TrackingFloodlightActivityConfig>();
o.add(buildTrackingFloodlightActivityConfig());
o.add(buildTrackingFloodlightActivityConfig());
return o;
}
-checkUnnamed4228(core.List<api.TrackingFloodlightActivityConfig> o) {
+checkUnnamed4235(core.List<api.TrackingFloodlightActivityConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkTrackingFloodlightActivityConfig(o[0]);
checkTrackingFloodlightActivityConfig(o[1]);
@@ -2018,7 +2018,7 @@
var o = new api.ConversionCountingConfig();
buildCounterConversionCountingConfig++;
if (buildCounterConversionCountingConfig < 3) {
- o.floodlightActivityConfigs = buildUnnamed4228();
+ o.floodlightActivityConfigs = buildUnnamed4235();
o.postViewCountPercentageMillis = "foo";
}
buildCounterConversionCountingConfig--;
@@ -2028,7 +2028,7 @@
checkConversionCountingConfig(api.ConversionCountingConfig o) {
buildCounterConversionCountingConfig++;
if (buildCounterConversionCountingConfig < 3) {
- checkUnnamed4228(o.floodlightActivityConfigs);
+ checkUnnamed4235(o.floodlightActivityConfigs);
unittest.expect(o.postViewCountPercentageMillis, unittest.equals('foo'));
}
buildCounterConversionCountingConfig--;
@@ -2093,14 +2093,14 @@
buildCounterCreateAssetResponse--;
}
-buildUnnamed4229() {
+buildUnnamed4236() {
var o = new core.List<api.AssignedTargetingOption>();
o.add(buildAssignedTargetingOption());
o.add(buildAssignedTargetingOption());
return o;
}
-checkUnnamed4229(core.List<api.AssignedTargetingOption> o) {
+checkUnnamed4236(core.List<api.AssignedTargetingOption> o) {
unittest.expect(o, unittest.hasLength(2));
checkAssignedTargetingOption(o[0]);
checkAssignedTargetingOption(o[1]);
@@ -2111,7 +2111,7 @@
var o = new api.CreateAssignedTargetingOptionsRequest();
buildCounterCreateAssignedTargetingOptionsRequest++;
if (buildCounterCreateAssignedTargetingOptionsRequest < 3) {
- o.assignedTargetingOptions = buildUnnamed4229();
+ o.assignedTargetingOptions = buildUnnamed4236();
o.targetingType = "foo";
}
buildCounterCreateAssignedTargetingOptionsRequest--;
@@ -2122,7 +2122,7 @@
api.CreateAssignedTargetingOptionsRequest o) {
buildCounterCreateAssignedTargetingOptionsRequest++;
if (buildCounterCreateAssignedTargetingOptionsRequest < 3) {
- checkUnnamed4229(o.assignedTargetingOptions);
+ checkUnnamed4236(o.assignedTargetingOptions);
unittest.expect(o.targetingType, unittest.equals('foo'));
}
buildCounterCreateAssignedTargetingOptionsRequest--;
@@ -2157,123 +2157,32 @@
buildCounterCreateSdfDownloadTaskRequest--;
}
-buildUnnamed4230() {
+buildUnnamed4237() {
var o = new core.List<api.Dimensions>();
o.add(buildDimensions());
o.add(buildDimensions());
return o;
}
-checkUnnamed4230(core.List<api.Dimensions> o) {
+checkUnnamed4237(core.List<api.Dimensions> o) {
unittest.expect(o, unittest.hasLength(2));
checkDimensions(o[0]);
checkDimensions(o[1]);
}
-buildUnnamed4231() {
+buildUnnamed4238() {
var o = new core.List<api.AssetAssociation>();
o.add(buildAssetAssociation());
o.add(buildAssetAssociation());
return o;
}
-checkUnnamed4231(core.List<api.AssetAssociation> o) {
+checkUnnamed4238(core.List<api.AssetAssociation> o) {
unittest.expect(o, unittest.hasLength(2));
checkAssetAssociation(o[0]);
checkAssetAssociation(o[1]);
}
-buildUnnamed4232() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed4232(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed4233() {
- var o = new core.List<api.CounterEvent>();
- o.add(buildCounterEvent());
- o.add(buildCounterEvent());
- return o;
-}
-
-checkUnnamed4233(core.List<api.CounterEvent> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkCounterEvent(o[0]);
- checkCounterEvent(o[1]);
-}
-
-buildUnnamed4234() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed4234(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed4235() {
- var o = new core.List<api.ExitEvent>();
- o.add(buildExitEvent());
- o.add(buildExitEvent());
- return o;
-}
-
-checkUnnamed4235(core.List<api.ExitEvent> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkExitEvent(o[0]);
- checkExitEvent(o[1]);
-}
-
-buildUnnamed4236() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed4236(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed4237() {
- var o = new core.List<api.ThirdPartyUrl>();
- o.add(buildThirdPartyUrl());
- o.add(buildThirdPartyUrl());
- return o;
-}
-
-checkUnnamed4237(core.List<api.ThirdPartyUrl> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkThirdPartyUrl(o[0]);
- checkThirdPartyUrl(o[1]);
-}
-
-buildUnnamed4238() {
- var o = new core.List<api.TimerEvent>();
- o.add(buildTimerEvent());
- o.add(buildTimerEvent());
- return o;
-}
-
-checkUnnamed4238(core.List<api.TimerEvent> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkTimerEvent(o[0]);
- checkTimerEvent(o[1]);
-}
-
buildUnnamed4239() {
var o = new core.List<core.String>();
o.add("foo");
@@ -2288,13 +2197,104 @@
}
buildUnnamed4240() {
+ var o = new core.List<api.CounterEvent>();
+ o.add(buildCounterEvent());
+ o.add(buildCounterEvent());
+ return o;
+}
+
+checkUnnamed4240(core.List<api.CounterEvent> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkCounterEvent(o[0]);
+ checkCounterEvent(o[1]);
+}
+
+buildUnnamed4241() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed4241(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed4242() {
+ var o = new core.List<api.ExitEvent>();
+ o.add(buildExitEvent());
+ o.add(buildExitEvent());
+ return o;
+}
+
+checkUnnamed4242(core.List<api.ExitEvent> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkExitEvent(o[0]);
+ checkExitEvent(o[1]);
+}
+
+buildUnnamed4243() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed4243(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed4244() {
+ var o = new core.List<api.ThirdPartyUrl>();
+ o.add(buildThirdPartyUrl());
+ o.add(buildThirdPartyUrl());
+ return o;
+}
+
+checkUnnamed4244(core.List<api.ThirdPartyUrl> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkThirdPartyUrl(o[0]);
+ checkThirdPartyUrl(o[1]);
+}
+
+buildUnnamed4245() {
+ var o = new core.List<api.TimerEvent>();
+ o.add(buildTimerEvent());
+ o.add(buildTimerEvent());
+ return o;
+}
+
+checkUnnamed4245(core.List<api.TimerEvent> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkTimerEvent(o[0]);
+ checkTimerEvent(o[1]);
+}
+
+buildUnnamed4246() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed4246(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed4247() {
var o = new core.List<api.Transcode>();
o.add(buildTranscode());
o.add(buildTranscode());
return o;
}
-checkUnnamed4240(core.List<api.Transcode> o) {
+checkUnnamed4247(core.List<api.Transcode> o) {
unittest.expect(o, unittest.hasLength(2));
checkTranscode(o[0]);
checkTranscode(o[1]);
@@ -2305,23 +2305,23 @@
var o = new api.Creative();
buildCounterCreative++;
if (buildCounterCreative < 3) {
- o.additionalDimensions = buildUnnamed4230();
+ o.additionalDimensions = buildUnnamed4237();
o.advertiserId = "foo";
o.appendedTag = "foo";
- o.assets = buildUnnamed4231();
+ o.assets = buildUnnamed4238();
o.cmPlacementId = "foo";
o.cmTrackingAd = buildCmTrackingAd();
- o.companionCreativeIds = buildUnnamed4232();
- o.counterEvents = buildUnnamed4233();
+ o.companionCreativeIds = buildUnnamed4239();
+ o.counterEvents = buildUnnamed4240();
o.createTime = "foo";
- o.creativeAttributes = buildUnnamed4234();
+ o.creativeAttributes = buildUnnamed4241();
o.creativeId = "foo";
o.creativeType = "foo";
o.dimensions = buildDimensions();
o.displayName = "foo";
o.dynamic = true;
o.entityStatus = "foo";
- o.exitEvents = buildUnnamed4235();
+ o.exitEvents = buildUnnamed4242();
o.expandOnHover = true;
o.expandingDirection = "foo";
o.hostingSource = "foo";
@@ -2329,7 +2329,7 @@
o.iasCampaignMonitoring = true;
o.integrationCode = "foo";
o.jsTrackerUrl = "foo";
- o.lineItemIds = buildUnnamed4236();
+ o.lineItemIds = buildUnnamed4243();
o.mediaDuration = "foo";
o.name = "foo";
o.notes = "foo";
@@ -2342,10 +2342,10 @@
o.skipOffset = buildAudioVideoOffset();
o.skippable = true;
o.thirdPartyTag = "foo";
- o.thirdPartyUrls = buildUnnamed4237();
- o.timerEvents = buildUnnamed4238();
- o.trackerUrls = buildUnnamed4239();
- o.transcodes = buildUnnamed4240();
+ o.thirdPartyUrls = buildUnnamed4244();
+ o.timerEvents = buildUnnamed4245();
+ o.trackerUrls = buildUnnamed4246();
+ o.transcodes = buildUnnamed4247();
o.universalAdId = buildUniversalAdId();
o.updateTime = "foo";
o.vastTagUrl = "foo";
@@ -2358,23 +2358,23 @@
checkCreative(api.Creative o) {
buildCounterCreative++;
if (buildCounterCreative < 3) {
- checkUnnamed4230(o.additionalDimensions);
+ checkUnnamed4237(o.additionalDimensions);
unittest.expect(o.advertiserId, unittest.equals('foo'));
unittest.expect(o.appendedTag, unittest.equals('foo'));
- checkUnnamed4231(o.assets);
+ checkUnnamed4238(o.assets);
unittest.expect(o.cmPlacementId, unittest.equals('foo'));
checkCmTrackingAd(o.cmTrackingAd);
- checkUnnamed4232(o.companionCreativeIds);
- checkUnnamed4233(o.counterEvents);
+ checkUnnamed4239(o.companionCreativeIds);
+ checkUnnamed4240(o.counterEvents);
unittest.expect(o.createTime, unittest.equals('foo'));
- checkUnnamed4234(o.creativeAttributes);
+ checkUnnamed4241(o.creativeAttributes);
unittest.expect(o.creativeId, unittest.equals('foo'));
unittest.expect(o.creativeType, unittest.equals('foo'));
checkDimensions(o.dimensions);
unittest.expect(o.displayName, unittest.equals('foo'));
unittest.expect(o.dynamic, unittest.isTrue);
unittest.expect(o.entityStatus, unittest.equals('foo'));
- checkUnnamed4235(o.exitEvents);
+ checkUnnamed4242(o.exitEvents);
unittest.expect(o.expandOnHover, unittest.isTrue);
unittest.expect(o.expandingDirection, unittest.equals('foo'));
unittest.expect(o.hostingSource, unittest.equals('foo'));
@@ -2382,7 +2382,7 @@
unittest.expect(o.iasCampaignMonitoring, unittest.isTrue);
unittest.expect(o.integrationCode, unittest.equals('foo'));
unittest.expect(o.jsTrackerUrl, unittest.equals('foo'));
- checkUnnamed4236(o.lineItemIds);
+ checkUnnamed4243(o.lineItemIds);
unittest.expect(o.mediaDuration, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.notes, unittest.equals('foo'));
@@ -2395,10 +2395,10 @@
checkAudioVideoOffset(o.skipOffset);
unittest.expect(o.skippable, unittest.isTrue);
unittest.expect(o.thirdPartyTag, unittest.equals('foo'));
- checkUnnamed4237(o.thirdPartyUrls);
- checkUnnamed4238(o.timerEvents);
- checkUnnamed4239(o.trackerUrls);
- checkUnnamed4240(o.transcodes);
+ checkUnnamed4244(o.thirdPartyUrls);
+ checkUnnamed4245(o.timerEvents);
+ checkUnnamed4246(o.trackerUrls);
+ checkUnnamed4247(o.transcodes);
checkUniversalAdId(o.universalAdId);
unittest.expect(o.updateTime, unittest.equals('foo'));
unittest.expect(o.vastTagUrl, unittest.equals('foo'));
@@ -2484,14 +2484,14 @@
buildCounterCustomList--;
}
-buildUnnamed4241() {
+buildUnnamed4248() {
var o = new core.List<api.CustomListTargetingSetting>();
o.add(buildCustomListTargetingSetting());
o.add(buildCustomListTargetingSetting());
return o;
}
-checkUnnamed4241(core.List<api.CustomListTargetingSetting> o) {
+checkUnnamed4248(core.List<api.CustomListTargetingSetting> o) {
unittest.expect(o, unittest.hasLength(2));
checkCustomListTargetingSetting(o[0]);
checkCustomListTargetingSetting(o[1]);
@@ -2502,7 +2502,7 @@
var o = new api.CustomListGroup();
buildCounterCustomListGroup++;
if (buildCounterCustomListGroup < 3) {
- o.settings = buildUnnamed4241();
+ o.settings = buildUnnamed4248();
}
buildCounterCustomListGroup--;
return o;
@@ -2511,7 +2511,7 @@
checkCustomListGroup(api.CustomListGroup o) {
buildCounterCustomListGroup++;
if (buildCounterCustomListGroup < 3) {
- checkUnnamed4241(o.settings);
+ checkUnnamed4248(o.settings);
}
buildCounterCustomListGroup--;
}
@@ -2605,14 +2605,14 @@
buildCounterDayAndTimeAssignedTargetingOptionDetails--;
}
-buildUnnamed4242() {
+buildUnnamed4249() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4242(core.List<core.String> o) {
+checkUnnamed4249(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2623,7 +2623,7 @@
var o = new api.DeleteAssignedTargetingOptionsRequest();
buildCounterDeleteAssignedTargetingOptionsRequest++;
if (buildCounterDeleteAssignedTargetingOptionsRequest < 3) {
- o.assignedTargetingOptionIds = buildUnnamed4242();
+ o.assignedTargetingOptionIds = buildUnnamed4249();
o.targetingType = "foo";
}
buildCounterDeleteAssignedTargetingOptionsRequest--;
@@ -2634,7 +2634,7 @@
api.DeleteAssignedTargetingOptionsRequest o) {
buildCounterDeleteAssignedTargetingOptionsRequest++;
if (buildCounterDeleteAssignedTargetingOptionsRequest < 3) {
- checkUnnamed4242(o.assignedTargetingOptionIds);
+ checkUnnamed4249(o.assignedTargetingOptionIds);
unittest.expect(o.targetingType, unittest.equals('foo'));
}
buildCounterDeleteAssignedTargetingOptionsRequest--;
@@ -2788,14 +2788,14 @@
buildCounterDimensions--;
}
-buildUnnamed4243() {
+buildUnnamed4250() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4243(core.List<core.String> o) {
+checkUnnamed4250(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2807,7 +2807,7 @@
buildCounterDoubleVerify++;
if (buildCounterDoubleVerify < 3) {
o.appStarRating = buildDoubleVerifyAppStarRating();
- o.avoidedAgeRatings = buildUnnamed4243();
+ o.avoidedAgeRatings = buildUnnamed4250();
o.brandSafetyCategories = buildDoubleVerifyBrandSafetyCategories();
o.displayViewability = buildDoubleVerifyDisplayViewability();
o.fraudInvalidTraffic = buildDoubleVerifyFraudInvalidTraffic();
@@ -2821,7 +2821,7 @@
buildCounterDoubleVerify++;
if (buildCounterDoubleVerify < 3) {
checkDoubleVerifyAppStarRating(o.appStarRating);
- checkUnnamed4243(o.avoidedAgeRatings);
+ checkUnnamed4250(o.avoidedAgeRatings);
checkDoubleVerifyBrandSafetyCategories(o.brandSafetyCategories);
checkDoubleVerifyDisplayViewability(o.displayViewability);
checkDoubleVerifyFraudInvalidTraffic(o.fraudInvalidTraffic);
@@ -2851,27 +2851,27 @@
buildCounterDoubleVerifyAppStarRating--;
}
-buildUnnamed4244() {
+buildUnnamed4251() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4244(core.List<core.String> o) {
+checkUnnamed4251(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed4245() {
+buildUnnamed4252() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4245(core.List<core.String> o) {
+checkUnnamed4252(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2883,8 +2883,8 @@
buildCounterDoubleVerifyBrandSafetyCategories++;
if (buildCounterDoubleVerifyBrandSafetyCategories < 3) {
o.avoidUnknownBrandSafetyCategory = true;
- o.avoidedHighSeverityCategories = buildUnnamed4244();
- o.avoidedMediumSeverityCategories = buildUnnamed4245();
+ o.avoidedHighSeverityCategories = buildUnnamed4251();
+ o.avoidedMediumSeverityCategories = buildUnnamed4252();
}
buildCounterDoubleVerifyBrandSafetyCategories--;
return o;
@@ -2895,8 +2895,8 @@
buildCounterDoubleVerifyBrandSafetyCategories++;
if (buildCounterDoubleVerifyBrandSafetyCategories < 3) {
unittest.expect(o.avoidUnknownBrandSafetyCategory, unittest.isTrue);
- checkUnnamed4244(o.avoidedHighSeverityCategories);
- checkUnnamed4245(o.avoidedMediumSeverityCategories);
+ checkUnnamed4251(o.avoidedHighSeverityCategories);
+ checkUnnamed4252(o.avoidedMediumSeverityCategories);
}
buildCounterDoubleVerifyBrandSafetyCategories--;
}
@@ -3043,14 +3043,14 @@
buildCounterExchangeAssignedTargetingOptionDetails--;
}
-buildUnnamed4246() {
+buildUnnamed4253() {
var o = new core.List<api.ExchangeConfigEnabledExchange>();
o.add(buildExchangeConfigEnabledExchange());
o.add(buildExchangeConfigEnabledExchange());
return o;
}
-checkUnnamed4246(core.List<api.ExchangeConfigEnabledExchange> o) {
+checkUnnamed4253(core.List<api.ExchangeConfigEnabledExchange> o) {
unittest.expect(o, unittest.hasLength(2));
checkExchangeConfigEnabledExchange(o[0]);
checkExchangeConfigEnabledExchange(o[1]);
@@ -3061,7 +3061,7 @@
var o = new api.ExchangeConfig();
buildCounterExchangeConfig++;
if (buildCounterExchangeConfig < 3) {
- o.enabledExchanges = buildUnnamed4246();
+ o.enabledExchanges = buildUnnamed4253();
}
buildCounterExchangeConfig--;
return o;
@@ -3070,7 +3070,7 @@
checkExchangeConfig(api.ExchangeConfig o) {
buildCounterExchangeConfig++;
if (buildCounterExchangeConfig < 3) {
- checkUnnamed4246(o.enabledExchanges);
+ checkUnnamed4253(o.enabledExchanges);
}
buildCounterExchangeConfig--;
}
@@ -3212,14 +3212,14 @@
buildCounterFirstAndThirdPartyAudience--;
}
-buildUnnamed4247() {
+buildUnnamed4254() {
var o = new core.List<api.FirstAndThirdPartyAudienceTargetingSetting>();
o.add(buildFirstAndThirdPartyAudienceTargetingSetting());
o.add(buildFirstAndThirdPartyAudienceTargetingSetting());
return o;
}
-checkUnnamed4247(core.List<api.FirstAndThirdPartyAudienceTargetingSetting> o) {
+checkUnnamed4254(core.List<api.FirstAndThirdPartyAudienceTargetingSetting> o) {
unittest.expect(o, unittest.hasLength(2));
checkFirstAndThirdPartyAudienceTargetingSetting(o[0]);
checkFirstAndThirdPartyAudienceTargetingSetting(o[1]);
@@ -3230,7 +3230,7 @@
var o = new api.FirstAndThirdPartyAudienceGroup();
buildCounterFirstAndThirdPartyAudienceGroup++;
if (buildCounterFirstAndThirdPartyAudienceGroup < 3) {
- o.settings = buildUnnamed4247();
+ o.settings = buildUnnamed4254();
}
buildCounterFirstAndThirdPartyAudienceGroup--;
return o;
@@ -3239,7 +3239,7 @@
checkFirstAndThirdPartyAudienceGroup(api.FirstAndThirdPartyAudienceGroup o) {
buildCounterFirstAndThirdPartyAudienceGroup++;
if (buildCounterFirstAndThirdPartyAudienceGroup < 3) {
- checkUnnamed4247(o.settings);
+ checkUnnamed4254(o.settings);
}
buildCounterFirstAndThirdPartyAudienceGroup--;
}
@@ -3285,7 +3285,7 @@
buildCounterFixedBidStrategy--;
}
-buildUnnamed4248() {
+buildUnnamed4255() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -3300,7 +3300,7 @@
return o;
}
-checkUnnamed4248(core.Map<core.String, core.Object> o) {
+checkUnnamed4255(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o["x"]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -3320,7 +3320,7 @@
buildCounterFloodlightGroup++;
if (buildCounterFloodlightGroup < 3) {
o.activeViewConfig = buildActiveViewVideoViewabilityMetricConfig();
- o.customVariables = buildUnnamed4248();
+ o.customVariables = buildUnnamed4255();
o.displayName = "foo";
o.floodlightGroupId = "foo";
o.lookbackWindow = buildLookbackWindow();
@@ -3335,7 +3335,7 @@
buildCounterFloodlightGroup++;
if (buildCounterFloodlightGroup < 3) {
checkActiveViewVideoViewabilityMetricConfig(o.activeViewConfig);
- checkUnnamed4248(o.customVariables);
+ checkUnnamed4255(o.customVariables);
unittest.expect(o.displayName, unittest.equals('foo'));
unittest.expect(o.floodlightGroupId, unittest.equals('foo'));
checkLookbackWindow(o.lookbackWindow);
@@ -3483,14 +3483,14 @@
buildCounterGoogleAudience--;
}
-buildUnnamed4249() {
+buildUnnamed4256() {
var o = new core.List<api.GoogleAudienceTargetingSetting>();
o.add(buildGoogleAudienceTargetingSetting());
o.add(buildGoogleAudienceTargetingSetting());
return o;
}
-checkUnnamed4249(core.List<api.GoogleAudienceTargetingSetting> o) {
+checkUnnamed4256(core.List<api.GoogleAudienceTargetingSetting> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleAudienceTargetingSetting(o[0]);
checkGoogleAudienceTargetingSetting(o[1]);
@@ -3501,7 +3501,7 @@
var o = new api.GoogleAudienceGroup();
buildCounterGoogleAudienceGroup++;
if (buildCounterGoogleAudienceGroup < 3) {
- o.settings = buildUnnamed4249();
+ o.settings = buildUnnamed4256();
}
buildCounterGoogleAudienceGroup--;
return o;
@@ -3510,7 +3510,7 @@
checkGoogleAudienceGroup(api.GoogleAudienceGroup o) {
buildCounterGoogleAudienceGroup++;
if (buildCounterGoogleAudienceGroup < 3) {
- checkUnnamed4249(o.settings);
+ checkUnnamed4256(o.settings);
}
buildCounterGoogleAudienceGroup--;
}
@@ -3595,79 +3595,79 @@
buildCounterHouseholdIncomeTargetingOptionDetails--;
}
-buildUnnamed4250() {
+buildUnnamed4257() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4250(core.List<core.String> o) {
+checkUnnamed4257(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed4251() {
+buildUnnamed4258() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4251(core.List<core.String> o) {
+checkUnnamed4258(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed4252() {
+buildUnnamed4259() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4252(core.List<core.String> o) {
+checkUnnamed4259(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed4253() {
+buildUnnamed4260() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4253(core.List<core.String> o) {
+checkUnnamed4260(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed4254() {
+buildUnnamed4261() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4254(core.List<core.String> o) {
+checkUnnamed4261(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed4255() {
+buildUnnamed4262() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4255(core.List<core.String> o) {
+checkUnnamed4262(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3678,12 +3678,12 @@
var o = new api.IdFilter();
buildCounterIdFilter++;
if (buildCounterIdFilter < 3) {
- o.adGroupAdIds = buildUnnamed4250();
- o.adGroupIds = buildUnnamed4251();
- o.campaignIds = buildUnnamed4252();
- o.insertionOrderIds = buildUnnamed4253();
- o.lineItemIds = buildUnnamed4254();
- o.mediaProductIds = buildUnnamed4255();
+ o.adGroupAdIds = buildUnnamed4257();
+ o.adGroupIds = buildUnnamed4258();
+ o.campaignIds = buildUnnamed4259();
+ o.insertionOrderIds = buildUnnamed4260();
+ o.lineItemIds = buildUnnamed4261();
+ o.mediaProductIds = buildUnnamed4262();
}
buildCounterIdFilter--;
return o;
@@ -3692,24 +3692,24 @@
checkIdFilter(api.IdFilter o) {
buildCounterIdFilter++;
if (buildCounterIdFilter < 3) {
- checkUnnamed4250(o.adGroupAdIds);
- checkUnnamed4251(o.adGroupIds);
- checkUnnamed4252(o.campaignIds);
- checkUnnamed4253(o.insertionOrderIds);
- checkUnnamed4254(o.lineItemIds);
- checkUnnamed4255(o.mediaProductIds);
+ checkUnnamed4257(o.adGroupAdIds);
+ checkUnnamed4258(o.adGroupIds);
+ checkUnnamed4259(o.campaignIds);
+ checkUnnamed4260(o.insertionOrderIds);
+ checkUnnamed4261(o.lineItemIds);
+ checkUnnamed4262(o.mediaProductIds);
}
buildCounterIdFilter--;
}
-buildUnnamed4256() {
+buildUnnamed4263() {
var o = new core.List<api.PartnerCost>();
o.add(buildPartnerCost());
o.add(buildPartnerCost());
return o;
}
-checkUnnamed4256(core.List<api.PartnerCost> o) {
+checkUnnamed4263(core.List<api.PartnerCost> o) {
unittest.expect(o, unittest.hasLength(2));
checkPartnerCost(o[0]);
checkPartnerCost(o[1]);
@@ -3731,7 +3731,7 @@
o.integrationDetails = buildIntegrationDetails();
o.name = "foo";
o.pacing = buildPacing();
- o.partnerCosts = buildUnnamed4256();
+ o.partnerCosts = buildUnnamed4263();
o.performanceGoal = buildPerformanceGoal();
o.updateTime = "foo";
}
@@ -3753,21 +3753,21 @@
checkIntegrationDetails(o.integrationDetails);
unittest.expect(o.name, unittest.equals('foo'));
checkPacing(o.pacing);
- checkUnnamed4256(o.partnerCosts);
+ checkUnnamed4263(o.partnerCosts);
checkPerformanceGoal(o.performanceGoal);
unittest.expect(o.updateTime, unittest.equals('foo'));
}
buildCounterInsertionOrder--;
}
-buildUnnamed4257() {
+buildUnnamed4264() {
var o = new core.List<api.InsertionOrderBudgetSegment>();
o.add(buildInsertionOrderBudgetSegment());
o.add(buildInsertionOrderBudgetSegment());
return o;
}
-checkUnnamed4257(core.List<api.InsertionOrderBudgetSegment> o) {
+checkUnnamed4264(core.List<api.InsertionOrderBudgetSegment> o) {
unittest.expect(o, unittest.hasLength(2));
checkInsertionOrderBudgetSegment(o[0]);
checkInsertionOrderBudgetSegment(o[1]);
@@ -3779,7 +3779,7 @@
buildCounterInsertionOrderBudget++;
if (buildCounterInsertionOrderBudget < 3) {
o.automationType = "foo";
- o.budgetSegments = buildUnnamed4257();
+ o.budgetSegments = buildUnnamed4264();
o.budgetUnit = "foo";
}
buildCounterInsertionOrderBudget--;
@@ -3790,7 +3790,7 @@
buildCounterInsertionOrderBudget++;
if (buildCounterInsertionOrderBudget < 3) {
unittest.expect(o.automationType, unittest.equals('foo'));
- checkUnnamed4257(o.budgetSegments);
+ checkUnnamed4264(o.budgetSegments);
unittest.expect(o.budgetUnit, unittest.equals('foo'));
}
buildCounterInsertionOrderBudget--;
@@ -3885,14 +3885,14 @@
buildCounterIntegrationDetails--;
}
-buildUnnamed4258() {
+buildUnnamed4265() {
var o = new core.List<api.CreativeConfig>();
o.add(buildCreativeConfig());
o.add(buildCreativeConfig());
return o;
}
-checkUnnamed4258(core.List<api.CreativeConfig> o) {
+checkUnnamed4265(core.List<api.CreativeConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreativeConfig(o[0]);
checkCreativeConfig(o[1]);
@@ -3904,7 +3904,7 @@
buildCounterInventorySource++;
if (buildCounterInventorySource < 3) {
o.commitment = "foo";
- o.creativeConfigs = buildUnnamed4258();
+ o.creativeConfigs = buildUnnamed4265();
o.dealId = "foo";
o.deliveryMethod = "foo";
o.displayName = "foo";
@@ -3926,7 +3926,7 @@
buildCounterInventorySource++;
if (buildCounterInventorySource < 3) {
unittest.expect(o.commitment, unittest.equals('foo'));
- checkUnnamed4258(o.creativeConfigs);
+ checkUnnamed4265(o.creativeConfigs);
unittest.expect(o.dealId, unittest.equals('foo'));
unittest.expect(o.deliveryMethod, unittest.equals('foo'));
unittest.expect(o.displayName, unittest.equals('foo'));
@@ -3983,14 +3983,14 @@
buildCounterInventorySourceDisplayCreativeConfig--;
}
-buildUnnamed4259() {
+buildUnnamed4266() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4259(core.List<core.String> o) {
+checkUnnamed4266(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -4001,7 +4001,7 @@
var o = new api.InventorySourceFilter();
buildCounterInventorySourceFilter++;
if (buildCounterInventorySourceFilter < 3) {
- o.inventorySourceIds = buildUnnamed4259();
+ o.inventorySourceIds = buildUnnamed4266();
}
buildCounterInventorySourceFilter--;
return o;
@@ -4010,7 +4010,7 @@
checkInventorySourceFilter(api.InventorySourceFilter o) {
buildCounterInventorySourceFilter++;
if (buildCounterInventorySourceFilter < 3) {
- checkUnnamed4259(o.inventorySourceIds);
+ checkUnnamed4266(o.inventorySourceIds);
}
buildCounterInventorySourceFilter--;
}
@@ -4170,53 +4170,53 @@
buildCounterLanguageTargetingOptionDetails--;
}
-buildUnnamed4260() {
+buildUnnamed4267() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4260(core.List<core.String> o) {
+checkUnnamed4267(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed4261() {
+buildUnnamed4268() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4261(core.List<core.String> o) {
+checkUnnamed4268(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed4262() {
+buildUnnamed4269() {
var o = new core.List<api.PartnerCost>();
o.add(buildPartnerCost());
o.add(buildPartnerCost());
return o;
}
-checkUnnamed4262(core.List<api.PartnerCost> o) {
+checkUnnamed4269(core.List<api.PartnerCost> o) {
unittest.expect(o, unittest.hasLength(2));
checkPartnerCost(o[0]);
checkPartnerCost(o[1]);
}
-buildUnnamed4263() {
+buildUnnamed4270() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4263(core.List<core.String> o) {
+checkUnnamed4270(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -4232,22 +4232,22 @@
o.budget = buildLineItemBudget();
o.campaignId = "foo";
o.conversionCounting = buildConversionCountingConfig();
- o.creativeIds = buildUnnamed4260();
+ o.creativeIds = buildUnnamed4267();
o.displayName = "foo";
o.entityStatus = "foo";
o.flight = buildLineItemFlight();
o.frequencyCap = buildFrequencyCap();
o.insertionOrderId = "foo";
o.integrationDetails = buildIntegrationDetails();
- o.inventorySourceIds = buildUnnamed4261();
+ o.inventorySourceIds = buildUnnamed4268();
o.lineItemId = "foo";
o.lineItemType = "foo";
o.name = "foo";
o.pacing = buildPacing();
- o.partnerCosts = buildUnnamed4262();
+ o.partnerCosts = buildUnnamed4269();
o.partnerRevenueModel = buildPartnerRevenueModel();
o.updateTime = "foo";
- o.warningMessages = buildUnnamed4263();
+ o.warningMessages = buildUnnamed4270();
}
buildCounterLineItem--;
return o;
@@ -4261,22 +4261,22 @@
checkLineItemBudget(o.budget);
unittest.expect(o.campaignId, unittest.equals('foo'));
checkConversionCountingConfig(o.conversionCounting);
- checkUnnamed4260(o.creativeIds);
+ checkUnnamed4267(o.creativeIds);
unittest.expect(o.displayName, unittest.equals('foo'));
unittest.expect(o.entityStatus, unittest.equals('foo'));
checkLineItemFlight(o.flight);
checkFrequencyCap(o.frequencyCap);
unittest.expect(o.insertionOrderId, unittest.equals('foo'));
checkIntegrationDetails(o.integrationDetails);
- checkUnnamed4261(o.inventorySourceIds);
+ checkUnnamed4268(o.inventorySourceIds);
unittest.expect(o.lineItemId, unittest.equals('foo'));
unittest.expect(o.lineItemType, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
checkPacing(o.pacing);
- checkUnnamed4262(o.partnerCosts);
+ checkUnnamed4269(o.partnerCosts);
checkPartnerRevenueModel(o.partnerRevenueModel);
unittest.expect(o.updateTime, unittest.equals('foo'));
- checkUnnamed4263(o.warningMessages);
+ checkUnnamed4270(o.warningMessages);
}
buildCounterLineItem--;
}
@@ -4325,14 +4325,14 @@
buildCounterLineItemFlight--;
}
-buildUnnamed4264() {
+buildUnnamed4271() {
var o = new core.List<api.AssignedTargetingOption>();
o.add(buildAssignedTargetingOption());
o.add(buildAssignedTargetingOption());
return o;
}
-checkUnnamed4264(core.List<api.AssignedTargetingOption> o) {
+checkUnnamed4271(core.List<api.AssignedTargetingOption> o) {
unittest.expect(o, unittest.hasLength(2));
checkAssignedTargetingOption(o[0]);
checkAssignedTargetingOption(o[1]);
@@ -4343,7 +4343,7 @@
var o = new api.ListAdvertiserAssignedTargetingOptionsResponse();
buildCounterListAdvertiserAssignedTargetingOptionsResponse++;
if (buildCounterListAdvertiserAssignedTargetingOptionsResponse < 3) {
- o.assignedTargetingOptions = buildUnnamed4264();
+ o.assignedTargetingOptions = buildUnnamed4271();
o.nextPageToken = "foo";
}
buildCounterListAdvertiserAssignedTargetingOptionsResponse--;
@@ -4354,20 +4354,20 @@
api.ListAdvertiserAssignedTargetingOptionsResponse o) {
buildCounterListAdvertiserAssignedTargetingOptionsResponse++;
if (buildCounterListAdvertiserAssignedTargetingOptionsResponse < 3) {
- checkUnnamed4264(o.assignedTargetingOptions);
+ checkUnnamed4271(o.assignedTargetingOptions);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListAdvertiserAssignedTargetingOptionsResponse--;
}
-buildUnnamed4265() {
+buildUnnamed4272() {
var o = new core.List<api.Advertiser>();
o.add(buildAdvertiser());
o.add(buildAdvertiser());
return o;
}
-checkUnnamed4265(core.List<api.Advertiser> o) {
+checkUnnamed4272(core.List<api.Advertiser> o) {
unittest.expect(o, unittest.hasLength(2));
checkAdvertiser(o[0]);
checkAdvertiser(o[1]);
@@ -4378,7 +4378,7 @@
var o = new api.ListAdvertisersResponse();
buildCounterListAdvertisersResponse++;
if (buildCounterListAdvertisersResponse < 3) {
- o.advertisers = buildUnnamed4265();
+ o.advertisers = buildUnnamed4272();
o.nextPageToken = "foo";
}
buildCounterListAdvertisersResponse--;
@@ -4388,20 +4388,20 @@
checkListAdvertisersResponse(api.ListAdvertisersResponse o) {
buildCounterListAdvertisersResponse++;
if (buildCounterListAdvertisersResponse < 3) {
- checkUnnamed4265(o.advertisers);
+ checkUnnamed4272(o.advertisers);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListAdvertisersResponse--;
}
-buildUnnamed4266() {
+buildUnnamed4273() {
var o = new core.List<api.AssignedInventorySource>();
o.add(buildAssignedInventorySource());
o.add(buildAssignedInventorySource());
return o;
}
-checkUnnamed4266(core.List<api.AssignedInventorySource> o) {
+checkUnnamed4273(core.List<api.AssignedInventorySource> o) {
unittest.expect(o, unittest.hasLength(2));
checkAssignedInventorySource(o[0]);
checkAssignedInventorySource(o[1]);
@@ -4412,7 +4412,7 @@
var o = new api.ListAssignedInventorySourcesResponse();
buildCounterListAssignedInventorySourcesResponse++;
if (buildCounterListAssignedInventorySourcesResponse < 3) {
- o.assignedInventorySources = buildUnnamed4266();
+ o.assignedInventorySources = buildUnnamed4273();
o.nextPageToken = "foo";
}
buildCounterListAssignedInventorySourcesResponse--;
@@ -4423,20 +4423,20 @@
api.ListAssignedInventorySourcesResponse o) {
buildCounterListAssignedInventorySourcesResponse++;
if (buildCounterListAssignedInventorySourcesResponse < 3) {
- checkUnnamed4266(o.assignedInventorySources);
+ checkUnnamed4273(o.assignedInventorySources);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListAssignedInventorySourcesResponse--;
}
-buildUnnamed4267() {
+buildUnnamed4274() {
var o = new core.List<api.AssignedLocation>();
o.add(buildAssignedLocation());
o.add(buildAssignedLocation());
return o;
}
-checkUnnamed4267(core.List<api.AssignedLocation> o) {
+checkUnnamed4274(core.List<api.AssignedLocation> o) {
unittest.expect(o, unittest.hasLength(2));
checkAssignedLocation(o[0]);
checkAssignedLocation(o[1]);
@@ -4447,7 +4447,7 @@
var o = new api.ListAssignedLocationsResponse();
buildCounterListAssignedLocationsResponse++;
if (buildCounterListAssignedLocationsResponse < 3) {
- o.assignedLocations = buildUnnamed4267();
+ o.assignedLocations = buildUnnamed4274();
o.nextPageToken = "foo";
}
buildCounterListAssignedLocationsResponse--;
@@ -4457,20 +4457,20 @@
checkListAssignedLocationsResponse(api.ListAssignedLocationsResponse o) {
buildCounterListAssignedLocationsResponse++;
if (buildCounterListAssignedLocationsResponse < 3) {
- checkUnnamed4267(o.assignedLocations);
+ checkUnnamed4274(o.assignedLocations);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListAssignedLocationsResponse--;
}
-buildUnnamed4268() {
+buildUnnamed4275() {
var o = new core.List<api.Campaign>();
o.add(buildCampaign());
o.add(buildCampaign());
return o;
}
-checkUnnamed4268(core.List<api.Campaign> o) {
+checkUnnamed4275(core.List<api.Campaign> o) {
unittest.expect(o, unittest.hasLength(2));
checkCampaign(o[0]);
checkCampaign(o[1]);
@@ -4481,7 +4481,7 @@
var o = new api.ListCampaignsResponse();
buildCounterListCampaignsResponse++;
if (buildCounterListCampaignsResponse < 3) {
- o.campaigns = buildUnnamed4268();
+ o.campaigns = buildUnnamed4275();
o.nextPageToken = "foo";
}
buildCounterListCampaignsResponse--;
@@ -4491,20 +4491,20 @@
checkListCampaignsResponse(api.ListCampaignsResponse o) {
buildCounterListCampaignsResponse++;
if (buildCounterListCampaignsResponse < 3) {
- checkUnnamed4268(o.campaigns);
+ checkUnnamed4275(o.campaigns);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListCampaignsResponse--;
}
-buildUnnamed4269() {
+buildUnnamed4276() {
var o = new core.List<api.Channel>();
o.add(buildChannel());
o.add(buildChannel());
return o;
}
-checkUnnamed4269(core.List<api.Channel> o) {
+checkUnnamed4276(core.List<api.Channel> o) {
unittest.expect(o, unittest.hasLength(2));
checkChannel(o[0]);
checkChannel(o[1]);
@@ -4515,7 +4515,7 @@
var o = new api.ListChannelsResponse();
buildCounterListChannelsResponse++;
if (buildCounterListChannelsResponse < 3) {
- o.channels = buildUnnamed4269();
+ o.channels = buildUnnamed4276();
o.nextPageToken = "foo";
}
buildCounterListChannelsResponse--;
@@ -4525,20 +4525,20 @@
checkListChannelsResponse(api.ListChannelsResponse o) {
buildCounterListChannelsResponse++;
if (buildCounterListChannelsResponse < 3) {
- checkUnnamed4269(o.channels);
+ checkUnnamed4276(o.channels);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListChannelsResponse--;
}
-buildUnnamed4270() {
+buildUnnamed4277() {
var o = new core.List<api.CombinedAudience>();
o.add(buildCombinedAudience());
o.add(buildCombinedAudience());
return o;
}
-checkUnnamed4270(core.List<api.CombinedAudience> o) {
+checkUnnamed4277(core.List<api.CombinedAudience> o) {
unittest.expect(o, unittest.hasLength(2));
checkCombinedAudience(o[0]);
checkCombinedAudience(o[1]);
@@ -4549,7 +4549,7 @@
var o = new api.ListCombinedAudiencesResponse();
buildCounterListCombinedAudiencesResponse++;
if (buildCounterListCombinedAudiencesResponse < 3) {
- o.combinedAudiences = buildUnnamed4270();
+ o.combinedAudiences = buildUnnamed4277();
o.nextPageToken = "foo";
}
buildCounterListCombinedAudiencesResponse--;
@@ -4559,20 +4559,20 @@
checkListCombinedAudiencesResponse(api.ListCombinedAudiencesResponse o) {
buildCounterListCombinedAudiencesResponse++;
if (buildCounterListCombinedAudiencesResponse < 3) {
- checkUnnamed4270(o.combinedAudiences);
+ checkUnnamed4277(o.combinedAudiences);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListCombinedAudiencesResponse--;
}
-buildUnnamed4271() {
+buildUnnamed4278() {
var o = new core.List<api.Creative>();
o.add(buildCreative());
o.add(buildCreative());
return o;
}
-checkUnnamed4271(core.List<api.Creative> o) {
+checkUnnamed4278(core.List<api.Creative> o) {
unittest.expect(o, unittest.hasLength(2));
checkCreative(o[0]);
checkCreative(o[1]);
@@ -4583,7 +4583,7 @@
var o = new api.ListCreativesResponse();
buildCounterListCreativesResponse++;
if (buildCounterListCreativesResponse < 3) {
- o.creatives = buildUnnamed4271();
+ o.creatives = buildUnnamed4278();
o.nextPageToken = "foo";
}
buildCounterListCreativesResponse--;
@@ -4593,20 +4593,20 @@
checkListCreativesResponse(api.ListCreativesResponse o) {
buildCounterListCreativesResponse++;
if (buildCounterListCreativesResponse < 3) {
- checkUnnamed4271(o.creatives);
+ checkUnnamed4278(o.creatives);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListCreativesResponse--;
}
-buildUnnamed4272() {
+buildUnnamed4279() {
var o = new core.List<api.CustomBiddingAlgorithm>();
o.add(buildCustomBiddingAlgorithm());
o.add(buildCustomBiddingAlgorithm());
return o;
}
-checkUnnamed4272(core.List<api.CustomBiddingAlgorithm> o) {
+checkUnnamed4279(core.List<api.CustomBiddingAlgorithm> o) {
unittest.expect(o, unittest.hasLength(2));
checkCustomBiddingAlgorithm(o[0]);
checkCustomBiddingAlgorithm(o[1]);
@@ -4617,7 +4617,7 @@
var o = new api.ListCustomBiddingAlgorithmsResponse();
buildCounterListCustomBiddingAlgorithmsResponse++;
if (buildCounterListCustomBiddingAlgorithmsResponse < 3) {
- o.customBiddingAlgorithms = buildUnnamed4272();
+ o.customBiddingAlgorithms = buildUnnamed4279();
o.nextPageToken = "foo";
}
buildCounterListCustomBiddingAlgorithmsResponse--;
@@ -4628,20 +4628,20 @@
api.ListCustomBiddingAlgorithmsResponse o) {
buildCounterListCustomBiddingAlgorithmsResponse++;
if (buildCounterListCustomBiddingAlgorithmsResponse < 3) {
- checkUnnamed4272(o.customBiddingAlgorithms);
+ checkUnnamed4279(o.customBiddingAlgorithms);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListCustomBiddingAlgorithmsResponse--;
}
-buildUnnamed4273() {
+buildUnnamed4280() {
var o = new core.List<api.CustomList>();
o.add(buildCustomList());
o.add(buildCustomList());
return o;
}
-checkUnnamed4273(core.List<api.CustomList> o) {
+checkUnnamed4280(core.List<api.CustomList> o) {
unittest.expect(o, unittest.hasLength(2));
checkCustomList(o[0]);
checkCustomList(o[1]);
@@ -4652,7 +4652,7 @@
var o = new api.ListCustomListsResponse();
buildCounterListCustomListsResponse++;
if (buildCounterListCustomListsResponse < 3) {
- o.customLists = buildUnnamed4273();
+ o.customLists = buildUnnamed4280();
o.nextPageToken = "foo";
}
buildCounterListCustomListsResponse--;
@@ -4662,20 +4662,20 @@
checkListCustomListsResponse(api.ListCustomListsResponse o) {
buildCounterListCustomListsResponse++;
if (buildCounterListCustomListsResponse < 3) {
- checkUnnamed4273(o.customLists);
+ checkUnnamed4280(o.customLists);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListCustomListsResponse--;
}
-buildUnnamed4274() {
+buildUnnamed4281() {
var o = new core.List<api.FirstAndThirdPartyAudience>();
o.add(buildFirstAndThirdPartyAudience());
o.add(buildFirstAndThirdPartyAudience());
return o;
}
-checkUnnamed4274(core.List<api.FirstAndThirdPartyAudience> o) {
+checkUnnamed4281(core.List<api.FirstAndThirdPartyAudience> o) {
unittest.expect(o, unittest.hasLength(2));
checkFirstAndThirdPartyAudience(o[0]);
checkFirstAndThirdPartyAudience(o[1]);
@@ -4686,7 +4686,7 @@
var o = new api.ListFirstAndThirdPartyAudiencesResponse();
buildCounterListFirstAndThirdPartyAudiencesResponse++;
if (buildCounterListFirstAndThirdPartyAudiencesResponse < 3) {
- o.firstAndThirdPartyAudiences = buildUnnamed4274();
+ o.firstAndThirdPartyAudiences = buildUnnamed4281();
o.nextPageToken = "foo";
}
buildCounterListFirstAndThirdPartyAudiencesResponse--;
@@ -4697,20 +4697,20 @@
api.ListFirstAndThirdPartyAudiencesResponse o) {
buildCounterListFirstAndThirdPartyAudiencesResponse++;
if (buildCounterListFirstAndThirdPartyAudiencesResponse < 3) {
- checkUnnamed4274(o.firstAndThirdPartyAudiences);
+ checkUnnamed4281(o.firstAndThirdPartyAudiences);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListFirstAndThirdPartyAudiencesResponse--;
}
-buildUnnamed4275() {
+buildUnnamed4282() {
var o = new core.List<api.GoogleAudience>();
o.add(buildGoogleAudience());
o.add(buildGoogleAudience());
return o;
}
-checkUnnamed4275(core.List<api.GoogleAudience> o) {
+checkUnnamed4282(core.List<api.GoogleAudience> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleAudience(o[0]);
checkGoogleAudience(o[1]);
@@ -4721,7 +4721,7 @@
var o = new api.ListGoogleAudiencesResponse();
buildCounterListGoogleAudiencesResponse++;
if (buildCounterListGoogleAudiencesResponse < 3) {
- o.googleAudiences = buildUnnamed4275();
+ o.googleAudiences = buildUnnamed4282();
o.nextPageToken = "foo";
}
buildCounterListGoogleAudiencesResponse--;
@@ -4731,20 +4731,20 @@
checkListGoogleAudiencesResponse(api.ListGoogleAudiencesResponse o) {
buildCounterListGoogleAudiencesResponse++;
if (buildCounterListGoogleAudiencesResponse < 3) {
- checkUnnamed4275(o.googleAudiences);
+ checkUnnamed4282(o.googleAudiences);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListGoogleAudiencesResponse--;
}
-buildUnnamed4276() {
+buildUnnamed4283() {
var o = new core.List<api.InsertionOrder>();
o.add(buildInsertionOrder());
o.add(buildInsertionOrder());
return o;
}
-checkUnnamed4276(core.List<api.InsertionOrder> o) {
+checkUnnamed4283(core.List<api.InsertionOrder> o) {
unittest.expect(o, unittest.hasLength(2));
checkInsertionOrder(o[0]);
checkInsertionOrder(o[1]);
@@ -4755,7 +4755,7 @@
var o = new api.ListInsertionOrdersResponse();
buildCounterListInsertionOrdersResponse++;
if (buildCounterListInsertionOrdersResponse < 3) {
- o.insertionOrders = buildUnnamed4276();
+ o.insertionOrders = buildUnnamed4283();
o.nextPageToken = "foo";
}
buildCounterListInsertionOrdersResponse--;
@@ -4765,20 +4765,20 @@
checkListInsertionOrdersResponse(api.ListInsertionOrdersResponse o) {
buildCounterListInsertionOrdersResponse++;
if (buildCounterListInsertionOrdersResponse < 3) {
- checkUnnamed4276(o.insertionOrders);
+ checkUnnamed4283(o.insertionOrders);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListInsertionOrdersResponse--;
}
-buildUnnamed4277() {
+buildUnnamed4284() {
var o = new core.List<api.InventorySourceGroup>();
o.add(buildInventorySourceGroup());
o.add(buildInventorySourceGroup());
return o;
}
-checkUnnamed4277(core.List<api.InventorySourceGroup> o) {
+checkUnnamed4284(core.List<api.InventorySourceGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkInventorySourceGroup(o[0]);
checkInventorySourceGroup(o[1]);
@@ -4789,7 +4789,7 @@
var o = new api.ListInventorySourceGroupsResponse();
buildCounterListInventorySourceGroupsResponse++;
if (buildCounterListInventorySourceGroupsResponse < 3) {
- o.inventorySourceGroups = buildUnnamed4277();
+ o.inventorySourceGroups = buildUnnamed4284();
o.nextPageToken = "foo";
}
buildCounterListInventorySourceGroupsResponse--;
@@ -4800,20 +4800,20 @@
api.ListInventorySourceGroupsResponse o) {
buildCounterListInventorySourceGroupsResponse++;
if (buildCounterListInventorySourceGroupsResponse < 3) {
- checkUnnamed4277(o.inventorySourceGroups);
+ checkUnnamed4284(o.inventorySourceGroups);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListInventorySourceGroupsResponse--;
}
-buildUnnamed4278() {
+buildUnnamed4285() {
var o = new core.List<api.InventorySource>();
o.add(buildInventorySource());
o.add(buildInventorySource());
return o;
}
-checkUnnamed4278(core.List<api.InventorySource> o) {
+checkUnnamed4285(core.List<api.InventorySource> o) {
unittest.expect(o, unittest.hasLength(2));
checkInventorySource(o[0]);
checkInventorySource(o[1]);
@@ -4824,7 +4824,7 @@
var o = new api.ListInventorySourcesResponse();
buildCounterListInventorySourcesResponse++;
if (buildCounterListInventorySourcesResponse < 3) {
- o.inventorySources = buildUnnamed4278();
+ o.inventorySources = buildUnnamed4285();
o.nextPageToken = "foo";
}
buildCounterListInventorySourcesResponse--;
@@ -4834,20 +4834,20 @@
checkListInventorySourcesResponse(api.ListInventorySourcesResponse o) {
buildCounterListInventorySourcesResponse++;
if (buildCounterListInventorySourcesResponse < 3) {
- checkUnnamed4278(o.inventorySources);
+ checkUnnamed4285(o.inventorySources);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListInventorySourcesResponse--;
}
-buildUnnamed4279() {
+buildUnnamed4286() {
var o = new core.List<api.AssignedTargetingOption>();
o.add(buildAssignedTargetingOption());
o.add(buildAssignedTargetingOption());
return o;
}
-checkUnnamed4279(core.List<api.AssignedTargetingOption> o) {
+checkUnnamed4286(core.List<api.AssignedTargetingOption> o) {
unittest.expect(o, unittest.hasLength(2));
checkAssignedTargetingOption(o[0]);
checkAssignedTargetingOption(o[1]);
@@ -4858,7 +4858,7 @@
var o = new api.ListLineItemAssignedTargetingOptionsResponse();
buildCounterListLineItemAssignedTargetingOptionsResponse++;
if (buildCounterListLineItemAssignedTargetingOptionsResponse < 3) {
- o.assignedTargetingOptions = buildUnnamed4279();
+ o.assignedTargetingOptions = buildUnnamed4286();
o.nextPageToken = "foo";
}
buildCounterListLineItemAssignedTargetingOptionsResponse--;
@@ -4869,20 +4869,20 @@
api.ListLineItemAssignedTargetingOptionsResponse o) {
buildCounterListLineItemAssignedTargetingOptionsResponse++;
if (buildCounterListLineItemAssignedTargetingOptionsResponse < 3) {
- checkUnnamed4279(o.assignedTargetingOptions);
+ checkUnnamed4286(o.assignedTargetingOptions);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListLineItemAssignedTargetingOptionsResponse--;
}
-buildUnnamed4280() {
+buildUnnamed4287() {
var o = new core.List<api.LineItem>();
o.add(buildLineItem());
o.add(buildLineItem());
return o;
}
-checkUnnamed4280(core.List<api.LineItem> o) {
+checkUnnamed4287(core.List<api.LineItem> o) {
unittest.expect(o, unittest.hasLength(2));
checkLineItem(o[0]);
checkLineItem(o[1]);
@@ -4893,7 +4893,7 @@
var o = new api.ListLineItemsResponse();
buildCounterListLineItemsResponse++;
if (buildCounterListLineItemsResponse < 3) {
- o.lineItems = buildUnnamed4280();
+ o.lineItems = buildUnnamed4287();
o.nextPageToken = "foo";
}
buildCounterListLineItemsResponse--;
@@ -4903,20 +4903,20 @@
checkListLineItemsResponse(api.ListLineItemsResponse o) {
buildCounterListLineItemsResponse++;
if (buildCounterListLineItemsResponse < 3) {
- checkUnnamed4280(o.lineItems);
+ checkUnnamed4287(o.lineItems);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListLineItemsResponse--;
}
-buildUnnamed4281() {
+buildUnnamed4288() {
var o = new core.List<api.LocationList>();
o.add(buildLocationList());
o.add(buildLocationList());
return o;
}
-checkUnnamed4281(core.List<api.LocationList> o) {
+checkUnnamed4288(core.List<api.LocationList> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocationList(o[0]);
checkLocationList(o[1]);
@@ -4927,7 +4927,7 @@
var o = new api.ListLocationListsResponse();
buildCounterListLocationListsResponse++;
if (buildCounterListLocationListsResponse < 3) {
- o.locationLists = buildUnnamed4281();
+ o.locationLists = buildUnnamed4288();
o.nextPageToken = "foo";
}
buildCounterListLocationListsResponse--;
@@ -4937,20 +4937,20 @@
checkListLocationListsResponse(api.ListLocationListsResponse o) {
buildCounterListLocationListsResponse++;
if (buildCounterListLocationListsResponse < 3) {
- checkUnnamed4281(o.locationLists);
+ checkUnnamed4288(o.locationLists);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListLocationListsResponse--;
}
-buildUnnamed4282() {
+buildUnnamed4289() {
var o = new core.List<api.NegativeKeywordList>();
o.add(buildNegativeKeywordList());
o.add(buildNegativeKeywordList());
return o;
}
-checkUnnamed4282(core.List<api.NegativeKeywordList> o) {
+checkUnnamed4289(core.List<api.NegativeKeywordList> o) {
unittest.expect(o, unittest.hasLength(2));
checkNegativeKeywordList(o[0]);
checkNegativeKeywordList(o[1]);
@@ -4961,7 +4961,7 @@
var o = new api.ListNegativeKeywordListsResponse();
buildCounterListNegativeKeywordListsResponse++;
if (buildCounterListNegativeKeywordListsResponse < 3) {
- o.negativeKeywordLists = buildUnnamed4282();
+ o.negativeKeywordLists = buildUnnamed4289();
o.nextPageToken = "foo";
}
buildCounterListNegativeKeywordListsResponse--;
@@ -4971,20 +4971,20 @@
checkListNegativeKeywordListsResponse(api.ListNegativeKeywordListsResponse o) {
buildCounterListNegativeKeywordListsResponse++;
if (buildCounterListNegativeKeywordListsResponse < 3) {
- checkUnnamed4282(o.negativeKeywordLists);
+ checkUnnamed4289(o.negativeKeywordLists);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListNegativeKeywordListsResponse--;
}
-buildUnnamed4283() {
+buildUnnamed4290() {
var o = new core.List<api.NegativeKeyword>();
o.add(buildNegativeKeyword());
o.add(buildNegativeKeyword());
return o;
}
-checkUnnamed4283(core.List<api.NegativeKeyword> o) {
+checkUnnamed4290(core.List<api.NegativeKeyword> o) {
unittest.expect(o, unittest.hasLength(2));
checkNegativeKeyword(o[0]);
checkNegativeKeyword(o[1]);
@@ -4995,7 +4995,7 @@
var o = new api.ListNegativeKeywordsResponse();
buildCounterListNegativeKeywordsResponse++;
if (buildCounterListNegativeKeywordsResponse < 3) {
- o.negativeKeywords = buildUnnamed4283();
+ o.negativeKeywords = buildUnnamed4290();
o.nextPageToken = "foo";
}
buildCounterListNegativeKeywordsResponse--;
@@ -5005,20 +5005,20 @@
checkListNegativeKeywordsResponse(api.ListNegativeKeywordsResponse o) {
buildCounterListNegativeKeywordsResponse++;
if (buildCounterListNegativeKeywordsResponse < 3) {
- checkUnnamed4283(o.negativeKeywords);
+ checkUnnamed4290(o.negativeKeywords);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListNegativeKeywordsResponse--;
}
-buildUnnamed4284() {
+buildUnnamed4291() {
var o = new core.List<api.AssignedTargetingOption>();
o.add(buildAssignedTargetingOption());
o.add(buildAssignedTargetingOption());
return o;
}
-checkUnnamed4284(core.List<api.AssignedTargetingOption> o) {
+checkUnnamed4291(core.List<api.AssignedTargetingOption> o) {
unittest.expect(o, unittest.hasLength(2));
checkAssignedTargetingOption(o[0]);
checkAssignedTargetingOption(o[1]);
@@ -5029,7 +5029,7 @@
var o = new api.ListPartnerAssignedTargetingOptionsResponse();
buildCounterListPartnerAssignedTargetingOptionsResponse++;
if (buildCounterListPartnerAssignedTargetingOptionsResponse < 3) {
- o.assignedTargetingOptions = buildUnnamed4284();
+ o.assignedTargetingOptions = buildUnnamed4291();
o.nextPageToken = "foo";
}
buildCounterListPartnerAssignedTargetingOptionsResponse--;
@@ -5040,20 +5040,20 @@
api.ListPartnerAssignedTargetingOptionsResponse o) {
buildCounterListPartnerAssignedTargetingOptionsResponse++;
if (buildCounterListPartnerAssignedTargetingOptionsResponse < 3) {
- checkUnnamed4284(o.assignedTargetingOptions);
+ checkUnnamed4291(o.assignedTargetingOptions);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListPartnerAssignedTargetingOptionsResponse--;
}
-buildUnnamed4285() {
+buildUnnamed4292() {
var o = new core.List<api.Partner>();
o.add(buildPartner());
o.add(buildPartner());
return o;
}
-checkUnnamed4285(core.List<api.Partner> o) {
+checkUnnamed4292(core.List<api.Partner> o) {
unittest.expect(o, unittest.hasLength(2));
checkPartner(o[0]);
checkPartner(o[1]);
@@ -5065,7 +5065,7 @@
buildCounterListPartnersResponse++;
if (buildCounterListPartnersResponse < 3) {
o.nextPageToken = "foo";
- o.partners = buildUnnamed4285();
+ o.partners = buildUnnamed4292();
}
buildCounterListPartnersResponse--;
return o;
@@ -5075,19 +5075,19 @@
buildCounterListPartnersResponse++;
if (buildCounterListPartnersResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed4285(o.partners);
+ checkUnnamed4292(o.partners);
}
buildCounterListPartnersResponse--;
}
-buildUnnamed4286() {
+buildUnnamed4293() {
var o = new core.List<api.Site>();
o.add(buildSite());
o.add(buildSite());
return o;
}
-checkUnnamed4286(core.List<api.Site> o) {
+checkUnnamed4293(core.List<api.Site> o) {
unittest.expect(o, unittest.hasLength(2));
checkSite(o[0]);
checkSite(o[1]);
@@ -5099,7 +5099,7 @@
buildCounterListSitesResponse++;
if (buildCounterListSitesResponse < 3) {
o.nextPageToken = "foo";
- o.sites = buildUnnamed4286();
+ o.sites = buildUnnamed4293();
}
buildCounterListSitesResponse--;
return o;
@@ -5109,19 +5109,19 @@
buildCounterListSitesResponse++;
if (buildCounterListSitesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed4286(o.sites);
+ checkUnnamed4293(o.sites);
}
buildCounterListSitesResponse--;
}
-buildUnnamed4287() {
+buildUnnamed4294() {
var o = new core.List<api.TargetingOption>();
o.add(buildTargetingOption());
o.add(buildTargetingOption());
return o;
}
-checkUnnamed4287(core.List<api.TargetingOption> o) {
+checkUnnamed4294(core.List<api.TargetingOption> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetingOption(o[0]);
checkTargetingOption(o[1]);
@@ -5133,7 +5133,7 @@
buildCounterListTargetingOptionsResponse++;
if (buildCounterListTargetingOptionsResponse < 3) {
o.nextPageToken = "foo";
- o.targetingOptions = buildUnnamed4287();
+ o.targetingOptions = buildUnnamed4294();
}
buildCounterListTargetingOptionsResponse--;
return o;
@@ -5143,19 +5143,19 @@
buildCounterListTargetingOptionsResponse++;
if (buildCounterListTargetingOptionsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed4287(o.targetingOptions);
+ checkUnnamed4294(o.targetingOptions);
}
buildCounterListTargetingOptionsResponse--;
}
-buildUnnamed4288() {
+buildUnnamed4295() {
var o = new core.List<api.User>();
o.add(buildUser());
o.add(buildUser());
return o;
}
-checkUnnamed4288(core.List<api.User> o) {
+checkUnnamed4295(core.List<api.User> o) {
unittest.expect(o, unittest.hasLength(2));
checkUser(o[0]);
checkUser(o[1]);
@@ -5167,7 +5167,7 @@
buildCounterListUsersResponse++;
if (buildCounterListUsersResponse < 3) {
o.nextPageToken = "foo";
- o.users = buildUnnamed4288();
+ o.users = buildUnnamed4295();
}
buildCounterListUsersResponse--;
return o;
@@ -5177,7 +5177,7 @@
buildCounterListUsersResponse++;
if (buildCounterListUsersResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed4288(o.users);
+ checkUnnamed4295(o.users);
}
buildCounterListUsersResponse--;
}
@@ -5482,7 +5482,7 @@
buildCounterOperatingSystemTargetingOptionDetails--;
}
-buildUnnamed4289() {
+buildUnnamed4296() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -5497,7 +5497,7 @@
return o;
}
-checkUnnamed4289(core.Map<core.String, core.Object> o) {
+checkUnnamed4296(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted3 = (o["x"]) as core.Map;
unittest.expect(casted3, unittest.hasLength(3));
@@ -5511,7 +5511,7 @@
unittest.expect(casted4["string"], unittest.equals('foo'));
}
-buildUnnamed4290() {
+buildUnnamed4297() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -5526,7 +5526,7 @@
return o;
}
-checkUnnamed4290(core.Map<core.String, core.Object> o) {
+checkUnnamed4297(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted5 = (o["x"]) as core.Map;
unittest.expect(casted5, unittest.hasLength(3));
@@ -5547,9 +5547,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed4289();
+ o.metadata = buildUnnamed4296();
o.name = "foo";
- o.response = buildUnnamed4290();
+ o.response = buildUnnamed4297();
}
buildCounterOperation--;
return o;
@@ -5560,9 +5560,9 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed4289(o.metadata);
+ checkUnnamed4296(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed4290(o.response);
+ checkUnnamed4297(o.response);
}
buildCounterOperation--;
}
@@ -5592,27 +5592,27 @@
buildCounterPacing--;
}
-buildUnnamed4291() {
+buildUnnamed4298() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4291(core.List<core.String> o) {
+checkUnnamed4298(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed4292() {
+buildUnnamed4299() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4292(core.List<core.String> o) {
+checkUnnamed4299(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -5623,8 +5623,8 @@
var o = new api.ParentEntityFilter();
buildCounterParentEntityFilter++;
if (buildCounterParentEntityFilter < 3) {
- o.fileType = buildUnnamed4291();
- o.filterIds = buildUnnamed4292();
+ o.fileType = buildUnnamed4298();
+ o.filterIds = buildUnnamed4299();
o.filterType = "foo";
}
buildCounterParentEntityFilter--;
@@ -5634,8 +5634,8 @@
checkParentEntityFilter(api.ParentEntityFilter o) {
buildCounterParentEntityFilter++;
if (buildCounterParentEntityFilter < 3) {
- checkUnnamed4291(o.fileType);
- checkUnnamed4292(o.filterIds);
+ checkUnnamed4298(o.fileType);
+ checkUnnamed4299(o.filterIds);
unittest.expect(o.filterType, unittest.equals('foo'));
}
buildCounterParentEntityFilter--;
@@ -5965,27 +5965,27 @@
buildCounterRegionalLocationListAssignedTargetingOptionDetails--;
}
-buildUnnamed4293() {
+buildUnnamed4300() {
var o = new core.List<api.ExchangeReviewStatus>();
o.add(buildExchangeReviewStatus());
o.add(buildExchangeReviewStatus());
return o;
}
-checkUnnamed4293(core.List<api.ExchangeReviewStatus> o) {
+checkUnnamed4300(core.List<api.ExchangeReviewStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkExchangeReviewStatus(o[0]);
checkExchangeReviewStatus(o[1]);
}
-buildUnnamed4294() {
+buildUnnamed4301() {
var o = new core.List<api.PublisherReviewStatus>();
o.add(buildPublisherReviewStatus());
o.add(buildPublisherReviewStatus());
return o;
}
-checkUnnamed4294(core.List<api.PublisherReviewStatus> o) {
+checkUnnamed4301(core.List<api.PublisherReviewStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkPublisherReviewStatus(o[0]);
checkPublisherReviewStatus(o[1]);
@@ -5999,8 +5999,8 @@
o.approvalStatus = "foo";
o.contentAndPolicyReviewStatus = "foo";
o.creativeAndLandingPageReviewStatus = "foo";
- o.exchangeReviewStatuses = buildUnnamed4293();
- o.publisherReviewStatuses = buildUnnamed4294();
+ o.exchangeReviewStatuses = buildUnnamed4300();
+ o.publisherReviewStatuses = buildUnnamed4301();
}
buildCounterReviewStatusInfo--;
return o;
@@ -6013,8 +6013,8 @@
unittest.expect(o.contentAndPolicyReviewStatus, unittest.equals('foo'));
unittest.expect(
o.creativeAndLandingPageReviewStatus, unittest.equals('foo'));
- checkUnnamed4293(o.exchangeReviewStatuses);
- checkUnnamed4294(o.publisherReviewStatuses);
+ checkUnnamed4300(o.exchangeReviewStatuses);
+ checkUnnamed4301(o.publisherReviewStatuses);
}
buildCounterReviewStatusInfo--;
}
@@ -6145,7 +6145,7 @@
buildCounterSite--;
}
-buildUnnamed4295() {
+buildUnnamed4302() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -6160,7 +6160,7 @@
return o;
}
-checkUnnamed4295(core.Map<core.String, core.Object> o) {
+checkUnnamed4302(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted7 = (o["x"]) as core.Map;
unittest.expect(casted7, unittest.hasLength(3));
@@ -6174,17 +6174,17 @@
unittest.expect(casted8["string"], unittest.equals('foo'));
}
-buildUnnamed4296() {
+buildUnnamed4303() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed4295());
- o.add(buildUnnamed4295());
+ o.add(buildUnnamed4302());
+ o.add(buildUnnamed4302());
return o;
}
-checkUnnamed4296(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed4303(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed4295(o[0]);
- checkUnnamed4295(o[1]);
+ checkUnnamed4302(o[0]);
+ checkUnnamed4302(o[1]);
}
core.int buildCounterStatus = 0;
@@ -6193,7 +6193,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed4296();
+ o.details = buildUnnamed4303();
o.message = "foo";
}
buildCounterStatus--;
@@ -6204,7 +6204,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed4296(o.details);
+ checkUnnamed4303(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
@@ -6540,14 +6540,14 @@
buildCounterUrlAssignedTargetingOptionDetails--;
}
-buildUnnamed4297() {
+buildUnnamed4304() {
var o = new core.List<api.AssignedUserRole>();
o.add(buildAssignedUserRole());
o.add(buildAssignedUserRole());
return o;
}
-checkUnnamed4297(core.List<api.AssignedUserRole> o) {
+checkUnnamed4304(core.List<api.AssignedUserRole> o) {
unittest.expect(o, unittest.hasLength(2));
checkAssignedUserRole(o[0]);
checkAssignedUserRole(o[1]);
@@ -6558,7 +6558,7 @@
var o = new api.User();
buildCounterUser++;
if (buildCounterUser < 3) {
- o.assignedUserRoles = buildUnnamed4297();
+ o.assignedUserRoles = buildUnnamed4304();
o.displayName = "foo";
o.email = "foo";
o.name = "foo";
@@ -6571,7 +6571,7 @@
checkUser(api.User o) {
buildCounterUser++;
if (buildCounterUser < 3) {
- checkUnnamed4297(o.assignedUserRoles);
+ checkUnnamed4304(o.assignedUserRoles);
unittest.expect(o.displayName, unittest.equals('foo'));
unittest.expect(o.email, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
@@ -8700,8 +8700,8 @@
api.AdvertisersResourceApi res =
new api.DisplayvideoApi(mock).advertisers;
var arg_advertiserId = "foo";
- var arg_filter = "foo";
var arg_orderBy = "foo";
+ var arg_filter = "foo";
var arg_pageToken = "foo";
var arg_pageSize = 42;
var arg_$fields = "foo";
@@ -8736,9 +8736,9 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
@@ -8754,8 +8754,8 @@
}), true);
res
.bulkListAdvertiserAssignedTargetingOptions(arg_advertiserId,
- filter: arg_filter,
orderBy: arg_orderBy,
+ filter: arg_filter,
pageToken: arg_pageToken,
pageSize: arg_pageSize,
$fields: arg_$fields)
@@ -8926,11 +8926,11 @@
var mock = new HttpServerMock();
api.AdvertisersResourceApi res =
new 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_orderBy = "foo";
- var arg_partnerId = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -8962,15 +8962,15 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ 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["orderBy"].first, unittest.equals(arg_orderBy));
- unittest.expect(
- queryMap["partnerId"].first, unittest.equals(arg_partnerId));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -8981,11 +8981,11 @@
}), true);
res
.list(
+ partnerId: arg_partnerId,
filter: arg_filter,
+ orderBy: arg_orderBy,
pageToken: arg_pageToken,
pageSize: arg_pageSize,
- orderBy: arg_orderBy,
- partnerId: arg_partnerId,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListAdvertisersResponse(response);
@@ -9282,10 +9282,10 @@
api.AdvertisersCampaignsResourceApi res =
new api.DisplayvideoApi(mock).advertisers.campaigns;
var arg_advertiserId = "foo";
- var arg_filter = "foo";
- var arg_pageSize = 42;
var arg_pageToken = "foo";
+ var arg_pageSize = 42;
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;
@@ -9318,13 +9318,13 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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["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 = {
@@ -9335,10 +9335,10 @@
}), true);
res
.list(arg_advertiserId,
- filter: arg_filter,
- pageSize: arg_pageSize,
pageToken: arg_pageToken,
+ pageSize: arg_pageSize,
orderBy: arg_orderBy,
+ filter: arg_filter,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListCampaignsResponse(response);
@@ -9530,11 +9530,11 @@
api.AdvertisersChannelsResourceApi res =
new api.DisplayvideoApi(mock).advertisers.channels;
var arg_advertiserId = "foo";
- var arg_partnerId = "foo";
- var arg_pageSize = 42;
var arg_pageToken = "foo";
- var arg_orderBy = "foo";
var arg_filter = "foo";
+ var arg_pageSize = 42;
+ var arg_orderBy = "foo";
+ var arg_partnerId = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -9568,14 +9568,14 @@
}
}
unittest.expect(
- queryMap["partnerId"].first, unittest.equals(arg_partnerId));
+ 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["orderBy"].first, unittest.equals(arg_orderBy));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
+ unittest.expect(
+ queryMap["partnerId"].first, unittest.equals(arg_partnerId));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -9586,11 +9586,11 @@
}), true);
res
.list(arg_advertiserId,
- partnerId: arg_partnerId,
- pageSize: arg_pageSize,
pageToken: arg_pageToken,
- orderBy: arg_orderBy,
filter: arg_filter,
+ pageSize: arg_pageSize,
+ orderBy: arg_orderBy,
+ partnerId: arg_partnerId,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListChannelsResponse(response);
@@ -9875,11 +9875,11 @@
new api.DisplayvideoApi(mock).advertisers.channels.sites;
var arg_advertiserId = "foo";
var arg_channelId = "foo";
- var arg_orderBy = "foo";
var arg_pageToken = "foo";
- var arg_partnerId = "foo";
- var arg_pageSize = 42;
var arg_filter = "foo";
+ var arg_partnerId = "foo";
+ var arg_orderBy = "foo";
+ var arg_pageSize = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -9913,14 +9913,14 @@
}
}
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["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["filter"].first, unittest.equals(arg_filter));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -9931,11 +9931,11 @@
}), true);
res
.list(arg_advertiserId, arg_channelId,
- orderBy: arg_orderBy,
pageToken: arg_pageToken,
- partnerId: arg_partnerId,
- pageSize: arg_pageSize,
filter: arg_filter,
+ partnerId: arg_partnerId,
+ orderBy: arg_orderBy,
+ pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListSitesResponse(response);
@@ -10111,9 +10111,9 @@
api.AdvertisersCreativesResourceApi res =
new api.DisplayvideoApi(mock).advertisers.creatives;
var arg_advertiserId = "foo";
- var arg_pageToken = "foo";
var arg_pageSize = 42;
var arg_orderBy = "foo";
+ var arg_pageToken = "foo";
var arg_filter = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -10147,12 +10147,12 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
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));
@@ -10164,9 +10164,9 @@
}), true);
res
.list(arg_advertiserId,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
orderBy: arg_orderBy,
+ pageToken: arg_pageToken,
filter: arg_filter,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -10404,10 +10404,10 @@
api.AdvertisersInsertionOrdersResourceApi res =
new api.DisplayvideoApi(mock).advertisers.insertionOrders;
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_filter = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -10440,13 +10440,13 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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["filter"].first, unittest.equals(arg_filter));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -10457,10 +10457,10 @@
}), true);
res
.list(arg_advertiserId,
- filter: arg_filter,
orderBy: arg_orderBy,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
+ filter: arg_filter,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListInsertionOrdersResponse(response);
@@ -10599,9 +10599,9 @@
var arg_advertiserId = "foo";
var arg_lineItemId = "foo";
var arg_pageToken = "foo";
- var arg_filter = "foo";
- var arg_pageSize = 42;
var arg_orderBy = "foo";
+ var arg_pageSize = 42;
+ var arg_filter = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -10636,11 +10636,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["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["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -10654,9 +10654,9 @@
.bulkListLineItemAssignedTargetingOptions(
arg_advertiserId, arg_lineItemId,
pageToken: arg_pageToken,
- filter: arg_filter,
- pageSize: arg_pageSize,
orderBy: arg_orderBy,
+ pageSize: arg_pageSize,
+ filter: arg_filter,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkBulkListLineItemAssignedTargetingOptionsResponse(response);
@@ -10830,10 +10830,10 @@
api.AdvertisersLineItemsResourceApi res =
new api.DisplayvideoApi(mock).advertisers.lineItems;
var arg_advertiserId = "foo";
- var arg_filter = "foo";
- var arg_pageSize = 42;
- var arg_pageToken = "foo";
var arg_orderBy = "foo";
+ var arg_filter = "foo";
+ var arg_pageToken = "foo";
+ var arg_pageSize = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -10866,13 +10866,13 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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["orderBy"].first, unittest.equals(arg_orderBy));
+ 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["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -10883,10 +10883,10 @@
}), true);
res
.list(arg_advertiserId,
- filter: arg_filter,
- pageSize: arg_pageSize,
- pageToken: arg_pageToken,
orderBy: arg_orderBy,
+ filter: arg_filter,
+ pageToken: arg_pageToken,
+ pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListLineItemsResponse(response);
@@ -11156,9 +11156,9 @@
var arg_lineItemId = "foo";
var arg_targetingType = "foo";
var arg_pageSize = 42;
+ var arg_pageToken = "foo";
var arg_orderBy = "foo";
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;
@@ -11194,10 +11194,10 @@
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["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -11210,9 +11210,9 @@
res
.list(arg_advertiserId, arg_lineItemId, arg_targetingType,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
orderBy: arg_orderBy,
filter: arg_filter,
- pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListLineItemAssignedTargetingOptionsResponse(response);
@@ -11336,9 +11336,9 @@
new api.DisplayvideoApi(mock).advertisers.locationLists;
var arg_advertiserId = "foo";
var arg_orderBy = "foo";
- var arg_pageToken = "foo";
- var arg_filter = "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;
@@ -11373,11 +11373,11 @@
}
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(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 = {
@@ -11389,9 +11389,9 @@
res
.list(arg_advertiserId,
orderBy: arg_orderBy,
- pageToken: arg_pageToken,
- filter: arg_filter,
pageSize: arg_pageSize,
+ filter: arg_filter,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListLocationListsResponse(response);
@@ -11696,10 +11696,10 @@
.assignedLocations;
var arg_advertiserId = "foo";
var arg_locationListId = "foo";
- var arg_filter = "foo";
- var arg_pageSize = 42;
var arg_pageToken = "foo";
+ var arg_filter = "foo";
var arg_orderBy = "foo";
+ var arg_pageSize = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -11749,13 +11749,13 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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["orderBy"].first, unittest.equals(arg_orderBy));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -11766,10 +11766,10 @@
}), true);
res
.list(arg_advertiserId, arg_locationListId,
- filter: arg_filter,
- pageSize: arg_pageSize,
pageToken: arg_pageToken,
+ filter: arg_filter,
orderBy: arg_orderBy,
+ pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListAssignedLocationsResponse(response);
@@ -11947,8 +11947,8 @@
api.AdvertisersNegativeKeywordListsResourceApi res =
new api.DisplayvideoApi(mock).advertisers.negativeKeywordLists;
var arg_advertiserId = "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;
@@ -11981,10 +11981,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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 = {
@@ -11995,8 +11995,8 @@
}), true);
res
.list(arg_advertiserId,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListNegativeKeywordListsResponse(response);
@@ -12284,10 +12284,10 @@
.negativeKeywords;
var arg_advertiserId = "foo";
var arg_negativeKeywordListId = "foo";
- var arg_pageSize = 42;
var arg_orderBy = "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;
@@ -12320,13 +12320,13 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ 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["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 = {
@@ -12337,10 +12337,10 @@
}), true);
res
.list(arg_advertiserId, arg_negativeKeywordListId,
- pageSize: arg_pageSize,
orderBy: arg_orderBy,
- pageToken: arg_pageToken,
filter: arg_filter,
+ pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListNegativeKeywordsResponse(response);
@@ -12540,8 +12540,8 @@
var arg_advertiserId = "foo";
var arg_targetingType = "foo";
var arg_orderBy = "foo";
- var arg_pageToken = "foo";
var arg_filter = "foo";
+ var arg_pageToken = "foo";
var arg_pageSize = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -12577,9 +12577,9 @@
}
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));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -12594,8 +12594,8 @@
res
.list(arg_advertiserId, arg_targetingType,
orderBy: arg_orderBy,
- pageToken: arg_pageToken,
filter: arg_filter,
+ pageToken: arg_pageToken,
pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -12610,8 +12610,8 @@
api.CombinedAudiencesResourceApi res =
new api.DisplayvideoApi(mock).combinedAudiences;
var arg_combinedAudienceId = "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;
@@ -12645,9 +12645,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 = {
@@ -12658,8 +12658,8 @@
}), true);
res
.get(arg_combinedAudienceId,
- partnerId: arg_partnerId,
advertiserId: arg_advertiserId,
+ partnerId: arg_partnerId,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkCombinedAudience(response);
@@ -12671,11 +12671,11 @@
api.CombinedAudiencesResourceApi res =
new api.DisplayvideoApi(mock).combinedAudiences;
var arg_orderBy = "foo";
+ var arg_pageToken = "foo";
var arg_partnerId = "foo";
var arg_filter = "foo";
- var arg_advertiserId = "foo";
- var arg_pageToken = "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;
@@ -12710,14 +12710,14 @@
unittest.expect(
queryMap["orderBy"].first, unittest.equals(arg_orderBy));
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(
- queryMap["advertiserId"].first, unittest.equals(arg_advertiserId));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
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 = {
@@ -12729,11 +12729,11 @@
res
.list(
orderBy: arg_orderBy,
+ pageToken: arg_pageToken,
partnerId: arg_partnerId,
filter: arg_filter,
- advertiserId: arg_advertiserId,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ advertiserId: arg_advertiserId,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListCombinedAudiencesResponse(response);
@@ -12747,8 +12747,8 @@
api.CustomBiddingAlgorithmsResourceApi res =
new api.DisplayvideoApi(mock).customBiddingAlgorithms;
var arg_customBiddingAlgorithmId = "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;
@@ -12782,9 +12782,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 = {
@@ -12795,8 +12795,8 @@
}), true);
res
.get(arg_customBiddingAlgorithmId,
- partnerId: arg_partnerId,
advertiserId: arg_advertiserId,
+ partnerId: arg_partnerId,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkCustomBiddingAlgorithm(response);
@@ -12807,12 +12807,12 @@
var mock = new HttpServerMock();
api.CustomBiddingAlgorithmsResourceApi res =
new api.DisplayvideoApi(mock).customBiddingAlgorithms;
- var arg_filter = "foo";
- var arg_pageToken = "foo";
- var arg_pageSize = 42;
- var arg_orderBy = "foo";
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_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -12844,17 +12844,17 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ queryMap["partnerId"].first, unittest.equals(arg_partnerId));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
unittest.expect(
- queryMap["orderBy"].first, unittest.equals(arg_orderBy));
- unittest.expect(
- queryMap["partnerId"].first, unittest.equals(arg_partnerId));
+ 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(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -12866,12 +12866,12 @@
}), true);
res
.list(
- filter: arg_filter,
- pageToken: arg_pageToken,
- pageSize: arg_pageSize,
- orderBy: arg_orderBy,
partnerId: arg_partnerId,
+ pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
advertiserId: arg_advertiserId,
+ filter: arg_filter,
+ orderBy: arg_orderBy,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListCustomBiddingAlgorithmsResponse(response);
@@ -12940,11 +12940,11 @@
var mock = new HttpServerMock();
api.CustomListsResourceApi res =
new api.DisplayvideoApi(mock).customLists;
- var arg_advertiserId = "foo";
- var arg_orderBy = "foo";
var arg_pageToken = "foo";
- var arg_filter = "foo";
+ var arg_advertiserId = "foo";
var arg_pageSize = 42;
+ 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;
@@ -12977,14 +12977,14 @@
}
}
unittest.expect(
- queryMap["advertiserId"].first, unittest.equals(arg_advertiserId));
- 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["advertiserId"].first, unittest.equals(arg_advertiserId));
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["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -12995,11 +12995,11 @@
}), true);
res
.list(
- advertiserId: arg_advertiserId,
- orderBy: arg_orderBy,
pageToken: arg_pageToken,
- filter: arg_filter,
+ advertiserId: arg_advertiserId,
pageSize: arg_pageSize,
+ orderBy: arg_orderBy,
+ filter: arg_filter,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListCustomListsResponse(response);
@@ -13073,11 +13073,11 @@
var mock = new HttpServerMock();
api.FirstAndThirdPartyAudiencesResourceApi res =
new api.DisplayvideoApi(mock).firstAndThirdPartyAudiences;
- var arg_partnerId = "foo";
- var arg_orderBy = "foo";
- var arg_pageToken = "foo";
var arg_advertiserId = "foo";
+ var arg_orderBy = "foo";
var arg_filter = "foo";
+ var arg_pageToken = "foo";
+ var arg_partnerId = "foo";
var arg_pageSize = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -13111,14 +13111,14 @@
}
}
unittest.expect(
- queryMap["partnerId"].first, unittest.equals(arg_partnerId));
+ queryMap["advertiserId"].first, unittest.equals(arg_advertiserId));
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));
unittest.expect(
- queryMap["advertiserId"].first, unittest.equals(arg_advertiserId));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
+ 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));
@@ -13132,11 +13132,11 @@
}), true);
res
.list(
- partnerId: arg_partnerId,
- orderBy: arg_orderBy,
- pageToken: arg_pageToken,
advertiserId: arg_advertiserId,
+ orderBy: arg_orderBy,
filter: arg_filter,
+ pageToken: arg_pageToken,
+ partnerId: arg_partnerId,
pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -13276,8 +13276,8 @@
api.GoogleAudiencesResourceApi res =
new api.DisplayvideoApi(mock).googleAudiences;
var arg_googleAudienceId = "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;
@@ -13311,9 +13311,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 = {
@@ -13324,8 +13324,8 @@
}), true);
res
.get(arg_googleAudienceId,
- partnerId: arg_partnerId,
advertiserId: arg_advertiserId,
+ partnerId: arg_partnerId,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGoogleAudience(response);
@@ -13336,10 +13336,10 @@
var mock = new HttpServerMock();
api.GoogleAudiencesResourceApi res =
new api.DisplayvideoApi(mock).googleAudiences;
+ var arg_advertiserId = "foo";
var arg_filter = "foo";
var arg_partnerId = "foo";
var arg_pageToken = "foo";
- var arg_advertiserId = "foo";
var arg_orderBy = "foo";
var arg_pageSize = 42;
var arg_$fields = "foo";
@@ -13373,14 +13373,14 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(
+ 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["advertiserId"].first, unittest.equals(arg_advertiserId));
- unittest.expect(
queryMap["orderBy"].first, unittest.equals(arg_orderBy));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
@@ -13394,10 +13394,10 @@
}), true);
res
.list(
+ advertiserId: arg_advertiserId,
filter: arg_filter,
partnerId: arg_partnerId,
pageToken: arg_pageToken,
- advertiserId: arg_advertiserId,
orderBy: arg_orderBy,
pageSize: arg_pageSize,
$fields: arg_$fields)
@@ -13476,8 +13476,8 @@
api.InventorySourceGroupsResourceApi res =
new api.DisplayvideoApi(mock).inventorySourceGroups;
var arg_inventorySourceGroupId = "foo";
- var arg_advertiserId = "foo";
var arg_partnerId = "foo";
+ var arg_advertiserId = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -13511,9 +13511,9 @@
}
}
unittest.expect(
- queryMap["advertiserId"].first, unittest.equals(arg_advertiserId));
- unittest.expect(
queryMap["partnerId"].first, unittest.equals(arg_partnerId));
+ unittest.expect(
+ queryMap["advertiserId"].first, unittest.equals(arg_advertiserId));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -13524,8 +13524,8 @@
}), true);
res
.delete(arg_inventorySourceGroupId,
- advertiserId: arg_advertiserId,
partnerId: arg_partnerId,
+ advertiserId: arg_advertiserId,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkEmpty(response);
@@ -13537,8 +13537,8 @@
api.InventorySourceGroupsResourceApi res =
new api.DisplayvideoApi(mock).inventorySourceGroups;
var arg_inventorySourceGroupId = "foo";
- var arg_advertiserId = "foo";
var arg_partnerId = "foo";
+ var arg_advertiserId = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -13572,9 +13572,9 @@
}
}
unittest.expect(
- queryMap["advertiserId"].first, unittest.equals(arg_advertiserId));
- unittest.expect(
queryMap["partnerId"].first, unittest.equals(arg_partnerId));
+ unittest.expect(
+ queryMap["advertiserId"].first, unittest.equals(arg_advertiserId));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -13585,8 +13585,8 @@
}), true);
res
.get(arg_inventorySourceGroupId,
- advertiserId: arg_advertiserId,
partnerId: arg_partnerId,
+ advertiserId: arg_advertiserId,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkInventorySourceGroup(response);
@@ -13597,12 +13597,12 @@
var mock = new HttpServerMock();
api.InventorySourceGroupsResourceApi res =
new api.DisplayvideoApi(mock).inventorySourceGroups;
- var arg_pageToken = "foo";
+ var arg_advertiserId = "foo";
var arg_filter = "foo";
+ var arg_orderBy = "foo";
+ var arg_pageToken = "foo";
var arg_pageSize = 42;
var arg_partnerId = "foo";
- var arg_advertiserId = "foo";
- var arg_orderBy = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -13635,16 +13635,16 @@
}
}
unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ 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["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
unittest.expect(
queryMap["partnerId"].first, unittest.equals(arg_partnerId));
- unittest.expect(
- queryMap["advertiserId"].first, unittest.equals(arg_advertiserId));
- unittest.expect(
- queryMap["orderBy"].first, unittest.equals(arg_orderBy));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -13656,12 +13656,12 @@
}), true);
res
.list(
- pageToken: arg_pageToken,
+ advertiserId: arg_advertiserId,
filter: arg_filter,
+ orderBy: arg_orderBy,
+ pageToken: arg_pageToken,
pageSize: arg_pageSize,
partnerId: arg_partnerId,
- advertiserId: arg_advertiserId,
- orderBy: arg_orderBy,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListInventorySourceGroupsResponse(response);
@@ -13674,8 +13674,8 @@
new api.DisplayvideoApi(mock).inventorySourceGroups;
var arg_request = buildInventorySourceGroup();
var arg_inventorySourceGroupId = "foo";
- var arg_advertiserId = "foo";
var arg_updateMask = "foo";
+ var arg_advertiserId = "foo";
var arg_partnerId = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -13716,10 +13716,10 @@
}
}
unittest.expect(
- queryMap["advertiserId"].first, unittest.equals(arg_advertiserId));
- 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["fields"].first, unittest.equals(arg_$fields));
@@ -13731,8 +13731,8 @@
}), true);
res
.patch(arg_request, arg_inventorySourceGroupId,
- advertiserId: arg_advertiserId,
updateMask: arg_updateMask,
+ advertiserId: arg_advertiserId,
partnerId: arg_partnerId,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -13942,12 +13942,12 @@
.inventorySourceGroups
.assignedInventorySources;
var arg_inventorySourceGroupId = "foo";
- var arg_partnerId = "foo";
var arg_pageSize = 42;
var arg_pageToken = "foo";
- var arg_advertiserId = "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;
@@ -13980,17 +13980,17 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(
- queryMap["partnerId"].first, unittest.equals(arg_partnerId));
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["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 = {
@@ -14002,12 +14002,12 @@
}), true);
res
.list(arg_inventorySourceGroupId,
- partnerId: arg_partnerId,
pageSize: arg_pageSize,
pageToken: arg_pageToken,
- advertiserId: arg_advertiserId,
orderBy: arg_orderBy,
+ partnerId: arg_partnerId,
filter: arg_filter,
+ advertiserId: arg_advertiserId,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListAssignedInventorySourcesResponse(response);
@@ -14077,11 +14077,11 @@
api.InventorySourcesResourceApi res =
new api.DisplayvideoApi(mock).inventorySources;
var arg_partnerId = "foo";
- var arg_advertiserId = "foo";
- var arg_pageSize = 42;
- var arg_orderBy = "foo";
var arg_filter = "foo";
var arg_pageToken = "foo";
+ var arg_advertiserId = "foo";
+ var arg_orderBy = "foo";
+ var arg_pageSize = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -14115,15 +14115,15 @@
}
unittest.expect(
queryMap["partnerId"].first, unittest.equals(arg_partnerId));
- unittest.expect(
- queryMap["advertiserId"].first, unittest.equals(arg_advertiserId));
- 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["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(
+ queryMap["advertiserId"].first, unittest.equals(arg_advertiserId));
+ unittest.expect(
+ queryMap["orderBy"].first, unittest.equals(arg_orderBy));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -14135,11 +14135,11 @@
res
.list(
partnerId: arg_partnerId,
- advertiserId: arg_advertiserId,
- pageSize: arg_pageSize,
- orderBy: arg_orderBy,
filter: arg_filter,
pageToken: arg_pageToken,
+ advertiserId: arg_advertiserId,
+ orderBy: arg_orderBy,
+ pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListInventorySourcesResponse(response);
@@ -14318,9 +14318,9 @@
var mock = new HttpServerMock();
api.PartnersResourceApi res = new api.DisplayvideoApi(mock).partners;
var arg_filter = "foo";
- var arg_orderBy = "foo";
- var arg_pageSize = 42;
var arg_pageToken = "foo";
+ var arg_pageSize = 42;
+ var arg_orderBy = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -14354,11 +14354,11 @@
}
unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(
- queryMap["orderBy"].first, unittest.equals(arg_orderBy));
+ 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));
+ queryMap["orderBy"].first, unittest.equals(arg_orderBy));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -14370,9 +14370,9 @@
res
.list(
filter: arg_filter,
- orderBy: arg_orderBy,
- pageSize: arg_pageSize,
pageToken: arg_pageToken,
+ pageSize: arg_pageSize,
+ orderBy: arg_orderBy,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListPartnersResponse(response);
@@ -14503,8 +14503,8 @@
api.PartnersChannelsResourceApi res =
new api.DisplayvideoApi(mock).partners.channels;
var arg_partnerId = "foo";
- var arg_pageSize = 42;
var arg_orderBy = "foo";
+ var arg_pageSize = 42;
var arg_pageToken = "foo";
var arg_filter = "foo";
var arg_advertiserId = "foo";
@@ -14540,10 +14540,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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["filter"].first, unittest.equals(arg_filter));
@@ -14559,8 +14559,8 @@
}), true);
res
.list(arg_partnerId,
- pageSize: arg_pageSize,
orderBy: arg_orderBy,
+ pageSize: arg_pageSize,
pageToken: arg_pageToken,
filter: arg_filter,
advertiserId: arg_advertiserId,
@@ -14577,8 +14577,8 @@
var arg_request = buildChannel();
var arg_partnerId = "foo";
var arg_channelId = "foo";
- var arg_advertiserId = "foo";
var arg_updateMask = "foo";
+ var arg_advertiserId = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.Channel.fromJson(json);
@@ -14615,9 +14615,9 @@
}
}
unittest.expect(
- queryMap["advertiserId"].first, unittest.equals(arg_advertiserId));
- unittest.expect(
queryMap["updateMask"].first, unittest.equals(arg_updateMask));
+ unittest.expect(
+ queryMap["advertiserId"].first, unittest.equals(arg_advertiserId));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -14628,8 +14628,8 @@
}), true);
res
.patch(arg_request, arg_partnerId, arg_channelId,
- advertiserId: arg_advertiserId,
updateMask: arg_updateMask,
+ advertiserId: arg_advertiserId,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkChannel(response);
@@ -14848,11 +14848,11 @@
new api.DisplayvideoApi(mock).partners.channels.sites;
var arg_partnerId = "foo";
var arg_channelId = "foo";
- var arg_orderBy = "foo";
- var arg_advertiserId = "foo";
- var arg_pageToken = "foo";
- var arg_pageSize = 42;
var arg_filter = "foo";
+ var arg_pageToken = "foo";
+ var arg_advertiserId = "foo";
+ var arg_pageSize = 42;
+ var arg_orderBy = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -14885,15 +14885,15 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(
+ queryMap["advertiserId"].first, unittest.equals(arg_advertiserId));
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["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -14904,11 +14904,11 @@
}), true);
res
.list(arg_partnerId, arg_channelId,
- orderBy: arg_orderBy,
- advertiserId: arg_advertiserId,
- pageToken: arg_pageToken,
- pageSize: arg_pageSize,
filter: arg_filter,
+ pageToken: arg_pageToken,
+ advertiserId: arg_advertiserId,
+ pageSize: arg_pageSize,
+ orderBy: arg_orderBy,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListSitesResponse(response);
@@ -15105,10 +15105,10 @@
.assignedTargetingOptions;
var arg_partnerId = "foo";
var arg_targetingType = "foo";
- var arg_orderBy = "foo";
- var arg_filter = "foo";
- var arg_pageSize = 42;
var arg_pageToken = "foo";
+ var arg_orderBy = "foo";
+ var arg_pageSize = 42;
+ var arg_filter = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -15142,12 +15142,12 @@
}
}
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(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 = {
@@ -15159,10 +15159,10 @@
}), true);
res
.list(arg_partnerId, arg_targetingType,
- orderBy: arg_orderBy,
- filter: arg_filter,
- pageSize: arg_pageSize,
pageToken: arg_pageToken,
+ orderBy: arg_orderBy,
+ pageSize: arg_pageSize,
+ filter: arg_filter,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListPartnerAssignedTargetingOptionsResponse(response);
@@ -15343,10 +15343,10 @@
api.TargetingTypesTargetingOptionsResourceApi res =
new api.DisplayvideoApi(mock).targetingTypes.targetingOptions;
var arg_targetingType = "foo";
- var arg_filter = "foo";
- var arg_advertiserId = "foo";
var arg_orderBy = "foo";
+ var arg_advertiserId = "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) {
@@ -15380,13 +15380,13 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
- unittest.expect(
- queryMap["advertiserId"].first, unittest.equals(arg_advertiserId));
unittest.expect(
queryMap["orderBy"].first, unittest.equals(arg_orderBy));
+ unittest.expect(
+ queryMap["advertiserId"].first, unittest.equals(arg_advertiserId));
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));
@@ -15399,10 +15399,10 @@
}), true);
res
.list(arg_targetingType,
- filter: arg_filter,
- advertiserId: arg_advertiserId,
orderBy: arg_orderBy,
+ advertiserId: arg_advertiserId,
pageSize: arg_pageSize,
+ filter: arg_filter,
pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -15627,10 +15627,10 @@
unittest.test("method--list", () {
var mock = new HttpServerMock();
api.UsersResourceApi res = new api.DisplayvideoApi(mock).users;
- var arg_filter = "foo";
- var arg_pageSize = 42;
var arg_pageToken = "foo";
+ var arg_pageSize = 42;
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;
@@ -15662,13 +15662,13 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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["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 = {
@@ -15679,10 +15679,10 @@
}), true);
res
.list(
- filter: arg_filter,
- pageSize: arg_pageSize,
pageToken: arg_pageToken,
+ pageSize: arg_pageSize,
orderBy: arg_orderBy,
+ filter: arg_filter,
$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 2fb828a..6695dc1 100644
--- a/generated/googleapis/test/dlp/v2_test.dart
+++ b/generated/googleapis/test/dlp/v2_test.dart
@@ -135,14 +135,14 @@
buildCounterGooglePrivacyDlpV2AnalyzeDataSourceRiskDetails--;
}
-buildUnnamed4384() {
+buildUnnamed4391() {
var o = new core.List<api.GooglePrivacyDlpV2QuasiIdField>();
o.add(buildGooglePrivacyDlpV2QuasiIdField());
o.add(buildGooglePrivacyDlpV2QuasiIdField());
return o;
}
-checkUnnamed4384(core.List<api.GooglePrivacyDlpV2QuasiIdField> o) {
+checkUnnamed4391(core.List<api.GooglePrivacyDlpV2QuasiIdField> o) {
unittest.expect(o, unittest.hasLength(2));
checkGooglePrivacyDlpV2QuasiIdField(o[0]);
checkGooglePrivacyDlpV2QuasiIdField(o[1]);
@@ -153,7 +153,7 @@
var o = new api.GooglePrivacyDlpV2AuxiliaryTable();
buildCounterGooglePrivacyDlpV2AuxiliaryTable++;
if (buildCounterGooglePrivacyDlpV2AuxiliaryTable < 3) {
- o.quasiIds = buildUnnamed4384();
+ o.quasiIds = buildUnnamed4391();
o.relativeFrequency = buildGooglePrivacyDlpV2FieldId();
o.table = buildGooglePrivacyDlpV2BigQueryTable();
}
@@ -164,7 +164,7 @@
checkGooglePrivacyDlpV2AuxiliaryTable(api.GooglePrivacyDlpV2AuxiliaryTable o) {
buildCounterGooglePrivacyDlpV2AuxiliaryTable++;
if (buildCounterGooglePrivacyDlpV2AuxiliaryTable < 3) {
- checkUnnamed4384(o.quasiIds);
+ checkUnnamed4391(o.quasiIds);
checkGooglePrivacyDlpV2FieldId(o.relativeFrequency);
checkGooglePrivacyDlpV2BigQueryTable(o.table);
}
@@ -213,27 +213,27 @@
buildCounterGooglePrivacyDlpV2BigQueryKey--;
}
-buildUnnamed4385() {
+buildUnnamed4392() {
var o = new core.List<api.GooglePrivacyDlpV2FieldId>();
o.add(buildGooglePrivacyDlpV2FieldId());
o.add(buildGooglePrivacyDlpV2FieldId());
return o;
}
-checkUnnamed4385(core.List<api.GooglePrivacyDlpV2FieldId> o) {
+checkUnnamed4392(core.List<api.GooglePrivacyDlpV2FieldId> o) {
unittest.expect(o, unittest.hasLength(2));
checkGooglePrivacyDlpV2FieldId(o[0]);
checkGooglePrivacyDlpV2FieldId(o[1]);
}
-buildUnnamed4386() {
+buildUnnamed4393() {
var o = new core.List<api.GooglePrivacyDlpV2FieldId>();
o.add(buildGooglePrivacyDlpV2FieldId());
o.add(buildGooglePrivacyDlpV2FieldId());
return o;
}
-checkUnnamed4386(core.List<api.GooglePrivacyDlpV2FieldId> o) {
+checkUnnamed4393(core.List<api.GooglePrivacyDlpV2FieldId> o) {
unittest.expect(o, unittest.hasLength(2));
checkGooglePrivacyDlpV2FieldId(o[0]);
checkGooglePrivacyDlpV2FieldId(o[1]);
@@ -244,8 +244,8 @@
var o = new api.GooglePrivacyDlpV2BigQueryOptions();
buildCounterGooglePrivacyDlpV2BigQueryOptions++;
if (buildCounterGooglePrivacyDlpV2BigQueryOptions < 3) {
- o.excludedFields = buildUnnamed4385();
- o.identifyingFields = buildUnnamed4386();
+ o.excludedFields = buildUnnamed4392();
+ o.identifyingFields = buildUnnamed4393();
o.rowsLimit = "foo";
o.rowsLimitPercent = 42;
o.sampleMethod = "foo";
@@ -259,8 +259,8 @@
api.GooglePrivacyDlpV2BigQueryOptions o) {
buildCounterGooglePrivacyDlpV2BigQueryOptions++;
if (buildCounterGooglePrivacyDlpV2BigQueryOptions < 3) {
- checkUnnamed4385(o.excludedFields);
- checkUnnamed4386(o.identifyingFields);
+ checkUnnamed4392(o.excludedFields);
+ checkUnnamed4393(o.identifyingFields);
unittest.expect(o.rowsLimit, unittest.equals('foo'));
unittest.expect(o.rowsLimitPercent, unittest.equals(42));
unittest.expect(o.sampleMethod, unittest.equals('foo'));
@@ -340,14 +340,14 @@
buildCounterGooglePrivacyDlpV2Bucket--;
}
-buildUnnamed4387() {
+buildUnnamed4394() {
var o = new core.List<api.GooglePrivacyDlpV2Bucket>();
o.add(buildGooglePrivacyDlpV2Bucket());
o.add(buildGooglePrivacyDlpV2Bucket());
return o;
}
-checkUnnamed4387(core.List<api.GooglePrivacyDlpV2Bucket> o) {
+checkUnnamed4394(core.List<api.GooglePrivacyDlpV2Bucket> o) {
unittest.expect(o, unittest.hasLength(2));
checkGooglePrivacyDlpV2Bucket(o[0]);
checkGooglePrivacyDlpV2Bucket(o[1]);
@@ -358,7 +358,7 @@
var o = new api.GooglePrivacyDlpV2BucketingConfig();
buildCounterGooglePrivacyDlpV2BucketingConfig++;
if (buildCounterGooglePrivacyDlpV2BucketingConfig < 3) {
- o.buckets = buildUnnamed4387();
+ o.buckets = buildUnnamed4394();
}
buildCounterGooglePrivacyDlpV2BucketingConfig--;
return o;
@@ -368,7 +368,7 @@
api.GooglePrivacyDlpV2BucketingConfig o) {
buildCounterGooglePrivacyDlpV2BucketingConfig++;
if (buildCounterGooglePrivacyDlpV2BucketingConfig < 3) {
- checkUnnamed4387(o.buckets);
+ checkUnnamed4394(o.buckets);
}
buildCounterGooglePrivacyDlpV2BucketingConfig--;
}
@@ -431,14 +431,14 @@
buildCounterGooglePrivacyDlpV2CategoricalStatsConfig--;
}
-buildUnnamed4388() {
+buildUnnamed4395() {
var o = new core.List<api.GooglePrivacyDlpV2ValueFrequency>();
o.add(buildGooglePrivacyDlpV2ValueFrequency());
o.add(buildGooglePrivacyDlpV2ValueFrequency());
return o;
}
-checkUnnamed4388(core.List<api.GooglePrivacyDlpV2ValueFrequency> o) {
+checkUnnamed4395(core.List<api.GooglePrivacyDlpV2ValueFrequency> o) {
unittest.expect(o, unittest.hasLength(2));
checkGooglePrivacyDlpV2ValueFrequency(o[0]);
checkGooglePrivacyDlpV2ValueFrequency(o[1]);
@@ -451,7 +451,7 @@
if (buildCounterGooglePrivacyDlpV2CategoricalStatsHistogramBucket < 3) {
o.bucketSize = "foo";
o.bucketValueCount = "foo";
- o.bucketValues = buildUnnamed4388();
+ o.bucketValues = buildUnnamed4395();
o.valueFrequencyLowerBound = "foo";
o.valueFrequencyUpperBound = "foo";
}
@@ -465,14 +465,14 @@
if (buildCounterGooglePrivacyDlpV2CategoricalStatsHistogramBucket < 3) {
unittest.expect(o.bucketSize, unittest.equals('foo'));
unittest.expect(o.bucketValueCount, unittest.equals('foo'));
- checkUnnamed4388(o.bucketValues);
+ checkUnnamed4395(o.bucketValues);
unittest.expect(o.valueFrequencyLowerBound, unittest.equals('foo'));
unittest.expect(o.valueFrequencyUpperBound, unittest.equals('foo'));
}
buildCounterGooglePrivacyDlpV2CategoricalStatsHistogramBucket--;
}
-buildUnnamed4389() {
+buildUnnamed4396() {
var o =
new core.List<api.GooglePrivacyDlpV2CategoricalStatsHistogramBucket>();
o.add(buildGooglePrivacyDlpV2CategoricalStatsHistogramBucket());
@@ -480,7 +480,7 @@
return o;
}
-checkUnnamed4389(
+checkUnnamed4396(
core.List<api.GooglePrivacyDlpV2CategoricalStatsHistogramBucket> o) {
unittest.expect(o, unittest.hasLength(2));
checkGooglePrivacyDlpV2CategoricalStatsHistogramBucket(o[0]);
@@ -492,7 +492,7 @@
var o = new api.GooglePrivacyDlpV2CategoricalStatsResult();
buildCounterGooglePrivacyDlpV2CategoricalStatsResult++;
if (buildCounterGooglePrivacyDlpV2CategoricalStatsResult < 3) {
- o.valueFrequencyHistogramBuckets = buildUnnamed4389();
+ o.valueFrequencyHistogramBuckets = buildUnnamed4396();
}
buildCounterGooglePrivacyDlpV2CategoricalStatsResult--;
return o;
@@ -502,19 +502,19 @@
api.GooglePrivacyDlpV2CategoricalStatsResult o) {
buildCounterGooglePrivacyDlpV2CategoricalStatsResult++;
if (buildCounterGooglePrivacyDlpV2CategoricalStatsResult < 3) {
- checkUnnamed4389(o.valueFrequencyHistogramBuckets);
+ checkUnnamed4396(o.valueFrequencyHistogramBuckets);
}
buildCounterGooglePrivacyDlpV2CategoricalStatsResult--;
}
-buildUnnamed4390() {
+buildUnnamed4397() {
var o = new core.List<api.GooglePrivacyDlpV2CharsToIgnore>();
o.add(buildGooglePrivacyDlpV2CharsToIgnore());
o.add(buildGooglePrivacyDlpV2CharsToIgnore());
return o;
}
-checkUnnamed4390(core.List<api.GooglePrivacyDlpV2CharsToIgnore> o) {
+checkUnnamed4397(core.List<api.GooglePrivacyDlpV2CharsToIgnore> o) {
unittest.expect(o, unittest.hasLength(2));
checkGooglePrivacyDlpV2CharsToIgnore(o[0]);
checkGooglePrivacyDlpV2CharsToIgnore(o[1]);
@@ -525,7 +525,7 @@
var o = new api.GooglePrivacyDlpV2CharacterMaskConfig();
buildCounterGooglePrivacyDlpV2CharacterMaskConfig++;
if (buildCounterGooglePrivacyDlpV2CharacterMaskConfig < 3) {
- o.charactersToIgnore = buildUnnamed4390();
+ o.charactersToIgnore = buildUnnamed4397();
o.maskingCharacter = "foo";
o.numberToMask = 42;
o.reverseOrder = true;
@@ -538,7 +538,7 @@
api.GooglePrivacyDlpV2CharacterMaskConfig o) {
buildCounterGooglePrivacyDlpV2CharacterMaskConfig++;
if (buildCounterGooglePrivacyDlpV2CharacterMaskConfig < 3) {
- checkUnnamed4390(o.charactersToIgnore);
+ checkUnnamed4397(o.charactersToIgnore);
unittest.expect(o.maskingCharacter, unittest.equals('foo'));
unittest.expect(o.numberToMask, unittest.equals(42));
unittest.expect(o.reverseOrder, unittest.isTrue);
@@ -587,14 +587,14 @@
buildCounterGooglePrivacyDlpV2CloudStorageFileSet--;
}
-buildUnnamed4391() {
+buildUnnamed4398() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4391(core.List<core.String> o) {
+checkUnnamed4398(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -608,7 +608,7 @@
o.bytesLimitPerFile = "foo";
o.bytesLimitPerFilePercent = 42;
o.fileSet = buildGooglePrivacyDlpV2FileSet();
- o.fileTypes = buildUnnamed4391();
+ o.fileTypes = buildUnnamed4398();
o.filesLimitPercent = 42;
o.sampleMethod = "foo";
}
@@ -623,7 +623,7 @@
unittest.expect(o.bytesLimitPerFile, unittest.equals('foo'));
unittest.expect(o.bytesLimitPerFilePercent, unittest.equals(42));
checkGooglePrivacyDlpV2FileSet(o.fileSet);
- checkUnnamed4391(o.fileTypes);
+ checkUnnamed4398(o.fileTypes);
unittest.expect(o.filesLimitPercent, unittest.equals(42));
unittest.expect(o.sampleMethod, unittest.equals('foo'));
}
@@ -650,27 +650,27 @@
buildCounterGooglePrivacyDlpV2CloudStoragePath--;
}
-buildUnnamed4392() {
+buildUnnamed4399() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4392(core.List<core.String> o) {
+checkUnnamed4399(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed4393() {
+buildUnnamed4400() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4393(core.List<core.String> o) {
+checkUnnamed4400(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -682,8 +682,8 @@
buildCounterGooglePrivacyDlpV2CloudStorageRegexFileSet++;
if (buildCounterGooglePrivacyDlpV2CloudStorageRegexFileSet < 3) {
o.bucketName = "foo";
- o.excludeRegex = buildUnnamed4392();
- o.includeRegex = buildUnnamed4393();
+ o.excludeRegex = buildUnnamed4399();
+ o.includeRegex = buildUnnamed4400();
}
buildCounterGooglePrivacyDlpV2CloudStorageRegexFileSet--;
return o;
@@ -694,8 +694,8 @@
buildCounterGooglePrivacyDlpV2CloudStorageRegexFileSet++;
if (buildCounterGooglePrivacyDlpV2CloudStorageRegexFileSet < 3) {
unittest.expect(o.bucketName, unittest.equals('foo'));
- checkUnnamed4392(o.excludeRegex);
- checkUnnamed4393(o.includeRegex);
+ checkUnnamed4399(o.excludeRegex);
+ checkUnnamed4400(o.includeRegex);
}
buildCounterGooglePrivacyDlpV2CloudStorageRegexFileSet--;
}
@@ -746,14 +746,14 @@
buildCounterGooglePrivacyDlpV2Condition--;
}
-buildUnnamed4394() {
+buildUnnamed4401() {
var o = new core.List<api.GooglePrivacyDlpV2Condition>();
o.add(buildGooglePrivacyDlpV2Condition());
o.add(buildGooglePrivacyDlpV2Condition());
return o;
}
-checkUnnamed4394(core.List<api.GooglePrivacyDlpV2Condition> o) {
+checkUnnamed4401(core.List<api.GooglePrivacyDlpV2Condition> o) {
unittest.expect(o, unittest.hasLength(2));
checkGooglePrivacyDlpV2Condition(o[0]);
checkGooglePrivacyDlpV2Condition(o[1]);
@@ -764,7 +764,7 @@
var o = new api.GooglePrivacyDlpV2Conditions();
buildCounterGooglePrivacyDlpV2Conditions++;
if (buildCounterGooglePrivacyDlpV2Conditions < 3) {
- o.conditions = buildUnnamed4394();
+ o.conditions = buildUnnamed4401();
}
buildCounterGooglePrivacyDlpV2Conditions--;
return o;
@@ -773,7 +773,7 @@
checkGooglePrivacyDlpV2Conditions(api.GooglePrivacyDlpV2Conditions o) {
buildCounterGooglePrivacyDlpV2Conditions++;
if (buildCounterGooglePrivacyDlpV2Conditions < 3) {
- checkUnnamed4394(o.conditions);
+ checkUnnamed4401(o.conditions);
}
buildCounterGooglePrivacyDlpV2Conditions--;
}
@@ -1083,14 +1083,14 @@
buildCounterGooglePrivacyDlpV2CryptoReplaceFfxFpeConfig--;
}
-buildUnnamed4395() {
+buildUnnamed4402() {
var o = new core.List<api.GooglePrivacyDlpV2DetectionRule>();
o.add(buildGooglePrivacyDlpV2DetectionRule());
o.add(buildGooglePrivacyDlpV2DetectionRule());
return o;
}
-checkUnnamed4395(core.List<api.GooglePrivacyDlpV2DetectionRule> o) {
+checkUnnamed4402(core.List<api.GooglePrivacyDlpV2DetectionRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkGooglePrivacyDlpV2DetectionRule(o[0]);
checkGooglePrivacyDlpV2DetectionRule(o[1]);
@@ -1101,7 +1101,7 @@
var o = new api.GooglePrivacyDlpV2CustomInfoType();
buildCounterGooglePrivacyDlpV2CustomInfoType++;
if (buildCounterGooglePrivacyDlpV2CustomInfoType < 3) {
- o.detectionRules = buildUnnamed4395();
+ o.detectionRules = buildUnnamed4402();
o.dictionary = buildGooglePrivacyDlpV2Dictionary();
o.exclusionType = "foo";
o.infoType = buildGooglePrivacyDlpV2InfoType();
@@ -1117,7 +1117,7 @@
checkGooglePrivacyDlpV2CustomInfoType(api.GooglePrivacyDlpV2CustomInfoType o) {
buildCounterGooglePrivacyDlpV2CustomInfoType++;
if (buildCounterGooglePrivacyDlpV2CustomInfoType < 3) {
- checkUnnamed4395(o.detectionRules);
+ checkUnnamed4402(o.detectionRules);
checkGooglePrivacyDlpV2Dictionary(o.dictionary);
unittest.expect(o.exclusionType, unittest.equals('foo'));
checkGooglePrivacyDlpV2InfoType(o.infoType);
@@ -1330,27 +1330,27 @@
buildCounterGooglePrivacyDlpV2DeidentifyTemplate--;
}
-buildUnnamed4396() {
+buildUnnamed4403() {
var o = new core.List<api.GooglePrivacyDlpV2StatisticalTable>();
o.add(buildGooglePrivacyDlpV2StatisticalTable());
o.add(buildGooglePrivacyDlpV2StatisticalTable());
return o;
}
-checkUnnamed4396(core.List<api.GooglePrivacyDlpV2StatisticalTable> o) {
+checkUnnamed4403(core.List<api.GooglePrivacyDlpV2StatisticalTable> o) {
unittest.expect(o, unittest.hasLength(2));
checkGooglePrivacyDlpV2StatisticalTable(o[0]);
checkGooglePrivacyDlpV2StatisticalTable(o[1]);
}
-buildUnnamed4397() {
+buildUnnamed4404() {
var o = new core.List<api.GooglePrivacyDlpV2QuasiId>();
o.add(buildGooglePrivacyDlpV2QuasiId());
o.add(buildGooglePrivacyDlpV2QuasiId());
return o;
}
-checkUnnamed4397(core.List<api.GooglePrivacyDlpV2QuasiId> o) {
+checkUnnamed4404(core.List<api.GooglePrivacyDlpV2QuasiId> o) {
unittest.expect(o, unittest.hasLength(2));
checkGooglePrivacyDlpV2QuasiId(o[0]);
checkGooglePrivacyDlpV2QuasiId(o[1]);
@@ -1361,8 +1361,8 @@
var o = new api.GooglePrivacyDlpV2DeltaPresenceEstimationConfig();
buildCounterGooglePrivacyDlpV2DeltaPresenceEstimationConfig++;
if (buildCounterGooglePrivacyDlpV2DeltaPresenceEstimationConfig < 3) {
- o.auxiliaryTables = buildUnnamed4396();
- o.quasiIds = buildUnnamed4397();
+ o.auxiliaryTables = buildUnnamed4403();
+ o.quasiIds = buildUnnamed4404();
o.regionCode = "foo";
}
buildCounterGooglePrivacyDlpV2DeltaPresenceEstimationConfig--;
@@ -1373,14 +1373,14 @@
api.GooglePrivacyDlpV2DeltaPresenceEstimationConfig o) {
buildCounterGooglePrivacyDlpV2DeltaPresenceEstimationConfig++;
if (buildCounterGooglePrivacyDlpV2DeltaPresenceEstimationConfig < 3) {
- checkUnnamed4396(o.auxiliaryTables);
- checkUnnamed4397(o.quasiIds);
+ checkUnnamed4403(o.auxiliaryTables);
+ checkUnnamed4404(o.quasiIds);
unittest.expect(o.regionCode, unittest.equals('foo'));
}
buildCounterGooglePrivacyDlpV2DeltaPresenceEstimationConfig--;
}
-buildUnnamed4398() {
+buildUnnamed4405() {
var o = new core
.List<api.GooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValues>();
o.add(buildGooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValues());
@@ -1388,7 +1388,7 @@
return o;
}
-checkUnnamed4398(
+checkUnnamed4405(
core.List<api.GooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValues> o) {
unittest.expect(o, unittest.hasLength(2));
checkGooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValues(o[0]);
@@ -1404,7 +1404,7 @@
3) {
o.bucketSize = "foo";
o.bucketValueCount = "foo";
- o.bucketValues = buildUnnamed4398();
+ o.bucketValues = buildUnnamed4405();
o.maxProbability = 42.0;
o.minProbability = 42.0;
}
@@ -1419,21 +1419,21 @@
3) {
unittest.expect(o.bucketSize, unittest.equals('foo'));
unittest.expect(o.bucketValueCount, unittest.equals('foo'));
- checkUnnamed4398(o.bucketValues);
+ checkUnnamed4405(o.bucketValues);
unittest.expect(o.maxProbability, unittest.equals(42.0));
unittest.expect(o.minProbability, unittest.equals(42.0));
}
buildCounterGooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucket--;
}
-buildUnnamed4399() {
+buildUnnamed4406() {
var o = new core.List<api.GooglePrivacyDlpV2Value>();
o.add(buildGooglePrivacyDlpV2Value());
o.add(buildGooglePrivacyDlpV2Value());
return o;
}
-checkUnnamed4399(core.List<api.GooglePrivacyDlpV2Value> o) {
+checkUnnamed4406(core.List<api.GooglePrivacyDlpV2Value> o) {
unittest.expect(o, unittest.hasLength(2));
checkGooglePrivacyDlpV2Value(o[0]);
checkGooglePrivacyDlpV2Value(o[1]);
@@ -1445,7 +1445,7 @@
buildCounterGooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValues++;
if (buildCounterGooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValues < 3) {
o.estimatedProbability = 42.0;
- o.quasiIdsValues = buildUnnamed4399();
+ o.quasiIdsValues = buildUnnamed4406();
}
buildCounterGooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValues--;
return o;
@@ -1456,12 +1456,12 @@
buildCounterGooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValues++;
if (buildCounterGooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValues < 3) {
unittest.expect(o.estimatedProbability, unittest.equals(42.0));
- checkUnnamed4399(o.quasiIdsValues);
+ checkUnnamed4406(o.quasiIdsValues);
}
buildCounterGooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValues--;
}
-buildUnnamed4400() {
+buildUnnamed4407() {
var o = new core
.List<api.GooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucket>();
o.add(buildGooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucket());
@@ -1469,7 +1469,7 @@
return o;
}
-checkUnnamed4400(
+checkUnnamed4407(
core.List<api.GooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucket> o) {
unittest.expect(o, unittest.hasLength(2));
checkGooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucket(o[0]);
@@ -1481,7 +1481,7 @@
var o = new api.GooglePrivacyDlpV2DeltaPresenceEstimationResult();
buildCounterGooglePrivacyDlpV2DeltaPresenceEstimationResult++;
if (buildCounterGooglePrivacyDlpV2DeltaPresenceEstimationResult < 3) {
- o.deltaPresenceEstimationHistogram = buildUnnamed4400();
+ o.deltaPresenceEstimationHistogram = buildUnnamed4407();
}
buildCounterGooglePrivacyDlpV2DeltaPresenceEstimationResult--;
return o;
@@ -1491,7 +1491,7 @@
api.GooglePrivacyDlpV2DeltaPresenceEstimationResult o) {
buildCounterGooglePrivacyDlpV2DeltaPresenceEstimationResult++;
if (buildCounterGooglePrivacyDlpV2DeltaPresenceEstimationResult < 3) {
- checkUnnamed4400(o.deltaPresenceEstimationHistogram);
+ checkUnnamed4407(o.deltaPresenceEstimationHistogram);
}
buildCounterGooglePrivacyDlpV2DeltaPresenceEstimationResult--;
}
@@ -1536,14 +1536,14 @@
buildCounterGooglePrivacyDlpV2Dictionary--;
}
-buildUnnamed4401() {
+buildUnnamed4408() {
var o = new core.List<api.GooglePrivacyDlpV2Error>();
o.add(buildGooglePrivacyDlpV2Error());
o.add(buildGooglePrivacyDlpV2Error());
return o;
}
-checkUnnamed4401(core.List<api.GooglePrivacyDlpV2Error> o) {
+checkUnnamed4408(core.List<api.GooglePrivacyDlpV2Error> o) {
unittest.expect(o, unittest.hasLength(2));
checkGooglePrivacyDlpV2Error(o[0]);
checkGooglePrivacyDlpV2Error(o[1]);
@@ -1556,7 +1556,7 @@
if (buildCounterGooglePrivacyDlpV2DlpJob < 3) {
o.createTime = "foo";
o.endTime = "foo";
- o.errors = buildUnnamed4401();
+ o.errors = buildUnnamed4408();
o.inspectDetails = buildGooglePrivacyDlpV2InspectDataSourceDetails();
o.jobTriggerName = "foo";
o.name = "foo";
@@ -1574,7 +1574,7 @@
if (buildCounterGooglePrivacyDlpV2DlpJob < 3) {
unittest.expect(o.createTime, unittest.equals('foo'));
unittest.expect(o.endTime, unittest.equals('foo'));
- checkUnnamed4401(o.errors);
+ checkUnnamed4408(o.errors);
checkGooglePrivacyDlpV2InspectDataSourceDetails(o.inspectDetails);
unittest.expect(o.jobTriggerName, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
@@ -1625,14 +1625,14 @@
buildCounterGooglePrivacyDlpV2EntityId--;
}
-buildUnnamed4402() {
+buildUnnamed4409() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4402(core.List<core.String> o) {
+checkUnnamed4409(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1644,7 +1644,7 @@
buildCounterGooglePrivacyDlpV2Error++;
if (buildCounterGooglePrivacyDlpV2Error < 3) {
o.details = buildGoogleRpcStatus();
- o.timestamps = buildUnnamed4402();
+ o.timestamps = buildUnnamed4409();
}
buildCounterGooglePrivacyDlpV2Error--;
return o;
@@ -1654,19 +1654,19 @@
buildCounterGooglePrivacyDlpV2Error++;
if (buildCounterGooglePrivacyDlpV2Error < 3) {
checkGoogleRpcStatus(o.details);
- checkUnnamed4402(o.timestamps);
+ checkUnnamed4409(o.timestamps);
}
buildCounterGooglePrivacyDlpV2Error--;
}
-buildUnnamed4403() {
+buildUnnamed4410() {
var o = new core.List<api.GooglePrivacyDlpV2InfoType>();
o.add(buildGooglePrivacyDlpV2InfoType());
o.add(buildGooglePrivacyDlpV2InfoType());
return o;
}
-checkUnnamed4403(core.List<api.GooglePrivacyDlpV2InfoType> o) {
+checkUnnamed4410(core.List<api.GooglePrivacyDlpV2InfoType> o) {
unittest.expect(o, unittest.hasLength(2));
checkGooglePrivacyDlpV2InfoType(o[0]);
checkGooglePrivacyDlpV2InfoType(o[1]);
@@ -1677,7 +1677,7 @@
var o = new api.GooglePrivacyDlpV2ExcludeInfoTypes();
buildCounterGooglePrivacyDlpV2ExcludeInfoTypes++;
if (buildCounterGooglePrivacyDlpV2ExcludeInfoTypes < 3) {
- o.infoTypes = buildUnnamed4403();
+ o.infoTypes = buildUnnamed4410();
}
buildCounterGooglePrivacyDlpV2ExcludeInfoTypes--;
return o;
@@ -1687,7 +1687,7 @@
api.GooglePrivacyDlpV2ExcludeInfoTypes o) {
buildCounterGooglePrivacyDlpV2ExcludeInfoTypes++;
if (buildCounterGooglePrivacyDlpV2ExcludeInfoTypes < 3) {
- checkUnnamed4403(o.infoTypes);
+ checkUnnamed4410(o.infoTypes);
}
buildCounterGooglePrivacyDlpV2ExcludeInfoTypes--;
}
@@ -1757,14 +1757,14 @@
buildCounterGooglePrivacyDlpV2FieldId--;
}
-buildUnnamed4404() {
+buildUnnamed4411() {
var o = new core.List<api.GooglePrivacyDlpV2FieldId>();
o.add(buildGooglePrivacyDlpV2FieldId());
o.add(buildGooglePrivacyDlpV2FieldId());
return o;
}
-checkUnnamed4404(core.List<api.GooglePrivacyDlpV2FieldId> o) {
+checkUnnamed4411(core.List<api.GooglePrivacyDlpV2FieldId> o) {
unittest.expect(o, unittest.hasLength(2));
checkGooglePrivacyDlpV2FieldId(o[0]);
checkGooglePrivacyDlpV2FieldId(o[1]);
@@ -1776,7 +1776,7 @@
buildCounterGooglePrivacyDlpV2FieldTransformation++;
if (buildCounterGooglePrivacyDlpV2FieldTransformation < 3) {
o.condition = buildGooglePrivacyDlpV2RecordCondition();
- o.fields = buildUnnamed4404();
+ o.fields = buildUnnamed4411();
o.infoTypeTransformations =
buildGooglePrivacyDlpV2InfoTypeTransformations();
o.primitiveTransformation =
@@ -1791,7 +1791,7 @@
buildCounterGooglePrivacyDlpV2FieldTransformation++;
if (buildCounterGooglePrivacyDlpV2FieldTransformation < 3) {
checkGooglePrivacyDlpV2RecordCondition(o.condition);
- checkUnnamed4404(o.fields);
+ checkUnnamed4411(o.fields);
checkGooglePrivacyDlpV2InfoTypeTransformations(o.infoTypeTransformations);
checkGooglePrivacyDlpV2PrimitiveTransformation(o.primitiveTransformation);
}
@@ -1819,14 +1819,14 @@
buildCounterGooglePrivacyDlpV2FileSet--;
}
-buildUnnamed4405() {
+buildUnnamed4412() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed4405(core.Map<core.String, core.String> o) {
+checkUnnamed4412(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -1841,7 +1841,7 @@
o.infoType = buildGooglePrivacyDlpV2InfoType();
o.jobCreateTime = "foo";
o.jobName = "foo";
- o.labels = buildUnnamed4405();
+ o.labels = buildUnnamed4412();
o.likelihood = "foo";
o.location = buildGooglePrivacyDlpV2Location();
o.name = "foo";
@@ -1861,7 +1861,7 @@
checkGooglePrivacyDlpV2InfoType(o.infoType);
unittest.expect(o.jobCreateTime, unittest.equals('foo'));
unittest.expect(o.jobName, unittest.equals('foo'));
- checkUnnamed4405(o.labels);
+ checkUnnamed4412(o.labels);
unittest.expect(o.likelihood, unittest.equals('foo'));
checkGooglePrivacyDlpV2Location(o.location);
unittest.expect(o.name, unittest.equals('foo'));
@@ -1873,14 +1873,14 @@
buildCounterGooglePrivacyDlpV2Finding--;
}
-buildUnnamed4406() {
+buildUnnamed4413() {
var o = new core.List<api.GooglePrivacyDlpV2InfoTypeLimit>();
o.add(buildGooglePrivacyDlpV2InfoTypeLimit());
o.add(buildGooglePrivacyDlpV2InfoTypeLimit());
return o;
}
-checkUnnamed4406(core.List<api.GooglePrivacyDlpV2InfoTypeLimit> o) {
+checkUnnamed4413(core.List<api.GooglePrivacyDlpV2InfoTypeLimit> o) {
unittest.expect(o, unittest.hasLength(2));
checkGooglePrivacyDlpV2InfoTypeLimit(o[0]);
checkGooglePrivacyDlpV2InfoTypeLimit(o[1]);
@@ -1891,7 +1891,7 @@
var o = new api.GooglePrivacyDlpV2FindingLimits();
buildCounterGooglePrivacyDlpV2FindingLimits++;
if (buildCounterGooglePrivacyDlpV2FindingLimits < 3) {
- o.maxFindingsPerInfoType = buildUnnamed4406();
+ o.maxFindingsPerInfoType = buildUnnamed4413();
o.maxFindingsPerItem = 42;
o.maxFindingsPerRequest = 42;
}
@@ -1902,7 +1902,7 @@
checkGooglePrivacyDlpV2FindingLimits(api.GooglePrivacyDlpV2FindingLimits o) {
buildCounterGooglePrivacyDlpV2FindingLimits++;
if (buildCounterGooglePrivacyDlpV2FindingLimits < 3) {
- checkUnnamed4406(o.maxFindingsPerInfoType);
+ checkUnnamed4413(o.maxFindingsPerInfoType);
unittest.expect(o.maxFindingsPerItem, unittest.equals(42));
unittest.expect(o.maxFindingsPerRequest, unittest.equals(42));
}
@@ -1994,14 +1994,14 @@
buildCounterGooglePrivacyDlpV2HybridContentItem--;
}
-buildUnnamed4407() {
+buildUnnamed4414() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed4407(core.Map<core.String, core.String> o) {
+checkUnnamed4414(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -2014,7 +2014,7 @@
if (buildCounterGooglePrivacyDlpV2HybridFindingDetails < 3) {
o.containerDetails = buildGooglePrivacyDlpV2Container();
o.fileOffset = "foo";
- o.labels = buildUnnamed4407();
+ o.labels = buildUnnamed4414();
o.rowOffset = "foo";
o.tableOptions = buildGooglePrivacyDlpV2TableOptions();
}
@@ -2028,7 +2028,7 @@
if (buildCounterGooglePrivacyDlpV2HybridFindingDetails < 3) {
checkGooglePrivacyDlpV2Container(o.containerDetails);
unittest.expect(o.fileOffset, unittest.equals('foo'));
- checkUnnamed4407(o.labels);
+ checkUnnamed4414(o.labels);
unittest.expect(o.rowOffset, unittest.equals('foo'));
checkGooglePrivacyDlpV2TableOptions(o.tableOptions);
}
@@ -2115,27 +2115,27 @@
buildCounterGooglePrivacyDlpV2HybridInspectStatistics--;
}
-buildUnnamed4408() {
+buildUnnamed4415() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed4408(core.Map<core.String, core.String> o) {
+checkUnnamed4415(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed4409() {
+buildUnnamed4416() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4409(core.List<core.String> o) {
+checkUnnamed4416(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2147,8 +2147,8 @@
buildCounterGooglePrivacyDlpV2HybridOptions++;
if (buildCounterGooglePrivacyDlpV2HybridOptions < 3) {
o.description = "foo";
- o.labels = buildUnnamed4408();
- o.requiredFindingLabelKeys = buildUnnamed4409();
+ o.labels = buildUnnamed4415();
+ o.requiredFindingLabelKeys = buildUnnamed4416();
o.tableOptions = buildGooglePrivacyDlpV2TableOptions();
}
buildCounterGooglePrivacyDlpV2HybridOptions--;
@@ -2159,21 +2159,21 @@
buildCounterGooglePrivacyDlpV2HybridOptions++;
if (buildCounterGooglePrivacyDlpV2HybridOptions < 3) {
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed4408(o.labels);
- checkUnnamed4409(o.requiredFindingLabelKeys);
+ checkUnnamed4415(o.labels);
+ checkUnnamed4416(o.requiredFindingLabelKeys);
checkGooglePrivacyDlpV2TableOptions(o.tableOptions);
}
buildCounterGooglePrivacyDlpV2HybridOptions--;
}
-buildUnnamed4410() {
+buildUnnamed4417() {
var o = new core.List<api.GooglePrivacyDlpV2BoundingBox>();
o.add(buildGooglePrivacyDlpV2BoundingBox());
o.add(buildGooglePrivacyDlpV2BoundingBox());
return o;
}
-checkUnnamed4410(core.List<api.GooglePrivacyDlpV2BoundingBox> o) {
+checkUnnamed4417(core.List<api.GooglePrivacyDlpV2BoundingBox> o) {
unittest.expect(o, unittest.hasLength(2));
checkGooglePrivacyDlpV2BoundingBox(o[0]);
checkGooglePrivacyDlpV2BoundingBox(o[1]);
@@ -2184,7 +2184,7 @@
var o = new api.GooglePrivacyDlpV2ImageLocation();
buildCounterGooglePrivacyDlpV2ImageLocation++;
if (buildCounterGooglePrivacyDlpV2ImageLocation < 3) {
- o.boundingBoxes = buildUnnamed4410();
+ o.boundingBoxes = buildUnnamed4417();
}
buildCounterGooglePrivacyDlpV2ImageLocation--;
return o;
@@ -2193,7 +2193,7 @@
checkGooglePrivacyDlpV2ImageLocation(api.GooglePrivacyDlpV2ImageLocation o) {
buildCounterGooglePrivacyDlpV2ImageLocation++;
if (buildCounterGooglePrivacyDlpV2ImageLocation < 3) {
- checkUnnamed4410(o.boundingBoxes);
+ checkUnnamed4417(o.boundingBoxes);
}
buildCounterGooglePrivacyDlpV2ImageLocation--;
}
@@ -2241,14 +2241,14 @@
buildCounterGooglePrivacyDlpV2InfoType--;
}
-buildUnnamed4411() {
+buildUnnamed4418() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4411(core.List<core.String> o) {
+checkUnnamed4418(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2262,7 +2262,7 @@
o.description = "foo";
o.displayName = "foo";
o.name = "foo";
- o.supportedBy = buildUnnamed4411();
+ o.supportedBy = buildUnnamed4418();
}
buildCounterGooglePrivacyDlpV2InfoTypeDescription--;
return o;
@@ -2275,7 +2275,7 @@
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.displayName, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed4411(o.supportedBy);
+ checkUnnamed4418(o.supportedBy);
}
buildCounterGooglePrivacyDlpV2InfoTypeDescription--;
}
@@ -2322,14 +2322,14 @@
buildCounterGooglePrivacyDlpV2InfoTypeStats--;
}
-buildUnnamed4412() {
+buildUnnamed4419() {
var o = new core.List<api.GooglePrivacyDlpV2InfoType>();
o.add(buildGooglePrivacyDlpV2InfoType());
o.add(buildGooglePrivacyDlpV2InfoType());
return o;
}
-checkUnnamed4412(core.List<api.GooglePrivacyDlpV2InfoType> o) {
+checkUnnamed4419(core.List<api.GooglePrivacyDlpV2InfoType> o) {
unittest.expect(o, unittest.hasLength(2));
checkGooglePrivacyDlpV2InfoType(o[0]);
checkGooglePrivacyDlpV2InfoType(o[1]);
@@ -2340,7 +2340,7 @@
var o = new api.GooglePrivacyDlpV2InfoTypeTransformation();
buildCounterGooglePrivacyDlpV2InfoTypeTransformation++;
if (buildCounterGooglePrivacyDlpV2InfoTypeTransformation < 3) {
- o.infoTypes = buildUnnamed4412();
+ o.infoTypes = buildUnnamed4419();
o.primitiveTransformation =
buildGooglePrivacyDlpV2PrimitiveTransformation();
}
@@ -2352,20 +2352,20 @@
api.GooglePrivacyDlpV2InfoTypeTransformation o) {
buildCounterGooglePrivacyDlpV2InfoTypeTransformation++;
if (buildCounterGooglePrivacyDlpV2InfoTypeTransformation < 3) {
- checkUnnamed4412(o.infoTypes);
+ checkUnnamed4419(o.infoTypes);
checkGooglePrivacyDlpV2PrimitiveTransformation(o.primitiveTransformation);
}
buildCounterGooglePrivacyDlpV2InfoTypeTransformation--;
}
-buildUnnamed4413() {
+buildUnnamed4420() {
var o = new core.List<api.GooglePrivacyDlpV2InfoTypeTransformation>();
o.add(buildGooglePrivacyDlpV2InfoTypeTransformation());
o.add(buildGooglePrivacyDlpV2InfoTypeTransformation());
return o;
}
-checkUnnamed4413(core.List<api.GooglePrivacyDlpV2InfoTypeTransformation> o) {
+checkUnnamed4420(core.List<api.GooglePrivacyDlpV2InfoTypeTransformation> o) {
unittest.expect(o, unittest.hasLength(2));
checkGooglePrivacyDlpV2InfoTypeTransformation(o[0]);
checkGooglePrivacyDlpV2InfoTypeTransformation(o[1]);
@@ -2376,7 +2376,7 @@
var o = new api.GooglePrivacyDlpV2InfoTypeTransformations();
buildCounterGooglePrivacyDlpV2InfoTypeTransformations++;
if (buildCounterGooglePrivacyDlpV2InfoTypeTransformations < 3) {
- o.transformations = buildUnnamed4413();
+ o.transformations = buildUnnamed4420();
}
buildCounterGooglePrivacyDlpV2InfoTypeTransformations--;
return o;
@@ -2386,58 +2386,58 @@
api.GooglePrivacyDlpV2InfoTypeTransformations o) {
buildCounterGooglePrivacyDlpV2InfoTypeTransformations++;
if (buildCounterGooglePrivacyDlpV2InfoTypeTransformations < 3) {
- checkUnnamed4413(o.transformations);
+ checkUnnamed4420(o.transformations);
}
buildCounterGooglePrivacyDlpV2InfoTypeTransformations--;
}
-buildUnnamed4414() {
+buildUnnamed4421() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4414(core.List<core.String> o) {
+checkUnnamed4421(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed4415() {
+buildUnnamed4422() {
var o = new core.List<api.GooglePrivacyDlpV2CustomInfoType>();
o.add(buildGooglePrivacyDlpV2CustomInfoType());
o.add(buildGooglePrivacyDlpV2CustomInfoType());
return o;
}
-checkUnnamed4415(core.List<api.GooglePrivacyDlpV2CustomInfoType> o) {
+checkUnnamed4422(core.List<api.GooglePrivacyDlpV2CustomInfoType> o) {
unittest.expect(o, unittest.hasLength(2));
checkGooglePrivacyDlpV2CustomInfoType(o[0]);
checkGooglePrivacyDlpV2CustomInfoType(o[1]);
}
-buildUnnamed4416() {
+buildUnnamed4423() {
var o = new core.List<api.GooglePrivacyDlpV2InfoType>();
o.add(buildGooglePrivacyDlpV2InfoType());
o.add(buildGooglePrivacyDlpV2InfoType());
return o;
}
-checkUnnamed4416(core.List<api.GooglePrivacyDlpV2InfoType> o) {
+checkUnnamed4423(core.List<api.GooglePrivacyDlpV2InfoType> o) {
unittest.expect(o, unittest.hasLength(2));
checkGooglePrivacyDlpV2InfoType(o[0]);
checkGooglePrivacyDlpV2InfoType(o[1]);
}
-buildUnnamed4417() {
+buildUnnamed4424() {
var o = new core.List<api.GooglePrivacyDlpV2InspectionRuleSet>();
o.add(buildGooglePrivacyDlpV2InspectionRuleSet());
o.add(buildGooglePrivacyDlpV2InspectionRuleSet());
return o;
}
-checkUnnamed4417(core.List<api.GooglePrivacyDlpV2InspectionRuleSet> o) {
+checkUnnamed4424(core.List<api.GooglePrivacyDlpV2InspectionRuleSet> o) {
unittest.expect(o, unittest.hasLength(2));
checkGooglePrivacyDlpV2InspectionRuleSet(o[0]);
checkGooglePrivacyDlpV2InspectionRuleSet(o[1]);
@@ -2448,14 +2448,14 @@
var o = new api.GooglePrivacyDlpV2InspectConfig();
buildCounterGooglePrivacyDlpV2InspectConfig++;
if (buildCounterGooglePrivacyDlpV2InspectConfig < 3) {
- o.contentOptions = buildUnnamed4414();
- o.customInfoTypes = buildUnnamed4415();
+ o.contentOptions = buildUnnamed4421();
+ o.customInfoTypes = buildUnnamed4422();
o.excludeInfoTypes = true;
o.includeQuote = true;
- o.infoTypes = buildUnnamed4416();
+ o.infoTypes = buildUnnamed4423();
o.limits = buildGooglePrivacyDlpV2FindingLimits();
o.minLikelihood = "foo";
- o.ruleSet = buildUnnamed4417();
+ o.ruleSet = buildUnnamed4424();
}
buildCounterGooglePrivacyDlpV2InspectConfig--;
return o;
@@ -2464,14 +2464,14 @@
checkGooglePrivacyDlpV2InspectConfig(api.GooglePrivacyDlpV2InspectConfig o) {
buildCounterGooglePrivacyDlpV2InspectConfig++;
if (buildCounterGooglePrivacyDlpV2InspectConfig < 3) {
- checkUnnamed4414(o.contentOptions);
- checkUnnamed4415(o.customInfoTypes);
+ checkUnnamed4421(o.contentOptions);
+ checkUnnamed4422(o.customInfoTypes);
unittest.expect(o.excludeInfoTypes, unittest.isTrue);
unittest.expect(o.includeQuote, unittest.isTrue);
- checkUnnamed4416(o.infoTypes);
+ checkUnnamed4423(o.infoTypes);
checkGooglePrivacyDlpV2FindingLimits(o.limits);
unittest.expect(o.minLikelihood, unittest.equals('foo'));
- checkUnnamed4417(o.ruleSet);
+ checkUnnamed4424(o.ruleSet);
}
buildCounterGooglePrivacyDlpV2InspectConfig--;
}
@@ -2544,14 +2544,14 @@
buildCounterGooglePrivacyDlpV2InspectDataSourceDetails--;
}
-buildUnnamed4418() {
+buildUnnamed4425() {
var o = new core.List<api.GooglePrivacyDlpV2Action>();
o.add(buildGooglePrivacyDlpV2Action());
o.add(buildGooglePrivacyDlpV2Action());
return o;
}
-checkUnnamed4418(core.List<api.GooglePrivacyDlpV2Action> o) {
+checkUnnamed4425(core.List<api.GooglePrivacyDlpV2Action> o) {
unittest.expect(o, unittest.hasLength(2));
checkGooglePrivacyDlpV2Action(o[0]);
checkGooglePrivacyDlpV2Action(o[1]);
@@ -2562,7 +2562,7 @@
var o = new api.GooglePrivacyDlpV2InspectJobConfig();
buildCounterGooglePrivacyDlpV2InspectJobConfig++;
if (buildCounterGooglePrivacyDlpV2InspectJobConfig < 3) {
- o.actions = buildUnnamed4418();
+ o.actions = buildUnnamed4425();
o.inspectConfig = buildGooglePrivacyDlpV2InspectConfig();
o.inspectTemplateName = "foo";
o.storageConfig = buildGooglePrivacyDlpV2StorageConfig();
@@ -2575,7 +2575,7 @@
api.GooglePrivacyDlpV2InspectJobConfig o) {
buildCounterGooglePrivacyDlpV2InspectJobConfig++;
if (buildCounterGooglePrivacyDlpV2InspectJobConfig < 3) {
- checkUnnamed4418(o.actions);
+ checkUnnamed4425(o.actions);
checkGooglePrivacyDlpV2InspectConfig(o.inspectConfig);
unittest.expect(o.inspectTemplateName, unittest.equals('foo'));
checkGooglePrivacyDlpV2StorageConfig(o.storageConfig);
@@ -2583,14 +2583,14 @@
buildCounterGooglePrivacyDlpV2InspectJobConfig--;
}
-buildUnnamed4419() {
+buildUnnamed4426() {
var o = new core.List<api.GooglePrivacyDlpV2Finding>();
o.add(buildGooglePrivacyDlpV2Finding());
o.add(buildGooglePrivacyDlpV2Finding());
return o;
}
-checkUnnamed4419(core.List<api.GooglePrivacyDlpV2Finding> o) {
+checkUnnamed4426(core.List<api.GooglePrivacyDlpV2Finding> o) {
unittest.expect(o, unittest.hasLength(2));
checkGooglePrivacyDlpV2Finding(o[0]);
checkGooglePrivacyDlpV2Finding(o[1]);
@@ -2601,7 +2601,7 @@
var o = new api.GooglePrivacyDlpV2InspectResult();
buildCounterGooglePrivacyDlpV2InspectResult++;
if (buildCounterGooglePrivacyDlpV2InspectResult < 3) {
- o.findings = buildUnnamed4419();
+ o.findings = buildUnnamed4426();
o.findingsTruncated = true;
}
buildCounterGooglePrivacyDlpV2InspectResult--;
@@ -2611,7 +2611,7 @@
checkGooglePrivacyDlpV2InspectResult(api.GooglePrivacyDlpV2InspectResult o) {
buildCounterGooglePrivacyDlpV2InspectResult++;
if (buildCounterGooglePrivacyDlpV2InspectResult < 3) {
- checkUnnamed4419(o.findings);
+ checkUnnamed4426(o.findings);
unittest.expect(o.findingsTruncated, unittest.isTrue);
}
buildCounterGooglePrivacyDlpV2InspectResult--;
@@ -2668,27 +2668,27 @@
buildCounterGooglePrivacyDlpV2InspectionRule--;
}
-buildUnnamed4420() {
+buildUnnamed4427() {
var o = new core.List<api.GooglePrivacyDlpV2InfoType>();
o.add(buildGooglePrivacyDlpV2InfoType());
o.add(buildGooglePrivacyDlpV2InfoType());
return o;
}
-checkUnnamed4420(core.List<api.GooglePrivacyDlpV2InfoType> o) {
+checkUnnamed4427(core.List<api.GooglePrivacyDlpV2InfoType> o) {
unittest.expect(o, unittest.hasLength(2));
checkGooglePrivacyDlpV2InfoType(o[0]);
checkGooglePrivacyDlpV2InfoType(o[1]);
}
-buildUnnamed4421() {
+buildUnnamed4428() {
var o = new core.List<api.GooglePrivacyDlpV2InspectionRule>();
o.add(buildGooglePrivacyDlpV2InspectionRule());
o.add(buildGooglePrivacyDlpV2InspectionRule());
return o;
}
-checkUnnamed4421(core.List<api.GooglePrivacyDlpV2InspectionRule> o) {
+checkUnnamed4428(core.List<api.GooglePrivacyDlpV2InspectionRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkGooglePrivacyDlpV2InspectionRule(o[0]);
checkGooglePrivacyDlpV2InspectionRule(o[1]);
@@ -2699,8 +2699,8 @@
var o = new api.GooglePrivacyDlpV2InspectionRuleSet();
buildCounterGooglePrivacyDlpV2InspectionRuleSet++;
if (buildCounterGooglePrivacyDlpV2InspectionRuleSet < 3) {
- o.infoTypes = buildUnnamed4420();
- o.rules = buildUnnamed4421();
+ o.infoTypes = buildUnnamed4427();
+ o.rules = buildUnnamed4428();
}
buildCounterGooglePrivacyDlpV2InspectionRuleSet--;
return o;
@@ -2710,8 +2710,8 @@
api.GooglePrivacyDlpV2InspectionRuleSet o) {
buildCounterGooglePrivacyDlpV2InspectionRuleSet++;
if (buildCounterGooglePrivacyDlpV2InspectionRuleSet < 3) {
- checkUnnamed4420(o.infoTypes);
- checkUnnamed4421(o.rules);
+ checkUnnamed4427(o.infoTypes);
+ checkUnnamed4428(o.rules);
}
buildCounterGooglePrivacyDlpV2InspectionRuleSet--;
}
@@ -2732,27 +2732,27 @@
buildCounterGooglePrivacyDlpV2JobNotificationEmails--;
}
-buildUnnamed4422() {
+buildUnnamed4429() {
var o = new core.List<api.GooglePrivacyDlpV2Error>();
o.add(buildGooglePrivacyDlpV2Error());
o.add(buildGooglePrivacyDlpV2Error());
return o;
}
-checkUnnamed4422(core.List<api.GooglePrivacyDlpV2Error> o) {
+checkUnnamed4429(core.List<api.GooglePrivacyDlpV2Error> o) {
unittest.expect(o, unittest.hasLength(2));
checkGooglePrivacyDlpV2Error(o[0]);
checkGooglePrivacyDlpV2Error(o[1]);
}
-buildUnnamed4423() {
+buildUnnamed4430() {
var o = new core.List<api.GooglePrivacyDlpV2Trigger>();
o.add(buildGooglePrivacyDlpV2Trigger());
o.add(buildGooglePrivacyDlpV2Trigger());
return o;
}
-checkUnnamed4423(core.List<api.GooglePrivacyDlpV2Trigger> o) {
+checkUnnamed4430(core.List<api.GooglePrivacyDlpV2Trigger> o) {
unittest.expect(o, unittest.hasLength(2));
checkGooglePrivacyDlpV2Trigger(o[0]);
checkGooglePrivacyDlpV2Trigger(o[1]);
@@ -2766,12 +2766,12 @@
o.createTime = "foo";
o.description = "foo";
o.displayName = "foo";
- o.errors = buildUnnamed4422();
+ o.errors = buildUnnamed4429();
o.inspectJob = buildGooglePrivacyDlpV2InspectJobConfig();
o.lastRunTime = "foo";
o.name = "foo";
o.status = "foo";
- o.triggers = buildUnnamed4423();
+ o.triggers = buildUnnamed4430();
o.updateTime = "foo";
}
buildCounterGooglePrivacyDlpV2JobTrigger--;
@@ -2784,25 +2784,25 @@
unittest.expect(o.createTime, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed4422(o.errors);
+ checkUnnamed4429(o.errors);
checkGooglePrivacyDlpV2InspectJobConfig(o.inspectJob);
unittest.expect(o.lastRunTime, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals('foo'));
- checkUnnamed4423(o.triggers);
+ checkUnnamed4430(o.triggers);
unittest.expect(o.updateTime, unittest.equals('foo'));
}
buildCounterGooglePrivacyDlpV2JobTrigger--;
}
-buildUnnamed4424() {
+buildUnnamed4431() {
var o = new core.List<api.GooglePrivacyDlpV2FieldId>();
o.add(buildGooglePrivacyDlpV2FieldId());
o.add(buildGooglePrivacyDlpV2FieldId());
return o;
}
-checkUnnamed4424(core.List<api.GooglePrivacyDlpV2FieldId> o) {
+checkUnnamed4431(core.List<api.GooglePrivacyDlpV2FieldId> o) {
unittest.expect(o, unittest.hasLength(2));
checkGooglePrivacyDlpV2FieldId(o[0]);
checkGooglePrivacyDlpV2FieldId(o[1]);
@@ -2814,7 +2814,7 @@
buildCounterGooglePrivacyDlpV2KAnonymityConfig++;
if (buildCounterGooglePrivacyDlpV2KAnonymityConfig < 3) {
o.entityId = buildGooglePrivacyDlpV2EntityId();
- o.quasiIds = buildUnnamed4424();
+ o.quasiIds = buildUnnamed4431();
}
buildCounterGooglePrivacyDlpV2KAnonymityConfig--;
return o;
@@ -2825,19 +2825,19 @@
buildCounterGooglePrivacyDlpV2KAnonymityConfig++;
if (buildCounterGooglePrivacyDlpV2KAnonymityConfig < 3) {
checkGooglePrivacyDlpV2EntityId(o.entityId);
- checkUnnamed4424(o.quasiIds);
+ checkUnnamed4431(o.quasiIds);
}
buildCounterGooglePrivacyDlpV2KAnonymityConfig--;
}
-buildUnnamed4425() {
+buildUnnamed4432() {
var o = new core.List<api.GooglePrivacyDlpV2Value>();
o.add(buildGooglePrivacyDlpV2Value());
o.add(buildGooglePrivacyDlpV2Value());
return o;
}
-checkUnnamed4425(core.List<api.GooglePrivacyDlpV2Value> o) {
+checkUnnamed4432(core.List<api.GooglePrivacyDlpV2Value> o) {
unittest.expect(o, unittest.hasLength(2));
checkGooglePrivacyDlpV2Value(o[0]);
checkGooglePrivacyDlpV2Value(o[1]);
@@ -2849,7 +2849,7 @@
buildCounterGooglePrivacyDlpV2KAnonymityEquivalenceClass++;
if (buildCounterGooglePrivacyDlpV2KAnonymityEquivalenceClass < 3) {
o.equivalenceClassSize = "foo";
- o.quasiIdsValues = buildUnnamed4425();
+ o.quasiIdsValues = buildUnnamed4432();
}
buildCounterGooglePrivacyDlpV2KAnonymityEquivalenceClass--;
return o;
@@ -2860,19 +2860,19 @@
buildCounterGooglePrivacyDlpV2KAnonymityEquivalenceClass++;
if (buildCounterGooglePrivacyDlpV2KAnonymityEquivalenceClass < 3) {
unittest.expect(o.equivalenceClassSize, unittest.equals('foo'));
- checkUnnamed4425(o.quasiIdsValues);
+ checkUnnamed4432(o.quasiIdsValues);
}
buildCounterGooglePrivacyDlpV2KAnonymityEquivalenceClass--;
}
-buildUnnamed4426() {
+buildUnnamed4433() {
var o = new core.List<api.GooglePrivacyDlpV2KAnonymityEquivalenceClass>();
o.add(buildGooglePrivacyDlpV2KAnonymityEquivalenceClass());
o.add(buildGooglePrivacyDlpV2KAnonymityEquivalenceClass());
return o;
}
-checkUnnamed4426(
+checkUnnamed4433(
core.List<api.GooglePrivacyDlpV2KAnonymityEquivalenceClass> o) {
unittest.expect(o, unittest.hasLength(2));
checkGooglePrivacyDlpV2KAnonymityEquivalenceClass(o[0]);
@@ -2886,7 +2886,7 @@
if (buildCounterGooglePrivacyDlpV2KAnonymityHistogramBucket < 3) {
o.bucketSize = "foo";
o.bucketValueCount = "foo";
- o.bucketValues = buildUnnamed4426();
+ o.bucketValues = buildUnnamed4433();
o.equivalenceClassSizeLowerBound = "foo";
o.equivalenceClassSizeUpperBound = "foo";
}
@@ -2900,21 +2900,21 @@
if (buildCounterGooglePrivacyDlpV2KAnonymityHistogramBucket < 3) {
unittest.expect(o.bucketSize, unittest.equals('foo'));
unittest.expect(o.bucketValueCount, unittest.equals('foo'));
- checkUnnamed4426(o.bucketValues);
+ checkUnnamed4433(o.bucketValues);
unittest.expect(o.equivalenceClassSizeLowerBound, unittest.equals('foo'));
unittest.expect(o.equivalenceClassSizeUpperBound, unittest.equals('foo'));
}
buildCounterGooglePrivacyDlpV2KAnonymityHistogramBucket--;
}
-buildUnnamed4427() {
+buildUnnamed4434() {
var o = new core.List<api.GooglePrivacyDlpV2KAnonymityHistogramBucket>();
o.add(buildGooglePrivacyDlpV2KAnonymityHistogramBucket());
o.add(buildGooglePrivacyDlpV2KAnonymityHistogramBucket());
return o;
}
-checkUnnamed4427(core.List<api.GooglePrivacyDlpV2KAnonymityHistogramBucket> o) {
+checkUnnamed4434(core.List<api.GooglePrivacyDlpV2KAnonymityHistogramBucket> o) {
unittest.expect(o, unittest.hasLength(2));
checkGooglePrivacyDlpV2KAnonymityHistogramBucket(o[0]);
checkGooglePrivacyDlpV2KAnonymityHistogramBucket(o[1]);
@@ -2925,7 +2925,7 @@
var o = new api.GooglePrivacyDlpV2KAnonymityResult();
buildCounterGooglePrivacyDlpV2KAnonymityResult++;
if (buildCounterGooglePrivacyDlpV2KAnonymityResult < 3) {
- o.equivalenceClassHistogramBuckets = buildUnnamed4427();
+ o.equivalenceClassHistogramBuckets = buildUnnamed4434();
}
buildCounterGooglePrivacyDlpV2KAnonymityResult--;
return o;
@@ -2935,32 +2935,32 @@
api.GooglePrivacyDlpV2KAnonymityResult o) {
buildCounterGooglePrivacyDlpV2KAnonymityResult++;
if (buildCounterGooglePrivacyDlpV2KAnonymityResult < 3) {
- checkUnnamed4427(o.equivalenceClassHistogramBuckets);
+ checkUnnamed4434(o.equivalenceClassHistogramBuckets);
}
buildCounterGooglePrivacyDlpV2KAnonymityResult--;
}
-buildUnnamed4428() {
+buildUnnamed4435() {
var o = new core.List<api.GooglePrivacyDlpV2AuxiliaryTable>();
o.add(buildGooglePrivacyDlpV2AuxiliaryTable());
o.add(buildGooglePrivacyDlpV2AuxiliaryTable());
return o;
}
-checkUnnamed4428(core.List<api.GooglePrivacyDlpV2AuxiliaryTable> o) {
+checkUnnamed4435(core.List<api.GooglePrivacyDlpV2AuxiliaryTable> o) {
unittest.expect(o, unittest.hasLength(2));
checkGooglePrivacyDlpV2AuxiliaryTable(o[0]);
checkGooglePrivacyDlpV2AuxiliaryTable(o[1]);
}
-buildUnnamed4429() {
+buildUnnamed4436() {
var o = new core.List<api.GooglePrivacyDlpV2TaggedField>();
o.add(buildGooglePrivacyDlpV2TaggedField());
o.add(buildGooglePrivacyDlpV2TaggedField());
return o;
}
-checkUnnamed4429(core.List<api.GooglePrivacyDlpV2TaggedField> o) {
+checkUnnamed4436(core.List<api.GooglePrivacyDlpV2TaggedField> o) {
unittest.expect(o, unittest.hasLength(2));
checkGooglePrivacyDlpV2TaggedField(o[0]);
checkGooglePrivacyDlpV2TaggedField(o[1]);
@@ -2971,8 +2971,8 @@
var o = new api.GooglePrivacyDlpV2KMapEstimationConfig();
buildCounterGooglePrivacyDlpV2KMapEstimationConfig++;
if (buildCounterGooglePrivacyDlpV2KMapEstimationConfig < 3) {
- o.auxiliaryTables = buildUnnamed4428();
- o.quasiIds = buildUnnamed4429();
+ o.auxiliaryTables = buildUnnamed4435();
+ o.quasiIds = buildUnnamed4436();
o.regionCode = "foo";
}
buildCounterGooglePrivacyDlpV2KMapEstimationConfig--;
@@ -2983,21 +2983,21 @@
api.GooglePrivacyDlpV2KMapEstimationConfig o) {
buildCounterGooglePrivacyDlpV2KMapEstimationConfig++;
if (buildCounterGooglePrivacyDlpV2KMapEstimationConfig < 3) {
- checkUnnamed4428(o.auxiliaryTables);
- checkUnnamed4429(o.quasiIds);
+ checkUnnamed4435(o.auxiliaryTables);
+ checkUnnamed4436(o.quasiIds);
unittest.expect(o.regionCode, unittest.equals('foo'));
}
buildCounterGooglePrivacyDlpV2KMapEstimationConfig--;
}
-buildUnnamed4430() {
+buildUnnamed4437() {
var o = new core.List<api.GooglePrivacyDlpV2KMapEstimationQuasiIdValues>();
o.add(buildGooglePrivacyDlpV2KMapEstimationQuasiIdValues());
o.add(buildGooglePrivacyDlpV2KMapEstimationQuasiIdValues());
return o;
}
-checkUnnamed4430(
+checkUnnamed4437(
core.List<api.GooglePrivacyDlpV2KMapEstimationQuasiIdValues> o) {
unittest.expect(o, unittest.hasLength(2));
checkGooglePrivacyDlpV2KMapEstimationQuasiIdValues(o[0]);
@@ -3011,7 +3011,7 @@
if (buildCounterGooglePrivacyDlpV2KMapEstimationHistogramBucket < 3) {
o.bucketSize = "foo";
o.bucketValueCount = "foo";
- o.bucketValues = buildUnnamed4430();
+ o.bucketValues = buildUnnamed4437();
o.maxAnonymity = "foo";
o.minAnonymity = "foo";
}
@@ -3025,21 +3025,21 @@
if (buildCounterGooglePrivacyDlpV2KMapEstimationHistogramBucket < 3) {
unittest.expect(o.bucketSize, unittest.equals('foo'));
unittest.expect(o.bucketValueCount, unittest.equals('foo'));
- checkUnnamed4430(o.bucketValues);
+ checkUnnamed4437(o.bucketValues);
unittest.expect(o.maxAnonymity, unittest.equals('foo'));
unittest.expect(o.minAnonymity, unittest.equals('foo'));
}
buildCounterGooglePrivacyDlpV2KMapEstimationHistogramBucket--;
}
-buildUnnamed4431() {
+buildUnnamed4438() {
var o = new core.List<api.GooglePrivacyDlpV2Value>();
o.add(buildGooglePrivacyDlpV2Value());
o.add(buildGooglePrivacyDlpV2Value());
return o;
}
-checkUnnamed4431(core.List<api.GooglePrivacyDlpV2Value> o) {
+checkUnnamed4438(core.List<api.GooglePrivacyDlpV2Value> o) {
unittest.expect(o, unittest.hasLength(2));
checkGooglePrivacyDlpV2Value(o[0]);
checkGooglePrivacyDlpV2Value(o[1]);
@@ -3051,7 +3051,7 @@
buildCounterGooglePrivacyDlpV2KMapEstimationQuasiIdValues++;
if (buildCounterGooglePrivacyDlpV2KMapEstimationQuasiIdValues < 3) {
o.estimatedAnonymity = "foo";
- o.quasiIdsValues = buildUnnamed4431();
+ o.quasiIdsValues = buildUnnamed4438();
}
buildCounterGooglePrivacyDlpV2KMapEstimationQuasiIdValues--;
return o;
@@ -3062,19 +3062,19 @@
buildCounterGooglePrivacyDlpV2KMapEstimationQuasiIdValues++;
if (buildCounterGooglePrivacyDlpV2KMapEstimationQuasiIdValues < 3) {
unittest.expect(o.estimatedAnonymity, unittest.equals('foo'));
- checkUnnamed4431(o.quasiIdsValues);
+ checkUnnamed4438(o.quasiIdsValues);
}
buildCounterGooglePrivacyDlpV2KMapEstimationQuasiIdValues--;
}
-buildUnnamed4432() {
+buildUnnamed4439() {
var o = new core.List<api.GooglePrivacyDlpV2KMapEstimationHistogramBucket>();
o.add(buildGooglePrivacyDlpV2KMapEstimationHistogramBucket());
o.add(buildGooglePrivacyDlpV2KMapEstimationHistogramBucket());
return o;
}
-checkUnnamed4432(
+checkUnnamed4439(
core.List<api.GooglePrivacyDlpV2KMapEstimationHistogramBucket> o) {
unittest.expect(o, unittest.hasLength(2));
checkGooglePrivacyDlpV2KMapEstimationHistogramBucket(o[0]);
@@ -3086,7 +3086,7 @@
var o = new api.GooglePrivacyDlpV2KMapEstimationResult();
buildCounterGooglePrivacyDlpV2KMapEstimationResult++;
if (buildCounterGooglePrivacyDlpV2KMapEstimationResult < 3) {
- o.kMapEstimationHistogram = buildUnnamed4432();
+ o.kMapEstimationHistogram = buildUnnamed4439();
}
buildCounterGooglePrivacyDlpV2KMapEstimationResult--;
return o;
@@ -3096,19 +3096,19 @@
api.GooglePrivacyDlpV2KMapEstimationResult o) {
buildCounterGooglePrivacyDlpV2KMapEstimationResult++;
if (buildCounterGooglePrivacyDlpV2KMapEstimationResult < 3) {
- checkUnnamed4432(o.kMapEstimationHistogram);
+ checkUnnamed4439(o.kMapEstimationHistogram);
}
buildCounterGooglePrivacyDlpV2KMapEstimationResult--;
}
-buildUnnamed4433() {
+buildUnnamed4440() {
var o = new core.List<api.GooglePrivacyDlpV2PathElement>();
o.add(buildGooglePrivacyDlpV2PathElement());
o.add(buildGooglePrivacyDlpV2PathElement());
return o;
}
-checkUnnamed4433(core.List<api.GooglePrivacyDlpV2PathElement> o) {
+checkUnnamed4440(core.List<api.GooglePrivacyDlpV2PathElement> o) {
unittest.expect(o, unittest.hasLength(2));
checkGooglePrivacyDlpV2PathElement(o[0]);
checkGooglePrivacyDlpV2PathElement(o[1]);
@@ -3120,7 +3120,7 @@
buildCounterGooglePrivacyDlpV2Key++;
if (buildCounterGooglePrivacyDlpV2Key < 3) {
o.partitionId = buildGooglePrivacyDlpV2PartitionId();
- o.path = buildUnnamed4433();
+ o.path = buildUnnamed4440();
}
buildCounterGooglePrivacyDlpV2Key--;
return o;
@@ -3130,7 +3130,7 @@
buildCounterGooglePrivacyDlpV2Key++;
if (buildCounterGooglePrivacyDlpV2Key < 3) {
checkGooglePrivacyDlpV2PartitionId(o.partitionId);
- checkUnnamed4433(o.path);
+ checkUnnamed4440(o.path);
}
buildCounterGooglePrivacyDlpV2Key--;
}
@@ -3176,14 +3176,14 @@
buildCounterGooglePrivacyDlpV2KmsWrappedCryptoKey--;
}
-buildUnnamed4434() {
+buildUnnamed4441() {
var o = new core.List<api.GooglePrivacyDlpV2FieldId>();
o.add(buildGooglePrivacyDlpV2FieldId());
o.add(buildGooglePrivacyDlpV2FieldId());
return o;
}
-checkUnnamed4434(core.List<api.GooglePrivacyDlpV2FieldId> o) {
+checkUnnamed4441(core.List<api.GooglePrivacyDlpV2FieldId> o) {
unittest.expect(o, unittest.hasLength(2));
checkGooglePrivacyDlpV2FieldId(o[0]);
checkGooglePrivacyDlpV2FieldId(o[1]);
@@ -3194,7 +3194,7 @@
var o = new api.GooglePrivacyDlpV2LDiversityConfig();
buildCounterGooglePrivacyDlpV2LDiversityConfig++;
if (buildCounterGooglePrivacyDlpV2LDiversityConfig < 3) {
- o.quasiIds = buildUnnamed4434();
+ o.quasiIds = buildUnnamed4441();
o.sensitiveAttribute = buildGooglePrivacyDlpV2FieldId();
}
buildCounterGooglePrivacyDlpV2LDiversityConfig--;
@@ -3205,33 +3205,33 @@
api.GooglePrivacyDlpV2LDiversityConfig o) {
buildCounterGooglePrivacyDlpV2LDiversityConfig++;
if (buildCounterGooglePrivacyDlpV2LDiversityConfig < 3) {
- checkUnnamed4434(o.quasiIds);
+ checkUnnamed4441(o.quasiIds);
checkGooglePrivacyDlpV2FieldId(o.sensitiveAttribute);
}
buildCounterGooglePrivacyDlpV2LDiversityConfig--;
}
-buildUnnamed4435() {
+buildUnnamed4442() {
var o = new core.List<api.GooglePrivacyDlpV2Value>();
o.add(buildGooglePrivacyDlpV2Value());
o.add(buildGooglePrivacyDlpV2Value());
return o;
}
-checkUnnamed4435(core.List<api.GooglePrivacyDlpV2Value> o) {
+checkUnnamed4442(core.List<api.GooglePrivacyDlpV2Value> o) {
unittest.expect(o, unittest.hasLength(2));
checkGooglePrivacyDlpV2Value(o[0]);
checkGooglePrivacyDlpV2Value(o[1]);
}
-buildUnnamed4436() {
+buildUnnamed4443() {
var o = new core.List<api.GooglePrivacyDlpV2ValueFrequency>();
o.add(buildGooglePrivacyDlpV2ValueFrequency());
o.add(buildGooglePrivacyDlpV2ValueFrequency());
return o;
}
-checkUnnamed4436(core.List<api.GooglePrivacyDlpV2ValueFrequency> o) {
+checkUnnamed4443(core.List<api.GooglePrivacyDlpV2ValueFrequency> o) {
unittest.expect(o, unittest.hasLength(2));
checkGooglePrivacyDlpV2ValueFrequency(o[0]);
checkGooglePrivacyDlpV2ValueFrequency(o[1]);
@@ -3244,8 +3244,8 @@
if (buildCounterGooglePrivacyDlpV2LDiversityEquivalenceClass < 3) {
o.equivalenceClassSize = "foo";
o.numDistinctSensitiveValues = "foo";
- o.quasiIdsValues = buildUnnamed4435();
- o.topSensitiveValues = buildUnnamed4436();
+ o.quasiIdsValues = buildUnnamed4442();
+ o.topSensitiveValues = buildUnnamed4443();
}
buildCounterGooglePrivacyDlpV2LDiversityEquivalenceClass--;
return o;
@@ -3257,20 +3257,20 @@
if (buildCounterGooglePrivacyDlpV2LDiversityEquivalenceClass < 3) {
unittest.expect(o.equivalenceClassSize, unittest.equals('foo'));
unittest.expect(o.numDistinctSensitiveValues, unittest.equals('foo'));
- checkUnnamed4435(o.quasiIdsValues);
- checkUnnamed4436(o.topSensitiveValues);
+ checkUnnamed4442(o.quasiIdsValues);
+ checkUnnamed4443(o.topSensitiveValues);
}
buildCounterGooglePrivacyDlpV2LDiversityEquivalenceClass--;
}
-buildUnnamed4437() {
+buildUnnamed4444() {
var o = new core.List<api.GooglePrivacyDlpV2LDiversityEquivalenceClass>();
o.add(buildGooglePrivacyDlpV2LDiversityEquivalenceClass());
o.add(buildGooglePrivacyDlpV2LDiversityEquivalenceClass());
return o;
}
-checkUnnamed4437(
+checkUnnamed4444(
core.List<api.GooglePrivacyDlpV2LDiversityEquivalenceClass> o) {
unittest.expect(o, unittest.hasLength(2));
checkGooglePrivacyDlpV2LDiversityEquivalenceClass(o[0]);
@@ -3284,7 +3284,7 @@
if (buildCounterGooglePrivacyDlpV2LDiversityHistogramBucket < 3) {
o.bucketSize = "foo";
o.bucketValueCount = "foo";
- o.bucketValues = buildUnnamed4437();
+ o.bucketValues = buildUnnamed4444();
o.sensitiveValueFrequencyLowerBound = "foo";
o.sensitiveValueFrequencyUpperBound = "foo";
}
@@ -3298,7 +3298,7 @@
if (buildCounterGooglePrivacyDlpV2LDiversityHistogramBucket < 3) {
unittest.expect(o.bucketSize, unittest.equals('foo'));
unittest.expect(o.bucketValueCount, unittest.equals('foo'));
- checkUnnamed4437(o.bucketValues);
+ checkUnnamed4444(o.bucketValues);
unittest.expect(
o.sensitiveValueFrequencyLowerBound, unittest.equals('foo'));
unittest.expect(
@@ -3307,14 +3307,14 @@
buildCounterGooglePrivacyDlpV2LDiversityHistogramBucket--;
}
-buildUnnamed4438() {
+buildUnnamed4445() {
var o = new core.List<api.GooglePrivacyDlpV2LDiversityHistogramBucket>();
o.add(buildGooglePrivacyDlpV2LDiversityHistogramBucket());
o.add(buildGooglePrivacyDlpV2LDiversityHistogramBucket());
return o;
}
-checkUnnamed4438(core.List<api.GooglePrivacyDlpV2LDiversityHistogramBucket> o) {
+checkUnnamed4445(core.List<api.GooglePrivacyDlpV2LDiversityHistogramBucket> o) {
unittest.expect(o, unittest.hasLength(2));
checkGooglePrivacyDlpV2LDiversityHistogramBucket(o[0]);
checkGooglePrivacyDlpV2LDiversityHistogramBucket(o[1]);
@@ -3325,7 +3325,7 @@
var o = new api.GooglePrivacyDlpV2LDiversityResult();
buildCounterGooglePrivacyDlpV2LDiversityResult++;
if (buildCounterGooglePrivacyDlpV2LDiversityResult < 3) {
- o.sensitiveValueFrequencyHistogramBuckets = buildUnnamed4438();
+ o.sensitiveValueFrequencyHistogramBuckets = buildUnnamed4445();
}
buildCounterGooglePrivacyDlpV2LDiversityResult--;
return o;
@@ -3335,7 +3335,7 @@
api.GooglePrivacyDlpV2LDiversityResult o) {
buildCounterGooglePrivacyDlpV2LDiversityResult++;
if (buildCounterGooglePrivacyDlpV2LDiversityResult < 3) {
- checkUnnamed4438(o.sensitiveValueFrequencyHistogramBuckets);
+ checkUnnamed4445(o.sensitiveValueFrequencyHistogramBuckets);
}
buildCounterGooglePrivacyDlpV2LDiversityResult--;
}
@@ -3422,14 +3422,14 @@
buildCounterGooglePrivacyDlpV2LikelihoodAdjustment--;
}
-buildUnnamed4439() {
+buildUnnamed4446() {
var o = new core.List<api.GooglePrivacyDlpV2DeidentifyTemplate>();
o.add(buildGooglePrivacyDlpV2DeidentifyTemplate());
o.add(buildGooglePrivacyDlpV2DeidentifyTemplate());
return o;
}
-checkUnnamed4439(core.List<api.GooglePrivacyDlpV2DeidentifyTemplate> o) {
+checkUnnamed4446(core.List<api.GooglePrivacyDlpV2DeidentifyTemplate> o) {
unittest.expect(o, unittest.hasLength(2));
checkGooglePrivacyDlpV2DeidentifyTemplate(o[0]);
checkGooglePrivacyDlpV2DeidentifyTemplate(o[1]);
@@ -3440,7 +3440,7 @@
var o = new api.GooglePrivacyDlpV2ListDeidentifyTemplatesResponse();
buildCounterGooglePrivacyDlpV2ListDeidentifyTemplatesResponse++;
if (buildCounterGooglePrivacyDlpV2ListDeidentifyTemplatesResponse < 3) {
- o.deidentifyTemplates = buildUnnamed4439();
+ o.deidentifyTemplates = buildUnnamed4446();
o.nextPageToken = "foo";
}
buildCounterGooglePrivacyDlpV2ListDeidentifyTemplatesResponse--;
@@ -3451,20 +3451,20 @@
api.GooglePrivacyDlpV2ListDeidentifyTemplatesResponse o) {
buildCounterGooglePrivacyDlpV2ListDeidentifyTemplatesResponse++;
if (buildCounterGooglePrivacyDlpV2ListDeidentifyTemplatesResponse < 3) {
- checkUnnamed4439(o.deidentifyTemplates);
+ checkUnnamed4446(o.deidentifyTemplates);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterGooglePrivacyDlpV2ListDeidentifyTemplatesResponse--;
}
-buildUnnamed4440() {
+buildUnnamed4447() {
var o = new core.List<api.GooglePrivacyDlpV2DlpJob>();
o.add(buildGooglePrivacyDlpV2DlpJob());
o.add(buildGooglePrivacyDlpV2DlpJob());
return o;
}
-checkUnnamed4440(core.List<api.GooglePrivacyDlpV2DlpJob> o) {
+checkUnnamed4447(core.List<api.GooglePrivacyDlpV2DlpJob> o) {
unittest.expect(o, unittest.hasLength(2));
checkGooglePrivacyDlpV2DlpJob(o[0]);
checkGooglePrivacyDlpV2DlpJob(o[1]);
@@ -3475,7 +3475,7 @@
var o = new api.GooglePrivacyDlpV2ListDlpJobsResponse();
buildCounterGooglePrivacyDlpV2ListDlpJobsResponse++;
if (buildCounterGooglePrivacyDlpV2ListDlpJobsResponse < 3) {
- o.jobs = buildUnnamed4440();
+ o.jobs = buildUnnamed4447();
o.nextPageToken = "foo";
}
buildCounterGooglePrivacyDlpV2ListDlpJobsResponse--;
@@ -3486,20 +3486,20 @@
api.GooglePrivacyDlpV2ListDlpJobsResponse o) {
buildCounterGooglePrivacyDlpV2ListDlpJobsResponse++;
if (buildCounterGooglePrivacyDlpV2ListDlpJobsResponse < 3) {
- checkUnnamed4440(o.jobs);
+ checkUnnamed4447(o.jobs);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterGooglePrivacyDlpV2ListDlpJobsResponse--;
}
-buildUnnamed4441() {
+buildUnnamed4448() {
var o = new core.List<api.GooglePrivacyDlpV2InfoTypeDescription>();
o.add(buildGooglePrivacyDlpV2InfoTypeDescription());
o.add(buildGooglePrivacyDlpV2InfoTypeDescription());
return o;
}
-checkUnnamed4441(core.List<api.GooglePrivacyDlpV2InfoTypeDescription> o) {
+checkUnnamed4448(core.List<api.GooglePrivacyDlpV2InfoTypeDescription> o) {
unittest.expect(o, unittest.hasLength(2));
checkGooglePrivacyDlpV2InfoTypeDescription(o[0]);
checkGooglePrivacyDlpV2InfoTypeDescription(o[1]);
@@ -3510,7 +3510,7 @@
var o = new api.GooglePrivacyDlpV2ListInfoTypesResponse();
buildCounterGooglePrivacyDlpV2ListInfoTypesResponse++;
if (buildCounterGooglePrivacyDlpV2ListInfoTypesResponse < 3) {
- o.infoTypes = buildUnnamed4441();
+ o.infoTypes = buildUnnamed4448();
}
buildCounterGooglePrivacyDlpV2ListInfoTypesResponse--;
return o;
@@ -3520,19 +3520,19 @@
api.GooglePrivacyDlpV2ListInfoTypesResponse o) {
buildCounterGooglePrivacyDlpV2ListInfoTypesResponse++;
if (buildCounterGooglePrivacyDlpV2ListInfoTypesResponse < 3) {
- checkUnnamed4441(o.infoTypes);
+ checkUnnamed4448(o.infoTypes);
}
buildCounterGooglePrivacyDlpV2ListInfoTypesResponse--;
}
-buildUnnamed4442() {
+buildUnnamed4449() {
var o = new core.List<api.GooglePrivacyDlpV2InspectTemplate>();
o.add(buildGooglePrivacyDlpV2InspectTemplate());
o.add(buildGooglePrivacyDlpV2InspectTemplate());
return o;
}
-checkUnnamed4442(core.List<api.GooglePrivacyDlpV2InspectTemplate> o) {
+checkUnnamed4449(core.List<api.GooglePrivacyDlpV2InspectTemplate> o) {
unittest.expect(o, unittest.hasLength(2));
checkGooglePrivacyDlpV2InspectTemplate(o[0]);
checkGooglePrivacyDlpV2InspectTemplate(o[1]);
@@ -3543,7 +3543,7 @@
var o = new api.GooglePrivacyDlpV2ListInspectTemplatesResponse();
buildCounterGooglePrivacyDlpV2ListInspectTemplatesResponse++;
if (buildCounterGooglePrivacyDlpV2ListInspectTemplatesResponse < 3) {
- o.inspectTemplates = buildUnnamed4442();
+ o.inspectTemplates = buildUnnamed4449();
o.nextPageToken = "foo";
}
buildCounterGooglePrivacyDlpV2ListInspectTemplatesResponse--;
@@ -3554,20 +3554,20 @@
api.GooglePrivacyDlpV2ListInspectTemplatesResponse o) {
buildCounterGooglePrivacyDlpV2ListInspectTemplatesResponse++;
if (buildCounterGooglePrivacyDlpV2ListInspectTemplatesResponse < 3) {
- checkUnnamed4442(o.inspectTemplates);
+ checkUnnamed4449(o.inspectTemplates);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterGooglePrivacyDlpV2ListInspectTemplatesResponse--;
}
-buildUnnamed4443() {
+buildUnnamed4450() {
var o = new core.List<api.GooglePrivacyDlpV2JobTrigger>();
o.add(buildGooglePrivacyDlpV2JobTrigger());
o.add(buildGooglePrivacyDlpV2JobTrigger());
return o;
}
-checkUnnamed4443(core.List<api.GooglePrivacyDlpV2JobTrigger> o) {
+checkUnnamed4450(core.List<api.GooglePrivacyDlpV2JobTrigger> o) {
unittest.expect(o, unittest.hasLength(2));
checkGooglePrivacyDlpV2JobTrigger(o[0]);
checkGooglePrivacyDlpV2JobTrigger(o[1]);
@@ -3578,7 +3578,7 @@
var o = new api.GooglePrivacyDlpV2ListJobTriggersResponse();
buildCounterGooglePrivacyDlpV2ListJobTriggersResponse++;
if (buildCounterGooglePrivacyDlpV2ListJobTriggersResponse < 3) {
- o.jobTriggers = buildUnnamed4443();
+ o.jobTriggers = buildUnnamed4450();
o.nextPageToken = "foo";
}
buildCounterGooglePrivacyDlpV2ListJobTriggersResponse--;
@@ -3589,20 +3589,20 @@
api.GooglePrivacyDlpV2ListJobTriggersResponse o) {
buildCounterGooglePrivacyDlpV2ListJobTriggersResponse++;
if (buildCounterGooglePrivacyDlpV2ListJobTriggersResponse < 3) {
- checkUnnamed4443(o.jobTriggers);
+ checkUnnamed4450(o.jobTriggers);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterGooglePrivacyDlpV2ListJobTriggersResponse--;
}
-buildUnnamed4444() {
+buildUnnamed4451() {
var o = new core.List<api.GooglePrivacyDlpV2StoredInfoType>();
o.add(buildGooglePrivacyDlpV2StoredInfoType());
o.add(buildGooglePrivacyDlpV2StoredInfoType());
return o;
}
-checkUnnamed4444(core.List<api.GooglePrivacyDlpV2StoredInfoType> o) {
+checkUnnamed4451(core.List<api.GooglePrivacyDlpV2StoredInfoType> o) {
unittest.expect(o, unittest.hasLength(2));
checkGooglePrivacyDlpV2StoredInfoType(o[0]);
checkGooglePrivacyDlpV2StoredInfoType(o[1]);
@@ -3614,7 +3614,7 @@
buildCounterGooglePrivacyDlpV2ListStoredInfoTypesResponse++;
if (buildCounterGooglePrivacyDlpV2ListStoredInfoTypesResponse < 3) {
o.nextPageToken = "foo";
- o.storedInfoTypes = buildUnnamed4444();
+ o.storedInfoTypes = buildUnnamed4451();
}
buildCounterGooglePrivacyDlpV2ListStoredInfoTypesResponse--;
return o;
@@ -3625,19 +3625,19 @@
buildCounterGooglePrivacyDlpV2ListStoredInfoTypesResponse++;
if (buildCounterGooglePrivacyDlpV2ListStoredInfoTypesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed4444(o.storedInfoTypes);
+ checkUnnamed4451(o.storedInfoTypes);
}
buildCounterGooglePrivacyDlpV2ListStoredInfoTypesResponse--;
}
-buildUnnamed4445() {
+buildUnnamed4452() {
var o = new core.List<api.GooglePrivacyDlpV2ContentLocation>();
o.add(buildGooglePrivacyDlpV2ContentLocation());
o.add(buildGooglePrivacyDlpV2ContentLocation());
return o;
}
-checkUnnamed4445(core.List<api.GooglePrivacyDlpV2ContentLocation> o) {
+checkUnnamed4452(core.List<api.GooglePrivacyDlpV2ContentLocation> o) {
unittest.expect(o, unittest.hasLength(2));
checkGooglePrivacyDlpV2ContentLocation(o[0]);
checkGooglePrivacyDlpV2ContentLocation(o[1]);
@@ -3651,7 +3651,7 @@
o.byteRange = buildGooglePrivacyDlpV2Range();
o.codepointRange = buildGooglePrivacyDlpV2Range();
o.container = buildGooglePrivacyDlpV2Container();
- o.contentLocations = buildUnnamed4445();
+ o.contentLocations = buildUnnamed4452();
}
buildCounterGooglePrivacyDlpV2Location--;
return o;
@@ -3663,7 +3663,7 @@
checkGooglePrivacyDlpV2Range(o.byteRange);
checkGooglePrivacyDlpV2Range(o.codepointRange);
checkGooglePrivacyDlpV2Container(o.container);
- checkUnnamed4445(o.contentLocations);
+ checkUnnamed4452(o.contentLocations);
}
buildCounterGooglePrivacyDlpV2Location--;
}
@@ -3725,14 +3725,14 @@
buildCounterGooglePrivacyDlpV2NumericalStatsConfig--;
}
-buildUnnamed4446() {
+buildUnnamed4453() {
var o = new core.List<api.GooglePrivacyDlpV2Value>();
o.add(buildGooglePrivacyDlpV2Value());
o.add(buildGooglePrivacyDlpV2Value());
return o;
}
-checkUnnamed4446(core.List<api.GooglePrivacyDlpV2Value> o) {
+checkUnnamed4453(core.List<api.GooglePrivacyDlpV2Value> o) {
unittest.expect(o, unittest.hasLength(2));
checkGooglePrivacyDlpV2Value(o[0]);
checkGooglePrivacyDlpV2Value(o[1]);
@@ -3745,7 +3745,7 @@
if (buildCounterGooglePrivacyDlpV2NumericalStatsResult < 3) {
o.maxValue = buildGooglePrivacyDlpV2Value();
o.minValue = buildGooglePrivacyDlpV2Value();
- o.quantileValues = buildUnnamed4446();
+ o.quantileValues = buildUnnamed4453();
}
buildCounterGooglePrivacyDlpV2NumericalStatsResult--;
return o;
@@ -3757,7 +3757,7 @@
if (buildCounterGooglePrivacyDlpV2NumericalStatsResult < 3) {
checkGooglePrivacyDlpV2Value(o.maxValue);
checkGooglePrivacyDlpV2Value(o.minValue);
- checkUnnamed4446(o.quantileValues);
+ checkUnnamed4453(o.quantileValues);
}
buildCounterGooglePrivacyDlpV2NumericalStatsResult--;
}
@@ -4123,14 +4123,14 @@
buildCounterGooglePrivacyDlpV2RecordCondition--;
}
-buildUnnamed4447() {
+buildUnnamed4454() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4447(core.List<core.String> o) {
+checkUnnamed4454(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -4143,7 +4143,7 @@
if (buildCounterGooglePrivacyDlpV2RecordKey < 3) {
o.bigQueryKey = buildGooglePrivacyDlpV2BigQueryKey();
o.datastoreKey = buildGooglePrivacyDlpV2DatastoreKey();
- o.idValues = buildUnnamed4447();
+ o.idValues = buildUnnamed4454();
}
buildCounterGooglePrivacyDlpV2RecordKey--;
return o;
@@ -4154,7 +4154,7 @@
if (buildCounterGooglePrivacyDlpV2RecordKey < 3) {
checkGooglePrivacyDlpV2BigQueryKey(o.bigQueryKey);
checkGooglePrivacyDlpV2DatastoreKey(o.datastoreKey);
- checkUnnamed4447(o.idValues);
+ checkUnnamed4454(o.idValues);
}
buildCounterGooglePrivacyDlpV2RecordKey--;
}
@@ -4202,27 +4202,27 @@
buildCounterGooglePrivacyDlpV2RecordSuppression--;
}
-buildUnnamed4448() {
+buildUnnamed4455() {
var o = new core.List<api.GooglePrivacyDlpV2FieldTransformation>();
o.add(buildGooglePrivacyDlpV2FieldTransformation());
o.add(buildGooglePrivacyDlpV2FieldTransformation());
return o;
}
-checkUnnamed4448(core.List<api.GooglePrivacyDlpV2FieldTransformation> o) {
+checkUnnamed4455(core.List<api.GooglePrivacyDlpV2FieldTransformation> o) {
unittest.expect(o, unittest.hasLength(2));
checkGooglePrivacyDlpV2FieldTransformation(o[0]);
checkGooglePrivacyDlpV2FieldTransformation(o[1]);
}
-buildUnnamed4449() {
+buildUnnamed4456() {
var o = new core.List<api.GooglePrivacyDlpV2RecordSuppression>();
o.add(buildGooglePrivacyDlpV2RecordSuppression());
o.add(buildGooglePrivacyDlpV2RecordSuppression());
return o;
}
-checkUnnamed4449(core.List<api.GooglePrivacyDlpV2RecordSuppression> o) {
+checkUnnamed4456(core.List<api.GooglePrivacyDlpV2RecordSuppression> o) {
unittest.expect(o, unittest.hasLength(2));
checkGooglePrivacyDlpV2RecordSuppression(o[0]);
checkGooglePrivacyDlpV2RecordSuppression(o[1]);
@@ -4233,8 +4233,8 @@
var o = new api.GooglePrivacyDlpV2RecordTransformations();
buildCounterGooglePrivacyDlpV2RecordTransformations++;
if (buildCounterGooglePrivacyDlpV2RecordTransformations < 3) {
- o.fieldTransformations = buildUnnamed4448();
- o.recordSuppressions = buildUnnamed4449();
+ o.fieldTransformations = buildUnnamed4455();
+ o.recordSuppressions = buildUnnamed4456();
}
buildCounterGooglePrivacyDlpV2RecordTransformations--;
return o;
@@ -4244,8 +4244,8 @@
api.GooglePrivacyDlpV2RecordTransformations o) {
buildCounterGooglePrivacyDlpV2RecordTransformations++;
if (buildCounterGooglePrivacyDlpV2RecordTransformations < 3) {
- checkUnnamed4448(o.fieldTransformations);
- checkUnnamed4449(o.recordSuppressions);
+ checkUnnamed4455(o.fieldTransformations);
+ checkUnnamed4456(o.recordSuppressions);
}
buildCounterGooglePrivacyDlpV2RecordTransformations--;
}
@@ -4265,14 +4265,14 @@
buildCounterGooglePrivacyDlpV2RedactConfig--;
}
-buildUnnamed4450() {
+buildUnnamed4457() {
var o = new core.List<api.GooglePrivacyDlpV2ImageRedactionConfig>();
o.add(buildGooglePrivacyDlpV2ImageRedactionConfig());
o.add(buildGooglePrivacyDlpV2ImageRedactionConfig());
return o;
}
-checkUnnamed4450(core.List<api.GooglePrivacyDlpV2ImageRedactionConfig> o) {
+checkUnnamed4457(core.List<api.GooglePrivacyDlpV2ImageRedactionConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkGooglePrivacyDlpV2ImageRedactionConfig(o[0]);
checkGooglePrivacyDlpV2ImageRedactionConfig(o[1]);
@@ -4284,7 +4284,7 @@
buildCounterGooglePrivacyDlpV2RedactImageRequest++;
if (buildCounterGooglePrivacyDlpV2RedactImageRequest < 3) {
o.byteItem = buildGooglePrivacyDlpV2ByteContentItem();
- o.imageRedactionConfigs = buildUnnamed4450();
+ o.imageRedactionConfigs = buildUnnamed4457();
o.includeFindings = true;
o.inspectConfig = buildGooglePrivacyDlpV2InspectConfig();
o.locationId = "foo";
@@ -4298,7 +4298,7 @@
buildCounterGooglePrivacyDlpV2RedactImageRequest++;
if (buildCounterGooglePrivacyDlpV2RedactImageRequest < 3) {
checkGooglePrivacyDlpV2ByteContentItem(o.byteItem);
- checkUnnamed4450(o.imageRedactionConfigs);
+ checkUnnamed4457(o.imageRedactionConfigs);
unittest.expect(o.includeFindings, unittest.isTrue);
checkGooglePrivacyDlpV2InspectConfig(o.inspectConfig);
unittest.expect(o.locationId, unittest.equals('foo'));
@@ -4330,14 +4330,14 @@
buildCounterGooglePrivacyDlpV2RedactImageResponse--;
}
-buildUnnamed4451() {
+buildUnnamed4458() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed4451(core.List<core.int> o) {
+checkUnnamed4458(core.List<core.int> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42));
unittest.expect(o[1], unittest.equals(42));
@@ -4348,7 +4348,7 @@
var o = new api.GooglePrivacyDlpV2Regex();
buildCounterGooglePrivacyDlpV2Regex++;
if (buildCounterGooglePrivacyDlpV2Regex < 3) {
- o.groupIndexes = buildUnnamed4451();
+ o.groupIndexes = buildUnnamed4458();
o.pattern = "foo";
}
buildCounterGooglePrivacyDlpV2Regex--;
@@ -4358,7 +4358,7 @@
checkGooglePrivacyDlpV2Regex(api.GooglePrivacyDlpV2Regex o) {
buildCounterGooglePrivacyDlpV2Regex++;
if (buildCounterGooglePrivacyDlpV2Regex < 3) {
- checkUnnamed4451(o.groupIndexes);
+ checkUnnamed4458(o.groupIndexes);
unittest.expect(o.pattern, unittest.equals('foo'));
}
buildCounterGooglePrivacyDlpV2Regex--;
@@ -4494,14 +4494,14 @@
buildCounterGooglePrivacyDlpV2RequestedRiskAnalysisOptions--;
}
-buildUnnamed4452() {
+buildUnnamed4459() {
var o = new core.List<api.GooglePrivacyDlpV2InfoTypeStats>();
o.add(buildGooglePrivacyDlpV2InfoTypeStats());
o.add(buildGooglePrivacyDlpV2InfoTypeStats());
return o;
}
-checkUnnamed4452(core.List<api.GooglePrivacyDlpV2InfoTypeStats> o) {
+checkUnnamed4459(core.List<api.GooglePrivacyDlpV2InfoTypeStats> o) {
unittest.expect(o, unittest.hasLength(2));
checkGooglePrivacyDlpV2InfoTypeStats(o[0]);
checkGooglePrivacyDlpV2InfoTypeStats(o[1]);
@@ -4513,7 +4513,7 @@
buildCounterGooglePrivacyDlpV2Result++;
if (buildCounterGooglePrivacyDlpV2Result < 3) {
o.hybridStats = buildGooglePrivacyDlpV2HybridInspectStatistics();
- o.infoTypeStats = buildUnnamed4452();
+ o.infoTypeStats = buildUnnamed4459();
o.processedBytes = "foo";
o.totalEstimatedBytes = "foo";
}
@@ -4525,21 +4525,21 @@
buildCounterGooglePrivacyDlpV2Result++;
if (buildCounterGooglePrivacyDlpV2Result < 3) {
checkGooglePrivacyDlpV2HybridInspectStatistics(o.hybridStats);
- checkUnnamed4452(o.infoTypeStats);
+ checkUnnamed4459(o.infoTypeStats);
unittest.expect(o.processedBytes, unittest.equals('foo'));
unittest.expect(o.totalEstimatedBytes, unittest.equals('foo'));
}
buildCounterGooglePrivacyDlpV2Result--;
}
-buildUnnamed4453() {
+buildUnnamed4460() {
var o = new core.List<api.GooglePrivacyDlpV2Action>();
o.add(buildGooglePrivacyDlpV2Action());
o.add(buildGooglePrivacyDlpV2Action());
return o;
}
-checkUnnamed4453(core.List<api.GooglePrivacyDlpV2Action> o) {
+checkUnnamed4460(core.List<api.GooglePrivacyDlpV2Action> o) {
unittest.expect(o, unittest.hasLength(2));
checkGooglePrivacyDlpV2Action(o[0]);
checkGooglePrivacyDlpV2Action(o[1]);
@@ -4550,7 +4550,7 @@
var o = new api.GooglePrivacyDlpV2RiskAnalysisJobConfig();
buildCounterGooglePrivacyDlpV2RiskAnalysisJobConfig++;
if (buildCounterGooglePrivacyDlpV2RiskAnalysisJobConfig < 3) {
- o.actions = buildUnnamed4453();
+ o.actions = buildUnnamed4460();
o.privacyMetric = buildGooglePrivacyDlpV2PrivacyMetric();
o.sourceTable = buildGooglePrivacyDlpV2BigQueryTable();
}
@@ -4562,21 +4562,21 @@
api.GooglePrivacyDlpV2RiskAnalysisJobConfig o) {
buildCounterGooglePrivacyDlpV2RiskAnalysisJobConfig++;
if (buildCounterGooglePrivacyDlpV2RiskAnalysisJobConfig < 3) {
- checkUnnamed4453(o.actions);
+ checkUnnamed4460(o.actions);
checkGooglePrivacyDlpV2PrivacyMetric(o.privacyMetric);
checkGooglePrivacyDlpV2BigQueryTable(o.sourceTable);
}
buildCounterGooglePrivacyDlpV2RiskAnalysisJobConfig--;
}
-buildUnnamed4454() {
+buildUnnamed4461() {
var o = new core.List<api.GooglePrivacyDlpV2Value>();
o.add(buildGooglePrivacyDlpV2Value());
o.add(buildGooglePrivacyDlpV2Value());
return o;
}
-checkUnnamed4454(core.List<api.GooglePrivacyDlpV2Value> o) {
+checkUnnamed4461(core.List<api.GooglePrivacyDlpV2Value> o) {
unittest.expect(o, unittest.hasLength(2));
checkGooglePrivacyDlpV2Value(o[0]);
checkGooglePrivacyDlpV2Value(o[1]);
@@ -4587,7 +4587,7 @@
var o = new api.GooglePrivacyDlpV2Row();
buildCounterGooglePrivacyDlpV2Row++;
if (buildCounterGooglePrivacyDlpV2Row < 3) {
- o.values = buildUnnamed4454();
+ o.values = buildUnnamed4461();
}
buildCounterGooglePrivacyDlpV2Row--;
return o;
@@ -4596,7 +4596,7 @@
checkGooglePrivacyDlpV2Row(api.GooglePrivacyDlpV2Row o) {
buildCounterGooglePrivacyDlpV2Row++;
if (buildCounterGooglePrivacyDlpV2Row < 3) {
- checkUnnamed4454(o.values);
+ checkUnnamed4461(o.values);
}
buildCounterGooglePrivacyDlpV2Row--;
}
@@ -4639,14 +4639,14 @@
buildCounterGooglePrivacyDlpV2Schedule--;
}
-buildUnnamed4455() {
+buildUnnamed4462() {
var o = new core.List<api.GooglePrivacyDlpV2QuasiIdentifierField>();
o.add(buildGooglePrivacyDlpV2QuasiIdentifierField());
o.add(buildGooglePrivacyDlpV2QuasiIdentifierField());
return o;
}
-checkUnnamed4455(core.List<api.GooglePrivacyDlpV2QuasiIdentifierField> o) {
+checkUnnamed4462(core.List<api.GooglePrivacyDlpV2QuasiIdentifierField> o) {
unittest.expect(o, unittest.hasLength(2));
checkGooglePrivacyDlpV2QuasiIdentifierField(o[0]);
checkGooglePrivacyDlpV2QuasiIdentifierField(o[1]);
@@ -4657,7 +4657,7 @@
var o = new api.GooglePrivacyDlpV2StatisticalTable();
buildCounterGooglePrivacyDlpV2StatisticalTable++;
if (buildCounterGooglePrivacyDlpV2StatisticalTable < 3) {
- o.quasiIds = buildUnnamed4455();
+ o.quasiIds = buildUnnamed4462();
o.relativeFrequency = buildGooglePrivacyDlpV2FieldId();
o.table = buildGooglePrivacyDlpV2BigQueryTable();
}
@@ -4669,7 +4669,7 @@
api.GooglePrivacyDlpV2StatisticalTable o) {
buildCounterGooglePrivacyDlpV2StatisticalTable++;
if (buildCounterGooglePrivacyDlpV2StatisticalTable < 3) {
- checkUnnamed4455(o.quasiIds);
+ checkUnnamed4462(o.quasiIds);
checkGooglePrivacyDlpV2FieldId(o.relativeFrequency);
checkGooglePrivacyDlpV2BigQueryTable(o.table);
}
@@ -4723,14 +4723,14 @@
buildCounterGooglePrivacyDlpV2StorageMetadataLabel--;
}
-buildUnnamed4456() {
+buildUnnamed4463() {
var o = new core.List<api.GooglePrivacyDlpV2StoredInfoTypeVersion>();
o.add(buildGooglePrivacyDlpV2StoredInfoTypeVersion());
o.add(buildGooglePrivacyDlpV2StoredInfoTypeVersion());
return o;
}
-checkUnnamed4456(core.List<api.GooglePrivacyDlpV2StoredInfoTypeVersion> o) {
+checkUnnamed4463(core.List<api.GooglePrivacyDlpV2StoredInfoTypeVersion> o) {
unittest.expect(o, unittest.hasLength(2));
checkGooglePrivacyDlpV2StoredInfoTypeVersion(o[0]);
checkGooglePrivacyDlpV2StoredInfoTypeVersion(o[1]);
@@ -4743,7 +4743,7 @@
if (buildCounterGooglePrivacyDlpV2StoredInfoType < 3) {
o.currentVersion = buildGooglePrivacyDlpV2StoredInfoTypeVersion();
o.name = "foo";
- o.pendingVersions = buildUnnamed4456();
+ o.pendingVersions = buildUnnamed4463();
}
buildCounterGooglePrivacyDlpV2StoredInfoType--;
return o;
@@ -4754,7 +4754,7 @@
if (buildCounterGooglePrivacyDlpV2StoredInfoType < 3) {
checkGooglePrivacyDlpV2StoredInfoTypeVersion(o.currentVersion);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed4456(o.pendingVersions);
+ checkUnnamed4463(o.pendingVersions);
}
buildCounterGooglePrivacyDlpV2StoredInfoType--;
}
@@ -4809,14 +4809,14 @@
buildCounterGooglePrivacyDlpV2StoredInfoTypeStats--;
}
-buildUnnamed4457() {
+buildUnnamed4464() {
var o = new core.List<api.GooglePrivacyDlpV2Error>();
o.add(buildGooglePrivacyDlpV2Error());
o.add(buildGooglePrivacyDlpV2Error());
return o;
}
-checkUnnamed4457(core.List<api.GooglePrivacyDlpV2Error> o) {
+checkUnnamed4464(core.List<api.GooglePrivacyDlpV2Error> o) {
unittest.expect(o, unittest.hasLength(2));
checkGooglePrivacyDlpV2Error(o[0]);
checkGooglePrivacyDlpV2Error(o[1]);
@@ -4829,7 +4829,7 @@
if (buildCounterGooglePrivacyDlpV2StoredInfoTypeVersion < 3) {
o.config = buildGooglePrivacyDlpV2StoredInfoTypeConfig();
o.createTime = "foo";
- o.errors = buildUnnamed4457();
+ o.errors = buildUnnamed4464();
o.state = "foo";
o.stats = buildGooglePrivacyDlpV2StoredInfoTypeStats();
}
@@ -4843,7 +4843,7 @@
if (buildCounterGooglePrivacyDlpV2StoredInfoTypeVersion < 3) {
checkGooglePrivacyDlpV2StoredInfoTypeConfig(o.config);
unittest.expect(o.createTime, unittest.equals('foo'));
- checkUnnamed4457(o.errors);
+ checkUnnamed4464(o.errors);
unittest.expect(o.state, unittest.equals('foo'));
checkGooglePrivacyDlpV2StoredInfoTypeStats(o.stats);
}
@@ -4909,27 +4909,27 @@
buildCounterGooglePrivacyDlpV2SurrogateType--;
}
-buildUnnamed4458() {
+buildUnnamed4465() {
var o = new core.List<api.GooglePrivacyDlpV2FieldId>();
o.add(buildGooglePrivacyDlpV2FieldId());
o.add(buildGooglePrivacyDlpV2FieldId());
return o;
}
-checkUnnamed4458(core.List<api.GooglePrivacyDlpV2FieldId> o) {
+checkUnnamed4465(core.List<api.GooglePrivacyDlpV2FieldId> o) {
unittest.expect(o, unittest.hasLength(2));
checkGooglePrivacyDlpV2FieldId(o[0]);
checkGooglePrivacyDlpV2FieldId(o[1]);
}
-buildUnnamed4459() {
+buildUnnamed4466() {
var o = new core.List<api.GooglePrivacyDlpV2Row>();
o.add(buildGooglePrivacyDlpV2Row());
o.add(buildGooglePrivacyDlpV2Row());
return o;
}
-checkUnnamed4459(core.List<api.GooglePrivacyDlpV2Row> o) {
+checkUnnamed4466(core.List<api.GooglePrivacyDlpV2Row> o) {
unittest.expect(o, unittest.hasLength(2));
checkGooglePrivacyDlpV2Row(o[0]);
checkGooglePrivacyDlpV2Row(o[1]);
@@ -4940,8 +4940,8 @@
var o = new api.GooglePrivacyDlpV2Table();
buildCounterGooglePrivacyDlpV2Table++;
if (buildCounterGooglePrivacyDlpV2Table < 3) {
- o.headers = buildUnnamed4458();
- o.rows = buildUnnamed4459();
+ o.headers = buildUnnamed4465();
+ o.rows = buildUnnamed4466();
}
buildCounterGooglePrivacyDlpV2Table--;
return o;
@@ -4950,8 +4950,8 @@
checkGooglePrivacyDlpV2Table(api.GooglePrivacyDlpV2Table o) {
buildCounterGooglePrivacyDlpV2Table++;
if (buildCounterGooglePrivacyDlpV2Table < 3) {
- checkUnnamed4458(o.headers);
- checkUnnamed4459(o.rows);
+ checkUnnamed4465(o.headers);
+ checkUnnamed4466(o.rows);
}
buildCounterGooglePrivacyDlpV2Table--;
}
@@ -4975,14 +4975,14 @@
buildCounterGooglePrivacyDlpV2TableLocation--;
}
-buildUnnamed4460() {
+buildUnnamed4467() {
var o = new core.List<api.GooglePrivacyDlpV2FieldId>();
o.add(buildGooglePrivacyDlpV2FieldId());
o.add(buildGooglePrivacyDlpV2FieldId());
return o;
}
-checkUnnamed4460(core.List<api.GooglePrivacyDlpV2FieldId> o) {
+checkUnnamed4467(core.List<api.GooglePrivacyDlpV2FieldId> o) {
unittest.expect(o, unittest.hasLength(2));
checkGooglePrivacyDlpV2FieldId(o[0]);
checkGooglePrivacyDlpV2FieldId(o[1]);
@@ -4993,7 +4993,7 @@
var o = new api.GooglePrivacyDlpV2TableOptions();
buildCounterGooglePrivacyDlpV2TableOptions++;
if (buildCounterGooglePrivacyDlpV2TableOptions < 3) {
- o.identifyingFields = buildUnnamed4460();
+ o.identifyingFields = buildUnnamed4467();
}
buildCounterGooglePrivacyDlpV2TableOptions--;
return o;
@@ -5002,7 +5002,7 @@
checkGooglePrivacyDlpV2TableOptions(api.GooglePrivacyDlpV2TableOptions o) {
buildCounterGooglePrivacyDlpV2TableOptions++;
if (buildCounterGooglePrivacyDlpV2TableOptions < 3) {
- checkUnnamed4460(o.identifyingFields);
+ checkUnnamed4467(o.identifyingFields);
}
buildCounterGooglePrivacyDlpV2TableOptions--;
}
@@ -5132,14 +5132,14 @@
buildCounterGooglePrivacyDlpV2TransformationErrorHandling--;
}
-buildUnnamed4461() {
+buildUnnamed4468() {
var o = new core.List<api.GooglePrivacyDlpV2TransformationSummary>();
o.add(buildGooglePrivacyDlpV2TransformationSummary());
o.add(buildGooglePrivacyDlpV2TransformationSummary());
return o;
}
-checkUnnamed4461(core.List<api.GooglePrivacyDlpV2TransformationSummary> o) {
+checkUnnamed4468(core.List<api.GooglePrivacyDlpV2TransformationSummary> o) {
unittest.expect(o, unittest.hasLength(2));
checkGooglePrivacyDlpV2TransformationSummary(o[0]);
checkGooglePrivacyDlpV2TransformationSummary(o[1]);
@@ -5150,7 +5150,7 @@
var o = new api.GooglePrivacyDlpV2TransformationOverview();
buildCounterGooglePrivacyDlpV2TransformationOverview++;
if (buildCounterGooglePrivacyDlpV2TransformationOverview < 3) {
- o.transformationSummaries = buildUnnamed4461();
+ o.transformationSummaries = buildUnnamed4468();
o.transformedBytes = "foo";
}
buildCounterGooglePrivacyDlpV2TransformationOverview--;
@@ -5161,33 +5161,33 @@
api.GooglePrivacyDlpV2TransformationOverview o) {
buildCounterGooglePrivacyDlpV2TransformationOverview++;
if (buildCounterGooglePrivacyDlpV2TransformationOverview < 3) {
- checkUnnamed4461(o.transformationSummaries);
+ checkUnnamed4468(o.transformationSummaries);
unittest.expect(o.transformedBytes, unittest.equals('foo'));
}
buildCounterGooglePrivacyDlpV2TransformationOverview--;
}
-buildUnnamed4462() {
+buildUnnamed4469() {
var o = new core.List<api.GooglePrivacyDlpV2FieldTransformation>();
o.add(buildGooglePrivacyDlpV2FieldTransformation());
o.add(buildGooglePrivacyDlpV2FieldTransformation());
return o;
}
-checkUnnamed4462(core.List<api.GooglePrivacyDlpV2FieldTransformation> o) {
+checkUnnamed4469(core.List<api.GooglePrivacyDlpV2FieldTransformation> o) {
unittest.expect(o, unittest.hasLength(2));
checkGooglePrivacyDlpV2FieldTransformation(o[0]);
checkGooglePrivacyDlpV2FieldTransformation(o[1]);
}
-buildUnnamed4463() {
+buildUnnamed4470() {
var o = new core.List<api.GooglePrivacyDlpV2SummaryResult>();
o.add(buildGooglePrivacyDlpV2SummaryResult());
o.add(buildGooglePrivacyDlpV2SummaryResult());
return o;
}
-checkUnnamed4463(core.List<api.GooglePrivacyDlpV2SummaryResult> o) {
+checkUnnamed4470(core.List<api.GooglePrivacyDlpV2SummaryResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkGooglePrivacyDlpV2SummaryResult(o[0]);
checkGooglePrivacyDlpV2SummaryResult(o[1]);
@@ -5199,10 +5199,10 @@
buildCounterGooglePrivacyDlpV2TransformationSummary++;
if (buildCounterGooglePrivacyDlpV2TransformationSummary < 3) {
o.field = buildGooglePrivacyDlpV2FieldId();
- o.fieldTransformations = buildUnnamed4462();
+ o.fieldTransformations = buildUnnamed4469();
o.infoType = buildGooglePrivacyDlpV2InfoType();
o.recordSuppress = buildGooglePrivacyDlpV2RecordSuppression();
- o.results = buildUnnamed4463();
+ o.results = buildUnnamed4470();
o.transformation = buildGooglePrivacyDlpV2PrimitiveTransformation();
o.transformedBytes = "foo";
}
@@ -5215,10 +5215,10 @@
buildCounterGooglePrivacyDlpV2TransformationSummary++;
if (buildCounterGooglePrivacyDlpV2TransformationSummary < 3) {
checkGooglePrivacyDlpV2FieldId(o.field);
- checkUnnamed4462(o.fieldTransformations);
+ checkUnnamed4469(o.fieldTransformations);
checkGooglePrivacyDlpV2InfoType(o.infoType);
checkGooglePrivacyDlpV2RecordSuppression(o.recordSuppress);
- checkUnnamed4463(o.results);
+ checkUnnamed4470(o.results);
checkGooglePrivacyDlpV2PrimitiveTransformation(o.transformation);
unittest.expect(o.transformedBytes, unittest.equals('foo'));
}
@@ -5428,14 +5428,14 @@
buildCounterGooglePrivacyDlpV2ValueFrequency--;
}
-buildUnnamed4464() {
+buildUnnamed4471() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4464(core.List<core.String> o) {
+checkUnnamed4471(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -5446,7 +5446,7 @@
var o = new api.GooglePrivacyDlpV2WordList();
buildCounterGooglePrivacyDlpV2WordList++;
if (buildCounterGooglePrivacyDlpV2WordList < 3) {
- o.words = buildUnnamed4464();
+ o.words = buildUnnamed4471();
}
buildCounterGooglePrivacyDlpV2WordList--;
return o;
@@ -5455,7 +5455,7 @@
checkGooglePrivacyDlpV2WordList(api.GooglePrivacyDlpV2WordList o) {
buildCounterGooglePrivacyDlpV2WordList++;
if (buildCounterGooglePrivacyDlpV2WordList < 3) {
- checkUnnamed4464(o.words);
+ checkUnnamed4471(o.words);
}
buildCounterGooglePrivacyDlpV2WordList--;
}
@@ -5475,7 +5475,7 @@
buildCounterGoogleProtobufEmpty--;
}
-buildUnnamed4465() {
+buildUnnamed4472() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -5490,7 +5490,7 @@
return o;
}
-checkUnnamed4465(core.Map<core.String, core.Object> o) {
+checkUnnamed4472(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o["x"]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -5504,17 +5504,17 @@
unittest.expect(casted2["string"], unittest.equals('foo'));
}
-buildUnnamed4466() {
+buildUnnamed4473() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed4465());
- o.add(buildUnnamed4465());
+ o.add(buildUnnamed4472());
+ o.add(buildUnnamed4472());
return o;
}
-checkUnnamed4466(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed4473(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed4465(o[0]);
- checkUnnamed4465(o[1]);
+ checkUnnamed4472(o[0]);
+ checkUnnamed4472(o[1]);
}
core.int buildCounterGoogleRpcStatus = 0;
@@ -5523,7 +5523,7 @@
buildCounterGoogleRpcStatus++;
if (buildCounterGoogleRpcStatus < 3) {
o.code = 42;
- o.details = buildUnnamed4466();
+ o.details = buildUnnamed4473();
o.message = "foo";
}
buildCounterGoogleRpcStatus--;
@@ -5534,7 +5534,7 @@
buildCounterGoogleRpcStatus++;
if (buildCounterGoogleRpcStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed4466(o.details);
+ checkUnnamed4473(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterGoogleRpcStatus--;
@@ -7258,8 +7258,8 @@
var mock = new HttpServerMock();
api.InfoTypesResourceApi res = new api.DlpApi(mock).infoTypes;
var arg_locationId = "foo";
- var arg_filter = "foo";
var arg_languageCode = "foo";
+ var arg_filter = "foo";
var arg_parent = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -7294,9 +7294,9 @@
}
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["parent"].first, unittest.equals(arg_parent));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -7310,8 +7310,8 @@
res
.list(
locationId: arg_locationId,
- filter: arg_filter,
languageCode: arg_languageCode,
+ filter: arg_filter,
parent: arg_parent,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -7326,9 +7326,9 @@
api.LocationsInfoTypesResourceApi res =
new api.DlpApi(mock).locations.infoTypes;
var arg_parent = "foo";
- var arg_languageCode = "foo";
var arg_filter = "foo";
var arg_locationId = "foo";
+ var arg_languageCode = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -7361,11 +7361,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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["languageCode"].first, unittest.equals(arg_languageCode));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -7377,9 +7377,9 @@
}), true);
res
.list(arg_parent,
- languageCode: arg_languageCode,
filter: arg_filter,
locationId: arg_locationId,
+ languageCode: arg_languageCode,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGooglePrivacyDlpV2ListInfoTypesResponse(response);
@@ -7558,9 +7558,9 @@
api.OrganizationsDeidentifyTemplatesResourceApi res =
new api.DlpApi(mock).organizations.deidentifyTemplates;
var arg_parent = "foo";
- var arg_pageToken = "foo";
var arg_orderBy = "foo";
var arg_locationId = "foo";
+ var arg_pageToken = "foo";
var arg_pageSize = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -7595,11 +7595,11 @@
}
}
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["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -7613,9 +7613,9 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
orderBy: arg_orderBy,
locationId: arg_locationId,
+ pageToken: arg_pageToken,
pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -7854,9 +7854,9 @@
api.OrganizationsInspectTemplatesResourceApi res =
new api.DlpApi(mock).organizations.inspectTemplates;
var arg_parent = "foo";
- var arg_pageSize = 42;
- 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) {
@@ -7890,13 +7890,13 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
- 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(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -7909,9 +7909,9 @@
}), true);
res
.list(arg_parent,
- pageSize: arg_pageSize,
- orderBy: arg_orderBy,
locationId: arg_locationId,
+ orderBy: arg_orderBy,
+ pageSize: arg_pageSize,
pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -8448,10 +8448,10 @@
api.OrganizationsLocationsInspectTemplatesResourceApi res =
new api.DlpApi(mock).organizations.locations.inspectTemplates;
var arg_parent = "foo";
- var arg_pageToken = "foo";
- var arg_pageSize = 42;
var arg_orderBy = "foo";
var arg_locationId = "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;
@@ -8485,13 +8485,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["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 = {
@@ -8503,10 +8503,10 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
- pageSize: arg_pageSize,
orderBy: arg_orderBy,
locationId: arg_locationId,
+ pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGooglePrivacyDlpV2ListInspectTemplatesResponse(response);
@@ -8742,10 +8742,10 @@
api.OrganizationsLocationsStoredInfoTypesResourceApi res =
new api.DlpApi(mock).organizations.locations.storedInfoTypes;
var arg_parent = "foo";
- var arg_pageToken = "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) {
var path = (req.url).path;
@@ -8779,13 +8779,13 @@
}
}
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["locationId"].first, unittest.equals(arg_locationId));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -8797,10 +8797,10 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
orderBy: arg_orderBy,
pageSize: arg_pageSize,
locationId: arg_locationId,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGooglePrivacyDlpV2ListStoredInfoTypesResponse(response);
@@ -9035,8 +9035,8 @@
new api.DlpApi(mock).organizations.storedInfoTypes;
var arg_parent = "foo";
var arg_pageSize = 42;
- var arg_locationId = "foo";
var arg_pageToken = "foo";
+ var arg_locationId = "foo";
var arg_orderBy = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -9073,10 +9073,10 @@
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["locationId"].first, unittest.equals(arg_locationId));
+ unittest.expect(
queryMap["orderBy"].first, unittest.equals(arg_orderBy));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -9090,8 +9090,8 @@
res
.list(arg_parent,
pageSize: arg_pageSize,
- locationId: arg_locationId,
pageToken: arg_pageToken,
+ locationId: arg_locationId,
orderBy: arg_orderBy,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -9505,8 +9505,8 @@
api.ProjectsDeidentifyTemplatesResourceApi res =
new api.DlpApi(mock).projects.deidentifyTemplates;
var arg_parent = "foo";
- var arg_pageSize = 42;
var arg_pageToken = "foo";
+ var arg_pageSize = 42;
var arg_locationId = "foo";
var arg_orderBy = "foo";
var arg_$fields = "foo";
@@ -9541,10 +9541,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
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(
@@ -9560,8 +9560,8 @@
}), true);
res
.list(arg_parent,
- pageSize: arg_pageSize,
pageToken: arg_pageToken,
+ pageSize: arg_pageSize,
locationId: arg_locationId,
orderBy: arg_orderBy,
$fields: arg_$fields)
@@ -9853,12 +9853,12 @@
api.ProjectsDlpJobsResourceApi res =
new api.DlpApi(mock).projects.dlpJobs;
var arg_parent = "foo";
- var arg_pageToken = "foo";
- var arg_filter = "foo";
- var arg_orderBy = "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_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -9892,15 +9892,15 @@
}
}
unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
+ 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(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["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -9912,12 +9912,12 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
- filter: arg_filter,
- orderBy: arg_orderBy,
locationId: arg_locationId,
+ orderBy: arg_orderBy,
type: arg_type,
+ filter: arg_filter,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGooglePrivacyDlpV2ListDlpJobsResponse(response);
@@ -10154,9 +10154,9 @@
new api.DlpApi(mock).projects.inspectTemplates;
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_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -10191,12 +10191,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["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(
- queryMap["orderBy"].first, unittest.equals(arg_orderBy));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -10209,9 +10209,9 @@
res
.list(arg_parent,
locationId: arg_locationId,
+ orderBy: arg_orderBy,
pageSize: arg_pageSize,
pageToken: arg_pageToken,
- orderBy: arg_orderBy,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGooglePrivacyDlpV2ListInspectTemplatesResponse(response);
@@ -10502,11 +10502,11 @@
api.ProjectsJobTriggersResourceApi res =
new api.DlpApi(mock).projects.jobTriggers;
var arg_parent = "foo";
- var arg_pageSize = 42;
- var arg_locationId = "foo";
- var arg_filter = "foo";
var arg_orderBy = "foo";
var arg_pageToken = "foo";
+ var arg_locationId = "foo";
+ var arg_filter = "foo";
+ var arg_pageSize = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -10539,15 +10539,15 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
- 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(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(
+ queryMap["locationId"].first, unittest.equals(arg_locationId));
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -10559,11 +10559,11 @@
}), true);
res
.list(arg_parent,
- pageSize: arg_pageSize,
- locationId: arg_locationId,
- filter: arg_filter,
orderBy: arg_orderBy,
pageToken: arg_pageToken,
+ locationId: arg_locationId,
+ filter: arg_filter,
+ pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGooglePrivacyDlpV2ListJobTriggersResponse(response);
@@ -10976,10 +10976,10 @@
api.ProjectsLocationsDeidentifyTemplatesResourceApi res =
new api.DlpApi(mock).projects.locations.deidentifyTemplates;
var arg_parent = "foo";
- var arg_locationId = "foo";
+ var arg_pageSize = 42;
var arg_pageToken = "foo";
var arg_orderBy = "foo";
- var arg_pageSize = 42;
+ var arg_locationId = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -11012,14 +11012,14 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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["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["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -11031,10 +11031,10 @@
}), true);
res
.list(arg_parent,
- locationId: arg_locationId,
+ pageSize: arg_pageSize,
pageToken: arg_pageToken,
orderBy: arg_orderBy,
- pageSize: arg_pageSize,
+ locationId: arg_locationId,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGooglePrivacyDlpV2ListDeidentifyTemplatesResponse(response);
@@ -11438,12 +11438,12 @@
api.ProjectsLocationsDlpJobsResourceApi res =
new 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_pageSize = 42;
var arg_type = "foo";
- var arg_filter = "foo";
- 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;
@@ -11476,16 +11476,16 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
- unittest.expect(queryMap["type"].first, unittest.equals(arg_type));
- 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(
+ 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(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
+ unittest.expect(queryMap["type"].first, unittest.equals(arg_type));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -11497,12 +11497,12 @@
}), true);
res
.list(arg_parent,
+ orderBy: arg_orderBy,
+ pageToken: arg_pageToken,
+ filter: arg_filter,
+ locationId: arg_locationId,
pageSize: arg_pageSize,
type: arg_type,
- filter: arg_filter,
- pageToken: arg_pageToken,
- orderBy: arg_orderBy,
- locationId: arg_locationId,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGooglePrivacyDlpV2ListDlpJobsResponse(response);
@@ -11739,10 +11739,10 @@
api.ProjectsLocationsInspectTemplatesResourceApi res =
new api.DlpApi(mock).projects.locations.inspectTemplates;
var arg_parent = "foo";
- var arg_orderBy = "foo";
- var arg_pageSize = 42;
var arg_pageToken = "foo";
+ var arg_orderBy = "foo";
var arg_locationId = "foo";
+ var arg_pageSize = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -11776,13 +11776,13 @@
}
}
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(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -11794,10 +11794,10 @@
}), true);
res
.list(arg_parent,
- orderBy: arg_orderBy,
- pageSize: arg_pageSize,
pageToken: arg_pageToken,
+ orderBy: arg_orderBy,
locationId: arg_locationId,
+ pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGooglePrivacyDlpV2ListInspectTemplatesResponse(response);
@@ -12147,11 +12147,11 @@
api.ProjectsLocationsJobTriggersResourceApi res =
new api.DlpApi(mock).projects.locations.jobTriggers;
var arg_parent = "foo";
- var arg_filter = "foo";
- var arg_pageToken = "foo";
var arg_pageSize = 42;
var arg_orderBy = "foo";
var arg_locationId = "foo";
+ 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;
@@ -12184,15 +12184,15 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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["orderBy"].first, unittest.equals(arg_orderBy));
unittest.expect(
queryMap["locationId"].first, unittest.equals(arg_locationId));
+ 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 = {
@@ -12204,11 +12204,11 @@
}), true);
res
.list(arg_parent,
- filter: arg_filter,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
orderBy: arg_orderBy,
locationId: arg_locationId,
+ pageToken: arg_pageToken,
+ filter: arg_filter,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGooglePrivacyDlpV2ListJobTriggersResponse(response);
@@ -12441,8 +12441,8 @@
api.ProjectsLocationsStoredInfoTypesResourceApi res =
new api.DlpApi(mock).projects.locations.storedInfoTypes;
var arg_parent = "foo";
- var arg_pageSize = 42;
var arg_pageToken = "foo";
+ var arg_pageSize = 42;
var arg_locationId = "foo";
var arg_orderBy = "foo";
var arg_$fields = "foo";
@@ -12477,10 +12477,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
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(
@@ -12496,8 +12496,8 @@
}), true);
res
.list(arg_parent,
- pageSize: arg_pageSize,
pageToken: arg_pageToken,
+ pageSize: arg_pageSize,
locationId: arg_locationId,
orderBy: arg_orderBy,
$fields: arg_$fields)
diff --git a/generated/googleapis/test/dns/v1_test.dart b/generated/googleapis/test/dns/v1_test.dart
index 403f597..619dfaf 100644
--- a/generated/googleapis/test/dns/v1_test.dart
+++ b/generated/googleapis/test/dns/v1_test.dart
@@ -1551,10 +1551,10 @@
api.ChangesResourceApi res = new api.DnsApi(mock).changes;
var arg_project = "foo";
var arg_managedZone = "foo";
- var arg_pageToken = "foo";
var arg_sortBy = "foo";
var arg_sortOrder = "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;
@@ -1604,13 +1604,13 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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(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,10 +1621,10 @@
}), true);
res
.list(arg_project, arg_managedZone,
- pageToken: arg_pageToken,
sortBy: arg_sortBy,
sortOrder: arg_sortOrder,
maxResults: arg_maxResults,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkChangesListResponse(response);
@@ -1720,8 +1720,8 @@
api.DnsKeysResourceApi res = new api.DnsApi(mock).dnsKeys;
var arg_project = "foo";
var arg_managedZone = "foo";
- var arg_maxResults = 42;
var arg_digestType = "foo";
+ var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -1772,10 +1772,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(core.int.parse(queryMap["maxResults"].first),
- unittest.equals(arg_maxResults));
unittest.expect(
queryMap["digestType"].first, unittest.equals(arg_digestType));
+ 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));
@@ -1788,8 +1788,8 @@
}), true);
res
.list(arg_project, arg_managedZone,
- maxResults: arg_maxResults,
digestType: arg_digestType,
+ maxResults: arg_maxResults,
pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -1883,8 +1883,8 @@
new api.DnsApi(mock).managedZoneOperations;
var arg_project = "foo";
var arg_managedZone = "foo";
- var arg_maxResults = 42;
var arg_pageToken = "foo";
+ var arg_maxResults = 42;
var arg_sortBy = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -1935,10 +1935,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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["maxResults"].first),
+ unittest.equals(arg_maxResults));
unittest.expect(queryMap["sortBy"].first, unittest.equals(arg_sortBy));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -1951,8 +1951,8 @@
}), true);
res
.list(arg_project, arg_managedZone,
- maxResults: arg_maxResults,
pageToken: arg_pageToken,
+ maxResults: arg_maxResults,
sortBy: arg_sortBy,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -2165,9 +2165,9 @@
var mock = new HttpServerMock();
api.ManagedZonesResourceApi res = new api.DnsApi(mock).managedZones;
var arg_project = "foo";
+ var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_dnsName = "foo";
- var arg_maxResults = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2208,12 +2208,12 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ 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(core.int.parse(queryMap["maxResults"].first),
- unittest.equals(arg_maxResults));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2224,9 +2224,9 @@
}), true);
res
.list(arg_project,
+ maxResults: arg_maxResults,
pageToken: arg_pageToken,
dnsName: arg_dnsName,
- maxResults: arg_maxResults,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkManagedZonesListResponse(response);
@@ -2580,8 +2580,8 @@
var mock = new HttpServerMock();
api.PoliciesResourceApi res = new api.DnsApi(mock).policies;
var arg_project = "foo";
- var arg_maxResults = 42;
var arg_pageToken = "foo";
+ var arg_maxResults = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2622,10 +2622,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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["maxResults"].first),
+ unittest.equals(arg_maxResults));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2636,8 +2636,8 @@
}), true);
res
.list(arg_project,
- maxResults: arg_maxResults,
pageToken: arg_pageToken,
+ maxResults: arg_maxResults,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkPoliciesListResponse(response);
@@ -2854,9 +2854,9 @@
var arg_project = "foo";
var arg_managedZone = "foo";
var arg_maxResults = 42;
- var arg_pageToken = "foo";
var arg_type = "foo";
var arg_name = "foo";
+ var arg_pageToken = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2908,10 +2908,10 @@
}
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
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["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2923,9 +2923,9 @@
res
.list(arg_project, arg_managedZone,
maxResults: arg_maxResults,
- pageToken: arg_pageToken,
type: arg_type,
name: arg_name,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkResourceRecordSetsListResponse(response);
diff --git a/generated/googleapis/test/docs/v1_test.dart b/generated/googleapis/test/docs/v1_test.dart
index d3f1039..b9afcb8 100644
--- a/generated/googleapis/test/docs/v1_test.dart
+++ b/generated/googleapis/test/docs/v1_test.dart
@@ -50,40 +50,40 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed5746() {
+buildUnnamed5722() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5746(core.List<core.String> o) {
+checkUnnamed5722(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed5747() {
+buildUnnamed5723() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5747(core.List<core.String> o) {
+checkUnnamed5723(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed5748() {
+buildUnnamed5724() {
var o = new core.Map<core.String, api.SuggestedTextStyle>();
o["x"] = buildSuggestedTextStyle();
o["y"] = buildSuggestedTextStyle();
return o;
}
-checkUnnamed5748(core.Map<core.String, api.SuggestedTextStyle> o) {
+checkUnnamed5724(core.Map<core.String, api.SuggestedTextStyle> o) {
unittest.expect(o, unittest.hasLength(2));
checkSuggestedTextStyle(o["x"]);
checkSuggestedTextStyle(o["y"]);
@@ -94,9 +94,9 @@
var o = new api.AutoText();
buildCounterAutoText++;
if (buildCounterAutoText < 3) {
- o.suggestedDeletionIds = buildUnnamed5746();
- o.suggestedInsertionIds = buildUnnamed5747();
- o.suggestedTextStyleChanges = buildUnnamed5748();
+ o.suggestedDeletionIds = buildUnnamed5722();
+ o.suggestedInsertionIds = buildUnnamed5723();
+ o.suggestedTextStyleChanges = buildUnnamed5724();
o.textStyle = buildTextStyle();
o.type = "foo";
}
@@ -107,9 +107,9 @@
checkAutoText(api.AutoText o) {
buildCounterAutoText++;
if (buildCounterAutoText < 3) {
- checkUnnamed5746(o.suggestedDeletionIds);
- checkUnnamed5747(o.suggestedInsertionIds);
- checkUnnamed5748(o.suggestedTextStyleChanges);
+ checkUnnamed5722(o.suggestedDeletionIds);
+ checkUnnamed5723(o.suggestedInsertionIds);
+ checkUnnamed5724(o.suggestedTextStyleChanges);
checkTextStyle(o.textStyle);
unittest.expect(o.type, unittest.equals('foo'));
}
@@ -154,14 +154,14 @@
buildCounterBackgroundSuggestionState--;
}
-buildUnnamed5749() {
+buildUnnamed5725() {
var o = new core.List<api.Request>();
o.add(buildRequest());
o.add(buildRequest());
return o;
}
-checkUnnamed5749(core.List<api.Request> o) {
+checkUnnamed5725(core.List<api.Request> o) {
unittest.expect(o, unittest.hasLength(2));
checkRequest(o[0]);
checkRequest(o[1]);
@@ -172,7 +172,7 @@
var o = new api.BatchUpdateDocumentRequest();
buildCounterBatchUpdateDocumentRequest++;
if (buildCounterBatchUpdateDocumentRequest < 3) {
- o.requests = buildUnnamed5749();
+ o.requests = buildUnnamed5725();
o.writeControl = buildWriteControl();
}
buildCounterBatchUpdateDocumentRequest--;
@@ -182,20 +182,20 @@
checkBatchUpdateDocumentRequest(api.BatchUpdateDocumentRequest o) {
buildCounterBatchUpdateDocumentRequest++;
if (buildCounterBatchUpdateDocumentRequest < 3) {
- checkUnnamed5749(o.requests);
+ checkUnnamed5725(o.requests);
checkWriteControl(o.writeControl);
}
buildCounterBatchUpdateDocumentRequest--;
}
-buildUnnamed5750() {
+buildUnnamed5726() {
var o = new core.List<api.Response>();
o.add(buildResponse());
o.add(buildResponse());
return o;
}
-checkUnnamed5750(core.List<api.Response> o) {
+checkUnnamed5726(core.List<api.Response> o) {
unittest.expect(o, unittest.hasLength(2));
checkResponse(o[0]);
checkResponse(o[1]);
@@ -207,7 +207,7 @@
buildCounterBatchUpdateDocumentResponse++;
if (buildCounterBatchUpdateDocumentResponse < 3) {
o.documentId = "foo";
- o.replies = buildUnnamed5750();
+ o.replies = buildUnnamed5726();
o.writeControl = buildWriteControl();
}
buildCounterBatchUpdateDocumentResponse--;
@@ -218,20 +218,20 @@
buildCounterBatchUpdateDocumentResponse++;
if (buildCounterBatchUpdateDocumentResponse < 3) {
unittest.expect(o.documentId, unittest.equals('foo'));
- checkUnnamed5750(o.replies);
+ checkUnnamed5726(o.replies);
checkWriteControl(o.writeControl);
}
buildCounterBatchUpdateDocumentResponse--;
}
-buildUnnamed5751() {
+buildUnnamed5727() {
var o = new core.List<api.StructuralElement>();
o.add(buildStructuralElement());
o.add(buildStructuralElement());
return o;
}
-checkUnnamed5751(core.List<api.StructuralElement> o) {
+checkUnnamed5727(core.List<api.StructuralElement> o) {
unittest.expect(o, unittest.hasLength(2));
checkStructuralElement(o[0]);
checkStructuralElement(o[1]);
@@ -242,7 +242,7 @@
var o = new api.Body();
buildCounterBody++;
if (buildCounterBody < 3) {
- o.content = buildUnnamed5751();
+ o.content = buildUnnamed5727();
}
buildCounterBody--;
return o;
@@ -251,7 +251,7 @@
checkBody(api.Body o) {
buildCounterBody++;
if (buildCounterBody < 3) {
- checkUnnamed5751(o.content);
+ checkUnnamed5727(o.content);
}
buildCounterBody--;
}
@@ -321,40 +321,40 @@
buildCounterColor--;
}
-buildUnnamed5752() {
+buildUnnamed5728() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5752(core.List<core.String> o) {
+checkUnnamed5728(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed5753() {
+buildUnnamed5729() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5753(core.List<core.String> o) {
+checkUnnamed5729(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed5754() {
+buildUnnamed5730() {
var o = new core.Map<core.String, api.SuggestedTextStyle>();
o["x"] = buildSuggestedTextStyle();
o["y"] = buildSuggestedTextStyle();
return o;
}
-checkUnnamed5754(core.Map<core.String, api.SuggestedTextStyle> o) {
+checkUnnamed5730(core.Map<core.String, api.SuggestedTextStyle> o) {
unittest.expect(o, unittest.hasLength(2));
checkSuggestedTextStyle(o["x"]);
checkSuggestedTextStyle(o["y"]);
@@ -365,9 +365,9 @@
var o = new api.ColumnBreak();
buildCounterColumnBreak++;
if (buildCounterColumnBreak < 3) {
- o.suggestedDeletionIds = buildUnnamed5752();
- o.suggestedInsertionIds = buildUnnamed5753();
- o.suggestedTextStyleChanges = buildUnnamed5754();
+ o.suggestedDeletionIds = buildUnnamed5728();
+ o.suggestedInsertionIds = buildUnnamed5729();
+ o.suggestedTextStyleChanges = buildUnnamed5730();
o.textStyle = buildTextStyle();
}
buildCounterColumnBreak--;
@@ -377,9 +377,9 @@
checkColumnBreak(api.ColumnBreak o) {
buildCounterColumnBreak++;
if (buildCounterColumnBreak < 3) {
- checkUnnamed5752(o.suggestedDeletionIds);
- checkUnnamed5753(o.suggestedInsertionIds);
- checkUnnamed5754(o.suggestedTextStyleChanges);
+ checkUnnamed5728(o.suggestedDeletionIds);
+ checkUnnamed5729(o.suggestedInsertionIds);
+ checkUnnamed5730(o.suggestedTextStyleChanges);
checkTextStyle(o.textStyle);
}
buildCounterColumnBreak--;
@@ -795,118 +795,118 @@
buildCounterDimension--;
}
-buildUnnamed5755() {
+buildUnnamed5731() {
var o = new core.Map<core.String, api.Footer>();
o["x"] = buildFooter();
o["y"] = buildFooter();
return o;
}
-checkUnnamed5755(core.Map<core.String, api.Footer> o) {
+checkUnnamed5731(core.Map<core.String, api.Footer> o) {
unittest.expect(o, unittest.hasLength(2));
checkFooter(o["x"]);
checkFooter(o["y"]);
}
-buildUnnamed5756() {
+buildUnnamed5732() {
var o = new core.Map<core.String, api.Footnote>();
o["x"] = buildFootnote();
o["y"] = buildFootnote();
return o;
}
-checkUnnamed5756(core.Map<core.String, api.Footnote> o) {
+checkUnnamed5732(core.Map<core.String, api.Footnote> o) {
unittest.expect(o, unittest.hasLength(2));
checkFootnote(o["x"]);
checkFootnote(o["y"]);
}
-buildUnnamed5757() {
+buildUnnamed5733() {
var o = new core.Map<core.String, api.Header>();
o["x"] = buildHeader();
o["y"] = buildHeader();
return o;
}
-checkUnnamed5757(core.Map<core.String, api.Header> o) {
+checkUnnamed5733(core.Map<core.String, api.Header> o) {
unittest.expect(o, unittest.hasLength(2));
checkHeader(o["x"]);
checkHeader(o["y"]);
}
-buildUnnamed5758() {
+buildUnnamed5734() {
var o = new core.Map<core.String, api.InlineObject>();
o["x"] = buildInlineObject();
o["y"] = buildInlineObject();
return o;
}
-checkUnnamed5758(core.Map<core.String, api.InlineObject> o) {
+checkUnnamed5734(core.Map<core.String, api.InlineObject> o) {
unittest.expect(o, unittest.hasLength(2));
checkInlineObject(o["x"]);
checkInlineObject(o["y"]);
}
-buildUnnamed5759() {
+buildUnnamed5735() {
var o = new core.Map<core.String, api.List>();
o["x"] = buildList();
o["y"] = buildList();
return o;
}
-checkUnnamed5759(core.Map<core.String, api.List> o) {
+checkUnnamed5735(core.Map<core.String, api.List> o) {
unittest.expect(o, unittest.hasLength(2));
checkList(o["x"]);
checkList(o["y"]);
}
-buildUnnamed5760() {
+buildUnnamed5736() {
var o = new core.Map<core.String, api.NamedRanges>();
o["x"] = buildNamedRanges();
o["y"] = buildNamedRanges();
return o;
}
-checkUnnamed5760(core.Map<core.String, api.NamedRanges> o) {
+checkUnnamed5736(core.Map<core.String, api.NamedRanges> o) {
unittest.expect(o, unittest.hasLength(2));
checkNamedRanges(o["x"]);
checkNamedRanges(o["y"]);
}
-buildUnnamed5761() {
+buildUnnamed5737() {
var o = new core.Map<core.String, api.PositionedObject>();
o["x"] = buildPositionedObject();
o["y"] = buildPositionedObject();
return o;
}
-checkUnnamed5761(core.Map<core.String, api.PositionedObject> o) {
+checkUnnamed5737(core.Map<core.String, api.PositionedObject> o) {
unittest.expect(o, unittest.hasLength(2));
checkPositionedObject(o["x"]);
checkPositionedObject(o["y"]);
}
-buildUnnamed5762() {
+buildUnnamed5738() {
var o = new core.Map<core.String, api.SuggestedDocumentStyle>();
o["x"] = buildSuggestedDocumentStyle();
o["y"] = buildSuggestedDocumentStyle();
return o;
}
-checkUnnamed5762(core.Map<core.String, api.SuggestedDocumentStyle> o) {
+checkUnnamed5738(core.Map<core.String, api.SuggestedDocumentStyle> o) {
unittest.expect(o, unittest.hasLength(2));
checkSuggestedDocumentStyle(o["x"]);
checkSuggestedDocumentStyle(o["y"]);
}
-buildUnnamed5763() {
+buildUnnamed5739() {
var o = new core.Map<core.String, api.SuggestedNamedStyles>();
o["x"] = buildSuggestedNamedStyles();
o["y"] = buildSuggestedNamedStyles();
return o;
}
-checkUnnamed5763(core.Map<core.String, api.SuggestedNamedStyles> o) {
+checkUnnamed5739(core.Map<core.String, api.SuggestedNamedStyles> o) {
unittest.expect(o, unittest.hasLength(2));
checkSuggestedNamedStyles(o["x"]);
checkSuggestedNamedStyles(o["y"]);
@@ -920,17 +920,17 @@
o.body = buildBody();
o.documentId = "foo";
o.documentStyle = buildDocumentStyle();
- o.footers = buildUnnamed5755();
- o.footnotes = buildUnnamed5756();
- o.headers = buildUnnamed5757();
- o.inlineObjects = buildUnnamed5758();
- o.lists = buildUnnamed5759();
- o.namedRanges = buildUnnamed5760();
+ o.footers = buildUnnamed5731();
+ o.footnotes = buildUnnamed5732();
+ o.headers = buildUnnamed5733();
+ o.inlineObjects = buildUnnamed5734();
+ o.lists = buildUnnamed5735();
+ o.namedRanges = buildUnnamed5736();
o.namedStyles = buildNamedStyles();
- o.positionedObjects = buildUnnamed5761();
+ o.positionedObjects = buildUnnamed5737();
o.revisionId = "foo";
- o.suggestedDocumentStyleChanges = buildUnnamed5762();
- o.suggestedNamedStylesChanges = buildUnnamed5763();
+ o.suggestedDocumentStyleChanges = buildUnnamed5738();
+ o.suggestedNamedStylesChanges = buildUnnamed5739();
o.suggestionsViewMode = "foo";
o.title = "foo";
}
@@ -944,17 +944,17 @@
checkBody(o.body);
unittest.expect(o.documentId, unittest.equals('foo'));
checkDocumentStyle(o.documentStyle);
- checkUnnamed5755(o.footers);
- checkUnnamed5756(o.footnotes);
- checkUnnamed5757(o.headers);
- checkUnnamed5758(o.inlineObjects);
- checkUnnamed5759(o.lists);
- checkUnnamed5760(o.namedRanges);
+ checkUnnamed5731(o.footers);
+ checkUnnamed5732(o.footnotes);
+ checkUnnamed5733(o.headers);
+ checkUnnamed5734(o.inlineObjects);
+ checkUnnamed5735(o.lists);
+ checkUnnamed5736(o.namedRanges);
checkNamedStyles(o.namedStyles);
- checkUnnamed5761(o.positionedObjects);
+ checkUnnamed5737(o.positionedObjects);
unittest.expect(o.revisionId, unittest.equals('foo'));
- checkUnnamed5762(o.suggestedDocumentStyleChanges);
- checkUnnamed5763(o.suggestedNamedStylesChanges);
+ checkUnnamed5738(o.suggestedDocumentStyleChanges);
+ checkUnnamed5739(o.suggestedNamedStylesChanges);
unittest.expect(o.suggestionsViewMode, unittest.equals('foo'));
unittest.expect(o.title, unittest.equals('foo'));
}
@@ -1252,27 +1252,27 @@
buildCounterEndOfSegmentLocation--;
}
-buildUnnamed5764() {
+buildUnnamed5740() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5764(core.List<core.String> o) {
+checkUnnamed5740(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed5765() {
+buildUnnamed5741() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5765(core.List<core.String> o) {
+checkUnnamed5741(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1283,8 +1283,8 @@
var o = new api.Equation();
buildCounterEquation++;
if (buildCounterEquation < 3) {
- o.suggestedDeletionIds = buildUnnamed5764();
- o.suggestedInsertionIds = buildUnnamed5765();
+ o.suggestedDeletionIds = buildUnnamed5740();
+ o.suggestedInsertionIds = buildUnnamed5741();
}
buildCounterEquation--;
return o;
@@ -1293,20 +1293,20 @@
checkEquation(api.Equation o) {
buildCounterEquation++;
if (buildCounterEquation < 3) {
- checkUnnamed5764(o.suggestedDeletionIds);
- checkUnnamed5765(o.suggestedInsertionIds);
+ checkUnnamed5740(o.suggestedDeletionIds);
+ checkUnnamed5741(o.suggestedInsertionIds);
}
buildCounterEquation--;
}
-buildUnnamed5766() {
+buildUnnamed5742() {
var o = new core.List<api.StructuralElement>();
o.add(buildStructuralElement());
o.add(buildStructuralElement());
return o;
}
-checkUnnamed5766(core.List<api.StructuralElement> o) {
+checkUnnamed5742(core.List<api.StructuralElement> o) {
unittest.expect(o, unittest.hasLength(2));
checkStructuralElement(o[0]);
checkStructuralElement(o[1]);
@@ -1317,7 +1317,7 @@
var o = new api.Footer();
buildCounterFooter++;
if (buildCounterFooter < 3) {
- o.content = buildUnnamed5766();
+ o.content = buildUnnamed5742();
o.footerId = "foo";
}
buildCounterFooter--;
@@ -1327,20 +1327,20 @@
checkFooter(api.Footer o) {
buildCounterFooter++;
if (buildCounterFooter < 3) {
- checkUnnamed5766(o.content);
+ checkUnnamed5742(o.content);
unittest.expect(o.footerId, unittest.equals('foo'));
}
buildCounterFooter--;
}
-buildUnnamed5767() {
+buildUnnamed5743() {
var o = new core.List<api.StructuralElement>();
o.add(buildStructuralElement());
o.add(buildStructuralElement());
return o;
}
-checkUnnamed5767(core.List<api.StructuralElement> o) {
+checkUnnamed5743(core.List<api.StructuralElement> o) {
unittest.expect(o, unittest.hasLength(2));
checkStructuralElement(o[0]);
checkStructuralElement(o[1]);
@@ -1351,7 +1351,7 @@
var o = new api.Footnote();
buildCounterFootnote++;
if (buildCounterFootnote < 3) {
- o.content = buildUnnamed5767();
+ o.content = buildUnnamed5743();
o.footnoteId = "foo";
}
buildCounterFootnote--;
@@ -1361,46 +1361,46 @@
checkFootnote(api.Footnote o) {
buildCounterFootnote++;
if (buildCounterFootnote < 3) {
- checkUnnamed5767(o.content);
+ checkUnnamed5743(o.content);
unittest.expect(o.footnoteId, unittest.equals('foo'));
}
buildCounterFootnote--;
}
-buildUnnamed5768() {
+buildUnnamed5744() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5768(core.List<core.String> o) {
+checkUnnamed5744(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed5769() {
+buildUnnamed5745() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5769(core.List<core.String> o) {
+checkUnnamed5745(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed5770() {
+buildUnnamed5746() {
var o = new core.Map<core.String, api.SuggestedTextStyle>();
o["x"] = buildSuggestedTextStyle();
o["y"] = buildSuggestedTextStyle();
return o;
}
-checkUnnamed5770(core.Map<core.String, api.SuggestedTextStyle> o) {
+checkUnnamed5746(core.Map<core.String, api.SuggestedTextStyle> o) {
unittest.expect(o, unittest.hasLength(2));
checkSuggestedTextStyle(o["x"]);
checkSuggestedTextStyle(o["y"]);
@@ -1413,9 +1413,9 @@
if (buildCounterFootnoteReference < 3) {
o.footnoteId = "foo";
o.footnoteNumber = "foo";
- o.suggestedDeletionIds = buildUnnamed5768();
- o.suggestedInsertionIds = buildUnnamed5769();
- o.suggestedTextStyleChanges = buildUnnamed5770();
+ o.suggestedDeletionIds = buildUnnamed5744();
+ o.suggestedInsertionIds = buildUnnamed5745();
+ o.suggestedTextStyleChanges = buildUnnamed5746();
o.textStyle = buildTextStyle();
}
buildCounterFootnoteReference--;
@@ -1427,22 +1427,22 @@
if (buildCounterFootnoteReference < 3) {
unittest.expect(o.footnoteId, unittest.equals('foo'));
unittest.expect(o.footnoteNumber, unittest.equals('foo'));
- checkUnnamed5768(o.suggestedDeletionIds);
- checkUnnamed5769(o.suggestedInsertionIds);
- checkUnnamed5770(o.suggestedTextStyleChanges);
+ checkUnnamed5744(o.suggestedDeletionIds);
+ checkUnnamed5745(o.suggestedInsertionIds);
+ checkUnnamed5746(o.suggestedTextStyleChanges);
checkTextStyle(o.textStyle);
}
buildCounterFootnoteReference--;
}
-buildUnnamed5771() {
+buildUnnamed5747() {
var o = new core.List<api.StructuralElement>();
o.add(buildStructuralElement());
o.add(buildStructuralElement());
return o;
}
-checkUnnamed5771(core.List<api.StructuralElement> o) {
+checkUnnamed5747(core.List<api.StructuralElement> o) {
unittest.expect(o, unittest.hasLength(2));
checkStructuralElement(o[0]);
checkStructuralElement(o[1]);
@@ -1453,7 +1453,7 @@
var o = new api.Header();
buildCounterHeader++;
if (buildCounterHeader < 3) {
- o.content = buildUnnamed5771();
+ o.content = buildUnnamed5747();
o.headerId = "foo";
}
buildCounterHeader--;
@@ -1463,46 +1463,46 @@
checkHeader(api.Header o) {
buildCounterHeader++;
if (buildCounterHeader < 3) {
- checkUnnamed5771(o.content);
+ checkUnnamed5747(o.content);
unittest.expect(o.headerId, unittest.equals('foo'));
}
buildCounterHeader--;
}
-buildUnnamed5772() {
+buildUnnamed5748() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5772(core.List<core.String> o) {
+checkUnnamed5748(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed5773() {
+buildUnnamed5749() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5773(core.List<core.String> o) {
+checkUnnamed5749(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed5774() {
+buildUnnamed5750() {
var o = new core.Map<core.String, api.SuggestedTextStyle>();
o["x"] = buildSuggestedTextStyle();
o["y"] = buildSuggestedTextStyle();
return o;
}
-checkUnnamed5774(core.Map<core.String, api.SuggestedTextStyle> o) {
+checkUnnamed5750(core.Map<core.String, api.SuggestedTextStyle> o) {
unittest.expect(o, unittest.hasLength(2));
checkSuggestedTextStyle(o["x"]);
checkSuggestedTextStyle(o["y"]);
@@ -1513,9 +1513,9 @@
var o = new api.HorizontalRule();
buildCounterHorizontalRule++;
if (buildCounterHorizontalRule < 3) {
- o.suggestedDeletionIds = buildUnnamed5772();
- o.suggestedInsertionIds = buildUnnamed5773();
- o.suggestedTextStyleChanges = buildUnnamed5774();
+ o.suggestedDeletionIds = buildUnnamed5748();
+ o.suggestedInsertionIds = buildUnnamed5749();
+ o.suggestedTextStyleChanges = buildUnnamed5750();
o.textStyle = buildTextStyle();
}
buildCounterHorizontalRule--;
@@ -1525,9 +1525,9 @@
checkHorizontalRule(api.HorizontalRule o) {
buildCounterHorizontalRule++;
if (buildCounterHorizontalRule < 3) {
- checkUnnamed5772(o.suggestedDeletionIds);
- checkUnnamed5773(o.suggestedInsertionIds);
- checkUnnamed5774(o.suggestedTextStyleChanges);
+ checkUnnamed5748(o.suggestedDeletionIds);
+ checkUnnamed5749(o.suggestedInsertionIds);
+ checkUnnamed5750(o.suggestedTextStyleChanges);
checkTextStyle(o.textStyle);
}
buildCounterHorizontalRule--;
@@ -1595,27 +1595,27 @@
buildCounterImagePropertiesSuggestionState--;
}
-buildUnnamed5775() {
+buildUnnamed5751() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5775(core.List<core.String> o) {
+checkUnnamed5751(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed5776() {
+buildUnnamed5752() {
var o = new core.Map<core.String, api.SuggestedInlineObjectProperties>();
o["x"] = buildSuggestedInlineObjectProperties();
o["y"] = buildSuggestedInlineObjectProperties();
return o;
}
-checkUnnamed5776(core.Map<core.String, api.SuggestedInlineObjectProperties> o) {
+checkUnnamed5752(core.Map<core.String, api.SuggestedInlineObjectProperties> o) {
unittest.expect(o, unittest.hasLength(2));
checkSuggestedInlineObjectProperties(o["x"]);
checkSuggestedInlineObjectProperties(o["y"]);
@@ -1628,8 +1628,8 @@
if (buildCounterInlineObject < 3) {
o.inlineObjectProperties = buildInlineObjectProperties();
o.objectId = "foo";
- o.suggestedDeletionIds = buildUnnamed5775();
- o.suggestedInlineObjectPropertiesChanges = buildUnnamed5776();
+ o.suggestedDeletionIds = buildUnnamed5751();
+ o.suggestedInlineObjectPropertiesChanges = buildUnnamed5752();
o.suggestedInsertionId = "foo";
}
buildCounterInlineObject--;
@@ -1641,47 +1641,47 @@
if (buildCounterInlineObject < 3) {
checkInlineObjectProperties(o.inlineObjectProperties);
unittest.expect(o.objectId, unittest.equals('foo'));
- checkUnnamed5775(o.suggestedDeletionIds);
- checkUnnamed5776(o.suggestedInlineObjectPropertiesChanges);
+ checkUnnamed5751(o.suggestedDeletionIds);
+ checkUnnamed5752(o.suggestedInlineObjectPropertiesChanges);
unittest.expect(o.suggestedInsertionId, unittest.equals('foo'));
}
buildCounterInlineObject--;
}
-buildUnnamed5777() {
+buildUnnamed5753() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5777(core.List<core.String> o) {
+checkUnnamed5753(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed5778() {
+buildUnnamed5754() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5778(core.List<core.String> o) {
+checkUnnamed5754(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed5779() {
+buildUnnamed5755() {
var o = new core.Map<core.String, api.SuggestedTextStyle>();
o["x"] = buildSuggestedTextStyle();
o["y"] = buildSuggestedTextStyle();
return o;
}
-checkUnnamed5779(core.Map<core.String, api.SuggestedTextStyle> o) {
+checkUnnamed5755(core.Map<core.String, api.SuggestedTextStyle> o) {
unittest.expect(o, unittest.hasLength(2));
checkSuggestedTextStyle(o["x"]);
checkSuggestedTextStyle(o["y"]);
@@ -1693,9 +1693,9 @@
buildCounterInlineObjectElement++;
if (buildCounterInlineObjectElement < 3) {
o.inlineObjectId = "foo";
- o.suggestedDeletionIds = buildUnnamed5777();
- o.suggestedInsertionIds = buildUnnamed5778();
- o.suggestedTextStyleChanges = buildUnnamed5779();
+ o.suggestedDeletionIds = buildUnnamed5753();
+ o.suggestedInsertionIds = buildUnnamed5754();
+ o.suggestedTextStyleChanges = buildUnnamed5755();
o.textStyle = buildTextStyle();
}
buildCounterInlineObjectElement--;
@@ -1706,9 +1706,9 @@
buildCounterInlineObjectElement++;
if (buildCounterInlineObjectElement < 3) {
unittest.expect(o.inlineObjectId, unittest.equals('foo'));
- checkUnnamed5777(o.suggestedDeletionIds);
- checkUnnamed5778(o.suggestedInsertionIds);
- checkUnnamed5779(o.suggestedTextStyleChanges);
+ checkUnnamed5753(o.suggestedDeletionIds);
+ checkUnnamed5754(o.suggestedInsertionIds);
+ checkUnnamed5755(o.suggestedTextStyleChanges);
checkTextStyle(o.textStyle);
}
buildCounterInlineObjectElement--;
@@ -2014,27 +2014,27 @@
buildCounterLinkedContentReferenceSuggestionState--;
}
-buildUnnamed5780() {
+buildUnnamed5756() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5780(core.List<core.String> o) {
+checkUnnamed5756(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed5781() {
+buildUnnamed5757() {
var o = new core.Map<core.String, api.SuggestedListProperties>();
o["x"] = buildSuggestedListProperties();
o["y"] = buildSuggestedListProperties();
return o;
}
-checkUnnamed5781(core.Map<core.String, api.SuggestedListProperties> o) {
+checkUnnamed5757(core.Map<core.String, api.SuggestedListProperties> o) {
unittest.expect(o, unittest.hasLength(2));
checkSuggestedListProperties(o["x"]);
checkSuggestedListProperties(o["y"]);
@@ -2046,9 +2046,9 @@
buildCounterList++;
if (buildCounterList < 3) {
o.listProperties = buildListProperties();
- o.suggestedDeletionIds = buildUnnamed5780();
+ o.suggestedDeletionIds = buildUnnamed5756();
o.suggestedInsertionId = "foo";
- o.suggestedListPropertiesChanges = buildUnnamed5781();
+ o.suggestedListPropertiesChanges = buildUnnamed5757();
}
buildCounterList--;
return o;
@@ -2058,21 +2058,21 @@
buildCounterList++;
if (buildCounterList < 3) {
checkListProperties(o.listProperties);
- checkUnnamed5780(o.suggestedDeletionIds);
+ checkUnnamed5756(o.suggestedDeletionIds);
unittest.expect(o.suggestedInsertionId, unittest.equals('foo'));
- checkUnnamed5781(o.suggestedListPropertiesChanges);
+ checkUnnamed5757(o.suggestedListPropertiesChanges);
}
buildCounterList--;
}
-buildUnnamed5782() {
+buildUnnamed5758() {
var o = new core.List<api.NestingLevel>();
o.add(buildNestingLevel());
o.add(buildNestingLevel());
return o;
}
-checkUnnamed5782(core.List<api.NestingLevel> o) {
+checkUnnamed5758(core.List<api.NestingLevel> o) {
unittest.expect(o, unittest.hasLength(2));
checkNestingLevel(o[0]);
checkNestingLevel(o[1]);
@@ -2083,7 +2083,7 @@
var o = new api.ListProperties();
buildCounterListProperties++;
if (buildCounterListProperties < 3) {
- o.nestingLevels = buildUnnamed5782();
+ o.nestingLevels = buildUnnamed5758();
}
buildCounterListProperties--;
return o;
@@ -2092,19 +2092,19 @@
checkListProperties(api.ListProperties o) {
buildCounterListProperties++;
if (buildCounterListProperties < 3) {
- checkUnnamed5782(o.nestingLevels);
+ checkUnnamed5758(o.nestingLevels);
}
buildCounterListProperties--;
}
-buildUnnamed5783() {
+buildUnnamed5759() {
var o = new core.List<api.NestingLevelSuggestionState>();
o.add(buildNestingLevelSuggestionState());
o.add(buildNestingLevelSuggestionState());
return o;
}
-checkUnnamed5783(core.List<api.NestingLevelSuggestionState> o) {
+checkUnnamed5759(core.List<api.NestingLevelSuggestionState> o) {
unittest.expect(o, unittest.hasLength(2));
checkNestingLevelSuggestionState(o[0]);
checkNestingLevelSuggestionState(o[1]);
@@ -2115,7 +2115,7 @@
var o = new api.ListPropertiesSuggestionState();
buildCounterListPropertiesSuggestionState++;
if (buildCounterListPropertiesSuggestionState < 3) {
- o.nestingLevelsSuggestionStates = buildUnnamed5783();
+ o.nestingLevelsSuggestionStates = buildUnnamed5759();
}
buildCounterListPropertiesSuggestionState--;
return o;
@@ -2124,7 +2124,7 @@
checkListPropertiesSuggestionState(api.ListPropertiesSuggestionState o) {
buildCounterListPropertiesSuggestionState++;
if (buildCounterListPropertiesSuggestionState < 3) {
- checkUnnamed5783(o.nestingLevelsSuggestionStates);
+ checkUnnamed5759(o.nestingLevelsSuggestionStates);
}
buildCounterListPropertiesSuggestionState--;
}
@@ -2169,14 +2169,14 @@
buildCounterMergeTableCellsRequest--;
}
-buildUnnamed5784() {
+buildUnnamed5760() {
var o = new core.List<api.Range>();
o.add(buildRange());
o.add(buildRange());
return o;
}
-checkUnnamed5784(core.List<api.Range> o) {
+checkUnnamed5760(core.List<api.Range> o) {
unittest.expect(o, unittest.hasLength(2));
checkRange(o[0]);
checkRange(o[1]);
@@ -2189,7 +2189,7 @@
if (buildCounterNamedRange < 3) {
o.name = "foo";
o.namedRangeId = "foo";
- o.ranges = buildUnnamed5784();
+ o.ranges = buildUnnamed5760();
}
buildCounterNamedRange--;
return o;
@@ -2200,19 +2200,19 @@
if (buildCounterNamedRange < 3) {
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.namedRangeId, unittest.equals('foo'));
- checkUnnamed5784(o.ranges);
+ checkUnnamed5760(o.ranges);
}
buildCounterNamedRange--;
}
-buildUnnamed5785() {
+buildUnnamed5761() {
var o = new core.List<api.NamedRange>();
o.add(buildNamedRange());
o.add(buildNamedRange());
return o;
}
-checkUnnamed5785(core.List<api.NamedRange> o) {
+checkUnnamed5761(core.List<api.NamedRange> o) {
unittest.expect(o, unittest.hasLength(2));
checkNamedRange(o[0]);
checkNamedRange(o[1]);
@@ -2224,7 +2224,7 @@
buildCounterNamedRanges++;
if (buildCounterNamedRanges < 3) {
o.name = "foo";
- o.namedRanges = buildUnnamed5785();
+ o.namedRanges = buildUnnamed5761();
}
buildCounterNamedRanges--;
return o;
@@ -2234,7 +2234,7 @@
buildCounterNamedRanges++;
if (buildCounterNamedRanges < 3) {
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed5785(o.namedRanges);
+ checkUnnamed5761(o.namedRanges);
}
buildCounterNamedRanges--;
}
@@ -2285,14 +2285,14 @@
buildCounterNamedStyleSuggestionState--;
}
-buildUnnamed5786() {
+buildUnnamed5762() {
var o = new core.List<api.NamedStyle>();
o.add(buildNamedStyle());
o.add(buildNamedStyle());
return o;
}
-checkUnnamed5786(core.List<api.NamedStyle> o) {
+checkUnnamed5762(core.List<api.NamedStyle> o) {
unittest.expect(o, unittest.hasLength(2));
checkNamedStyle(o[0]);
checkNamedStyle(o[1]);
@@ -2303,7 +2303,7 @@
var o = new api.NamedStyles();
buildCounterNamedStyles++;
if (buildCounterNamedStyles < 3) {
- o.styles = buildUnnamed5786();
+ o.styles = buildUnnamed5762();
}
buildCounterNamedStyles--;
return o;
@@ -2312,19 +2312,19 @@
checkNamedStyles(api.NamedStyles o) {
buildCounterNamedStyles++;
if (buildCounterNamedStyles < 3) {
- checkUnnamed5786(o.styles);
+ checkUnnamed5762(o.styles);
}
buildCounterNamedStyles--;
}
-buildUnnamed5787() {
+buildUnnamed5763() {
var o = new core.List<api.NamedStyleSuggestionState>();
o.add(buildNamedStyleSuggestionState());
o.add(buildNamedStyleSuggestionState());
return o;
}
-checkUnnamed5787(core.List<api.NamedStyleSuggestionState> o) {
+checkUnnamed5763(core.List<api.NamedStyleSuggestionState> o) {
unittest.expect(o, unittest.hasLength(2));
checkNamedStyleSuggestionState(o[0]);
checkNamedStyleSuggestionState(o[1]);
@@ -2335,7 +2335,7 @@
var o = new api.NamedStylesSuggestionState();
buildCounterNamedStylesSuggestionState++;
if (buildCounterNamedStylesSuggestionState < 3) {
- o.stylesSuggestionStates = buildUnnamed5787();
+ o.stylesSuggestionStates = buildUnnamed5763();
}
buildCounterNamedStylesSuggestionState--;
return o;
@@ -2344,7 +2344,7 @@
checkNamedStylesSuggestionState(api.NamedStylesSuggestionState o) {
buildCounterNamedStylesSuggestionState++;
if (buildCounterNamedStylesSuggestionState < 3) {
- checkUnnamed5787(o.stylesSuggestionStates);
+ checkUnnamed5763(o.stylesSuggestionStates);
}
buildCounterNamedStylesSuggestionState--;
}
@@ -2415,14 +2415,14 @@
buildCounterNestingLevelSuggestionState--;
}
-buildUnnamed5788() {
+buildUnnamed5764() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5788(core.List<core.String> o) {
+checkUnnamed5764(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2433,7 +2433,7 @@
var o = new api.ObjectReferences();
buildCounterObjectReferences++;
if (buildCounterObjectReferences < 3) {
- o.objectIds = buildUnnamed5788();
+ o.objectIds = buildUnnamed5764();
}
buildCounterObjectReferences--;
return o;
@@ -2442,7 +2442,7 @@
checkObjectReferences(api.ObjectReferences o) {
buildCounterObjectReferences++;
if (buildCounterObjectReferences < 3) {
- checkUnnamed5788(o.objectIds);
+ checkUnnamed5764(o.objectIds);
}
buildCounterObjectReferences--;
}
@@ -2466,40 +2466,40 @@
buildCounterOptionalColor--;
}
-buildUnnamed5789() {
+buildUnnamed5765() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5789(core.List<core.String> o) {
+checkUnnamed5765(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed5790() {
+buildUnnamed5766() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5790(core.List<core.String> o) {
+checkUnnamed5766(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed5791() {
+buildUnnamed5767() {
var o = new core.Map<core.String, api.SuggestedTextStyle>();
o["x"] = buildSuggestedTextStyle();
o["y"] = buildSuggestedTextStyle();
return o;
}
-checkUnnamed5791(core.Map<core.String, api.SuggestedTextStyle> o) {
+checkUnnamed5767(core.Map<core.String, api.SuggestedTextStyle> o) {
unittest.expect(o, unittest.hasLength(2));
checkSuggestedTextStyle(o["x"]);
checkSuggestedTextStyle(o["y"]);
@@ -2510,9 +2510,9 @@
var o = new api.PageBreak();
buildCounterPageBreak++;
if (buildCounterPageBreak < 3) {
- o.suggestedDeletionIds = buildUnnamed5789();
- o.suggestedInsertionIds = buildUnnamed5790();
- o.suggestedTextStyleChanges = buildUnnamed5791();
+ o.suggestedDeletionIds = buildUnnamed5765();
+ o.suggestedInsertionIds = buildUnnamed5766();
+ o.suggestedTextStyleChanges = buildUnnamed5767();
o.textStyle = buildTextStyle();
}
buildCounterPageBreak--;
@@ -2522,74 +2522,74 @@
checkPageBreak(api.PageBreak o) {
buildCounterPageBreak++;
if (buildCounterPageBreak < 3) {
- checkUnnamed5789(o.suggestedDeletionIds);
- checkUnnamed5790(o.suggestedInsertionIds);
- checkUnnamed5791(o.suggestedTextStyleChanges);
+ checkUnnamed5765(o.suggestedDeletionIds);
+ checkUnnamed5766(o.suggestedInsertionIds);
+ checkUnnamed5767(o.suggestedTextStyleChanges);
checkTextStyle(o.textStyle);
}
buildCounterPageBreak--;
}
-buildUnnamed5792() {
+buildUnnamed5768() {
var o = new core.List<api.ParagraphElement>();
o.add(buildParagraphElement());
o.add(buildParagraphElement());
return o;
}
-checkUnnamed5792(core.List<api.ParagraphElement> o) {
+checkUnnamed5768(core.List<api.ParagraphElement> o) {
unittest.expect(o, unittest.hasLength(2));
checkParagraphElement(o[0]);
checkParagraphElement(o[1]);
}
-buildUnnamed5793() {
+buildUnnamed5769() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5793(core.List<core.String> o) {
+checkUnnamed5769(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed5794() {
+buildUnnamed5770() {
var o = new core.Map<core.String, api.SuggestedBullet>();
o["x"] = buildSuggestedBullet();
o["y"] = buildSuggestedBullet();
return o;
}
-checkUnnamed5794(core.Map<core.String, api.SuggestedBullet> o) {
+checkUnnamed5770(core.Map<core.String, api.SuggestedBullet> o) {
unittest.expect(o, unittest.hasLength(2));
checkSuggestedBullet(o["x"]);
checkSuggestedBullet(o["y"]);
}
-buildUnnamed5795() {
+buildUnnamed5771() {
var o = new core.Map<core.String, api.SuggestedParagraphStyle>();
o["x"] = buildSuggestedParagraphStyle();
o["y"] = buildSuggestedParagraphStyle();
return o;
}
-checkUnnamed5795(core.Map<core.String, api.SuggestedParagraphStyle> o) {
+checkUnnamed5771(core.Map<core.String, api.SuggestedParagraphStyle> o) {
unittest.expect(o, unittest.hasLength(2));
checkSuggestedParagraphStyle(o["x"]);
checkSuggestedParagraphStyle(o["y"]);
}
-buildUnnamed5796() {
+buildUnnamed5772() {
var o = new core.Map<core.String, api.ObjectReferences>();
o["x"] = buildObjectReferences();
o["y"] = buildObjectReferences();
return o;
}
-checkUnnamed5796(core.Map<core.String, api.ObjectReferences> o) {
+checkUnnamed5772(core.Map<core.String, api.ObjectReferences> o) {
unittest.expect(o, unittest.hasLength(2));
checkObjectReferences(o["x"]);
checkObjectReferences(o["y"]);
@@ -2601,12 +2601,12 @@
buildCounterParagraph++;
if (buildCounterParagraph < 3) {
o.bullet = buildBullet();
- o.elements = buildUnnamed5792();
+ o.elements = buildUnnamed5768();
o.paragraphStyle = buildParagraphStyle();
- o.positionedObjectIds = buildUnnamed5793();
- o.suggestedBulletChanges = buildUnnamed5794();
- o.suggestedParagraphStyleChanges = buildUnnamed5795();
- o.suggestedPositionedObjectIds = buildUnnamed5796();
+ o.positionedObjectIds = buildUnnamed5769();
+ o.suggestedBulletChanges = buildUnnamed5770();
+ o.suggestedParagraphStyleChanges = buildUnnamed5771();
+ o.suggestedPositionedObjectIds = buildUnnamed5772();
}
buildCounterParagraph--;
return o;
@@ -2616,12 +2616,12 @@
buildCounterParagraph++;
if (buildCounterParagraph < 3) {
checkBullet(o.bullet);
- checkUnnamed5792(o.elements);
+ checkUnnamed5768(o.elements);
checkParagraphStyle(o.paragraphStyle);
- checkUnnamed5793(o.positionedObjectIds);
- checkUnnamed5794(o.suggestedBulletChanges);
- checkUnnamed5795(o.suggestedParagraphStyleChanges);
- checkUnnamed5796(o.suggestedPositionedObjectIds);
+ checkUnnamed5769(o.positionedObjectIds);
+ checkUnnamed5770(o.suggestedBulletChanges);
+ checkUnnamed5771(o.suggestedParagraphStyleChanges);
+ checkUnnamed5772(o.suggestedPositionedObjectIds);
}
buildCounterParagraph--;
}
@@ -2688,14 +2688,14 @@
buildCounterParagraphElement--;
}
-buildUnnamed5797() {
+buildUnnamed5773() {
var o = new core.List<api.TabStop>();
o.add(buildTabStop());
o.add(buildTabStop());
return o;
}
-checkUnnamed5797(core.List<api.TabStop> o) {
+checkUnnamed5773(core.List<api.TabStop> o) {
unittest.expect(o, unittest.hasLength(2));
checkTabStop(o[0]);
checkTabStop(o[1]);
@@ -2726,7 +2726,7 @@
o.spaceAbove = buildDimension();
o.spaceBelow = buildDimension();
o.spacingMode = "foo";
- o.tabStops = buildUnnamed5797();
+ o.tabStops = buildUnnamed5773();
}
buildCounterParagraphStyle--;
return o;
@@ -2755,7 +2755,7 @@
checkDimension(o.spaceAbove);
checkDimension(o.spaceBelow);
unittest.expect(o.spacingMode, unittest.equals('foo'));
- checkUnnamed5797(o.tabStops);
+ checkUnnamed5773(o.tabStops);
}
buildCounterParagraphStyle--;
}
@@ -2817,27 +2817,27 @@
buildCounterParagraphStyleSuggestionState--;
}
-buildUnnamed5798() {
+buildUnnamed5774() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5798(core.List<core.String> o) {
+checkUnnamed5774(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed5799() {
+buildUnnamed5775() {
var o = new core.Map<core.String, api.SuggestedPositionedObjectProperties>();
o["x"] = buildSuggestedPositionedObjectProperties();
o["y"] = buildSuggestedPositionedObjectProperties();
return o;
}
-checkUnnamed5799(
+checkUnnamed5775(
core.Map<core.String, api.SuggestedPositionedObjectProperties> o) {
unittest.expect(o, unittest.hasLength(2));
checkSuggestedPositionedObjectProperties(o["x"]);
@@ -2851,9 +2851,9 @@
if (buildCounterPositionedObject < 3) {
o.objectId = "foo";
o.positionedObjectProperties = buildPositionedObjectProperties();
- o.suggestedDeletionIds = buildUnnamed5798();
+ o.suggestedDeletionIds = buildUnnamed5774();
o.suggestedInsertionId = "foo";
- o.suggestedPositionedObjectPropertiesChanges = buildUnnamed5799();
+ o.suggestedPositionedObjectPropertiesChanges = buildUnnamed5775();
}
buildCounterPositionedObject--;
return o;
@@ -2864,9 +2864,9 @@
if (buildCounterPositionedObject < 3) {
unittest.expect(o.objectId, unittest.equals('foo'));
checkPositionedObjectProperties(o.positionedObjectProperties);
- checkUnnamed5798(o.suggestedDeletionIds);
+ checkUnnamed5774(o.suggestedDeletionIds);
unittest.expect(o.suggestedInsertionId, unittest.equals('foo'));
- checkUnnamed5799(o.suggestedPositionedObjectPropertiesChanges);
+ checkUnnamed5775(o.suggestedPositionedObjectPropertiesChanges);
}
buildCounterPositionedObject--;
}
@@ -3207,27 +3207,27 @@
buildCounterRgbColor--;
}
-buildUnnamed5800() {
+buildUnnamed5776() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5800(core.List<core.String> o) {
+checkUnnamed5776(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed5801() {
+buildUnnamed5777() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5801(core.List<core.String> o) {
+checkUnnamed5777(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3239,8 +3239,8 @@
buildCounterSectionBreak++;
if (buildCounterSectionBreak < 3) {
o.sectionStyle = buildSectionStyle();
- o.suggestedDeletionIds = buildUnnamed5800();
- o.suggestedInsertionIds = buildUnnamed5801();
+ o.suggestedDeletionIds = buildUnnamed5776();
+ o.suggestedInsertionIds = buildUnnamed5777();
}
buildCounterSectionBreak--;
return o;
@@ -3250,8 +3250,8 @@
buildCounterSectionBreak++;
if (buildCounterSectionBreak < 3) {
checkSectionStyle(o.sectionStyle);
- checkUnnamed5800(o.suggestedDeletionIds);
- checkUnnamed5801(o.suggestedInsertionIds);
+ checkUnnamed5776(o.suggestedDeletionIds);
+ checkUnnamed5777(o.suggestedInsertionIds);
}
buildCounterSectionBreak--;
}
@@ -3277,14 +3277,14 @@
buildCounterSectionColumnProperties--;
}
-buildUnnamed5802() {
+buildUnnamed5778() {
var o = new core.List<api.SectionColumnProperties>();
o.add(buildSectionColumnProperties());
o.add(buildSectionColumnProperties());
return o;
}
-checkUnnamed5802(core.List<api.SectionColumnProperties> o) {
+checkUnnamed5778(core.List<api.SectionColumnProperties> o) {
unittest.expect(o, unittest.hasLength(2));
checkSectionColumnProperties(o[0]);
checkSectionColumnProperties(o[1]);
@@ -3295,7 +3295,7 @@
var o = new api.SectionStyle();
buildCounterSectionStyle++;
if (buildCounterSectionStyle < 3) {
- o.columnProperties = buildUnnamed5802();
+ o.columnProperties = buildUnnamed5778();
o.columnSeparatorStyle = "foo";
o.contentDirection = "foo";
o.defaultFooterId = "foo";
@@ -3321,7 +3321,7 @@
checkSectionStyle(api.SectionStyle o) {
buildCounterSectionStyle++;
if (buildCounterSectionStyle < 3) {
- checkUnnamed5802(o.columnProperties);
+ checkUnnamed5778(o.columnProperties);
unittest.expect(o.columnSeparatorStyle, unittest.equals('foo'));
unittest.expect(o.contentDirection, unittest.equals('foo'));
unittest.expect(o.defaultFooterId, unittest.equals('foo'));
@@ -3752,40 +3752,40 @@
buildCounterTabStop--;
}
-buildUnnamed5803() {
+buildUnnamed5779() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5803(core.List<core.String> o) {
+checkUnnamed5779(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed5804() {
+buildUnnamed5780() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5804(core.List<core.String> o) {
+checkUnnamed5780(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed5805() {
+buildUnnamed5781() {
var o = new core.List<api.TableRow>();
o.add(buildTableRow());
o.add(buildTableRow());
return o;
}
-checkUnnamed5805(core.List<api.TableRow> o) {
+checkUnnamed5781(core.List<api.TableRow> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableRow(o[0]);
checkTableRow(o[1]);
@@ -3798,9 +3798,9 @@
if (buildCounterTable < 3) {
o.columns = 42;
o.rows = 42;
- o.suggestedDeletionIds = buildUnnamed5803();
- o.suggestedInsertionIds = buildUnnamed5804();
- o.tableRows = buildUnnamed5805();
+ o.suggestedDeletionIds = buildUnnamed5779();
+ o.suggestedInsertionIds = buildUnnamed5780();
+ o.tableRows = buildUnnamed5781();
o.tableStyle = buildTableStyle();
}
buildCounterTable--;
@@ -3812,61 +3812,61 @@
if (buildCounterTable < 3) {
unittest.expect(o.columns, unittest.equals(42));
unittest.expect(o.rows, unittest.equals(42));
- checkUnnamed5803(o.suggestedDeletionIds);
- checkUnnamed5804(o.suggestedInsertionIds);
- checkUnnamed5805(o.tableRows);
+ checkUnnamed5779(o.suggestedDeletionIds);
+ checkUnnamed5780(o.suggestedInsertionIds);
+ checkUnnamed5781(o.tableRows);
checkTableStyle(o.tableStyle);
}
buildCounterTable--;
}
-buildUnnamed5806() {
+buildUnnamed5782() {
var o = new core.List<api.StructuralElement>();
o.add(buildStructuralElement());
o.add(buildStructuralElement());
return o;
}
-checkUnnamed5806(core.List<api.StructuralElement> o) {
+checkUnnamed5782(core.List<api.StructuralElement> o) {
unittest.expect(o, unittest.hasLength(2));
checkStructuralElement(o[0]);
checkStructuralElement(o[1]);
}
-buildUnnamed5807() {
+buildUnnamed5783() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5807(core.List<core.String> o) {
+checkUnnamed5783(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed5808() {
+buildUnnamed5784() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5808(core.List<core.String> o) {
+checkUnnamed5784(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed5809() {
+buildUnnamed5785() {
var o = new core.Map<core.String, api.SuggestedTableCellStyle>();
o["x"] = buildSuggestedTableCellStyle();
o["y"] = buildSuggestedTableCellStyle();
return o;
}
-checkUnnamed5809(core.Map<core.String, api.SuggestedTableCellStyle> o) {
+checkUnnamed5785(core.Map<core.String, api.SuggestedTableCellStyle> o) {
unittest.expect(o, unittest.hasLength(2));
checkSuggestedTableCellStyle(o["x"]);
checkSuggestedTableCellStyle(o["y"]);
@@ -3877,12 +3877,12 @@
var o = new api.TableCell();
buildCounterTableCell++;
if (buildCounterTableCell < 3) {
- o.content = buildUnnamed5806();
+ o.content = buildUnnamed5782();
o.endIndex = 42;
o.startIndex = 42;
- o.suggestedDeletionIds = buildUnnamed5807();
- o.suggestedInsertionIds = buildUnnamed5808();
- o.suggestedTableCellStyleChanges = buildUnnamed5809();
+ o.suggestedDeletionIds = buildUnnamed5783();
+ o.suggestedInsertionIds = buildUnnamed5784();
+ o.suggestedTableCellStyleChanges = buildUnnamed5785();
o.tableCellStyle = buildTableCellStyle();
}
buildCounterTableCell--;
@@ -3892,12 +3892,12 @@
checkTableCell(api.TableCell o) {
buildCounterTableCell++;
if (buildCounterTableCell < 3) {
- checkUnnamed5806(o.content);
+ checkUnnamed5782(o.content);
unittest.expect(o.endIndex, unittest.equals(42));
unittest.expect(o.startIndex, unittest.equals(42));
- checkUnnamed5807(o.suggestedDeletionIds);
- checkUnnamed5808(o.suggestedInsertionIds);
- checkUnnamed5809(o.suggestedTableCellStyleChanges);
+ checkUnnamed5783(o.suggestedDeletionIds);
+ checkUnnamed5784(o.suggestedInsertionIds);
+ checkUnnamed5785(o.suggestedTableCellStyleChanges);
checkTableCellStyle(o.tableCellStyle);
}
buildCounterTableCell--;
@@ -4052,40 +4052,40 @@
buildCounterTableColumnProperties--;
}
-buildUnnamed5810() {
+buildUnnamed5786() {
var o = new core.List<api.StructuralElement>();
o.add(buildStructuralElement());
o.add(buildStructuralElement());
return o;
}
-checkUnnamed5810(core.List<api.StructuralElement> o) {
+checkUnnamed5786(core.List<api.StructuralElement> o) {
unittest.expect(o, unittest.hasLength(2));
checkStructuralElement(o[0]);
checkStructuralElement(o[1]);
}
-buildUnnamed5811() {
+buildUnnamed5787() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5811(core.List<core.String> o) {
+checkUnnamed5787(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed5812() {
+buildUnnamed5788() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5812(core.List<core.String> o) {
+checkUnnamed5788(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -4096,9 +4096,9 @@
var o = new api.TableOfContents();
buildCounterTableOfContents++;
if (buildCounterTableOfContents < 3) {
- o.content = buildUnnamed5810();
- o.suggestedDeletionIds = buildUnnamed5811();
- o.suggestedInsertionIds = buildUnnamed5812();
+ o.content = buildUnnamed5786();
+ o.suggestedDeletionIds = buildUnnamed5787();
+ o.suggestedInsertionIds = buildUnnamed5788();
}
buildCounterTableOfContents--;
return o;
@@ -4107,9 +4107,9 @@
checkTableOfContents(api.TableOfContents o) {
buildCounterTableOfContents++;
if (buildCounterTableOfContents < 3) {
- checkUnnamed5810(o.content);
- checkUnnamed5811(o.suggestedDeletionIds);
- checkUnnamed5812(o.suggestedInsertionIds);
+ checkUnnamed5786(o.content);
+ checkUnnamed5787(o.suggestedDeletionIds);
+ checkUnnamed5788(o.suggestedInsertionIds);
}
buildCounterTableOfContents--;
}
@@ -4137,53 +4137,53 @@
buildCounterTableRange--;
}
-buildUnnamed5813() {
+buildUnnamed5789() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5813(core.List<core.String> o) {
+checkUnnamed5789(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed5814() {
+buildUnnamed5790() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5814(core.List<core.String> o) {
+checkUnnamed5790(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed5815() {
+buildUnnamed5791() {
var o = new core.Map<core.String, api.SuggestedTableRowStyle>();
o["x"] = buildSuggestedTableRowStyle();
o["y"] = buildSuggestedTableRowStyle();
return o;
}
-checkUnnamed5815(core.Map<core.String, api.SuggestedTableRowStyle> o) {
+checkUnnamed5791(core.Map<core.String, api.SuggestedTableRowStyle> o) {
unittest.expect(o, unittest.hasLength(2));
checkSuggestedTableRowStyle(o["x"]);
checkSuggestedTableRowStyle(o["y"]);
}
-buildUnnamed5816() {
+buildUnnamed5792() {
var o = new core.List<api.TableCell>();
o.add(buildTableCell());
o.add(buildTableCell());
return o;
}
-checkUnnamed5816(core.List<api.TableCell> o) {
+checkUnnamed5792(core.List<api.TableCell> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableCell(o[0]);
checkTableCell(o[1]);
@@ -4196,10 +4196,10 @@
if (buildCounterTableRow < 3) {
o.endIndex = 42;
o.startIndex = 42;
- o.suggestedDeletionIds = buildUnnamed5813();
- o.suggestedInsertionIds = buildUnnamed5814();
- o.suggestedTableRowStyleChanges = buildUnnamed5815();
- o.tableCells = buildUnnamed5816();
+ o.suggestedDeletionIds = buildUnnamed5789();
+ o.suggestedInsertionIds = buildUnnamed5790();
+ o.suggestedTableRowStyleChanges = buildUnnamed5791();
+ o.tableCells = buildUnnamed5792();
o.tableRowStyle = buildTableRowStyle();
}
buildCounterTableRow--;
@@ -4211,10 +4211,10 @@
if (buildCounterTableRow < 3) {
unittest.expect(o.endIndex, unittest.equals(42));
unittest.expect(o.startIndex, unittest.equals(42));
- checkUnnamed5813(o.suggestedDeletionIds);
- checkUnnamed5814(o.suggestedInsertionIds);
- checkUnnamed5815(o.suggestedTableRowStyleChanges);
- checkUnnamed5816(o.tableCells);
+ checkUnnamed5789(o.suggestedDeletionIds);
+ checkUnnamed5790(o.suggestedInsertionIds);
+ checkUnnamed5791(o.suggestedTableRowStyleChanges);
+ checkUnnamed5792(o.tableCells);
checkTableRowStyle(o.tableRowStyle);
}
buildCounterTableRow--;
@@ -4258,14 +4258,14 @@
buildCounterTableRowStyleSuggestionState--;
}
-buildUnnamed5817() {
+buildUnnamed5793() {
var o = new core.List<api.TableColumnProperties>();
o.add(buildTableColumnProperties());
o.add(buildTableColumnProperties());
return o;
}
-checkUnnamed5817(core.List<api.TableColumnProperties> o) {
+checkUnnamed5793(core.List<api.TableColumnProperties> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableColumnProperties(o[0]);
checkTableColumnProperties(o[1]);
@@ -4276,7 +4276,7 @@
var o = new api.TableStyle();
buildCounterTableStyle++;
if (buildCounterTableStyle < 3) {
- o.tableColumnProperties = buildUnnamed5817();
+ o.tableColumnProperties = buildUnnamed5793();
}
buildCounterTableStyle--;
return o;
@@ -4285,45 +4285,45 @@
checkTableStyle(api.TableStyle o) {
buildCounterTableStyle++;
if (buildCounterTableStyle < 3) {
- checkUnnamed5817(o.tableColumnProperties);
+ checkUnnamed5793(o.tableColumnProperties);
}
buildCounterTableStyle--;
}
-buildUnnamed5818() {
+buildUnnamed5794() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5818(core.List<core.String> o) {
+checkUnnamed5794(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed5819() {
+buildUnnamed5795() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5819(core.List<core.String> o) {
+checkUnnamed5795(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed5820() {
+buildUnnamed5796() {
var o = new core.Map<core.String, api.SuggestedTextStyle>();
o["x"] = buildSuggestedTextStyle();
o["y"] = buildSuggestedTextStyle();
return o;
}
-checkUnnamed5820(core.Map<core.String, api.SuggestedTextStyle> o) {
+checkUnnamed5796(core.Map<core.String, api.SuggestedTextStyle> o) {
unittest.expect(o, unittest.hasLength(2));
checkSuggestedTextStyle(o["x"]);
checkSuggestedTextStyle(o["y"]);
@@ -4335,9 +4335,9 @@
buildCounterTextRun++;
if (buildCounterTextRun < 3) {
o.content = "foo";
- o.suggestedDeletionIds = buildUnnamed5818();
- o.suggestedInsertionIds = buildUnnamed5819();
- o.suggestedTextStyleChanges = buildUnnamed5820();
+ o.suggestedDeletionIds = buildUnnamed5794();
+ o.suggestedInsertionIds = buildUnnamed5795();
+ o.suggestedTextStyleChanges = buildUnnamed5796();
o.textStyle = buildTextStyle();
}
buildCounterTextRun--;
@@ -4348,9 +4348,9 @@
buildCounterTextRun++;
if (buildCounterTextRun < 3) {
unittest.expect(o.content, unittest.equals('foo'));
- checkUnnamed5818(o.suggestedDeletionIds);
- checkUnnamed5819(o.suggestedInsertionIds);
- checkUnnamed5820(o.suggestedTextStyleChanges);
+ checkUnnamed5794(o.suggestedDeletionIds);
+ checkUnnamed5795(o.suggestedInsertionIds);
+ checkUnnamed5796(o.suggestedTextStyleChanges);
checkTextStyle(o.textStyle);
}
buildCounterTextRun--;
@@ -4545,14 +4545,14 @@
buildCounterUpdateTableCellStyleRequest--;
}
-buildUnnamed5821() {
+buildUnnamed5797() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed5821(core.List<core.int> o) {
+checkUnnamed5797(core.List<core.int> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42));
unittest.expect(o[1], unittest.equals(42));
@@ -4563,7 +4563,7 @@
var o = new api.UpdateTableColumnPropertiesRequest();
buildCounterUpdateTableColumnPropertiesRequest++;
if (buildCounterUpdateTableColumnPropertiesRequest < 3) {
- o.columnIndices = buildUnnamed5821();
+ o.columnIndices = buildUnnamed5797();
o.fields = "foo";
o.tableColumnProperties = buildTableColumnProperties();
o.tableStartLocation = buildLocation();
@@ -4576,7 +4576,7 @@
api.UpdateTableColumnPropertiesRequest o) {
buildCounterUpdateTableColumnPropertiesRequest++;
if (buildCounterUpdateTableColumnPropertiesRequest < 3) {
- checkUnnamed5821(o.columnIndices);
+ checkUnnamed5797(o.columnIndices);
unittest.expect(o.fields, unittest.equals('foo'));
checkTableColumnProperties(o.tableColumnProperties);
checkLocation(o.tableStartLocation);
@@ -4584,14 +4584,14 @@
buildCounterUpdateTableColumnPropertiesRequest--;
}
-buildUnnamed5822() {
+buildUnnamed5798() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed5822(core.List<core.int> o) {
+checkUnnamed5798(core.List<core.int> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42));
unittest.expect(o[1], unittest.equals(42));
@@ -4603,7 +4603,7 @@
buildCounterUpdateTableRowStyleRequest++;
if (buildCounterUpdateTableRowStyleRequest < 3) {
o.fields = "foo";
- o.rowIndices = buildUnnamed5822();
+ o.rowIndices = buildUnnamed5798();
o.tableRowStyle = buildTableRowStyle();
o.tableStartLocation = buildLocation();
}
@@ -4615,7 +4615,7 @@
buildCounterUpdateTableRowStyleRequest++;
if (buildCounterUpdateTableRowStyleRequest < 3) {
unittest.expect(o.fields, unittest.equals('foo'));
- checkUnnamed5822(o.rowIndices);
+ checkUnnamed5798(o.rowIndices);
checkTableRowStyle(o.tableRowStyle);
checkLocation(o.tableStartLocation);
}
diff --git a/generated/googleapis/test/domainsrdap/v1_test.dart b/generated/googleapis/test/domainsrdap/v1_test.dart
index a941b0e..6bfdfe7 100644
--- a/generated/googleapis/test/domainsrdap/v1_test.dart
+++ b/generated/googleapis/test/domainsrdap/v1_test.dart
@@ -50,7 +50,7 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed4298() {
+buildUnnamed4305() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -65,7 +65,7 @@
return o;
}
-checkUnnamed4298(core.Map<core.String, core.Object> o) {
+checkUnnamed4305(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o["x"]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -79,17 +79,17 @@
unittest.expect(casted2["string"], unittest.equals('foo'));
}
-buildUnnamed4299() {
+buildUnnamed4306() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed4298());
- o.add(buildUnnamed4298());
+ o.add(buildUnnamed4305());
+ o.add(buildUnnamed4305());
return o;
}
-checkUnnamed4299(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed4306(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed4298(o[0]);
- checkUnnamed4298(o[1]);
+ checkUnnamed4305(o[0]);
+ checkUnnamed4305(o[1]);
}
core.int buildCounterHttpBody = 0;
@@ -99,7 +99,7 @@
if (buildCounterHttpBody < 3) {
o.contentType = "foo";
o.data = "foo";
- o.extensions = buildUnnamed4299();
+ o.extensions = buildUnnamed4306();
}
buildCounterHttpBody--;
return o;
@@ -110,7 +110,7 @@
if (buildCounterHttpBody < 3) {
unittest.expect(o.contentType, unittest.equals('foo'));
unittest.expect(o.data, unittest.equals('foo'));
- checkUnnamed4299(o.extensions);
+ checkUnnamed4306(o.extensions);
}
buildCounterHttpBody--;
}
@@ -146,27 +146,27 @@
buildCounterLink--;
}
-buildUnnamed4300() {
+buildUnnamed4307() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4300(core.List<core.String> o) {
+checkUnnamed4307(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed4301() {
+buildUnnamed4308() {
var o = new core.List<api.Link>();
o.add(buildLink());
o.add(buildLink());
return o;
}
-checkUnnamed4301(core.List<api.Link> o) {
+checkUnnamed4308(core.List<api.Link> o) {
unittest.expect(o, unittest.hasLength(2));
checkLink(o[0]);
checkLink(o[1]);
@@ -177,8 +177,8 @@
var o = new api.Notice();
buildCounterNotice++;
if (buildCounterNotice < 3) {
- o.description = buildUnnamed4300();
- o.links = buildUnnamed4301();
+ o.description = buildUnnamed4307();
+ o.links = buildUnnamed4308();
o.title = "foo";
o.type = "foo";
}
@@ -189,48 +189,48 @@
checkNotice(api.Notice o) {
buildCounterNotice++;
if (buildCounterNotice < 3) {
- checkUnnamed4300(o.description);
- checkUnnamed4301(o.links);
+ checkUnnamed4307(o.description);
+ checkUnnamed4308(o.links);
unittest.expect(o.title, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterNotice--;
}
-buildUnnamed4302() {
+buildUnnamed4309() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4302(core.List<core.String> o) {
+checkUnnamed4309(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed4303() {
+buildUnnamed4310() {
var o = new core.List<api.Notice>();
o.add(buildNotice());
o.add(buildNotice());
return o;
}
-checkUnnamed4303(core.List<api.Notice> o) {
+checkUnnamed4310(core.List<api.Notice> o) {
unittest.expect(o, unittest.hasLength(2));
checkNotice(o[0]);
checkNotice(o[1]);
}
-buildUnnamed4304() {
+buildUnnamed4311() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4304(core.List<core.String> o) {
+checkUnnamed4311(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -241,12 +241,12 @@
var o = new api.RdapResponse();
buildCounterRdapResponse++;
if (buildCounterRdapResponse < 3) {
- o.description = buildUnnamed4302();
+ o.description = buildUnnamed4309();
o.errorCode = 42;
o.jsonResponse = buildHttpBody();
o.lang = "foo";
- o.notices = buildUnnamed4303();
- o.rdapConformance = buildUnnamed4304();
+ o.notices = buildUnnamed4310();
+ o.rdapConformance = buildUnnamed4311();
o.title = "foo";
}
buildCounterRdapResponse--;
@@ -256,12 +256,12 @@
checkRdapResponse(api.RdapResponse o) {
buildCounterRdapResponse++;
if (buildCounterRdapResponse < 3) {
- checkUnnamed4302(o.description);
+ checkUnnamed4309(o.description);
unittest.expect(o.errorCode, unittest.equals(42));
checkHttpBody(o.jsonResponse);
unittest.expect(o.lang, unittest.equals('foo'));
- checkUnnamed4303(o.notices);
- checkUnnamed4304(o.rdapConformance);
+ checkUnnamed4310(o.notices);
+ checkUnnamed4311(o.rdapConformance);
unittest.expect(o.title, unittest.equals('foo'));
}
buildCounterRdapResponse--;
diff --git a/generated/googleapis/test/doubleclickbidmanager/v1_1_test.dart b/generated/googleapis/test/doubleclickbidmanager/v1_1_test.dart
index 2c8f396..1d5cb9e 100644
--- a/generated/googleapis/test/doubleclickbidmanager/v1_1_test.dart
+++ b/generated/googleapis/test/doubleclickbidmanager/v1_1_test.dart
@@ -50,14 +50,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed3809() {
+buildUnnamed3813() {
var o = new core.List<api.Rule>();
o.add(buildRule());
o.add(buildRule());
return o;
}
-checkUnnamed3809(core.List<api.Rule> o) {
+checkUnnamed3813(core.List<api.Rule> o) {
unittest.expect(o, unittest.hasLength(2));
checkRule(o[0]);
checkRule(o[1]);
@@ -70,7 +70,7 @@
if (buildCounterChannelGrouping < 3) {
o.fallbackName = "foo";
o.name = "foo";
- o.rules = buildUnnamed3809();
+ o.rules = buildUnnamed3813();
}
buildCounterChannelGrouping--;
return o;
@@ -81,19 +81,19 @@
if (buildCounterChannelGrouping < 3) {
unittest.expect(o.fallbackName, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed3809(o.rules);
+ checkUnnamed3813(o.rules);
}
buildCounterChannelGrouping--;
}
-buildUnnamed3810() {
+buildUnnamed3814() {
var o = new core.List<api.EventFilter>();
o.add(buildEventFilter());
o.add(buildEventFilter());
return o;
}
-checkUnnamed3810(core.List<api.EventFilter> o) {
+checkUnnamed3814(core.List<api.EventFilter> o) {
unittest.expect(o, unittest.hasLength(2));
checkEventFilter(o[0]);
checkEventFilter(o[1]);
@@ -104,7 +104,7 @@
var o = new api.DisjunctiveMatchStatement();
buildCounterDisjunctiveMatchStatement++;
if (buildCounterDisjunctiveMatchStatement < 3) {
- o.eventFilters = buildUnnamed3810();
+ o.eventFilters = buildUnnamed3814();
}
buildCounterDisjunctiveMatchStatement--;
return o;
@@ -113,19 +113,19 @@
checkDisjunctiveMatchStatement(api.DisjunctiveMatchStatement o) {
buildCounterDisjunctiveMatchStatement++;
if (buildCounterDisjunctiveMatchStatement < 3) {
- checkUnnamed3810(o.eventFilters);
+ checkUnnamed3814(o.eventFilters);
}
buildCounterDisjunctiveMatchStatement--;
}
-buildUnnamed3811() {
+buildUnnamed3815() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3811(core.List<core.String> o) {
+checkUnnamed3815(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -137,7 +137,7 @@
buildCounterDownloadLineItemsRequest++;
if (buildCounterDownloadLineItemsRequest < 3) {
o.fileSpec = "foo";
- o.filterIds = buildUnnamed3811();
+ o.filterIds = buildUnnamed3815();
o.filterType = "foo";
o.format = "foo";
}
@@ -149,7 +149,7 @@
buildCounterDownloadLineItemsRequest++;
if (buildCounterDownloadLineItemsRequest < 3) {
unittest.expect(o.fileSpec, unittest.equals('foo'));
- checkUnnamed3811(o.filterIds);
+ checkUnnamed3815(o.filterIds);
unittest.expect(o.filterType, unittest.equals('foo'));
unittest.expect(o.format, unittest.equals('foo'));
}
@@ -175,27 +175,27 @@
buildCounterDownloadLineItemsResponse--;
}
-buildUnnamed3812() {
+buildUnnamed3816() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3812(core.List<core.String> o) {
+checkUnnamed3816(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3813() {
+buildUnnamed3817() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3813(core.List<core.String> o) {
+checkUnnamed3817(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -206,8 +206,8 @@
var o = new api.DownloadRequest();
buildCounterDownloadRequest++;
if (buildCounterDownloadRequest < 3) {
- o.fileTypes = buildUnnamed3812();
- o.filterIds = buildUnnamed3813();
+ o.fileTypes = buildUnnamed3816();
+ o.filterIds = buildUnnamed3817();
o.filterType = "foo";
o.version = "foo";
}
@@ -218,8 +218,8 @@
checkDownloadRequest(api.DownloadRequest o) {
buildCounterDownloadRequest++;
if (buildCounterDownloadRequest < 3) {
- checkUnnamed3812(o.fileTypes);
- checkUnnamed3813(o.filterIds);
+ checkUnnamed3816(o.fileTypes);
+ checkUnnamed3817(o.filterIds);
unittest.expect(o.filterType, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals('foo'));
}
@@ -295,14 +295,14 @@
buildCounterFilterPair--;
}
-buildUnnamed3814() {
+buildUnnamed3818() {
var o = new core.List<api.Query>();
o.add(buildQuery());
o.add(buildQuery());
return o;
}
-checkUnnamed3814(core.List<api.Query> o) {
+checkUnnamed3818(core.List<api.Query> o) {
unittest.expect(o, unittest.hasLength(2));
checkQuery(o[0]);
checkQuery(o[1]);
@@ -315,7 +315,7 @@
if (buildCounterListQueriesResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.queries = buildUnnamed3814();
+ o.queries = buildUnnamed3818();
}
buildCounterListQueriesResponse--;
return o;
@@ -326,19 +326,19 @@
if (buildCounterListQueriesResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3814(o.queries);
+ checkUnnamed3818(o.queries);
}
buildCounterListQueriesResponse--;
}
-buildUnnamed3815() {
+buildUnnamed3819() {
var o = new core.List<api.Report>();
o.add(buildReport());
o.add(buildReport());
return o;
}
-checkUnnamed3815(core.List<api.Report> o) {
+checkUnnamed3819(core.List<api.Report> o) {
unittest.expect(o, unittest.hasLength(2));
checkReport(o[0]);
checkReport(o[1]);
@@ -351,7 +351,7 @@
if (buildCounterListReportsResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.reports = buildUnnamed3815();
+ o.reports = buildUnnamed3819();
}
buildCounterListReportsResponse--;
return o;
@@ -362,7 +362,7 @@
if (buildCounterListReportsResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3815(o.reports);
+ checkUnnamed3819(o.reports);
}
buildCounterListReportsResponse--;
}
@@ -388,142 +388,19 @@
buildCounterOptions--;
}
-buildUnnamed3816() {
+buildUnnamed3820() {
var o = new core.List<api.FilterPair>();
o.add(buildFilterPair());
o.add(buildFilterPair());
return o;
}
-checkUnnamed3816(core.List<api.FilterPair> o) {
+checkUnnamed3820(core.List<api.FilterPair> o) {
unittest.expect(o, unittest.hasLength(2));
checkFilterPair(o[0]);
checkFilterPair(o[1]);
}
-buildUnnamed3817() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3817(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed3818() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3818(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-core.int buildCounterParameters = 0;
-buildParameters() {
- var o = new api.Parameters();
- buildCounterParameters++;
- if (buildCounterParameters < 3) {
- o.filters = buildUnnamed3816();
- o.groupBys = buildUnnamed3817();
- o.includeInviteData = true;
- o.metrics = buildUnnamed3818();
- o.options = buildOptions();
- o.type = "foo";
- }
- buildCounterParameters--;
- return o;
-}
-
-checkParameters(api.Parameters o) {
- buildCounterParameters++;
- if (buildCounterParameters < 3) {
- checkUnnamed3816(o.filters);
- checkUnnamed3817(o.groupBys);
- unittest.expect(o.includeInviteData, unittest.isTrue);
- checkUnnamed3818(o.metrics);
- checkOptions(o.options);
- unittest.expect(o.type, unittest.equals('foo'));
- }
- buildCounterParameters--;
-}
-
-buildUnnamed3819() {
- var o = new core.List<api.EventFilter>();
- o.add(buildEventFilter());
- o.add(buildEventFilter());
- return o;
-}
-
-checkUnnamed3819(core.List<api.EventFilter> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkEventFilter(o[0]);
- checkEventFilter(o[1]);
-}
-
-core.int buildCounterPathFilter = 0;
-buildPathFilter() {
- var o = new api.PathFilter();
- buildCounterPathFilter++;
- if (buildCounterPathFilter < 3) {
- o.eventFilters = buildUnnamed3819();
- o.pathMatchPosition = "foo";
- }
- buildCounterPathFilter--;
- return o;
-}
-
-checkPathFilter(api.PathFilter o) {
- buildCounterPathFilter++;
- if (buildCounterPathFilter < 3) {
- checkUnnamed3819(o.eventFilters);
- unittest.expect(o.pathMatchPosition, unittest.equals('foo'));
- }
- buildCounterPathFilter--;
-}
-
-buildUnnamed3820() {
- var o = new core.List<api.PathFilter>();
- o.add(buildPathFilter());
- o.add(buildPathFilter());
- return o;
-}
-
-checkUnnamed3820(core.List<api.PathFilter> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkPathFilter(o[0]);
- checkPathFilter(o[1]);
-}
-
-core.int buildCounterPathQueryOptions = 0;
-buildPathQueryOptions() {
- var o = new api.PathQueryOptions();
- buildCounterPathQueryOptions++;
- if (buildCounterPathQueryOptions < 3) {
- o.channelGrouping = buildChannelGrouping();
- o.pathFilters = buildUnnamed3820();
- }
- buildCounterPathQueryOptions--;
- return o;
-}
-
-checkPathQueryOptions(api.PathQueryOptions o) {
- buildCounterPathQueryOptions++;
- if (buildCounterPathQueryOptions < 3) {
- checkChannelGrouping(o.channelGrouping);
- checkUnnamed3820(o.pathFilters);
- }
- buildCounterPathQueryOptions--;
-}
-
buildUnnamed3821() {
var o = new core.List<core.String>();
o.add("foo");
@@ -537,6 +414,129 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed3822() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3822(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+core.int buildCounterParameters = 0;
+buildParameters() {
+ var o = new api.Parameters();
+ buildCounterParameters++;
+ if (buildCounterParameters < 3) {
+ o.filters = buildUnnamed3820();
+ o.groupBys = buildUnnamed3821();
+ o.includeInviteData = true;
+ o.metrics = buildUnnamed3822();
+ o.options = buildOptions();
+ o.type = "foo";
+ }
+ buildCounterParameters--;
+ return o;
+}
+
+checkParameters(api.Parameters o) {
+ buildCounterParameters++;
+ if (buildCounterParameters < 3) {
+ checkUnnamed3820(o.filters);
+ checkUnnamed3821(o.groupBys);
+ unittest.expect(o.includeInviteData, unittest.isTrue);
+ checkUnnamed3822(o.metrics);
+ checkOptions(o.options);
+ unittest.expect(o.type, unittest.equals('foo'));
+ }
+ buildCounterParameters--;
+}
+
+buildUnnamed3823() {
+ var o = new core.List<api.EventFilter>();
+ o.add(buildEventFilter());
+ o.add(buildEventFilter());
+ return o;
+}
+
+checkUnnamed3823(core.List<api.EventFilter> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkEventFilter(o[0]);
+ checkEventFilter(o[1]);
+}
+
+core.int buildCounterPathFilter = 0;
+buildPathFilter() {
+ var o = new api.PathFilter();
+ buildCounterPathFilter++;
+ if (buildCounterPathFilter < 3) {
+ o.eventFilters = buildUnnamed3823();
+ o.pathMatchPosition = "foo";
+ }
+ buildCounterPathFilter--;
+ return o;
+}
+
+checkPathFilter(api.PathFilter o) {
+ buildCounterPathFilter++;
+ if (buildCounterPathFilter < 3) {
+ checkUnnamed3823(o.eventFilters);
+ unittest.expect(o.pathMatchPosition, unittest.equals('foo'));
+ }
+ buildCounterPathFilter--;
+}
+
+buildUnnamed3824() {
+ var o = new core.List<api.PathFilter>();
+ o.add(buildPathFilter());
+ o.add(buildPathFilter());
+ return o;
+}
+
+checkUnnamed3824(core.List<api.PathFilter> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkPathFilter(o[0]);
+ checkPathFilter(o[1]);
+}
+
+core.int buildCounterPathQueryOptions = 0;
+buildPathQueryOptions() {
+ var o = new api.PathQueryOptions();
+ buildCounterPathQueryOptions++;
+ if (buildCounterPathQueryOptions < 3) {
+ o.channelGrouping = buildChannelGrouping();
+ o.pathFilters = buildUnnamed3824();
+ }
+ buildCounterPathQueryOptions--;
+ return o;
+}
+
+checkPathQueryOptions(api.PathQueryOptions o) {
+ buildCounterPathQueryOptions++;
+ if (buildCounterPathQueryOptions < 3) {
+ checkChannelGrouping(o.channelGrouping);
+ checkUnnamed3824(o.pathFilters);
+ }
+ buildCounterPathQueryOptions--;
+}
+
+buildUnnamed3825() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3825(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
core.int buildCounterPathQueryOptionsFilter = 0;
buildPathQueryOptionsFilter() {
var o = new api.PathQueryOptionsFilter();
@@ -544,7 +544,7 @@
if (buildCounterPathQueryOptionsFilter < 3) {
o.filter = "foo";
o.match = "foo";
- o.values = buildUnnamed3821();
+ o.values = buildUnnamed3825();
}
buildCounterPathQueryOptionsFilter--;
return o;
@@ -555,7 +555,7 @@
if (buildCounterPathQueryOptionsFilter < 3) {
unittest.expect(o.filter, unittest.equals('foo'));
unittest.expect(o.match, unittest.equals('foo'));
- checkUnnamed3821(o.values);
+ checkUnnamed3825(o.values);
}
buildCounterPathQueryOptionsFilter--;
}
@@ -593,14 +593,14 @@
buildCounterQuery--;
}
-buildUnnamed3822() {
+buildUnnamed3826() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3822(core.List<core.String> o) {
+checkUnnamed3826(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -620,7 +620,7 @@
o.reportCount = 42;
o.running = true;
o.sendNotification = true;
- o.shareEmailAddress = buildUnnamed3822();
+ o.shareEmailAddress = buildUnnamed3826();
o.title = "foo";
}
buildCounterQueryMetadata--;
@@ -640,7 +640,7 @@
unittest.expect(o.reportCount, unittest.equals(42));
unittest.expect(o.running, unittest.isTrue);
unittest.expect(o.sendNotification, unittest.isTrue);
- checkUnnamed3822(o.shareEmailAddress);
+ checkUnnamed3826(o.shareEmailAddress);
unittest.expect(o.title, unittest.equals('foo'));
}
buildCounterQueryMetadata--;
@@ -786,14 +786,14 @@
buildCounterReportStatus--;
}
-buildUnnamed3823() {
+buildUnnamed3827() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3823(core.List<core.String> o) {
+checkUnnamed3827(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -807,7 +807,7 @@
o.changed = true;
o.entityId = "foo";
o.entityName = "foo";
- o.errors = buildUnnamed3823();
+ o.errors = buildUnnamed3827();
o.persisted = true;
o.rowNumber = 42;
}
@@ -821,21 +821,21 @@
unittest.expect(o.changed, unittest.isTrue);
unittest.expect(o.entityId, unittest.equals('foo'));
unittest.expect(o.entityName, unittest.equals('foo'));
- checkUnnamed3823(o.errors);
+ checkUnnamed3827(o.errors);
unittest.expect(o.persisted, unittest.isTrue);
unittest.expect(o.rowNumber, unittest.equals(42));
}
buildCounterRowStatus--;
}
-buildUnnamed3824() {
+buildUnnamed3828() {
var o = new core.List<api.DisjunctiveMatchStatement>();
o.add(buildDisjunctiveMatchStatement());
o.add(buildDisjunctiveMatchStatement());
return o;
}
-checkUnnamed3824(core.List<api.DisjunctiveMatchStatement> o) {
+checkUnnamed3828(core.List<api.DisjunctiveMatchStatement> o) {
unittest.expect(o, unittest.hasLength(2));
checkDisjunctiveMatchStatement(o[0]);
checkDisjunctiveMatchStatement(o[1]);
@@ -846,7 +846,7 @@
var o = new api.Rule();
buildCounterRule++;
if (buildCounterRule < 3) {
- o.disjunctiveMatchStatements = buildUnnamed3824();
+ o.disjunctiveMatchStatements = buildUnnamed3828();
o.name = "foo";
}
buildCounterRule--;
@@ -856,7 +856,7 @@
checkRule(api.Rule o) {
buildCounterRule++;
if (buildCounterRule < 3) {
- checkUnnamed3824(o.disjunctiveMatchStatements);
+ checkUnnamed3828(o.disjunctiveMatchStatements);
unittest.expect(o.name, unittest.equals('foo'));
}
buildCounterRule--;
@@ -929,27 +929,27 @@
buildCounterUploadLineItemsResponse--;
}
-buildUnnamed3825() {
+buildUnnamed3829() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3825(core.List<core.String> o) {
+checkUnnamed3829(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3826() {
+buildUnnamed3830() {
var o = new core.List<api.RowStatus>();
o.add(buildRowStatus());
o.add(buildRowStatus());
return o;
}
-checkUnnamed3826(core.List<api.RowStatus> o) {
+checkUnnamed3830(core.List<api.RowStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkRowStatus(o[0]);
checkRowStatus(o[1]);
@@ -960,8 +960,8 @@
var o = new api.UploadStatus();
buildCounterUploadStatus++;
if (buildCounterUploadStatus < 3) {
- o.errors = buildUnnamed3825();
- o.rowStatus = buildUnnamed3826();
+ o.errors = buildUnnamed3829();
+ o.rowStatus = buildUnnamed3830();
}
buildCounterUploadStatus--;
return o;
@@ -970,8 +970,8 @@
checkUploadStatus(api.UploadStatus o) {
buildCounterUploadStatus++;
if (buildCounterUploadStatus < 3) {
- checkUnnamed3825(o.errors);
- checkUnnamed3826(o.rowStatus);
+ checkUnnamed3829(o.errors);
+ checkUnnamed3830(o.rowStatus);
}
buildCounterUploadStatus--;
}
@@ -1503,8 +1503,8 @@
var mock = new HttpServerMock();
api.QueriesResourceApi res =
new api.DoubleclickbidmanagerApi(mock).queries;
- 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;
@@ -1539,10 +1539,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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 = {
@@ -1553,8 +1553,8 @@
}), true);
res
.listqueries(
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListQueriesResponse(response);
@@ -1631,8 +1631,8 @@
api.ReportsResourceApi res =
new api.DoubleclickbidmanagerApi(mock).reports;
var arg_queryId = "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;
@@ -1676,10 +1676,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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 = {
@@ -1690,8 +1690,8 @@
}), true);
res
.listreports(arg_queryId,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListReportsResponse(response);
diff --git a/generated/googleapis/test/doubleclicksearch/v2_test.dart b/generated/googleapis/test/doubleclicksearch/v2_test.dart
index 0f88bd4..5661ba0 100644
--- a/generated/googleapis/test/doubleclicksearch/v2_test.dart
+++ b/generated/googleapis/test/doubleclicksearch/v2_test.dart
@@ -79,27 +79,27 @@
buildCounterAvailability--;
}
-buildUnnamed549() {
+buildUnnamed550() {
var o = new core.List<api.CustomDimension>();
o.add(buildCustomDimension());
o.add(buildCustomDimension());
return o;
}
-checkUnnamed549(core.List<api.CustomDimension> o) {
+checkUnnamed550(core.List<api.CustomDimension> o) {
unittest.expect(o, unittest.hasLength(2));
checkCustomDimension(o[0]);
checkCustomDimension(o[1]);
}
-buildUnnamed550() {
+buildUnnamed551() {
var o = new core.List<api.CustomMetric>();
o.add(buildCustomMetric());
o.add(buildCustomMetric());
return o;
}
-checkUnnamed550(core.List<api.CustomMetric> o) {
+checkUnnamed551(core.List<api.CustomMetric> o) {
unittest.expect(o, unittest.hasLength(2));
checkCustomMetric(o[0]);
checkCustomMetric(o[1]);
@@ -124,8 +124,8 @@
o.countMillis = "foo";
o.criterionId = "foo";
o.currencyCode = "foo";
- o.customDimension = buildUnnamed549();
- o.customMetric = buildUnnamed550();
+ o.customDimension = buildUnnamed550();
+ o.customMetric = buildUnnamed551();
o.deviceType = "foo";
o.dsConversionId = "foo";
o.engineAccountId = "foo";
@@ -165,8 +165,8 @@
unittest.expect(o.countMillis, unittest.equals('foo'));
unittest.expect(o.criterionId, unittest.equals('foo'));
unittest.expect(o.currencyCode, unittest.equals('foo'));
- checkUnnamed549(o.customDimension);
- checkUnnamed550(o.customMetric);
+ checkUnnamed550(o.customDimension);
+ checkUnnamed551(o.customMetric);
unittest.expect(o.deviceType, unittest.equals('foo'));
unittest.expect(o.dsConversionId, unittest.equals('foo'));
unittest.expect(o.engineAccountId, unittest.equals('foo'));
@@ -188,14 +188,14 @@
buildCounterConversion--;
}
-buildUnnamed551() {
+buildUnnamed552() {
var o = new core.List<api.Conversion>();
o.add(buildConversion());
o.add(buildConversion());
return o;
}
-checkUnnamed551(core.List<api.Conversion> o) {
+checkUnnamed552(core.List<api.Conversion> o) {
unittest.expect(o, unittest.hasLength(2));
checkConversion(o[0]);
checkConversion(o[1]);
@@ -206,7 +206,7 @@
var o = new api.ConversionList();
buildCounterConversionList++;
if (buildCounterConversionList < 3) {
- o.conversion = buildUnnamed551();
+ o.conversion = buildUnnamed552();
o.kind = "foo";
}
buildCounterConversionList--;
@@ -216,7 +216,7 @@
checkConversionList(api.ConversionList o) {
buildCounterConversionList++;
if (buildCounterConversionList < 3) {
- checkUnnamed551(o.conversion);
+ checkUnnamed552(o.conversion);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterConversionList--;
@@ -285,27 +285,27 @@
buildCounterReportFiles--;
}
-buildUnnamed552() {
+buildUnnamed553() {
var o = new core.List<api.ReportFiles>();
o.add(buildReportFiles());
o.add(buildReportFiles());
return o;
}
-checkUnnamed552(core.List<api.ReportFiles> o) {
+checkUnnamed553(core.List<api.ReportFiles> o) {
unittest.expect(o, unittest.hasLength(2));
checkReportFiles(o[0]);
checkReportFiles(o[1]);
}
-buildUnnamed553() {
+buildUnnamed554() {
var o = new core.List<api.ReportRow>();
o.add(buildReportRow());
o.add(buildReportRow());
return o;
}
-checkUnnamed553(core.List<api.ReportRow> o) {
+checkUnnamed554(core.List<api.ReportRow> o) {
unittest.expect(o, unittest.hasLength(2));
checkReportRow(o[0]);
checkReportRow(o[1]);
@@ -316,13 +316,13 @@
var o = new api.Report();
buildCounterReport++;
if (buildCounterReport < 3) {
- o.files = buildUnnamed552();
+ o.files = buildUnnamed553();
o.id = "foo";
o.isReportReady = true;
o.kind = "foo";
o.request = buildReportRequest();
o.rowCount = 42;
- o.rows = buildUnnamed553();
+ o.rows = buildUnnamed554();
o.statisticsCurrencyCode = "foo";
o.statisticsTimeZone = "foo";
}
@@ -333,13 +333,13 @@
checkReport(api.Report o) {
buildCounterReport++;
if (buildCounterReport < 3) {
- checkUnnamed552(o.files);
+ checkUnnamed553(o.files);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.isReportReady, unittest.isTrue);
unittest.expect(o.kind, unittest.equals('foo'));
checkReportRequest(o.request);
unittest.expect(o.rowCount, unittest.equals(42));
- checkUnnamed553(o.rows);
+ checkUnnamed554(o.rows);
unittest.expect(o.statisticsCurrencyCode, unittest.equals('foo'));
unittest.expect(o.statisticsTimeZone, unittest.equals('foo'));
}
@@ -383,20 +383,20 @@
buildCounterReportApiColumnSpec--;
}
-buildUnnamed554() {
+buildUnnamed555() {
var o = new core.List<api.ReportApiColumnSpec>();
o.add(buildReportApiColumnSpec());
o.add(buildReportApiColumnSpec());
return o;
}
-checkUnnamed554(core.List<api.ReportApiColumnSpec> o) {
+checkUnnamed555(core.List<api.ReportApiColumnSpec> o) {
unittest.expect(o, unittest.hasLength(2));
checkReportApiColumnSpec(o[0]);
checkReportApiColumnSpec(o[1]);
}
-buildUnnamed555() {
+buildUnnamed556() {
var o = new core.List<core.Object>();
o.add({
'list': [1, 2, 3],
@@ -411,7 +411,7 @@
return o;
}
-checkUnnamed555(core.List<core.Object> o) {
+checkUnnamed556(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o[0]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -432,7 +432,7 @@
if (buildCounterReportRequestFilters < 3) {
o.column = buildReportApiColumnSpec();
o.operator = "foo";
- o.values = buildUnnamed555();
+ o.values = buildUnnamed556();
}
buildCounterReportRequestFilters--;
return o;
@@ -443,19 +443,19 @@
if (buildCounterReportRequestFilters < 3) {
checkReportApiColumnSpec(o.column);
unittest.expect(o.operator, unittest.equals('foo'));
- checkUnnamed555(o.values);
+ checkUnnamed556(o.values);
}
buildCounterReportRequestFilters--;
}
-buildUnnamed556() {
+buildUnnamed557() {
var o = new core.List<api.ReportRequestFilters>();
o.add(buildReportRequestFilters());
o.add(buildReportRequestFilters());
return o;
}
-checkUnnamed556(core.List<api.ReportRequestFilters> o) {
+checkUnnamed557(core.List<api.ReportRequestFilters> o) {
unittest.expect(o, unittest.hasLength(2));
checkReportRequestFilters(o[0]);
checkReportRequestFilters(o[1]);
@@ -482,14 +482,14 @@
buildCounterReportRequestOrderBy--;
}
-buildUnnamed557() {
+buildUnnamed558() {
var o = new core.List<api.ReportRequestOrderBy>();
o.add(buildReportRequestOrderBy());
o.add(buildReportRequestOrderBy());
return o;
}
-checkUnnamed557(core.List<api.ReportRequestOrderBy> o) {
+checkUnnamed558(core.List<api.ReportRequestOrderBy> o) {
unittest.expect(o, unittest.hasLength(2));
checkReportRequestOrderBy(o[0]);
checkReportRequestOrderBy(o[1]);
@@ -556,13 +556,13 @@
var o = new api.ReportRequest();
buildCounterReportRequest++;
if (buildCounterReportRequest < 3) {
- o.columns = buildUnnamed554();
+ o.columns = buildUnnamed555();
o.downloadFormat = "foo";
- o.filters = buildUnnamed556();
+ o.filters = buildUnnamed557();
o.includeDeletedEntities = true;
o.includeRemovedEntities = true;
o.maxRowsPerFile = 42;
- o.orderBy = buildUnnamed557();
+ o.orderBy = buildUnnamed558();
o.reportScope = buildReportRequestReportScope();
o.reportType = "foo";
o.rowCount = 42;
@@ -578,13 +578,13 @@
checkReportRequest(api.ReportRequest o) {
buildCounterReportRequest++;
if (buildCounterReportRequest < 3) {
- checkUnnamed554(o.columns);
+ checkUnnamed555(o.columns);
unittest.expect(o.downloadFormat, unittest.equals('foo'));
- checkUnnamed556(o.filters);
+ checkUnnamed557(o.filters);
unittest.expect(o.includeDeletedEntities, unittest.isTrue);
unittest.expect(o.includeRemovedEntities, unittest.isTrue);
unittest.expect(o.maxRowsPerFile, unittest.equals(42));
- checkUnnamed557(o.orderBy);
+ checkUnnamed558(o.orderBy);
checkReportRequestReportScope(o.reportScope);
unittest.expect(o.reportType, unittest.equals('foo'));
unittest.expect(o.rowCount, unittest.equals(42));
@@ -648,14 +648,14 @@
buildCounterSavedColumn--;
}
-buildUnnamed558() {
+buildUnnamed559() {
var o = new core.List<api.SavedColumn>();
o.add(buildSavedColumn());
o.add(buildSavedColumn());
return o;
}
-checkUnnamed558(core.List<api.SavedColumn> o) {
+checkUnnamed559(core.List<api.SavedColumn> o) {
unittest.expect(o, unittest.hasLength(2));
checkSavedColumn(o[0]);
checkSavedColumn(o[1]);
@@ -666,7 +666,7 @@
var o = new api.SavedColumnList();
buildCounterSavedColumnList++;
if (buildCounterSavedColumnList < 3) {
- o.items = buildUnnamed558();
+ o.items = buildUnnamed559();
o.kind = "foo";
}
buildCounterSavedColumnList--;
@@ -676,44 +676,12 @@
checkSavedColumnList(api.SavedColumnList o) {
buildCounterSavedColumnList++;
if (buildCounterSavedColumnList < 3) {
- checkUnnamed558(o.items);
+ checkUnnamed559(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterSavedColumnList--;
}
-buildUnnamed559() {
- var o = new core.List<api.Availability>();
- o.add(buildAvailability());
- o.add(buildAvailability());
- return o;
-}
-
-checkUnnamed559(core.List<api.Availability> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkAvailability(o[0]);
- checkAvailability(o[1]);
-}
-
-core.int buildCounterUpdateAvailabilityRequest = 0;
-buildUpdateAvailabilityRequest() {
- var o = new api.UpdateAvailabilityRequest();
- buildCounterUpdateAvailabilityRequest++;
- if (buildCounterUpdateAvailabilityRequest < 3) {
- o.availabilities = buildUnnamed559();
- }
- buildCounterUpdateAvailabilityRequest--;
- return o;
-}
-
-checkUpdateAvailabilityRequest(api.UpdateAvailabilityRequest o) {
- buildCounterUpdateAvailabilityRequest++;
- if (buildCounterUpdateAvailabilityRequest < 3) {
- checkUnnamed559(o.availabilities);
- }
- buildCounterUpdateAvailabilityRequest--;
-}
-
buildUnnamed560() {
var o = new core.List<api.Availability>();
o.add(buildAvailability());
@@ -727,12 +695,44 @@
checkAvailability(o[1]);
}
+core.int buildCounterUpdateAvailabilityRequest = 0;
+buildUpdateAvailabilityRequest() {
+ var o = new api.UpdateAvailabilityRequest();
+ buildCounterUpdateAvailabilityRequest++;
+ if (buildCounterUpdateAvailabilityRequest < 3) {
+ o.availabilities = buildUnnamed560();
+ }
+ buildCounterUpdateAvailabilityRequest--;
+ return o;
+}
+
+checkUpdateAvailabilityRequest(api.UpdateAvailabilityRequest o) {
+ buildCounterUpdateAvailabilityRequest++;
+ if (buildCounterUpdateAvailabilityRequest < 3) {
+ checkUnnamed560(o.availabilities);
+ }
+ buildCounterUpdateAvailabilityRequest--;
+}
+
+buildUnnamed561() {
+ var o = new core.List<api.Availability>();
+ o.add(buildAvailability());
+ o.add(buildAvailability());
+ return o;
+}
+
+checkUnnamed561(core.List<api.Availability> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkAvailability(o[0]);
+ checkAvailability(o[1]);
+}
+
core.int buildCounterUpdateAvailabilityResponse = 0;
buildUpdateAvailabilityResponse() {
var o = new api.UpdateAvailabilityResponse();
buildCounterUpdateAvailabilityResponse++;
if (buildCounterUpdateAvailabilityResponse < 3) {
- o.availabilities = buildUnnamed560();
+ o.availabilities = buildUnnamed561();
}
buildCounterUpdateAvailabilityResponse--;
return o;
@@ -741,7 +741,7 @@
checkUpdateAvailabilityResponse(api.UpdateAvailabilityResponse o) {
buildCounterUpdateAvailabilityResponse++;
if (buildCounterUpdateAvailabilityResponse < 3) {
- checkUnnamed560(o.availabilities);
+ checkUnnamed561(o.availabilities);
}
buildCounterUpdateAvailabilityResponse--;
}
@@ -903,10 +903,10 @@
var arg_rowCount = 42;
var arg_startDate = 42;
var arg_startRow = 42;
- var arg_adId = "foo";
- var arg_criterionId = "foo";
var arg_adGroupId = "foo";
+ var arg_criterionId = "foo";
var arg_campaignId = "foo";
+ var arg_adId = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -973,13 +973,13 @@
unittest.equals(arg_startDate));
unittest.expect(core.int.parse(queryMap["startRow"].first),
unittest.equals(arg_startRow));
- unittest.expect(queryMap["adId"].first, unittest.equals(arg_adId));
- unittest.expect(
- queryMap["criterionId"].first, unittest.equals(arg_criterionId));
unittest.expect(
queryMap["adGroupId"].first, unittest.equals(arg_adGroupId));
unittest.expect(
+ queryMap["criterionId"].first, unittest.equals(arg_criterionId));
+ unittest.expect(
queryMap["campaignId"].first, unittest.equals(arg_campaignId));
+ unittest.expect(queryMap["adId"].first, unittest.equals(arg_adId));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -991,10 +991,10 @@
res
.get(arg_agencyId, arg_advertiserId, arg_engineAccountId, arg_endDate,
arg_rowCount, arg_startDate, arg_startRow,
- adId: arg_adId,
- criterionId: arg_criterionId,
adGroupId: arg_adGroupId,
+ criterionId: arg_criterionId,
campaignId: arg_campaignId,
+ adId: arg_adId,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkConversionList(response);
diff --git a/generated/googleapis/test/drive/v2_test.dart b/generated/googleapis/test/drive/v2_test.dart
index 24b0f64..cbac863 100644
--- a/generated/googleapis/test/drive/v2_test.dart
+++ b/generated/googleapis/test/drive/v2_test.dart
@@ -50,14 +50,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed1083() {
+buildUnnamed1084() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1083(core.List<core.String> o) {
+checkUnnamed1084(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -68,7 +68,7 @@
var o = new api.AboutAdditionalRoleInfoRoleSets();
buildCounterAboutAdditionalRoleInfoRoleSets++;
if (buildCounterAboutAdditionalRoleInfoRoleSets < 3) {
- o.additionalRoles = buildUnnamed1083();
+ o.additionalRoles = buildUnnamed1084();
o.primaryRole = "foo";
}
buildCounterAboutAdditionalRoleInfoRoleSets--;
@@ -78,20 +78,20 @@
checkAboutAdditionalRoleInfoRoleSets(api.AboutAdditionalRoleInfoRoleSets o) {
buildCounterAboutAdditionalRoleInfoRoleSets++;
if (buildCounterAboutAdditionalRoleInfoRoleSets < 3) {
- checkUnnamed1083(o.additionalRoles);
+ checkUnnamed1084(o.additionalRoles);
unittest.expect(o.primaryRole, unittest.equals('foo'));
}
buildCounterAboutAdditionalRoleInfoRoleSets--;
}
-buildUnnamed1084() {
+buildUnnamed1085() {
var o = new core.List<api.AboutAdditionalRoleInfoRoleSets>();
o.add(buildAboutAdditionalRoleInfoRoleSets());
o.add(buildAboutAdditionalRoleInfoRoleSets());
return o;
}
-checkUnnamed1084(core.List<api.AboutAdditionalRoleInfoRoleSets> o) {
+checkUnnamed1085(core.List<api.AboutAdditionalRoleInfoRoleSets> o) {
unittest.expect(o, unittest.hasLength(2));
checkAboutAdditionalRoleInfoRoleSets(o[0]);
checkAboutAdditionalRoleInfoRoleSets(o[1]);
@@ -102,7 +102,7 @@
var o = new api.AboutAdditionalRoleInfo();
buildCounterAboutAdditionalRoleInfo++;
if (buildCounterAboutAdditionalRoleInfo < 3) {
- o.roleSets = buildUnnamed1084();
+ o.roleSets = buildUnnamed1085();
o.type = "foo";
}
buildCounterAboutAdditionalRoleInfo--;
@@ -112,20 +112,20 @@
checkAboutAdditionalRoleInfo(api.AboutAdditionalRoleInfo o) {
buildCounterAboutAdditionalRoleInfo++;
if (buildCounterAboutAdditionalRoleInfo < 3) {
- checkUnnamed1084(o.roleSets);
+ checkUnnamed1085(o.roleSets);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterAboutAdditionalRoleInfo--;
}
-buildUnnamed1085() {
+buildUnnamed1086() {
var o = new core.List<api.AboutAdditionalRoleInfo>();
o.add(buildAboutAdditionalRoleInfo());
o.add(buildAboutAdditionalRoleInfo());
return o;
}
-checkUnnamed1085(core.List<api.AboutAdditionalRoleInfo> o) {
+checkUnnamed1086(core.List<api.AboutAdditionalRoleInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkAboutAdditionalRoleInfo(o[0]);
checkAboutAdditionalRoleInfo(o[1]);
@@ -154,27 +154,27 @@
buildCounterAboutDriveThemes--;
}
-buildUnnamed1086() {
+buildUnnamed1087() {
var o = new core.List<api.AboutDriveThemes>();
o.add(buildAboutDriveThemes());
o.add(buildAboutDriveThemes());
return o;
}
-checkUnnamed1086(core.List<api.AboutDriveThemes> o) {
+checkUnnamed1087(core.List<api.AboutDriveThemes> o) {
unittest.expect(o, unittest.hasLength(2));
checkAboutDriveThemes(o[0]);
checkAboutDriveThemes(o[1]);
}
-buildUnnamed1087() {
+buildUnnamed1088() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1087(core.List<core.String> o) {
+checkUnnamed1088(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -186,7 +186,7 @@
buildCounterAboutExportFormats++;
if (buildCounterAboutExportFormats < 3) {
o.source = "foo";
- o.targets = buildUnnamed1087();
+ o.targets = buildUnnamed1088();
}
buildCounterAboutExportFormats--;
return o;
@@ -196,19 +196,19 @@
buildCounterAboutExportFormats++;
if (buildCounterAboutExportFormats < 3) {
unittest.expect(o.source, unittest.equals('foo'));
- checkUnnamed1087(o.targets);
+ checkUnnamed1088(o.targets);
}
buildCounterAboutExportFormats--;
}
-buildUnnamed1088() {
+buildUnnamed1089() {
var o = new core.List<api.AboutExportFormats>();
o.add(buildAboutExportFormats());
o.add(buildAboutExportFormats());
return o;
}
-checkUnnamed1088(core.List<api.AboutExportFormats> o) {
+checkUnnamed1089(core.List<api.AboutExportFormats> o) {
unittest.expect(o, unittest.hasLength(2));
checkAboutExportFormats(o[0]);
checkAboutExportFormats(o[1]);
@@ -235,32 +235,19 @@
buildCounterAboutFeatures--;
}
-buildUnnamed1089() {
+buildUnnamed1090() {
var o = new core.List<api.AboutFeatures>();
o.add(buildAboutFeatures());
o.add(buildAboutFeatures());
return o;
}
-checkUnnamed1089(core.List<api.AboutFeatures> o) {
+checkUnnamed1090(core.List<api.AboutFeatures> o) {
unittest.expect(o, unittest.hasLength(2));
checkAboutFeatures(o[0]);
checkAboutFeatures(o[1]);
}
-buildUnnamed1090() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1090(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed1091() {
var o = new core.List<core.String>();
o.add("foo");
@@ -274,13 +261,26 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed1092() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1092(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
core.int buildCounterAboutImportFormats = 0;
buildAboutImportFormats() {
var o = new api.AboutImportFormats();
buildCounterAboutImportFormats++;
if (buildCounterAboutImportFormats < 3) {
o.source = "foo";
- o.targets = buildUnnamed1091();
+ o.targets = buildUnnamed1092();
}
buildCounterAboutImportFormats--;
return o;
@@ -290,19 +290,19 @@
buildCounterAboutImportFormats++;
if (buildCounterAboutImportFormats < 3) {
unittest.expect(o.source, unittest.equals('foo'));
- checkUnnamed1091(o.targets);
+ checkUnnamed1092(o.targets);
}
buildCounterAboutImportFormats--;
}
-buildUnnamed1092() {
+buildUnnamed1093() {
var o = new core.List<api.AboutImportFormats>();
o.add(buildAboutImportFormats());
o.add(buildAboutImportFormats());
return o;
}
-checkUnnamed1092(core.List<api.AboutImportFormats> o) {
+checkUnnamed1093(core.List<api.AboutImportFormats> o) {
unittest.expect(o, unittest.hasLength(2));
checkAboutImportFormats(o[0]);
checkAboutImportFormats(o[1]);
@@ -329,14 +329,14 @@
buildCounterAboutMaxUploadSizes--;
}
-buildUnnamed1093() {
+buildUnnamed1094() {
var o = new core.List<api.AboutMaxUploadSizes>();
o.add(buildAboutMaxUploadSizes());
o.add(buildAboutMaxUploadSizes());
return o;
}
-checkUnnamed1093(core.List<api.AboutMaxUploadSizes> o) {
+checkUnnamed1094(core.List<api.AboutMaxUploadSizes> o) {
unittest.expect(o, unittest.hasLength(2));
checkAboutMaxUploadSizes(o[0]);
checkAboutMaxUploadSizes(o[1]);
@@ -363,14 +363,14 @@
buildCounterAboutQuotaBytesByService--;
}
-buildUnnamed1094() {
+buildUnnamed1095() {
var o = new core.List<api.AboutQuotaBytesByService>();
o.add(buildAboutQuotaBytesByService());
o.add(buildAboutQuotaBytesByService());
return o;
}
-checkUnnamed1094(core.List<api.AboutQuotaBytesByService> o) {
+checkUnnamed1095(core.List<api.AboutQuotaBytesByService> o) {
unittest.expect(o, unittest.hasLength(2));
checkAboutQuotaBytesByService(o[0]);
checkAboutQuotaBytesByService(o[1]);
@@ -399,14 +399,14 @@
buildCounterAboutTeamDriveThemes--;
}
-buildUnnamed1095() {
+buildUnnamed1096() {
var o = new core.List<api.AboutTeamDriveThemes>();
o.add(buildAboutTeamDriveThemes());
o.add(buildAboutTeamDriveThemes());
return o;
}
-checkUnnamed1095(core.List<api.AboutTeamDriveThemes> o) {
+checkUnnamed1096(core.List<api.AboutTeamDriveThemes> o) {
unittest.expect(o, unittest.hasLength(2));
checkAboutTeamDriveThemes(o[0]);
checkAboutTeamDriveThemes(o[1]);
@@ -417,24 +417,24 @@
var o = new api.About();
buildCounterAbout++;
if (buildCounterAbout < 3) {
- o.additionalRoleInfo = buildUnnamed1085();
+ o.additionalRoleInfo = buildUnnamed1086();
o.canCreateDrives = true;
o.canCreateTeamDrives = true;
o.domainSharingPolicy = "foo";
- o.driveThemes = buildUnnamed1086();
+ o.driveThemes = buildUnnamed1087();
o.etag = "foo";
- o.exportFormats = buildUnnamed1088();
- o.features = buildUnnamed1089();
- o.folderColorPalette = buildUnnamed1090();
- o.importFormats = buildUnnamed1092();
+ o.exportFormats = buildUnnamed1089();
+ o.features = buildUnnamed1090();
+ o.folderColorPalette = buildUnnamed1091();
+ o.importFormats = buildUnnamed1093();
o.isCurrentAppInstalled = true;
o.kind = "foo";
o.languageCode = "foo";
o.largestChangeId = "foo";
- o.maxUploadSizes = buildUnnamed1093();
+ o.maxUploadSizes = buildUnnamed1094();
o.name = "foo";
o.permissionId = "foo";
- o.quotaBytesByService = buildUnnamed1094();
+ o.quotaBytesByService = buildUnnamed1095();
o.quotaBytesTotal = "foo";
o.quotaBytesUsed = "foo";
o.quotaBytesUsedAggregate = "foo";
@@ -443,7 +443,7 @@
o.remainingChangeIds = "foo";
o.rootFolderId = "foo";
o.selfLink = "foo";
- o.teamDriveThemes = buildUnnamed1095();
+ o.teamDriveThemes = buildUnnamed1096();
o.user = buildUser();
}
buildCounterAbout--;
@@ -453,24 +453,24 @@
checkAbout(api.About o) {
buildCounterAbout++;
if (buildCounterAbout < 3) {
- checkUnnamed1085(o.additionalRoleInfo);
+ checkUnnamed1086(o.additionalRoleInfo);
unittest.expect(o.canCreateDrives, unittest.isTrue);
unittest.expect(o.canCreateTeamDrives, unittest.isTrue);
unittest.expect(o.domainSharingPolicy, unittest.equals('foo'));
- checkUnnamed1086(o.driveThemes);
+ checkUnnamed1087(o.driveThemes);
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1088(o.exportFormats);
- checkUnnamed1089(o.features);
- checkUnnamed1090(o.folderColorPalette);
- checkUnnamed1092(o.importFormats);
+ checkUnnamed1089(o.exportFormats);
+ checkUnnamed1090(o.features);
+ checkUnnamed1091(o.folderColorPalette);
+ checkUnnamed1093(o.importFormats);
unittest.expect(o.isCurrentAppInstalled, unittest.isTrue);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.languageCode, unittest.equals('foo'));
unittest.expect(o.largestChangeId, unittest.equals('foo'));
- checkUnnamed1093(o.maxUploadSizes);
+ checkUnnamed1094(o.maxUploadSizes);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.permissionId, unittest.equals('foo'));
- checkUnnamed1094(o.quotaBytesByService);
+ checkUnnamed1095(o.quotaBytesByService);
unittest.expect(o.quotaBytesTotal, unittest.equals('foo'));
unittest.expect(o.quotaBytesUsed, unittest.equals('foo'));
unittest.expect(o.quotaBytesUsedAggregate, unittest.equals('foo'));
@@ -479,7 +479,7 @@
unittest.expect(o.remainingChangeIds, unittest.equals('foo'));
unittest.expect(o.rootFolderId, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
- checkUnnamed1095(o.teamDriveThemes);
+ checkUnnamed1096(o.teamDriveThemes);
checkUser(o.user);
}
buildCounterAbout--;
@@ -508,32 +508,19 @@
buildCounterAppIcons--;
}
-buildUnnamed1096() {
+buildUnnamed1097() {
var o = new core.List<api.AppIcons>();
o.add(buildAppIcons());
o.add(buildAppIcons());
return o;
}
-checkUnnamed1096(core.List<api.AppIcons> o) {
+checkUnnamed1097(core.List<api.AppIcons> o) {
unittest.expect(o, unittest.hasLength(2));
checkAppIcons(o[0]);
checkAppIcons(o[1]);
}
-buildUnnamed1097() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1097(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed1098() {
var o = new core.List<core.String>();
o.add("foo");
@@ -573,6 +560,19 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed1101() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1101(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
core.int buildCounterApp = 0;
buildApp() {
var o = new api.App();
@@ -582,7 +582,7 @@
o.createInFolderTemplate = "foo";
o.createUrl = "foo";
o.hasDriveWideScope = true;
- o.icons = buildUnnamed1096();
+ o.icons = buildUnnamed1097();
o.id = "foo";
o.installed = true;
o.kind = "foo";
@@ -590,12 +590,12 @@
o.name = "foo";
o.objectType = "foo";
o.openUrlTemplate = "foo";
- o.primaryFileExtensions = buildUnnamed1097();
- o.primaryMimeTypes = buildUnnamed1098();
+ o.primaryFileExtensions = buildUnnamed1098();
+ o.primaryMimeTypes = buildUnnamed1099();
o.productId = "foo";
o.productUrl = "foo";
- o.secondaryFileExtensions = buildUnnamed1099();
- o.secondaryMimeTypes = buildUnnamed1100();
+ o.secondaryFileExtensions = buildUnnamed1100();
+ o.secondaryMimeTypes = buildUnnamed1101();
o.shortDescription = "foo";
o.supportsCreate = true;
o.supportsImport = true;
@@ -614,7 +614,7 @@
unittest.expect(o.createInFolderTemplate, unittest.equals('foo'));
unittest.expect(o.createUrl, unittest.equals('foo'));
unittest.expect(o.hasDriveWideScope, unittest.isTrue);
- checkUnnamed1096(o.icons);
+ checkUnnamed1097(o.icons);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.installed, unittest.isTrue);
unittest.expect(o.kind, unittest.equals('foo'));
@@ -622,12 +622,12 @@
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.objectType, unittest.equals('foo'));
unittest.expect(o.openUrlTemplate, unittest.equals('foo'));
- checkUnnamed1097(o.primaryFileExtensions);
- checkUnnamed1098(o.primaryMimeTypes);
+ checkUnnamed1098(o.primaryFileExtensions);
+ checkUnnamed1099(o.primaryMimeTypes);
unittest.expect(o.productId, unittest.equals('foo'));
unittest.expect(o.productUrl, unittest.equals('foo'));
- checkUnnamed1099(o.secondaryFileExtensions);
- checkUnnamed1100(o.secondaryMimeTypes);
+ checkUnnamed1100(o.secondaryFileExtensions);
+ checkUnnamed1101(o.secondaryMimeTypes);
unittest.expect(o.shortDescription, unittest.equals('foo'));
unittest.expect(o.supportsCreate, unittest.isTrue);
unittest.expect(o.supportsImport, unittest.isTrue);
@@ -638,27 +638,27 @@
buildCounterApp--;
}
-buildUnnamed1101() {
+buildUnnamed1102() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1101(core.List<core.String> o) {
+checkUnnamed1102(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1102() {
+buildUnnamed1103() {
var o = new core.List<api.App>();
o.add(buildApp());
o.add(buildApp());
return o;
}
-checkUnnamed1102(core.List<api.App> o) {
+checkUnnamed1103(core.List<api.App> o) {
unittest.expect(o, unittest.hasLength(2));
checkApp(o[0]);
checkApp(o[1]);
@@ -669,9 +669,9 @@
var o = new api.AppList();
buildCounterAppList++;
if (buildCounterAppList < 3) {
- o.defaultAppIds = buildUnnamed1101();
+ o.defaultAppIds = buildUnnamed1102();
o.etag = "foo";
- o.items = buildUnnamed1102();
+ o.items = buildUnnamed1103();
o.kind = "foo";
o.selfLink = "foo";
}
@@ -682,9 +682,9 @@
checkAppList(api.AppList o) {
buildCounterAppList++;
if (buildCounterAppList < 3) {
- checkUnnamed1101(o.defaultAppIds);
+ checkUnnamed1102(o.defaultAppIds);
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1102(o.items);
+ checkUnnamed1103(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
}
@@ -735,14 +735,14 @@
buildCounterChange--;
}
-buildUnnamed1103() {
+buildUnnamed1104() {
var o = new core.List<api.Change>();
o.add(buildChange());
o.add(buildChange());
return o;
}
-checkUnnamed1103(core.List<api.Change> o) {
+checkUnnamed1104(core.List<api.Change> o) {
unittest.expect(o, unittest.hasLength(2));
checkChange(o[0]);
checkChange(o[1]);
@@ -754,7 +754,7 @@
buildCounterChangeList++;
if (buildCounterChangeList < 3) {
o.etag = "foo";
- o.items = buildUnnamed1103();
+ o.items = buildUnnamed1104();
o.kind = "foo";
o.largestChangeId = "foo";
o.newStartPageToken = "foo";
@@ -770,7 +770,7 @@
buildCounterChangeList++;
if (buildCounterChangeList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1103(o.items);
+ checkUnnamed1104(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.largestChangeId, unittest.equals('foo'));
unittest.expect(o.newStartPageToken, unittest.equals('foo'));
@@ -781,14 +781,14 @@
buildCounterChangeList--;
}
-buildUnnamed1104() {
+buildUnnamed1105() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1104(core.Map<core.String, core.String> o) {
+checkUnnamed1105(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -803,7 +803,7 @@
o.expiration = "foo";
o.id = "foo";
o.kind = "foo";
- o.params = buildUnnamed1104();
+ o.params = buildUnnamed1105();
o.payload = true;
o.resourceId = "foo";
o.resourceUri = "foo";
@@ -821,7 +821,7 @@
unittest.expect(o.expiration, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1104(o.params);
+ checkUnnamed1105(o.params);
unittest.expect(o.payload, unittest.isTrue);
unittest.expect(o.resourceId, unittest.equals('foo'));
unittest.expect(o.resourceUri, unittest.equals('foo'));
@@ -831,14 +831,14 @@
buildCounterChannel--;
}
-buildUnnamed1105() {
+buildUnnamed1106() {
var o = new core.List<api.ChildReference>();
o.add(buildChildReference());
o.add(buildChildReference());
return o;
}
-checkUnnamed1105(core.List<api.ChildReference> o) {
+checkUnnamed1106(core.List<api.ChildReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkChildReference(o[0]);
checkChildReference(o[1]);
@@ -850,7 +850,7 @@
buildCounterChildList++;
if (buildCounterChildList < 3) {
o.etag = "foo";
- o.items = buildUnnamed1105();
+ o.items = buildUnnamed1106();
o.kind = "foo";
o.nextLink = "foo";
o.nextPageToken = "foo";
@@ -864,7 +864,7 @@
buildCounterChildList++;
if (buildCounterChildList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1105(o.items);
+ checkUnnamed1106(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
@@ -919,14 +919,14 @@
buildCounterCommentContext--;
}
-buildUnnamed1106() {
+buildUnnamed1107() {
var o = new core.List<api.CommentReply>();
o.add(buildCommentReply());
o.add(buildCommentReply());
return o;
}
-checkUnnamed1106(core.List<api.CommentReply> o) {
+checkUnnamed1107(core.List<api.CommentReply> o) {
unittest.expect(o, unittest.hasLength(2));
checkCommentReply(o[0]);
checkCommentReply(o[1]);
@@ -949,7 +949,7 @@
o.htmlContent = "foo";
o.kind = "foo";
o.modifiedDate = core.DateTime.parse("2002-02-27T14:01:02");
- o.replies = buildUnnamed1106();
+ o.replies = buildUnnamed1107();
o.selfLink = "foo";
o.status = "foo";
}
@@ -974,21 +974,21 @@
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.modifiedDate,
unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
- checkUnnamed1106(o.replies);
+ checkUnnamed1107(o.replies);
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals('foo'));
}
buildCounterComment--;
}
-buildUnnamed1107() {
+buildUnnamed1108() {
var o = new core.List<api.Comment>();
o.add(buildComment());
o.add(buildComment());
return o;
}
-checkUnnamed1107(core.List<api.Comment> o) {
+checkUnnamed1108(core.List<api.Comment> o) {
unittest.expect(o, unittest.hasLength(2));
checkComment(o[0]);
checkComment(o[1]);
@@ -999,7 +999,7 @@
var o = new api.CommentList();
buildCounterCommentList++;
if (buildCounterCommentList < 3) {
- o.items = buildUnnamed1107();
+ o.items = buildUnnamed1108();
o.kind = "foo";
o.nextLink = "foo";
o.nextPageToken = "foo";
@@ -1012,7 +1012,7 @@
checkCommentList(api.CommentList o) {
buildCounterCommentList++;
if (buildCounterCommentList < 3) {
- checkUnnamed1107(o.items);
+ checkUnnamed1108(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
@@ -1058,14 +1058,14 @@
buildCounterCommentReply--;
}
-buildUnnamed1108() {
+buildUnnamed1109() {
var o = new core.List<api.CommentReply>();
o.add(buildCommentReply());
o.add(buildCommentReply());
return o;
}
-checkUnnamed1108(core.List<api.CommentReply> o) {
+checkUnnamed1109(core.List<api.CommentReply> o) {
unittest.expect(o, unittest.hasLength(2));
checkCommentReply(o[0]);
checkCommentReply(o[1]);
@@ -1076,7 +1076,7 @@
var o = new api.CommentReplyList();
buildCounterCommentReplyList++;
if (buildCounterCommentReplyList < 3) {
- o.items = buildUnnamed1108();
+ o.items = buildUnnamed1109();
o.kind = "foo";
o.nextLink = "foo";
o.nextPageToken = "foo";
@@ -1089,7 +1089,7 @@
checkCommentReplyList(api.CommentReplyList o) {
buildCounterCommentReplyList++;
if (buildCounterCommentReplyList < 3) {
- checkUnnamed1108(o.items);
+ checkUnnamed1109(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
@@ -1270,14 +1270,14 @@
buildCounterDrive--;
}
-buildUnnamed1109() {
+buildUnnamed1110() {
var o = new core.List<api.Drive>();
o.add(buildDrive());
o.add(buildDrive());
return o;
}
-checkUnnamed1109(core.List<api.Drive> o) {
+checkUnnamed1110(core.List<api.Drive> o) {
unittest.expect(o, unittest.hasLength(2));
checkDrive(o[0]);
checkDrive(o[1]);
@@ -1288,7 +1288,7 @@
var o = new api.DriveList();
buildCounterDriveList++;
if (buildCounterDriveList < 3) {
- o.items = buildUnnamed1109();
+ o.items = buildUnnamed1110();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -1299,7 +1299,7 @@
checkDriveList(api.DriveList o) {
buildCounterDriveList++;
if (buildCounterDriveList < 3) {
- checkUnnamed1109(o.items);
+ checkUnnamed1110(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -1391,27 +1391,27 @@
buildCounterFileCapabilities--;
}
-buildUnnamed1110() {
+buildUnnamed1111() {
var o = new core.List<api.ContentRestriction>();
o.add(buildContentRestriction());
o.add(buildContentRestriction());
return o;
}
-checkUnnamed1110(core.List<api.ContentRestriction> o) {
+checkUnnamed1111(core.List<api.ContentRestriction> o) {
unittest.expect(o, unittest.hasLength(2));
checkContentRestriction(o[0]);
checkContentRestriction(o[1]);
}
-buildUnnamed1111() {
+buildUnnamed1112() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1111(core.Map<core.String, core.String> o) {
+checkUnnamed1112(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -1547,92 +1547,92 @@
buildCounterFileLabels--;
}
-buildUnnamed1112() {
+buildUnnamed1113() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1112(core.Map<core.String, core.String> o) {
+checkUnnamed1113(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed1113() {
+buildUnnamed1114() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1113(core.List<core.String> o) {
+checkUnnamed1114(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1114() {
+buildUnnamed1115() {
var o = new core.List<api.User>();
o.add(buildUser());
o.add(buildUser());
return o;
}
-checkUnnamed1114(core.List<api.User> o) {
+checkUnnamed1115(core.List<api.User> o) {
unittest.expect(o, unittest.hasLength(2));
checkUser(o[0]);
checkUser(o[1]);
}
-buildUnnamed1115() {
+buildUnnamed1116() {
var o = new core.List<api.ParentReference>();
o.add(buildParentReference());
o.add(buildParentReference());
return o;
}
-checkUnnamed1115(core.List<api.ParentReference> o) {
+checkUnnamed1116(core.List<api.ParentReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkParentReference(o[0]);
checkParentReference(o[1]);
}
-buildUnnamed1116() {
+buildUnnamed1117() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1116(core.List<core.String> o) {
+checkUnnamed1117(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1117() {
+buildUnnamed1118() {
var o = new core.List<api.Permission>();
o.add(buildPermission());
o.add(buildPermission());
return o;
}
-checkUnnamed1117(core.List<api.Permission> o) {
+checkUnnamed1118(core.List<api.Permission> o) {
unittest.expect(o, unittest.hasLength(2));
checkPermission(o[0]);
checkPermission(o[1]);
}
-buildUnnamed1118() {
+buildUnnamed1119() {
var o = new core.List<api.Property>();
o.add(buildProperty());
o.add(buildProperty());
return o;
}
-checkUnnamed1118(core.List<api.Property> o) {
+checkUnnamed1119(core.List<api.Property> o) {
unittest.expect(o, unittest.hasLength(2));
checkProperty(o[0]);
checkProperty(o[1]);
@@ -1659,14 +1659,14 @@
buildCounterFileShortcutDetails--;
}
-buildUnnamed1119() {
+buildUnnamed1120() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1119(core.List<core.String> o) {
+checkUnnamed1120(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1726,7 +1726,7 @@
o.canComment = true;
o.canReadRevisions = true;
o.capabilities = buildFileCapabilities();
- o.contentRestrictions = buildUnnamed1110();
+ o.contentRestrictions = buildUnnamed1111();
o.copyRequiresWriterPermission = true;
o.copyable = true;
o.createdDate = core.DateTime.parse("2002-02-27T14:01:02");
@@ -1738,7 +1738,7 @@
o.embedLink = "foo";
o.etag = "foo";
o.explicitlyTrashed = true;
- o.exportLinks = buildUnnamed1111();
+ o.exportLinks = buildUnnamed1112();
o.fileExtension = "foo";
o.fileSize = "foo";
o.folderColorRgb = "foo";
@@ -1761,15 +1761,15 @@
o.mimeType = "foo";
o.modifiedByMeDate = core.DateTime.parse("2002-02-27T14:01:02");
o.modifiedDate = core.DateTime.parse("2002-02-27T14:01:02");
- o.openWithLinks = buildUnnamed1112();
+ o.openWithLinks = buildUnnamed1113();
o.originalFilename = "foo";
o.ownedByMe = true;
- o.ownerNames = buildUnnamed1113();
- o.owners = buildUnnamed1114();
- o.parents = buildUnnamed1115();
- o.permissionIds = buildUnnamed1116();
- o.permissions = buildUnnamed1117();
- o.properties = buildUnnamed1118();
+ o.ownerNames = buildUnnamed1114();
+ o.owners = buildUnnamed1115();
+ o.parents = buildUnnamed1116();
+ o.permissionIds = buildUnnamed1117();
+ o.permissions = buildUnnamed1118();
+ o.properties = buildUnnamed1119();
o.quotaBytesUsed = "foo";
o.selfLink = "foo";
o.shareable = true;
@@ -1777,7 +1777,7 @@
o.sharedWithMeDate = core.DateTime.parse("2002-02-27T14:01:02");
o.sharingUser = buildUser();
o.shortcutDetails = buildFileShortcutDetails();
- o.spaces = buildUnnamed1119();
+ o.spaces = buildUnnamed1120();
o.teamDriveId = "foo";
o.thumbnail = buildFileThumbnail();
o.thumbnailLink = "foo";
@@ -1804,7 +1804,7 @@
unittest.expect(o.canComment, unittest.isTrue);
unittest.expect(o.canReadRevisions, unittest.isTrue);
checkFileCapabilities(o.capabilities);
- checkUnnamed1110(o.contentRestrictions);
+ checkUnnamed1111(o.contentRestrictions);
unittest.expect(o.copyRequiresWriterPermission, unittest.isTrue);
unittest.expect(o.copyable, unittest.isTrue);
unittest.expect(o.createdDate,
@@ -1817,7 +1817,7 @@
unittest.expect(o.embedLink, unittest.equals('foo'));
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.explicitlyTrashed, unittest.isTrue);
- checkUnnamed1111(o.exportLinks);
+ checkUnnamed1112(o.exportLinks);
unittest.expect(o.fileExtension, unittest.equals('foo'));
unittest.expect(o.fileSize, unittest.equals('foo'));
unittest.expect(o.folderColorRgb, unittest.equals('foo'));
@@ -1844,15 +1844,15 @@
unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
unittest.expect(o.modifiedDate,
unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
- checkUnnamed1112(o.openWithLinks);
+ checkUnnamed1113(o.openWithLinks);
unittest.expect(o.originalFilename, unittest.equals('foo'));
unittest.expect(o.ownedByMe, unittest.isTrue);
- checkUnnamed1113(o.ownerNames);
- checkUnnamed1114(o.owners);
- checkUnnamed1115(o.parents);
- checkUnnamed1116(o.permissionIds);
- checkUnnamed1117(o.permissions);
- checkUnnamed1118(o.properties);
+ checkUnnamed1114(o.ownerNames);
+ checkUnnamed1115(o.owners);
+ checkUnnamed1116(o.parents);
+ checkUnnamed1117(o.permissionIds);
+ checkUnnamed1118(o.permissions);
+ checkUnnamed1119(o.properties);
unittest.expect(o.quotaBytesUsed, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.shareable, unittest.isTrue);
@@ -1861,7 +1861,7 @@
unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
checkUser(o.sharingUser);
checkFileShortcutDetails(o.shortcutDetails);
- checkUnnamed1119(o.spaces);
+ checkUnnamed1120(o.spaces);
unittest.expect(o.teamDriveId, unittest.equals('foo'));
checkFileThumbnail(o.thumbnail);
unittest.expect(o.thumbnailLink, unittest.equals('foo'));
@@ -1880,14 +1880,14 @@
buildCounterFile--;
}
-buildUnnamed1120() {
+buildUnnamed1121() {
var o = new core.List<api.File>();
o.add(buildFile());
o.add(buildFile());
return o;
}
-checkUnnamed1120(core.List<api.File> o) {
+checkUnnamed1121(core.List<api.File> o) {
unittest.expect(o, unittest.hasLength(2));
checkFile(o[0]);
checkFile(o[1]);
@@ -1900,7 +1900,7 @@
if (buildCounterFileList < 3) {
o.etag = "foo";
o.incompleteSearch = true;
- o.items = buildUnnamed1120();
+ o.items = buildUnnamed1121();
o.kind = "foo";
o.nextLink = "foo";
o.nextPageToken = "foo";
@@ -1915,7 +1915,7 @@
if (buildCounterFileList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.incompleteSearch, unittest.isTrue);
- checkUnnamed1120(o.items);
+ checkUnnamed1121(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
@@ -1924,14 +1924,14 @@
buildCounterFileList--;
}
-buildUnnamed1121() {
+buildUnnamed1122() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1121(core.List<core.String> o) {
+checkUnnamed1122(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1942,7 +1942,7 @@
var o = new api.GeneratedIds();
buildCounterGeneratedIds++;
if (buildCounterGeneratedIds < 3) {
- o.ids = buildUnnamed1121();
+ o.ids = buildUnnamed1122();
o.kind = "foo";
o.space = "foo";
}
@@ -1953,21 +1953,21 @@
checkGeneratedIds(api.GeneratedIds o) {
buildCounterGeneratedIds++;
if (buildCounterGeneratedIds < 3) {
- checkUnnamed1121(o.ids);
+ checkUnnamed1122(o.ids);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.space, unittest.equals('foo'));
}
buildCounterGeneratedIds--;
}
-buildUnnamed1122() {
+buildUnnamed1123() {
var o = new core.List<api.ParentReference>();
o.add(buildParentReference());
o.add(buildParentReference());
return o;
}
-checkUnnamed1122(core.List<api.ParentReference> o) {
+checkUnnamed1123(core.List<api.ParentReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkParentReference(o[0]);
checkParentReference(o[1]);
@@ -1979,7 +1979,7 @@
buildCounterParentList++;
if (buildCounterParentList < 3) {
o.etag = "foo";
- o.items = buildUnnamed1122();
+ o.items = buildUnnamed1123();
o.kind = "foo";
o.selfLink = "foo";
}
@@ -1991,7 +1991,7 @@
buildCounterParentList++;
if (buildCounterParentList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1122(o.items);
+ checkUnnamed1123(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
}
@@ -2025,19 +2025,6 @@
buildCounterParentReference--;
}
-buildUnnamed1123() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1123(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed1124() {
var o = new core.List<core.String>();
o.add("foo");
@@ -2051,12 +2038,25 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed1125() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1125(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
core.int buildCounterPermissionPermissionDetails = 0;
buildPermissionPermissionDetails() {
var o = new api.PermissionPermissionDetails();
buildCounterPermissionPermissionDetails++;
if (buildCounterPermissionPermissionDetails < 3) {
- o.additionalRoles = buildUnnamed1124();
+ o.additionalRoles = buildUnnamed1125();
o.inherited = true;
o.inheritedFrom = "foo";
o.permissionType = "foo";
@@ -2069,7 +2069,7 @@
checkPermissionPermissionDetails(api.PermissionPermissionDetails o) {
buildCounterPermissionPermissionDetails++;
if (buildCounterPermissionPermissionDetails < 3) {
- checkUnnamed1124(o.additionalRoles);
+ checkUnnamed1125(o.additionalRoles);
unittest.expect(o.inherited, unittest.isTrue);
unittest.expect(o.inheritedFrom, unittest.equals('foo'));
unittest.expect(o.permissionType, unittest.equals('foo'));
@@ -2078,27 +2078,27 @@
buildCounterPermissionPermissionDetails--;
}
-buildUnnamed1125() {
+buildUnnamed1126() {
var o = new core.List<api.PermissionPermissionDetails>();
o.add(buildPermissionPermissionDetails());
o.add(buildPermissionPermissionDetails());
return o;
}
-checkUnnamed1125(core.List<api.PermissionPermissionDetails> o) {
+checkUnnamed1126(core.List<api.PermissionPermissionDetails> o) {
unittest.expect(o, unittest.hasLength(2));
checkPermissionPermissionDetails(o[0]);
checkPermissionPermissionDetails(o[1]);
}
-buildUnnamed1126() {
+buildUnnamed1127() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1126(core.List<core.String> o) {
+checkUnnamed1127(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2109,7 +2109,7 @@
var o = new api.PermissionTeamDrivePermissionDetails();
buildCounterPermissionTeamDrivePermissionDetails++;
if (buildCounterPermissionTeamDrivePermissionDetails < 3) {
- o.additionalRoles = buildUnnamed1126();
+ o.additionalRoles = buildUnnamed1127();
o.inherited = true;
o.inheritedFrom = "foo";
o.role = "foo";
@@ -2123,7 +2123,7 @@
api.PermissionTeamDrivePermissionDetails o) {
buildCounterPermissionTeamDrivePermissionDetails++;
if (buildCounterPermissionTeamDrivePermissionDetails < 3) {
- checkUnnamed1126(o.additionalRoles);
+ checkUnnamed1127(o.additionalRoles);
unittest.expect(o.inherited, unittest.isTrue);
unittest.expect(o.inheritedFrom, unittest.equals('foo'));
unittest.expect(o.role, unittest.equals('foo'));
@@ -2132,14 +2132,14 @@
buildCounterPermissionTeamDrivePermissionDetails--;
}
-buildUnnamed1127() {
+buildUnnamed1128() {
var o = new core.List<api.PermissionTeamDrivePermissionDetails>();
o.add(buildPermissionTeamDrivePermissionDetails());
o.add(buildPermissionTeamDrivePermissionDetails());
return o;
}
-checkUnnamed1127(core.List<api.PermissionTeamDrivePermissionDetails> o) {
+checkUnnamed1128(core.List<api.PermissionTeamDrivePermissionDetails> o) {
unittest.expect(o, unittest.hasLength(2));
checkPermissionTeamDrivePermissionDetails(o[0]);
checkPermissionTeamDrivePermissionDetails(o[1]);
@@ -2150,7 +2150,7 @@
var o = new api.Permission();
buildCounterPermission++;
if (buildCounterPermission < 3) {
- o.additionalRoles = buildUnnamed1123();
+ o.additionalRoles = buildUnnamed1124();
o.authKey = "foo";
o.deleted = true;
o.domain = "foo";
@@ -2160,11 +2160,11 @@
o.id = "foo";
o.kind = "foo";
o.name = "foo";
- o.permissionDetails = buildUnnamed1125();
+ o.permissionDetails = buildUnnamed1126();
o.photoLink = "foo";
o.role = "foo";
o.selfLink = "foo";
- o.teamDrivePermissionDetails = buildUnnamed1127();
+ o.teamDrivePermissionDetails = buildUnnamed1128();
o.type = "foo";
o.value = "foo";
o.view = "foo";
@@ -2177,7 +2177,7 @@
checkPermission(api.Permission o) {
buildCounterPermission++;
if (buildCounterPermission < 3) {
- checkUnnamed1123(o.additionalRoles);
+ checkUnnamed1124(o.additionalRoles);
unittest.expect(o.authKey, unittest.equals('foo'));
unittest.expect(o.deleted, unittest.isTrue);
unittest.expect(o.domain, unittest.equals('foo'));
@@ -2188,11 +2188,11 @@
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1125(o.permissionDetails);
+ checkUnnamed1126(o.permissionDetails);
unittest.expect(o.photoLink, unittest.equals('foo'));
unittest.expect(o.role, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
- checkUnnamed1127(o.teamDrivePermissionDetails);
+ checkUnnamed1128(o.teamDrivePermissionDetails);
unittest.expect(o.type, unittest.equals('foo'));
unittest.expect(o.value, unittest.equals('foo'));
unittest.expect(o.view, unittest.equals('foo'));
@@ -2222,14 +2222,14 @@
buildCounterPermissionId--;
}
-buildUnnamed1128() {
+buildUnnamed1129() {
var o = new core.List<api.Permission>();
o.add(buildPermission());
o.add(buildPermission());
return o;
}
-checkUnnamed1128(core.List<api.Permission> o) {
+checkUnnamed1129(core.List<api.Permission> o) {
unittest.expect(o, unittest.hasLength(2));
checkPermission(o[0]);
checkPermission(o[1]);
@@ -2241,7 +2241,7 @@
buildCounterPermissionList++;
if (buildCounterPermissionList < 3) {
o.etag = "foo";
- o.items = buildUnnamed1128();
+ o.items = buildUnnamed1129();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -2254,7 +2254,7 @@
buildCounterPermissionList++;
if (buildCounterPermissionList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1128(o.items);
+ checkUnnamed1129(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -2291,14 +2291,14 @@
buildCounterProperty--;
}
-buildUnnamed1129() {
+buildUnnamed1130() {
var o = new core.List<api.Property>();
o.add(buildProperty());
o.add(buildProperty());
return o;
}
-checkUnnamed1129(core.List<api.Property> o) {
+checkUnnamed1130(core.List<api.Property> o) {
unittest.expect(o, unittest.hasLength(2));
checkProperty(o[0]);
checkProperty(o[1]);
@@ -2310,7 +2310,7 @@
buildCounterPropertyList++;
if (buildCounterPropertyList < 3) {
o.etag = "foo";
- o.items = buildUnnamed1129();
+ o.items = buildUnnamed1130();
o.kind = "foo";
o.selfLink = "foo";
}
@@ -2322,21 +2322,21 @@
buildCounterPropertyList++;
if (buildCounterPropertyList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1129(o.items);
+ checkUnnamed1130(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
}
buildCounterPropertyList--;
}
-buildUnnamed1130() {
+buildUnnamed1131() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1130(core.Map<core.String, core.String> o) {
+checkUnnamed1131(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -2349,7 +2349,7 @@
if (buildCounterRevision < 3) {
o.downloadUrl = "foo";
o.etag = "foo";
- o.exportLinks = buildUnnamed1130();
+ o.exportLinks = buildUnnamed1131();
o.fileSize = "foo";
o.id = "foo";
o.kind = "foo";
@@ -2375,7 +2375,7 @@
if (buildCounterRevision < 3) {
unittest.expect(o.downloadUrl, unittest.equals('foo'));
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1130(o.exportLinks);
+ checkUnnamed1131(o.exportLinks);
unittest.expect(o.fileSize, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
@@ -2396,14 +2396,14 @@
buildCounterRevision--;
}
-buildUnnamed1131() {
+buildUnnamed1132() {
var o = new core.List<api.Revision>();
o.add(buildRevision());
o.add(buildRevision());
return o;
}
-checkUnnamed1131(core.List<api.Revision> o) {
+checkUnnamed1132(core.List<api.Revision> o) {
unittest.expect(o, unittest.hasLength(2));
checkRevision(o[0]);
checkRevision(o[1]);
@@ -2415,7 +2415,7 @@
buildCounterRevisionList++;
if (buildCounterRevisionList < 3) {
o.etag = "foo";
- o.items = buildUnnamed1131();
+ o.items = buildUnnamed1132();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -2428,7 +2428,7 @@
buildCounterRevisionList++;
if (buildCounterRevisionList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1131(o.items);
+ checkUnnamed1132(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -2601,14 +2601,14 @@
buildCounterTeamDrive--;
}
-buildUnnamed1132() {
+buildUnnamed1133() {
var o = new core.List<api.TeamDrive>();
o.add(buildTeamDrive());
o.add(buildTeamDrive());
return o;
}
-checkUnnamed1132(core.List<api.TeamDrive> o) {
+checkUnnamed1133(core.List<api.TeamDrive> o) {
unittest.expect(o, unittest.hasLength(2));
checkTeamDrive(o[0]);
checkTeamDrive(o[1]);
@@ -2619,7 +2619,7 @@
var o = new api.TeamDriveList();
buildCounterTeamDriveList++;
if (buildCounterTeamDriveList < 3) {
- o.items = buildUnnamed1132();
+ o.items = buildUnnamed1133();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -2630,7 +2630,7 @@
checkTeamDriveList(api.TeamDriveList o) {
buildCounterTeamDriveList++;
if (buildCounterTeamDriveList < 3) {
- checkUnnamed1132(o.items);
+ checkUnnamed1133(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
diff --git a/generated/googleapis/test/drive/v3_test.dart b/generated/googleapis/test/drive/v3_test.dart
index 04a77ef..1d93f0f 100644
--- a/generated/googleapis/test/drive/v3_test.dart
+++ b/generated/googleapis/test/drive/v3_test.dart
@@ -73,92 +73,92 @@
buildCounterAboutDriveThemes--;
}
-buildUnnamed4305() {
+buildUnnamed4312() {
var o = new core.List<api.AboutDriveThemes>();
o.add(buildAboutDriveThemes());
o.add(buildAboutDriveThemes());
return o;
}
-checkUnnamed4305(core.List<api.AboutDriveThemes> o) {
+checkUnnamed4312(core.List<api.AboutDriveThemes> o) {
unittest.expect(o, unittest.hasLength(2));
checkAboutDriveThemes(o[0]);
checkAboutDriveThemes(o[1]);
}
-buildUnnamed4306() {
+buildUnnamed4313() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4306(core.List<core.String> o) {
+checkUnnamed4313(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed4307() {
+buildUnnamed4314() {
var o = new core.Map<core.String, core.List<core.String>>();
- o["x"] = buildUnnamed4306();
- o["y"] = buildUnnamed4306();
+ o["x"] = buildUnnamed4313();
+ o["y"] = buildUnnamed4313();
return o;
}
-checkUnnamed4307(core.Map<core.String, core.List<core.String>> o) {
+checkUnnamed4314(core.Map<core.String, core.List<core.String>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed4306(o["x"]);
- checkUnnamed4306(o["y"]);
+ checkUnnamed4313(o["x"]);
+ checkUnnamed4313(o["y"]);
}
-buildUnnamed4308() {
+buildUnnamed4315() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4308(core.List<core.String> o) {
+checkUnnamed4315(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed4309() {
+buildUnnamed4316() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4309(core.List<core.String> o) {
+checkUnnamed4316(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed4310() {
+buildUnnamed4317() {
var o = new core.Map<core.String, core.List<core.String>>();
- o["x"] = buildUnnamed4309();
- o["y"] = buildUnnamed4309();
+ o["x"] = buildUnnamed4316();
+ o["y"] = buildUnnamed4316();
return o;
}
-checkUnnamed4310(core.Map<core.String, core.List<core.String>> o) {
+checkUnnamed4317(core.Map<core.String, core.List<core.String>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed4309(o["x"]);
- checkUnnamed4309(o["y"]);
+ checkUnnamed4316(o["x"]);
+ checkUnnamed4316(o["y"]);
}
-buildUnnamed4311() {
+buildUnnamed4318() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed4311(core.Map<core.String, core.String> o) {
+checkUnnamed4318(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -212,14 +212,14 @@
buildCounterAboutTeamDriveThemes--;
}
-buildUnnamed4312() {
+buildUnnamed4319() {
var o = new core.List<api.AboutTeamDriveThemes>();
o.add(buildAboutTeamDriveThemes());
o.add(buildAboutTeamDriveThemes());
return o;
}
-checkUnnamed4312(core.List<api.AboutTeamDriveThemes> o) {
+checkUnnamed4319(core.List<api.AboutTeamDriveThemes> o) {
unittest.expect(o, unittest.hasLength(2));
checkAboutTeamDriveThemes(o[0]);
checkAboutTeamDriveThemes(o[1]);
@@ -233,15 +233,15 @@
o.appInstalled = true;
o.canCreateDrives = true;
o.canCreateTeamDrives = true;
- o.driveThemes = buildUnnamed4305();
- o.exportFormats = buildUnnamed4307();
- o.folderColorPalette = buildUnnamed4308();
- o.importFormats = buildUnnamed4310();
+ o.driveThemes = buildUnnamed4312();
+ o.exportFormats = buildUnnamed4314();
+ o.folderColorPalette = buildUnnamed4315();
+ o.importFormats = buildUnnamed4317();
o.kind = "foo";
- o.maxImportSizes = buildUnnamed4311();
+ o.maxImportSizes = buildUnnamed4318();
o.maxUploadSize = "foo";
o.storageQuota = buildAboutStorageQuota();
- o.teamDriveThemes = buildUnnamed4312();
+ o.teamDriveThemes = buildUnnamed4319();
o.user = buildUser();
}
buildCounterAbout--;
@@ -254,15 +254,15 @@
unittest.expect(o.appInstalled, unittest.isTrue);
unittest.expect(o.canCreateDrives, unittest.isTrue);
unittest.expect(o.canCreateTeamDrives, unittest.isTrue);
- checkUnnamed4305(o.driveThemes);
- checkUnnamed4307(o.exportFormats);
- checkUnnamed4308(o.folderColorPalette);
- checkUnnamed4310(o.importFormats);
+ checkUnnamed4312(o.driveThemes);
+ checkUnnamed4314(o.exportFormats);
+ checkUnnamed4315(o.folderColorPalette);
+ checkUnnamed4317(o.importFormats);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed4311(o.maxImportSizes);
+ checkUnnamed4318(o.maxImportSizes);
unittest.expect(o.maxUploadSize, unittest.equals('foo'));
checkAboutStorageQuota(o.storageQuota);
- checkUnnamed4312(o.teamDriveThemes);
+ checkUnnamed4319(o.teamDriveThemes);
checkUser(o.user);
}
buildCounterAbout--;
@@ -308,14 +308,14 @@
buildCounterChange--;
}
-buildUnnamed4313() {
+buildUnnamed4320() {
var o = new core.List<api.Change>();
o.add(buildChange());
o.add(buildChange());
return o;
}
-checkUnnamed4313(core.List<api.Change> o) {
+checkUnnamed4320(core.List<api.Change> o) {
unittest.expect(o, unittest.hasLength(2));
checkChange(o[0]);
checkChange(o[1]);
@@ -326,7 +326,7 @@
var o = new api.ChangeList();
buildCounterChangeList++;
if (buildCounterChangeList < 3) {
- o.changes = buildUnnamed4313();
+ o.changes = buildUnnamed4320();
o.kind = "foo";
o.newStartPageToken = "foo";
o.nextPageToken = "foo";
@@ -338,7 +338,7 @@
checkChangeList(api.ChangeList o) {
buildCounterChangeList++;
if (buildCounterChangeList < 3) {
- checkUnnamed4313(o.changes);
+ checkUnnamed4320(o.changes);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.newStartPageToken, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
@@ -346,14 +346,14 @@
buildCounterChangeList--;
}
-buildUnnamed4314() {
+buildUnnamed4321() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed4314(core.Map<core.String, core.String> o) {
+checkUnnamed4321(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -368,7 +368,7 @@
o.expiration = "foo";
o.id = "foo";
o.kind = "foo";
- o.params = buildUnnamed4314();
+ o.params = buildUnnamed4321();
o.payload = true;
o.resourceId = "foo";
o.resourceUri = "foo";
@@ -386,7 +386,7 @@
unittest.expect(o.expiration, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed4314(o.params);
+ checkUnnamed4321(o.params);
unittest.expect(o.payload, unittest.isTrue);
unittest.expect(o.resourceId, unittest.equals('foo'));
unittest.expect(o.resourceUri, unittest.equals('foo'));
@@ -417,14 +417,14 @@
buildCounterCommentQuotedFileContent--;
}
-buildUnnamed4315() {
+buildUnnamed4322() {
var o = new core.List<api.Reply>();
o.add(buildReply());
o.add(buildReply());
return o;
}
-checkUnnamed4315(core.List<api.Reply> o) {
+checkUnnamed4322(core.List<api.Reply> o) {
unittest.expect(o, unittest.hasLength(2));
checkReply(o[0]);
checkReply(o[1]);
@@ -445,7 +445,7 @@
o.kind = "foo";
o.modifiedTime = core.DateTime.parse("2002-02-27T14:01:02");
o.quotedFileContent = buildCommentQuotedFileContent();
- o.replies = buildUnnamed4315();
+ o.replies = buildUnnamed4322();
o.resolved = true;
}
buildCounterComment--;
@@ -467,20 +467,20 @@
unittest.expect(o.modifiedTime,
unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
checkCommentQuotedFileContent(o.quotedFileContent);
- checkUnnamed4315(o.replies);
+ checkUnnamed4322(o.replies);
unittest.expect(o.resolved, unittest.isTrue);
}
buildCounterComment--;
}
-buildUnnamed4316() {
+buildUnnamed4323() {
var o = new core.List<api.Comment>();
o.add(buildComment());
o.add(buildComment());
return o;
}
-checkUnnamed4316(core.List<api.Comment> o) {
+checkUnnamed4323(core.List<api.Comment> o) {
unittest.expect(o, unittest.hasLength(2));
checkComment(o[0]);
checkComment(o[1]);
@@ -491,7 +491,7 @@
var o = new api.CommentList();
buildCounterCommentList++;
if (buildCounterCommentList < 3) {
- o.comments = buildUnnamed4316();
+ o.comments = buildUnnamed4323();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -502,7 +502,7 @@
checkCommentList(api.CommentList o) {
buildCounterCommentList++;
if (buildCounterCommentList < 3) {
- checkUnnamed4316(o.comments);
+ checkUnnamed4323(o.comments);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -681,14 +681,14 @@
buildCounterDrive--;
}
-buildUnnamed4317() {
+buildUnnamed4324() {
var o = new core.List<api.Drive>();
o.add(buildDrive());
o.add(buildDrive());
return o;
}
-checkUnnamed4317(core.List<api.Drive> o) {
+checkUnnamed4324(core.List<api.Drive> o) {
unittest.expect(o, unittest.hasLength(2));
checkDrive(o[0]);
checkDrive(o[1]);
@@ -699,7 +699,7 @@
var o = new api.DriveList();
buildCounterDriveList++;
if (buildCounterDriveList < 3) {
- o.drives = buildUnnamed4317();
+ o.drives = buildUnnamed4324();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -710,21 +710,21 @@
checkDriveList(api.DriveList o) {
buildCounterDriveList++;
if (buildCounterDriveList < 3) {
- checkUnnamed4317(o.drives);
+ checkUnnamed4324(o.drives);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterDriveList--;
}
-buildUnnamed4318() {
+buildUnnamed4325() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed4318(core.Map<core.String, core.String> o) {
+checkUnnamed4325(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -857,27 +857,27 @@
buildCounterFileContentHints--;
}
-buildUnnamed4319() {
+buildUnnamed4326() {
var o = new core.List<api.ContentRestriction>();
o.add(buildContentRestriction());
o.add(buildContentRestriction());
return o;
}
-checkUnnamed4319(core.List<api.ContentRestriction> o) {
+checkUnnamed4326(core.List<api.ContentRestriction> o) {
unittest.expect(o, unittest.hasLength(2));
checkContentRestriction(o[0]);
checkContentRestriction(o[1]);
}
-buildUnnamed4320() {
+buildUnnamed4327() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed4320(core.Map<core.String, core.String> o) {
+checkUnnamed4327(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -965,66 +965,66 @@
buildCounterFileImageMediaMetadata--;
}
-buildUnnamed4321() {
+buildUnnamed4328() {
var o = new core.List<api.User>();
o.add(buildUser());
o.add(buildUser());
return o;
}
-checkUnnamed4321(core.List<api.User> o) {
+checkUnnamed4328(core.List<api.User> o) {
unittest.expect(o, unittest.hasLength(2));
checkUser(o[0]);
checkUser(o[1]);
}
-buildUnnamed4322() {
+buildUnnamed4329() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4322(core.List<core.String> o) {
+checkUnnamed4329(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed4323() {
+buildUnnamed4330() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4323(core.List<core.String> o) {
+checkUnnamed4330(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed4324() {
+buildUnnamed4331() {
var o = new core.List<api.Permission>();
o.add(buildPermission());
o.add(buildPermission());
return o;
}
-checkUnnamed4324(core.List<api.Permission> o) {
+checkUnnamed4331(core.List<api.Permission> o) {
unittest.expect(o, unittest.hasLength(2));
checkPermission(o[0]);
checkPermission(o[1]);
}
-buildUnnamed4325() {
+buildUnnamed4332() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed4325(core.Map<core.String, core.String> o) {
+checkUnnamed4332(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -1051,14 +1051,14 @@
buildCounterFileShortcutDetails--;
}
-buildUnnamed4326() {
+buildUnnamed4333() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4326(core.List<core.String> o) {
+checkUnnamed4333(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1092,16 +1092,16 @@
var o = new api.File();
buildCounterFile++;
if (buildCounterFile < 3) {
- o.appProperties = buildUnnamed4318();
+ o.appProperties = buildUnnamed4325();
o.capabilities = buildFileCapabilities();
o.contentHints = buildFileContentHints();
- o.contentRestrictions = buildUnnamed4319();
+ o.contentRestrictions = buildUnnamed4326();
o.copyRequiresWriterPermission = true;
o.createdTime = core.DateTime.parse("2002-02-27T14:01:02");
o.description = "foo";
o.driveId = "foo";
o.explicitlyTrashed = true;
- o.exportLinks = buildUnnamed4320();
+ o.exportLinks = buildUnnamed4327();
o.fileExtension = "foo";
o.folderColorRgb = "foo";
o.fullFileExtension = "foo";
@@ -1122,18 +1122,18 @@
o.name = "foo";
o.originalFilename = "foo";
o.ownedByMe = true;
- o.owners = buildUnnamed4321();
- o.parents = buildUnnamed4322();
- o.permissionIds = buildUnnamed4323();
- o.permissions = buildUnnamed4324();
- o.properties = buildUnnamed4325();
+ o.owners = buildUnnamed4328();
+ o.parents = buildUnnamed4329();
+ o.permissionIds = buildUnnamed4330();
+ o.permissions = buildUnnamed4331();
+ o.properties = buildUnnamed4332();
o.quotaBytesUsed = "foo";
o.shared = true;
o.sharedWithMeTime = core.DateTime.parse("2002-02-27T14:01:02");
o.sharingUser = buildUser();
o.shortcutDetails = buildFileShortcutDetails();
o.size = "foo";
- o.spaces = buildUnnamed4326();
+ o.spaces = buildUnnamed4333();
o.starred = true;
o.teamDriveId = "foo";
o.thumbnailLink = "foo";
@@ -1157,17 +1157,17 @@
checkFile(api.File o) {
buildCounterFile++;
if (buildCounterFile < 3) {
- checkUnnamed4318(o.appProperties);
+ checkUnnamed4325(o.appProperties);
checkFileCapabilities(o.capabilities);
checkFileContentHints(o.contentHints);
- checkUnnamed4319(o.contentRestrictions);
+ checkUnnamed4326(o.contentRestrictions);
unittest.expect(o.copyRequiresWriterPermission, unittest.isTrue);
unittest.expect(o.createdTime,
unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.driveId, unittest.equals('foo'));
unittest.expect(o.explicitlyTrashed, unittest.isTrue);
- checkUnnamed4320(o.exportLinks);
+ checkUnnamed4327(o.exportLinks);
unittest.expect(o.fileExtension, unittest.equals('foo'));
unittest.expect(o.folderColorRgb, unittest.equals('foo'));
unittest.expect(o.fullFileExtension, unittest.equals('foo'));
@@ -1190,11 +1190,11 @@
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.originalFilename, unittest.equals('foo'));
unittest.expect(o.ownedByMe, unittest.isTrue);
- checkUnnamed4321(o.owners);
- checkUnnamed4322(o.parents);
- checkUnnamed4323(o.permissionIds);
- checkUnnamed4324(o.permissions);
- checkUnnamed4325(o.properties);
+ checkUnnamed4328(o.owners);
+ checkUnnamed4329(o.parents);
+ checkUnnamed4330(o.permissionIds);
+ checkUnnamed4331(o.permissions);
+ checkUnnamed4332(o.properties);
unittest.expect(o.quotaBytesUsed, unittest.equals('foo'));
unittest.expect(o.shared, unittest.isTrue);
unittest.expect(o.sharedWithMeTime,
@@ -1202,7 +1202,7 @@
checkUser(o.sharingUser);
checkFileShortcutDetails(o.shortcutDetails);
unittest.expect(o.size, unittest.equals('foo'));
- checkUnnamed4326(o.spaces);
+ checkUnnamed4333(o.spaces);
unittest.expect(o.starred, unittest.isTrue);
unittest.expect(o.teamDriveId, unittest.equals('foo'));
unittest.expect(o.thumbnailLink, unittest.equals('foo'));
@@ -1224,14 +1224,14 @@
buildCounterFile--;
}
-buildUnnamed4327() {
+buildUnnamed4334() {
var o = new core.List<api.File>();
o.add(buildFile());
o.add(buildFile());
return o;
}
-checkUnnamed4327(core.List<api.File> o) {
+checkUnnamed4334(core.List<api.File> o) {
unittest.expect(o, unittest.hasLength(2));
checkFile(o[0]);
checkFile(o[1]);
@@ -1242,7 +1242,7 @@
var o = new api.FileList();
buildCounterFileList++;
if (buildCounterFileList < 3) {
- o.files = buildUnnamed4327();
+ o.files = buildUnnamed4334();
o.incompleteSearch = true;
o.kind = "foo";
o.nextPageToken = "foo";
@@ -1254,7 +1254,7 @@
checkFileList(api.FileList o) {
buildCounterFileList++;
if (buildCounterFileList < 3) {
- checkUnnamed4327(o.files);
+ checkUnnamed4334(o.files);
unittest.expect(o.incompleteSearch, unittest.isTrue);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
@@ -1262,14 +1262,14 @@
buildCounterFileList--;
}
-buildUnnamed4328() {
+buildUnnamed4335() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4328(core.List<core.String> o) {
+checkUnnamed4335(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1280,7 +1280,7 @@
var o = new api.GeneratedIds();
buildCounterGeneratedIds++;
if (buildCounterGeneratedIds < 3) {
- o.ids = buildUnnamed4328();
+ o.ids = buildUnnamed4335();
o.kind = "foo";
o.space = "foo";
}
@@ -1291,7 +1291,7 @@
checkGeneratedIds(api.GeneratedIds o) {
buildCounterGeneratedIds++;
if (buildCounterGeneratedIds < 3) {
- checkUnnamed4328(o.ids);
+ checkUnnamed4335(o.ids);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.space, unittest.equals('foo'));
}
@@ -1323,14 +1323,14 @@
buildCounterPermissionPermissionDetails--;
}
-buildUnnamed4329() {
+buildUnnamed4336() {
var o = new core.List<api.PermissionPermissionDetails>();
o.add(buildPermissionPermissionDetails());
o.add(buildPermissionPermissionDetails());
return o;
}
-checkUnnamed4329(core.List<api.PermissionPermissionDetails> o) {
+checkUnnamed4336(core.List<api.PermissionPermissionDetails> o) {
unittest.expect(o, unittest.hasLength(2));
checkPermissionPermissionDetails(o[0]);
checkPermissionPermissionDetails(o[1]);
@@ -1362,14 +1362,14 @@
buildCounterPermissionTeamDrivePermissionDetails--;
}
-buildUnnamed4330() {
+buildUnnamed4337() {
var o = new core.List<api.PermissionTeamDrivePermissionDetails>();
o.add(buildPermissionTeamDrivePermissionDetails());
o.add(buildPermissionTeamDrivePermissionDetails());
return o;
}
-checkUnnamed4330(core.List<api.PermissionTeamDrivePermissionDetails> o) {
+checkUnnamed4337(core.List<api.PermissionTeamDrivePermissionDetails> o) {
unittest.expect(o, unittest.hasLength(2));
checkPermissionTeamDrivePermissionDetails(o[0]);
checkPermissionTeamDrivePermissionDetails(o[1]);
@@ -1388,10 +1388,10 @@
o.expirationTime = core.DateTime.parse("2002-02-27T14:01:02");
o.id = "foo";
o.kind = "foo";
- o.permissionDetails = buildUnnamed4329();
+ o.permissionDetails = buildUnnamed4336();
o.photoLink = "foo";
o.role = "foo";
- o.teamDrivePermissionDetails = buildUnnamed4330();
+ o.teamDrivePermissionDetails = buildUnnamed4337();
o.type = "foo";
o.view = "foo";
}
@@ -1411,24 +1411,24 @@
unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed4329(o.permissionDetails);
+ checkUnnamed4336(o.permissionDetails);
unittest.expect(o.photoLink, unittest.equals('foo'));
unittest.expect(o.role, unittest.equals('foo'));
- checkUnnamed4330(o.teamDrivePermissionDetails);
+ checkUnnamed4337(o.teamDrivePermissionDetails);
unittest.expect(o.type, unittest.equals('foo'));
unittest.expect(o.view, unittest.equals('foo'));
}
buildCounterPermission--;
}
-buildUnnamed4331() {
+buildUnnamed4338() {
var o = new core.List<api.Permission>();
o.add(buildPermission());
o.add(buildPermission());
return o;
}
-checkUnnamed4331(core.List<api.Permission> o) {
+checkUnnamed4338(core.List<api.Permission> o) {
unittest.expect(o, unittest.hasLength(2));
checkPermission(o[0]);
checkPermission(o[1]);
@@ -1441,7 +1441,7 @@
if (buildCounterPermissionList < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.permissions = buildUnnamed4331();
+ o.permissions = buildUnnamed4338();
}
buildCounterPermissionList--;
return o;
@@ -1452,7 +1452,7 @@
if (buildCounterPermissionList < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed4331(o.permissions);
+ checkUnnamed4338(o.permissions);
}
buildCounterPermissionList--;
}
@@ -1494,14 +1494,14 @@
buildCounterReply--;
}
-buildUnnamed4332() {
+buildUnnamed4339() {
var o = new core.List<api.Reply>();
o.add(buildReply());
o.add(buildReply());
return o;
}
-checkUnnamed4332(core.List<api.Reply> o) {
+checkUnnamed4339(core.List<api.Reply> o) {
unittest.expect(o, unittest.hasLength(2));
checkReply(o[0]);
checkReply(o[1]);
@@ -1514,7 +1514,7 @@
if (buildCounterReplyList < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.replies = buildUnnamed4332();
+ o.replies = buildUnnamed4339();
}
buildCounterReplyList--;
return o;
@@ -1525,19 +1525,19 @@
if (buildCounterReplyList < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed4332(o.replies);
+ checkUnnamed4339(o.replies);
}
buildCounterReplyList--;
}
-buildUnnamed4333() {
+buildUnnamed4340() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed4333(core.Map<core.String, core.String> o) {
+checkUnnamed4340(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -1548,7 +1548,7 @@
var o = new api.Revision();
buildCounterRevision++;
if (buildCounterRevision < 3) {
- o.exportLinks = buildUnnamed4333();
+ o.exportLinks = buildUnnamed4340();
o.id = "foo";
o.keepForever = true;
o.kind = "foo";
@@ -1570,7 +1570,7 @@
checkRevision(api.Revision o) {
buildCounterRevision++;
if (buildCounterRevision < 3) {
- checkUnnamed4333(o.exportLinks);
+ checkUnnamed4340(o.exportLinks);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.keepForever, unittest.isTrue);
unittest.expect(o.kind, unittest.equals('foo'));
@@ -1589,14 +1589,14 @@
buildCounterRevision--;
}
-buildUnnamed4334() {
+buildUnnamed4341() {
var o = new core.List<api.Revision>();
o.add(buildRevision());
o.add(buildRevision());
return o;
}
-checkUnnamed4334(core.List<api.Revision> o) {
+checkUnnamed4341(core.List<api.Revision> o) {
unittest.expect(o, unittest.hasLength(2));
checkRevision(o[0]);
checkRevision(o[1]);
@@ -1609,7 +1609,7 @@
if (buildCounterRevisionList < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.revisions = buildUnnamed4334();
+ o.revisions = buildUnnamed4341();
}
buildCounterRevisionList--;
return o;
@@ -1620,7 +1620,7 @@
if (buildCounterRevisionList < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed4334(o.revisions);
+ checkUnnamed4341(o.revisions);
}
buildCounterRevisionList--;
}
@@ -1790,14 +1790,14 @@
buildCounterTeamDrive--;
}
-buildUnnamed4335() {
+buildUnnamed4342() {
var o = new core.List<api.TeamDrive>();
o.add(buildTeamDrive());
o.add(buildTeamDrive());
return o;
}
-checkUnnamed4335(core.List<api.TeamDrive> o) {
+checkUnnamed4342(core.List<api.TeamDrive> o) {
unittest.expect(o, unittest.hasLength(2));
checkTeamDrive(o[0]);
checkTeamDrive(o[1]);
@@ -1810,7 +1810,7 @@
if (buildCounterTeamDriveList < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.teamDrives = buildUnnamed4335();
+ o.teamDrives = buildUnnamed4342();
}
buildCounterTeamDriveList--;
return o;
@@ -1821,7 +1821,7 @@
if (buildCounterTeamDriveList < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed4335(o.teamDrives);
+ checkUnnamed4342(o.teamDrives);
}
buildCounterTeamDriveList--;
}
diff --git a/generated/googleapis/test/driveactivity/v2_test.dart b/generated/googleapis/test/driveactivity/v2_test.dart
index c3dfc75..8bbd4be 100644
--- a/generated/googleapis/test/driveactivity/v2_test.dart
+++ b/generated/googleapis/test/driveactivity/v2_test.dart
@@ -228,14 +228,14 @@
buildCounterAssignment--;
}
-buildUnnamed4101() {
+buildUnnamed4108() {
var o = new core.List<api.User>();
o.add(buildUser());
o.add(buildUser());
return o;
}
-checkUnnamed4101(core.List<api.User> o) {
+checkUnnamed4108(core.List<api.User> o) {
unittest.expect(o, unittest.hasLength(2));
checkUser(o[0]);
checkUser(o[1]);
@@ -247,7 +247,7 @@
buildCounterComment++;
if (buildCounterComment < 3) {
o.assignment = buildAssignment();
- o.mentionedUsers = buildUnnamed4101();
+ o.mentionedUsers = buildUnnamed4108();
o.post = buildPost();
o.suggestion = buildSuggestion();
}
@@ -259,7 +259,7 @@
buildCounterComment++;
if (buildCounterComment < 3) {
checkAssignment(o.assignment);
- checkUnnamed4101(o.mentionedUsers);
+ checkUnnamed4108(o.mentionedUsers);
checkPost(o.post);
checkSuggestion(o.suggestion);
}
@@ -426,40 +426,40 @@
buildCounterDrive--;
}
-buildUnnamed4102() {
+buildUnnamed4109() {
var o = new core.List<api.Action>();
o.add(buildAction());
o.add(buildAction());
return o;
}
-checkUnnamed4102(core.List<api.Action> o) {
+checkUnnamed4109(core.List<api.Action> o) {
unittest.expect(o, unittest.hasLength(2));
checkAction(o[0]);
checkAction(o[1]);
}
-buildUnnamed4103() {
+buildUnnamed4110() {
var o = new core.List<api.Actor>();
o.add(buildActor());
o.add(buildActor());
return o;
}
-checkUnnamed4103(core.List<api.Actor> o) {
+checkUnnamed4110(core.List<api.Actor> o) {
unittest.expect(o, unittest.hasLength(2));
checkActor(o[0]);
checkActor(o[1]);
}
-buildUnnamed4104() {
+buildUnnamed4111() {
var o = new core.List<api.Target>();
o.add(buildTarget());
o.add(buildTarget());
return o;
}
-checkUnnamed4104(core.List<api.Target> o) {
+checkUnnamed4111(core.List<api.Target> o) {
unittest.expect(o, unittest.hasLength(2));
checkTarget(o[0]);
checkTarget(o[1]);
@@ -470,10 +470,10 @@
var o = new api.DriveActivity();
buildCounterDriveActivity++;
if (buildCounterDriveActivity < 3) {
- o.actions = buildUnnamed4102();
- o.actors = buildUnnamed4103();
+ o.actions = buildUnnamed4109();
+ o.actors = buildUnnamed4110();
o.primaryActionDetail = buildActionDetail();
- o.targets = buildUnnamed4104();
+ o.targets = buildUnnamed4111();
o.timeRange = buildTimeRange();
o.timestamp = "foo";
}
@@ -484,10 +484,10 @@
checkDriveActivity(api.DriveActivity o) {
buildCounterDriveActivity++;
if (buildCounterDriveActivity < 3) {
- checkUnnamed4102(o.actions);
- checkUnnamed4103(o.actors);
+ checkUnnamed4109(o.actions);
+ checkUnnamed4110(o.actors);
checkActionDetail(o.primaryActionDetail);
- checkUnnamed4104(o.targets);
+ checkUnnamed4111(o.targets);
checkTimeRange(o.timeRange);
unittest.expect(o.timestamp, unittest.equals('foo'));
}
@@ -761,27 +761,27 @@
buildCounterLegacy--;
}
-buildUnnamed4105() {
+buildUnnamed4112() {
var o = new core.List<api.TargetReference>();
o.add(buildTargetReference());
o.add(buildTargetReference());
return o;
}
-checkUnnamed4105(core.List<api.TargetReference> o) {
+checkUnnamed4112(core.List<api.TargetReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetReference(o[0]);
checkTargetReference(o[1]);
}
-buildUnnamed4106() {
+buildUnnamed4113() {
var o = new core.List<api.TargetReference>();
o.add(buildTargetReference());
o.add(buildTargetReference());
return o;
}
-checkUnnamed4106(core.List<api.TargetReference> o) {
+checkUnnamed4113(core.List<api.TargetReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkTargetReference(o[0]);
checkTargetReference(o[1]);
@@ -792,8 +792,8 @@
var o = new api.Move();
buildCounterMove++;
if (buildCounterMove < 3) {
- o.addedParents = buildUnnamed4105();
- o.removedParents = buildUnnamed4106();
+ o.addedParents = buildUnnamed4112();
+ o.removedParents = buildUnnamed4113();
}
buildCounterMove--;
return o;
@@ -802,8 +802,8 @@
checkMove(api.Move o) {
buildCounterMove++;
if (buildCounterMove < 3) {
- checkUnnamed4105(o.addedParents);
- checkUnnamed4106(o.removedParents);
+ checkUnnamed4112(o.addedParents);
+ checkUnnamed4113(o.removedParents);
}
buildCounterMove--;
}
@@ -892,27 +892,27 @@
buildCounterPermission--;
}
-buildUnnamed4107() {
+buildUnnamed4114() {
var o = new core.List<api.Permission>();
o.add(buildPermission());
o.add(buildPermission());
return o;
}
-checkUnnamed4107(core.List<api.Permission> o) {
+checkUnnamed4114(core.List<api.Permission> o) {
unittest.expect(o, unittest.hasLength(2));
checkPermission(o[0]);
checkPermission(o[1]);
}
-buildUnnamed4108() {
+buildUnnamed4115() {
var o = new core.List<api.Permission>();
o.add(buildPermission());
o.add(buildPermission());
return o;
}
-checkUnnamed4108(core.List<api.Permission> o) {
+checkUnnamed4115(core.List<api.Permission> o) {
unittest.expect(o, unittest.hasLength(2));
checkPermission(o[0]);
checkPermission(o[1]);
@@ -923,8 +923,8 @@
var o = new api.PermissionChange();
buildCounterPermissionChange++;
if (buildCounterPermissionChange < 3) {
- o.addedPermissions = buildUnnamed4107();
- o.removedPermissions = buildUnnamed4108();
+ o.addedPermissions = buildUnnamed4114();
+ o.removedPermissions = buildUnnamed4115();
}
buildCounterPermissionChange--;
return o;
@@ -933,8 +933,8 @@
checkPermissionChange(api.PermissionChange o) {
buildCounterPermissionChange++;
if (buildCounterPermissionChange < 3) {
- checkUnnamed4107(o.addedPermissions);
- checkUnnamed4108(o.removedPermissions);
+ checkUnnamed4114(o.addedPermissions);
+ checkUnnamed4115(o.removedPermissions);
}
buildCounterPermissionChange--;
}
@@ -987,14 +987,14 @@
buildCounterQueryDriveActivityRequest--;
}
-buildUnnamed4109() {
+buildUnnamed4116() {
var o = new core.List<api.DriveActivity>();
o.add(buildDriveActivity());
o.add(buildDriveActivity());
return o;
}
-checkUnnamed4109(core.List<api.DriveActivity> o) {
+checkUnnamed4116(core.List<api.DriveActivity> o) {
unittest.expect(o, unittest.hasLength(2));
checkDriveActivity(o[0]);
checkDriveActivity(o[1]);
@@ -1005,7 +1005,7 @@
var o = new api.QueryDriveActivityResponse();
buildCounterQueryDriveActivityResponse++;
if (buildCounterQueryDriveActivityResponse < 3) {
- o.activities = buildUnnamed4109();
+ o.activities = buildUnnamed4116();
o.nextPageToken = "foo";
}
buildCounterQueryDriveActivityResponse--;
@@ -1015,7 +1015,7 @@
checkQueryDriveActivityResponse(api.QueryDriveActivityResponse o) {
buildCounterQueryDriveActivityResponse++;
if (buildCounterQueryDriveActivityResponse < 3) {
- checkUnnamed4109(o.activities);
+ checkUnnamed4116(o.activities);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterQueryDriveActivityResponse--;
@@ -1082,14 +1082,14 @@
buildCounterRestrictionChange--;
}
-buildUnnamed4110() {
+buildUnnamed4117() {
var o = new core.List<api.RestrictionChange>();
o.add(buildRestrictionChange());
o.add(buildRestrictionChange());
return o;
}
-checkUnnamed4110(core.List<api.RestrictionChange> o) {
+checkUnnamed4117(core.List<api.RestrictionChange> o) {
unittest.expect(o, unittest.hasLength(2));
checkRestrictionChange(o[0]);
checkRestrictionChange(o[1]);
@@ -1100,7 +1100,7 @@
var o = new api.SettingsChange();
buildCounterSettingsChange++;
if (buildCounterSettingsChange < 3) {
- o.restrictionChanges = buildUnnamed4110();
+ o.restrictionChanges = buildUnnamed4117();
}
buildCounterSettingsChange--;
return o;
@@ -1109,7 +1109,7 @@
checkSettingsChange(api.SettingsChange o) {
buildCounterSettingsChange++;
if (buildCounterSettingsChange < 3) {
- checkUnnamed4110(o.restrictionChanges);
+ checkUnnamed4117(o.restrictionChanges);
}
buildCounterSettingsChange--;
}
diff --git a/generated/googleapis/test/file/v1_test.dart b/generated/googleapis/test/file/v1_test.dart
index 53cb6e6..0d4715c 100644
--- a/generated/googleapis/test/file/v1_test.dart
+++ b/generated/googleapis/test/file/v1_test.dart
@@ -101,83 +101,17 @@
buildCounterFileShareConfig--;
}
-buildUnnamed2493() {
- var o = new core.Map<core.String, core.String>();
- o["x"] = "foo";
- o["y"] = "foo";
- return o;
-}
-
-checkUnnamed2493(core.Map<core.String, core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o["x"], unittest.equals('foo'));
- unittest.expect(o["y"], unittest.equals('foo'));
-}
-
-buildUnnamed2494() {
- var o = new core.Map<core.String, core.String>();
- o["x"] = "foo";
- o["y"] = "foo";
- return o;
-}
-
-checkUnnamed2494(core.Map<core.String, core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o["x"], unittest.equals('foo'));
- unittest.expect(o["y"], unittest.equals('foo'));
-}
-
-buildUnnamed2495() {
- var o = new core.Map<core.String,
- api.GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule>();
- o["x"] =
- buildGoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule();
- o["y"] =
- buildGoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule();
- return o;
-}
-
-checkUnnamed2495(
- core.Map<core.String,
- api.GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule>
- o) {
- unittest.expect(o, unittest.hasLength(2));
- checkGoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule(
- o["x"]);
- checkGoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule(
- o["y"]);
-}
-
-buildUnnamed2496() {
- var o = new core.Map<core.String, core.String>();
- o["x"] = "foo";
- o["y"] = "foo";
- return o;
-}
-
-checkUnnamed2496(core.Map<core.String, core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o["x"], unittest.equals('foo'));
- unittest.expect(o["y"], unittest.equals('foo'));
-}
-
buildUnnamed2497() {
- var o = new core.List<
- api.GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource>();
- o.add(
- buildGoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource());
- o.add(
- buildGoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource());
+ var o = new core.Map<core.String, core.String>();
+ o["x"] = "foo";
+ o["y"] = "foo";
return o;
}
-checkUnnamed2497(
- core.List<
- api.GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource>
- o) {
+checkUnnamed2497(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
- checkGoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource(o[0]);
- checkGoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource(o[1]);
+ unittest.expect(o["x"], unittest.equals('foo'));
+ unittest.expect(o["y"], unittest.equals('foo'));
}
buildUnnamed2498() {
@@ -193,6 +127,72 @@
unittest.expect(o["y"], unittest.equals('foo'));
}
+buildUnnamed2499() {
+ var o = new core.Map<core.String,
+ api.GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule>();
+ o["x"] =
+ buildGoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule();
+ o["y"] =
+ buildGoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule();
+ return o;
+}
+
+checkUnnamed2499(
+ core.Map<core.String,
+ api.GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule>
+ o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkGoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule(
+ o["x"]);
+ checkGoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule(
+ o["y"]);
+}
+
+buildUnnamed2500() {
+ var o = new core.Map<core.String, core.String>();
+ o["x"] = "foo";
+ o["y"] = "foo";
+ return o;
+}
+
+checkUnnamed2500(core.Map<core.String, core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o["x"], unittest.equals('foo'));
+ unittest.expect(o["y"], unittest.equals('foo'));
+}
+
+buildUnnamed2501() {
+ var o = new core.List<
+ api.GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource>();
+ o.add(
+ buildGoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource());
+ o.add(
+ buildGoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource());
+ return o;
+}
+
+checkUnnamed2501(
+ core.List<
+ api.GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource>
+ o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkGoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource(o[0]);
+ checkGoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource(o[1]);
+}
+
+buildUnnamed2502() {
+ var o = new core.Map<core.String, core.String>();
+ o["x"] = "foo";
+ o["y"] = "foo";
+ return o;
+}
+
+checkUnnamed2502(core.Map<core.String, core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o["x"], unittest.equals('foo'));
+ unittest.expect(o["y"], unittest.equals('foo'));
+}
+
core.int buildCounterGoogleCloudSaasacceleratorManagementProvidersV1Instance =
0;
buildGoogleCloudSaasacceleratorManagementProvidersV1Instance() {
@@ -201,18 +201,18 @@
if (buildCounterGoogleCloudSaasacceleratorManagementProvidersV1Instance < 3) {
o.consumerDefinedName = "foo";
o.createTime = "foo";
- o.labels = buildUnnamed2493();
- o.maintenancePolicyNames = buildUnnamed2494();
- o.maintenanceSchedules = buildUnnamed2495();
+ o.labels = buildUnnamed2497();
+ o.maintenancePolicyNames = buildUnnamed2498();
+ o.maintenanceSchedules = buildUnnamed2499();
o.maintenanceSettings =
buildGoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings();
o.name = "foo";
- o.producerMetadata = buildUnnamed2496();
- o.provisionedResources = buildUnnamed2497();
+ o.producerMetadata = buildUnnamed2500();
+ o.provisionedResources = buildUnnamed2501();
o.slmInstanceTemplate = "foo";
o.sloMetadata =
buildGoogleCloudSaasacceleratorManagementProvidersV1SloMetadata();
- o.softwareVersions = buildUnnamed2498();
+ o.softwareVersions = buildUnnamed2502();
o.state = "foo";
o.tenantProjectId = "foo";
o.updateTime = "foo";
@@ -227,18 +227,18 @@
if (buildCounterGoogleCloudSaasacceleratorManagementProvidersV1Instance < 3) {
unittest.expect(o.consumerDefinedName, unittest.equals('foo'));
unittest.expect(o.createTime, unittest.equals('foo'));
- checkUnnamed2493(o.labels);
- checkUnnamed2494(o.maintenancePolicyNames);
- checkUnnamed2495(o.maintenanceSchedules);
+ checkUnnamed2497(o.labels);
+ checkUnnamed2498(o.maintenancePolicyNames);
+ checkUnnamed2499(o.maintenanceSchedules);
checkGoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings(
o.maintenanceSettings);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2496(o.producerMetadata);
- checkUnnamed2497(o.provisionedResources);
+ checkUnnamed2500(o.producerMetadata);
+ checkUnnamed2501(o.provisionedResources);
unittest.expect(o.slmInstanceTemplate, unittest.equals('foo'));
checkGoogleCloudSaasacceleratorManagementProvidersV1SloMetadata(
o.sloMetadata);
- checkUnnamed2498(o.softwareVersions);
+ checkUnnamed2502(o.softwareVersions);
unittest.expect(o.state, unittest.equals('foo'));
unittest.expect(o.tenantProjectId, unittest.equals('foo'));
unittest.expect(o.updateTime, unittest.equals('foo'));
@@ -302,7 +302,7 @@
buildCounterGoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings--;
}
-buildUnnamed2499() {
+buildUnnamed2503() {
var o = new core
.List<api.GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion>();
o.add(buildGoogleCloudSaasacceleratorManagementProvidersV1SloExclusion());
@@ -310,7 +310,7 @@
return o;
}
-checkUnnamed2499(
+checkUnnamed2503(
core.List<api.GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion>
o) {
unittest.expect(o, unittest.hasLength(2));
@@ -327,7 +327,7 @@
buildCounterGoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata++;
if (buildCounterGoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata <
3) {
- o.exclusions = buildUnnamed2499();
+ o.exclusions = buildUnnamed2503();
o.location = "foo";
o.nodeId = "foo";
}
@@ -340,7 +340,7 @@
buildCounterGoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata++;
if (buildCounterGoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata <
3) {
- checkUnnamed2499(o.exclusions);
+ checkUnnamed2503(o.exclusions);
unittest.expect(o.location, unittest.equals('foo'));
unittest.expect(o.nodeId, unittest.equals('foo'));
}
@@ -430,7 +430,7 @@
buildCounterGoogleCloudSaasacceleratorManagementProvidersV1SloExclusion--;
}
-buildUnnamed2500() {
+buildUnnamed2504() {
var o = new core
.List<api.GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion>();
o.add(buildGoogleCloudSaasacceleratorManagementProvidersV1SloExclusion());
@@ -438,7 +438,7 @@
return o;
}
-checkUnnamed2500(
+checkUnnamed2504(
core.List<api.GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion>
o) {
unittest.expect(o, unittest.hasLength(2));
@@ -446,7 +446,7 @@
checkGoogleCloudSaasacceleratorManagementProvidersV1SloExclusion(o[1]);
}
-buildUnnamed2501() {
+buildUnnamed2505() {
var o = new core.List<
api.GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata>();
o.add(buildGoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata());
@@ -454,7 +454,7 @@
return o;
}
-checkUnnamed2501(
+checkUnnamed2505(
core.List<
api.GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata>
o) {
@@ -472,8 +472,8 @@
3) {
o.eligibility =
buildGoogleCloudSaasacceleratorManagementProvidersV1SloEligibility();
- o.exclusions = buildUnnamed2500();
- o.nodes = buildUnnamed2501();
+ o.exclusions = buildUnnamed2504();
+ o.nodes = buildUnnamed2505();
o.tier = "foo";
}
buildCounterGoogleCloudSaasacceleratorManagementProvidersV1SloMetadata--;
@@ -487,47 +487,47 @@
3) {
checkGoogleCloudSaasacceleratorManagementProvidersV1SloEligibility(
o.eligibility);
- checkUnnamed2500(o.exclusions);
- checkUnnamed2501(o.nodes);
+ checkUnnamed2504(o.exclusions);
+ checkUnnamed2505(o.nodes);
unittest.expect(o.tier, unittest.equals('foo'));
}
buildCounterGoogleCloudSaasacceleratorManagementProvidersV1SloMetadata--;
}
-buildUnnamed2502() {
+buildUnnamed2506() {
var o = new core.List<api.FileShareConfig>();
o.add(buildFileShareConfig());
o.add(buildFileShareConfig());
return o;
}
-checkUnnamed2502(core.List<api.FileShareConfig> o) {
+checkUnnamed2506(core.List<api.FileShareConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkFileShareConfig(o[0]);
checkFileShareConfig(o[1]);
}
-buildUnnamed2503() {
+buildUnnamed2507() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2503(core.Map<core.String, core.String> o) {
+checkUnnamed2507(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed2504() {
+buildUnnamed2508() {
var o = new core.List<api.NetworkConfig>();
o.add(buildNetworkConfig());
o.add(buildNetworkConfig());
return o;
}
-checkUnnamed2504(core.List<api.NetworkConfig> o) {
+checkUnnamed2508(core.List<api.NetworkConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkNetworkConfig(o[0]);
checkNetworkConfig(o[1]);
@@ -541,10 +541,10 @@
o.createTime = "foo";
o.description = "foo";
o.etag = "foo";
- o.fileShares = buildUnnamed2502();
- o.labels = buildUnnamed2503();
+ o.fileShares = buildUnnamed2506();
+ o.labels = buildUnnamed2507();
o.name = "foo";
- o.networks = buildUnnamed2504();
+ o.networks = buildUnnamed2508();
o.state = "foo";
o.statusMessage = "foo";
o.tier = "foo";
@@ -559,10 +559,10 @@
unittest.expect(o.createTime, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed2502(o.fileShares);
- checkUnnamed2503(o.labels);
+ checkUnnamed2506(o.fileShares);
+ checkUnnamed2507(o.labels);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2504(o.networks);
+ checkUnnamed2508(o.networks);
unittest.expect(o.state, unittest.equals('foo'));
unittest.expect(o.statusMessage, unittest.equals('foo'));
unittest.expect(o.tier, unittest.equals('foo'));
@@ -570,27 +570,27 @@
buildCounterInstance--;
}
-buildUnnamed2505() {
+buildUnnamed2509() {
var o = new core.List<api.Instance>();
o.add(buildInstance());
o.add(buildInstance());
return o;
}
-checkUnnamed2505(core.List<api.Instance> o) {
+checkUnnamed2509(core.List<api.Instance> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstance(o[0]);
checkInstance(o[1]);
}
-buildUnnamed2506() {
+buildUnnamed2510() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2506(core.List<core.String> o) {
+checkUnnamed2510(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -601,9 +601,9 @@
var o = new api.ListInstancesResponse();
buildCounterListInstancesResponse++;
if (buildCounterListInstancesResponse < 3) {
- o.instances = buildUnnamed2505();
+ o.instances = buildUnnamed2509();
o.nextPageToken = "foo";
- o.unreachable = buildUnnamed2506();
+ o.unreachable = buildUnnamed2510();
}
buildCounterListInstancesResponse--;
return o;
@@ -612,21 +612,21 @@
checkListInstancesResponse(api.ListInstancesResponse o) {
buildCounterListInstancesResponse++;
if (buildCounterListInstancesResponse < 3) {
- checkUnnamed2505(o.instances);
+ checkUnnamed2509(o.instances);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2506(o.unreachable);
+ checkUnnamed2510(o.unreachable);
}
buildCounterListInstancesResponse--;
}
-buildUnnamed2507() {
+buildUnnamed2511() {
var o = new core.List<api.Location>();
o.add(buildLocation());
o.add(buildLocation());
return o;
}
-checkUnnamed2507(core.List<api.Location> o) {
+checkUnnamed2511(core.List<api.Location> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocation(o[0]);
checkLocation(o[1]);
@@ -637,7 +637,7 @@
var o = new api.ListLocationsResponse();
buildCounterListLocationsResponse++;
if (buildCounterListLocationsResponse < 3) {
- o.locations = buildUnnamed2507();
+ o.locations = buildUnnamed2511();
o.nextPageToken = "foo";
}
buildCounterListLocationsResponse--;
@@ -647,20 +647,20 @@
checkListLocationsResponse(api.ListLocationsResponse o) {
buildCounterListLocationsResponse++;
if (buildCounterListLocationsResponse < 3) {
- checkUnnamed2507(o.locations);
+ checkUnnamed2511(o.locations);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListLocationsResponse--;
}
-buildUnnamed2508() {
+buildUnnamed2512() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed2508(core.List<api.Operation> o) {
+checkUnnamed2512(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -672,7 +672,7 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
o.nextPageToken = "foo";
- o.operations = buildUnnamed2508();
+ o.operations = buildUnnamed2512();
}
buildCounterListOperationsResponse--;
return o;
@@ -682,25 +682,25 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2508(o.operations);
+ checkUnnamed2512(o.operations);
}
buildCounterListOperationsResponse--;
}
-buildUnnamed2509() {
+buildUnnamed2513() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2509(core.Map<core.String, core.String> o) {
+checkUnnamed2513(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed2510() {
+buildUnnamed2514() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -715,7 +715,7 @@
return o;
}
-checkUnnamed2510(core.Map<core.String, core.Object> o) {
+checkUnnamed2514(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o["x"]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -735,9 +735,9 @@
buildCounterLocation++;
if (buildCounterLocation < 3) {
o.displayName = "foo";
- o.labels = buildUnnamed2509();
+ o.labels = buildUnnamed2513();
o.locationId = "foo";
- o.metadata = buildUnnamed2510();
+ o.metadata = buildUnnamed2514();
o.name = "foo";
}
buildCounterLocation--;
@@ -748,35 +748,35 @@
buildCounterLocation++;
if (buildCounterLocation < 3) {
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed2509(o.labels);
+ checkUnnamed2513(o.labels);
unittest.expect(o.locationId, unittest.equals('foo'));
- checkUnnamed2510(o.metadata);
+ checkUnnamed2514(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
}
buildCounterLocation--;
}
-buildUnnamed2511() {
+buildUnnamed2515() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2511(core.List<core.String> o) {
+checkUnnamed2515(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2512() {
+buildUnnamed2516() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2512(core.List<core.String> o) {
+checkUnnamed2516(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -787,8 +787,8 @@
var o = new api.NetworkConfig();
buildCounterNetworkConfig++;
if (buildCounterNetworkConfig < 3) {
- o.ipAddresses = buildUnnamed2511();
- o.modes = buildUnnamed2512();
+ o.ipAddresses = buildUnnamed2515();
+ o.modes = buildUnnamed2516();
o.network = "foo";
o.reservedIpRange = "foo";
}
@@ -799,15 +799,15 @@
checkNetworkConfig(api.NetworkConfig o) {
buildCounterNetworkConfig++;
if (buildCounterNetworkConfig < 3) {
- checkUnnamed2511(o.ipAddresses);
- checkUnnamed2512(o.modes);
+ checkUnnamed2515(o.ipAddresses);
+ checkUnnamed2516(o.modes);
unittest.expect(o.network, unittest.equals('foo'));
unittest.expect(o.reservedIpRange, unittest.equals('foo'));
}
buildCounterNetworkConfig--;
}
-buildUnnamed2513() {
+buildUnnamed2517() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -822,7 +822,7 @@
return o;
}
-checkUnnamed2513(core.Map<core.String, core.Object> o) {
+checkUnnamed2517(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted3 = (o["x"]) as core.Map;
unittest.expect(casted3, unittest.hasLength(3));
@@ -836,7 +836,7 @@
unittest.expect(casted4["string"], unittest.equals('foo'));
}
-buildUnnamed2514() {
+buildUnnamed2518() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -851,7 +851,7 @@
return o;
}
-checkUnnamed2514(core.Map<core.String, core.Object> o) {
+checkUnnamed2518(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted5 = (o["x"]) as core.Map;
unittest.expect(casted5, unittest.hasLength(3));
@@ -872,9 +872,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed2513();
+ o.metadata = buildUnnamed2517();
o.name = "foo";
- o.response = buildUnnamed2514();
+ o.response = buildUnnamed2518();
}
buildCounterOperation--;
return o;
@@ -885,9 +885,9 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed2513(o.metadata);
+ checkUnnamed2517(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2514(o.response);
+ checkUnnamed2518(o.response);
}
buildCounterOperation--;
}
@@ -923,7 +923,7 @@
buildCounterOperationMetadata--;
}
-buildUnnamed2515() {
+buildUnnamed2519() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -938,7 +938,7 @@
return o;
}
-checkUnnamed2515(core.Map<core.String, core.Object> o) {
+checkUnnamed2519(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted7 = (o["x"]) as core.Map;
unittest.expect(casted7, unittest.hasLength(3));
@@ -952,17 +952,17 @@
unittest.expect(casted8["string"], unittest.equals('foo'));
}
-buildUnnamed2516() {
+buildUnnamed2520() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed2515());
- o.add(buildUnnamed2515());
+ o.add(buildUnnamed2519());
+ o.add(buildUnnamed2519());
return o;
}
-checkUnnamed2516(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed2520(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2515(o[0]);
- checkUnnamed2515(o[1]);
+ checkUnnamed2519(o[0]);
+ checkUnnamed2519(o[1]);
}
core.int buildCounterStatus = 0;
@@ -971,7 +971,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed2516();
+ o.details = buildUnnamed2520();
o.message = "foo";
}
buildCounterStatus--;
@@ -982,7 +982,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed2516(o.details);
+ checkUnnamed2520(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
@@ -1247,10 +1247,10 @@
api.ProjectsLocationsResourceApi res =
new api.FileApi(mock).projects.locations;
var arg_name = "foo";
- var arg_filter = "foo";
+ var arg_includeUnrevealedLocations = true;
var arg_pageToken = "foo";
var arg_pageSize = 42;
- var arg_includeUnrevealedLocations = true;
+ var arg_filter = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1283,13 +1283,13 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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["includeUnrevealedLocations"].first,
- unittest.equals("$arg_includeUnrevealedLocations"));
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1300,10 +1300,10 @@
}), true);
res
.list(arg_name,
- filter: arg_filter,
+ includeUnrevealedLocations: arg_includeUnrevealedLocations,
pageToken: arg_pageToken,
pageSize: arg_pageSize,
- includeUnrevealedLocations: arg_includeUnrevealedLocations,
+ filter: arg_filter,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListLocationsResponse(response);
@@ -1481,10 +1481,10 @@
api.ProjectsLocationsInstancesResourceApi res =
new api.FileApi(mock).projects.locations.instances;
var arg_parent = "foo";
- var arg_pageToken = "foo";
- var arg_filter = "foo";
- var arg_pageSize = 42;
var arg_orderBy = "foo";
+ var arg_pageToken = "foo";
+ var arg_pageSize = 42;
+ var arg_filter = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1518,12 +1518,12 @@
}
}
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(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["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1534,10 +1534,10 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
- filter: arg_filter,
- pageSize: arg_pageSize,
orderBy: arg_orderBy,
+ pageToken: arg_pageToken,
+ pageSize: arg_pageSize,
+ filter: arg_filter,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListInstancesResponse(response);
@@ -1771,9 +1771,9 @@
api.ProjectsLocationsOperationsResourceApi res =
new api.FileApi(mock).projects.locations.operations;
var arg_name = "foo";
- var arg_pageSize = 42;
- var arg_pageToken = "foo";
var arg_filter = "foo";
+ var arg_pageToken = "foo";
+ var arg_pageSize = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1806,11 +1806,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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["filter"].first, unittest.equals(arg_filter));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1821,9 +1821,9 @@
}), true);
res
.list(arg_name,
- pageSize: arg_pageSize,
- pageToken: arg_pageToken,
filter: arg_filter,
+ pageToken: arg_pageToken,
+ pageSize: arg_pageSize,
$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 2c318af..d1dccff 100644
--- a/generated/googleapis/test/firebaserules/v1_test.dart
+++ b/generated/googleapis/test/firebaserules/v1_test.dart
@@ -94,27 +94,27 @@
buildCounterEmpty--;
}
-buildUnnamed2363() {
+buildUnnamed2365() {
var o = new core.List<api.ExpressionReport>();
o.add(buildExpressionReport());
o.add(buildExpressionReport());
return o;
}
-checkUnnamed2363(core.List<api.ExpressionReport> o) {
+checkUnnamed2365(core.List<api.ExpressionReport> o) {
unittest.expect(o, unittest.hasLength(2));
checkExpressionReport(o[0]);
checkExpressionReport(o[1]);
}
-buildUnnamed2364() {
+buildUnnamed2366() {
var o = new core.List<api.ValueCount>();
o.add(buildValueCount());
o.add(buildValueCount());
return o;
}
-checkUnnamed2364(core.List<api.ValueCount> o) {
+checkUnnamed2366(core.List<api.ValueCount> o) {
unittest.expect(o, unittest.hasLength(2));
checkValueCount(o[0]);
checkValueCount(o[1]);
@@ -125,9 +125,9 @@
var o = new api.ExpressionReport();
buildCounterExpressionReport++;
if (buildCounterExpressionReport < 3) {
- o.children = buildUnnamed2363();
+ o.children = buildUnnamed2365();
o.sourcePosition = buildSourcePosition();
- o.values = buildUnnamed2364();
+ o.values = buildUnnamed2366();
}
buildCounterExpressionReport--;
return o;
@@ -136,9 +136,9 @@
checkExpressionReport(api.ExpressionReport o) {
buildCounterExpressionReport++;
if (buildCounterExpressionReport < 3) {
- checkUnnamed2363(o.children);
+ checkUnnamed2365(o.children);
checkSourcePosition(o.sourcePosition);
- checkUnnamed2364(o.values);
+ checkUnnamed2366(o.values);
}
buildCounterExpressionReport--;
}
@@ -166,7 +166,7 @@
buildCounterFile--;
}
-buildUnnamed2365() {
+buildUnnamed2367() {
var o = new core.List<core.Object>();
o.add({
'list': [1, 2, 3],
@@ -181,7 +181,7 @@
return o;
}
-checkUnnamed2365(core.List<core.Object> o) {
+checkUnnamed2367(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted2 = (o[0]) as core.Map;
unittest.expect(casted2, unittest.hasLength(3));
@@ -200,7 +200,7 @@
var o = new api.FunctionCall();
buildCounterFunctionCall++;
if (buildCounterFunctionCall < 3) {
- o.args = buildUnnamed2365();
+ o.args = buildUnnamed2367();
o.function = "foo";
}
buildCounterFunctionCall--;
@@ -210,20 +210,20 @@
checkFunctionCall(api.FunctionCall o) {
buildCounterFunctionCall++;
if (buildCounterFunctionCall < 3) {
- checkUnnamed2365(o.args);
+ checkUnnamed2367(o.args);
unittest.expect(o.function, unittest.equals('foo'));
}
buildCounterFunctionCall--;
}
-buildUnnamed2366() {
+buildUnnamed2368() {
var o = new core.List<api.Arg>();
o.add(buildArg());
o.add(buildArg());
return o;
}
-checkUnnamed2366(core.List<api.Arg> o) {
+checkUnnamed2368(core.List<api.Arg> o) {
unittest.expect(o, unittest.hasLength(2));
checkArg(o[0]);
checkArg(o[1]);
@@ -234,7 +234,7 @@
var o = new api.FunctionMock();
buildCounterFunctionMock++;
if (buildCounterFunctionMock < 3) {
- o.args = buildUnnamed2366();
+ o.args = buildUnnamed2368();
o.function = "foo";
o.result = buildResult();
}
@@ -245,7 +245,7 @@
checkFunctionMock(api.FunctionMock o) {
buildCounterFunctionMock++;
if (buildCounterFunctionMock < 3) {
- checkUnnamed2366(o.args);
+ checkUnnamed2368(o.args);
unittest.expect(o.function, unittest.equals('foo'));
checkResult(o.result);
}
@@ -304,14 +304,14 @@
buildCounterIssue--;
}
-buildUnnamed2367() {
+buildUnnamed2369() {
var o = new core.List<api.Release>();
o.add(buildRelease());
o.add(buildRelease());
return o;
}
-checkUnnamed2367(core.List<api.Release> o) {
+checkUnnamed2369(core.List<api.Release> o) {
unittest.expect(o, unittest.hasLength(2));
checkRelease(o[0]);
checkRelease(o[1]);
@@ -323,7 +323,7 @@
buildCounterListReleasesResponse++;
if (buildCounterListReleasesResponse < 3) {
o.nextPageToken = "foo";
- o.releases = buildUnnamed2367();
+ o.releases = buildUnnamed2369();
}
buildCounterListReleasesResponse--;
return o;
@@ -333,19 +333,19 @@
buildCounterListReleasesResponse++;
if (buildCounterListReleasesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2367(o.releases);
+ checkUnnamed2369(o.releases);
}
buildCounterListReleasesResponse--;
}
-buildUnnamed2368() {
+buildUnnamed2370() {
var o = new core.List<api.Ruleset>();
o.add(buildRuleset());
o.add(buildRuleset());
return o;
}
-checkUnnamed2368(core.List<api.Ruleset> o) {
+checkUnnamed2370(core.List<api.Ruleset> o) {
unittest.expect(o, unittest.hasLength(2));
checkRuleset(o[0]);
checkRuleset(o[1]);
@@ -357,7 +357,7 @@
buildCounterListRulesetsResponse++;
if (buildCounterListRulesetsResponse < 3) {
o.nextPageToken = "foo";
- o.rulesets = buildUnnamed2368();
+ o.rulesets = buildUnnamed2370();
}
buildCounterListRulesetsResponse--;
return o;
@@ -367,19 +367,19 @@
buildCounterListRulesetsResponse++;
if (buildCounterListRulesetsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2368(o.rulesets);
+ checkUnnamed2370(o.rulesets);
}
buildCounterListRulesetsResponse--;
}
-buildUnnamed2369() {
+buildUnnamed2371() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2369(core.List<core.String> o) {
+checkUnnamed2371(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -390,7 +390,7 @@
var o = new api.Metadata();
buildCounterMetadata++;
if (buildCounterMetadata < 3) {
- o.services = buildUnnamed2369();
+ o.services = buildUnnamed2371();
}
buildCounterMetadata--;
return o;
@@ -399,7 +399,7 @@
checkMetadata(api.Metadata o) {
buildCounterMetadata++;
if (buildCounterMetadata < 3) {
- checkUnnamed2369(o.services);
+ checkUnnamed2371(o.services);
}
buildCounterMetadata--;
}
@@ -483,14 +483,14 @@
buildCounterRuleset--;
}
-buildUnnamed2370() {
+buildUnnamed2372() {
var o = new core.List<api.File>();
o.add(buildFile());
o.add(buildFile());
return o;
}
-checkUnnamed2370(core.List<api.File> o) {
+checkUnnamed2372(core.List<api.File> o) {
unittest.expect(o, unittest.hasLength(2));
checkFile(o[0]);
checkFile(o[1]);
@@ -501,7 +501,7 @@
var o = new api.Source();
buildCounterSource++;
if (buildCounterSource < 3) {
- o.files = buildUnnamed2370();
+ o.files = buildUnnamed2372();
}
buildCounterSource--;
return o;
@@ -510,7 +510,7 @@
checkSource(api.Source o) {
buildCounterSource++;
if (buildCounterSource < 3) {
- checkUnnamed2370(o.files);
+ checkUnnamed2372(o.files);
}
buildCounterSource--;
}
@@ -542,14 +542,14 @@
buildCounterSourcePosition--;
}
-buildUnnamed2371() {
+buildUnnamed2373() {
var o = new core.List<api.FunctionMock>();
o.add(buildFunctionMock());
o.add(buildFunctionMock());
return o;
}
-checkUnnamed2371(core.List<api.FunctionMock> o) {
+checkUnnamed2373(core.List<api.FunctionMock> o) {
unittest.expect(o, unittest.hasLength(2));
checkFunctionMock(o[0]);
checkFunctionMock(o[1]);
@@ -562,7 +562,7 @@
if (buildCounterTestCase < 3) {
o.expectation = "foo";
o.expressionReportLevel = "foo";
- o.functionMocks = buildUnnamed2371();
+ o.functionMocks = buildUnnamed2373();
o.pathEncoding = "foo";
o.request = {
'list': [1, 2, 3],
@@ -584,7 +584,7 @@
if (buildCounterTestCase < 3) {
unittest.expect(o.expectation, unittest.equals('foo'));
unittest.expect(o.expressionReportLevel, unittest.equals('foo'));
- checkUnnamed2371(o.functionMocks);
+ checkUnnamed2373(o.functionMocks);
unittest.expect(o.pathEncoding, unittest.equals('foo'));
var casted5 = (o.request) as core.Map;
unittest.expect(casted5, unittest.hasLength(3));
@@ -600,53 +600,53 @@
buildCounterTestCase--;
}
-buildUnnamed2372() {
+buildUnnamed2374() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2372(core.List<core.String> o) {
+checkUnnamed2374(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2373() {
+buildUnnamed2375() {
var o = new core.List<api.ExpressionReport>();
o.add(buildExpressionReport());
o.add(buildExpressionReport());
return o;
}
-checkUnnamed2373(core.List<api.ExpressionReport> o) {
+checkUnnamed2375(core.List<api.ExpressionReport> o) {
unittest.expect(o, unittest.hasLength(2));
checkExpressionReport(o[0]);
checkExpressionReport(o[1]);
}
-buildUnnamed2374() {
+buildUnnamed2376() {
var o = new core.List<api.FunctionCall>();
o.add(buildFunctionCall());
o.add(buildFunctionCall());
return o;
}
-checkUnnamed2374(core.List<api.FunctionCall> o) {
+checkUnnamed2376(core.List<api.FunctionCall> o) {
unittest.expect(o, unittest.hasLength(2));
checkFunctionCall(o[0]);
checkFunctionCall(o[1]);
}
-buildUnnamed2375() {
+buildUnnamed2377() {
var o = new core.List<api.VisitedExpression>();
o.add(buildVisitedExpression());
o.add(buildVisitedExpression());
return o;
}
-checkUnnamed2375(core.List<api.VisitedExpression> o) {
+checkUnnamed2377(core.List<api.VisitedExpression> o) {
unittest.expect(o, unittest.hasLength(2));
checkVisitedExpression(o[0]);
checkVisitedExpression(o[1]);
@@ -657,12 +657,12 @@
var o = new api.TestResult();
buildCounterTestResult++;
if (buildCounterTestResult < 3) {
- o.debugMessages = buildUnnamed2372();
+ o.debugMessages = buildUnnamed2374();
o.errorPosition = buildSourcePosition();
- o.expressionReports = buildUnnamed2373();
- o.functionCalls = buildUnnamed2374();
+ o.expressionReports = buildUnnamed2375();
+ o.functionCalls = buildUnnamed2376();
o.state = "foo";
- o.visitedExpressions = buildUnnamed2375();
+ o.visitedExpressions = buildUnnamed2377();
}
buildCounterTestResult--;
return o;
@@ -671,12 +671,12 @@
checkTestResult(api.TestResult o) {
buildCounterTestResult++;
if (buildCounterTestResult < 3) {
- checkUnnamed2372(o.debugMessages);
+ checkUnnamed2374(o.debugMessages);
checkSourcePosition(o.errorPosition);
- checkUnnamed2373(o.expressionReports);
- checkUnnamed2374(o.functionCalls);
+ checkUnnamed2375(o.expressionReports);
+ checkUnnamed2376(o.functionCalls);
unittest.expect(o.state, unittest.equals('foo'));
- checkUnnamed2375(o.visitedExpressions);
+ checkUnnamed2377(o.visitedExpressions);
}
buildCounterTestResult--;
}
@@ -702,27 +702,27 @@
buildCounterTestRulesetRequest--;
}
-buildUnnamed2376() {
+buildUnnamed2378() {
var o = new core.List<api.Issue>();
o.add(buildIssue());
o.add(buildIssue());
return o;
}
-checkUnnamed2376(core.List<api.Issue> o) {
+checkUnnamed2378(core.List<api.Issue> o) {
unittest.expect(o, unittest.hasLength(2));
checkIssue(o[0]);
checkIssue(o[1]);
}
-buildUnnamed2377() {
+buildUnnamed2379() {
var o = new core.List<api.TestResult>();
o.add(buildTestResult());
o.add(buildTestResult());
return o;
}
-checkUnnamed2377(core.List<api.TestResult> o) {
+checkUnnamed2379(core.List<api.TestResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkTestResult(o[0]);
checkTestResult(o[1]);
@@ -733,8 +733,8 @@
var o = new api.TestRulesetResponse();
buildCounterTestRulesetResponse++;
if (buildCounterTestRulesetResponse < 3) {
- o.issues = buildUnnamed2376();
- o.testResults = buildUnnamed2377();
+ o.issues = buildUnnamed2378();
+ o.testResults = buildUnnamed2379();
}
buildCounterTestRulesetResponse--;
return o;
@@ -743,20 +743,20 @@
checkTestRulesetResponse(api.TestRulesetResponse o) {
buildCounterTestRulesetResponse++;
if (buildCounterTestRulesetResponse < 3) {
- checkUnnamed2376(o.issues);
- checkUnnamed2377(o.testResults);
+ checkUnnamed2378(o.issues);
+ checkUnnamed2379(o.testResults);
}
buildCounterTestRulesetResponse--;
}
-buildUnnamed2378() {
+buildUnnamed2380() {
var o = new core.List<api.TestCase>();
o.add(buildTestCase());
o.add(buildTestCase());
return o;
}
-checkUnnamed2378(core.List<api.TestCase> o) {
+checkUnnamed2380(core.List<api.TestCase> o) {
unittest.expect(o, unittest.hasLength(2));
checkTestCase(o[0]);
checkTestCase(o[1]);
@@ -767,7 +767,7 @@
var o = new api.TestSuite();
buildCounterTestSuite++;
if (buildCounterTestSuite < 3) {
- o.testCases = buildUnnamed2378();
+ o.testCases = buildUnnamed2380();
}
buildCounterTestSuite--;
return o;
@@ -776,7 +776,7 @@
checkTestSuite(api.TestSuite o) {
buildCounterTestSuite++;
if (buildCounterTestSuite < 3) {
- checkUnnamed2378(o.testCases);
+ checkUnnamed2380(o.testCases);
}
buildCounterTestSuite--;
}
@@ -1332,9 +1332,9 @@
api.ProjectsReleasesResourceApi res =
new api.FirebaserulesApi(mock).projects.releases;
var arg_name = "foo";
- var arg_filter = "foo";
var arg_pageToken = "foo";
var arg_pageSize = 42;
+ var arg_filter = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1367,11 +1367,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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["filter"].first, unittest.equals(arg_filter));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1382,9 +1382,9 @@
}), true);
res
.list(arg_name,
- filter: arg_filter,
pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ filter: arg_filter,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListReleasesResponse(response);
@@ -1614,9 +1614,9 @@
api.ProjectsRulesetsResourceApi res =
new api.FirebaserulesApi(mock).projects.rulesets;
var arg_name = "foo";
+ var arg_filter = "foo";
var arg_pageToken = "foo";
var arg_pageSize = 42;
- var arg_filter = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1649,11 +1649,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ 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["filter"].first, unittest.equals(arg_filter));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1664,9 +1664,9 @@
}), true);
res
.list(arg_name,
+ filter: arg_filter,
pageToken: arg_pageToken,
pageSize: arg_pageSize,
- filter: arg_filter,
$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 3bb2a81..8261c08 100644
--- a/generated/googleapis/test/firestore/v1_test.dart
+++ b/generated/googleapis/test/firestore/v1_test.dart
@@ -50,14 +50,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed2555() {
+buildUnnamed2559() {
var o = new core.List<api.Value>();
o.add(buildValue());
o.add(buildValue());
return o;
}
-checkUnnamed2555(core.List<api.Value> o) {
+checkUnnamed2559(core.List<api.Value> o) {
unittest.expect(o, unittest.hasLength(2));
checkValue(o[0]);
checkValue(o[1]);
@@ -68,7 +68,7 @@
var o = new api.ArrayValue();
buildCounterArrayValue++;
if (buildCounterArrayValue < 3) {
- o.values = buildUnnamed2555();
+ o.values = buildUnnamed2559();
}
buildCounterArrayValue--;
return o;
@@ -77,19 +77,19 @@
checkArrayValue(api.ArrayValue o) {
buildCounterArrayValue++;
if (buildCounterArrayValue < 3) {
- checkUnnamed2555(o.values);
+ checkUnnamed2559(o.values);
}
buildCounterArrayValue--;
}
-buildUnnamed2556() {
+buildUnnamed2560() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2556(core.List<core.String> o) {
+checkUnnamed2560(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -100,7 +100,7 @@
var o = new api.BatchGetDocumentsRequest();
buildCounterBatchGetDocumentsRequest++;
if (buildCounterBatchGetDocumentsRequest < 3) {
- o.documents = buildUnnamed2556();
+ o.documents = buildUnnamed2560();
o.mask = buildDocumentMask();
o.newTransaction = buildTransactionOptions();
o.readTime = "foo";
@@ -113,7 +113,7 @@
checkBatchGetDocumentsRequest(api.BatchGetDocumentsRequest o) {
buildCounterBatchGetDocumentsRequest++;
if (buildCounterBatchGetDocumentsRequest < 3) {
- checkUnnamed2556(o.documents);
+ checkUnnamed2560(o.documents);
checkDocumentMask(o.mask);
checkTransactionOptions(o.newTransaction);
unittest.expect(o.readTime, unittest.equals('foo'));
@@ -147,27 +147,27 @@
buildCounterBatchGetDocumentsResponse--;
}
-buildUnnamed2557() {
+buildUnnamed2561() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2557(core.Map<core.String, core.String> o) {
+checkUnnamed2561(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed2558() {
+buildUnnamed2562() {
var o = new core.List<api.Write>();
o.add(buildWrite());
o.add(buildWrite());
return o;
}
-checkUnnamed2558(core.List<api.Write> o) {
+checkUnnamed2562(core.List<api.Write> o) {
unittest.expect(o, unittest.hasLength(2));
checkWrite(o[0]);
checkWrite(o[1]);
@@ -178,8 +178,8 @@
var o = new api.BatchWriteRequest();
buildCounterBatchWriteRequest++;
if (buildCounterBatchWriteRequest < 3) {
- o.labels = buildUnnamed2557();
- o.writes = buildUnnamed2558();
+ o.labels = buildUnnamed2561();
+ o.writes = buildUnnamed2562();
}
buildCounterBatchWriteRequest--;
return o;
@@ -188,33 +188,33 @@
checkBatchWriteRequest(api.BatchWriteRequest o) {
buildCounterBatchWriteRequest++;
if (buildCounterBatchWriteRequest < 3) {
- checkUnnamed2557(o.labels);
- checkUnnamed2558(o.writes);
+ checkUnnamed2561(o.labels);
+ checkUnnamed2562(o.writes);
}
buildCounterBatchWriteRequest--;
}
-buildUnnamed2559() {
+buildUnnamed2563() {
var o = new core.List<api.Status>();
o.add(buildStatus());
o.add(buildStatus());
return o;
}
-checkUnnamed2559(core.List<api.Status> o) {
+checkUnnamed2563(core.List<api.Status> o) {
unittest.expect(o, unittest.hasLength(2));
checkStatus(o[0]);
checkStatus(o[1]);
}
-buildUnnamed2560() {
+buildUnnamed2564() {
var o = new core.List<api.WriteResult>();
o.add(buildWriteResult());
o.add(buildWriteResult());
return o;
}
-checkUnnamed2560(core.List<api.WriteResult> o) {
+checkUnnamed2564(core.List<api.WriteResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkWriteResult(o[0]);
checkWriteResult(o[1]);
@@ -225,8 +225,8 @@
var o = new api.BatchWriteResponse();
buildCounterBatchWriteResponse++;
if (buildCounterBatchWriteResponse < 3) {
- o.status = buildUnnamed2559();
- o.writeResults = buildUnnamed2560();
+ o.status = buildUnnamed2563();
+ o.writeResults = buildUnnamed2564();
}
buildCounterBatchWriteResponse--;
return o;
@@ -235,8 +235,8 @@
checkBatchWriteResponse(api.BatchWriteResponse o) {
buildCounterBatchWriteResponse++;
if (buildCounterBatchWriteResponse < 3) {
- checkUnnamed2559(o.status);
- checkUnnamed2560(o.writeResults);
+ checkUnnamed2563(o.status);
+ checkUnnamed2564(o.writeResults);
}
buildCounterBatchWriteResponse--;
}
@@ -300,14 +300,14 @@
buildCounterCollectionSelector--;
}
-buildUnnamed2561() {
+buildUnnamed2565() {
var o = new core.List<api.Write>();
o.add(buildWrite());
o.add(buildWrite());
return o;
}
-checkUnnamed2561(core.List<api.Write> o) {
+checkUnnamed2565(core.List<api.Write> o) {
unittest.expect(o, unittest.hasLength(2));
checkWrite(o[0]);
checkWrite(o[1]);
@@ -319,7 +319,7 @@
buildCounterCommitRequest++;
if (buildCounterCommitRequest < 3) {
o.transaction = "foo";
- o.writes = buildUnnamed2561();
+ o.writes = buildUnnamed2565();
}
buildCounterCommitRequest--;
return o;
@@ -329,19 +329,19 @@
buildCounterCommitRequest++;
if (buildCounterCommitRequest < 3) {
unittest.expect(o.transaction, unittest.equals('foo'));
- checkUnnamed2561(o.writes);
+ checkUnnamed2565(o.writes);
}
buildCounterCommitRequest--;
}
-buildUnnamed2562() {
+buildUnnamed2566() {
var o = new core.List<api.WriteResult>();
o.add(buildWriteResult());
o.add(buildWriteResult());
return o;
}
-checkUnnamed2562(core.List<api.WriteResult> o) {
+checkUnnamed2566(core.List<api.WriteResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkWriteResult(o[0]);
checkWriteResult(o[1]);
@@ -353,7 +353,7 @@
buildCounterCommitResponse++;
if (buildCounterCommitResponse < 3) {
o.commitTime = "foo";
- o.writeResults = buildUnnamed2562();
+ o.writeResults = buildUnnamed2566();
}
buildCounterCommitResponse--;
return o;
@@ -363,19 +363,19 @@
buildCounterCommitResponse++;
if (buildCounterCommitResponse < 3) {
unittest.expect(o.commitTime, unittest.equals('foo'));
- checkUnnamed2562(o.writeResults);
+ checkUnnamed2566(o.writeResults);
}
buildCounterCommitResponse--;
}
-buildUnnamed2563() {
+buildUnnamed2567() {
var o = new core.List<api.Filter>();
o.add(buildFilter());
o.add(buildFilter());
return o;
}
-checkUnnamed2563(core.List<api.Filter> o) {
+checkUnnamed2567(core.List<api.Filter> o) {
unittest.expect(o, unittest.hasLength(2));
checkFilter(o[0]);
checkFilter(o[1]);
@@ -386,7 +386,7 @@
var o = new api.CompositeFilter();
buildCounterCompositeFilter++;
if (buildCounterCompositeFilter < 3) {
- o.filters = buildUnnamed2563();
+ o.filters = buildUnnamed2567();
o.op = "foo";
}
buildCounterCompositeFilter--;
@@ -396,20 +396,20 @@
checkCompositeFilter(api.CompositeFilter o) {
buildCounterCompositeFilter++;
if (buildCounterCompositeFilter < 3) {
- checkUnnamed2563(o.filters);
+ checkUnnamed2567(o.filters);
unittest.expect(o.op, unittest.equals('foo'));
}
buildCounterCompositeFilter--;
}
-buildUnnamed2564() {
+buildUnnamed2568() {
var o = new core.List<api.Value>();
o.add(buildValue());
o.add(buildValue());
return o;
}
-checkUnnamed2564(core.List<api.Value> o) {
+checkUnnamed2568(core.List<api.Value> o) {
unittest.expect(o, unittest.hasLength(2));
checkValue(o[0]);
checkValue(o[1]);
@@ -421,7 +421,7 @@
buildCounterCursor++;
if (buildCounterCursor < 3) {
o.before = true;
- o.values = buildUnnamed2564();
+ o.values = buildUnnamed2568();
}
buildCounterCursor--;
return o;
@@ -431,19 +431,19 @@
buildCounterCursor++;
if (buildCounterCursor < 3) {
unittest.expect(o.before, unittest.isTrue);
- checkUnnamed2564(o.values);
+ checkUnnamed2568(o.values);
}
buildCounterCursor--;
}
-buildUnnamed2565() {
+buildUnnamed2569() {
var o = new core.Map<core.String, api.Value>();
o["x"] = buildValue();
o["y"] = buildValue();
return o;
}
-checkUnnamed2565(core.Map<core.String, api.Value> o) {
+checkUnnamed2569(core.Map<core.String, api.Value> o) {
unittest.expect(o, unittest.hasLength(2));
checkValue(o["x"]);
checkValue(o["y"]);
@@ -455,7 +455,7 @@
buildCounterDocument++;
if (buildCounterDocument < 3) {
o.createTime = "foo";
- o.fields = buildUnnamed2565();
+ o.fields = buildUnnamed2569();
o.name = "foo";
o.updateTime = "foo";
}
@@ -467,130 +467,13 @@
buildCounterDocument++;
if (buildCounterDocument < 3) {
unittest.expect(o.createTime, unittest.equals('foo'));
- checkUnnamed2565(o.fields);
+ checkUnnamed2569(o.fields);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.updateTime, unittest.equals('foo'));
}
buildCounterDocument--;
}
-buildUnnamed2566() {
- var o = new core.List<core.int>();
- o.add(42);
- o.add(42);
- return o;
-}
-
-checkUnnamed2566(core.List<core.int> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals(42));
- unittest.expect(o[1], unittest.equals(42));
-}
-
-buildUnnamed2567() {
- var o = new core.List<core.int>();
- o.add(42);
- o.add(42);
- return o;
-}
-
-checkUnnamed2567(core.List<core.int> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals(42));
- unittest.expect(o[1], unittest.equals(42));
-}
-
-core.int buildCounterDocumentChange = 0;
-buildDocumentChange() {
- var o = new api.DocumentChange();
- buildCounterDocumentChange++;
- if (buildCounterDocumentChange < 3) {
- o.document = buildDocument();
- o.removedTargetIds = buildUnnamed2566();
- o.targetIds = buildUnnamed2567();
- }
- buildCounterDocumentChange--;
- return o;
-}
-
-checkDocumentChange(api.DocumentChange o) {
- buildCounterDocumentChange++;
- if (buildCounterDocumentChange < 3) {
- checkDocument(o.document);
- checkUnnamed2566(o.removedTargetIds);
- checkUnnamed2567(o.targetIds);
- }
- buildCounterDocumentChange--;
-}
-
-buildUnnamed2568() {
- var o = new core.List<core.int>();
- o.add(42);
- o.add(42);
- return o;
-}
-
-checkUnnamed2568(core.List<core.int> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals(42));
- unittest.expect(o[1], unittest.equals(42));
-}
-
-core.int buildCounterDocumentDelete = 0;
-buildDocumentDelete() {
- var o = new api.DocumentDelete();
- buildCounterDocumentDelete++;
- if (buildCounterDocumentDelete < 3) {
- o.document = "foo";
- o.readTime = "foo";
- o.removedTargetIds = buildUnnamed2568();
- }
- buildCounterDocumentDelete--;
- return o;
-}
-
-checkDocumentDelete(api.DocumentDelete o) {
- buildCounterDocumentDelete++;
- if (buildCounterDocumentDelete < 3) {
- unittest.expect(o.document, unittest.equals('foo'));
- unittest.expect(o.readTime, unittest.equals('foo'));
- checkUnnamed2568(o.removedTargetIds);
- }
- buildCounterDocumentDelete--;
-}
-
-buildUnnamed2569() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2569(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-core.int buildCounterDocumentMask = 0;
-buildDocumentMask() {
- var o = new api.DocumentMask();
- buildCounterDocumentMask++;
- if (buildCounterDocumentMask < 3) {
- o.fieldPaths = buildUnnamed2569();
- }
- buildCounterDocumentMask--;
- return o;
-}
-
-checkDocumentMask(api.DocumentMask o) {
- buildCounterDocumentMask++;
- if (buildCounterDocumentMask < 3) {
- checkUnnamed2569(o.fieldPaths);
- }
- buildCounterDocumentMask--;
-}
-
buildUnnamed2570() {
var o = new core.List<core.int>();
o.add(42);
@@ -604,6 +487,123 @@
unittest.expect(o[1], unittest.equals(42));
}
+buildUnnamed2571() {
+ var o = new core.List<core.int>();
+ o.add(42);
+ o.add(42);
+ return o;
+}
+
+checkUnnamed2571(core.List<core.int> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals(42));
+ unittest.expect(o[1], unittest.equals(42));
+}
+
+core.int buildCounterDocumentChange = 0;
+buildDocumentChange() {
+ var o = new api.DocumentChange();
+ buildCounterDocumentChange++;
+ if (buildCounterDocumentChange < 3) {
+ o.document = buildDocument();
+ o.removedTargetIds = buildUnnamed2570();
+ o.targetIds = buildUnnamed2571();
+ }
+ buildCounterDocumentChange--;
+ return o;
+}
+
+checkDocumentChange(api.DocumentChange o) {
+ buildCounterDocumentChange++;
+ if (buildCounterDocumentChange < 3) {
+ checkDocument(o.document);
+ checkUnnamed2570(o.removedTargetIds);
+ checkUnnamed2571(o.targetIds);
+ }
+ buildCounterDocumentChange--;
+}
+
+buildUnnamed2572() {
+ var o = new core.List<core.int>();
+ o.add(42);
+ o.add(42);
+ return o;
+}
+
+checkUnnamed2572(core.List<core.int> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals(42));
+ unittest.expect(o[1], unittest.equals(42));
+}
+
+core.int buildCounterDocumentDelete = 0;
+buildDocumentDelete() {
+ var o = new api.DocumentDelete();
+ buildCounterDocumentDelete++;
+ if (buildCounterDocumentDelete < 3) {
+ o.document = "foo";
+ o.readTime = "foo";
+ o.removedTargetIds = buildUnnamed2572();
+ }
+ buildCounterDocumentDelete--;
+ return o;
+}
+
+checkDocumentDelete(api.DocumentDelete o) {
+ buildCounterDocumentDelete++;
+ if (buildCounterDocumentDelete < 3) {
+ unittest.expect(o.document, unittest.equals('foo'));
+ unittest.expect(o.readTime, unittest.equals('foo'));
+ checkUnnamed2572(o.removedTargetIds);
+ }
+ buildCounterDocumentDelete--;
+}
+
+buildUnnamed2573() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2573(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+core.int buildCounterDocumentMask = 0;
+buildDocumentMask() {
+ var o = new api.DocumentMask();
+ buildCounterDocumentMask++;
+ if (buildCounterDocumentMask < 3) {
+ o.fieldPaths = buildUnnamed2573();
+ }
+ buildCounterDocumentMask--;
+ return o;
+}
+
+checkDocumentMask(api.DocumentMask o) {
+ buildCounterDocumentMask++;
+ if (buildCounterDocumentMask < 3) {
+ checkUnnamed2573(o.fieldPaths);
+ }
+ buildCounterDocumentMask--;
+}
+
+buildUnnamed2574() {
+ var o = new core.List<core.int>();
+ o.add(42);
+ o.add(42);
+ return o;
+}
+
+checkUnnamed2574(core.List<core.int> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals(42));
+ unittest.expect(o[1], unittest.equals(42));
+}
+
core.int buildCounterDocumentRemove = 0;
buildDocumentRemove() {
var o = new api.DocumentRemove();
@@ -611,7 +611,7 @@
if (buildCounterDocumentRemove < 3) {
o.document = "foo";
o.readTime = "foo";
- o.removedTargetIds = buildUnnamed2570();
+ o.removedTargetIds = buildUnnamed2574();
}
buildCounterDocumentRemove--;
return o;
@@ -622,19 +622,19 @@
if (buildCounterDocumentRemove < 3) {
unittest.expect(o.document, unittest.equals('foo'));
unittest.expect(o.readTime, unittest.equals('foo'));
- checkUnnamed2570(o.removedTargetIds);
+ checkUnnamed2574(o.removedTargetIds);
}
buildCounterDocumentRemove--;
}
-buildUnnamed2571() {
+buildUnnamed2575() {
var o = new core.List<api.FieldTransform>();
o.add(buildFieldTransform());
o.add(buildFieldTransform());
return o;
}
-checkUnnamed2571(core.List<api.FieldTransform> o) {
+checkUnnamed2575(core.List<api.FieldTransform> o) {
unittest.expect(o, unittest.hasLength(2));
checkFieldTransform(o[0]);
checkFieldTransform(o[1]);
@@ -646,7 +646,7 @@
buildCounterDocumentTransform++;
if (buildCounterDocumentTransform < 3) {
o.document = "foo";
- o.fieldTransforms = buildUnnamed2571();
+ o.fieldTransforms = buildUnnamed2575();
}
buildCounterDocumentTransform--;
return o;
@@ -656,19 +656,19 @@
buildCounterDocumentTransform++;
if (buildCounterDocumentTransform < 3) {
unittest.expect(o.document, unittest.equals('foo'));
- checkUnnamed2571(o.fieldTransforms);
+ checkUnnamed2575(o.fieldTransforms);
}
buildCounterDocumentTransform--;
}
-buildUnnamed2572() {
+buildUnnamed2576() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2572(core.List<core.String> o) {
+checkUnnamed2576(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -679,7 +679,7 @@
var o = new api.DocumentsTarget();
buildCounterDocumentsTarget++;
if (buildCounterDocumentsTarget < 3) {
- o.documents = buildUnnamed2572();
+ o.documents = buildUnnamed2576();
}
buildCounterDocumentsTarget--;
return o;
@@ -688,7 +688,7 @@
checkDocumentsTarget(api.DocumentsTarget o) {
buildCounterDocumentsTarget++;
if (buildCounterDocumentsTarget < 3) {
- checkUnnamed2572(o.documents);
+ checkUnnamed2576(o.documents);
}
buildCounterDocumentsTarget--;
}
@@ -825,14 +825,14 @@
buildCounterFilter--;
}
-buildUnnamed2573() {
+buildUnnamed2577() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2573(core.List<core.String> o) {
+checkUnnamed2577(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -843,7 +843,7 @@
var o = new api.GoogleFirestoreAdminV1ExportDocumentsMetadata();
buildCounterGoogleFirestoreAdminV1ExportDocumentsMetadata++;
if (buildCounterGoogleFirestoreAdminV1ExportDocumentsMetadata < 3) {
- o.collectionIds = buildUnnamed2573();
+ o.collectionIds = buildUnnamed2577();
o.endTime = "foo";
o.operationState = "foo";
o.outputUriPrefix = "foo";
@@ -859,7 +859,7 @@
api.GoogleFirestoreAdminV1ExportDocumentsMetadata o) {
buildCounterGoogleFirestoreAdminV1ExportDocumentsMetadata++;
if (buildCounterGoogleFirestoreAdminV1ExportDocumentsMetadata < 3) {
- checkUnnamed2573(o.collectionIds);
+ checkUnnamed2577(o.collectionIds);
unittest.expect(o.endTime, unittest.equals('foo'));
unittest.expect(o.operationState, unittest.equals('foo'));
unittest.expect(o.outputUriPrefix, unittest.equals('foo'));
@@ -870,14 +870,14 @@
buildCounterGoogleFirestoreAdminV1ExportDocumentsMetadata--;
}
-buildUnnamed2574() {
+buildUnnamed2578() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2574(core.List<core.String> o) {
+checkUnnamed2578(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -888,7 +888,7 @@
var o = new api.GoogleFirestoreAdminV1ExportDocumentsRequest();
buildCounterGoogleFirestoreAdminV1ExportDocumentsRequest++;
if (buildCounterGoogleFirestoreAdminV1ExportDocumentsRequest < 3) {
- o.collectionIds = buildUnnamed2574();
+ o.collectionIds = buildUnnamed2578();
o.outputUriPrefix = "foo";
}
buildCounterGoogleFirestoreAdminV1ExportDocumentsRequest--;
@@ -899,7 +899,7 @@
api.GoogleFirestoreAdminV1ExportDocumentsRequest o) {
buildCounterGoogleFirestoreAdminV1ExportDocumentsRequest++;
if (buildCounterGoogleFirestoreAdminV1ExportDocumentsRequest < 3) {
- checkUnnamed2574(o.collectionIds);
+ checkUnnamed2578(o.collectionIds);
unittest.expect(o.outputUriPrefix, unittest.equals('foo'));
}
buildCounterGoogleFirestoreAdminV1ExportDocumentsRequest--;
@@ -946,14 +946,14 @@
buildCounterGoogleFirestoreAdminV1Field--;
}
-buildUnnamed2575() {
+buildUnnamed2579() {
var o = new core.List<api.GoogleFirestoreAdminV1IndexConfigDelta>();
o.add(buildGoogleFirestoreAdminV1IndexConfigDelta());
o.add(buildGoogleFirestoreAdminV1IndexConfigDelta());
return o;
}
-checkUnnamed2575(core.List<api.GoogleFirestoreAdminV1IndexConfigDelta> o) {
+checkUnnamed2579(core.List<api.GoogleFirestoreAdminV1IndexConfigDelta> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleFirestoreAdminV1IndexConfigDelta(o[0]);
checkGoogleFirestoreAdminV1IndexConfigDelta(o[1]);
@@ -966,7 +966,7 @@
if (buildCounterGoogleFirestoreAdminV1FieldOperationMetadata < 3) {
o.endTime = "foo";
o.field = "foo";
- o.indexConfigDeltas = buildUnnamed2575();
+ o.indexConfigDeltas = buildUnnamed2579();
o.progressBytes = buildGoogleFirestoreAdminV1Progress();
o.progressDocuments = buildGoogleFirestoreAdminV1Progress();
o.startTime = "foo";
@@ -982,7 +982,7 @@
if (buildCounterGoogleFirestoreAdminV1FieldOperationMetadata < 3) {
unittest.expect(o.endTime, unittest.equals('foo'));
unittest.expect(o.field, unittest.equals('foo'));
- checkUnnamed2575(o.indexConfigDeltas);
+ checkUnnamed2579(o.indexConfigDeltas);
checkGoogleFirestoreAdminV1Progress(o.progressBytes);
checkGoogleFirestoreAdminV1Progress(o.progressDocuments);
unittest.expect(o.startTime, unittest.equals('foo'));
@@ -991,14 +991,14 @@
buildCounterGoogleFirestoreAdminV1FieldOperationMetadata--;
}
-buildUnnamed2576() {
+buildUnnamed2580() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2576(core.List<core.String> o) {
+checkUnnamed2580(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1009,7 +1009,7 @@
var o = new api.GoogleFirestoreAdminV1ImportDocumentsMetadata();
buildCounterGoogleFirestoreAdminV1ImportDocumentsMetadata++;
if (buildCounterGoogleFirestoreAdminV1ImportDocumentsMetadata < 3) {
- o.collectionIds = buildUnnamed2576();
+ o.collectionIds = buildUnnamed2580();
o.endTime = "foo";
o.inputUriPrefix = "foo";
o.operationState = "foo";
@@ -1025,7 +1025,7 @@
api.GoogleFirestoreAdminV1ImportDocumentsMetadata o) {
buildCounterGoogleFirestoreAdminV1ImportDocumentsMetadata++;
if (buildCounterGoogleFirestoreAdminV1ImportDocumentsMetadata < 3) {
- checkUnnamed2576(o.collectionIds);
+ checkUnnamed2580(o.collectionIds);
unittest.expect(o.endTime, unittest.equals('foo'));
unittest.expect(o.inputUriPrefix, unittest.equals('foo'));
unittest.expect(o.operationState, unittest.equals('foo'));
@@ -1036,14 +1036,14 @@
buildCounterGoogleFirestoreAdminV1ImportDocumentsMetadata--;
}
-buildUnnamed2577() {
+buildUnnamed2581() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2577(core.List<core.String> o) {
+checkUnnamed2581(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1054,7 +1054,7 @@
var o = new api.GoogleFirestoreAdminV1ImportDocumentsRequest();
buildCounterGoogleFirestoreAdminV1ImportDocumentsRequest++;
if (buildCounterGoogleFirestoreAdminV1ImportDocumentsRequest < 3) {
- o.collectionIds = buildUnnamed2577();
+ o.collectionIds = buildUnnamed2581();
o.inputUriPrefix = "foo";
}
buildCounterGoogleFirestoreAdminV1ImportDocumentsRequest--;
@@ -1065,20 +1065,20 @@
api.GoogleFirestoreAdminV1ImportDocumentsRequest o) {
buildCounterGoogleFirestoreAdminV1ImportDocumentsRequest++;
if (buildCounterGoogleFirestoreAdminV1ImportDocumentsRequest < 3) {
- checkUnnamed2577(o.collectionIds);
+ checkUnnamed2581(o.collectionIds);
unittest.expect(o.inputUriPrefix, unittest.equals('foo'));
}
buildCounterGoogleFirestoreAdminV1ImportDocumentsRequest--;
}
-buildUnnamed2578() {
+buildUnnamed2582() {
var o = new core.List<api.GoogleFirestoreAdminV1IndexField>();
o.add(buildGoogleFirestoreAdminV1IndexField());
o.add(buildGoogleFirestoreAdminV1IndexField());
return o;
}
-checkUnnamed2578(core.List<api.GoogleFirestoreAdminV1IndexField> o) {
+checkUnnamed2582(core.List<api.GoogleFirestoreAdminV1IndexField> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleFirestoreAdminV1IndexField(o[0]);
checkGoogleFirestoreAdminV1IndexField(o[1]);
@@ -1089,7 +1089,7 @@
var o = new api.GoogleFirestoreAdminV1Index();
buildCounterGoogleFirestoreAdminV1Index++;
if (buildCounterGoogleFirestoreAdminV1Index < 3) {
- o.fields = buildUnnamed2578();
+ o.fields = buildUnnamed2582();
o.name = "foo";
o.queryScope = "foo";
o.state = "foo";
@@ -1101,7 +1101,7 @@
checkGoogleFirestoreAdminV1Index(api.GoogleFirestoreAdminV1Index o) {
buildCounterGoogleFirestoreAdminV1Index++;
if (buildCounterGoogleFirestoreAdminV1Index < 3) {
- checkUnnamed2578(o.fields);
+ checkUnnamed2582(o.fields);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.queryScope, unittest.equals('foo'));
unittest.expect(o.state, unittest.equals('foo'));
@@ -1109,14 +1109,14 @@
buildCounterGoogleFirestoreAdminV1Index--;
}
-buildUnnamed2579() {
+buildUnnamed2583() {
var o = new core.List<api.GoogleFirestoreAdminV1Index>();
o.add(buildGoogleFirestoreAdminV1Index());
o.add(buildGoogleFirestoreAdminV1Index());
return o;
}
-checkUnnamed2579(core.List<api.GoogleFirestoreAdminV1Index> o) {
+checkUnnamed2583(core.List<api.GoogleFirestoreAdminV1Index> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleFirestoreAdminV1Index(o[0]);
checkGoogleFirestoreAdminV1Index(o[1]);
@@ -1128,7 +1128,7 @@
buildCounterGoogleFirestoreAdminV1IndexConfig++;
if (buildCounterGoogleFirestoreAdminV1IndexConfig < 3) {
o.ancestorField = "foo";
- o.indexes = buildUnnamed2579();
+ o.indexes = buildUnnamed2583();
o.reverting = true;
o.usesAncestorConfig = true;
}
@@ -1141,7 +1141,7 @@
buildCounterGoogleFirestoreAdminV1IndexConfig++;
if (buildCounterGoogleFirestoreAdminV1IndexConfig < 3) {
unittest.expect(o.ancestorField, unittest.equals('foo'));
- checkUnnamed2579(o.indexes);
+ checkUnnamed2583(o.indexes);
unittest.expect(o.reverting, unittest.isTrue);
unittest.expect(o.usesAncestorConfig, unittest.isTrue);
}
@@ -1223,14 +1223,14 @@
buildCounterGoogleFirestoreAdminV1IndexOperationMetadata--;
}
-buildUnnamed2580() {
+buildUnnamed2584() {
var o = new core.List<api.GoogleFirestoreAdminV1Field>();
o.add(buildGoogleFirestoreAdminV1Field());
o.add(buildGoogleFirestoreAdminV1Field());
return o;
}
-checkUnnamed2580(core.List<api.GoogleFirestoreAdminV1Field> o) {
+checkUnnamed2584(core.List<api.GoogleFirestoreAdminV1Field> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleFirestoreAdminV1Field(o[0]);
checkGoogleFirestoreAdminV1Field(o[1]);
@@ -1241,7 +1241,7 @@
var o = new api.GoogleFirestoreAdminV1ListFieldsResponse();
buildCounterGoogleFirestoreAdminV1ListFieldsResponse++;
if (buildCounterGoogleFirestoreAdminV1ListFieldsResponse < 3) {
- o.fields = buildUnnamed2580();
+ o.fields = buildUnnamed2584();
o.nextPageToken = "foo";
}
buildCounterGoogleFirestoreAdminV1ListFieldsResponse--;
@@ -1252,20 +1252,20 @@
api.GoogleFirestoreAdminV1ListFieldsResponse o) {
buildCounterGoogleFirestoreAdminV1ListFieldsResponse++;
if (buildCounterGoogleFirestoreAdminV1ListFieldsResponse < 3) {
- checkUnnamed2580(o.fields);
+ checkUnnamed2584(o.fields);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterGoogleFirestoreAdminV1ListFieldsResponse--;
}
-buildUnnamed2581() {
+buildUnnamed2585() {
var o = new core.List<api.GoogleFirestoreAdminV1Index>();
o.add(buildGoogleFirestoreAdminV1Index());
o.add(buildGoogleFirestoreAdminV1Index());
return o;
}
-checkUnnamed2581(core.List<api.GoogleFirestoreAdminV1Index> o) {
+checkUnnamed2585(core.List<api.GoogleFirestoreAdminV1Index> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleFirestoreAdminV1Index(o[0]);
checkGoogleFirestoreAdminV1Index(o[1]);
@@ -1276,7 +1276,7 @@
var o = new api.GoogleFirestoreAdminV1ListIndexesResponse();
buildCounterGoogleFirestoreAdminV1ListIndexesResponse++;
if (buildCounterGoogleFirestoreAdminV1ListIndexesResponse < 3) {
- o.indexes = buildUnnamed2581();
+ o.indexes = buildUnnamed2585();
o.nextPageToken = "foo";
}
buildCounterGoogleFirestoreAdminV1ListIndexesResponse--;
@@ -1287,7 +1287,7 @@
api.GoogleFirestoreAdminV1ListIndexesResponse o) {
buildCounterGoogleFirestoreAdminV1ListIndexesResponse++;
if (buildCounterGoogleFirestoreAdminV1ListIndexesResponse < 3) {
- checkUnnamed2581(o.indexes);
+ checkUnnamed2585(o.indexes);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterGoogleFirestoreAdminV1ListIndexesResponse--;
@@ -1346,14 +1346,14 @@
buildCounterGoogleLongrunningCancelOperationRequest--;
}
-buildUnnamed2582() {
+buildUnnamed2586() {
var o = new core.List<api.GoogleLongrunningOperation>();
o.add(buildGoogleLongrunningOperation());
o.add(buildGoogleLongrunningOperation());
return o;
}
-checkUnnamed2582(core.List<api.GoogleLongrunningOperation> o) {
+checkUnnamed2586(core.List<api.GoogleLongrunningOperation> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleLongrunningOperation(o[0]);
checkGoogleLongrunningOperation(o[1]);
@@ -1365,7 +1365,7 @@
buildCounterGoogleLongrunningListOperationsResponse++;
if (buildCounterGoogleLongrunningListOperationsResponse < 3) {
o.nextPageToken = "foo";
- o.operations = buildUnnamed2582();
+ o.operations = buildUnnamed2586();
}
buildCounterGoogleLongrunningListOperationsResponse--;
return o;
@@ -1376,12 +1376,12 @@
buildCounterGoogleLongrunningListOperationsResponse++;
if (buildCounterGoogleLongrunningListOperationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2582(o.operations);
+ checkUnnamed2586(o.operations);
}
buildCounterGoogleLongrunningListOperationsResponse--;
}
-buildUnnamed2583() {
+buildUnnamed2587() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1396,7 +1396,7 @@
return o;
}
-checkUnnamed2583(core.Map<core.String, core.Object> o) {
+checkUnnamed2587(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o["x"]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -1410,7 +1410,7 @@
unittest.expect(casted2["string"], unittest.equals('foo'));
}
-buildUnnamed2584() {
+buildUnnamed2588() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1425,7 +1425,7 @@
return o;
}
-checkUnnamed2584(core.Map<core.String, core.Object> o) {
+checkUnnamed2588(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted3 = (o["x"]) as core.Map;
unittest.expect(casted3, unittest.hasLength(3));
@@ -1446,9 +1446,9 @@
if (buildCounterGoogleLongrunningOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed2583();
+ o.metadata = buildUnnamed2587();
o.name = "foo";
- o.response = buildUnnamed2584();
+ o.response = buildUnnamed2588();
}
buildCounterGoogleLongrunningOperation--;
return o;
@@ -1459,9 +1459,9 @@
if (buildCounterGoogleLongrunningOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed2583(o.metadata);
+ checkUnnamed2587(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2584(o.response);
+ checkUnnamed2588(o.response);
}
buildCounterGoogleLongrunningOperation--;
}
@@ -1508,14 +1508,14 @@
buildCounterListCollectionIdsRequest--;
}
-buildUnnamed2585() {
+buildUnnamed2589() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2585(core.List<core.String> o) {
+checkUnnamed2589(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1526,7 +1526,7 @@
var o = new api.ListCollectionIdsResponse();
buildCounterListCollectionIdsResponse++;
if (buildCounterListCollectionIdsResponse < 3) {
- o.collectionIds = buildUnnamed2585();
+ o.collectionIds = buildUnnamed2589();
o.nextPageToken = "foo";
}
buildCounterListCollectionIdsResponse--;
@@ -1536,20 +1536,20 @@
checkListCollectionIdsResponse(api.ListCollectionIdsResponse o) {
buildCounterListCollectionIdsResponse++;
if (buildCounterListCollectionIdsResponse < 3) {
- checkUnnamed2585(o.collectionIds);
+ checkUnnamed2589(o.collectionIds);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListCollectionIdsResponse--;
}
-buildUnnamed2586() {
+buildUnnamed2590() {
var o = new core.List<api.Document>();
o.add(buildDocument());
o.add(buildDocument());
return o;
}
-checkUnnamed2586(core.List<api.Document> o) {
+checkUnnamed2590(core.List<api.Document> o) {
unittest.expect(o, unittest.hasLength(2));
checkDocument(o[0]);
checkDocument(o[1]);
@@ -1560,7 +1560,7 @@
var o = new api.ListDocumentsResponse();
buildCounterListDocumentsResponse++;
if (buildCounterListDocumentsResponse < 3) {
- o.documents = buildUnnamed2586();
+ o.documents = buildUnnamed2590();
o.nextPageToken = "foo";
}
buildCounterListDocumentsResponse--;
@@ -1570,20 +1570,20 @@
checkListDocumentsResponse(api.ListDocumentsResponse o) {
buildCounterListDocumentsResponse++;
if (buildCounterListDocumentsResponse < 3) {
- checkUnnamed2586(o.documents);
+ checkUnnamed2590(o.documents);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListDocumentsResponse--;
}
-buildUnnamed2587() {
+buildUnnamed2591() {
var o = new core.List<api.Location>();
o.add(buildLocation());
o.add(buildLocation());
return o;
}
-checkUnnamed2587(core.List<api.Location> o) {
+checkUnnamed2591(core.List<api.Location> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocation(o[0]);
checkLocation(o[1]);
@@ -1594,7 +1594,7 @@
var o = new api.ListLocationsResponse();
buildCounterListLocationsResponse++;
if (buildCounterListLocationsResponse < 3) {
- o.locations = buildUnnamed2587();
+ o.locations = buildUnnamed2591();
o.nextPageToken = "foo";
}
buildCounterListLocationsResponse--;
@@ -1604,20 +1604,20 @@
checkListLocationsResponse(api.ListLocationsResponse o) {
buildCounterListLocationsResponse++;
if (buildCounterListLocationsResponse < 3) {
- checkUnnamed2587(o.locations);
+ checkUnnamed2591(o.locations);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListLocationsResponse--;
}
-buildUnnamed2588() {
+buildUnnamed2592() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2588(core.Map<core.String, core.String> o) {
+checkUnnamed2592(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -1629,7 +1629,7 @@
buildCounterListenRequest++;
if (buildCounterListenRequest < 3) {
o.addTarget = buildTarget();
- o.labels = buildUnnamed2588();
+ o.labels = buildUnnamed2592();
o.removeTarget = 42;
}
buildCounterListenRequest--;
@@ -1640,7 +1640,7 @@
buildCounterListenRequest++;
if (buildCounterListenRequest < 3) {
checkTarget(o.addTarget);
- checkUnnamed2588(o.labels);
+ checkUnnamed2592(o.labels);
unittest.expect(o.removeTarget, unittest.equals(42));
}
buildCounterListenRequest--;
@@ -1673,20 +1673,20 @@
buildCounterListenResponse--;
}
-buildUnnamed2589() {
+buildUnnamed2593() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2589(core.Map<core.String, core.String> o) {
+checkUnnamed2593(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed2590() {
+buildUnnamed2594() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1701,7 +1701,7 @@
return o;
}
-checkUnnamed2590(core.Map<core.String, core.Object> o) {
+checkUnnamed2594(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted5 = (o["x"]) as core.Map;
unittest.expect(casted5, unittest.hasLength(3));
@@ -1721,9 +1721,9 @@
buildCounterLocation++;
if (buildCounterLocation < 3) {
o.displayName = "foo";
- o.labels = buildUnnamed2589();
+ o.labels = buildUnnamed2593();
o.locationId = "foo";
- o.metadata = buildUnnamed2590();
+ o.metadata = buildUnnamed2594();
o.name = "foo";
}
buildCounterLocation--;
@@ -1734,22 +1734,22 @@
buildCounterLocation++;
if (buildCounterLocation < 3) {
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed2589(o.labels);
+ checkUnnamed2593(o.labels);
unittest.expect(o.locationId, unittest.equals('foo'));
- checkUnnamed2590(o.metadata);
+ checkUnnamed2594(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
}
buildCounterLocation--;
}
-buildUnnamed2591() {
+buildUnnamed2595() {
var o = new core.Map<core.String, api.Value>();
o["x"] = buildValue();
o["y"] = buildValue();
return o;
}
-checkUnnamed2591(core.Map<core.String, api.Value> o) {
+checkUnnamed2595(core.Map<core.String, api.Value> o) {
unittest.expect(o, unittest.hasLength(2));
checkValue(o["x"]);
checkValue(o["y"]);
@@ -1760,7 +1760,7 @@
var o = new api.MapValue();
buildCounterMapValue++;
if (buildCounterMapValue < 3) {
- o.fields = buildUnnamed2591();
+ o.fields = buildUnnamed2595();
}
buildCounterMapValue--;
return o;
@@ -1769,7 +1769,7 @@
checkMapValue(api.MapValue o) {
buildCounterMapValue++;
if (buildCounterMapValue < 3) {
- checkUnnamed2591(o.fields);
+ checkUnnamed2595(o.fields);
}
buildCounterMapValue--;
}
@@ -1820,14 +1820,14 @@
buildCounterPartitionQueryRequest--;
}
-buildUnnamed2592() {
+buildUnnamed2596() {
var o = new core.List<api.Cursor>();
o.add(buildCursor());
o.add(buildCursor());
return o;
}
-checkUnnamed2592(core.List<api.Cursor> o) {
+checkUnnamed2596(core.List<api.Cursor> o) {
unittest.expect(o, unittest.hasLength(2));
checkCursor(o[0]);
checkCursor(o[1]);
@@ -1839,7 +1839,7 @@
buildCounterPartitionQueryResponse++;
if (buildCounterPartitionQueryResponse < 3) {
o.nextPageToken = "foo";
- o.partitions = buildUnnamed2592();
+ o.partitions = buildUnnamed2596();
}
buildCounterPartitionQueryResponse--;
return o;
@@ -1849,7 +1849,7 @@
buildCounterPartitionQueryResponse++;
if (buildCounterPartitionQueryResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2592(o.partitions);
+ checkUnnamed2596(o.partitions);
}
buildCounterPartitionQueryResponse--;
}
@@ -1875,14 +1875,14 @@
buildCounterPrecondition--;
}
-buildUnnamed2593() {
+buildUnnamed2597() {
var o = new core.List<api.FieldReference>();
o.add(buildFieldReference());
o.add(buildFieldReference());
return o;
}
-checkUnnamed2593(core.List<api.FieldReference> o) {
+checkUnnamed2597(core.List<api.FieldReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkFieldReference(o[0]);
checkFieldReference(o[1]);
@@ -1893,7 +1893,7 @@
var o = new api.Projection();
buildCounterProjection++;
if (buildCounterProjection < 3) {
- o.fields = buildUnnamed2593();
+ o.fields = buildUnnamed2597();
}
buildCounterProjection--;
return o;
@@ -1902,7 +1902,7 @@
checkProjection(api.Projection o) {
buildCounterProjection++;
if (buildCounterProjection < 3) {
- checkUnnamed2593(o.fields);
+ checkUnnamed2597(o.fields);
}
buildCounterProjection--;
}
@@ -2035,7 +2035,7 @@
buildCounterRunQueryResponse--;
}
-buildUnnamed2594() {
+buildUnnamed2598() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -2050,7 +2050,7 @@
return o;
}
-checkUnnamed2594(core.Map<core.String, core.Object> o) {
+checkUnnamed2598(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted7 = (o["x"]) as core.Map;
unittest.expect(casted7, unittest.hasLength(3));
@@ -2064,17 +2064,17 @@
unittest.expect(casted8["string"], unittest.equals('foo'));
}
-buildUnnamed2595() {
+buildUnnamed2599() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed2594());
- o.add(buildUnnamed2594());
+ o.add(buildUnnamed2598());
+ o.add(buildUnnamed2598());
return o;
}
-checkUnnamed2595(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed2599(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2594(o[0]);
- checkUnnamed2594(o[1]);
+ checkUnnamed2598(o[0]);
+ checkUnnamed2598(o[1]);
}
core.int buildCounterStatus = 0;
@@ -2083,7 +2083,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed2595();
+ o.details = buildUnnamed2599();
o.message = "foo";
}
buildCounterStatus--;
@@ -2094,33 +2094,33 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed2595(o.details);
+ checkUnnamed2599(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
}
-buildUnnamed2596() {
+buildUnnamed2600() {
var o = new core.List<api.CollectionSelector>();
o.add(buildCollectionSelector());
o.add(buildCollectionSelector());
return o;
}
-checkUnnamed2596(core.List<api.CollectionSelector> o) {
+checkUnnamed2600(core.List<api.CollectionSelector> o) {
unittest.expect(o, unittest.hasLength(2));
checkCollectionSelector(o[0]);
checkCollectionSelector(o[1]);
}
-buildUnnamed2597() {
+buildUnnamed2601() {
var o = new core.List<api.Order>();
o.add(buildOrder());
o.add(buildOrder());
return o;
}
-checkUnnamed2597(core.List<api.Order> o) {
+checkUnnamed2601(core.List<api.Order> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrder(o[0]);
checkOrder(o[1]);
@@ -2132,10 +2132,10 @@
buildCounterStructuredQuery++;
if (buildCounterStructuredQuery < 3) {
o.endAt = buildCursor();
- o.from = buildUnnamed2596();
+ o.from = buildUnnamed2600();
o.limit = 42;
o.offset = 42;
- o.orderBy = buildUnnamed2597();
+ o.orderBy = buildUnnamed2601();
o.select = buildProjection();
o.startAt = buildCursor();
o.where = buildFilter();
@@ -2148,10 +2148,10 @@
buildCounterStructuredQuery++;
if (buildCounterStructuredQuery < 3) {
checkCursor(o.endAt);
- checkUnnamed2596(o.from);
+ checkUnnamed2600(o.from);
unittest.expect(o.limit, unittest.equals(42));
unittest.expect(o.offset, unittest.equals(42));
- checkUnnamed2597(o.orderBy);
+ checkUnnamed2601(o.orderBy);
checkProjection(o.select);
checkCursor(o.startAt);
checkFilter(o.where);
@@ -2188,14 +2188,14 @@
buildCounterTarget--;
}
-buildUnnamed2598() {
+buildUnnamed2602() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed2598(core.List<core.int> o) {
+checkUnnamed2602(core.List<core.int> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42));
unittest.expect(o[1], unittest.equals(42));
@@ -2210,7 +2210,7 @@
o.readTime = "foo";
o.resumeToken = "foo";
o.targetChangeType = "foo";
- o.targetIds = buildUnnamed2598();
+ o.targetIds = buildUnnamed2602();
}
buildCounterTargetChange--;
return o;
@@ -2223,7 +2223,7 @@
unittest.expect(o.readTime, unittest.equals('foo'));
unittest.expect(o.resumeToken, unittest.equals('foo'));
unittest.expect(o.targetChangeType, unittest.equals('foo'));
- checkUnnamed2598(o.targetIds);
+ checkUnnamed2602(o.targetIds);
}
buildCounterTargetChange--;
}
@@ -2309,14 +2309,14 @@
buildCounterValue--;
}
-buildUnnamed2599() {
+buildUnnamed2603() {
var o = new core.List<api.FieldTransform>();
o.add(buildFieldTransform());
o.add(buildFieldTransform());
return o;
}
-checkUnnamed2599(core.List<api.FieldTransform> o) {
+checkUnnamed2603(core.List<api.FieldTransform> o) {
unittest.expect(o, unittest.hasLength(2));
checkFieldTransform(o[0]);
checkFieldTransform(o[1]);
@@ -2332,7 +2332,7 @@
o.transform = buildDocumentTransform();
o.update = buildDocument();
o.updateMask = buildDocumentMask();
- o.updateTransforms = buildUnnamed2599();
+ o.updateTransforms = buildUnnamed2603();
}
buildCounterWrite--;
return o;
@@ -2346,32 +2346,32 @@
checkDocumentTransform(o.transform);
checkDocument(o.update);
checkDocumentMask(o.updateMask);
- checkUnnamed2599(o.updateTransforms);
+ checkUnnamed2603(o.updateTransforms);
}
buildCounterWrite--;
}
-buildUnnamed2600() {
+buildUnnamed2604() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2600(core.Map<core.String, core.String> o) {
+checkUnnamed2604(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed2601() {
+buildUnnamed2605() {
var o = new core.List<api.Write>();
o.add(buildWrite());
o.add(buildWrite());
return o;
}
-checkUnnamed2601(core.List<api.Write> o) {
+checkUnnamed2605(core.List<api.Write> o) {
unittest.expect(o, unittest.hasLength(2));
checkWrite(o[0]);
checkWrite(o[1]);
@@ -2382,10 +2382,10 @@
var o = new api.WriteRequest();
buildCounterWriteRequest++;
if (buildCounterWriteRequest < 3) {
- o.labels = buildUnnamed2600();
+ o.labels = buildUnnamed2604();
o.streamId = "foo";
o.streamToken = "foo";
- o.writes = buildUnnamed2601();
+ o.writes = buildUnnamed2605();
}
buildCounterWriteRequest--;
return o;
@@ -2394,22 +2394,22 @@
checkWriteRequest(api.WriteRequest o) {
buildCounterWriteRequest++;
if (buildCounterWriteRequest < 3) {
- checkUnnamed2600(o.labels);
+ checkUnnamed2604(o.labels);
unittest.expect(o.streamId, unittest.equals('foo'));
unittest.expect(o.streamToken, unittest.equals('foo'));
- checkUnnamed2601(o.writes);
+ checkUnnamed2605(o.writes);
}
buildCounterWriteRequest--;
}
-buildUnnamed2602() {
+buildUnnamed2606() {
var o = new core.List<api.WriteResult>();
o.add(buildWriteResult());
o.add(buildWriteResult());
return o;
}
-checkUnnamed2602(core.List<api.WriteResult> o) {
+checkUnnamed2606(core.List<api.WriteResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkWriteResult(o[0]);
checkWriteResult(o[1]);
@@ -2423,7 +2423,7 @@
o.commitTime = "foo";
o.streamId = "foo";
o.streamToken = "foo";
- o.writeResults = buildUnnamed2602();
+ o.writeResults = buildUnnamed2606();
}
buildCounterWriteResponse--;
return o;
@@ -2435,19 +2435,19 @@
unittest.expect(o.commitTime, unittest.equals('foo'));
unittest.expect(o.streamId, unittest.equals('foo'));
unittest.expect(o.streamToken, unittest.equals('foo'));
- checkUnnamed2602(o.writeResults);
+ checkUnnamed2606(o.writeResults);
}
buildCounterWriteResponse--;
}
-buildUnnamed2603() {
+buildUnnamed2607() {
var o = new core.List<api.Value>();
o.add(buildValue());
o.add(buildValue());
return o;
}
-checkUnnamed2603(core.List<api.Value> o) {
+checkUnnamed2607(core.List<api.Value> o) {
unittest.expect(o, unittest.hasLength(2));
checkValue(o[0]);
checkValue(o[1]);
@@ -2458,7 +2458,7 @@
var o = new api.WriteResult();
buildCounterWriteResult++;
if (buildCounterWriteResult < 3) {
- o.transformResults = buildUnnamed2603();
+ o.transformResults = buildUnnamed2607();
o.updateTime = "foo";
}
buildCounterWriteResult--;
@@ -2468,64 +2468,12 @@
checkWriteResult(api.WriteResult o) {
buildCounterWriteResult++;
if (buildCounterWriteResult < 3) {
- checkUnnamed2603(o.transformResults);
+ checkUnnamed2607(o.transformResults);
unittest.expect(o.updateTime, unittest.equals('foo'));
}
buildCounterWriteResult--;
}
-buildUnnamed2604() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2604(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed2605() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2605(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed2606() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2606(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed2607() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2607(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed2608() {
var o = new core.List<core.String>();
o.add("foo");
@@ -2539,6 +2487,58 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed2609() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2609(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed2610() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2610(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed2611() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2611(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed2612() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2612(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
main() {
unittest.group("obj-schema-ArrayValue", () {
unittest.test("to-json--from-json", () {
@@ -3331,9 +3331,9 @@
api.ProjectsDatabasesCollectionGroupsFieldsResourceApi res =
new api.FirestoreApi(mock).projects.databases.collectionGroups.fields;
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;
@@ -3366,11 +3366,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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 = {
@@ -3382,9 +3382,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) {
checkGoogleFirestoreAdminV1ListFieldsResponse(response);
@@ -3928,8 +3928,8 @@
var arg_request = buildDocument();
var arg_parent = "foo";
var arg_collectionId = "foo";
- var arg_mask_fieldPaths = buildUnnamed2604();
var arg_documentId = "foo";
+ var arg_mask_fieldPaths = buildUnnamed2608();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.Document.fromJson(json);
@@ -3966,9 +3966,9 @@
}
}
unittest.expect(
- queryMap["mask.fieldPaths"], unittest.equals(arg_mask_fieldPaths));
- unittest.expect(
queryMap["documentId"].first, unittest.equals(arg_documentId));
+ unittest.expect(
+ queryMap["mask.fieldPaths"], unittest.equals(arg_mask_fieldPaths));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3979,8 +3979,8 @@
}), true);
res
.createDocument(arg_request, arg_parent, arg_collectionId,
- mask_fieldPaths: arg_mask_fieldPaths,
documentId: arg_documentId,
+ mask_fieldPaths: arg_mask_fieldPaths,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkDocument(response);
@@ -4053,9 +4053,9 @@
api.ProjectsDatabasesDocumentsResourceApi res =
new api.FirestoreApi(mock).projects.databases.documents;
var arg_name = "foo";
- var arg_readTime = "foo";
- var arg_mask_fieldPaths = buildUnnamed2605();
+ var arg_mask_fieldPaths = buildUnnamed2609();
var arg_transaction = "foo";
+ var arg_readTime = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -4089,11 +4089,11 @@
}
}
unittest.expect(
- queryMap["readTime"].first, unittest.equals(arg_readTime));
- 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["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4104,9 +4104,9 @@
}), true);
res
.get(arg_name,
- readTime: arg_readTime,
mask_fieldPaths: arg_mask_fieldPaths,
transaction: arg_transaction,
+ readTime: arg_readTime,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkDocument(response);
@@ -4119,13 +4119,13 @@
new api.FirestoreApi(mock).projects.databases.documents;
var arg_parent = "foo";
var arg_collectionId = "foo";
+ var arg_mask_fieldPaths = buildUnnamed2610();
+ var arg_pageToken = "foo";
var arg_orderBy = "foo";
var arg_readTime = "foo";
var arg_showMissing = true;
- var arg_pageSize = 42;
- var arg_mask_fieldPaths = buildUnnamed2606();
- var arg_pageToken = "foo";
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;
@@ -4159,19 +4159,19 @@
}
}
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(
queryMap["readTime"].first, unittest.equals(arg_readTime));
unittest.expect(
queryMap["showMissing"].first, unittest.equals("$arg_showMissing"));
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
- unittest.expect(
- queryMap["mask.fieldPaths"], unittest.equals(arg_mask_fieldPaths));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
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 = {
@@ -4182,13 +4182,13 @@
}), true);
res
.list(arg_parent, arg_collectionId,
+ mask_fieldPaths: arg_mask_fieldPaths,
+ pageToken: arg_pageToken,
orderBy: arg_orderBy,
readTime: arg_readTime,
showMissing: arg_showMissing,
- pageSize: arg_pageSize,
- mask_fieldPaths: arg_mask_fieldPaths,
- pageToken: arg_pageToken,
transaction: arg_transaction,
+ pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListDocumentsResponse(response);
@@ -4369,9 +4369,9 @@
new api.FirestoreApi(mock).projects.databases.documents;
var arg_request = buildDocument();
var arg_name = "foo";
- var arg_updateMask_fieldPaths = buildUnnamed2607();
var arg_currentDocument_exists = true;
- var arg_mask_fieldPaths = buildUnnamed2608();
+ var arg_updateMask_fieldPaths = buildUnnamed2611();
+ var arg_mask_fieldPaths = buildUnnamed2612();
var arg_currentDocument_updateTime = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -4408,10 +4408,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["updateMask.fieldPaths"],
- unittest.equals(arg_updateMask_fieldPaths));
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,
@@ -4426,8 +4426,8 @@
}), true);
res
.patch(arg_request, arg_name,
- updateMask_fieldPaths: arg_updateMask_fieldPaths,
currentDocument_exists: arg_currentDocument_exists,
+ updateMask_fieldPaths: arg_updateMask_fieldPaths,
mask_fieldPaths: arg_mask_fieldPaths,
currentDocument_updateTime: arg_currentDocument_updateTime,
$fields: arg_$fields)
@@ -4772,9 +4772,9 @@
api.ProjectsDatabasesOperationsResourceApi res =
new api.FirestoreApi(mock).projects.databases.operations;
var arg_name = "foo";
- var arg_filter = "foo";
- var arg_pageSize = 42;
var arg_pageToken = "foo";
+ var arg_pageSize = 42;
+ var arg_filter = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -4807,11 +4807,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4823,9 +4823,9 @@
}), true);
res
.list(arg_name,
- filter: arg_filter,
- pageSize: arg_pageSize,
pageToken: arg_pageToken,
+ pageSize: arg_pageSize,
+ filter: arg_filter,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGoogleLongrunningListOperationsResponse(response);
@@ -4891,9 +4891,9 @@
api.ProjectsLocationsResourceApi res =
new api.FirestoreApi(mock).projects.locations;
var arg_name = "foo";
+ var arg_pageSize = 42;
var arg_pageToken = "foo";
var arg_filter = "foo";
- var arg_pageSize = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -4926,11 +4926,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ 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(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4941,9 +4941,9 @@
}), true);
res
.list(arg_name,
+ pageSize: arg_pageSize,
pageToken: arg_pageToken,
filter: arg_filter,
- pageSize: arg_pageSize,
$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 c9ab22c..501a2f0e 100644
--- a/generated/googleapis/test/fitness/v1_test.dart
+++ b/generated/googleapis/test/fitness/v1_test.dart
@@ -50,14 +50,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed1042() {
+buildUnnamed1043() {
var o = new core.List<api.Dataset>();
o.add(buildDataset());
o.add(buildDataset());
return o;
}
-checkUnnamed1042(core.List<api.Dataset> o) {
+checkUnnamed1043(core.List<api.Dataset> o) {
unittest.expect(o, unittest.hasLength(2));
checkDataset(o[0]);
checkDataset(o[1]);
@@ -69,7 +69,7 @@
buildCounterAggregateBucket++;
if (buildCounterAggregateBucket < 3) {
o.activity = 42;
- o.dataset = buildUnnamed1042();
+ o.dataset = buildUnnamed1043();
o.endTimeMillis = "foo";
o.session = buildSession();
o.startTimeMillis = "foo";
@@ -83,7 +83,7 @@
buildCounterAggregateBucket++;
if (buildCounterAggregateBucket < 3) {
unittest.expect(o.activity, unittest.equals(42));
- checkUnnamed1042(o.dataset);
+ checkUnnamed1043(o.dataset);
unittest.expect(o.endTimeMillis, unittest.equals('foo'));
checkSession(o.session);
unittest.expect(o.startTimeMillis, unittest.equals('foo'));
@@ -113,27 +113,27 @@
buildCounterAggregateBy--;
}
-buildUnnamed1043() {
+buildUnnamed1044() {
var o = new core.List<api.AggregateBy>();
o.add(buildAggregateBy());
o.add(buildAggregateBy());
return o;
}
-checkUnnamed1043(core.List<api.AggregateBy> o) {
+checkUnnamed1044(core.List<api.AggregateBy> o) {
unittest.expect(o, unittest.hasLength(2));
checkAggregateBy(o[0]);
checkAggregateBy(o[1]);
}
-buildUnnamed1044() {
+buildUnnamed1045() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1044(core.List<core.String> o) {
+checkUnnamed1045(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -144,13 +144,13 @@
var o = new api.AggregateRequest();
buildCounterAggregateRequest++;
if (buildCounterAggregateRequest < 3) {
- o.aggregateBy = buildUnnamed1043();
+ o.aggregateBy = buildUnnamed1044();
o.bucketByActivitySegment = buildBucketByActivity();
o.bucketByActivityType = buildBucketByActivity();
o.bucketBySession = buildBucketBySession();
o.bucketByTime = buildBucketByTime();
o.endTimeMillis = "foo";
- o.filteredDataQualityStandard = buildUnnamed1044();
+ o.filteredDataQualityStandard = buildUnnamed1045();
o.startTimeMillis = "foo";
}
buildCounterAggregateRequest--;
@@ -160,26 +160,26 @@
checkAggregateRequest(api.AggregateRequest o) {
buildCounterAggregateRequest++;
if (buildCounterAggregateRequest < 3) {
- checkUnnamed1043(o.aggregateBy);
+ checkUnnamed1044(o.aggregateBy);
checkBucketByActivity(o.bucketByActivitySegment);
checkBucketByActivity(o.bucketByActivityType);
checkBucketBySession(o.bucketBySession);
checkBucketByTime(o.bucketByTime);
unittest.expect(o.endTimeMillis, unittest.equals('foo'));
- checkUnnamed1044(o.filteredDataQualityStandard);
+ checkUnnamed1045(o.filteredDataQualityStandard);
unittest.expect(o.startTimeMillis, unittest.equals('foo'));
}
buildCounterAggregateRequest--;
}
-buildUnnamed1045() {
+buildUnnamed1046() {
var o = new core.List<api.AggregateBucket>();
o.add(buildAggregateBucket());
o.add(buildAggregateBucket());
return o;
}
-checkUnnamed1045(core.List<api.AggregateBucket> o) {
+checkUnnamed1046(core.List<api.AggregateBucket> o) {
unittest.expect(o, unittest.hasLength(2));
checkAggregateBucket(o[0]);
checkAggregateBucket(o[1]);
@@ -190,7 +190,7 @@
var o = new api.AggregateResponse();
buildCounterAggregateResponse++;
if (buildCounterAggregateResponse < 3) {
- o.bucket = buildUnnamed1045();
+ o.bucket = buildUnnamed1046();
}
buildCounterAggregateResponse--;
return o;
@@ -199,7 +199,7 @@
checkAggregateResponse(api.AggregateResponse o) {
buildCounterAggregateResponse++;
if (buildCounterAggregateResponse < 3) {
- checkUnnamed1045(o.bucket);
+ checkUnnamed1046(o.bucket);
}
buildCounterAggregateResponse--;
}
@@ -313,14 +313,14 @@
buildCounterBucketByTimePeriod--;
}
-buildUnnamed1046() {
+buildUnnamed1047() {
var o = new core.List<api.Value>();
o.add(buildValue());
o.add(buildValue());
return o;
}
-checkUnnamed1046(core.List<api.Value> o) {
+checkUnnamed1047(core.List<api.Value> o) {
unittest.expect(o, unittest.hasLength(2));
checkValue(o[0]);
checkValue(o[1]);
@@ -338,7 +338,7 @@
o.originDataSourceId = "foo";
o.rawTimestampNanos = "foo";
o.startTimeNanos = "foo";
- o.value = buildUnnamed1046();
+ o.value = buildUnnamed1047();
}
buildCounterDataPoint--;
return o;
@@ -354,19 +354,19 @@
unittest.expect(o.originDataSourceId, unittest.equals('foo'));
unittest.expect(o.rawTimestampNanos, unittest.equals('foo'));
unittest.expect(o.startTimeNanos, unittest.equals('foo'));
- checkUnnamed1046(o.value);
+ checkUnnamed1047(o.value);
}
buildCounterDataPoint--;
}
-buildUnnamed1047() {
+buildUnnamed1048() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1047(core.List<core.String> o) {
+checkUnnamed1048(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -378,7 +378,7 @@
buildCounterDataSource++;
if (buildCounterDataSource < 3) {
o.application = buildApplication();
- o.dataQualityStandard = buildUnnamed1047();
+ o.dataQualityStandard = buildUnnamed1048();
o.dataStreamId = "foo";
o.dataStreamName = "foo";
o.dataType = buildDataType();
@@ -394,7 +394,7 @@
buildCounterDataSource++;
if (buildCounterDataSource < 3) {
checkApplication(o.application);
- checkUnnamed1047(o.dataQualityStandard);
+ checkUnnamed1048(o.dataQualityStandard);
unittest.expect(o.dataStreamId, unittest.equals('foo'));
unittest.expect(o.dataStreamName, unittest.equals('foo'));
checkDataType(o.dataType);
@@ -405,14 +405,14 @@
buildCounterDataSource--;
}
-buildUnnamed1048() {
+buildUnnamed1049() {
var o = new core.List<api.DataTypeField>();
o.add(buildDataTypeField());
o.add(buildDataTypeField());
return o;
}
-checkUnnamed1048(core.List<api.DataTypeField> o) {
+checkUnnamed1049(core.List<api.DataTypeField> o) {
unittest.expect(o, unittest.hasLength(2));
checkDataTypeField(o[0]);
checkDataTypeField(o[1]);
@@ -423,7 +423,7 @@
var o = new api.DataType();
buildCounterDataType++;
if (buildCounterDataType < 3) {
- o.field = buildUnnamed1048();
+ o.field = buildUnnamed1049();
o.name = "foo";
}
buildCounterDataType--;
@@ -433,7 +433,7 @@
checkDataType(api.DataType o) {
buildCounterDataType++;
if (buildCounterDataType < 3) {
- checkUnnamed1048(o.field);
+ checkUnnamed1049(o.field);
unittest.expect(o.name, unittest.equals('foo'));
}
buildCounterDataType--;
@@ -462,14 +462,14 @@
buildCounterDataTypeField--;
}
-buildUnnamed1049() {
+buildUnnamed1050() {
var o = new core.List<api.DataPoint>();
o.add(buildDataPoint());
o.add(buildDataPoint());
return o;
}
-checkUnnamed1049(core.List<api.DataPoint> o) {
+checkUnnamed1050(core.List<api.DataPoint> o) {
unittest.expect(o, unittest.hasLength(2));
checkDataPoint(o[0]);
checkDataPoint(o[1]);
@@ -484,7 +484,7 @@
o.maxEndTimeNs = "foo";
o.minStartTimeNs = "foo";
o.nextPageToken = "foo";
- o.point = buildUnnamed1049();
+ o.point = buildUnnamed1050();
}
buildCounterDataset--;
return o;
@@ -497,7 +497,7 @@
unittest.expect(o.maxEndTimeNs, unittest.equals('foo'));
unittest.expect(o.minStartTimeNs, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1049(o.point);
+ checkUnnamed1050(o.point);
}
buildCounterDataset--;
}
@@ -529,19 +529,6 @@
buildCounterDevice--;
}
-buildUnnamed1050() {
- var o = new core.List<api.DataPoint>();
- o.add(buildDataPoint());
- o.add(buildDataPoint());
- return o;
-}
-
-checkUnnamed1050(core.List<api.DataPoint> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkDataPoint(o[0]);
- checkDataPoint(o[1]);
-}
-
buildUnnamed1051() {
var o = new core.List<api.DataPoint>();
o.add(buildDataPoint());
@@ -555,14 +542,27 @@
checkDataPoint(o[1]);
}
+buildUnnamed1052() {
+ var o = new core.List<api.DataPoint>();
+ o.add(buildDataPoint());
+ o.add(buildDataPoint());
+ return o;
+}
+
+checkUnnamed1052(core.List<api.DataPoint> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkDataPoint(o[0]);
+ checkDataPoint(o[1]);
+}
+
core.int buildCounterListDataPointChangesResponse = 0;
buildListDataPointChangesResponse() {
var o = new api.ListDataPointChangesResponse();
buildCounterListDataPointChangesResponse++;
if (buildCounterListDataPointChangesResponse < 3) {
o.dataSourceId = "foo";
- o.deletedDataPoint = buildUnnamed1050();
- o.insertedDataPoint = buildUnnamed1051();
+ o.deletedDataPoint = buildUnnamed1051();
+ o.insertedDataPoint = buildUnnamed1052();
o.nextPageToken = "foo";
}
buildCounterListDataPointChangesResponse--;
@@ -573,21 +573,21 @@
buildCounterListDataPointChangesResponse++;
if (buildCounterListDataPointChangesResponse < 3) {
unittest.expect(o.dataSourceId, unittest.equals('foo'));
- checkUnnamed1050(o.deletedDataPoint);
- checkUnnamed1051(o.insertedDataPoint);
+ checkUnnamed1051(o.deletedDataPoint);
+ checkUnnamed1052(o.insertedDataPoint);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListDataPointChangesResponse--;
}
-buildUnnamed1052() {
+buildUnnamed1053() {
var o = new core.List<api.DataSource>();
o.add(buildDataSource());
o.add(buildDataSource());
return o;
}
-checkUnnamed1052(core.List<api.DataSource> o) {
+checkUnnamed1053(core.List<api.DataSource> o) {
unittest.expect(o, unittest.hasLength(2));
checkDataSource(o[0]);
checkDataSource(o[1]);
@@ -598,7 +598,7 @@
var o = new api.ListDataSourcesResponse();
buildCounterListDataSourcesResponse++;
if (buildCounterListDataSourcesResponse < 3) {
- o.dataSource = buildUnnamed1052();
+ o.dataSource = buildUnnamed1053();
}
buildCounterListDataSourcesResponse--;
return o;
@@ -607,24 +607,11 @@
checkListDataSourcesResponse(api.ListDataSourcesResponse o) {
buildCounterListDataSourcesResponse++;
if (buildCounterListDataSourcesResponse < 3) {
- checkUnnamed1052(o.dataSource);
+ checkUnnamed1053(o.dataSource);
}
buildCounterListDataSourcesResponse--;
}
-buildUnnamed1053() {
- var o = new core.List<api.Session>();
- o.add(buildSession());
- o.add(buildSession());
- return o;
-}
-
-checkUnnamed1053(core.List<api.Session> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkSession(o[0]);
- checkSession(o[1]);
-}
-
buildUnnamed1054() {
var o = new core.List<api.Session>();
o.add(buildSession());
@@ -638,15 +625,28 @@
checkSession(o[1]);
}
+buildUnnamed1055() {
+ var o = new core.List<api.Session>();
+ o.add(buildSession());
+ o.add(buildSession());
+ return o;
+}
+
+checkUnnamed1055(core.List<api.Session> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkSession(o[0]);
+ checkSession(o[1]);
+}
+
core.int buildCounterListSessionsResponse = 0;
buildListSessionsResponse() {
var o = new api.ListSessionsResponse();
buildCounterListSessionsResponse++;
if (buildCounterListSessionsResponse < 3) {
- o.deletedSession = buildUnnamed1053();
+ o.deletedSession = buildUnnamed1054();
o.hasMoreData = true;
o.nextPageToken = "foo";
- o.session = buildUnnamed1054();
+ o.session = buildUnnamed1055();
}
buildCounterListSessionsResponse--;
return o;
@@ -655,10 +655,10 @@
checkListSessionsResponse(api.ListSessionsResponse o) {
buildCounterListSessionsResponse++;
if (buildCounterListSessionsResponse < 3) {
- checkUnnamed1053(o.deletedSession);
+ checkUnnamed1054(o.deletedSession);
unittest.expect(o.hasMoreData, unittest.isTrue);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1054(o.session);
+ checkUnnamed1055(o.session);
}
buildCounterListSessionsResponse--;
}
@@ -717,14 +717,14 @@
buildCounterSession--;
}
-buildUnnamed1055() {
+buildUnnamed1056() {
var o = new core.List<api.ValueMapValEntry>();
o.add(buildValueMapValEntry());
o.add(buildValueMapValEntry());
return o;
}
-checkUnnamed1055(core.List<api.ValueMapValEntry> o) {
+checkUnnamed1056(core.List<api.ValueMapValEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkValueMapValEntry(o[0]);
checkValueMapValEntry(o[1]);
@@ -737,7 +737,7 @@
if (buildCounterValue < 3) {
o.fpVal = 42.0;
o.intVal = 42;
- o.mapVal = buildUnnamed1055();
+ o.mapVal = buildUnnamed1056();
o.stringVal = "foo";
}
buildCounterValue--;
@@ -749,7 +749,7 @@
if (buildCounterValue < 3) {
unittest.expect(o.fpVal, unittest.equals(42.0));
unittest.expect(o.intVal, unittest.equals(42));
- checkUnnamed1055(o.mapVal);
+ checkUnnamed1056(o.mapVal);
unittest.expect(o.stringVal, unittest.equals('foo'));
}
buildCounterValue--;
@@ -776,27 +776,27 @@
buildCounterValueMapValEntry--;
}
-buildUnnamed1056() {
+buildUnnamed1057() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1056(core.List<core.String> o) {
+checkUnnamed1057(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1057() {
+buildUnnamed1058() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed1057(core.List<core.int> o) {
+checkUnnamed1058(core.List<core.int> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42));
unittest.expect(o[1], unittest.equals(42));
@@ -1135,7 +1135,7 @@
api.UsersDataSourcesResourceApi res =
new api.FitnessApi(mock).users.dataSources;
var arg_userId = "foo";
- var arg_dataTypeName = buildUnnamed1056();
+ var arg_dataTypeName = buildUnnamed1057();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1303,8 +1303,8 @@
var arg_userId = "foo";
var arg_dataSourceId = "foo";
var arg_datasetId = "foo";
- var arg_modifiedTimeMillis = "foo";
var arg_currentTimeMillis = "foo";
+ var arg_modifiedTimeMillis = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1333,10 +1333,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["modifiedTimeMillis"].first,
- unittest.equals(arg_modifiedTimeMillis));
unittest.expect(queryMap["currentTimeMillis"].first,
unittest.equals(arg_currentTimeMillis));
+ unittest.expect(queryMap["modifiedTimeMillis"].first,
+ unittest.equals(arg_modifiedTimeMillis));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1347,8 +1347,8 @@
}), true);
res
.delete(arg_userId, arg_dataSourceId, arg_datasetId,
- modifiedTimeMillis: arg_modifiedTimeMillis,
currentTimeMillis: arg_currentTimeMillis,
+ modifiedTimeMillis: arg_modifiedTimeMillis,
$fields: arg_$fields)
.then(unittest.expectAsync1((_) {}));
});
@@ -1579,11 +1579,11 @@
api.UsersSessionsResourceApi res =
new api.FitnessApi(mock).users.sessions;
var arg_userId = "foo";
- var arg_pageToken = "foo";
- var arg_includeDeleted = true;
var arg_endTime = "foo";
+ var arg_activityType = buildUnnamed1058();
+ var arg_includeDeleted = true;
+ var arg_pageToken = "foo";
var arg_startTime = "foo";
- var arg_activityType = buildUnnamed1057();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1613,15 +1613,15 @@
}
}
unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ queryMap["endTime"].first, unittest.equals(arg_endTime));
+ unittest.expect(queryMap["activityType"].map(core.int.parse).toList(),
+ unittest.equals(arg_activityType));
unittest.expect(queryMap["includeDeleted"].first,
unittest.equals("$arg_includeDeleted"));
unittest.expect(
- queryMap["endTime"].first, unittest.equals(arg_endTime));
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(
queryMap["startTime"].first, unittest.equals(arg_startTime));
- unittest.expect(queryMap["activityType"].map(core.int.parse).toList(),
- unittest.equals(arg_activityType));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1632,11 +1632,11 @@
}), true);
res
.list(arg_userId,
- pageToken: arg_pageToken,
- includeDeleted: arg_includeDeleted,
endTime: arg_endTime,
- startTime: arg_startTime,
activityType: arg_activityType,
+ includeDeleted: arg_includeDeleted,
+ pageToken: arg_pageToken,
+ startTime: arg_startTime,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListSessionsResponse(response);
diff --git a/generated/googleapis/test/games/v1_test.dart b/generated/googleapis/test/games/v1_test.dart
index dd727a7..19f07c8 100644
--- a/generated/googleapis/test/games/v1_test.dart
+++ b/generated/googleapis/test/games/v1_test.dart
@@ -93,14 +93,14 @@
buildCounterAchievementDefinition--;
}
-buildUnnamed3717() {
+buildUnnamed3721() {
var o = new core.List<api.AchievementDefinition>();
o.add(buildAchievementDefinition());
o.add(buildAchievementDefinition());
return o;
}
-checkUnnamed3717(core.List<api.AchievementDefinition> o) {
+checkUnnamed3721(core.List<api.AchievementDefinition> o) {
unittest.expect(o, unittest.hasLength(2));
checkAchievementDefinition(o[0]);
checkAchievementDefinition(o[1]);
@@ -111,7 +111,7 @@
var o = new api.AchievementDefinitionsListResponse();
buildCounterAchievementDefinitionsListResponse++;
if (buildCounterAchievementDefinitionsListResponse < 3) {
- o.items = buildUnnamed3717();
+ o.items = buildUnnamed3721();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -123,7 +123,7 @@
api.AchievementDefinitionsListResponse o) {
buildCounterAchievementDefinitionsListResponse++;
if (buildCounterAchievementDefinitionsListResponse < 3) {
- checkUnnamed3717(o.items);
+ checkUnnamed3721(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -219,14 +219,14 @@
buildCounterAchievementUnlockResponse--;
}
-buildUnnamed3718() {
+buildUnnamed3722() {
var o = new core.List<api.AchievementUpdateRequest>();
o.add(buildAchievementUpdateRequest());
o.add(buildAchievementUpdateRequest());
return o;
}
-checkUnnamed3718(core.List<api.AchievementUpdateRequest> o) {
+checkUnnamed3722(core.List<api.AchievementUpdateRequest> o) {
unittest.expect(o, unittest.hasLength(2));
checkAchievementUpdateRequest(o[0]);
checkAchievementUpdateRequest(o[1]);
@@ -238,7 +238,7 @@
buildCounterAchievementUpdateMultipleRequest++;
if (buildCounterAchievementUpdateMultipleRequest < 3) {
o.kind = "foo";
- o.updates = buildUnnamed3718();
+ o.updates = buildUnnamed3722();
}
buildCounterAchievementUpdateMultipleRequest--;
return o;
@@ -248,19 +248,19 @@
buildCounterAchievementUpdateMultipleRequest++;
if (buildCounterAchievementUpdateMultipleRequest < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed3718(o.updates);
+ checkUnnamed3722(o.updates);
}
buildCounterAchievementUpdateMultipleRequest--;
}
-buildUnnamed3719() {
+buildUnnamed3723() {
var o = new core.List<api.AchievementUpdateResponse>();
o.add(buildAchievementUpdateResponse());
o.add(buildAchievementUpdateResponse());
return o;
}
-checkUnnamed3719(core.List<api.AchievementUpdateResponse> o) {
+checkUnnamed3723(core.List<api.AchievementUpdateResponse> o) {
unittest.expect(o, unittest.hasLength(2));
checkAchievementUpdateResponse(o[0]);
checkAchievementUpdateResponse(o[1]);
@@ -272,7 +272,7 @@
buildCounterAchievementUpdateMultipleResponse++;
if (buildCounterAchievementUpdateMultipleResponse < 3) {
o.kind = "foo";
- o.updatedAchievements = buildUnnamed3719();
+ o.updatedAchievements = buildUnnamed3723();
}
buildCounterAchievementUpdateMultipleResponse--;
return o;
@@ -283,7 +283,7 @@
buildCounterAchievementUpdateMultipleResponse++;
if (buildCounterAchievementUpdateMultipleResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed3719(o.updatedAchievements);
+ checkUnnamed3723(o.updatedAchievements);
}
buildCounterAchievementUpdateMultipleResponse--;
}
@@ -344,40 +344,40 @@
buildCounterAchievementUpdateResponse--;
}
-buildUnnamed3720() {
+buildUnnamed3724() {
var o = new core.List<api.ImageAsset>();
o.add(buildImageAsset());
o.add(buildImageAsset());
return o;
}
-checkUnnamed3720(core.List<api.ImageAsset> o) {
+checkUnnamed3724(core.List<api.ImageAsset> o) {
unittest.expect(o, unittest.hasLength(2));
checkImageAsset(o[0]);
checkImageAsset(o[1]);
}
-buildUnnamed3721() {
+buildUnnamed3725() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3721(core.List<core.String> o) {
+checkUnnamed3725(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3722() {
+buildUnnamed3726() {
var o = new core.List<api.Instance>();
o.add(buildInstance());
o.add(buildInstance());
return o;
}
-checkUnnamed3722(core.List<api.Instance> o) {
+checkUnnamed3726(core.List<api.Instance> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstance(o[0]);
checkInstance(o[1]);
@@ -389,13 +389,13 @@
buildCounterApplication++;
if (buildCounterApplication < 3) {
o.achievementCount = 42;
- o.assets = buildUnnamed3720();
+ o.assets = buildUnnamed3724();
o.author = "foo";
o.category = buildApplicationCategory();
o.description = "foo";
- o.enabledFeatures = buildUnnamed3721();
+ o.enabledFeatures = buildUnnamed3725();
o.id = "foo";
- o.instances = buildUnnamed3722();
+ o.instances = buildUnnamed3726();
o.kind = "foo";
o.lastUpdatedTimestamp = "foo";
o.leaderboardCount = 42;
@@ -410,13 +410,13 @@
buildCounterApplication++;
if (buildCounterApplication < 3) {
unittest.expect(o.achievementCount, unittest.equals(42));
- checkUnnamed3720(o.assets);
+ checkUnnamed3724(o.assets);
unittest.expect(o.author, unittest.equals('foo'));
checkApplicationCategory(o.category);
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed3721(o.enabledFeatures);
+ checkUnnamed3725(o.enabledFeatures);
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed3722(o.instances);
+ checkUnnamed3726(o.instances);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.lastUpdatedTimestamp, unittest.equals('foo'));
unittest.expect(o.leaderboardCount, unittest.equals(42));
@@ -495,14 +495,14 @@
buildCounterCategory--;
}
-buildUnnamed3723() {
+buildUnnamed3727() {
var o = new core.List<api.Category>();
o.add(buildCategory());
o.add(buildCategory());
return o;
}
-checkUnnamed3723(core.List<api.Category> o) {
+checkUnnamed3727(core.List<api.Category> o) {
unittest.expect(o, unittest.hasLength(2));
checkCategory(o[0]);
checkCategory(o[1]);
@@ -513,7 +513,7 @@
var o = new api.CategoryListResponse();
buildCounterCategoryListResponse++;
if (buildCounterCategoryListResponse < 3) {
- o.items = buildUnnamed3723();
+ o.items = buildUnnamed3727();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -524,7 +524,7 @@
checkCategoryListResponse(api.CategoryListResponse o) {
buildCounterCategoryListResponse++;
if (buildCounterCategoryListResponse < 3) {
- checkUnnamed3723(o.items);
+ checkUnnamed3727(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -575,14 +575,14 @@
buildCounterEventChild--;
}
-buildUnnamed3724() {
+buildUnnamed3728() {
var o = new core.List<api.EventChild>();
o.add(buildEventChild());
o.add(buildEventChild());
return o;
}
-checkUnnamed3724(core.List<api.EventChild> o) {
+checkUnnamed3728(core.List<api.EventChild> o) {
unittest.expect(o, unittest.hasLength(2));
checkEventChild(o[0]);
checkEventChild(o[1]);
@@ -593,7 +593,7 @@
var o = new api.EventDefinition();
buildCounterEventDefinition++;
if (buildCounterEventDefinition < 3) {
- o.childEvents = buildUnnamed3724();
+ o.childEvents = buildUnnamed3728();
o.description = "foo";
o.displayName = "foo";
o.id = "foo";
@@ -609,7 +609,7 @@
checkEventDefinition(api.EventDefinition o) {
buildCounterEventDefinition++;
if (buildCounterEventDefinition < 3) {
- checkUnnamed3724(o.childEvents);
+ checkUnnamed3728(o.childEvents);
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.displayName, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
@@ -621,14 +621,14 @@
buildCounterEventDefinition--;
}
-buildUnnamed3725() {
+buildUnnamed3729() {
var o = new core.List<api.EventDefinition>();
o.add(buildEventDefinition());
o.add(buildEventDefinition());
return o;
}
-checkUnnamed3725(core.List<api.EventDefinition> o) {
+checkUnnamed3729(core.List<api.EventDefinition> o) {
unittest.expect(o, unittest.hasLength(2));
checkEventDefinition(o[0]);
checkEventDefinition(o[1]);
@@ -639,7 +639,7 @@
var o = new api.EventDefinitionListResponse();
buildCounterEventDefinitionListResponse++;
if (buildCounterEventDefinitionListResponse < 3) {
- o.items = buildUnnamed3725();
+ o.items = buildUnnamed3729();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -650,7 +650,7 @@
checkEventDefinitionListResponse(api.EventDefinitionListResponse o) {
buildCounterEventDefinitionListResponse++;
if (buildCounterEventDefinitionListResponse < 3) {
- checkUnnamed3725(o.items);
+ checkUnnamed3729(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -680,14 +680,14 @@
buildCounterEventPeriodRange--;
}
-buildUnnamed3726() {
+buildUnnamed3730() {
var o = new core.List<api.EventUpdateRequest>();
o.add(buildEventUpdateRequest());
o.add(buildEventUpdateRequest());
return o;
}
-checkUnnamed3726(core.List<api.EventUpdateRequest> o) {
+checkUnnamed3730(core.List<api.EventUpdateRequest> o) {
unittest.expect(o, unittest.hasLength(2));
checkEventUpdateRequest(o[0]);
checkEventUpdateRequest(o[1]);
@@ -700,7 +700,7 @@
if (buildCounterEventPeriodUpdate < 3) {
o.kind = "foo";
o.timePeriod = buildEventPeriodRange();
- o.updates = buildUnnamed3726();
+ o.updates = buildUnnamed3730();
}
buildCounterEventPeriodUpdate--;
return o;
@@ -711,7 +711,7 @@
if (buildCounterEventPeriodUpdate < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
checkEventPeriodRange(o.timePeriod);
- checkUnnamed3726(o.updates);
+ checkUnnamed3730(o.updates);
}
buildCounterEventPeriodUpdate--;
}
@@ -739,14 +739,14 @@
buildCounterEventRecordFailure--;
}
-buildUnnamed3727() {
+buildUnnamed3731() {
var o = new core.List<api.EventPeriodUpdate>();
o.add(buildEventPeriodUpdate());
o.add(buildEventPeriodUpdate());
return o;
}
-checkUnnamed3727(core.List<api.EventPeriodUpdate> o) {
+checkUnnamed3731(core.List<api.EventPeriodUpdate> o) {
unittest.expect(o, unittest.hasLength(2));
checkEventPeriodUpdate(o[0]);
checkEventPeriodUpdate(o[1]);
@@ -760,7 +760,7 @@
o.currentTimeMillis = "foo";
o.kind = "foo";
o.requestId = "foo";
- o.timePeriods = buildUnnamed3727();
+ o.timePeriods = buildUnnamed3731();
}
buildCounterEventRecordRequest--;
return o;
@@ -772,7 +772,7 @@
unittest.expect(o.currentTimeMillis, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.requestId, unittest.equals('foo'));
- checkUnnamed3727(o.timePeriods);
+ checkUnnamed3731(o.timePeriods);
}
buildCounterEventRecordRequest--;
}
@@ -800,40 +800,40 @@
buildCounterEventUpdateRequest--;
}
-buildUnnamed3728() {
+buildUnnamed3732() {
var o = new core.List<api.EventBatchRecordFailure>();
o.add(buildEventBatchRecordFailure());
o.add(buildEventBatchRecordFailure());
return o;
}
-checkUnnamed3728(core.List<api.EventBatchRecordFailure> o) {
+checkUnnamed3732(core.List<api.EventBatchRecordFailure> o) {
unittest.expect(o, unittest.hasLength(2));
checkEventBatchRecordFailure(o[0]);
checkEventBatchRecordFailure(o[1]);
}
-buildUnnamed3729() {
+buildUnnamed3733() {
var o = new core.List<api.EventRecordFailure>();
o.add(buildEventRecordFailure());
o.add(buildEventRecordFailure());
return o;
}
-checkUnnamed3729(core.List<api.EventRecordFailure> o) {
+checkUnnamed3733(core.List<api.EventRecordFailure> o) {
unittest.expect(o, unittest.hasLength(2));
checkEventRecordFailure(o[0]);
checkEventRecordFailure(o[1]);
}
-buildUnnamed3730() {
+buildUnnamed3734() {
var o = new core.List<api.PlayerEvent>();
o.add(buildPlayerEvent());
o.add(buildPlayerEvent());
return o;
}
-checkUnnamed3730(core.List<api.PlayerEvent> o) {
+checkUnnamed3734(core.List<api.PlayerEvent> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlayerEvent(o[0]);
checkPlayerEvent(o[1]);
@@ -844,10 +844,10 @@
var o = new api.EventUpdateResponse();
buildCounterEventUpdateResponse++;
if (buildCounterEventUpdateResponse < 3) {
- o.batchFailures = buildUnnamed3728();
- o.eventFailures = buildUnnamed3729();
+ o.batchFailures = buildUnnamed3732();
+ o.eventFailures = buildUnnamed3733();
o.kind = "foo";
- o.playerEvents = buildUnnamed3730();
+ o.playerEvents = buildUnnamed3734();
}
buildCounterEventUpdateResponse--;
return o;
@@ -856,10 +856,10 @@
checkEventUpdateResponse(api.EventUpdateResponse o) {
buildCounterEventUpdateResponse++;
if (buildCounterEventUpdateResponse < 3) {
- checkUnnamed3728(o.batchFailures);
- checkUnnamed3729(o.eventFailures);
+ checkUnnamed3732(o.batchFailures);
+ checkUnnamed3733(o.eventFailures);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed3730(o.playerEvents);
+ checkUnnamed3734(o.playerEvents);
}
buildCounterEventUpdateResponse--;
}
@@ -1113,14 +1113,14 @@
buildCounterLeaderboardEntry--;
}
-buildUnnamed3731() {
+buildUnnamed3735() {
var o = new core.List<api.Leaderboard>();
o.add(buildLeaderboard());
o.add(buildLeaderboard());
return o;
}
-checkUnnamed3731(core.List<api.Leaderboard> o) {
+checkUnnamed3735(core.List<api.Leaderboard> o) {
unittest.expect(o, unittest.hasLength(2));
checkLeaderboard(o[0]);
checkLeaderboard(o[1]);
@@ -1131,7 +1131,7 @@
var o = new api.LeaderboardListResponse();
buildCounterLeaderboardListResponse++;
if (buildCounterLeaderboardListResponse < 3) {
- o.items = buildUnnamed3731();
+ o.items = buildUnnamed3735();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -1142,7 +1142,7 @@
checkLeaderboardListResponse(api.LeaderboardListResponse o) {
buildCounterLeaderboardListResponse++;
if (buildCounterLeaderboardListResponse < 3) {
- checkUnnamed3731(o.items);
+ checkUnnamed3735(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -1176,14 +1176,14 @@
buildCounterLeaderboardScoreRank--;
}
-buildUnnamed3732() {
+buildUnnamed3736() {
var o = new core.List<api.LeaderboardEntry>();
o.add(buildLeaderboardEntry());
o.add(buildLeaderboardEntry());
return o;
}
-checkUnnamed3732(core.List<api.LeaderboardEntry> o) {
+checkUnnamed3736(core.List<api.LeaderboardEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkLeaderboardEntry(o[0]);
checkLeaderboardEntry(o[1]);
@@ -1194,7 +1194,7 @@
var o = new api.LeaderboardScores();
buildCounterLeaderboardScores++;
if (buildCounterLeaderboardScores < 3) {
- o.items = buildUnnamed3732();
+ o.items = buildUnnamed3736();
o.kind = "foo";
o.nextPageToken = "foo";
o.numScores = "foo";
@@ -1208,7 +1208,7 @@
checkLeaderboardScores(api.LeaderboardScores o) {
buildCounterLeaderboardScores++;
if (buildCounterLeaderboardScores < 3) {
- checkUnnamed3732(o.items);
+ checkUnnamed3736(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.numScores, unittest.equals('foo'));
@@ -1218,14 +1218,14 @@
buildCounterLeaderboardScores--;
}
-buildUnnamed3733() {
+buildUnnamed3737() {
var o = new core.List<api.PlayerLevel>();
o.add(buildPlayerLevel());
o.add(buildPlayerLevel());
return o;
}
-checkUnnamed3733(core.List<api.PlayerLevel> o) {
+checkUnnamed3737(core.List<api.PlayerLevel> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlayerLevel(o[0]);
checkPlayerLevel(o[1]);
@@ -1238,7 +1238,7 @@
if (buildCounterMetagameConfig < 3) {
o.currentVersion = 42;
o.kind = "foo";
- o.playerLevels = buildUnnamed3733();
+ o.playerLevels = buildUnnamed3737();
}
buildCounterMetagameConfig--;
return o;
@@ -1249,7 +1249,7 @@
if (buildCounterMetagameConfig < 3) {
unittest.expect(o.currentVersion, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed3733(o.playerLevels);
+ checkUnnamed3737(o.playerLevels);
}
buildCounterMetagameConfig--;
}
@@ -1347,14 +1347,14 @@
buildCounterPlayerAchievement--;
}
-buildUnnamed3734() {
+buildUnnamed3738() {
var o = new core.List<api.PlayerAchievement>();
o.add(buildPlayerAchievement());
o.add(buildPlayerAchievement());
return o;
}
-checkUnnamed3734(core.List<api.PlayerAchievement> o) {
+checkUnnamed3738(core.List<api.PlayerAchievement> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlayerAchievement(o[0]);
checkPlayerAchievement(o[1]);
@@ -1365,7 +1365,7 @@
var o = new api.PlayerAchievementListResponse();
buildCounterPlayerAchievementListResponse++;
if (buildCounterPlayerAchievementListResponse < 3) {
- o.items = buildUnnamed3734();
+ o.items = buildUnnamed3738();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -1376,7 +1376,7 @@
checkPlayerAchievementListResponse(api.PlayerAchievementListResponse o) {
buildCounterPlayerAchievementListResponse++;
if (buildCounterPlayerAchievementListResponse < 3) {
- checkUnnamed3734(o.items);
+ checkUnnamed3738(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -1410,14 +1410,14 @@
buildCounterPlayerEvent--;
}
-buildUnnamed3735() {
+buildUnnamed3739() {
var o = new core.List<api.PlayerEvent>();
o.add(buildPlayerEvent());
o.add(buildPlayerEvent());
return o;
}
-checkUnnamed3735(core.List<api.PlayerEvent> o) {
+checkUnnamed3739(core.List<api.PlayerEvent> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlayerEvent(o[0]);
checkPlayerEvent(o[1]);
@@ -1428,7 +1428,7 @@
var o = new api.PlayerEventListResponse();
buildCounterPlayerEventListResponse++;
if (buildCounterPlayerEventListResponse < 3) {
- o.items = buildUnnamed3735();
+ o.items = buildUnnamed3739();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -1439,7 +1439,7 @@
checkPlayerEventListResponse(api.PlayerEventListResponse o) {
buildCounterPlayerEventListResponse++;
if (buildCounterPlayerEventListResponse < 3) {
- checkUnnamed3735(o.items);
+ checkUnnamed3739(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -1510,14 +1510,14 @@
buildCounterPlayerLeaderboardScore--;
}
-buildUnnamed3736() {
+buildUnnamed3740() {
var o = new core.List<api.PlayerLeaderboardScore>();
o.add(buildPlayerLeaderboardScore());
o.add(buildPlayerLeaderboardScore());
return o;
}
-checkUnnamed3736(core.List<api.PlayerLeaderboardScore> o) {
+checkUnnamed3740(core.List<api.PlayerLeaderboardScore> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlayerLeaderboardScore(o[0]);
checkPlayerLeaderboardScore(o[1]);
@@ -1528,7 +1528,7 @@
var o = new api.PlayerLeaderboardScoreListResponse();
buildCounterPlayerLeaderboardScoreListResponse++;
if (buildCounterPlayerLeaderboardScoreListResponse < 3) {
- o.items = buildUnnamed3736();
+ o.items = buildUnnamed3740();
o.kind = "foo";
o.nextPageToken = "foo";
o.player = buildPlayer();
@@ -1541,7 +1541,7 @@
api.PlayerLeaderboardScoreListResponse o) {
buildCounterPlayerLeaderboardScoreListResponse++;
if (buildCounterPlayerLeaderboardScoreListResponse < 3) {
- checkUnnamed3736(o.items);
+ checkUnnamed3740(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPlayer(o.player);
@@ -1574,14 +1574,14 @@
buildCounterPlayerLevel--;
}
-buildUnnamed3737() {
+buildUnnamed3741() {
var o = new core.List<api.Player>();
o.add(buildPlayer());
o.add(buildPlayer());
return o;
}
-checkUnnamed3737(core.List<api.Player> o) {
+checkUnnamed3741(core.List<api.Player> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlayer(o[0]);
checkPlayer(o[1]);
@@ -1592,7 +1592,7 @@
var o = new api.PlayerListResponse();
buildCounterPlayerListResponse++;
if (buildCounterPlayerListResponse < 3) {
- o.items = buildUnnamed3737();
+ o.items = buildUnnamed3741();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -1603,7 +1603,7 @@
checkPlayerListResponse(api.PlayerListResponse o) {
buildCounterPlayerListResponse++;
if (buildCounterPlayerListResponse < 3) {
- checkUnnamed3737(o.items);
+ checkUnnamed3741(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -1637,14 +1637,14 @@
buildCounterPlayerScore--;
}
-buildUnnamed3738() {
+buildUnnamed3742() {
var o = new core.List<api.PlayerScoreResponse>();
o.add(buildPlayerScoreResponse());
o.add(buildPlayerScoreResponse());
return o;
}
-checkUnnamed3738(core.List<api.PlayerScoreResponse> o) {
+checkUnnamed3742(core.List<api.PlayerScoreResponse> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlayerScoreResponse(o[0]);
checkPlayerScoreResponse(o[1]);
@@ -1656,7 +1656,7 @@
buildCounterPlayerScoreListResponse++;
if (buildCounterPlayerScoreListResponse < 3) {
o.kind = "foo";
- o.submittedScores = buildUnnamed3738();
+ o.submittedScores = buildUnnamed3742();
}
buildCounterPlayerScoreListResponse--;
return o;
@@ -1666,32 +1666,32 @@
buildCounterPlayerScoreListResponse++;
if (buildCounterPlayerScoreListResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed3738(o.submittedScores);
+ checkUnnamed3742(o.submittedScores);
}
buildCounterPlayerScoreListResponse--;
}
-buildUnnamed3739() {
+buildUnnamed3743() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3739(core.List<core.String> o) {
+checkUnnamed3743(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3740() {
+buildUnnamed3744() {
var o = new core.List<api.PlayerScore>();
o.add(buildPlayerScore());
o.add(buildPlayerScore());
return o;
}
-checkUnnamed3740(core.List<api.PlayerScore> o) {
+checkUnnamed3744(core.List<api.PlayerScore> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlayerScore(o[0]);
checkPlayerScore(o[1]);
@@ -1702,12 +1702,12 @@
var o = new api.PlayerScoreResponse();
buildCounterPlayerScoreResponse++;
if (buildCounterPlayerScoreResponse < 3) {
- o.beatenScoreTimeSpans = buildUnnamed3739();
+ o.beatenScoreTimeSpans = buildUnnamed3743();
o.formattedScore = "foo";
o.kind = "foo";
o.leaderboardId = "foo";
o.scoreTag = "foo";
- o.unbeatenScores = buildUnnamed3740();
+ o.unbeatenScores = buildUnnamed3744();
}
buildCounterPlayerScoreResponse--;
return o;
@@ -1716,24 +1716,24 @@
checkPlayerScoreResponse(api.PlayerScoreResponse o) {
buildCounterPlayerScoreResponse++;
if (buildCounterPlayerScoreResponse < 3) {
- checkUnnamed3739(o.beatenScoreTimeSpans);
+ checkUnnamed3743(o.beatenScoreTimeSpans);
unittest.expect(o.formattedScore, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.leaderboardId, unittest.equals('foo'));
unittest.expect(o.scoreTag, unittest.equals('foo'));
- checkUnnamed3740(o.unbeatenScores);
+ checkUnnamed3744(o.unbeatenScores);
}
buildCounterPlayerScoreResponse--;
}
-buildUnnamed3741() {
+buildUnnamed3745() {
var o = new core.List<api.ScoreSubmission>();
o.add(buildScoreSubmission());
o.add(buildScoreSubmission());
return o;
}
-checkUnnamed3741(core.List<api.ScoreSubmission> o) {
+checkUnnamed3745(core.List<api.ScoreSubmission> o) {
unittest.expect(o, unittest.hasLength(2));
checkScoreSubmission(o[0]);
checkScoreSubmission(o[1]);
@@ -1745,7 +1745,7 @@
buildCounterPlayerScoreSubmissionList++;
if (buildCounterPlayerScoreSubmissionList < 3) {
o.kind = "foo";
- o.scores = buildUnnamed3741();
+ o.scores = buildUnnamed3745();
}
buildCounterPlayerScoreSubmissionList--;
return o;
@@ -1755,7 +1755,7 @@
buildCounterPlayerScoreSubmissionList++;
if (buildCounterPlayerScoreSubmissionList < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed3741(o.scores);
+ checkUnnamed3745(o.scores);
}
buildCounterPlayerScoreSubmissionList--;
}
@@ -1899,14 +1899,14 @@
buildCounterSnapshotImage--;
}
-buildUnnamed3742() {
+buildUnnamed3746() {
var o = new core.List<api.Snapshot>();
o.add(buildSnapshot());
o.add(buildSnapshot());
return o;
}
-checkUnnamed3742(core.List<api.Snapshot> o) {
+checkUnnamed3746(core.List<api.Snapshot> o) {
unittest.expect(o, unittest.hasLength(2));
checkSnapshot(o[0]);
checkSnapshot(o[1]);
@@ -1917,7 +1917,7 @@
var o = new api.SnapshotListResponse();
buildCounterSnapshotListResponse++;
if (buildCounterSnapshotListResponse < 3) {
- o.items = buildUnnamed3742();
+ o.items = buildUnnamed3746();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -1928,7 +1928,7 @@
checkSnapshotListResponse(api.SnapshotListResponse o) {
buildCounterSnapshotListResponse++;
if (buildCounterSnapshotListResponse < 3) {
- checkUnnamed3742(o.items);
+ checkUnnamed3746(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -2460,8 +2460,8 @@
var mock = new HttpServerMock();
api.AchievementDefinitionsResourceApi res =
new api.GamesApi(mock).achievementDefinitions;
- var arg_language = "foo";
var arg_maxResults = 42;
+ var arg_language = "foo";
var arg_pageToken = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -2494,11 +2494,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(
- 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));
+ unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -2511,8 +2511,8 @@
}), true);
res
.list(
- language: arg_language,
maxResults: arg_maxResults,
+ language: arg_language,
pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -2592,9 +2592,9 @@
var mock = new HttpServerMock();
api.AchievementsResourceApi res = new api.GamesApi(mock).achievements;
var arg_playerId = "foo";
- var arg_pageToken = "foo";
- var arg_maxResults = 42;
var arg_state = "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) {
@@ -2636,11 +2636,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["state"].first, unittest.equals(arg_state));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
- unittest.expect(queryMap["state"].first, unittest.equals(arg_state));
+ 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));
@@ -2653,9 +2653,9 @@
}), true);
res
.list(arg_playerId,
- pageToken: arg_pageToken,
- maxResults: arg_maxResults,
state: arg_state,
+ maxResults: arg_maxResults,
+ pageToken: arg_pageToken,
language: arg_language,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -3134,8 +3134,8 @@
var mock = new HttpServerMock();
api.EventsResourceApi res = new api.GamesApi(mock).events;
var arg_language = "foo";
- var arg_maxResults = 42;
var arg_pageToken = "foo";
+ var arg_maxResults = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3169,10 +3169,10 @@
}
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["maxResults"].first),
+ unittest.equals(arg_maxResults));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3184,8 +3184,8 @@
res
.listDefinitions(
language: arg_language,
- maxResults: arg_maxResults,
pageToken: arg_pageToken,
+ maxResults: arg_maxResults,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkEventDefinitionListResponse(response);
@@ -3309,8 +3309,8 @@
unittest.test("method--list", () {
var mock = new HttpServerMock();
api.LeaderboardsResourceApi res = new api.GamesApi(mock).leaderboards;
- var arg_maxResults = 42;
var arg_pageToken = "foo";
+ var arg_maxResults = 42;
var arg_language = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -3343,10 +3343,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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["maxResults"].first),
+ unittest.equals(arg_maxResults));
unittest.expect(
queryMap["language"].first, unittest.equals(arg_language));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -3359,8 +3359,8 @@
}), true);
res
.list(
- maxResults: arg_maxResults,
pageToken: arg_pageToken,
+ maxResults: arg_maxResults,
language: arg_language,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -3557,8 +3557,8 @@
var mock = new HttpServerMock();
api.PlayersResourceApi res = new api.GamesApi(mock).players;
var arg_collection = "foo";
- var arg_maxResults = 42;
var arg_pageToken = "foo";
+ var arg_maxResults = 42;
var arg_language = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -3594,10 +3594,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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["maxResults"].first),
+ unittest.equals(arg_maxResults));
unittest.expect(
queryMap["language"].first, unittest.equals(arg_language));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -3610,8 +3610,8 @@
}), true);
res
.list(arg_collection,
- maxResults: arg_maxResults,
pageToken: arg_pageToken,
+ maxResults: arg_maxResults,
language: arg_language,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -3681,10 +3681,10 @@
var arg_playerId = "foo";
var arg_leaderboardId = "foo";
var arg_timeSpan = "foo";
- var arg_language = "foo";
- var arg_includeRankType = "foo";
var arg_maxResults = 42;
+ var arg_includeRankType = "foo";
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;
@@ -3737,14 +3737,14 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(
- queryMap["language"].first, unittest.equals(arg_language));
- unittest.expect(queryMap["includeRankType"].first,
- unittest.equals(arg_includeRankType));
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(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3756,10 +3756,10 @@
}), true);
res
.get(arg_playerId, arg_leaderboardId, arg_timeSpan,
- language: arg_language,
- includeRankType: arg_includeRankType,
maxResults: arg_maxResults,
+ includeRankType: arg_includeRankType,
pageToken: arg_pageToken,
+ language: arg_language,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkPlayerLeaderboardScoreListResponse(response);
@@ -3773,8 +3773,8 @@
var arg_collection = "foo";
var arg_timeSpan = "foo";
var arg_pageToken = "foo";
- var arg_maxResults = 42;
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;
@@ -3822,10 +3822,10 @@
queryMap["timeSpan"].first, unittest.equals(arg_timeSpan));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- 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["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3837,8 +3837,8 @@
res
.list(arg_leaderboardId, arg_collection, arg_timeSpan,
pageToken: arg_pageToken,
- maxResults: arg_maxResults,
language: arg_language,
+ maxResults: arg_maxResults,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkLeaderboardScores(response);
@@ -3851,11 +3851,11 @@
var arg_leaderboardId = "foo";
var arg_collection = "foo";
var arg_timeSpan = "foo";
- var arg_maxResults = 42;
- var arg_language = "foo";
- var arg_resultsAbove = 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;
@@ -3901,16 +3901,16 @@
}
unittest.expect(
queryMap["timeSpan"].first, unittest.equals(arg_timeSpan));
- 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["resultsAbove"].first),
- unittest.equals(arg_resultsAbove));
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 = {
@@ -3921,11 +3921,11 @@
}), true);
res
.listWindow(arg_leaderboardId, arg_collection, arg_timeSpan,
- maxResults: arg_maxResults,
- language: arg_language,
- resultsAbove: arg_resultsAbove,
pageToken: arg_pageToken,
+ resultsAbove: arg_resultsAbove,
returnTopIfAbsent: arg_returnTopIfAbsent,
+ language: arg_language,
+ maxResults: arg_maxResults,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkLeaderboardScores(response);
@@ -3937,8 +3937,8 @@
api.ScoresResourceApi res = new api.GamesApi(mock).scores;
var arg_leaderboardId = "foo";
var arg_score = "foo";
- var arg_language = "foo";
var arg_scoreTag = "foo";
+ var arg_language = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3981,9 +3981,9 @@
}
unittest.expect(queryMap["score"].first, unittest.equals(arg_score));
unittest.expect(
- queryMap["language"].first, unittest.equals(arg_language));
- unittest.expect(
queryMap["scoreTag"].first, unittest.equals(arg_scoreTag));
+ unittest.expect(
+ queryMap["language"].first, unittest.equals(arg_language));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3994,8 +3994,8 @@
}), true);
res
.submit(arg_leaderboardId, arg_score,
- language: arg_language,
scoreTag: arg_scoreTag,
+ language: arg_language,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkPlayerScoreResponse(response);
@@ -4121,8 +4121,8 @@
var mock = new HttpServerMock();
api.SnapshotsResourceApi res = new api.GamesApi(mock).snapshots;
var arg_playerId = "foo";
- var arg_pageToken = "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) {
@@ -4164,11 +4164,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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["language"].first, unittest.equals(arg_language));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -4180,8 +4180,8 @@
}), true);
res
.list(arg_playerId,
- pageToken: arg_pageToken,
maxResults: arg_maxResults,
+ pageToken: arg_pageToken,
language: arg_language,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
diff --git a/generated/googleapis/test/gamesconfiguration/v1configuration_test.dart b/generated/googleapis/test/gamesconfiguration/v1configuration_test.dart
index 43c7d58..e8242d1 100644
--- a/generated/googleapis/test/gamesconfiguration/v1configuration_test.dart
+++ b/generated/googleapis/test/gamesconfiguration/v1configuration_test.dart
@@ -112,14 +112,14 @@
buildCounterAchievementConfigurationDetail--;
}
-buildUnnamed3186() {
+buildUnnamed3190() {
var o = new core.List<api.AchievementConfiguration>();
o.add(buildAchievementConfiguration());
o.add(buildAchievementConfiguration());
return o;
}
-checkUnnamed3186(core.List<api.AchievementConfiguration> o) {
+checkUnnamed3190(core.List<api.AchievementConfiguration> o) {
unittest.expect(o, unittest.hasLength(2));
checkAchievementConfiguration(o[0]);
checkAchievementConfiguration(o[1]);
@@ -130,7 +130,7 @@
var o = new api.AchievementConfigurationListResponse();
buildCounterAchievementConfigurationListResponse++;
if (buildCounterAchievementConfigurationListResponse < 3) {
- o.items = buildUnnamed3186();
+ o.items = buildUnnamed3190();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -142,7 +142,7 @@
api.AchievementConfigurationListResponse o) {
buildCounterAchievementConfigurationListResponse++;
if (buildCounterAchievementConfigurationListResponse < 3) {
- checkUnnamed3186(o.items);
+ checkUnnamed3190(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -288,14 +288,14 @@
buildCounterLeaderboardConfigurationDetail--;
}
-buildUnnamed3187() {
+buildUnnamed3191() {
var o = new core.List<api.LeaderboardConfiguration>();
o.add(buildLeaderboardConfiguration());
o.add(buildLeaderboardConfiguration());
return o;
}
-checkUnnamed3187(core.List<api.LeaderboardConfiguration> o) {
+checkUnnamed3191(core.List<api.LeaderboardConfiguration> o) {
unittest.expect(o, unittest.hasLength(2));
checkLeaderboardConfiguration(o[0]);
checkLeaderboardConfiguration(o[1]);
@@ -306,7 +306,7 @@
var o = new api.LeaderboardConfigurationListResponse();
buildCounterLeaderboardConfigurationListResponse++;
if (buildCounterLeaderboardConfigurationListResponse < 3) {
- o.items = buildUnnamed3187();
+ o.items = buildUnnamed3191();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -318,7 +318,7 @@
api.LeaderboardConfigurationListResponse o) {
buildCounterLeaderboardConfigurationListResponse++;
if (buildCounterLeaderboardConfigurationListResponse < 3) {
- checkUnnamed3187(o.items);
+ checkUnnamed3191(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -348,14 +348,14 @@
buildCounterLocalizedString--;
}
-buildUnnamed3188() {
+buildUnnamed3192() {
var o = new core.List<api.LocalizedString>();
o.add(buildLocalizedString());
o.add(buildLocalizedString());
return o;
}
-checkUnnamed3188(core.List<api.LocalizedString> o) {
+checkUnnamed3192(core.List<api.LocalizedString> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocalizedString(o[0]);
checkLocalizedString(o[1]);
@@ -367,7 +367,7 @@
buildCounterLocalizedStringBundle++;
if (buildCounterLocalizedStringBundle < 3) {
o.kind = "foo";
- o.translations = buildUnnamed3188();
+ o.translations = buildUnnamed3192();
}
buildCounterLocalizedStringBundle--;
return o;
@@ -377,7 +377,7 @@
buildCounterLocalizedStringBundle++;
if (buildCounterLocalizedStringBundle < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed3188(o.translations);
+ checkUnnamed3192(o.translations);
}
buildCounterLocalizedStringBundle--;
}
diff --git a/generated/googleapis/test/gamesmanagement/v1management_test.dart b/generated/googleapis/test/gamesmanagement/v1management_test.dart
index 9796606..3ace5bf 100644
--- a/generated/googleapis/test/gamesmanagement/v1management_test.dart
+++ b/generated/googleapis/test/gamesmanagement/v1management_test.dart
@@ -50,14 +50,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed5737() {
+buildUnnamed5713() {
var o = new core.List<api.AchievementResetResponse>();
o.add(buildAchievementResetResponse());
o.add(buildAchievementResetResponse());
return o;
}
-checkUnnamed5737(core.List<api.AchievementResetResponse> o) {
+checkUnnamed5713(core.List<api.AchievementResetResponse> o) {
unittest.expect(o, unittest.hasLength(2));
checkAchievementResetResponse(o[0]);
checkAchievementResetResponse(o[1]);
@@ -69,7 +69,7 @@
buildCounterAchievementResetAllResponse++;
if (buildCounterAchievementResetAllResponse < 3) {
o.kind = "foo";
- o.results = buildUnnamed5737();
+ o.results = buildUnnamed5713();
}
buildCounterAchievementResetAllResponse--;
return o;
@@ -79,19 +79,19 @@
buildCounterAchievementResetAllResponse++;
if (buildCounterAchievementResetAllResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed5737(o.results);
+ checkUnnamed5713(o.results);
}
buildCounterAchievementResetAllResponse--;
}
-buildUnnamed5738() {
+buildUnnamed5714() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5738(core.List<core.String> o) {
+checkUnnamed5714(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -102,7 +102,7 @@
var o = new api.AchievementResetMultipleForAllRequest();
buildCounterAchievementResetMultipleForAllRequest++;
if (buildCounterAchievementResetMultipleForAllRequest < 3) {
- o.achievementIds = buildUnnamed5738();
+ o.achievementIds = buildUnnamed5714();
o.kind = "foo";
}
buildCounterAchievementResetMultipleForAllRequest--;
@@ -113,7 +113,7 @@
api.AchievementResetMultipleForAllRequest o) {
buildCounterAchievementResetMultipleForAllRequest++;
if (buildCounterAchievementResetMultipleForAllRequest < 3) {
- checkUnnamed5738(o.achievementIds);
+ checkUnnamed5714(o.achievementIds);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAchievementResetMultipleForAllRequest--;
@@ -144,14 +144,14 @@
buildCounterAchievementResetResponse--;
}
-buildUnnamed5739() {
+buildUnnamed5715() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5739(core.List<core.String> o) {
+checkUnnamed5715(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -162,7 +162,7 @@
var o = new api.EventsResetMultipleForAllRequest();
buildCounterEventsResetMultipleForAllRequest++;
if (buildCounterEventsResetMultipleForAllRequest < 3) {
- o.eventIds = buildUnnamed5739();
+ o.eventIds = buildUnnamed5715();
o.kind = "foo";
}
buildCounterEventsResetMultipleForAllRequest--;
@@ -172,7 +172,7 @@
checkEventsResetMultipleForAllRequest(api.EventsResetMultipleForAllRequest o) {
buildCounterEventsResetMultipleForAllRequest++;
if (buildCounterEventsResetMultipleForAllRequest < 3) {
- checkUnnamed5739(o.eventIds);
+ checkUnnamed5715(o.eventIds);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterEventsResetMultipleForAllRequest--;
@@ -250,14 +250,14 @@
buildCounterHiddenPlayer--;
}
-buildUnnamed5740() {
+buildUnnamed5716() {
var o = new core.List<api.HiddenPlayer>();
o.add(buildHiddenPlayer());
o.add(buildHiddenPlayer());
return o;
}
-checkUnnamed5740(core.List<api.HiddenPlayer> o) {
+checkUnnamed5716(core.List<api.HiddenPlayer> o) {
unittest.expect(o, unittest.hasLength(2));
checkHiddenPlayer(o[0]);
checkHiddenPlayer(o[1]);
@@ -268,7 +268,7 @@
var o = new api.HiddenPlayerList();
buildCounterHiddenPlayerList++;
if (buildCounterHiddenPlayerList < 3) {
- o.items = buildUnnamed5740();
+ o.items = buildUnnamed5716();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -279,7 +279,7 @@
checkHiddenPlayerList(api.HiddenPlayerList o) {
buildCounterHiddenPlayerList++;
if (buildCounterHiddenPlayerList < 3) {
- checkUnnamed5740(o.items);
+ checkUnnamed5716(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -346,14 +346,14 @@
buildCounterPlayer--;
}
-buildUnnamed5741() {
+buildUnnamed5717() {
var o = new core.List<api.PlayerScoreResetResponse>();
o.add(buildPlayerScoreResetResponse());
o.add(buildPlayerScoreResetResponse());
return o;
}
-checkUnnamed5741(core.List<api.PlayerScoreResetResponse> o) {
+checkUnnamed5717(core.List<api.PlayerScoreResetResponse> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlayerScoreResetResponse(o[0]);
checkPlayerScoreResetResponse(o[1]);
@@ -365,7 +365,7 @@
buildCounterPlayerScoreResetAllResponse++;
if (buildCounterPlayerScoreResetAllResponse < 3) {
o.kind = "foo";
- o.results = buildUnnamed5741();
+ o.results = buildUnnamed5717();
}
buildCounterPlayerScoreResetAllResponse--;
return o;
@@ -375,19 +375,19 @@
buildCounterPlayerScoreResetAllResponse++;
if (buildCounterPlayerScoreResetAllResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed5741(o.results);
+ checkUnnamed5717(o.results);
}
buildCounterPlayerScoreResetAllResponse--;
}
-buildUnnamed5742() {
+buildUnnamed5718() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5742(core.List<core.String> o) {
+checkUnnamed5718(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -400,7 +400,7 @@
if (buildCounterPlayerScoreResetResponse < 3) {
o.definitionId = "foo";
o.kind = "foo";
- o.resetScoreTimeSpans = buildUnnamed5742();
+ o.resetScoreTimeSpans = buildUnnamed5718();
}
buildCounterPlayerScoreResetResponse--;
return o;
@@ -411,7 +411,7 @@
if (buildCounterPlayerScoreResetResponse < 3) {
unittest.expect(o.definitionId, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed5742(o.resetScoreTimeSpans);
+ checkUnnamed5718(o.resetScoreTimeSpans);
}
buildCounterPlayerScoreResetResponse--;
}
@@ -437,14 +437,14 @@
buildCounterProfileSettings--;
}
-buildUnnamed5743() {
+buildUnnamed5719() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5743(core.List<core.String> o) {
+checkUnnamed5719(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -456,7 +456,7 @@
buildCounterScoresResetMultipleForAllRequest++;
if (buildCounterScoresResetMultipleForAllRequest < 3) {
o.kind = "foo";
- o.leaderboardIds = buildUnnamed5743();
+ o.leaderboardIds = buildUnnamed5719();
}
buildCounterScoresResetMultipleForAllRequest--;
return o;
@@ -466,7 +466,7 @@
buildCounterScoresResetMultipleForAllRequest++;
if (buildCounterScoresResetMultipleForAllRequest < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed5743(o.leaderboardIds);
+ checkUnnamed5719(o.leaderboardIds);
}
buildCounterScoresResetMultipleForAllRequest--;
}
@@ -865,8 +865,8 @@
api.ApplicationsResourceApi res =
new api.GamesManagementApi(mock).applications;
var arg_applicationId = "foo";
- var arg_maxResults = 42;
var arg_pageToken = "foo";
+ var arg_maxResults = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -907,10 +907,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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["maxResults"].first),
+ unittest.equals(arg_maxResults));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -921,8 +921,8 @@
}), true);
res
.listHidden(arg_applicationId,
- maxResults: arg_maxResults,
pageToken: arg_pageToken,
+ maxResults: arg_maxResults,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkHiddenPlayerList(response);
diff --git a/generated/googleapis/test/genomics/v1_test.dart b/generated/googleapis/test/genomics/v1_test.dart
index 3d8bd8d..dc147b8 100644
--- a/generated/googleapis/test/genomics/v1_test.dart
+++ b/generated/googleapis/test/genomics/v1_test.dart
@@ -65,14 +65,14 @@
buildCounterCancelOperationRequest--;
}
-buildUnnamed567() {
+buildUnnamed568() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed567(core.List<core.String> o) {
+checkUnnamed568(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -83,7 +83,7 @@
var o = new api.ComputeEngine();
buildCounterComputeEngine++;
if (buildCounterComputeEngine < 3) {
- o.diskNames = buildUnnamed567();
+ o.diskNames = buildUnnamed568();
o.instanceName = "foo";
o.machineType = "foo";
o.zone = "foo";
@@ -95,7 +95,7 @@
checkComputeEngine(api.ComputeEngine o) {
buildCounterComputeEngine++;
if (buildCounterComputeEngine < 3) {
- checkUnnamed567(o.diskNames);
+ checkUnnamed568(o.diskNames);
unittest.expect(o.instanceName, unittest.equals('foo'));
unittest.expect(o.machineType, unittest.equals('foo'));
unittest.expect(o.zone, unittest.equals('foo'));
@@ -122,14 +122,14 @@
buildCounterContainerKilledEvent--;
}
-buildUnnamed568() {
+buildUnnamed569() {
var o = new core.Map<core.String, core.int>();
o["x"] = 42;
o["y"] = 42;
return o;
}
-checkUnnamed568(core.Map<core.String, core.int> o) {
+checkUnnamed569(core.Map<core.String, core.int> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals(42));
unittest.expect(o["y"], unittest.equals(42));
@@ -142,7 +142,7 @@
if (buildCounterContainerStartedEvent < 3) {
o.actionId = 42;
o.ipAddress = "foo";
- o.portMappings = buildUnnamed568();
+ o.portMappings = buildUnnamed569();
}
buildCounterContainerStartedEvent--;
return o;
@@ -153,7 +153,7 @@
if (buildCounterContainerStartedEvent < 3) {
unittest.expect(o.actionId, unittest.equals(42));
unittest.expect(o.ipAddress, unittest.equals('foo'));
- checkUnnamed568(o.portMappings);
+ checkUnnamed569(o.portMappings);
}
buildCounterContainerStartedEvent--;
}
@@ -181,14 +181,14 @@
buildCounterContainerStoppedEvent--;
}
-buildUnnamed569() {
+buildUnnamed570() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed569(core.List<core.String> o) {
+checkUnnamed570(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -200,7 +200,7 @@
buildCounterDelayedEvent++;
if (buildCounterDelayedEvent < 3) {
o.cause = "foo";
- o.metrics = buildUnnamed569();
+ o.metrics = buildUnnamed570();
}
buildCounterDelayedEvent--;
return o;
@@ -210,7 +210,7 @@
buildCounterDelayedEvent++;
if (buildCounterDelayedEvent < 3) {
unittest.expect(o.cause, unittest.equals('foo'));
- checkUnnamed569(o.metrics);
+ checkUnnamed570(o.metrics);
}
buildCounterDelayedEvent--;
}
@@ -230,7 +230,7 @@
buildCounterEmpty--;
}
-buildUnnamed570() {
+buildUnnamed571() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -245,7 +245,7 @@
return o;
}
-checkUnnamed570(core.Map<core.String, core.Object> o) {
+checkUnnamed571(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o["x"]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -265,7 +265,7 @@
buildCounterEvent++;
if (buildCounterEvent < 3) {
o.description = "foo";
- o.details = buildUnnamed570();
+ o.details = buildUnnamed571();
o.timestamp = "foo";
}
buildCounterEvent--;
@@ -276,7 +276,7 @@
buildCounterEvent++;
if (buildCounterEvent < 3) {
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed570(o.details);
+ checkUnnamed571(o.details);
unittest.expect(o.timestamp, unittest.equals('foo'));
}
buildCounterEvent--;
@@ -303,14 +303,14 @@
buildCounterFailedEvent--;
}
-buildUnnamed571() {
+buildUnnamed572() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed571(core.List<api.Operation> o) {
+checkUnnamed572(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -322,7 +322,7 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
o.nextPageToken = "foo";
- o.operations = buildUnnamed571();
+ o.operations = buildUnnamed572();
}
buildCounterListOperationsResponse--;
return o;
@@ -332,40 +332,11 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed571(o.operations);
+ checkUnnamed572(o.operations);
}
buildCounterListOperationsResponse--;
}
-buildUnnamed572() {
- var o = new core.Map<core.String, core.Object>();
- o["x"] = {
- 'list': [1, 2, 3],
- 'bool': true,
- 'string': 'foo'
- };
- o["y"] = {
- 'list': [1, 2, 3],
- 'bool': true,
- 'string': 'foo'
- };
- return o;
-}
-
-checkUnnamed572(core.Map<core.String, core.Object> o) {
- unittest.expect(o, unittest.hasLength(2));
- var casted3 = (o["x"]) as core.Map;
- unittest.expect(casted3, unittest.hasLength(3));
- unittest.expect(casted3["list"], unittest.equals([1, 2, 3]));
- unittest.expect(casted3["bool"], unittest.equals(true));
- unittest.expect(casted3["string"], unittest.equals('foo'));
- var casted4 = (o["y"]) as core.Map;
- unittest.expect(casted4, unittest.hasLength(3));
- unittest.expect(casted4["list"], unittest.equals([1, 2, 3]));
- unittest.expect(casted4["bool"], unittest.equals(true));
- unittest.expect(casted4["string"], unittest.equals('foo'));
-}
-
buildUnnamed573() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
@@ -383,6 +354,35 @@
checkUnnamed573(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
+ var casted3 = (o["x"]) as core.Map;
+ unittest.expect(casted3, unittest.hasLength(3));
+ unittest.expect(casted3["list"], unittest.equals([1, 2, 3]));
+ unittest.expect(casted3["bool"], unittest.equals(true));
+ unittest.expect(casted3["string"], unittest.equals('foo'));
+ var casted4 = (o["y"]) as core.Map;
+ unittest.expect(casted4, unittest.hasLength(3));
+ unittest.expect(casted4["list"], unittest.equals([1, 2, 3]));
+ unittest.expect(casted4["bool"], unittest.equals(true));
+ unittest.expect(casted4["string"], unittest.equals('foo'));
+}
+
+buildUnnamed574() {
+ var o = new core.Map<core.String, core.Object>();
+ o["x"] = {
+ 'list': [1, 2, 3],
+ 'bool': true,
+ 'string': 'foo'
+ };
+ o["y"] = {
+ 'list': [1, 2, 3],
+ 'bool': true,
+ 'string': 'foo'
+ };
+ return o;
+}
+
+checkUnnamed574(core.Map<core.String, core.Object> o) {
+ unittest.expect(o, unittest.hasLength(2));
var casted5 = (o["x"]) as core.Map;
unittest.expect(casted5, unittest.hasLength(3));
unittest.expect(casted5["list"], unittest.equals([1, 2, 3]));
@@ -402,9 +402,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed572();
+ o.metadata = buildUnnamed573();
o.name = "foo";
- o.response = buildUnnamed573();
+ o.response = buildUnnamed574();
}
buildCounterOperation--;
return o;
@@ -415,9 +415,9 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed572(o.metadata);
+ checkUnnamed573(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed573(o.response);
+ checkUnnamed574(o.response);
}
buildCounterOperation--;
}
@@ -445,61 +445,32 @@
buildCounterOperationEvent--;
}
-buildUnnamed574() {
+buildUnnamed575() {
var o = new core.List<api.OperationEvent>();
o.add(buildOperationEvent());
o.add(buildOperationEvent());
return o;
}
-checkUnnamed574(core.List<api.OperationEvent> o) {
+checkUnnamed575(core.List<api.OperationEvent> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperationEvent(o[0]);
checkOperationEvent(o[1]);
}
-buildUnnamed575() {
+buildUnnamed576() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed575(core.Map<core.String, core.String> o) {
+checkUnnamed576(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed576() {
- var o = new core.Map<core.String, core.Object>();
- o["x"] = {
- 'list': [1, 2, 3],
- 'bool': true,
- 'string': 'foo'
- };
- o["y"] = {
- 'list': [1, 2, 3],
- 'bool': true,
- 'string': 'foo'
- };
- return o;
-}
-
-checkUnnamed576(core.Map<core.String, core.Object> o) {
- unittest.expect(o, unittest.hasLength(2));
- var casted7 = (o["x"]) as core.Map;
- unittest.expect(casted7, unittest.hasLength(3));
- unittest.expect(casted7["list"], unittest.equals([1, 2, 3]));
- unittest.expect(casted7["bool"], unittest.equals(true));
- unittest.expect(casted7["string"], unittest.equals('foo'));
- var casted8 = (o["y"]) as core.Map;
- unittest.expect(casted8, unittest.hasLength(3));
- unittest.expect(casted8["list"], unittest.equals([1, 2, 3]));
- unittest.expect(casted8["bool"], unittest.equals(true));
- unittest.expect(casted8["string"], unittest.equals('foo'));
-}
-
buildUnnamed577() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
@@ -517,6 +488,35 @@
checkUnnamed577(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
+ var casted7 = (o["x"]) as core.Map;
+ unittest.expect(casted7, unittest.hasLength(3));
+ unittest.expect(casted7["list"], unittest.equals([1, 2, 3]));
+ unittest.expect(casted7["bool"], unittest.equals(true));
+ unittest.expect(casted7["string"], unittest.equals('foo'));
+ var casted8 = (o["y"]) as core.Map;
+ unittest.expect(casted8, unittest.hasLength(3));
+ unittest.expect(casted8["list"], unittest.equals([1, 2, 3]));
+ unittest.expect(casted8["bool"], unittest.equals(true));
+ unittest.expect(casted8["string"], unittest.equals('foo'));
+}
+
+buildUnnamed578() {
+ var o = new core.Map<core.String, core.Object>();
+ o["x"] = {
+ 'list': [1, 2, 3],
+ 'bool': true,
+ 'string': 'foo'
+ };
+ o["y"] = {
+ 'list': [1, 2, 3],
+ 'bool': true,
+ 'string': 'foo'
+ };
+ return o;
+}
+
+checkUnnamed578(core.Map<core.String, core.Object> o) {
+ unittest.expect(o, unittest.hasLength(2));
var casted9 = (o["x"]) as core.Map;
unittest.expect(casted9, unittest.hasLength(3));
unittest.expect(casted9["list"], unittest.equals([1, 2, 3]));
@@ -537,11 +537,11 @@
o.clientId = "foo";
o.createTime = "foo";
o.endTime = "foo";
- o.events = buildUnnamed574();
- o.labels = buildUnnamed575();
+ o.events = buildUnnamed575();
+ o.labels = buildUnnamed576();
o.projectId = "foo";
- o.request = buildUnnamed576();
- o.runtimeMetadata = buildUnnamed577();
+ o.request = buildUnnamed577();
+ o.runtimeMetadata = buildUnnamed578();
o.startTime = "foo";
}
buildCounterOperationMetadata--;
@@ -554,11 +554,11 @@
unittest.expect(o.clientId, unittest.equals('foo'));
unittest.expect(o.createTime, unittest.equals('foo'));
unittest.expect(o.endTime, unittest.equals('foo'));
- checkUnnamed574(o.events);
- checkUnnamed575(o.labels);
+ checkUnnamed575(o.events);
+ checkUnnamed576(o.labels);
unittest.expect(o.projectId, unittest.equals('foo'));
- checkUnnamed576(o.request);
- checkUnnamed577(o.runtimeMetadata);
+ checkUnnamed577(o.request);
+ checkUnnamed578(o.runtimeMetadata);
unittest.expect(o.startTime, unittest.equals('foo'));
}
buildCounterOperationMetadata--;
@@ -636,7 +636,7 @@
buildCounterRuntimeMetadata--;
}
-buildUnnamed578() {
+buildUnnamed579() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -651,7 +651,7 @@
return o;
}
-checkUnnamed578(core.Map<core.String, core.Object> o) {
+checkUnnamed579(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted11 = (o["x"]) as core.Map;
unittest.expect(casted11, unittest.hasLength(3));
@@ -665,17 +665,17 @@
unittest.expect(casted12["string"], unittest.equals('foo'));
}
-buildUnnamed579() {
+buildUnnamed580() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed578());
- o.add(buildUnnamed578());
+ o.add(buildUnnamed579());
+ o.add(buildUnnamed579());
return o;
}
-checkUnnamed579(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed580(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed578(o[0]);
- checkUnnamed578(o[1]);
+ checkUnnamed579(o[0]);
+ checkUnnamed579(o[1]);
}
core.int buildCounterStatus = 0;
@@ -684,7 +684,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed579();
+ o.details = buildUnnamed580();
o.message = "foo";
}
buildCounterStatus--;
@@ -695,7 +695,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed579(o.details);
+ checkUnnamed580(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
@@ -1046,9 +1046,9 @@
var mock = new HttpServerMock();
api.OperationsResourceApi res = new api.GenomicsApi(mock).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;
@@ -1081,11 +1081,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ 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 = {
@@ -1096,9 +1096,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/gmail/v1_test.dart b/generated/googleapis/test/gmail/v1_test.dart
index 0b1338f..cf8d96d 100644
--- a/generated/googleapis/test/gmail/v1_test.dart
+++ b/generated/googleapis/test/gmail/v1_test.dart
@@ -73,51 +73,6 @@
buildCounterAutoForwarding--;
}
-buildUnnamed2297() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2297(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-core.int buildCounterBatchDeleteMessagesRequest = 0;
-buildBatchDeleteMessagesRequest() {
- var o = new api.BatchDeleteMessagesRequest();
- buildCounterBatchDeleteMessagesRequest++;
- if (buildCounterBatchDeleteMessagesRequest < 3) {
- o.ids = buildUnnamed2297();
- }
- buildCounterBatchDeleteMessagesRequest--;
- return o;
-}
-
-checkBatchDeleteMessagesRequest(api.BatchDeleteMessagesRequest o) {
- buildCounterBatchDeleteMessagesRequest++;
- if (buildCounterBatchDeleteMessagesRequest < 3) {
- checkUnnamed2297(o.ids);
- }
- buildCounterBatchDeleteMessagesRequest--;
-}
-
-buildUnnamed2298() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2298(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed2299() {
var o = new core.List<core.String>();
o.add("foo");
@@ -131,6 +86,25 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+core.int buildCounterBatchDeleteMessagesRequest = 0;
+buildBatchDeleteMessagesRequest() {
+ var o = new api.BatchDeleteMessagesRequest();
+ buildCounterBatchDeleteMessagesRequest++;
+ if (buildCounterBatchDeleteMessagesRequest < 3) {
+ o.ids = buildUnnamed2299();
+ }
+ buildCounterBatchDeleteMessagesRequest--;
+ return o;
+}
+
+checkBatchDeleteMessagesRequest(api.BatchDeleteMessagesRequest o) {
+ buildCounterBatchDeleteMessagesRequest++;
+ if (buildCounterBatchDeleteMessagesRequest < 3) {
+ checkUnnamed2299(o.ids);
+ }
+ buildCounterBatchDeleteMessagesRequest--;
+}
+
buildUnnamed2300() {
var o = new core.List<core.String>();
o.add("foo");
@@ -144,14 +118,40 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed2301() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2301(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed2302() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2302(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
core.int buildCounterBatchModifyMessagesRequest = 0;
buildBatchModifyMessagesRequest() {
var o = new api.BatchModifyMessagesRequest();
buildCounterBatchModifyMessagesRequest++;
if (buildCounterBatchModifyMessagesRequest < 3) {
- o.addLabelIds = buildUnnamed2298();
- o.ids = buildUnnamed2299();
- o.removeLabelIds = buildUnnamed2300();
+ o.addLabelIds = buildUnnamed2300();
+ o.ids = buildUnnamed2301();
+ o.removeLabelIds = buildUnnamed2302();
}
buildCounterBatchModifyMessagesRequest--;
return o;
@@ -160,9 +160,9 @@
checkBatchModifyMessagesRequest(api.BatchModifyMessagesRequest o) {
buildCounterBatchModifyMessagesRequest++;
if (buildCounterBatchModifyMessagesRequest < 3) {
- checkUnnamed2298(o.addLabelIds);
- checkUnnamed2299(o.ids);
- checkUnnamed2300(o.removeLabelIds);
+ checkUnnamed2300(o.addLabelIds);
+ checkUnnamed2301(o.ids);
+ checkUnnamed2302(o.removeLabelIds);
}
buildCounterBatchModifyMessagesRequest--;
}
@@ -232,27 +232,27 @@
buildCounterFilter--;
}
-buildUnnamed2301() {
+buildUnnamed2303() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2301(core.List<core.String> o) {
+checkUnnamed2303(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2302() {
+buildUnnamed2304() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2302(core.List<core.String> o) {
+checkUnnamed2304(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -263,9 +263,9 @@
var o = new api.FilterAction();
buildCounterFilterAction++;
if (buildCounterFilterAction < 3) {
- o.addLabelIds = buildUnnamed2301();
+ o.addLabelIds = buildUnnamed2303();
o.forward = "foo";
- o.removeLabelIds = buildUnnamed2302();
+ o.removeLabelIds = buildUnnamed2304();
}
buildCounterFilterAction--;
return o;
@@ -274,9 +274,9 @@
checkFilterAction(api.FilterAction o) {
buildCounterFilterAction++;
if (buildCounterFilterAction < 3) {
- checkUnnamed2301(o.addLabelIds);
+ checkUnnamed2303(o.addLabelIds);
unittest.expect(o.forward, unittest.equals('foo'));
- checkUnnamed2302(o.removeLabelIds);
+ checkUnnamed2304(o.removeLabelIds);
}
buildCounterFilterAction--;
}
@@ -337,66 +337,66 @@
buildCounterForwardingAddress--;
}
-buildUnnamed2303() {
+buildUnnamed2305() {
var o = new core.List<api.HistoryLabelAdded>();
o.add(buildHistoryLabelAdded());
o.add(buildHistoryLabelAdded());
return o;
}
-checkUnnamed2303(core.List<api.HistoryLabelAdded> o) {
+checkUnnamed2305(core.List<api.HistoryLabelAdded> o) {
unittest.expect(o, unittest.hasLength(2));
checkHistoryLabelAdded(o[0]);
checkHistoryLabelAdded(o[1]);
}
-buildUnnamed2304() {
+buildUnnamed2306() {
var o = new core.List<api.HistoryLabelRemoved>();
o.add(buildHistoryLabelRemoved());
o.add(buildHistoryLabelRemoved());
return o;
}
-checkUnnamed2304(core.List<api.HistoryLabelRemoved> o) {
+checkUnnamed2306(core.List<api.HistoryLabelRemoved> o) {
unittest.expect(o, unittest.hasLength(2));
checkHistoryLabelRemoved(o[0]);
checkHistoryLabelRemoved(o[1]);
}
-buildUnnamed2305() {
+buildUnnamed2307() {
var o = new core.List<api.Message>();
o.add(buildMessage());
o.add(buildMessage());
return o;
}
-checkUnnamed2305(core.List<api.Message> o) {
+checkUnnamed2307(core.List<api.Message> o) {
unittest.expect(o, unittest.hasLength(2));
checkMessage(o[0]);
checkMessage(o[1]);
}
-buildUnnamed2306() {
+buildUnnamed2308() {
var o = new core.List<api.HistoryMessageAdded>();
o.add(buildHistoryMessageAdded());
o.add(buildHistoryMessageAdded());
return o;
}
-checkUnnamed2306(core.List<api.HistoryMessageAdded> o) {
+checkUnnamed2308(core.List<api.HistoryMessageAdded> o) {
unittest.expect(o, unittest.hasLength(2));
checkHistoryMessageAdded(o[0]);
checkHistoryMessageAdded(o[1]);
}
-buildUnnamed2307() {
+buildUnnamed2309() {
var o = new core.List<api.HistoryMessageDeleted>();
o.add(buildHistoryMessageDeleted());
o.add(buildHistoryMessageDeleted());
return o;
}
-checkUnnamed2307(core.List<api.HistoryMessageDeleted> o) {
+checkUnnamed2309(core.List<api.HistoryMessageDeleted> o) {
unittest.expect(o, unittest.hasLength(2));
checkHistoryMessageDeleted(o[0]);
checkHistoryMessageDeleted(o[1]);
@@ -408,11 +408,11 @@
buildCounterHistory++;
if (buildCounterHistory < 3) {
o.id = "foo";
- o.labelsAdded = buildUnnamed2303();
- o.labelsRemoved = buildUnnamed2304();
- o.messages = buildUnnamed2305();
- o.messagesAdded = buildUnnamed2306();
- o.messagesDeleted = buildUnnamed2307();
+ o.labelsAdded = buildUnnamed2305();
+ o.labelsRemoved = buildUnnamed2306();
+ o.messages = buildUnnamed2307();
+ o.messagesAdded = buildUnnamed2308();
+ o.messagesDeleted = buildUnnamed2309();
}
buildCounterHistory--;
return o;
@@ -422,23 +422,23 @@
buildCounterHistory++;
if (buildCounterHistory < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2303(o.labelsAdded);
- checkUnnamed2304(o.labelsRemoved);
- checkUnnamed2305(o.messages);
- checkUnnamed2306(o.messagesAdded);
- checkUnnamed2307(o.messagesDeleted);
+ checkUnnamed2305(o.labelsAdded);
+ checkUnnamed2306(o.labelsRemoved);
+ checkUnnamed2307(o.messages);
+ checkUnnamed2308(o.messagesAdded);
+ checkUnnamed2309(o.messagesDeleted);
}
buildCounterHistory--;
}
-buildUnnamed2308() {
+buildUnnamed2310() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2308(core.List<core.String> o) {
+checkUnnamed2310(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -449,7 +449,7 @@
var o = new api.HistoryLabelAdded();
buildCounterHistoryLabelAdded++;
if (buildCounterHistoryLabelAdded < 3) {
- o.labelIds = buildUnnamed2308();
+ o.labelIds = buildUnnamed2310();
o.message = buildMessage();
}
buildCounterHistoryLabelAdded--;
@@ -459,20 +459,20 @@
checkHistoryLabelAdded(api.HistoryLabelAdded o) {
buildCounterHistoryLabelAdded++;
if (buildCounterHistoryLabelAdded < 3) {
- checkUnnamed2308(o.labelIds);
+ checkUnnamed2310(o.labelIds);
checkMessage(o.message);
}
buildCounterHistoryLabelAdded--;
}
-buildUnnamed2309() {
+buildUnnamed2311() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2309(core.List<core.String> o) {
+checkUnnamed2311(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -483,7 +483,7 @@
var o = new api.HistoryLabelRemoved();
buildCounterHistoryLabelRemoved++;
if (buildCounterHistoryLabelRemoved < 3) {
- o.labelIds = buildUnnamed2309();
+ o.labelIds = buildUnnamed2311();
o.message = buildMessage();
}
buildCounterHistoryLabelRemoved--;
@@ -493,7 +493,7 @@
checkHistoryLabelRemoved(api.HistoryLabelRemoved o) {
buildCounterHistoryLabelRemoved++;
if (buildCounterHistoryLabelRemoved < 3) {
- checkUnnamed2309(o.labelIds);
+ checkUnnamed2311(o.labelIds);
checkMessage(o.message);
}
buildCounterHistoryLabelRemoved--;
@@ -639,14 +639,14 @@
buildCounterLanguageSettings--;
}
-buildUnnamed2310() {
+buildUnnamed2312() {
var o = new core.List<api.Delegate>();
o.add(buildDelegate());
o.add(buildDelegate());
return o;
}
-checkUnnamed2310(core.List<api.Delegate> o) {
+checkUnnamed2312(core.List<api.Delegate> o) {
unittest.expect(o, unittest.hasLength(2));
checkDelegate(o[0]);
checkDelegate(o[1]);
@@ -657,7 +657,7 @@
var o = new api.ListDelegatesResponse();
buildCounterListDelegatesResponse++;
if (buildCounterListDelegatesResponse < 3) {
- o.delegates = buildUnnamed2310();
+ o.delegates = buildUnnamed2312();
}
buildCounterListDelegatesResponse--;
return o;
@@ -666,19 +666,19 @@
checkListDelegatesResponse(api.ListDelegatesResponse o) {
buildCounterListDelegatesResponse++;
if (buildCounterListDelegatesResponse < 3) {
- checkUnnamed2310(o.delegates);
+ checkUnnamed2312(o.delegates);
}
buildCounterListDelegatesResponse--;
}
-buildUnnamed2311() {
+buildUnnamed2313() {
var o = new core.List<api.Draft>();
o.add(buildDraft());
o.add(buildDraft());
return o;
}
-checkUnnamed2311(core.List<api.Draft> o) {
+checkUnnamed2313(core.List<api.Draft> o) {
unittest.expect(o, unittest.hasLength(2));
checkDraft(o[0]);
checkDraft(o[1]);
@@ -689,7 +689,7 @@
var o = new api.ListDraftsResponse();
buildCounterListDraftsResponse++;
if (buildCounterListDraftsResponse < 3) {
- o.drafts = buildUnnamed2311();
+ o.drafts = buildUnnamed2313();
o.nextPageToken = "foo";
o.resultSizeEstimate = 42;
}
@@ -700,21 +700,21 @@
checkListDraftsResponse(api.ListDraftsResponse o) {
buildCounterListDraftsResponse++;
if (buildCounterListDraftsResponse < 3) {
- checkUnnamed2311(o.drafts);
+ checkUnnamed2313(o.drafts);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.resultSizeEstimate, unittest.equals(42));
}
buildCounterListDraftsResponse--;
}
-buildUnnamed2312() {
+buildUnnamed2314() {
var o = new core.List<api.Filter>();
o.add(buildFilter());
o.add(buildFilter());
return o;
}
-checkUnnamed2312(core.List<api.Filter> o) {
+checkUnnamed2314(core.List<api.Filter> o) {
unittest.expect(o, unittest.hasLength(2));
checkFilter(o[0]);
checkFilter(o[1]);
@@ -725,7 +725,7 @@
var o = new api.ListFiltersResponse();
buildCounterListFiltersResponse++;
if (buildCounterListFiltersResponse < 3) {
- o.filter = buildUnnamed2312();
+ o.filter = buildUnnamed2314();
}
buildCounterListFiltersResponse--;
return o;
@@ -734,19 +734,19 @@
checkListFiltersResponse(api.ListFiltersResponse o) {
buildCounterListFiltersResponse++;
if (buildCounterListFiltersResponse < 3) {
- checkUnnamed2312(o.filter);
+ checkUnnamed2314(o.filter);
}
buildCounterListFiltersResponse--;
}
-buildUnnamed2313() {
+buildUnnamed2315() {
var o = new core.List<api.ForwardingAddress>();
o.add(buildForwardingAddress());
o.add(buildForwardingAddress());
return o;
}
-checkUnnamed2313(core.List<api.ForwardingAddress> o) {
+checkUnnamed2315(core.List<api.ForwardingAddress> o) {
unittest.expect(o, unittest.hasLength(2));
checkForwardingAddress(o[0]);
checkForwardingAddress(o[1]);
@@ -757,7 +757,7 @@
var o = new api.ListForwardingAddressesResponse();
buildCounterListForwardingAddressesResponse++;
if (buildCounterListForwardingAddressesResponse < 3) {
- o.forwardingAddresses = buildUnnamed2313();
+ o.forwardingAddresses = buildUnnamed2315();
}
buildCounterListForwardingAddressesResponse--;
return o;
@@ -766,19 +766,19 @@
checkListForwardingAddressesResponse(api.ListForwardingAddressesResponse o) {
buildCounterListForwardingAddressesResponse++;
if (buildCounterListForwardingAddressesResponse < 3) {
- checkUnnamed2313(o.forwardingAddresses);
+ checkUnnamed2315(o.forwardingAddresses);
}
buildCounterListForwardingAddressesResponse--;
}
-buildUnnamed2314() {
+buildUnnamed2316() {
var o = new core.List<api.History>();
o.add(buildHistory());
o.add(buildHistory());
return o;
}
-checkUnnamed2314(core.List<api.History> o) {
+checkUnnamed2316(core.List<api.History> o) {
unittest.expect(o, unittest.hasLength(2));
checkHistory(o[0]);
checkHistory(o[1]);
@@ -789,7 +789,7 @@
var o = new api.ListHistoryResponse();
buildCounterListHistoryResponse++;
if (buildCounterListHistoryResponse < 3) {
- o.history = buildUnnamed2314();
+ o.history = buildUnnamed2316();
o.historyId = "foo";
o.nextPageToken = "foo";
}
@@ -800,21 +800,21 @@
checkListHistoryResponse(api.ListHistoryResponse o) {
buildCounterListHistoryResponse++;
if (buildCounterListHistoryResponse < 3) {
- checkUnnamed2314(o.history);
+ checkUnnamed2316(o.history);
unittest.expect(o.historyId, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListHistoryResponse--;
}
-buildUnnamed2315() {
+buildUnnamed2317() {
var o = new core.List<api.Label>();
o.add(buildLabel());
o.add(buildLabel());
return o;
}
-checkUnnamed2315(core.List<api.Label> o) {
+checkUnnamed2317(core.List<api.Label> o) {
unittest.expect(o, unittest.hasLength(2));
checkLabel(o[0]);
checkLabel(o[1]);
@@ -825,7 +825,7 @@
var o = new api.ListLabelsResponse();
buildCounterListLabelsResponse++;
if (buildCounterListLabelsResponse < 3) {
- o.labels = buildUnnamed2315();
+ o.labels = buildUnnamed2317();
}
buildCounterListLabelsResponse--;
return o;
@@ -834,19 +834,19 @@
checkListLabelsResponse(api.ListLabelsResponse o) {
buildCounterListLabelsResponse++;
if (buildCounterListLabelsResponse < 3) {
- checkUnnamed2315(o.labels);
+ checkUnnamed2317(o.labels);
}
buildCounterListLabelsResponse--;
}
-buildUnnamed2316() {
+buildUnnamed2318() {
var o = new core.List<api.Message>();
o.add(buildMessage());
o.add(buildMessage());
return o;
}
-checkUnnamed2316(core.List<api.Message> o) {
+checkUnnamed2318(core.List<api.Message> o) {
unittest.expect(o, unittest.hasLength(2));
checkMessage(o[0]);
checkMessage(o[1]);
@@ -857,7 +857,7 @@
var o = new api.ListMessagesResponse();
buildCounterListMessagesResponse++;
if (buildCounterListMessagesResponse < 3) {
- o.messages = buildUnnamed2316();
+ o.messages = buildUnnamed2318();
o.nextPageToken = "foo";
o.resultSizeEstimate = 42;
}
@@ -868,21 +868,21 @@
checkListMessagesResponse(api.ListMessagesResponse o) {
buildCounterListMessagesResponse++;
if (buildCounterListMessagesResponse < 3) {
- checkUnnamed2316(o.messages);
+ checkUnnamed2318(o.messages);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.resultSizeEstimate, unittest.equals(42));
}
buildCounterListMessagesResponse--;
}
-buildUnnamed2317() {
+buildUnnamed2319() {
var o = new core.List<api.SendAs>();
o.add(buildSendAs());
o.add(buildSendAs());
return o;
}
-checkUnnamed2317(core.List<api.SendAs> o) {
+checkUnnamed2319(core.List<api.SendAs> o) {
unittest.expect(o, unittest.hasLength(2));
checkSendAs(o[0]);
checkSendAs(o[1]);
@@ -893,7 +893,7 @@
var o = new api.ListSendAsResponse();
buildCounterListSendAsResponse++;
if (buildCounterListSendAsResponse < 3) {
- o.sendAs = buildUnnamed2317();
+ o.sendAs = buildUnnamed2319();
}
buildCounterListSendAsResponse--;
return o;
@@ -902,19 +902,19 @@
checkListSendAsResponse(api.ListSendAsResponse o) {
buildCounterListSendAsResponse++;
if (buildCounterListSendAsResponse < 3) {
- checkUnnamed2317(o.sendAs);
+ checkUnnamed2319(o.sendAs);
}
buildCounterListSendAsResponse--;
}
-buildUnnamed2318() {
+buildUnnamed2320() {
var o = new core.List<api.SmimeInfo>();
o.add(buildSmimeInfo());
o.add(buildSmimeInfo());
return o;
}
-checkUnnamed2318(core.List<api.SmimeInfo> o) {
+checkUnnamed2320(core.List<api.SmimeInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkSmimeInfo(o[0]);
checkSmimeInfo(o[1]);
@@ -925,7 +925,7 @@
var o = new api.ListSmimeInfoResponse();
buildCounterListSmimeInfoResponse++;
if (buildCounterListSmimeInfoResponse < 3) {
- o.smimeInfo = buildUnnamed2318();
+ o.smimeInfo = buildUnnamed2320();
}
buildCounterListSmimeInfoResponse--;
return o;
@@ -934,19 +934,19 @@
checkListSmimeInfoResponse(api.ListSmimeInfoResponse o) {
buildCounterListSmimeInfoResponse++;
if (buildCounterListSmimeInfoResponse < 3) {
- checkUnnamed2318(o.smimeInfo);
+ checkUnnamed2320(o.smimeInfo);
}
buildCounterListSmimeInfoResponse--;
}
-buildUnnamed2319() {
+buildUnnamed2321() {
var o = new core.List<api.Thread>();
o.add(buildThread());
o.add(buildThread());
return o;
}
-checkUnnamed2319(core.List<api.Thread> o) {
+checkUnnamed2321(core.List<api.Thread> o) {
unittest.expect(o, unittest.hasLength(2));
checkThread(o[0]);
checkThread(o[1]);
@@ -959,7 +959,7 @@
if (buildCounterListThreadsResponse < 3) {
o.nextPageToken = "foo";
o.resultSizeEstimate = 42;
- o.threads = buildUnnamed2319();
+ o.threads = buildUnnamed2321();
}
buildCounterListThreadsResponse--;
return o;
@@ -970,19 +970,19 @@
if (buildCounterListThreadsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.resultSizeEstimate, unittest.equals(42));
- checkUnnamed2319(o.threads);
+ checkUnnamed2321(o.threads);
}
buildCounterListThreadsResponse--;
}
-buildUnnamed2320() {
+buildUnnamed2322() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2320(core.List<core.String> o) {
+checkUnnamed2322(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -996,7 +996,7 @@
o.historyId = "foo";
o.id = "foo";
o.internalDate = "foo";
- o.labelIds = buildUnnamed2320();
+ o.labelIds = buildUnnamed2322();
o.payload = buildMessagePart();
o.raw = "foo";
o.sizeEstimate = 42;
@@ -1013,7 +1013,7 @@
unittest.expect(o.historyId, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.internalDate, unittest.equals('foo'));
- checkUnnamed2320(o.labelIds);
+ checkUnnamed2322(o.labelIds);
checkMessagePart(o.payload);
unittest.expect(o.raw, unittest.equals('foo'));
unittest.expect(o.sizeEstimate, unittest.equals(42));
@@ -1023,27 +1023,27 @@
buildCounterMessage--;
}
-buildUnnamed2321() {
+buildUnnamed2323() {
var o = new core.List<api.MessagePartHeader>();
o.add(buildMessagePartHeader());
o.add(buildMessagePartHeader());
return o;
}
-checkUnnamed2321(core.List<api.MessagePartHeader> o) {
+checkUnnamed2323(core.List<api.MessagePartHeader> o) {
unittest.expect(o, unittest.hasLength(2));
checkMessagePartHeader(o[0]);
checkMessagePartHeader(o[1]);
}
-buildUnnamed2322() {
+buildUnnamed2324() {
var o = new core.List<api.MessagePart>();
o.add(buildMessagePart());
o.add(buildMessagePart());
return o;
}
-checkUnnamed2322(core.List<api.MessagePart> o) {
+checkUnnamed2324(core.List<api.MessagePart> o) {
unittest.expect(o, unittest.hasLength(2));
checkMessagePart(o[0]);
checkMessagePart(o[1]);
@@ -1056,10 +1056,10 @@
if (buildCounterMessagePart < 3) {
o.body = buildMessagePartBody();
o.filename = "foo";
- o.headers = buildUnnamed2321();
+ o.headers = buildUnnamed2323();
o.mimeType = "foo";
o.partId = "foo";
- o.parts = buildUnnamed2322();
+ o.parts = buildUnnamed2324();
}
buildCounterMessagePart--;
return o;
@@ -1070,10 +1070,10 @@
if (buildCounterMessagePart < 3) {
checkMessagePartBody(o.body);
unittest.expect(o.filename, unittest.equals('foo'));
- checkUnnamed2321(o.headers);
+ checkUnnamed2323(o.headers);
unittest.expect(o.mimeType, unittest.equals('foo'));
unittest.expect(o.partId, unittest.equals('foo'));
- checkUnnamed2322(o.parts);
+ checkUnnamed2324(o.parts);
}
buildCounterMessagePart--;
}
@@ -1122,53 +1122,6 @@
buildCounterMessagePartHeader--;
}
-buildUnnamed2323() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2323(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed2324() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2324(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-core.int buildCounterModifyMessageRequest = 0;
-buildModifyMessageRequest() {
- var o = new api.ModifyMessageRequest();
- buildCounterModifyMessageRequest++;
- if (buildCounterModifyMessageRequest < 3) {
- o.addLabelIds = buildUnnamed2323();
- o.removeLabelIds = buildUnnamed2324();
- }
- buildCounterModifyMessageRequest--;
- return o;
-}
-
-checkModifyMessageRequest(api.ModifyMessageRequest o) {
- buildCounterModifyMessageRequest++;
- if (buildCounterModifyMessageRequest < 3) {
- checkUnnamed2323(o.addLabelIds);
- checkUnnamed2324(o.removeLabelIds);
- }
- buildCounterModifyMessageRequest--;
-}
-
buildUnnamed2325() {
var o = new core.List<core.String>();
o.add("foo");
@@ -1195,13 +1148,60 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+core.int buildCounterModifyMessageRequest = 0;
+buildModifyMessageRequest() {
+ var o = new api.ModifyMessageRequest();
+ buildCounterModifyMessageRequest++;
+ if (buildCounterModifyMessageRequest < 3) {
+ o.addLabelIds = buildUnnamed2325();
+ o.removeLabelIds = buildUnnamed2326();
+ }
+ buildCounterModifyMessageRequest--;
+ return o;
+}
+
+checkModifyMessageRequest(api.ModifyMessageRequest o) {
+ buildCounterModifyMessageRequest++;
+ if (buildCounterModifyMessageRequest < 3) {
+ checkUnnamed2325(o.addLabelIds);
+ checkUnnamed2326(o.removeLabelIds);
+ }
+ buildCounterModifyMessageRequest--;
+}
+
+buildUnnamed2327() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2327(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed2328() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2328(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
core.int buildCounterModifyThreadRequest = 0;
buildModifyThreadRequest() {
var o = new api.ModifyThreadRequest();
buildCounterModifyThreadRequest++;
if (buildCounterModifyThreadRequest < 3) {
- o.addLabelIds = buildUnnamed2325();
- o.removeLabelIds = buildUnnamed2326();
+ o.addLabelIds = buildUnnamed2327();
+ o.removeLabelIds = buildUnnamed2328();
}
buildCounterModifyThreadRequest--;
return o;
@@ -1210,8 +1210,8 @@
checkModifyThreadRequest(api.ModifyThreadRequest o) {
buildCounterModifyThreadRequest++;
if (buildCounterModifyThreadRequest < 3) {
- checkUnnamed2325(o.addLabelIds);
- checkUnnamed2326(o.removeLabelIds);
+ checkUnnamed2327(o.addLabelIds);
+ checkUnnamed2328(o.removeLabelIds);
}
buildCounterModifyThreadRequest--;
}
@@ -1355,14 +1355,14 @@
buildCounterSmtpMsa--;
}
-buildUnnamed2327() {
+buildUnnamed2329() {
var o = new core.List<api.Message>();
o.add(buildMessage());
o.add(buildMessage());
return o;
}
-checkUnnamed2327(core.List<api.Message> o) {
+checkUnnamed2329(core.List<api.Message> o) {
unittest.expect(o, unittest.hasLength(2));
checkMessage(o[0]);
checkMessage(o[1]);
@@ -1375,7 +1375,7 @@
if (buildCounterThread < 3) {
o.historyId = "foo";
o.id = "foo";
- o.messages = buildUnnamed2327();
+ o.messages = buildUnnamed2329();
o.snippet = "foo";
}
buildCounterThread--;
@@ -1387,7 +1387,7 @@
if (buildCounterThread < 3) {
unittest.expect(o.historyId, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2327(o.messages);
+ checkUnnamed2329(o.messages);
unittest.expect(o.snippet, unittest.equals('foo'));
}
buildCounterThread--;
@@ -1426,14 +1426,14 @@
buildCounterVacationSettings--;
}
-buildUnnamed2328() {
+buildUnnamed2330() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2328(core.List<core.String> o) {
+checkUnnamed2330(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1445,7 +1445,7 @@
buildCounterWatchRequest++;
if (buildCounterWatchRequest < 3) {
o.labelFilterAction = "foo";
- o.labelIds = buildUnnamed2328();
+ o.labelIds = buildUnnamed2330();
o.topicName = "foo";
}
buildCounterWatchRequest--;
@@ -1456,7 +1456,7 @@
buildCounterWatchRequest++;
if (buildCounterWatchRequest < 3) {
unittest.expect(o.labelFilterAction, unittest.equals('foo'));
- checkUnnamed2328(o.labelIds);
+ checkUnnamed2330(o.labelIds);
unittest.expect(o.topicName, unittest.equals('foo'));
}
buildCounterWatchRequest--;
@@ -1483,32 +1483,6 @@
buildCounterWatchResponse--;
}
-buildUnnamed2329() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2329(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed2330() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2330(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed2331() {
var o = new core.List<core.String>();
o.add("foo");
@@ -1548,6 +1522,32 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed2334() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2334(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed2335() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2335(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
main() {
unittest.group("obj-schema-AutoForwarding", () {
unittest.test("to-json--from-json", () {
@@ -2271,10 +2271,10 @@
var mock = new HttpServerMock();
api.UsersDraftsResourceApi res = new api.GmailApi(mock).users.drafts;
var arg_userId = "foo";
- var arg_q = "foo";
var arg_includeSpamTrash = true;
var arg_pageToken = "foo";
var arg_maxResults = 42;
+ var arg_q = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2315,13 +2315,13 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["q"].first, unittest.equals(arg_q));
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["q"].first, unittest.equals(arg_q));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2332,10 +2332,10 @@
}), true);
res
.list(arg_userId,
- q: arg_q,
includeSpamTrash: arg_includeSpamTrash,
pageToken: arg_pageToken,
maxResults: arg_maxResults,
+ q: arg_q,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListDraftsResponse(response);
@@ -2484,9 +2484,9 @@
var mock = new HttpServerMock();
api.UsersHistoryResourceApi res = new api.GmailApi(mock).users.history;
var arg_userId = "foo";
- var arg_historyTypes = buildUnnamed2329();
- var arg_pageToken = "foo";
+ var arg_historyTypes = buildUnnamed2331();
var arg_labelId = "foo";
+ var arg_pageToken = "foo";
var arg_maxResults = 42;
var arg_startHistoryId = "foo";
var arg_$fields = "foo";
@@ -2532,9 +2532,9 @@
unittest.expect(
queryMap["historyTypes"], unittest.equals(arg_historyTypes));
unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- 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["startHistoryId"].first,
@@ -2550,8 +2550,8 @@
res
.list(arg_userId,
historyTypes: arg_historyTypes,
- pageToken: arg_pageToken,
labelId: arg_labelId,
+ pageToken: arg_pageToken,
maxResults: arg_maxResults,
startHistoryId: arg_startHistoryId,
$fields: arg_$fields)
@@ -3132,7 +3132,7 @@
api.UsersMessagesResourceApi res = new api.GmailApi(mock).users.messages;
var arg_userId = "foo";
var arg_id = "foo";
- var arg_metadataHeaders = buildUnnamed2330();
+ var arg_metadataHeaders = buildUnnamed2332();
var arg_format = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -3207,9 +3207,9 @@
var arg_request = buildMessage();
var arg_userId = "foo";
var arg_processForCalendar = true;
- var arg_deleted = true;
- var arg_neverMarkSpam = true;
var arg_internalDateSource = "foo";
+ var arg_neverMarkSpam = true;
+ var arg_deleted = true;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.Message.fromJson(json);
@@ -3255,12 +3255,12 @@
}
unittest.expect(queryMap["processForCalendar"].first,
unittest.equals("$arg_processForCalendar"));
- unittest.expect(
- queryMap["deleted"].first, unittest.equals("$arg_deleted"));
- unittest.expect(queryMap["neverMarkSpam"].first,
- unittest.equals("$arg_neverMarkSpam"));
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["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3272,9 +3272,9 @@
res
.import(arg_request, arg_userId,
processForCalendar: arg_processForCalendar,
- deleted: arg_deleted,
- neverMarkSpam: arg_neverMarkSpam,
internalDateSource: arg_internalDateSource,
+ neverMarkSpam: arg_neverMarkSpam,
+ deleted: arg_deleted,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkMessage(response);
@@ -3289,8 +3289,8 @@
api.UsersMessagesResourceApi res = new api.GmailApi(mock).users.messages;
var arg_request = buildMessage();
var arg_userId = "foo";
- var arg_internalDateSource = "foo";
var arg_deleted = true;
+ var arg_internalDateSource = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.Message.fromJson(json);
@@ -3334,10 +3334,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["internalDateSource"].first,
- unittest.equals(arg_internalDateSource));
unittest.expect(
queryMap["deleted"].first, unittest.equals("$arg_deleted"));
+ unittest.expect(queryMap["internalDateSource"].first,
+ unittest.equals(arg_internalDateSource));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3348,8 +3348,8 @@
}), true);
res
.insert(arg_request, arg_userId,
- internalDateSource: arg_internalDateSource,
deleted: arg_deleted,
+ internalDateSource: arg_internalDateSource,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkMessage(response);
@@ -3360,11 +3360,11 @@
var mock = new HttpServerMock();
api.UsersMessagesResourceApi res = new api.GmailApi(mock).users.messages;
var arg_userId = "foo";
- var arg_maxResults = 42;
var arg_pageToken = "foo";
- var arg_includeSpamTrash = true;
- var arg_labelIds = buildUnnamed2331();
var arg_q = "foo";
+ var arg_includeSpamTrash = true;
+ var arg_labelIds = buildUnnamed2333();
+ var arg_maxResults = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3405,14 +3405,14 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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["includeSpamTrash"].first,
unittest.equals("$arg_includeSpamTrash"));
unittest.expect(queryMap["labelIds"], unittest.equals(arg_labelIds));
- unittest.expect(queryMap["q"].first, unittest.equals(arg_q));
+ unittest.expect(core.int.parse(queryMap["maxResults"].first),
+ unittest.equals(arg_maxResults));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3423,11 +3423,11 @@
}), true);
res
.list(arg_userId,
- maxResults: arg_maxResults,
pageToken: arg_pageToken,
+ q: arg_q,
includeSpamTrash: arg_includeSpamTrash,
labelIds: arg_labelIds,
- q: arg_q,
+ maxResults: arg_maxResults,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListMessagesResponse(response);
@@ -6051,8 +6051,8 @@
api.UsersThreadsResourceApi res = new api.GmailApi(mock).users.threads;
var arg_userId = "foo";
var arg_id = "foo";
+ var arg_metadataHeaders = buildUnnamed2334();
var arg_format = "foo";
- var arg_metadataHeaders = buildUnnamed2332();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -6096,9 +6096,9 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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 = {
@@ -6109,8 +6109,8 @@
}), true);
res
.get(arg_userId, arg_id,
- format: arg_format,
metadataHeaders: arg_metadataHeaders,
+ format: arg_format,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkThread(response);
@@ -6121,11 +6121,11 @@
var mock = new HttpServerMock();
api.UsersThreadsResourceApi res = new api.GmailApi(mock).users.threads;
var arg_userId = "foo";
+ var arg_labelIds = buildUnnamed2335();
var arg_q = "foo";
- var arg_labelIds = buildUnnamed2333();
var arg_pageToken = "foo";
- var arg_maxResults = 42;
var arg_includeSpamTrash = true;
+ var arg_maxResults = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -6166,14 +6166,14 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["q"].first, unittest.equals(arg_q));
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(core.int.parse(queryMap["maxResults"].first),
- unittest.equals(arg_maxResults));
unittest.expect(queryMap["includeSpamTrash"].first,
unittest.equals("$arg_includeSpamTrash"));
+ unittest.expect(core.int.parse(queryMap["maxResults"].first),
+ unittest.equals(arg_maxResults));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -6184,11 +6184,11 @@
}), true);
res
.list(arg_userId,
- q: arg_q,
labelIds: arg_labelIds,
+ q: arg_q,
pageToken: arg_pageToken,
- maxResults: arg_maxResults,
includeSpamTrash: arg_includeSpamTrash,
+ maxResults: arg_maxResults,
$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 1e1f67c..6856686 100644
--- a/generated/googleapis/test/healthcare/v1_test.dart
+++ b/generated/googleapis/test/healthcare/v1_test.dart
@@ -50,14 +50,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed1642() {
+buildUnnamed1644() {
var o = new core.List<api.AuditLogConfig>();
o.add(buildAuditLogConfig());
o.add(buildAuditLogConfig());
return o;
}
-checkUnnamed1642(core.List<api.AuditLogConfig> o) {
+checkUnnamed1644(core.List<api.AuditLogConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuditLogConfig(o[0]);
checkAuditLogConfig(o[1]);
@@ -68,7 +68,7 @@
var o = new api.AuditConfig();
buildCounterAuditConfig++;
if (buildCounterAuditConfig < 3) {
- o.auditLogConfigs = buildUnnamed1642();
+ o.auditLogConfigs = buildUnnamed1644();
o.service = "foo";
}
buildCounterAuditConfig--;
@@ -78,20 +78,20 @@
checkAuditConfig(api.AuditConfig o) {
buildCounterAuditConfig++;
if (buildCounterAuditConfig < 3) {
- checkUnnamed1642(o.auditLogConfigs);
+ checkUnnamed1644(o.auditLogConfigs);
unittest.expect(o.service, unittest.equals('foo'));
}
buildCounterAuditConfig--;
}
-buildUnnamed1643() {
+buildUnnamed1645() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1643(core.List<core.String> o) {
+checkUnnamed1645(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -102,7 +102,7 @@
var o = new api.AuditLogConfig();
buildCounterAuditLogConfig++;
if (buildCounterAuditLogConfig < 3) {
- o.exemptedMembers = buildUnnamed1643();
+ o.exemptedMembers = buildUnnamed1645();
o.logType = "foo";
}
buildCounterAuditLogConfig--;
@@ -112,20 +112,20 @@
checkAuditLogConfig(api.AuditLogConfig o) {
buildCounterAuditLogConfig++;
if (buildCounterAuditLogConfig < 3) {
- checkUnnamed1643(o.exemptedMembers);
+ checkUnnamed1645(o.exemptedMembers);
unittest.expect(o.logType, unittest.equals('foo'));
}
buildCounterAuditLogConfig--;
}
-buildUnnamed1644() {
+buildUnnamed1646() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1644(core.List<core.String> o) {
+checkUnnamed1646(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -137,7 +137,7 @@
buildCounterBinding++;
if (buildCounterBinding < 3) {
o.condition = buildExpr();
- o.members = buildUnnamed1644();
+ o.members = buildUnnamed1646();
o.role = "foo";
}
buildCounterBinding--;
@@ -148,7 +148,7 @@
buildCounterBinding++;
if (buildCounterBinding < 3) {
checkExpr(o.condition);
- checkUnnamed1644(o.members);
+ checkUnnamed1646(o.members);
unittest.expect(o.role, unittest.equals('foo'));
}
buildCounterBinding--;
@@ -417,14 +417,14 @@
buildCounterDicomFilterConfig--;
}
-buildUnnamed1645() {
+buildUnnamed1647() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1645(core.Map<core.String, core.String> o) {
+checkUnnamed1647(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -435,7 +435,7 @@
var o = new api.DicomStore();
buildCounterDicomStore++;
if (buildCounterDicomStore < 3) {
- o.labels = buildUnnamed1645();
+ o.labels = buildUnnamed1647();
o.name = "foo";
o.notificationConfig = buildNotificationConfig();
}
@@ -446,7 +446,7 @@
checkDicomStore(api.DicomStore o) {
buildCounterDicomStore++;
if (buildCounterDicomStore < 3) {
- checkUnnamed1645(o.labels);
+ checkUnnamed1647(o.labels);
unittest.expect(o.name, unittest.equals('foo'));
checkNotificationConfig(o.notificationConfig);
}
@@ -567,14 +567,14 @@
buildCounterExpr--;
}
-buildUnnamed1646() {
+buildUnnamed1648() {
var o = new core.List<api.FieldMetadata>();
o.add(buildFieldMetadata());
o.add(buildFieldMetadata());
return o;
}
-checkUnnamed1646(core.List<api.FieldMetadata> o) {
+checkUnnamed1648(core.List<api.FieldMetadata> o) {
unittest.expect(o, unittest.hasLength(2));
checkFieldMetadata(o[0]);
checkFieldMetadata(o[1]);
@@ -585,7 +585,7 @@
var o = new api.FhirConfig();
buildCounterFhirConfig++;
if (buildCounterFhirConfig < 3) {
- o.fieldMetadataList = buildUnnamed1646();
+ o.fieldMetadataList = buildUnnamed1648();
}
buildCounterFhirConfig--;
return o;
@@ -594,7 +594,7 @@
checkFhirConfig(api.FhirConfig o) {
buildCounterFhirConfig++;
if (buildCounterFhirConfig < 3) {
- checkUnnamed1646(o.fieldMetadataList);
+ checkUnnamed1648(o.fieldMetadataList);
}
buildCounterFhirConfig--;
}
@@ -618,27 +618,27 @@
buildCounterFhirFilter--;
}
-buildUnnamed1647() {
+buildUnnamed1649() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1647(core.Map<core.String, core.String> o) {
+checkUnnamed1649(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed1648() {
+buildUnnamed1650() {
var o = new core.List<api.StreamConfig>();
o.add(buildStreamConfig());
o.add(buildStreamConfig());
return o;
}
-checkUnnamed1648(core.List<api.StreamConfig> o) {
+checkUnnamed1650(core.List<api.StreamConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkStreamConfig(o[0]);
checkStreamConfig(o[1]);
@@ -652,10 +652,10 @@
o.disableReferentialIntegrity = true;
o.disableResourceVersioning = true;
o.enableUpdateCreate = true;
- o.labels = buildUnnamed1647();
+ o.labels = buildUnnamed1649();
o.name = "foo";
o.notificationConfig = buildNotificationConfig();
- o.streamConfigs = buildUnnamed1648();
+ o.streamConfigs = buildUnnamed1650();
o.version = "foo";
}
buildCounterFhirStore--;
@@ -668,23 +668,23 @@
unittest.expect(o.disableReferentialIntegrity, unittest.isTrue);
unittest.expect(o.disableResourceVersioning, unittest.isTrue);
unittest.expect(o.enableUpdateCreate, unittest.isTrue);
- checkUnnamed1647(o.labels);
+ checkUnnamed1649(o.labels);
unittest.expect(o.name, unittest.equals('foo'));
checkNotificationConfig(o.notificationConfig);
- checkUnnamed1648(o.streamConfigs);
+ checkUnnamed1650(o.streamConfigs);
unittest.expect(o.version, unittest.equals('foo'));
}
buildCounterFhirStore--;
}
-buildUnnamed1649() {
+buildUnnamed1651() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1649(core.List<core.String> o) {
+checkUnnamed1651(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -696,7 +696,7 @@
buildCounterFieldMetadata++;
if (buildCounterFieldMetadata < 3) {
o.action = "foo";
- o.paths = buildUnnamed1649();
+ o.paths = buildUnnamed1651();
}
buildCounterFieldMetadata--;
return o;
@@ -706,7 +706,7 @@
buildCounterFieldMetadata++;
if (buildCounterFieldMetadata < 3) {
unittest.expect(o.action, unittest.equals('foo'));
- checkUnnamed1649(o.paths);
+ checkUnnamed1651(o.paths);
}
buildCounterFieldMetadata--;
}
@@ -900,27 +900,27 @@
buildCounterHl7V2NotificationConfig--;
}
-buildUnnamed1650() {
+buildUnnamed1652() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1650(core.Map<core.String, core.String> o) {
+checkUnnamed1652(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed1651() {
+buildUnnamed1653() {
var o = new core.List<api.Hl7V2NotificationConfig>();
o.add(buildHl7V2NotificationConfig());
o.add(buildHl7V2NotificationConfig());
return o;
}
-checkUnnamed1651(core.List<api.Hl7V2NotificationConfig> o) {
+checkUnnamed1653(core.List<api.Hl7V2NotificationConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkHl7V2NotificationConfig(o[0]);
checkHl7V2NotificationConfig(o[1]);
@@ -931,9 +931,9 @@
var o = new api.Hl7V2Store();
buildCounterHl7V2Store++;
if (buildCounterHl7V2Store < 3) {
- o.labels = buildUnnamed1650();
+ o.labels = buildUnnamed1652();
o.name = "foo";
- o.notificationConfigs = buildUnnamed1651();
+ o.notificationConfigs = buildUnnamed1653();
o.parserConfig = buildParserConfig();
o.rejectDuplicateMessage = true;
}
@@ -944,16 +944,16 @@
checkHl7V2Store(api.Hl7V2Store o) {
buildCounterHl7V2Store++;
if (buildCounterHl7V2Store < 3) {
- checkUnnamed1650(o.labels);
+ checkUnnamed1652(o.labels);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1651(o.notificationConfigs);
+ checkUnnamed1653(o.notificationConfigs);
checkParserConfig(o.parserConfig);
unittest.expect(o.rejectDuplicateMessage, unittest.isTrue);
}
buildCounterHl7V2Store--;
}
-buildUnnamed1652() {
+buildUnnamed1654() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -968,7 +968,7 @@
return o;
}
-checkUnnamed1652(core.Map<core.String, core.Object> o) {
+checkUnnamed1654(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o["x"]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -982,17 +982,17 @@
unittest.expect(casted2["string"], unittest.equals('foo'));
}
-buildUnnamed1653() {
+buildUnnamed1655() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed1652());
- o.add(buildUnnamed1652());
+ o.add(buildUnnamed1654());
+ o.add(buildUnnamed1654());
return o;
}
-checkUnnamed1653(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed1655(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1652(o[0]);
- checkUnnamed1652(o[1]);
+ checkUnnamed1654(o[0]);
+ checkUnnamed1654(o[1]);
}
core.int buildCounterHttpBody = 0;
@@ -1002,7 +1002,7 @@
if (buildCounterHttpBody < 3) {
o.contentType = "foo";
o.data = "foo";
- o.extensions = buildUnnamed1653();
+ o.extensions = buildUnnamed1655();
}
buildCounterHttpBody--;
return o;
@@ -1013,7 +1013,7 @@
if (buildCounterHttpBody < 3) {
unittest.expect(o.contentType, unittest.equals('foo'));
unittest.expect(o.data, unittest.equals('foo'));
- checkUnnamed1653(o.extensions);
+ checkUnnamed1655(o.extensions);
}
buildCounterHttpBody--;
}
@@ -1107,14 +1107,14 @@
buildCounterImportResourcesResponse--;
}
-buildUnnamed1654() {
+buildUnnamed1656() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1654(core.List<core.String> o) {
+checkUnnamed1656(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1128,7 +1128,7 @@
o.characterMaskConfig = buildCharacterMaskConfig();
o.cryptoHashConfig = buildCryptoHashConfig();
o.dateShiftConfig = buildDateShiftConfig();
- o.infoTypes = buildUnnamed1654();
+ o.infoTypes = buildUnnamed1656();
o.redactConfig = buildRedactConfig();
o.replaceWithInfoTypeConfig = buildReplaceWithInfoTypeConfig();
}
@@ -1142,7 +1142,7 @@
checkCharacterMaskConfig(o.characterMaskConfig);
checkCryptoHashConfig(o.cryptoHashConfig);
checkDateShiftConfig(o.dateShiftConfig);
- checkUnnamed1654(o.infoTypes);
+ checkUnnamed1656(o.infoTypes);
checkRedactConfig(o.redactConfig);
checkReplaceWithInfoTypeConfig(o.replaceWithInfoTypeConfig);
}
@@ -1189,14 +1189,14 @@
buildCounterIngestMessageResponse--;
}
-buildUnnamed1655() {
+buildUnnamed1657() {
var o = new core.List<api.Dataset>();
o.add(buildDataset());
o.add(buildDataset());
return o;
}
-checkUnnamed1655(core.List<api.Dataset> o) {
+checkUnnamed1657(core.List<api.Dataset> o) {
unittest.expect(o, unittest.hasLength(2));
checkDataset(o[0]);
checkDataset(o[1]);
@@ -1207,7 +1207,7 @@
var o = new api.ListDatasetsResponse();
buildCounterListDatasetsResponse++;
if (buildCounterListDatasetsResponse < 3) {
- o.datasets = buildUnnamed1655();
+ o.datasets = buildUnnamed1657();
o.nextPageToken = "foo";
}
buildCounterListDatasetsResponse--;
@@ -1217,20 +1217,20 @@
checkListDatasetsResponse(api.ListDatasetsResponse o) {
buildCounterListDatasetsResponse++;
if (buildCounterListDatasetsResponse < 3) {
- checkUnnamed1655(o.datasets);
+ checkUnnamed1657(o.datasets);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListDatasetsResponse--;
}
-buildUnnamed1656() {
+buildUnnamed1658() {
var o = new core.List<api.DicomStore>();
o.add(buildDicomStore());
o.add(buildDicomStore());
return o;
}
-checkUnnamed1656(core.List<api.DicomStore> o) {
+checkUnnamed1658(core.List<api.DicomStore> o) {
unittest.expect(o, unittest.hasLength(2));
checkDicomStore(o[0]);
checkDicomStore(o[1]);
@@ -1241,7 +1241,7 @@
var o = new api.ListDicomStoresResponse();
buildCounterListDicomStoresResponse++;
if (buildCounterListDicomStoresResponse < 3) {
- o.dicomStores = buildUnnamed1656();
+ o.dicomStores = buildUnnamed1658();
o.nextPageToken = "foo";
}
buildCounterListDicomStoresResponse--;
@@ -1251,20 +1251,20 @@
checkListDicomStoresResponse(api.ListDicomStoresResponse o) {
buildCounterListDicomStoresResponse++;
if (buildCounterListDicomStoresResponse < 3) {
- checkUnnamed1656(o.dicomStores);
+ checkUnnamed1658(o.dicomStores);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListDicomStoresResponse--;
}
-buildUnnamed1657() {
+buildUnnamed1659() {
var o = new core.List<api.FhirStore>();
o.add(buildFhirStore());
o.add(buildFhirStore());
return o;
}
-checkUnnamed1657(core.List<api.FhirStore> o) {
+checkUnnamed1659(core.List<api.FhirStore> o) {
unittest.expect(o, unittest.hasLength(2));
checkFhirStore(o[0]);
checkFhirStore(o[1]);
@@ -1275,7 +1275,7 @@
var o = new api.ListFhirStoresResponse();
buildCounterListFhirStoresResponse++;
if (buildCounterListFhirStoresResponse < 3) {
- o.fhirStores = buildUnnamed1657();
+ o.fhirStores = buildUnnamed1659();
o.nextPageToken = "foo";
}
buildCounterListFhirStoresResponse--;
@@ -1285,20 +1285,20 @@
checkListFhirStoresResponse(api.ListFhirStoresResponse o) {
buildCounterListFhirStoresResponse++;
if (buildCounterListFhirStoresResponse < 3) {
- checkUnnamed1657(o.fhirStores);
+ checkUnnamed1659(o.fhirStores);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListFhirStoresResponse--;
}
-buildUnnamed1658() {
+buildUnnamed1660() {
var o = new core.List<api.Hl7V2Store>();
o.add(buildHl7V2Store());
o.add(buildHl7V2Store());
return o;
}
-checkUnnamed1658(core.List<api.Hl7V2Store> o) {
+checkUnnamed1660(core.List<api.Hl7V2Store> o) {
unittest.expect(o, unittest.hasLength(2));
checkHl7V2Store(o[0]);
checkHl7V2Store(o[1]);
@@ -1309,7 +1309,7 @@
var o = new api.ListHl7V2StoresResponse();
buildCounterListHl7V2StoresResponse++;
if (buildCounterListHl7V2StoresResponse < 3) {
- o.hl7V2Stores = buildUnnamed1658();
+ o.hl7V2Stores = buildUnnamed1660();
o.nextPageToken = "foo";
}
buildCounterListHl7V2StoresResponse--;
@@ -1319,20 +1319,20 @@
checkListHl7V2StoresResponse(api.ListHl7V2StoresResponse o) {
buildCounterListHl7V2StoresResponse++;
if (buildCounterListHl7V2StoresResponse < 3) {
- checkUnnamed1658(o.hl7V2Stores);
+ checkUnnamed1660(o.hl7V2Stores);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListHl7V2StoresResponse--;
}
-buildUnnamed1659() {
+buildUnnamed1661() {
var o = new core.List<api.Location>();
o.add(buildLocation());
o.add(buildLocation());
return o;
}
-checkUnnamed1659(core.List<api.Location> o) {
+checkUnnamed1661(core.List<api.Location> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocation(o[0]);
checkLocation(o[1]);
@@ -1343,7 +1343,7 @@
var o = new api.ListLocationsResponse();
buildCounterListLocationsResponse++;
if (buildCounterListLocationsResponse < 3) {
- o.locations = buildUnnamed1659();
+ o.locations = buildUnnamed1661();
o.nextPageToken = "foo";
}
buildCounterListLocationsResponse--;
@@ -1353,20 +1353,20 @@
checkListLocationsResponse(api.ListLocationsResponse o) {
buildCounterListLocationsResponse++;
if (buildCounterListLocationsResponse < 3) {
- checkUnnamed1659(o.locations);
+ checkUnnamed1661(o.locations);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListLocationsResponse--;
}
-buildUnnamed1660() {
+buildUnnamed1662() {
var o = new core.List<api.Message>();
o.add(buildMessage());
o.add(buildMessage());
return o;
}
-checkUnnamed1660(core.List<api.Message> o) {
+checkUnnamed1662(core.List<api.Message> o) {
unittest.expect(o, unittest.hasLength(2));
checkMessage(o[0]);
checkMessage(o[1]);
@@ -1377,7 +1377,7 @@
var o = new api.ListMessagesResponse();
buildCounterListMessagesResponse++;
if (buildCounterListMessagesResponse < 3) {
- o.hl7V2Messages = buildUnnamed1660();
+ o.hl7V2Messages = buildUnnamed1662();
o.nextPageToken = "foo";
}
buildCounterListMessagesResponse--;
@@ -1387,20 +1387,20 @@
checkListMessagesResponse(api.ListMessagesResponse o) {
buildCounterListMessagesResponse++;
if (buildCounterListMessagesResponse < 3) {
- checkUnnamed1660(o.hl7V2Messages);
+ checkUnnamed1662(o.hl7V2Messages);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListMessagesResponse--;
}
-buildUnnamed1661() {
+buildUnnamed1663() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed1661(core.List<api.Operation> o) {
+checkUnnamed1663(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -1412,7 +1412,7 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
o.nextPageToken = "foo";
- o.operations = buildUnnamed1661();
+ o.operations = buildUnnamed1663();
}
buildCounterListOperationsResponse--;
return o;
@@ -1422,25 +1422,25 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1661(o.operations);
+ checkUnnamed1663(o.operations);
}
buildCounterListOperationsResponse--;
}
-buildUnnamed1662() {
+buildUnnamed1664() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1662(core.Map<core.String, core.String> o) {
+checkUnnamed1664(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed1663() {
+buildUnnamed1665() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1455,7 +1455,7 @@
return o;
}
-checkUnnamed1663(core.Map<core.String, core.Object> o) {
+checkUnnamed1665(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted3 = (o["x"]) as core.Map;
unittest.expect(casted3, unittest.hasLength(3));
@@ -1475,9 +1475,9 @@
buildCounterLocation++;
if (buildCounterLocation < 3) {
o.displayName = "foo";
- o.labels = buildUnnamed1662();
+ o.labels = buildUnnamed1664();
o.locationId = "foo";
- o.metadata = buildUnnamed1663();
+ o.metadata = buildUnnamed1665();
o.name = "foo";
}
buildCounterLocation--;
@@ -1488,35 +1488,35 @@
buildCounterLocation++;
if (buildCounterLocation < 3) {
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed1662(o.labels);
+ checkUnnamed1664(o.labels);
unittest.expect(o.locationId, unittest.equals('foo'));
- checkUnnamed1663(o.metadata);
+ checkUnnamed1665(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
}
buildCounterLocation--;
}
-buildUnnamed1664() {
+buildUnnamed1666() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1664(core.Map<core.String, core.String> o) {
+checkUnnamed1666(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed1665() {
+buildUnnamed1667() {
var o = new core.List<api.PatientId>();
o.add(buildPatientId());
o.add(buildPatientId());
return o;
}
-checkUnnamed1665(core.List<api.PatientId> o) {
+checkUnnamed1667(core.List<api.PatientId> o) {
unittest.expect(o, unittest.hasLength(2));
checkPatientId(o[0]);
checkPatientId(o[1]);
@@ -1529,11 +1529,11 @@
if (buildCounterMessage < 3) {
o.createTime = "foo";
o.data = "foo";
- o.labels = buildUnnamed1664();
+ o.labels = buildUnnamed1666();
o.messageType = "foo";
o.name = "foo";
o.parsedData = buildParsedData();
- o.patientIds = buildUnnamed1665();
+ o.patientIds = buildUnnamed1667();
o.sendFacility = "foo";
o.sendTime = "foo";
}
@@ -1546,11 +1546,11 @@
if (buildCounterMessage < 3) {
unittest.expect(o.createTime, unittest.equals('foo'));
unittest.expect(o.data, unittest.equals('foo'));
- checkUnnamed1664(o.labels);
+ checkUnnamed1666(o.labels);
unittest.expect(o.messageType, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
checkParsedData(o.parsedData);
- checkUnnamed1665(o.patientIds);
+ checkUnnamed1667(o.patientIds);
unittest.expect(o.sendFacility, unittest.equals('foo'));
unittest.expect(o.sendTime, unittest.equals('foo'));
}
@@ -1576,7 +1576,7 @@
buildCounterNotificationConfig--;
}
-buildUnnamed1666() {
+buildUnnamed1668() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1591,7 +1591,7 @@
return o;
}
-checkUnnamed1666(core.Map<core.String, core.Object> o) {
+checkUnnamed1668(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted5 = (o["x"]) as core.Map;
unittest.expect(casted5, unittest.hasLength(3));
@@ -1605,7 +1605,7 @@
unittest.expect(casted6["string"], unittest.equals('foo'));
}
-buildUnnamed1667() {
+buildUnnamed1669() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1620,7 +1620,7 @@
return o;
}
-checkUnnamed1667(core.Map<core.String, core.Object> o) {
+checkUnnamed1669(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted7 = (o["x"]) as core.Map;
unittest.expect(casted7, unittest.hasLength(3));
@@ -1641,9 +1641,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed1666();
+ o.metadata = buildUnnamed1668();
o.name = "foo";
- o.response = buildUnnamed1667();
+ o.response = buildUnnamed1669();
}
buildCounterOperation--;
return o;
@@ -1654,9 +1654,9 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed1666(o.metadata);
+ checkUnnamed1668(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1667(o.response);
+ checkUnnamed1669(o.response);
}
buildCounterOperation--;
}
@@ -1690,14 +1690,14 @@
buildCounterOperationMetadata--;
}
-buildUnnamed1668() {
+buildUnnamed1670() {
var o = new core.List<api.Segment>();
o.add(buildSegment());
o.add(buildSegment());
return o;
}
-checkUnnamed1668(core.List<api.Segment> o) {
+checkUnnamed1670(core.List<api.Segment> o) {
unittest.expect(o, unittest.hasLength(2));
checkSegment(o[0]);
checkSegment(o[1]);
@@ -1708,7 +1708,7 @@
var o = new api.ParsedData();
buildCounterParsedData++;
if (buildCounterParsedData < 3) {
- o.segments = buildUnnamed1668();
+ o.segments = buildUnnamed1670();
}
buildCounterParsedData--;
return o;
@@ -1717,7 +1717,7 @@
checkParsedData(api.ParsedData o) {
buildCounterParsedData++;
if (buildCounterParsedData < 3) {
- checkUnnamed1668(o.segments);
+ checkUnnamed1670(o.segments);
}
buildCounterParsedData--;
}
@@ -1764,27 +1764,27 @@
buildCounterPatientId--;
}
-buildUnnamed1669() {
+buildUnnamed1671() {
var o = new core.List<api.AuditConfig>();
o.add(buildAuditConfig());
o.add(buildAuditConfig());
return o;
}
-checkUnnamed1669(core.List<api.AuditConfig> o) {
+checkUnnamed1671(core.List<api.AuditConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuditConfig(o[0]);
checkAuditConfig(o[1]);
}
-buildUnnamed1670() {
+buildUnnamed1672() {
var o = new core.List<api.Binding>();
o.add(buildBinding());
o.add(buildBinding());
return o;
}
-checkUnnamed1670(core.List<api.Binding> o) {
+checkUnnamed1672(core.List<api.Binding> o) {
unittest.expect(o, unittest.hasLength(2));
checkBinding(o[0]);
checkBinding(o[1]);
@@ -1795,8 +1795,8 @@
var o = new api.Policy();
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- o.auditConfigs = buildUnnamed1669();
- o.bindings = buildUnnamed1670();
+ o.auditConfigs = buildUnnamed1671();
+ o.bindings = buildUnnamed1672();
o.etag = "foo";
o.version = 42;
}
@@ -1807,8 +1807,8 @@
checkPolicy(api.Policy o) {
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- checkUnnamed1669(o.auditConfigs);
- checkUnnamed1670(o.bindings);
+ checkUnnamed1671(o.auditConfigs);
+ checkUnnamed1672(o.bindings);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals(42));
}
@@ -1868,14 +1868,14 @@
buildCounterReplaceWithInfoTypeConfig--;
}
-buildUnnamed1671() {
+buildUnnamed1673() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1671(core.List<core.String> o) {
+checkUnnamed1673(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1886,7 +1886,7 @@
var o = new api.Resources();
buildCounterResources++;
if (buildCounterResources < 3) {
- o.resources = buildUnnamed1671();
+ o.resources = buildUnnamed1673();
}
buildCounterResources--;
return o;
@@ -1895,7 +1895,7 @@
checkResources(api.Resources o) {
buildCounterResources++;
if (buildCounterResources < 3) {
- checkUnnamed1671(o.resources);
+ checkUnnamed1673(o.resources);
}
buildCounterResources--;
}
@@ -1940,14 +1940,14 @@
buildCounterSearchResourcesRequest--;
}
-buildUnnamed1672() {
+buildUnnamed1674() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1672(core.Map<core.String, core.String> o) {
+checkUnnamed1674(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -1958,7 +1958,7 @@
var o = new api.Segment();
buildCounterSegment++;
if (buildCounterSegment < 3) {
- o.fields = buildUnnamed1672();
+ o.fields = buildUnnamed1674();
o.segmentId = "foo";
o.setId = "foo";
}
@@ -1969,7 +1969,7 @@
checkSegment(api.Segment o) {
buildCounterSegment++;
if (buildCounterSegment < 3) {
- checkUnnamed1672(o.fields);
+ checkUnnamed1674(o.fields);
unittest.expect(o.segmentId, unittest.equals('foo'));
unittest.expect(o.setId, unittest.equals('foo'));
}
@@ -1997,7 +1997,7 @@
buildCounterSetIamPolicyRequest--;
}
-buildUnnamed1673() {
+buildUnnamed1675() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -2012,7 +2012,7 @@
return o;
}
-checkUnnamed1673(core.Map<core.String, core.Object> o) {
+checkUnnamed1675(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted9 = (o["x"]) as core.Map;
unittest.expect(casted9, unittest.hasLength(3));
@@ -2026,17 +2026,17 @@
unittest.expect(casted10["string"], unittest.equals('foo'));
}
-buildUnnamed1674() {
+buildUnnamed1676() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed1673());
- o.add(buildUnnamed1673());
+ o.add(buildUnnamed1675());
+ o.add(buildUnnamed1675());
return o;
}
-checkUnnamed1674(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed1676(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1673(o[0]);
- checkUnnamed1673(o[1]);
+ checkUnnamed1675(o[0]);
+ checkUnnamed1675(o[1]);
}
core.int buildCounterStatus = 0;
@@ -2045,7 +2045,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed1674();
+ o.details = buildUnnamed1676();
o.message = "foo";
}
buildCounterStatus--;
@@ -2056,79 +2056,12 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed1674(o.details);
+ checkUnnamed1676(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
}
-buildUnnamed1675() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1675(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-core.int buildCounterStreamConfig = 0;
-buildStreamConfig() {
- var o = new api.StreamConfig();
- buildCounterStreamConfig++;
- if (buildCounterStreamConfig < 3) {
- o.bigqueryDestination =
- buildGoogleCloudHealthcareV1FhirBigQueryDestination();
- o.resourceTypes = buildUnnamed1675();
- }
- buildCounterStreamConfig--;
- return o;
-}
-
-checkStreamConfig(api.StreamConfig o) {
- buildCounterStreamConfig++;
- if (buildCounterStreamConfig < 3) {
- checkGoogleCloudHealthcareV1FhirBigQueryDestination(o.bigqueryDestination);
- checkUnnamed1675(o.resourceTypes);
- }
- buildCounterStreamConfig--;
-}
-
-buildUnnamed1676() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1676(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-core.int buildCounterTagFilterList = 0;
-buildTagFilterList() {
- var o = new api.TagFilterList();
- buildCounterTagFilterList++;
- if (buildCounterTagFilterList < 3) {
- o.tags = buildUnnamed1676();
- }
- buildCounterTagFilterList--;
- return o;
-}
-
-checkTagFilterList(api.TagFilterList o) {
- buildCounterTagFilterList++;
- if (buildCounterTagFilterList < 3) {
- checkUnnamed1676(o.tags);
- }
- buildCounterTagFilterList--;
-}
-
buildUnnamed1677() {
var o = new core.List<core.String>();
o.add("foo");
@@ -2142,23 +2075,26 @@
unittest.expect(o[1], unittest.equals('foo'));
}
-core.int buildCounterTestIamPermissionsRequest = 0;
-buildTestIamPermissionsRequest() {
- var o = new api.TestIamPermissionsRequest();
- buildCounterTestIamPermissionsRequest++;
- if (buildCounterTestIamPermissionsRequest < 3) {
- o.permissions = buildUnnamed1677();
+core.int buildCounterStreamConfig = 0;
+buildStreamConfig() {
+ var o = new api.StreamConfig();
+ buildCounterStreamConfig++;
+ if (buildCounterStreamConfig < 3) {
+ o.bigqueryDestination =
+ buildGoogleCloudHealthcareV1FhirBigQueryDestination();
+ o.resourceTypes = buildUnnamed1677();
}
- buildCounterTestIamPermissionsRequest--;
+ buildCounterStreamConfig--;
return o;
}
-checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) {
- buildCounterTestIamPermissionsRequest++;
- if (buildCounterTestIamPermissionsRequest < 3) {
- checkUnnamed1677(o.permissions);
+checkStreamConfig(api.StreamConfig o) {
+ buildCounterStreamConfig++;
+ if (buildCounterStreamConfig < 3) {
+ checkGoogleCloudHealthcareV1FhirBigQueryDestination(o.bigqueryDestination);
+ checkUnnamed1677(o.resourceTypes);
}
- buildCounterTestIamPermissionsRequest--;
+ buildCounterStreamConfig--;
}
buildUnnamed1678() {
@@ -2174,12 +2110,76 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+core.int buildCounterTagFilterList = 0;
+buildTagFilterList() {
+ var o = new api.TagFilterList();
+ buildCounterTagFilterList++;
+ if (buildCounterTagFilterList < 3) {
+ o.tags = buildUnnamed1678();
+ }
+ buildCounterTagFilterList--;
+ return o;
+}
+
+checkTagFilterList(api.TagFilterList o) {
+ buildCounterTagFilterList++;
+ if (buildCounterTagFilterList < 3) {
+ checkUnnamed1678(o.tags);
+ }
+ buildCounterTagFilterList--;
+}
+
+buildUnnamed1679() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1679(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+core.int buildCounterTestIamPermissionsRequest = 0;
+buildTestIamPermissionsRequest() {
+ var o = new api.TestIamPermissionsRequest();
+ buildCounterTestIamPermissionsRequest++;
+ if (buildCounterTestIamPermissionsRequest < 3) {
+ o.permissions = buildUnnamed1679();
+ }
+ buildCounterTestIamPermissionsRequest--;
+ return o;
+}
+
+checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) {
+ buildCounterTestIamPermissionsRequest++;
+ if (buildCounterTestIamPermissionsRequest < 3) {
+ checkUnnamed1679(o.permissions);
+ }
+ buildCounterTestIamPermissionsRequest--;
+}
+
+buildUnnamed1680() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1680(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
core.int buildCounterTestIamPermissionsResponse = 0;
buildTestIamPermissionsResponse() {
var o = new api.TestIamPermissionsResponse();
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- o.permissions = buildUnnamed1678();
+ o.permissions = buildUnnamed1680();
}
buildCounterTestIamPermissionsResponse--;
return o;
@@ -2188,19 +2188,19 @@
checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) {
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- checkUnnamed1678(o.permissions);
+ checkUnnamed1680(o.permissions);
}
buildCounterTestIamPermissionsResponse--;
}
-buildUnnamed1679() {
+buildUnnamed1681() {
var o = new core.List<api.InfoTypeTransformation>();
o.add(buildInfoTypeTransformation());
o.add(buildInfoTypeTransformation());
return o;
}
-checkUnnamed1679(core.List<api.InfoTypeTransformation> o) {
+checkUnnamed1681(core.List<api.InfoTypeTransformation> o) {
unittest.expect(o, unittest.hasLength(2));
checkInfoTypeTransformation(o[0]);
checkInfoTypeTransformation(o[1]);
@@ -2211,7 +2211,7 @@
var o = new api.TextConfig();
buildCounterTextConfig++;
if (buildCounterTextConfig < 3) {
- o.transformations = buildUnnamed1679();
+ o.transformations = buildUnnamed1681();
}
buildCounterTextConfig--;
return o;
@@ -2220,7 +2220,7 @@
checkTextConfig(api.TextConfig o) {
buildCounterTextConfig++;
if (buildCounterTextConfig < 3) {
- checkUnnamed1679(o.transformations);
+ checkUnnamed1681(o.transformations);
}
buildCounterTextConfig--;
}
@@ -2910,9 +2910,9 @@
api.ProjectsLocationsResourceApi res =
new api.HealthcareApi(mock).projects.locations;
var arg_name = "foo";
- var arg_pageSize = 42;
var arg_filter = "foo";
var arg_pageToken = "foo";
+ var arg_pageSize = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2945,11 +2945,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2960,9 +2960,9 @@
}), true);
res
.list(arg_name,
- pageSize: arg_pageSize,
filter: arg_filter,
pageToken: arg_pageToken,
+ pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListLocationsResponse(response);
@@ -3883,8 +3883,8 @@
new api.HealthcareApi(mock).projects.locations.datasets.dicomStores;
var arg_parent = "foo";
var arg_pageSize = 42;
- var arg_filter = "foo";
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;
@@ -3919,9 +3919,9 @@
}
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["filter"].first, unittest.equals(arg_filter));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3933,8 +3933,8 @@
res
.list(arg_parent,
pageSize: arg_pageSize,
- filter: arg_filter,
pageToken: arg_pageToken,
+ filter: arg_filter,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListDicomStoresResponse(response);
@@ -5697,9 +5697,9 @@
api.ProjectsLocationsDatasetsFhirStoresResourceApi res =
new api.HealthcareApi(mock).projects.locations.datasets.fhirStores;
var arg_parent = "foo";
- var arg_pageToken = "foo";
- var arg_filter = "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;
@@ -5732,11 +5732,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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 = {
@@ -5747,9 +5747,9 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
- filter: arg_filter,
pageSize: arg_pageSize,
+ filter: arg_filter,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListFhirStoresResponse(response);
@@ -5941,12 +5941,12 @@
.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_type = "foo";
- var arg_P_since = "foo";
- var arg_start = "foo";
- var arg_P_count = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -5979,14 +5979,14 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ 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["_type"].first, unittest.equals(arg_P_type));
- unittest.expect(queryMap["_since"].first, unittest.equals(arg_P_since));
- unittest.expect(queryMap["start"].first, unittest.equals(arg_start));
- unittest.expect(core.int.parse(queryMap["_count"].first),
- unittest.equals(arg_P_count));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -5996,12 +5996,12 @@
return new 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_type: arg_P_type,
- P_since: arg_P_since,
- start: arg_start,
- P_count: arg_P_count,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkHttpBody(response);
@@ -6312,9 +6312,9 @@
.fhir;
var arg_name = "foo";
var arg_P_pageToken = "foo";
- var arg_P_since = "foo";
- var arg_P_count = 42;
var arg_P_at = "foo";
+ var arg_P_count = 42;
+ var arg_P_since = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -6349,10 +6349,10 @@
}
unittest.expect(
queryMap["_page_token"].first, unittest.equals(arg_P_pageToken));
- unittest.expect(queryMap["_since"].first, unittest.equals(arg_P_since));
+ 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["_at"].first, unittest.equals(arg_P_at));
+ unittest.expect(queryMap["_since"].first, unittest.equals(arg_P_since));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -6364,9 +6364,9 @@
res
.history(arg_name,
P_pageToken: arg_P_pageToken,
- P_since: arg_P_since,
- P_count: arg_P_count,
P_at: arg_P_at,
+ P_count: arg_P_count,
+ P_since: arg_P_since,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkHttpBody(response);
@@ -6901,9 +6901,9 @@
api.ProjectsLocationsDatasetsHl7V2StoresResourceApi res =
new api.HealthcareApi(mock).projects.locations.datasets.hl7V2Stores;
var arg_parent = "foo";
- var arg_pageSize = 42;
- var arg_pageToken = "foo";
var arg_filter = "foo";
+ var arg_pageToken = "foo";
+ var arg_pageSize = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -6936,11 +6936,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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["filter"].first, unittest.equals(arg_filter));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -6951,9 +6951,9 @@
}), true);
res
.list(arg_parent,
- pageSize: arg_pageSize,
- pageToken: arg_pageToken,
filter: arg_filter,
+ pageToken: arg_pageToken,
+ pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListHl7V2StoresResponse(response);
@@ -7384,10 +7384,10 @@
.messages;
var arg_parent = "foo";
var arg_view = "foo";
- var arg_filter = "foo";
- var arg_orderBy = "foo";
var arg_pageToken = "foo";
+ var arg_filter = "foo";
var arg_pageSize = 42;
+ var arg_orderBy = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -7421,13 +7421,13 @@
}
}
unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
- 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(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(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -7439,10 +7439,10 @@
res
.list(arg_parent,
view: arg_view,
- filter: arg_filter,
- orderBy: arg_orderBy,
pageToken: arg_pageToken,
+ filter: arg_filter,
pageSize: arg_pageSize,
+ orderBy: arg_orderBy,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListMessagesResponse(response);
diff --git a/generated/googleapis/test/homegraph/v1_test.dart b/generated/googleapis/test/homegraph/v1_test.dart
index e0f7ab1..8554861 100644
--- a/generated/googleapis/test/homegraph/v1_test.dart
+++ b/generated/googleapis/test/homegraph/v1_test.dart
@@ -90,7 +90,7 @@
buildCounterAgentOtherDeviceId--;
}
-buildUnnamed4074() {
+buildUnnamed4081() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -105,7 +105,7 @@
return o;
}
-checkUnnamed4074(core.Map<core.String, core.Object> o) {
+checkUnnamed4081(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o["x"]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -119,7 +119,7 @@
unittest.expect(casted2["string"], unittest.equals('foo'));
}
-buildUnnamed4075() {
+buildUnnamed4082() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -134,7 +134,7 @@
return o;
}
-checkUnnamed4075(core.Map<core.String, core.Object> o) {
+checkUnnamed4082(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted3 = (o["x"]) as core.Map;
unittest.expect(casted3, unittest.hasLength(3));
@@ -148,27 +148,27 @@
unittest.expect(casted4["string"], unittest.equals('foo'));
}
-buildUnnamed4076() {
+buildUnnamed4083() {
var o = new core.List<api.AgentOtherDeviceId>();
o.add(buildAgentOtherDeviceId());
o.add(buildAgentOtherDeviceId());
return o;
}
-checkUnnamed4076(core.List<api.AgentOtherDeviceId> o) {
+checkUnnamed4083(core.List<api.AgentOtherDeviceId> o) {
unittest.expect(o, unittest.hasLength(2));
checkAgentOtherDeviceId(o[0]);
checkAgentOtherDeviceId(o[1]);
}
-buildUnnamed4077() {
+buildUnnamed4084() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4077(core.List<core.String> o) {
+checkUnnamed4084(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -179,16 +179,16 @@
var o = new api.Device();
buildCounterDevice++;
if (buildCounterDevice < 3) {
- o.attributes = buildUnnamed4074();
- o.customData = buildUnnamed4075();
+ o.attributes = buildUnnamed4081();
+ o.customData = buildUnnamed4082();
o.deviceInfo = buildDeviceInfo();
o.id = "foo";
o.name = buildDeviceNames();
o.notificationSupportedByAgent = true;
- o.otherDeviceIds = buildUnnamed4076();
+ o.otherDeviceIds = buildUnnamed4083();
o.roomHint = "foo";
o.structureHint = "foo";
- o.traits = buildUnnamed4077();
+ o.traits = buildUnnamed4084();
o.type = "foo";
o.willReportState = true;
}
@@ -199,16 +199,16 @@
checkDevice(api.Device o) {
buildCounterDevice++;
if (buildCounterDevice < 3) {
- checkUnnamed4074(o.attributes);
- checkUnnamed4075(o.customData);
+ checkUnnamed4081(o.attributes);
+ checkUnnamed4082(o.customData);
checkDeviceInfo(o.deviceInfo);
unittest.expect(o.id, unittest.equals('foo'));
checkDeviceNames(o.name);
unittest.expect(o.notificationSupportedByAgent, unittest.isTrue);
- checkUnnamed4076(o.otherDeviceIds);
+ checkUnnamed4083(o.otherDeviceIds);
unittest.expect(o.roomHint, unittest.equals('foo'));
unittest.expect(o.structureHint, unittest.equals('foo'));
- checkUnnamed4077(o.traits);
+ checkUnnamed4084(o.traits);
unittest.expect(o.type, unittest.equals('foo'));
unittest.expect(o.willReportState, unittest.isTrue);
}
@@ -240,27 +240,27 @@
buildCounterDeviceInfo--;
}
-buildUnnamed4078() {
+buildUnnamed4085() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4078(core.List<core.String> o) {
+checkUnnamed4085(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed4079() {
+buildUnnamed4086() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4079(core.List<core.String> o) {
+checkUnnamed4086(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -271,9 +271,9 @@
var o = new api.DeviceNames();
buildCounterDeviceNames++;
if (buildCounterDeviceNames < 3) {
- o.defaultNames = buildUnnamed4078();
+ o.defaultNames = buildUnnamed4085();
o.name = "foo";
- o.nicknames = buildUnnamed4079();
+ o.nicknames = buildUnnamed4086();
}
buildCounterDeviceNames--;
return o;
@@ -282,9 +282,9 @@
checkDeviceNames(api.DeviceNames o) {
buildCounterDeviceNames++;
if (buildCounterDeviceNames < 3) {
- checkUnnamed4078(o.defaultNames);
+ checkUnnamed4085(o.defaultNames);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed4079(o.nicknames);
+ checkUnnamed4086(o.nicknames);
}
buildCounterDeviceNames--;
}
@@ -304,14 +304,14 @@
buildCounterEmpty--;
}
-buildUnnamed4080() {
+buildUnnamed4087() {
var o = new core.List<api.QueryRequestInput>();
o.add(buildQueryRequestInput());
o.add(buildQueryRequestInput());
return o;
}
-checkUnnamed4080(core.List<api.QueryRequestInput> o) {
+checkUnnamed4087(core.List<api.QueryRequestInput> o) {
unittest.expect(o, unittest.hasLength(2));
checkQueryRequestInput(o[0]);
checkQueryRequestInput(o[1]);
@@ -323,7 +323,7 @@
buildCounterQueryRequest++;
if (buildCounterQueryRequest < 3) {
o.agentUserId = "foo";
- o.inputs = buildUnnamed4080();
+ o.inputs = buildUnnamed4087();
o.requestId = "foo";
}
buildCounterQueryRequest--;
@@ -334,7 +334,7 @@
buildCounterQueryRequest++;
if (buildCounterQueryRequest < 3) {
unittest.expect(o.agentUserId, unittest.equals('foo'));
- checkUnnamed4080(o.inputs);
+ checkUnnamed4087(o.inputs);
unittest.expect(o.requestId, unittest.equals('foo'));
}
buildCounterQueryRequest--;
@@ -359,14 +359,14 @@
buildCounterQueryRequestInput--;
}
-buildUnnamed4081() {
+buildUnnamed4088() {
var o = new core.List<api.AgentDeviceId>();
o.add(buildAgentDeviceId());
o.add(buildAgentDeviceId());
return o;
}
-checkUnnamed4081(core.List<api.AgentDeviceId> o) {
+checkUnnamed4088(core.List<api.AgentDeviceId> o) {
unittest.expect(o, unittest.hasLength(2));
checkAgentDeviceId(o[0]);
checkAgentDeviceId(o[1]);
@@ -377,7 +377,7 @@
var o = new api.QueryRequestPayload();
buildCounterQueryRequestPayload++;
if (buildCounterQueryRequestPayload < 3) {
- o.devices = buildUnnamed4081();
+ o.devices = buildUnnamed4088();
}
buildCounterQueryRequestPayload--;
return o;
@@ -386,7 +386,7 @@
checkQueryRequestPayload(api.QueryRequestPayload o) {
buildCounterQueryRequestPayload++;
if (buildCounterQueryRequestPayload < 3) {
- checkUnnamed4081(o.devices);
+ checkUnnamed4088(o.devices);
}
buildCounterQueryRequestPayload--;
}
@@ -412,7 +412,7 @@
buildCounterQueryResponse--;
}
-buildUnnamed4082() {
+buildUnnamed4089() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -427,7 +427,7 @@
return o;
}
-checkUnnamed4082(core.Map<core.String, core.Object> o) {
+checkUnnamed4089(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted5 = (o["x"]) as core.Map;
unittest.expect(casted5, unittest.hasLength(3));
@@ -441,17 +441,17 @@
unittest.expect(casted6["string"], unittest.equals('foo'));
}
-buildUnnamed4083() {
+buildUnnamed4090() {
var o = new core.Map<core.String, core.Map<core.String, core.Object>>();
- o["x"] = buildUnnamed4082();
- o["y"] = buildUnnamed4082();
+ o["x"] = buildUnnamed4089();
+ o["y"] = buildUnnamed4089();
return o;
}
-checkUnnamed4083(core.Map<core.String, core.Map<core.String, core.Object>> o) {
+checkUnnamed4090(core.Map<core.String, core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed4082(o["x"]);
- checkUnnamed4082(o["y"]);
+ checkUnnamed4089(o["x"]);
+ checkUnnamed4089(o["y"]);
}
core.int buildCounterQueryResponsePayload = 0;
@@ -459,7 +459,7 @@
var o = new api.QueryResponsePayload();
buildCounterQueryResponsePayload++;
if (buildCounterQueryResponsePayload < 3) {
- o.devices = buildUnnamed4083();
+ o.devices = buildUnnamed4090();
}
buildCounterQueryResponsePayload--;
return o;
@@ -468,12 +468,12 @@
checkQueryResponsePayload(api.QueryResponsePayload o) {
buildCounterQueryResponsePayload++;
if (buildCounterQueryResponsePayload < 3) {
- checkUnnamed4083(o.devices);
+ checkUnnamed4090(o.devices);
}
buildCounterQueryResponsePayload--;
}
-buildUnnamed4084() {
+buildUnnamed4091() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -488,7 +488,7 @@
return o;
}
-checkUnnamed4084(core.Map<core.String, core.Object> o) {
+checkUnnamed4091(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted7 = (o["x"]) as core.Map;
unittest.expect(casted7, unittest.hasLength(3));
@@ -502,7 +502,7 @@
unittest.expect(casted8["string"], unittest.equals('foo'));
}
-buildUnnamed4085() {
+buildUnnamed4092() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -517,7 +517,7 @@
return o;
}
-checkUnnamed4085(core.Map<core.String, core.Object> o) {
+checkUnnamed4092(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted9 = (o["x"]) as core.Map;
unittest.expect(casted9, unittest.hasLength(3));
@@ -536,8 +536,8 @@
var o = new api.ReportStateAndNotificationDevice();
buildCounterReportStateAndNotificationDevice++;
if (buildCounterReportStateAndNotificationDevice < 3) {
- o.notifications = buildUnnamed4084();
- o.states = buildUnnamed4085();
+ o.notifications = buildUnnamed4091();
+ o.states = buildUnnamed4092();
}
buildCounterReportStateAndNotificationDevice--;
return o;
@@ -546,8 +546,8 @@
checkReportStateAndNotificationDevice(api.ReportStateAndNotificationDevice o) {
buildCounterReportStateAndNotificationDevice++;
if (buildCounterReportStateAndNotificationDevice < 3) {
- checkUnnamed4084(o.notifications);
- checkUnnamed4085(o.states);
+ checkUnnamed4091(o.notifications);
+ checkUnnamed4092(o.states);
}
buildCounterReportStateAndNotificationDevice--;
}
@@ -697,14 +697,14 @@
buildCounterSyncResponse--;
}
-buildUnnamed4086() {
+buildUnnamed4093() {
var o = new core.List<api.Device>();
o.add(buildDevice());
o.add(buildDevice());
return o;
}
-checkUnnamed4086(core.List<api.Device> o) {
+checkUnnamed4093(core.List<api.Device> o) {
unittest.expect(o, unittest.hasLength(2));
checkDevice(o[0]);
checkDevice(o[1]);
@@ -716,7 +716,7 @@
buildCounterSyncResponsePayload++;
if (buildCounterSyncResponsePayload < 3) {
o.agentUserId = "foo";
- o.devices = buildUnnamed4086();
+ o.devices = buildUnnamed4093();
}
buildCounterSyncResponsePayload--;
return o;
@@ -726,7 +726,7 @@
buildCounterSyncResponsePayload++;
if (buildCounterSyncResponsePayload < 3) {
unittest.expect(o.agentUserId, unittest.equals('foo'));
- checkUnnamed4086(o.devices);
+ checkUnnamed4093(o.devices);
}
buildCounterSyncResponsePayload--;
}
diff --git a/generated/googleapis/test/iam/v1_test.dart b/generated/googleapis/test/iam/v1_test.dart
index 8a8c00e..b6e8b0c 100644
--- a/generated/googleapis/test/iam/v1_test.dart
+++ b/generated/googleapis/test/iam/v1_test.dart
@@ -69,14 +69,14 @@
buildCounterAdminAuditData--;
}
-buildUnnamed1023() {
+buildUnnamed1024() {
var o = new core.List<api.AuditLogConfig>();
o.add(buildAuditLogConfig());
o.add(buildAuditLogConfig());
return o;
}
-checkUnnamed1023(core.List<api.AuditLogConfig> o) {
+checkUnnamed1024(core.List<api.AuditLogConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuditLogConfig(o[0]);
checkAuditLogConfig(o[1]);
@@ -87,7 +87,7 @@
var o = new api.AuditConfig();
buildCounterAuditConfig++;
if (buildCounterAuditConfig < 3) {
- o.auditLogConfigs = buildUnnamed1023();
+ o.auditLogConfigs = buildUnnamed1024();
o.service = "foo";
}
buildCounterAuditConfig--;
@@ -97,7 +97,7 @@
checkAuditConfig(api.AuditConfig o) {
buildCounterAuditConfig++;
if (buildCounterAuditConfig < 3) {
- checkUnnamed1023(o.auditLogConfigs);
+ checkUnnamed1024(o.auditLogConfigs);
unittest.expect(o.service, unittest.equals('foo'));
}
buildCounterAuditConfig--;
@@ -122,14 +122,14 @@
buildCounterAuditData--;
}
-buildUnnamed1024() {
+buildUnnamed1025() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1024(core.List<core.String> o) {
+checkUnnamed1025(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -140,7 +140,7 @@
var o = new api.AuditLogConfig();
buildCounterAuditLogConfig++;
if (buildCounterAuditLogConfig < 3) {
- o.exemptedMembers = buildUnnamed1024();
+ o.exemptedMembers = buildUnnamed1025();
o.logType = "foo";
}
buildCounterAuditLogConfig--;
@@ -150,7 +150,7 @@
checkAuditLogConfig(api.AuditLogConfig o) {
buildCounterAuditLogConfig++;
if (buildCounterAuditLogConfig < 3) {
- checkUnnamed1024(o.exemptedMembers);
+ checkUnnamed1025(o.exemptedMembers);
unittest.expect(o.logType, unittest.equals('foo'));
}
buildCounterAuditLogConfig--;
@@ -175,14 +175,14 @@
buildCounterAuditableService--;
}
-buildUnnamed1025() {
+buildUnnamed1026() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1025(core.List<core.String> o) {
+checkUnnamed1026(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -195,7 +195,7 @@
if (buildCounterBinding < 3) {
o.bindingId = "foo";
o.condition = buildExpr();
- o.members = buildUnnamed1025();
+ o.members = buildUnnamed1026();
o.role = "foo";
}
buildCounterBinding--;
@@ -207,7 +207,7 @@
if (buildCounterBinding < 3) {
unittest.expect(o.bindingId, unittest.equals('foo'));
checkExpr(o.condition);
- checkUnnamed1025(o.members);
+ checkUnnamed1026(o.members);
unittest.expect(o.role, unittest.equals('foo'));
}
buildCounterBinding--;
@@ -392,14 +392,14 @@
buildCounterLintPolicyRequest--;
}
-buildUnnamed1026() {
+buildUnnamed1027() {
var o = new core.List<api.LintResult>();
o.add(buildLintResult());
o.add(buildLintResult());
return o;
}
-checkUnnamed1026(core.List<api.LintResult> o) {
+checkUnnamed1027(core.List<api.LintResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkLintResult(o[0]);
checkLintResult(o[1]);
@@ -410,7 +410,7 @@
var o = new api.LintPolicyResponse();
buildCounterLintPolicyResponse++;
if (buildCounterLintPolicyResponse < 3) {
- o.lintResults = buildUnnamed1026();
+ o.lintResults = buildUnnamed1027();
}
buildCounterLintPolicyResponse--;
return o;
@@ -419,7 +419,7 @@
checkLintPolicyResponse(api.LintPolicyResponse o) {
buildCounterLintPolicyResponse++;
if (buildCounterLintPolicyResponse < 3) {
- checkUnnamed1026(o.lintResults);
+ checkUnnamed1027(o.lintResults);
}
buildCounterLintPolicyResponse--;
}
@@ -453,14 +453,14 @@
buildCounterLintResult--;
}
-buildUnnamed1027() {
+buildUnnamed1028() {
var o = new core.List<api.Role>();
o.add(buildRole());
o.add(buildRole());
return o;
}
-checkUnnamed1027(core.List<api.Role> o) {
+checkUnnamed1028(core.List<api.Role> o) {
unittest.expect(o, unittest.hasLength(2));
checkRole(o[0]);
checkRole(o[1]);
@@ -472,7 +472,7 @@
buildCounterListRolesResponse++;
if (buildCounterListRolesResponse < 3) {
o.nextPageToken = "foo";
- o.roles = buildUnnamed1027();
+ o.roles = buildUnnamed1028();
}
buildCounterListRolesResponse--;
return o;
@@ -482,19 +482,19 @@
buildCounterListRolesResponse++;
if (buildCounterListRolesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1027(o.roles);
+ checkUnnamed1028(o.roles);
}
buildCounterListRolesResponse--;
}
-buildUnnamed1028() {
+buildUnnamed1029() {
var o = new core.List<api.ServiceAccountKey>();
o.add(buildServiceAccountKey());
o.add(buildServiceAccountKey());
return o;
}
-checkUnnamed1028(core.List<api.ServiceAccountKey> o) {
+checkUnnamed1029(core.List<api.ServiceAccountKey> o) {
unittest.expect(o, unittest.hasLength(2));
checkServiceAccountKey(o[0]);
checkServiceAccountKey(o[1]);
@@ -505,7 +505,7 @@
var o = new api.ListServiceAccountKeysResponse();
buildCounterListServiceAccountKeysResponse++;
if (buildCounterListServiceAccountKeysResponse < 3) {
- o.keys = buildUnnamed1028();
+ o.keys = buildUnnamed1029();
}
buildCounterListServiceAccountKeysResponse--;
return o;
@@ -514,19 +514,19 @@
checkListServiceAccountKeysResponse(api.ListServiceAccountKeysResponse o) {
buildCounterListServiceAccountKeysResponse++;
if (buildCounterListServiceAccountKeysResponse < 3) {
- checkUnnamed1028(o.keys);
+ checkUnnamed1029(o.keys);
}
buildCounterListServiceAccountKeysResponse--;
}
-buildUnnamed1029() {
+buildUnnamed1030() {
var o = new core.List<api.ServiceAccount>();
o.add(buildServiceAccount());
o.add(buildServiceAccount());
return o;
}
-checkUnnamed1029(core.List<api.ServiceAccount> o) {
+checkUnnamed1030(core.List<api.ServiceAccount> o) {
unittest.expect(o, unittest.hasLength(2));
checkServiceAccount(o[0]);
checkServiceAccount(o[1]);
@@ -537,7 +537,7 @@
var o = new api.ListServiceAccountsResponse();
buildCounterListServiceAccountsResponse++;
if (buildCounterListServiceAccountsResponse < 3) {
- o.accounts = buildUnnamed1029();
+ o.accounts = buildUnnamed1030();
o.nextPageToken = "foo";
}
buildCounterListServiceAccountsResponse--;
@@ -547,7 +547,7 @@
checkListServiceAccountsResponse(api.ListServiceAccountsResponse o) {
buildCounterListServiceAccountsResponse++;
if (buildCounterListServiceAccountsResponse < 3) {
- checkUnnamed1029(o.accounts);
+ checkUnnamed1030(o.accounts);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListServiceAccountsResponse--;
@@ -607,19 +607,6 @@
buildCounterPermission--;
}
-buildUnnamed1030() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1030(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed1031() {
var o = new core.List<core.String>();
o.add("foo");
@@ -633,13 +620,26 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed1032() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1032(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
core.int buildCounterPermissionDelta = 0;
buildPermissionDelta() {
var o = new api.PermissionDelta();
buildCounterPermissionDelta++;
if (buildCounterPermissionDelta < 3) {
- o.addedPermissions = buildUnnamed1030();
- o.removedPermissions = buildUnnamed1031();
+ o.addedPermissions = buildUnnamed1031();
+ o.removedPermissions = buildUnnamed1032();
}
buildCounterPermissionDelta--;
return o;
@@ -648,33 +648,33 @@
checkPermissionDelta(api.PermissionDelta o) {
buildCounterPermissionDelta++;
if (buildCounterPermissionDelta < 3) {
- checkUnnamed1030(o.addedPermissions);
- checkUnnamed1031(o.removedPermissions);
+ checkUnnamed1031(o.addedPermissions);
+ checkUnnamed1032(o.removedPermissions);
}
buildCounterPermissionDelta--;
}
-buildUnnamed1032() {
+buildUnnamed1033() {
var o = new core.List<api.AuditConfig>();
o.add(buildAuditConfig());
o.add(buildAuditConfig());
return o;
}
-checkUnnamed1032(core.List<api.AuditConfig> o) {
+checkUnnamed1033(core.List<api.AuditConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuditConfig(o[0]);
checkAuditConfig(o[1]);
}
-buildUnnamed1033() {
+buildUnnamed1034() {
var o = new core.List<api.Binding>();
o.add(buildBinding());
o.add(buildBinding());
return o;
}
-checkUnnamed1033(core.List<api.Binding> o) {
+checkUnnamed1034(core.List<api.Binding> o) {
unittest.expect(o, unittest.hasLength(2));
checkBinding(o[0]);
checkBinding(o[1]);
@@ -685,8 +685,8 @@
var o = new api.Policy();
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- o.auditConfigs = buildUnnamed1032();
- o.bindings = buildUnnamed1033();
+ o.auditConfigs = buildUnnamed1033();
+ o.bindings = buildUnnamed1034();
o.etag = "foo";
o.version = 42;
}
@@ -697,22 +697,22 @@
checkPolicy(api.Policy o) {
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- checkUnnamed1032(o.auditConfigs);
- checkUnnamed1033(o.bindings);
+ checkUnnamed1033(o.auditConfigs);
+ checkUnnamed1034(o.bindings);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals(42));
}
buildCounterPolicy--;
}
-buildUnnamed1034() {
+buildUnnamed1035() {
var o = new core.List<api.BindingDelta>();
o.add(buildBindingDelta());
o.add(buildBindingDelta());
return o;
}
-checkUnnamed1034(core.List<api.BindingDelta> o) {
+checkUnnamed1035(core.List<api.BindingDelta> o) {
unittest.expect(o, unittest.hasLength(2));
checkBindingDelta(o[0]);
checkBindingDelta(o[1]);
@@ -723,7 +723,7 @@
var o = new api.PolicyDelta();
buildCounterPolicyDelta++;
if (buildCounterPolicyDelta < 3) {
- o.bindingDeltas = buildUnnamed1034();
+ o.bindingDeltas = buildUnnamed1035();
}
buildCounterPolicyDelta--;
return o;
@@ -732,7 +732,7 @@
checkPolicyDelta(api.PolicyDelta o) {
buildCounterPolicyDelta++;
if (buildCounterPolicyDelta < 3) {
- checkUnnamed1034(o.bindingDeltas);
+ checkUnnamed1035(o.bindingDeltas);
}
buildCounterPolicyDelta--;
}
@@ -756,14 +756,14 @@
buildCounterQueryAuditableServicesRequest--;
}
-buildUnnamed1035() {
+buildUnnamed1036() {
var o = new core.List<api.AuditableService>();
o.add(buildAuditableService());
o.add(buildAuditableService());
return o;
}
-checkUnnamed1035(core.List<api.AuditableService> o) {
+checkUnnamed1036(core.List<api.AuditableService> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuditableService(o[0]);
checkAuditableService(o[1]);
@@ -774,7 +774,7 @@
var o = new api.QueryAuditableServicesResponse();
buildCounterQueryAuditableServicesResponse++;
if (buildCounterQueryAuditableServicesResponse < 3) {
- o.services = buildUnnamed1035();
+ o.services = buildUnnamed1036();
}
buildCounterQueryAuditableServicesResponse--;
return o;
@@ -783,7 +783,7 @@
checkQueryAuditableServicesResponse(api.QueryAuditableServicesResponse o) {
buildCounterQueryAuditableServicesResponse++;
if (buildCounterQueryAuditableServicesResponse < 3) {
- checkUnnamed1035(o.services);
+ checkUnnamed1036(o.services);
}
buildCounterQueryAuditableServicesResponse--;
}
@@ -813,14 +813,14 @@
buildCounterQueryGrantableRolesRequest--;
}
-buildUnnamed1036() {
+buildUnnamed1037() {
var o = new core.List<api.Role>();
o.add(buildRole());
o.add(buildRole());
return o;
}
-checkUnnamed1036(core.List<api.Role> o) {
+checkUnnamed1037(core.List<api.Role> o) {
unittest.expect(o, unittest.hasLength(2));
checkRole(o[0]);
checkRole(o[1]);
@@ -832,7 +832,7 @@
buildCounterQueryGrantableRolesResponse++;
if (buildCounterQueryGrantableRolesResponse < 3) {
o.nextPageToken = "foo";
- o.roles = buildUnnamed1036();
+ o.roles = buildUnnamed1037();
}
buildCounterQueryGrantableRolesResponse--;
return o;
@@ -842,7 +842,7 @@
buildCounterQueryGrantableRolesResponse++;
if (buildCounterQueryGrantableRolesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1036(o.roles);
+ checkUnnamed1037(o.roles);
}
buildCounterQueryGrantableRolesResponse--;
}
@@ -870,14 +870,14 @@
buildCounterQueryTestablePermissionsRequest--;
}
-buildUnnamed1037() {
+buildUnnamed1038() {
var o = new core.List<api.Permission>();
o.add(buildPermission());
o.add(buildPermission());
return o;
}
-checkUnnamed1037(core.List<api.Permission> o) {
+checkUnnamed1038(core.List<api.Permission> o) {
unittest.expect(o, unittest.hasLength(2));
checkPermission(o[0]);
checkPermission(o[1]);
@@ -889,7 +889,7 @@
buildCounterQueryTestablePermissionsResponse++;
if (buildCounterQueryTestablePermissionsResponse < 3) {
o.nextPageToken = "foo";
- o.permissions = buildUnnamed1037();
+ o.permissions = buildUnnamed1038();
}
buildCounterQueryTestablePermissionsResponse--;
return o;
@@ -899,19 +899,19 @@
buildCounterQueryTestablePermissionsResponse++;
if (buildCounterQueryTestablePermissionsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1037(o.permissions);
+ checkUnnamed1038(o.permissions);
}
buildCounterQueryTestablePermissionsResponse--;
}
-buildUnnamed1038() {
+buildUnnamed1039() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1038(core.List<core.String> o) {
+checkUnnamed1039(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -925,7 +925,7 @@
o.deleted = true;
o.description = "foo";
o.etag = "foo";
- o.includedPermissions = buildUnnamed1038();
+ o.includedPermissions = buildUnnamed1039();
o.name = "foo";
o.stage = "foo";
o.title = "foo";
@@ -940,7 +940,7 @@
unittest.expect(o.deleted, unittest.isTrue);
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1038(o.includedPermissions);
+ checkUnnamed1039(o.includedPermissions);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.stage, unittest.equals('foo'));
unittest.expect(o.title, unittest.equals('foo'));
@@ -1119,38 +1119,6 @@
buildCounterSignJwtResponse--;
}
-buildUnnamed1039() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1039(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-core.int buildCounterTestIamPermissionsRequest = 0;
-buildTestIamPermissionsRequest() {
- var o = new api.TestIamPermissionsRequest();
- buildCounterTestIamPermissionsRequest++;
- if (buildCounterTestIamPermissionsRequest < 3) {
- o.permissions = buildUnnamed1039();
- }
- buildCounterTestIamPermissionsRequest--;
- return o;
-}
-
-checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) {
- buildCounterTestIamPermissionsRequest++;
- if (buildCounterTestIamPermissionsRequest < 3) {
- checkUnnamed1039(o.permissions);
- }
- buildCounterTestIamPermissionsRequest--;
-}
-
buildUnnamed1040() {
var o = new core.List<core.String>();
o.add("foo");
@@ -1164,12 +1132,44 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+core.int buildCounterTestIamPermissionsRequest = 0;
+buildTestIamPermissionsRequest() {
+ var o = new api.TestIamPermissionsRequest();
+ buildCounterTestIamPermissionsRequest++;
+ if (buildCounterTestIamPermissionsRequest < 3) {
+ o.permissions = buildUnnamed1040();
+ }
+ buildCounterTestIamPermissionsRequest--;
+ return o;
+}
+
+checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) {
+ buildCounterTestIamPermissionsRequest++;
+ if (buildCounterTestIamPermissionsRequest < 3) {
+ checkUnnamed1040(o.permissions);
+ }
+ buildCounterTestIamPermissionsRequest--;
+}
+
+buildUnnamed1041() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1041(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
core.int buildCounterTestIamPermissionsResponse = 0;
buildTestIamPermissionsResponse() {
var o = new api.TestIamPermissionsResponse();
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- o.permissions = buildUnnamed1040();
+ o.permissions = buildUnnamed1041();
}
buildCounterTestIamPermissionsResponse--;
return o;
@@ -1178,7 +1178,7 @@
checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) {
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- checkUnnamed1040(o.permissions);
+ checkUnnamed1041(o.permissions);
}
buildCounterTestIamPermissionsResponse--;
}
@@ -1255,14 +1255,14 @@
buildCounterUploadServiceAccountKeyRequest--;
}
-buildUnnamed1041() {
+buildUnnamed1042() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1041(core.List<core.String> o) {
+checkUnnamed1042(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1905,10 +1905,10 @@
api.OrganizationsRolesResourceApi res =
new api.IamApi(mock).organizations.roles;
var arg_parent = "foo";
- var arg_pageToken = "foo";
- var arg_view = "foo";
var arg_pageSize = 42;
+ var arg_view = "foo";
var arg_showDeleted = true;
+ var arg_pageToken = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1941,13 +1941,13 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
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["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1958,10 +1958,10 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
- view: arg_view,
pageSize: arg_pageSize,
+ view: arg_view,
showDeleted: arg_showDeleted,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListRolesResponse(response);
@@ -2304,9 +2304,9 @@
var mock = new HttpServerMock();
api.ProjectsRolesResourceApi res = new api.IamApi(mock).projects.roles;
var arg_parent = "foo";
+ var arg_view = "foo";
var arg_pageToken = "foo";
var arg_pageSize = 42;
- var arg_view = "foo";
var arg_showDeleted = true;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -2340,11 +2340,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ 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["view"].first, unittest.equals(arg_view));
unittest.expect(
queryMap["showDeleted"].first, unittest.equals("$arg_showDeleted"));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -2357,9 +2357,9 @@
}), true);
res
.list(arg_parent,
+ view: arg_view,
pageToken: arg_pageToken,
pageSize: arg_pageSize,
- view: arg_view,
showDeleted: arg_showDeleted,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -2819,8 +2819,8 @@
api.ProjectsServiceAccountsResourceApi res =
new api.IamApi(mock).projects.serviceAccounts;
var arg_name = "foo";
- var arg_pageSize = 42;
var arg_pageToken = "foo";
+ var arg_pageSize = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2853,10 +2853,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2867,8 +2867,8 @@
}), true);
res
.list(arg_name,
- pageSize: arg_pageSize,
pageToken: arg_pageToken,
+ pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListServiceAccountsResponse(response);
@@ -3437,7 +3437,7 @@
api.ProjectsServiceAccountsKeysResourceApi res =
new api.IamApi(mock).projects.serviceAccounts.keys;
var arg_name = "foo";
- var arg_keyTypes = buildUnnamed1041();
+ var arg_keyTypes = buildUnnamed1042();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3598,11 +3598,11 @@
unittest.test("method--list", () {
var mock = new HttpServerMock();
api.RolesResourceApi res = new api.IamApi(mock).roles;
- var arg_pageSize = 42;
var arg_parent = "foo";
- var arg_showDeleted = true;
var arg_pageToken = "foo";
+ var arg_pageSize = 42;
var arg_view = "foo";
+ var arg_showDeleted = true;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3634,14 +3634,14 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
unittest.expect(queryMap["parent"].first, unittest.equals(arg_parent));
unittest.expect(
- queryMap["showDeleted"].first, unittest.equals("$arg_showDeleted"));
- 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["showDeleted"].first, unittest.equals("$arg_showDeleted"));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3652,11 +3652,11 @@
}), true);
res
.list(
- pageSize: arg_pageSize,
parent: arg_parent,
- showDeleted: arg_showDeleted,
pageToken: arg_pageToken,
+ pageSize: arg_pageSize,
view: arg_view,
+ showDeleted: arg_showDeleted,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListRolesResponse(response);
diff --git a/generated/googleapis/test/iamcredentials/v1_test.dart b/generated/googleapis/test/iamcredentials/v1_test.dart
index ac66186..b5f48e6 100644
--- a/generated/googleapis/test/iamcredentials/v1_test.dart
+++ b/generated/googleapis/test/iamcredentials/v1_test.dart
@@ -50,27 +50,27 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed5419() {
+buildUnnamed5395() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5419(core.List<core.String> o) {
+checkUnnamed5395(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed5420() {
+buildUnnamed5396() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5420(core.List<core.String> o) {
+checkUnnamed5396(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -81,9 +81,9 @@
var o = new api.GenerateAccessTokenRequest();
buildCounterGenerateAccessTokenRequest++;
if (buildCounterGenerateAccessTokenRequest < 3) {
- o.delegates = buildUnnamed5419();
+ o.delegates = buildUnnamed5395();
o.lifetime = "foo";
- o.scope = buildUnnamed5420();
+ o.scope = buildUnnamed5396();
}
buildCounterGenerateAccessTokenRequest--;
return o;
@@ -92,9 +92,9 @@
checkGenerateAccessTokenRequest(api.GenerateAccessTokenRequest o) {
buildCounterGenerateAccessTokenRequest++;
if (buildCounterGenerateAccessTokenRequest < 3) {
- checkUnnamed5419(o.delegates);
+ checkUnnamed5395(o.delegates);
unittest.expect(o.lifetime, unittest.equals('foo'));
- checkUnnamed5420(o.scope);
+ checkUnnamed5396(o.scope);
}
buildCounterGenerateAccessTokenRequest--;
}
@@ -120,14 +120,14 @@
buildCounterGenerateAccessTokenResponse--;
}
-buildUnnamed5421() {
+buildUnnamed5397() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5421(core.List<core.String> o) {
+checkUnnamed5397(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -139,7 +139,7 @@
buildCounterGenerateIdTokenRequest++;
if (buildCounterGenerateIdTokenRequest < 3) {
o.audience = "foo";
- o.delegates = buildUnnamed5421();
+ o.delegates = buildUnnamed5397();
o.includeEmail = true;
}
buildCounterGenerateIdTokenRequest--;
@@ -150,7 +150,7 @@
buildCounterGenerateIdTokenRequest++;
if (buildCounterGenerateIdTokenRequest < 3) {
unittest.expect(o.audience, unittest.equals('foo'));
- checkUnnamed5421(o.delegates);
+ checkUnnamed5397(o.delegates);
unittest.expect(o.includeEmail, unittest.isTrue);
}
buildCounterGenerateIdTokenRequest--;
@@ -175,14 +175,14 @@
buildCounterGenerateIdTokenResponse--;
}
-buildUnnamed5422() {
+buildUnnamed5398() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5422(core.List<core.String> o) {
+checkUnnamed5398(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -193,7 +193,7 @@
var o = new api.SignBlobRequest();
buildCounterSignBlobRequest++;
if (buildCounterSignBlobRequest < 3) {
- o.delegates = buildUnnamed5422();
+ o.delegates = buildUnnamed5398();
o.payload = "foo";
}
buildCounterSignBlobRequest--;
@@ -203,7 +203,7 @@
checkSignBlobRequest(api.SignBlobRequest o) {
buildCounterSignBlobRequest++;
if (buildCounterSignBlobRequest < 3) {
- checkUnnamed5422(o.delegates);
+ checkUnnamed5398(o.delegates);
unittest.expect(o.payload, unittest.equals('foo'));
}
buildCounterSignBlobRequest--;
@@ -230,14 +230,14 @@
buildCounterSignBlobResponse--;
}
-buildUnnamed5423() {
+buildUnnamed5399() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5423(core.List<core.String> o) {
+checkUnnamed5399(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -248,7 +248,7 @@
var o = new api.SignJwtRequest();
buildCounterSignJwtRequest++;
if (buildCounterSignJwtRequest < 3) {
- o.delegates = buildUnnamed5423();
+ o.delegates = buildUnnamed5399();
o.payload = "foo";
}
buildCounterSignJwtRequest--;
@@ -258,7 +258,7 @@
checkSignJwtRequest(api.SignJwtRequest o) {
buildCounterSignJwtRequest++;
if (buildCounterSignJwtRequest < 3) {
- checkUnnamed5423(o.delegates);
+ checkUnnamed5399(o.delegates);
unittest.expect(o.payload, unittest.equals('foo'));
}
buildCounterSignJwtRequest--;
diff --git a/generated/googleapis/test/iap/v1_test.dart b/generated/googleapis/test/iap/v1_test.dart
index e09d577..f6d972f 100644
--- a/generated/googleapis/test/iap/v1_test.dart
+++ b/generated/googleapis/test/iap/v1_test.dart
@@ -117,14 +117,14 @@
buildCounterApplicationSettings--;
}
-buildUnnamed4597() {
+buildUnnamed4604() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4597(core.List<core.String> o) {
+checkUnnamed4604(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -137,7 +137,7 @@
if (buildCounterBinding < 3) {
o.bindingId = "foo";
o.condition = buildExpr();
- o.members = buildUnnamed4597();
+ o.members = buildUnnamed4604();
o.role = "foo";
}
buildCounterBinding--;
@@ -149,7 +149,7 @@
if (buildCounterBinding < 3) {
unittest.expect(o.bindingId, unittest.equals('foo'));
checkExpr(o.condition);
- checkUnnamed4597(o.members);
+ checkUnnamed4604(o.members);
unittest.expect(o.role, unittest.equals('foo'));
}
buildCounterBinding--;
@@ -258,14 +258,14 @@
buildCounterExpr--;
}
-buildUnnamed4598() {
+buildUnnamed4605() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4598(core.List<core.String> o) {
+checkUnnamed4605(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -277,7 +277,7 @@
buildCounterGcipSettings++;
if (buildCounterGcipSettings < 3) {
o.loginPageUri = "foo";
- o.tenantIds = buildUnnamed4598();
+ o.tenantIds = buildUnnamed4605();
}
buildCounterGcipSettings--;
return o;
@@ -287,7 +287,7 @@
buildCounterGcipSettings++;
if (buildCounterGcipSettings < 3) {
unittest.expect(o.loginPageUri, unittest.equals('foo'));
- checkUnnamed4598(o.tenantIds);
+ checkUnnamed4605(o.tenantIds);
}
buildCounterGcipSettings--;
}
@@ -376,14 +376,14 @@
buildCounterIdentityAwareProxyClient--;
}
-buildUnnamed4599() {
+buildUnnamed4606() {
var o = new core.List<api.Brand>();
o.add(buildBrand());
o.add(buildBrand());
return o;
}
-checkUnnamed4599(core.List<api.Brand> o) {
+checkUnnamed4606(core.List<api.Brand> o) {
unittest.expect(o, unittest.hasLength(2));
checkBrand(o[0]);
checkBrand(o[1]);
@@ -394,7 +394,7 @@
var o = new api.ListBrandsResponse();
buildCounterListBrandsResponse++;
if (buildCounterListBrandsResponse < 3) {
- o.brands = buildUnnamed4599();
+ o.brands = buildUnnamed4606();
}
buildCounterListBrandsResponse--;
return o;
@@ -403,19 +403,19 @@
checkListBrandsResponse(api.ListBrandsResponse o) {
buildCounterListBrandsResponse++;
if (buildCounterListBrandsResponse < 3) {
- checkUnnamed4599(o.brands);
+ checkUnnamed4606(o.brands);
}
buildCounterListBrandsResponse--;
}
-buildUnnamed4600() {
+buildUnnamed4607() {
var o = new core.List<api.IdentityAwareProxyClient>();
o.add(buildIdentityAwareProxyClient());
o.add(buildIdentityAwareProxyClient());
return o;
}
-checkUnnamed4600(core.List<api.IdentityAwareProxyClient> o) {
+checkUnnamed4607(core.List<api.IdentityAwareProxyClient> o) {
unittest.expect(o, unittest.hasLength(2));
checkIdentityAwareProxyClient(o[0]);
checkIdentityAwareProxyClient(o[1]);
@@ -426,7 +426,7 @@
var o = new api.ListIdentityAwareProxyClientsResponse();
buildCounterListIdentityAwareProxyClientsResponse++;
if (buildCounterListIdentityAwareProxyClientsResponse < 3) {
- o.identityAwareProxyClients = buildUnnamed4600();
+ o.identityAwareProxyClients = buildUnnamed4607();
o.nextPageToken = "foo";
}
buildCounterListIdentityAwareProxyClientsResponse--;
@@ -437,7 +437,7 @@
api.ListIdentityAwareProxyClientsResponse o) {
buildCounterListIdentityAwareProxyClientsResponse++;
if (buildCounterListIdentityAwareProxyClientsResponse < 3) {
- checkUnnamed4600(o.identityAwareProxyClients);
+ checkUnnamed4607(o.identityAwareProxyClients);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListIdentityAwareProxyClientsResponse--;
@@ -464,14 +464,14 @@
buildCounterOAuthSettings--;
}
-buildUnnamed4601() {
+buildUnnamed4608() {
var o = new core.List<api.Binding>();
o.add(buildBinding());
o.add(buildBinding());
return o;
}
-checkUnnamed4601(core.List<api.Binding> o) {
+checkUnnamed4608(core.List<api.Binding> o) {
unittest.expect(o, unittest.hasLength(2));
checkBinding(o[0]);
checkBinding(o[1]);
@@ -482,7 +482,7 @@
var o = new api.Policy();
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- o.bindings = buildUnnamed4601();
+ o.bindings = buildUnnamed4608();
o.etag = "foo";
o.version = 42;
}
@@ -493,7 +493,7 @@
checkPolicy(api.Policy o) {
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- checkUnnamed4601(o.bindings);
+ checkUnnamed4608(o.bindings);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals(42));
}
@@ -564,14 +564,14 @@
buildCounterResetIdentityAwareProxyClientSecretRequest--;
}
-buildUnnamed4602() {
+buildUnnamed4609() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed4602(core.Map<core.String, core.String> o) {
+checkUnnamed4609(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -582,7 +582,7 @@
var o = new api.Resource();
buildCounterResource++;
if (buildCounterResource < 3) {
- o.labels = buildUnnamed4602();
+ o.labels = buildUnnamed4609();
o.name = "foo";
o.service = "foo";
o.type = "foo";
@@ -594,7 +594,7 @@
checkResource(api.Resource o) {
buildCounterResource++;
if (buildCounterResource < 3) {
- checkUnnamed4602(o.labels);
+ checkUnnamed4609(o.labels);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.service, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
@@ -621,14 +621,14 @@
buildCounterSetIamPolicyRequest--;
}
-buildUnnamed4603() {
+buildUnnamed4610() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4603(core.List<core.String> o) {
+checkUnnamed4610(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -639,7 +639,7 @@
var o = new api.TestIamPermissionsRequest();
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- o.permissions = buildUnnamed4603();
+ o.permissions = buildUnnamed4610();
}
buildCounterTestIamPermissionsRequest--;
return o;
@@ -648,19 +648,19 @@
checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) {
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- checkUnnamed4603(o.permissions);
+ checkUnnamed4610(o.permissions);
}
buildCounterTestIamPermissionsRequest--;
}
-buildUnnamed4604() {
+buildUnnamed4611() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4604(core.List<core.String> o) {
+checkUnnamed4611(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -671,7 +671,7 @@
var o = new api.TestIamPermissionsResponse();
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- o.permissions = buildUnnamed4604();
+ o.permissions = buildUnnamed4611();
}
buildCounterTestIamPermissionsResponse--;
return o;
@@ -680,7 +680,7 @@
checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) {
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- checkUnnamed4604(o.permissions);
+ checkUnnamed4611(o.permissions);
}
buildCounterTestIamPermissionsResponse--;
}
@@ -1214,8 +1214,8 @@
api.ProjectsBrandsIdentityAwareProxyClientsResourceApi res =
new api.IapApi(mock).projects.brands.identityAwareProxyClients;
var arg_parent = "foo";
- var arg_pageSize = 42;
var arg_pageToken = "foo";
+ var arg_pageSize = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1248,10 +1248,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1263,8 +1263,8 @@
}), true);
res
.list(arg_parent,
- pageSize: arg_pageSize,
pageToken: arg_pageToken,
+ pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListIdentityAwareProxyClientsResponse(response);
diff --git a/generated/googleapis/test/identitytoolkit/v3_test.dart b/generated/googleapis/test/identitytoolkit/v3_test.dart
index c712d71..0d00551 100644
--- a/generated/googleapis/test/identitytoolkit/v3_test.dart
+++ b/generated/googleapis/test/identitytoolkit/v3_test.dart
@@ -50,19 +50,6 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed738() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed738(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed739() {
var o = new core.List<core.String>();
o.add("foo");
@@ -76,12 +63,25 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed740() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed740(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
core.int buildCounterCreateAuthUriResponse = 0;
buildCreateAuthUriResponse() {
var o = new api.CreateAuthUriResponse();
buildCounterCreateAuthUriResponse++;
if (buildCounterCreateAuthUriResponse < 3) {
- o.allProviders = buildUnnamed738();
+ o.allProviders = buildUnnamed739();
o.authUri = "foo";
o.captchaRequired = true;
o.forExistingProvider = true;
@@ -89,7 +89,7 @@
o.providerId = "foo";
o.registered = true;
o.sessionId = "foo";
- o.signinMethods = buildUnnamed739();
+ o.signinMethods = buildUnnamed740();
}
buildCounterCreateAuthUriResponse--;
return o;
@@ -98,7 +98,7 @@
checkCreateAuthUriResponse(api.CreateAuthUriResponse o) {
buildCounterCreateAuthUriResponse++;
if (buildCounterCreateAuthUriResponse < 3) {
- checkUnnamed738(o.allProviders);
+ checkUnnamed739(o.allProviders);
unittest.expect(o.authUri, unittest.equals('foo'));
unittest.expect(o.captchaRequired, unittest.isTrue);
unittest.expect(o.forExistingProvider, unittest.isTrue);
@@ -106,7 +106,7 @@
unittest.expect(o.providerId, unittest.equals('foo'));
unittest.expect(o.registered, unittest.isTrue);
unittest.expect(o.sessionId, unittest.equals('foo'));
- checkUnnamed739(o.signinMethods);
+ checkUnnamed740(o.signinMethods);
}
buildCounterCreateAuthUriResponse--;
}
@@ -130,14 +130,14 @@
buildCounterDeleteAccountResponse--;
}
-buildUnnamed740() {
+buildUnnamed741() {
var o = new core.List<api.UserInfo>();
o.add(buildUserInfo());
o.add(buildUserInfo());
return o;
}
-checkUnnamed740(core.List<api.UserInfo> o) {
+checkUnnamed741(core.List<api.UserInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserInfo(o[0]);
checkUserInfo(o[1]);
@@ -150,7 +150,7 @@
if (buildCounterDownloadAccountResponse < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.users = buildUnnamed740();
+ o.users = buildUnnamed741();
}
buildCounterDownloadAccountResponse--;
return o;
@@ -161,7 +161,7 @@
if (buildCounterDownloadAccountResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed740(o.users);
+ checkUnnamed741(o.users);
}
buildCounterDownloadAccountResponse--;
}
@@ -226,14 +226,14 @@
buildCounterEmailTemplate--;
}
-buildUnnamed741() {
+buildUnnamed742() {
var o = new core.List<api.UserInfo>();
o.add(buildUserInfo());
o.add(buildUserInfo());
return o;
}
-checkUnnamed741(core.List<api.UserInfo> o) {
+checkUnnamed742(core.List<api.UserInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserInfo(o[0]);
checkUserInfo(o[1]);
@@ -245,7 +245,7 @@
buildCounterGetAccountInfoResponse++;
if (buildCounterGetAccountInfoResponse < 3) {
o.kind = "foo";
- o.users = buildUnnamed741();
+ o.users = buildUnnamed742();
}
buildCounterGetAccountInfoResponse--;
return o;
@@ -255,7 +255,7 @@
buildCounterGetAccountInfoResponse++;
if (buildCounterGetAccountInfoResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed741(o.users);
+ checkUnnamed742(o.users);
}
buildCounterGetAccountInfoResponse--;
}
@@ -306,14 +306,14 @@
buildCounterGetRecaptchaParamResponse--;
}
-buildUnnamed742() {
+buildUnnamed743() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed742(core.Map<core.String, core.String> o) {
+checkUnnamed743(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -329,7 +329,7 @@
o.clientId = "foo";
o.context = "foo";
o.continueUri = "foo";
- o.customParameter = buildUnnamed742();
+ o.customParameter = buildUnnamed743();
o.hostedDomain = "foo";
o.identifier = "foo";
o.oauthConsumerKey = "foo";
@@ -354,7 +354,7 @@
unittest.expect(o.clientId, unittest.equals('foo'));
unittest.expect(o.context, unittest.equals('foo'));
unittest.expect(o.continueUri, unittest.equals('foo'));
- checkUnnamed742(o.customParameter);
+ checkUnnamed743(o.customParameter);
unittest.expect(o.hostedDomain, unittest.equals('foo'));
unittest.expect(o.identifier, unittest.equals('foo'));
unittest.expect(o.oauthConsumerKey, unittest.equals('foo'));
@@ -443,19 +443,6 @@
buildCounterIdentitytoolkitRelyingpartyEmailLinkSigninRequest--;
}
-buildUnnamed743() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed743(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed744() {
var o = new core.List<core.String>();
o.add("foo");
@@ -482,34 +469,6 @@
unittest.expect(o[1], unittest.equals('foo'));
}
-core.int buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest = 0;
-buildIdentitytoolkitRelyingpartyGetAccountInfoRequest() {
- var o = new api.IdentitytoolkitRelyingpartyGetAccountInfoRequest();
- buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest++;
- if (buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest < 3) {
- o.delegatedProjectNumber = "foo";
- o.email = buildUnnamed743();
- o.idToken = "foo";
- o.localId = buildUnnamed744();
- o.phoneNumber = buildUnnamed745();
- }
- buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest--;
- return o;
-}
-
-checkIdentitytoolkitRelyingpartyGetAccountInfoRequest(
- api.IdentitytoolkitRelyingpartyGetAccountInfoRequest o) {
- buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest++;
- if (buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest < 3) {
- unittest.expect(o.delegatedProjectNumber, unittest.equals('foo'));
- checkUnnamed743(o.email);
- unittest.expect(o.idToken, unittest.equals('foo'));
- checkUnnamed744(o.localId);
- checkUnnamed745(o.phoneNumber);
- }
- buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest--;
-}
-
buildUnnamed746() {
var o = new core.List<core.String>();
o.add("foo");
@@ -523,14 +482,55 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+core.int buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest = 0;
+buildIdentitytoolkitRelyingpartyGetAccountInfoRequest() {
+ var o = new api.IdentitytoolkitRelyingpartyGetAccountInfoRequest();
+ buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest++;
+ if (buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest < 3) {
+ o.delegatedProjectNumber = "foo";
+ o.email = buildUnnamed744();
+ o.idToken = "foo";
+ o.localId = buildUnnamed745();
+ o.phoneNumber = buildUnnamed746();
+ }
+ buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest--;
+ return o;
+}
+
+checkIdentitytoolkitRelyingpartyGetAccountInfoRequest(
+ api.IdentitytoolkitRelyingpartyGetAccountInfoRequest o) {
+ buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest++;
+ if (buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest < 3) {
+ unittest.expect(o.delegatedProjectNumber, unittest.equals('foo'));
+ checkUnnamed744(o.email);
+ unittest.expect(o.idToken, unittest.equals('foo'));
+ checkUnnamed745(o.localId);
+ checkUnnamed746(o.phoneNumber);
+ }
+ buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest--;
+}
+
buildUnnamed747() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed747(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed748() {
var o = new core.List<api.IdpConfig>();
o.add(buildIdpConfig());
o.add(buildIdpConfig());
return o;
}
-checkUnnamed747(core.List<api.IdpConfig> o) {
+checkUnnamed748(core.List<api.IdpConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkIdpConfig(o[0]);
checkIdpConfig(o[1]);
@@ -543,11 +543,11 @@
if (buildCounterIdentitytoolkitRelyingpartyGetProjectConfigResponse < 3) {
o.allowPasswordUser = true;
o.apiKey = "foo";
- o.authorizedDomains = buildUnnamed746();
+ o.authorizedDomains = buildUnnamed747();
o.changeEmailTemplate = buildEmailTemplate();
o.dynamicLinksDomain = "foo";
o.enableAnonymousUser = true;
- o.idpConfig = buildUnnamed747();
+ o.idpConfig = buildUnnamed748();
o.legacyResetPasswordTemplate = buildEmailTemplate();
o.projectId = "foo";
o.resetPasswordTemplate = buildEmailTemplate();
@@ -564,11 +564,11 @@
if (buildCounterIdentitytoolkitRelyingpartyGetProjectConfigResponse < 3) {
unittest.expect(o.allowPasswordUser, unittest.isTrue);
unittest.expect(o.apiKey, unittest.equals('foo'));
- checkUnnamed746(o.authorizedDomains);
+ checkUnnamed747(o.authorizedDomains);
checkEmailTemplate(o.changeEmailTemplate);
unittest.expect(o.dynamicLinksDomain, unittest.equals('foo'));
unittest.expect(o.enableAnonymousUser, unittest.isTrue);
- checkUnnamed747(o.idpConfig);
+ checkUnnamed748(o.idpConfig);
checkEmailTemplate(o.legacyResetPasswordTemplate);
unittest.expect(o.projectId, unittest.equals('foo'));
checkEmailTemplate(o.resetPasswordTemplate);
@@ -665,19 +665,6 @@
buildCounterIdentitytoolkitRelyingpartySendVerificationCodeResponse--;
}
-buildUnnamed748() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed748(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed749() {
var o = new core.List<core.String>();
o.add("foo");
@@ -704,6 +691,19 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed751() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed751(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
core.int buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest = 0;
buildIdentitytoolkitRelyingpartySetAccountInfoRequest() {
var o = new api.IdentitytoolkitRelyingpartySetAccountInfoRequest();
@@ -714,8 +714,8 @@
o.createdAt = "foo";
o.customAttributes = "foo";
o.delegatedProjectNumber = "foo";
- o.deleteAttribute = buildUnnamed748();
- o.deleteProvider = buildUnnamed749();
+ o.deleteAttribute = buildUnnamed749();
+ o.deleteProvider = buildUnnamed750();
o.disableUser = true;
o.displayName = "foo";
o.email = "foo";
@@ -728,7 +728,7 @@
o.password = "foo";
o.phoneNumber = "foo";
o.photoUrl = "foo";
- o.provider = buildUnnamed750();
+ o.provider = buildUnnamed751();
o.returnSecureToken = true;
o.upgradeToFederatedLogin = true;
o.validSince = "foo";
@@ -746,8 +746,8 @@
unittest.expect(o.createdAt, unittest.equals('foo'));
unittest.expect(o.customAttributes, unittest.equals('foo'));
unittest.expect(o.delegatedProjectNumber, unittest.equals('foo'));
- checkUnnamed748(o.deleteAttribute);
- checkUnnamed749(o.deleteProvider);
+ checkUnnamed749(o.deleteAttribute);
+ checkUnnamed750(o.deleteProvider);
unittest.expect(o.disableUser, unittest.isTrue);
unittest.expect(o.displayName, unittest.equals('foo'));
unittest.expect(o.email, unittest.equals('foo'));
@@ -760,7 +760,7 @@
unittest.expect(o.password, unittest.equals('foo'));
unittest.expect(o.phoneNumber, unittest.equals('foo'));
unittest.expect(o.photoUrl, unittest.equals('foo'));
- checkUnnamed750(o.provider);
+ checkUnnamed751(o.provider);
unittest.expect(o.returnSecureToken, unittest.isTrue);
unittest.expect(o.upgradeToFederatedLogin, unittest.isTrue);
unittest.expect(o.validSince, unittest.equals('foo'));
@@ -768,27 +768,27 @@
buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest--;
}
-buildUnnamed751() {
+buildUnnamed752() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed751(core.List<core.String> o) {
+checkUnnamed752(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed752() {
+buildUnnamed753() {
var o = new core.List<api.IdpConfig>();
o.add(buildIdpConfig());
o.add(buildIdpConfig());
return o;
}
-checkUnnamed752(core.List<api.IdpConfig> o) {
+checkUnnamed753(core.List<api.IdpConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkIdpConfig(o[0]);
checkIdpConfig(o[1]);
@@ -801,11 +801,11 @@
if (buildCounterIdentitytoolkitRelyingpartySetProjectConfigRequest < 3) {
o.allowPasswordUser = true;
o.apiKey = "foo";
- o.authorizedDomains = buildUnnamed751();
+ o.authorizedDomains = buildUnnamed752();
o.changeEmailTemplate = buildEmailTemplate();
o.delegatedProjectNumber = "foo";
o.enableAnonymousUser = true;
- o.idpConfig = buildUnnamed752();
+ o.idpConfig = buildUnnamed753();
o.legacyResetPasswordTemplate = buildEmailTemplate();
o.resetPasswordTemplate = buildEmailTemplate();
o.useEmailSending = true;
@@ -821,11 +821,11 @@
if (buildCounterIdentitytoolkitRelyingpartySetProjectConfigRequest < 3) {
unittest.expect(o.allowPasswordUser, unittest.isTrue);
unittest.expect(o.apiKey, unittest.equals('foo'));
- checkUnnamed751(o.authorizedDomains);
+ checkUnnamed752(o.authorizedDomains);
checkEmailTemplate(o.changeEmailTemplate);
unittest.expect(o.delegatedProjectNumber, unittest.equals('foo'));
unittest.expect(o.enableAnonymousUser, unittest.isTrue);
- checkUnnamed752(o.idpConfig);
+ checkUnnamed753(o.idpConfig);
checkEmailTemplate(o.legacyResetPasswordTemplate);
checkEmailTemplate(o.resetPasswordTemplate);
unittest.expect(o.useEmailSending, unittest.isTrue);
@@ -942,14 +942,14 @@
buildCounterIdentitytoolkitRelyingpartySignupNewUserRequest--;
}
-buildUnnamed753() {
+buildUnnamed754() {
var o = new core.List<api.UserInfo>();
o.add(buildUserInfo());
o.add(buildUserInfo());
return o;
}
-checkUnnamed753(core.List<api.UserInfo> o) {
+checkUnnamed754(core.List<api.UserInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserInfo(o[0]);
checkUserInfo(o[1]);
@@ -973,7 +973,7 @@
o.sanityCheck = true;
o.signerKey = "foo";
o.targetProjectId = "foo";
- o.users = buildUnnamed753();
+ o.users = buildUnnamed754();
}
buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest--;
return o;
@@ -996,7 +996,7 @@
unittest.expect(o.sanityCheck, unittest.isTrue);
unittest.expect(o.signerKey, unittest.equals('foo'));
unittest.expect(o.targetProjectId, unittest.equals('foo'));
- checkUnnamed753(o.users);
+ checkUnnamed754(o.users);
}
buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest--;
}
@@ -1181,14 +1181,14 @@
buildCounterIdentitytoolkitRelyingpartyVerifyPhoneNumberResponse--;
}
-buildUnnamed754() {
+buildUnnamed755() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed754(core.List<core.String> o) {
+checkUnnamed755(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1204,7 +1204,7 @@
o.experimentPercent = 42;
o.provider = "foo";
o.secret = "foo";
- o.whitelistedAudiences = buildUnnamed754();
+ o.whitelistedAudiences = buildUnnamed755();
}
buildCounterIdpConfig--;
return o;
@@ -1218,7 +1218,7 @@
unittest.expect(o.experimentPercent, unittest.equals(42));
unittest.expect(o.provider, unittest.equals('foo'));
unittest.expect(o.secret, unittest.equals('foo'));
- checkUnnamed754(o.whitelistedAudiences);
+ checkUnnamed755(o.whitelistedAudiences);
}
buildCounterIdpConfig--;
}
@@ -1321,14 +1321,14 @@
buildCounterSetAccountInfoResponseProviderUserInfo--;
}
-buildUnnamed755() {
+buildUnnamed756() {
var o = new core.List<api.SetAccountInfoResponseProviderUserInfo>();
o.add(buildSetAccountInfoResponseProviderUserInfo());
o.add(buildSetAccountInfoResponseProviderUserInfo());
return o;
}
-checkUnnamed755(core.List<api.SetAccountInfoResponseProviderUserInfo> o) {
+checkUnnamed756(core.List<api.SetAccountInfoResponseProviderUserInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkSetAccountInfoResponseProviderUserInfo(o[0]);
checkSetAccountInfoResponseProviderUserInfo(o[1]);
@@ -1349,7 +1349,7 @@
o.newEmail = "foo";
o.passwordHash = "foo";
o.photoUrl = "foo";
- o.providerUserInfo = buildUnnamed755();
+ o.providerUserInfo = buildUnnamed756();
o.refreshToken = "foo";
}
buildCounterSetAccountInfoResponse--;
@@ -1369,7 +1369,7 @@
unittest.expect(o.newEmail, unittest.equals('foo'));
unittest.expect(o.passwordHash, unittest.equals('foo'));
unittest.expect(o.photoUrl, unittest.equals('foo'));
- checkUnnamed755(o.providerUserInfo);
+ checkUnnamed756(o.providerUserInfo);
unittest.expect(o.refreshToken, unittest.equals('foo'));
}
buildCounterSetAccountInfoResponse--;
@@ -1427,14 +1427,14 @@
buildCounterUploadAccountResponseError--;
}
-buildUnnamed756() {
+buildUnnamed757() {
var o = new core.List<api.UploadAccountResponseError>();
o.add(buildUploadAccountResponseError());
o.add(buildUploadAccountResponseError());
return o;
}
-checkUnnamed756(core.List<api.UploadAccountResponseError> o) {
+checkUnnamed757(core.List<api.UploadAccountResponseError> o) {
unittest.expect(o, unittest.hasLength(2));
checkUploadAccountResponseError(o[0]);
checkUploadAccountResponseError(o[1]);
@@ -1445,7 +1445,7 @@
var o = new api.UploadAccountResponse();
buildCounterUploadAccountResponse++;
if (buildCounterUploadAccountResponse < 3) {
- o.error = buildUnnamed756();
+ o.error = buildUnnamed757();
o.kind = "foo";
}
buildCounterUploadAccountResponse--;
@@ -1455,7 +1455,7 @@
checkUploadAccountResponse(api.UploadAccountResponse o) {
buildCounterUploadAccountResponse++;
if (buildCounterUploadAccountResponse < 3) {
- checkUnnamed756(o.error);
+ checkUnnamed757(o.error);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterUploadAccountResponse--;
@@ -1494,14 +1494,14 @@
buildCounterUserInfoProviderUserInfo--;
}
-buildUnnamed757() {
+buildUnnamed758() {
var o = new core.List<api.UserInfoProviderUserInfo>();
o.add(buildUserInfoProviderUserInfo());
o.add(buildUserInfoProviderUserInfo());
return o;
}
-checkUnnamed757(core.List<api.UserInfoProviderUserInfo> o) {
+checkUnnamed758(core.List<api.UserInfoProviderUserInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserInfoProviderUserInfo(o[0]);
checkUserInfoProviderUserInfo(o[1]);
@@ -1525,7 +1525,7 @@
o.passwordUpdatedAt = 42.0;
o.phoneNumber = "foo";
o.photoUrl = "foo";
- o.providerUserInfo = buildUnnamed757();
+ o.providerUserInfo = buildUnnamed758();
o.rawPassword = "foo";
o.salt = "foo";
o.screenName = "foo";
@@ -1552,7 +1552,7 @@
unittest.expect(o.passwordUpdatedAt, unittest.equals(42.0));
unittest.expect(o.phoneNumber, unittest.equals('foo'));
unittest.expect(o.photoUrl, unittest.equals('foo'));
- checkUnnamed757(o.providerUserInfo);
+ checkUnnamed758(o.providerUserInfo);
unittest.expect(o.rawPassword, unittest.equals('foo'));
unittest.expect(o.salt, unittest.equals('foo'));
unittest.expect(o.screenName, unittest.equals('foo'));
@@ -1562,14 +1562,14 @@
buildCounterUserInfo--;
}
-buildUnnamed758() {
+buildUnnamed759() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed758(core.List<core.String> o) {
+checkUnnamed759(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1618,7 +1618,7 @@
o.refreshToken = "foo";
o.screenName = "foo";
o.timeZone = "foo";
- o.verifiedProvider = buildUnnamed758();
+ o.verifiedProvider = buildUnnamed759();
}
buildCounterVerifyAssertionResponse--;
return o;
@@ -1665,7 +1665,7 @@
unittest.expect(o.refreshToken, unittest.equals('foo'));
unittest.expect(o.screenName, unittest.equals('foo'));
unittest.expect(o.timeZone, unittest.equals('foo'));
- checkUnnamed758(o.verifiedProvider);
+ checkUnnamed759(o.verifiedProvider);
}
buildCounterVerifyAssertionResponse--;
}
diff --git a/generated/googleapis/test/jobs/v2_test.dart b/generated/googleapis/test/jobs/v2_test.dart
index 8cdf5d2..6b44c72 100644
--- a/generated/googleapis/test/jobs/v2_test.dart
+++ b/generated/googleapis/test/jobs/v2_test.dart
@@ -161,40 +161,40 @@
buildCounterCommutePreference--;
}
-buildUnnamed1210() {
+buildUnnamed1211() {
var o = new core.List<api.CompanyInfoSource>();
o.add(buildCompanyInfoSource());
o.add(buildCompanyInfoSource());
return o;
}
-checkUnnamed1210(core.List<api.CompanyInfoSource> o) {
+checkUnnamed1211(core.List<api.CompanyInfoSource> o) {
unittest.expect(o, unittest.hasLength(2));
checkCompanyInfoSource(o[0]);
checkCompanyInfoSource(o[1]);
}
-buildUnnamed1211() {
+buildUnnamed1212() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1211(core.List<core.String> o) {
+checkUnnamed1212(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1212() {
+buildUnnamed1213() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed1212(core.List<core.int> o) {
+checkUnnamed1213(core.List<core.int> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42));
unittest.expect(o[1], unittest.equals(42));
@@ -206,7 +206,7 @@
buildCounterCompany++;
if (buildCounterCompany < 3) {
o.careerPageLink = "foo";
- o.companyInfoSources = buildUnnamed1210();
+ o.companyInfoSources = buildUnnamed1211();
o.companySize = "foo";
o.disableLocationOptimization = true;
o.displayName = "foo";
@@ -216,8 +216,8 @@
o.hiringAgency = true;
o.hqLocation = "foo";
o.imageUrl = "foo";
- o.keywordSearchableCustomAttributes = buildUnnamed1211();
- o.keywordSearchableCustomFields = buildUnnamed1212();
+ o.keywordSearchableCustomAttributes = buildUnnamed1212();
+ o.keywordSearchableCustomFields = buildUnnamed1213();
o.name = "foo";
o.structuredCompanyHqLocation = buildJobLocation();
o.suspended = true;
@@ -232,7 +232,7 @@
buildCounterCompany++;
if (buildCounterCompany < 3) {
unittest.expect(o.careerPageLink, unittest.equals('foo'));
- checkUnnamed1210(o.companyInfoSources);
+ checkUnnamed1211(o.companyInfoSources);
unittest.expect(o.companySize, unittest.equals('foo'));
unittest.expect(o.disableLocationOptimization, unittest.isTrue);
unittest.expect(o.displayName, unittest.equals('foo'));
@@ -242,8 +242,8 @@
unittest.expect(o.hiringAgency, unittest.isTrue);
unittest.expect(o.hqLocation, unittest.equals('foo'));
unittest.expect(o.imageUrl, unittest.equals('foo'));
- checkUnnamed1211(o.keywordSearchableCustomAttributes);
- checkUnnamed1212(o.keywordSearchableCustomFields);
+ checkUnnamed1212(o.keywordSearchableCustomAttributes);
+ checkUnnamed1213(o.keywordSearchableCustomFields);
unittest.expect(o.name, unittest.equals('foo'));
checkJobLocation(o.structuredCompanyHqLocation);
unittest.expect(o.suspended, unittest.isTrue);
@@ -307,14 +307,14 @@
buildCounterCompensationEntry--;
}
-buildUnnamed1213() {
+buildUnnamed1214() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1213(core.List<core.String> o) {
+checkUnnamed1214(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -328,7 +328,7 @@
o.includeJobsWithUnspecifiedCompensationRange = true;
o.range = buildCompensationRange();
o.type = "foo";
- o.units = buildUnnamed1213();
+ o.units = buildUnnamed1214();
}
buildCounterCompensationFilter--;
return o;
@@ -341,7 +341,7 @@
o.includeJobsWithUnspecifiedCompensationRange, unittest.isTrue);
checkCompensationRange(o.range);
unittest.expect(o.type, unittest.equals('foo'));
- checkUnnamed1213(o.units);
+ checkUnnamed1214(o.units);
}
buildCounterCompensationFilter--;
}
@@ -388,14 +388,14 @@
buildCounterCompensationHistogramResult--;
}
-buildUnnamed1214() {
+buildUnnamed1215() {
var o = new core.List<api.CompensationEntry>();
o.add(buildCompensationEntry());
o.add(buildCompensationEntry());
return o;
}
-checkUnnamed1214(core.List<api.CompensationEntry> o) {
+checkUnnamed1215(core.List<api.CompensationEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkCompensationEntry(o[0]);
checkCompensationEntry(o[1]);
@@ -409,7 +409,7 @@
o.amount = buildMoney();
o.annualizedBaseCompensationRange = buildCompensationRange();
o.annualizedTotalCompensationRange = buildCompensationRange();
- o.entries = buildUnnamed1214();
+ o.entries = buildUnnamed1215();
o.max = buildMoney();
o.min = buildMoney();
o.type = "foo";
@@ -424,7 +424,7 @@
checkMoney(o.amount);
checkCompensationRange(o.annualizedBaseCompensationRange);
checkCompensationRange(o.annualizedTotalCompensationRange);
- checkUnnamed1214(o.entries);
+ checkUnnamed1215(o.entries);
checkMoney(o.max);
checkMoney(o.min);
unittest.expect(o.type, unittest.equals('foo'));
@@ -453,14 +453,14 @@
buildCounterCompensationRange--;
}
-buildUnnamed1215() {
+buildUnnamed1216() {
var o = new core.List<api.CompletionResult>();
o.add(buildCompletionResult());
o.add(buildCompletionResult());
return o;
}
-checkUnnamed1215(core.List<api.CompletionResult> o) {
+checkUnnamed1216(core.List<api.CompletionResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkCompletionResult(o[0]);
checkCompletionResult(o[1]);
@@ -471,7 +471,7 @@
var o = new api.CompleteQueryResponse();
buildCounterCompleteQueryResponse++;
if (buildCounterCompleteQueryResponse < 3) {
- o.completionResults = buildUnnamed1215();
+ o.completionResults = buildUnnamed1216();
o.metadata = buildResponseMetadata();
}
buildCounterCompleteQueryResponse--;
@@ -481,7 +481,7 @@
checkCompleteQueryResponse(api.CompleteQueryResponse o) {
buildCounterCompleteQueryResponse++;
if (buildCounterCompleteQueryResponse < 3) {
- checkUnnamed1215(o.completionResults);
+ checkUnnamed1216(o.completionResults);
checkResponseMetadata(o.metadata);
}
buildCounterCompleteQueryResponse--;
@@ -579,14 +579,14 @@
buildCounterCustomAttributeHistogramRequest--;
}
-buildUnnamed1216() {
+buildUnnamed1217() {
var o = new core.Map<core.String, core.int>();
o["x"] = 42;
o["y"] = 42;
return o;
}
-checkUnnamed1216(core.Map<core.String, core.int> o) {
+checkUnnamed1217(core.Map<core.String, core.int> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals(42));
unittest.expect(o["y"], unittest.equals(42));
@@ -599,7 +599,7 @@
if (buildCounterCustomAttributeHistogramResult < 3) {
o.key = "foo";
o.longValueHistogramResult = buildNumericBucketingResult();
- o.stringValueHistogramResult = buildUnnamed1216();
+ o.stringValueHistogramResult = buildUnnamed1217();
}
buildCounterCustomAttributeHistogramResult--;
return o;
@@ -610,43 +610,11 @@
if (buildCounterCustomAttributeHistogramResult < 3) {
unittest.expect(o.key, unittest.equals('foo'));
checkNumericBucketingResult(o.longValueHistogramResult);
- checkUnnamed1216(o.stringValueHistogramResult);
+ checkUnnamed1217(o.stringValueHistogramResult);
}
buildCounterCustomAttributeHistogramResult--;
}
-buildUnnamed1217() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1217(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-core.int buildCounterCustomField = 0;
-buildCustomField() {
- var o = new api.CustomField();
- buildCounterCustomField++;
- if (buildCounterCustomField < 3) {
- o.values = buildUnnamed1217();
- }
- buildCounterCustomField--;
- return o;
-}
-
-checkCustomField(api.CustomField o) {
- buildCounterCustomField++;
- if (buildCounterCustomField < 3) {
- checkUnnamed1217(o.values);
- }
- buildCounterCustomField--;
-}
-
buildUnnamed1218() {
var o = new core.List<core.String>();
o.add("foo");
@@ -660,12 +628,44 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+core.int buildCounterCustomField = 0;
+buildCustomField() {
+ var o = new api.CustomField();
+ buildCounterCustomField++;
+ if (buildCounterCustomField < 3) {
+ o.values = buildUnnamed1218();
+ }
+ buildCounterCustomField--;
+ return o;
+}
+
+checkCustomField(api.CustomField o) {
+ buildCounterCustomField++;
+ if (buildCounterCustomField < 3) {
+ checkUnnamed1218(o.values);
+ }
+ buildCounterCustomField--;
+}
+
+buildUnnamed1219() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1219(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
core.int buildCounterCustomFieldFilter = 0;
buildCustomFieldFilter() {
var o = new api.CustomFieldFilter();
buildCounterCustomFieldFilter++;
if (buildCounterCustomFieldFilter < 3) {
- o.queries = buildUnnamed1218();
+ o.queries = buildUnnamed1219();
o.type = "foo";
}
buildCounterCustomFieldFilter--;
@@ -675,7 +675,7 @@
checkCustomFieldFilter(api.CustomFieldFilter o) {
buildCounterCustomFieldFilter++;
if (buildCounterCustomFieldFilter < 3) {
- checkUnnamed1218(o.queries);
+ checkUnnamed1219(o.queries);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterCustomFieldFilter--;
@@ -761,14 +761,14 @@
buildCounterEmpty--;
}
-buildUnnamed1219() {
+buildUnnamed1220() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1219(core.List<core.String> o) {
+checkUnnamed1220(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -780,7 +780,7 @@
buildCounterExtendedCompensationFilter++;
if (buildCounterExtendedCompensationFilter < 3) {
o.compensationRange = buildExtendedCompensationInfoCompensationRange();
- o.compensationUnits = buildUnnamed1219();
+ o.compensationUnits = buildUnnamed1220();
o.currency = "foo";
o.includeJobWithUnspecifiedCompensationRange = true;
o.type = "foo";
@@ -793,7 +793,7 @@
buildCounterExtendedCompensationFilter++;
if (buildCounterExtendedCompensationFilter < 3) {
checkExtendedCompensationInfoCompensationRange(o.compensationRange);
- checkUnnamed1219(o.compensationUnits);
+ checkUnnamed1220(o.compensationUnits);
unittest.expect(o.currency, unittest.equals('foo'));
unittest.expect(
o.includeJobWithUnspecifiedCompensationRange, unittest.isTrue);
@@ -802,14 +802,14 @@
buildCounterExtendedCompensationFilter--;
}
-buildUnnamed1220() {
+buildUnnamed1221() {
var o = new core.List<api.ExtendedCompensationInfoCompensationEntry>();
o.add(buildExtendedCompensationInfoCompensationEntry());
o.add(buildExtendedCompensationInfoCompensationEntry());
return o;
}
-checkUnnamed1220(core.List<api.ExtendedCompensationInfoCompensationEntry> o) {
+checkUnnamed1221(core.List<api.ExtendedCompensationInfoCompensationEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkExtendedCompensationInfoCompensationEntry(o[0]);
checkExtendedCompensationInfoCompensationEntry(o[1]);
@@ -827,7 +827,7 @@
buildExtendedCompensationInfoCompensationRange();
o.annualizedTotalCompensationUnspecified = true;
o.currency = "foo";
- o.entries = buildUnnamed1220();
+ o.entries = buildUnnamed1221();
}
buildCounterExtendedCompensationInfo--;
return o;
@@ -843,7 +843,7 @@
o.annualizedTotalCompensationRange);
unittest.expect(o.annualizedTotalCompensationUnspecified, unittest.isTrue);
unittest.expect(o.currency, unittest.equals('foo'));
- checkUnnamed1220(o.entries);
+ checkUnnamed1221(o.entries);
}
buildCounterExtendedCompensationInfo--;
}
@@ -942,14 +942,14 @@
buildCounterFilter--;
}
-buildUnnamed1221() {
+buildUnnamed1222() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1221(core.List<core.String> o) {
+checkUnnamed1222(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -964,7 +964,7 @@
o.filters = buildJobFilters();
o.query = buildJobQuery();
o.requestMetadata = buildRequestMetadata();
- o.searchTypes = buildUnnamed1221();
+ o.searchTypes = buildUnnamed1222();
}
buildCounterGetHistogramRequest--;
return o;
@@ -977,19 +977,19 @@
checkJobFilters(o.filters);
checkJobQuery(o.query);
checkRequestMetadata(o.requestMetadata);
- checkUnnamed1221(o.searchTypes);
+ checkUnnamed1222(o.searchTypes);
}
buildCounterGetHistogramRequest--;
}
-buildUnnamed1222() {
+buildUnnamed1223() {
var o = new core.List<api.HistogramResult>();
o.add(buildHistogramResult());
o.add(buildHistogramResult());
return o;
}
-checkUnnamed1222(core.List<api.HistogramResult> o) {
+checkUnnamed1223(core.List<api.HistogramResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkHistogramResult(o[0]);
checkHistogramResult(o[1]);
@@ -1001,7 +1001,7 @@
buildCounterGetHistogramResponse++;
if (buildCounterGetHistogramResponse < 3) {
o.metadata = buildResponseMetadata();
- o.results = buildUnnamed1222();
+ o.results = buildUnnamed1223();
}
buildCounterGetHistogramResponse--;
return o;
@@ -1011,44 +1011,11 @@
buildCounterGetHistogramResponse++;
if (buildCounterGetHistogramResponse < 3) {
checkResponseMetadata(o.metadata);
- checkUnnamed1222(o.results);
+ checkUnnamed1223(o.results);
}
buildCounterGetHistogramResponse--;
}
-buildUnnamed1223() {
- var o = new core.List<api.GoogleCloudTalentV4JobResult>();
- o.add(buildGoogleCloudTalentV4JobResult());
- o.add(buildGoogleCloudTalentV4JobResult());
- return o;
-}
-
-checkUnnamed1223(core.List<api.GoogleCloudTalentV4JobResult> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkGoogleCloudTalentV4JobResult(o[0]);
- checkGoogleCloudTalentV4JobResult(o[1]);
-}
-
-core.int buildCounterGoogleCloudTalentV4BatchCreateJobsResponse = 0;
-buildGoogleCloudTalentV4BatchCreateJobsResponse() {
- var o = new api.GoogleCloudTalentV4BatchCreateJobsResponse();
- buildCounterGoogleCloudTalentV4BatchCreateJobsResponse++;
- if (buildCounterGoogleCloudTalentV4BatchCreateJobsResponse < 3) {
- o.jobResults = buildUnnamed1223();
- }
- buildCounterGoogleCloudTalentV4BatchCreateJobsResponse--;
- return o;
-}
-
-checkGoogleCloudTalentV4BatchCreateJobsResponse(
- api.GoogleCloudTalentV4BatchCreateJobsResponse o) {
- buildCounterGoogleCloudTalentV4BatchCreateJobsResponse++;
- if (buildCounterGoogleCloudTalentV4BatchCreateJobsResponse < 3) {
- checkUnnamed1223(o.jobResults);
- }
- buildCounterGoogleCloudTalentV4BatchCreateJobsResponse--;
-}
-
buildUnnamed1224() {
var o = new core.List<api.GoogleCloudTalentV4JobResult>();
o.add(buildGoogleCloudTalentV4JobResult());
@@ -1062,12 +1029,45 @@
checkGoogleCloudTalentV4JobResult(o[1]);
}
+core.int buildCounterGoogleCloudTalentV4BatchCreateJobsResponse = 0;
+buildGoogleCloudTalentV4BatchCreateJobsResponse() {
+ var o = new api.GoogleCloudTalentV4BatchCreateJobsResponse();
+ buildCounterGoogleCloudTalentV4BatchCreateJobsResponse++;
+ if (buildCounterGoogleCloudTalentV4BatchCreateJobsResponse < 3) {
+ o.jobResults = buildUnnamed1224();
+ }
+ buildCounterGoogleCloudTalentV4BatchCreateJobsResponse--;
+ return o;
+}
+
+checkGoogleCloudTalentV4BatchCreateJobsResponse(
+ api.GoogleCloudTalentV4BatchCreateJobsResponse o) {
+ buildCounterGoogleCloudTalentV4BatchCreateJobsResponse++;
+ if (buildCounterGoogleCloudTalentV4BatchCreateJobsResponse < 3) {
+ checkUnnamed1224(o.jobResults);
+ }
+ buildCounterGoogleCloudTalentV4BatchCreateJobsResponse--;
+}
+
+buildUnnamed1225() {
+ var o = new core.List<api.GoogleCloudTalentV4JobResult>();
+ o.add(buildGoogleCloudTalentV4JobResult());
+ o.add(buildGoogleCloudTalentV4JobResult());
+ return o;
+}
+
+checkUnnamed1225(core.List<api.GoogleCloudTalentV4JobResult> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkGoogleCloudTalentV4JobResult(o[0]);
+ checkGoogleCloudTalentV4JobResult(o[1]);
+}
+
core.int buildCounterGoogleCloudTalentV4BatchDeleteJobsResponse = 0;
buildGoogleCloudTalentV4BatchDeleteJobsResponse() {
var o = new api.GoogleCloudTalentV4BatchDeleteJobsResponse();
buildCounterGoogleCloudTalentV4BatchDeleteJobsResponse++;
if (buildCounterGoogleCloudTalentV4BatchDeleteJobsResponse < 3) {
- o.jobResults = buildUnnamed1224();
+ o.jobResults = buildUnnamed1225();
}
buildCounterGoogleCloudTalentV4BatchDeleteJobsResponse--;
return o;
@@ -1077,7 +1077,7 @@
api.GoogleCloudTalentV4BatchDeleteJobsResponse o) {
buildCounterGoogleCloudTalentV4BatchDeleteJobsResponse++;
if (buildCounterGoogleCloudTalentV4BatchDeleteJobsResponse < 3) {
- checkUnnamed1224(o.jobResults);
+ checkUnnamed1225(o.jobResults);
}
buildCounterGoogleCloudTalentV4BatchDeleteJobsResponse--;
}
@@ -1116,14 +1116,14 @@
buildCounterGoogleCloudTalentV4BatchOperationMetadata--;
}
-buildUnnamed1225() {
+buildUnnamed1226() {
var o = new core.List<api.GoogleCloudTalentV4JobResult>();
o.add(buildGoogleCloudTalentV4JobResult());
o.add(buildGoogleCloudTalentV4JobResult());
return o;
}
-checkUnnamed1225(core.List<api.GoogleCloudTalentV4JobResult> o) {
+checkUnnamed1226(core.List<api.GoogleCloudTalentV4JobResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudTalentV4JobResult(o[0]);
checkGoogleCloudTalentV4JobResult(o[1]);
@@ -1134,7 +1134,7 @@
var o = new api.GoogleCloudTalentV4BatchUpdateJobsResponse();
buildCounterGoogleCloudTalentV4BatchUpdateJobsResponse++;
if (buildCounterGoogleCloudTalentV4BatchUpdateJobsResponse < 3) {
- o.jobResults = buildUnnamed1225();
+ o.jobResults = buildUnnamed1226();
}
buildCounterGoogleCloudTalentV4BatchUpdateJobsResponse--;
return o;
@@ -1144,12 +1144,12 @@
api.GoogleCloudTalentV4BatchUpdateJobsResponse o) {
buildCounterGoogleCloudTalentV4BatchUpdateJobsResponse++;
if (buildCounterGoogleCloudTalentV4BatchUpdateJobsResponse < 3) {
- checkUnnamed1225(o.jobResults);
+ checkUnnamed1226(o.jobResults);
}
buildCounterGoogleCloudTalentV4BatchUpdateJobsResponse--;
}
-buildUnnamed1226() {
+buildUnnamed1227() {
var o =
new core.List<api.GoogleCloudTalentV4CompensationInfoCompensationEntry>();
o.add(buildGoogleCloudTalentV4CompensationInfoCompensationEntry());
@@ -1157,7 +1157,7 @@
return o;
}
-checkUnnamed1226(
+checkUnnamed1227(
core.List<api.GoogleCloudTalentV4CompensationInfoCompensationEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudTalentV4CompensationInfoCompensationEntry(o[0]);
@@ -1173,7 +1173,7 @@
buildGoogleCloudTalentV4CompensationInfoCompensationRange();
o.annualizedTotalCompensationRange =
buildGoogleCloudTalentV4CompensationInfoCompensationRange();
- o.entries = buildUnnamed1226();
+ o.entries = buildUnnamed1227();
}
buildCounterGoogleCloudTalentV4CompensationInfo--;
return o;
@@ -1187,7 +1187,7 @@
o.annualizedBaseCompensationRange);
checkGoogleCloudTalentV4CompensationInfoCompensationRange(
o.annualizedTotalCompensationRange);
- checkUnnamed1226(o.entries);
+ checkUnnamed1227(o.entries);
}
buildCounterGoogleCloudTalentV4CompensationInfo--;
}
@@ -1244,19 +1244,6 @@
buildCounterGoogleCloudTalentV4CompensationInfoCompensationRange--;
}
-buildUnnamed1227() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1227(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed1228() {
var o = new core.List<core.String>();
o.add("foo");
@@ -1270,32 +1257,6 @@
unittest.expect(o[1], unittest.equals('foo'));
}
-core.int buildCounterGoogleCloudTalentV4CustomAttribute = 0;
-buildGoogleCloudTalentV4CustomAttribute() {
- var o = new api.GoogleCloudTalentV4CustomAttribute();
- buildCounterGoogleCloudTalentV4CustomAttribute++;
- if (buildCounterGoogleCloudTalentV4CustomAttribute < 3) {
- o.filterable = true;
- o.keywordSearchable = true;
- o.longValues = buildUnnamed1227();
- o.stringValues = buildUnnamed1228();
- }
- buildCounterGoogleCloudTalentV4CustomAttribute--;
- return o;
-}
-
-checkGoogleCloudTalentV4CustomAttribute(
- api.GoogleCloudTalentV4CustomAttribute o) {
- buildCounterGoogleCloudTalentV4CustomAttribute++;
- if (buildCounterGoogleCloudTalentV4CustomAttribute < 3) {
- unittest.expect(o.filterable, unittest.isTrue);
- unittest.expect(o.keywordSearchable, unittest.isTrue);
- checkUnnamed1227(o.longValues);
- checkUnnamed1228(o.stringValues);
- }
- buildCounterGoogleCloudTalentV4CustomAttribute--;
-}
-
buildUnnamed1229() {
var o = new core.List<core.String>();
o.add("foo");
@@ -1309,33 +1270,59 @@
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1230() {
- var o = new core.Map<core.String, api.GoogleCloudTalentV4CustomAttribute>();
- o["x"] = buildGoogleCloudTalentV4CustomAttribute();
- o["y"] = buildGoogleCloudTalentV4CustomAttribute();
+core.int buildCounterGoogleCloudTalentV4CustomAttribute = 0;
+buildGoogleCloudTalentV4CustomAttribute() {
+ var o = new api.GoogleCloudTalentV4CustomAttribute();
+ buildCounterGoogleCloudTalentV4CustomAttribute++;
+ if (buildCounterGoogleCloudTalentV4CustomAttribute < 3) {
+ o.filterable = true;
+ o.keywordSearchable = true;
+ o.longValues = buildUnnamed1228();
+ o.stringValues = buildUnnamed1229();
+ }
+ buildCounterGoogleCloudTalentV4CustomAttribute--;
return o;
}
-checkUnnamed1230(
- core.Map<core.String, api.GoogleCloudTalentV4CustomAttribute> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkGoogleCloudTalentV4CustomAttribute(o["x"]);
- checkGoogleCloudTalentV4CustomAttribute(o["y"]);
+checkGoogleCloudTalentV4CustomAttribute(
+ api.GoogleCloudTalentV4CustomAttribute o) {
+ buildCounterGoogleCloudTalentV4CustomAttribute++;
+ if (buildCounterGoogleCloudTalentV4CustomAttribute < 3) {
+ unittest.expect(o.filterable, unittest.isTrue);
+ unittest.expect(o.keywordSearchable, unittest.isTrue);
+ checkUnnamed1228(o.longValues);
+ checkUnnamed1229(o.stringValues);
+ }
+ buildCounterGoogleCloudTalentV4CustomAttribute--;
}
-buildUnnamed1231() {
+buildUnnamed1230() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1231(core.List<core.String> o) {
+checkUnnamed1230(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed1231() {
+ var o = new core.Map<core.String, api.GoogleCloudTalentV4CustomAttribute>();
+ o["x"] = buildGoogleCloudTalentV4CustomAttribute();
+ o["y"] = buildGoogleCloudTalentV4CustomAttribute();
+ return o;
+}
+
+checkUnnamed1231(
+ core.Map<core.String, api.GoogleCloudTalentV4CustomAttribute> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkGoogleCloudTalentV4CustomAttribute(o["x"]);
+ checkGoogleCloudTalentV4CustomAttribute(o["y"]);
+}
+
buildUnnamed1232() {
var o = new core.List<core.String>();
o.add("foo");
@@ -1362,24 +1349,37 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed1234() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1234(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
core.int buildCounterGoogleCloudTalentV4Job = 0;
buildGoogleCloudTalentV4Job() {
var o = new api.GoogleCloudTalentV4Job();
buildCounterGoogleCloudTalentV4Job++;
if (buildCounterGoogleCloudTalentV4Job < 3) {
- o.addresses = buildUnnamed1229();
+ o.addresses = buildUnnamed1230();
o.applicationInfo = buildGoogleCloudTalentV4JobApplicationInfo();
o.company = "foo";
o.companyDisplayName = "foo";
o.compensationInfo = buildGoogleCloudTalentV4CompensationInfo();
- o.customAttributes = buildUnnamed1230();
- o.degreeTypes = buildUnnamed1231();
+ o.customAttributes = buildUnnamed1231();
+ o.degreeTypes = buildUnnamed1232();
o.department = "foo";
o.derivedInfo = buildGoogleCloudTalentV4JobDerivedInfo();
o.description = "foo";
- o.employmentTypes = buildUnnamed1232();
+ o.employmentTypes = buildUnnamed1233();
o.incentives = "foo";
- o.jobBenefits = buildUnnamed1233();
+ o.jobBenefits = buildUnnamed1234();
o.jobEndTime = "foo";
o.jobLevel = "foo";
o.jobStartTime = "foo";
@@ -1405,19 +1405,19 @@
checkGoogleCloudTalentV4Job(api.GoogleCloudTalentV4Job o) {
buildCounterGoogleCloudTalentV4Job++;
if (buildCounterGoogleCloudTalentV4Job < 3) {
- checkUnnamed1229(o.addresses);
+ checkUnnamed1230(o.addresses);
checkGoogleCloudTalentV4JobApplicationInfo(o.applicationInfo);
unittest.expect(o.company, unittest.equals('foo'));
unittest.expect(o.companyDisplayName, unittest.equals('foo'));
checkGoogleCloudTalentV4CompensationInfo(o.compensationInfo);
- checkUnnamed1230(o.customAttributes);
- checkUnnamed1231(o.degreeTypes);
+ checkUnnamed1231(o.customAttributes);
+ checkUnnamed1232(o.degreeTypes);
unittest.expect(o.department, unittest.equals('foo'));
checkGoogleCloudTalentV4JobDerivedInfo(o.derivedInfo);
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed1232(o.employmentTypes);
+ checkUnnamed1233(o.employmentTypes);
unittest.expect(o.incentives, unittest.equals('foo'));
- checkUnnamed1233(o.jobBenefits);
+ checkUnnamed1234(o.jobBenefits);
unittest.expect(o.jobEndTime, unittest.equals('foo'));
unittest.expect(o.jobLevel, unittest.equals('foo'));
unittest.expect(o.jobStartTime, unittest.equals('foo'));
@@ -1439,19 +1439,6 @@
buildCounterGoogleCloudTalentV4Job--;
}
-buildUnnamed1234() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1234(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed1235() {
var o = new core.List<core.String>();
o.add("foo");
@@ -1465,30 +1452,6 @@
unittest.expect(o[1], unittest.equals('foo'));
}
-core.int buildCounterGoogleCloudTalentV4JobApplicationInfo = 0;
-buildGoogleCloudTalentV4JobApplicationInfo() {
- var o = new api.GoogleCloudTalentV4JobApplicationInfo();
- buildCounterGoogleCloudTalentV4JobApplicationInfo++;
- if (buildCounterGoogleCloudTalentV4JobApplicationInfo < 3) {
- o.emails = buildUnnamed1234();
- o.instruction = "foo";
- o.uris = buildUnnamed1235();
- }
- buildCounterGoogleCloudTalentV4JobApplicationInfo--;
- return o;
-}
-
-checkGoogleCloudTalentV4JobApplicationInfo(
- api.GoogleCloudTalentV4JobApplicationInfo o) {
- buildCounterGoogleCloudTalentV4JobApplicationInfo++;
- if (buildCounterGoogleCloudTalentV4JobApplicationInfo < 3) {
- checkUnnamed1234(o.emails);
- unittest.expect(o.instruction, unittest.equals('foo'));
- checkUnnamed1235(o.uris);
- }
- buildCounterGoogleCloudTalentV4JobApplicationInfo--;
-}
-
buildUnnamed1236() {
var o = new core.List<core.String>();
o.add("foo");
@@ -1502,14 +1465,51 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+core.int buildCounterGoogleCloudTalentV4JobApplicationInfo = 0;
+buildGoogleCloudTalentV4JobApplicationInfo() {
+ var o = new api.GoogleCloudTalentV4JobApplicationInfo();
+ buildCounterGoogleCloudTalentV4JobApplicationInfo++;
+ if (buildCounterGoogleCloudTalentV4JobApplicationInfo < 3) {
+ o.emails = buildUnnamed1235();
+ o.instruction = "foo";
+ o.uris = buildUnnamed1236();
+ }
+ buildCounterGoogleCloudTalentV4JobApplicationInfo--;
+ return o;
+}
+
+checkGoogleCloudTalentV4JobApplicationInfo(
+ api.GoogleCloudTalentV4JobApplicationInfo o) {
+ buildCounterGoogleCloudTalentV4JobApplicationInfo++;
+ if (buildCounterGoogleCloudTalentV4JobApplicationInfo < 3) {
+ checkUnnamed1235(o.emails);
+ unittest.expect(o.instruction, unittest.equals('foo'));
+ checkUnnamed1236(o.uris);
+ }
+ buildCounterGoogleCloudTalentV4JobApplicationInfo--;
+}
+
buildUnnamed1237() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1237(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed1238() {
var o = new core.List<api.GoogleCloudTalentV4Location>();
o.add(buildGoogleCloudTalentV4Location());
o.add(buildGoogleCloudTalentV4Location());
return o;
}
-checkUnnamed1237(core.List<api.GoogleCloudTalentV4Location> o) {
+checkUnnamed1238(core.List<api.GoogleCloudTalentV4Location> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudTalentV4Location(o[0]);
checkGoogleCloudTalentV4Location(o[1]);
@@ -1520,8 +1520,8 @@
var o = new api.GoogleCloudTalentV4JobDerivedInfo();
buildCounterGoogleCloudTalentV4JobDerivedInfo++;
if (buildCounterGoogleCloudTalentV4JobDerivedInfo < 3) {
- o.jobCategories = buildUnnamed1236();
- o.locations = buildUnnamed1237();
+ o.jobCategories = buildUnnamed1237();
+ o.locations = buildUnnamed1238();
}
buildCounterGoogleCloudTalentV4JobDerivedInfo--;
return o;
@@ -1531,8 +1531,8 @@
api.GoogleCloudTalentV4JobDerivedInfo o) {
buildCounterGoogleCloudTalentV4JobDerivedInfo++;
if (buildCounterGoogleCloudTalentV4JobDerivedInfo < 3) {
- checkUnnamed1236(o.jobCategories);
- checkUnnamed1237(o.locations);
+ checkUnnamed1237(o.jobCategories);
+ checkUnnamed1238(o.locations);
}
buildCounterGoogleCloudTalentV4JobDerivedInfo--;
}
@@ -1605,40 +1605,40 @@
buildCounterGoogleCloudTalentV4Location--;
}
-buildUnnamed1238() {
+buildUnnamed1239() {
var o = new core.List<api.CompensationHistogramRequest>();
o.add(buildCompensationHistogramRequest());
o.add(buildCompensationHistogramRequest());
return o;
}
-checkUnnamed1238(core.List<api.CompensationHistogramRequest> o) {
+checkUnnamed1239(core.List<api.CompensationHistogramRequest> o) {
unittest.expect(o, unittest.hasLength(2));
checkCompensationHistogramRequest(o[0]);
checkCompensationHistogramRequest(o[1]);
}
-buildUnnamed1239() {
+buildUnnamed1240() {
var o = new core.List<api.CustomAttributeHistogramRequest>();
o.add(buildCustomAttributeHistogramRequest());
o.add(buildCustomAttributeHistogramRequest());
return o;
}
-checkUnnamed1239(core.List<api.CustomAttributeHistogramRequest> o) {
+checkUnnamed1240(core.List<api.CustomAttributeHistogramRequest> o) {
unittest.expect(o, unittest.hasLength(2));
checkCustomAttributeHistogramRequest(o[0]);
checkCustomAttributeHistogramRequest(o[1]);
}
-buildUnnamed1240() {
+buildUnnamed1241() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1240(core.List<core.String> o) {
+checkUnnamed1241(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1649,9 +1649,9 @@
var o = new api.HistogramFacets();
buildCounterHistogramFacets++;
if (buildCounterHistogramFacets < 3) {
- o.compensationHistogramFacets = buildUnnamed1238();
- o.customAttributeHistogramFacets = buildUnnamed1239();
- o.simpleHistogramFacets = buildUnnamed1240();
+ o.compensationHistogramFacets = buildUnnamed1239();
+ o.customAttributeHistogramFacets = buildUnnamed1240();
+ o.simpleHistogramFacets = buildUnnamed1241();
}
buildCounterHistogramFacets--;
return o;
@@ -1660,21 +1660,21 @@
checkHistogramFacets(api.HistogramFacets o) {
buildCounterHistogramFacets++;
if (buildCounterHistogramFacets < 3) {
- checkUnnamed1238(o.compensationHistogramFacets);
- checkUnnamed1239(o.customAttributeHistogramFacets);
- checkUnnamed1240(o.simpleHistogramFacets);
+ checkUnnamed1239(o.compensationHistogramFacets);
+ checkUnnamed1240(o.customAttributeHistogramFacets);
+ checkUnnamed1241(o.simpleHistogramFacets);
}
buildCounterHistogramFacets--;
}
-buildUnnamed1241() {
+buildUnnamed1242() {
var o = new core.Map<core.String, core.int>();
o["x"] = 42;
o["y"] = 42;
return o;
}
-checkUnnamed1241(core.Map<core.String, core.int> o) {
+checkUnnamed1242(core.Map<core.String, core.int> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals(42));
unittest.expect(o["y"], unittest.equals(42));
@@ -1686,7 +1686,7 @@
buildCounterHistogramResult++;
if (buildCounterHistogramResult < 3) {
o.searchType = "foo";
- o.values = buildUnnamed1241();
+ o.values = buildUnnamed1242();
}
buildCounterHistogramResult--;
return o;
@@ -1696,45 +1696,45 @@
buildCounterHistogramResult++;
if (buildCounterHistogramResult < 3) {
unittest.expect(o.searchType, unittest.equals('foo'));
- checkUnnamed1241(o.values);
+ checkUnnamed1242(o.values);
}
buildCounterHistogramResult--;
}
-buildUnnamed1242() {
+buildUnnamed1243() {
var o = new core.List<api.CompensationHistogramResult>();
o.add(buildCompensationHistogramResult());
o.add(buildCompensationHistogramResult());
return o;
}
-checkUnnamed1242(core.List<api.CompensationHistogramResult> o) {
+checkUnnamed1243(core.List<api.CompensationHistogramResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkCompensationHistogramResult(o[0]);
checkCompensationHistogramResult(o[1]);
}
-buildUnnamed1243() {
+buildUnnamed1244() {
var o = new core.List<api.CustomAttributeHistogramResult>();
o.add(buildCustomAttributeHistogramResult());
o.add(buildCustomAttributeHistogramResult());
return o;
}
-checkUnnamed1243(core.List<api.CustomAttributeHistogramResult> o) {
+checkUnnamed1244(core.List<api.CustomAttributeHistogramResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkCustomAttributeHistogramResult(o[0]);
checkCustomAttributeHistogramResult(o[1]);
}
-buildUnnamed1244() {
+buildUnnamed1245() {
var o = new core.List<api.HistogramResult>();
o.add(buildHistogramResult());
o.add(buildHistogramResult());
return o;
}
-checkUnnamed1244(core.List<api.HistogramResult> o) {
+checkUnnamed1245(core.List<api.HistogramResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkHistogramResult(o[0]);
checkHistogramResult(o[1]);
@@ -1745,9 +1745,9 @@
var o = new api.HistogramResults();
buildCounterHistogramResults++;
if (buildCounterHistogramResults < 3) {
- o.compensationHistogramResults = buildUnnamed1242();
- o.customAttributeHistogramResults = buildUnnamed1243();
- o.simpleHistogramResults = buildUnnamed1244();
+ o.compensationHistogramResults = buildUnnamed1243();
+ o.customAttributeHistogramResults = buildUnnamed1244();
+ o.simpleHistogramResults = buildUnnamed1245();
}
buildCounterHistogramResults--;
return o;
@@ -1756,26 +1756,13 @@
checkHistogramResults(api.HistogramResults o) {
buildCounterHistogramResults++;
if (buildCounterHistogramResults < 3) {
- checkUnnamed1242(o.compensationHistogramResults);
- checkUnnamed1243(o.customAttributeHistogramResults);
- checkUnnamed1244(o.simpleHistogramResults);
+ checkUnnamed1243(o.compensationHistogramResults);
+ checkUnnamed1244(o.customAttributeHistogramResults);
+ checkUnnamed1245(o.simpleHistogramResults);
}
buildCounterHistogramResults--;
}
-buildUnnamed1245() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1245(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed1246() {
var o = new core.List<core.String>();
o.add("foo");
@@ -1803,31 +1790,31 @@
}
buildUnnamed1248() {
- var o = new core.Map<core.String, api.CustomAttribute>();
- o["x"] = buildCustomAttribute();
- o["y"] = buildCustomAttribute();
- return o;
-}
-
-checkUnnamed1248(core.Map<core.String, api.CustomAttribute> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkCustomAttribute(o["x"]);
- checkCustomAttribute(o["y"]);
-}
-
-buildUnnamed1249() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1249(core.List<core.String> o) {
+checkUnnamed1248(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed1249() {
+ var o = new core.Map<core.String, api.CustomAttribute>();
+ o["x"] = buildCustomAttribute();
+ o["y"] = buildCustomAttribute();
+ return o;
+}
+
+checkUnnamed1249(core.Map<core.String, api.CustomAttribute> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkCustomAttribute(o["x"]);
+ checkCustomAttribute(o["y"]);
+}
+
buildUnnamed1250() {
var o = new core.List<core.String>();
o.add("foo");
@@ -1842,52 +1829,65 @@
}
buildUnnamed1251() {
- var o = new core.Map<core.String, api.CustomField>();
- o["x"] = buildCustomField();
- o["y"] = buildCustomField();
- return o;
-}
-
-checkUnnamed1251(core.Map<core.String, api.CustomField> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkCustomField(o["x"]);
- checkCustomField(o["y"]);
-}
-
-buildUnnamed1252() {
- var o = new core.List<api.JobLocation>();
- o.add(buildJobLocation());
- o.add(buildJobLocation());
- return o;
-}
-
-checkUnnamed1252(core.List<api.JobLocation> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkJobLocation(o[0]);
- checkJobLocation(o[1]);
-}
-
-buildUnnamed1253() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1253(core.List<core.String> o) {
+checkUnnamed1251(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1254() {
+buildUnnamed1252() {
var o = new core.Map<core.String, api.CustomField>();
o["x"] = buildCustomField();
o["y"] = buildCustomField();
return o;
}
-checkUnnamed1254(core.Map<core.String, api.CustomField> o) {
+checkUnnamed1252(core.Map<core.String, api.CustomField> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkCustomField(o["x"]);
+ checkCustomField(o["y"]);
+}
+
+buildUnnamed1253() {
+ var o = new core.List<api.JobLocation>();
+ o.add(buildJobLocation());
+ o.add(buildJobLocation());
+ return o;
+}
+
+checkUnnamed1253(core.List<api.JobLocation> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkJobLocation(o[0]);
+ checkJobLocation(o[1]);
+}
+
+buildUnnamed1254() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1254(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed1255() {
+ var o = new core.Map<core.String, api.CustomField>();
+ o["x"] = buildCustomField();
+ o["y"] = buildCustomField();
+ return o;
+}
+
+checkUnnamed1255(core.Map<core.String, api.CustomField> o) {
unittest.expect(o, unittest.hasLength(2));
checkCustomField(o["x"]);
checkCustomField(o["y"]);
@@ -1898,32 +1898,32 @@
var o = new api.Job();
buildCounterJob++;
if (buildCounterJob < 3) {
- o.applicationEmailList = buildUnnamed1245();
+ o.applicationEmailList = buildUnnamed1246();
o.applicationInstruction = "foo";
- o.applicationUrls = buildUnnamed1246();
- o.benefits = buildUnnamed1247();
+ o.applicationUrls = buildUnnamed1247();
+ o.benefits = buildUnnamed1248();
o.companyDisplayName = "foo";
o.companyName = "foo";
o.companyTitle = "foo";
o.compensationInfo = buildCompensationInfo();
o.createTime = "foo";
- o.customAttributes = buildUnnamed1248();
+ o.customAttributes = buildUnnamed1249();
o.department = "foo";
o.description = "foo";
o.distributorCompanyId = "foo";
- o.educationLevels = buildUnnamed1249();
- o.employmentTypes = buildUnnamed1250();
+ o.educationLevels = buildUnnamed1250();
+ o.employmentTypes = buildUnnamed1251();
o.endDate = buildDate();
o.expireTime = "foo";
o.expiryDate = buildDate();
o.extendedCompensationInfo = buildExtendedCompensationInfo();
- o.filterableCustomFields = buildUnnamed1251();
+ o.filterableCustomFields = buildUnnamed1252();
o.incentives = "foo";
- o.jobLocations = buildUnnamed1252();
+ o.jobLocations = buildUnnamed1253();
o.jobTitle = "foo";
o.languageCode = "foo";
o.level = "foo";
- o.locations = buildUnnamed1253();
+ o.locations = buildUnnamed1254();
o.name = "foo";
o.promotionValue = 42;
o.publishDate = buildDate();
@@ -1933,7 +1933,7 @@
o.requisitionId = "foo";
o.responsibilities = "foo";
o.startDate = buildDate();
- o.unindexedCustomFields = buildUnnamed1254();
+ o.unindexedCustomFields = buildUnnamed1255();
o.updateTime = "foo";
o.visibility = "foo";
}
@@ -1944,32 +1944,32 @@
checkJob(api.Job o) {
buildCounterJob++;
if (buildCounterJob < 3) {
- checkUnnamed1245(o.applicationEmailList);
+ checkUnnamed1246(o.applicationEmailList);
unittest.expect(o.applicationInstruction, unittest.equals('foo'));
- checkUnnamed1246(o.applicationUrls);
- checkUnnamed1247(o.benefits);
+ checkUnnamed1247(o.applicationUrls);
+ checkUnnamed1248(o.benefits);
unittest.expect(o.companyDisplayName, unittest.equals('foo'));
unittest.expect(o.companyName, unittest.equals('foo'));
unittest.expect(o.companyTitle, unittest.equals('foo'));
checkCompensationInfo(o.compensationInfo);
unittest.expect(o.createTime, unittest.equals('foo'));
- checkUnnamed1248(o.customAttributes);
+ checkUnnamed1249(o.customAttributes);
unittest.expect(o.department, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.distributorCompanyId, unittest.equals('foo'));
- checkUnnamed1249(o.educationLevels);
- checkUnnamed1250(o.employmentTypes);
+ checkUnnamed1250(o.educationLevels);
+ checkUnnamed1251(o.employmentTypes);
checkDate(o.endDate);
unittest.expect(o.expireTime, unittest.equals('foo'));
checkDate(o.expiryDate);
checkExtendedCompensationInfo(o.extendedCompensationInfo);
- checkUnnamed1251(o.filterableCustomFields);
+ checkUnnamed1252(o.filterableCustomFields);
unittest.expect(o.incentives, unittest.equals('foo'));
- checkUnnamed1252(o.jobLocations);
+ checkUnnamed1253(o.jobLocations);
unittest.expect(o.jobTitle, unittest.equals('foo'));
unittest.expect(o.languageCode, unittest.equals('foo'));
unittest.expect(o.level, unittest.equals('foo'));
- checkUnnamed1253(o.locations);
+ checkUnnamed1254(o.locations);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.promotionValue, unittest.equals(42));
checkDate(o.publishDate);
@@ -1979,26 +1979,13 @@
unittest.expect(o.requisitionId, unittest.equals('foo'));
unittest.expect(o.responsibilities, unittest.equals('foo'));
checkDate(o.startDate);
- checkUnnamed1254(o.unindexedCustomFields);
+ checkUnnamed1255(o.unindexedCustomFields);
unittest.expect(o.updateTime, unittest.equals('foo'));
unittest.expect(o.visibility, unittest.equals('foo'));
}
buildCounterJob--;
}
-buildUnnamed1255() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1255(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed1256() {
var o = new core.List<core.String>();
o.add("foo");
@@ -2026,31 +2013,31 @@
}
buildUnnamed1258() {
- var o = new core.Map<core.String, api.CustomFieldFilter>();
- o["x"] = buildCustomFieldFilter();
- o["y"] = buildCustomFieldFilter();
- return o;
-}
-
-checkUnnamed1258(core.Map<core.String, api.CustomFieldFilter> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkCustomFieldFilter(o["x"]);
- checkCustomFieldFilter(o["y"]);
-}
-
-buildUnnamed1259() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1259(core.List<core.String> o) {
+checkUnnamed1258(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed1259() {
+ var o = new core.Map<core.String, api.CustomFieldFilter>();
+ o["x"] = buildCustomFieldFilter();
+ o["y"] = buildCustomFieldFilter();
+ return o;
+}
+
+checkUnnamed1259(core.Map<core.String, api.CustomFieldFilter> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkCustomFieldFilter(o["x"]);
+ checkCustomFieldFilter(o["y"]);
+}
+
buildUnnamed1260() {
var o = new core.List<core.String>();
o.add("foo");
@@ -2065,13 +2052,26 @@
}
buildUnnamed1261() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1261(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed1262() {
var o = new core.List<api.LocationFilter>();
o.add(buildLocationFilter());
o.add(buildLocationFilter());
return o;
}
-checkUnnamed1261(core.List<api.LocationFilter> o) {
+checkUnnamed1262(core.List<api.LocationFilter> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocationFilter(o[0]);
checkLocationFilter(o[1]);
@@ -2082,18 +2082,18 @@
var o = new api.JobFilters();
buildCounterJobFilters++;
if (buildCounterJobFilters < 3) {
- o.categories = buildUnnamed1255();
+ o.categories = buildUnnamed1256();
o.commuteFilter = buildCommutePreference();
- o.companyNames = buildUnnamed1256();
- o.companyTitles = buildUnnamed1257();
+ o.companyNames = buildUnnamed1257();
+ o.companyTitles = buildUnnamed1258();
o.compensationFilter = buildCompensationFilter();
o.customAttributeFilter = "foo";
- o.customFieldFilters = buildUnnamed1258();
+ o.customFieldFilters = buildUnnamed1259();
o.disableSpellCheck = true;
- o.employmentTypes = buildUnnamed1259();
+ o.employmentTypes = buildUnnamed1260();
o.extendedCompensationFilter = buildExtendedCompensationFilter();
- o.languageCodes = buildUnnamed1260();
- o.locationFilters = buildUnnamed1261();
+ o.languageCodes = buildUnnamed1261();
+ o.locationFilters = buildUnnamed1262();
o.publishDateRange = "foo";
o.query = "foo";
o.tenantJobOnly = true;
@@ -2105,18 +2105,18 @@
checkJobFilters(api.JobFilters o) {
buildCounterJobFilters++;
if (buildCounterJobFilters < 3) {
- checkUnnamed1255(o.categories);
+ checkUnnamed1256(o.categories);
checkCommutePreference(o.commuteFilter);
- checkUnnamed1256(o.companyNames);
- checkUnnamed1257(o.companyTitles);
+ checkUnnamed1257(o.companyNames);
+ checkUnnamed1258(o.companyTitles);
checkCompensationFilter(o.compensationFilter);
unittest.expect(o.customAttributeFilter, unittest.equals('foo'));
- checkUnnamed1258(o.customFieldFilters);
+ checkUnnamed1259(o.customFieldFilters);
unittest.expect(o.disableSpellCheck, unittest.isTrue);
- checkUnnamed1259(o.employmentTypes);
+ checkUnnamed1260(o.employmentTypes);
checkExtendedCompensationFilter(o.extendedCompensationFilter);
- checkUnnamed1260(o.languageCodes);
- checkUnnamed1261(o.locationFilters);
+ checkUnnamed1261(o.languageCodes);
+ checkUnnamed1262(o.locationFilters);
unittest.expect(o.publishDateRange, unittest.equals('foo'));
unittest.expect(o.query, unittest.equals('foo'));
unittest.expect(o.tenantJobOnly, unittest.isTrue);
@@ -2170,19 +2170,6 @@
buildCounterJobProcessingOptions--;
}
-buildUnnamed1262() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1262(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed1263() {
var o = new core.List<core.String>();
o.add("foo");
@@ -2236,13 +2223,26 @@
}
buildUnnamed1267() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1267(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed1268() {
var o = new core.List<api.LocationFilter>();
o.add(buildLocationFilter());
o.add(buildLocationFilter());
return o;
}
-checkUnnamed1267(core.List<api.LocationFilter> o) {
+checkUnnamed1268(core.List<api.LocationFilter> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocationFilter(o[0]);
checkLocationFilter(o[1]);
@@ -2253,16 +2253,16 @@
var o = new api.JobQuery();
buildCounterJobQuery++;
if (buildCounterJobQuery < 3) {
- o.categories = buildUnnamed1262();
+ o.categories = buildUnnamed1263();
o.commuteFilter = buildCommutePreference();
- o.companyDisplayNames = buildUnnamed1263();
- o.companyNames = buildUnnamed1264();
+ o.companyDisplayNames = buildUnnamed1264();
+ o.companyNames = buildUnnamed1265();
o.compensationFilter = buildCompensationFilter();
o.customAttributeFilter = "foo";
o.disableSpellCheck = true;
- o.employmentTypes = buildUnnamed1265();
- o.languageCodes = buildUnnamed1266();
- o.locationFilters = buildUnnamed1267();
+ o.employmentTypes = buildUnnamed1266();
+ o.languageCodes = buildUnnamed1267();
+ o.locationFilters = buildUnnamed1268();
o.publishDateRange = "foo";
o.query = "foo";
}
@@ -2273,16 +2273,16 @@
checkJobQuery(api.JobQuery o) {
buildCounterJobQuery++;
if (buildCounterJobQuery < 3) {
- checkUnnamed1262(o.categories);
+ checkUnnamed1263(o.categories);
checkCommutePreference(o.commuteFilter);
- checkUnnamed1263(o.companyDisplayNames);
- checkUnnamed1264(o.companyNames);
+ checkUnnamed1264(o.companyDisplayNames);
+ checkUnnamed1265(o.companyNames);
checkCompensationFilter(o.compensationFilter);
unittest.expect(o.customAttributeFilter, unittest.equals('foo'));
unittest.expect(o.disableSpellCheck, unittest.isTrue);
- checkUnnamed1265(o.employmentTypes);
- checkUnnamed1266(o.languageCodes);
- checkUnnamed1267(o.locationFilters);
+ checkUnnamed1266(o.employmentTypes);
+ checkUnnamed1267(o.languageCodes);
+ checkUnnamed1268(o.locationFilters);
unittest.expect(o.publishDateRange, unittest.equals('foo'));
unittest.expect(o.query, unittest.equals('foo'));
}
@@ -2310,14 +2310,14 @@
buildCounterLatLng--;
}
-buildUnnamed1268() {
+buildUnnamed1269() {
var o = new core.List<api.Company>();
o.add(buildCompany());
o.add(buildCompany());
return o;
}
-checkUnnamed1268(core.List<api.Company> o) {
+checkUnnamed1269(core.List<api.Company> o) {
unittest.expect(o, unittest.hasLength(2));
checkCompany(o[0]);
checkCompany(o[1]);
@@ -2328,7 +2328,7 @@
var o = new api.ListCompaniesResponse();
buildCounterListCompaniesResponse++;
if (buildCounterListCompaniesResponse < 3) {
- o.companies = buildUnnamed1268();
+ o.companies = buildUnnamed1269();
o.metadata = buildResponseMetadata();
o.nextPageToken = "foo";
}
@@ -2339,51 +2339,13 @@
checkListCompaniesResponse(api.ListCompaniesResponse o) {
buildCounterListCompaniesResponse++;
if (buildCounterListCompaniesResponse < 3) {
- checkUnnamed1268(o.companies);
+ checkUnnamed1269(o.companies);
checkResponseMetadata(o.metadata);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListCompaniesResponse--;
}
-buildUnnamed1269() {
- var o = new core.List<api.Job>();
- o.add(buildJob());
- o.add(buildJob());
- return o;
-}
-
-checkUnnamed1269(core.List<api.Job> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkJob(o[0]);
- checkJob(o[1]);
-}
-
-core.int buildCounterListCompanyJobsResponse = 0;
-buildListCompanyJobsResponse() {
- var o = new api.ListCompanyJobsResponse();
- buildCounterListCompanyJobsResponse++;
- if (buildCounterListCompanyJobsResponse < 3) {
- o.jobs = buildUnnamed1269();
- o.metadata = buildResponseMetadata();
- o.nextPageToken = "foo";
- o.totalSize = "foo";
- }
- buildCounterListCompanyJobsResponse--;
- return o;
-}
-
-checkListCompanyJobsResponse(api.ListCompanyJobsResponse o) {
- buildCounterListCompanyJobsResponse++;
- if (buildCounterListCompanyJobsResponse < 3) {
- checkUnnamed1269(o.jobs);
- checkResponseMetadata(o.metadata);
- unittest.expect(o.nextPageToken, unittest.equals('foo'));
- unittest.expect(o.totalSize, unittest.equals('foo'));
- }
- buildCounterListCompanyJobsResponse--;
-}
-
buildUnnamed1270() {
var o = new core.List<api.Job>();
o.add(buildJob());
@@ -2397,12 +2359,50 @@
checkJob(o[1]);
}
+core.int buildCounterListCompanyJobsResponse = 0;
+buildListCompanyJobsResponse() {
+ var o = new api.ListCompanyJobsResponse();
+ buildCounterListCompanyJobsResponse++;
+ if (buildCounterListCompanyJobsResponse < 3) {
+ o.jobs = buildUnnamed1270();
+ o.metadata = buildResponseMetadata();
+ o.nextPageToken = "foo";
+ o.totalSize = "foo";
+ }
+ buildCounterListCompanyJobsResponse--;
+ return o;
+}
+
+checkListCompanyJobsResponse(api.ListCompanyJobsResponse o) {
+ buildCounterListCompanyJobsResponse++;
+ if (buildCounterListCompanyJobsResponse < 3) {
+ checkUnnamed1270(o.jobs);
+ checkResponseMetadata(o.metadata);
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ unittest.expect(o.totalSize, unittest.equals('foo'));
+ }
+ buildCounterListCompanyJobsResponse--;
+}
+
+buildUnnamed1271() {
+ var o = new core.List<api.Job>();
+ o.add(buildJob());
+ o.add(buildJob());
+ return o;
+}
+
+checkUnnamed1271(core.List<api.Job> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkJob(o[0]);
+ checkJob(o[1]);
+}
+
core.int buildCounterListJobsResponse = 0;
buildListJobsResponse() {
var o = new api.ListJobsResponse();
buildCounterListJobsResponse++;
if (buildCounterListJobsResponse < 3) {
- o.jobs = buildUnnamed1270();
+ o.jobs = buildUnnamed1271();
o.metadata = buildResponseMetadata();
o.nextPageToken = "foo";
}
@@ -2413,7 +2413,7 @@
checkListJobsResponse(api.ListJobsResponse o) {
buildCounterListJobsResponse++;
if (buildCounterListJobsResponse < 3) {
- checkUnnamed1270(o.jobs);
+ checkUnnamed1271(o.jobs);
checkResponseMetadata(o.metadata);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -2474,14 +2474,14 @@
buildCounterMatchingJob--;
}
-buildUnnamed1271() {
+buildUnnamed1272() {
var o = new core.Map<core.String, api.NamespacedDebugInput>();
o["x"] = buildNamespacedDebugInput();
o["y"] = buildNamespacedDebugInput();
return o;
}
-checkUnnamed1271(core.Map<core.String, api.NamespacedDebugInput> o) {
+checkUnnamed1272(core.Map<core.String, api.NamespacedDebugInput> o) {
unittest.expect(o, unittest.hasLength(2));
checkNamespacedDebugInput(o["x"]);
checkNamespacedDebugInput(o["y"]);
@@ -2492,7 +2492,7 @@
var o = new api.MendelDebugInput();
buildCounterMendelDebugInput++;
if (buildCounterMendelDebugInput < 3) {
- o.namespacedDebugInput = buildUnnamed1271();
+ o.namespacedDebugInput = buildUnnamed1272();
}
buildCounterMendelDebugInput--;
return o;
@@ -2501,7 +2501,7 @@
checkMendelDebugInput(api.MendelDebugInput o) {
buildCounterMendelDebugInput++;
if (buildCounterMendelDebugInput < 3) {
- checkUnnamed1271(o.namespacedDebugInput);
+ checkUnnamed1272(o.namespacedDebugInput);
}
buildCounterMendelDebugInput--;
}
@@ -2529,19 +2529,6 @@
buildCounterMoney--;
}
-buildUnnamed1272() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1272(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed1273() {
var o = new core.List<core.String>();
o.add("foo");
@@ -2556,31 +2543,31 @@
}
buildUnnamed1274() {
- var o = new core.List<core.int>();
- o.add(42);
- o.add(42);
- return o;
-}
-
-checkUnnamed1274(core.List<core.int> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals(42));
- unittest.expect(o[1], unittest.equals(42));
-}
-
-buildUnnamed1275() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1275(core.List<core.String> o) {
+checkUnnamed1274(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed1275() {
+ var o = new core.List<core.int>();
+ o.add(42);
+ o.add(42);
+ return o;
+}
+
+checkUnnamed1275(core.List<core.int> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals(42));
+ unittest.expect(o[1], unittest.equals(42));
+}
+
buildUnnamed1276() {
var o = new core.List<core.String>();
o.add("foo");
@@ -2595,31 +2582,31 @@
}
buildUnnamed1277() {
- var o = new core.List<core.int>();
- o.add(42);
- o.add(42);
- return o;
-}
-
-checkUnnamed1277(core.List<core.int> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals(42));
- unittest.expect(o[1], unittest.equals(42));
-}
-
-buildUnnamed1278() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1278(core.List<core.String> o) {
+checkUnnamed1277(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed1278() {
+ var o = new core.List<core.int>();
+ o.add(42);
+ o.add(42);
+ return o;
+}
+
+checkUnnamed1278(core.List<core.int> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals(42));
+ unittest.expect(o[1], unittest.equals(42));
+}
+
buildUnnamed1279() {
var o = new core.List<core.String>();
o.add("foo");
@@ -2634,39 +2621,52 @@
}
buildUnnamed1280() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1280(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed1281() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed1280(core.List<core.int> o) {
+checkUnnamed1281(core.List<core.int> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42));
unittest.expect(o[1], unittest.equals(42));
}
-buildUnnamed1281() {
+buildUnnamed1282() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1281(core.Map<core.String, core.String> o) {
+checkUnnamed1282(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed1282() {
+buildUnnamed1283() {
var o = new core.Map<core.String, core.bool>();
o["x"] = true;
o["y"] = true;
return o;
}
-checkUnnamed1282(core.Map<core.String, core.bool> o) {
+checkUnnamed1283(core.Map<core.String, core.bool> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.isTrue);
unittest.expect(o["y"], unittest.isTrue);
@@ -2677,20 +2677,20 @@
var o = new api.NamespacedDebugInput();
buildCounterNamespacedDebugInput++;
if (buildCounterNamespacedDebugInput < 3) {
- o.absolutelyForcedExpNames = buildUnnamed1272();
- o.absolutelyForcedExpTags = buildUnnamed1273();
- o.absolutelyForcedExps = buildUnnamed1274();
- o.conditionallyForcedExpNames = buildUnnamed1275();
- o.conditionallyForcedExpTags = buildUnnamed1276();
- o.conditionallyForcedExps = buildUnnamed1277();
+ o.absolutelyForcedExpNames = buildUnnamed1273();
+ o.absolutelyForcedExpTags = buildUnnamed1274();
+ o.absolutelyForcedExps = buildUnnamed1275();
+ o.conditionallyForcedExpNames = buildUnnamed1276();
+ o.conditionallyForcedExpTags = buildUnnamed1277();
+ o.conditionallyForcedExps = buildUnnamed1278();
o.disableAutomaticEnrollmentSelection = true;
- o.disableExpNames = buildUnnamed1278();
- o.disableExpTags = buildUnnamed1279();
- o.disableExps = buildUnnamed1280();
+ o.disableExpNames = buildUnnamed1279();
+ o.disableExpTags = buildUnnamed1280();
+ o.disableExps = buildUnnamed1281();
o.disableManualEnrollmentSelection = true;
o.disableOrganicSelection = true;
- o.forcedFlags = buildUnnamed1281();
- o.forcedRollouts = buildUnnamed1282();
+ o.forcedFlags = buildUnnamed1282();
+ o.forcedRollouts = buildUnnamed1283();
}
buildCounterNamespacedDebugInput--;
return o;
@@ -2699,32 +2699,32 @@
checkNamespacedDebugInput(api.NamespacedDebugInput o) {
buildCounterNamespacedDebugInput++;
if (buildCounterNamespacedDebugInput < 3) {
- checkUnnamed1272(o.absolutelyForcedExpNames);
- checkUnnamed1273(o.absolutelyForcedExpTags);
- checkUnnamed1274(o.absolutelyForcedExps);
- checkUnnamed1275(o.conditionallyForcedExpNames);
- checkUnnamed1276(o.conditionallyForcedExpTags);
- checkUnnamed1277(o.conditionallyForcedExps);
+ checkUnnamed1273(o.absolutelyForcedExpNames);
+ checkUnnamed1274(o.absolutelyForcedExpTags);
+ checkUnnamed1275(o.absolutelyForcedExps);
+ checkUnnamed1276(o.conditionallyForcedExpNames);
+ checkUnnamed1277(o.conditionallyForcedExpTags);
+ checkUnnamed1278(o.conditionallyForcedExps);
unittest.expect(o.disableAutomaticEnrollmentSelection, unittest.isTrue);
- checkUnnamed1278(o.disableExpNames);
- checkUnnamed1279(o.disableExpTags);
- checkUnnamed1280(o.disableExps);
+ checkUnnamed1279(o.disableExpNames);
+ checkUnnamed1280(o.disableExpTags);
+ checkUnnamed1281(o.disableExps);
unittest.expect(o.disableManualEnrollmentSelection, unittest.isTrue);
unittest.expect(o.disableOrganicSelection, unittest.isTrue);
- checkUnnamed1281(o.forcedFlags);
- checkUnnamed1282(o.forcedRollouts);
+ checkUnnamed1282(o.forcedFlags);
+ checkUnnamed1283(o.forcedRollouts);
}
buildCounterNamespacedDebugInput--;
}
-buildUnnamed1283() {
+buildUnnamed1284() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed1283(core.List<core.double> o) {
+checkUnnamed1284(core.List<core.double> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42.0));
unittest.expect(o[1], unittest.equals(42.0));
@@ -2735,7 +2735,7 @@
var o = new api.NumericBucketingOption();
buildCounterNumericBucketingOption++;
if (buildCounterNumericBucketingOption < 3) {
- o.bucketBounds = buildUnnamed1283();
+ o.bucketBounds = buildUnnamed1284();
o.requiresMinMax = true;
}
buildCounterNumericBucketingOption--;
@@ -2745,20 +2745,20 @@
checkNumericBucketingOption(api.NumericBucketingOption o) {
buildCounterNumericBucketingOption++;
if (buildCounterNumericBucketingOption < 3) {
- checkUnnamed1283(o.bucketBounds);
+ checkUnnamed1284(o.bucketBounds);
unittest.expect(o.requiresMinMax, unittest.isTrue);
}
buildCounterNumericBucketingOption--;
}
-buildUnnamed1284() {
+buildUnnamed1285() {
var o = new core.List<api.BucketizedCount>();
o.add(buildBucketizedCount());
o.add(buildBucketizedCount());
return o;
}
-checkUnnamed1284(core.List<api.BucketizedCount> o) {
+checkUnnamed1285(core.List<api.BucketizedCount> o) {
unittest.expect(o, unittest.hasLength(2));
checkBucketizedCount(o[0]);
checkBucketizedCount(o[1]);
@@ -2769,7 +2769,7 @@
var o = new api.NumericBucketingResult();
buildCounterNumericBucketingResult++;
if (buildCounterNumericBucketingResult < 3) {
- o.counts = buildUnnamed1284();
+ o.counts = buildUnnamed1285();
o.maxValue = 42.0;
o.minValue = 42.0;
}
@@ -2780,26 +2780,13 @@
checkNumericBucketingResult(api.NumericBucketingResult o) {
buildCounterNumericBucketingResult++;
if (buildCounterNumericBucketingResult < 3) {
- checkUnnamed1284(o.counts);
+ checkUnnamed1285(o.counts);
unittest.expect(o.maxValue, unittest.equals(42.0));
unittest.expect(o.minValue, unittest.equals(42.0));
}
buildCounterNumericBucketingResult--;
}
-buildUnnamed1285() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1285(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed1286() {
var o = new core.List<core.String>();
o.add("foo");
@@ -2813,18 +2800,31 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed1287() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1287(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
core.int buildCounterPostalAddress = 0;
buildPostalAddress() {
var o = new api.PostalAddress();
buildCounterPostalAddress++;
if (buildCounterPostalAddress < 3) {
- o.addressLines = buildUnnamed1285();
+ o.addressLines = buildUnnamed1286();
o.administrativeArea = "foo";
o.languageCode = "foo";
o.locality = "foo";
o.organization = "foo";
o.postalCode = "foo";
- o.recipients = buildUnnamed1286();
+ o.recipients = buildUnnamed1287();
o.regionCode = "foo";
o.revision = 42;
o.sortingCode = "foo";
@@ -2837,13 +2837,13 @@
checkPostalAddress(api.PostalAddress o) {
buildCounterPostalAddress++;
if (buildCounterPostalAddress < 3) {
- checkUnnamed1285(o.addressLines);
+ checkUnnamed1286(o.addressLines);
unittest.expect(o.administrativeArea, unittest.equals('foo'));
unittest.expect(o.languageCode, unittest.equals('foo'));
unittest.expect(o.locality, unittest.equals('foo'));
unittest.expect(o.organization, unittest.equals('foo'));
unittest.expect(o.postalCode, unittest.equals('foo'));
- checkUnnamed1286(o.recipients);
+ checkUnnamed1287(o.recipients);
unittest.expect(o.regionCode, unittest.equals('foo'));
unittest.expect(o.revision, unittest.equals(42));
unittest.expect(o.sortingCode, unittest.equals('foo'));
@@ -2877,14 +2877,14 @@
buildCounterRequestMetadata--;
}
-buildUnnamed1287() {
+buildUnnamed1288() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed1287(core.List<core.int> o) {
+checkUnnamed1288(core.List<core.int> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42));
unittest.expect(o[1], unittest.equals(42));
@@ -2895,7 +2895,7 @@
var o = new api.ResponseMetadata();
buildCounterResponseMetadata++;
if (buildCounterResponseMetadata < 3) {
- o.experimentIdList = buildUnnamed1287();
+ o.experimentIdList = buildUnnamed1288();
o.mode = "foo";
o.requestId = "foo";
}
@@ -2906,7 +2906,7 @@
checkResponseMetadata(api.ResponseMetadata o) {
buildCounterResponseMetadata++;
if (buildCounterResponseMetadata < 3) {
- checkUnnamed1287(o.experimentIdList);
+ checkUnnamed1288(o.experimentIdList);
unittest.expect(o.mode, unittest.equals('foo'));
unittest.expect(o.requestId, unittest.equals('foo'));
}
@@ -2958,27 +2958,27 @@
buildCounterSearchJobsRequest--;
}
-buildUnnamed1288() {
+buildUnnamed1289() {
var o = new core.List<api.JobLocation>();
o.add(buildJobLocation());
o.add(buildJobLocation());
return o;
}
-checkUnnamed1288(core.List<api.JobLocation> o) {
+checkUnnamed1289(core.List<api.JobLocation> o) {
unittest.expect(o, unittest.hasLength(2));
checkJobLocation(o[0]);
checkJobLocation(o[1]);
}
-buildUnnamed1289() {
+buildUnnamed1290() {
var o = new core.List<api.MatchingJob>();
o.add(buildMatchingJob());
o.add(buildMatchingJob());
return o;
}
-checkUnnamed1289(core.List<api.MatchingJob> o) {
+checkUnnamed1290(core.List<api.MatchingJob> o) {
unittest.expect(o, unittest.hasLength(2));
checkMatchingJob(o[0]);
checkMatchingJob(o[1]);
@@ -2990,11 +2990,11 @@
buildCounterSearchJobsResponse++;
if (buildCounterSearchJobsResponse < 3) {
o.appliedCommuteFilter = buildCommutePreference();
- o.appliedJobLocationFilters = buildUnnamed1288();
+ o.appliedJobLocationFilters = buildUnnamed1289();
o.estimatedTotalSize = "foo";
o.histogramResults = buildHistogramResults();
o.jobView = "foo";
- o.matchingJobs = buildUnnamed1289();
+ o.matchingJobs = buildUnnamed1290();
o.metadata = buildResponseMetadata();
o.nextPageToken = "foo";
o.numJobsFromBroadenedQuery = 42;
@@ -3009,11 +3009,11 @@
buildCounterSearchJobsResponse++;
if (buildCounterSearchJobsResponse < 3) {
checkCommutePreference(o.appliedCommuteFilter);
- checkUnnamed1288(o.appliedJobLocationFilters);
+ checkUnnamed1289(o.appliedJobLocationFilters);
unittest.expect(o.estimatedTotalSize, unittest.equals('foo'));
checkHistogramResults(o.histogramResults);
unittest.expect(o.jobView, unittest.equals('foo'));
- checkUnnamed1289(o.matchingJobs);
+ checkUnnamed1290(o.matchingJobs);
checkResponseMetadata(o.metadata);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.numJobsFromBroadenedQuery, unittest.equals(42));
@@ -3044,7 +3044,7 @@
buildCounterSpellingCorrection--;
}
-buildUnnamed1290() {
+buildUnnamed1291() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -3059,7 +3059,7 @@
return o;
}
-checkUnnamed1290(core.Map<core.String, core.Object> o) {
+checkUnnamed1291(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o["x"]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -3073,17 +3073,17 @@
unittest.expect(casted2["string"], unittest.equals('foo'));
}
-buildUnnamed1291() {
+buildUnnamed1292() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed1290());
- o.add(buildUnnamed1290());
+ o.add(buildUnnamed1291());
+ o.add(buildUnnamed1291());
return o;
}
-checkUnnamed1291(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed1292(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1290(o[0]);
- checkUnnamed1290(o[1]);
+ checkUnnamed1291(o[0]);
+ checkUnnamed1291(o[1]);
}
core.int buildCounterStatus = 0;
@@ -3092,7 +3092,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed1291();
+ o.details = buildUnnamed1292();
o.message = "foo";
}
buildCounterStatus--;
@@ -3103,20 +3103,20 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed1291(o.details);
+ checkUnnamed1292(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
}
-buildUnnamed1292() {
+buildUnnamed1293() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1292(core.List<core.String> o) {
+checkUnnamed1293(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3127,7 +3127,7 @@
var o = new api.StringValues();
buildCounterStringValues++;
if (buildCounterStringValues < 3) {
- o.values = buildUnnamed1292();
+ o.values = buildUnnamed1293();
}
buildCounterStringValues--;
return o;
@@ -3136,7 +3136,7 @@
checkStringValues(api.StringValues o) {
buildCounterStringValues++;
if (buildCounterStringValues < 3) {
- checkUnnamed1292(o.values);
+ checkUnnamed1293(o.values);
}
buildCounterStringValues--;
}
@@ -3940,9 +3940,9 @@
unittest.test("method--list", () {
var mock = new HttpServerMock();
api.CompaniesResourceApi res = new api.JobsApi(mock).companies;
- var arg_pageToken = "foo";
var arg_mustHaveOpenJobs = 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;
@@ -3974,12 +3974,12 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["mustHaveOpenJobs"].first,
unittest.equals("$arg_mustHaveOpenJobs"));
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 = {
@@ -3990,9 +3990,9 @@
}), true);
res
.list(
- pageToken: arg_pageToken,
mustHaveOpenJobs: arg_mustHaveOpenJobs,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListCompaniesResponse(response);
@@ -4065,11 +4065,11 @@
var mock = new HttpServerMock();
api.CompaniesJobsResourceApi res = new 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_jobRequisitionId = "foo";
- var arg_includeJobsCount = true;
+ var arg_idsOnly = true;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -4102,16 +4102,16 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(
- queryMap["idsOnly"].first, unittest.equals("$arg_idsOnly"));
+ unittest.expect(queryMap["includeJobsCount"].first,
+ unittest.equals("$arg_includeJobsCount"));
+ unittest.expect(queryMap["jobRequisitionId"].first,
+ unittest.equals(arg_jobRequisitionId));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(queryMap["jobRequisitionId"].first,
- unittest.equals(arg_jobRequisitionId));
- unittest.expect(queryMap["includeJobsCount"].first,
- unittest.equals("$arg_includeJobsCount"));
+ unittest.expect(
+ queryMap["idsOnly"].first, unittest.equals("$arg_idsOnly"));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4122,11 +4122,11 @@
}), true);
res
.list(arg_companyName,
- idsOnly: arg_idsOnly,
+ includeJobsCount: arg_includeJobsCount,
+ jobRequisitionId: arg_jobRequisitionId,
pageSize: arg_pageSize,
pageToken: arg_pageToken,
- jobRequisitionId: arg_jobRequisitionId,
- includeJobsCount: arg_includeJobsCount,
+ idsOnly: arg_idsOnly,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListCompanyJobsResponse(response);
@@ -4456,10 +4456,10 @@
unittest.test("method--list", () {
var mock = new HttpServerMock();
api.JobsResourceApi res = new api.JobsApi(mock).jobs;
- var arg_pageToken = "foo";
- var arg_filter = "foo";
var arg_pageSize = 42;
+ var arg_filter = "foo";
var arg_idsOnly = true;
+ var arg_pageToken = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -4491,13 +4491,13 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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["idsOnly"].first, unittest.equals("$arg_idsOnly"));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4508,10 +4508,10 @@
}), true);
res
.list(
- pageToken: arg_pageToken,
- filter: arg_filter,
pageSize: arg_pageSize,
+ filter: arg_filter,
idsOnly: arg_idsOnly,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListJobsResponse(response);
@@ -4684,12 +4684,12 @@
unittest.test("method--complete", () {
var mock = new HttpServerMock();
api.V2ResourceApi res = new api.JobsApi(mock).v2;
- var arg_companyName = "foo";
- var arg_pageSize = 42;
- var arg_query = "foo";
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_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -4722,14 +4722,14 @@
}
}
unittest.expect(
- queryMap["companyName"].first, unittest.equals(arg_companyName));
+ 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["query"].first, unittest.equals(arg_query));
- unittest.expect(
- queryMap["languageCode"].first, unittest.equals(arg_languageCode));
unittest.expect(queryMap["type"].first, unittest.equals(arg_type));
unittest.expect(queryMap["scope"].first, unittest.equals(arg_scope));
+ unittest.expect(
+ queryMap["companyName"].first, unittest.equals(arg_companyName));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4740,12 +4740,12 @@
}), true);
res
.complete(
- companyName: arg_companyName,
- pageSize: arg_pageSize,
- query: arg_query,
languageCode: arg_languageCode,
+ query: arg_query,
+ pageSize: arg_pageSize,
type: arg_type,
scope: arg_scope,
+ companyName: arg_companyName,
$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 60aa1b8..ec94a5b 100644
--- a/generated/googleapis/test/jobs/v3_test.dart
+++ b/generated/googleapis/test/jobs/v3_test.dart
@@ -50,27 +50,27 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed3229() {
+buildUnnamed3233() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3229(core.List<core.String> o) {
+checkUnnamed3233(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3230() {
+buildUnnamed3234() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3230(core.List<core.String> o) {
+checkUnnamed3234(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -81,9 +81,9 @@
var o = new api.ApplicationInfo();
buildCounterApplicationInfo++;
if (buildCounterApplicationInfo < 3) {
- o.emails = buildUnnamed3229();
+ o.emails = buildUnnamed3233();
o.instruction = "foo";
- o.uris = buildUnnamed3230();
+ o.uris = buildUnnamed3234();
}
buildCounterApplicationInfo--;
return o;
@@ -92,9 +92,9 @@
checkApplicationInfo(api.ApplicationInfo o) {
buildCounterApplicationInfo++;
if (buildCounterApplicationInfo < 3) {
- checkUnnamed3229(o.emails);
+ checkUnnamed3233(o.emails);
unittest.expect(o.instruction, unittest.equals('foo'));
- checkUnnamed3230(o.uris);
+ checkUnnamed3234(o.uris);
}
buildCounterApplicationInfo--;
}
@@ -160,14 +160,14 @@
buildCounterBucketizedCount--;
}
-buildUnnamed3231() {
+buildUnnamed3235() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3231(core.Map<core.String, core.String> o) {
+checkUnnamed3235(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -180,7 +180,7 @@
if (buildCounterClientEvent < 3) {
o.createTime = "foo";
o.eventId = "foo";
- o.extraInfo = buildUnnamed3231();
+ o.extraInfo = buildUnnamed3235();
o.jobEvent = buildJobEvent();
o.parentEventId = "foo";
o.requestId = "foo";
@@ -194,7 +194,7 @@
if (buildCounterClientEvent < 3) {
unittest.expect(o.createTime, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed3231(o.extraInfo);
+ checkUnnamed3235(o.extraInfo);
checkJobEvent(o.jobEvent);
unittest.expect(o.parentEventId, unittest.equals('foo'));
unittest.expect(o.requestId, unittest.equals('foo'));
@@ -252,14 +252,14 @@
buildCounterCommuteInfo--;
}
-buildUnnamed3232() {
+buildUnnamed3236() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3232(core.List<core.String> o) {
+checkUnnamed3236(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -278,7 +278,7 @@
o.headquartersAddress = "foo";
o.hiringAgency = true;
o.imageUri = "foo";
- o.keywordSearchableJobCustomAttributes = buildUnnamed3232();
+ o.keywordSearchableJobCustomAttributes = buildUnnamed3236();
o.name = "foo";
o.size = "foo";
o.suspended = true;
@@ -299,7 +299,7 @@
unittest.expect(o.headquartersAddress, unittest.equals('foo'));
unittest.expect(o.hiringAgency, unittest.isTrue);
unittest.expect(o.imageUri, unittest.equals('foo'));
- checkUnnamed3232(o.keywordSearchableJobCustomAttributes);
+ checkUnnamed3236(o.keywordSearchableJobCustomAttributes);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.size, unittest.equals('foo'));
unittest.expect(o.suspended, unittest.isTrue);
@@ -356,14 +356,14 @@
buildCounterCompensationEntry--;
}
-buildUnnamed3233() {
+buildUnnamed3237() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3233(core.List<core.String> o) {
+checkUnnamed3237(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -377,7 +377,7 @@
o.includeJobsWithUnspecifiedCompensationRange = true;
o.range = buildCompensationRange();
o.type = "foo";
- o.units = buildUnnamed3233();
+ o.units = buildUnnamed3237();
}
buildCounterCompensationFilter--;
return o;
@@ -390,7 +390,7 @@
o.includeJobsWithUnspecifiedCompensationRange, unittest.isTrue);
checkCompensationRange(o.range);
unittest.expect(o.type, unittest.equals('foo'));
- checkUnnamed3233(o.units);
+ checkUnnamed3237(o.units);
}
buildCounterCompensationFilter--;
}
@@ -437,14 +437,14 @@
buildCounterCompensationHistogramResult--;
}
-buildUnnamed3234() {
+buildUnnamed3238() {
var o = new core.List<api.CompensationEntry>();
o.add(buildCompensationEntry());
o.add(buildCompensationEntry());
return o;
}
-checkUnnamed3234(core.List<api.CompensationEntry> o) {
+checkUnnamed3238(core.List<api.CompensationEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkCompensationEntry(o[0]);
checkCompensationEntry(o[1]);
@@ -457,7 +457,7 @@
if (buildCounterCompensationInfo < 3) {
o.annualizedBaseCompensationRange = buildCompensationRange();
o.annualizedTotalCompensationRange = buildCompensationRange();
- o.entries = buildUnnamed3234();
+ o.entries = buildUnnamed3238();
}
buildCounterCompensationInfo--;
return o;
@@ -468,7 +468,7 @@
if (buildCounterCompensationInfo < 3) {
checkCompensationRange(o.annualizedBaseCompensationRange);
checkCompensationRange(o.annualizedTotalCompensationRange);
- checkUnnamed3234(o.entries);
+ checkUnnamed3238(o.entries);
}
buildCounterCompensationInfo--;
}
@@ -494,14 +494,14 @@
buildCounterCompensationRange--;
}
-buildUnnamed3235() {
+buildUnnamed3239() {
var o = new core.List<api.CompletionResult>();
o.add(buildCompletionResult());
o.add(buildCompletionResult());
return o;
}
-checkUnnamed3235(core.List<api.CompletionResult> o) {
+checkUnnamed3239(core.List<api.CompletionResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkCompletionResult(o[0]);
checkCompletionResult(o[1]);
@@ -512,7 +512,7 @@
var o = new api.CompleteQueryResponse();
buildCounterCompleteQueryResponse++;
if (buildCounterCompleteQueryResponse < 3) {
- o.completionResults = buildUnnamed3235();
+ o.completionResults = buildUnnamed3239();
o.metadata = buildResponseMetadata();
}
buildCounterCompleteQueryResponse--;
@@ -522,7 +522,7 @@
checkCompleteQueryResponse(api.CompleteQueryResponse o) {
buildCounterCompleteQueryResponse++;
if (buildCounterCompleteQueryResponse < 3) {
- checkUnnamed3235(o.completionResults);
+ checkUnnamed3239(o.completionResults);
checkResponseMetadata(o.metadata);
}
buildCounterCompleteQueryResponse--;
@@ -608,27 +608,27 @@
buildCounterCreateJobRequest--;
}
-buildUnnamed3236() {
+buildUnnamed3240() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3236(core.List<core.String> o) {
+checkUnnamed3240(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3237() {
+buildUnnamed3241() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3237(core.List<core.String> o) {
+checkUnnamed3241(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -640,8 +640,8 @@
buildCounterCustomAttribute++;
if (buildCounterCustomAttribute < 3) {
o.filterable = true;
- o.longValues = buildUnnamed3236();
- o.stringValues = buildUnnamed3237();
+ o.longValues = buildUnnamed3240();
+ o.stringValues = buildUnnamed3241();
}
buildCounterCustomAttribute--;
return o;
@@ -651,8 +651,8 @@
buildCounterCustomAttribute++;
if (buildCounterCustomAttribute < 3) {
unittest.expect(o.filterable, unittest.isTrue);
- checkUnnamed3236(o.longValues);
- checkUnnamed3237(o.stringValues);
+ checkUnnamed3240(o.longValues);
+ checkUnnamed3241(o.stringValues);
}
buildCounterCustomAttribute--;
}
@@ -680,14 +680,14 @@
buildCounterCustomAttributeHistogramRequest--;
}
-buildUnnamed3238() {
+buildUnnamed3242() {
var o = new core.Map<core.String, core.int>();
o["x"] = 42;
o["y"] = 42;
return o;
}
-checkUnnamed3238(core.Map<core.String, core.int> o) {
+checkUnnamed3242(core.Map<core.String, core.int> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals(42));
unittest.expect(o["y"], unittest.equals(42));
@@ -700,7 +700,7 @@
if (buildCounterCustomAttributeHistogramResult < 3) {
o.key = "foo";
o.longValueHistogramResult = buildNumericBucketingResult();
- o.stringValueHistogramResult = buildUnnamed3238();
+ o.stringValueHistogramResult = buildUnnamed3242();
}
buildCounterCustomAttributeHistogramResult--;
return o;
@@ -711,7 +711,7 @@
if (buildCounterCustomAttributeHistogramResult < 3) {
unittest.expect(o.key, unittest.equals('foo'));
checkNumericBucketingResult(o.longValueHistogramResult);
- checkUnnamed3238(o.stringValueHistogramResult);
+ checkUnnamed3242(o.stringValueHistogramResult);
}
buildCounterCustomAttributeHistogramResult--;
}
@@ -752,14 +752,14 @@
buildCounterEmpty--;
}
-buildUnnamed3239() {
+buildUnnamed3243() {
var o = new core.List<api.GoogleCloudTalentV4JobResult>();
o.add(buildGoogleCloudTalentV4JobResult());
o.add(buildGoogleCloudTalentV4JobResult());
return o;
}
-checkUnnamed3239(core.List<api.GoogleCloudTalentV4JobResult> o) {
+checkUnnamed3243(core.List<api.GoogleCloudTalentV4JobResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudTalentV4JobResult(o[0]);
checkGoogleCloudTalentV4JobResult(o[1]);
@@ -770,7 +770,7 @@
var o = new api.GoogleCloudTalentV4BatchCreateJobsResponse();
buildCounterGoogleCloudTalentV4BatchCreateJobsResponse++;
if (buildCounterGoogleCloudTalentV4BatchCreateJobsResponse < 3) {
- o.jobResults = buildUnnamed3239();
+ o.jobResults = buildUnnamed3243();
}
buildCounterGoogleCloudTalentV4BatchCreateJobsResponse--;
return o;
@@ -780,19 +780,19 @@
api.GoogleCloudTalentV4BatchCreateJobsResponse o) {
buildCounterGoogleCloudTalentV4BatchCreateJobsResponse++;
if (buildCounterGoogleCloudTalentV4BatchCreateJobsResponse < 3) {
- checkUnnamed3239(o.jobResults);
+ checkUnnamed3243(o.jobResults);
}
buildCounterGoogleCloudTalentV4BatchCreateJobsResponse--;
}
-buildUnnamed3240() {
+buildUnnamed3244() {
var o = new core.List<api.GoogleCloudTalentV4JobResult>();
o.add(buildGoogleCloudTalentV4JobResult());
o.add(buildGoogleCloudTalentV4JobResult());
return o;
}
-checkUnnamed3240(core.List<api.GoogleCloudTalentV4JobResult> o) {
+checkUnnamed3244(core.List<api.GoogleCloudTalentV4JobResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudTalentV4JobResult(o[0]);
checkGoogleCloudTalentV4JobResult(o[1]);
@@ -803,7 +803,7 @@
var o = new api.GoogleCloudTalentV4BatchDeleteJobsResponse();
buildCounterGoogleCloudTalentV4BatchDeleteJobsResponse++;
if (buildCounterGoogleCloudTalentV4BatchDeleteJobsResponse < 3) {
- o.jobResults = buildUnnamed3240();
+ o.jobResults = buildUnnamed3244();
}
buildCounterGoogleCloudTalentV4BatchDeleteJobsResponse--;
return o;
@@ -813,7 +813,7 @@
api.GoogleCloudTalentV4BatchDeleteJobsResponse o) {
buildCounterGoogleCloudTalentV4BatchDeleteJobsResponse++;
if (buildCounterGoogleCloudTalentV4BatchDeleteJobsResponse < 3) {
- checkUnnamed3240(o.jobResults);
+ checkUnnamed3244(o.jobResults);
}
buildCounterGoogleCloudTalentV4BatchDeleteJobsResponse--;
}
@@ -852,14 +852,14 @@
buildCounterGoogleCloudTalentV4BatchOperationMetadata--;
}
-buildUnnamed3241() {
+buildUnnamed3245() {
var o = new core.List<api.GoogleCloudTalentV4JobResult>();
o.add(buildGoogleCloudTalentV4JobResult());
o.add(buildGoogleCloudTalentV4JobResult());
return o;
}
-checkUnnamed3241(core.List<api.GoogleCloudTalentV4JobResult> o) {
+checkUnnamed3245(core.List<api.GoogleCloudTalentV4JobResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudTalentV4JobResult(o[0]);
checkGoogleCloudTalentV4JobResult(o[1]);
@@ -870,7 +870,7 @@
var o = new api.GoogleCloudTalentV4BatchUpdateJobsResponse();
buildCounterGoogleCloudTalentV4BatchUpdateJobsResponse++;
if (buildCounterGoogleCloudTalentV4BatchUpdateJobsResponse < 3) {
- o.jobResults = buildUnnamed3241();
+ o.jobResults = buildUnnamed3245();
}
buildCounterGoogleCloudTalentV4BatchUpdateJobsResponse--;
return o;
@@ -880,12 +880,12 @@
api.GoogleCloudTalentV4BatchUpdateJobsResponse o) {
buildCounterGoogleCloudTalentV4BatchUpdateJobsResponse++;
if (buildCounterGoogleCloudTalentV4BatchUpdateJobsResponse < 3) {
- checkUnnamed3241(o.jobResults);
+ checkUnnamed3245(o.jobResults);
}
buildCounterGoogleCloudTalentV4BatchUpdateJobsResponse--;
}
-buildUnnamed3242() {
+buildUnnamed3246() {
var o =
new core.List<api.GoogleCloudTalentV4CompensationInfoCompensationEntry>();
o.add(buildGoogleCloudTalentV4CompensationInfoCompensationEntry());
@@ -893,7 +893,7 @@
return o;
}
-checkUnnamed3242(
+checkUnnamed3246(
core.List<api.GoogleCloudTalentV4CompensationInfoCompensationEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudTalentV4CompensationInfoCompensationEntry(o[0]);
@@ -909,7 +909,7 @@
buildGoogleCloudTalentV4CompensationInfoCompensationRange();
o.annualizedTotalCompensationRange =
buildGoogleCloudTalentV4CompensationInfoCompensationRange();
- o.entries = buildUnnamed3242();
+ o.entries = buildUnnamed3246();
}
buildCounterGoogleCloudTalentV4CompensationInfo--;
return o;
@@ -923,7 +923,7 @@
o.annualizedBaseCompensationRange);
checkGoogleCloudTalentV4CompensationInfoCompensationRange(
o.annualizedTotalCompensationRange);
- checkUnnamed3242(o.entries);
+ checkUnnamed3246(o.entries);
}
buildCounterGoogleCloudTalentV4CompensationInfo--;
}
@@ -980,85 +980,6 @@
buildCounterGoogleCloudTalentV4CompensationInfoCompensationRange--;
}
-buildUnnamed3243() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3243(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed3244() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3244(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-core.int buildCounterGoogleCloudTalentV4CustomAttribute = 0;
-buildGoogleCloudTalentV4CustomAttribute() {
- var o = new api.GoogleCloudTalentV4CustomAttribute();
- buildCounterGoogleCloudTalentV4CustomAttribute++;
- if (buildCounterGoogleCloudTalentV4CustomAttribute < 3) {
- o.filterable = true;
- o.keywordSearchable = true;
- o.longValues = buildUnnamed3243();
- o.stringValues = buildUnnamed3244();
- }
- buildCounterGoogleCloudTalentV4CustomAttribute--;
- return o;
-}
-
-checkGoogleCloudTalentV4CustomAttribute(
- api.GoogleCloudTalentV4CustomAttribute o) {
- buildCounterGoogleCloudTalentV4CustomAttribute++;
- if (buildCounterGoogleCloudTalentV4CustomAttribute < 3) {
- unittest.expect(o.filterable, unittest.isTrue);
- unittest.expect(o.keywordSearchable, unittest.isTrue);
- checkUnnamed3243(o.longValues);
- checkUnnamed3244(o.stringValues);
- }
- buildCounterGoogleCloudTalentV4CustomAttribute--;
-}
-
-buildUnnamed3245() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3245(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed3246() {
- var o = new core.Map<core.String, api.GoogleCloudTalentV4CustomAttribute>();
- o["x"] = buildGoogleCloudTalentV4CustomAttribute();
- o["y"] = buildGoogleCloudTalentV4CustomAttribute();
- return o;
-}
-
-checkUnnamed3246(
- core.Map<core.String, api.GoogleCloudTalentV4CustomAttribute> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkGoogleCloudTalentV4CustomAttribute(o["x"]);
- checkGoogleCloudTalentV4CustomAttribute(o["y"]);
-}
-
buildUnnamed3247() {
var o = new core.List<core.String>();
o.add("foo");
@@ -1085,6 +1006,32 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+core.int buildCounterGoogleCloudTalentV4CustomAttribute = 0;
+buildGoogleCloudTalentV4CustomAttribute() {
+ var o = new api.GoogleCloudTalentV4CustomAttribute();
+ buildCounterGoogleCloudTalentV4CustomAttribute++;
+ if (buildCounterGoogleCloudTalentV4CustomAttribute < 3) {
+ o.filterable = true;
+ o.keywordSearchable = true;
+ o.longValues = buildUnnamed3247();
+ o.stringValues = buildUnnamed3248();
+ }
+ buildCounterGoogleCloudTalentV4CustomAttribute--;
+ return o;
+}
+
+checkGoogleCloudTalentV4CustomAttribute(
+ api.GoogleCloudTalentV4CustomAttribute o) {
+ buildCounterGoogleCloudTalentV4CustomAttribute++;
+ if (buildCounterGoogleCloudTalentV4CustomAttribute < 3) {
+ unittest.expect(o.filterable, unittest.isTrue);
+ unittest.expect(o.keywordSearchable, unittest.isTrue);
+ checkUnnamed3247(o.longValues);
+ checkUnnamed3248(o.stringValues);
+ }
+ buildCounterGoogleCloudTalentV4CustomAttribute--;
+}
+
buildUnnamed3249() {
var o = new core.List<core.String>();
o.add("foo");
@@ -1098,24 +1045,77 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed3250() {
+ var o = new core.Map<core.String, api.GoogleCloudTalentV4CustomAttribute>();
+ o["x"] = buildGoogleCloudTalentV4CustomAttribute();
+ o["y"] = buildGoogleCloudTalentV4CustomAttribute();
+ return o;
+}
+
+checkUnnamed3250(
+ core.Map<core.String, api.GoogleCloudTalentV4CustomAttribute> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkGoogleCloudTalentV4CustomAttribute(o["x"]);
+ checkGoogleCloudTalentV4CustomAttribute(o["y"]);
+}
+
+buildUnnamed3251() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3251(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed3252() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3252(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed3253() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3253(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
core.int buildCounterGoogleCloudTalentV4Job = 0;
buildGoogleCloudTalentV4Job() {
var o = new api.GoogleCloudTalentV4Job();
buildCounterGoogleCloudTalentV4Job++;
if (buildCounterGoogleCloudTalentV4Job < 3) {
- o.addresses = buildUnnamed3245();
+ o.addresses = buildUnnamed3249();
o.applicationInfo = buildGoogleCloudTalentV4JobApplicationInfo();
o.company = "foo";
o.companyDisplayName = "foo";
o.compensationInfo = buildGoogleCloudTalentV4CompensationInfo();
- o.customAttributes = buildUnnamed3246();
- o.degreeTypes = buildUnnamed3247();
+ o.customAttributes = buildUnnamed3250();
+ o.degreeTypes = buildUnnamed3251();
o.department = "foo";
o.derivedInfo = buildGoogleCloudTalentV4JobDerivedInfo();
o.description = "foo";
- o.employmentTypes = buildUnnamed3248();
+ o.employmentTypes = buildUnnamed3252();
o.incentives = "foo";
- o.jobBenefits = buildUnnamed3249();
+ o.jobBenefits = buildUnnamed3253();
o.jobEndTime = "foo";
o.jobLevel = "foo";
o.jobStartTime = "foo";
@@ -1141,19 +1141,19 @@
checkGoogleCloudTalentV4Job(api.GoogleCloudTalentV4Job o) {
buildCounterGoogleCloudTalentV4Job++;
if (buildCounterGoogleCloudTalentV4Job < 3) {
- checkUnnamed3245(o.addresses);
+ checkUnnamed3249(o.addresses);
checkGoogleCloudTalentV4JobApplicationInfo(o.applicationInfo);
unittest.expect(o.company, unittest.equals('foo'));
unittest.expect(o.companyDisplayName, unittest.equals('foo'));
checkGoogleCloudTalentV4CompensationInfo(o.compensationInfo);
- checkUnnamed3246(o.customAttributes);
- checkUnnamed3247(o.degreeTypes);
+ checkUnnamed3250(o.customAttributes);
+ checkUnnamed3251(o.degreeTypes);
unittest.expect(o.department, unittest.equals('foo'));
checkGoogleCloudTalentV4JobDerivedInfo(o.derivedInfo);
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed3248(o.employmentTypes);
+ checkUnnamed3252(o.employmentTypes);
unittest.expect(o.incentives, unittest.equals('foo'));
- checkUnnamed3249(o.jobBenefits);
+ checkUnnamed3253(o.jobBenefits);
unittest.expect(o.jobEndTime, unittest.equals('foo'));
unittest.expect(o.jobLevel, unittest.equals('foo'));
unittest.expect(o.jobStartTime, unittest.equals('foo'));
@@ -1175,27 +1175,27 @@
buildCounterGoogleCloudTalentV4Job--;
}
-buildUnnamed3250() {
+buildUnnamed3254() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3250(core.List<core.String> o) {
+checkUnnamed3254(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3251() {
+buildUnnamed3255() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3251(core.List<core.String> o) {
+checkUnnamed3255(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1206,9 +1206,9 @@
var o = new api.GoogleCloudTalentV4JobApplicationInfo();
buildCounterGoogleCloudTalentV4JobApplicationInfo++;
if (buildCounterGoogleCloudTalentV4JobApplicationInfo < 3) {
- o.emails = buildUnnamed3250();
+ o.emails = buildUnnamed3254();
o.instruction = "foo";
- o.uris = buildUnnamed3251();
+ o.uris = buildUnnamed3255();
}
buildCounterGoogleCloudTalentV4JobApplicationInfo--;
return o;
@@ -1218,34 +1218,34 @@
api.GoogleCloudTalentV4JobApplicationInfo o) {
buildCounterGoogleCloudTalentV4JobApplicationInfo++;
if (buildCounterGoogleCloudTalentV4JobApplicationInfo < 3) {
- checkUnnamed3250(o.emails);
+ checkUnnamed3254(o.emails);
unittest.expect(o.instruction, unittest.equals('foo'));
- checkUnnamed3251(o.uris);
+ checkUnnamed3255(o.uris);
}
buildCounterGoogleCloudTalentV4JobApplicationInfo--;
}
-buildUnnamed3252() {
+buildUnnamed3256() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3252(core.List<core.String> o) {
+checkUnnamed3256(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3253() {
+buildUnnamed3257() {
var o = new core.List<api.GoogleCloudTalentV4Location>();
o.add(buildGoogleCloudTalentV4Location());
o.add(buildGoogleCloudTalentV4Location());
return o;
}
-checkUnnamed3253(core.List<api.GoogleCloudTalentV4Location> o) {
+checkUnnamed3257(core.List<api.GoogleCloudTalentV4Location> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudTalentV4Location(o[0]);
checkGoogleCloudTalentV4Location(o[1]);
@@ -1256,8 +1256,8 @@
var o = new api.GoogleCloudTalentV4JobDerivedInfo();
buildCounterGoogleCloudTalentV4JobDerivedInfo++;
if (buildCounterGoogleCloudTalentV4JobDerivedInfo < 3) {
- o.jobCategories = buildUnnamed3252();
- o.locations = buildUnnamed3253();
+ o.jobCategories = buildUnnamed3256();
+ o.locations = buildUnnamed3257();
}
buildCounterGoogleCloudTalentV4JobDerivedInfo--;
return o;
@@ -1267,8 +1267,8 @@
api.GoogleCloudTalentV4JobDerivedInfo o) {
buildCounterGoogleCloudTalentV4JobDerivedInfo++;
if (buildCounterGoogleCloudTalentV4JobDerivedInfo < 3) {
- checkUnnamed3252(o.jobCategories);
- checkUnnamed3253(o.locations);
+ checkUnnamed3256(o.jobCategories);
+ checkUnnamed3257(o.locations);
}
buildCounterGoogleCloudTalentV4JobDerivedInfo--;
}
@@ -1341,40 +1341,40 @@
buildCounterGoogleCloudTalentV4Location--;
}
-buildUnnamed3254() {
+buildUnnamed3258() {
var o = new core.List<api.CompensationHistogramRequest>();
o.add(buildCompensationHistogramRequest());
o.add(buildCompensationHistogramRequest());
return o;
}
-checkUnnamed3254(core.List<api.CompensationHistogramRequest> o) {
+checkUnnamed3258(core.List<api.CompensationHistogramRequest> o) {
unittest.expect(o, unittest.hasLength(2));
checkCompensationHistogramRequest(o[0]);
checkCompensationHistogramRequest(o[1]);
}
-buildUnnamed3255() {
+buildUnnamed3259() {
var o = new core.List<api.CustomAttributeHistogramRequest>();
o.add(buildCustomAttributeHistogramRequest());
o.add(buildCustomAttributeHistogramRequest());
return o;
}
-checkUnnamed3255(core.List<api.CustomAttributeHistogramRequest> o) {
+checkUnnamed3259(core.List<api.CustomAttributeHistogramRequest> o) {
unittest.expect(o, unittest.hasLength(2));
checkCustomAttributeHistogramRequest(o[0]);
checkCustomAttributeHistogramRequest(o[1]);
}
-buildUnnamed3256() {
+buildUnnamed3260() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3256(core.List<core.String> o) {
+checkUnnamed3260(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1385,9 +1385,9 @@
var o = new api.HistogramFacets();
buildCounterHistogramFacets++;
if (buildCounterHistogramFacets < 3) {
- o.compensationHistogramFacets = buildUnnamed3254();
- o.customAttributeHistogramFacets = buildUnnamed3255();
- o.simpleHistogramFacets = buildUnnamed3256();
+ o.compensationHistogramFacets = buildUnnamed3258();
+ o.customAttributeHistogramFacets = buildUnnamed3259();
+ o.simpleHistogramFacets = buildUnnamed3260();
}
buildCounterHistogramFacets--;
return o;
@@ -1396,21 +1396,21 @@
checkHistogramFacets(api.HistogramFacets o) {
buildCounterHistogramFacets++;
if (buildCounterHistogramFacets < 3) {
- checkUnnamed3254(o.compensationHistogramFacets);
- checkUnnamed3255(o.customAttributeHistogramFacets);
- checkUnnamed3256(o.simpleHistogramFacets);
+ checkUnnamed3258(o.compensationHistogramFacets);
+ checkUnnamed3259(o.customAttributeHistogramFacets);
+ checkUnnamed3260(o.simpleHistogramFacets);
}
buildCounterHistogramFacets--;
}
-buildUnnamed3257() {
+buildUnnamed3261() {
var o = new core.Map<core.String, core.int>();
o["x"] = 42;
o["y"] = 42;
return o;
}
-checkUnnamed3257(core.Map<core.String, core.int> o) {
+checkUnnamed3261(core.Map<core.String, core.int> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals(42));
unittest.expect(o["y"], unittest.equals(42));
@@ -1422,7 +1422,7 @@
buildCounterHistogramResult++;
if (buildCounterHistogramResult < 3) {
o.searchType = "foo";
- o.values = buildUnnamed3257();
+ o.values = buildUnnamed3261();
}
buildCounterHistogramResult--;
return o;
@@ -1432,45 +1432,45 @@
buildCounterHistogramResult++;
if (buildCounterHistogramResult < 3) {
unittest.expect(o.searchType, unittest.equals('foo'));
- checkUnnamed3257(o.values);
+ checkUnnamed3261(o.values);
}
buildCounterHistogramResult--;
}
-buildUnnamed3258() {
+buildUnnamed3262() {
var o = new core.List<api.CompensationHistogramResult>();
o.add(buildCompensationHistogramResult());
o.add(buildCompensationHistogramResult());
return o;
}
-checkUnnamed3258(core.List<api.CompensationHistogramResult> o) {
+checkUnnamed3262(core.List<api.CompensationHistogramResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkCompensationHistogramResult(o[0]);
checkCompensationHistogramResult(o[1]);
}
-buildUnnamed3259() {
+buildUnnamed3263() {
var o = new core.List<api.CustomAttributeHistogramResult>();
o.add(buildCustomAttributeHistogramResult());
o.add(buildCustomAttributeHistogramResult());
return o;
}
-checkUnnamed3259(core.List<api.CustomAttributeHistogramResult> o) {
+checkUnnamed3263(core.List<api.CustomAttributeHistogramResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkCustomAttributeHistogramResult(o[0]);
checkCustomAttributeHistogramResult(o[1]);
}
-buildUnnamed3260() {
+buildUnnamed3264() {
var o = new core.List<api.HistogramResult>();
o.add(buildHistogramResult());
o.add(buildHistogramResult());
return o;
}
-checkUnnamed3260(core.List<api.HistogramResult> o) {
+checkUnnamed3264(core.List<api.HistogramResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkHistogramResult(o[0]);
checkHistogramResult(o[1]);
@@ -1481,9 +1481,9 @@
var o = new api.HistogramResults();
buildCounterHistogramResults++;
if (buildCounterHistogramResults < 3) {
- o.compensationHistogramResults = buildUnnamed3258();
- o.customAttributeHistogramResults = buildUnnamed3259();
- o.simpleHistogramResults = buildUnnamed3260();
+ o.compensationHistogramResults = buildUnnamed3262();
+ o.customAttributeHistogramResults = buildUnnamed3263();
+ o.simpleHistogramResults = buildUnnamed3264();
}
buildCounterHistogramResults--;
return o;
@@ -1492,65 +1492,13 @@
checkHistogramResults(api.HistogramResults o) {
buildCounterHistogramResults++;
if (buildCounterHistogramResults < 3) {
- checkUnnamed3258(o.compensationHistogramResults);
- checkUnnamed3259(o.customAttributeHistogramResults);
- checkUnnamed3260(o.simpleHistogramResults);
+ checkUnnamed3262(o.compensationHistogramResults);
+ checkUnnamed3263(o.customAttributeHistogramResults);
+ checkUnnamed3264(o.simpleHistogramResults);
}
buildCounterHistogramResults--;
}
-buildUnnamed3261() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3261(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed3262() {
- var o = new core.Map<core.String, api.CustomAttribute>();
- o["x"] = buildCustomAttribute();
- o["y"] = buildCustomAttribute();
- return o;
-}
-
-checkUnnamed3262(core.Map<core.String, api.CustomAttribute> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkCustomAttribute(o["x"]);
- checkCustomAttribute(o["y"]);
-}
-
-buildUnnamed3263() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3263(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed3264() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3264(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed3265() {
var o = new core.List<core.String>();
o.add("foo");
@@ -1564,24 +1512,76 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed3266() {
+ var o = new core.Map<core.String, api.CustomAttribute>();
+ o["x"] = buildCustomAttribute();
+ o["y"] = buildCustomAttribute();
+ return o;
+}
+
+checkUnnamed3266(core.Map<core.String, api.CustomAttribute> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkCustomAttribute(o["x"]);
+ checkCustomAttribute(o["y"]);
+}
+
+buildUnnamed3267() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3267(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed3268() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3268(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed3269() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3269(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
core.int buildCounterJob = 0;
buildJob() {
var o = new api.Job();
buildCounterJob++;
if (buildCounterJob < 3) {
- o.addresses = buildUnnamed3261();
+ o.addresses = buildUnnamed3265();
o.applicationInfo = buildApplicationInfo();
o.companyDisplayName = "foo";
o.companyName = "foo";
o.compensationInfo = buildCompensationInfo();
- o.customAttributes = buildUnnamed3262();
- o.degreeTypes = buildUnnamed3263();
+ o.customAttributes = buildUnnamed3266();
+ o.degreeTypes = buildUnnamed3267();
o.department = "foo";
o.derivedInfo = buildJobDerivedInfo();
o.description = "foo";
- o.employmentTypes = buildUnnamed3264();
+ o.employmentTypes = buildUnnamed3268();
o.incentives = "foo";
- o.jobBenefits = buildUnnamed3265();
+ o.jobBenefits = buildUnnamed3269();
o.jobEndTime = "foo";
o.jobLevel = "foo";
o.jobStartTime = "foo";
@@ -1607,19 +1607,19 @@
checkJob(api.Job o) {
buildCounterJob++;
if (buildCounterJob < 3) {
- checkUnnamed3261(o.addresses);
+ checkUnnamed3265(o.addresses);
checkApplicationInfo(o.applicationInfo);
unittest.expect(o.companyDisplayName, unittest.equals('foo'));
unittest.expect(o.companyName, unittest.equals('foo'));
checkCompensationInfo(o.compensationInfo);
- checkUnnamed3262(o.customAttributes);
- checkUnnamed3263(o.degreeTypes);
+ checkUnnamed3266(o.customAttributes);
+ checkUnnamed3267(o.degreeTypes);
unittest.expect(o.department, unittest.equals('foo'));
checkJobDerivedInfo(o.derivedInfo);
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed3264(o.employmentTypes);
+ checkUnnamed3268(o.employmentTypes);
unittest.expect(o.incentives, unittest.equals('foo'));
- checkUnnamed3265(o.jobBenefits);
+ checkUnnamed3269(o.jobBenefits);
unittest.expect(o.jobEndTime, unittest.equals('foo'));
unittest.expect(o.jobLevel, unittest.equals('foo'));
unittest.expect(o.jobStartTime, unittest.equals('foo'));
@@ -1641,100 +1641,6 @@
buildCounterJob--;
}
-buildUnnamed3266() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3266(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed3267() {
- var o = new core.List<api.Location>();
- o.add(buildLocation());
- o.add(buildLocation());
- return o;
-}
-
-checkUnnamed3267(core.List<api.Location> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkLocation(o[0]);
- checkLocation(o[1]);
-}
-
-core.int buildCounterJobDerivedInfo = 0;
-buildJobDerivedInfo() {
- var o = new api.JobDerivedInfo();
- buildCounterJobDerivedInfo++;
- if (buildCounterJobDerivedInfo < 3) {
- o.jobCategories = buildUnnamed3266();
- o.locations = buildUnnamed3267();
- }
- buildCounterJobDerivedInfo--;
- return o;
-}
-
-checkJobDerivedInfo(api.JobDerivedInfo o) {
- buildCounterJobDerivedInfo++;
- if (buildCounterJobDerivedInfo < 3) {
- checkUnnamed3266(o.jobCategories);
- checkUnnamed3267(o.locations);
- }
- buildCounterJobDerivedInfo--;
-}
-
-buildUnnamed3268() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3268(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-core.int buildCounterJobEvent = 0;
-buildJobEvent() {
- var o = new api.JobEvent();
- buildCounterJobEvent++;
- if (buildCounterJobEvent < 3) {
- o.jobs = buildUnnamed3268();
- o.type = "foo";
- }
- buildCounterJobEvent--;
- return o;
-}
-
-checkJobEvent(api.JobEvent o) {
- buildCounterJobEvent++;
- if (buildCounterJobEvent < 3) {
- checkUnnamed3268(o.jobs);
- unittest.expect(o.type, unittest.equals('foo'));
- }
- buildCounterJobEvent--;
-}
-
-buildUnnamed3269() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3269(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed3270() {
var o = new core.List<core.String>();
o.add("foo");
@@ -1749,16 +1655,37 @@
}
buildUnnamed3271() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
+ var o = new core.List<api.Location>();
+ o.add(buildLocation());
+ o.add(buildLocation());
return o;
}
-checkUnnamed3271(core.List<core.String> o) {
+checkUnnamed3271(core.List<api.Location> o) {
unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
+ checkLocation(o[0]);
+ checkLocation(o[1]);
+}
+
+core.int buildCounterJobDerivedInfo = 0;
+buildJobDerivedInfo() {
+ var o = new api.JobDerivedInfo();
+ buildCounterJobDerivedInfo++;
+ if (buildCounterJobDerivedInfo < 3) {
+ o.jobCategories = buildUnnamed3270();
+ o.locations = buildUnnamed3271();
+ }
+ buildCounterJobDerivedInfo--;
+ return o;
+}
+
+checkJobDerivedInfo(api.JobDerivedInfo o) {
+ buildCounterJobDerivedInfo++;
+ if (buildCounterJobDerivedInfo < 3) {
+ checkUnnamed3270(o.jobCategories);
+ checkUnnamed3271(o.locations);
+ }
+ buildCounterJobDerivedInfo--;
}
buildUnnamed3272() {
@@ -1774,6 +1701,27 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+core.int buildCounterJobEvent = 0;
+buildJobEvent() {
+ var o = new api.JobEvent();
+ buildCounterJobEvent++;
+ if (buildCounterJobEvent < 3) {
+ o.jobs = buildUnnamed3272();
+ o.type = "foo";
+ }
+ buildCounterJobEvent--;
+ return o;
+}
+
+checkJobEvent(api.JobEvent o) {
+ buildCounterJobEvent++;
+ if (buildCounterJobEvent < 3) {
+ checkUnnamed3272(o.jobs);
+ unittest.expect(o.type, unittest.equals('foo'));
+ }
+ buildCounterJobEvent--;
+}
+
buildUnnamed3273() {
var o = new core.List<core.String>();
o.add("foo");
@@ -1788,13 +1736,65 @@
}
buildUnnamed3274() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3274(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed3275() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3275(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed3276() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3276(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed3277() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3277(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed3278() {
var o = new core.List<api.LocationFilter>();
o.add(buildLocationFilter());
o.add(buildLocationFilter());
return o;
}
-checkUnnamed3274(core.List<api.LocationFilter> o) {
+checkUnnamed3278(core.List<api.LocationFilter> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocationFilter(o[0]);
checkLocationFilter(o[1]);
@@ -1806,15 +1806,15 @@
buildCounterJobQuery++;
if (buildCounterJobQuery < 3) {
o.commuteFilter = buildCommuteFilter();
- o.companyDisplayNames = buildUnnamed3269();
- o.companyNames = buildUnnamed3270();
+ o.companyDisplayNames = buildUnnamed3273();
+ o.companyNames = buildUnnamed3274();
o.compensationFilter = buildCompensationFilter();
o.customAttributeFilter = "foo";
o.disableSpellCheck = true;
- o.employmentTypes = buildUnnamed3271();
- o.jobCategories = buildUnnamed3272();
- o.languageCodes = buildUnnamed3273();
- o.locationFilters = buildUnnamed3274();
+ o.employmentTypes = buildUnnamed3275();
+ o.jobCategories = buildUnnamed3276();
+ o.languageCodes = buildUnnamed3277();
+ o.locationFilters = buildUnnamed3278();
o.publishTimeRange = buildTimestampRange();
o.query = "foo";
o.queryLanguageCode = "foo";
@@ -1827,15 +1827,15 @@
buildCounterJobQuery++;
if (buildCounterJobQuery < 3) {
checkCommuteFilter(o.commuteFilter);
- checkUnnamed3269(o.companyDisplayNames);
- checkUnnamed3270(o.companyNames);
+ checkUnnamed3273(o.companyDisplayNames);
+ checkUnnamed3274(o.companyNames);
checkCompensationFilter(o.compensationFilter);
unittest.expect(o.customAttributeFilter, unittest.equals('foo'));
unittest.expect(o.disableSpellCheck, unittest.isTrue);
- checkUnnamed3271(o.employmentTypes);
- checkUnnamed3272(o.jobCategories);
- checkUnnamed3273(o.languageCodes);
- checkUnnamed3274(o.locationFilters);
+ checkUnnamed3275(o.employmentTypes);
+ checkUnnamed3276(o.jobCategories);
+ checkUnnamed3277(o.languageCodes);
+ checkUnnamed3278(o.locationFilters);
checkTimestampRange(o.publishTimeRange);
unittest.expect(o.query, unittest.equals('foo'));
unittest.expect(o.queryLanguageCode, unittest.equals('foo'));
@@ -1864,14 +1864,14 @@
buildCounterLatLng--;
}
-buildUnnamed3275() {
+buildUnnamed3279() {
var o = new core.List<api.Company>();
o.add(buildCompany());
o.add(buildCompany());
return o;
}
-checkUnnamed3275(core.List<api.Company> o) {
+checkUnnamed3279(core.List<api.Company> o) {
unittest.expect(o, unittest.hasLength(2));
checkCompany(o[0]);
checkCompany(o[1]);
@@ -1882,7 +1882,7 @@
var o = new api.ListCompaniesResponse();
buildCounterListCompaniesResponse++;
if (buildCounterListCompaniesResponse < 3) {
- o.companies = buildUnnamed3275();
+ o.companies = buildUnnamed3279();
o.metadata = buildResponseMetadata();
o.nextPageToken = "foo";
}
@@ -1893,21 +1893,21 @@
checkListCompaniesResponse(api.ListCompaniesResponse o) {
buildCounterListCompaniesResponse++;
if (buildCounterListCompaniesResponse < 3) {
- checkUnnamed3275(o.companies);
+ checkUnnamed3279(o.companies);
checkResponseMetadata(o.metadata);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListCompaniesResponse--;
}
-buildUnnamed3276() {
+buildUnnamed3280() {
var o = new core.List<api.Job>();
o.add(buildJob());
o.add(buildJob());
return o;
}
-checkUnnamed3276(core.List<api.Job> o) {
+checkUnnamed3280(core.List<api.Job> o) {
unittest.expect(o, unittest.hasLength(2));
checkJob(o[0]);
checkJob(o[1]);
@@ -1918,7 +1918,7 @@
var o = new api.ListJobsResponse();
buildCounterListJobsResponse++;
if (buildCounterListJobsResponse < 3) {
- o.jobs = buildUnnamed3276();
+ o.jobs = buildUnnamed3280();
o.metadata = buildResponseMetadata();
o.nextPageToken = "foo";
}
@@ -1929,7 +1929,7 @@
checkListJobsResponse(api.ListJobsResponse o) {
buildCounterListJobsResponse++;
if (buildCounterListJobsResponse < 3) {
- checkUnnamed3276(o.jobs);
+ checkUnnamed3280(o.jobs);
checkResponseMetadata(o.metadata);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -2015,14 +2015,14 @@
buildCounterMatchingJob--;
}
-buildUnnamed3277() {
+buildUnnamed3281() {
var o = new core.Map<core.String, api.NamespacedDebugInput>();
o["x"] = buildNamespacedDebugInput();
o["y"] = buildNamespacedDebugInput();
return o;
}
-checkUnnamed3277(core.Map<core.String, api.NamespacedDebugInput> o) {
+checkUnnamed3281(core.Map<core.String, api.NamespacedDebugInput> o) {
unittest.expect(o, unittest.hasLength(2));
checkNamespacedDebugInput(o["x"]);
checkNamespacedDebugInput(o["y"]);
@@ -2033,7 +2033,7 @@
var o = new api.MendelDebugInput();
buildCounterMendelDebugInput++;
if (buildCounterMendelDebugInput < 3) {
- o.namespacedDebugInput = buildUnnamed3277();
+ o.namespacedDebugInput = buildUnnamed3281();
}
buildCounterMendelDebugInput--;
return o;
@@ -2042,7 +2042,7 @@
checkMendelDebugInput(api.MendelDebugInput o) {
buildCounterMendelDebugInput++;
if (buildCounterMendelDebugInput < 3) {
- checkUnnamed3277(o.namespacedDebugInput);
+ checkUnnamed3281(o.namespacedDebugInput);
}
buildCounterMendelDebugInput--;
}
@@ -2070,58 +2070,6 @@
buildCounterMoney--;
}
-buildUnnamed3278() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3278(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed3279() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3279(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed3280() {
- var o = new core.List<core.int>();
- o.add(42);
- o.add(42);
- return o;
-}
-
-checkUnnamed3280(core.List<core.int> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals(42));
- unittest.expect(o[1], unittest.equals(42));
-}
-
-buildUnnamed3281() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3281(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed3282() {
var o = new core.List<core.String>();
o.add("foo");
@@ -2136,31 +2084,31 @@
}
buildUnnamed3283() {
- var o = new core.List<core.int>();
- o.add(42);
- o.add(42);
- return o;
-}
-
-checkUnnamed3283(core.List<core.int> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals(42));
- unittest.expect(o[1], unittest.equals(42));
-}
-
-buildUnnamed3284() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3284(core.List<core.String> o) {
+checkUnnamed3283(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed3284() {
+ var o = new core.List<core.int>();
+ o.add(42);
+ o.add(42);
+ return o;
+}
+
+checkUnnamed3284(core.List<core.int> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals(42));
+ unittest.expect(o[1], unittest.equals(42));
+}
+
buildUnnamed3285() {
var o = new core.List<core.String>();
o.add("foo");
@@ -2175,39 +2123,91 @@
}
buildUnnamed3286() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3286(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed3287() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed3286(core.List<core.int> o) {
+checkUnnamed3287(core.List<core.int> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42));
unittest.expect(o[1], unittest.equals(42));
}
-buildUnnamed3287() {
+buildUnnamed3288() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3288(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed3289() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3289(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed3290() {
+ var o = new core.List<core.int>();
+ o.add(42);
+ o.add(42);
+ return o;
+}
+
+checkUnnamed3290(core.List<core.int> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals(42));
+ unittest.expect(o[1], unittest.equals(42));
+}
+
+buildUnnamed3291() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3287(core.Map<core.String, core.String> o) {
+checkUnnamed3291(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed3288() {
+buildUnnamed3292() {
var o = new core.Map<core.String, core.bool>();
o["x"] = true;
o["y"] = true;
return o;
}
-checkUnnamed3288(core.Map<core.String, core.bool> o) {
+checkUnnamed3292(core.Map<core.String, core.bool> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.isTrue);
unittest.expect(o["y"], unittest.isTrue);
@@ -2218,20 +2218,20 @@
var o = new api.NamespacedDebugInput();
buildCounterNamespacedDebugInput++;
if (buildCounterNamespacedDebugInput < 3) {
- o.absolutelyForcedExpNames = buildUnnamed3278();
- o.absolutelyForcedExpTags = buildUnnamed3279();
- o.absolutelyForcedExps = buildUnnamed3280();
- o.conditionallyForcedExpNames = buildUnnamed3281();
- o.conditionallyForcedExpTags = buildUnnamed3282();
- o.conditionallyForcedExps = buildUnnamed3283();
+ o.absolutelyForcedExpNames = buildUnnamed3282();
+ o.absolutelyForcedExpTags = buildUnnamed3283();
+ o.absolutelyForcedExps = buildUnnamed3284();
+ o.conditionallyForcedExpNames = buildUnnamed3285();
+ o.conditionallyForcedExpTags = buildUnnamed3286();
+ o.conditionallyForcedExps = buildUnnamed3287();
o.disableAutomaticEnrollmentSelection = true;
- o.disableExpNames = buildUnnamed3284();
- o.disableExpTags = buildUnnamed3285();
- o.disableExps = buildUnnamed3286();
+ o.disableExpNames = buildUnnamed3288();
+ o.disableExpTags = buildUnnamed3289();
+ o.disableExps = buildUnnamed3290();
o.disableManualEnrollmentSelection = true;
o.disableOrganicSelection = true;
- o.forcedFlags = buildUnnamed3287();
- o.forcedRollouts = buildUnnamed3288();
+ o.forcedFlags = buildUnnamed3291();
+ o.forcedRollouts = buildUnnamed3292();
}
buildCounterNamespacedDebugInput--;
return o;
@@ -2240,32 +2240,32 @@
checkNamespacedDebugInput(api.NamespacedDebugInput o) {
buildCounterNamespacedDebugInput++;
if (buildCounterNamespacedDebugInput < 3) {
- checkUnnamed3278(o.absolutelyForcedExpNames);
- checkUnnamed3279(o.absolutelyForcedExpTags);
- checkUnnamed3280(o.absolutelyForcedExps);
- checkUnnamed3281(o.conditionallyForcedExpNames);
- checkUnnamed3282(o.conditionallyForcedExpTags);
- checkUnnamed3283(o.conditionallyForcedExps);
+ checkUnnamed3282(o.absolutelyForcedExpNames);
+ checkUnnamed3283(o.absolutelyForcedExpTags);
+ checkUnnamed3284(o.absolutelyForcedExps);
+ checkUnnamed3285(o.conditionallyForcedExpNames);
+ checkUnnamed3286(o.conditionallyForcedExpTags);
+ checkUnnamed3287(o.conditionallyForcedExps);
unittest.expect(o.disableAutomaticEnrollmentSelection, unittest.isTrue);
- checkUnnamed3284(o.disableExpNames);
- checkUnnamed3285(o.disableExpTags);
- checkUnnamed3286(o.disableExps);
+ checkUnnamed3288(o.disableExpNames);
+ checkUnnamed3289(o.disableExpTags);
+ checkUnnamed3290(o.disableExps);
unittest.expect(o.disableManualEnrollmentSelection, unittest.isTrue);
unittest.expect(o.disableOrganicSelection, unittest.isTrue);
- checkUnnamed3287(o.forcedFlags);
- checkUnnamed3288(o.forcedRollouts);
+ checkUnnamed3291(o.forcedFlags);
+ checkUnnamed3292(o.forcedRollouts);
}
buildCounterNamespacedDebugInput--;
}
-buildUnnamed3289() {
+buildUnnamed3293() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed3289(core.List<core.double> o) {
+checkUnnamed3293(core.List<core.double> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42.0));
unittest.expect(o[1], unittest.equals(42.0));
@@ -2276,7 +2276,7 @@
var o = new api.NumericBucketingOption();
buildCounterNumericBucketingOption++;
if (buildCounterNumericBucketingOption < 3) {
- o.bucketBounds = buildUnnamed3289();
+ o.bucketBounds = buildUnnamed3293();
o.requiresMinMax = true;
}
buildCounterNumericBucketingOption--;
@@ -2286,20 +2286,20 @@
checkNumericBucketingOption(api.NumericBucketingOption o) {
buildCounterNumericBucketingOption++;
if (buildCounterNumericBucketingOption < 3) {
- checkUnnamed3289(o.bucketBounds);
+ checkUnnamed3293(o.bucketBounds);
unittest.expect(o.requiresMinMax, unittest.isTrue);
}
buildCounterNumericBucketingOption--;
}
-buildUnnamed3290() {
+buildUnnamed3294() {
var o = new core.List<api.BucketizedCount>();
o.add(buildBucketizedCount());
o.add(buildBucketizedCount());
return o;
}
-checkUnnamed3290(core.List<api.BucketizedCount> o) {
+checkUnnamed3294(core.List<api.BucketizedCount> o) {
unittest.expect(o, unittest.hasLength(2));
checkBucketizedCount(o[0]);
checkBucketizedCount(o[1]);
@@ -2310,7 +2310,7 @@
var o = new api.NumericBucketingResult();
buildCounterNumericBucketingResult++;
if (buildCounterNumericBucketingResult < 3) {
- o.counts = buildUnnamed3290();
+ o.counts = buildUnnamed3294();
o.maxValue = 42.0;
o.minValue = 42.0;
}
@@ -2321,34 +2321,34 @@
checkNumericBucketingResult(api.NumericBucketingResult o) {
buildCounterNumericBucketingResult++;
if (buildCounterNumericBucketingResult < 3) {
- checkUnnamed3290(o.counts);
+ checkUnnamed3294(o.counts);
unittest.expect(o.maxValue, unittest.equals(42.0));
unittest.expect(o.minValue, unittest.equals(42.0));
}
buildCounterNumericBucketingResult--;
}
-buildUnnamed3291() {
+buildUnnamed3295() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3291(core.List<core.String> o) {
+checkUnnamed3295(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3292() {
+buildUnnamed3296() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3292(core.List<core.String> o) {
+checkUnnamed3296(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2359,13 +2359,13 @@
var o = new api.PostalAddress();
buildCounterPostalAddress++;
if (buildCounterPostalAddress < 3) {
- o.addressLines = buildUnnamed3291();
+ o.addressLines = buildUnnamed3295();
o.administrativeArea = "foo";
o.languageCode = "foo";
o.locality = "foo";
o.organization = "foo";
o.postalCode = "foo";
- o.recipients = buildUnnamed3292();
+ o.recipients = buildUnnamed3296();
o.regionCode = "foo";
o.revision = 42;
o.sortingCode = "foo";
@@ -2378,13 +2378,13 @@
checkPostalAddress(api.PostalAddress o) {
buildCounterPostalAddress++;
if (buildCounterPostalAddress < 3) {
- checkUnnamed3291(o.addressLines);
+ checkUnnamed3295(o.addressLines);
unittest.expect(o.administrativeArea, unittest.equals('foo'));
unittest.expect(o.languageCode, unittest.equals('foo'));
unittest.expect(o.locality, unittest.equals('foo'));
unittest.expect(o.organization, unittest.equals('foo'));
unittest.expect(o.postalCode, unittest.equals('foo'));
- checkUnnamed3292(o.recipients);
+ checkUnnamed3296(o.recipients);
unittest.expect(o.regionCode, unittest.equals('foo'));
unittest.expect(o.revision, unittest.equals(42));
unittest.expect(o.sortingCode, unittest.equals('foo'));
@@ -2501,27 +2501,27 @@
buildCounterSearchJobsRequest--;
}
-buildUnnamed3293() {
+buildUnnamed3297() {
var o = new core.List<api.Location>();
o.add(buildLocation());
o.add(buildLocation());
return o;
}
-checkUnnamed3293(core.List<api.Location> o) {
+checkUnnamed3297(core.List<api.Location> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocation(o[0]);
checkLocation(o[1]);
}
-buildUnnamed3294() {
+buildUnnamed3298() {
var o = new core.List<api.MatchingJob>();
o.add(buildMatchingJob());
o.add(buildMatchingJob());
return o;
}
-checkUnnamed3294(core.List<api.MatchingJob> o) {
+checkUnnamed3298(core.List<api.MatchingJob> o) {
unittest.expect(o, unittest.hasLength(2));
checkMatchingJob(o[0]);
checkMatchingJob(o[1]);
@@ -2535,8 +2535,8 @@
o.broadenedQueryJobsCount = 42;
o.estimatedTotalSize = 42;
o.histogramResults = buildHistogramResults();
- o.locationFilters = buildUnnamed3293();
- o.matchingJobs = buildUnnamed3294();
+ o.locationFilters = buildUnnamed3297();
+ o.matchingJobs = buildUnnamed3298();
o.metadata = buildResponseMetadata();
o.nextPageToken = "foo";
o.spellCorrection = buildSpellingCorrection();
@@ -2552,8 +2552,8 @@
unittest.expect(o.broadenedQueryJobsCount, unittest.equals(42));
unittest.expect(o.estimatedTotalSize, unittest.equals(42));
checkHistogramResults(o.histogramResults);
- checkUnnamed3293(o.locationFilters);
- checkUnnamed3294(o.matchingJobs);
+ checkUnnamed3297(o.locationFilters);
+ checkUnnamed3298(o.matchingJobs);
checkResponseMetadata(o.metadata);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkSpellingCorrection(o.spellCorrection);
@@ -2583,7 +2583,7 @@
buildCounterSpellingCorrection--;
}
-buildUnnamed3295() {
+buildUnnamed3299() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -2598,7 +2598,7 @@
return o;
}
-checkUnnamed3295(core.Map<core.String, core.Object> o) {
+checkUnnamed3299(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o["x"]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -2612,17 +2612,17 @@
unittest.expect(casted2["string"], unittest.equals('foo'));
}
-buildUnnamed3296() {
+buildUnnamed3300() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed3295());
- o.add(buildUnnamed3295());
+ o.add(buildUnnamed3299());
+ o.add(buildUnnamed3299());
return o;
}
-checkUnnamed3296(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed3300(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed3295(o[0]);
- checkUnnamed3295(o[1]);
+ checkUnnamed3299(o[0]);
+ checkUnnamed3299(o[1]);
}
core.int buildCounterStatus = 0;
@@ -2631,7 +2631,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed3296();
+ o.details = buildUnnamed3300();
o.message = "foo";
}
buildCounterStatus--;
@@ -2642,7 +2642,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed3296(o.details);
+ checkUnnamed3300(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
@@ -2736,14 +2736,14 @@
buildCounterUpdateJobRequest--;
}
-buildUnnamed3297() {
+buildUnnamed3301() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3297(core.List<core.String> o) {
+checkUnnamed3301(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3319,13 +3319,13 @@
var mock = new HttpServerMock();
api.ProjectsResourceApi res = new api.JobsApi(mock).projects;
var arg_name = "foo";
- var arg_scope = "foo";
- var arg_companyName = "foo";
var arg_languageCode = "foo";
+ var arg_languageCodes = buildUnnamed3301();
+ var arg_companyName = "foo";
var arg_query = "foo";
var arg_pageSize = 42;
+ var arg_scope = "foo";
var arg_type = "foo";
- var arg_languageCodes = buildUnnamed3297();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3358,17 +3358,17 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["scope"].first, unittest.equals(arg_scope));
- 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["scope"].first, unittest.equals(arg_scope));
unittest.expect(queryMap["type"].first, unittest.equals(arg_type));
- unittest.expect(
- queryMap["languageCodes"], unittest.equals(arg_languageCodes));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3379,13 +3379,13 @@
}), true);
res
.complete(arg_name,
- scope: arg_scope,
- companyName: arg_companyName,
languageCode: arg_languageCode,
+ languageCodes: arg_languageCodes,
+ companyName: arg_companyName,
query: arg_query,
pageSize: arg_pageSize,
+ scope: arg_scope,
type: arg_type,
- languageCodes: arg_languageCodes,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkCompleteQueryResponse(response);
@@ -3617,9 +3617,9 @@
api.ProjectsCompaniesResourceApi res =
new api.JobsApi(mock).projects.companies;
var arg_parent = "foo";
- var arg_pageSize = 42;
- var arg_requireOpenJobs = true;
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;
@@ -3652,12 +3652,12 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
- unittest.expect(queryMap["requireOpenJobs"].first,
- unittest.equals("$arg_requireOpenJobs"));
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 = {
@@ -3668,9 +3668,9 @@
}), true);
res
.list(arg_parent,
- pageSize: arg_pageSize,
- requireOpenJobs: arg_requireOpenJobs,
pageToken: arg_pageToken,
+ requireOpenJobs: arg_requireOpenJobs,
+ pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListCompaniesResponse(response);
@@ -3951,9 +3951,9 @@
var mock = new HttpServerMock();
api.ProjectsJobsResourceApi res = new api.JobsApi(mock).projects.jobs;
var arg_parent = "foo";
- var arg_filter = "foo";
var arg_pageToken = "foo";
var arg_pageSize = 42;
+ var arg_filter = "foo";
var arg_jobView = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -3987,11 +3987,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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["filter"].first, unittest.equals(arg_filter));
unittest.expect(
queryMap["jobView"].first, unittest.equals(arg_jobView));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -4004,9 +4004,9 @@
}), true);
res
.list(arg_parent,
- filter: arg_filter,
pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ filter: arg_filter,
jobView: arg_jobView,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
diff --git a/generated/googleapis/test/kgsearch/v1_test.dart b/generated/googleapis/test/kgsearch/v1_test.dart
index 6e26df9..a3436ae 100644
--- a/generated/googleapis/test/kgsearch/v1_test.dart
+++ b/generated/googleapis/test/kgsearch/v1_test.dart
@@ -50,7 +50,7 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed1687() {
+buildUnnamed1689() {
var o = new core.List<core.Object>();
o.add({
'list': [1, 2, 3],
@@ -65,7 +65,7 @@
return o;
}
-checkUnnamed1687(core.List<core.Object> o) {
+checkUnnamed1689(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o[0]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -94,7 +94,7 @@
'bool': true,
'string': 'foo'
};
- o.itemListElement = buildUnnamed1687();
+ o.itemListElement = buildUnnamed1689();
}
buildCounterSearchResponse--;
return o;
@@ -113,37 +113,11 @@
unittest.expect(casted4["list"], unittest.equals([1, 2, 3]));
unittest.expect(casted4["bool"], unittest.equals(true));
unittest.expect(casted4["string"], unittest.equals('foo'));
- checkUnnamed1687(o.itemListElement);
+ checkUnnamed1689(o.itemListElement);
}
buildCounterSearchResponse--;
}
-buildUnnamed1688() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1688(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed1689() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1689(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed1690() {
var o = new core.List<core.String>();
o.add("foo");
@@ -157,6 +131,32 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed1691() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1691(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed1692() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1692(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
main() {
unittest.group("obj-schema-SearchResponse", () {
unittest.test("to-json--from-json", () {
@@ -170,13 +170,13 @@
unittest.test("method--search", () {
var mock = new HttpServerMock();
api.EntitiesResourceApi res = new api.KgsearchApi(mock).entities;
- var arg_types = buildUnnamed1688();
- var arg_languages = buildUnnamed1689();
- var arg_limit = 42;
var arg_ids = buildUnnamed1690();
- var arg_indent = true;
+ var arg_types = buildUnnamed1691();
var arg_query = "foo";
var arg_prefix = true;
+ var arg_indent = true;
+ var arg_limit = 42;
+ var arg_languages = buildUnnamed1692();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -208,16 +208,16 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["types"], unittest.equals(arg_types));
- unittest.expect(queryMap["languages"], unittest.equals(arg_languages));
- unittest.expect(core.int.parse(queryMap["limit"].first),
- unittest.equals(arg_limit));
unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
- unittest.expect(
- queryMap["indent"].first, unittest.equals("$arg_indent"));
+ 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(core.int.parse(queryMap["limit"].first),
+ unittest.equals(arg_limit));
+ unittest.expect(queryMap["languages"], unittest.equals(arg_languages));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -228,13 +228,13 @@
}), true);
res
.search(
- types: arg_types,
- languages: arg_languages,
- limit: arg_limit,
ids: arg_ids,
- indent: arg_indent,
+ types: arg_types,
query: arg_query,
prefix: arg_prefix,
+ indent: arg_indent,
+ limit: arg_limit,
+ languages: arg_languages,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkSearchResponse(response);
diff --git a/generated/googleapis/test/language/v1_test.dart b/generated/googleapis/test/language/v1_test.dart
index 2b8c058..b8c8ffa 100644
--- a/generated/googleapis/test/language/v1_test.dart
+++ b/generated/googleapis/test/language/v1_test.dart
@@ -71,14 +71,14 @@
buildCounterAnalyzeEntitiesRequest--;
}
-buildUnnamed4087() {
+buildUnnamed4094() {
var o = new core.List<api.Entity>();
o.add(buildEntity());
o.add(buildEntity());
return o;
}
-checkUnnamed4087(core.List<api.Entity> o) {
+checkUnnamed4094(core.List<api.Entity> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntity(o[0]);
checkEntity(o[1]);
@@ -89,7 +89,7 @@
var o = new api.AnalyzeEntitiesResponse();
buildCounterAnalyzeEntitiesResponse++;
if (buildCounterAnalyzeEntitiesResponse < 3) {
- o.entities = buildUnnamed4087();
+ o.entities = buildUnnamed4094();
o.language = "foo";
}
buildCounterAnalyzeEntitiesResponse--;
@@ -99,7 +99,7 @@
checkAnalyzeEntitiesResponse(api.AnalyzeEntitiesResponse o) {
buildCounterAnalyzeEntitiesResponse++;
if (buildCounterAnalyzeEntitiesResponse < 3) {
- checkUnnamed4087(o.entities);
+ checkUnnamed4094(o.entities);
unittest.expect(o.language, unittest.equals('foo'));
}
buildCounterAnalyzeEntitiesResponse--;
@@ -126,14 +126,14 @@
buildCounterAnalyzeEntitySentimentRequest--;
}
-buildUnnamed4088() {
+buildUnnamed4095() {
var o = new core.List<api.Entity>();
o.add(buildEntity());
o.add(buildEntity());
return o;
}
-checkUnnamed4088(core.List<api.Entity> o) {
+checkUnnamed4095(core.List<api.Entity> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntity(o[0]);
checkEntity(o[1]);
@@ -144,7 +144,7 @@
var o = new api.AnalyzeEntitySentimentResponse();
buildCounterAnalyzeEntitySentimentResponse++;
if (buildCounterAnalyzeEntitySentimentResponse < 3) {
- o.entities = buildUnnamed4088();
+ o.entities = buildUnnamed4095();
o.language = "foo";
}
buildCounterAnalyzeEntitySentimentResponse--;
@@ -154,7 +154,7 @@
checkAnalyzeEntitySentimentResponse(api.AnalyzeEntitySentimentResponse o) {
buildCounterAnalyzeEntitySentimentResponse++;
if (buildCounterAnalyzeEntitySentimentResponse < 3) {
- checkUnnamed4088(o.entities);
+ checkUnnamed4095(o.entities);
unittest.expect(o.language, unittest.equals('foo'));
}
buildCounterAnalyzeEntitySentimentResponse--;
@@ -181,14 +181,14 @@
buildCounterAnalyzeSentimentRequest--;
}
-buildUnnamed4089() {
+buildUnnamed4096() {
var o = new core.List<api.Sentence>();
o.add(buildSentence());
o.add(buildSentence());
return o;
}
-checkUnnamed4089(core.List<api.Sentence> o) {
+checkUnnamed4096(core.List<api.Sentence> o) {
unittest.expect(o, unittest.hasLength(2));
checkSentence(o[0]);
checkSentence(o[1]);
@@ -201,7 +201,7 @@
if (buildCounterAnalyzeSentimentResponse < 3) {
o.documentSentiment = buildSentiment();
o.language = "foo";
- o.sentences = buildUnnamed4089();
+ o.sentences = buildUnnamed4096();
}
buildCounterAnalyzeSentimentResponse--;
return o;
@@ -212,7 +212,7 @@
if (buildCounterAnalyzeSentimentResponse < 3) {
checkSentiment(o.documentSentiment);
unittest.expect(o.language, unittest.equals('foo'));
- checkUnnamed4089(o.sentences);
+ checkUnnamed4096(o.sentences);
}
buildCounterAnalyzeSentimentResponse--;
}
@@ -238,27 +238,27 @@
buildCounterAnalyzeSyntaxRequest--;
}
-buildUnnamed4090() {
+buildUnnamed4097() {
var o = new core.List<api.Sentence>();
o.add(buildSentence());
o.add(buildSentence());
return o;
}
-checkUnnamed4090(core.List<api.Sentence> o) {
+checkUnnamed4097(core.List<api.Sentence> o) {
unittest.expect(o, unittest.hasLength(2));
checkSentence(o[0]);
checkSentence(o[1]);
}
-buildUnnamed4091() {
+buildUnnamed4098() {
var o = new core.List<api.Token>();
o.add(buildToken());
o.add(buildToken());
return o;
}
-checkUnnamed4091(core.List<api.Token> o) {
+checkUnnamed4098(core.List<api.Token> o) {
unittest.expect(o, unittest.hasLength(2));
checkToken(o[0]);
checkToken(o[1]);
@@ -270,8 +270,8 @@
buildCounterAnalyzeSyntaxResponse++;
if (buildCounterAnalyzeSyntaxResponse < 3) {
o.language = "foo";
- o.sentences = buildUnnamed4090();
- o.tokens = buildUnnamed4091();
+ o.sentences = buildUnnamed4097();
+ o.tokens = buildUnnamed4098();
}
buildCounterAnalyzeSyntaxResponse--;
return o;
@@ -281,8 +281,8 @@
buildCounterAnalyzeSyntaxResponse++;
if (buildCounterAnalyzeSyntaxResponse < 3) {
unittest.expect(o.language, unittest.equals('foo'));
- checkUnnamed4090(o.sentences);
- checkUnnamed4091(o.tokens);
+ checkUnnamed4097(o.sentences);
+ checkUnnamed4098(o.tokens);
}
buildCounterAnalyzeSyntaxResponse--;
}
@@ -310,53 +310,53 @@
buildCounterAnnotateTextRequest--;
}
-buildUnnamed4092() {
+buildUnnamed4099() {
var o = new core.List<api.ClassificationCategory>();
o.add(buildClassificationCategory());
o.add(buildClassificationCategory());
return o;
}
-checkUnnamed4092(core.List<api.ClassificationCategory> o) {
+checkUnnamed4099(core.List<api.ClassificationCategory> o) {
unittest.expect(o, unittest.hasLength(2));
checkClassificationCategory(o[0]);
checkClassificationCategory(o[1]);
}
-buildUnnamed4093() {
+buildUnnamed4100() {
var o = new core.List<api.Entity>();
o.add(buildEntity());
o.add(buildEntity());
return o;
}
-checkUnnamed4093(core.List<api.Entity> o) {
+checkUnnamed4100(core.List<api.Entity> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntity(o[0]);
checkEntity(o[1]);
}
-buildUnnamed4094() {
+buildUnnamed4101() {
var o = new core.List<api.Sentence>();
o.add(buildSentence());
o.add(buildSentence());
return o;
}
-checkUnnamed4094(core.List<api.Sentence> o) {
+checkUnnamed4101(core.List<api.Sentence> o) {
unittest.expect(o, unittest.hasLength(2));
checkSentence(o[0]);
checkSentence(o[1]);
}
-buildUnnamed4095() {
+buildUnnamed4102() {
var o = new core.List<api.Token>();
o.add(buildToken());
o.add(buildToken());
return o;
}
-checkUnnamed4095(core.List<api.Token> o) {
+checkUnnamed4102(core.List<api.Token> o) {
unittest.expect(o, unittest.hasLength(2));
checkToken(o[0]);
checkToken(o[1]);
@@ -367,12 +367,12 @@
var o = new api.AnnotateTextResponse();
buildCounterAnnotateTextResponse++;
if (buildCounterAnnotateTextResponse < 3) {
- o.categories = buildUnnamed4092();
+ o.categories = buildUnnamed4099();
o.documentSentiment = buildSentiment();
- o.entities = buildUnnamed4093();
+ o.entities = buildUnnamed4100();
o.language = "foo";
- o.sentences = buildUnnamed4094();
- o.tokens = buildUnnamed4095();
+ o.sentences = buildUnnamed4101();
+ o.tokens = buildUnnamed4102();
}
buildCounterAnnotateTextResponse--;
return o;
@@ -381,12 +381,12 @@
checkAnnotateTextResponse(api.AnnotateTextResponse o) {
buildCounterAnnotateTextResponse++;
if (buildCounterAnnotateTextResponse < 3) {
- checkUnnamed4092(o.categories);
+ checkUnnamed4099(o.categories);
checkSentiment(o.documentSentiment);
- checkUnnamed4093(o.entities);
+ checkUnnamed4100(o.entities);
unittest.expect(o.language, unittest.equals('foo'));
- checkUnnamed4094(o.sentences);
- checkUnnamed4095(o.tokens);
+ checkUnnamed4101(o.sentences);
+ checkUnnamed4102(o.tokens);
}
buildCounterAnnotateTextResponse--;
}
@@ -431,14 +431,14 @@
buildCounterClassifyTextRequest--;
}
-buildUnnamed4096() {
+buildUnnamed4103() {
var o = new core.List<api.ClassificationCategory>();
o.add(buildClassificationCategory());
o.add(buildClassificationCategory());
return o;
}
-checkUnnamed4096(core.List<api.ClassificationCategory> o) {
+checkUnnamed4103(core.List<api.ClassificationCategory> o) {
unittest.expect(o, unittest.hasLength(2));
checkClassificationCategory(o[0]);
checkClassificationCategory(o[1]);
@@ -449,7 +449,7 @@
var o = new api.ClassifyTextResponse();
buildCounterClassifyTextResponse++;
if (buildCounterClassifyTextResponse < 3) {
- o.categories = buildUnnamed4096();
+ o.categories = buildUnnamed4103();
}
buildCounterClassifyTextResponse--;
return o;
@@ -458,7 +458,7 @@
checkClassifyTextResponse(api.ClassifyTextResponse o) {
buildCounterClassifyTextResponse++;
if (buildCounterClassifyTextResponse < 3) {
- checkUnnamed4096(o.categories);
+ checkUnnamed4103(o.categories);
}
buildCounterClassifyTextResponse--;
}
@@ -509,27 +509,27 @@
buildCounterDocument--;
}
-buildUnnamed4097() {
+buildUnnamed4104() {
var o = new core.List<api.EntityMention>();
o.add(buildEntityMention());
o.add(buildEntityMention());
return o;
}
-checkUnnamed4097(core.List<api.EntityMention> o) {
+checkUnnamed4104(core.List<api.EntityMention> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntityMention(o[0]);
checkEntityMention(o[1]);
}
-buildUnnamed4098() {
+buildUnnamed4105() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed4098(core.Map<core.String, core.String> o) {
+checkUnnamed4105(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -540,8 +540,8 @@
var o = new api.Entity();
buildCounterEntity++;
if (buildCounterEntity < 3) {
- o.mentions = buildUnnamed4097();
- o.metadata = buildUnnamed4098();
+ o.mentions = buildUnnamed4104();
+ o.metadata = buildUnnamed4105();
o.name = "foo";
o.salience = 42.0;
o.sentiment = buildSentiment();
@@ -554,8 +554,8 @@
checkEntity(api.Entity o) {
buildCounterEntity++;
if (buildCounterEntity < 3) {
- checkUnnamed4097(o.mentions);
- checkUnnamed4098(o.metadata);
+ checkUnnamed4104(o.mentions);
+ checkUnnamed4105(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.salience, unittest.equals(42.0));
checkSentiment(o.sentiment);
@@ -697,7 +697,7 @@
buildCounterSentiment--;
}
-buildUnnamed4099() {
+buildUnnamed4106() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -712,7 +712,7 @@
return o;
}
-checkUnnamed4099(core.Map<core.String, core.Object> o) {
+checkUnnamed4106(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o["x"]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -726,17 +726,17 @@
unittest.expect(casted2["string"], unittest.equals('foo'));
}
-buildUnnamed4100() {
+buildUnnamed4107() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed4099());
- o.add(buildUnnamed4099());
+ o.add(buildUnnamed4106());
+ o.add(buildUnnamed4106());
return o;
}
-checkUnnamed4100(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed4107(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed4099(o[0]);
- checkUnnamed4099(o[1]);
+ checkUnnamed4106(o[0]);
+ checkUnnamed4106(o[1]);
}
core.int buildCounterStatus = 0;
@@ -745,7 +745,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed4100();
+ o.details = buildUnnamed4107();
o.message = "foo";
}
buildCounterStatus--;
@@ -756,7 +756,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed4100(o.details);
+ checkUnnamed4107(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
diff --git a/generated/googleapis/test/libraryagent/v1_test.dart b/generated/googleapis/test/libraryagent/v1_test.dart
index ae39db0..daf0281 100644
--- a/generated/googleapis/test/libraryagent/v1_test.dart
+++ b/generated/googleapis/test/libraryagent/v1_test.dart
@@ -75,14 +75,14 @@
buildCounterGoogleExampleLibraryagentV1Book--;
}
-buildUnnamed5744() {
+buildUnnamed5720() {
var o = new core.List<api.GoogleExampleLibraryagentV1Book>();
o.add(buildGoogleExampleLibraryagentV1Book());
o.add(buildGoogleExampleLibraryagentV1Book());
return o;
}
-checkUnnamed5744(core.List<api.GoogleExampleLibraryagentV1Book> o) {
+checkUnnamed5720(core.List<api.GoogleExampleLibraryagentV1Book> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleExampleLibraryagentV1Book(o[0]);
checkGoogleExampleLibraryagentV1Book(o[1]);
@@ -93,7 +93,7 @@
var o = new api.GoogleExampleLibraryagentV1ListBooksResponse();
buildCounterGoogleExampleLibraryagentV1ListBooksResponse++;
if (buildCounterGoogleExampleLibraryagentV1ListBooksResponse < 3) {
- o.books = buildUnnamed5744();
+ o.books = buildUnnamed5720();
o.nextPageToken = "foo";
}
buildCounterGoogleExampleLibraryagentV1ListBooksResponse--;
@@ -104,20 +104,20 @@
api.GoogleExampleLibraryagentV1ListBooksResponse o) {
buildCounterGoogleExampleLibraryagentV1ListBooksResponse++;
if (buildCounterGoogleExampleLibraryagentV1ListBooksResponse < 3) {
- checkUnnamed5744(o.books);
+ checkUnnamed5720(o.books);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterGoogleExampleLibraryagentV1ListBooksResponse--;
}
-buildUnnamed5745() {
+buildUnnamed5721() {
var o = new core.List<api.GoogleExampleLibraryagentV1Shelf>();
o.add(buildGoogleExampleLibraryagentV1Shelf());
o.add(buildGoogleExampleLibraryagentV1Shelf());
return o;
}
-checkUnnamed5745(core.List<api.GoogleExampleLibraryagentV1Shelf> o) {
+checkUnnamed5721(core.List<api.GoogleExampleLibraryagentV1Shelf> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleExampleLibraryagentV1Shelf(o[0]);
checkGoogleExampleLibraryagentV1Shelf(o[1]);
@@ -129,7 +129,7 @@
buildCounterGoogleExampleLibraryagentV1ListShelvesResponse++;
if (buildCounterGoogleExampleLibraryagentV1ListShelvesResponse < 3) {
o.nextPageToken = "foo";
- o.shelves = buildUnnamed5745();
+ o.shelves = buildUnnamed5721();
}
buildCounterGoogleExampleLibraryagentV1ListShelvesResponse--;
return o;
@@ -140,7 +140,7 @@
buildCounterGoogleExampleLibraryagentV1ListShelvesResponse++;
if (buildCounterGoogleExampleLibraryagentV1ListShelvesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed5745(o.shelves);
+ checkUnnamed5721(o.shelves);
}
buildCounterGoogleExampleLibraryagentV1ListShelvesResponse--;
}
diff --git a/generated/googleapis/test/licensing/v1_test.dart b/generated/googleapis/test/licensing/v1_test.dart
index 434be7a..993e87b 100644
--- a/generated/googleapis/test/licensing/v1_test.dart
+++ b/generated/googleapis/test/licensing/v1_test.dart
@@ -102,14 +102,14 @@
buildCounterLicenseAssignmentInsert--;
}
-buildUnnamed4073() {
+buildUnnamed4080() {
var o = new core.List<api.LicenseAssignment>();
o.add(buildLicenseAssignment());
o.add(buildLicenseAssignment());
return o;
}
-checkUnnamed4073(core.List<api.LicenseAssignment> o) {
+checkUnnamed4080(core.List<api.LicenseAssignment> o) {
unittest.expect(o, unittest.hasLength(2));
checkLicenseAssignment(o[0]);
checkLicenseAssignment(o[1]);
@@ -121,7 +121,7 @@
buildCounterLicenseAssignmentList++;
if (buildCounterLicenseAssignmentList < 3) {
o.etag = "foo";
- o.items = buildUnnamed4073();
+ o.items = buildUnnamed4080();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -133,7 +133,7 @@
buildCounterLicenseAssignmentList++;
if (buildCounterLicenseAssignmentList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed4073(o.items);
+ checkUnnamed4080(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -392,8 +392,8 @@
new api.LicensingApi(mock).licenseAssignments;
var arg_productId = "foo";
var arg_customerId = "foo";
- var arg_maxResults = 42;
var arg_pageToken = "foo";
+ var arg_maxResults = 42;
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(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["maxResults"].first),
+ unittest.equals(arg_maxResults));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -450,8 +450,8 @@
}), true);
res
.listForProduct(arg_productId, arg_customerId,
- maxResults: arg_maxResults,
pageToken: arg_pageToken,
+ maxResults: arg_maxResults,
$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_maxResults = 42;
var arg_pageToken = "foo";
+ var arg_maxResults = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -518,10 +518,10 @@
}
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(core.int.parse(queryMap["maxResults"].first),
+ unittest.equals(arg_maxResults));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -532,8 +532,8 @@
}), true);
res
.listForProductAndSku(arg_productId, arg_skuId, arg_customerId,
- maxResults: arg_maxResults,
pageToken: arg_pageToken,
+ maxResults: arg_maxResults,
$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 fce229f..89540c3 100644
--- a/generated/googleapis/test/logging/v2_test.dart
+++ b/generated/googleapis/test/logging/v2_test.dart
@@ -132,14 +132,14 @@
buildCounterEmpty--;
}
-buildUnnamed5394() {
+buildUnnamed5370() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed5394(core.List<core.double> o) {
+checkUnnamed5370(core.List<core.double> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42.0));
unittest.expect(o[1], unittest.equals(42.0));
@@ -150,7 +150,7 @@
var o = new api.Explicit();
buildCounterExplicit++;
if (buildCounterExplicit < 3) {
- o.bounds = buildUnnamed5394();
+ o.bounds = buildUnnamed5370();
}
buildCounterExplicit--;
return o;
@@ -159,7 +159,7 @@
checkExplicit(api.Explicit o) {
buildCounterExplicit++;
if (buildCounterExplicit < 3) {
- checkUnnamed5394(o.bounds);
+ checkUnnamed5370(o.bounds);
}
buildCounterExplicit--;
}
@@ -280,14 +280,14 @@
buildCounterLinear--;
}
-buildUnnamed5395() {
+buildUnnamed5371() {
var o = new core.List<api.LogBucket>();
o.add(buildLogBucket());
o.add(buildLogBucket());
return o;
}
-checkUnnamed5395(core.List<api.LogBucket> o) {
+checkUnnamed5371(core.List<api.LogBucket> o) {
unittest.expect(o, unittest.hasLength(2));
checkLogBucket(o[0]);
checkLogBucket(o[1]);
@@ -298,7 +298,7 @@
var o = new api.ListBucketsResponse();
buildCounterListBucketsResponse++;
if (buildCounterListBucketsResponse < 3) {
- o.buckets = buildUnnamed5395();
+ o.buckets = buildUnnamed5371();
o.nextPageToken = "foo";
}
buildCounterListBucketsResponse--;
@@ -308,20 +308,20 @@
checkListBucketsResponse(api.ListBucketsResponse o) {
buildCounterListBucketsResponse++;
if (buildCounterListBucketsResponse < 3) {
- checkUnnamed5395(o.buckets);
+ checkUnnamed5371(o.buckets);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListBucketsResponse--;
}
-buildUnnamed5396() {
+buildUnnamed5372() {
var o = new core.List<api.LogExclusion>();
o.add(buildLogExclusion());
o.add(buildLogExclusion());
return o;
}
-checkUnnamed5396(core.List<api.LogExclusion> o) {
+checkUnnamed5372(core.List<api.LogExclusion> o) {
unittest.expect(o, unittest.hasLength(2));
checkLogExclusion(o[0]);
checkLogExclusion(o[1]);
@@ -332,7 +332,7 @@
var o = new api.ListExclusionsResponse();
buildCounterListExclusionsResponse++;
if (buildCounterListExclusionsResponse < 3) {
- o.exclusions = buildUnnamed5396();
+ o.exclusions = buildUnnamed5372();
o.nextPageToken = "foo";
}
buildCounterListExclusionsResponse--;
@@ -342,33 +342,33 @@
checkListExclusionsResponse(api.ListExclusionsResponse o) {
buildCounterListExclusionsResponse++;
if (buildCounterListExclusionsResponse < 3) {
- checkUnnamed5396(o.exclusions);
+ checkUnnamed5372(o.exclusions);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListExclusionsResponse--;
}
-buildUnnamed5397() {
+buildUnnamed5373() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5397(core.List<core.String> o) {
+checkUnnamed5373(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed5398() {
+buildUnnamed5374() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5398(core.List<core.String> o) {
+checkUnnamed5374(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -383,8 +383,8 @@
o.orderBy = "foo";
o.pageSize = 42;
o.pageToken = "foo";
- o.projectIds = buildUnnamed5397();
- o.resourceNames = buildUnnamed5398();
+ o.projectIds = buildUnnamed5373();
+ o.resourceNames = buildUnnamed5374();
}
buildCounterListLogEntriesRequest--;
return o;
@@ -397,20 +397,20 @@
unittest.expect(o.orderBy, unittest.equals('foo'));
unittest.expect(o.pageSize, unittest.equals(42));
unittest.expect(o.pageToken, unittest.equals('foo'));
- checkUnnamed5397(o.projectIds);
- checkUnnamed5398(o.resourceNames);
+ checkUnnamed5373(o.projectIds);
+ checkUnnamed5374(o.resourceNames);
}
buildCounterListLogEntriesRequest--;
}
-buildUnnamed5399() {
+buildUnnamed5375() {
var o = new core.List<api.LogEntry>();
o.add(buildLogEntry());
o.add(buildLogEntry());
return o;
}
-checkUnnamed5399(core.List<api.LogEntry> o) {
+checkUnnamed5375(core.List<api.LogEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkLogEntry(o[0]);
checkLogEntry(o[1]);
@@ -421,7 +421,7 @@
var o = new api.ListLogEntriesResponse();
buildCounterListLogEntriesResponse++;
if (buildCounterListLogEntriesResponse < 3) {
- o.entries = buildUnnamed5399();
+ o.entries = buildUnnamed5375();
o.nextPageToken = "foo";
}
buildCounterListLogEntriesResponse--;
@@ -431,20 +431,20 @@
checkListLogEntriesResponse(api.ListLogEntriesResponse o) {
buildCounterListLogEntriesResponse++;
if (buildCounterListLogEntriesResponse < 3) {
- checkUnnamed5399(o.entries);
+ checkUnnamed5375(o.entries);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListLogEntriesResponse--;
}
-buildUnnamed5400() {
+buildUnnamed5376() {
var o = new core.List<api.LogMetric>();
o.add(buildLogMetric());
o.add(buildLogMetric());
return o;
}
-checkUnnamed5400(core.List<api.LogMetric> o) {
+checkUnnamed5376(core.List<api.LogMetric> o) {
unittest.expect(o, unittest.hasLength(2));
checkLogMetric(o[0]);
checkLogMetric(o[1]);
@@ -455,7 +455,7 @@
var o = new api.ListLogMetricsResponse();
buildCounterListLogMetricsResponse++;
if (buildCounterListLogMetricsResponse < 3) {
- o.metrics = buildUnnamed5400();
+ o.metrics = buildUnnamed5376();
o.nextPageToken = "foo";
}
buildCounterListLogMetricsResponse--;
@@ -465,20 +465,20 @@
checkListLogMetricsResponse(api.ListLogMetricsResponse o) {
buildCounterListLogMetricsResponse++;
if (buildCounterListLogMetricsResponse < 3) {
- checkUnnamed5400(o.metrics);
+ checkUnnamed5376(o.metrics);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListLogMetricsResponse--;
}
-buildUnnamed5401() {
+buildUnnamed5377() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5401(core.List<core.String> o) {
+checkUnnamed5377(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -489,7 +489,7 @@
var o = new api.ListLogsResponse();
buildCounterListLogsResponse++;
if (buildCounterListLogsResponse < 3) {
- o.logNames = buildUnnamed5401();
+ o.logNames = buildUnnamed5377();
o.nextPageToken = "foo";
}
buildCounterListLogsResponse--;
@@ -499,20 +499,20 @@
checkListLogsResponse(api.ListLogsResponse o) {
buildCounterListLogsResponse++;
if (buildCounterListLogsResponse < 3) {
- checkUnnamed5401(o.logNames);
+ checkUnnamed5377(o.logNames);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListLogsResponse--;
}
-buildUnnamed5402() {
+buildUnnamed5378() {
var o = new core.List<api.MonitoredResourceDescriptor>();
o.add(buildMonitoredResourceDescriptor());
o.add(buildMonitoredResourceDescriptor());
return o;
}
-checkUnnamed5402(core.List<api.MonitoredResourceDescriptor> o) {
+checkUnnamed5378(core.List<api.MonitoredResourceDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkMonitoredResourceDescriptor(o[0]);
checkMonitoredResourceDescriptor(o[1]);
@@ -524,7 +524,7 @@
buildCounterListMonitoredResourceDescriptorsResponse++;
if (buildCounterListMonitoredResourceDescriptorsResponse < 3) {
o.nextPageToken = "foo";
- o.resourceDescriptors = buildUnnamed5402();
+ o.resourceDescriptors = buildUnnamed5378();
}
buildCounterListMonitoredResourceDescriptorsResponse--;
return o;
@@ -535,19 +535,19 @@
buildCounterListMonitoredResourceDescriptorsResponse++;
if (buildCounterListMonitoredResourceDescriptorsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed5402(o.resourceDescriptors);
+ checkUnnamed5378(o.resourceDescriptors);
}
buildCounterListMonitoredResourceDescriptorsResponse--;
}
-buildUnnamed5403() {
+buildUnnamed5379() {
var o = new core.List<api.LogSink>();
o.add(buildLogSink());
o.add(buildLogSink());
return o;
}
-checkUnnamed5403(core.List<api.LogSink> o) {
+checkUnnamed5379(core.List<api.LogSink> o) {
unittest.expect(o, unittest.hasLength(2));
checkLogSink(o[0]);
checkLogSink(o[1]);
@@ -559,7 +559,7 @@
buildCounterListSinksResponse++;
if (buildCounterListSinksResponse < 3) {
o.nextPageToken = "foo";
- o.sinks = buildUnnamed5403();
+ o.sinks = buildUnnamed5379();
}
buildCounterListSinksResponse--;
return o;
@@ -569,7 +569,7 @@
buildCounterListSinksResponse++;
if (buildCounterListSinksResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed5403(o.sinks);
+ checkUnnamed5379(o.sinks);
}
buildCounterListSinksResponse--;
}
@@ -605,7 +605,7 @@
buildCounterLogBucket--;
}
-buildUnnamed5404() {
+buildUnnamed5380() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -620,7 +620,7 @@
return o;
}
-checkUnnamed5404(core.Map<core.String, core.Object> o) {
+checkUnnamed5380(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o["x"]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -634,20 +634,20 @@
unittest.expect(casted2["string"], unittest.equals('foo'));
}
-buildUnnamed5405() {
+buildUnnamed5381() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed5405(core.Map<core.String, core.String> o) {
+checkUnnamed5381(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed5406() {
+buildUnnamed5382() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -662,7 +662,7 @@
return o;
}
-checkUnnamed5406(core.Map<core.String, core.Object> o) {
+checkUnnamed5382(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted3 = (o["x"]) as core.Map;
unittest.expect(casted3, unittest.hasLength(3));
@@ -683,12 +683,12 @@
if (buildCounterLogEntry < 3) {
o.httpRequest = buildHttpRequest();
o.insertId = "foo";
- o.jsonPayload = buildUnnamed5404();
- o.labels = buildUnnamed5405();
+ o.jsonPayload = buildUnnamed5380();
+ o.labels = buildUnnamed5381();
o.logName = "foo";
o.metadata = buildMonitoredResourceMetadata();
o.operation = buildLogEntryOperation();
- o.protoPayload = buildUnnamed5406();
+ o.protoPayload = buildUnnamed5382();
o.receiveTimestamp = "foo";
o.resource = buildMonitoredResource();
o.severity = "foo";
@@ -708,12 +708,12 @@
if (buildCounterLogEntry < 3) {
checkHttpRequest(o.httpRequest);
unittest.expect(o.insertId, unittest.equals('foo'));
- checkUnnamed5404(o.jsonPayload);
- checkUnnamed5405(o.labels);
+ checkUnnamed5380(o.jsonPayload);
+ checkUnnamed5381(o.labels);
unittest.expect(o.logName, unittest.equals('foo'));
checkMonitoredResourceMetadata(o.metadata);
checkLogEntryOperation(o.operation);
- checkUnnamed5406(o.protoPayload);
+ checkUnnamed5382(o.protoPayload);
unittest.expect(o.receiveTimestamp, unittest.equals('foo'));
checkMonitoredResource(o.resource);
unittest.expect(o.severity, unittest.equals('foo'));
@@ -829,14 +829,14 @@
buildCounterLogLine--;
}
-buildUnnamed5407() {
+buildUnnamed5383() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed5407(core.Map<core.String, core.String> o) {
+checkUnnamed5383(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -851,7 +851,7 @@
o.createTime = "foo";
o.description = "foo";
o.filter = "foo";
- o.labelExtractors = buildUnnamed5407();
+ o.labelExtractors = buildUnnamed5383();
o.metricDescriptor = buildMetricDescriptor();
o.name = "foo";
o.updateTime = "foo";
@@ -869,7 +869,7 @@
unittest.expect(o.createTime, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.filter, unittest.equals('foo'));
- checkUnnamed5407(o.labelExtractors);
+ checkUnnamed5383(o.labelExtractors);
checkMetricDescriptor(o.metricDescriptor);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.updateTime, unittest.equals('foo'));
@@ -879,14 +879,14 @@
buildCounterLogMetric--;
}
-buildUnnamed5408() {
+buildUnnamed5384() {
var o = new core.List<api.LogExclusion>();
o.add(buildLogExclusion());
o.add(buildLogExclusion());
return o;
}
-checkUnnamed5408(core.List<api.LogExclusion> o) {
+checkUnnamed5384(core.List<api.LogExclusion> o) {
unittest.expect(o, unittest.hasLength(2));
checkLogExclusion(o[0]);
checkLogExclusion(o[1]);
@@ -902,7 +902,7 @@
o.description = "foo";
o.destination = "foo";
o.disabled = true;
- o.exclusions = buildUnnamed5408();
+ o.exclusions = buildUnnamed5384();
o.filter = "foo";
o.includeChildren = true;
o.name = "foo";
@@ -922,7 +922,7 @@
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.destination, unittest.equals('foo'));
unittest.expect(o.disabled, unittest.isTrue);
- checkUnnamed5408(o.exclusions);
+ checkUnnamed5384(o.exclusions);
unittest.expect(o.filter, unittest.equals('foo'));
unittest.expect(o.includeChildren, unittest.isTrue);
unittest.expect(o.name, unittest.equals('foo'));
@@ -933,27 +933,27 @@
buildCounterLogSink--;
}
-buildUnnamed5409() {
+buildUnnamed5385() {
var o = new core.List<api.LabelDescriptor>();
o.add(buildLabelDescriptor());
o.add(buildLabelDescriptor());
return o;
}
-checkUnnamed5409(core.List<api.LabelDescriptor> o) {
+checkUnnamed5385(core.List<api.LabelDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkLabelDescriptor(o[0]);
checkLabelDescriptor(o[1]);
}
-buildUnnamed5410() {
+buildUnnamed5386() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5410(core.List<core.String> o) {
+checkUnnamed5386(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -966,11 +966,11 @@
if (buildCounterMetricDescriptor < 3) {
o.description = "foo";
o.displayName = "foo";
- o.labels = buildUnnamed5409();
+ o.labels = buildUnnamed5385();
o.launchStage = "foo";
o.metadata = buildMetricDescriptorMetadata();
o.metricKind = "foo";
- o.monitoredResourceTypes = buildUnnamed5410();
+ o.monitoredResourceTypes = buildUnnamed5386();
o.name = "foo";
o.type = "foo";
o.unit = "foo";
@@ -985,11 +985,11 @@
if (buildCounterMetricDescriptor < 3) {
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed5409(o.labels);
+ checkUnnamed5385(o.labels);
unittest.expect(o.launchStage, unittest.equals('foo'));
checkMetricDescriptorMetadata(o.metadata);
unittest.expect(o.metricKind, unittest.equals('foo'));
- checkUnnamed5410(o.monitoredResourceTypes);
+ checkUnnamed5386(o.monitoredResourceTypes);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
unittest.expect(o.unit, unittest.equals('foo'));
@@ -1021,14 +1021,14 @@
buildCounterMetricDescriptorMetadata--;
}
-buildUnnamed5411() {
+buildUnnamed5387() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed5411(core.Map<core.String, core.String> o) {
+checkUnnamed5387(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -1039,7 +1039,7 @@
var o = new api.MonitoredResource();
buildCounterMonitoredResource++;
if (buildCounterMonitoredResource < 3) {
- o.labels = buildUnnamed5411();
+ o.labels = buildUnnamed5387();
o.type = "foo";
}
buildCounterMonitoredResource--;
@@ -1049,20 +1049,20 @@
checkMonitoredResource(api.MonitoredResource o) {
buildCounterMonitoredResource++;
if (buildCounterMonitoredResource < 3) {
- checkUnnamed5411(o.labels);
+ checkUnnamed5387(o.labels);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterMonitoredResource--;
}
-buildUnnamed5412() {
+buildUnnamed5388() {
var o = new core.List<api.LabelDescriptor>();
o.add(buildLabelDescriptor());
o.add(buildLabelDescriptor());
return o;
}
-checkUnnamed5412(core.List<api.LabelDescriptor> o) {
+checkUnnamed5388(core.List<api.LabelDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkLabelDescriptor(o[0]);
checkLabelDescriptor(o[1]);
@@ -1075,7 +1075,7 @@
if (buildCounterMonitoredResourceDescriptor < 3) {
o.description = "foo";
o.displayName = "foo";
- o.labels = buildUnnamed5412();
+ o.labels = buildUnnamed5388();
o.launchStage = "foo";
o.name = "foo";
o.type = "foo";
@@ -1089,7 +1089,7 @@
if (buildCounterMonitoredResourceDescriptor < 3) {
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed5412(o.labels);
+ checkUnnamed5388(o.labels);
unittest.expect(o.launchStage, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
@@ -1097,7 +1097,7 @@
buildCounterMonitoredResourceDescriptor--;
}
-buildUnnamed5413() {
+buildUnnamed5389() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1112,7 +1112,7 @@
return o;
}
-checkUnnamed5413(core.Map<core.String, core.Object> o) {
+checkUnnamed5389(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted5 = (o["x"]) as core.Map;
unittest.expect(casted5, unittest.hasLength(3));
@@ -1126,14 +1126,14 @@
unittest.expect(casted6["string"], unittest.equals('foo'));
}
-buildUnnamed5414() {
+buildUnnamed5390() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed5414(core.Map<core.String, core.String> o) {
+checkUnnamed5390(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -1144,8 +1144,8 @@
var o = new api.MonitoredResourceMetadata();
buildCounterMonitoredResourceMetadata++;
if (buildCounterMonitoredResourceMetadata < 3) {
- o.systemLabels = buildUnnamed5413();
- o.userLabels = buildUnnamed5414();
+ o.systemLabels = buildUnnamed5389();
+ o.userLabels = buildUnnamed5390();
}
buildCounterMonitoredResourceMetadata--;
return o;
@@ -1154,33 +1154,33 @@
checkMonitoredResourceMetadata(api.MonitoredResourceMetadata o) {
buildCounterMonitoredResourceMetadata++;
if (buildCounterMonitoredResourceMetadata < 3) {
- checkUnnamed5413(o.systemLabels);
- checkUnnamed5414(o.userLabels);
+ checkUnnamed5389(o.systemLabels);
+ checkUnnamed5390(o.userLabels);
}
buildCounterMonitoredResourceMetadata--;
}
-buildUnnamed5415() {
+buildUnnamed5391() {
var o = new core.List<api.LogLine>();
o.add(buildLogLine());
o.add(buildLogLine());
return o;
}
-checkUnnamed5415(core.List<api.LogLine> o) {
+checkUnnamed5391(core.List<api.LogLine> o) {
unittest.expect(o, unittest.hasLength(2));
checkLogLine(o[0]);
checkLogLine(o[1]);
}
-buildUnnamed5416() {
+buildUnnamed5392() {
var o = new core.List<api.SourceReference>();
o.add(buildSourceReference());
o.add(buildSourceReference());
return o;
}
-checkUnnamed5416(core.List<api.SourceReference> o) {
+checkUnnamed5392(core.List<api.SourceReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkSourceReference(o[0]);
checkSourceReference(o[1]);
@@ -1203,7 +1203,7 @@
o.instanceIndex = 42;
o.ip = "foo";
o.latency = "foo";
- o.line = buildUnnamed5415();
+ o.line = buildUnnamed5391();
o.megaCycles = "foo";
o.method = "foo";
o.moduleId = "foo";
@@ -1213,7 +1213,7 @@
o.requestId = "foo";
o.resource = "foo";
o.responseSize = "foo";
- o.sourceReference = buildUnnamed5416();
+ o.sourceReference = buildUnnamed5392();
o.startTime = "foo";
o.status = 42;
o.taskName = "foo";
@@ -1244,7 +1244,7 @@
unittest.expect(o.instanceIndex, unittest.equals(42));
unittest.expect(o.ip, unittest.equals('foo'));
unittest.expect(o.latency, unittest.equals('foo'));
- checkUnnamed5415(o.line);
+ checkUnnamed5391(o.line);
unittest.expect(o.megaCycles, unittest.equals('foo'));
unittest.expect(o.method, unittest.equals('foo'));
unittest.expect(o.moduleId, unittest.equals('foo'));
@@ -1254,7 +1254,7 @@
unittest.expect(o.requestId, unittest.equals('foo'));
unittest.expect(o.resource, unittest.equals('foo'));
unittest.expect(o.responseSize, unittest.equals('foo'));
- checkUnnamed5416(o.sourceReference);
+ checkUnnamed5392(o.sourceReference);
unittest.expect(o.startTime, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals(42));
unittest.expect(o.taskName, unittest.equals('foo'));
@@ -1328,27 +1328,27 @@
buildCounterUndeleteBucketRequest--;
}
-buildUnnamed5417() {
+buildUnnamed5393() {
var o = new core.List<api.LogEntry>();
o.add(buildLogEntry());
o.add(buildLogEntry());
return o;
}
-checkUnnamed5417(core.List<api.LogEntry> o) {
+checkUnnamed5393(core.List<api.LogEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkLogEntry(o[0]);
checkLogEntry(o[1]);
}
-buildUnnamed5418() {
+buildUnnamed5394() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed5418(core.Map<core.String, core.String> o) {
+checkUnnamed5394(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -1360,8 +1360,8 @@
buildCounterWriteLogEntriesRequest++;
if (buildCounterWriteLogEntriesRequest < 3) {
o.dryRun = true;
- o.entries = buildUnnamed5417();
- o.labels = buildUnnamed5418();
+ o.entries = buildUnnamed5393();
+ o.labels = buildUnnamed5394();
o.logName = "foo";
o.partialSuccess = true;
o.resource = buildMonitoredResource();
@@ -1374,8 +1374,8 @@
buildCounterWriteLogEntriesRequest++;
if (buildCounterWriteLogEntriesRequest < 3) {
unittest.expect(o.dryRun, unittest.isTrue);
- checkUnnamed5417(o.entries);
- checkUnnamed5418(o.labels);
+ checkUnnamed5393(o.entries);
+ checkUnnamed5394(o.labels);
unittest.expect(o.logName, unittest.equals('foo'));
unittest.expect(o.partialSuccess, unittest.isTrue);
checkMonitoredResource(o.resource);
@@ -2374,8 +2374,8 @@
api.BillingAccountsLogsResourceApi res =
new api.LoggingApi(mock).billingAccounts.logs;
var arg_parent = "foo";
- var arg_pageSize = 42;
var arg_pageToken = "foo";
+ var arg_pageSize = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2408,10 +2408,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2422,8 +2422,8 @@
}), true);
res
.list(arg_parent,
- pageSize: arg_pageSize,
pageToken: arg_pageToken,
+ pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListLogsResponse(response);
@@ -2602,8 +2602,8 @@
api.BillingAccountsSinksResourceApi res =
new api.LoggingApi(mock).billingAccounts.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;
@@ -2636,10 +2636,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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 = {
@@ -2650,8 +2650,8 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListSinksResponse(response);
@@ -2664,8 +2664,8 @@
new api.LoggingApi(mock).billingAccounts.sinks;
var arg_request = buildLogSink();
var arg_sinkName = "foo";
- var arg_uniqueWriterIdentity = true;
var arg_updateMask = "foo";
+ var arg_uniqueWriterIdentity = true;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.LogSink.fromJson(json);
@@ -2701,10 +2701,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["uniqueWriterIdentity"].first,
- unittest.equals("$arg_uniqueWriterIdentity"));
unittest.expect(
queryMap["updateMask"].first, unittest.equals(arg_updateMask));
+ unittest.expect(queryMap["uniqueWriterIdentity"].first,
+ unittest.equals("$arg_uniqueWriterIdentity"));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2715,8 +2715,8 @@
}), true);
res
.patch(arg_request, arg_sinkName,
- uniqueWriterIdentity: arg_uniqueWriterIdentity,
updateMask: arg_updateMask,
+ uniqueWriterIdentity: arg_uniqueWriterIdentity,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkLogSink(response);
@@ -3628,8 +3628,8 @@
api.FoldersLocationsBucketsResourceApi res =
new api.LoggingApi(mock).folders.locations.buckets;
var arg_parent = "foo";
- var arg_pageSize = 42;
var arg_pageToken = "foo";
+ var arg_pageSize = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3662,10 +3662,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3676,8 +3676,8 @@
}), true);
res
.list(arg_parent,
- pageSize: arg_pageSize,
pageToken: arg_pageToken,
+ pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListBucketsResponse(response);
@@ -4081,8 +4081,8 @@
var mock = new HttpServerMock();
api.FoldersSinksResourceApi res = new api.LoggingApi(mock).folders.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;
@@ -4115,10 +4115,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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 = {
@@ -4129,8 +4129,8 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListSinksResponse(response);
@@ -4142,8 +4142,8 @@
api.FoldersSinksResourceApi res = new api.LoggingApi(mock).folders.sinks;
var arg_request = buildLogSink();
var arg_sinkName = "foo";
- var arg_uniqueWriterIdentity = true;
var arg_updateMask = "foo";
+ var arg_uniqueWriterIdentity = true;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.LogSink.fromJson(json);
@@ -4179,10 +4179,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["uniqueWriterIdentity"].first,
- unittest.equals("$arg_uniqueWriterIdentity"));
unittest.expect(
queryMap["updateMask"].first, unittest.equals(arg_updateMask));
+ unittest.expect(queryMap["uniqueWriterIdentity"].first,
+ unittest.equals("$arg_uniqueWriterIdentity"));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4193,8 +4193,8 @@
}), true);
res
.patch(arg_request, arg_sinkName,
- uniqueWriterIdentity: arg_uniqueWriterIdentity,
updateMask: arg_updateMask,
+ uniqueWriterIdentity: arg_uniqueWriterIdentity,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkLogSink(response);
@@ -4436,8 +4436,8 @@
api.LocationsBucketsResourceApi res =
new api.LoggingApi(mock).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;
@@ -4470,10 +4470,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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 = {
@@ -4484,8 +4484,8 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListBucketsResponse(response);
@@ -4665,8 +4665,8 @@
var mock = new HttpServerMock();
api.LogsResourceApi res = new api.LoggingApi(mock).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;
@@ -4699,10 +4699,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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 = {
@@ -4713,8 +4713,8 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListLogsResponse(response);
@@ -5349,8 +5349,8 @@
api.OrganizationsLocationsBucketsResourceApi res =
new api.LoggingApi(mock).organizations.locations.buckets;
var arg_parent = "foo";
- var arg_pageSize = 42;
var arg_pageToken = "foo";
+ var arg_pageSize = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -5383,10 +5383,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -5397,8 +5397,8 @@
}), true);
res
.list(arg_parent,
- pageSize: arg_pageSize,
pageToken: arg_pageToken,
+ pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListBucketsResponse(response);
@@ -5808,8 +5808,8 @@
api.OrganizationsSinksResourceApi res =
new api.LoggingApi(mock).organizations.sinks;
var arg_parent = "foo";
- var arg_pageSize = 42;
var arg_pageToken = "foo";
+ var arg_pageSize = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -5842,10 +5842,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -5856,8 +5856,8 @@
}), true);
res
.list(arg_parent,
- pageSize: arg_pageSize,
pageToken: arg_pageToken,
+ pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListSinksResponse(response);
@@ -5870,8 +5870,8 @@
new 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 = new api.LogSink.fromJson(json);
@@ -5907,10 +5907,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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 = {
@@ -5921,8 +5921,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);
@@ -6161,8 +6161,8 @@
api.ProjectsExclusionsResourceApi res =
new api.LoggingApi(mock).projects.exclusions;
var arg_parent = "foo";
- var arg_pageSize = 42;
var arg_pageToken = "foo";
+ var arg_pageSize = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -6195,10 +6195,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -6209,8 +6209,8 @@
}), true);
res
.list(arg_parent,
- pageSize: arg_pageSize,
pageToken: arg_pageToken,
+ pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListExclusionsResponse(response);
@@ -6448,8 +6448,8 @@
api.ProjectsLocationsBucketsResourceApi res =
new api.LoggingApi(mock).projects.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;
@@ -6482,10 +6482,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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 = {
@@ -6496,8 +6496,8 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListBucketsResponse(response);
@@ -6900,8 +6900,8 @@
api.ProjectsMetricsResourceApi res =
new api.LoggingApi(mock).projects.metrics;
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;
@@ -6934,10 +6934,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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 = {
@@ -6948,8 +6948,8 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListLogMetricsResponse(response);
@@ -7184,8 +7184,8 @@
api.ProjectsSinksResourceApi res =
new api.LoggingApi(mock).projects.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;
@@ -7218,10 +7218,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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 = {
@@ -7232,8 +7232,8 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListSinksResponse(response);
@@ -7246,8 +7246,8 @@
new api.LoggingApi(mock).projects.sinks;
var arg_request = buildLogSink();
var arg_sinkName = "foo";
- var arg_uniqueWriterIdentity = true;
var arg_updateMask = "foo";
+ var arg_uniqueWriterIdentity = true;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.LogSink.fromJson(json);
@@ -7283,10 +7283,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["uniqueWriterIdentity"].first,
- unittest.equals("$arg_uniqueWriterIdentity"));
unittest.expect(
queryMap["updateMask"].first, unittest.equals(arg_updateMask));
+ unittest.expect(queryMap["uniqueWriterIdentity"].first,
+ unittest.equals("$arg_uniqueWriterIdentity"));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -7297,8 +7297,8 @@
}), true);
res
.patch(arg_request, arg_sinkName,
- uniqueWriterIdentity: arg_uniqueWriterIdentity,
updateMask: arg_updateMask,
+ uniqueWriterIdentity: arg_uniqueWriterIdentity,
$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 557956d..538fb02 100644
--- a/generated/googleapis/test/managedidentities/v1_test.dart
+++ b/generated/googleapis/test/managedidentities/v1_test.dart
@@ -69,14 +69,14 @@
buildCounterAttachTrustRequest--;
}
-buildUnnamed2777() {
+buildUnnamed2781() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2777(core.List<core.String> o) {
+checkUnnamed2781(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -89,7 +89,7 @@
if (buildCounterBinding < 3) {
o.bindingId = "foo";
o.condition = buildExpr();
- o.members = buildUnnamed2777();
+ o.members = buildUnnamed2781();
o.role = "foo";
}
buildCounterBinding--;
@@ -101,7 +101,7 @@
if (buildCounterBinding < 3) {
unittest.expect(o.bindingId, unittest.equals('foo'));
checkExpr(o.condition);
- checkUnnamed2777(o.members);
+ checkUnnamed2781(o.members);
unittest.expect(o.role, unittest.equals('foo'));
}
buildCounterBinding--;
@@ -141,53 +141,53 @@
buildCounterDetachTrustRequest--;
}
-buildUnnamed2778() {
+buildUnnamed2782() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2778(core.List<core.String> o) {
+checkUnnamed2782(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2779() {
+buildUnnamed2783() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2779(core.Map<core.String, core.String> o) {
+checkUnnamed2783(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed2780() {
+buildUnnamed2784() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2780(core.List<core.String> o) {
+checkUnnamed2784(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2781() {
+buildUnnamed2785() {
var o = new core.List<api.Trust>();
o.add(buildTrust());
o.add(buildTrust());
return o;
}
-checkUnnamed2781(core.List<api.Trust> o) {
+checkUnnamed2785(core.List<api.Trust> o) {
unittest.expect(o, unittest.hasLength(2));
checkTrust(o[0]);
checkTrust(o[1]);
@@ -199,16 +199,16 @@
buildCounterDomain++;
if (buildCounterDomain < 3) {
o.admin = "foo";
- o.authorizedNetworks = buildUnnamed2778();
+ o.authorizedNetworks = buildUnnamed2782();
o.createTime = "foo";
o.fqdn = "foo";
- o.labels = buildUnnamed2779();
- o.locations = buildUnnamed2780();
+ o.labels = buildUnnamed2783();
+ o.locations = buildUnnamed2784();
o.name = "foo";
o.reservedIpRange = "foo";
o.state = "foo";
o.statusMessage = "foo";
- o.trusts = buildUnnamed2781();
+ o.trusts = buildUnnamed2785();
o.updateTime = "foo";
}
buildCounterDomain--;
@@ -219,16 +219,16 @@
buildCounterDomain++;
if (buildCounterDomain < 3) {
unittest.expect(o.admin, unittest.equals('foo'));
- checkUnnamed2778(o.authorizedNetworks);
+ checkUnnamed2782(o.authorizedNetworks);
unittest.expect(o.createTime, unittest.equals('foo'));
unittest.expect(o.fqdn, unittest.equals('foo'));
- checkUnnamed2779(o.labels);
- checkUnnamed2780(o.locations);
+ checkUnnamed2783(o.labels);
+ checkUnnamed2784(o.locations);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.reservedIpRange, unittest.equals('foo'));
unittest.expect(o.state, unittest.equals('foo'));
unittest.expect(o.statusMessage, unittest.equals('foo'));
- checkUnnamed2781(o.trusts);
+ checkUnnamed2785(o.trusts);
unittest.expect(o.updateTime, unittest.equals('foo'));
}
buildCounterDomain--;
@@ -364,83 +364,17 @@
buildCounterGoogleCloudManagedidentitiesV1beta1OpMetadata--;
}
-buildUnnamed2782() {
- var o = new core.Map<core.String, core.String>();
- o["x"] = "foo";
- o["y"] = "foo";
- return o;
-}
-
-checkUnnamed2782(core.Map<core.String, core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o["x"], unittest.equals('foo'));
- unittest.expect(o["y"], unittest.equals('foo'));
-}
-
-buildUnnamed2783() {
- var o = new core.Map<core.String, core.String>();
- o["x"] = "foo";
- o["y"] = "foo";
- return o;
-}
-
-checkUnnamed2783(core.Map<core.String, core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o["x"], unittest.equals('foo'));
- unittest.expect(o["y"], unittest.equals('foo'));
-}
-
-buildUnnamed2784() {
- var o = new core.Map<core.String,
- api.GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule>();
- o["x"] =
- buildGoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule();
- o["y"] =
- buildGoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule();
- return o;
-}
-
-checkUnnamed2784(
- core.Map<core.String,
- api.GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule>
- o) {
- unittest.expect(o, unittest.hasLength(2));
- checkGoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule(
- o["x"]);
- checkGoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule(
- o["y"]);
-}
-
-buildUnnamed2785() {
- var o = new core.Map<core.String, core.String>();
- o["x"] = "foo";
- o["y"] = "foo";
- return o;
-}
-
-checkUnnamed2785(core.Map<core.String, core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o["x"], unittest.equals('foo'));
- unittest.expect(o["y"], unittest.equals('foo'));
-}
-
buildUnnamed2786() {
- var o = new core.List<
- api.GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource>();
- o.add(
- buildGoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource());
- o.add(
- buildGoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource());
+ var o = new core.Map<core.String, core.String>();
+ o["x"] = "foo";
+ o["y"] = "foo";
return o;
}
-checkUnnamed2786(
- core.List<
- api.GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource>
- o) {
+checkUnnamed2786(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
- checkGoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource(o[0]);
- checkGoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource(o[1]);
+ unittest.expect(o["x"], unittest.equals('foo'));
+ unittest.expect(o["y"], unittest.equals('foo'));
}
buildUnnamed2787() {
@@ -456,6 +390,72 @@
unittest.expect(o["y"], unittest.equals('foo'));
}
+buildUnnamed2788() {
+ var o = new core.Map<core.String,
+ api.GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule>();
+ o["x"] =
+ buildGoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule();
+ o["y"] =
+ buildGoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule();
+ return o;
+}
+
+checkUnnamed2788(
+ core.Map<core.String,
+ api.GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule>
+ o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkGoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule(
+ o["x"]);
+ checkGoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule(
+ o["y"]);
+}
+
+buildUnnamed2789() {
+ var o = new core.Map<core.String, core.String>();
+ o["x"] = "foo";
+ o["y"] = "foo";
+ return o;
+}
+
+checkUnnamed2789(core.Map<core.String, core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o["x"], unittest.equals('foo'));
+ unittest.expect(o["y"], unittest.equals('foo'));
+}
+
+buildUnnamed2790() {
+ var o = new core.List<
+ api.GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource>();
+ o.add(
+ buildGoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource());
+ o.add(
+ buildGoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource());
+ return o;
+}
+
+checkUnnamed2790(
+ core.List<
+ api.GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource>
+ o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkGoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource(o[0]);
+ checkGoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource(o[1]);
+}
+
+buildUnnamed2791() {
+ var o = new core.Map<core.String, core.String>();
+ o["x"] = "foo";
+ o["y"] = "foo";
+ return o;
+}
+
+checkUnnamed2791(core.Map<core.String, core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o["x"], unittest.equals('foo'));
+ unittest.expect(o["y"], unittest.equals('foo'));
+}
+
core.int buildCounterGoogleCloudSaasacceleratorManagementProvidersV1Instance =
0;
buildGoogleCloudSaasacceleratorManagementProvidersV1Instance() {
@@ -464,18 +464,18 @@
if (buildCounterGoogleCloudSaasacceleratorManagementProvidersV1Instance < 3) {
o.consumerDefinedName = "foo";
o.createTime = "foo";
- o.labels = buildUnnamed2782();
- o.maintenancePolicyNames = buildUnnamed2783();
- o.maintenanceSchedules = buildUnnamed2784();
+ o.labels = buildUnnamed2786();
+ o.maintenancePolicyNames = buildUnnamed2787();
+ o.maintenanceSchedules = buildUnnamed2788();
o.maintenanceSettings =
buildGoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings();
o.name = "foo";
- o.producerMetadata = buildUnnamed2785();
- o.provisionedResources = buildUnnamed2786();
+ o.producerMetadata = buildUnnamed2789();
+ o.provisionedResources = buildUnnamed2790();
o.slmInstanceTemplate = "foo";
o.sloMetadata =
buildGoogleCloudSaasacceleratorManagementProvidersV1SloMetadata();
- o.softwareVersions = buildUnnamed2787();
+ o.softwareVersions = buildUnnamed2791();
o.state = "foo";
o.tenantProjectId = "foo";
o.updateTime = "foo";
@@ -490,18 +490,18 @@
if (buildCounterGoogleCloudSaasacceleratorManagementProvidersV1Instance < 3) {
unittest.expect(o.consumerDefinedName, unittest.equals('foo'));
unittest.expect(o.createTime, unittest.equals('foo'));
- checkUnnamed2782(o.labels);
- checkUnnamed2783(o.maintenancePolicyNames);
- checkUnnamed2784(o.maintenanceSchedules);
+ checkUnnamed2786(o.labels);
+ checkUnnamed2787(o.maintenancePolicyNames);
+ checkUnnamed2788(o.maintenanceSchedules);
checkGoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings(
o.maintenanceSettings);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2785(o.producerMetadata);
- checkUnnamed2786(o.provisionedResources);
+ checkUnnamed2789(o.producerMetadata);
+ checkUnnamed2790(o.provisionedResources);
unittest.expect(o.slmInstanceTemplate, unittest.equals('foo'));
checkGoogleCloudSaasacceleratorManagementProvidersV1SloMetadata(
o.sloMetadata);
- checkUnnamed2787(o.softwareVersions);
+ checkUnnamed2791(o.softwareVersions);
unittest.expect(o.state, unittest.equals('foo'));
unittest.expect(o.tenantProjectId, unittest.equals('foo'));
unittest.expect(o.updateTime, unittest.equals('foo'));
@@ -565,7 +565,7 @@
buildCounterGoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings--;
}
-buildUnnamed2788() {
+buildUnnamed2792() {
var o = new core
.List<api.GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion>();
o.add(buildGoogleCloudSaasacceleratorManagementProvidersV1SloExclusion());
@@ -573,7 +573,7 @@
return o;
}
-checkUnnamed2788(
+checkUnnamed2792(
core.List<api.GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion>
o) {
unittest.expect(o, unittest.hasLength(2));
@@ -590,7 +590,7 @@
buildCounterGoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata++;
if (buildCounterGoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata <
3) {
- o.exclusions = buildUnnamed2788();
+ o.exclusions = buildUnnamed2792();
o.location = "foo";
o.nodeId = "foo";
}
@@ -603,7 +603,7 @@
buildCounterGoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata++;
if (buildCounterGoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata <
3) {
- checkUnnamed2788(o.exclusions);
+ checkUnnamed2792(o.exclusions);
unittest.expect(o.location, unittest.equals('foo'));
unittest.expect(o.nodeId, unittest.equals('foo'));
}
@@ -693,7 +693,7 @@
buildCounterGoogleCloudSaasacceleratorManagementProvidersV1SloExclusion--;
}
-buildUnnamed2789() {
+buildUnnamed2793() {
var o = new core
.List<api.GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion>();
o.add(buildGoogleCloudSaasacceleratorManagementProvidersV1SloExclusion());
@@ -701,7 +701,7 @@
return o;
}
-checkUnnamed2789(
+checkUnnamed2793(
core.List<api.GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion>
o) {
unittest.expect(o, unittest.hasLength(2));
@@ -709,7 +709,7 @@
checkGoogleCloudSaasacceleratorManagementProvidersV1SloExclusion(o[1]);
}
-buildUnnamed2790() {
+buildUnnamed2794() {
var o = new core.List<
api.GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata>();
o.add(buildGoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata());
@@ -717,7 +717,7 @@
return o;
}
-checkUnnamed2790(
+checkUnnamed2794(
core.List<
api.GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata>
o) {
@@ -735,8 +735,8 @@
3) {
o.eligibility =
buildGoogleCloudSaasacceleratorManagementProvidersV1SloEligibility();
- o.exclusions = buildUnnamed2789();
- o.nodes = buildUnnamed2790();
+ o.exclusions = buildUnnamed2793();
+ o.nodes = buildUnnamed2794();
o.tier = "foo";
}
buildCounterGoogleCloudSaasacceleratorManagementProvidersV1SloMetadata--;
@@ -750,34 +750,34 @@
3) {
checkGoogleCloudSaasacceleratorManagementProvidersV1SloEligibility(
o.eligibility);
- checkUnnamed2789(o.exclusions);
- checkUnnamed2790(o.nodes);
+ checkUnnamed2793(o.exclusions);
+ checkUnnamed2794(o.nodes);
unittest.expect(o.tier, unittest.equals('foo'));
}
buildCounterGoogleCloudSaasacceleratorManagementProvidersV1SloMetadata--;
}
-buildUnnamed2791() {
+buildUnnamed2795() {
var o = new core.List<api.Domain>();
o.add(buildDomain());
o.add(buildDomain());
return o;
}
-checkUnnamed2791(core.List<api.Domain> o) {
+checkUnnamed2795(core.List<api.Domain> o) {
unittest.expect(o, unittest.hasLength(2));
checkDomain(o[0]);
checkDomain(o[1]);
}
-buildUnnamed2792() {
+buildUnnamed2796() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2792(core.List<core.String> o) {
+checkUnnamed2796(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -788,9 +788,9 @@
var o = new api.ListDomainsResponse();
buildCounterListDomainsResponse++;
if (buildCounterListDomainsResponse < 3) {
- o.domains = buildUnnamed2791();
+ o.domains = buildUnnamed2795();
o.nextPageToken = "foo";
- o.unreachable = buildUnnamed2792();
+ o.unreachable = buildUnnamed2796();
}
buildCounterListDomainsResponse--;
return o;
@@ -799,21 +799,21 @@
checkListDomainsResponse(api.ListDomainsResponse o) {
buildCounterListDomainsResponse++;
if (buildCounterListDomainsResponse < 3) {
- checkUnnamed2791(o.domains);
+ checkUnnamed2795(o.domains);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2792(o.unreachable);
+ checkUnnamed2796(o.unreachable);
}
buildCounterListDomainsResponse--;
}
-buildUnnamed2793() {
+buildUnnamed2797() {
var o = new core.List<api.Location>();
o.add(buildLocation());
o.add(buildLocation());
return o;
}
-checkUnnamed2793(core.List<api.Location> o) {
+checkUnnamed2797(core.List<api.Location> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocation(o[0]);
checkLocation(o[1]);
@@ -824,7 +824,7 @@
var o = new api.ListLocationsResponse();
buildCounterListLocationsResponse++;
if (buildCounterListLocationsResponse < 3) {
- o.locations = buildUnnamed2793();
+ o.locations = buildUnnamed2797();
o.nextPageToken = "foo";
}
buildCounterListLocationsResponse--;
@@ -834,20 +834,20 @@
checkListLocationsResponse(api.ListLocationsResponse o) {
buildCounterListLocationsResponse++;
if (buildCounterListLocationsResponse < 3) {
- checkUnnamed2793(o.locations);
+ checkUnnamed2797(o.locations);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListLocationsResponse--;
}
-buildUnnamed2794() {
+buildUnnamed2798() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed2794(core.List<api.Operation> o) {
+checkUnnamed2798(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -859,7 +859,7 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
o.nextPageToken = "foo";
- o.operations = buildUnnamed2794();
+ o.operations = buildUnnamed2798();
}
buildCounterListOperationsResponse--;
return o;
@@ -869,25 +869,25 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2794(o.operations);
+ checkUnnamed2798(o.operations);
}
buildCounterListOperationsResponse--;
}
-buildUnnamed2795() {
+buildUnnamed2799() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2795(core.Map<core.String, core.String> o) {
+checkUnnamed2799(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed2796() {
+buildUnnamed2800() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -902,7 +902,7 @@
return o;
}
-checkUnnamed2796(core.Map<core.String, core.Object> o) {
+checkUnnamed2800(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o["x"]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -922,9 +922,9 @@
buildCounterLocation++;
if (buildCounterLocation < 3) {
o.displayName = "foo";
- o.labels = buildUnnamed2795();
+ o.labels = buildUnnamed2799();
o.locationId = "foo";
- o.metadata = buildUnnamed2796();
+ o.metadata = buildUnnamed2800();
o.name = "foo";
}
buildCounterLocation--;
@@ -935,15 +935,15 @@
buildCounterLocation++;
if (buildCounterLocation < 3) {
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed2795(o.labels);
+ checkUnnamed2799(o.labels);
unittest.expect(o.locationId, unittest.equals('foo'));
- checkUnnamed2796(o.metadata);
+ checkUnnamed2800(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
}
buildCounterLocation--;
}
-buildUnnamed2797() {
+buildUnnamed2801() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -958,7 +958,7 @@
return o;
}
-checkUnnamed2797(core.Map<core.String, core.Object> o) {
+checkUnnamed2801(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted3 = (o["x"]) as core.Map;
unittest.expect(casted3, unittest.hasLength(3));
@@ -972,7 +972,7 @@
unittest.expect(casted4["string"], unittest.equals('foo'));
}
-buildUnnamed2798() {
+buildUnnamed2802() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -987,7 +987,7 @@
return o;
}
-checkUnnamed2798(core.Map<core.String, core.Object> o) {
+checkUnnamed2802(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted5 = (o["x"]) as core.Map;
unittest.expect(casted5, unittest.hasLength(3));
@@ -1008,9 +1008,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed2797();
+ o.metadata = buildUnnamed2801();
o.name = "foo";
- o.response = buildUnnamed2798();
+ o.response = buildUnnamed2802();
}
buildCounterOperation--;
return o;
@@ -1021,9 +1021,9 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed2797(o.metadata);
+ checkUnnamed2801(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2798(o.response);
+ checkUnnamed2802(o.response);
}
buildCounterOperation--;
}
@@ -1059,14 +1059,14 @@
buildCounterOperationMetadata--;
}
-buildUnnamed2799() {
+buildUnnamed2803() {
var o = new core.List<api.Binding>();
o.add(buildBinding());
o.add(buildBinding());
return o;
}
-checkUnnamed2799(core.List<api.Binding> o) {
+checkUnnamed2803(core.List<api.Binding> o) {
unittest.expect(o, unittest.hasLength(2));
checkBinding(o[0]);
checkBinding(o[1]);
@@ -1077,7 +1077,7 @@
var o = new api.Policy();
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- o.bindings = buildUnnamed2799();
+ o.bindings = buildUnnamed2803();
o.etag = "foo";
o.version = 42;
}
@@ -1088,21 +1088,21 @@
checkPolicy(api.Policy o) {
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- checkUnnamed2799(o.bindings);
+ checkUnnamed2803(o.bindings);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals(42));
}
buildCounterPolicy--;
}
-buildUnnamed2800() {
+buildUnnamed2804() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2800(core.List<core.String> o) {
+checkUnnamed2804(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1113,7 +1113,7 @@
var o = new api.ReconfigureTrustRequest();
buildCounterReconfigureTrustRequest++;
if (buildCounterReconfigureTrustRequest < 3) {
- o.targetDnsIpAddresses = buildUnnamed2800();
+ o.targetDnsIpAddresses = buildUnnamed2804();
o.targetDomainName = "foo";
}
buildCounterReconfigureTrustRequest--;
@@ -1123,7 +1123,7 @@
checkReconfigureTrustRequest(api.ReconfigureTrustRequest o) {
buildCounterReconfigureTrustRequest++;
if (buildCounterReconfigureTrustRequest < 3) {
- checkUnnamed2800(o.targetDnsIpAddresses);
+ checkUnnamed2804(o.targetDnsIpAddresses);
unittest.expect(o.targetDomainName, unittest.equals('foo'));
}
buildCounterReconfigureTrustRequest--;
@@ -1182,7 +1182,7 @@
buildCounterSetIamPolicyRequest--;
}
-buildUnnamed2801() {
+buildUnnamed2805() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1197,7 +1197,7 @@
return o;
}
-checkUnnamed2801(core.Map<core.String, core.Object> o) {
+checkUnnamed2805(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted7 = (o["x"]) as core.Map;
unittest.expect(casted7, unittest.hasLength(3));
@@ -1211,17 +1211,17 @@
unittest.expect(casted8["string"], unittest.equals('foo'));
}
-buildUnnamed2802() {
+buildUnnamed2806() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed2801());
- o.add(buildUnnamed2801());
+ o.add(buildUnnamed2805());
+ o.add(buildUnnamed2805());
return o;
}
-checkUnnamed2802(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed2806(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2801(o[0]);
- checkUnnamed2801(o[1]);
+ checkUnnamed2805(o[0]);
+ checkUnnamed2805(o[1]);
}
core.int buildCounterStatus = 0;
@@ -1230,7 +1230,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed2802();
+ o.details = buildUnnamed2806();
o.message = "foo";
}
buildCounterStatus--;
@@ -1241,20 +1241,20 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed2802(o.details);
+ checkUnnamed2806(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
}
-buildUnnamed2803() {
+buildUnnamed2807() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2803(core.List<core.String> o) {
+checkUnnamed2807(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1265,7 +1265,7 @@
var o = new api.TestIamPermissionsRequest();
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- o.permissions = buildUnnamed2803();
+ o.permissions = buildUnnamed2807();
}
buildCounterTestIamPermissionsRequest--;
return o;
@@ -1274,19 +1274,19 @@
checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) {
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- checkUnnamed2803(o.permissions);
+ checkUnnamed2807(o.permissions);
}
buildCounterTestIamPermissionsRequest--;
}
-buildUnnamed2804() {
+buildUnnamed2808() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2804(core.List<core.String> o) {
+checkUnnamed2808(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1297,7 +1297,7 @@
var o = new api.TestIamPermissionsResponse();
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- o.permissions = buildUnnamed2804();
+ o.permissions = buildUnnamed2808();
}
buildCounterTestIamPermissionsResponse--;
return o;
@@ -1306,19 +1306,19 @@
checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) {
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- checkUnnamed2804(o.permissions);
+ checkUnnamed2808(o.permissions);
}
buildCounterTestIamPermissionsResponse--;
}
-buildUnnamed2805() {
+buildUnnamed2809() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2805(core.List<core.String> o) {
+checkUnnamed2809(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1334,7 +1334,7 @@
o.selectiveAuthentication = true;
o.state = "foo";
o.stateDescription = "foo";
- o.targetDnsIpAddresses = buildUnnamed2805();
+ o.targetDnsIpAddresses = buildUnnamed2809();
o.targetDomainName = "foo";
o.trustDirection = "foo";
o.trustHandshakeSecret = "foo";
@@ -1353,7 +1353,7 @@
unittest.expect(o.selectiveAuthentication, unittest.isTrue);
unittest.expect(o.state, unittest.equals('foo'));
unittest.expect(o.stateDescription, unittest.equals('foo'));
- checkUnnamed2805(o.targetDnsIpAddresses);
+ checkUnnamed2809(o.targetDnsIpAddresses);
unittest.expect(o.targetDomainName, unittest.equals('foo'));
unittest.expect(o.trustDirection, unittest.equals('foo'));
unittest.expect(o.trustHandshakeSecret, unittest.equals('foo'));
@@ -1758,10 +1758,10 @@
api.ProjectsLocationsResourceApi res =
new api.ManagedidentitiesApi(mock).projects.locations;
var arg_name = "foo";
- var arg_includeUnrevealedLocations = true;
- var arg_pageSize = 42;
var arg_filter = "foo";
var arg_pageToken = "foo";
+ var arg_includeUnrevealedLocations = true;
+ var arg_pageSize = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1794,13 +1794,13 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ 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["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 = {
@@ -1811,10 +1811,10 @@
}), true);
res
.list(arg_name,
- includeUnrevealedLocations: arg_includeUnrevealedLocations,
- pageSize: arg_pageSize,
filter: arg_filter,
pageToken: arg_pageToken,
+ includeUnrevealedLocations: arg_includeUnrevealedLocations,
+ pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListLocationsResponse(response);
@@ -2749,9 +2749,9 @@
.global
.operations;
var arg_name = "foo";
+ var arg_pageSize = 42;
var arg_pageToken = "foo";
var arg_filter = "foo";
- var arg_pageSize = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2784,11 +2784,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ 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(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2799,9 +2799,9 @@
}), true);
res
.list(arg_name,
+ pageSize: arg_pageSize,
pageToken: arg_pageToken,
filter: arg_filter,
- pageSize: arg_pageSize,
$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 56c6f29..e04895c 100644
--- a/generated/googleapis/test/manufacturers/v1_test.dart
+++ b/generated/googleapis/test/manufacturers/v1_test.dart
@@ -50,110 +50,19 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed4111() {
+buildUnnamed4118() {
var o = new core.List<api.Image>();
o.add(buildImage());
o.add(buildImage());
return o;
}
-checkUnnamed4111(core.List<api.Image> o) {
+checkUnnamed4118(core.List<api.Image> o) {
unittest.expect(o, unittest.hasLength(2));
checkImage(o[0]);
checkImage(o[1]);
}
-buildUnnamed4112() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed4112(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed4113() {
- var o = new core.List<api.FeatureDescription>();
- o.add(buildFeatureDescription());
- o.add(buildFeatureDescription());
- return o;
-}
-
-checkUnnamed4113(core.List<api.FeatureDescription> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkFeatureDescription(o[0]);
- checkFeatureDescription(o[1]);
-}
-
-buildUnnamed4114() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed4114(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed4115() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed4115(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed4116() {
- var o = new core.List<api.ProductDetail>();
- o.add(buildProductDetail());
- o.add(buildProductDetail());
- return o;
-}
-
-checkUnnamed4116(core.List<api.ProductDetail> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkProductDetail(o[0]);
- checkProductDetail(o[1]);
-}
-
-buildUnnamed4117() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed4117(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed4118() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed4118(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed4119() {
var o = new core.List<core.String>();
o.add("foo");
@@ -167,12 +76,103 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed4120() {
+ var o = new core.List<api.FeatureDescription>();
+ o.add(buildFeatureDescription());
+ o.add(buildFeatureDescription());
+ return o;
+}
+
+checkUnnamed4120(core.List<api.FeatureDescription> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkFeatureDescription(o[0]);
+ checkFeatureDescription(o[1]);
+}
+
+buildUnnamed4121() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed4121(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed4122() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed4122(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed4123() {
+ var o = new core.List<api.ProductDetail>();
+ o.add(buildProductDetail());
+ o.add(buildProductDetail());
+ return o;
+}
+
+checkUnnamed4123(core.List<api.ProductDetail> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkProductDetail(o[0]);
+ checkProductDetail(o[1]);
+}
+
+buildUnnamed4124() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed4124(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed4125() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed4125(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed4126() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed4126(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
core.int buildCounterAttributes = 0;
buildAttributes() {
var o = new api.Attributes();
buildCounterAttributes++;
if (buildCounterAttributes < 3) {
- o.additionalImageLink = buildUnnamed4111();
+ o.additionalImageLink = buildUnnamed4118();
o.ageGroup = "foo";
o.brand = "foo";
o.capacity = buildCapacity();
@@ -180,25 +180,25 @@
o.count = buildCount();
o.description = "foo";
o.disclosureDate = "foo";
- o.excludedDestination = buildUnnamed4112();
- o.featureDescription = buildUnnamed4113();
+ o.excludedDestination = buildUnnamed4119();
+ o.featureDescription = buildUnnamed4120();
o.flavor = "foo";
o.format = "foo";
o.gender = "foo";
- o.gtin = buildUnnamed4114();
+ o.gtin = buildUnnamed4121();
o.imageLink = buildImage();
- o.includedDestination = buildUnnamed4115();
+ o.includedDestination = buildUnnamed4122();
o.itemGroupId = "foo";
o.material = "foo";
o.mpn = "foo";
o.pattern = "foo";
- o.productDetail = buildUnnamed4116();
+ o.productDetail = buildUnnamed4123();
o.productLine = "foo";
o.productName = "foo";
o.productPageUrl = "foo";
- o.productType = buildUnnamed4117();
+ o.productType = buildUnnamed4124();
o.releaseDate = "foo";
- o.richProductContent = buildUnnamed4118();
+ o.richProductContent = buildUnnamed4125();
o.scent = "foo";
o.size = "foo";
o.sizeSystem = "foo";
@@ -207,7 +207,7 @@
o.targetClientId = "foo";
o.theme = "foo";
o.title = "foo";
- o.videoLink = buildUnnamed4119();
+ o.videoLink = buildUnnamed4126();
}
buildCounterAttributes--;
return o;
@@ -216,7 +216,7 @@
checkAttributes(api.Attributes o) {
buildCounterAttributes++;
if (buildCounterAttributes < 3) {
- checkUnnamed4111(o.additionalImageLink);
+ checkUnnamed4118(o.additionalImageLink);
unittest.expect(o.ageGroup, unittest.equals('foo'));
unittest.expect(o.brand, unittest.equals('foo'));
checkCapacity(o.capacity);
@@ -224,25 +224,25 @@
checkCount(o.count);
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.disclosureDate, unittest.equals('foo'));
- checkUnnamed4112(o.excludedDestination);
- checkUnnamed4113(o.featureDescription);
+ checkUnnamed4119(o.excludedDestination);
+ checkUnnamed4120(o.featureDescription);
unittest.expect(o.flavor, unittest.equals('foo'));
unittest.expect(o.format, unittest.equals('foo'));
unittest.expect(o.gender, unittest.equals('foo'));
- checkUnnamed4114(o.gtin);
+ checkUnnamed4121(o.gtin);
checkImage(o.imageLink);
- checkUnnamed4115(o.includedDestination);
+ checkUnnamed4122(o.includedDestination);
unittest.expect(o.itemGroupId, unittest.equals('foo'));
unittest.expect(o.material, unittest.equals('foo'));
unittest.expect(o.mpn, unittest.equals('foo'));
unittest.expect(o.pattern, unittest.equals('foo'));
- checkUnnamed4116(o.productDetail);
+ checkUnnamed4123(o.productDetail);
unittest.expect(o.productLine, unittest.equals('foo'));
unittest.expect(o.productName, unittest.equals('foo'));
unittest.expect(o.productPageUrl, unittest.equals('foo'));
- checkUnnamed4117(o.productType);
+ checkUnnamed4124(o.productType);
unittest.expect(o.releaseDate, unittest.equals('foo'));
- checkUnnamed4118(o.richProductContent);
+ checkUnnamed4125(o.richProductContent);
unittest.expect(o.scent, unittest.equals('foo'));
unittest.expect(o.size, unittest.equals('foo'));
unittest.expect(o.sizeSystem, unittest.equals('foo'));
@@ -251,7 +251,7 @@
unittest.expect(o.targetClientId, unittest.equals('foo'));
unittest.expect(o.theme, unittest.equals('foo'));
unittest.expect(o.title, unittest.equals('foo'));
- checkUnnamed4119(o.videoLink);
+ checkUnnamed4126(o.videoLink);
}
buildCounterAttributes--;
}
@@ -413,14 +413,14 @@
buildCounterIssue--;
}
-buildUnnamed4120() {
+buildUnnamed4127() {
var o = new core.List<api.Product>();
o.add(buildProduct());
o.add(buildProduct());
return o;
}
-checkUnnamed4120(core.List<api.Product> o) {
+checkUnnamed4127(core.List<api.Product> o) {
unittest.expect(o, unittest.hasLength(2));
checkProduct(o[0]);
checkProduct(o[1]);
@@ -432,7 +432,7 @@
buildCounterListProductsResponse++;
if (buildCounterListProductsResponse < 3) {
o.nextPageToken = "foo";
- o.products = buildUnnamed4120();
+ o.products = buildUnnamed4127();
}
buildCounterListProductsResponse--;
return o;
@@ -442,7 +442,7 @@
buildCounterListProductsResponse++;
if (buildCounterListProductsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed4120(o.products);
+ checkUnnamed4127(o.products);
}
buildCounterListProductsResponse--;
}
@@ -468,27 +468,27 @@
buildCounterPrice--;
}
-buildUnnamed4121() {
+buildUnnamed4128() {
var o = new core.List<api.DestinationStatus>();
o.add(buildDestinationStatus());
o.add(buildDestinationStatus());
return o;
}
-checkUnnamed4121(core.List<api.DestinationStatus> o) {
+checkUnnamed4128(core.List<api.DestinationStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkDestinationStatus(o[0]);
checkDestinationStatus(o[1]);
}
-buildUnnamed4122() {
+buildUnnamed4129() {
var o = new core.List<api.Issue>();
o.add(buildIssue());
o.add(buildIssue());
return o;
}
-checkUnnamed4122(core.List<api.Issue> o) {
+checkUnnamed4129(core.List<api.Issue> o) {
unittest.expect(o, unittest.hasLength(2));
checkIssue(o[0]);
checkIssue(o[1]);
@@ -501,8 +501,8 @@
if (buildCounterProduct < 3) {
o.attributes = buildAttributes();
o.contentLanguage = "foo";
- o.destinationStatuses = buildUnnamed4121();
- o.issues = buildUnnamed4122();
+ o.destinationStatuses = buildUnnamed4128();
+ o.issues = buildUnnamed4129();
o.name = "foo";
o.parent = "foo";
o.productId = "foo";
@@ -517,8 +517,8 @@
if (buildCounterProduct < 3) {
checkAttributes(o.attributes);
unittest.expect(o.contentLanguage, unittest.equals('foo'));
- checkUnnamed4121(o.destinationStatuses);
- checkUnnamed4122(o.issues);
+ checkUnnamed4128(o.destinationStatuses);
+ checkUnnamed4129(o.issues);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.parent, unittest.equals('foo'));
unittest.expect(o.productId, unittest.equals('foo'));
@@ -550,27 +550,27 @@
buildCounterProductDetail--;
}
-buildUnnamed4123() {
+buildUnnamed4130() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4123(core.List<core.String> o) {
+checkUnnamed4130(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed4124() {
+buildUnnamed4131() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4124(core.List<core.String> o) {
+checkUnnamed4131(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -733,7 +733,7 @@
new api.ManufacturersApi(mock).accounts.products;
var arg_parent = "foo";
var arg_name = "foo";
- var arg_include = buildUnnamed4123();
+ var arg_include = buildUnnamed4130();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -787,8 +787,8 @@
api.AccountsProductsResourceApi res =
new api.ManufacturersApi(mock).accounts.products;
var arg_parent = "foo";
- var arg_include = buildUnnamed4124();
var arg_pageToken = "foo";
+ var arg_include = buildUnnamed4131();
var arg_pageSize = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -822,9 +822,9 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["include"], unittest.equals(arg_include));
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["fields"].first, unittest.equals(arg_$fields));
@@ -837,8 +837,8 @@
}), true);
res
.list(arg_parent,
- include: arg_include,
pageToken: arg_pageToken,
+ include: arg_include,
pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
diff --git a/generated/googleapis/test/ml/v1_test.dart b/generated/googleapis/test/ml/v1_test.dart
index 69c7994..a8a9967 100644
--- a/generated/googleapis/test/ml/v1_test.dart
+++ b/generated/googleapis/test/ml/v1_test.dart
@@ -50,7 +50,7 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed3427() {
+buildUnnamed3431() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -65,7 +65,7 @@
return o;
}
-checkUnnamed3427(core.Map<core.String, core.Object> o) {
+checkUnnamed3431(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o["x"]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -79,17 +79,17 @@
unittest.expect(casted2["string"], unittest.equals('foo'));
}
-buildUnnamed3428() {
+buildUnnamed3432() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed3427());
- o.add(buildUnnamed3427());
+ o.add(buildUnnamed3431());
+ o.add(buildUnnamed3431());
return o;
}
-checkUnnamed3428(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed3432(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed3427(o[0]);
- checkUnnamed3427(o[1]);
+ checkUnnamed3431(o[0]);
+ checkUnnamed3431(o[1]);
}
core.int buildCounterGoogleApiHttpBody = 0;
@@ -99,7 +99,7 @@
if (buildCounterGoogleApiHttpBody < 3) {
o.contentType = "foo";
o.data = "foo";
- o.extensions = buildUnnamed3428();
+ o.extensions = buildUnnamed3432();
}
buildCounterGoogleApiHttpBody--;
return o;
@@ -110,7 +110,7 @@
if (buildCounterGoogleApiHttpBody < 3) {
unittest.expect(o.contentType, unittest.equals('foo'));
unittest.expect(o.data, unittest.equals('foo'));
- checkUnnamed3428(o.extensions);
+ checkUnnamed3432(o.extensions);
}
buildCounterGoogleApiHttpBody--;
}
@@ -210,14 +210,14 @@
buildCounterGoogleCloudMlV1MeasurementMetric--;
}
-buildUnnamed3429() {
+buildUnnamed3433() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3429(core.List<core.String> o) {
+checkUnnamed3433(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -230,7 +230,7 @@
buildCounterGoogleCloudMlV1StudyConfigParameterSpecCategoricalValueSpec++;
if (buildCounterGoogleCloudMlV1StudyConfigParameterSpecCategoricalValueSpec <
3) {
- o.values = buildUnnamed3429();
+ o.values = buildUnnamed3433();
}
buildCounterGoogleCloudMlV1StudyConfigParameterSpecCategoricalValueSpec--;
return o;
@@ -241,19 +241,19 @@
buildCounterGoogleCloudMlV1StudyConfigParameterSpecCategoricalValueSpec++;
if (buildCounterGoogleCloudMlV1StudyConfigParameterSpecCategoricalValueSpec <
3) {
- checkUnnamed3429(o.values);
+ checkUnnamed3433(o.values);
}
buildCounterGoogleCloudMlV1StudyConfigParameterSpecCategoricalValueSpec--;
}
-buildUnnamed3430() {
+buildUnnamed3434() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed3430(core.List<core.double> o) {
+checkUnnamed3434(core.List<core.double> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42.0));
unittest.expect(o[1], unittest.equals(42.0));
@@ -266,7 +266,7 @@
buildCounterGoogleCloudMlV1StudyConfigParameterSpecDiscreteValueSpec++;
if (buildCounterGoogleCloudMlV1StudyConfigParameterSpecDiscreteValueSpec <
3) {
- o.values = buildUnnamed3430();
+ o.values = buildUnnamed3434();
}
buildCounterGoogleCloudMlV1StudyConfigParameterSpecDiscreteValueSpec--;
return o;
@@ -277,7 +277,7 @@
buildCounterGoogleCloudMlV1StudyConfigParameterSpecDiscreteValueSpec++;
if (buildCounterGoogleCloudMlV1StudyConfigParameterSpecDiscreteValueSpec <
3) {
- checkUnnamed3430(o.values);
+ checkUnnamed3434(o.values);
}
buildCounterGoogleCloudMlV1StudyConfigParameterSpecDiscreteValueSpec--;
}
@@ -327,14 +327,14 @@
buildCounterGoogleCloudMlV1StudyConfigParameterSpecIntegerValueSpec--;
}
-buildUnnamed3431() {
+buildUnnamed3435() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3431(core.List<core.String> o) {
+checkUnnamed3435(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -349,7 +349,7 @@
buildCounterGoogleCloudMlV1StudyConfigParameterSpecMatchingParentCategoricalValueSpec++;
if (buildCounterGoogleCloudMlV1StudyConfigParameterSpecMatchingParentCategoricalValueSpec <
3) {
- o.values = buildUnnamed3431();
+ o.values = buildUnnamed3435();
}
buildCounterGoogleCloudMlV1StudyConfigParameterSpecMatchingParentCategoricalValueSpec--;
return o;
@@ -361,19 +361,19 @@
buildCounterGoogleCloudMlV1StudyConfigParameterSpecMatchingParentCategoricalValueSpec++;
if (buildCounterGoogleCloudMlV1StudyConfigParameterSpecMatchingParentCategoricalValueSpec <
3) {
- checkUnnamed3431(o.values);
+ checkUnnamed3435(o.values);
}
buildCounterGoogleCloudMlV1StudyConfigParameterSpecMatchingParentCategoricalValueSpec--;
}
-buildUnnamed3432() {
+buildUnnamed3436() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed3432(core.List<core.double> o) {
+checkUnnamed3436(core.List<core.double> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42.0));
unittest.expect(o[1], unittest.equals(42.0));
@@ -388,7 +388,7 @@
buildCounterGoogleCloudMlV1StudyConfigParameterSpecMatchingParentDiscreteValueSpec++;
if (buildCounterGoogleCloudMlV1StudyConfigParameterSpecMatchingParentDiscreteValueSpec <
3) {
- o.values = buildUnnamed3432();
+ o.values = buildUnnamed3436();
}
buildCounterGoogleCloudMlV1StudyConfigParameterSpecMatchingParentDiscreteValueSpec--;
return o;
@@ -400,19 +400,19 @@
buildCounterGoogleCloudMlV1StudyConfigParameterSpecMatchingParentDiscreteValueSpec++;
if (buildCounterGoogleCloudMlV1StudyConfigParameterSpecMatchingParentDiscreteValueSpec <
3) {
- checkUnnamed3432(o.values);
+ checkUnnamed3436(o.values);
}
buildCounterGoogleCloudMlV1StudyConfigParameterSpecMatchingParentDiscreteValueSpec--;
}
-buildUnnamed3433() {
+buildUnnamed3437() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3433(core.List<core.String> o) {
+checkUnnamed3437(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -427,7 +427,7 @@
buildCounterGoogleCloudMlV1StudyConfigParameterSpecMatchingParentIntValueSpec++;
if (buildCounterGoogleCloudMlV1StudyConfigParameterSpecMatchingParentIntValueSpec <
3) {
- o.values = buildUnnamed3433();
+ o.values = buildUnnamed3437();
}
buildCounterGoogleCloudMlV1StudyConfigParameterSpecMatchingParentIntValueSpec--;
return o;
@@ -438,7 +438,7 @@
buildCounterGoogleCloudMlV1StudyConfigParameterSpecMatchingParentIntValueSpec++;
if (buildCounterGoogleCloudMlV1StudyConfigParameterSpecMatchingParentIntValueSpec <
3) {
- checkUnnamed3433(o.values);
+ checkUnnamed3437(o.values);
}
buildCounterGoogleCloudMlV1StudyConfigParameterSpecMatchingParentIntValueSpec--;
}
@@ -465,14 +465,14 @@
buildCounterGoogleCloudMlV1StudyConfigMetricSpec--;
}
-buildUnnamed3434() {
+buildUnnamed3438() {
var o = new core.List<api.GoogleCloudMlV1StudyConfigParameterSpec>();
o.add(buildGoogleCloudMlV1StudyConfigParameterSpec());
o.add(buildGoogleCloudMlV1StudyConfigParameterSpec());
return o;
}
-checkUnnamed3434(core.List<api.GoogleCloudMlV1StudyConfigParameterSpec> o) {
+checkUnnamed3438(core.List<api.GoogleCloudMlV1StudyConfigParameterSpec> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudMlV1StudyConfigParameterSpec(o[0]);
checkGoogleCloudMlV1StudyConfigParameterSpec(o[1]);
@@ -485,7 +485,7 @@
if (buildCounterGoogleCloudMlV1StudyConfigParameterSpec < 3) {
o.categoricalValueSpec =
buildGoogleCloudMlV1StudyConfigParameterSpecCategoricalValueSpec();
- o.childParameterSpecs = buildUnnamed3434();
+ o.childParameterSpecs = buildUnnamed3438();
o.discreteValueSpec =
buildGoogleCloudMlV1StudyConfigParameterSpecDiscreteValueSpec();
o.doubleValueSpec =
@@ -512,7 +512,7 @@
if (buildCounterGoogleCloudMlV1StudyConfigParameterSpec < 3) {
checkGoogleCloudMlV1StudyConfigParameterSpecCategoricalValueSpec(
o.categoricalValueSpec);
- checkUnnamed3434(o.childParameterSpecs);
+ checkUnnamed3438(o.childParameterSpecs);
checkGoogleCloudMlV1StudyConfigParameterSpecDiscreteValueSpec(
o.discreteValueSpec);
checkGoogleCloudMlV1StudyConfigParameterSpecDoubleValueSpec(
@@ -684,14 +684,14 @@
buildCounterGoogleCloudMlV1CancelJobRequest--;
}
-buildUnnamed3435() {
+buildUnnamed3439() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3435(core.List<core.String> o) {
+checkUnnamed3439(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -702,7 +702,7 @@
var o = new api.GoogleCloudMlV1Capability();
buildCounterGoogleCloudMlV1Capability++;
if (buildCounterGoogleCloudMlV1Capability < 3) {
- o.availableAccelerators = buildUnnamed3435();
+ o.availableAccelerators = buildUnnamed3439();
o.type = "foo";
}
buildCounterGoogleCloudMlV1Capability--;
@@ -712,7 +712,7 @@
checkGoogleCloudMlV1Capability(api.GoogleCloudMlV1Capability o) {
buildCounterGoogleCloudMlV1Capability++;
if (buildCounterGoogleCloudMlV1Capability < 3) {
- checkUnnamed3435(o.availableAccelerators);
+ checkUnnamed3439(o.availableAccelerators);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterGoogleCloudMlV1Capability--;
@@ -844,53 +844,53 @@
buildCounterGoogleCloudMlV1ContainerPort--;
}
-buildUnnamed3436() {
+buildUnnamed3440() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3436(core.List<core.String> o) {
+checkUnnamed3440(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3437() {
+buildUnnamed3441() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3437(core.List<core.String> o) {
+checkUnnamed3441(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3438() {
+buildUnnamed3442() {
var o = new core.List<api.GoogleCloudMlV1EnvVar>();
o.add(buildGoogleCloudMlV1EnvVar());
o.add(buildGoogleCloudMlV1EnvVar());
return o;
}
-checkUnnamed3438(core.List<api.GoogleCloudMlV1EnvVar> o) {
+checkUnnamed3442(core.List<api.GoogleCloudMlV1EnvVar> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudMlV1EnvVar(o[0]);
checkGoogleCloudMlV1EnvVar(o[1]);
}
-buildUnnamed3439() {
+buildUnnamed3443() {
var o = new core.List<api.GoogleCloudMlV1ContainerPort>();
o.add(buildGoogleCloudMlV1ContainerPort());
o.add(buildGoogleCloudMlV1ContainerPort());
return o;
}
-checkUnnamed3439(core.List<api.GoogleCloudMlV1ContainerPort> o) {
+checkUnnamed3443(core.List<api.GoogleCloudMlV1ContainerPort> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudMlV1ContainerPort(o[0]);
checkGoogleCloudMlV1ContainerPort(o[1]);
@@ -901,11 +901,11 @@
var o = new api.GoogleCloudMlV1ContainerSpec();
buildCounterGoogleCloudMlV1ContainerSpec++;
if (buildCounterGoogleCloudMlV1ContainerSpec < 3) {
- o.args = buildUnnamed3436();
- o.command = buildUnnamed3437();
- o.env = buildUnnamed3438();
+ o.args = buildUnnamed3440();
+ o.command = buildUnnamed3441();
+ o.env = buildUnnamed3442();
o.image = "foo";
- o.ports = buildUnnamed3439();
+ o.ports = buildUnnamed3443();
}
buildCounterGoogleCloudMlV1ContainerSpec--;
return o;
@@ -914,11 +914,11 @@
checkGoogleCloudMlV1ContainerSpec(api.GoogleCloudMlV1ContainerSpec o) {
buildCounterGoogleCloudMlV1ContainerSpec++;
if (buildCounterGoogleCloudMlV1ContainerSpec < 3) {
- checkUnnamed3436(o.args);
- checkUnnamed3437(o.command);
- checkUnnamed3438(o.env);
+ checkUnnamed3440(o.args);
+ checkUnnamed3441(o.command);
+ checkUnnamed3442(o.env);
unittest.expect(o.image, unittest.equals('foo'));
- checkUnnamed3439(o.ports);
+ checkUnnamed3443(o.ports);
}
buildCounterGoogleCloudMlV1ContainerSpec--;
}
@@ -1031,7 +1031,7 @@
buildCounterGoogleCloudMlV1GetConfigResponse--;
}
-buildUnnamed3440() {
+buildUnnamed3444() {
var o = new core
.List<api.GoogleCloudMlV1HyperparameterOutputHyperparameterMetric>();
o.add(buildGoogleCloudMlV1HyperparameterOutputHyperparameterMetric());
@@ -1039,21 +1039,21 @@
return o;
}
-checkUnnamed3440(
+checkUnnamed3444(
core.List<api.GoogleCloudMlV1HyperparameterOutputHyperparameterMetric> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudMlV1HyperparameterOutputHyperparameterMetric(o[0]);
checkGoogleCloudMlV1HyperparameterOutputHyperparameterMetric(o[1]);
}
-buildUnnamed3441() {
+buildUnnamed3445() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3441(core.Map<core.String, core.String> o) {
+checkUnnamed3445(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -1064,12 +1064,12 @@
var o = new api.GoogleCloudMlV1HyperparameterOutput();
buildCounterGoogleCloudMlV1HyperparameterOutput++;
if (buildCounterGoogleCloudMlV1HyperparameterOutput < 3) {
- o.allMetrics = buildUnnamed3440();
+ o.allMetrics = buildUnnamed3444();
o.builtInAlgorithmOutput = buildGoogleCloudMlV1BuiltInAlgorithmOutput();
o.endTime = "foo";
o.finalMetric =
buildGoogleCloudMlV1HyperparameterOutputHyperparameterMetric();
- o.hyperparameters = buildUnnamed3441();
+ o.hyperparameters = buildUnnamed3445();
o.isTrialStoppedEarly = true;
o.startTime = "foo";
o.state = "foo";
@@ -1083,11 +1083,11 @@
api.GoogleCloudMlV1HyperparameterOutput o) {
buildCounterGoogleCloudMlV1HyperparameterOutput++;
if (buildCounterGoogleCloudMlV1HyperparameterOutput < 3) {
- checkUnnamed3440(o.allMetrics);
+ checkUnnamed3444(o.allMetrics);
checkGoogleCloudMlV1BuiltInAlgorithmOutput(o.builtInAlgorithmOutput);
unittest.expect(o.endTime, unittest.equals('foo'));
checkGoogleCloudMlV1HyperparameterOutputHyperparameterMetric(o.finalMetric);
- checkUnnamed3441(o.hyperparameters);
+ checkUnnamed3445(o.hyperparameters);
unittest.expect(o.isTrialStoppedEarly, unittest.isTrue);
unittest.expect(o.startTime, unittest.equals('foo'));
unittest.expect(o.state, unittest.equals('foo'));
@@ -1096,14 +1096,14 @@
buildCounterGoogleCloudMlV1HyperparameterOutput--;
}
-buildUnnamed3442() {
+buildUnnamed3446() {
var o = new core.List<api.GoogleCloudMlV1ParameterSpec>();
o.add(buildGoogleCloudMlV1ParameterSpec());
o.add(buildGoogleCloudMlV1ParameterSpec());
return o;
}
-checkUnnamed3442(core.List<api.GoogleCloudMlV1ParameterSpec> o) {
+checkUnnamed3446(core.List<api.GoogleCloudMlV1ParameterSpec> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudMlV1ParameterSpec(o[0]);
checkGoogleCloudMlV1ParameterSpec(o[1]);
@@ -1121,7 +1121,7 @@
o.maxFailedTrials = 42;
o.maxParallelTrials = 42;
o.maxTrials = 42;
- o.params = buildUnnamed3442();
+ o.params = buildUnnamed3446();
o.resumePreviousJobId = "foo";
}
buildCounterGoogleCloudMlV1HyperparameterSpec--;
@@ -1139,7 +1139,7 @@
unittest.expect(o.maxFailedTrials, unittest.equals(42));
unittest.expect(o.maxParallelTrials, unittest.equals(42));
unittest.expect(o.maxTrials, unittest.equals(42));
- checkUnnamed3442(o.params);
+ checkUnnamed3446(o.params);
unittest.expect(o.resumePreviousJobId, unittest.equals('foo'));
}
buildCounterGoogleCloudMlV1HyperparameterSpec--;
@@ -1165,14 +1165,14 @@
buildCounterGoogleCloudMlV1IntegratedGradientsAttribution--;
}
-buildUnnamed3443() {
+buildUnnamed3447() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3443(core.Map<core.String, core.String> o) {
+checkUnnamed3447(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -1188,7 +1188,7 @@
o.errorMessage = "foo";
o.etag = "foo";
o.jobId = "foo";
- o.labels = buildUnnamed3443();
+ o.labels = buildUnnamed3447();
o.predictionInput = buildGoogleCloudMlV1PredictionInput();
o.predictionOutput = buildGoogleCloudMlV1PredictionOutput();
o.startTime = "foo";
@@ -1208,7 +1208,7 @@
unittest.expect(o.errorMessage, unittest.equals('foo'));
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.jobId, unittest.equals('foo'));
- checkUnnamed3443(o.labels);
+ checkUnnamed3447(o.labels);
checkGoogleCloudMlV1PredictionInput(o.predictionInput);
checkGoogleCloudMlV1PredictionOutput(o.predictionOutput);
unittest.expect(o.startTime, unittest.equals('foo'));
@@ -1219,14 +1219,14 @@
buildCounterGoogleCloudMlV1Job--;
}
-buildUnnamed3444() {
+buildUnnamed3448() {
var o = new core.List<api.GoogleCloudMlV1Job>();
o.add(buildGoogleCloudMlV1Job());
o.add(buildGoogleCloudMlV1Job());
return o;
}
-checkUnnamed3444(core.List<api.GoogleCloudMlV1Job> o) {
+checkUnnamed3448(core.List<api.GoogleCloudMlV1Job> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudMlV1Job(o[0]);
checkGoogleCloudMlV1Job(o[1]);
@@ -1237,7 +1237,7 @@
var o = new api.GoogleCloudMlV1ListJobsResponse();
buildCounterGoogleCloudMlV1ListJobsResponse++;
if (buildCounterGoogleCloudMlV1ListJobsResponse < 3) {
- o.jobs = buildUnnamed3444();
+ o.jobs = buildUnnamed3448();
o.nextPageToken = "foo";
}
buildCounterGoogleCloudMlV1ListJobsResponse--;
@@ -1247,20 +1247,20 @@
checkGoogleCloudMlV1ListJobsResponse(api.GoogleCloudMlV1ListJobsResponse o) {
buildCounterGoogleCloudMlV1ListJobsResponse++;
if (buildCounterGoogleCloudMlV1ListJobsResponse < 3) {
- checkUnnamed3444(o.jobs);
+ checkUnnamed3448(o.jobs);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterGoogleCloudMlV1ListJobsResponse--;
}
-buildUnnamed3445() {
+buildUnnamed3449() {
var o = new core.List<api.GoogleCloudMlV1Location>();
o.add(buildGoogleCloudMlV1Location());
o.add(buildGoogleCloudMlV1Location());
return o;
}
-checkUnnamed3445(core.List<api.GoogleCloudMlV1Location> o) {
+checkUnnamed3449(core.List<api.GoogleCloudMlV1Location> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudMlV1Location(o[0]);
checkGoogleCloudMlV1Location(o[1]);
@@ -1271,7 +1271,7 @@
var o = new api.GoogleCloudMlV1ListLocationsResponse();
buildCounterGoogleCloudMlV1ListLocationsResponse++;
if (buildCounterGoogleCloudMlV1ListLocationsResponse < 3) {
- o.locations = buildUnnamed3445();
+ o.locations = buildUnnamed3449();
o.nextPageToken = "foo";
}
buildCounterGoogleCloudMlV1ListLocationsResponse--;
@@ -1282,20 +1282,20 @@
api.GoogleCloudMlV1ListLocationsResponse o) {
buildCounterGoogleCloudMlV1ListLocationsResponse++;
if (buildCounterGoogleCloudMlV1ListLocationsResponse < 3) {
- checkUnnamed3445(o.locations);
+ checkUnnamed3449(o.locations);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterGoogleCloudMlV1ListLocationsResponse--;
}
-buildUnnamed3446() {
+buildUnnamed3450() {
var o = new core.List<api.GoogleCloudMlV1Model>();
o.add(buildGoogleCloudMlV1Model());
o.add(buildGoogleCloudMlV1Model());
return o;
}
-checkUnnamed3446(core.List<api.GoogleCloudMlV1Model> o) {
+checkUnnamed3450(core.List<api.GoogleCloudMlV1Model> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudMlV1Model(o[0]);
checkGoogleCloudMlV1Model(o[1]);
@@ -1306,7 +1306,7 @@
var o = new api.GoogleCloudMlV1ListModelsResponse();
buildCounterGoogleCloudMlV1ListModelsResponse++;
if (buildCounterGoogleCloudMlV1ListModelsResponse < 3) {
- o.models = buildUnnamed3446();
+ o.models = buildUnnamed3450();
o.nextPageToken = "foo";
}
buildCounterGoogleCloudMlV1ListModelsResponse--;
@@ -1317,20 +1317,20 @@
api.GoogleCloudMlV1ListModelsResponse o) {
buildCounterGoogleCloudMlV1ListModelsResponse++;
if (buildCounterGoogleCloudMlV1ListModelsResponse < 3) {
- checkUnnamed3446(o.models);
+ checkUnnamed3450(o.models);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterGoogleCloudMlV1ListModelsResponse--;
}
-buildUnnamed3447() {
+buildUnnamed3451() {
var o = new core.List<api.GoogleCloudMlV1Study>();
o.add(buildGoogleCloudMlV1Study());
o.add(buildGoogleCloudMlV1Study());
return o;
}
-checkUnnamed3447(core.List<api.GoogleCloudMlV1Study> o) {
+checkUnnamed3451(core.List<api.GoogleCloudMlV1Study> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudMlV1Study(o[0]);
checkGoogleCloudMlV1Study(o[1]);
@@ -1341,7 +1341,7 @@
var o = new api.GoogleCloudMlV1ListStudiesResponse();
buildCounterGoogleCloudMlV1ListStudiesResponse++;
if (buildCounterGoogleCloudMlV1ListStudiesResponse < 3) {
- o.studies = buildUnnamed3447();
+ o.studies = buildUnnamed3451();
}
buildCounterGoogleCloudMlV1ListStudiesResponse--;
return o;
@@ -1351,19 +1351,19 @@
api.GoogleCloudMlV1ListStudiesResponse o) {
buildCounterGoogleCloudMlV1ListStudiesResponse++;
if (buildCounterGoogleCloudMlV1ListStudiesResponse < 3) {
- checkUnnamed3447(o.studies);
+ checkUnnamed3451(o.studies);
}
buildCounterGoogleCloudMlV1ListStudiesResponse--;
}
-buildUnnamed3448() {
+buildUnnamed3452() {
var o = new core.List<api.GoogleCloudMlV1Trial>();
o.add(buildGoogleCloudMlV1Trial());
o.add(buildGoogleCloudMlV1Trial());
return o;
}
-checkUnnamed3448(core.List<api.GoogleCloudMlV1Trial> o) {
+checkUnnamed3452(core.List<api.GoogleCloudMlV1Trial> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudMlV1Trial(o[0]);
checkGoogleCloudMlV1Trial(o[1]);
@@ -1374,7 +1374,7 @@
var o = new api.GoogleCloudMlV1ListTrialsResponse();
buildCounterGoogleCloudMlV1ListTrialsResponse++;
if (buildCounterGoogleCloudMlV1ListTrialsResponse < 3) {
- o.trials = buildUnnamed3448();
+ o.trials = buildUnnamed3452();
}
buildCounterGoogleCloudMlV1ListTrialsResponse--;
return o;
@@ -1384,19 +1384,19 @@
api.GoogleCloudMlV1ListTrialsResponse o) {
buildCounterGoogleCloudMlV1ListTrialsResponse++;
if (buildCounterGoogleCloudMlV1ListTrialsResponse < 3) {
- checkUnnamed3448(o.trials);
+ checkUnnamed3452(o.trials);
}
buildCounterGoogleCloudMlV1ListTrialsResponse--;
}
-buildUnnamed3449() {
+buildUnnamed3453() {
var o = new core.List<api.GoogleCloudMlV1Version>();
o.add(buildGoogleCloudMlV1Version());
o.add(buildGoogleCloudMlV1Version());
return o;
}
-checkUnnamed3449(core.List<api.GoogleCloudMlV1Version> o) {
+checkUnnamed3453(core.List<api.GoogleCloudMlV1Version> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudMlV1Version(o[0]);
checkGoogleCloudMlV1Version(o[1]);
@@ -1408,7 +1408,7 @@
buildCounterGoogleCloudMlV1ListVersionsResponse++;
if (buildCounterGoogleCloudMlV1ListVersionsResponse < 3) {
o.nextPageToken = "foo";
- o.versions = buildUnnamed3449();
+ o.versions = buildUnnamed3453();
}
buildCounterGoogleCloudMlV1ListVersionsResponse--;
return o;
@@ -1419,19 +1419,19 @@
buildCounterGoogleCloudMlV1ListVersionsResponse++;
if (buildCounterGoogleCloudMlV1ListVersionsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3449(o.versions);
+ checkUnnamed3453(o.versions);
}
buildCounterGoogleCloudMlV1ListVersionsResponse--;
}
-buildUnnamed3450() {
+buildUnnamed3454() {
var o = new core.List<api.GoogleCloudMlV1Capability>();
o.add(buildGoogleCloudMlV1Capability());
o.add(buildGoogleCloudMlV1Capability());
return o;
}
-checkUnnamed3450(core.List<api.GoogleCloudMlV1Capability> o) {
+checkUnnamed3454(core.List<api.GoogleCloudMlV1Capability> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudMlV1Capability(o[0]);
checkGoogleCloudMlV1Capability(o[1]);
@@ -1442,7 +1442,7 @@
var o = new api.GoogleCloudMlV1Location();
buildCounterGoogleCloudMlV1Location++;
if (buildCounterGoogleCloudMlV1Location < 3) {
- o.capabilities = buildUnnamed3450();
+ o.capabilities = buildUnnamed3454();
o.name = "foo";
}
buildCounterGoogleCloudMlV1Location--;
@@ -1452,7 +1452,7 @@
checkGoogleCloudMlV1Location(api.GoogleCloudMlV1Location o) {
buildCounterGoogleCloudMlV1Location++;
if (buildCounterGoogleCloudMlV1Location < 3) {
- checkUnnamed3450(o.capabilities);
+ checkUnnamed3454(o.capabilities);
unittest.expect(o.name, unittest.equals('foo'));
}
buildCounterGoogleCloudMlV1Location--;
@@ -1477,14 +1477,14 @@
buildCounterGoogleCloudMlV1ManualScaling--;
}
-buildUnnamed3451() {
+buildUnnamed3455() {
var o = new core.List<api.GoogleCloudMlV1MeasurementMetric>();
o.add(buildGoogleCloudMlV1MeasurementMetric());
o.add(buildGoogleCloudMlV1MeasurementMetric());
return o;
}
-checkUnnamed3451(core.List<api.GoogleCloudMlV1MeasurementMetric> o) {
+checkUnnamed3455(core.List<api.GoogleCloudMlV1MeasurementMetric> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudMlV1MeasurementMetric(o[0]);
checkGoogleCloudMlV1MeasurementMetric(o[1]);
@@ -1496,7 +1496,7 @@
buildCounterGoogleCloudMlV1Measurement++;
if (buildCounterGoogleCloudMlV1Measurement < 3) {
o.elapsedTime = "foo";
- o.metrics = buildUnnamed3451();
+ o.metrics = buildUnnamed3455();
o.stepCount = "foo";
}
buildCounterGoogleCloudMlV1Measurement--;
@@ -1507,33 +1507,33 @@
buildCounterGoogleCloudMlV1Measurement++;
if (buildCounterGoogleCloudMlV1Measurement < 3) {
unittest.expect(o.elapsedTime, unittest.equals('foo'));
- checkUnnamed3451(o.metrics);
+ checkUnnamed3455(o.metrics);
unittest.expect(o.stepCount, unittest.equals('foo'));
}
buildCounterGoogleCloudMlV1Measurement--;
}
-buildUnnamed3452() {
+buildUnnamed3456() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3452(core.Map<core.String, core.String> o) {
+checkUnnamed3456(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed3453() {
+buildUnnamed3457() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3453(core.List<core.String> o) {
+checkUnnamed3457(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1547,11 +1547,11 @@
o.defaultVersion = buildGoogleCloudMlV1Version();
o.description = "foo";
o.etag = "foo";
- o.labels = buildUnnamed3452();
+ o.labels = buildUnnamed3456();
o.name = "foo";
o.onlinePredictionConsoleLogging = true;
o.onlinePredictionLogging = true;
- o.regions = buildUnnamed3453();
+ o.regions = buildUnnamed3457();
}
buildCounterGoogleCloudMlV1Model--;
return o;
@@ -1563,23 +1563,23 @@
checkGoogleCloudMlV1Version(o.defaultVersion);
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed3452(o.labels);
+ checkUnnamed3456(o.labels);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.onlinePredictionConsoleLogging, unittest.isTrue);
unittest.expect(o.onlinePredictionLogging, unittest.isTrue);
- checkUnnamed3453(o.regions);
+ checkUnnamed3457(o.regions);
}
buildCounterGoogleCloudMlV1Model--;
}
-buildUnnamed3454() {
+buildUnnamed3458() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3454(core.Map<core.String, core.String> o) {
+checkUnnamed3458(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -1593,7 +1593,7 @@
o.createTime = "foo";
o.endTime = "foo";
o.isCancellationRequested = true;
- o.labels = buildUnnamed3454();
+ o.labels = buildUnnamed3458();
o.modelName = "foo";
o.operationType = "foo";
o.projectNumber = "foo";
@@ -1610,7 +1610,7 @@
unittest.expect(o.createTime, unittest.equals('foo'));
unittest.expect(o.endTime, unittest.equals('foo'));
unittest.expect(o.isCancellationRequested, unittest.isTrue);
- checkUnnamed3454(o.labels);
+ checkUnnamed3458(o.labels);
unittest.expect(o.modelName, unittest.equals('foo'));
unittest.expect(o.operationType, unittest.equals('foo'));
unittest.expect(o.projectNumber, unittest.equals('foo'));
@@ -1620,27 +1620,27 @@
buildCounterGoogleCloudMlV1OperationMetadata--;
}
-buildUnnamed3455() {
+buildUnnamed3459() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3455(core.List<core.String> o) {
+checkUnnamed3459(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3456() {
+buildUnnamed3460() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed3456(core.List<core.double> o) {
+checkUnnamed3460(core.List<core.double> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42.0));
unittest.expect(o[1], unittest.equals(42.0));
@@ -1651,8 +1651,8 @@
var o = new api.GoogleCloudMlV1ParameterSpec();
buildCounterGoogleCloudMlV1ParameterSpec++;
if (buildCounterGoogleCloudMlV1ParameterSpec < 3) {
- o.categoricalValues = buildUnnamed3455();
- o.discreteValues = buildUnnamed3456();
+ o.categoricalValues = buildUnnamed3459();
+ o.discreteValues = buildUnnamed3460();
o.maxValue = 42.0;
o.minValue = 42.0;
o.parameterName = "foo";
@@ -1666,8 +1666,8 @@
checkGoogleCloudMlV1ParameterSpec(api.GoogleCloudMlV1ParameterSpec o) {
buildCounterGoogleCloudMlV1ParameterSpec++;
if (buildCounterGoogleCloudMlV1ParameterSpec < 3) {
- checkUnnamed3455(o.categoricalValues);
- checkUnnamed3456(o.discreteValues);
+ checkUnnamed3459(o.categoricalValues);
+ checkUnnamed3460(o.discreteValues);
unittest.expect(o.maxValue, unittest.equals(42.0));
unittest.expect(o.minValue, unittest.equals(42.0));
unittest.expect(o.parameterName, unittest.equals('foo'));
@@ -1696,14 +1696,14 @@
buildCounterGoogleCloudMlV1PredictRequest--;
}
-buildUnnamed3457() {
+buildUnnamed3461() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3457(core.List<core.String> o) {
+checkUnnamed3461(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1716,7 +1716,7 @@
if (buildCounterGoogleCloudMlV1PredictionInput < 3) {
o.batchSize = "foo";
o.dataFormat = "foo";
- o.inputPaths = buildUnnamed3457();
+ o.inputPaths = buildUnnamed3461();
o.maxWorkerCount = "foo";
o.modelName = "foo";
o.outputDataFormat = "foo";
@@ -1736,7 +1736,7 @@
if (buildCounterGoogleCloudMlV1PredictionInput < 3) {
unittest.expect(o.batchSize, unittest.equals('foo'));
unittest.expect(o.dataFormat, unittest.equals('foo'));
- checkUnnamed3457(o.inputPaths);
+ checkUnnamed3461(o.inputPaths);
unittest.expect(o.maxWorkerCount, unittest.equals('foo'));
unittest.expect(o.modelName, unittest.equals('foo'));
unittest.expect(o.outputDataFormat, unittest.equals('foo'));
@@ -1775,27 +1775,27 @@
buildCounterGoogleCloudMlV1PredictionOutput--;
}
-buildUnnamed3458() {
+buildUnnamed3462() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3458(core.List<core.String> o) {
+checkUnnamed3462(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3459() {
+buildUnnamed3463() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3459(core.List<core.String> o) {
+checkUnnamed3463(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1807,8 +1807,8 @@
buildCounterGoogleCloudMlV1ReplicaConfig++;
if (buildCounterGoogleCloudMlV1ReplicaConfig < 3) {
o.acceleratorConfig = buildGoogleCloudMlV1AcceleratorConfig();
- o.containerArgs = buildUnnamed3458();
- o.containerCommand = buildUnnamed3459();
+ o.containerArgs = buildUnnamed3462();
+ o.containerCommand = buildUnnamed3463();
o.imageUri = "foo";
o.tpuTfVersion = "foo";
}
@@ -1820,8 +1820,8 @@
buildCounterGoogleCloudMlV1ReplicaConfig++;
if (buildCounterGoogleCloudMlV1ReplicaConfig < 3) {
checkGoogleCloudMlV1AcceleratorConfig(o.acceleratorConfig);
- checkUnnamed3458(o.containerArgs);
- checkUnnamed3459(o.containerCommand);
+ checkUnnamed3462(o.containerArgs);
+ checkUnnamed3463(o.containerCommand);
unittest.expect(o.imageUri, unittest.equals('foo'));
unittest.expect(o.tpuTfVersion, unittest.equals('foo'));
}
@@ -1970,27 +1970,27 @@
buildCounterGoogleCloudMlV1Study--;
}
-buildUnnamed3460() {
+buildUnnamed3464() {
var o = new core.List<api.GoogleCloudMlV1StudyConfigMetricSpec>();
o.add(buildGoogleCloudMlV1StudyConfigMetricSpec());
o.add(buildGoogleCloudMlV1StudyConfigMetricSpec());
return o;
}
-checkUnnamed3460(core.List<api.GoogleCloudMlV1StudyConfigMetricSpec> o) {
+checkUnnamed3464(core.List<api.GoogleCloudMlV1StudyConfigMetricSpec> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudMlV1StudyConfigMetricSpec(o[0]);
checkGoogleCloudMlV1StudyConfigMetricSpec(o[1]);
}
-buildUnnamed3461() {
+buildUnnamed3465() {
var o = new core.List<api.GoogleCloudMlV1StudyConfigParameterSpec>();
o.add(buildGoogleCloudMlV1StudyConfigParameterSpec());
o.add(buildGoogleCloudMlV1StudyConfigParameterSpec());
return o;
}
-checkUnnamed3461(core.List<api.GoogleCloudMlV1StudyConfigParameterSpec> o) {
+checkUnnamed3465(core.List<api.GoogleCloudMlV1StudyConfigParameterSpec> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudMlV1StudyConfigParameterSpec(o[0]);
checkGoogleCloudMlV1StudyConfigParameterSpec(o[1]);
@@ -2003,8 +2003,8 @@
if (buildCounterGoogleCloudMlV1StudyConfig < 3) {
o.algorithm = "foo";
o.automatedStoppingConfig = buildGoogleCloudMlV1AutomatedStoppingConfig();
- o.metrics = buildUnnamed3460();
- o.parameters = buildUnnamed3461();
+ o.metrics = buildUnnamed3464();
+ o.parameters = buildUnnamed3465();
}
buildCounterGoogleCloudMlV1StudyConfig--;
return o;
@@ -2015,8 +2015,8 @@
if (buildCounterGoogleCloudMlV1StudyConfig < 3) {
unittest.expect(o.algorithm, unittest.equals('foo'));
checkGoogleCloudMlV1AutomatedStoppingConfig(o.automatedStoppingConfig);
- checkUnnamed3460(o.metrics);
- checkUnnamed3461(o.parameters);
+ checkUnnamed3464(o.metrics);
+ checkUnnamed3465(o.parameters);
}
buildCounterGoogleCloudMlV1StudyConfig--;
}
@@ -2069,14 +2069,14 @@
buildCounterGoogleCloudMlV1SuggestTrialsRequest--;
}
-buildUnnamed3462() {
+buildUnnamed3466() {
var o = new core.List<api.GoogleCloudMlV1Trial>();
o.add(buildGoogleCloudMlV1Trial());
o.add(buildGoogleCloudMlV1Trial());
return o;
}
-checkUnnamed3462(core.List<api.GoogleCloudMlV1Trial> o) {
+checkUnnamed3466(core.List<api.GoogleCloudMlV1Trial> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudMlV1Trial(o[0]);
checkGoogleCloudMlV1Trial(o[1]);
@@ -2090,7 +2090,7 @@
o.endTime = "foo";
o.startTime = "foo";
o.studyState = "foo";
- o.trials = buildUnnamed3462();
+ o.trials = buildUnnamed3466();
}
buildCounterGoogleCloudMlV1SuggestTrialsResponse--;
return o;
@@ -2103,32 +2103,32 @@
unittest.expect(o.endTime, unittest.equals('foo'));
unittest.expect(o.startTime, unittest.equals('foo'));
unittest.expect(o.studyState, unittest.equals('foo'));
- checkUnnamed3462(o.trials);
+ checkUnnamed3466(o.trials);
}
buildCounterGoogleCloudMlV1SuggestTrialsResponse--;
}
-buildUnnamed3463() {
+buildUnnamed3467() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3463(core.List<core.String> o) {
+checkUnnamed3467(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3464() {
+buildUnnamed3468() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3464(core.List<core.String> o) {
+checkUnnamed3468(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2139,7 +2139,7 @@
var o = new api.GoogleCloudMlV1TrainingInput();
buildCounterGoogleCloudMlV1TrainingInput++;
if (buildCounterGoogleCloudMlV1TrainingInput < 3) {
- o.args = buildUnnamed3463();
+ o.args = buildUnnamed3467();
o.encryptionConfig = buildGoogleCloudMlV1EncryptionConfig();
o.evaluatorConfig = buildGoogleCloudMlV1ReplicaConfig();
o.evaluatorCount = "foo";
@@ -2149,7 +2149,7 @@
o.masterConfig = buildGoogleCloudMlV1ReplicaConfig();
o.masterType = "foo";
o.network = "foo";
- o.packageUris = buildUnnamed3464();
+ o.packageUris = buildUnnamed3468();
o.parameterServerConfig = buildGoogleCloudMlV1ReplicaConfig();
o.parameterServerCount = "foo";
o.parameterServerType = "foo";
@@ -2172,7 +2172,7 @@
checkGoogleCloudMlV1TrainingInput(api.GoogleCloudMlV1TrainingInput o) {
buildCounterGoogleCloudMlV1TrainingInput++;
if (buildCounterGoogleCloudMlV1TrainingInput < 3) {
- checkUnnamed3463(o.args);
+ checkUnnamed3467(o.args);
checkGoogleCloudMlV1EncryptionConfig(o.encryptionConfig);
checkGoogleCloudMlV1ReplicaConfig(o.evaluatorConfig);
unittest.expect(o.evaluatorCount, unittest.equals('foo'));
@@ -2182,7 +2182,7 @@
checkGoogleCloudMlV1ReplicaConfig(o.masterConfig);
unittest.expect(o.masterType, unittest.equals('foo'));
unittest.expect(o.network, unittest.equals('foo'));
- checkUnnamed3464(o.packageUris);
+ checkUnnamed3468(o.packageUris);
checkGoogleCloudMlV1ReplicaConfig(o.parameterServerConfig);
unittest.expect(o.parameterServerCount, unittest.equals('foo'));
unittest.expect(o.parameterServerType, unittest.equals('foo'));
@@ -2201,14 +2201,14 @@
buildCounterGoogleCloudMlV1TrainingInput--;
}
-buildUnnamed3465() {
+buildUnnamed3469() {
var o = new core.List<api.GoogleCloudMlV1HyperparameterOutput>();
o.add(buildGoogleCloudMlV1HyperparameterOutput());
o.add(buildGoogleCloudMlV1HyperparameterOutput());
return o;
}
-checkUnnamed3465(core.List<api.GoogleCloudMlV1HyperparameterOutput> o) {
+checkUnnamed3469(core.List<api.GoogleCloudMlV1HyperparameterOutput> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudMlV1HyperparameterOutput(o[0]);
checkGoogleCloudMlV1HyperparameterOutput(o[1]);
@@ -2225,7 +2225,7 @@
o.hyperparameterMetricTag = "foo";
o.isBuiltInAlgorithmJob = true;
o.isHyperparameterTuningJob = true;
- o.trials = buildUnnamed3465();
+ o.trials = buildUnnamed3469();
}
buildCounterGoogleCloudMlV1TrainingOutput--;
return o;
@@ -2240,32 +2240,32 @@
unittest.expect(o.hyperparameterMetricTag, unittest.equals('foo'));
unittest.expect(o.isBuiltInAlgorithmJob, unittest.isTrue);
unittest.expect(o.isHyperparameterTuningJob, unittest.isTrue);
- checkUnnamed3465(o.trials);
+ checkUnnamed3469(o.trials);
}
buildCounterGoogleCloudMlV1TrainingOutput--;
}
-buildUnnamed3466() {
+buildUnnamed3470() {
var o = new core.List<api.GoogleCloudMlV1Measurement>();
o.add(buildGoogleCloudMlV1Measurement());
o.add(buildGoogleCloudMlV1Measurement());
return o;
}
-checkUnnamed3466(core.List<api.GoogleCloudMlV1Measurement> o) {
+checkUnnamed3470(core.List<api.GoogleCloudMlV1Measurement> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudMlV1Measurement(o[0]);
checkGoogleCloudMlV1Measurement(o[1]);
}
-buildUnnamed3467() {
+buildUnnamed3471() {
var o = new core.List<api.GoogleCloudMlV1TrialParameter>();
o.add(buildGoogleCloudMlV1TrialParameter());
o.add(buildGoogleCloudMlV1TrialParameter());
return o;
}
-checkUnnamed3467(core.List<api.GoogleCloudMlV1TrialParameter> o) {
+checkUnnamed3471(core.List<api.GoogleCloudMlV1TrialParameter> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudMlV1TrialParameter(o[0]);
checkGoogleCloudMlV1TrialParameter(o[1]);
@@ -2280,9 +2280,9 @@
o.endTime = "foo";
o.finalMeasurement = buildGoogleCloudMlV1Measurement();
o.infeasibleReason = "foo";
- o.measurements = buildUnnamed3466();
+ o.measurements = buildUnnamed3470();
o.name = "foo";
- o.parameters = buildUnnamed3467();
+ o.parameters = buildUnnamed3471();
o.startTime = "foo";
o.state = "foo";
o.trialInfeasible = true;
@@ -2298,9 +2298,9 @@
unittest.expect(o.endTime, unittest.equals('foo'));
checkGoogleCloudMlV1Measurement(o.finalMeasurement);
unittest.expect(o.infeasibleReason, unittest.equals('foo'));
- checkUnnamed3466(o.measurements);
+ checkUnnamed3470(o.measurements);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed3467(o.parameters);
+ checkUnnamed3471(o.parameters);
unittest.expect(o.startTime, unittest.equals('foo'));
unittest.expect(o.state, unittest.equals('foo'));
unittest.expect(o.trialInfeasible, unittest.isTrue);
@@ -2308,27 +2308,27 @@
buildCounterGoogleCloudMlV1Trial--;
}
-buildUnnamed3468() {
+buildUnnamed3472() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3468(core.Map<core.String, core.String> o) {
+checkUnnamed3472(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed3469() {
+buildUnnamed3473() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3469(core.List<core.String> o) {
+checkUnnamed3473(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2350,12 +2350,12 @@
o.explanationConfig = buildGoogleCloudMlV1ExplanationConfig();
o.framework = "foo";
o.isDefault = true;
- o.labels = buildUnnamed3468();
+ o.labels = buildUnnamed3472();
o.lastUseTime = "foo";
o.machineType = "foo";
o.manualScaling = buildGoogleCloudMlV1ManualScaling();
o.name = "foo";
- o.packageUris = buildUnnamed3469();
+ o.packageUris = buildUnnamed3473();
o.predictionClass = "foo";
o.pythonVersion = "foo";
o.requestLoggingConfig = buildGoogleCloudMlV1RequestLoggingConfig();
@@ -2382,12 +2382,12 @@
checkGoogleCloudMlV1ExplanationConfig(o.explanationConfig);
unittest.expect(o.framework, unittest.equals('foo'));
unittest.expect(o.isDefault, unittest.isTrue);
- checkUnnamed3468(o.labels);
+ checkUnnamed3472(o.labels);
unittest.expect(o.lastUseTime, unittest.equals('foo'));
unittest.expect(o.machineType, unittest.equals('foo'));
checkGoogleCloudMlV1ManualScaling(o.manualScaling);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed3469(o.packageUris);
+ checkUnnamed3473(o.packageUris);
unittest.expect(o.predictionClass, unittest.equals('foo'));
unittest.expect(o.pythonVersion, unittest.equals('foo'));
checkGoogleCloudMlV1RequestLoggingConfig(o.requestLoggingConfig);
@@ -2418,14 +2418,14 @@
buildCounterGoogleCloudMlV1XraiAttribution--;
}
-buildUnnamed3470() {
+buildUnnamed3474() {
var o = new core.List<api.GoogleIamV1AuditLogConfig>();
o.add(buildGoogleIamV1AuditLogConfig());
o.add(buildGoogleIamV1AuditLogConfig());
return o;
}
-checkUnnamed3470(core.List<api.GoogleIamV1AuditLogConfig> o) {
+checkUnnamed3474(core.List<api.GoogleIamV1AuditLogConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleIamV1AuditLogConfig(o[0]);
checkGoogleIamV1AuditLogConfig(o[1]);
@@ -2436,7 +2436,7 @@
var o = new api.GoogleIamV1AuditConfig();
buildCounterGoogleIamV1AuditConfig++;
if (buildCounterGoogleIamV1AuditConfig < 3) {
- o.auditLogConfigs = buildUnnamed3470();
+ o.auditLogConfigs = buildUnnamed3474();
o.service = "foo";
}
buildCounterGoogleIamV1AuditConfig--;
@@ -2446,20 +2446,20 @@
checkGoogleIamV1AuditConfig(api.GoogleIamV1AuditConfig o) {
buildCounterGoogleIamV1AuditConfig++;
if (buildCounterGoogleIamV1AuditConfig < 3) {
- checkUnnamed3470(o.auditLogConfigs);
+ checkUnnamed3474(o.auditLogConfigs);
unittest.expect(o.service, unittest.equals('foo'));
}
buildCounterGoogleIamV1AuditConfig--;
}
-buildUnnamed3471() {
+buildUnnamed3475() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3471(core.List<core.String> o) {
+checkUnnamed3475(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2470,7 +2470,7 @@
var o = new api.GoogleIamV1AuditLogConfig();
buildCounterGoogleIamV1AuditLogConfig++;
if (buildCounterGoogleIamV1AuditLogConfig < 3) {
- o.exemptedMembers = buildUnnamed3471();
+ o.exemptedMembers = buildUnnamed3475();
o.logType = "foo";
}
buildCounterGoogleIamV1AuditLogConfig--;
@@ -2480,20 +2480,20 @@
checkGoogleIamV1AuditLogConfig(api.GoogleIamV1AuditLogConfig o) {
buildCounterGoogleIamV1AuditLogConfig++;
if (buildCounterGoogleIamV1AuditLogConfig < 3) {
- checkUnnamed3471(o.exemptedMembers);
+ checkUnnamed3475(o.exemptedMembers);
unittest.expect(o.logType, unittest.equals('foo'));
}
buildCounterGoogleIamV1AuditLogConfig--;
}
-buildUnnamed3472() {
+buildUnnamed3476() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3472(core.List<core.String> o) {
+checkUnnamed3476(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2506,7 +2506,7 @@
if (buildCounterGoogleIamV1Binding < 3) {
o.bindingId = "foo";
o.condition = buildGoogleTypeExpr();
- o.members = buildUnnamed3472();
+ o.members = buildUnnamed3476();
o.role = "foo";
}
buildCounterGoogleIamV1Binding--;
@@ -2518,33 +2518,33 @@
if (buildCounterGoogleIamV1Binding < 3) {
unittest.expect(o.bindingId, unittest.equals('foo'));
checkGoogleTypeExpr(o.condition);
- checkUnnamed3472(o.members);
+ checkUnnamed3476(o.members);
unittest.expect(o.role, unittest.equals('foo'));
}
buildCounterGoogleIamV1Binding--;
}
-buildUnnamed3473() {
+buildUnnamed3477() {
var o = new core.List<api.GoogleIamV1AuditConfig>();
o.add(buildGoogleIamV1AuditConfig());
o.add(buildGoogleIamV1AuditConfig());
return o;
}
-checkUnnamed3473(core.List<api.GoogleIamV1AuditConfig> o) {
+checkUnnamed3477(core.List<api.GoogleIamV1AuditConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleIamV1AuditConfig(o[0]);
checkGoogleIamV1AuditConfig(o[1]);
}
-buildUnnamed3474() {
+buildUnnamed3478() {
var o = new core.List<api.GoogleIamV1Binding>();
o.add(buildGoogleIamV1Binding());
o.add(buildGoogleIamV1Binding());
return o;
}
-checkUnnamed3474(core.List<api.GoogleIamV1Binding> o) {
+checkUnnamed3478(core.List<api.GoogleIamV1Binding> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleIamV1Binding(o[0]);
checkGoogleIamV1Binding(o[1]);
@@ -2555,8 +2555,8 @@
var o = new api.GoogleIamV1Policy();
buildCounterGoogleIamV1Policy++;
if (buildCounterGoogleIamV1Policy < 3) {
- o.auditConfigs = buildUnnamed3473();
- o.bindings = buildUnnamed3474();
+ o.auditConfigs = buildUnnamed3477();
+ o.bindings = buildUnnamed3478();
o.etag = "foo";
o.version = 42;
}
@@ -2567,8 +2567,8 @@
checkGoogleIamV1Policy(api.GoogleIamV1Policy o) {
buildCounterGoogleIamV1Policy++;
if (buildCounterGoogleIamV1Policy < 3) {
- checkUnnamed3473(o.auditConfigs);
- checkUnnamed3474(o.bindings);
+ checkUnnamed3477(o.auditConfigs);
+ checkUnnamed3478(o.bindings);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals(42));
}
@@ -2596,14 +2596,14 @@
buildCounterGoogleIamV1SetIamPolicyRequest--;
}
-buildUnnamed3475() {
+buildUnnamed3479() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3475(core.List<core.String> o) {
+checkUnnamed3479(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2614,7 +2614,7 @@
var o = new api.GoogleIamV1TestIamPermissionsRequest();
buildCounterGoogleIamV1TestIamPermissionsRequest++;
if (buildCounterGoogleIamV1TestIamPermissionsRequest < 3) {
- o.permissions = buildUnnamed3475();
+ o.permissions = buildUnnamed3479();
}
buildCounterGoogleIamV1TestIamPermissionsRequest--;
return o;
@@ -2624,19 +2624,19 @@
api.GoogleIamV1TestIamPermissionsRequest o) {
buildCounterGoogleIamV1TestIamPermissionsRequest++;
if (buildCounterGoogleIamV1TestIamPermissionsRequest < 3) {
- checkUnnamed3475(o.permissions);
+ checkUnnamed3479(o.permissions);
}
buildCounterGoogleIamV1TestIamPermissionsRequest--;
}
-buildUnnamed3476() {
+buildUnnamed3480() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3476(core.List<core.String> o) {
+checkUnnamed3480(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2647,7 +2647,7 @@
var o = new api.GoogleIamV1TestIamPermissionsResponse();
buildCounterGoogleIamV1TestIamPermissionsResponse++;
if (buildCounterGoogleIamV1TestIamPermissionsResponse < 3) {
- o.permissions = buildUnnamed3476();
+ o.permissions = buildUnnamed3480();
}
buildCounterGoogleIamV1TestIamPermissionsResponse--;
return o;
@@ -2657,19 +2657,19 @@
api.GoogleIamV1TestIamPermissionsResponse o) {
buildCounterGoogleIamV1TestIamPermissionsResponse++;
if (buildCounterGoogleIamV1TestIamPermissionsResponse < 3) {
- checkUnnamed3476(o.permissions);
+ checkUnnamed3480(o.permissions);
}
buildCounterGoogleIamV1TestIamPermissionsResponse--;
}
-buildUnnamed3477() {
+buildUnnamed3481() {
var o = new core.List<api.GoogleLongrunningOperation>();
o.add(buildGoogleLongrunningOperation());
o.add(buildGoogleLongrunningOperation());
return o;
}
-checkUnnamed3477(core.List<api.GoogleLongrunningOperation> o) {
+checkUnnamed3481(core.List<api.GoogleLongrunningOperation> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleLongrunningOperation(o[0]);
checkGoogleLongrunningOperation(o[1]);
@@ -2681,7 +2681,7 @@
buildCounterGoogleLongrunningListOperationsResponse++;
if (buildCounterGoogleLongrunningListOperationsResponse < 3) {
o.nextPageToken = "foo";
- o.operations = buildUnnamed3477();
+ o.operations = buildUnnamed3481();
}
buildCounterGoogleLongrunningListOperationsResponse--;
return o;
@@ -2692,12 +2692,12 @@
buildCounterGoogleLongrunningListOperationsResponse++;
if (buildCounterGoogleLongrunningListOperationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3477(o.operations);
+ checkUnnamed3481(o.operations);
}
buildCounterGoogleLongrunningListOperationsResponse--;
}
-buildUnnamed3478() {
+buildUnnamed3482() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -2712,7 +2712,7 @@
return o;
}
-checkUnnamed3478(core.Map<core.String, core.Object> o) {
+checkUnnamed3482(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted3 = (o["x"]) as core.Map;
unittest.expect(casted3, unittest.hasLength(3));
@@ -2726,7 +2726,7 @@
unittest.expect(casted4["string"], unittest.equals('foo'));
}
-buildUnnamed3479() {
+buildUnnamed3483() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -2741,7 +2741,7 @@
return o;
}
-checkUnnamed3479(core.Map<core.String, core.Object> o) {
+checkUnnamed3483(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted5 = (o["x"]) as core.Map;
unittest.expect(casted5, unittest.hasLength(3));
@@ -2762,9 +2762,9 @@
if (buildCounterGoogleLongrunningOperation < 3) {
o.done = true;
o.error = buildGoogleRpcStatus();
- o.metadata = buildUnnamed3478();
+ o.metadata = buildUnnamed3482();
o.name = "foo";
- o.response = buildUnnamed3479();
+ o.response = buildUnnamed3483();
}
buildCounterGoogleLongrunningOperation--;
return o;
@@ -2775,9 +2775,9 @@
if (buildCounterGoogleLongrunningOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkGoogleRpcStatus(o.error);
- checkUnnamed3478(o.metadata);
+ checkUnnamed3482(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed3479(o.response);
+ checkUnnamed3483(o.response);
}
buildCounterGoogleLongrunningOperation--;
}
@@ -2797,7 +2797,7 @@
buildCounterGoogleProtobufEmpty--;
}
-buildUnnamed3480() {
+buildUnnamed3484() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -2812,7 +2812,7 @@
return o;
}
-checkUnnamed3480(core.Map<core.String, core.Object> o) {
+checkUnnamed3484(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted7 = (o["x"]) as core.Map;
unittest.expect(casted7, unittest.hasLength(3));
@@ -2826,17 +2826,17 @@
unittest.expect(casted8["string"], unittest.equals('foo'));
}
-buildUnnamed3481() {
+buildUnnamed3485() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed3480());
- o.add(buildUnnamed3480());
+ o.add(buildUnnamed3484());
+ o.add(buildUnnamed3484());
return o;
}
-checkUnnamed3481(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed3485(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed3480(o[0]);
- checkUnnamed3480(o[1]);
+ checkUnnamed3484(o[0]);
+ checkUnnamed3484(o[1]);
}
core.int buildCounterGoogleRpcStatus = 0;
@@ -2845,7 +2845,7 @@
buildCounterGoogleRpcStatus++;
if (buildCounterGoogleRpcStatus < 3) {
o.code = 42;
- o.details = buildUnnamed3481();
+ o.details = buildUnnamed3485();
o.message = "foo";
}
buildCounterGoogleRpcStatus--;
@@ -2856,7 +2856,7 @@
buildCounterGoogleRpcStatus++;
if (buildCounterGoogleRpcStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed3481(o.details);
+ checkUnnamed3485(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterGoogleRpcStatus--;
@@ -4004,8 +4004,8 @@
api.ProjectsJobsResourceApi res = new api.MlApi(mock).projects.jobs;
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;
@@ -4039,10 +4039,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 = {
@@ -4054,8 +4054,8 @@
res
.list(arg_parent,
filter: arg_filter,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGoogleCloudMlV1ListJobsResponse(response);
@@ -5394,8 +5394,8 @@
api.ProjectsModelsResourceApi res = new api.MlApi(mock).projects.models;
var arg_parent = "foo";
var arg_filter = "foo";
- var arg_pageSize = 42;
var arg_pageToken = "foo";
+ var arg_pageSize = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -5429,10 +5429,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["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -5445,8 +5445,8 @@
res
.list(arg_parent,
filter: arg_filter,
- pageSize: arg_pageSize,
pageToken: arg_pageToken,
+ pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGoogleCloudMlV1ListModelsResponse(response);
@@ -5790,9 +5790,9 @@
api.ProjectsModelsVersionsResourceApi res =
new api.MlApi(mock).projects.models.versions;
var arg_parent = "foo";
- var arg_pageSize = 42;
- var arg_filter = "foo";
var arg_pageToken = "foo";
+ var arg_filter = "foo";
+ var arg_pageSize = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -5825,11 +5825,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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["filter"].first, unittest.equals(arg_filter));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -5841,9 +5841,9 @@
}), true);
res
.list(arg_parent,
- pageSize: arg_pageSize,
- filter: arg_filter,
pageToken: arg_pageToken,
+ filter: arg_filter,
+ pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGoogleCloudMlV1ListVersionsResponse(response);
@@ -6078,8 +6078,8 @@
api.ProjectsOperationsResourceApi res =
new api.MlApi(mock).projects.operations;
var arg_name = "foo";
- var arg_filter = "foo";
var arg_pageToken = "foo";
+ var arg_filter = "foo";
var arg_pageSize = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -6113,9 +6113,9 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
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["fields"].first, unittest.equals(arg_$fields));
@@ -6129,8 +6129,8 @@
}), true);
res
.list(arg_name,
- filter: arg_filter,
pageToken: arg_pageToken,
+ filter: arg_filter,
pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
diff --git a/generated/googleapis/test/monitoring/v3_test.dart b/generated/googleapis/test/monitoring/v3_test.dart
index 90c0fb9..a0f3c94 100644
--- a/generated/googleapis/test/monitoring/v3_test.dart
+++ b/generated/googleapis/test/monitoring/v3_test.dart
@@ -50,14 +50,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed3869() {
+buildUnnamed3873() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3869(core.List<core.String> o) {
+checkUnnamed3873(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -70,7 +70,7 @@
if (buildCounterAggregation < 3) {
o.alignmentPeriod = "foo";
o.crossSeriesReducer = "foo";
- o.groupByFields = buildUnnamed3869();
+ o.groupByFields = buildUnnamed3873();
o.perSeriesAligner = "foo";
}
buildCounterAggregation--;
@@ -82,46 +82,46 @@
if (buildCounterAggregation < 3) {
unittest.expect(o.alignmentPeriod, unittest.equals('foo'));
unittest.expect(o.crossSeriesReducer, unittest.equals('foo'));
- checkUnnamed3869(o.groupByFields);
+ checkUnnamed3873(o.groupByFields);
unittest.expect(o.perSeriesAligner, unittest.equals('foo'));
}
buildCounterAggregation--;
}
-buildUnnamed3870() {
+buildUnnamed3874() {
var o = new core.List<api.Condition>();
o.add(buildCondition());
o.add(buildCondition());
return o;
}
-checkUnnamed3870(core.List<api.Condition> o) {
+checkUnnamed3874(core.List<api.Condition> o) {
unittest.expect(o, unittest.hasLength(2));
checkCondition(o[0]);
checkCondition(o[1]);
}
-buildUnnamed3871() {
+buildUnnamed3875() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3871(core.List<core.String> o) {
+checkUnnamed3875(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3872() {
+buildUnnamed3876() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3872(core.Map<core.String, core.String> o) {
+checkUnnamed3876(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -133,15 +133,15 @@
buildCounterAlertPolicy++;
if (buildCounterAlertPolicy < 3) {
o.combiner = "foo";
- o.conditions = buildUnnamed3870();
+ o.conditions = buildUnnamed3874();
o.creationRecord = buildMutationRecord();
o.displayName = "foo";
o.documentation = buildDocumentation();
o.enabled = true;
o.mutationRecord = buildMutationRecord();
o.name = "foo";
- o.notificationChannels = buildUnnamed3871();
- o.userLabels = buildUnnamed3872();
+ o.notificationChannels = buildUnnamed3875();
+ o.userLabels = buildUnnamed3876();
o.validity = buildStatus();
}
buildCounterAlertPolicy--;
@@ -152,15 +152,15 @@
buildCounterAlertPolicy++;
if (buildCounterAlertPolicy < 3) {
unittest.expect(o.combiner, unittest.equals('foo'));
- checkUnnamed3870(o.conditions);
+ checkUnnamed3874(o.conditions);
checkMutationRecord(o.creationRecord);
unittest.expect(o.displayName, unittest.equals('foo'));
checkDocumentation(o.documentation);
unittest.expect(o.enabled, unittest.isTrue);
checkMutationRecord(o.mutationRecord);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed3871(o.notificationChannels);
- checkUnnamed3872(o.userLabels);
+ checkUnnamed3875(o.notificationChannels);
+ checkUnnamed3876(o.userLabels);
checkStatus(o.validity);
}
buildCounterAlertPolicy--;
@@ -221,40 +221,40 @@
buildCounterBasicAuthentication--;
}
-buildUnnamed3873() {
+buildUnnamed3877() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3873(core.List<core.String> o) {
+checkUnnamed3877(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3874() {
+buildUnnamed3878() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3874(core.List<core.String> o) {
+checkUnnamed3878(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3875() {
+buildUnnamed3879() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3875(core.List<core.String> o) {
+checkUnnamed3879(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -267,9 +267,9 @@
if (buildCounterBasicSli < 3) {
o.availability = buildAvailabilityCriteria();
o.latency = buildLatencyCriteria();
- o.location = buildUnnamed3873();
- o.method = buildUnnamed3874();
- o.version = buildUnnamed3875();
+ o.location = buildUnnamed3877();
+ o.method = buildUnnamed3878();
+ o.version = buildUnnamed3879();
}
buildCounterBasicSli--;
return o;
@@ -280,9 +280,9 @@
if (buildCounterBasicSli < 3) {
checkAvailabilityCriteria(o.availability);
checkLatencyCriteria(o.latency);
- checkUnnamed3873(o.location);
- checkUnnamed3874(o.method);
- checkUnnamed3875(o.version);
+ checkUnnamed3877(o.location);
+ checkUnnamed3878(o.method);
+ checkUnnamed3879(o.version);
}
buildCounterBasicSli--;
}
@@ -354,27 +354,27 @@
buildCounterClusterIstio--;
}
-buildUnnamed3876() {
+buildUnnamed3880() {
var o = new core.Map<core.String, api.TypedValue>();
o["x"] = buildTypedValue();
o["y"] = buildTypedValue();
return o;
}
-checkUnnamed3876(core.Map<core.String, api.TypedValue> o) {
+checkUnnamed3880(core.Map<core.String, api.TypedValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkTypedValue(o["x"]);
checkTypedValue(o["y"]);
}
-buildUnnamed3877() {
+buildUnnamed3881() {
var o = new core.List<api.CollectdValue>();
o.add(buildCollectdValue());
o.add(buildCollectdValue());
return o;
}
-checkUnnamed3877(core.List<api.CollectdValue> o) {
+checkUnnamed3881(core.List<api.CollectdValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkCollectdValue(o[0]);
checkCollectdValue(o[1]);
@@ -386,13 +386,13 @@
buildCounterCollectdPayload++;
if (buildCounterCollectdPayload < 3) {
o.endTime = "foo";
- o.metadata = buildUnnamed3876();
+ o.metadata = buildUnnamed3880();
o.plugin = "foo";
o.pluginInstance = "foo";
o.startTime = "foo";
o.type = "foo";
o.typeInstance = "foo";
- o.values = buildUnnamed3877();
+ o.values = buildUnnamed3881();
}
buildCounterCollectdPayload--;
return o;
@@ -402,25 +402,25 @@
buildCounterCollectdPayload++;
if (buildCounterCollectdPayload < 3) {
unittest.expect(o.endTime, unittest.equals('foo'));
- checkUnnamed3876(o.metadata);
+ checkUnnamed3880(o.metadata);
unittest.expect(o.plugin, unittest.equals('foo'));
unittest.expect(o.pluginInstance, unittest.equals('foo'));
unittest.expect(o.startTime, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
unittest.expect(o.typeInstance, unittest.equals('foo'));
- checkUnnamed3877(o.values);
+ checkUnnamed3881(o.values);
}
buildCounterCollectdPayload--;
}
-buildUnnamed3878() {
+buildUnnamed3882() {
var o = new core.List<api.CollectdValueError>();
o.add(buildCollectdValueError());
o.add(buildCollectdValueError());
return o;
}
-checkUnnamed3878(core.List<api.CollectdValueError> o) {
+checkUnnamed3882(core.List<api.CollectdValueError> o) {
unittest.expect(o, unittest.hasLength(2));
checkCollectdValueError(o[0]);
checkCollectdValueError(o[1]);
@@ -433,7 +433,7 @@
if (buildCounterCollectdPayloadError < 3) {
o.error = buildStatus();
o.index = 42;
- o.valueErrors = buildUnnamed3878();
+ o.valueErrors = buildUnnamed3882();
}
buildCounterCollectdPayloadError--;
return o;
@@ -444,7 +444,7 @@
if (buildCounterCollectdPayloadError < 3) {
checkStatus(o.error);
unittest.expect(o.index, unittest.equals(42));
- checkUnnamed3878(o.valueErrors);
+ checkUnnamed3882(o.valueErrors);
}
buildCounterCollectdPayloadError--;
}
@@ -499,6 +499,8 @@
buildCounterCondition++;
if (buildCounterCondition < 3) {
o.conditionAbsent = buildMetricAbsence();
+ o.conditionMonitoringQueryLanguage =
+ buildMonitoringQueryLanguageCondition();
o.conditionThreshold = buildMetricThreshold();
o.displayName = "foo";
o.name = "foo";
@@ -511,6 +513,7 @@
buildCounterCondition++;
if (buildCounterCondition < 3) {
checkMetricAbsence(o.conditionAbsent);
+ checkMonitoringQueryLanguageCondition(o.conditionMonitoringQueryLanguage);
checkMetricThreshold(o.conditionThreshold);
unittest.expect(o.displayName, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
@@ -539,14 +542,14 @@
buildCounterContentMatcher--;
}
-buildUnnamed3879() {
+buildUnnamed3883() {
var o = new core.List<api.CollectdPayload>();
o.add(buildCollectdPayload());
o.add(buildCollectdPayload());
return o;
}
-checkUnnamed3879(core.List<api.CollectdPayload> o) {
+checkUnnamed3883(core.List<api.CollectdPayload> o) {
unittest.expect(o, unittest.hasLength(2));
checkCollectdPayload(o[0]);
checkCollectdPayload(o[1]);
@@ -557,7 +560,7 @@
var o = new api.CreateCollectdTimeSeriesRequest();
buildCounterCreateCollectdTimeSeriesRequest++;
if (buildCounterCreateCollectdTimeSeriesRequest < 3) {
- o.collectdPayloads = buildUnnamed3879();
+ o.collectdPayloads = buildUnnamed3883();
o.collectdVersion = "foo";
o.resource = buildMonitoredResource();
}
@@ -568,21 +571,21 @@
checkCreateCollectdTimeSeriesRequest(api.CreateCollectdTimeSeriesRequest o) {
buildCounterCreateCollectdTimeSeriesRequest++;
if (buildCounterCreateCollectdTimeSeriesRequest < 3) {
- checkUnnamed3879(o.collectdPayloads);
+ checkUnnamed3883(o.collectdPayloads);
unittest.expect(o.collectdVersion, unittest.equals('foo'));
checkMonitoredResource(o.resource);
}
buildCounterCreateCollectdTimeSeriesRequest--;
}
-buildUnnamed3880() {
+buildUnnamed3884() {
var o = new core.List<api.CollectdPayloadError>();
o.add(buildCollectdPayloadError());
o.add(buildCollectdPayloadError());
return o;
}
-checkUnnamed3880(core.List<api.CollectdPayloadError> o) {
+checkUnnamed3884(core.List<api.CollectdPayloadError> o) {
unittest.expect(o, unittest.hasLength(2));
checkCollectdPayloadError(o[0]);
checkCollectdPayloadError(o[1]);
@@ -593,7 +596,7 @@
var o = new api.CreateCollectdTimeSeriesResponse();
buildCounterCreateCollectdTimeSeriesResponse++;
if (buildCounterCreateCollectdTimeSeriesResponse < 3) {
- o.payloadErrors = buildUnnamed3880();
+ o.payloadErrors = buildUnnamed3884();
o.summary = buildCreateTimeSeriesSummary();
}
buildCounterCreateCollectdTimeSeriesResponse--;
@@ -603,20 +606,20 @@
checkCreateCollectdTimeSeriesResponse(api.CreateCollectdTimeSeriesResponse o) {
buildCounterCreateCollectdTimeSeriesResponse++;
if (buildCounterCreateCollectdTimeSeriesResponse < 3) {
- checkUnnamed3880(o.payloadErrors);
+ checkUnnamed3884(o.payloadErrors);
checkCreateTimeSeriesSummary(o.summary);
}
buildCounterCreateCollectdTimeSeriesResponse--;
}
-buildUnnamed3881() {
+buildUnnamed3885() {
var o = new core.List<api.TimeSeries>();
o.add(buildTimeSeries());
o.add(buildTimeSeries());
return o;
}
-checkUnnamed3881(core.List<api.TimeSeries> o) {
+checkUnnamed3885(core.List<api.TimeSeries> o) {
unittest.expect(o, unittest.hasLength(2));
checkTimeSeries(o[0]);
checkTimeSeries(o[1]);
@@ -627,7 +630,7 @@
var o = new api.CreateTimeSeriesRequest();
buildCounterCreateTimeSeriesRequest++;
if (buildCounterCreateTimeSeriesRequest < 3) {
- o.timeSeries = buildUnnamed3881();
+ o.timeSeries = buildUnnamed3885();
}
buildCounterCreateTimeSeriesRequest--;
return o;
@@ -636,19 +639,19 @@
checkCreateTimeSeriesRequest(api.CreateTimeSeriesRequest o) {
buildCounterCreateTimeSeriesRequest++;
if (buildCounterCreateTimeSeriesRequest < 3) {
- checkUnnamed3881(o.timeSeries);
+ checkUnnamed3885(o.timeSeries);
}
buildCounterCreateTimeSeriesRequest--;
}
-buildUnnamed3882() {
+buildUnnamed3886() {
var o = new core.List<api.Error>();
o.add(buildError());
o.add(buildError());
return o;
}
-checkUnnamed3882(core.List<api.Error> o) {
+checkUnnamed3886(core.List<api.Error> o) {
unittest.expect(o, unittest.hasLength(2));
checkError(o[0]);
checkError(o[1]);
@@ -659,7 +662,7 @@
var o = new api.CreateTimeSeriesSummary();
buildCounterCreateTimeSeriesSummary++;
if (buildCounterCreateTimeSeriesSummary < 3) {
- o.errors = buildUnnamed3882();
+ o.errors = buildUnnamed3886();
o.successPointCount = 42;
o.totalPointCount = 42;
}
@@ -670,7 +673,7 @@
checkCreateTimeSeriesSummary(api.CreateTimeSeriesSummary o) {
buildCounterCreateTimeSeriesSummary++;
if (buildCounterCreateTimeSeriesSummary < 3) {
- checkUnnamed3882(o.errors);
+ checkUnnamed3886(o.errors);
unittest.expect(o.successPointCount, unittest.equals(42));
unittest.expect(o.totalPointCount, unittest.equals(42));
}
@@ -692,27 +695,27 @@
buildCounterCustom--;
}
-buildUnnamed3883() {
+buildUnnamed3887() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3883(core.List<core.String> o) {
+checkUnnamed3887(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3884() {
+buildUnnamed3888() {
var o = new core.List<api.Exemplar>();
o.add(buildExemplar());
o.add(buildExemplar());
return o;
}
-checkUnnamed3884(core.List<api.Exemplar> o) {
+checkUnnamed3888(core.List<api.Exemplar> o) {
unittest.expect(o, unittest.hasLength(2));
checkExemplar(o[0]);
checkExemplar(o[1]);
@@ -723,10 +726,10 @@
var o = new api.Distribution();
buildCounterDistribution++;
if (buildCounterDistribution < 3) {
- o.bucketCounts = buildUnnamed3883();
+ o.bucketCounts = buildUnnamed3887();
o.bucketOptions = buildBucketOptions();
o.count = "foo";
- o.exemplars = buildUnnamed3884();
+ o.exemplars = buildUnnamed3888();
o.mean = 42.0;
o.range = buildRange();
o.sumOfSquaredDeviation = 42.0;
@@ -738,10 +741,10 @@
checkDistribution(api.Distribution o) {
buildCounterDistribution++;
if (buildCounterDistribution < 3) {
- checkUnnamed3883(o.bucketCounts);
+ checkUnnamed3887(o.bucketCounts);
checkBucketOptions(o.bucketOptions);
unittest.expect(o.count, unittest.equals('foo'));
- checkUnnamed3884(o.exemplars);
+ checkUnnamed3888(o.exemplars);
unittest.expect(o.mean, unittest.equals(42.0));
checkRange(o.range);
unittest.expect(o.sumOfSquaredDeviation, unittest.equals(42.0));
@@ -791,14 +794,14 @@
buildCounterDocumentation--;
}
-buildUnnamed3885() {
+buildUnnamed3889() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3885(core.Map<core.String, core.String> o) {
+checkUnnamed3889(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -809,7 +812,7 @@
var o = new api.DroppedLabels();
buildCounterDroppedLabels++;
if (buildCounterDroppedLabels < 3) {
- o.label = buildUnnamed3885();
+ o.label = buildUnnamed3889();
}
buildCounterDroppedLabels--;
return o;
@@ -818,7 +821,7 @@
checkDroppedLabels(api.DroppedLabels o) {
buildCounterDroppedLabels++;
if (buildCounterDroppedLabels < 3) {
- checkUnnamed3885(o.label);
+ checkUnnamed3889(o.label);
}
buildCounterDroppedLabels--;
}
@@ -859,7 +862,7 @@
buildCounterError--;
}
-buildUnnamed3886() {
+buildUnnamed3890() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -874,7 +877,7 @@
return o;
}
-checkUnnamed3886(core.Map<core.String, core.Object> o) {
+checkUnnamed3890(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o["x"]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -888,17 +891,17 @@
unittest.expect(casted2["string"], unittest.equals('foo'));
}
-buildUnnamed3887() {
+buildUnnamed3891() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed3886());
- o.add(buildUnnamed3886());
+ o.add(buildUnnamed3890());
+ o.add(buildUnnamed3890());
return o;
}
-checkUnnamed3887(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed3891(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed3886(o[0]);
- checkUnnamed3886(o[1]);
+ checkUnnamed3890(o[0]);
+ checkUnnamed3890(o[1]);
}
core.int buildCounterExemplar = 0;
@@ -906,7 +909,7 @@
var o = new api.Exemplar();
buildCounterExemplar++;
if (buildCounterExemplar < 3) {
- o.attachments = buildUnnamed3887();
+ o.attachments = buildUnnamed3891();
o.timestamp = "foo";
o.value = 42.0;
}
@@ -917,21 +920,21 @@
checkExemplar(api.Exemplar o) {
buildCounterExemplar++;
if (buildCounterExemplar < 3) {
- checkUnnamed3887(o.attachments);
+ checkUnnamed3891(o.attachments);
unittest.expect(o.timestamp, unittest.equals('foo'));
unittest.expect(o.value, unittest.equals(42.0));
}
buildCounterExemplar--;
}
-buildUnnamed3888() {
+buildUnnamed3892() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed3888(core.List<core.double> o) {
+checkUnnamed3892(core.List<core.double> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42.0));
unittest.expect(o[1], unittest.equals(42.0));
@@ -942,7 +945,7 @@
var o = new api.Explicit();
buildCounterExplicit++;
if (buildCounterExplicit < 3) {
- o.bounds = buildUnnamed3888();
+ o.bounds = buildUnnamed3892();
}
buildCounterExplicit--;
return o;
@@ -951,7 +954,7 @@
checkExplicit(api.Explicit o) {
buildCounterExplicit++;
if (buildCounterExplicit < 3) {
- checkUnnamed3888(o.bounds);
+ checkUnnamed3892(o.bounds);
}
buildCounterExplicit--;
}
@@ -979,14 +982,14 @@
buildCounterExponential--;
}
-buildUnnamed3889() {
+buildUnnamed3893() {
var o = new core.List<api.Option>();
o.add(buildOption());
o.add(buildOption());
return o;
}
-checkUnnamed3889(core.List<api.Option> o) {
+checkUnnamed3893(core.List<api.Option> o) {
unittest.expect(o, unittest.hasLength(2));
checkOption(o[0]);
checkOption(o[1]);
@@ -1004,7 +1007,7 @@
o.name = "foo";
o.number = 42;
o.oneofIndex = 42;
- o.options = buildUnnamed3889();
+ o.options = buildUnnamed3893();
o.packed = true;
o.typeUrl = "foo";
}
@@ -1022,7 +1025,7 @@
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.number, unittest.equals(42));
unittest.expect(o.oneofIndex, unittest.equals(42));
- checkUnnamed3889(o.options);
+ checkUnnamed3893(o.options);
unittest.expect(o.packed, unittest.isTrue);
unittest.expect(o.typeUrl, unittest.equals('foo'));
}
@@ -1119,14 +1122,14 @@
buildCounterGroup--;
}
-buildUnnamed3890() {
+buildUnnamed3894() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3890(core.Map<core.String, core.String> o) {
+checkUnnamed3894(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -1140,7 +1143,7 @@
o.authInfo = buildBasicAuthentication();
o.body = "foo";
o.contentType = "foo";
- o.headers = buildUnnamed3890();
+ o.headers = buildUnnamed3894();
o.maskHeaders = true;
o.path = "foo";
o.port = 42;
@@ -1158,7 +1161,7 @@
checkBasicAuthentication(o.authInfo);
unittest.expect(o.body, unittest.equals('foo'));
unittest.expect(o.contentType, unittest.equals('foo'));
- checkUnnamed3890(o.headers);
+ checkUnnamed3894(o.headers);
unittest.expect(o.maskHeaders, unittest.isTrue);
unittest.expect(o.path, unittest.equals('foo'));
unittest.expect(o.port, unittest.equals(42));
@@ -1286,14 +1289,14 @@
buildCounterLinear--;
}
-buildUnnamed3891() {
+buildUnnamed3895() {
var o = new core.List<api.AlertPolicy>();
o.add(buildAlertPolicy());
o.add(buildAlertPolicy());
return o;
}
-checkUnnamed3891(core.List<api.AlertPolicy> o) {
+checkUnnamed3895(core.List<api.AlertPolicy> o) {
unittest.expect(o, unittest.hasLength(2));
checkAlertPolicy(o[0]);
checkAlertPolicy(o[1]);
@@ -1304,7 +1307,7 @@
var o = new api.ListAlertPoliciesResponse();
buildCounterListAlertPoliciesResponse++;
if (buildCounterListAlertPoliciesResponse < 3) {
- o.alertPolicies = buildUnnamed3891();
+ o.alertPolicies = buildUnnamed3895();
o.nextPageToken = "foo";
o.totalSize = 42;
}
@@ -1315,21 +1318,21 @@
checkListAlertPoliciesResponse(api.ListAlertPoliciesResponse o) {
buildCounterListAlertPoliciesResponse++;
if (buildCounterListAlertPoliciesResponse < 3) {
- checkUnnamed3891(o.alertPolicies);
+ checkUnnamed3895(o.alertPolicies);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.totalSize, unittest.equals(42));
}
buildCounterListAlertPoliciesResponse--;
}
-buildUnnamed3892() {
+buildUnnamed3896() {
var o = new core.List<api.MonitoredResource>();
o.add(buildMonitoredResource());
o.add(buildMonitoredResource());
return o;
}
-checkUnnamed3892(core.List<api.MonitoredResource> o) {
+checkUnnamed3896(core.List<api.MonitoredResource> o) {
unittest.expect(o, unittest.hasLength(2));
checkMonitoredResource(o[0]);
checkMonitoredResource(o[1]);
@@ -1340,7 +1343,7 @@
var o = new api.ListGroupMembersResponse();
buildCounterListGroupMembersResponse++;
if (buildCounterListGroupMembersResponse < 3) {
- o.members = buildUnnamed3892();
+ o.members = buildUnnamed3896();
o.nextPageToken = "foo";
o.totalSize = 42;
}
@@ -1351,21 +1354,21 @@
checkListGroupMembersResponse(api.ListGroupMembersResponse o) {
buildCounterListGroupMembersResponse++;
if (buildCounterListGroupMembersResponse < 3) {
- checkUnnamed3892(o.members);
+ checkUnnamed3896(o.members);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.totalSize, unittest.equals(42));
}
buildCounterListGroupMembersResponse--;
}
-buildUnnamed3893() {
+buildUnnamed3897() {
var o = new core.List<api.Group>();
o.add(buildGroup());
o.add(buildGroup());
return o;
}
-checkUnnamed3893(core.List<api.Group> o) {
+checkUnnamed3897(core.List<api.Group> o) {
unittest.expect(o, unittest.hasLength(2));
checkGroup(o[0]);
checkGroup(o[1]);
@@ -1376,7 +1379,7 @@
var o = new api.ListGroupsResponse();
buildCounterListGroupsResponse++;
if (buildCounterListGroupsResponse < 3) {
- o.group = buildUnnamed3893();
+ o.group = buildUnnamed3897();
o.nextPageToken = "foo";
}
buildCounterListGroupsResponse--;
@@ -1386,20 +1389,20 @@
checkListGroupsResponse(api.ListGroupsResponse o) {
buildCounterListGroupsResponse++;
if (buildCounterListGroupsResponse < 3) {
- checkUnnamed3893(o.group);
+ checkUnnamed3897(o.group);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListGroupsResponse--;
}
-buildUnnamed3894() {
+buildUnnamed3898() {
var o = new core.List<api.MetricDescriptor>();
o.add(buildMetricDescriptor());
o.add(buildMetricDescriptor());
return o;
}
-checkUnnamed3894(core.List<api.MetricDescriptor> o) {
+checkUnnamed3898(core.List<api.MetricDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetricDescriptor(o[0]);
checkMetricDescriptor(o[1]);
@@ -1410,7 +1413,7 @@
var o = new api.ListMetricDescriptorsResponse();
buildCounterListMetricDescriptorsResponse++;
if (buildCounterListMetricDescriptorsResponse < 3) {
- o.metricDescriptors = buildUnnamed3894();
+ o.metricDescriptors = buildUnnamed3898();
o.nextPageToken = "foo";
}
buildCounterListMetricDescriptorsResponse--;
@@ -1420,20 +1423,20 @@
checkListMetricDescriptorsResponse(api.ListMetricDescriptorsResponse o) {
buildCounterListMetricDescriptorsResponse++;
if (buildCounterListMetricDescriptorsResponse < 3) {
- checkUnnamed3894(o.metricDescriptors);
+ checkUnnamed3898(o.metricDescriptors);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListMetricDescriptorsResponse--;
}
-buildUnnamed3895() {
+buildUnnamed3899() {
var o = new core.List<api.MonitoredResourceDescriptor>();
o.add(buildMonitoredResourceDescriptor());
o.add(buildMonitoredResourceDescriptor());
return o;
}
-checkUnnamed3895(core.List<api.MonitoredResourceDescriptor> o) {
+checkUnnamed3899(core.List<api.MonitoredResourceDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkMonitoredResourceDescriptor(o[0]);
checkMonitoredResourceDescriptor(o[1]);
@@ -1445,7 +1448,7 @@
buildCounterListMonitoredResourceDescriptorsResponse++;
if (buildCounterListMonitoredResourceDescriptorsResponse < 3) {
o.nextPageToken = "foo";
- o.resourceDescriptors = buildUnnamed3895();
+ o.resourceDescriptors = buildUnnamed3899();
}
buildCounterListMonitoredResourceDescriptorsResponse--;
return o;
@@ -1456,19 +1459,19 @@
buildCounterListMonitoredResourceDescriptorsResponse++;
if (buildCounterListMonitoredResourceDescriptorsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3895(o.resourceDescriptors);
+ checkUnnamed3899(o.resourceDescriptors);
}
buildCounterListMonitoredResourceDescriptorsResponse--;
}
-buildUnnamed3896() {
+buildUnnamed3900() {
var o = new core.List<api.NotificationChannelDescriptor>();
o.add(buildNotificationChannelDescriptor());
o.add(buildNotificationChannelDescriptor());
return o;
}
-checkUnnamed3896(core.List<api.NotificationChannelDescriptor> o) {
+checkUnnamed3900(core.List<api.NotificationChannelDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkNotificationChannelDescriptor(o[0]);
checkNotificationChannelDescriptor(o[1]);
@@ -1479,7 +1482,7 @@
var o = new api.ListNotificationChannelDescriptorsResponse();
buildCounterListNotificationChannelDescriptorsResponse++;
if (buildCounterListNotificationChannelDescriptorsResponse < 3) {
- o.channelDescriptors = buildUnnamed3896();
+ o.channelDescriptors = buildUnnamed3900();
o.nextPageToken = "foo";
}
buildCounterListNotificationChannelDescriptorsResponse--;
@@ -1490,20 +1493,20 @@
api.ListNotificationChannelDescriptorsResponse o) {
buildCounterListNotificationChannelDescriptorsResponse++;
if (buildCounterListNotificationChannelDescriptorsResponse < 3) {
- checkUnnamed3896(o.channelDescriptors);
+ checkUnnamed3900(o.channelDescriptors);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListNotificationChannelDescriptorsResponse--;
}
-buildUnnamed3897() {
+buildUnnamed3901() {
var o = new core.List<api.NotificationChannel>();
o.add(buildNotificationChannel());
o.add(buildNotificationChannel());
return o;
}
-checkUnnamed3897(core.List<api.NotificationChannel> o) {
+checkUnnamed3901(core.List<api.NotificationChannel> o) {
unittest.expect(o, unittest.hasLength(2));
checkNotificationChannel(o[0]);
checkNotificationChannel(o[1]);
@@ -1515,7 +1518,7 @@
buildCounterListNotificationChannelsResponse++;
if (buildCounterListNotificationChannelsResponse < 3) {
o.nextPageToken = "foo";
- o.notificationChannels = buildUnnamed3897();
+ o.notificationChannels = buildUnnamed3901();
o.totalSize = 42;
}
buildCounterListNotificationChannelsResponse--;
@@ -1526,20 +1529,20 @@
buildCounterListNotificationChannelsResponse++;
if (buildCounterListNotificationChannelsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3897(o.notificationChannels);
+ checkUnnamed3901(o.notificationChannels);
unittest.expect(o.totalSize, unittest.equals(42));
}
buildCounterListNotificationChannelsResponse--;
}
-buildUnnamed3898() {
+buildUnnamed3902() {
var o = new core.List<api.ServiceLevelObjective>();
o.add(buildServiceLevelObjective());
o.add(buildServiceLevelObjective());
return o;
}
-checkUnnamed3898(core.List<api.ServiceLevelObjective> o) {
+checkUnnamed3902(core.List<api.ServiceLevelObjective> o) {
unittest.expect(o, unittest.hasLength(2));
checkServiceLevelObjective(o[0]);
checkServiceLevelObjective(o[1]);
@@ -1551,7 +1554,7 @@
buildCounterListServiceLevelObjectivesResponse++;
if (buildCounterListServiceLevelObjectivesResponse < 3) {
o.nextPageToken = "foo";
- o.serviceLevelObjectives = buildUnnamed3898();
+ o.serviceLevelObjectives = buildUnnamed3902();
}
buildCounterListServiceLevelObjectivesResponse--;
return o;
@@ -1562,19 +1565,19 @@
buildCounterListServiceLevelObjectivesResponse++;
if (buildCounterListServiceLevelObjectivesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3898(o.serviceLevelObjectives);
+ checkUnnamed3902(o.serviceLevelObjectives);
}
buildCounterListServiceLevelObjectivesResponse--;
}
-buildUnnamed3899() {
+buildUnnamed3903() {
var o = new core.List<api.Service>();
o.add(buildService());
o.add(buildService());
return o;
}
-checkUnnamed3899(core.List<api.Service> o) {
+checkUnnamed3903(core.List<api.Service> o) {
unittest.expect(o, unittest.hasLength(2));
checkService(o[0]);
checkService(o[1]);
@@ -1586,7 +1589,7 @@
buildCounterListServicesResponse++;
if (buildCounterListServicesResponse < 3) {
o.nextPageToken = "foo";
- o.services = buildUnnamed3899();
+ o.services = buildUnnamed3903();
}
buildCounterListServicesResponse--;
return o;
@@ -1596,32 +1599,32 @@
buildCounterListServicesResponse++;
if (buildCounterListServicesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3899(o.services);
+ checkUnnamed3903(o.services);
}
buildCounterListServicesResponse--;
}
-buildUnnamed3900() {
+buildUnnamed3904() {
var o = new core.List<api.Status>();
o.add(buildStatus());
o.add(buildStatus());
return o;
}
-checkUnnamed3900(core.List<api.Status> o) {
+checkUnnamed3904(core.List<api.Status> o) {
unittest.expect(o, unittest.hasLength(2));
checkStatus(o[0]);
checkStatus(o[1]);
}
-buildUnnamed3901() {
+buildUnnamed3905() {
var o = new core.List<api.TimeSeries>();
o.add(buildTimeSeries());
o.add(buildTimeSeries());
return o;
}
-checkUnnamed3901(core.List<api.TimeSeries> o) {
+checkUnnamed3905(core.List<api.TimeSeries> o) {
unittest.expect(o, unittest.hasLength(2));
checkTimeSeries(o[0]);
checkTimeSeries(o[1]);
@@ -1632,9 +1635,9 @@
var o = new api.ListTimeSeriesResponse();
buildCounterListTimeSeriesResponse++;
if (buildCounterListTimeSeriesResponse < 3) {
- o.executionErrors = buildUnnamed3900();
+ o.executionErrors = buildUnnamed3904();
o.nextPageToken = "foo";
- o.timeSeries = buildUnnamed3901();
+ o.timeSeries = buildUnnamed3905();
o.unit = "foo";
}
buildCounterListTimeSeriesResponse--;
@@ -1644,22 +1647,22 @@
checkListTimeSeriesResponse(api.ListTimeSeriesResponse o) {
buildCounterListTimeSeriesResponse++;
if (buildCounterListTimeSeriesResponse < 3) {
- checkUnnamed3900(o.executionErrors);
+ checkUnnamed3904(o.executionErrors);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3901(o.timeSeries);
+ checkUnnamed3905(o.timeSeries);
unittest.expect(o.unit, unittest.equals('foo'));
}
buildCounterListTimeSeriesResponse--;
}
-buildUnnamed3902() {
+buildUnnamed3906() {
var o = new core.List<api.UptimeCheckConfig>();
o.add(buildUptimeCheckConfig());
o.add(buildUptimeCheckConfig());
return o;
}
-checkUnnamed3902(core.List<api.UptimeCheckConfig> o) {
+checkUnnamed3906(core.List<api.UptimeCheckConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkUptimeCheckConfig(o[0]);
checkUptimeCheckConfig(o[1]);
@@ -1672,7 +1675,7 @@
if (buildCounterListUptimeCheckConfigsResponse < 3) {
o.nextPageToken = "foo";
o.totalSize = 42;
- o.uptimeCheckConfigs = buildUnnamed3902();
+ o.uptimeCheckConfigs = buildUnnamed3906();
}
buildCounterListUptimeCheckConfigsResponse--;
return o;
@@ -1683,19 +1686,19 @@
if (buildCounterListUptimeCheckConfigsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.totalSize, unittest.equals(42));
- checkUnnamed3902(o.uptimeCheckConfigs);
+ checkUnnamed3906(o.uptimeCheckConfigs);
}
buildCounterListUptimeCheckConfigsResponse--;
}
-buildUnnamed3903() {
+buildUnnamed3907() {
var o = new core.List<api.UptimeCheckIp>();
o.add(buildUptimeCheckIp());
o.add(buildUptimeCheckIp());
return o;
}
-checkUnnamed3903(core.List<api.UptimeCheckIp> o) {
+checkUnnamed3907(core.List<api.UptimeCheckIp> o) {
unittest.expect(o, unittest.hasLength(2));
checkUptimeCheckIp(o[0]);
checkUptimeCheckIp(o[1]);
@@ -1707,7 +1710,7 @@
buildCounterListUptimeCheckIpsResponse++;
if (buildCounterListUptimeCheckIpsResponse < 3) {
o.nextPageToken = "foo";
- o.uptimeCheckIps = buildUnnamed3903();
+ o.uptimeCheckIps = buildUnnamed3907();
}
buildCounterListUptimeCheckIpsResponse--;
return o;
@@ -1717,7 +1720,7 @@
buildCounterListUptimeCheckIpsResponse++;
if (buildCounterListUptimeCheckIpsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3903(o.uptimeCheckIps);
+ checkUnnamed3907(o.uptimeCheckIps);
}
buildCounterListUptimeCheckIpsResponse--;
}
@@ -1745,14 +1748,14 @@
buildCounterMeshIstio--;
}
-buildUnnamed3904() {
+buildUnnamed3908() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3904(core.Map<core.String, core.String> o) {
+checkUnnamed3908(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -1763,7 +1766,7 @@
var o = new api.Metric();
buildCounterMetric++;
if (buildCounterMetric < 3) {
- o.labels = buildUnnamed3904();
+ o.labels = buildUnnamed3908();
o.type = "foo";
}
buildCounterMetric--;
@@ -1773,20 +1776,20 @@
checkMetric(api.Metric o) {
buildCounterMetric++;
if (buildCounterMetric < 3) {
- checkUnnamed3904(o.labels);
+ checkUnnamed3908(o.labels);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterMetric--;
}
-buildUnnamed3905() {
+buildUnnamed3909() {
var o = new core.List<api.Aggregation>();
o.add(buildAggregation());
o.add(buildAggregation());
return o;
}
-checkUnnamed3905(core.List<api.Aggregation> o) {
+checkUnnamed3909(core.List<api.Aggregation> o) {
unittest.expect(o, unittest.hasLength(2));
checkAggregation(o[0]);
checkAggregation(o[1]);
@@ -1797,7 +1800,7 @@
var o = new api.MetricAbsence();
buildCounterMetricAbsence++;
if (buildCounterMetricAbsence < 3) {
- o.aggregations = buildUnnamed3905();
+ o.aggregations = buildUnnamed3909();
o.duration = "foo";
o.filter = "foo";
o.trigger = buildTrigger();
@@ -1809,7 +1812,7 @@
checkMetricAbsence(api.MetricAbsence o) {
buildCounterMetricAbsence++;
if (buildCounterMetricAbsence < 3) {
- checkUnnamed3905(o.aggregations);
+ checkUnnamed3909(o.aggregations);
unittest.expect(o.duration, unittest.equals('foo'));
unittest.expect(o.filter, unittest.equals('foo'));
checkTrigger(o.trigger);
@@ -1817,27 +1820,27 @@
buildCounterMetricAbsence--;
}
-buildUnnamed3906() {
+buildUnnamed3910() {
var o = new core.List<api.LabelDescriptor>();
o.add(buildLabelDescriptor());
o.add(buildLabelDescriptor());
return o;
}
-checkUnnamed3906(core.List<api.LabelDescriptor> o) {
+checkUnnamed3910(core.List<api.LabelDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkLabelDescriptor(o[0]);
checkLabelDescriptor(o[1]);
}
-buildUnnamed3907() {
+buildUnnamed3911() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3907(core.List<core.String> o) {
+checkUnnamed3911(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1850,11 +1853,11 @@
if (buildCounterMetricDescriptor < 3) {
o.description = "foo";
o.displayName = "foo";
- o.labels = buildUnnamed3906();
+ o.labels = buildUnnamed3910();
o.launchStage = "foo";
o.metadata = buildMetricDescriptorMetadata();
o.metricKind = "foo";
- o.monitoredResourceTypes = buildUnnamed3907();
+ o.monitoredResourceTypes = buildUnnamed3911();
o.name = "foo";
o.type = "foo";
o.unit = "foo";
@@ -1869,11 +1872,11 @@
if (buildCounterMetricDescriptor < 3) {
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed3906(o.labels);
+ checkUnnamed3910(o.labels);
unittest.expect(o.launchStage, unittest.equals('foo'));
checkMetricDescriptorMetadata(o.metadata);
unittest.expect(o.metricKind, unittest.equals('foo'));
- checkUnnamed3907(o.monitoredResourceTypes);
+ checkUnnamed3911(o.monitoredResourceTypes);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
unittest.expect(o.unit, unittest.equals('foo'));
@@ -1926,27 +1929,27 @@
buildCounterMetricRange--;
}
-buildUnnamed3908() {
+buildUnnamed3912() {
var o = new core.List<api.Aggregation>();
o.add(buildAggregation());
o.add(buildAggregation());
return o;
}
-checkUnnamed3908(core.List<api.Aggregation> o) {
+checkUnnamed3912(core.List<api.Aggregation> o) {
unittest.expect(o, unittest.hasLength(2));
checkAggregation(o[0]);
checkAggregation(o[1]);
}
-buildUnnamed3909() {
+buildUnnamed3913() {
var o = new core.List<api.Aggregation>();
o.add(buildAggregation());
o.add(buildAggregation());
return o;
}
-checkUnnamed3909(core.List<api.Aggregation> o) {
+checkUnnamed3913(core.List<api.Aggregation> o) {
unittest.expect(o, unittest.hasLength(2));
checkAggregation(o[0]);
checkAggregation(o[1]);
@@ -1957,9 +1960,9 @@
var o = new api.MetricThreshold();
buildCounterMetricThreshold++;
if (buildCounterMetricThreshold < 3) {
- o.aggregations = buildUnnamed3908();
+ o.aggregations = buildUnnamed3912();
o.comparison = "foo";
- o.denominatorAggregations = buildUnnamed3909();
+ o.denominatorAggregations = buildUnnamed3913();
o.denominatorFilter = "foo";
o.duration = "foo";
o.filter = "foo";
@@ -1973,9 +1976,9 @@
checkMetricThreshold(api.MetricThreshold o) {
buildCounterMetricThreshold++;
if (buildCounterMetricThreshold < 3) {
- checkUnnamed3908(o.aggregations);
+ checkUnnamed3912(o.aggregations);
unittest.expect(o.comparison, unittest.equals('foo'));
- checkUnnamed3909(o.denominatorAggregations);
+ checkUnnamed3913(o.denominatorAggregations);
unittest.expect(o.denominatorFilter, unittest.equals('foo'));
unittest.expect(o.duration, unittest.equals('foo'));
unittest.expect(o.filter, unittest.equals('foo'));
@@ -1985,14 +1988,14 @@
buildCounterMetricThreshold--;
}
-buildUnnamed3910() {
+buildUnnamed3914() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3910(core.Map<core.String, core.String> o) {
+checkUnnamed3914(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -2003,7 +2006,7 @@
var o = new api.MonitoredResource();
buildCounterMonitoredResource++;
if (buildCounterMonitoredResource < 3) {
- o.labels = buildUnnamed3910();
+ o.labels = buildUnnamed3914();
o.type = "foo";
}
buildCounterMonitoredResource--;
@@ -2013,20 +2016,20 @@
checkMonitoredResource(api.MonitoredResource o) {
buildCounterMonitoredResource++;
if (buildCounterMonitoredResource < 3) {
- checkUnnamed3910(o.labels);
+ checkUnnamed3914(o.labels);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterMonitoredResource--;
}
-buildUnnamed3911() {
+buildUnnamed3915() {
var o = new core.List<api.LabelDescriptor>();
o.add(buildLabelDescriptor());
o.add(buildLabelDescriptor());
return o;
}
-checkUnnamed3911(core.List<api.LabelDescriptor> o) {
+checkUnnamed3915(core.List<api.LabelDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkLabelDescriptor(o[0]);
checkLabelDescriptor(o[1]);
@@ -2039,7 +2042,7 @@
if (buildCounterMonitoredResourceDescriptor < 3) {
o.description = "foo";
o.displayName = "foo";
- o.labels = buildUnnamed3911();
+ o.labels = buildUnnamed3915();
o.launchStage = "foo";
o.name = "foo";
o.type = "foo";
@@ -2053,7 +2056,7 @@
if (buildCounterMonitoredResourceDescriptor < 3) {
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed3911(o.labels);
+ checkUnnamed3915(o.labels);
unittest.expect(o.launchStage, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
@@ -2061,7 +2064,7 @@
buildCounterMonitoredResourceDescriptor--;
}
-buildUnnamed3912() {
+buildUnnamed3916() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -2076,7 +2079,7 @@
return o;
}
-checkUnnamed3912(core.Map<core.String, core.Object> o) {
+checkUnnamed3916(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted3 = (o["x"]) as core.Map;
unittest.expect(casted3, unittest.hasLength(3));
@@ -2090,14 +2093,14 @@
unittest.expect(casted4["string"], unittest.equals('foo'));
}
-buildUnnamed3913() {
+buildUnnamed3917() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3913(core.Map<core.String, core.String> o) {
+checkUnnamed3917(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -2108,8 +2111,8 @@
var o = new api.MonitoredResourceMetadata();
buildCounterMonitoredResourceMetadata++;
if (buildCounterMonitoredResourceMetadata < 3) {
- o.systemLabels = buildUnnamed3912();
- o.userLabels = buildUnnamed3913();
+ o.systemLabels = buildUnnamed3916();
+ o.userLabels = buildUnnamed3917();
}
buildCounterMonitoredResourceMetadata--;
return o;
@@ -2118,12 +2121,35 @@
checkMonitoredResourceMetadata(api.MonitoredResourceMetadata o) {
buildCounterMonitoredResourceMetadata++;
if (buildCounterMonitoredResourceMetadata < 3) {
- checkUnnamed3912(o.systemLabels);
- checkUnnamed3913(o.userLabels);
+ checkUnnamed3916(o.systemLabels);
+ checkUnnamed3917(o.userLabels);
}
buildCounterMonitoredResourceMetadata--;
}
+core.int buildCounterMonitoringQueryLanguageCondition = 0;
+buildMonitoringQueryLanguageCondition() {
+ var o = new api.MonitoringQueryLanguageCondition();
+ buildCounterMonitoringQueryLanguageCondition++;
+ if (buildCounterMonitoringQueryLanguageCondition < 3) {
+ o.duration = "foo";
+ o.query = "foo";
+ o.trigger = buildTrigger();
+ }
+ buildCounterMonitoringQueryLanguageCondition--;
+ return o;
+}
+
+checkMonitoringQueryLanguageCondition(api.MonitoringQueryLanguageCondition o) {
+ buildCounterMonitoringQueryLanguageCondition++;
+ if (buildCounterMonitoringQueryLanguageCondition < 3) {
+ unittest.expect(o.duration, unittest.equals('foo'));
+ unittest.expect(o.query, unittest.equals('foo'));
+ checkTrigger(o.trigger);
+ }
+ buildCounterMonitoringQueryLanguageCondition--;
+}
+
core.int buildCounterMutationRecord = 0;
buildMutationRecord() {
var o = new api.MutationRecord();
@@ -2145,27 +2171,27 @@
buildCounterMutationRecord--;
}
-buildUnnamed3914() {
+buildUnnamed3918() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3914(core.Map<core.String, core.String> o) {
+checkUnnamed3918(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed3915() {
+buildUnnamed3919() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3915(core.Map<core.String, core.String> o) {
+checkUnnamed3919(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -2179,10 +2205,10 @@
o.description = "foo";
o.displayName = "foo";
o.enabled = true;
- o.labels = buildUnnamed3914();
+ o.labels = buildUnnamed3918();
o.name = "foo";
o.type = "foo";
- o.userLabels = buildUnnamed3915();
+ o.userLabels = buildUnnamed3919();
o.verificationStatus = "foo";
}
buildCounterNotificationChannel--;
@@ -2195,23 +2221,23 @@
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.displayName, unittest.equals('foo'));
unittest.expect(o.enabled, unittest.isTrue);
- checkUnnamed3914(o.labels);
+ checkUnnamed3918(o.labels);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
- checkUnnamed3915(o.userLabels);
+ checkUnnamed3919(o.userLabels);
unittest.expect(o.verificationStatus, unittest.equals('foo'));
}
buildCounterNotificationChannel--;
}
-buildUnnamed3916() {
+buildUnnamed3920() {
var o = new core.List<api.LabelDescriptor>();
o.add(buildLabelDescriptor());
o.add(buildLabelDescriptor());
return o;
}
-checkUnnamed3916(core.List<api.LabelDescriptor> o) {
+checkUnnamed3920(core.List<api.LabelDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkLabelDescriptor(o[0]);
checkLabelDescriptor(o[1]);
@@ -2224,7 +2250,7 @@
if (buildCounterNotificationChannelDescriptor < 3) {
o.description = "foo";
o.displayName = "foo";
- o.labels = buildUnnamed3916();
+ o.labels = buildUnnamed3920();
o.launchStage = "foo";
o.name = "foo";
o.type = "foo";
@@ -2238,7 +2264,7 @@
if (buildCounterNotificationChannelDescriptor < 3) {
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed3916(o.labels);
+ checkUnnamed3920(o.labels);
unittest.expect(o.launchStage, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
@@ -2246,7 +2272,7 @@
buildCounterNotificationChannelDescriptor--;
}
-buildUnnamed3917() {
+buildUnnamed3921() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -2261,7 +2287,7 @@
return o;
}
-checkUnnamed3917(core.Map<core.String, core.Object> o) {
+checkUnnamed3921(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted5 = (o["x"]) as core.Map;
unittest.expect(casted5, unittest.hasLength(3));
@@ -2281,7 +2307,7 @@
buildCounterOption++;
if (buildCounterOption < 3) {
o.name = "foo";
- o.value = buildUnnamed3917();
+ o.value = buildUnnamed3921();
}
buildCounterOption--;
return o;
@@ -2291,7 +2317,7 @@
buildCounterOption++;
if (buildCounterOption < 3) {
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed3917(o.value);
+ checkUnnamed3921(o.value);
}
buildCounterOption--;
}
@@ -2340,14 +2366,14 @@
buildCounterPoint--;
}
-buildUnnamed3918() {
+buildUnnamed3922() {
var o = new core.List<api.TypedValue>();
o.add(buildTypedValue());
o.add(buildTypedValue());
return o;
}
-checkUnnamed3918(core.List<api.TypedValue> o) {
+checkUnnamed3922(core.List<api.TypedValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkTypedValue(o[0]);
checkTypedValue(o[1]);
@@ -2359,7 +2385,7 @@
buildCounterPointData++;
if (buildCounterPointData < 3) {
o.timeInterval = buildTimeInterval();
- o.values = buildUnnamed3918();
+ o.values = buildUnnamed3922();
}
buildCounterPointData--;
return o;
@@ -2369,7 +2395,7 @@
buildCounterPointData++;
if (buildCounterPointData < 3) {
checkTimeInterval(o.timeInterval);
- checkUnnamed3918(o.values);
+ checkUnnamed3922(o.values);
}
buildCounterPointData--;
}
@@ -2397,27 +2423,27 @@
buildCounterQueryTimeSeriesRequest--;
}
-buildUnnamed3919() {
+buildUnnamed3923() {
var o = new core.List<api.Status>();
o.add(buildStatus());
o.add(buildStatus());
return o;
}
-checkUnnamed3919(core.List<api.Status> o) {
+checkUnnamed3923(core.List<api.Status> o) {
unittest.expect(o, unittest.hasLength(2));
checkStatus(o[0]);
checkStatus(o[1]);
}
-buildUnnamed3920() {
+buildUnnamed3924() {
var o = new core.List<api.TimeSeriesData>();
o.add(buildTimeSeriesData());
o.add(buildTimeSeriesData());
return o;
}
-checkUnnamed3920(core.List<api.TimeSeriesData> o) {
+checkUnnamed3924(core.List<api.TimeSeriesData> o) {
unittest.expect(o, unittest.hasLength(2));
checkTimeSeriesData(o[0]);
checkTimeSeriesData(o[1]);
@@ -2429,8 +2455,8 @@
buildCounterQueryTimeSeriesResponse++;
if (buildCounterQueryTimeSeriesResponse < 3) {
o.nextPageToken = "foo";
- o.partialErrors = buildUnnamed3919();
- o.timeSeriesData = buildUnnamed3920();
+ o.partialErrors = buildUnnamed3923();
+ o.timeSeriesData = buildUnnamed3924();
o.timeSeriesDescriptor = buildTimeSeriesDescriptor();
}
buildCounterQueryTimeSeriesResponse--;
@@ -2441,8 +2467,8 @@
buildCounterQueryTimeSeriesResponse++;
if (buildCounterQueryTimeSeriesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3919(o.partialErrors);
- checkUnnamed3920(o.timeSeriesData);
+ checkUnnamed3923(o.partialErrors);
+ checkUnnamed3924(o.timeSeriesData);
checkTimeSeriesDescriptor(o.timeSeriesDescriptor);
}
buildCounterQueryTimeSeriesResponse--;
@@ -2650,7 +2676,7 @@
buildCounterSpanContext--;
}
-buildUnnamed3921() {
+buildUnnamed3925() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -2665,7 +2691,7 @@
return o;
}
-checkUnnamed3921(core.Map<core.String, core.Object> o) {
+checkUnnamed3925(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted7 = (o["x"]) as core.Map;
unittest.expect(casted7, unittest.hasLength(3));
@@ -2679,17 +2705,17 @@
unittest.expect(casted8["string"], unittest.equals('foo'));
}
-buildUnnamed3922() {
+buildUnnamed3926() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed3921());
- o.add(buildUnnamed3921());
+ o.add(buildUnnamed3925());
+ o.add(buildUnnamed3925());
return o;
}
-checkUnnamed3922(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed3926(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed3921(o[0]);
- checkUnnamed3921(o[1]);
+ checkUnnamed3925(o[0]);
+ checkUnnamed3925(o[1]);
}
core.int buildCounterStatus = 0;
@@ -2698,7 +2724,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed3922();
+ o.details = buildUnnamed3926();
o.message = "foo";
}
buildCounterStatus--;
@@ -2709,7 +2735,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed3922(o.details);
+ checkUnnamed3926(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
@@ -2774,14 +2800,14 @@
buildCounterTimeInterval--;
}
-buildUnnamed3923() {
+buildUnnamed3927() {
var o = new core.List<api.Point>();
o.add(buildPoint());
o.add(buildPoint());
return o;
}
-checkUnnamed3923(core.List<api.Point> o) {
+checkUnnamed3927(core.List<api.Point> o) {
unittest.expect(o, unittest.hasLength(2));
checkPoint(o[0]);
checkPoint(o[1]);
@@ -2795,7 +2821,7 @@
o.metadata = buildMonitoredResourceMetadata();
o.metric = buildMetric();
o.metricKind = "foo";
- o.points = buildUnnamed3923();
+ o.points = buildUnnamed3927();
o.resource = buildMonitoredResource();
o.unit = "foo";
o.valueType = "foo";
@@ -2810,7 +2836,7 @@
checkMonitoredResourceMetadata(o.metadata);
checkMetric(o.metric);
unittest.expect(o.metricKind, unittest.equals('foo'));
- checkUnnamed3923(o.points);
+ checkUnnamed3927(o.points);
checkMonitoredResource(o.resource);
unittest.expect(o.unit, unittest.equals('foo'));
unittest.expect(o.valueType, unittest.equals('foo'));
@@ -2818,27 +2844,27 @@
buildCounterTimeSeries--;
}
-buildUnnamed3924() {
+buildUnnamed3928() {
var o = new core.List<api.LabelValue>();
o.add(buildLabelValue());
o.add(buildLabelValue());
return o;
}
-checkUnnamed3924(core.List<api.LabelValue> o) {
+checkUnnamed3928(core.List<api.LabelValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkLabelValue(o[0]);
checkLabelValue(o[1]);
}
-buildUnnamed3925() {
+buildUnnamed3929() {
var o = new core.List<api.PointData>();
o.add(buildPointData());
o.add(buildPointData());
return o;
}
-checkUnnamed3925(core.List<api.PointData> o) {
+checkUnnamed3929(core.List<api.PointData> o) {
unittest.expect(o, unittest.hasLength(2));
checkPointData(o[0]);
checkPointData(o[1]);
@@ -2849,8 +2875,8 @@
var o = new api.TimeSeriesData();
buildCounterTimeSeriesData++;
if (buildCounterTimeSeriesData < 3) {
- o.labelValues = buildUnnamed3924();
- o.pointData = buildUnnamed3925();
+ o.labelValues = buildUnnamed3928();
+ o.pointData = buildUnnamed3929();
}
buildCounterTimeSeriesData--;
return o;
@@ -2859,33 +2885,33 @@
checkTimeSeriesData(api.TimeSeriesData o) {
buildCounterTimeSeriesData++;
if (buildCounterTimeSeriesData < 3) {
- checkUnnamed3924(o.labelValues);
- checkUnnamed3925(o.pointData);
+ checkUnnamed3928(o.labelValues);
+ checkUnnamed3929(o.pointData);
}
buildCounterTimeSeriesData--;
}
-buildUnnamed3926() {
+buildUnnamed3930() {
var o = new core.List<api.LabelDescriptor>();
o.add(buildLabelDescriptor());
o.add(buildLabelDescriptor());
return o;
}
-checkUnnamed3926(core.List<api.LabelDescriptor> o) {
+checkUnnamed3930(core.List<api.LabelDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkLabelDescriptor(o[0]);
checkLabelDescriptor(o[1]);
}
-buildUnnamed3927() {
+buildUnnamed3931() {
var o = new core.List<api.ValueDescriptor>();
o.add(buildValueDescriptor());
o.add(buildValueDescriptor());
return o;
}
-checkUnnamed3927(core.List<api.ValueDescriptor> o) {
+checkUnnamed3931(core.List<api.ValueDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkValueDescriptor(o[0]);
checkValueDescriptor(o[1]);
@@ -2896,8 +2922,8 @@
var o = new api.TimeSeriesDescriptor();
buildCounterTimeSeriesDescriptor++;
if (buildCounterTimeSeriesDescriptor < 3) {
- o.labelDescriptors = buildUnnamed3926();
- o.pointDescriptors = buildUnnamed3927();
+ o.labelDescriptors = buildUnnamed3930();
+ o.pointDescriptors = buildUnnamed3931();
}
buildCounterTimeSeriesDescriptor--;
return o;
@@ -2906,8 +2932,8 @@
checkTimeSeriesDescriptor(api.TimeSeriesDescriptor o) {
buildCounterTimeSeriesDescriptor++;
if (buildCounterTimeSeriesDescriptor < 3) {
- checkUnnamed3926(o.labelDescriptors);
- checkUnnamed3927(o.pointDescriptors);
+ checkUnnamed3930(o.labelDescriptors);
+ checkUnnamed3931(o.pointDescriptors);
}
buildCounterTimeSeriesDescriptor--;
}
@@ -2956,40 +2982,40 @@
buildCounterTrigger--;
}
-buildUnnamed3928() {
+buildUnnamed3932() {
var o = new core.List<api.Field>();
o.add(buildField());
o.add(buildField());
return o;
}
-checkUnnamed3928(core.List<api.Field> o) {
+checkUnnamed3932(core.List<api.Field> o) {
unittest.expect(o, unittest.hasLength(2));
checkField(o[0]);
checkField(o[1]);
}
-buildUnnamed3929() {
+buildUnnamed3933() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3929(core.List<core.String> o) {
+checkUnnamed3933(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3930() {
+buildUnnamed3934() {
var o = new core.List<api.Option>();
o.add(buildOption());
o.add(buildOption());
return o;
}
-checkUnnamed3930(core.List<api.Option> o) {
+checkUnnamed3934(core.List<api.Option> o) {
unittest.expect(o, unittest.hasLength(2));
checkOption(o[0]);
checkOption(o[1]);
@@ -3000,10 +3026,10 @@
var o = new api.Type();
buildCounterType++;
if (buildCounterType < 3) {
- o.fields = buildUnnamed3928();
+ o.fields = buildUnnamed3932();
o.name = "foo";
- o.oneofs = buildUnnamed3929();
- o.options = buildUnnamed3930();
+ o.oneofs = buildUnnamed3933();
+ o.options = buildUnnamed3934();
o.sourceContext = buildSourceContext();
o.syntax = "foo";
}
@@ -3014,10 +3040,10 @@
checkType(api.Type o) {
buildCounterType++;
if (buildCounterType < 3) {
- checkUnnamed3928(o.fields);
+ checkUnnamed3932(o.fields);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed3929(o.oneofs);
- checkUnnamed3930(o.options);
+ checkUnnamed3933(o.oneofs);
+ checkUnnamed3934(o.options);
checkSourceContext(o.sourceContext);
unittest.expect(o.syntax, unittest.equals('foo'));
}
@@ -3051,40 +3077,40 @@
buildCounterTypedValue--;
}
-buildUnnamed3931() {
+buildUnnamed3935() {
var o = new core.List<api.ContentMatcher>();
o.add(buildContentMatcher());
o.add(buildContentMatcher());
return o;
}
-checkUnnamed3931(core.List<api.ContentMatcher> o) {
+checkUnnamed3935(core.List<api.ContentMatcher> o) {
unittest.expect(o, unittest.hasLength(2));
checkContentMatcher(o[0]);
checkContentMatcher(o[1]);
}
-buildUnnamed3932() {
+buildUnnamed3936() {
var o = new core.List<api.InternalChecker>();
o.add(buildInternalChecker());
o.add(buildInternalChecker());
return o;
}
-checkUnnamed3932(core.List<api.InternalChecker> o) {
+checkUnnamed3936(core.List<api.InternalChecker> o) {
unittest.expect(o, unittest.hasLength(2));
checkInternalChecker(o[0]);
checkInternalChecker(o[1]);
}
-buildUnnamed3933() {
+buildUnnamed3937() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3933(core.List<core.String> o) {
+checkUnnamed3937(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3095,16 +3121,16 @@
var o = new api.UptimeCheckConfig();
buildCounterUptimeCheckConfig++;
if (buildCounterUptimeCheckConfig < 3) {
- o.contentMatchers = buildUnnamed3931();
+ o.contentMatchers = buildUnnamed3935();
o.displayName = "foo";
o.httpCheck = buildHttpCheck();
- o.internalCheckers = buildUnnamed3932();
+ o.internalCheckers = buildUnnamed3936();
o.isInternal = true;
o.monitoredResource = buildMonitoredResource();
o.name = "foo";
o.period = "foo";
o.resourceGroup = buildResourceGroup();
- o.selectedRegions = buildUnnamed3933();
+ o.selectedRegions = buildUnnamed3937();
o.tcpCheck = buildTcpCheck();
o.timeout = "foo";
}
@@ -3115,16 +3141,16 @@
checkUptimeCheckConfig(api.UptimeCheckConfig o) {
buildCounterUptimeCheckConfig++;
if (buildCounterUptimeCheckConfig < 3) {
- checkUnnamed3931(o.contentMatchers);
+ checkUnnamed3935(o.contentMatchers);
unittest.expect(o.displayName, unittest.equals('foo'));
checkHttpCheck(o.httpCheck);
- checkUnnamed3932(o.internalCheckers);
+ checkUnnamed3936(o.internalCheckers);
unittest.expect(o.isInternal, unittest.isTrue);
checkMonitoredResource(o.monitoredResource);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.period, unittest.equals('foo'));
checkResourceGroup(o.resourceGroup);
- checkUnnamed3933(o.selectedRegions);
+ checkUnnamed3937(o.selectedRegions);
checkTcpCheck(o.tcpCheck);
unittest.expect(o.timeout, unittest.equals('foo'));
}
@@ -3225,14 +3251,14 @@
buildCounterWindowsBasedSli--;
}
-buildUnnamed3934() {
+buildUnnamed3938() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3934(core.List<core.String> o) {
+checkUnnamed3938(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3741,6 +3767,14 @@
});
});
+ unittest.group("obj-schema-MonitoringQueryLanguageCondition", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildMonitoringQueryLanguageCondition();
+ var od = new api.MonitoringQueryLanguageCondition.fromJson(o.toJson());
+ checkMonitoringQueryLanguageCondition(od);
+ });
+ });
+
unittest.group("obj-schema-MutationRecord", () {
unittest.test("to-json--from-json", () {
var o = buildMutationRecord();
@@ -4181,10 +4215,10 @@
api.ProjectsAlertPoliciesResourceApi res =
new api.MonitoringApi(mock).projects.alertPolicies;
var arg_name = "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_orderBy = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -4217,13 +4251,13 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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["orderBy"].first, unittest.equals(arg_orderBy));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4234,10 +4268,10 @@
}), true);
res
.list(arg_name,
- pageToken: arg_pageToken,
- filter: arg_filter,
- orderBy: arg_orderBy,
pageSize: arg_pageSize,
+ filter: arg_filter,
+ pageToken: arg_pageToken,
+ orderBy: arg_orderBy,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListAlertPoliciesResponse(response);
@@ -4536,11 +4570,11 @@
api.ProjectsGroupsResourceApi res =
new api.MonitoringApi(mock).projects.groups;
var arg_name = "foo";
- var arg_pageToken = "foo";
- var arg_descendantsOfGroup = "foo";
- var arg_pageSize = 42;
- 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_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -4573,16 +4607,16 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(queryMap["descendantsOfGroup"].first,
- unittest.equals(arg_descendantsOfGroup));
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
- 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["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4593,11 +4627,11 @@
}), true);
res
.list(arg_name,
- pageToken: arg_pageToken,
- descendantsOfGroup: arg_descendantsOfGroup,
- pageSize: arg_pageSize,
- ancestorsOfGroup: arg_ancestorsOfGroup,
childrenOfGroup: arg_childrenOfGroup,
+ descendantsOfGroup: arg_descendantsOfGroup,
+ pageToken: arg_pageToken,
+ ancestorsOfGroup: arg_ancestorsOfGroup,
+ pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListGroupsResponse(response);
@@ -4671,11 +4705,11 @@
api.ProjectsGroupsMembersResourceApi res =
new api.MonitoringApi(mock).projects.groups.members;
var arg_name = "foo";
- var arg_filter = "foo";
- var arg_interval_endTime = "foo";
- var arg_pageToken = "foo";
- var arg_pageSize = 42;
var arg_interval_startTime = "foo";
+ var arg_interval_endTime = "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;
@@ -4708,15 +4742,15 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
- unittest.expect(queryMap["interval.endTime"].first,
- unittest.equals(arg_interval_endTime));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
unittest.expect(queryMap["interval.startTime"].first,
unittest.equals(arg_interval_startTime));
+ unittest.expect(queryMap["interval.endTime"].first,
+ unittest.equals(arg_interval_endTime));
+ 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 = {
@@ -4727,11 +4761,11 @@
}), true);
res
.list(arg_name,
- filter: arg_filter,
- interval_endTime: arg_interval_endTime,
- pageToken: arg_pageToken,
- pageSize: arg_pageSize,
interval_startTime: arg_interval_startTime,
+ interval_endTime: arg_interval_endTime,
+ filter: arg_filter,
+ pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListGroupMembersResponse(response);
@@ -5025,8 +5059,8 @@
new api.MonitoringApi(mock).projects.monitoredResourceDescriptors;
var arg_name = "foo";
var arg_pageToken = "foo";
- var arg_filter = "foo";
var arg_pageSize = 42;
+ var arg_filter = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -5061,9 +5095,9 @@
}
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["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -5076,8 +5110,8 @@
res
.list(arg_name,
pageToken: arg_pageToken,
- filter: arg_filter,
pageSize: arg_pageSize,
+ filter: arg_filter,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListMonitoredResourceDescriptorsResponse(response);
@@ -5144,8 +5178,8 @@
api.ProjectsNotificationChannelDescriptorsResourceApi res =
new api.MonitoringApi(mock).projects.notificationChannelDescriptors;
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;
@@ -5178,10 +5212,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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 = {
@@ -5193,8 +5227,8 @@
}), true);
res
.list(arg_name,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListNotificationChannelDescriptorsResponse(response);
@@ -5430,9 +5464,9 @@
new 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_filter = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -5467,11 +5501,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["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 = {
@@ -5483,9 +5517,9 @@
res
.list(arg_name,
pageSize: arg_pageSize,
+ filter: arg_filter,
pageToken: arg_pageToken,
orderBy: arg_orderBy,
- filter: arg_filter,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListNotificationChannelsResponse(response);
@@ -5729,17 +5763,17 @@
api.ProjectsTimeSeriesResourceApi res =
new api.MonitoringApi(mock).projects.timeSeries;
var arg_name = "foo";
- var arg_aggregation_alignmentPeriod = "foo";
- var arg_aggregation_crossSeriesReducer = "foo";
- var arg_aggregation_perSeriesAligner = "foo";
- var arg_pageSize = 42;
- var arg_view = "foo";
- var arg_aggregation_groupByFields = buildUnnamed3934();
- var arg_orderBy = "foo";
- var arg_filter = "foo";
var arg_pageToken = "foo";
- var arg_interval_endTime = "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_groupByFields = buildUnnamed3938();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -5772,26 +5806,26 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["aggregation.alignmentPeriod"].first,
- unittest.equals(arg_aggregation_alignmentPeriod));
- unittest.expect(queryMap["aggregation.crossSeriesReducer"].first,
- unittest.equals(arg_aggregation_crossSeriesReducer));
- unittest.expect(queryMap["aggregation.perSeriesAligner"].first,
- unittest.equals(arg_aggregation_perSeriesAligner));
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
- unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
- unittest.expect(queryMap["aggregation.groupByFields"],
- unittest.equals(arg_aggregation_groupByFields));
- 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));
- 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["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.groupByFields"],
+ unittest.equals(arg_aggregation_groupByFields));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -5802,18 +5836,18 @@
}), true);
res
.list(arg_name,
- aggregation_alignmentPeriod: arg_aggregation_alignmentPeriod,
+ pageToken: arg_pageToken,
+ interval_startTime: arg_interval_startTime,
aggregation_crossSeriesReducer:
arg_aggregation_crossSeriesReducer,
- aggregation_perSeriesAligner: arg_aggregation_perSeriesAligner,
- pageSize: arg_pageSize,
- view: arg_view,
- aggregation_groupByFields: arg_aggregation_groupByFields,
- orderBy: arg_orderBy,
filter: arg_filter,
- pageToken: arg_pageToken,
+ view: arg_view,
+ aggregation_alignmentPeriod: arg_aggregation_alignmentPeriod,
+ orderBy: arg_orderBy,
+ aggregation_perSeriesAligner: arg_aggregation_perSeriesAligner,
interval_endTime: arg_interval_endTime,
- interval_startTime: arg_interval_startTime,
+ pageSize: arg_pageSize,
+ aggregation_groupByFields: arg_aggregation_groupByFields,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListTimeSeriesResponse(response);
@@ -6043,8 +6077,8 @@
api.ProjectsUptimeCheckConfigsResourceApi res =
new api.MonitoringApi(mock).projects.uptimeCheckConfigs;
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;
@@ -6077,10 +6111,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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 = {
@@ -6091,8 +6125,8 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListUptimeCheckConfigsResponse(response);
@@ -6327,8 +6361,8 @@
api.ServicesResourceApi res = new api.MonitoringApi(mock).services;
var arg_parent = "foo";
var arg_filter = "foo";
- var arg_pageSize = 42;
var arg_pageToken = "foo";
+ var arg_pageSize = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -6362,10 +6396,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["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -6377,8 +6411,8 @@
res
.list(arg_parent,
filter: arg_filter,
- pageSize: arg_pageSize,
pageToken: arg_pageToken,
+ pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListServicesResponse(response);
@@ -6618,10 +6652,10 @@
api.ServicesServiceLevelObjectivesResourceApi res =
new api.MonitoringApi(mock).services.serviceLevelObjectives;
var arg_parent = "foo";
- var arg_pageSize = 42;
var arg_pageToken = "foo";
- var arg_filter = "foo";
var arg_view = "foo";
+ var arg_filter = "foo";
+ var arg_pageSize = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -6654,12 +6688,12 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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["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["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -6671,10 +6705,10 @@
}), true);
res
.list(arg_parent,
- pageSize: arg_pageSize,
pageToken: arg_pageToken,
- filter: arg_filter,
view: arg_view,
+ filter: arg_filter,
+ pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListServiceLevelObjectivesResponse(response);
@@ -6747,8 +6781,8 @@
var mock = new HttpServerMock();
api.UptimeCheckIpsResourceApi res =
new api.MonitoringApi(mock).uptimeCheckIps;
- var arg_pageSize = 42;
var arg_pageToken = "foo";
+ var arg_pageSize = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -6780,10 +6814,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -6794,8 +6828,8 @@
}), true);
res
.list(
- pageSize: arg_pageSize,
pageToken: arg_pageToken,
+ pageSize: arg_pageSize,
$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 c2ef73e..5e4a72c 100644
--- a/generated/googleapis/test/networkmanagement/v1_test.dart
+++ b/generated/googleapis/test/networkmanagement/v1_test.dart
@@ -71,14 +71,14 @@
buildCounterAbortInfo--;
}
-buildUnnamed4605() {
+buildUnnamed4612() {
var o = new core.List<api.AuditLogConfig>();
o.add(buildAuditLogConfig());
o.add(buildAuditLogConfig());
return o;
}
-checkUnnamed4605(core.List<api.AuditLogConfig> o) {
+checkUnnamed4612(core.List<api.AuditLogConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuditLogConfig(o[0]);
checkAuditLogConfig(o[1]);
@@ -89,7 +89,7 @@
var o = new api.AuditConfig();
buildCounterAuditConfig++;
if (buildCounterAuditConfig < 3) {
- o.auditLogConfigs = buildUnnamed4605();
+ o.auditLogConfigs = buildUnnamed4612();
o.service = "foo";
}
buildCounterAuditConfig--;
@@ -99,20 +99,20 @@
checkAuditConfig(api.AuditConfig o) {
buildCounterAuditConfig++;
if (buildCounterAuditConfig < 3) {
- checkUnnamed4605(o.auditLogConfigs);
+ checkUnnamed4612(o.auditLogConfigs);
unittest.expect(o.service, unittest.equals('foo'));
}
buildCounterAuditConfig--;
}
-buildUnnamed4606() {
+buildUnnamed4613() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4606(core.List<core.String> o) {
+checkUnnamed4613(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -123,7 +123,7 @@
var o = new api.AuditLogConfig();
buildCounterAuditLogConfig++;
if (buildCounterAuditLogConfig < 3) {
- o.exemptedMembers = buildUnnamed4606();
+ o.exemptedMembers = buildUnnamed4613();
o.logType = "foo";
}
buildCounterAuditLogConfig--;
@@ -133,20 +133,20 @@
checkAuditLogConfig(api.AuditLogConfig o) {
buildCounterAuditLogConfig++;
if (buildCounterAuditLogConfig < 3) {
- checkUnnamed4606(o.exemptedMembers);
+ checkUnnamed4613(o.exemptedMembers);
unittest.expect(o.logType, unittest.equals('foo'));
}
buildCounterAuditLogConfig--;
}
-buildUnnamed4607() {
+buildUnnamed4614() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4607(core.List<core.String> o) {
+checkUnnamed4614(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -158,7 +158,7 @@
buildCounterBinding++;
if (buildCounterBinding < 3) {
o.condition = buildExpr();
- o.members = buildUnnamed4607();
+ o.members = buildUnnamed4614();
o.role = "foo";
}
buildCounterBinding--;
@@ -169,7 +169,7 @@
buildCounterBinding++;
if (buildCounterBinding < 3) {
checkExpr(o.condition);
- checkUnnamed4607(o.members);
+ checkUnnamed4614(o.members);
unittest.expect(o.role, unittest.equals('foo'));
}
buildCounterBinding--;
@@ -190,27 +190,27 @@
buildCounterCancelOperationRequest--;
}
-buildUnnamed4608() {
+buildUnnamed4615() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed4608(core.Map<core.String, core.String> o) {
+checkUnnamed4615(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed4609() {
+buildUnnamed4616() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4609(core.List<core.String> o) {
+checkUnnamed4616(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -225,11 +225,11 @@
o.description = "foo";
o.destination = buildEndpoint();
o.displayName = "foo";
- o.labels = buildUnnamed4608();
+ o.labels = buildUnnamed4615();
o.name = "foo";
o.protocol = "foo";
o.reachabilityDetails = buildReachabilityDetails();
- o.relatedProjects = buildUnnamed4609();
+ o.relatedProjects = buildUnnamed4616();
o.source = buildEndpoint();
o.updateTime = "foo";
}
@@ -244,11 +244,11 @@
unittest.expect(o.description, unittest.equals('foo'));
checkEndpoint(o.destination);
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed4608(o.labels);
+ checkUnnamed4615(o.labels);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.protocol, unittest.equals('foo'));
checkReachabilityDetails(o.reachabilityDetails);
- checkUnnamed4609(o.relatedProjects);
+ checkUnnamed4616(o.relatedProjects);
checkEndpoint(o.source);
unittest.expect(o.updateTime, unittest.equals('foo'));
}
@@ -397,27 +397,27 @@
buildCounterExpr--;
}
-buildUnnamed4610() {
+buildUnnamed4617() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4610(core.List<core.String> o) {
+checkUnnamed4617(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed4611() {
+buildUnnamed4618() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4611(core.List<core.String> o) {
+checkUnnamed4618(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -433,8 +433,8 @@
o.displayName = "foo";
o.networkUri = "foo";
o.priority = 42;
- o.targetServiceAccounts = buildUnnamed4610();
- o.targetTags = buildUnnamed4611();
+ o.targetServiceAccounts = buildUnnamed4617();
+ o.targetTags = buildUnnamed4618();
o.uri = "foo";
}
buildCounterFirewallInfo--;
@@ -449,8 +449,8 @@
unittest.expect(o.displayName, unittest.equals('foo'));
unittest.expect(o.networkUri, unittest.equals('foo'));
unittest.expect(o.priority, unittest.equals(42));
- checkUnnamed4610(o.targetServiceAccounts);
- checkUnnamed4611(o.targetTags);
+ checkUnnamed4617(o.targetServiceAccounts);
+ checkUnnamed4618(o.targetTags);
unittest.expect(o.uri, unittest.equals('foo'));
}
buildCounterFirewallInfo--;
@@ -508,14 +508,14 @@
buildCounterForwardingRuleInfo--;
}
-buildUnnamed4612() {
+buildUnnamed4619() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4612(core.List<core.String> o) {
+checkUnnamed4619(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -530,7 +530,7 @@
o.externalIp = "foo";
o.interface = "foo";
o.internalIp = "foo";
- o.networkTags = buildUnnamed4612();
+ o.networkTags = buildUnnamed4619();
o.networkUri = "foo";
o.serviceAccount = "foo";
o.uri = "foo";
@@ -546,7 +546,7 @@
unittest.expect(o.externalIp, unittest.equals('foo'));
unittest.expect(o.interface, unittest.equals('foo'));
unittest.expect(o.internalIp, unittest.equals('foo'));
- checkUnnamed4612(o.networkTags);
+ checkUnnamed4619(o.networkTags);
unittest.expect(o.networkUri, unittest.equals('foo'));
unittest.expect(o.serviceAccount, unittest.equals('foo'));
unittest.expect(o.uri, unittest.equals('foo'));
@@ -554,27 +554,27 @@
buildCounterInstanceInfo--;
}
-buildUnnamed4613() {
+buildUnnamed4620() {
var o = new core.List<api.ConnectivityTest>();
o.add(buildConnectivityTest());
o.add(buildConnectivityTest());
return o;
}
-checkUnnamed4613(core.List<api.ConnectivityTest> o) {
+checkUnnamed4620(core.List<api.ConnectivityTest> o) {
unittest.expect(o, unittest.hasLength(2));
checkConnectivityTest(o[0]);
checkConnectivityTest(o[1]);
}
-buildUnnamed4614() {
+buildUnnamed4621() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4614(core.List<core.String> o) {
+checkUnnamed4621(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -586,8 +586,8 @@
buildCounterListConnectivityTestsResponse++;
if (buildCounterListConnectivityTestsResponse < 3) {
o.nextPageToken = "foo";
- o.resources = buildUnnamed4613();
- o.unreachable = buildUnnamed4614();
+ o.resources = buildUnnamed4620();
+ o.unreachable = buildUnnamed4621();
}
buildCounterListConnectivityTestsResponse--;
return o;
@@ -597,20 +597,20 @@
buildCounterListConnectivityTestsResponse++;
if (buildCounterListConnectivityTestsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed4613(o.resources);
- checkUnnamed4614(o.unreachable);
+ checkUnnamed4620(o.resources);
+ checkUnnamed4621(o.unreachable);
}
buildCounterListConnectivityTestsResponse--;
}
-buildUnnamed4615() {
+buildUnnamed4622() {
var o = new core.List<api.Location>();
o.add(buildLocation());
o.add(buildLocation());
return o;
}
-checkUnnamed4615(core.List<api.Location> o) {
+checkUnnamed4622(core.List<api.Location> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocation(o[0]);
checkLocation(o[1]);
@@ -621,7 +621,7 @@
var o = new api.ListLocationsResponse();
buildCounterListLocationsResponse++;
if (buildCounterListLocationsResponse < 3) {
- o.locations = buildUnnamed4615();
+ o.locations = buildUnnamed4622();
o.nextPageToken = "foo";
}
buildCounterListLocationsResponse--;
@@ -631,20 +631,20 @@
checkListLocationsResponse(api.ListLocationsResponse o) {
buildCounterListLocationsResponse++;
if (buildCounterListLocationsResponse < 3) {
- checkUnnamed4615(o.locations);
+ checkUnnamed4622(o.locations);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListLocationsResponse--;
}
-buildUnnamed4616() {
+buildUnnamed4623() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed4616(core.List<api.Operation> o) {
+checkUnnamed4623(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -656,7 +656,7 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
o.nextPageToken = "foo";
- o.operations = buildUnnamed4616();
+ o.operations = buildUnnamed4623();
}
buildCounterListOperationsResponse--;
return o;
@@ -666,32 +666,32 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed4616(o.operations);
+ checkUnnamed4623(o.operations);
}
buildCounterListOperationsResponse--;
}
-buildUnnamed4617() {
+buildUnnamed4624() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4617(core.List<core.String> o) {
+checkUnnamed4624(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed4618() {
+buildUnnamed4625() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4618(core.List<core.String> o) {
+checkUnnamed4625(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -703,8 +703,8 @@
buildCounterLoadBalancerBackend++;
if (buildCounterLoadBalancerBackend < 3) {
o.displayName = "foo";
- o.healthCheckAllowingFirewallRules = buildUnnamed4617();
- o.healthCheckBlockingFirewallRules = buildUnnamed4618();
+ o.healthCheckAllowingFirewallRules = buildUnnamed4624();
+ o.healthCheckBlockingFirewallRules = buildUnnamed4625();
o.healthCheckFirewallState = "foo";
o.uri = "foo";
}
@@ -716,22 +716,22 @@
buildCounterLoadBalancerBackend++;
if (buildCounterLoadBalancerBackend < 3) {
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed4617(o.healthCheckAllowingFirewallRules);
- checkUnnamed4618(o.healthCheckBlockingFirewallRules);
+ checkUnnamed4624(o.healthCheckAllowingFirewallRules);
+ checkUnnamed4625(o.healthCheckBlockingFirewallRules);
unittest.expect(o.healthCheckFirewallState, unittest.equals('foo'));
unittest.expect(o.uri, unittest.equals('foo'));
}
buildCounterLoadBalancerBackend--;
}
-buildUnnamed4619() {
+buildUnnamed4626() {
var o = new core.List<api.LoadBalancerBackend>();
o.add(buildLoadBalancerBackend());
o.add(buildLoadBalancerBackend());
return o;
}
-checkUnnamed4619(core.List<api.LoadBalancerBackend> o) {
+checkUnnamed4626(core.List<api.LoadBalancerBackend> o) {
unittest.expect(o, unittest.hasLength(2));
checkLoadBalancerBackend(o[0]);
checkLoadBalancerBackend(o[1]);
@@ -744,7 +744,7 @@
if (buildCounterLoadBalancerInfo < 3) {
o.backendType = "foo";
o.backendUri = "foo";
- o.backends = buildUnnamed4619();
+ o.backends = buildUnnamed4626();
o.healthCheckUri = "foo";
o.loadBalancerType = "foo";
}
@@ -757,27 +757,27 @@
if (buildCounterLoadBalancerInfo < 3) {
unittest.expect(o.backendType, unittest.equals('foo'));
unittest.expect(o.backendUri, unittest.equals('foo'));
- checkUnnamed4619(o.backends);
+ checkUnnamed4626(o.backends);
unittest.expect(o.healthCheckUri, unittest.equals('foo'));
unittest.expect(o.loadBalancerType, unittest.equals('foo'));
}
buildCounterLoadBalancerInfo--;
}
-buildUnnamed4620() {
+buildUnnamed4627() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed4620(core.Map<core.String, core.String> o) {
+checkUnnamed4627(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed4621() {
+buildUnnamed4628() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -792,7 +792,7 @@
return o;
}
-checkUnnamed4621(core.Map<core.String, core.Object> o) {
+checkUnnamed4628(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o["x"]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -812,9 +812,9 @@
buildCounterLocation++;
if (buildCounterLocation < 3) {
o.displayName = "foo";
- o.labels = buildUnnamed4620();
+ o.labels = buildUnnamed4627();
o.locationId = "foo";
- o.metadata = buildUnnamed4621();
+ o.metadata = buildUnnamed4628();
o.name = "foo";
}
buildCounterLocation--;
@@ -825,9 +825,9 @@
buildCounterLocation++;
if (buildCounterLocation < 3) {
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed4620(o.labels);
+ checkUnnamed4627(o.labels);
unittest.expect(o.locationId, unittest.equals('foo'));
- checkUnnamed4621(o.metadata);
+ checkUnnamed4628(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
}
buildCounterLocation--;
@@ -856,7 +856,7 @@
buildCounterNetworkInfo--;
}
-buildUnnamed4622() {
+buildUnnamed4629() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -871,7 +871,7 @@
return o;
}
-checkUnnamed4622(core.Map<core.String, core.Object> o) {
+checkUnnamed4629(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted3 = (o["x"]) as core.Map;
unittest.expect(casted3, unittest.hasLength(3));
@@ -885,7 +885,7 @@
unittest.expect(casted4["string"], unittest.equals('foo'));
}
-buildUnnamed4623() {
+buildUnnamed4630() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -900,7 +900,7 @@
return o;
}
-checkUnnamed4623(core.Map<core.String, core.Object> o) {
+checkUnnamed4630(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted5 = (o["x"]) as core.Map;
unittest.expect(casted5, unittest.hasLength(3));
@@ -921,9 +921,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed4622();
+ o.metadata = buildUnnamed4629();
o.name = "foo";
- o.response = buildUnnamed4623();
+ o.response = buildUnnamed4630();
}
buildCounterOperation--;
return o;
@@ -934,9 +934,9 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed4622(o.metadata);
+ checkUnnamed4629(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed4623(o.response);
+ checkUnnamed4630(o.response);
}
buildCounterOperation--;
}
@@ -972,27 +972,27 @@
buildCounterOperationMetadata--;
}
-buildUnnamed4624() {
+buildUnnamed4631() {
var o = new core.List<api.AuditConfig>();
o.add(buildAuditConfig());
o.add(buildAuditConfig());
return o;
}
-checkUnnamed4624(core.List<api.AuditConfig> o) {
+checkUnnamed4631(core.List<api.AuditConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuditConfig(o[0]);
checkAuditConfig(o[1]);
}
-buildUnnamed4625() {
+buildUnnamed4632() {
var o = new core.List<api.Binding>();
o.add(buildBinding());
o.add(buildBinding());
return o;
}
-checkUnnamed4625(core.List<api.Binding> o) {
+checkUnnamed4632(core.List<api.Binding> o) {
unittest.expect(o, unittest.hasLength(2));
checkBinding(o[0]);
checkBinding(o[1]);
@@ -1003,8 +1003,8 @@
var o = new api.Policy();
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- o.auditConfigs = buildUnnamed4624();
- o.bindings = buildUnnamed4625();
+ o.auditConfigs = buildUnnamed4631();
+ o.bindings = buildUnnamed4632();
o.etag = "foo";
o.version = 42;
}
@@ -1015,22 +1015,22 @@
checkPolicy(api.Policy o) {
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- checkUnnamed4624(o.auditConfigs);
- checkUnnamed4625(o.bindings);
+ checkUnnamed4631(o.auditConfigs);
+ checkUnnamed4632(o.bindings);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals(42));
}
buildCounterPolicy--;
}
-buildUnnamed4626() {
+buildUnnamed4633() {
var o = new core.List<api.Trace>();
o.add(buildTrace());
o.add(buildTrace());
return o;
}
-checkUnnamed4626(core.List<api.Trace> o) {
+checkUnnamed4633(core.List<api.Trace> o) {
unittest.expect(o, unittest.hasLength(2));
checkTrace(o[0]);
checkTrace(o[1]);
@@ -1043,7 +1043,7 @@
if (buildCounterReachabilityDetails < 3) {
o.error = buildStatus();
o.result = "foo";
- o.traces = buildUnnamed4626();
+ o.traces = buildUnnamed4633();
o.verifyTime = "foo";
}
buildCounterReachabilityDetails--;
@@ -1055,7 +1055,7 @@
if (buildCounterReachabilityDetails < 3) {
checkStatus(o.error);
unittest.expect(o.result, unittest.equals('foo'));
- checkUnnamed4626(o.traces);
+ checkUnnamed4633(o.traces);
unittest.expect(o.verifyTime, unittest.equals('foo'));
}
buildCounterReachabilityDetails--;
@@ -1076,14 +1076,14 @@
buildCounterRerunConnectivityTestRequest--;
}
-buildUnnamed4627() {
+buildUnnamed4634() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4627(core.List<core.String> o) {
+checkUnnamed4634(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1096,7 +1096,7 @@
if (buildCounterRouteInfo < 3) {
o.destIpRange = "foo";
o.displayName = "foo";
- o.instanceTags = buildUnnamed4627();
+ o.instanceTags = buildUnnamed4634();
o.networkUri = "foo";
o.nextHop = "foo";
o.nextHopType = "foo";
@@ -1113,7 +1113,7 @@
if (buildCounterRouteInfo < 3) {
unittest.expect(o.destIpRange, unittest.equals('foo'));
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed4627(o.instanceTags);
+ checkUnnamed4634(o.instanceTags);
unittest.expect(o.networkUri, unittest.equals('foo'));
unittest.expect(o.nextHop, unittest.equals('foo'));
unittest.expect(o.nextHopType, unittest.equals('foo'));
@@ -1145,7 +1145,7 @@
buildCounterSetIamPolicyRequest--;
}
-buildUnnamed4628() {
+buildUnnamed4635() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1160,7 +1160,7 @@
return o;
}
-checkUnnamed4628(core.Map<core.String, core.Object> o) {
+checkUnnamed4635(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted7 = (o["x"]) as core.Map;
unittest.expect(casted7, unittest.hasLength(3));
@@ -1174,17 +1174,17 @@
unittest.expect(casted8["string"], unittest.equals('foo'));
}
-buildUnnamed4629() {
+buildUnnamed4636() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed4628());
- o.add(buildUnnamed4628());
+ o.add(buildUnnamed4635());
+ o.add(buildUnnamed4635());
return o;
}
-checkUnnamed4629(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed4636(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed4628(o[0]);
- checkUnnamed4628(o[1]);
+ checkUnnamed4635(o[0]);
+ checkUnnamed4635(o[1]);
}
core.int buildCounterStatus = 0;
@@ -1193,7 +1193,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed4629();
+ o.details = buildUnnamed4636();
o.message = "foo";
}
buildCounterStatus--;
@@ -1204,7 +1204,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed4629(o.details);
+ checkUnnamed4636(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
@@ -1261,14 +1261,14 @@
buildCounterStep--;
}
-buildUnnamed4630() {
+buildUnnamed4637() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4630(core.List<core.String> o) {
+checkUnnamed4637(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1279,7 +1279,7 @@
var o = new api.TestIamPermissionsRequest();
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- o.permissions = buildUnnamed4630();
+ o.permissions = buildUnnamed4637();
}
buildCounterTestIamPermissionsRequest--;
return o;
@@ -1288,19 +1288,19 @@
checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) {
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- checkUnnamed4630(o.permissions);
+ checkUnnamed4637(o.permissions);
}
buildCounterTestIamPermissionsRequest--;
}
-buildUnnamed4631() {
+buildUnnamed4638() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4631(core.List<core.String> o) {
+checkUnnamed4638(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1311,7 +1311,7 @@
var o = new api.TestIamPermissionsResponse();
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- o.permissions = buildUnnamed4631();
+ o.permissions = buildUnnamed4638();
}
buildCounterTestIamPermissionsResponse--;
return o;
@@ -1320,19 +1320,19 @@
checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) {
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- checkUnnamed4631(o.permissions);
+ checkUnnamed4638(o.permissions);
}
buildCounterTestIamPermissionsResponse--;
}
-buildUnnamed4632() {
+buildUnnamed4639() {
var o = new core.List<api.Step>();
o.add(buildStep());
o.add(buildStep());
return o;
}
-checkUnnamed4632(core.List<api.Step> o) {
+checkUnnamed4639(core.List<api.Step> o) {
unittest.expect(o, unittest.hasLength(2));
checkStep(o[0]);
checkStep(o[1]);
@@ -1344,7 +1344,7 @@
buildCounterTrace++;
if (buildCounterTrace < 3) {
o.endpointInfo = buildEndpointInfo();
- o.steps = buildUnnamed4632();
+ o.steps = buildUnnamed4639();
}
buildCounterTrace--;
return o;
@@ -1354,7 +1354,7 @@
buildCounterTrace++;
if (buildCounterTrace < 3) {
checkEndpointInfo(o.endpointInfo);
- checkUnnamed4632(o.steps);
+ checkUnnamed4639(o.steps);
}
buildCounterTrace--;
}
@@ -1778,9 +1778,9 @@
api.ProjectsLocationsResourceApi res =
new api.NetworkmanagementApi(mock).projects.locations;
var arg_name = "foo";
- var arg_pageSize = 42;
- var arg_pageToken = "foo";
var arg_filter = "foo";
+ var arg_pageToken = "foo";
+ var arg_pageSize = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1813,11 +1813,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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["filter"].first, unittest.equals(arg_filter));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1828,9 +1828,9 @@
}), true);
res
.list(arg_name,
- pageSize: arg_pageSize,
- pageToken: arg_pageToken,
filter: arg_filter,
+ pageToken: arg_pageToken,
+ pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListLocationsResponse(response);
@@ -2087,9 +2087,9 @@
.global
.connectivityTests;
var arg_parent = "foo";
- var arg_orderBy = "foo";
- var arg_pageSize = 42;
var arg_pageToken = "foo";
+ var arg_pageSize = 42;
+ var arg_orderBy = "foo";
var arg_filter = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -2124,11 +2124,11 @@
}
}
unittest.expect(
- queryMap["orderBy"].first, unittest.equals(arg_orderBy));
+ 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));
+ 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));
@@ -2140,9 +2140,9 @@
}), true);
res
.list(arg_parent,
- orderBy: arg_orderBy,
- pageSize: arg_pageSize,
pageToken: arg_pageToken,
+ pageSize: arg_pageSize,
+ orderBy: arg_orderBy,
filter: arg_filter,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -2577,9 +2577,9 @@
.global
.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;
@@ -2612,11 +2612,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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 = {
@@ -2627,9 +2627,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/oauth2/v2_test.dart b/generated/googleapis/test/oauth2/v2_test.dart
new file mode 100644
index 0000000..3b2c557
--- /dev/null
+++ b/generated/googleapis/test/oauth2/v2_test.dart
@@ -0,0 +1,297 @@
+library googleapis.oauth2.v2.test;
+
+import "dart:core" as core;
+import "dart:async" as async;
+import "dart:convert" as convert;
+
+import 'package:http/http.dart' as http;
+import 'package:test/test.dart' as unittest;
+
+import 'package:googleapis/oauth2/v2.dart' as api;
+
+class HttpServerMock extends http.BaseClient {
+ core.Function _callback;
+ core.bool _expectJson;
+
+ void register(core.Function callback, core.bool expectJson) {
+ _callback = callback;
+ _expectJson = expectJson;
+ }
+
+ async.Future<http.StreamedResponse> send(http.BaseRequest request) {
+ if (_expectJson) {
+ return request
+ .finalize()
+ .transform(convert.utf8.decoder)
+ .join('')
+ .then((core.String jsonString) {
+ if (jsonString.isEmpty) {
+ return _callback(request, null);
+ } else {
+ return _callback(request, convert.json.decode(jsonString));
+ }
+ });
+ } else {
+ var stream = request.finalize();
+ if (stream == null) {
+ return _callback(request, []);
+ } else {
+ return stream.toBytes().then((data) {
+ return _callback(request, data);
+ });
+ }
+ }
+ }
+}
+
+http.StreamedResponse stringResponse(core.int status,
+ core.Map<core.String, core.String> headers, core.String body) {
+ var stream = new async.Stream.fromIterable([convert.utf8.encode(body)]);
+ return new http.StreamedResponse(stream, status, headers: headers);
+}
+
+core.int buildCounterTokeninfo = 0;
+buildTokeninfo() {
+ var o = new api.Tokeninfo();
+ buildCounterTokeninfo++;
+ if (buildCounterTokeninfo < 3) {
+ o.audience = "foo";
+ o.email = "foo";
+ o.expiresIn = 42;
+ o.issuedTo = "foo";
+ o.scope = "foo";
+ o.userId = "foo";
+ o.verifiedEmail = true;
+ }
+ buildCounterTokeninfo--;
+ return o;
+}
+
+checkTokeninfo(api.Tokeninfo o) {
+ buildCounterTokeninfo++;
+ if (buildCounterTokeninfo < 3) {
+ unittest.expect(o.audience, unittest.equals('foo'));
+ unittest.expect(o.email, unittest.equals('foo'));
+ unittest.expect(o.expiresIn, unittest.equals(42));
+ unittest.expect(o.issuedTo, unittest.equals('foo'));
+ unittest.expect(o.scope, unittest.equals('foo'));
+ unittest.expect(o.userId, unittest.equals('foo'));
+ unittest.expect(o.verifiedEmail, unittest.isTrue);
+ }
+ buildCounterTokeninfo--;
+}
+
+core.int buildCounterUserinfo = 0;
+buildUserinfo() {
+ var o = new api.Userinfo();
+ buildCounterUserinfo++;
+ if (buildCounterUserinfo < 3) {
+ o.email = "foo";
+ o.familyName = "foo";
+ o.gender = "foo";
+ o.givenName = "foo";
+ o.hd = "foo";
+ o.id = "foo";
+ o.link = "foo";
+ o.locale = "foo";
+ o.name = "foo";
+ o.picture = "foo";
+ o.verifiedEmail = true;
+ }
+ buildCounterUserinfo--;
+ return o;
+}
+
+checkUserinfo(api.Userinfo o) {
+ buildCounterUserinfo++;
+ if (buildCounterUserinfo < 3) {
+ unittest.expect(o.email, unittest.equals('foo'));
+ unittest.expect(o.familyName, unittest.equals('foo'));
+ unittest.expect(o.gender, unittest.equals('foo'));
+ unittest.expect(o.givenName, unittest.equals('foo'));
+ unittest.expect(o.hd, unittest.equals('foo'));
+ unittest.expect(o.id, unittest.equals('foo'));
+ unittest.expect(o.link, unittest.equals('foo'));
+ unittest.expect(o.locale, unittest.equals('foo'));
+ unittest.expect(o.name, unittest.equals('foo'));
+ unittest.expect(o.picture, unittest.equals('foo'));
+ unittest.expect(o.verifiedEmail, unittest.isTrue);
+ }
+ buildCounterUserinfo--;
+}
+
+main() {
+ unittest.group("obj-schema-Tokeninfo", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildTokeninfo();
+ var od = new api.Tokeninfo.fromJson(o.toJson());
+ checkTokeninfo(od);
+ });
+ });
+
+ unittest.group("obj-schema-Userinfo", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildUserinfo();
+ var od = new api.Userinfo.fromJson(o.toJson());
+ checkUserinfo(od);
+ });
+ });
+
+ unittest.group("resource-Oauth2Api", () {
+ unittest.test("method--tokeninfo", () {
+ var mock = new HttpServerMock();
+ api.Oauth2Api res = new api.Oauth2Api(mock);
+ var arg_accessToken = "foo";
+ var arg_idToken = "foo";
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 19),
+ unittest.equals("oauth2/v2/tokeninfo"));
+ pathOffset += 19;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = <core.String, core.List<core.String>>{};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(
+ queryMap["access_token"].first, unittest.equals(arg_accessToken));
+ unittest.expect(
+ queryMap["id_token"].first, unittest.equals(arg_idToken));
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.json.encode(buildTokeninfo());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res
+ .tokeninfo(
+ accessToken: arg_accessToken,
+ idToken: arg_idToken,
+ $fields: arg_$fields)
+ .then(unittest.expectAsync1(((response) {
+ checkTokeninfo(response);
+ })));
+ });
+ });
+
+ unittest.group("resource-UserinfoResourceApi", () {
+ unittest.test("method--get", () {
+ var mock = new HttpServerMock();
+ api.UserinfoResourceApi res = new api.Oauth2Api(mock).userinfo;
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 18),
+ unittest.equals("oauth2/v2/userinfo"));
+ pathOffset += 18;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = <core.String, core.List<core.String>>{};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.json.encode(buildUserinfo());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.get($fields: arg_$fields).then(unittest.expectAsync1(((response) {
+ checkUserinfo(response);
+ })));
+ });
+ });
+
+ unittest.group("resource-UserinfoV2MeResourceApi", () {
+ unittest.test("method--get", () {
+ var mock = new HttpServerMock();
+ api.UserinfoV2MeResourceApi res = new api.Oauth2Api(mock).userinfo.v2.me;
+ var arg_$fields = "foo";
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var path = (req.url).path;
+ var pathOffset = 0;
+ var index;
+ var subPart;
+ unittest.expect(
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
+ pathOffset += 1;
+ unittest.expect(path.substring(pathOffset, pathOffset + 14),
+ unittest.equals("userinfo/v2/me"));
+ pathOffset += 14;
+
+ var query = (req.url).query;
+ var queryOffset = 0;
+ var queryMap = <core.String, core.List<core.String>>{};
+ addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
+ parseBool(n) {
+ if (n == "true") return true;
+ if (n == "false") return false;
+ if (n == null) return null;
+ throw new core.ArgumentError("Invalid boolean: $n");
+ }
+
+ if (query.length > 0) {
+ for (var part in query.split("&")) {
+ var keyvalue = part.split("=");
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]),
+ core.Uri.decodeQueryComponent(keyvalue[1]));
+ }
+ }
+ unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
+
+ var h = {
+ "content-type": "application/json; charset=utf-8",
+ };
+ var resp = convert.json.encode(buildUserinfo());
+ return new async.Future.value(stringResponse(200, h, resp));
+ }), true);
+ res.get($fields: arg_$fields).then(unittest.expectAsync1(((response) {
+ checkUserinfo(response);
+ })));
+ });
+ });
+}
diff --git a/generated/googleapis/test/osconfig/v1_test.dart b/generated/googleapis/test/osconfig/v1_test.dart
index aacb5ff..cc80ba4 100644
--- a/generated/googleapis/test/osconfig/v1_test.dart
+++ b/generated/googleapis/test/osconfig/v1_test.dart
@@ -50,27 +50,27 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed4470() {
+buildUnnamed4477() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4470(core.List<core.String> o) {
+checkUnnamed4477(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed4471() {
+buildUnnamed4478() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4471(core.List<core.String> o) {
+checkUnnamed4478(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -81,8 +81,8 @@
var o = new api.AptSettings();
buildCounterAptSettings++;
if (buildCounterAptSettings < 3) {
- o.excludes = buildUnnamed4470();
- o.exclusivePackages = buildUnnamed4471();
+ o.excludes = buildUnnamed4477();
+ o.exclusivePackages = buildUnnamed4478();
o.type = "foo";
}
buildCounterAptSettings--;
@@ -92,8 +92,8 @@
checkAptSettings(api.AptSettings o) {
buildCounterAptSettings++;
if (buildCounterAptSettings < 3) {
- checkUnnamed4470(o.excludes);
- checkUnnamed4471(o.exclusivePackages);
+ checkUnnamed4477(o.excludes);
+ checkUnnamed4478(o.exclusivePackages);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterAptSettings--;
@@ -150,14 +150,14 @@
buildCounterExecStep--;
}
-buildUnnamed4472() {
+buildUnnamed4479() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed4472(core.List<core.int> o) {
+checkUnnamed4479(core.List<core.int> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42));
unittest.expect(o[1], unittest.equals(42));
@@ -168,7 +168,7 @@
var o = new api.ExecStepConfig();
buildCounterExecStepConfig++;
if (buildCounterExecStepConfig < 3) {
- o.allowedSuccessCodes = buildUnnamed4472();
+ o.allowedSuccessCodes = buildUnnamed4479();
o.gcsObject = buildGcsObject();
o.interpreter = "foo";
o.localPath = "foo";
@@ -180,7 +180,7 @@
checkExecStepConfig(api.ExecStepConfig o) {
buildCounterExecStepConfig++;
if (buildCounterExecStepConfig < 3) {
- checkUnnamed4472(o.allowedSuccessCodes);
+ checkUnnamed4479(o.allowedSuccessCodes);
checkGcsObject(o.gcsObject);
unittest.expect(o.interpreter, unittest.equals('foo'));
unittest.expect(o.localPath, unittest.equals('foo'));
@@ -278,14 +278,14 @@
buildCounterGooSettings--;
}
-buildUnnamed4473() {
+buildUnnamed4480() {
var o = new core.List<api.PatchDeployment>();
o.add(buildPatchDeployment());
o.add(buildPatchDeployment());
return o;
}
-checkUnnamed4473(core.List<api.PatchDeployment> o) {
+checkUnnamed4480(core.List<api.PatchDeployment> o) {
unittest.expect(o, unittest.hasLength(2));
checkPatchDeployment(o[0]);
checkPatchDeployment(o[1]);
@@ -297,7 +297,7 @@
buildCounterListPatchDeploymentsResponse++;
if (buildCounterListPatchDeploymentsResponse < 3) {
o.nextPageToken = "foo";
- o.patchDeployments = buildUnnamed4473();
+ o.patchDeployments = buildUnnamed4480();
}
buildCounterListPatchDeploymentsResponse--;
return o;
@@ -307,19 +307,19 @@
buildCounterListPatchDeploymentsResponse++;
if (buildCounterListPatchDeploymentsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed4473(o.patchDeployments);
+ checkUnnamed4480(o.patchDeployments);
}
buildCounterListPatchDeploymentsResponse--;
}
-buildUnnamed4474() {
+buildUnnamed4481() {
var o = new core.List<api.PatchJobInstanceDetails>();
o.add(buildPatchJobInstanceDetails());
o.add(buildPatchJobInstanceDetails());
return o;
}
-checkUnnamed4474(core.List<api.PatchJobInstanceDetails> o) {
+checkUnnamed4481(core.List<api.PatchJobInstanceDetails> o) {
unittest.expect(o, unittest.hasLength(2));
checkPatchJobInstanceDetails(o[0]);
checkPatchJobInstanceDetails(o[1]);
@@ -331,7 +331,7 @@
buildCounterListPatchJobInstanceDetailsResponse++;
if (buildCounterListPatchJobInstanceDetailsResponse < 3) {
o.nextPageToken = "foo";
- o.patchJobInstanceDetails = buildUnnamed4474();
+ o.patchJobInstanceDetails = buildUnnamed4481();
}
buildCounterListPatchJobInstanceDetailsResponse--;
return o;
@@ -342,19 +342,19 @@
buildCounterListPatchJobInstanceDetailsResponse++;
if (buildCounterListPatchJobInstanceDetailsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed4474(o.patchJobInstanceDetails);
+ checkUnnamed4481(o.patchJobInstanceDetails);
}
buildCounterListPatchJobInstanceDetailsResponse--;
}
-buildUnnamed4475() {
+buildUnnamed4482() {
var o = new core.List<api.PatchJob>();
o.add(buildPatchJob());
o.add(buildPatchJob());
return o;
}
-checkUnnamed4475(core.List<api.PatchJob> o) {
+checkUnnamed4482(core.List<api.PatchJob> o) {
unittest.expect(o, unittest.hasLength(2));
checkPatchJob(o[0]);
checkPatchJob(o[1]);
@@ -366,7 +366,7 @@
buildCounterListPatchJobsResponse++;
if (buildCounterListPatchJobsResponse < 3) {
o.nextPageToken = "foo";
- o.patchJobs = buildUnnamed4475();
+ o.patchJobs = buildUnnamed4482();
}
buildCounterListPatchJobsResponse--;
return o;
@@ -376,7 +376,7 @@
buildCounterListPatchJobsResponse++;
if (buildCounterListPatchJobsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed4475(o.patchJobs);
+ checkUnnamed4482(o.patchJobs);
}
buildCounterListPatchJobsResponse--;
}
@@ -493,53 +493,53 @@
buildCounterPatchDeployment--;
}
-buildUnnamed4476() {
+buildUnnamed4483() {
var o = new core.List<api.PatchInstanceFilterGroupLabel>();
o.add(buildPatchInstanceFilterGroupLabel());
o.add(buildPatchInstanceFilterGroupLabel());
return o;
}
-checkUnnamed4476(core.List<api.PatchInstanceFilterGroupLabel> o) {
+checkUnnamed4483(core.List<api.PatchInstanceFilterGroupLabel> o) {
unittest.expect(o, unittest.hasLength(2));
checkPatchInstanceFilterGroupLabel(o[0]);
checkPatchInstanceFilterGroupLabel(o[1]);
}
-buildUnnamed4477() {
+buildUnnamed4484() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4477(core.List<core.String> o) {
+checkUnnamed4484(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed4478() {
+buildUnnamed4485() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4478(core.List<core.String> o) {
+checkUnnamed4485(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed4479() {
+buildUnnamed4486() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4479(core.List<core.String> o) {
+checkUnnamed4486(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -551,10 +551,10 @@
buildCounterPatchInstanceFilter++;
if (buildCounterPatchInstanceFilter < 3) {
o.all = true;
- o.groupLabels = buildUnnamed4476();
- o.instanceNamePrefixes = buildUnnamed4477();
- o.instances = buildUnnamed4478();
- o.zones = buildUnnamed4479();
+ o.groupLabels = buildUnnamed4483();
+ o.instanceNamePrefixes = buildUnnamed4484();
+ o.instances = buildUnnamed4485();
+ o.zones = buildUnnamed4486();
}
buildCounterPatchInstanceFilter--;
return o;
@@ -564,22 +564,22 @@
buildCounterPatchInstanceFilter++;
if (buildCounterPatchInstanceFilter < 3) {
unittest.expect(o.all, unittest.isTrue);
- checkUnnamed4476(o.groupLabels);
- checkUnnamed4477(o.instanceNamePrefixes);
- checkUnnamed4478(o.instances);
- checkUnnamed4479(o.zones);
+ checkUnnamed4483(o.groupLabels);
+ checkUnnamed4484(o.instanceNamePrefixes);
+ checkUnnamed4485(o.instances);
+ checkUnnamed4486(o.zones);
}
buildCounterPatchInstanceFilter--;
}
-buildUnnamed4480() {
+buildUnnamed4487() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed4480(core.Map<core.String, core.String> o) {
+checkUnnamed4487(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -590,7 +590,7 @@
var o = new api.PatchInstanceFilterGroupLabel();
buildCounterPatchInstanceFilterGroupLabel++;
if (buildCounterPatchInstanceFilterGroupLabel < 3) {
- o.labels = buildUnnamed4480();
+ o.labels = buildUnnamed4487();
}
buildCounterPatchInstanceFilterGroupLabel--;
return o;
@@ -599,7 +599,7 @@
checkPatchInstanceFilterGroupLabel(api.PatchInstanceFilterGroupLabel o) {
buildCounterPatchInstanceFilterGroupLabel++;
if (buildCounterPatchInstanceFilterGroupLabel < 3) {
- checkUnnamed4480(o.labels);
+ checkUnnamed4487(o.labels);
}
buildCounterPatchInstanceFilterGroupLabel--;
}
@@ -868,145 +868,6 @@
buildCounterWeeklySchedule--;
}
-buildUnnamed4481() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed4481(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed4482() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed4482(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed4483() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed4483(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-core.int buildCounterWindowsUpdateSettings = 0;
-buildWindowsUpdateSettings() {
- var o = new api.WindowsUpdateSettings();
- buildCounterWindowsUpdateSettings++;
- if (buildCounterWindowsUpdateSettings < 3) {
- o.classifications = buildUnnamed4481();
- o.excludes = buildUnnamed4482();
- o.exclusivePatches = buildUnnamed4483();
- }
- buildCounterWindowsUpdateSettings--;
- return o;
-}
-
-checkWindowsUpdateSettings(api.WindowsUpdateSettings o) {
- buildCounterWindowsUpdateSettings++;
- if (buildCounterWindowsUpdateSettings < 3) {
- checkUnnamed4481(o.classifications);
- checkUnnamed4482(o.excludes);
- checkUnnamed4483(o.exclusivePatches);
- }
- buildCounterWindowsUpdateSettings--;
-}
-
-buildUnnamed4484() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed4484(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed4485() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed4485(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-core.int buildCounterYumSettings = 0;
-buildYumSettings() {
- var o = new api.YumSettings();
- buildCounterYumSettings++;
- if (buildCounterYumSettings < 3) {
- o.excludes = buildUnnamed4484();
- o.exclusivePackages = buildUnnamed4485();
- o.minimal = true;
- o.security = true;
- }
- buildCounterYumSettings--;
- return o;
-}
-
-checkYumSettings(api.YumSettings o) {
- buildCounterYumSettings++;
- if (buildCounterYumSettings < 3) {
- checkUnnamed4484(o.excludes);
- checkUnnamed4485(o.exclusivePackages);
- unittest.expect(o.minimal, unittest.isTrue);
- unittest.expect(o.security, unittest.isTrue);
- }
- buildCounterYumSettings--;
-}
-
-buildUnnamed4486() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed4486(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed4487() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed4487(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed4488() {
var o = new core.List<core.String>();
o.add("foo");
@@ -1033,15 +894,154 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed4490() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed4490(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+core.int buildCounterWindowsUpdateSettings = 0;
+buildWindowsUpdateSettings() {
+ var o = new api.WindowsUpdateSettings();
+ buildCounterWindowsUpdateSettings++;
+ if (buildCounterWindowsUpdateSettings < 3) {
+ o.classifications = buildUnnamed4488();
+ o.excludes = buildUnnamed4489();
+ o.exclusivePatches = buildUnnamed4490();
+ }
+ buildCounterWindowsUpdateSettings--;
+ return o;
+}
+
+checkWindowsUpdateSettings(api.WindowsUpdateSettings o) {
+ buildCounterWindowsUpdateSettings++;
+ if (buildCounterWindowsUpdateSettings < 3) {
+ checkUnnamed4488(o.classifications);
+ checkUnnamed4489(o.excludes);
+ checkUnnamed4490(o.exclusivePatches);
+ }
+ buildCounterWindowsUpdateSettings--;
+}
+
+buildUnnamed4491() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed4491(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed4492() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed4492(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+core.int buildCounterYumSettings = 0;
+buildYumSettings() {
+ var o = new api.YumSettings();
+ buildCounterYumSettings++;
+ if (buildCounterYumSettings < 3) {
+ o.excludes = buildUnnamed4491();
+ o.exclusivePackages = buildUnnamed4492();
+ o.minimal = true;
+ o.security = true;
+ }
+ buildCounterYumSettings--;
+ return o;
+}
+
+checkYumSettings(api.YumSettings o) {
+ buildCounterYumSettings++;
+ if (buildCounterYumSettings < 3) {
+ checkUnnamed4491(o.excludes);
+ checkUnnamed4492(o.exclusivePackages);
+ unittest.expect(o.minimal, unittest.isTrue);
+ unittest.expect(o.security, unittest.isTrue);
+ }
+ buildCounterYumSettings--;
+}
+
+buildUnnamed4493() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed4493(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed4494() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed4494(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed4495() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed4495(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed4496() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed4496(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
core.int buildCounterZypperSettings = 0;
buildZypperSettings() {
var o = new api.ZypperSettings();
buildCounterZypperSettings++;
if (buildCounterZypperSettings < 3) {
- o.categories = buildUnnamed4486();
- o.excludes = buildUnnamed4487();
- o.exclusivePatches = buildUnnamed4488();
- o.severities = buildUnnamed4489();
+ o.categories = buildUnnamed4493();
+ o.excludes = buildUnnamed4494();
+ o.exclusivePatches = buildUnnamed4495();
+ o.severities = buildUnnamed4496();
o.withOptional = true;
o.withUpdate = true;
}
@@ -1052,10 +1052,10 @@
checkZypperSettings(api.ZypperSettings o) {
buildCounterZypperSettings++;
if (buildCounterZypperSettings < 3) {
- checkUnnamed4486(o.categories);
- checkUnnamed4487(o.excludes);
- checkUnnamed4488(o.exclusivePatches);
- checkUnnamed4489(o.severities);
+ checkUnnamed4493(o.categories);
+ checkUnnamed4494(o.excludes);
+ checkUnnamed4495(o.exclusivePatches);
+ checkUnnamed4496(o.severities);
unittest.expect(o.withOptional, unittest.isTrue);
unittest.expect(o.withUpdate, unittest.isTrue);
}
@@ -1700,9 +1700,9 @@
api.ProjectsPatchJobsResourceApi res =
new 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;
@@ -1735,11 +1735,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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 = {
@@ -1750,9 +1750,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);
@@ -1766,9 +1766,9 @@
api.ProjectsPatchJobsInstanceDetailsResourceApi res =
new api.OsconfigApi(mock).projects.patchJobs.instanceDetails;
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;
@@ -1801,11 +1801,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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 = {
@@ -1817,9 +1817,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) {
checkListPatchJobInstanceDetailsResponse(response);
diff --git a/generated/googleapis/test/oslogin/v1_test.dart b/generated/googleapis/test/oslogin/v1_test.dart
index aa844f8..1f06ca1 100644
--- a/generated/googleapis/test/oslogin/v1_test.dart
+++ b/generated/googleapis/test/oslogin/v1_test.dart
@@ -86,27 +86,27 @@
buildCounterImportSshPublicKeyResponse--;
}
-buildUnnamed1428() {
+buildUnnamed1429() {
var o = new core.List<api.PosixAccount>();
o.add(buildPosixAccount());
o.add(buildPosixAccount());
return o;
}
-checkUnnamed1428(core.List<api.PosixAccount> o) {
+checkUnnamed1429(core.List<api.PosixAccount> o) {
unittest.expect(o, unittest.hasLength(2));
checkPosixAccount(o[0]);
checkPosixAccount(o[1]);
}
-buildUnnamed1429() {
+buildUnnamed1430() {
var o = new core.Map<core.String, api.SshPublicKey>();
o["x"] = buildSshPublicKey();
o["y"] = buildSshPublicKey();
return o;
}
-checkUnnamed1429(core.Map<core.String, api.SshPublicKey> o) {
+checkUnnamed1430(core.Map<core.String, api.SshPublicKey> o) {
unittest.expect(o, unittest.hasLength(2));
checkSshPublicKey(o["x"]);
checkSshPublicKey(o["y"]);
@@ -118,8 +118,8 @@
buildCounterLoginProfile++;
if (buildCounterLoginProfile < 3) {
o.name = "foo";
- o.posixAccounts = buildUnnamed1428();
- o.sshPublicKeys = buildUnnamed1429();
+ o.posixAccounts = buildUnnamed1429();
+ o.sshPublicKeys = buildUnnamed1430();
}
buildCounterLoginProfile--;
return o;
@@ -129,8 +129,8 @@
buildCounterLoginProfile++;
if (buildCounterLoginProfile < 3) {
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1428(o.posixAccounts);
- checkUnnamed1429(o.sshPublicKeys);
+ checkUnnamed1429(o.posixAccounts);
+ checkUnnamed1430(o.sshPublicKeys);
}
buildCounterLoginProfile--;
}
diff --git a/generated/googleapis/test/pagespeedonline/v5_test.dart b/generated/googleapis/test/pagespeedonline/v5_test.dart
index 1efee95..9488b22 100644
--- a/generated/googleapis/test/pagespeedonline/v5_test.dart
+++ b/generated/googleapis/test/pagespeedonline/v5_test.dart
@@ -219,7 +219,7 @@
buildCounterI18n--;
}
-buildUnnamed1691() {
+buildUnnamed1693() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -234,7 +234,7 @@
return o;
}
-checkUnnamed1691(core.Map<core.String, core.Object> o) {
+checkUnnamed1693(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted2 = (o["x"]) as core.Map;
unittest.expect(casted2, unittest.hasLength(3));
@@ -254,7 +254,7 @@
buildCounterLighthouseAuditResultV5++;
if (buildCounterLighthouseAuditResultV5 < 3) {
o.description = "foo";
- o.details = buildUnnamed1691();
+ o.details = buildUnnamed1693();
o.displayValue = "foo";
o.errorMessage = "foo";
o.explanation = "foo";
@@ -281,7 +281,7 @@
buildCounterLighthouseAuditResultV5++;
if (buildCounterLighthouseAuditResultV5 < 3) {
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed1691(o.details);
+ checkUnnamed1693(o.details);
unittest.expect(o.displayValue, unittest.equals('foo'));
unittest.expect(o.errorMessage, unittest.equals('foo'));
unittest.expect(o.explanation, unittest.equals('foo'));
@@ -303,14 +303,14 @@
buildCounterLighthouseAuditResultV5--;
}
-buildUnnamed1692() {
+buildUnnamed1694() {
var o = new core.List<api.AuditRefs>();
o.add(buildAuditRefs());
o.add(buildAuditRefs());
return o;
}
-checkUnnamed1692(core.List<api.AuditRefs> o) {
+checkUnnamed1694(core.List<api.AuditRefs> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuditRefs(o[0]);
checkAuditRefs(o[1]);
@@ -321,7 +321,7 @@
var o = new api.LighthouseCategoryV5();
buildCounterLighthouseCategoryV5++;
if (buildCounterLighthouseCategoryV5 < 3) {
- o.auditRefs = buildUnnamed1692();
+ o.auditRefs = buildUnnamed1694();
o.description = "foo";
o.id = "foo";
o.manualDescription = "foo";
@@ -339,7 +339,7 @@
checkLighthouseCategoryV5(api.LighthouseCategoryV5 o) {
buildCounterLighthouseCategoryV5++;
if (buildCounterLighthouseCategoryV5 < 3) {
- checkUnnamed1692(o.auditRefs);
+ checkUnnamed1694(o.auditRefs);
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.manualDescription, unittest.equals('foo'));
@@ -353,33 +353,33 @@
buildCounterLighthouseCategoryV5--;
}
-buildUnnamed1693() {
+buildUnnamed1695() {
var o = new core.Map<core.String, api.LighthouseAuditResultV5>();
o["x"] = buildLighthouseAuditResultV5();
o["y"] = buildLighthouseAuditResultV5();
return o;
}
-checkUnnamed1693(core.Map<core.String, api.LighthouseAuditResultV5> o) {
+checkUnnamed1695(core.Map<core.String, api.LighthouseAuditResultV5> o) {
unittest.expect(o, unittest.hasLength(2));
checkLighthouseAuditResultV5(o["x"]);
checkLighthouseAuditResultV5(o["y"]);
}
-buildUnnamed1694() {
+buildUnnamed1696() {
var o = new core.Map<core.String, api.CategoryGroupV5>();
o["x"] = buildCategoryGroupV5();
o["y"] = buildCategoryGroupV5();
return o;
}
-checkUnnamed1694(core.Map<core.String, api.CategoryGroupV5> o) {
+checkUnnamed1696(core.Map<core.String, api.CategoryGroupV5> o) {
unittest.expect(o, unittest.hasLength(2));
checkCategoryGroupV5(o["x"]);
checkCategoryGroupV5(o["y"]);
}
-buildUnnamed1695() {
+buildUnnamed1697() {
var o = new core.List<core.Object>();
o.add({
'list': [1, 2, 3],
@@ -394,7 +394,7 @@
return o;
}
-checkUnnamed1695(core.List<core.Object> o) {
+checkUnnamed1697(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted7 = (o[0]) as core.Map;
unittest.expect(casted7, unittest.hasLength(3));
@@ -408,14 +408,14 @@
unittest.expect(casted8["string"], unittest.equals('foo'));
}
-buildUnnamed1696() {
+buildUnnamed1698() {
var o = new core.List<api.StackPack>();
o.add(buildStackPack());
o.add(buildStackPack());
return o;
}
-checkUnnamed1696(core.List<api.StackPack> o) {
+checkUnnamed1698(core.List<api.StackPack> o) {
unittest.expect(o, unittest.hasLength(2));
checkStackPack(o[0]);
checkStackPack(o[1]);
@@ -426,9 +426,9 @@
var o = new api.LighthouseResultV5();
buildCounterLighthouseResultV5++;
if (buildCounterLighthouseResultV5 < 3) {
- o.audits = buildUnnamed1693();
+ o.audits = buildUnnamed1695();
o.categories = buildCategories();
- o.categoryGroups = buildUnnamed1694();
+ o.categoryGroups = buildUnnamed1696();
o.configSettings = buildConfigSettings();
o.environment = buildEnvironment();
o.fetchTime = "foo";
@@ -436,9 +436,9 @@
o.i18n = buildI18n();
o.lighthouseVersion = "foo";
o.requestedUrl = "foo";
- o.runWarnings = buildUnnamed1695();
+ o.runWarnings = buildUnnamed1697();
o.runtimeError = buildRuntimeError();
- o.stackPacks = buildUnnamed1696();
+ o.stackPacks = buildUnnamed1698();
o.timing = buildTiming();
o.userAgent = "foo";
}
@@ -449,9 +449,9 @@
checkLighthouseResultV5(api.LighthouseResultV5 o) {
buildCounterLighthouseResultV5++;
if (buildCounterLighthouseResultV5 < 3) {
- checkUnnamed1693(o.audits);
+ checkUnnamed1695(o.audits);
checkCategories(o.categories);
- checkUnnamed1694(o.categoryGroups);
+ checkUnnamed1696(o.categoryGroups);
checkConfigSettings(o.configSettings);
checkEnvironment(o.environment);
unittest.expect(o.fetchTime, unittest.equals('foo'));
@@ -459,23 +459,23 @@
checkI18n(o.i18n);
unittest.expect(o.lighthouseVersion, unittest.equals('foo'));
unittest.expect(o.requestedUrl, unittest.equals('foo'));
- checkUnnamed1695(o.runWarnings);
+ checkUnnamed1697(o.runWarnings);
checkRuntimeError(o.runtimeError);
- checkUnnamed1696(o.stackPacks);
+ checkUnnamed1698(o.stackPacks);
checkTiming(o.timing);
unittest.expect(o.userAgent, unittest.equals('foo'));
}
buildCounterLighthouseResultV5--;
}
-buildUnnamed1697() {
+buildUnnamed1699() {
var o = new core.Map<core.String, api.UserPageLoadMetricV5>();
o["x"] = buildUserPageLoadMetricV5();
o["y"] = buildUserPageLoadMetricV5();
return o;
}
-checkUnnamed1697(core.Map<core.String, api.UserPageLoadMetricV5> o) {
+checkUnnamed1699(core.Map<core.String, api.UserPageLoadMetricV5> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserPageLoadMetricV5(o["x"]);
checkUserPageLoadMetricV5(o["y"]);
@@ -488,7 +488,7 @@
if (buildCounterPagespeedApiLoadingExperienceV5 < 3) {
o.id = "foo";
o.initialUrl = "foo";
- o.metrics = buildUnnamed1697();
+ o.metrics = buildUnnamed1699();
o.originFallback = true;
o.overallCategory = "foo";
}
@@ -501,7 +501,7 @@
if (buildCounterPagespeedApiLoadingExperienceV5 < 3) {
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.initialUrl, unittest.equals('foo'));
- checkUnnamed1697(o.metrics);
+ checkUnnamed1699(o.metrics);
unittest.expect(o.originFallback, unittest.isTrue);
unittest.expect(o.overallCategory, unittest.equals('foo'));
}
@@ -632,14 +632,14 @@
buildCounterRuntimeError--;
}
-buildUnnamed1698() {
+buildUnnamed1700() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1698(core.Map<core.String, core.String> o) {
+checkUnnamed1700(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -650,7 +650,7 @@
var o = new api.StackPack();
buildCounterStackPack++;
if (buildCounterStackPack < 3) {
- o.descriptions = buildUnnamed1698();
+ o.descriptions = buildUnnamed1700();
o.iconDataURL = "foo";
o.id = "foo";
o.title = "foo";
@@ -662,7 +662,7 @@
checkStackPack(api.StackPack o) {
buildCounterStackPack++;
if (buildCounterStackPack < 3) {
- checkUnnamed1698(o.descriptions);
+ checkUnnamed1700(o.descriptions);
unittest.expect(o.iconDataURL, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.title, unittest.equals('foo'));
@@ -689,14 +689,14 @@
buildCounterTiming--;
}
-buildUnnamed1699() {
+buildUnnamed1701() {
var o = new core.List<api.Bucket>();
o.add(buildBucket());
o.add(buildBucket());
return o;
}
-checkUnnamed1699(core.List<api.Bucket> o) {
+checkUnnamed1701(core.List<api.Bucket> o) {
unittest.expect(o, unittest.hasLength(2));
checkBucket(o[0]);
checkBucket(o[1]);
@@ -708,7 +708,7 @@
buildCounterUserPageLoadMetricV5++;
if (buildCounterUserPageLoadMetricV5 < 3) {
o.category = "foo";
- o.distributions = buildUnnamed1699();
+ o.distributions = buildUnnamed1701();
o.formFactor = "foo";
o.median = 42;
o.metricId = "foo";
@@ -722,7 +722,7 @@
buildCounterUserPageLoadMetricV5++;
if (buildCounterUserPageLoadMetricV5 < 3) {
unittest.expect(o.category, unittest.equals('foo'));
- checkUnnamed1699(o.distributions);
+ checkUnnamed1701(o.distributions);
unittest.expect(o.formFactor, unittest.equals('foo'));
unittest.expect(o.median, unittest.equals(42));
unittest.expect(o.metricId, unittest.equals('foo'));
@@ -731,14 +731,14 @@
buildCounterUserPageLoadMetricV5--;
}
-buildUnnamed1700() {
+buildUnnamed1702() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1700(core.List<core.String> o) {
+checkUnnamed1702(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -894,13 +894,13 @@
var mock = new HttpServerMock();
api.PagespeedapiResourceApi res =
new api.PagespeedonlineApi(mock).pagespeedapi;
- var arg_captchaToken = "foo";
- var arg_locale = "foo";
- var arg_utmSource = "foo";
var arg_strategy = "foo";
- var arg_url = "foo";
var arg_utmCampaign = "foo";
- var arg_category = buildUnnamed1700();
+ var arg_category = buildUnnamed1702();
+ var arg_locale = "foo";
+ var arg_url = "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;
@@ -933,16 +933,16 @@
}
}
unittest.expect(
- queryMap["captchaToken"].first, unittest.equals(arg_captchaToken));
- unittest.expect(queryMap["locale"].first, unittest.equals(arg_locale));
- unittest.expect(
- queryMap["utm_source"].first, unittest.equals(arg_utmSource));
- unittest.expect(
queryMap["strategy"].first, unittest.equals(arg_strategy));
- unittest.expect(queryMap["url"].first, unittest.equals(arg_url));
unittest.expect(
queryMap["utm_campaign"].first, unittest.equals(arg_utmCampaign));
unittest.expect(queryMap["category"], unittest.equals(arg_category));
+ unittest.expect(queryMap["locale"].first, unittest.equals(arg_locale));
+ unittest.expect(queryMap["url"].first, unittest.equals(arg_url));
+ unittest.expect(
+ queryMap["utm_source"].first, unittest.equals(arg_utmSource));
+ unittest.expect(
+ queryMap["captchaToken"].first, unittest.equals(arg_captchaToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -953,13 +953,13 @@
}), true);
res
.runpagespeed(
- captchaToken: arg_captchaToken,
- locale: arg_locale,
- utmSource: arg_utmSource,
strategy: arg_strategy,
- url: arg_url,
utmCampaign: arg_utmCampaign,
category: arg_category,
+ locale: arg_locale,
+ url: arg_url,
+ 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 68a1e66..0dca417 100644
--- a/generated/googleapis/test/people/v1_test.dart
+++ b/generated/googleapis/test/people/v1_test.dart
@@ -112,14 +112,14 @@
buildCounterAgeRangeType--;
}
-buildUnnamed3743() {
+buildUnnamed3747() {
var o = new core.List<api.ContactGroupResponse>();
o.add(buildContactGroupResponse());
o.add(buildContactGroupResponse());
return o;
}
-checkUnnamed3743(core.List<api.ContactGroupResponse> o) {
+checkUnnamed3747(core.List<api.ContactGroupResponse> o) {
unittest.expect(o, unittest.hasLength(2));
checkContactGroupResponse(o[0]);
checkContactGroupResponse(o[1]);
@@ -130,7 +130,7 @@
var o = new api.BatchGetContactGroupsResponse();
buildCounterBatchGetContactGroupsResponse++;
if (buildCounterBatchGetContactGroupsResponse < 3) {
- o.responses = buildUnnamed3743();
+ o.responses = buildUnnamed3747();
}
buildCounterBatchGetContactGroupsResponse--;
return o;
@@ -139,7 +139,7 @@
checkBatchGetContactGroupsResponse(api.BatchGetContactGroupsResponse o) {
buildCounterBatchGetContactGroupsResponse++;
if (buildCounterBatchGetContactGroupsResponse < 3) {
- checkUnnamed3743(o.responses);
+ checkUnnamed3747(o.responses);
}
buildCounterBatchGetContactGroupsResponse--;
}
@@ -259,14 +259,14 @@
buildCounterClientData--;
}
-buildUnnamed3744() {
+buildUnnamed3748() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3744(core.List<core.String> o) {
+checkUnnamed3748(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -281,7 +281,7 @@
o.formattedName = "foo";
o.groupType = "foo";
o.memberCount = 42;
- o.memberResourceNames = buildUnnamed3744();
+ o.memberResourceNames = buildUnnamed3748();
o.metadata = buildContactGroupMetadata();
o.name = "foo";
o.resourceName = "foo";
@@ -297,7 +297,7 @@
unittest.expect(o.formattedName, unittest.equals('foo'));
unittest.expect(o.groupType, unittest.equals('foo'));
unittest.expect(o.memberCount, unittest.equals(42));
- checkUnnamed3744(o.memberResourceNames);
+ checkUnnamed3748(o.memberResourceNames);
checkContactGroupMetadata(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.resourceName, unittest.equals('foo'));
@@ -370,14 +370,14 @@
buildCounterContactGroupResponse--;
}
-buildUnnamed3745() {
+buildUnnamed3749() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3745(core.List<core.String> o) {
+checkUnnamed3749(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -390,7 +390,7 @@
if (buildCounterCopyOtherContactToMyContactsGroupRequest < 3) {
o.copyMask = "foo";
o.readMask = "foo";
- o.sources = buildUnnamed3745();
+ o.sources = buildUnnamed3749();
}
buildCounterCopyOtherContactToMyContactsGroupRequest--;
return o;
@@ -402,7 +402,7 @@
if (buildCounterCopyOtherContactToMyContactsGroupRequest < 3) {
unittest.expect(o.copyMask, unittest.equals('foo'));
unittest.expect(o.readMask, unittest.equals('foo'));
- checkUnnamed3745(o.sources);
+ checkUnnamed3749(o.sources);
}
buildCounterCopyOtherContactToMyContactsGroupRequest--;
}
@@ -671,14 +671,14 @@
buildCounterGender--;
}
-buildUnnamed3746() {
+buildUnnamed3750() {
var o = new core.List<api.PersonResponse>();
o.add(buildPersonResponse());
o.add(buildPersonResponse());
return o;
}
-checkUnnamed3746(core.List<api.PersonResponse> o) {
+checkUnnamed3750(core.List<api.PersonResponse> o) {
unittest.expect(o, unittest.hasLength(2));
checkPersonResponse(o[0]);
checkPersonResponse(o[1]);
@@ -689,7 +689,7 @@
var o = new api.GetPeopleResponse();
buildCounterGetPeopleResponse++;
if (buildCounterGetPeopleResponse < 3) {
- o.responses = buildUnnamed3746();
+ o.responses = buildUnnamed3750();
}
buildCounterGetPeopleResponse--;
return o;
@@ -698,7 +698,7 @@
checkGetPeopleResponse(api.GetPeopleResponse o) {
buildCounterGetPeopleResponse++;
if (buildCounterGetPeopleResponse < 3) {
- checkUnnamed3746(o.responses);
+ checkUnnamed3750(o.responses);
}
buildCounterGetPeopleResponse--;
}
@@ -753,14 +753,14 @@
buildCounterInterest--;
}
-buildUnnamed3747() {
+buildUnnamed3751() {
var o = new core.List<api.Person>();
o.add(buildPerson());
o.add(buildPerson());
return o;
}
-checkUnnamed3747(core.List<api.Person> o) {
+checkUnnamed3751(core.List<api.Person> o) {
unittest.expect(o, unittest.hasLength(2));
checkPerson(o[0]);
checkPerson(o[1]);
@@ -771,7 +771,7 @@
var o = new api.ListConnectionsResponse();
buildCounterListConnectionsResponse++;
if (buildCounterListConnectionsResponse < 3) {
- o.connections = buildUnnamed3747();
+ o.connections = buildUnnamed3751();
o.nextPageToken = "foo";
o.nextSyncToken = "foo";
o.totalItems = 42;
@@ -784,7 +784,7 @@
checkListConnectionsResponse(api.ListConnectionsResponse o) {
buildCounterListConnectionsResponse++;
if (buildCounterListConnectionsResponse < 3) {
- checkUnnamed3747(o.connections);
+ checkUnnamed3751(o.connections);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.nextSyncToken, unittest.equals('foo'));
unittest.expect(o.totalItems, unittest.equals(42));
@@ -793,14 +793,14 @@
buildCounterListConnectionsResponse--;
}
-buildUnnamed3748() {
+buildUnnamed3752() {
var o = new core.List<api.ContactGroup>();
o.add(buildContactGroup());
o.add(buildContactGroup());
return o;
}
-checkUnnamed3748(core.List<api.ContactGroup> o) {
+checkUnnamed3752(core.List<api.ContactGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkContactGroup(o[0]);
checkContactGroup(o[1]);
@@ -811,7 +811,7 @@
var o = new api.ListContactGroupsResponse();
buildCounterListContactGroupsResponse++;
if (buildCounterListContactGroupsResponse < 3) {
- o.contactGroups = buildUnnamed3748();
+ o.contactGroups = buildUnnamed3752();
o.nextPageToken = "foo";
o.nextSyncToken = "foo";
o.totalItems = 42;
@@ -823,7 +823,7 @@
checkListContactGroupsResponse(api.ListContactGroupsResponse o) {
buildCounterListContactGroupsResponse++;
if (buildCounterListContactGroupsResponse < 3) {
- checkUnnamed3748(o.contactGroups);
+ checkUnnamed3752(o.contactGroups);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.nextSyncToken, unittest.equals('foo'));
unittest.expect(o.totalItems, unittest.equals(42));
@@ -831,14 +831,14 @@
buildCounterListContactGroupsResponse--;
}
-buildUnnamed3749() {
+buildUnnamed3753() {
var o = new core.List<api.Person>();
o.add(buildPerson());
o.add(buildPerson());
return o;
}
-checkUnnamed3749(core.List<api.Person> o) {
+checkUnnamed3753(core.List<api.Person> o) {
unittest.expect(o, unittest.hasLength(2));
checkPerson(o[0]);
checkPerson(o[1]);
@@ -851,7 +851,7 @@
if (buildCounterListDirectoryPeopleResponse < 3) {
o.nextPageToken = "foo";
o.nextSyncToken = "foo";
- o.people = buildUnnamed3749();
+ o.people = buildUnnamed3753();
}
buildCounterListDirectoryPeopleResponse--;
return o;
@@ -862,19 +862,19 @@
if (buildCounterListDirectoryPeopleResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.nextSyncToken, unittest.equals('foo'));
- checkUnnamed3749(o.people);
+ checkUnnamed3753(o.people);
}
buildCounterListDirectoryPeopleResponse--;
}
-buildUnnamed3750() {
+buildUnnamed3754() {
var o = new core.List<api.Person>();
o.add(buildPerson());
o.add(buildPerson());
return o;
}
-checkUnnamed3750(core.List<api.Person> o) {
+checkUnnamed3754(core.List<api.Person> o) {
unittest.expect(o, unittest.hasLength(2));
checkPerson(o[0]);
checkPerson(o[1]);
@@ -887,7 +887,7 @@
if (buildCounterListOtherContactsResponse < 3) {
o.nextPageToken = "foo";
o.nextSyncToken = "foo";
- o.otherContacts = buildUnnamed3750();
+ o.otherContacts = buildUnnamed3754();
}
buildCounterListOtherContactsResponse--;
return o;
@@ -898,7 +898,7 @@
if (buildCounterListOtherContactsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.nextSyncToken, unittest.equals('foo'));
- checkUnnamed3750(o.otherContacts);
+ checkUnnamed3754(o.otherContacts);
}
buildCounterListOtherContactsResponse--;
}
@@ -1005,27 +1005,27 @@
buildCounterMiscKeyword--;
}
-buildUnnamed3751() {
+buildUnnamed3755() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3751(core.List<core.String> o) {
+checkUnnamed3755(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3752() {
+buildUnnamed3756() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3752(core.List<core.String> o) {
+checkUnnamed3756(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1036,8 +1036,8 @@
var o = new api.ModifyContactGroupMembersRequest();
buildCounterModifyContactGroupMembersRequest++;
if (buildCounterModifyContactGroupMembersRequest < 3) {
- o.resourceNamesToAdd = buildUnnamed3751();
- o.resourceNamesToRemove = buildUnnamed3752();
+ o.resourceNamesToAdd = buildUnnamed3755();
+ o.resourceNamesToRemove = buildUnnamed3756();
}
buildCounterModifyContactGroupMembersRequest--;
return o;
@@ -1046,33 +1046,33 @@
checkModifyContactGroupMembersRequest(api.ModifyContactGroupMembersRequest o) {
buildCounterModifyContactGroupMembersRequest++;
if (buildCounterModifyContactGroupMembersRequest < 3) {
- checkUnnamed3751(o.resourceNamesToAdd);
- checkUnnamed3752(o.resourceNamesToRemove);
+ checkUnnamed3755(o.resourceNamesToAdd);
+ checkUnnamed3756(o.resourceNamesToRemove);
}
buildCounterModifyContactGroupMembersRequest--;
}
-buildUnnamed3753() {
+buildUnnamed3757() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3753(core.List<core.String> o) {
+checkUnnamed3757(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3754() {
+buildUnnamed3758() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3754(core.List<core.String> o) {
+checkUnnamed3758(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1083,8 +1083,8 @@
var o = new api.ModifyContactGroupMembersResponse();
buildCounterModifyContactGroupMembersResponse++;
if (buildCounterModifyContactGroupMembersResponse < 3) {
- o.canNotRemoveLastContactGroupResourceNames = buildUnnamed3753();
- o.notFoundResourceNames = buildUnnamed3754();
+ o.canNotRemoveLastContactGroupResourceNames = buildUnnamed3757();
+ o.notFoundResourceNames = buildUnnamed3758();
}
buildCounterModifyContactGroupMembersResponse--;
return o;
@@ -1094,8 +1094,8 @@
api.ModifyContactGroupMembersResponse o) {
buildCounterModifyContactGroupMembersResponse++;
if (buildCounterModifyContactGroupMembersResponse < 3) {
- checkUnnamed3753(o.canNotRemoveLastContactGroupResourceNames);
- checkUnnamed3754(o.notFoundResourceNames);
+ checkUnnamed3757(o.canNotRemoveLastContactGroupResourceNames);
+ checkUnnamed3758(o.notFoundResourceNames);
}
buildCounterModifyContactGroupMembersResponse--;
}
@@ -1236,443 +1236,443 @@
buildCounterOrganization--;
}
-buildUnnamed3755() {
+buildUnnamed3759() {
var o = new core.List<api.Address>();
o.add(buildAddress());
o.add(buildAddress());
return o;
}
-checkUnnamed3755(core.List<api.Address> o) {
+checkUnnamed3759(core.List<api.Address> o) {
unittest.expect(o, unittest.hasLength(2));
checkAddress(o[0]);
checkAddress(o[1]);
}
-buildUnnamed3756() {
+buildUnnamed3760() {
var o = new core.List<api.AgeRangeType>();
o.add(buildAgeRangeType());
o.add(buildAgeRangeType());
return o;
}
-checkUnnamed3756(core.List<api.AgeRangeType> o) {
+checkUnnamed3760(core.List<api.AgeRangeType> o) {
unittest.expect(o, unittest.hasLength(2));
checkAgeRangeType(o[0]);
checkAgeRangeType(o[1]);
}
-buildUnnamed3757() {
+buildUnnamed3761() {
var o = new core.List<api.Biography>();
o.add(buildBiography());
o.add(buildBiography());
return o;
}
-checkUnnamed3757(core.List<api.Biography> o) {
+checkUnnamed3761(core.List<api.Biography> o) {
unittest.expect(o, unittest.hasLength(2));
checkBiography(o[0]);
checkBiography(o[1]);
}
-buildUnnamed3758() {
+buildUnnamed3762() {
var o = new core.List<api.Birthday>();
o.add(buildBirthday());
o.add(buildBirthday());
return o;
}
-checkUnnamed3758(core.List<api.Birthday> o) {
+checkUnnamed3762(core.List<api.Birthday> o) {
unittest.expect(o, unittest.hasLength(2));
checkBirthday(o[0]);
checkBirthday(o[1]);
}
-buildUnnamed3759() {
+buildUnnamed3763() {
var o = new core.List<api.BraggingRights>();
o.add(buildBraggingRights());
o.add(buildBraggingRights());
return o;
}
-checkUnnamed3759(core.List<api.BraggingRights> o) {
+checkUnnamed3763(core.List<api.BraggingRights> o) {
unittest.expect(o, unittest.hasLength(2));
checkBraggingRights(o[0]);
checkBraggingRights(o[1]);
}
-buildUnnamed3760() {
+buildUnnamed3764() {
var o = new core.List<api.CalendarUrl>();
o.add(buildCalendarUrl());
o.add(buildCalendarUrl());
return o;
}
-checkUnnamed3760(core.List<api.CalendarUrl> o) {
+checkUnnamed3764(core.List<api.CalendarUrl> o) {
unittest.expect(o, unittest.hasLength(2));
checkCalendarUrl(o[0]);
checkCalendarUrl(o[1]);
}
-buildUnnamed3761() {
+buildUnnamed3765() {
var o = new core.List<api.ClientData>();
o.add(buildClientData());
o.add(buildClientData());
return o;
}
-checkUnnamed3761(core.List<api.ClientData> o) {
+checkUnnamed3765(core.List<api.ClientData> o) {
unittest.expect(o, unittest.hasLength(2));
checkClientData(o[0]);
checkClientData(o[1]);
}
-buildUnnamed3762() {
+buildUnnamed3766() {
var o = new core.List<api.CoverPhoto>();
o.add(buildCoverPhoto());
o.add(buildCoverPhoto());
return o;
}
-checkUnnamed3762(core.List<api.CoverPhoto> o) {
+checkUnnamed3766(core.List<api.CoverPhoto> o) {
unittest.expect(o, unittest.hasLength(2));
checkCoverPhoto(o[0]);
checkCoverPhoto(o[1]);
}
-buildUnnamed3763() {
+buildUnnamed3767() {
var o = new core.List<api.EmailAddress>();
o.add(buildEmailAddress());
o.add(buildEmailAddress());
return o;
}
-checkUnnamed3763(core.List<api.EmailAddress> o) {
+checkUnnamed3767(core.List<api.EmailAddress> o) {
unittest.expect(o, unittest.hasLength(2));
checkEmailAddress(o[0]);
checkEmailAddress(o[1]);
}
-buildUnnamed3764() {
+buildUnnamed3768() {
var o = new core.List<api.Event>();
o.add(buildEvent());
o.add(buildEvent());
return o;
}
-checkUnnamed3764(core.List<api.Event> o) {
+checkUnnamed3768(core.List<api.Event> o) {
unittest.expect(o, unittest.hasLength(2));
checkEvent(o[0]);
checkEvent(o[1]);
}
-buildUnnamed3765() {
+buildUnnamed3769() {
var o = new core.List<api.ExternalId>();
o.add(buildExternalId());
o.add(buildExternalId());
return o;
}
-checkUnnamed3765(core.List<api.ExternalId> o) {
+checkUnnamed3769(core.List<api.ExternalId> o) {
unittest.expect(o, unittest.hasLength(2));
checkExternalId(o[0]);
checkExternalId(o[1]);
}
-buildUnnamed3766() {
+buildUnnamed3770() {
var o = new core.List<api.FileAs>();
o.add(buildFileAs());
o.add(buildFileAs());
return o;
}
-checkUnnamed3766(core.List<api.FileAs> o) {
+checkUnnamed3770(core.List<api.FileAs> o) {
unittest.expect(o, unittest.hasLength(2));
checkFileAs(o[0]);
checkFileAs(o[1]);
}
-buildUnnamed3767() {
+buildUnnamed3771() {
var o = new core.List<api.Gender>();
o.add(buildGender());
o.add(buildGender());
return o;
}
-checkUnnamed3767(core.List<api.Gender> o) {
+checkUnnamed3771(core.List<api.Gender> o) {
unittest.expect(o, unittest.hasLength(2));
checkGender(o[0]);
checkGender(o[1]);
}
-buildUnnamed3768() {
+buildUnnamed3772() {
var o = new core.List<api.ImClient>();
o.add(buildImClient());
o.add(buildImClient());
return o;
}
-checkUnnamed3768(core.List<api.ImClient> o) {
+checkUnnamed3772(core.List<api.ImClient> o) {
unittest.expect(o, unittest.hasLength(2));
checkImClient(o[0]);
checkImClient(o[1]);
}
-buildUnnamed3769() {
+buildUnnamed3773() {
var o = new core.List<api.Interest>();
o.add(buildInterest());
o.add(buildInterest());
return o;
}
-checkUnnamed3769(core.List<api.Interest> o) {
+checkUnnamed3773(core.List<api.Interest> o) {
unittest.expect(o, unittest.hasLength(2));
checkInterest(o[0]);
checkInterest(o[1]);
}
-buildUnnamed3770() {
+buildUnnamed3774() {
var o = new core.List<api.Locale>();
o.add(buildLocale());
o.add(buildLocale());
return o;
}
-checkUnnamed3770(core.List<api.Locale> o) {
+checkUnnamed3774(core.List<api.Locale> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocale(o[0]);
checkLocale(o[1]);
}
-buildUnnamed3771() {
+buildUnnamed3775() {
var o = new core.List<api.Location>();
o.add(buildLocation());
o.add(buildLocation());
return o;
}
-checkUnnamed3771(core.List<api.Location> o) {
+checkUnnamed3775(core.List<api.Location> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocation(o[0]);
checkLocation(o[1]);
}
-buildUnnamed3772() {
+buildUnnamed3776() {
var o = new core.List<api.Membership>();
o.add(buildMembership());
o.add(buildMembership());
return o;
}
-checkUnnamed3772(core.List<api.Membership> o) {
+checkUnnamed3776(core.List<api.Membership> o) {
unittest.expect(o, unittest.hasLength(2));
checkMembership(o[0]);
checkMembership(o[1]);
}
-buildUnnamed3773() {
+buildUnnamed3777() {
var o = new core.List<api.MiscKeyword>();
o.add(buildMiscKeyword());
o.add(buildMiscKeyword());
return o;
}
-checkUnnamed3773(core.List<api.MiscKeyword> o) {
+checkUnnamed3777(core.List<api.MiscKeyword> o) {
unittest.expect(o, unittest.hasLength(2));
checkMiscKeyword(o[0]);
checkMiscKeyword(o[1]);
}
-buildUnnamed3774() {
+buildUnnamed3778() {
var o = new core.List<api.Name>();
o.add(buildName());
o.add(buildName());
return o;
}
-checkUnnamed3774(core.List<api.Name> o) {
+checkUnnamed3778(core.List<api.Name> o) {
unittest.expect(o, unittest.hasLength(2));
checkName(o[0]);
checkName(o[1]);
}
-buildUnnamed3775() {
+buildUnnamed3779() {
var o = new core.List<api.Nickname>();
o.add(buildNickname());
o.add(buildNickname());
return o;
}
-checkUnnamed3775(core.List<api.Nickname> o) {
+checkUnnamed3779(core.List<api.Nickname> o) {
unittest.expect(o, unittest.hasLength(2));
checkNickname(o[0]);
checkNickname(o[1]);
}
-buildUnnamed3776() {
+buildUnnamed3780() {
var o = new core.List<api.Occupation>();
o.add(buildOccupation());
o.add(buildOccupation());
return o;
}
-checkUnnamed3776(core.List<api.Occupation> o) {
+checkUnnamed3780(core.List<api.Occupation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOccupation(o[0]);
checkOccupation(o[1]);
}
-buildUnnamed3777() {
+buildUnnamed3781() {
var o = new core.List<api.Organization>();
o.add(buildOrganization());
o.add(buildOrganization());
return o;
}
-checkUnnamed3777(core.List<api.Organization> o) {
+checkUnnamed3781(core.List<api.Organization> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrganization(o[0]);
checkOrganization(o[1]);
}
-buildUnnamed3778() {
+buildUnnamed3782() {
var o = new core.List<api.PhoneNumber>();
o.add(buildPhoneNumber());
o.add(buildPhoneNumber());
return o;
}
-checkUnnamed3778(core.List<api.PhoneNumber> o) {
+checkUnnamed3782(core.List<api.PhoneNumber> o) {
unittest.expect(o, unittest.hasLength(2));
checkPhoneNumber(o[0]);
checkPhoneNumber(o[1]);
}
-buildUnnamed3779() {
+buildUnnamed3783() {
var o = new core.List<api.Photo>();
o.add(buildPhoto());
o.add(buildPhoto());
return o;
}
-checkUnnamed3779(core.List<api.Photo> o) {
+checkUnnamed3783(core.List<api.Photo> o) {
unittest.expect(o, unittest.hasLength(2));
checkPhoto(o[0]);
checkPhoto(o[1]);
}
-buildUnnamed3780() {
+buildUnnamed3784() {
var o = new core.List<api.Relation>();
o.add(buildRelation());
o.add(buildRelation());
return o;
}
-checkUnnamed3780(core.List<api.Relation> o) {
+checkUnnamed3784(core.List<api.Relation> o) {
unittest.expect(o, unittest.hasLength(2));
checkRelation(o[0]);
checkRelation(o[1]);
}
-buildUnnamed3781() {
+buildUnnamed3785() {
var o = new core.List<api.RelationshipInterest>();
o.add(buildRelationshipInterest());
o.add(buildRelationshipInterest());
return o;
}
-checkUnnamed3781(core.List<api.RelationshipInterest> o) {
+checkUnnamed3785(core.List<api.RelationshipInterest> o) {
unittest.expect(o, unittest.hasLength(2));
checkRelationshipInterest(o[0]);
checkRelationshipInterest(o[1]);
}
-buildUnnamed3782() {
+buildUnnamed3786() {
var o = new core.List<api.RelationshipStatus>();
o.add(buildRelationshipStatus());
o.add(buildRelationshipStatus());
return o;
}
-checkUnnamed3782(core.List<api.RelationshipStatus> o) {
+checkUnnamed3786(core.List<api.RelationshipStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkRelationshipStatus(o[0]);
checkRelationshipStatus(o[1]);
}
-buildUnnamed3783() {
+buildUnnamed3787() {
var o = new core.List<api.Residence>();
o.add(buildResidence());
o.add(buildResidence());
return o;
}
-checkUnnamed3783(core.List<api.Residence> o) {
+checkUnnamed3787(core.List<api.Residence> o) {
unittest.expect(o, unittest.hasLength(2));
checkResidence(o[0]);
checkResidence(o[1]);
}
-buildUnnamed3784() {
+buildUnnamed3788() {
var o = new core.List<api.SipAddress>();
o.add(buildSipAddress());
o.add(buildSipAddress());
return o;
}
-checkUnnamed3784(core.List<api.SipAddress> o) {
+checkUnnamed3788(core.List<api.SipAddress> o) {
unittest.expect(o, unittest.hasLength(2));
checkSipAddress(o[0]);
checkSipAddress(o[1]);
}
-buildUnnamed3785() {
+buildUnnamed3789() {
var o = new core.List<api.Skill>();
o.add(buildSkill());
o.add(buildSkill());
return o;
}
-checkUnnamed3785(core.List<api.Skill> o) {
+checkUnnamed3789(core.List<api.Skill> o) {
unittest.expect(o, unittest.hasLength(2));
checkSkill(o[0]);
checkSkill(o[1]);
}
-buildUnnamed3786() {
+buildUnnamed3790() {
var o = new core.List<api.Tagline>();
o.add(buildTagline());
o.add(buildTagline());
return o;
}
-checkUnnamed3786(core.List<api.Tagline> o) {
+checkUnnamed3790(core.List<api.Tagline> o) {
unittest.expect(o, unittest.hasLength(2));
checkTagline(o[0]);
checkTagline(o[1]);
}
-buildUnnamed3787() {
+buildUnnamed3791() {
var o = new core.List<api.Url>();
o.add(buildUrl());
o.add(buildUrl());
return o;
}
-checkUnnamed3787(core.List<api.Url> o) {
+checkUnnamed3791(core.List<api.Url> o) {
unittest.expect(o, unittest.hasLength(2));
checkUrl(o[0]);
checkUrl(o[1]);
}
-buildUnnamed3788() {
+buildUnnamed3792() {
var o = new core.List<api.UserDefined>();
o.add(buildUserDefined());
o.add(buildUserDefined());
return o;
}
-checkUnnamed3788(core.List<api.UserDefined> o) {
+checkUnnamed3792(core.List<api.UserDefined> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserDefined(o[0]);
checkUserDefined(o[1]);
@@ -1683,44 +1683,44 @@
var o = new api.Person();
buildCounterPerson++;
if (buildCounterPerson < 3) {
- o.addresses = buildUnnamed3755();
+ o.addresses = buildUnnamed3759();
o.ageRange = "foo";
- o.ageRanges = buildUnnamed3756();
- o.biographies = buildUnnamed3757();
- o.birthdays = buildUnnamed3758();
- o.braggingRights = buildUnnamed3759();
- o.calendarUrls = buildUnnamed3760();
- o.clientData = buildUnnamed3761();
- o.coverPhotos = buildUnnamed3762();
- o.emailAddresses = buildUnnamed3763();
+ o.ageRanges = buildUnnamed3760();
+ o.biographies = buildUnnamed3761();
+ o.birthdays = buildUnnamed3762();
+ o.braggingRights = buildUnnamed3763();
+ o.calendarUrls = buildUnnamed3764();
+ o.clientData = buildUnnamed3765();
+ o.coverPhotos = buildUnnamed3766();
+ o.emailAddresses = buildUnnamed3767();
o.etag = "foo";
- o.events = buildUnnamed3764();
- o.externalIds = buildUnnamed3765();
- o.fileAses = buildUnnamed3766();
- o.genders = buildUnnamed3767();
- o.imClients = buildUnnamed3768();
- o.interests = buildUnnamed3769();
- o.locales = buildUnnamed3770();
- o.locations = buildUnnamed3771();
- o.memberships = buildUnnamed3772();
+ o.events = buildUnnamed3768();
+ o.externalIds = buildUnnamed3769();
+ o.fileAses = buildUnnamed3770();
+ o.genders = buildUnnamed3771();
+ o.imClients = buildUnnamed3772();
+ o.interests = buildUnnamed3773();
+ o.locales = buildUnnamed3774();
+ o.locations = buildUnnamed3775();
+ o.memberships = buildUnnamed3776();
o.metadata = buildPersonMetadata();
- o.miscKeywords = buildUnnamed3773();
- o.names = buildUnnamed3774();
- o.nicknames = buildUnnamed3775();
- o.occupations = buildUnnamed3776();
- o.organizations = buildUnnamed3777();
- o.phoneNumbers = buildUnnamed3778();
- o.photos = buildUnnamed3779();
- o.relations = buildUnnamed3780();
- o.relationshipInterests = buildUnnamed3781();
- o.relationshipStatuses = buildUnnamed3782();
- o.residences = buildUnnamed3783();
+ o.miscKeywords = buildUnnamed3777();
+ o.names = buildUnnamed3778();
+ o.nicknames = buildUnnamed3779();
+ o.occupations = buildUnnamed3780();
+ o.organizations = buildUnnamed3781();
+ o.phoneNumbers = buildUnnamed3782();
+ o.photos = buildUnnamed3783();
+ o.relations = buildUnnamed3784();
+ o.relationshipInterests = buildUnnamed3785();
+ o.relationshipStatuses = buildUnnamed3786();
+ o.residences = buildUnnamed3787();
o.resourceName = "foo";
- o.sipAddresses = buildUnnamed3784();
- o.skills = buildUnnamed3785();
- o.taglines = buildUnnamed3786();
- o.urls = buildUnnamed3787();
- o.userDefined = buildUnnamed3788();
+ o.sipAddresses = buildUnnamed3788();
+ o.skills = buildUnnamed3789();
+ o.taglines = buildUnnamed3790();
+ o.urls = buildUnnamed3791();
+ o.userDefined = buildUnnamed3792();
}
buildCounterPerson--;
return o;
@@ -1729,82 +1729,82 @@
checkPerson(api.Person o) {
buildCounterPerson++;
if (buildCounterPerson < 3) {
- checkUnnamed3755(o.addresses);
+ checkUnnamed3759(o.addresses);
unittest.expect(o.ageRange, unittest.equals('foo'));
- checkUnnamed3756(o.ageRanges);
- checkUnnamed3757(o.biographies);
- checkUnnamed3758(o.birthdays);
- checkUnnamed3759(o.braggingRights);
- checkUnnamed3760(o.calendarUrls);
- checkUnnamed3761(o.clientData);
- checkUnnamed3762(o.coverPhotos);
- checkUnnamed3763(o.emailAddresses);
+ checkUnnamed3760(o.ageRanges);
+ checkUnnamed3761(o.biographies);
+ checkUnnamed3762(o.birthdays);
+ checkUnnamed3763(o.braggingRights);
+ checkUnnamed3764(o.calendarUrls);
+ checkUnnamed3765(o.clientData);
+ checkUnnamed3766(o.coverPhotos);
+ checkUnnamed3767(o.emailAddresses);
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed3764(o.events);
- checkUnnamed3765(o.externalIds);
- checkUnnamed3766(o.fileAses);
- checkUnnamed3767(o.genders);
- checkUnnamed3768(o.imClients);
- checkUnnamed3769(o.interests);
- checkUnnamed3770(o.locales);
- checkUnnamed3771(o.locations);
- checkUnnamed3772(o.memberships);
+ checkUnnamed3768(o.events);
+ checkUnnamed3769(o.externalIds);
+ checkUnnamed3770(o.fileAses);
+ checkUnnamed3771(o.genders);
+ checkUnnamed3772(o.imClients);
+ checkUnnamed3773(o.interests);
+ checkUnnamed3774(o.locales);
+ checkUnnamed3775(o.locations);
+ checkUnnamed3776(o.memberships);
checkPersonMetadata(o.metadata);
- checkUnnamed3773(o.miscKeywords);
- checkUnnamed3774(o.names);
- checkUnnamed3775(o.nicknames);
- checkUnnamed3776(o.occupations);
- checkUnnamed3777(o.organizations);
- checkUnnamed3778(o.phoneNumbers);
- checkUnnamed3779(o.photos);
- checkUnnamed3780(o.relations);
- checkUnnamed3781(o.relationshipInterests);
- checkUnnamed3782(o.relationshipStatuses);
- checkUnnamed3783(o.residences);
+ checkUnnamed3777(o.miscKeywords);
+ checkUnnamed3778(o.names);
+ checkUnnamed3779(o.nicknames);
+ checkUnnamed3780(o.occupations);
+ checkUnnamed3781(o.organizations);
+ checkUnnamed3782(o.phoneNumbers);
+ checkUnnamed3783(o.photos);
+ checkUnnamed3784(o.relations);
+ checkUnnamed3785(o.relationshipInterests);
+ checkUnnamed3786(o.relationshipStatuses);
+ checkUnnamed3787(o.residences);
unittest.expect(o.resourceName, unittest.equals('foo'));
- checkUnnamed3784(o.sipAddresses);
- checkUnnamed3785(o.skills);
- checkUnnamed3786(o.taglines);
- checkUnnamed3787(o.urls);
- checkUnnamed3788(o.userDefined);
+ checkUnnamed3788(o.sipAddresses);
+ checkUnnamed3789(o.skills);
+ checkUnnamed3790(o.taglines);
+ checkUnnamed3791(o.urls);
+ checkUnnamed3792(o.userDefined);
}
buildCounterPerson--;
}
-buildUnnamed3789() {
+buildUnnamed3793() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3789(core.List<core.String> o) {
+checkUnnamed3793(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3790() {
+buildUnnamed3794() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3790(core.List<core.String> o) {
+checkUnnamed3794(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3791() {
+buildUnnamed3795() {
var o = new core.List<api.Source>();
o.add(buildSource());
o.add(buildSource());
return o;
}
-checkUnnamed3791(core.List<api.Source> o) {
+checkUnnamed3795(core.List<api.Source> o) {
unittest.expect(o, unittest.hasLength(2));
checkSource(o[0]);
checkSource(o[1]);
@@ -1816,10 +1816,10 @@
buildCounterPersonMetadata++;
if (buildCounterPersonMetadata < 3) {
o.deleted = true;
- o.linkedPeopleResourceNames = buildUnnamed3789();
+ o.linkedPeopleResourceNames = buildUnnamed3793();
o.objectType = "foo";
- o.previousResourceNames = buildUnnamed3790();
- o.sources = buildUnnamed3791();
+ o.previousResourceNames = buildUnnamed3794();
+ o.sources = buildUnnamed3795();
}
buildCounterPersonMetadata--;
return o;
@@ -1829,10 +1829,10 @@
buildCounterPersonMetadata++;
if (buildCounterPersonMetadata < 3) {
unittest.expect(o.deleted, unittest.isTrue);
- checkUnnamed3789(o.linkedPeopleResourceNames);
+ checkUnnamed3793(o.linkedPeopleResourceNames);
unittest.expect(o.objectType, unittest.equals('foo'));
- checkUnnamed3790(o.previousResourceNames);
- checkUnnamed3791(o.sources);
+ checkUnnamed3794(o.previousResourceNames);
+ checkUnnamed3795(o.sources);
}
buildCounterPersonMetadata--;
}
@@ -1912,14 +1912,14 @@
buildCounterPhoto--;
}
-buildUnnamed3792() {
+buildUnnamed3796() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3792(core.List<core.String> o) {
+checkUnnamed3796(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1931,7 +1931,7 @@
buildCounterProfileMetadata++;
if (buildCounterProfileMetadata < 3) {
o.objectType = "foo";
- o.userTypes = buildUnnamed3792();
+ o.userTypes = buildUnnamed3796();
}
buildCounterProfileMetadata--;
return o;
@@ -1941,7 +1941,7 @@
buildCounterProfileMetadata++;
if (buildCounterProfileMetadata < 3) {
unittest.expect(o.objectType, unittest.equals('foo'));
- checkUnnamed3792(o.userTypes);
+ checkUnnamed3796(o.userTypes);
}
buildCounterProfileMetadata--;
}
@@ -2040,14 +2040,14 @@
buildCounterResidence--;
}
-buildUnnamed3793() {
+buildUnnamed3797() {
var o = new core.List<api.Person>();
o.add(buildPerson());
o.add(buildPerson());
return o;
}
-checkUnnamed3793(core.List<api.Person> o) {
+checkUnnamed3797(core.List<api.Person> o) {
unittest.expect(o, unittest.hasLength(2));
checkPerson(o[0]);
checkPerson(o[1]);
@@ -2059,7 +2059,7 @@
buildCounterSearchDirectoryPeopleResponse++;
if (buildCounterSearchDirectoryPeopleResponse < 3) {
o.nextPageToken = "foo";
- o.people = buildUnnamed3793();
+ o.people = buildUnnamed3797();
o.totalSize = 42;
}
buildCounterSearchDirectoryPeopleResponse--;
@@ -2070,7 +2070,7 @@
buildCounterSearchDirectoryPeopleResponse++;
if (buildCounterSearchDirectoryPeopleResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3793(o.people);
+ checkUnnamed3797(o.people);
unittest.expect(o.totalSize, unittest.equals(42));
}
buildCounterSearchDirectoryPeopleResponse--;
@@ -2149,7 +2149,7 @@
buildCounterSource--;
}
-buildUnnamed3794() {
+buildUnnamed3798() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -2164,7 +2164,7 @@
return o;
}
-checkUnnamed3794(core.Map<core.String, core.Object> o) {
+checkUnnamed3798(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o["x"]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -2178,17 +2178,17 @@
unittest.expect(casted2["string"], unittest.equals('foo'));
}
-buildUnnamed3795() {
+buildUnnamed3799() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed3794());
- o.add(buildUnnamed3794());
+ o.add(buildUnnamed3798());
+ o.add(buildUnnamed3798());
return o;
}
-checkUnnamed3795(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed3799(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed3794(o[0]);
- checkUnnamed3794(o[1]);
+ checkUnnamed3798(o[0]);
+ checkUnnamed3798(o[1]);
}
core.int buildCounterStatus = 0;
@@ -2197,7 +2197,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed3795();
+ o.details = buildUnnamed3799();
o.message = "foo";
}
buildCounterStatus--;
@@ -2208,7 +2208,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed3795(o.details);
+ checkUnnamed3799(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
@@ -2254,14 +2254,14 @@
buildCounterUpdateContactGroupRequest--;
}
-buildUnnamed3796() {
+buildUnnamed3800() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3796(core.List<core.String> o) {
+checkUnnamed3800(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2274,7 +2274,7 @@
if (buildCounterUpdateContactPhotoRequest < 3) {
o.personFields = "foo";
o.photoBytes = "foo";
- o.sources = buildUnnamed3796();
+ o.sources = buildUnnamed3800();
}
buildCounterUpdateContactPhotoRequest--;
return o;
@@ -2285,7 +2285,7 @@
if (buildCounterUpdateContactPhotoRequest < 3) {
unittest.expect(o.personFields, unittest.equals('foo'));
unittest.expect(o.photoBytes, unittest.equals('foo'));
- checkUnnamed3796(o.sources);
+ checkUnnamed3800(o.sources);
}
buildCounterUpdateContactPhotoRequest--;
}
@@ -2357,58 +2357,6 @@
buildCounterUserDefined--;
}
-buildUnnamed3797() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3797(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed3798() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3798(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed3799() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3799(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed3800() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3800(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed3801() {
var o = new core.List<core.String>();
o.add("foo");
@@ -2513,6 +2461,58 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed3809() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3809(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed3810() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3810(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed3811() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3811(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed3812() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3812(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
main() {
unittest.group("obj-schema-Address", () {
unittest.test("to-json--from-json", () {
@@ -3023,8 +3023,8 @@
unittest.test("method--batchGet", () {
var mock = new HttpServerMock();
api.ContactGroupsResourceApi res = new api.PeopleApi(mock).contactGroups;
- var arg_resourceNames = buildUnnamed3797();
var arg_maxMembers = 42;
+ var arg_resourceNames = buildUnnamed3801();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3056,10 +3056,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(
- queryMap["resourceNames"], unittest.equals(arg_resourceNames));
unittest.expect(core.int.parse(queryMap["maxMembers"].first),
unittest.equals(arg_maxMembers));
+ unittest.expect(
+ queryMap["resourceNames"], unittest.equals(arg_resourceNames));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3070,8 +3070,8 @@
}), true);
res
.batchGet(
- resourceNames: arg_resourceNames,
maxMembers: arg_maxMembers,
+ resourceNames: arg_resourceNames,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkBatchGetContactGroupsResponse(response);
@@ -3244,8 +3244,8 @@
unittest.test("method--list", () {
var mock = new HttpServerMock();
api.ContactGroupsResourceApi res = new api.PeopleApi(mock).contactGroups;
- var arg_pageToken = "foo";
var arg_pageSize = 42;
+ var arg_pageToken = "foo";
var arg_syncToken = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -3278,11 +3278,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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["syncToken"].first, unittest.equals(arg_syncToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -3294,8 +3294,8 @@
}), true);
res
.list(
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
syncToken: arg_syncToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -3480,10 +3480,10 @@
var mock = new HttpServerMock();
api.OtherContactsResourceApi res = new api.PeopleApi(mock).otherContacts;
var arg_requestSyncToken = true;
- var arg_pageSize = 42;
var arg_pageToken = "foo";
- var arg_syncToken = "foo";
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;
@@ -3517,14 +3517,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["syncToken"].first, unittest.equals(arg_syncToken));
- unittest.expect(
queryMap["readMask"].first, unittest.equals(arg_readMask));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["syncToken"].first, unittest.equals(arg_syncToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3536,10 +3536,10 @@
res
.list(
requestSyncToken: arg_requestSyncToken,
- pageSize: arg_pageSize,
pageToken: arg_pageToken,
- syncToken: arg_syncToken,
readMask: arg_readMask,
+ pageSize: arg_pageSize,
+ syncToken: arg_syncToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListOtherContactsResponse(response);
@@ -3553,7 +3553,7 @@
api.PeopleResourceApi res = new api.PeopleApi(mock).people;
var arg_request = buildPerson();
var arg_personFields = "foo";
- var arg_sources = buildUnnamed3798();
+ var arg_sources = buildUnnamed3802();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.Person.fromJson(json);
@@ -3664,8 +3664,8 @@
var mock = new HttpServerMock();
api.PeopleResourceApi res = new api.PeopleApi(mock).people;
var arg_resourceName = "foo";
+ var arg_sources = buildUnnamed3803();
var arg_personFields = "foo";
- var arg_sources = buildUnnamed3799();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3698,9 +3698,9 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ 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 = {
@@ -3711,8 +3711,8 @@
}), true);
res
.deleteContactPhoto(arg_resourceName,
- personFields: arg_personFields,
sources: arg_sources,
+ personFields: arg_personFields,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkDeleteContactPhotoResponse(response);
@@ -3723,8 +3723,8 @@
var mock = new HttpServerMock();
api.PeopleResourceApi res = new api.PeopleApi(mock).people;
var arg_resourceName = "foo";
+ var arg_sources = buildUnnamed3804();
var arg_requestMask_includeField = "foo";
- var arg_sources = buildUnnamed3800();
var arg_personFields = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -3758,9 +3758,9 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["sources"], unittest.equals(arg_sources));
unittest.expect(queryMap["requestMask.includeField"].first,
unittest.equals(arg_requestMask_includeField));
- unittest.expect(queryMap["sources"], unittest.equals(arg_sources));
unittest.expect(
queryMap["personFields"].first, unittest.equals(arg_personFields));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -3773,8 +3773,8 @@
}), true);
res
.get(arg_resourceName,
- requestMask_includeField: arg_requestMask_includeField,
sources: arg_sources,
+ requestMask_includeField: arg_requestMask_includeField,
personFields: arg_personFields,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -3785,10 +3785,10 @@
unittest.test("method--getBatchGet", () {
var mock = new HttpServerMock();
api.PeopleResourceApi res = new api.PeopleApi(mock).people;
- var arg_resourceNames = buildUnnamed3801();
- var arg_personFields = "foo";
- var arg_sources = buildUnnamed3802();
var arg_requestMask_includeField = "foo";
+ var arg_personFields = "foo";
+ var arg_resourceNames = buildUnnamed3805();
+ var arg_sources = buildUnnamed3806();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3820,13 +3820,13 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(
- queryMap["resourceNames"], unittest.equals(arg_resourceNames));
- unittest.expect(
- queryMap["personFields"].first, unittest.equals(arg_personFields));
- 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["resourceNames"], unittest.equals(arg_resourceNames));
+ unittest.expect(queryMap["sources"], unittest.equals(arg_sources));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3837,10 +3837,10 @@
}), true);
res
.getBatchGet(
- resourceNames: arg_resourceNames,
- personFields: arg_personFields,
- sources: arg_sources,
requestMask_includeField: arg_requestMask_includeField,
+ personFields: arg_personFields,
+ resourceNames: arg_resourceNames,
+ sources: arg_sources,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGetPeopleResponse(response);
@@ -3850,13 +3850,13 @@
unittest.test("method--listDirectoryPeople", () {
var mock = new HttpServerMock();
api.PeopleResourceApi res = new api.PeopleApi(mock).people;
- var arg_requestSyncToken = true;
var arg_syncToken = "foo";
+ var arg_mergeSources = buildUnnamed3807();
+ var arg_pageToken = "foo";
+ var arg_requestSyncToken = true;
+ var arg_sources = buildUnnamed3808();
var arg_readMask = "foo";
var arg_pageSize = 42;
- var arg_sources = buildUnnamed3803();
- var arg_pageToken = "foo";
- var arg_mergeSources = buildUnnamed3804();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3888,19 +3888,19 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["requestSyncToken"].first,
- unittest.equals("$arg_requestSyncToken"));
unittest.expect(
queryMap["syncToken"].first, unittest.equals(arg_syncToken));
unittest.expect(
+ queryMap["mergeSources"], unittest.equals(arg_mergeSources));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ 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));
- unittest.expect(queryMap["sources"], unittest.equals(arg_sources));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(
- queryMap["mergeSources"], unittest.equals(arg_mergeSources));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3911,13 +3911,13 @@
}), true);
res
.listDirectoryPeople(
- requestSyncToken: arg_requestSyncToken,
syncToken: arg_syncToken,
+ mergeSources: arg_mergeSources,
+ pageToken: arg_pageToken,
+ requestSyncToken: arg_requestSyncToken,
+ sources: arg_sources,
readMask: arg_readMask,
pageSize: arg_pageSize,
- sources: arg_sources,
- pageToken: arg_pageToken,
- mergeSources: arg_mergeSources,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListDirectoryPeopleResponse(response);
@@ -3927,12 +3927,12 @@
unittest.test("method--searchDirectoryPeople", () {
var mock = new HttpServerMock();
api.PeopleResourceApi res = new api.PeopleApi(mock).people;
- var arg_mergeSources = buildUnnamed3805();
- var arg_pageSize = 42;
+ var arg_mergeSources = buildUnnamed3809();
+ var arg_sources = buildUnnamed3810();
var arg_query = "foo";
- var arg_readMask = "foo";
var arg_pageToken = "foo";
- var arg_sources = buildUnnamed3806();
+ var arg_readMask = "foo";
+ var arg_pageSize = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3966,14 +3966,14 @@
}
unittest.expect(
queryMap["mergeSources"], unittest.equals(arg_mergeSources));
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
+ unittest.expect(queryMap["sources"], unittest.equals(arg_sources));
unittest.expect(queryMap["query"].first, unittest.equals(arg_query));
unittest.expect(
- queryMap["readMask"].first, unittest.equals(arg_readMask));
- unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- 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));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3985,11 +3985,11 @@
res
.searchDirectoryPeople(
mergeSources: arg_mergeSources,
- pageSize: arg_pageSize,
- query: arg_query,
- readMask: arg_readMask,
- pageToken: arg_pageToken,
sources: arg_sources,
+ query: arg_query,
+ pageToken: arg_pageToken,
+ readMask: arg_readMask,
+ pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkSearchDirectoryPeopleResponse(response);
@@ -4001,9 +4001,9 @@
api.PeopleResourceApi res = new api.PeopleApi(mock).people;
var arg_request = buildPerson();
var arg_resourceName = "foo";
- var arg_personFields = "foo";
var arg_updatePersonFields = "foo";
- var arg_sources = buildUnnamed3807();
+ var arg_sources = buildUnnamed3811();
+ var arg_personFields = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.Person.fromJson(json);
@@ -4039,11 +4039,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(
- queryMap["personFields"].first, unittest.equals(arg_personFields));
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["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4054,9 +4054,9 @@
}), true);
res
.updateContact(arg_request, arg_resourceName,
- personFields: arg_personFields,
updatePersonFields: arg_updatePersonFields,
sources: arg_sources,
+ personFields: arg_personFields,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkPerson(response);
@@ -4126,14 +4126,14 @@
api.PeopleConnectionsResourceApi res =
new api.PeopleApi(mock).people.connections;
var arg_resourceName = "foo";
- var arg_personFields = "foo";
- var arg_requestMask_includeField = "foo";
var arg_sortOrder = "foo";
- var arg_syncToken = "foo";
var arg_requestSyncToken = true;
- var arg_pageToken = "foo";
var arg_pageSize = 42;
- var arg_sources = buildUnnamed3808();
+ var arg_sources = buildUnnamed3812();
+ var arg_requestMask_includeField = "foo";
+ var arg_pageToken = "foo";
+ var arg_personFields = "foo";
+ var arg_syncToken = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -4167,20 +4167,20 @@
}
}
unittest.expect(
- queryMap["personFields"].first, unittest.equals(arg_personFields));
- unittest.expect(queryMap["requestMask.includeField"].first,
- unittest.equals(arg_requestMask_includeField));
- unittest.expect(
queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
- unittest.expect(
- queryMap["syncToken"].first, unittest.equals(arg_syncToken));
unittest.expect(queryMap["requestSyncToken"].first,
unittest.equals("$arg_requestSyncToken"));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
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["syncToken"].first, unittest.equals(arg_syncToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4191,14 +4191,14 @@
}), true);
res
.list(arg_resourceName,
- personFields: arg_personFields,
- requestMask_includeField: arg_requestMask_includeField,
sortOrder: arg_sortOrder,
- syncToken: arg_syncToken,
requestSyncToken: arg_requestSyncToken,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
sources: arg_sources,
+ requestMask_includeField: arg_requestMask_includeField,
+ pageToken: arg_pageToken,
+ personFields: arg_personFields,
+ syncToken: arg_syncToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListConnectionsResponse(response);
diff --git a/generated/googleapis/test/policytroubleshooter/v1_test.dart b/generated/googleapis/test/policytroubleshooter/v1_test.dart
index 504e489..a6b91f8 100644
--- a/generated/googleapis/test/policytroubleshooter/v1_test.dart
+++ b/generated/googleapis/test/policytroubleshooter/v1_test.dart
@@ -74,7 +74,7 @@
buildCounterGoogleCloudPolicytroubleshooterV1AccessTuple--;
}
-buildUnnamed5021() {
+buildUnnamed5028() {
var o = new core.Map<core.String,
api.GoogleCloudPolicytroubleshooterV1BindingExplanationAnnotatedMembership>();
o["x"] =
@@ -84,7 +84,7 @@
return o;
}
-checkUnnamed5021(
+checkUnnamed5028(
core.Map<core.String,
api.GoogleCloudPolicytroubleshooterV1BindingExplanationAnnotatedMembership>
o) {
@@ -102,7 +102,7 @@
if (buildCounterGoogleCloudPolicytroubleshooterV1BindingExplanation < 3) {
o.access = "foo";
o.condition = buildGoogleTypeExpr();
- o.memberships = buildUnnamed5021();
+ o.memberships = buildUnnamed5028();
o.relevance = "foo";
o.role = "foo";
o.rolePermission = "foo";
@@ -118,7 +118,7 @@
if (buildCounterGoogleCloudPolicytroubleshooterV1BindingExplanation < 3) {
unittest.expect(o.access, unittest.equals('foo'));
checkGoogleTypeExpr(o.condition);
- checkUnnamed5021(o.memberships);
+ checkUnnamed5028(o.memberships);
unittest.expect(o.relevance, unittest.equals('foo'));
unittest.expect(o.role, unittest.equals('foo'));
unittest.expect(o.rolePermission, unittest.equals('foo'));
@@ -155,7 +155,7 @@
buildCounterGoogleCloudPolicytroubleshooterV1BindingExplanationAnnotatedMembership--;
}
-buildUnnamed5022() {
+buildUnnamed5029() {
var o =
new core.List<api.GoogleCloudPolicytroubleshooterV1BindingExplanation>();
o.add(buildGoogleCloudPolicytroubleshooterV1BindingExplanation());
@@ -163,7 +163,7 @@
return o;
}
-checkUnnamed5022(
+checkUnnamed5029(
core.List<api.GoogleCloudPolicytroubleshooterV1BindingExplanation> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudPolicytroubleshooterV1BindingExplanation(o[0]);
@@ -176,7 +176,7 @@
buildCounterGoogleCloudPolicytroubleshooterV1ExplainedPolicy++;
if (buildCounterGoogleCloudPolicytroubleshooterV1ExplainedPolicy < 3) {
o.access = "foo";
- o.bindingExplanations = buildUnnamed5022();
+ o.bindingExplanations = buildUnnamed5029();
o.fullResourceName = "foo";
o.policy = buildGoogleIamV1Policy();
o.relevance = "foo";
@@ -190,7 +190,7 @@
buildCounterGoogleCloudPolicytroubleshooterV1ExplainedPolicy++;
if (buildCounterGoogleCloudPolicytroubleshooterV1ExplainedPolicy < 3) {
unittest.expect(o.access, unittest.equals('foo'));
- checkUnnamed5022(o.bindingExplanations);
+ checkUnnamed5029(o.bindingExplanations);
unittest.expect(o.fullResourceName, unittest.equals('foo'));
checkGoogleIamV1Policy(o.policy);
unittest.expect(o.relevance, unittest.equals('foo'));
@@ -223,14 +223,14 @@
buildCounterGoogleCloudPolicytroubleshooterV1TroubleshootIamPolicyRequest--;
}
-buildUnnamed5023() {
+buildUnnamed5030() {
var o = new core.List<api.GoogleCloudPolicytroubleshooterV1ExplainedPolicy>();
o.add(buildGoogleCloudPolicytroubleshooterV1ExplainedPolicy());
o.add(buildGoogleCloudPolicytroubleshooterV1ExplainedPolicy());
return o;
}
-checkUnnamed5023(
+checkUnnamed5030(
core.List<api.GoogleCloudPolicytroubleshooterV1ExplainedPolicy> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudPolicytroubleshooterV1ExplainedPolicy(o[0]);
@@ -247,7 +247,7 @@
if (buildCounterGoogleCloudPolicytroubleshooterV1TroubleshootIamPolicyResponse <
3) {
o.access = "foo";
- o.explainedPolicies = buildUnnamed5023();
+ o.explainedPolicies = buildUnnamed5030();
}
buildCounterGoogleCloudPolicytroubleshooterV1TroubleshootIamPolicyResponse--;
return o;
@@ -259,19 +259,19 @@
if (buildCounterGoogleCloudPolicytroubleshooterV1TroubleshootIamPolicyResponse <
3) {
unittest.expect(o.access, unittest.equals('foo'));
- checkUnnamed5023(o.explainedPolicies);
+ checkUnnamed5030(o.explainedPolicies);
}
buildCounterGoogleCloudPolicytroubleshooterV1TroubleshootIamPolicyResponse--;
}
-buildUnnamed5024() {
+buildUnnamed5031() {
var o = new core.List<api.GoogleIamV1AuditLogConfig>();
o.add(buildGoogleIamV1AuditLogConfig());
o.add(buildGoogleIamV1AuditLogConfig());
return o;
}
-checkUnnamed5024(core.List<api.GoogleIamV1AuditLogConfig> o) {
+checkUnnamed5031(core.List<api.GoogleIamV1AuditLogConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleIamV1AuditLogConfig(o[0]);
checkGoogleIamV1AuditLogConfig(o[1]);
@@ -282,7 +282,7 @@
var o = new api.GoogleIamV1AuditConfig();
buildCounterGoogleIamV1AuditConfig++;
if (buildCounterGoogleIamV1AuditConfig < 3) {
- o.auditLogConfigs = buildUnnamed5024();
+ o.auditLogConfigs = buildUnnamed5031();
o.service = "foo";
}
buildCounterGoogleIamV1AuditConfig--;
@@ -292,20 +292,20 @@
checkGoogleIamV1AuditConfig(api.GoogleIamV1AuditConfig o) {
buildCounterGoogleIamV1AuditConfig++;
if (buildCounterGoogleIamV1AuditConfig < 3) {
- checkUnnamed5024(o.auditLogConfigs);
+ checkUnnamed5031(o.auditLogConfigs);
unittest.expect(o.service, unittest.equals('foo'));
}
buildCounterGoogleIamV1AuditConfig--;
}
-buildUnnamed5025() {
+buildUnnamed5032() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5025(core.List<core.String> o) {
+checkUnnamed5032(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -316,7 +316,7 @@
var o = new api.GoogleIamV1AuditLogConfig();
buildCounterGoogleIamV1AuditLogConfig++;
if (buildCounterGoogleIamV1AuditLogConfig < 3) {
- o.exemptedMembers = buildUnnamed5025();
+ o.exemptedMembers = buildUnnamed5032();
o.logType = "foo";
}
buildCounterGoogleIamV1AuditLogConfig--;
@@ -326,20 +326,20 @@
checkGoogleIamV1AuditLogConfig(api.GoogleIamV1AuditLogConfig o) {
buildCounterGoogleIamV1AuditLogConfig++;
if (buildCounterGoogleIamV1AuditLogConfig < 3) {
- checkUnnamed5025(o.exemptedMembers);
+ checkUnnamed5032(o.exemptedMembers);
unittest.expect(o.logType, unittest.equals('foo'));
}
buildCounterGoogleIamV1AuditLogConfig--;
}
-buildUnnamed5026() {
+buildUnnamed5033() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5026(core.List<core.String> o) {
+checkUnnamed5033(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -351,7 +351,7 @@
buildCounterGoogleIamV1Binding++;
if (buildCounterGoogleIamV1Binding < 3) {
o.condition = buildGoogleTypeExpr();
- o.members = buildUnnamed5026();
+ o.members = buildUnnamed5033();
o.role = "foo";
}
buildCounterGoogleIamV1Binding--;
@@ -362,33 +362,33 @@
buildCounterGoogleIamV1Binding++;
if (buildCounterGoogleIamV1Binding < 3) {
checkGoogleTypeExpr(o.condition);
- checkUnnamed5026(o.members);
+ checkUnnamed5033(o.members);
unittest.expect(o.role, unittest.equals('foo'));
}
buildCounterGoogleIamV1Binding--;
}
-buildUnnamed5027() {
+buildUnnamed5034() {
var o = new core.List<api.GoogleIamV1AuditConfig>();
o.add(buildGoogleIamV1AuditConfig());
o.add(buildGoogleIamV1AuditConfig());
return o;
}
-checkUnnamed5027(core.List<api.GoogleIamV1AuditConfig> o) {
+checkUnnamed5034(core.List<api.GoogleIamV1AuditConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleIamV1AuditConfig(o[0]);
checkGoogleIamV1AuditConfig(o[1]);
}
-buildUnnamed5028() {
+buildUnnamed5035() {
var o = new core.List<api.GoogleIamV1Binding>();
o.add(buildGoogleIamV1Binding());
o.add(buildGoogleIamV1Binding());
return o;
}
-checkUnnamed5028(core.List<api.GoogleIamV1Binding> o) {
+checkUnnamed5035(core.List<api.GoogleIamV1Binding> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleIamV1Binding(o[0]);
checkGoogleIamV1Binding(o[1]);
@@ -399,8 +399,8 @@
var o = new api.GoogleIamV1Policy();
buildCounterGoogleIamV1Policy++;
if (buildCounterGoogleIamV1Policy < 3) {
- o.auditConfigs = buildUnnamed5027();
- o.bindings = buildUnnamed5028();
+ o.auditConfigs = buildUnnamed5034();
+ o.bindings = buildUnnamed5035();
o.etag = "foo";
o.version = 42;
}
@@ -411,8 +411,8 @@
checkGoogleIamV1Policy(api.GoogleIamV1Policy o) {
buildCounterGoogleIamV1Policy++;
if (buildCounterGoogleIamV1Policy < 3) {
- checkUnnamed5027(o.auditConfigs);
- checkUnnamed5028(o.bindings);
+ checkUnnamed5034(o.auditConfigs);
+ checkUnnamed5035(o.bindings);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals(42));
}
diff --git a/generated/googleapis/test/poly/v1_test.dart b/generated/googleapis/test/poly/v1_test.dart
index 3c60a9c..f46d603 100644
--- a/generated/googleapis/test/poly/v1_test.dart
+++ b/generated/googleapis/test/poly/v1_test.dart
@@ -50,14 +50,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed1680() {
+buildUnnamed1682() {
var o = new core.List<api.Format>();
o.add(buildFormat());
o.add(buildFormat());
return o;
}
-checkUnnamed1680(core.List<api.Format> o) {
+checkUnnamed1682(core.List<api.Format> o) {
unittest.expect(o, unittest.hasLength(2));
checkFormat(o[0]);
checkFormat(o[1]);
@@ -72,7 +72,7 @@
o.createTime = "foo";
o.description = "foo";
o.displayName = "foo";
- o.formats = buildUnnamed1680();
+ o.formats = buildUnnamed1682();
o.isCurated = true;
o.license = "foo";
o.metadata = "foo";
@@ -94,7 +94,7 @@
unittest.expect(o.createTime, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed1680(o.formats);
+ checkUnnamed1682(o.formats);
unittest.expect(o.isCurated, unittest.isTrue);
unittest.expect(o.license, unittest.equals('foo'));
unittest.expect(o.metadata, unittest.equals('foo'));
@@ -156,14 +156,14 @@
buildCounterFile--;
}
-buildUnnamed1681() {
+buildUnnamed1683() {
var o = new core.List<api.File>();
o.add(buildFile());
o.add(buildFile());
return o;
}
-checkUnnamed1681(core.List<api.File> o) {
+checkUnnamed1683(core.List<api.File> o) {
unittest.expect(o, unittest.hasLength(2));
checkFile(o[0]);
checkFile(o[1]);
@@ -176,7 +176,7 @@
if (buildCounterFormat < 3) {
o.formatComplexity = buildFormatComplexity();
o.formatType = "foo";
- o.resources = buildUnnamed1681();
+ o.resources = buildUnnamed1683();
o.root = buildFile();
}
buildCounterFormat--;
@@ -188,7 +188,7 @@
if (buildCounterFormat < 3) {
checkFormatComplexity(o.formatComplexity);
unittest.expect(o.formatType, unittest.equals('foo'));
- checkUnnamed1681(o.resources);
+ checkUnnamed1683(o.resources);
checkFile(o.root);
}
buildCounterFormat--;
@@ -236,14 +236,14 @@
buildCounterImageError--;
}
-buildUnnamed1682() {
+buildUnnamed1684() {
var o = new core.List<api.Asset>();
o.add(buildAsset());
o.add(buildAsset());
return o;
}
-checkUnnamed1682(core.List<api.Asset> o) {
+checkUnnamed1684(core.List<api.Asset> o) {
unittest.expect(o, unittest.hasLength(2));
checkAsset(o[0]);
checkAsset(o[1]);
@@ -254,7 +254,7 @@
var o = new api.ListAssetsResponse();
buildCounterListAssetsResponse++;
if (buildCounterListAssetsResponse < 3) {
- o.assets = buildUnnamed1682();
+ o.assets = buildUnnamed1684();
o.nextPageToken = "foo";
o.totalSize = 42;
}
@@ -265,21 +265,21 @@
checkListAssetsResponse(api.ListAssetsResponse o) {
buildCounterListAssetsResponse++;
if (buildCounterListAssetsResponse < 3) {
- checkUnnamed1682(o.assets);
+ checkUnnamed1684(o.assets);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.totalSize, unittest.equals(42));
}
buildCounterListAssetsResponse--;
}
-buildUnnamed1683() {
+buildUnnamed1685() {
var o = new core.List<api.Asset>();
o.add(buildAsset());
o.add(buildAsset());
return o;
}
-checkUnnamed1683(core.List<api.Asset> o) {
+checkUnnamed1685(core.List<api.Asset> o) {
unittest.expect(o, unittest.hasLength(2));
checkAsset(o[0]);
checkAsset(o[1]);
@@ -290,7 +290,7 @@
var o = new api.ListLikedAssetsResponse();
buildCounterListLikedAssetsResponse++;
if (buildCounterListLikedAssetsResponse < 3) {
- o.assets = buildUnnamed1683();
+ o.assets = buildUnnamed1685();
o.nextPageToken = "foo";
o.totalSize = 42;
}
@@ -301,21 +301,21 @@
checkListLikedAssetsResponse(api.ListLikedAssetsResponse o) {
buildCounterListLikedAssetsResponse++;
if (buildCounterListLikedAssetsResponse < 3) {
- checkUnnamed1683(o.assets);
+ checkUnnamed1685(o.assets);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.totalSize, unittest.equals(42));
}
buildCounterListLikedAssetsResponse--;
}
-buildUnnamed1684() {
+buildUnnamed1686() {
var o = new core.List<api.UserAsset>();
o.add(buildUserAsset());
o.add(buildUserAsset());
return o;
}
-checkUnnamed1684(core.List<api.UserAsset> o) {
+checkUnnamed1686(core.List<api.UserAsset> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserAsset(o[0]);
checkUserAsset(o[1]);
@@ -328,7 +328,7 @@
if (buildCounterListUserAssetsResponse < 3) {
o.nextPageToken = "foo";
o.totalSize = 42;
- o.userAssets = buildUnnamed1684();
+ o.userAssets = buildUnnamed1686();
}
buildCounterListUserAssetsResponse--;
return o;
@@ -339,7 +339,7 @@
if (buildCounterListUserAssetsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.totalSize, unittest.equals(42));
- checkUnnamed1684(o.userAssets);
+ checkUnnamed1686(o.userAssets);
}
buildCounterListUserAssetsResponse--;
}
@@ -421,14 +421,14 @@
buildCounterQuaternion--;
}
-buildUnnamed1685() {
+buildUnnamed1687() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1685(core.List<core.String> o) {
+checkUnnamed1687(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -439,7 +439,7 @@
var o = new api.RemixInfo();
buildCounterRemixInfo++;
if (buildCounterRemixInfo < 3) {
- o.sourceAsset = buildUnnamed1685();
+ o.sourceAsset = buildUnnamed1687();
}
buildCounterRemixInfo--;
return o;
@@ -448,19 +448,19 @@
checkRemixInfo(api.RemixInfo o) {
buildCounterRemixInfo++;
if (buildCounterRemixInfo < 3) {
- checkUnnamed1685(o.sourceAsset);
+ checkUnnamed1687(o.sourceAsset);
}
buildCounterRemixInfo--;
}
-buildUnnamed1686() {
+buildUnnamed1688() {
var o = new core.List<api.AssetImportMessage>();
o.add(buildAssetImportMessage());
o.add(buildAssetImportMessage());
return o;
}
-checkUnnamed1686(core.List<api.AssetImportMessage> o) {
+checkUnnamed1688(core.List<api.AssetImportMessage> o) {
unittest.expect(o, unittest.hasLength(2));
checkAssetImportMessage(o[0]);
checkAssetImportMessage(o[1]);
@@ -473,7 +473,7 @@
if (buildCounterStartAssetImportResponse < 3) {
o.assetId = "foo";
o.assetImportId = "foo";
- o.assetImportMessages = buildUnnamed1686();
+ o.assetImportMessages = buildUnnamed1688();
o.publishUrl = "foo";
}
buildCounterStartAssetImportResponse--;
@@ -485,7 +485,7 @@
if (buildCounterStartAssetImportResponse < 3) {
unittest.expect(o.assetId, unittest.equals('foo'));
unittest.expect(o.assetImportId, unittest.equals('foo'));
- checkUnnamed1686(o.assetImportMessages);
+ checkUnnamed1688(o.assetImportMessages);
unittest.expect(o.publishUrl, unittest.equals('foo'));
}
buildCounterStartAssetImportResponse--;
@@ -686,14 +686,14 @@
unittest.test("method--list", () {
var mock = new HttpServerMock();
api.AssetsResourceApi res = new api.PolyApi(mock).assets;
- var arg_format = "foo";
- var arg_category = "foo";
- var arg_pageToken = "foo";
var arg_maxComplexity = "foo";
- var arg_curated = true;
- var arg_keywords = "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_format = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -725,21 +725,21 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["format"].first, unittest.equals(arg_format));
- unittest.expect(
- queryMap["category"].first, unittest.equals(arg_category));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["maxComplexity"].first,
unittest.equals(arg_maxComplexity));
- unittest.expect(
- queryMap["curated"].first, unittest.equals("$arg_curated"));
- unittest.expect(
- queryMap["keywords"].first, unittest.equals(arg_keywords));
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 = {
@@ -750,14 +750,14 @@
}), true);
res
.list(
- format: arg_format,
- category: arg_category,
- pageToken: arg_pageToken,
maxComplexity: arg_maxComplexity,
- curated: arg_curated,
- keywords: arg_keywords,
pageSize: arg_pageSize,
+ keywords: arg_keywords,
+ pageToken: arg_pageToken,
+ curated: arg_curated,
orderBy: arg_orderBy,
+ category: arg_category,
+ format: arg_format,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListAssetsResponse(response);
@@ -770,11 +770,11 @@
var mock = new HttpServerMock();
api.UsersAssetsResourceApi res = new api.PolyApi(mock).users.assets;
var arg_name = "foo";
- var arg_pageToken = "foo";
+ var arg_orderBy = "foo";
var arg_format = "foo";
var arg_visibility = "foo";
+ var arg_pageToken = "foo";
var arg_pageSize = 42;
- var arg_orderBy = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -808,14 +808,14 @@
}
}
unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ 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));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
- unittest.expect(
- queryMap["orderBy"].first, unittest.equals(arg_orderBy));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -826,11 +826,11 @@
}), true);
res
.list(arg_name,
- pageToken: arg_pageToken,
+ orderBy: arg_orderBy,
format: arg_format,
visibility: arg_visibility,
+ pageToken: arg_pageToken,
pageSize: arg_pageSize,
- orderBy: arg_orderBy,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListUserAssetsResponse(response);
@@ -844,10 +844,10 @@
api.UsersLikedassetsResourceApi res =
new api.PolyApi(mock).users.likedassets;
var arg_name = "foo";
- var arg_orderBy = "foo";
- var arg_format = "foo";
- var arg_pageSize = 42;
var arg_pageToken = "foo";
+ var arg_format = "foo";
+ var arg_orderBy = "foo";
+ var arg_pageSize = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -881,12 +881,12 @@
}
}
unittest.expect(
- queryMap["orderBy"].first, unittest.equals(arg_orderBy));
+ 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 = {
@@ -897,10 +897,10 @@
}), true);
res
.list(arg_name,
- orderBy: arg_orderBy,
- format: arg_format,
- pageSize: arg_pageSize,
pageToken: arg_pageToken,
+ format: arg_format,
+ orderBy: arg_orderBy,
+ pageSize: arg_pageSize,
$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 c02a6f9..b63ead7 100644
--- a/generated/googleapis/test/pubsub/v1_test.dart
+++ b/generated/googleapis/test/pubsub/v1_test.dart
@@ -50,14 +50,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed3500() {
+buildUnnamed3504() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3500(core.List<core.String> o) {
+checkUnnamed3504(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -68,7 +68,7 @@
var o = new api.AcknowledgeRequest();
buildCounterAcknowledgeRequest++;
if (buildCounterAcknowledgeRequest < 3) {
- o.ackIds = buildUnnamed3500();
+ o.ackIds = buildUnnamed3504();
}
buildCounterAcknowledgeRequest--;
return o;
@@ -77,19 +77,19 @@
checkAcknowledgeRequest(api.AcknowledgeRequest o) {
buildCounterAcknowledgeRequest++;
if (buildCounterAcknowledgeRequest < 3) {
- checkUnnamed3500(o.ackIds);
+ checkUnnamed3504(o.ackIds);
}
buildCounterAcknowledgeRequest--;
}
-buildUnnamed3501() {
+buildUnnamed3505() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3501(core.List<core.String> o) {
+checkUnnamed3505(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -102,7 +102,7 @@
if (buildCounterBinding < 3) {
o.bindingId = "foo";
o.condition = buildExpr();
- o.members = buildUnnamed3501();
+ o.members = buildUnnamed3505();
o.role = "foo";
}
buildCounterBinding--;
@@ -114,20 +114,20 @@
if (buildCounterBinding < 3) {
unittest.expect(o.bindingId, unittest.equals('foo'));
checkExpr(o.condition);
- checkUnnamed3501(o.members);
+ checkUnnamed3505(o.members);
unittest.expect(o.role, unittest.equals('foo'));
}
buildCounterBinding--;
}
-buildUnnamed3502() {
+buildUnnamed3506() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3502(core.Map<core.String, core.String> o) {
+checkUnnamed3506(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -138,7 +138,7 @@
var o = new api.CreateSnapshotRequest();
buildCounterCreateSnapshotRequest++;
if (buildCounterCreateSnapshotRequest < 3) {
- o.labels = buildUnnamed3502();
+ o.labels = buildUnnamed3506();
o.subscription = "foo";
}
buildCounterCreateSnapshotRequest--;
@@ -148,7 +148,7 @@
checkCreateSnapshotRequest(api.CreateSnapshotRequest o) {
buildCounterCreateSnapshotRequest++;
if (buildCounterCreateSnapshotRequest < 3) {
- checkUnnamed3502(o.labels);
+ checkUnnamed3506(o.labels);
unittest.expect(o.subscription, unittest.equals('foo'));
}
buildCounterCreateSnapshotRequest--;
@@ -249,14 +249,14 @@
buildCounterExpr--;
}
-buildUnnamed3503() {
+buildUnnamed3507() {
var o = new core.List<api.Snapshot>();
o.add(buildSnapshot());
o.add(buildSnapshot());
return o;
}
-checkUnnamed3503(core.List<api.Snapshot> o) {
+checkUnnamed3507(core.List<api.Snapshot> o) {
unittest.expect(o, unittest.hasLength(2));
checkSnapshot(o[0]);
checkSnapshot(o[1]);
@@ -268,7 +268,7 @@
buildCounterListSnapshotsResponse++;
if (buildCounterListSnapshotsResponse < 3) {
o.nextPageToken = "foo";
- o.snapshots = buildUnnamed3503();
+ o.snapshots = buildUnnamed3507();
}
buildCounterListSnapshotsResponse--;
return o;
@@ -278,19 +278,19 @@
buildCounterListSnapshotsResponse++;
if (buildCounterListSnapshotsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3503(o.snapshots);
+ checkUnnamed3507(o.snapshots);
}
buildCounterListSnapshotsResponse--;
}
-buildUnnamed3504() {
+buildUnnamed3508() {
var o = new core.List<api.Subscription>();
o.add(buildSubscription());
o.add(buildSubscription());
return o;
}
-checkUnnamed3504(core.List<api.Subscription> o) {
+checkUnnamed3508(core.List<api.Subscription> o) {
unittest.expect(o, unittest.hasLength(2));
checkSubscription(o[0]);
checkSubscription(o[1]);
@@ -302,7 +302,7 @@
buildCounterListSubscriptionsResponse++;
if (buildCounterListSubscriptionsResponse < 3) {
o.nextPageToken = "foo";
- o.subscriptions = buildUnnamed3504();
+ o.subscriptions = buildUnnamed3508();
}
buildCounterListSubscriptionsResponse--;
return o;
@@ -312,145 +312,11 @@
buildCounterListSubscriptionsResponse++;
if (buildCounterListSubscriptionsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3504(o.subscriptions);
+ checkUnnamed3508(o.subscriptions);
}
buildCounterListSubscriptionsResponse--;
}
-buildUnnamed3505() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3505(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-core.int buildCounterListTopicSnapshotsResponse = 0;
-buildListTopicSnapshotsResponse() {
- var o = new api.ListTopicSnapshotsResponse();
- buildCounterListTopicSnapshotsResponse++;
- if (buildCounterListTopicSnapshotsResponse < 3) {
- o.nextPageToken = "foo";
- o.snapshots = buildUnnamed3505();
- }
- buildCounterListTopicSnapshotsResponse--;
- return o;
-}
-
-checkListTopicSnapshotsResponse(api.ListTopicSnapshotsResponse o) {
- buildCounterListTopicSnapshotsResponse++;
- if (buildCounterListTopicSnapshotsResponse < 3) {
- unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3505(o.snapshots);
- }
- buildCounterListTopicSnapshotsResponse--;
-}
-
-buildUnnamed3506() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3506(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-core.int buildCounterListTopicSubscriptionsResponse = 0;
-buildListTopicSubscriptionsResponse() {
- var o = new api.ListTopicSubscriptionsResponse();
- buildCounterListTopicSubscriptionsResponse++;
- if (buildCounterListTopicSubscriptionsResponse < 3) {
- o.nextPageToken = "foo";
- o.subscriptions = buildUnnamed3506();
- }
- buildCounterListTopicSubscriptionsResponse--;
- return o;
-}
-
-checkListTopicSubscriptionsResponse(api.ListTopicSubscriptionsResponse o) {
- buildCounterListTopicSubscriptionsResponse++;
- if (buildCounterListTopicSubscriptionsResponse < 3) {
- unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3506(o.subscriptions);
- }
- buildCounterListTopicSubscriptionsResponse--;
-}
-
-buildUnnamed3507() {
- var o = new core.List<api.Topic>();
- o.add(buildTopic());
- o.add(buildTopic());
- return o;
-}
-
-checkUnnamed3507(core.List<api.Topic> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkTopic(o[0]);
- checkTopic(o[1]);
-}
-
-core.int buildCounterListTopicsResponse = 0;
-buildListTopicsResponse() {
- var o = new api.ListTopicsResponse();
- buildCounterListTopicsResponse++;
- if (buildCounterListTopicsResponse < 3) {
- o.nextPageToken = "foo";
- o.topics = buildUnnamed3507();
- }
- buildCounterListTopicsResponse--;
- return o;
-}
-
-checkListTopicsResponse(api.ListTopicsResponse o) {
- buildCounterListTopicsResponse++;
- if (buildCounterListTopicsResponse < 3) {
- unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3507(o.topics);
- }
- buildCounterListTopicsResponse--;
-}
-
-buildUnnamed3508() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed3508(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-core.int buildCounterMessageStoragePolicy = 0;
-buildMessageStoragePolicy() {
- var o = new api.MessageStoragePolicy();
- buildCounterMessageStoragePolicy++;
- if (buildCounterMessageStoragePolicy < 3) {
- o.allowedPersistenceRegions = buildUnnamed3508();
- }
- buildCounterMessageStoragePolicy--;
- return o;
-}
-
-checkMessageStoragePolicy(api.MessageStoragePolicy o) {
- buildCounterMessageStoragePolicy++;
- if (buildCounterMessageStoragePolicy < 3) {
- checkUnnamed3508(o.allowedPersistenceRegions);
- }
- buildCounterMessageStoragePolicy--;
-}
-
buildUnnamed3509() {
var o = new core.List<core.String>();
o.add("foo");
@@ -464,13 +330,147 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+core.int buildCounterListTopicSnapshotsResponse = 0;
+buildListTopicSnapshotsResponse() {
+ var o = new api.ListTopicSnapshotsResponse();
+ buildCounterListTopicSnapshotsResponse++;
+ if (buildCounterListTopicSnapshotsResponse < 3) {
+ o.nextPageToken = "foo";
+ o.snapshots = buildUnnamed3509();
+ }
+ buildCounterListTopicSnapshotsResponse--;
+ return o;
+}
+
+checkListTopicSnapshotsResponse(api.ListTopicSnapshotsResponse o) {
+ buildCounterListTopicSnapshotsResponse++;
+ if (buildCounterListTopicSnapshotsResponse < 3) {
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ checkUnnamed3509(o.snapshots);
+ }
+ buildCounterListTopicSnapshotsResponse--;
+}
+
+buildUnnamed3510() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3510(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+core.int buildCounterListTopicSubscriptionsResponse = 0;
+buildListTopicSubscriptionsResponse() {
+ var o = new api.ListTopicSubscriptionsResponse();
+ buildCounterListTopicSubscriptionsResponse++;
+ if (buildCounterListTopicSubscriptionsResponse < 3) {
+ o.nextPageToken = "foo";
+ o.subscriptions = buildUnnamed3510();
+ }
+ buildCounterListTopicSubscriptionsResponse--;
+ return o;
+}
+
+checkListTopicSubscriptionsResponse(api.ListTopicSubscriptionsResponse o) {
+ buildCounterListTopicSubscriptionsResponse++;
+ if (buildCounterListTopicSubscriptionsResponse < 3) {
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ checkUnnamed3510(o.subscriptions);
+ }
+ buildCounterListTopicSubscriptionsResponse--;
+}
+
+buildUnnamed3511() {
+ var o = new core.List<api.Topic>();
+ o.add(buildTopic());
+ o.add(buildTopic());
+ return o;
+}
+
+checkUnnamed3511(core.List<api.Topic> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkTopic(o[0]);
+ checkTopic(o[1]);
+}
+
+core.int buildCounterListTopicsResponse = 0;
+buildListTopicsResponse() {
+ var o = new api.ListTopicsResponse();
+ buildCounterListTopicsResponse++;
+ if (buildCounterListTopicsResponse < 3) {
+ o.nextPageToken = "foo";
+ o.topics = buildUnnamed3511();
+ }
+ buildCounterListTopicsResponse--;
+ return o;
+}
+
+checkListTopicsResponse(api.ListTopicsResponse o) {
+ buildCounterListTopicsResponse++;
+ if (buildCounterListTopicsResponse < 3) {
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ checkUnnamed3511(o.topics);
+ }
+ buildCounterListTopicsResponse--;
+}
+
+buildUnnamed3512() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3512(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+core.int buildCounterMessageStoragePolicy = 0;
+buildMessageStoragePolicy() {
+ var o = new api.MessageStoragePolicy();
+ buildCounterMessageStoragePolicy++;
+ if (buildCounterMessageStoragePolicy < 3) {
+ o.allowedPersistenceRegions = buildUnnamed3512();
+ }
+ buildCounterMessageStoragePolicy--;
+ return o;
+}
+
+checkMessageStoragePolicy(api.MessageStoragePolicy o) {
+ buildCounterMessageStoragePolicy++;
+ if (buildCounterMessageStoragePolicy < 3) {
+ checkUnnamed3512(o.allowedPersistenceRegions);
+ }
+ buildCounterMessageStoragePolicy--;
+}
+
+buildUnnamed3513() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed3513(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
core.int buildCounterModifyAckDeadlineRequest = 0;
buildModifyAckDeadlineRequest() {
var o = new api.ModifyAckDeadlineRequest();
buildCounterModifyAckDeadlineRequest++;
if (buildCounterModifyAckDeadlineRequest < 3) {
o.ackDeadlineSeconds = 42;
- o.ackIds = buildUnnamed3509();
+ o.ackIds = buildUnnamed3513();
}
buildCounterModifyAckDeadlineRequest--;
return o;
@@ -480,7 +480,7 @@
buildCounterModifyAckDeadlineRequest++;
if (buildCounterModifyAckDeadlineRequest < 3) {
unittest.expect(o.ackDeadlineSeconds, unittest.equals(42));
- checkUnnamed3509(o.ackIds);
+ checkUnnamed3513(o.ackIds);
}
buildCounterModifyAckDeadlineRequest--;
}
@@ -525,14 +525,14 @@
buildCounterOidcToken--;
}
-buildUnnamed3510() {
+buildUnnamed3514() {
var o = new core.List<api.Binding>();
o.add(buildBinding());
o.add(buildBinding());
return o;
}
-checkUnnamed3510(core.List<api.Binding> o) {
+checkUnnamed3514(core.List<api.Binding> o) {
unittest.expect(o, unittest.hasLength(2));
checkBinding(o[0]);
checkBinding(o[1]);
@@ -543,7 +543,7 @@
var o = new api.Policy();
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- o.bindings = buildUnnamed3510();
+ o.bindings = buildUnnamed3514();
o.etag = "foo";
o.version = 42;
}
@@ -554,21 +554,21 @@
checkPolicy(api.Policy o) {
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- checkUnnamed3510(o.bindings);
+ checkUnnamed3514(o.bindings);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals(42));
}
buildCounterPolicy--;
}
-buildUnnamed3511() {
+buildUnnamed3515() {
var o = new core.List<api.PubsubMessage>();
o.add(buildPubsubMessage());
o.add(buildPubsubMessage());
return o;
}
-checkUnnamed3511(core.List<api.PubsubMessage> o) {
+checkUnnamed3515(core.List<api.PubsubMessage> o) {
unittest.expect(o, unittest.hasLength(2));
checkPubsubMessage(o[0]);
checkPubsubMessage(o[1]);
@@ -579,7 +579,7 @@
var o = new api.PublishRequest();
buildCounterPublishRequest++;
if (buildCounterPublishRequest < 3) {
- o.messages = buildUnnamed3511();
+ o.messages = buildUnnamed3515();
}
buildCounterPublishRequest--;
return o;
@@ -588,19 +588,19 @@
checkPublishRequest(api.PublishRequest o) {
buildCounterPublishRequest++;
if (buildCounterPublishRequest < 3) {
- checkUnnamed3511(o.messages);
+ checkUnnamed3515(o.messages);
}
buildCounterPublishRequest--;
}
-buildUnnamed3512() {
+buildUnnamed3516() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3512(core.List<core.String> o) {
+checkUnnamed3516(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -611,7 +611,7 @@
var o = new api.PublishResponse();
buildCounterPublishResponse++;
if (buildCounterPublishResponse < 3) {
- o.messageIds = buildUnnamed3512();
+ o.messageIds = buildUnnamed3516();
}
buildCounterPublishResponse--;
return o;
@@ -620,19 +620,19 @@
checkPublishResponse(api.PublishResponse o) {
buildCounterPublishResponse++;
if (buildCounterPublishResponse < 3) {
- checkUnnamed3512(o.messageIds);
+ checkUnnamed3516(o.messageIds);
}
buildCounterPublishResponse--;
}
-buildUnnamed3513() {
+buildUnnamed3517() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3513(core.Map<core.String, core.String> o) {
+checkUnnamed3517(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -643,7 +643,7 @@
var o = new api.PubsubMessage();
buildCounterPubsubMessage++;
if (buildCounterPubsubMessage < 3) {
- o.attributes = buildUnnamed3513();
+ o.attributes = buildUnnamed3517();
o.data = "foo";
o.messageId = "foo";
o.orderingKey = "foo";
@@ -656,7 +656,7 @@
checkPubsubMessage(api.PubsubMessage o) {
buildCounterPubsubMessage++;
if (buildCounterPubsubMessage < 3) {
- checkUnnamed3513(o.attributes);
+ checkUnnamed3517(o.attributes);
unittest.expect(o.data, unittest.equals('foo'));
unittest.expect(o.messageId, unittest.equals('foo'));
unittest.expect(o.orderingKey, unittest.equals('foo'));
@@ -686,14 +686,14 @@
buildCounterPullRequest--;
}
-buildUnnamed3514() {
+buildUnnamed3518() {
var o = new core.List<api.ReceivedMessage>();
o.add(buildReceivedMessage());
o.add(buildReceivedMessage());
return o;
}
-checkUnnamed3514(core.List<api.ReceivedMessage> o) {
+checkUnnamed3518(core.List<api.ReceivedMessage> o) {
unittest.expect(o, unittest.hasLength(2));
checkReceivedMessage(o[0]);
checkReceivedMessage(o[1]);
@@ -704,7 +704,7 @@
var o = new api.PullResponse();
buildCounterPullResponse++;
if (buildCounterPullResponse < 3) {
- o.receivedMessages = buildUnnamed3514();
+ o.receivedMessages = buildUnnamed3518();
}
buildCounterPullResponse--;
return o;
@@ -713,19 +713,19 @@
checkPullResponse(api.PullResponse o) {
buildCounterPullResponse++;
if (buildCounterPullResponse < 3) {
- checkUnnamed3514(o.receivedMessages);
+ checkUnnamed3518(o.receivedMessages);
}
buildCounterPullResponse--;
}
-buildUnnamed3515() {
+buildUnnamed3519() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3515(core.Map<core.String, core.String> o) {
+checkUnnamed3519(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -736,7 +736,7 @@
var o = new api.PushConfig();
buildCounterPushConfig++;
if (buildCounterPushConfig < 3) {
- o.attributes = buildUnnamed3515();
+ o.attributes = buildUnnamed3519();
o.oidcToken = buildOidcToken();
o.pushEndpoint = "foo";
}
@@ -747,7 +747,7 @@
checkPushConfig(api.PushConfig o) {
buildCounterPushConfig++;
if (buildCounterPushConfig < 3) {
- checkUnnamed3515(o.attributes);
+ checkUnnamed3519(o.attributes);
checkOidcToken(o.oidcToken);
unittest.expect(o.pushEndpoint, unittest.equals('foo'));
}
@@ -853,14 +853,14 @@
buildCounterSetIamPolicyRequest--;
}
-buildUnnamed3516() {
+buildUnnamed3520() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3516(core.Map<core.String, core.String> o) {
+checkUnnamed3520(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -872,7 +872,7 @@
buildCounterSnapshot++;
if (buildCounterSnapshot < 3) {
o.expireTime = "foo";
- o.labels = buildUnnamed3516();
+ o.labels = buildUnnamed3520();
o.name = "foo";
o.topic = "foo";
}
@@ -884,21 +884,21 @@
buildCounterSnapshot++;
if (buildCounterSnapshot < 3) {
unittest.expect(o.expireTime, unittest.equals('foo'));
- checkUnnamed3516(o.labels);
+ checkUnnamed3520(o.labels);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.topic, unittest.equals('foo'));
}
buildCounterSnapshot--;
}
-buildUnnamed3517() {
+buildUnnamed3521() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3517(core.Map<core.String, core.String> o) {
+checkUnnamed3521(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -915,7 +915,7 @@
o.enableMessageOrdering = true;
o.expirationPolicy = buildExpirationPolicy();
o.filter = "foo";
- o.labels = buildUnnamed3517();
+ o.labels = buildUnnamed3521();
o.messageRetentionDuration = "foo";
o.name = "foo";
o.pushConfig = buildPushConfig();
@@ -936,7 +936,7 @@
unittest.expect(o.enableMessageOrdering, unittest.isTrue);
checkExpirationPolicy(o.expirationPolicy);
unittest.expect(o.filter, unittest.equals('foo'));
- checkUnnamed3517(o.labels);
+ checkUnnamed3521(o.labels);
unittest.expect(o.messageRetentionDuration, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
checkPushConfig(o.pushConfig);
@@ -947,14 +947,14 @@
buildCounterSubscription--;
}
-buildUnnamed3518() {
+buildUnnamed3522() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3518(core.List<core.String> o) {
+checkUnnamed3522(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -965,7 +965,7 @@
var o = new api.TestIamPermissionsRequest();
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- o.permissions = buildUnnamed3518();
+ o.permissions = buildUnnamed3522();
}
buildCounterTestIamPermissionsRequest--;
return o;
@@ -974,19 +974,19 @@
checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) {
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- checkUnnamed3518(o.permissions);
+ checkUnnamed3522(o.permissions);
}
buildCounterTestIamPermissionsRequest--;
}
-buildUnnamed3519() {
+buildUnnamed3523() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3519(core.List<core.String> o) {
+checkUnnamed3523(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -997,7 +997,7 @@
var o = new api.TestIamPermissionsResponse();
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- o.permissions = buildUnnamed3519();
+ o.permissions = buildUnnamed3523();
}
buildCounterTestIamPermissionsResponse--;
return o;
@@ -1006,19 +1006,19 @@
checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) {
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- checkUnnamed3519(o.permissions);
+ checkUnnamed3523(o.permissions);
}
buildCounterTestIamPermissionsResponse--;
}
-buildUnnamed3520() {
+buildUnnamed3524() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3520(core.Map<core.String, core.String> o) {
+checkUnnamed3524(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -1030,7 +1030,7 @@
buildCounterTopic++;
if (buildCounterTopic < 3) {
o.kmsKeyName = "foo";
- o.labels = buildUnnamed3520();
+ o.labels = buildUnnamed3524();
o.messageStoragePolicy = buildMessageStoragePolicy();
o.name = "foo";
}
@@ -1042,7 +1042,7 @@
buildCounterTopic++;
if (buildCounterTopic < 3) {
unittest.expect(o.kmsKeyName, unittest.equals('foo'));
- checkUnnamed3520(o.labels);
+ checkUnnamed3524(o.labels);
checkMessageStoragePolicy(o.messageStoragePolicy);
unittest.expect(o.name, unittest.equals('foo'));
}
@@ -2192,8 +2192,8 @@
api.ProjectsSubscriptionsResourceApi res =
new api.PubsubApi(mock).projects.subscriptions;
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;
@@ -2226,10 +2226,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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 = {
@@ -2240,8 +2240,8 @@
}), true);
res
.list(arg_project,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListSubscriptionsResponse(response);
diff --git a/generated/googleapis/test/recommender/v1_test.dart b/generated/googleapis/test/recommender/v1_test.dart
index 994d6ff..ce978c4 100644
--- a/generated/googleapis/test/recommender/v1_test.dart
+++ b/generated/googleapis/test/recommender/v1_test.dart
@@ -93,7 +93,7 @@
buildCounterGoogleCloudRecommenderV1Impact--;
}
-buildUnnamed5279() {
+buildUnnamed5255() {
var o = new core
.List<api.GoogleCloudRecommenderV1InsightRecommendationReference>();
o.add(buildGoogleCloudRecommenderV1InsightRecommendationReference());
@@ -101,14 +101,14 @@
return o;
}
-checkUnnamed5279(
+checkUnnamed5255(
core.List<api.GoogleCloudRecommenderV1InsightRecommendationReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudRecommenderV1InsightRecommendationReference(o[0]);
checkGoogleCloudRecommenderV1InsightRecommendationReference(o[1]);
}
-buildUnnamed5280() {
+buildUnnamed5256() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -123,7 +123,7 @@
return o;
}
-checkUnnamed5280(core.Map<core.String, core.Object> o) {
+checkUnnamed5256(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o["x"]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -137,14 +137,14 @@
unittest.expect(casted2["string"], unittest.equals('foo'));
}
-buildUnnamed5281() {
+buildUnnamed5257() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5281(core.List<core.String> o) {
+checkUnnamed5257(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -155,9 +155,9 @@
var o = new api.GoogleCloudRecommenderV1Insight();
buildCounterGoogleCloudRecommenderV1Insight++;
if (buildCounterGoogleCloudRecommenderV1Insight < 3) {
- o.associatedRecommendations = buildUnnamed5279();
+ o.associatedRecommendations = buildUnnamed5255();
o.category = "foo";
- o.content = buildUnnamed5280();
+ o.content = buildUnnamed5256();
o.description = "foo";
o.etag = "foo";
o.insightSubtype = "foo";
@@ -165,7 +165,7 @@
o.name = "foo";
o.observationPeriod = "foo";
o.stateInfo = buildGoogleCloudRecommenderV1InsightStateInfo();
- o.targetResources = buildUnnamed5281();
+ o.targetResources = buildUnnamed5257();
}
buildCounterGoogleCloudRecommenderV1Insight--;
return o;
@@ -174,9 +174,9 @@
checkGoogleCloudRecommenderV1Insight(api.GoogleCloudRecommenderV1Insight o) {
buildCounterGoogleCloudRecommenderV1Insight++;
if (buildCounterGoogleCloudRecommenderV1Insight < 3) {
- checkUnnamed5279(o.associatedRecommendations);
+ checkUnnamed5255(o.associatedRecommendations);
unittest.expect(o.category, unittest.equals('foo'));
- checkUnnamed5280(o.content);
+ checkUnnamed5256(o.content);
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.insightSubtype, unittest.equals('foo'));
@@ -184,7 +184,7 @@
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.observationPeriod, unittest.equals('foo'));
checkGoogleCloudRecommenderV1InsightStateInfo(o.stateInfo);
- checkUnnamed5281(o.targetResources);
+ checkUnnamed5257(o.targetResources);
}
buildCounterGoogleCloudRecommenderV1Insight--;
}
@@ -209,14 +209,14 @@
buildCounterGoogleCloudRecommenderV1InsightRecommendationReference--;
}
-buildUnnamed5282() {
+buildUnnamed5258() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed5282(core.Map<core.String, core.String> o) {
+checkUnnamed5258(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -228,7 +228,7 @@
buildCounterGoogleCloudRecommenderV1InsightStateInfo++;
if (buildCounterGoogleCloudRecommenderV1InsightStateInfo < 3) {
o.state = "foo";
- o.stateMetadata = buildUnnamed5282();
+ o.stateMetadata = buildUnnamed5258();
}
buildCounterGoogleCloudRecommenderV1InsightStateInfo--;
return o;
@@ -239,19 +239,19 @@
buildCounterGoogleCloudRecommenderV1InsightStateInfo++;
if (buildCounterGoogleCloudRecommenderV1InsightStateInfo < 3) {
unittest.expect(o.state, unittest.equals('foo'));
- checkUnnamed5282(o.stateMetadata);
+ checkUnnamed5258(o.stateMetadata);
}
buildCounterGoogleCloudRecommenderV1InsightStateInfo--;
}
-buildUnnamed5283() {
+buildUnnamed5259() {
var o = new core.List<api.GoogleCloudRecommenderV1Insight>();
o.add(buildGoogleCloudRecommenderV1Insight());
o.add(buildGoogleCloudRecommenderV1Insight());
return o;
}
-checkUnnamed5283(core.List<api.GoogleCloudRecommenderV1Insight> o) {
+checkUnnamed5259(core.List<api.GoogleCloudRecommenderV1Insight> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudRecommenderV1Insight(o[0]);
checkGoogleCloudRecommenderV1Insight(o[1]);
@@ -262,7 +262,7 @@
var o = new api.GoogleCloudRecommenderV1ListInsightsResponse();
buildCounterGoogleCloudRecommenderV1ListInsightsResponse++;
if (buildCounterGoogleCloudRecommenderV1ListInsightsResponse < 3) {
- o.insights = buildUnnamed5283();
+ o.insights = buildUnnamed5259();
o.nextPageToken = "foo";
}
buildCounterGoogleCloudRecommenderV1ListInsightsResponse--;
@@ -273,20 +273,20 @@
api.GoogleCloudRecommenderV1ListInsightsResponse o) {
buildCounterGoogleCloudRecommenderV1ListInsightsResponse++;
if (buildCounterGoogleCloudRecommenderV1ListInsightsResponse < 3) {
- checkUnnamed5283(o.insights);
+ checkUnnamed5259(o.insights);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterGoogleCloudRecommenderV1ListInsightsResponse--;
}
-buildUnnamed5284() {
+buildUnnamed5260() {
var o = new core.List<api.GoogleCloudRecommenderV1Recommendation>();
o.add(buildGoogleCloudRecommenderV1Recommendation());
o.add(buildGoogleCloudRecommenderV1Recommendation());
return o;
}
-checkUnnamed5284(core.List<api.GoogleCloudRecommenderV1Recommendation> o) {
+checkUnnamed5260(core.List<api.GoogleCloudRecommenderV1Recommendation> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudRecommenderV1Recommendation(o[0]);
checkGoogleCloudRecommenderV1Recommendation(o[1]);
@@ -298,7 +298,7 @@
buildCounterGoogleCloudRecommenderV1ListRecommendationsResponse++;
if (buildCounterGoogleCloudRecommenderV1ListRecommendationsResponse < 3) {
o.nextPageToken = "foo";
- o.recommendations = buildUnnamed5284();
+ o.recommendations = buildUnnamed5260();
}
buildCounterGoogleCloudRecommenderV1ListRecommendationsResponse--;
return o;
@@ -309,19 +309,19 @@
buildCounterGoogleCloudRecommenderV1ListRecommendationsResponse++;
if (buildCounterGoogleCloudRecommenderV1ListRecommendationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed5284(o.recommendations);
+ checkUnnamed5260(o.recommendations);
}
buildCounterGoogleCloudRecommenderV1ListRecommendationsResponse--;
}
-buildUnnamed5285() {
+buildUnnamed5261() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed5285(core.Map<core.String, core.String> o) {
+checkUnnamed5261(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -333,7 +333,7 @@
buildCounterGoogleCloudRecommenderV1MarkInsightAcceptedRequest++;
if (buildCounterGoogleCloudRecommenderV1MarkInsightAcceptedRequest < 3) {
o.etag = "foo";
- o.stateMetadata = buildUnnamed5285();
+ o.stateMetadata = buildUnnamed5261();
}
buildCounterGoogleCloudRecommenderV1MarkInsightAcceptedRequest--;
return o;
@@ -344,19 +344,19 @@
buildCounterGoogleCloudRecommenderV1MarkInsightAcceptedRequest++;
if (buildCounterGoogleCloudRecommenderV1MarkInsightAcceptedRequest < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed5285(o.stateMetadata);
+ checkUnnamed5261(o.stateMetadata);
}
buildCounterGoogleCloudRecommenderV1MarkInsightAcceptedRequest--;
}
-buildUnnamed5286() {
+buildUnnamed5262() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed5286(core.Map<core.String, core.String> o) {
+checkUnnamed5262(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -370,7 +370,7 @@
if (buildCounterGoogleCloudRecommenderV1MarkRecommendationClaimedRequest <
3) {
o.etag = "foo";
- o.stateMetadata = buildUnnamed5286();
+ o.stateMetadata = buildUnnamed5262();
}
buildCounterGoogleCloudRecommenderV1MarkRecommendationClaimedRequest--;
return o;
@@ -382,19 +382,19 @@
if (buildCounterGoogleCloudRecommenderV1MarkRecommendationClaimedRequest <
3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed5286(o.stateMetadata);
+ checkUnnamed5262(o.stateMetadata);
}
buildCounterGoogleCloudRecommenderV1MarkRecommendationClaimedRequest--;
}
-buildUnnamed5287() {
+buildUnnamed5263() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed5287(core.Map<core.String, core.String> o) {
+checkUnnamed5263(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -407,7 +407,7 @@
buildCounterGoogleCloudRecommenderV1MarkRecommendationFailedRequest++;
if (buildCounterGoogleCloudRecommenderV1MarkRecommendationFailedRequest < 3) {
o.etag = "foo";
- o.stateMetadata = buildUnnamed5287();
+ o.stateMetadata = buildUnnamed5263();
}
buildCounterGoogleCloudRecommenderV1MarkRecommendationFailedRequest--;
return o;
@@ -418,19 +418,19 @@
buildCounterGoogleCloudRecommenderV1MarkRecommendationFailedRequest++;
if (buildCounterGoogleCloudRecommenderV1MarkRecommendationFailedRequest < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed5287(o.stateMetadata);
+ checkUnnamed5263(o.stateMetadata);
}
buildCounterGoogleCloudRecommenderV1MarkRecommendationFailedRequest--;
}
-buildUnnamed5288() {
+buildUnnamed5264() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed5288(core.Map<core.String, core.String> o) {
+checkUnnamed5264(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -444,7 +444,7 @@
if (buildCounterGoogleCloudRecommenderV1MarkRecommendationSucceededRequest <
3) {
o.etag = "foo";
- o.stateMetadata = buildUnnamed5288();
+ o.stateMetadata = buildUnnamed5264();
}
buildCounterGoogleCloudRecommenderV1MarkRecommendationSucceededRequest--;
return o;
@@ -456,12 +456,12 @@
if (buildCounterGoogleCloudRecommenderV1MarkRecommendationSucceededRequest <
3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed5288(o.stateMetadata);
+ checkUnnamed5264(o.stateMetadata);
}
buildCounterGoogleCloudRecommenderV1MarkRecommendationSucceededRequest--;
}
-buildUnnamed5289() {
+buildUnnamed5265() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -476,7 +476,7 @@
return o;
}
-checkUnnamed5289(core.Map<core.String, core.Object> o) {
+checkUnnamed5265(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted3 = (o["x"]) as core.Map;
unittest.expect(casted3, unittest.hasLength(3));
@@ -490,14 +490,14 @@
unittest.expect(casted4["string"], unittest.equals('foo'));
}
-buildUnnamed5290() {
+buildUnnamed5266() {
var o = new core.Map<core.String, api.GoogleCloudRecommenderV1ValueMatcher>();
o["x"] = buildGoogleCloudRecommenderV1ValueMatcher();
o["y"] = buildGoogleCloudRecommenderV1ValueMatcher();
return o;
}
-checkUnnamed5290(
+checkUnnamed5266(
core.Map<core.String, api.GoogleCloudRecommenderV1ValueMatcher> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudRecommenderV1ValueMatcher(o["x"]);
@@ -511,8 +511,8 @@
if (buildCounterGoogleCloudRecommenderV1Operation < 3) {
o.action = "foo";
o.path = "foo";
- o.pathFilters = buildUnnamed5289();
- o.pathValueMatchers = buildUnnamed5290();
+ o.pathFilters = buildUnnamed5265();
+ o.pathValueMatchers = buildUnnamed5266();
o.resource = "foo";
o.resourceType = "foo";
o.sourcePath = "foo";
@@ -534,8 +534,8 @@
if (buildCounterGoogleCloudRecommenderV1Operation < 3) {
unittest.expect(o.action, unittest.equals('foo'));
unittest.expect(o.path, unittest.equals('foo'));
- checkUnnamed5289(o.pathFilters);
- checkUnnamed5290(o.pathValueMatchers);
+ checkUnnamed5265(o.pathFilters);
+ checkUnnamed5266(o.pathValueMatchers);
unittest.expect(o.resource, unittest.equals('foo'));
unittest.expect(o.resourceType, unittest.equals('foo'));
unittest.expect(o.sourcePath, unittest.equals('foo'));
@@ -550,14 +550,14 @@
buildCounterGoogleCloudRecommenderV1Operation--;
}
-buildUnnamed5291() {
+buildUnnamed5267() {
var o = new core.List<api.GoogleCloudRecommenderV1Operation>();
o.add(buildGoogleCloudRecommenderV1Operation());
o.add(buildGoogleCloudRecommenderV1Operation());
return o;
}
-checkUnnamed5291(core.List<api.GoogleCloudRecommenderV1Operation> o) {
+checkUnnamed5267(core.List<api.GoogleCloudRecommenderV1Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudRecommenderV1Operation(o[0]);
checkGoogleCloudRecommenderV1Operation(o[1]);
@@ -568,7 +568,7 @@
var o = new api.GoogleCloudRecommenderV1OperationGroup();
buildCounterGoogleCloudRecommenderV1OperationGroup++;
if (buildCounterGoogleCloudRecommenderV1OperationGroup < 3) {
- o.operations = buildUnnamed5291();
+ o.operations = buildUnnamed5267();
}
buildCounterGoogleCloudRecommenderV1OperationGroup--;
return o;
@@ -578,25 +578,25 @@
api.GoogleCloudRecommenderV1OperationGroup o) {
buildCounterGoogleCloudRecommenderV1OperationGroup++;
if (buildCounterGoogleCloudRecommenderV1OperationGroup < 3) {
- checkUnnamed5291(o.operations);
+ checkUnnamed5267(o.operations);
}
buildCounterGoogleCloudRecommenderV1OperationGroup--;
}
-buildUnnamed5292() {
+buildUnnamed5268() {
var o = new core.List<api.GoogleCloudRecommenderV1Impact>();
o.add(buildGoogleCloudRecommenderV1Impact());
o.add(buildGoogleCloudRecommenderV1Impact());
return o;
}
-checkUnnamed5292(core.List<api.GoogleCloudRecommenderV1Impact> o) {
+checkUnnamed5268(core.List<api.GoogleCloudRecommenderV1Impact> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudRecommenderV1Impact(o[0]);
checkGoogleCloudRecommenderV1Impact(o[1]);
}
-buildUnnamed5293() {
+buildUnnamed5269() {
var o = new core
.List<api.GoogleCloudRecommenderV1RecommendationInsightReference>();
o.add(buildGoogleCloudRecommenderV1RecommendationInsightReference());
@@ -604,7 +604,7 @@
return o;
}
-checkUnnamed5293(
+checkUnnamed5269(
core.List<api.GoogleCloudRecommenderV1RecommendationInsightReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudRecommenderV1RecommendationInsightReference(o[0]);
@@ -616,8 +616,8 @@
var o = new api.GoogleCloudRecommenderV1Recommendation();
buildCounterGoogleCloudRecommenderV1Recommendation++;
if (buildCounterGoogleCloudRecommenderV1Recommendation < 3) {
- o.additionalImpact = buildUnnamed5292();
- o.associatedInsights = buildUnnamed5293();
+ o.additionalImpact = buildUnnamed5268();
+ o.associatedInsights = buildUnnamed5269();
o.content = buildGoogleCloudRecommenderV1RecommendationContent();
o.description = "foo";
o.etag = "foo";
@@ -635,8 +635,8 @@
api.GoogleCloudRecommenderV1Recommendation o) {
buildCounterGoogleCloudRecommenderV1Recommendation++;
if (buildCounterGoogleCloudRecommenderV1Recommendation < 3) {
- checkUnnamed5292(o.additionalImpact);
- checkUnnamed5293(o.associatedInsights);
+ checkUnnamed5268(o.additionalImpact);
+ checkUnnamed5269(o.associatedInsights);
checkGoogleCloudRecommenderV1RecommendationContent(o.content);
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.etag, unittest.equals('foo'));
@@ -649,14 +649,14 @@
buildCounterGoogleCloudRecommenderV1Recommendation--;
}
-buildUnnamed5294() {
+buildUnnamed5270() {
var o = new core.List<api.GoogleCloudRecommenderV1OperationGroup>();
o.add(buildGoogleCloudRecommenderV1OperationGroup());
o.add(buildGoogleCloudRecommenderV1OperationGroup());
return o;
}
-checkUnnamed5294(core.List<api.GoogleCloudRecommenderV1OperationGroup> o) {
+checkUnnamed5270(core.List<api.GoogleCloudRecommenderV1OperationGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudRecommenderV1OperationGroup(o[0]);
checkGoogleCloudRecommenderV1OperationGroup(o[1]);
@@ -667,7 +667,7 @@
var o = new api.GoogleCloudRecommenderV1RecommendationContent();
buildCounterGoogleCloudRecommenderV1RecommendationContent++;
if (buildCounterGoogleCloudRecommenderV1RecommendationContent < 3) {
- o.operationGroups = buildUnnamed5294();
+ o.operationGroups = buildUnnamed5270();
}
buildCounterGoogleCloudRecommenderV1RecommendationContent--;
return o;
@@ -677,7 +677,7 @@
api.GoogleCloudRecommenderV1RecommendationContent o) {
buildCounterGoogleCloudRecommenderV1RecommendationContent++;
if (buildCounterGoogleCloudRecommenderV1RecommendationContent < 3) {
- checkUnnamed5294(o.operationGroups);
+ checkUnnamed5270(o.operationGroups);
}
buildCounterGoogleCloudRecommenderV1RecommendationContent--;
}
@@ -702,14 +702,14 @@
buildCounterGoogleCloudRecommenderV1RecommendationInsightReference--;
}
-buildUnnamed5295() {
+buildUnnamed5271() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed5295(core.Map<core.String, core.String> o) {
+checkUnnamed5271(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -721,7 +721,7 @@
buildCounterGoogleCloudRecommenderV1RecommendationStateInfo++;
if (buildCounterGoogleCloudRecommenderV1RecommendationStateInfo < 3) {
o.state = "foo";
- o.stateMetadata = buildUnnamed5295();
+ o.stateMetadata = buildUnnamed5271();
}
buildCounterGoogleCloudRecommenderV1RecommendationStateInfo--;
return o;
@@ -732,7 +732,7 @@
buildCounterGoogleCloudRecommenderV1RecommendationStateInfo++;
if (buildCounterGoogleCloudRecommenderV1RecommendationStateInfo < 3) {
unittest.expect(o.state, unittest.equals('foo'));
- checkUnnamed5295(o.stateMetadata);
+ checkUnnamed5271(o.stateMetadata);
}
buildCounterGoogleCloudRecommenderV1RecommendationStateInfo--;
}
@@ -1025,9 +1025,9 @@
api.ProjectsLocationsInsightTypesInsightsResourceApi res =
new api.RecommenderApi(mock).projects.locations.insightTypes.insights;
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;
@@ -1060,11 +1060,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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 = {
@@ -1076,9 +1076,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) {
checkGoogleCloudRecommenderV1ListInsightsResponse(response);
@@ -1213,9 +1213,9 @@
.recommenders
.recommendations;
var arg_parent = "foo";
+ var arg_filter = "foo";
var arg_pageToken = "foo";
var arg_pageSize = 42;
- var arg_filter = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1248,11 +1248,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ 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["filter"].first, unittest.equals(arg_filter));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1264,9 +1264,9 @@
}), true);
res
.list(arg_parent,
+ filter: arg_filter,
pageToken: arg_pageToken,
pageSize: arg_pageSize,
- filter: arg_filter,
$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 5537231..36b9200 100644
--- a/generated/googleapis/test/redis/v1_test.dart
+++ b/generated/googleapis/test/redis/v1_test.dart
@@ -141,14 +141,14 @@
buildCounterGcsSource--;
}
-buildUnnamed1430() {
+buildUnnamed1431() {
var o = new core.Map<core.String, api.GoogleCloudRedisV1ZoneMetadata>();
o["x"] = buildGoogleCloudRedisV1ZoneMetadata();
o["y"] = buildGoogleCloudRedisV1ZoneMetadata();
return o;
}
-checkUnnamed1430(core.Map<core.String, api.GoogleCloudRedisV1ZoneMetadata> o) {
+checkUnnamed1431(core.Map<core.String, api.GoogleCloudRedisV1ZoneMetadata> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudRedisV1ZoneMetadata(o["x"]);
checkGoogleCloudRedisV1ZoneMetadata(o["y"]);
@@ -159,7 +159,7 @@
var o = new api.GoogleCloudRedisV1LocationMetadata();
buildCounterGoogleCloudRedisV1LocationMetadata++;
if (buildCounterGoogleCloudRedisV1LocationMetadata < 3) {
- o.availableZones = buildUnnamed1430();
+ o.availableZones = buildUnnamed1431();
}
buildCounterGoogleCloudRedisV1LocationMetadata--;
return o;
@@ -169,7 +169,7 @@
api.GoogleCloudRedisV1LocationMetadata o) {
buildCounterGoogleCloudRedisV1LocationMetadata++;
if (buildCounterGoogleCloudRedisV1LocationMetadata < 3) {
- checkUnnamed1430(o.availableZones);
+ checkUnnamed1431(o.availableZones);
}
buildCounterGoogleCloudRedisV1LocationMetadata--;
}
@@ -259,19 +259,6 @@
buildCounterInputConfig--;
}
-buildUnnamed1431() {
- var o = new core.Map<core.String, core.String>();
- o["x"] = "foo";
- o["y"] = "foo";
- return o;
-}
-
-checkUnnamed1431(core.Map<core.String, core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o["x"], unittest.equals('foo'));
- unittest.expect(o["y"], unittest.equals('foo'));
-}
-
buildUnnamed1432() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
@@ -285,6 +272,19 @@
unittest.expect(o["y"], unittest.equals('foo'));
}
+buildUnnamed1433() {
+ var o = new core.Map<core.String, core.String>();
+ o["x"] = "foo";
+ o["y"] = "foo";
+ return o;
+}
+
+checkUnnamed1433(core.Map<core.String, core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o["x"], unittest.equals('foo'));
+ unittest.expect(o["y"], unittest.equals('foo'));
+}
+
core.int buildCounterInstance = 0;
buildInstance() {
var o = new api.Instance();
@@ -297,13 +297,13 @@
o.currentLocationId = "foo";
o.displayName = "foo";
o.host = "foo";
- o.labels = buildUnnamed1431();
+ o.labels = buildUnnamed1432();
o.locationId = "foo";
o.memorySizeGb = 42;
o.name = "foo";
o.persistenceIamIdentity = "foo";
o.port = 42;
- o.redisConfigs = buildUnnamed1432();
+ o.redisConfigs = buildUnnamed1433();
o.redisVersion = "foo";
o.reservedIpRange = "foo";
o.state = "foo";
@@ -324,13 +324,13 @@
unittest.expect(o.currentLocationId, unittest.equals('foo'));
unittest.expect(o.displayName, unittest.equals('foo'));
unittest.expect(o.host, unittest.equals('foo'));
- checkUnnamed1431(o.labels);
+ checkUnnamed1432(o.labels);
unittest.expect(o.locationId, unittest.equals('foo'));
unittest.expect(o.memorySizeGb, unittest.equals(42));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.persistenceIamIdentity, unittest.equals('foo'));
unittest.expect(o.port, unittest.equals(42));
- checkUnnamed1432(o.redisConfigs);
+ checkUnnamed1433(o.redisConfigs);
unittest.expect(o.redisVersion, unittest.equals('foo'));
unittest.expect(o.reservedIpRange, unittest.equals('foo'));
unittest.expect(o.state, unittest.equals('foo'));
@@ -340,27 +340,27 @@
buildCounterInstance--;
}
-buildUnnamed1433() {
+buildUnnamed1434() {
var o = new core.List<api.Instance>();
o.add(buildInstance());
o.add(buildInstance());
return o;
}
-checkUnnamed1433(core.List<api.Instance> o) {
+checkUnnamed1434(core.List<api.Instance> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstance(o[0]);
checkInstance(o[1]);
}
-buildUnnamed1434() {
+buildUnnamed1435() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1434(core.List<core.String> o) {
+checkUnnamed1435(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -371,9 +371,9 @@
var o = new api.ListInstancesResponse();
buildCounterListInstancesResponse++;
if (buildCounterListInstancesResponse < 3) {
- o.instances = buildUnnamed1433();
+ o.instances = buildUnnamed1434();
o.nextPageToken = "foo";
- o.unreachable = buildUnnamed1434();
+ o.unreachable = buildUnnamed1435();
}
buildCounterListInstancesResponse--;
return o;
@@ -382,21 +382,21 @@
checkListInstancesResponse(api.ListInstancesResponse o) {
buildCounterListInstancesResponse++;
if (buildCounterListInstancesResponse < 3) {
- checkUnnamed1433(o.instances);
+ checkUnnamed1434(o.instances);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1434(o.unreachable);
+ checkUnnamed1435(o.unreachable);
}
buildCounterListInstancesResponse--;
}
-buildUnnamed1435() {
+buildUnnamed1436() {
var o = new core.List<api.Location>();
o.add(buildLocation());
o.add(buildLocation());
return o;
}
-checkUnnamed1435(core.List<api.Location> o) {
+checkUnnamed1436(core.List<api.Location> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocation(o[0]);
checkLocation(o[1]);
@@ -407,7 +407,7 @@
var o = new api.ListLocationsResponse();
buildCounterListLocationsResponse++;
if (buildCounterListLocationsResponse < 3) {
- o.locations = buildUnnamed1435();
+ o.locations = buildUnnamed1436();
o.nextPageToken = "foo";
}
buildCounterListLocationsResponse--;
@@ -417,20 +417,20 @@
checkListLocationsResponse(api.ListLocationsResponse o) {
buildCounterListLocationsResponse++;
if (buildCounterListLocationsResponse < 3) {
- checkUnnamed1435(o.locations);
+ checkUnnamed1436(o.locations);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListLocationsResponse--;
}
-buildUnnamed1436() {
+buildUnnamed1437() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed1436(core.List<api.Operation> o) {
+checkUnnamed1437(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -442,7 +442,7 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
o.nextPageToken = "foo";
- o.operations = buildUnnamed1436();
+ o.operations = buildUnnamed1437();
}
buildCounterListOperationsResponse--;
return o;
@@ -452,80 +452,24 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1436(o.operations);
+ checkUnnamed1437(o.operations);
}
buildCounterListOperationsResponse--;
}
-buildUnnamed1437() {
+buildUnnamed1438() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1437(core.Map<core.String, core.String> o) {
+checkUnnamed1438(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed1438() {
- var o = new core.Map<core.String, core.Object>();
- o["x"] = {
- 'list': [1, 2, 3],
- 'bool': true,
- 'string': 'foo'
- };
- o["y"] = {
- 'list': [1, 2, 3],
- 'bool': true,
- 'string': 'foo'
- };
- return o;
-}
-
-checkUnnamed1438(core.Map<core.String, core.Object> o) {
- unittest.expect(o, unittest.hasLength(2));
- var casted1 = (o["x"]) as core.Map;
- unittest.expect(casted1, unittest.hasLength(3));
- unittest.expect(casted1["list"], unittest.equals([1, 2, 3]));
- unittest.expect(casted1["bool"], unittest.equals(true));
- unittest.expect(casted1["string"], unittest.equals('foo'));
- var casted2 = (o["y"]) as core.Map;
- unittest.expect(casted2, unittest.hasLength(3));
- unittest.expect(casted2["list"], unittest.equals([1, 2, 3]));
- unittest.expect(casted2["bool"], unittest.equals(true));
- unittest.expect(casted2["string"], unittest.equals('foo'));
-}
-
-core.int buildCounterLocation = 0;
-buildLocation() {
- var o = new api.Location();
- buildCounterLocation++;
- if (buildCounterLocation < 3) {
- o.displayName = "foo";
- o.labels = buildUnnamed1437();
- o.locationId = "foo";
- o.metadata = buildUnnamed1438();
- o.name = "foo";
- }
- buildCounterLocation--;
- return o;
-}
-
-checkLocation(api.Location o) {
- buildCounterLocation++;
- if (buildCounterLocation < 3) {
- unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed1437(o.labels);
- unittest.expect(o.locationId, unittest.equals('foo'));
- checkUnnamed1438(o.metadata);
- unittest.expect(o.name, unittest.equals('foo'));
- }
- buildCounterLocation--;
-}
-
buildUnnamed1439() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
@@ -543,16 +487,43 @@
checkUnnamed1439(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
- var casted3 = (o["x"]) as core.Map;
- unittest.expect(casted3, unittest.hasLength(3));
- unittest.expect(casted3["list"], unittest.equals([1, 2, 3]));
- unittest.expect(casted3["bool"], unittest.equals(true));
- unittest.expect(casted3["string"], unittest.equals('foo'));
- var casted4 = (o["y"]) as core.Map;
- unittest.expect(casted4, unittest.hasLength(3));
- unittest.expect(casted4["list"], unittest.equals([1, 2, 3]));
- unittest.expect(casted4["bool"], unittest.equals(true));
- unittest.expect(casted4["string"], unittest.equals('foo'));
+ var casted1 = (o["x"]) as core.Map;
+ unittest.expect(casted1, unittest.hasLength(3));
+ unittest.expect(casted1["list"], unittest.equals([1, 2, 3]));
+ unittest.expect(casted1["bool"], unittest.equals(true));
+ unittest.expect(casted1["string"], unittest.equals('foo'));
+ var casted2 = (o["y"]) as core.Map;
+ unittest.expect(casted2, unittest.hasLength(3));
+ unittest.expect(casted2["list"], unittest.equals([1, 2, 3]));
+ unittest.expect(casted2["bool"], unittest.equals(true));
+ unittest.expect(casted2["string"], unittest.equals('foo'));
+}
+
+core.int buildCounterLocation = 0;
+buildLocation() {
+ var o = new api.Location();
+ buildCounterLocation++;
+ if (buildCounterLocation < 3) {
+ o.displayName = "foo";
+ o.labels = buildUnnamed1438();
+ o.locationId = "foo";
+ o.metadata = buildUnnamed1439();
+ o.name = "foo";
+ }
+ buildCounterLocation--;
+ return o;
+}
+
+checkLocation(api.Location o) {
+ buildCounterLocation++;
+ if (buildCounterLocation < 3) {
+ unittest.expect(o.displayName, unittest.equals('foo'));
+ checkUnnamed1438(o.labels);
+ unittest.expect(o.locationId, unittest.equals('foo'));
+ checkUnnamed1439(o.metadata);
+ unittest.expect(o.name, unittest.equals('foo'));
+ }
+ buildCounterLocation--;
}
buildUnnamed1440() {
@@ -572,6 +543,35 @@
checkUnnamed1440(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
+ var casted3 = (o["x"]) as core.Map;
+ unittest.expect(casted3, unittest.hasLength(3));
+ unittest.expect(casted3["list"], unittest.equals([1, 2, 3]));
+ unittest.expect(casted3["bool"], unittest.equals(true));
+ unittest.expect(casted3["string"], unittest.equals('foo'));
+ var casted4 = (o["y"]) as core.Map;
+ unittest.expect(casted4, unittest.hasLength(3));
+ unittest.expect(casted4["list"], unittest.equals([1, 2, 3]));
+ unittest.expect(casted4["bool"], unittest.equals(true));
+ unittest.expect(casted4["string"], unittest.equals('foo'));
+}
+
+buildUnnamed1441() {
+ var o = new core.Map<core.String, core.Object>();
+ o["x"] = {
+ 'list': [1, 2, 3],
+ 'bool': true,
+ 'string': 'foo'
+ };
+ o["y"] = {
+ 'list': [1, 2, 3],
+ 'bool': true,
+ 'string': 'foo'
+ };
+ return o;
+}
+
+checkUnnamed1441(core.Map<core.String, core.Object> o) {
+ unittest.expect(o, unittest.hasLength(2));
var casted5 = (o["x"]) as core.Map;
unittest.expect(casted5, unittest.hasLength(3));
unittest.expect(casted5["list"], unittest.equals([1, 2, 3]));
@@ -591,9 +591,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed1439();
+ o.metadata = buildUnnamed1440();
o.name = "foo";
- o.response = buildUnnamed1440();
+ o.response = buildUnnamed1441();
}
buildCounterOperation--;
return o;
@@ -604,9 +604,9 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed1439(o.metadata);
+ checkUnnamed1440(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1440(o.response);
+ checkUnnamed1441(o.response);
}
buildCounterOperation--;
}
@@ -630,7 +630,7 @@
buildCounterOutputConfig--;
}
-buildUnnamed1441() {
+buildUnnamed1442() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -645,7 +645,7 @@
return o;
}
-checkUnnamed1441(core.Map<core.String, core.Object> o) {
+checkUnnamed1442(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted7 = (o["x"]) as core.Map;
unittest.expect(casted7, unittest.hasLength(3));
@@ -659,17 +659,17 @@
unittest.expect(casted8["string"], unittest.equals('foo'));
}
-buildUnnamed1442() {
+buildUnnamed1443() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed1441());
- o.add(buildUnnamed1441());
+ o.add(buildUnnamed1442());
+ o.add(buildUnnamed1442());
return o;
}
-checkUnnamed1442(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed1443(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1441(o[0]);
- checkUnnamed1441(o[1]);
+ checkUnnamed1442(o[0]);
+ checkUnnamed1442(o[1]);
}
core.int buildCounterStatus = 0;
@@ -678,7 +678,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed1442();
+ o.details = buildUnnamed1443();
o.message = "foo";
}
buildCounterStatus--;
@@ -689,7 +689,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed1442(o.details);
+ checkUnnamed1443(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
@@ -926,8 +926,8 @@
new api.RedisApi(mock).projects.locations;
var arg_name = "foo";
var arg_pageToken = "foo";
- var arg_filter = "foo";
var arg_pageSize = 42;
+ var arg_filter = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -962,9 +962,9 @@
}
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["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -976,8 +976,8 @@
res
.list(arg_name,
pageToken: arg_pageToken,
- filter: arg_filter,
pageSize: arg_pageSize,
+ filter: arg_filter,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListLocationsResponse(response);
@@ -1659,8 +1659,8 @@
new api.RedisApi(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_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1695,9 +1695,9 @@
}
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["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1709,8 +1709,8 @@
res
.list(arg_name,
pageToken: arg_pageToken,
- pageSize: arg_pageSize,
filter: arg_filter,
+ pageSize: arg_pageSize,
$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 77658e5..6fa666c 100644
--- a/generated/googleapis/test/remotebuildexecution/v2_test.dart
+++ b/generated/googleapis/test/remotebuildexecution/v2_test.dart
@@ -50,14 +50,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed1293() {
+buildUnnamed1294() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1293(core.List<core.String> o) {
+checkUnnamed1294(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -71,7 +71,7 @@
o.commandDigest = buildBuildBazelRemoteExecutionV2Digest();
o.doNotCache = true;
o.inputRootDigest = buildBuildBazelRemoteExecutionV2Digest();
- o.outputNodeProperties = buildUnnamed1293();
+ o.outputNodeProperties = buildUnnamed1294();
o.timeout = "foo";
}
buildCounterBuildBazelRemoteExecutionV2Action--;
@@ -85,7 +85,7 @@
checkBuildBazelRemoteExecutionV2Digest(o.commandDigest);
unittest.expect(o.doNotCache, unittest.isTrue);
checkBuildBazelRemoteExecutionV2Digest(o.inputRootDigest);
- checkUnnamed1293(o.outputNodeProperties);
+ checkUnnamed1294(o.outputNodeProperties);
unittest.expect(o.timeout, unittest.equals('foo'));
}
buildCounterBuildBazelRemoteExecutionV2Action--;
@@ -114,32 +114,19 @@
buildCounterBuildBazelRemoteExecutionV2ActionCacheUpdateCapabilities--;
}
-buildUnnamed1294() {
+buildUnnamed1295() {
var o = new core.List<api.BuildBazelRemoteExecutionV2OutputDirectory>();
o.add(buildBuildBazelRemoteExecutionV2OutputDirectory());
o.add(buildBuildBazelRemoteExecutionV2OutputDirectory());
return o;
}
-checkUnnamed1294(core.List<api.BuildBazelRemoteExecutionV2OutputDirectory> o) {
+checkUnnamed1295(core.List<api.BuildBazelRemoteExecutionV2OutputDirectory> o) {
unittest.expect(o, unittest.hasLength(2));
checkBuildBazelRemoteExecutionV2OutputDirectory(o[0]);
checkBuildBazelRemoteExecutionV2OutputDirectory(o[1]);
}
-buildUnnamed1295() {
- var o = new core.List<api.BuildBazelRemoteExecutionV2OutputSymlink>();
- o.add(buildBuildBazelRemoteExecutionV2OutputSymlink());
- o.add(buildBuildBazelRemoteExecutionV2OutputSymlink());
- return o;
-}
-
-checkUnnamed1295(core.List<api.BuildBazelRemoteExecutionV2OutputSymlink> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkBuildBazelRemoteExecutionV2OutputSymlink(o[0]);
- checkBuildBazelRemoteExecutionV2OutputSymlink(o[1]);
-}
-
buildUnnamed1296() {
var o = new core.List<api.BuildBazelRemoteExecutionV2OutputSymlink>();
o.add(buildBuildBazelRemoteExecutionV2OutputSymlink());
@@ -154,26 +141,39 @@
}
buildUnnamed1297() {
- var o = new core.List<api.BuildBazelRemoteExecutionV2OutputFile>();
- o.add(buildBuildBazelRemoteExecutionV2OutputFile());
- o.add(buildBuildBazelRemoteExecutionV2OutputFile());
- return o;
-}
-
-checkUnnamed1297(core.List<api.BuildBazelRemoteExecutionV2OutputFile> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkBuildBazelRemoteExecutionV2OutputFile(o[0]);
- checkBuildBazelRemoteExecutionV2OutputFile(o[1]);
-}
-
-buildUnnamed1298() {
var o = new core.List<api.BuildBazelRemoteExecutionV2OutputSymlink>();
o.add(buildBuildBazelRemoteExecutionV2OutputSymlink());
o.add(buildBuildBazelRemoteExecutionV2OutputSymlink());
return o;
}
-checkUnnamed1298(core.List<api.BuildBazelRemoteExecutionV2OutputSymlink> o) {
+checkUnnamed1297(core.List<api.BuildBazelRemoteExecutionV2OutputSymlink> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkBuildBazelRemoteExecutionV2OutputSymlink(o[0]);
+ checkBuildBazelRemoteExecutionV2OutputSymlink(o[1]);
+}
+
+buildUnnamed1298() {
+ var o = new core.List<api.BuildBazelRemoteExecutionV2OutputFile>();
+ o.add(buildBuildBazelRemoteExecutionV2OutputFile());
+ o.add(buildBuildBazelRemoteExecutionV2OutputFile());
+ return o;
+}
+
+checkUnnamed1298(core.List<api.BuildBazelRemoteExecutionV2OutputFile> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkBuildBazelRemoteExecutionV2OutputFile(o[0]);
+ checkBuildBazelRemoteExecutionV2OutputFile(o[1]);
+}
+
+buildUnnamed1299() {
+ var o = new core.List<api.BuildBazelRemoteExecutionV2OutputSymlink>();
+ o.add(buildBuildBazelRemoteExecutionV2OutputSymlink());
+ o.add(buildBuildBazelRemoteExecutionV2OutputSymlink());
+ return o;
+}
+
+checkUnnamed1299(core.List<api.BuildBazelRemoteExecutionV2OutputSymlink> o) {
unittest.expect(o, unittest.hasLength(2));
checkBuildBazelRemoteExecutionV2OutputSymlink(o[0]);
checkBuildBazelRemoteExecutionV2OutputSymlink(o[1]);
@@ -187,11 +187,11 @@
o.executionMetadata =
buildBuildBazelRemoteExecutionV2ExecutedActionMetadata();
o.exitCode = 42;
- o.outputDirectories = buildUnnamed1294();
- o.outputDirectorySymlinks = buildUnnamed1295();
- o.outputFileSymlinks = buildUnnamed1296();
- o.outputFiles = buildUnnamed1297();
- o.outputSymlinks = buildUnnamed1298();
+ o.outputDirectories = buildUnnamed1295();
+ o.outputDirectorySymlinks = buildUnnamed1296();
+ o.outputFileSymlinks = buildUnnamed1297();
+ o.outputFiles = buildUnnamed1298();
+ o.outputSymlinks = buildUnnamed1299();
o.stderrDigest = buildBuildBazelRemoteExecutionV2Digest();
o.stderrRaw = "foo";
o.stdoutDigest = buildBuildBazelRemoteExecutionV2Digest();
@@ -207,11 +207,11 @@
if (buildCounterBuildBazelRemoteExecutionV2ActionResult < 3) {
checkBuildBazelRemoteExecutionV2ExecutedActionMetadata(o.executionMetadata);
unittest.expect(o.exitCode, unittest.equals(42));
- checkUnnamed1294(o.outputDirectories);
- checkUnnamed1295(o.outputDirectorySymlinks);
- checkUnnamed1296(o.outputFileSymlinks);
- checkUnnamed1297(o.outputFiles);
- checkUnnamed1298(o.outputSymlinks);
+ checkUnnamed1295(o.outputDirectories);
+ checkUnnamed1296(o.outputDirectorySymlinks);
+ checkUnnamed1297(o.outputFileSymlinks);
+ checkUnnamed1298(o.outputFiles);
+ checkUnnamed1299(o.outputSymlinks);
checkBuildBazelRemoteExecutionV2Digest(o.stderrDigest);
unittest.expect(o.stderrRaw, unittest.equals('foo'));
checkBuildBazelRemoteExecutionV2Digest(o.stdoutDigest);
@@ -220,14 +220,14 @@
buildCounterBuildBazelRemoteExecutionV2ActionResult--;
}
-buildUnnamed1299() {
+buildUnnamed1300() {
var o = new core.List<api.BuildBazelRemoteExecutionV2Digest>();
o.add(buildBuildBazelRemoteExecutionV2Digest());
o.add(buildBuildBazelRemoteExecutionV2Digest());
return o;
}
-checkUnnamed1299(core.List<api.BuildBazelRemoteExecutionV2Digest> o) {
+checkUnnamed1300(core.List<api.BuildBazelRemoteExecutionV2Digest> o) {
unittest.expect(o, unittest.hasLength(2));
checkBuildBazelRemoteExecutionV2Digest(o[0]);
checkBuildBazelRemoteExecutionV2Digest(o[1]);
@@ -238,7 +238,7 @@
var o = new api.BuildBazelRemoteExecutionV2BatchReadBlobsRequest();
buildCounterBuildBazelRemoteExecutionV2BatchReadBlobsRequest++;
if (buildCounterBuildBazelRemoteExecutionV2BatchReadBlobsRequest < 3) {
- o.digests = buildUnnamed1299();
+ o.digests = buildUnnamed1300();
}
buildCounterBuildBazelRemoteExecutionV2BatchReadBlobsRequest--;
return o;
@@ -248,12 +248,12 @@
api.BuildBazelRemoteExecutionV2BatchReadBlobsRequest o) {
buildCounterBuildBazelRemoteExecutionV2BatchReadBlobsRequest++;
if (buildCounterBuildBazelRemoteExecutionV2BatchReadBlobsRequest < 3) {
- checkUnnamed1299(o.digests);
+ checkUnnamed1300(o.digests);
}
buildCounterBuildBazelRemoteExecutionV2BatchReadBlobsRequest--;
}
-buildUnnamed1300() {
+buildUnnamed1301() {
var o = new core
.List<api.BuildBazelRemoteExecutionV2BatchReadBlobsResponseResponse>();
o.add(buildBuildBazelRemoteExecutionV2BatchReadBlobsResponseResponse());
@@ -261,7 +261,7 @@
return o;
}
-checkUnnamed1300(
+checkUnnamed1301(
core.List<api.BuildBazelRemoteExecutionV2BatchReadBlobsResponseResponse>
o) {
unittest.expect(o, unittest.hasLength(2));
@@ -274,7 +274,7 @@
var o = new api.BuildBazelRemoteExecutionV2BatchReadBlobsResponse();
buildCounterBuildBazelRemoteExecutionV2BatchReadBlobsResponse++;
if (buildCounterBuildBazelRemoteExecutionV2BatchReadBlobsResponse < 3) {
- o.responses = buildUnnamed1300();
+ o.responses = buildUnnamed1301();
}
buildCounterBuildBazelRemoteExecutionV2BatchReadBlobsResponse--;
return o;
@@ -284,7 +284,7 @@
api.BuildBazelRemoteExecutionV2BatchReadBlobsResponse o) {
buildCounterBuildBazelRemoteExecutionV2BatchReadBlobsResponse++;
if (buildCounterBuildBazelRemoteExecutionV2BatchReadBlobsResponse < 3) {
- checkUnnamed1300(o.responses);
+ checkUnnamed1301(o.responses);
}
buildCounterBuildBazelRemoteExecutionV2BatchReadBlobsResponse--;
}
@@ -316,7 +316,7 @@
buildCounterBuildBazelRemoteExecutionV2BatchReadBlobsResponseResponse--;
}
-buildUnnamed1301() {
+buildUnnamed1302() {
var o = new core
.List<api.BuildBazelRemoteExecutionV2BatchUpdateBlobsRequestRequest>();
o.add(buildBuildBazelRemoteExecutionV2BatchUpdateBlobsRequestRequest());
@@ -324,7 +324,7 @@
return o;
}
-checkUnnamed1301(
+checkUnnamed1302(
core.List<api.BuildBazelRemoteExecutionV2BatchUpdateBlobsRequestRequest>
o) {
unittest.expect(o, unittest.hasLength(2));
@@ -337,7 +337,7 @@
var o = new api.BuildBazelRemoteExecutionV2BatchUpdateBlobsRequest();
buildCounterBuildBazelRemoteExecutionV2BatchUpdateBlobsRequest++;
if (buildCounterBuildBazelRemoteExecutionV2BatchUpdateBlobsRequest < 3) {
- o.requests = buildUnnamed1301();
+ o.requests = buildUnnamed1302();
}
buildCounterBuildBazelRemoteExecutionV2BatchUpdateBlobsRequest--;
return o;
@@ -347,7 +347,7 @@
api.BuildBazelRemoteExecutionV2BatchUpdateBlobsRequest o) {
buildCounterBuildBazelRemoteExecutionV2BatchUpdateBlobsRequest++;
if (buildCounterBuildBazelRemoteExecutionV2BatchUpdateBlobsRequest < 3) {
- checkUnnamed1301(o.requests);
+ checkUnnamed1302(o.requests);
}
buildCounterBuildBazelRemoteExecutionV2BatchUpdateBlobsRequest--;
}
@@ -377,7 +377,7 @@
buildCounterBuildBazelRemoteExecutionV2BatchUpdateBlobsRequestRequest--;
}
-buildUnnamed1302() {
+buildUnnamed1303() {
var o = new core
.List<api.BuildBazelRemoteExecutionV2BatchUpdateBlobsResponseResponse>();
o.add(buildBuildBazelRemoteExecutionV2BatchUpdateBlobsResponseResponse());
@@ -385,7 +385,7 @@
return o;
}
-checkUnnamed1302(
+checkUnnamed1303(
core.List<api.BuildBazelRemoteExecutionV2BatchUpdateBlobsResponseResponse>
o) {
unittest.expect(o, unittest.hasLength(2));
@@ -398,7 +398,7 @@
var o = new api.BuildBazelRemoteExecutionV2BatchUpdateBlobsResponse();
buildCounterBuildBazelRemoteExecutionV2BatchUpdateBlobsResponse++;
if (buildCounterBuildBazelRemoteExecutionV2BatchUpdateBlobsResponse < 3) {
- o.responses = buildUnnamed1302();
+ o.responses = buildUnnamed1303();
}
buildCounterBuildBazelRemoteExecutionV2BatchUpdateBlobsResponse--;
return o;
@@ -408,7 +408,7 @@
api.BuildBazelRemoteExecutionV2BatchUpdateBlobsResponse o) {
buildCounterBuildBazelRemoteExecutionV2BatchUpdateBlobsResponse++;
if (buildCounterBuildBazelRemoteExecutionV2BatchUpdateBlobsResponse < 3) {
- checkUnnamed1302(o.responses);
+ checkUnnamed1303(o.responses);
}
buildCounterBuildBazelRemoteExecutionV2BatchUpdateBlobsResponse--;
}
@@ -438,14 +438,14 @@
buildCounterBuildBazelRemoteExecutionV2BatchUpdateBlobsResponseResponse--;
}
-buildUnnamed1303() {
+buildUnnamed1304() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1303(core.List<core.String> o) {
+checkUnnamed1304(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -460,7 +460,7 @@
buildBuildBazelRemoteExecutionV2ActionCacheUpdateCapabilities();
o.cachePriorityCapabilities =
buildBuildBazelRemoteExecutionV2PriorityCapabilities();
- o.digestFunction = buildUnnamed1303();
+ o.digestFunction = buildUnnamed1304();
o.maxBatchTotalSizeBytes = "foo";
o.symlinkAbsolutePathStrategy = "foo";
}
@@ -476,27 +476,27 @@
o.actionCacheUpdateCapabilities);
checkBuildBazelRemoteExecutionV2PriorityCapabilities(
o.cachePriorityCapabilities);
- checkUnnamed1303(o.digestFunction);
+ checkUnnamed1304(o.digestFunction);
unittest.expect(o.maxBatchTotalSizeBytes, unittest.equals('foo'));
unittest.expect(o.symlinkAbsolutePathStrategy, unittest.equals('foo'));
}
buildCounterBuildBazelRemoteExecutionV2CacheCapabilities--;
}
-buildUnnamed1304() {
+buildUnnamed1305() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1304(core.List<core.String> o) {
+checkUnnamed1305(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1305() {
+buildUnnamed1306() {
var o = new core
.List<api.BuildBazelRemoteExecutionV2CommandEnvironmentVariable>();
o.add(buildBuildBazelRemoteExecutionV2CommandEnvironmentVariable());
@@ -504,26 +504,13 @@
return o;
}
-checkUnnamed1305(
+checkUnnamed1306(
core.List<api.BuildBazelRemoteExecutionV2CommandEnvironmentVariable> o) {
unittest.expect(o, unittest.hasLength(2));
checkBuildBazelRemoteExecutionV2CommandEnvironmentVariable(o[0]);
checkBuildBazelRemoteExecutionV2CommandEnvironmentVariable(o[1]);
}
-buildUnnamed1306() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1306(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed1307() {
var o = new core.List<core.String>();
o.add("foo");
@@ -550,16 +537,29 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed1309() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1309(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
core.int buildCounterBuildBazelRemoteExecutionV2Command = 0;
buildBuildBazelRemoteExecutionV2Command() {
var o = new api.BuildBazelRemoteExecutionV2Command();
buildCounterBuildBazelRemoteExecutionV2Command++;
if (buildCounterBuildBazelRemoteExecutionV2Command < 3) {
- o.arguments = buildUnnamed1304();
- o.environmentVariables = buildUnnamed1305();
- o.outputDirectories = buildUnnamed1306();
- o.outputFiles = buildUnnamed1307();
- o.outputPaths = buildUnnamed1308();
+ o.arguments = buildUnnamed1305();
+ o.environmentVariables = buildUnnamed1306();
+ o.outputDirectories = buildUnnamed1307();
+ o.outputFiles = buildUnnamed1308();
+ o.outputPaths = buildUnnamed1309();
o.platform = buildBuildBazelRemoteExecutionV2Platform();
o.workingDirectory = "foo";
}
@@ -571,11 +571,11 @@
api.BuildBazelRemoteExecutionV2Command o) {
buildCounterBuildBazelRemoteExecutionV2Command++;
if (buildCounterBuildBazelRemoteExecutionV2Command < 3) {
- checkUnnamed1304(o.arguments);
- checkUnnamed1305(o.environmentVariables);
- checkUnnamed1306(o.outputDirectories);
- checkUnnamed1307(o.outputFiles);
- checkUnnamed1308(o.outputPaths);
+ checkUnnamed1305(o.arguments);
+ checkUnnamed1306(o.environmentVariables);
+ checkUnnamed1307(o.outputDirectories);
+ checkUnnamed1308(o.outputFiles);
+ checkUnnamed1309(o.outputPaths);
checkBuildBazelRemoteExecutionV2Platform(o.platform);
unittest.expect(o.workingDirectory, unittest.equals('foo'));
}
@@ -626,53 +626,53 @@
buildCounterBuildBazelRemoteExecutionV2Digest--;
}
-buildUnnamed1309() {
+buildUnnamed1310() {
var o = new core.List<api.BuildBazelRemoteExecutionV2DirectoryNode>();
o.add(buildBuildBazelRemoteExecutionV2DirectoryNode());
o.add(buildBuildBazelRemoteExecutionV2DirectoryNode());
return o;
}
-checkUnnamed1309(core.List<api.BuildBazelRemoteExecutionV2DirectoryNode> o) {
+checkUnnamed1310(core.List<api.BuildBazelRemoteExecutionV2DirectoryNode> o) {
unittest.expect(o, unittest.hasLength(2));
checkBuildBazelRemoteExecutionV2DirectoryNode(o[0]);
checkBuildBazelRemoteExecutionV2DirectoryNode(o[1]);
}
-buildUnnamed1310() {
+buildUnnamed1311() {
var o = new core.List<api.BuildBazelRemoteExecutionV2FileNode>();
o.add(buildBuildBazelRemoteExecutionV2FileNode());
o.add(buildBuildBazelRemoteExecutionV2FileNode());
return o;
}
-checkUnnamed1310(core.List<api.BuildBazelRemoteExecutionV2FileNode> o) {
+checkUnnamed1311(core.List<api.BuildBazelRemoteExecutionV2FileNode> o) {
unittest.expect(o, unittest.hasLength(2));
checkBuildBazelRemoteExecutionV2FileNode(o[0]);
checkBuildBazelRemoteExecutionV2FileNode(o[1]);
}
-buildUnnamed1311() {
+buildUnnamed1312() {
var o = new core.List<api.BuildBazelRemoteExecutionV2NodeProperty>();
o.add(buildBuildBazelRemoteExecutionV2NodeProperty());
o.add(buildBuildBazelRemoteExecutionV2NodeProperty());
return o;
}
-checkUnnamed1311(core.List<api.BuildBazelRemoteExecutionV2NodeProperty> o) {
+checkUnnamed1312(core.List<api.BuildBazelRemoteExecutionV2NodeProperty> o) {
unittest.expect(o, unittest.hasLength(2));
checkBuildBazelRemoteExecutionV2NodeProperty(o[0]);
checkBuildBazelRemoteExecutionV2NodeProperty(o[1]);
}
-buildUnnamed1312() {
+buildUnnamed1313() {
var o = new core.List<api.BuildBazelRemoteExecutionV2SymlinkNode>();
o.add(buildBuildBazelRemoteExecutionV2SymlinkNode());
o.add(buildBuildBazelRemoteExecutionV2SymlinkNode());
return o;
}
-checkUnnamed1312(core.List<api.BuildBazelRemoteExecutionV2SymlinkNode> o) {
+checkUnnamed1313(core.List<api.BuildBazelRemoteExecutionV2SymlinkNode> o) {
unittest.expect(o, unittest.hasLength(2));
checkBuildBazelRemoteExecutionV2SymlinkNode(o[0]);
checkBuildBazelRemoteExecutionV2SymlinkNode(o[1]);
@@ -683,10 +683,10 @@
var o = new api.BuildBazelRemoteExecutionV2Directory();
buildCounterBuildBazelRemoteExecutionV2Directory++;
if (buildCounterBuildBazelRemoteExecutionV2Directory < 3) {
- o.directories = buildUnnamed1309();
- o.files = buildUnnamed1310();
- o.nodeProperties = buildUnnamed1311();
- o.symlinks = buildUnnamed1312();
+ o.directories = buildUnnamed1310();
+ o.files = buildUnnamed1311();
+ o.nodeProperties = buildUnnamed1312();
+ o.symlinks = buildUnnamed1313();
}
buildCounterBuildBazelRemoteExecutionV2Directory--;
return o;
@@ -696,10 +696,10 @@
api.BuildBazelRemoteExecutionV2Directory o) {
buildCounterBuildBazelRemoteExecutionV2Directory++;
if (buildCounterBuildBazelRemoteExecutionV2Directory < 3) {
- checkUnnamed1309(o.directories);
- checkUnnamed1310(o.files);
- checkUnnamed1311(o.nodeProperties);
- checkUnnamed1312(o.symlinks);
+ checkUnnamed1310(o.directories);
+ checkUnnamed1311(o.files);
+ checkUnnamed1312(o.nodeProperties);
+ checkUnnamed1313(o.symlinks);
}
buildCounterBuildBazelRemoteExecutionV2Directory--;
}
@@ -778,14 +778,14 @@
buildCounterBuildBazelRemoteExecutionV2ExecuteRequest--;
}
-buildUnnamed1313() {
+buildUnnamed1314() {
var o = new core.Map<core.String, api.BuildBazelRemoteExecutionV2LogFile>();
o["x"] = buildBuildBazelRemoteExecutionV2LogFile();
o["y"] = buildBuildBazelRemoteExecutionV2LogFile();
return o;
}
-checkUnnamed1313(
+checkUnnamed1314(
core.Map<core.String, api.BuildBazelRemoteExecutionV2LogFile> o) {
unittest.expect(o, unittest.hasLength(2));
checkBuildBazelRemoteExecutionV2LogFile(o["x"]);
@@ -800,7 +800,7 @@
o.cachedResult = true;
o.message = "foo";
o.result = buildBuildBazelRemoteExecutionV2ActionResult();
- o.serverLogs = buildUnnamed1313();
+ o.serverLogs = buildUnnamed1314();
o.status = buildGoogleRpcStatus();
}
buildCounterBuildBazelRemoteExecutionV2ExecuteResponse--;
@@ -814,7 +814,7 @@
unittest.expect(o.cachedResult, unittest.isTrue);
unittest.expect(o.message, unittest.equals('foo'));
checkBuildBazelRemoteExecutionV2ActionResult(o.result);
- checkUnnamed1313(o.serverLogs);
+ checkUnnamed1314(o.serverLogs);
checkGoogleRpcStatus(o.status);
}
buildCounterBuildBazelRemoteExecutionV2ExecuteResponse--;
@@ -858,14 +858,14 @@
buildCounterBuildBazelRemoteExecutionV2ExecutedActionMetadata--;
}
-buildUnnamed1314() {
+buildUnnamed1315() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1314(core.List<core.String> o) {
+checkUnnamed1315(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -880,7 +880,7 @@
o.execEnabled = true;
o.executionPriorityCapabilities =
buildBuildBazelRemoteExecutionV2PriorityCapabilities();
- o.supportedNodeProperties = buildUnnamed1314();
+ o.supportedNodeProperties = buildUnnamed1315();
}
buildCounterBuildBazelRemoteExecutionV2ExecutionCapabilities--;
return o;
@@ -894,7 +894,7 @@
unittest.expect(o.execEnabled, unittest.isTrue);
checkBuildBazelRemoteExecutionV2PriorityCapabilities(
o.executionPriorityCapabilities);
- checkUnnamed1314(o.supportedNodeProperties);
+ checkUnnamed1315(o.supportedNodeProperties);
}
buildCounterBuildBazelRemoteExecutionV2ExecutionCapabilities--;
}
@@ -919,14 +919,14 @@
buildCounterBuildBazelRemoteExecutionV2ExecutionPolicy--;
}
-buildUnnamed1315() {
+buildUnnamed1316() {
var o = new core.List<api.BuildBazelRemoteExecutionV2NodeProperty>();
o.add(buildBuildBazelRemoteExecutionV2NodeProperty());
o.add(buildBuildBazelRemoteExecutionV2NodeProperty());
return o;
}
-checkUnnamed1315(core.List<api.BuildBazelRemoteExecutionV2NodeProperty> o) {
+checkUnnamed1316(core.List<api.BuildBazelRemoteExecutionV2NodeProperty> o) {
unittest.expect(o, unittest.hasLength(2));
checkBuildBazelRemoteExecutionV2NodeProperty(o[0]);
checkBuildBazelRemoteExecutionV2NodeProperty(o[1]);
@@ -940,7 +940,7 @@
o.digest = buildBuildBazelRemoteExecutionV2Digest();
o.isExecutable = true;
o.name = "foo";
- o.nodeProperties = buildUnnamed1315();
+ o.nodeProperties = buildUnnamed1316();
}
buildCounterBuildBazelRemoteExecutionV2FileNode--;
return o;
@@ -953,44 +953,11 @@
checkBuildBazelRemoteExecutionV2Digest(o.digest);
unittest.expect(o.isExecutable, unittest.isTrue);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1315(o.nodeProperties);
+ checkUnnamed1316(o.nodeProperties);
}
buildCounterBuildBazelRemoteExecutionV2FileNode--;
}
-buildUnnamed1316() {
- var o = new core.List<api.BuildBazelRemoteExecutionV2Digest>();
- o.add(buildBuildBazelRemoteExecutionV2Digest());
- o.add(buildBuildBazelRemoteExecutionV2Digest());
- return o;
-}
-
-checkUnnamed1316(core.List<api.BuildBazelRemoteExecutionV2Digest> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkBuildBazelRemoteExecutionV2Digest(o[0]);
- checkBuildBazelRemoteExecutionV2Digest(o[1]);
-}
-
-core.int buildCounterBuildBazelRemoteExecutionV2FindMissingBlobsRequest = 0;
-buildBuildBazelRemoteExecutionV2FindMissingBlobsRequest() {
- var o = new api.BuildBazelRemoteExecutionV2FindMissingBlobsRequest();
- buildCounterBuildBazelRemoteExecutionV2FindMissingBlobsRequest++;
- if (buildCounterBuildBazelRemoteExecutionV2FindMissingBlobsRequest < 3) {
- o.blobDigests = buildUnnamed1316();
- }
- buildCounterBuildBazelRemoteExecutionV2FindMissingBlobsRequest--;
- return o;
-}
-
-checkBuildBazelRemoteExecutionV2FindMissingBlobsRequest(
- api.BuildBazelRemoteExecutionV2FindMissingBlobsRequest o) {
- buildCounterBuildBazelRemoteExecutionV2FindMissingBlobsRequest++;
- if (buildCounterBuildBazelRemoteExecutionV2FindMissingBlobsRequest < 3) {
- checkUnnamed1316(o.blobDigests);
- }
- buildCounterBuildBazelRemoteExecutionV2FindMissingBlobsRequest--;
-}
-
buildUnnamed1317() {
var o = new core.List<api.BuildBazelRemoteExecutionV2Digest>();
o.add(buildBuildBazelRemoteExecutionV2Digest());
@@ -1004,12 +971,45 @@
checkBuildBazelRemoteExecutionV2Digest(o[1]);
}
+core.int buildCounterBuildBazelRemoteExecutionV2FindMissingBlobsRequest = 0;
+buildBuildBazelRemoteExecutionV2FindMissingBlobsRequest() {
+ var o = new api.BuildBazelRemoteExecutionV2FindMissingBlobsRequest();
+ buildCounterBuildBazelRemoteExecutionV2FindMissingBlobsRequest++;
+ if (buildCounterBuildBazelRemoteExecutionV2FindMissingBlobsRequest < 3) {
+ o.blobDigests = buildUnnamed1317();
+ }
+ buildCounterBuildBazelRemoteExecutionV2FindMissingBlobsRequest--;
+ return o;
+}
+
+checkBuildBazelRemoteExecutionV2FindMissingBlobsRequest(
+ api.BuildBazelRemoteExecutionV2FindMissingBlobsRequest o) {
+ buildCounterBuildBazelRemoteExecutionV2FindMissingBlobsRequest++;
+ if (buildCounterBuildBazelRemoteExecutionV2FindMissingBlobsRequest < 3) {
+ checkUnnamed1317(o.blobDigests);
+ }
+ buildCounterBuildBazelRemoteExecutionV2FindMissingBlobsRequest--;
+}
+
+buildUnnamed1318() {
+ var o = new core.List<api.BuildBazelRemoteExecutionV2Digest>();
+ o.add(buildBuildBazelRemoteExecutionV2Digest());
+ o.add(buildBuildBazelRemoteExecutionV2Digest());
+ return o;
+}
+
+checkUnnamed1318(core.List<api.BuildBazelRemoteExecutionV2Digest> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkBuildBazelRemoteExecutionV2Digest(o[0]);
+ checkBuildBazelRemoteExecutionV2Digest(o[1]);
+}
+
core.int buildCounterBuildBazelRemoteExecutionV2FindMissingBlobsResponse = 0;
buildBuildBazelRemoteExecutionV2FindMissingBlobsResponse() {
var o = new api.BuildBazelRemoteExecutionV2FindMissingBlobsResponse();
buildCounterBuildBazelRemoteExecutionV2FindMissingBlobsResponse++;
if (buildCounterBuildBazelRemoteExecutionV2FindMissingBlobsResponse < 3) {
- o.missingBlobDigests = buildUnnamed1317();
+ o.missingBlobDigests = buildUnnamed1318();
}
buildCounterBuildBazelRemoteExecutionV2FindMissingBlobsResponse--;
return o;
@@ -1019,19 +1019,19 @@
api.BuildBazelRemoteExecutionV2FindMissingBlobsResponse o) {
buildCounterBuildBazelRemoteExecutionV2FindMissingBlobsResponse++;
if (buildCounterBuildBazelRemoteExecutionV2FindMissingBlobsResponse < 3) {
- checkUnnamed1317(o.missingBlobDigests);
+ checkUnnamed1318(o.missingBlobDigests);
}
buildCounterBuildBazelRemoteExecutionV2FindMissingBlobsResponse--;
}
-buildUnnamed1318() {
+buildUnnamed1319() {
var o = new core.List<api.BuildBazelRemoteExecutionV2Directory>();
o.add(buildBuildBazelRemoteExecutionV2Directory());
o.add(buildBuildBazelRemoteExecutionV2Directory());
return o;
}
-checkUnnamed1318(core.List<api.BuildBazelRemoteExecutionV2Directory> o) {
+checkUnnamed1319(core.List<api.BuildBazelRemoteExecutionV2Directory> o) {
unittest.expect(o, unittest.hasLength(2));
checkBuildBazelRemoteExecutionV2Directory(o[0]);
checkBuildBazelRemoteExecutionV2Directory(o[1]);
@@ -1042,7 +1042,7 @@
var o = new api.BuildBazelRemoteExecutionV2GetTreeResponse();
buildCounterBuildBazelRemoteExecutionV2GetTreeResponse++;
if (buildCounterBuildBazelRemoteExecutionV2GetTreeResponse < 3) {
- o.directories = buildUnnamed1318();
+ o.directories = buildUnnamed1319();
o.nextPageToken = "foo";
}
buildCounterBuildBazelRemoteExecutionV2GetTreeResponse--;
@@ -1053,7 +1053,7 @@
api.BuildBazelRemoteExecutionV2GetTreeResponse o) {
buildCounterBuildBazelRemoteExecutionV2GetTreeResponse++;
if (buildCounterBuildBazelRemoteExecutionV2GetTreeResponse < 3) {
- checkUnnamed1318(o.directories);
+ checkUnnamed1319(o.directories);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterBuildBazelRemoteExecutionV2GetTreeResponse--;
@@ -1125,47 +1125,6 @@
buildCounterBuildBazelRemoteExecutionV2OutputDirectory--;
}
-buildUnnamed1319() {
- var o = new core.List<api.BuildBazelRemoteExecutionV2NodeProperty>();
- o.add(buildBuildBazelRemoteExecutionV2NodeProperty());
- o.add(buildBuildBazelRemoteExecutionV2NodeProperty());
- return o;
-}
-
-checkUnnamed1319(core.List<api.BuildBazelRemoteExecutionV2NodeProperty> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkBuildBazelRemoteExecutionV2NodeProperty(o[0]);
- checkBuildBazelRemoteExecutionV2NodeProperty(o[1]);
-}
-
-core.int buildCounterBuildBazelRemoteExecutionV2OutputFile = 0;
-buildBuildBazelRemoteExecutionV2OutputFile() {
- var o = new api.BuildBazelRemoteExecutionV2OutputFile();
- buildCounterBuildBazelRemoteExecutionV2OutputFile++;
- if (buildCounterBuildBazelRemoteExecutionV2OutputFile < 3) {
- o.contents = "foo";
- o.digest = buildBuildBazelRemoteExecutionV2Digest();
- o.isExecutable = true;
- o.nodeProperties = buildUnnamed1319();
- o.path = "foo";
- }
- buildCounterBuildBazelRemoteExecutionV2OutputFile--;
- return o;
-}
-
-checkBuildBazelRemoteExecutionV2OutputFile(
- api.BuildBazelRemoteExecutionV2OutputFile o) {
- buildCounterBuildBazelRemoteExecutionV2OutputFile++;
- if (buildCounterBuildBazelRemoteExecutionV2OutputFile < 3) {
- unittest.expect(o.contents, unittest.equals('foo'));
- checkBuildBazelRemoteExecutionV2Digest(o.digest);
- unittest.expect(o.isExecutable, unittest.isTrue);
- checkUnnamed1319(o.nodeProperties);
- unittest.expect(o.path, unittest.equals('foo'));
- }
- buildCounterBuildBazelRemoteExecutionV2OutputFile--;
-}
-
buildUnnamed1320() {
var o = new core.List<api.BuildBazelRemoteExecutionV2NodeProperty>();
o.add(buildBuildBazelRemoteExecutionV2NodeProperty());
@@ -1179,12 +1138,53 @@
checkBuildBazelRemoteExecutionV2NodeProperty(o[1]);
}
+core.int buildCounterBuildBazelRemoteExecutionV2OutputFile = 0;
+buildBuildBazelRemoteExecutionV2OutputFile() {
+ var o = new api.BuildBazelRemoteExecutionV2OutputFile();
+ buildCounterBuildBazelRemoteExecutionV2OutputFile++;
+ if (buildCounterBuildBazelRemoteExecutionV2OutputFile < 3) {
+ o.contents = "foo";
+ o.digest = buildBuildBazelRemoteExecutionV2Digest();
+ o.isExecutable = true;
+ o.nodeProperties = buildUnnamed1320();
+ o.path = "foo";
+ }
+ buildCounterBuildBazelRemoteExecutionV2OutputFile--;
+ return o;
+}
+
+checkBuildBazelRemoteExecutionV2OutputFile(
+ api.BuildBazelRemoteExecutionV2OutputFile o) {
+ buildCounterBuildBazelRemoteExecutionV2OutputFile++;
+ if (buildCounterBuildBazelRemoteExecutionV2OutputFile < 3) {
+ unittest.expect(o.contents, unittest.equals('foo'));
+ checkBuildBazelRemoteExecutionV2Digest(o.digest);
+ unittest.expect(o.isExecutable, unittest.isTrue);
+ checkUnnamed1320(o.nodeProperties);
+ unittest.expect(o.path, unittest.equals('foo'));
+ }
+ buildCounterBuildBazelRemoteExecutionV2OutputFile--;
+}
+
+buildUnnamed1321() {
+ var o = new core.List<api.BuildBazelRemoteExecutionV2NodeProperty>();
+ o.add(buildBuildBazelRemoteExecutionV2NodeProperty());
+ o.add(buildBuildBazelRemoteExecutionV2NodeProperty());
+ return o;
+}
+
+checkUnnamed1321(core.List<api.BuildBazelRemoteExecutionV2NodeProperty> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkBuildBazelRemoteExecutionV2NodeProperty(o[0]);
+ checkBuildBazelRemoteExecutionV2NodeProperty(o[1]);
+}
+
core.int buildCounterBuildBazelRemoteExecutionV2OutputSymlink = 0;
buildBuildBazelRemoteExecutionV2OutputSymlink() {
var o = new api.BuildBazelRemoteExecutionV2OutputSymlink();
buildCounterBuildBazelRemoteExecutionV2OutputSymlink++;
if (buildCounterBuildBazelRemoteExecutionV2OutputSymlink < 3) {
- o.nodeProperties = buildUnnamed1320();
+ o.nodeProperties = buildUnnamed1321();
o.path = "foo";
o.target = "foo";
}
@@ -1196,21 +1196,21 @@
api.BuildBazelRemoteExecutionV2OutputSymlink o) {
buildCounterBuildBazelRemoteExecutionV2OutputSymlink++;
if (buildCounterBuildBazelRemoteExecutionV2OutputSymlink < 3) {
- checkUnnamed1320(o.nodeProperties);
+ checkUnnamed1321(o.nodeProperties);
unittest.expect(o.path, unittest.equals('foo'));
unittest.expect(o.target, unittest.equals('foo'));
}
buildCounterBuildBazelRemoteExecutionV2OutputSymlink--;
}
-buildUnnamed1321() {
+buildUnnamed1322() {
var o = new core.List<api.BuildBazelRemoteExecutionV2PlatformProperty>();
o.add(buildBuildBazelRemoteExecutionV2PlatformProperty());
o.add(buildBuildBazelRemoteExecutionV2PlatformProperty());
return o;
}
-checkUnnamed1321(core.List<api.BuildBazelRemoteExecutionV2PlatformProperty> o) {
+checkUnnamed1322(core.List<api.BuildBazelRemoteExecutionV2PlatformProperty> o) {
unittest.expect(o, unittest.hasLength(2));
checkBuildBazelRemoteExecutionV2PlatformProperty(o[0]);
checkBuildBazelRemoteExecutionV2PlatformProperty(o[1]);
@@ -1221,7 +1221,7 @@
var o = new api.BuildBazelRemoteExecutionV2Platform();
buildCounterBuildBazelRemoteExecutionV2Platform++;
if (buildCounterBuildBazelRemoteExecutionV2Platform < 3) {
- o.properties = buildUnnamed1321();
+ o.properties = buildUnnamed1322();
}
buildCounterBuildBazelRemoteExecutionV2Platform--;
return o;
@@ -1231,7 +1231,7 @@
api.BuildBazelRemoteExecutionV2Platform o) {
buildCounterBuildBazelRemoteExecutionV2Platform++;
if (buildCounterBuildBazelRemoteExecutionV2Platform < 3) {
- checkUnnamed1321(o.properties);
+ checkUnnamed1322(o.properties);
}
buildCounterBuildBazelRemoteExecutionV2Platform--;
}
@@ -1258,7 +1258,7 @@
buildCounterBuildBazelRemoteExecutionV2PlatformProperty--;
}
-buildUnnamed1322() {
+buildUnnamed1323() {
var o = new core
.List<api.BuildBazelRemoteExecutionV2PriorityCapabilitiesPriorityRange>();
o.add(buildBuildBazelRemoteExecutionV2PriorityCapabilitiesPriorityRange());
@@ -1266,7 +1266,7 @@
return o;
}
-checkUnnamed1322(
+checkUnnamed1323(
core.List<api.BuildBazelRemoteExecutionV2PriorityCapabilitiesPriorityRange>
o) {
unittest.expect(o, unittest.hasLength(2));
@@ -1279,7 +1279,7 @@
var o = new api.BuildBazelRemoteExecutionV2PriorityCapabilities();
buildCounterBuildBazelRemoteExecutionV2PriorityCapabilities++;
if (buildCounterBuildBazelRemoteExecutionV2PriorityCapabilities < 3) {
- o.priorities = buildUnnamed1322();
+ o.priorities = buildUnnamed1323();
}
buildCounterBuildBazelRemoteExecutionV2PriorityCapabilities--;
return o;
@@ -1289,7 +1289,7 @@
api.BuildBazelRemoteExecutionV2PriorityCapabilities o) {
buildCounterBuildBazelRemoteExecutionV2PriorityCapabilities++;
if (buildCounterBuildBazelRemoteExecutionV2PriorityCapabilities < 3) {
- checkUnnamed1322(o.priorities);
+ checkUnnamed1323(o.priorities);
}
buildCounterBuildBazelRemoteExecutionV2PriorityCapabilities--;
}
@@ -1397,14 +1397,14 @@
buildCounterBuildBazelRemoteExecutionV2ServerCapabilities--;
}
-buildUnnamed1323() {
+buildUnnamed1324() {
var o = new core.List<api.BuildBazelRemoteExecutionV2NodeProperty>();
o.add(buildBuildBazelRemoteExecutionV2NodeProperty());
o.add(buildBuildBazelRemoteExecutionV2NodeProperty());
return o;
}
-checkUnnamed1323(core.List<api.BuildBazelRemoteExecutionV2NodeProperty> o) {
+checkUnnamed1324(core.List<api.BuildBazelRemoteExecutionV2NodeProperty> o) {
unittest.expect(o, unittest.hasLength(2));
checkBuildBazelRemoteExecutionV2NodeProperty(o[0]);
checkBuildBazelRemoteExecutionV2NodeProperty(o[1]);
@@ -1416,7 +1416,7 @@
buildCounterBuildBazelRemoteExecutionV2SymlinkNode++;
if (buildCounterBuildBazelRemoteExecutionV2SymlinkNode < 3) {
o.name = "foo";
- o.nodeProperties = buildUnnamed1323();
+ o.nodeProperties = buildUnnamed1324();
o.target = "foo";
}
buildCounterBuildBazelRemoteExecutionV2SymlinkNode--;
@@ -1428,7 +1428,7 @@
buildCounterBuildBazelRemoteExecutionV2SymlinkNode++;
if (buildCounterBuildBazelRemoteExecutionV2SymlinkNode < 3) {
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1323(o.nodeProperties);
+ checkUnnamed1324(o.nodeProperties);
unittest.expect(o.target, unittest.equals('foo'));
}
buildCounterBuildBazelRemoteExecutionV2SymlinkNode--;
@@ -1456,14 +1456,14 @@
buildCounterBuildBazelRemoteExecutionV2ToolDetails--;
}
-buildUnnamed1324() {
+buildUnnamed1325() {
var o = new core.List<api.BuildBazelRemoteExecutionV2Directory>();
o.add(buildBuildBazelRemoteExecutionV2Directory());
o.add(buildBuildBazelRemoteExecutionV2Directory());
return o;
}
-checkUnnamed1324(core.List<api.BuildBazelRemoteExecutionV2Directory> o) {
+checkUnnamed1325(core.List<api.BuildBazelRemoteExecutionV2Directory> o) {
unittest.expect(o, unittest.hasLength(2));
checkBuildBazelRemoteExecutionV2Directory(o[0]);
checkBuildBazelRemoteExecutionV2Directory(o[1]);
@@ -1474,7 +1474,7 @@
var o = new api.BuildBazelRemoteExecutionV2Tree();
buildCounterBuildBazelRemoteExecutionV2Tree++;
if (buildCounterBuildBazelRemoteExecutionV2Tree < 3) {
- o.children = buildUnnamed1324();
+ o.children = buildUnnamed1325();
o.root = buildBuildBazelRemoteExecutionV2Directory();
}
buildCounterBuildBazelRemoteExecutionV2Tree--;
@@ -1484,7 +1484,7 @@
checkBuildBazelRemoteExecutionV2Tree(api.BuildBazelRemoteExecutionV2Tree o) {
buildCounterBuildBazelRemoteExecutionV2Tree++;
if (buildCounterBuildBazelRemoteExecutionV2Tree < 3) {
- checkUnnamed1324(o.children);
+ checkUnnamed1325(o.children);
checkBuildBazelRemoteExecutionV2Directory(o.root);
}
buildCounterBuildBazelRemoteExecutionV2Tree--;
@@ -1577,6 +1577,7 @@
buildCounterGoogleDevtoolsRemotebuildbotCommandEvents++;
if (buildCounterGoogleDevtoolsRemotebuildbotCommandEvents < 3) {
o.dockerCacheHit = true;
+ o.dockerImageName = "foo";
o.inputCacheMiss = 42.0;
o.numErrors = "foo";
o.numWarnings = "foo";
@@ -1590,6 +1591,7 @@
buildCounterGoogleDevtoolsRemotebuildbotCommandEvents++;
if (buildCounterGoogleDevtoolsRemotebuildbotCommandEvents < 3) {
unittest.expect(o.dockerCacheHit, unittest.isTrue);
+ unittest.expect(o.dockerImageName, unittest.equals('foo'));
unittest.expect(o.inputCacheMiss, unittest.equals(42.0));
unittest.expect(o.numErrors, unittest.equals('foo'));
unittest.expect(o.numWarnings, unittest.equals('foo'));
@@ -1881,14 +1883,14 @@
buildCounterGoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicy--;
}
-buildUnnamed1325() {
+buildUnnamed1326() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1325(core.List<core.String> o) {
+checkUnnamed1326(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1903,7 +1905,7 @@
buildCounterGoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature++;
if (buildCounterGoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature <
3) {
- o.allowedValues = buildUnnamed1325();
+ o.allowedValues = buildUnnamed1326();
o.policy = "foo";
}
buildCounterGoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature--;
@@ -1915,7 +1917,7 @@
buildCounterGoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature++;
if (buildCounterGoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature <
3) {
- checkUnnamed1325(o.allowedValues);
+ checkUnnamed1326(o.allowedValues);
unittest.expect(o.policy, unittest.equals('foo'));
}
buildCounterGoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature--;
@@ -2026,7 +2028,7 @@
buildCounterGoogleDevtoolsRemotebuildexecutionAdminV1alphaListInstancesRequest--;
}
-buildUnnamed1326() {
+buildUnnamed1327() {
var o = new core
.List<api.GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance>();
o.add(buildGoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance());
@@ -2034,7 +2036,7 @@
return o;
}
-checkUnnamed1326(
+checkUnnamed1327(
core.List<api.GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance(o[0]);
@@ -2050,7 +2052,7 @@
buildCounterGoogleDevtoolsRemotebuildexecutionAdminV1alphaListInstancesResponse++;
if (buildCounterGoogleDevtoolsRemotebuildexecutionAdminV1alphaListInstancesResponse <
3) {
- o.instances = buildUnnamed1326();
+ o.instances = buildUnnamed1327();
}
buildCounterGoogleDevtoolsRemotebuildexecutionAdminV1alphaListInstancesResponse--;
return o;
@@ -2061,7 +2063,7 @@
buildCounterGoogleDevtoolsRemotebuildexecutionAdminV1alphaListInstancesResponse++;
if (buildCounterGoogleDevtoolsRemotebuildexecutionAdminV1alphaListInstancesResponse <
3) {
- checkUnnamed1326(o.instances);
+ checkUnnamed1327(o.instances);
}
buildCounterGoogleDevtoolsRemotebuildexecutionAdminV1alphaListInstancesResponse--;
}
@@ -2094,7 +2096,7 @@
buildCounterGoogleDevtoolsRemotebuildexecutionAdminV1alphaListWorkerPoolsRequest--;
}
-buildUnnamed1327() {
+buildUnnamed1328() {
var o = new core
.List<api.GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerPool>();
o.add(buildGoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerPool());
@@ -2102,7 +2104,7 @@
return o;
}
-checkUnnamed1327(
+checkUnnamed1328(
core.List<api.GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerPool> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerPool(o[0]);
@@ -2118,7 +2120,7 @@
buildCounterGoogleDevtoolsRemotebuildexecutionAdminV1alphaListWorkerPoolsResponse++;
if (buildCounterGoogleDevtoolsRemotebuildexecutionAdminV1alphaListWorkerPoolsResponse <
3) {
- o.workerPools = buildUnnamed1327();
+ o.workerPools = buildUnnamed1328();
}
buildCounterGoogleDevtoolsRemotebuildexecutionAdminV1alphaListWorkerPoolsResponse--;
return o;
@@ -2130,7 +2132,7 @@
buildCounterGoogleDevtoolsRemotebuildexecutionAdminV1alphaListWorkerPoolsResponse++;
if (buildCounterGoogleDevtoolsRemotebuildexecutionAdminV1alphaListWorkerPoolsResponse <
3) {
- checkUnnamed1327(o.workerPools);
+ checkUnnamed1328(o.workerPools);
}
buildCounterGoogleDevtoolsRemotebuildexecutionAdminV1alphaListWorkerPoolsResponse--;
}
@@ -2222,14 +2224,14 @@
buildCounterGoogleDevtoolsRemotebuildexecutionAdminV1alphaUpdateWorkerPoolRequest--;
}
-buildUnnamed1328() {
+buildUnnamed1329() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1328(core.Map<core.String, core.String> o) {
+checkUnnamed1329(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -2246,7 +2248,7 @@
buildGoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig();
o.diskSizeGb = "foo";
o.diskType = "foo";
- o.labels = buildUnnamed1328();
+ o.labels = buildUnnamed1329();
o.machineType = "foo";
o.maxConcurrentActions = "foo";
o.minCpuPlatform = "foo";
@@ -2269,7 +2271,7 @@
o.accelerator);
unittest.expect(o.diskSizeGb, unittest.equals('foo'));
unittest.expect(o.diskType, unittest.equals('foo'));
- checkUnnamed1328(o.labels);
+ checkUnnamed1329(o.labels);
unittest.expect(o.machineType, unittest.equals('foo'));
unittest.expect(o.maxConcurrentActions, unittest.equals('foo'));
unittest.expect(o.minCpuPlatform, unittest.equals('foo'));
@@ -2406,7 +2408,7 @@
buildCounterGoogleDevtoolsRemoteworkersV1test2CommandOverhead--;
}
-buildUnnamed1329() {
+buildUnnamed1330() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -2421,7 +2423,7 @@
return o;
}
-checkUnnamed1329(core.Map<core.String, core.Object> o) {
+checkUnnamed1330(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o["x"]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -2435,17 +2437,17 @@
unittest.expect(casted2["string"], unittest.equals('foo'));
}
-buildUnnamed1330() {
+buildUnnamed1331() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed1329());
- o.add(buildUnnamed1329());
+ o.add(buildUnnamed1330());
+ o.add(buildUnnamed1330());
return o;
}
-checkUnnamed1330(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed1331(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1329(o[0]);
- checkUnnamed1329(o[1]);
+ checkUnnamed1330(o[0]);
+ checkUnnamed1330(o[1]);
}
core.int buildCounterGoogleDevtoolsRemoteworkersV1test2CommandResult = 0;
@@ -2455,7 +2457,7 @@
if (buildCounterGoogleDevtoolsRemoteworkersV1test2CommandResult < 3) {
o.duration = "foo";
o.exitCode = 42;
- o.metadata = buildUnnamed1330();
+ o.metadata = buildUnnamed1331();
o.outputs = buildGoogleDevtoolsRemoteworkersV1test2Digest();
o.overhead = "foo";
o.status = buildGoogleRpcStatus();
@@ -2470,7 +2472,7 @@
if (buildCounterGoogleDevtoolsRemoteworkersV1test2CommandResult < 3) {
unittest.expect(o.duration, unittest.equals('foo'));
unittest.expect(o.exitCode, unittest.equals(42));
- checkUnnamed1330(o.metadata);
+ checkUnnamed1331(o.metadata);
checkGoogleDevtoolsRemoteworkersV1test2Digest(o.outputs);
unittest.expect(o.overhead, unittest.equals('foo'));
checkGoogleRpcStatus(o.status);
@@ -2504,20 +2506,20 @@
buildCounterGoogleDevtoolsRemoteworkersV1test2CommandTask--;
}
-buildUnnamed1331() {
+buildUnnamed1332() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1331(core.List<core.String> o) {
+checkUnnamed1332(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed1332() {
+buildUnnamed1333() {
var o = new core.List<
api.GoogleDevtoolsRemoteworkersV1test2CommandTaskInputsEnvironmentVariable>();
o.add(
@@ -2527,7 +2529,7 @@
return o;
}
-checkUnnamed1332(
+checkUnnamed1333(
core.List<
api.GoogleDevtoolsRemoteworkersV1test2CommandTaskInputsEnvironmentVariable>
o) {
@@ -2538,27 +2540,27 @@
o[1]);
}
-buildUnnamed1333() {
+buildUnnamed1334() {
var o = new core.List<api.GoogleDevtoolsRemoteworkersV1test2Digest>();
o.add(buildGoogleDevtoolsRemoteworkersV1test2Digest());
o.add(buildGoogleDevtoolsRemoteworkersV1test2Digest());
return o;
}
-checkUnnamed1333(core.List<api.GoogleDevtoolsRemoteworkersV1test2Digest> o) {
+checkUnnamed1334(core.List<api.GoogleDevtoolsRemoteworkersV1test2Digest> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleDevtoolsRemoteworkersV1test2Digest(o[0]);
checkGoogleDevtoolsRemoteworkersV1test2Digest(o[1]);
}
-buildUnnamed1334() {
+buildUnnamed1335() {
var o = new core.List<api.GoogleDevtoolsRemoteworkersV1test2Blob>();
o.add(buildGoogleDevtoolsRemoteworkersV1test2Blob());
o.add(buildGoogleDevtoolsRemoteworkersV1test2Blob());
return o;
}
-checkUnnamed1334(core.List<api.GoogleDevtoolsRemoteworkersV1test2Blob> o) {
+checkUnnamed1335(core.List<api.GoogleDevtoolsRemoteworkersV1test2Blob> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleDevtoolsRemoteworkersV1test2Blob(o[0]);
checkGoogleDevtoolsRemoteworkersV1test2Blob(o[1]);
@@ -2569,10 +2571,10 @@
var o = new api.GoogleDevtoolsRemoteworkersV1test2CommandTaskInputs();
buildCounterGoogleDevtoolsRemoteworkersV1test2CommandTaskInputs++;
if (buildCounterGoogleDevtoolsRemoteworkersV1test2CommandTaskInputs < 3) {
- o.arguments = buildUnnamed1331();
- o.environmentVariables = buildUnnamed1332();
- o.files = buildUnnamed1333();
- o.inlineBlobs = buildUnnamed1334();
+ o.arguments = buildUnnamed1332();
+ o.environmentVariables = buildUnnamed1333();
+ o.files = buildUnnamed1334();
+ o.inlineBlobs = buildUnnamed1335();
o.workingDirectory = "foo";
}
buildCounterGoogleDevtoolsRemoteworkersV1test2CommandTaskInputs--;
@@ -2583,10 +2585,10 @@
api.GoogleDevtoolsRemoteworkersV1test2CommandTaskInputs o) {
buildCounterGoogleDevtoolsRemoteworkersV1test2CommandTaskInputs++;
if (buildCounterGoogleDevtoolsRemoteworkersV1test2CommandTaskInputs < 3) {
- checkUnnamed1331(o.arguments);
- checkUnnamed1332(o.environmentVariables);
- checkUnnamed1333(o.files);
- checkUnnamed1334(o.inlineBlobs);
+ checkUnnamed1332(o.arguments);
+ checkUnnamed1333(o.environmentVariables);
+ checkUnnamed1334(o.files);
+ checkUnnamed1335(o.inlineBlobs);
unittest.expect(o.workingDirectory, unittest.equals('foo'));
}
buildCounterGoogleDevtoolsRemoteworkersV1test2CommandTaskInputs--;
@@ -2620,19 +2622,6 @@
buildCounterGoogleDevtoolsRemoteworkersV1test2CommandTaskInputsEnvironmentVariable--;
}
-buildUnnamed1335() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1335(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed1336() {
var o = new core.List<core.String>();
o.add("foo");
@@ -2646,13 +2635,26 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed1337() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1337(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
core.int buildCounterGoogleDevtoolsRemoteworkersV1test2CommandTaskOutputs = 0;
buildGoogleDevtoolsRemoteworkersV1test2CommandTaskOutputs() {
var o = new api.GoogleDevtoolsRemoteworkersV1test2CommandTaskOutputs();
buildCounterGoogleDevtoolsRemoteworkersV1test2CommandTaskOutputs++;
if (buildCounterGoogleDevtoolsRemoteworkersV1test2CommandTaskOutputs < 3) {
- o.directories = buildUnnamed1335();
- o.files = buildUnnamed1336();
+ o.directories = buildUnnamed1336();
+ o.files = buildUnnamed1337();
o.stderrDestination = "foo";
o.stdoutDestination = "foo";
}
@@ -2664,8 +2666,8 @@
api.GoogleDevtoolsRemoteworkersV1test2CommandTaskOutputs o) {
buildCounterGoogleDevtoolsRemoteworkersV1test2CommandTaskOutputs++;
if (buildCounterGoogleDevtoolsRemoteworkersV1test2CommandTaskOutputs < 3) {
- checkUnnamed1335(o.directories);
- checkUnnamed1336(o.files);
+ checkUnnamed1336(o.directories);
+ checkUnnamed1337(o.files);
unittest.expect(o.stderrDestination, unittest.equals('foo'));
unittest.expect(o.stdoutDestination, unittest.equals('foo'));
}
@@ -2718,7 +2720,7 @@
buildCounterGoogleDevtoolsRemoteworkersV1test2Digest--;
}
-buildUnnamed1337() {
+buildUnnamed1338() {
var o =
new core.List<api.GoogleDevtoolsRemoteworkersV1test2DirectoryMetadata>();
o.add(buildGoogleDevtoolsRemoteworkersV1test2DirectoryMetadata());
@@ -2726,21 +2728,21 @@
return o;
}
-checkUnnamed1337(
+checkUnnamed1338(
core.List<api.GoogleDevtoolsRemoteworkersV1test2DirectoryMetadata> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleDevtoolsRemoteworkersV1test2DirectoryMetadata(o[0]);
checkGoogleDevtoolsRemoteworkersV1test2DirectoryMetadata(o[1]);
}
-buildUnnamed1338() {
+buildUnnamed1339() {
var o = new core.List<api.GoogleDevtoolsRemoteworkersV1test2FileMetadata>();
o.add(buildGoogleDevtoolsRemoteworkersV1test2FileMetadata());
o.add(buildGoogleDevtoolsRemoteworkersV1test2FileMetadata());
return o;
}
-checkUnnamed1338(
+checkUnnamed1339(
core.List<api.GoogleDevtoolsRemoteworkersV1test2FileMetadata> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleDevtoolsRemoteworkersV1test2FileMetadata(o[0]);
@@ -2752,8 +2754,8 @@
var o = new api.GoogleDevtoolsRemoteworkersV1test2Directory();
buildCounterGoogleDevtoolsRemoteworkersV1test2Directory++;
if (buildCounterGoogleDevtoolsRemoteworkersV1test2Directory < 3) {
- o.directories = buildUnnamed1337();
- o.files = buildUnnamed1338();
+ o.directories = buildUnnamed1338();
+ o.files = buildUnnamed1339();
}
buildCounterGoogleDevtoolsRemoteworkersV1test2Directory--;
return o;
@@ -2763,8 +2765,8 @@
api.GoogleDevtoolsRemoteworkersV1test2Directory o) {
buildCounterGoogleDevtoolsRemoteworkersV1test2Directory++;
if (buildCounterGoogleDevtoolsRemoteworkersV1test2Directory < 3) {
- checkUnnamed1337(o.directories);
- checkUnnamed1338(o.files);
+ checkUnnamed1338(o.directories);
+ checkUnnamed1339(o.files);
}
buildCounterGoogleDevtoolsRemoteworkersV1test2Directory--;
}
@@ -2817,35 +2819,6 @@
buildCounterGoogleDevtoolsRemoteworkersV1test2FileMetadata--;
}
-buildUnnamed1339() {
- var o = new core.Map<core.String, core.Object>();
- o["x"] = {
- 'list': [1, 2, 3],
- 'bool': true,
- 'string': 'foo'
- };
- o["y"] = {
- 'list': [1, 2, 3],
- 'bool': true,
- 'string': 'foo'
- };
- return o;
-}
-
-checkUnnamed1339(core.Map<core.String, core.Object> o) {
- unittest.expect(o, unittest.hasLength(2));
- var casted3 = (o["x"]) as core.Map;
- unittest.expect(casted3, unittest.hasLength(3));
- unittest.expect(casted3["list"], unittest.equals([1, 2, 3]));
- unittest.expect(casted3["bool"], unittest.equals(true));
- unittest.expect(casted3["string"], unittest.equals('foo'));
- var casted4 = (o["y"]) as core.Map;
- unittest.expect(casted4, unittest.hasLength(3));
- unittest.expect(casted4["list"], unittest.equals([1, 2, 3]));
- unittest.expect(casted4["bool"], unittest.equals(true));
- unittest.expect(casted4["string"], unittest.equals('foo'));
-}
-
buildUnnamed1340() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
@@ -2863,6 +2836,35 @@
checkUnnamed1340(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
+ var casted3 = (o["x"]) as core.Map;
+ unittest.expect(casted3, unittest.hasLength(3));
+ unittest.expect(casted3["list"], unittest.equals([1, 2, 3]));
+ unittest.expect(casted3["bool"], unittest.equals(true));
+ unittest.expect(casted3["string"], unittest.equals('foo'));
+ var casted4 = (o["y"]) as core.Map;
+ unittest.expect(casted4, unittest.hasLength(3));
+ unittest.expect(casted4["list"], unittest.equals([1, 2, 3]));
+ unittest.expect(casted4["bool"], unittest.equals(true));
+ unittest.expect(casted4["string"], unittest.equals('foo'));
+}
+
+buildUnnamed1341() {
+ var o = new core.Map<core.String, core.Object>();
+ o["x"] = {
+ 'list': [1, 2, 3],
+ 'bool': true,
+ 'string': 'foo'
+ };
+ o["y"] = {
+ 'list': [1, 2, 3],
+ 'bool': true,
+ 'string': 'foo'
+ };
+ return o;
+}
+
+checkUnnamed1341(core.Map<core.String, core.Object> o) {
+ unittest.expect(o, unittest.hasLength(2));
var casted5 = (o["x"]) as core.Map;
unittest.expect(casted5, unittest.hasLength(3));
unittest.expect(casted5["list"], unittest.equals([1, 2, 3]));
@@ -2882,9 +2884,9 @@
if (buildCounterGoogleLongrunningOperation < 3) {
o.done = true;
o.error = buildGoogleRpcStatus();
- o.metadata = buildUnnamed1339();
+ o.metadata = buildUnnamed1340();
o.name = "foo";
- o.response = buildUnnamed1340();
+ o.response = buildUnnamed1341();
}
buildCounterGoogleLongrunningOperation--;
return o;
@@ -2895,14 +2897,14 @@
if (buildCounterGoogleLongrunningOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkGoogleRpcStatus(o.error);
- checkUnnamed1339(o.metadata);
+ checkUnnamed1340(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1340(o.response);
+ checkUnnamed1341(o.response);
}
buildCounterGoogleLongrunningOperation--;
}
-buildUnnamed1341() {
+buildUnnamed1342() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -2917,7 +2919,7 @@
return o;
}
-checkUnnamed1341(core.Map<core.String, core.Object> o) {
+checkUnnamed1342(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted7 = (o["x"]) as core.Map;
unittest.expect(casted7, unittest.hasLength(3));
@@ -2931,17 +2933,17 @@
unittest.expect(casted8["string"], unittest.equals('foo'));
}
-buildUnnamed1342() {
+buildUnnamed1343() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed1341());
- o.add(buildUnnamed1341());
+ o.add(buildUnnamed1342());
+ o.add(buildUnnamed1342());
return o;
}
-checkUnnamed1342(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed1343(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1341(o[0]);
- checkUnnamed1341(o[1]);
+ checkUnnamed1342(o[0]);
+ checkUnnamed1342(o[1]);
}
core.int buildCounterGoogleRpcStatus = 0;
@@ -2950,7 +2952,7 @@
buildCounterGoogleRpcStatus++;
if (buildCounterGoogleRpcStatus < 3) {
o.code = 42;
- o.details = buildUnnamed1342();
+ o.details = buildUnnamed1343();
o.message = "foo";
}
buildCounterGoogleRpcStatus--;
@@ -2961,20 +2963,20 @@
buildCounterGoogleRpcStatus++;
if (buildCounterGoogleRpcStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed1342(o.details);
+ checkUnnamed1343(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterGoogleRpcStatus--;
}
-buildUnnamed1343() {
+buildUnnamed1344() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1343(core.List<core.String> o) {
+checkUnnamed1344(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3883,9 +3885,9 @@
var arg_instanceName = "foo";
var arg_hash = "foo";
var arg_sizeBytes = "foo";
- var arg_inlineStderr = true;
var arg_inlineStdout = true;
- var arg_inlineOutputFiles = buildUnnamed1343();
+ var arg_inlineStderr = true;
+ var arg_inlineOutputFiles = buildUnnamed1344();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3918,10 +3920,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["inlineStderr"].first,
- unittest.equals("$arg_inlineStderr"));
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["fields"].first, unittest.equals(arg_$fields));
@@ -3935,8 +3937,8 @@
}), true);
res
.get(arg_instanceName, arg_hash, arg_sizeBytes,
- inlineStderr: arg_inlineStderr,
inlineStdout: arg_inlineStdout,
+ inlineStderr: arg_inlineStderr,
inlineOutputFiles: arg_inlineOutputFiles,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -4253,8 +4255,8 @@
var arg_instanceName = "foo";
var arg_hash = "foo";
var arg_sizeBytes = "foo";
- var arg_pageSize = 42;
var arg_pageToken = "foo";
+ var arg_pageSize = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -4287,10 +4289,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4302,8 +4304,8 @@
}), true);
res
.getTree(arg_instanceName, arg_hash, arg_sizeBytes,
- pageSize: arg_pageSize,
pageToken: arg_pageToken,
+ pageSize: arg_pageSize,
$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 2907517..532a37c 100644
--- a/generated/googleapis/test/reseller/v1_test.dart
+++ b/generated/googleapis/test/reseller/v1_test.dart
@@ -168,14 +168,14 @@
buildCounterRenewalSettings--;
}
-buildUnnamed4467() {
+buildUnnamed4474() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4467(core.List<core.String> o) {
+checkUnnamed4474(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -186,7 +186,7 @@
var o = new api.ResellernotifyGetwatchdetailsResponse();
buildCounterResellernotifyGetwatchdetailsResponse++;
if (buildCounterResellernotifyGetwatchdetailsResponse < 3) {
- o.serviceAccountEmailAddresses = buildUnnamed4467();
+ o.serviceAccountEmailAddresses = buildUnnamed4474();
o.topicName = "foo";
}
buildCounterResellernotifyGetwatchdetailsResponse--;
@@ -197,7 +197,7 @@
api.ResellernotifyGetwatchdetailsResponse o) {
buildCounterResellernotifyGetwatchdetailsResponse++;
if (buildCounterResellernotifyGetwatchdetailsResponse < 3) {
- checkUnnamed4467(o.serviceAccountEmailAddresses);
+ checkUnnamed4474(o.serviceAccountEmailAddresses);
unittest.expect(o.topicName, unittest.equals('foo'));
}
buildCounterResellernotifyGetwatchdetailsResponse--;
@@ -292,14 +292,14 @@
buildCounterSubscriptionPlan--;
}
-buildUnnamed4468() {
+buildUnnamed4475() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4468(core.List<core.String> o) {
+checkUnnamed4475(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -367,7 +367,7 @@
o.skuName = "foo";
o.status = "foo";
o.subscriptionId = "foo";
- o.suspensionReasons = buildUnnamed4468();
+ o.suspensionReasons = buildUnnamed4475();
o.transferInfo = buildSubscriptionTransferInfo();
o.trialSettings = buildSubscriptionTrialSettings();
}
@@ -393,21 +393,21 @@
unittest.expect(o.skuName, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals('foo'));
unittest.expect(o.subscriptionId, unittest.equals('foo'));
- checkUnnamed4468(o.suspensionReasons);
+ checkUnnamed4475(o.suspensionReasons);
checkSubscriptionTransferInfo(o.transferInfo);
checkSubscriptionTrialSettings(o.trialSettings);
}
buildCounterSubscription--;
}
-buildUnnamed4469() {
+buildUnnamed4476() {
var o = new core.List<api.Subscription>();
o.add(buildSubscription());
o.add(buildSubscription());
return o;
}
-checkUnnamed4469(core.List<api.Subscription> o) {
+checkUnnamed4476(core.List<api.Subscription> o) {
unittest.expect(o, unittest.hasLength(2));
checkSubscription(o[0]);
checkSubscription(o[1]);
@@ -420,7 +420,7 @@
if (buildCounterSubscriptions < 3) {
o.kind = "foo";
o.nextPageToken = "foo";
- o.subscriptions = buildUnnamed4469();
+ o.subscriptions = buildUnnamed4476();
}
buildCounterSubscriptions--;
return o;
@@ -431,7 +431,7 @@
if (buildCounterSubscriptions < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed4469(o.subscriptions);
+ checkUnnamed4476(o.subscriptions);
}
buildCounterSubscriptions--;
}
@@ -1472,11 +1472,11 @@
var mock = new HttpServerMock();
api.SubscriptionsResourceApi res =
new api.ResellerApi(mock).subscriptions;
- var arg_customerAuthToken = "foo";
- var arg_pageToken = "foo";
- var arg_customerNamePrefix = "foo";
- var arg_customerId = "foo";
var arg_maxResults = 42;
+ var arg_customerNamePrefix = "foo";
+ var arg_customerAuthToken = "foo";
+ var arg_customerId = "foo";
+ var arg_pageToken = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1511,16 +1511,16 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ 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["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(queryMap["customerNamePrefix"].first,
- unittest.equals(arg_customerNamePrefix));
- 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 = {
@@ -1531,11 +1531,11 @@
}), true);
res
.list(
- customerAuthToken: arg_customerAuthToken,
- pageToken: arg_pageToken,
- customerNamePrefix: arg_customerNamePrefix,
- customerId: arg_customerId,
maxResults: arg_maxResults,
+ customerNamePrefix: arg_customerNamePrefix,
+ customerAuthToken: arg_customerAuthToken,
+ customerId: arg_customerId,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkSubscriptions(response);
diff --git a/generated/googleapis/test/run/v1_test.dart b/generated/googleapis/test/run/v1_test.dart
index a9c04cc..3ed29bb 100644
--- a/generated/googleapis/test/run/v1_test.dart
+++ b/generated/googleapis/test/run/v1_test.dart
@@ -69,14 +69,14 @@
buildCounterAddressable--;
}
-buildUnnamed580() {
+buildUnnamed581() {
var o = new core.List<api.AuditLogConfig>();
o.add(buildAuditLogConfig());
o.add(buildAuditLogConfig());
return o;
}
-checkUnnamed580(core.List<api.AuditLogConfig> o) {
+checkUnnamed581(core.List<api.AuditLogConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuditLogConfig(o[0]);
checkAuditLogConfig(o[1]);
@@ -87,7 +87,7 @@
var o = new api.AuditConfig();
buildCounterAuditConfig++;
if (buildCounterAuditConfig < 3) {
- o.auditLogConfigs = buildUnnamed580();
+ o.auditLogConfigs = buildUnnamed581();
o.service = "foo";
}
buildCounterAuditConfig--;
@@ -97,20 +97,20 @@
checkAuditConfig(api.AuditConfig o) {
buildCounterAuditConfig++;
if (buildCounterAuditConfig < 3) {
- checkUnnamed580(o.auditLogConfigs);
+ checkUnnamed581(o.auditLogConfigs);
unittest.expect(o.service, unittest.equals('foo'));
}
buildCounterAuditConfig--;
}
-buildUnnamed581() {
+buildUnnamed582() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed581(core.List<core.String> o) {
+checkUnnamed582(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -121,7 +121,7 @@
var o = new api.AuditLogConfig();
buildCounterAuditLogConfig++;
if (buildCounterAuditLogConfig < 3) {
- o.exemptedMembers = buildUnnamed581();
+ o.exemptedMembers = buildUnnamed582();
o.logType = "foo";
}
buildCounterAuditLogConfig--;
@@ -131,7 +131,7 @@
checkAuditLogConfig(api.AuditLogConfig o) {
buildCounterAuditLogConfig++;
if (buildCounterAuditLogConfig < 3) {
- checkUnnamed581(o.exemptedMembers);
+ checkUnnamed582(o.exemptedMembers);
unittest.expect(o.logType, unittest.equals('foo'));
}
buildCounterAuditLogConfig--;
@@ -158,14 +158,14 @@
buildCounterAuthorizedDomain--;
}
-buildUnnamed582() {
+buildUnnamed583() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed582(core.List<core.String> o) {
+checkUnnamed583(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -177,7 +177,7 @@
buildCounterBinding++;
if (buildCounterBinding < 3) {
o.condition = buildExpr();
- o.members = buildUnnamed582();
+ o.members = buildUnnamed583();
o.role = "foo";
}
buildCounterBinding--;
@@ -188,7 +188,7 @@
buildCounterBinding++;
if (buildCounterBinding < 3) {
checkExpr(o.condition);
- checkUnnamed582(o.members);
+ checkUnnamed583(o.members);
unittest.expect(o.role, unittest.equals('foo'));
}
buildCounterBinding--;
@@ -242,14 +242,14 @@
buildCounterConfigMapKeySelector--;
}
-buildUnnamed583() {
+buildUnnamed584() {
var o = new core.List<api.KeyToPath>();
o.add(buildKeyToPath());
o.add(buildKeyToPath());
return o;
}
-checkUnnamed583(core.List<api.KeyToPath> o) {
+checkUnnamed584(core.List<api.KeyToPath> o) {
unittest.expect(o, unittest.hasLength(2));
checkKeyToPath(o[0]);
checkKeyToPath(o[1]);
@@ -261,7 +261,7 @@
buildCounterConfigMapVolumeSource++;
if (buildCounterConfigMapVolumeSource < 3) {
o.defaultMode = 42;
- o.items = buildUnnamed583();
+ o.items = buildUnnamed584();
o.name = "foo";
o.optional = true;
}
@@ -273,7 +273,7 @@
buildCounterConfigMapVolumeSource++;
if (buildCounterConfigMapVolumeSource < 3) {
unittest.expect(o.defaultMode, unittest.equals(42));
- checkUnnamed583(o.items);
+ checkUnnamed584(o.items);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.optional, unittest.isTrue);
}
@@ -326,14 +326,14 @@
buildCounterConfigurationSpec--;
}
-buildUnnamed584() {
+buildUnnamed585() {
var o = new core.List<api.GoogleCloudRunV1Condition>();
o.add(buildGoogleCloudRunV1Condition());
o.add(buildGoogleCloudRunV1Condition());
return o;
}
-checkUnnamed584(core.List<api.GoogleCloudRunV1Condition> o) {
+checkUnnamed585(core.List<api.GoogleCloudRunV1Condition> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudRunV1Condition(o[0]);
checkGoogleCloudRunV1Condition(o[1]);
@@ -344,7 +344,7 @@
var o = new api.ConfigurationStatus();
buildCounterConfigurationStatus++;
if (buildCounterConfigurationStatus < 3) {
- o.conditions = buildUnnamed584();
+ o.conditions = buildUnnamed585();
o.latestCreatedRevisionName = "foo";
o.latestReadyRevisionName = "foo";
o.observedGeneration = 42;
@@ -356,7 +356,7 @@
checkConfigurationStatus(api.ConfigurationStatus o) {
buildCounterConfigurationStatus++;
if (buildCounterConfigurationStatus < 3) {
- checkUnnamed584(o.conditions);
+ checkUnnamed585(o.conditions);
unittest.expect(o.latestCreatedRevisionName, unittest.equals('foo'));
unittest.expect(o.latestReadyRevisionName, unittest.equals('foo'));
unittest.expect(o.observedGeneration, unittest.equals(42));
@@ -364,19 +364,6 @@
buildCounterConfigurationStatus--;
}
-buildUnnamed585() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed585(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed586() {
var o = new core.List<core.String>();
o.add("foo");
@@ -391,52 +378,65 @@
}
buildUnnamed587() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed587(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed588() {
var o = new core.List<api.EnvVar>();
o.add(buildEnvVar());
o.add(buildEnvVar());
return o;
}
-checkUnnamed587(core.List<api.EnvVar> o) {
+checkUnnamed588(core.List<api.EnvVar> o) {
unittest.expect(o, unittest.hasLength(2));
checkEnvVar(o[0]);
checkEnvVar(o[1]);
}
-buildUnnamed588() {
+buildUnnamed589() {
var o = new core.List<api.EnvFromSource>();
o.add(buildEnvFromSource());
o.add(buildEnvFromSource());
return o;
}
-checkUnnamed588(core.List<api.EnvFromSource> o) {
+checkUnnamed589(core.List<api.EnvFromSource> o) {
unittest.expect(o, unittest.hasLength(2));
checkEnvFromSource(o[0]);
checkEnvFromSource(o[1]);
}
-buildUnnamed589() {
+buildUnnamed590() {
var o = new core.List<api.ContainerPort>();
o.add(buildContainerPort());
o.add(buildContainerPort());
return o;
}
-checkUnnamed589(core.List<api.ContainerPort> o) {
+checkUnnamed590(core.List<api.ContainerPort> o) {
unittest.expect(o, unittest.hasLength(2));
checkContainerPort(o[0]);
checkContainerPort(o[1]);
}
-buildUnnamed590() {
+buildUnnamed591() {
var o = new core.List<api.VolumeMount>();
o.add(buildVolumeMount());
o.add(buildVolumeMount());
return o;
}
-checkUnnamed590(core.List<api.VolumeMount> o) {
+checkUnnamed591(core.List<api.VolumeMount> o) {
unittest.expect(o, unittest.hasLength(2));
checkVolumeMount(o[0]);
checkVolumeMount(o[1]);
@@ -447,21 +447,21 @@
var o = new api.Container();
buildCounterContainer++;
if (buildCounterContainer < 3) {
- o.args = buildUnnamed585();
- o.command = buildUnnamed586();
- o.env = buildUnnamed587();
- o.envFrom = buildUnnamed588();
+ o.args = buildUnnamed586();
+ o.command = buildUnnamed587();
+ o.env = buildUnnamed588();
+ o.envFrom = buildUnnamed589();
o.image = "foo";
o.imagePullPolicy = "foo";
o.livenessProbe = buildProbe();
o.name = "foo";
- o.ports = buildUnnamed589();
+ o.ports = buildUnnamed590();
o.readinessProbe = buildProbe();
o.resources = buildResourceRequirements();
o.securityContext = buildSecurityContext();
o.terminationMessagePath = "foo";
o.terminationMessagePolicy = "foo";
- o.volumeMounts = buildUnnamed590();
+ o.volumeMounts = buildUnnamed591();
o.workingDir = "foo";
}
buildCounterContainer--;
@@ -471,21 +471,21 @@
checkContainer(api.Container o) {
buildCounterContainer++;
if (buildCounterContainer < 3) {
- checkUnnamed585(o.args);
- checkUnnamed586(o.command);
- checkUnnamed587(o.env);
- checkUnnamed588(o.envFrom);
+ checkUnnamed586(o.args);
+ checkUnnamed587(o.command);
+ checkUnnamed588(o.env);
+ checkUnnamed589(o.envFrom);
unittest.expect(o.image, unittest.equals('foo'));
unittest.expect(o.imagePullPolicy, unittest.equals('foo'));
checkProbe(o.livenessProbe);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed589(o.ports);
+ checkUnnamed590(o.ports);
checkProbe(o.readinessProbe);
checkResourceRequirements(o.resources);
checkSecurityContext(o.securityContext);
unittest.expect(o.terminationMessagePath, unittest.equals('foo'));
unittest.expect(o.terminationMessagePolicy, unittest.equals('foo'));
- checkUnnamed590(o.volumeMounts);
+ checkUnnamed591(o.volumeMounts);
unittest.expect(o.workingDir, unittest.equals('foo'));
}
buildCounterContainer--;
@@ -564,27 +564,27 @@
buildCounterDomainMappingSpec--;
}
-buildUnnamed591() {
+buildUnnamed592() {
var o = new core.List<api.GoogleCloudRunV1Condition>();
o.add(buildGoogleCloudRunV1Condition());
o.add(buildGoogleCloudRunV1Condition());
return o;
}
-checkUnnamed591(core.List<api.GoogleCloudRunV1Condition> o) {
+checkUnnamed592(core.List<api.GoogleCloudRunV1Condition> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudRunV1Condition(o[0]);
checkGoogleCloudRunV1Condition(o[1]);
}
-buildUnnamed592() {
+buildUnnamed593() {
var o = new core.List<api.ResourceRecord>();
o.add(buildResourceRecord());
o.add(buildResourceRecord());
return o;
}
-checkUnnamed592(core.List<api.ResourceRecord> o) {
+checkUnnamed593(core.List<api.ResourceRecord> o) {
unittest.expect(o, unittest.hasLength(2));
checkResourceRecord(o[0]);
checkResourceRecord(o[1]);
@@ -595,10 +595,10 @@
var o = new api.DomainMappingStatus();
buildCounterDomainMappingStatus++;
if (buildCounterDomainMappingStatus < 3) {
- o.conditions = buildUnnamed591();
+ o.conditions = buildUnnamed592();
o.mappedRouteName = "foo";
o.observedGeneration = 42;
- o.resourceRecords = buildUnnamed592();
+ o.resourceRecords = buildUnnamed593();
o.url = "foo";
}
buildCounterDomainMappingStatus--;
@@ -608,10 +608,10 @@
checkDomainMappingStatus(api.DomainMappingStatus o) {
buildCounterDomainMappingStatus++;
if (buildCounterDomainMappingStatus < 3) {
- checkUnnamed591(o.conditions);
+ checkUnnamed592(o.conditions);
unittest.expect(o.mappedRouteName, unittest.equals('foo'));
unittest.expect(o.observedGeneration, unittest.equals(42));
- checkUnnamed592(o.resourceRecords);
+ checkUnnamed593(o.resourceRecords);
unittest.expect(o.url, unittest.equals('foo'));
}
buildCounterDomainMappingStatus--;
@@ -684,14 +684,14 @@
buildCounterEnvVarSource--;
}
-buildUnnamed593() {
+buildUnnamed594() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed593(core.List<core.String> o) {
+checkUnnamed594(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -702,7 +702,7 @@
var o = new api.ExecAction();
buildCounterExecAction++;
if (buildCounterExecAction < 3) {
- o.command = buildUnnamed593();
+ o.command = buildUnnamed594();
}
buildCounterExecAction--;
return o;
@@ -711,7 +711,7 @@
checkExecAction(api.ExecAction o) {
buildCounterExecAction++;
if (buildCounterExecAction < 3) {
- checkUnnamed593(o.command);
+ checkUnnamed594(o.command);
}
buildCounterExecAction--;
}
@@ -770,14 +770,14 @@
buildCounterGoogleCloudRunV1Condition--;
}
-buildUnnamed594() {
+buildUnnamed595() {
var o = new core.List<api.HTTPHeader>();
o.add(buildHTTPHeader());
o.add(buildHTTPHeader());
return o;
}
-checkUnnamed594(core.List<api.HTTPHeader> o) {
+checkUnnamed595(core.List<api.HTTPHeader> o) {
unittest.expect(o, unittest.hasLength(2));
checkHTTPHeader(o[0]);
checkHTTPHeader(o[1]);
@@ -789,7 +789,7 @@
buildCounterHTTPGetAction++;
if (buildCounterHTTPGetAction < 3) {
o.host = "foo";
- o.httpHeaders = buildUnnamed594();
+ o.httpHeaders = buildUnnamed595();
o.path = "foo";
o.scheme = "foo";
}
@@ -801,7 +801,7 @@
buildCounterHTTPGetAction++;
if (buildCounterHTTPGetAction < 3) {
unittest.expect(o.host, unittest.equals('foo'));
- checkUnnamed594(o.httpHeaders);
+ checkUnnamed595(o.httpHeaders);
unittest.expect(o.path, unittest.equals('foo'));
unittest.expect(o.scheme, unittest.equals('foo'));
}
@@ -852,14 +852,14 @@
buildCounterKeyToPath--;
}
-buildUnnamed595() {
+buildUnnamed596() {
var o = new core.List<api.AuthorizedDomain>();
o.add(buildAuthorizedDomain());
o.add(buildAuthorizedDomain());
return o;
}
-checkUnnamed595(core.List<api.AuthorizedDomain> o) {
+checkUnnamed596(core.List<api.AuthorizedDomain> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuthorizedDomain(o[0]);
checkAuthorizedDomain(o[1]);
@@ -870,7 +870,7 @@
var o = new api.ListAuthorizedDomainsResponse();
buildCounterListAuthorizedDomainsResponse++;
if (buildCounterListAuthorizedDomainsResponse < 3) {
- o.domains = buildUnnamed595();
+ o.domains = buildUnnamed596();
o.nextPageToken = "foo";
}
buildCounterListAuthorizedDomainsResponse--;
@@ -880,33 +880,33 @@
checkListAuthorizedDomainsResponse(api.ListAuthorizedDomainsResponse o) {
buildCounterListAuthorizedDomainsResponse++;
if (buildCounterListAuthorizedDomainsResponse < 3) {
- checkUnnamed595(o.domains);
+ checkUnnamed596(o.domains);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListAuthorizedDomainsResponse--;
}
-buildUnnamed596() {
+buildUnnamed597() {
var o = new core.List<api.Configuration>();
o.add(buildConfiguration());
o.add(buildConfiguration());
return o;
}
-checkUnnamed596(core.List<api.Configuration> o) {
+checkUnnamed597(core.List<api.Configuration> o) {
unittest.expect(o, unittest.hasLength(2));
checkConfiguration(o[0]);
checkConfiguration(o[1]);
}
-buildUnnamed597() {
+buildUnnamed598() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed597(core.List<core.String> o) {
+checkUnnamed598(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -918,10 +918,10 @@
buildCounterListConfigurationsResponse++;
if (buildCounterListConfigurationsResponse < 3) {
o.apiVersion = "foo";
- o.items = buildUnnamed596();
+ o.items = buildUnnamed597();
o.kind = "foo";
o.metadata = buildListMeta();
- o.unreachable = buildUnnamed597();
+ o.unreachable = buildUnnamed598();
}
buildCounterListConfigurationsResponse--;
return o;
@@ -931,35 +931,35 @@
buildCounterListConfigurationsResponse++;
if (buildCounterListConfigurationsResponse < 3) {
unittest.expect(o.apiVersion, unittest.equals('foo'));
- checkUnnamed596(o.items);
+ checkUnnamed597(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
checkListMeta(o.metadata);
- checkUnnamed597(o.unreachable);
+ checkUnnamed598(o.unreachable);
}
buildCounterListConfigurationsResponse--;
}
-buildUnnamed598() {
+buildUnnamed599() {
var o = new core.List<api.DomainMapping>();
o.add(buildDomainMapping());
o.add(buildDomainMapping());
return o;
}
-checkUnnamed598(core.List<api.DomainMapping> o) {
+checkUnnamed599(core.List<api.DomainMapping> o) {
unittest.expect(o, unittest.hasLength(2));
checkDomainMapping(o[0]);
checkDomainMapping(o[1]);
}
-buildUnnamed599() {
+buildUnnamed600() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed599(core.List<core.String> o) {
+checkUnnamed600(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -971,10 +971,10 @@
buildCounterListDomainMappingsResponse++;
if (buildCounterListDomainMappingsResponse < 3) {
o.apiVersion = "foo";
- o.items = buildUnnamed598();
+ o.items = buildUnnamed599();
o.kind = "foo";
o.metadata = buildListMeta();
- o.unreachable = buildUnnamed599();
+ o.unreachable = buildUnnamed600();
}
buildCounterListDomainMappingsResponse--;
return o;
@@ -984,22 +984,22 @@
buildCounterListDomainMappingsResponse++;
if (buildCounterListDomainMappingsResponse < 3) {
unittest.expect(o.apiVersion, unittest.equals('foo'));
- checkUnnamed598(o.items);
+ checkUnnamed599(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
checkListMeta(o.metadata);
- checkUnnamed599(o.unreachable);
+ checkUnnamed600(o.unreachable);
}
buildCounterListDomainMappingsResponse--;
}
-buildUnnamed600() {
+buildUnnamed601() {
var o = new core.List<api.Location>();
o.add(buildLocation());
o.add(buildLocation());
return o;
}
-checkUnnamed600(core.List<api.Location> o) {
+checkUnnamed601(core.List<api.Location> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocation(o[0]);
checkLocation(o[1]);
@@ -1010,7 +1010,7 @@
var o = new api.ListLocationsResponse();
buildCounterListLocationsResponse++;
if (buildCounterListLocationsResponse < 3) {
- o.locations = buildUnnamed600();
+ o.locations = buildUnnamed601();
o.nextPageToken = "foo";
}
buildCounterListLocationsResponse--;
@@ -1020,7 +1020,7 @@
checkListLocationsResponse(api.ListLocationsResponse o) {
buildCounterListLocationsResponse++;
if (buildCounterListLocationsResponse < 3) {
- checkUnnamed600(o.locations);
+ checkUnnamed601(o.locations);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListLocationsResponse--;
@@ -1049,27 +1049,27 @@
buildCounterListMeta--;
}
-buildUnnamed601() {
+buildUnnamed602() {
var o = new core.List<api.Revision>();
o.add(buildRevision());
o.add(buildRevision());
return o;
}
-checkUnnamed601(core.List<api.Revision> o) {
+checkUnnamed602(core.List<api.Revision> o) {
unittest.expect(o, unittest.hasLength(2));
checkRevision(o[0]);
checkRevision(o[1]);
}
-buildUnnamed602() {
+buildUnnamed603() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed602(core.List<core.String> o) {
+checkUnnamed603(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1081,10 +1081,10 @@
buildCounterListRevisionsResponse++;
if (buildCounterListRevisionsResponse < 3) {
o.apiVersion = "foo";
- o.items = buildUnnamed601();
+ o.items = buildUnnamed602();
o.kind = "foo";
o.metadata = buildListMeta();
- o.unreachable = buildUnnamed602();
+ o.unreachable = buildUnnamed603();
}
buildCounterListRevisionsResponse--;
return o;
@@ -1094,35 +1094,35 @@
buildCounterListRevisionsResponse++;
if (buildCounterListRevisionsResponse < 3) {
unittest.expect(o.apiVersion, unittest.equals('foo'));
- checkUnnamed601(o.items);
+ checkUnnamed602(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
checkListMeta(o.metadata);
- checkUnnamed602(o.unreachable);
+ checkUnnamed603(o.unreachable);
}
buildCounterListRevisionsResponse--;
}
-buildUnnamed603() {
+buildUnnamed604() {
var o = new core.List<api.Route>();
o.add(buildRoute());
o.add(buildRoute());
return o;
}
-checkUnnamed603(core.List<api.Route> o) {
+checkUnnamed604(core.List<api.Route> o) {
unittest.expect(o, unittest.hasLength(2));
checkRoute(o[0]);
checkRoute(o[1]);
}
-buildUnnamed604() {
+buildUnnamed605() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed604(core.List<core.String> o) {
+checkUnnamed605(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1134,10 +1134,10 @@
buildCounterListRoutesResponse++;
if (buildCounterListRoutesResponse < 3) {
o.apiVersion = "foo";
- o.items = buildUnnamed603();
+ o.items = buildUnnamed604();
o.kind = "foo";
o.metadata = buildListMeta();
- o.unreachable = buildUnnamed604();
+ o.unreachable = buildUnnamed605();
}
buildCounterListRoutesResponse--;
return o;
@@ -1147,35 +1147,35 @@
buildCounterListRoutesResponse++;
if (buildCounterListRoutesResponse < 3) {
unittest.expect(o.apiVersion, unittest.equals('foo'));
- checkUnnamed603(o.items);
+ checkUnnamed604(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
checkListMeta(o.metadata);
- checkUnnamed604(o.unreachable);
+ checkUnnamed605(o.unreachable);
}
buildCounterListRoutesResponse--;
}
-buildUnnamed605() {
+buildUnnamed606() {
var o = new core.List<api.Service>();
o.add(buildService());
o.add(buildService());
return o;
}
-checkUnnamed605(core.List<api.Service> o) {
+checkUnnamed606(core.List<api.Service> o) {
unittest.expect(o, unittest.hasLength(2));
checkService(o[0]);
checkService(o[1]);
}
-buildUnnamed606() {
+buildUnnamed607() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed606(core.List<core.String> o) {
+checkUnnamed607(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1187,10 +1187,10 @@
buildCounterListServicesResponse++;
if (buildCounterListServicesResponse < 3) {
o.apiVersion = "foo";
- o.items = buildUnnamed605();
+ o.items = buildUnnamed606();
o.kind = "foo";
o.metadata = buildListMeta();
- o.unreachable = buildUnnamed606();
+ o.unreachable = buildUnnamed607();
}
buildCounterListServicesResponse--;
return o;
@@ -1200,10 +1200,10 @@
buildCounterListServicesResponse++;
if (buildCounterListServicesResponse < 3) {
unittest.expect(o.apiVersion, unittest.equals('foo'));
- checkUnnamed605(o.items);
+ checkUnnamed606(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
checkListMeta(o.metadata);
- checkUnnamed606(o.unreachable);
+ checkUnnamed607(o.unreachable);
}
buildCounterListServicesResponse--;
}
@@ -1227,20 +1227,20 @@
buildCounterLocalObjectReference--;
}
-buildUnnamed607() {
+buildUnnamed608() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed607(core.Map<core.String, core.String> o) {
+checkUnnamed608(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed608() {
+buildUnnamed609() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1255,7 +1255,7 @@
return o;
}
-checkUnnamed608(core.Map<core.String, core.Object> o) {
+checkUnnamed609(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o["x"]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -1275,9 +1275,9 @@
buildCounterLocation++;
if (buildCounterLocation < 3) {
o.displayName = "foo";
- o.labels = buildUnnamed607();
+ o.labels = buildUnnamed608();
o.locationId = "foo";
- o.metadata = buildUnnamed608();
+ o.metadata = buildUnnamed609();
o.name = "foo";
}
buildCounterLocation--;
@@ -1288,61 +1288,61 @@
buildCounterLocation++;
if (buildCounterLocation < 3) {
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed607(o.labels);
+ checkUnnamed608(o.labels);
unittest.expect(o.locationId, unittest.equals('foo'));
- checkUnnamed608(o.metadata);
+ checkUnnamed609(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
}
buildCounterLocation--;
}
-buildUnnamed609() {
+buildUnnamed610() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed609(core.Map<core.String, core.String> o) {
+checkUnnamed610(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed610() {
+buildUnnamed611() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed610(core.List<core.String> o) {
+checkUnnamed611(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed611() {
+buildUnnamed612() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed611(core.Map<core.String, core.String> o) {
+checkUnnamed612(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed612() {
+buildUnnamed613() {
var o = new core.List<api.OwnerReference>();
o.add(buildOwnerReference());
o.add(buildOwnerReference());
return o;
}
-checkUnnamed612(core.List<api.OwnerReference> o) {
+checkUnnamed613(core.List<api.OwnerReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkOwnerReference(o[0]);
checkOwnerReference(o[1]);
@@ -1353,18 +1353,18 @@
var o = new api.ObjectMeta();
buildCounterObjectMeta++;
if (buildCounterObjectMeta < 3) {
- o.annotations = buildUnnamed609();
+ o.annotations = buildUnnamed610();
o.clusterName = "foo";
o.creationTimestamp = "foo";
o.deletionGracePeriodSeconds = 42;
o.deletionTimestamp = "foo";
- o.finalizers = buildUnnamed610();
+ o.finalizers = buildUnnamed611();
o.generateName = "foo";
o.generation = 42;
- o.labels = buildUnnamed611();
+ o.labels = buildUnnamed612();
o.name = "foo";
o.namespace = "foo";
- o.ownerReferences = buildUnnamed612();
+ o.ownerReferences = buildUnnamed613();
o.resourceVersion = "foo";
o.selfLink = "foo";
o.uid = "foo";
@@ -1376,18 +1376,18 @@
checkObjectMeta(api.ObjectMeta o) {
buildCounterObjectMeta++;
if (buildCounterObjectMeta < 3) {
- checkUnnamed609(o.annotations);
+ checkUnnamed610(o.annotations);
unittest.expect(o.clusterName, unittest.equals('foo'));
unittest.expect(o.creationTimestamp, unittest.equals('foo'));
unittest.expect(o.deletionGracePeriodSeconds, unittest.equals(42));
unittest.expect(o.deletionTimestamp, unittest.equals('foo'));
- checkUnnamed610(o.finalizers);
+ checkUnnamed611(o.finalizers);
unittest.expect(o.generateName, unittest.equals('foo'));
unittest.expect(o.generation, unittest.equals(42));
- checkUnnamed611(o.labels);
+ checkUnnamed612(o.labels);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.namespace, unittest.equals('foo'));
- checkUnnamed612(o.ownerReferences);
+ checkUnnamed613(o.ownerReferences);
unittest.expect(o.resourceVersion, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
unittest.expect(o.uid, unittest.equals('foo'));
@@ -1424,27 +1424,27 @@
buildCounterOwnerReference--;
}
-buildUnnamed613() {
+buildUnnamed614() {
var o = new core.List<api.AuditConfig>();
o.add(buildAuditConfig());
o.add(buildAuditConfig());
return o;
}
-checkUnnamed613(core.List<api.AuditConfig> o) {
+checkUnnamed614(core.List<api.AuditConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuditConfig(o[0]);
checkAuditConfig(o[1]);
}
-buildUnnamed614() {
+buildUnnamed615() {
var o = new core.List<api.Binding>();
o.add(buildBinding());
o.add(buildBinding());
return o;
}
-checkUnnamed614(core.List<api.Binding> o) {
+checkUnnamed615(core.List<api.Binding> o) {
unittest.expect(o, unittest.hasLength(2));
checkBinding(o[0]);
checkBinding(o[1]);
@@ -1455,8 +1455,8 @@
var o = new api.Policy();
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- o.auditConfigs = buildUnnamed613();
- o.bindings = buildUnnamed614();
+ o.auditConfigs = buildUnnamed614();
+ o.bindings = buildUnnamed615();
o.etag = "foo";
o.version = 42;
}
@@ -1467,8 +1467,8 @@
checkPolicy(api.Policy o) {
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- checkUnnamed613(o.auditConfigs);
- checkUnnamed614(o.bindings);
+ checkUnnamed614(o.auditConfigs);
+ checkUnnamed615(o.bindings);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals(42));
}
@@ -1531,19 +1531,6 @@
buildCounterResourceRecord--;
}
-buildUnnamed615() {
- var o = new core.Map<core.String, core.String>();
- o["x"] = "foo";
- o["y"] = "foo";
- return o;
-}
-
-checkUnnamed615(core.Map<core.String, core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o["x"], unittest.equals('foo'));
- unittest.expect(o["y"], unittest.equals('foo'));
-}
-
buildUnnamed616() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
@@ -1557,13 +1544,26 @@
unittest.expect(o["y"], unittest.equals('foo'));
}
+buildUnnamed617() {
+ var o = new core.Map<core.String, core.String>();
+ o["x"] = "foo";
+ o["y"] = "foo";
+ return o;
+}
+
+checkUnnamed617(core.Map<core.String, core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o["x"], unittest.equals('foo'));
+ unittest.expect(o["y"], unittest.equals('foo'));
+}
+
core.int buildCounterResourceRequirements = 0;
buildResourceRequirements() {
var o = new api.ResourceRequirements();
buildCounterResourceRequirements++;
if (buildCounterResourceRequirements < 3) {
- o.limits = buildUnnamed615();
- o.requests = buildUnnamed616();
+ o.limits = buildUnnamed616();
+ o.requests = buildUnnamed617();
}
buildCounterResourceRequirements--;
return o;
@@ -1572,8 +1572,8 @@
checkResourceRequirements(api.ResourceRequirements o) {
buildCounterResourceRequirements++;
if (buildCounterResourceRequirements < 3) {
- checkUnnamed615(o.limits);
- checkUnnamed616(o.requests);
+ checkUnnamed616(o.limits);
+ checkUnnamed617(o.requests);
}
buildCounterResourceRequirements--;
}
@@ -1605,27 +1605,27 @@
buildCounterRevision--;
}
-buildUnnamed617() {
+buildUnnamed618() {
var o = new core.List<api.Container>();
o.add(buildContainer());
o.add(buildContainer());
return o;
}
-checkUnnamed617(core.List<api.Container> o) {
+checkUnnamed618(core.List<api.Container> o) {
unittest.expect(o, unittest.hasLength(2));
checkContainer(o[0]);
checkContainer(o[1]);
}
-buildUnnamed618() {
+buildUnnamed619() {
var o = new core.List<api.Volume>();
o.add(buildVolume());
o.add(buildVolume());
return o;
}
-checkUnnamed618(core.List<api.Volume> o) {
+checkUnnamed619(core.List<api.Volume> o) {
unittest.expect(o, unittest.hasLength(2));
checkVolume(o[0]);
checkVolume(o[1]);
@@ -1637,10 +1637,10 @@
buildCounterRevisionSpec++;
if (buildCounterRevisionSpec < 3) {
o.containerConcurrency = 42;
- o.containers = buildUnnamed617();
+ o.containers = buildUnnamed618();
o.serviceAccountName = "foo";
o.timeoutSeconds = 42;
- o.volumes = buildUnnamed618();
+ o.volumes = buildUnnamed619();
}
buildCounterRevisionSpec--;
return o;
@@ -1650,22 +1650,22 @@
buildCounterRevisionSpec++;
if (buildCounterRevisionSpec < 3) {
unittest.expect(o.containerConcurrency, unittest.equals(42));
- checkUnnamed617(o.containers);
+ checkUnnamed618(o.containers);
unittest.expect(o.serviceAccountName, unittest.equals('foo'));
unittest.expect(o.timeoutSeconds, unittest.equals(42));
- checkUnnamed618(o.volumes);
+ checkUnnamed619(o.volumes);
}
buildCounterRevisionSpec--;
}
-buildUnnamed619() {
+buildUnnamed620() {
var o = new core.List<api.GoogleCloudRunV1Condition>();
o.add(buildGoogleCloudRunV1Condition());
o.add(buildGoogleCloudRunV1Condition());
return o;
}
-checkUnnamed619(core.List<api.GoogleCloudRunV1Condition> o) {
+checkUnnamed620(core.List<api.GoogleCloudRunV1Condition> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudRunV1Condition(o[0]);
checkGoogleCloudRunV1Condition(o[1]);
@@ -1676,7 +1676,7 @@
var o = new api.RevisionStatus();
buildCounterRevisionStatus++;
if (buildCounterRevisionStatus < 3) {
- o.conditions = buildUnnamed619();
+ o.conditions = buildUnnamed620();
o.imageDigest = "foo";
o.logUrl = "foo";
o.observedGeneration = 42;
@@ -1689,7 +1689,7 @@
checkRevisionStatus(api.RevisionStatus o) {
buildCounterRevisionStatus++;
if (buildCounterRevisionStatus < 3) {
- checkUnnamed619(o.conditions);
+ checkUnnamed620(o.conditions);
unittest.expect(o.imageDigest, unittest.equals('foo'));
unittest.expect(o.logUrl, unittest.equals('foo'));
unittest.expect(o.observedGeneration, unittest.equals(42));
@@ -1746,14 +1746,14 @@
buildCounterRoute--;
}
-buildUnnamed620() {
+buildUnnamed621() {
var o = new core.List<api.TrafficTarget>();
o.add(buildTrafficTarget());
o.add(buildTrafficTarget());
return o;
}
-checkUnnamed620(core.List<api.TrafficTarget> o) {
+checkUnnamed621(core.List<api.TrafficTarget> o) {
unittest.expect(o, unittest.hasLength(2));
checkTrafficTarget(o[0]);
checkTrafficTarget(o[1]);
@@ -1764,7 +1764,7 @@
var o = new api.RouteSpec();
buildCounterRouteSpec++;
if (buildCounterRouteSpec < 3) {
- o.traffic = buildUnnamed620();
+ o.traffic = buildUnnamed621();
}
buildCounterRouteSpec--;
return o;
@@ -1773,32 +1773,32 @@
checkRouteSpec(api.RouteSpec o) {
buildCounterRouteSpec++;
if (buildCounterRouteSpec < 3) {
- checkUnnamed620(o.traffic);
+ checkUnnamed621(o.traffic);
}
buildCounterRouteSpec--;
}
-buildUnnamed621() {
+buildUnnamed622() {
var o = new core.List<api.GoogleCloudRunV1Condition>();
o.add(buildGoogleCloudRunV1Condition());
o.add(buildGoogleCloudRunV1Condition());
return o;
}
-checkUnnamed621(core.List<api.GoogleCloudRunV1Condition> o) {
+checkUnnamed622(core.List<api.GoogleCloudRunV1Condition> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudRunV1Condition(o[0]);
checkGoogleCloudRunV1Condition(o[1]);
}
-buildUnnamed622() {
+buildUnnamed623() {
var o = new core.List<api.TrafficTarget>();
o.add(buildTrafficTarget());
o.add(buildTrafficTarget());
return o;
}
-checkUnnamed622(core.List<api.TrafficTarget> o) {
+checkUnnamed623(core.List<api.TrafficTarget> o) {
unittest.expect(o, unittest.hasLength(2));
checkTrafficTarget(o[0]);
checkTrafficTarget(o[1]);
@@ -1810,9 +1810,9 @@
buildCounterRouteStatus++;
if (buildCounterRouteStatus < 3) {
o.address = buildAddressable();
- o.conditions = buildUnnamed621();
+ o.conditions = buildUnnamed622();
o.observedGeneration = 42;
- o.traffic = buildUnnamed622();
+ o.traffic = buildUnnamed623();
o.url = "foo";
}
buildCounterRouteStatus--;
@@ -1823,9 +1823,9 @@
buildCounterRouteStatus++;
if (buildCounterRouteStatus < 3) {
checkAddressable(o.address);
- checkUnnamed621(o.conditions);
+ checkUnnamed622(o.conditions);
unittest.expect(o.observedGeneration, unittest.equals(42));
- checkUnnamed622(o.traffic);
+ checkUnnamed623(o.traffic);
unittest.expect(o.url, unittest.equals('foo'));
}
buildCounterRouteStatus--;
@@ -1879,14 +1879,14 @@
buildCounterSecretKeySelector--;
}
-buildUnnamed623() {
+buildUnnamed624() {
var o = new core.List<api.KeyToPath>();
o.add(buildKeyToPath());
o.add(buildKeyToPath());
return o;
}
-checkUnnamed623(core.List<api.KeyToPath> o) {
+checkUnnamed624(core.List<api.KeyToPath> o) {
unittest.expect(o, unittest.hasLength(2));
checkKeyToPath(o[0]);
checkKeyToPath(o[1]);
@@ -1898,7 +1898,7 @@
buildCounterSecretVolumeSource++;
if (buildCounterSecretVolumeSource < 3) {
o.defaultMode = 42;
- o.items = buildUnnamed623();
+ o.items = buildUnnamed624();
o.optional = true;
o.secretName = "foo";
}
@@ -1910,7 +1910,7 @@
buildCounterSecretVolumeSource++;
if (buildCounterSecretVolumeSource < 3) {
unittest.expect(o.defaultMode, unittest.equals(42));
- checkUnnamed623(o.items);
+ checkUnnamed624(o.items);
unittest.expect(o.optional, unittest.isTrue);
unittest.expect(o.secretName, unittest.equals('foo'));
}
@@ -1963,14 +1963,14 @@
buildCounterService--;
}
-buildUnnamed624() {
+buildUnnamed625() {
var o = new core.List<api.TrafficTarget>();
o.add(buildTrafficTarget());
o.add(buildTrafficTarget());
return o;
}
-checkUnnamed624(core.List<api.TrafficTarget> o) {
+checkUnnamed625(core.List<api.TrafficTarget> o) {
unittest.expect(o, unittest.hasLength(2));
checkTrafficTarget(o[0]);
checkTrafficTarget(o[1]);
@@ -1982,7 +1982,7 @@
buildCounterServiceSpec++;
if (buildCounterServiceSpec < 3) {
o.template = buildRevisionTemplate();
- o.traffic = buildUnnamed624();
+ o.traffic = buildUnnamed625();
}
buildCounterServiceSpec--;
return o;
@@ -1992,32 +1992,32 @@
buildCounterServiceSpec++;
if (buildCounterServiceSpec < 3) {
checkRevisionTemplate(o.template);
- checkUnnamed624(o.traffic);
+ checkUnnamed625(o.traffic);
}
buildCounterServiceSpec--;
}
-buildUnnamed625() {
+buildUnnamed626() {
var o = new core.List<api.GoogleCloudRunV1Condition>();
o.add(buildGoogleCloudRunV1Condition());
o.add(buildGoogleCloudRunV1Condition());
return o;
}
-checkUnnamed625(core.List<api.GoogleCloudRunV1Condition> o) {
+checkUnnamed626(core.List<api.GoogleCloudRunV1Condition> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudRunV1Condition(o[0]);
checkGoogleCloudRunV1Condition(o[1]);
}
-buildUnnamed626() {
+buildUnnamed627() {
var o = new core.List<api.TrafficTarget>();
o.add(buildTrafficTarget());
o.add(buildTrafficTarget());
return o;
}
-checkUnnamed626(core.List<api.TrafficTarget> o) {
+checkUnnamed627(core.List<api.TrafficTarget> o) {
unittest.expect(o, unittest.hasLength(2));
checkTrafficTarget(o[0]);
checkTrafficTarget(o[1]);
@@ -2029,11 +2029,11 @@
buildCounterServiceStatus++;
if (buildCounterServiceStatus < 3) {
o.address = buildAddressable();
- o.conditions = buildUnnamed625();
+ o.conditions = buildUnnamed626();
o.latestCreatedRevisionName = "foo";
o.latestReadyRevisionName = "foo";
o.observedGeneration = 42;
- o.traffic = buildUnnamed626();
+ o.traffic = buildUnnamed627();
o.url = "foo";
}
buildCounterServiceStatus--;
@@ -2044,11 +2044,11 @@
buildCounterServiceStatus++;
if (buildCounterServiceStatus < 3) {
checkAddressable(o.address);
- checkUnnamed625(o.conditions);
+ checkUnnamed626(o.conditions);
unittest.expect(o.latestCreatedRevisionName, unittest.equals('foo'));
unittest.expect(o.latestReadyRevisionName, unittest.equals('foo'));
unittest.expect(o.observedGeneration, unittest.equals(42));
- checkUnnamed626(o.traffic);
+ checkUnnamed627(o.traffic);
unittest.expect(o.url, unittest.equals('foo'));
}
buildCounterServiceStatus--;
@@ -2127,14 +2127,14 @@
buildCounterStatusCause--;
}
-buildUnnamed627() {
+buildUnnamed628() {
var o = new core.List<api.StatusCause>();
o.add(buildStatusCause());
o.add(buildStatusCause());
return o;
}
-checkUnnamed627(core.List<api.StatusCause> o) {
+checkUnnamed628(core.List<api.StatusCause> o) {
unittest.expect(o, unittest.hasLength(2));
checkStatusCause(o[0]);
checkStatusCause(o[1]);
@@ -2145,7 +2145,7 @@
var o = new api.StatusDetails();
buildCounterStatusDetails++;
if (buildCounterStatusDetails < 3) {
- o.causes = buildUnnamed627();
+ o.causes = buildUnnamed628();
o.group = "foo";
o.kind = "foo";
o.name = "foo";
@@ -2159,7 +2159,7 @@
checkStatusDetails(api.StatusDetails o) {
buildCounterStatusDetails++;
if (buildCounterStatusDetails < 3) {
- checkUnnamed627(o.causes);
+ checkUnnamed628(o.causes);
unittest.expect(o.group, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
@@ -2190,38 +2190,6 @@
buildCounterTCPSocketAction--;
}
-buildUnnamed628() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed628(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-core.int buildCounterTestIamPermissionsRequest = 0;
-buildTestIamPermissionsRequest() {
- var o = new api.TestIamPermissionsRequest();
- buildCounterTestIamPermissionsRequest++;
- if (buildCounterTestIamPermissionsRequest < 3) {
- o.permissions = buildUnnamed628();
- }
- buildCounterTestIamPermissionsRequest--;
- return o;
-}
-
-checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) {
- buildCounterTestIamPermissionsRequest++;
- if (buildCounterTestIamPermissionsRequest < 3) {
- checkUnnamed628(o.permissions);
- }
- buildCounterTestIamPermissionsRequest--;
-}
-
buildUnnamed629() {
var o = new core.List<core.String>();
o.add("foo");
@@ -2235,12 +2203,44 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+core.int buildCounterTestIamPermissionsRequest = 0;
+buildTestIamPermissionsRequest() {
+ var o = new api.TestIamPermissionsRequest();
+ buildCounterTestIamPermissionsRequest++;
+ if (buildCounterTestIamPermissionsRequest < 3) {
+ o.permissions = buildUnnamed629();
+ }
+ buildCounterTestIamPermissionsRequest--;
+ return o;
+}
+
+checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) {
+ buildCounterTestIamPermissionsRequest++;
+ if (buildCounterTestIamPermissionsRequest < 3) {
+ checkUnnamed629(o.permissions);
+ }
+ buildCounterTestIamPermissionsRequest--;
+}
+
+buildUnnamed630() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed630(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
core.int buildCounterTestIamPermissionsResponse = 0;
buildTestIamPermissionsResponse() {
var o = new api.TestIamPermissionsResponse();
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- o.permissions = buildUnnamed629();
+ o.permissions = buildUnnamed630();
}
buildCounterTestIamPermissionsResponse--;
return o;
@@ -2249,7 +2249,7 @@
checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) {
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- checkUnnamed629(o.permissions);
+ checkUnnamed630(o.permissions);
}
buildCounterTestIamPermissionsResponse--;
}
@@ -2858,8 +2858,8 @@
api.NamespacesAuthorizeddomainsResourceApi res =
new api.RunApi(mock).namespaces.authorizeddomains;
var arg_parent = "foo";
- var arg_pageSize = 42;
var arg_pageToken = "foo";
+ var arg_pageSize = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2892,10 +2892,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2906,8 +2906,8 @@
}), true);
res
.list(arg_parent,
- pageSize: arg_pageSize,
pageToken: arg_pageToken,
+ pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListAuthorizedDomainsResponse(response);
@@ -2973,13 +2973,13 @@
api.NamespacesConfigurationsResourceApi res =
new api.RunApi(mock).namespaces.configurations;
var arg_parent = "foo";
- var arg_continue_ = "foo";
- var arg_watch = true;
- var arg_labelSelector = "foo";
- var arg_limit = 42;
- var arg_fieldSelector = "foo";
- var arg_resourceVersion = "foo";
var arg_includeUninitialized = true;
+ var arg_labelSelector = "foo";
+ var arg_resourceVersion = "foo";
+ var arg_fieldSelector = "foo";
+ var arg_limit = 42;
+ 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;
@@ -3012,19 +3012,19 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(
- queryMap["continue"].first, unittest.equals(arg_continue_));
- unittest.expect(queryMap["watch"].first, unittest.equals("$arg_watch"));
- unittest.expect(queryMap["labelSelector"].first,
- unittest.equals(arg_labelSelector));
- unittest.expect(core.int.parse(queryMap["limit"].first),
- unittest.equals(arg_limit));
- unittest.expect(queryMap["fieldSelector"].first,
- unittest.equals(arg_fieldSelector));
- 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(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["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 = {
@@ -3035,13 +3035,13 @@
}), true);
res
.list(arg_parent,
- continue_: arg_continue_,
- watch: arg_watch,
- labelSelector: arg_labelSelector,
- limit: arg_limit,
- fieldSelector: arg_fieldSelector,
- resourceVersion: arg_resourceVersion,
includeUninitialized: arg_includeUninitialized,
+ labelSelector: arg_labelSelector,
+ resourceVersion: arg_resourceVersion,
+ fieldSelector: arg_fieldSelector,
+ limit: arg_limit,
+ watch: arg_watch,
+ continue_: arg_continue_,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListConfigurationsResponse(response);
@@ -3111,8 +3111,8 @@
api.NamespacesDomainmappingsResourceApi res =
new api.RunApi(mock).namespaces.domainmappings;
var arg_name = "foo";
- var arg_apiVersion = "foo";
var arg_kind = "foo";
+ var arg_apiVersion = "foo";
var arg_propagationPolicy = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -3146,9 +3146,9 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ 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));
@@ -3161,8 +3161,8 @@
}), true);
res
.delete(arg_name,
- apiVersion: arg_apiVersion,
kind: arg_kind,
+ apiVersion: arg_apiVersion,
propagationPolicy: arg_propagationPolicy,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -3227,12 +3227,12 @@
api.NamespacesDomainmappingsResourceApi res =
new api.RunApi(mock).namespaces.domainmappings;
var arg_parent = "foo";
- var arg_watch = true;
+ var arg_limit = 42;
var arg_fieldSelector = "foo";
+ var arg_includeUninitialized = true;
var arg_continue_ = "foo";
var arg_resourceVersion = "foo";
- var arg_includeUninitialized = true;
- var arg_limit = 42;
+ var arg_watch = true;
var arg_labelSelector = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -3266,17 +3266,17 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["watch"].first, unittest.equals("$arg_watch"));
+ unittest.expect(core.int.parse(queryMap["limit"].first),
+ unittest.equals(arg_limit));
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["resourceVersion"].first,
unittest.equals(arg_resourceVersion));
- 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["labelSelector"].first,
unittest.equals(arg_labelSelector));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -3289,12 +3289,12 @@
}), true);
res
.list(arg_parent,
- watch: arg_watch,
+ limit: arg_limit,
fieldSelector: arg_fieldSelector,
+ includeUninitialized: arg_includeUninitialized,
continue_: arg_continue_,
resourceVersion: arg_resourceVersion,
- includeUninitialized: arg_includeUninitialized,
- limit: arg_limit,
+ watch: arg_watch,
labelSelector: arg_labelSelector,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -3309,8 +3309,8 @@
api.NamespacesRevisionsResourceApi res =
new api.RunApi(mock).namespaces.revisions;
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) {
@@ -3344,9 +3344,9 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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));
@@ -3359,8 +3359,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) {
@@ -3425,11 +3425,11 @@
api.NamespacesRevisionsResourceApi res =
new api.RunApi(mock).namespaces.revisions;
var arg_parent = "foo";
+ var arg_resourceVersion = "foo";
var arg_includeUninitialized = true;
var arg_fieldSelector = "foo";
- var arg_resourceVersion = "foo";
- var arg_watch = true;
var arg_limit = 42;
+ var arg_watch = true;
var arg_labelSelector = "foo";
var arg_continue_ = "foo";
var arg_$fields = "foo";
@@ -3464,15 +3464,15 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ 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(queryMap["resourceVersion"].first,
- unittest.equals(arg_resourceVersion));
- unittest.expect(queryMap["watch"].first, unittest.equals("$arg_watch"));
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(
@@ -3487,11 +3487,11 @@
}), true);
res
.list(arg_parent,
+ resourceVersion: arg_resourceVersion,
includeUninitialized: arg_includeUninitialized,
fieldSelector: arg_fieldSelector,
- resourceVersion: arg_resourceVersion,
- watch: arg_watch,
limit: arg_limit,
+ watch: arg_watch,
labelSelector: arg_labelSelector,
continue_: arg_continue_,
$fields: arg_$fields)
@@ -3559,13 +3559,13 @@
api.NamespacesRoutesResourceApi res =
new api.RunApi(mock).namespaces.routes;
var arg_parent = "foo";
- var arg_limit = 42;
var arg_continue_ = "foo";
- var arg_includeUninitialized = true;
+ var arg_limit = 42;
var arg_resourceVersion = "foo";
var arg_watch = true;
- var arg_fieldSelector = "foo";
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;
@@ -3598,19 +3598,19 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(core.int.parse(queryMap["limit"].first),
- unittest.equals(arg_limit));
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["resourceVersion"].first,
unittest.equals(arg_resourceVersion));
unittest.expect(queryMap["watch"].first, unittest.equals("$arg_watch"));
- unittest.expect(queryMap["fieldSelector"].first,
- unittest.equals(arg_fieldSelector));
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 = {
@@ -3621,13 +3621,13 @@
}), true);
res
.list(arg_parent,
- limit: arg_limit,
continue_: arg_continue_,
- includeUninitialized: arg_includeUninitialized,
+ limit: arg_limit,
resourceVersion: arg_resourceVersion,
watch: arg_watch,
- fieldSelector: arg_fieldSelector,
labelSelector: arg_labelSelector,
+ includeUninitialized: arg_includeUninitialized,
+ fieldSelector: arg_fieldSelector,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListRoutesResponse(response);
@@ -3697,9 +3697,9 @@
api.NamespacesServicesResourceApi res =
new api.RunApi(mock).namespaces.services;
var arg_name = "foo";
- var arg_kind = "foo";
var arg_apiVersion = "foo";
var arg_propagationPolicy = "foo";
+ var arg_kind = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3732,11 +3732,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["kind"].first, unittest.equals(arg_kind));
unittest.expect(
queryMap["apiVersion"].first, unittest.equals(arg_apiVersion));
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 = {
@@ -3747,9 +3747,9 @@
}), true);
res
.delete(arg_name,
- kind: arg_kind,
apiVersion: arg_apiVersion,
propagationPolicy: arg_propagationPolicy,
+ kind: arg_kind,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkStatus(response);
@@ -3814,12 +3814,12 @@
new api.RunApi(mock).namespaces.services;
var arg_parent = "foo";
var arg_continue_ = "foo";
- var arg_labelSelector = "foo";
- var arg_watch = true;
var arg_fieldSelector = "foo";
- var arg_includeUninitialized = true;
+ var arg_watch = true;
var arg_resourceVersion = "foo";
var arg_limit = 42;
+ var arg_includeUninitialized = true;
+ var arg_labelSelector = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3854,17 +3854,17 @@
}
unittest.expect(
queryMap["continue"].first, unittest.equals(arg_continue_));
- unittest.expect(queryMap["labelSelector"].first,
- unittest.equals(arg_labelSelector));
- 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["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(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3876,12 +3876,12 @@
res
.list(arg_parent,
continue_: arg_continue_,
- labelSelector: arg_labelSelector,
- watch: arg_watch,
fieldSelector: arg_fieldSelector,
- includeUninitialized: arg_includeUninitialized,
+ watch: arg_watch,
resourceVersion: arg_resourceVersion,
limit: arg_limit,
+ includeUninitialized: arg_includeUninitialized,
+ labelSelector: arg_labelSelector,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListServicesResponse(response);
@@ -3951,8 +3951,8 @@
api.ProjectsAuthorizeddomainsResourceApi res =
new api.RunApi(mock).projects.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;
@@ -3985,10 +3985,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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 = {
@@ -3999,8 +3999,8 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListAuthorizedDomainsResponse(response);
@@ -4014,8 +4014,8 @@
api.ProjectsLocationsResourceApi res =
new api.RunApi(mock).projects.locations;
var arg_name = "foo";
- var arg_filter = "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) {
@@ -4049,9 +4049,9 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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));
@@ -4064,8 +4064,8 @@
}), true);
res
.list(arg_name,
- filter: arg_filter,
pageSize: arg_pageSize,
+ filter: arg_filter,
pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -4196,12 +4196,12 @@
new api.RunApi(mock).projects.locations.configurations;
var arg_parent = "foo";
var arg_labelSelector = "foo";
- var arg_includeUninitialized = true;
var arg_resourceVersion = "foo";
- var arg_watch = true;
var arg_continue_ = "foo";
- var arg_fieldSelector = "foo";
+ var arg_includeUninitialized = true;
var arg_limit = 42;
+ var arg_watch = true;
+ var arg_fieldSelector = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -4236,17 +4236,17 @@
}
unittest.expect(queryMap["labelSelector"].first,
unittest.equals(arg_labelSelector));
- unittest.expect(queryMap["includeUninitialized"].first,
- unittest.equals("$arg_includeUninitialized"));
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["fieldSelector"].first,
- unittest.equals(arg_fieldSelector));
+ 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["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4258,12 +4258,12 @@
res
.list(arg_parent,
labelSelector: arg_labelSelector,
- includeUninitialized: arg_includeUninitialized,
resourceVersion: arg_resourceVersion,
- watch: arg_watch,
continue_: arg_continue_,
- fieldSelector: arg_fieldSelector,
+ includeUninitialized: arg_includeUninitialized,
limit: arg_limit,
+ watch: arg_watch,
+ fieldSelector: arg_fieldSelector,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListConfigurationsResponse(response);
@@ -4333,9 +4333,9 @@
api.ProjectsLocationsDomainmappingsResourceApi res =
new api.RunApi(mock).projects.locations.domainmappings;
var arg_name = "foo";
- var arg_propagationPolicy = "foo";
var arg_kind = "foo";
var arg_apiVersion = "foo";
+ var arg_propagationPolicy = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -4368,11 +4368,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["propagationPolicy"].first,
- unittest.equals(arg_propagationPolicy));
unittest.expect(queryMap["kind"].first, unittest.equals(arg_kind));
unittest.expect(
queryMap["apiVersion"].first, unittest.equals(arg_apiVersion));
+ unittest.expect(queryMap["propagationPolicy"].first,
+ unittest.equals(arg_propagationPolicy));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4383,9 +4383,9 @@
}), true);
res
.delete(arg_name,
- propagationPolicy: arg_propagationPolicy,
kind: arg_kind,
apiVersion: arg_apiVersion,
+ propagationPolicy: arg_propagationPolicy,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkStatus(response);
@@ -4449,11 +4449,11 @@
api.ProjectsLocationsDomainmappingsResourceApi res =
new api.RunApi(mock).projects.locations.domainmappings;
var arg_parent = "foo";
+ var arg_resourceVersion = "foo";
var arg_limit = 42;
var arg_labelSelector = "foo";
- var arg_resourceVersion = "foo";
- var arg_includeUninitialized = true;
var arg_continue_ = "foo";
+ var arg_includeUninitialized = true;
var arg_watch = true;
var arg_fieldSelector = "foo";
var arg_$fields = "foo";
@@ -4488,16 +4488,16 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ 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["resourceVersion"].first,
- unittest.equals(arg_resourceVersion));
- unittest.expect(queryMap["includeUninitialized"].first,
- unittest.equals("$arg_includeUninitialized"));
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));
@@ -4511,11 +4511,11 @@
}), true);
res
.list(arg_parent,
+ resourceVersion: arg_resourceVersion,
limit: arg_limit,
labelSelector: arg_labelSelector,
- resourceVersion: arg_resourceVersion,
- includeUninitialized: arg_includeUninitialized,
continue_: arg_continue_,
+ includeUninitialized: arg_includeUninitialized,
watch: arg_watch,
fieldSelector: arg_fieldSelector,
$fields: arg_$fields)
@@ -4531,9 +4531,9 @@
api.ProjectsLocationsRevisionsResourceApi res =
new api.RunApi(mock).projects.locations.revisions;
var arg_name = "foo";
- var arg_apiVersion = "foo";
- var arg_propagationPolicy = "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;
@@ -4566,11 +4566,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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["apiVersion"].first, unittest.equals(arg_apiVersion));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4581,9 +4581,9 @@
}), true);
res
.delete(arg_name,
- apiVersion: arg_apiVersion,
- propagationPolicy: arg_propagationPolicy,
kind: arg_kind,
+ propagationPolicy: arg_propagationPolicy,
+ apiVersion: arg_apiVersion,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkStatus(response);
@@ -4647,13 +4647,13 @@
api.ProjectsLocationsRevisionsResourceApi res =
new api.RunApi(mock).projects.locations.revisions;
var arg_parent = "foo";
- var arg_labelSelector = "foo";
- var arg_limit = 42;
+ var arg_fieldSelector = "foo";
+ var arg_includeUninitialized = true;
var arg_watch = true;
var arg_resourceVersion = "foo";
- var arg_includeUninitialized = true;
+ var arg_limit = 42;
+ var arg_labelSelector = "foo";
var arg_continue_ = "foo";
- var arg_fieldSelector = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -4686,19 +4686,19 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["labelSelector"].first,
- unittest.equals(arg_labelSelector));
- unittest.expect(core.int.parse(queryMap["limit"].first),
- unittest.equals(arg_limit));
+ 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(queryMap["includeUninitialized"].first,
- unittest.equals("$arg_includeUninitialized"));
+ 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["fieldSelector"].first,
- unittest.equals(arg_fieldSelector));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4709,13 +4709,13 @@
}), true);
res
.list(arg_parent,
- labelSelector: arg_labelSelector,
- limit: arg_limit,
+ fieldSelector: arg_fieldSelector,
+ includeUninitialized: arg_includeUninitialized,
watch: arg_watch,
resourceVersion: arg_resourceVersion,
- includeUninitialized: arg_includeUninitialized,
+ limit: arg_limit,
+ labelSelector: arg_labelSelector,
continue_: arg_continue_,
- fieldSelector: arg_fieldSelector,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListRevisionsResponse(response);
@@ -4781,13 +4781,13 @@
api.ProjectsLocationsRoutesResourceApi res =
new api.RunApi(mock).projects.locations.routes;
var arg_parent = "foo";
- var arg_continue_ = "foo";
- var arg_includeUninitialized = true;
- var arg_fieldSelector = "foo";
var arg_limit = 42;
- var arg_resourceVersion = "foo";
- var arg_watch = true;
+ var arg_continue_ = "foo";
var arg_labelSelector = "foo";
+ var arg_fieldSelector = "foo";
+ var arg_watch = true;
+ var arg_includeUninitialized = true;
+ var arg_resourceVersion = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -4820,19 +4820,19 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(
- queryMap["continue"].first, unittest.equals(arg_continue_));
- 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["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["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["resourceVersion"].first,
+ unittest.equals(arg_resourceVersion));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4843,13 +4843,13 @@
}), true);
res
.list(arg_parent,
- continue_: arg_continue_,
- includeUninitialized: arg_includeUninitialized,
- fieldSelector: arg_fieldSelector,
limit: arg_limit,
- resourceVersion: arg_resourceVersion,
- watch: arg_watch,
+ continue_: arg_continue_,
labelSelector: arg_labelSelector,
+ fieldSelector: arg_fieldSelector,
+ watch: arg_watch,
+ includeUninitialized: arg_includeUninitialized,
+ resourceVersion: arg_resourceVersion,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListRoutesResponse(response);
@@ -4919,8 +4919,8 @@
api.ProjectsLocationsServicesResourceApi res =
new api.RunApi(mock).projects.locations.services;
var arg_name = "foo";
- var arg_apiVersion = "foo";
var arg_propagationPolicy = "foo";
+ var arg_apiVersion = "foo";
var arg_kind = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -4954,10 +4954,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(
- queryMap["apiVersion"].first, unittest.equals(arg_apiVersion));
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["fields"].first, unittest.equals(arg_$fields));
@@ -4969,8 +4969,8 @@
}), true);
res
.delete(arg_name,
- apiVersion: arg_apiVersion,
propagationPolicy: arg_propagationPolicy,
+ apiVersion: arg_apiVersion,
kind: arg_kind,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -5094,13 +5094,13 @@
api.ProjectsLocationsServicesResourceApi res =
new api.RunApi(mock).projects.locations.services;
var arg_parent = "foo";
+ var arg_continue_ = "foo";
var arg_watch = true;
- var arg_includeUninitialized = true;
- var arg_labelSelector = "foo";
var arg_fieldSelector = "foo";
var arg_limit = 42;
var arg_resourceVersion = "foo";
- var arg_continue_ = "foo";
+ var arg_includeUninitialized = true;
+ var arg_labelSelector = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -5133,19 +5133,19 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(
+ queryMap["continue"].first, unittest.equals(arg_continue_));
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(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["continue"].first, unittest.equals(arg_continue_));
+ unittest.expect(queryMap["includeUninitialized"].first,
+ unittest.equals("$arg_includeUninitialized"));
+ unittest.expect(queryMap["labelSelector"].first,
+ unittest.equals(arg_labelSelector));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -5156,13 +5156,13 @@
}), true);
res
.list(arg_parent,
+ continue_: arg_continue_,
watch: arg_watch,
- includeUninitialized: arg_includeUninitialized,
- labelSelector: arg_labelSelector,
fieldSelector: arg_fieldSelector,
limit: arg_limit,
resourceVersion: arg_resourceVersion,
- continue_: arg_continue_,
+ includeUninitialized: arg_includeUninitialized,
+ labelSelector: arg_labelSelector,
$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 1ca4d7e..7b91b7a 100644
--- a/generated/googleapis/test/runtimeconfig/v1_test.dart
+++ b/generated/googleapis/test/runtimeconfig/v1_test.dart
@@ -80,14 +80,14 @@
buildCounterEmpty--;
}
-buildUnnamed5823() {
+buildUnnamed5799() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed5823(core.List<api.Operation> o) {
+checkUnnamed5799(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -99,7 +99,7 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
o.nextPageToken = "foo";
- o.operations = buildUnnamed5823();
+ o.operations = buildUnnamed5799();
}
buildCounterListOperationsResponse--;
return o;
@@ -109,12 +109,12 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed5823(o.operations);
+ checkUnnamed5799(o.operations);
}
buildCounterListOperationsResponse--;
}
-buildUnnamed5824() {
+buildUnnamed5800() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -129,7 +129,7 @@
return o;
}
-checkUnnamed5824(core.Map<core.String, core.Object> o) {
+checkUnnamed5800(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o["x"]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -143,7 +143,7 @@
unittest.expect(casted2["string"], unittest.equals('foo'));
}
-buildUnnamed5825() {
+buildUnnamed5801() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -158,7 +158,7 @@
return o;
}
-checkUnnamed5825(core.Map<core.String, core.Object> o) {
+checkUnnamed5801(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted3 = (o["x"]) as core.Map;
unittest.expect(casted3, unittest.hasLength(3));
@@ -179,9 +179,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed5824();
+ o.metadata = buildUnnamed5800();
o.name = "foo";
- o.response = buildUnnamed5825();
+ o.response = buildUnnamed5801();
}
buildCounterOperation--;
return o;
@@ -192,14 +192,14 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed5824(o.metadata);
+ checkUnnamed5800(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed5825(o.response);
+ checkUnnamed5801(o.response);
}
buildCounterOperation--;
}
-buildUnnamed5826() {
+buildUnnamed5802() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -214,7 +214,7 @@
return o;
}
-checkUnnamed5826(core.Map<core.String, core.Object> o) {
+checkUnnamed5802(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted5 = (o["x"]) as core.Map;
unittest.expect(casted5, unittest.hasLength(3));
@@ -228,17 +228,17 @@
unittest.expect(casted6["string"], unittest.equals('foo'));
}
-buildUnnamed5827() {
+buildUnnamed5803() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed5826());
- o.add(buildUnnamed5826());
+ o.add(buildUnnamed5802());
+ o.add(buildUnnamed5802());
return o;
}
-checkUnnamed5827(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed5803(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed5826(o[0]);
- checkUnnamed5826(o[1]);
+ checkUnnamed5802(o[0]);
+ checkUnnamed5802(o[1]);
}
core.int buildCounterStatus = 0;
@@ -247,7 +247,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed5827();
+ o.details = buildUnnamed5803();
o.message = "foo";
}
buildCounterStatus--;
@@ -258,7 +258,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed5827(o.details);
+ checkUnnamed5803(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
@@ -416,9 +416,9 @@
var mock = new HttpServerMock();
api.OperationsResourceApi res = new api.RuntimeconfigApi(mock).operations;
var arg_name = "foo";
- var arg_filter = "foo";
var arg_pageToken = "foo";
var arg_pageSize = 42;
+ var arg_filter = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -451,11 +451,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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["filter"].first, unittest.equals(arg_filter));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -466,9 +466,9 @@
}), true);
res
.list(arg_name,
- filter: arg_filter,
pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ filter: arg_filter,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListOperationsResponse(response);
diff --git a/generated/googleapis/test/script/v1_test.dart b/generated/googleapis/test/script/v1_test.dart
index df7706b..4fe96e6 100644
--- a/generated/googleapis/test/script/v1_test.dart
+++ b/generated/googleapis/test/script/v1_test.dart
@@ -50,14 +50,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed1344() {
+buildUnnamed1345() {
var o = new core.List<api.File>();
o.add(buildFile());
o.add(buildFile());
return o;
}
-checkUnnamed1344(core.List<api.File> o) {
+checkUnnamed1345(core.List<api.File> o) {
unittest.expect(o, unittest.hasLength(2));
checkFile(o[0]);
checkFile(o[1]);
@@ -68,7 +68,7 @@
var o = new api.Content();
buildCounterContent++;
if (buildCounterContent < 3) {
- o.files = buildUnnamed1344();
+ o.files = buildUnnamed1345();
o.scriptId = "foo";
}
buildCounterContent--;
@@ -78,7 +78,7 @@
checkContent(api.Content o) {
buildCounterContent++;
if (buildCounterContent < 3) {
- checkUnnamed1344(o.files);
+ checkUnnamed1345(o.files);
unittest.expect(o.scriptId, unittest.equals('foo'));
}
buildCounterContent--;
@@ -105,14 +105,14 @@
buildCounterCreateProjectRequest--;
}
-buildUnnamed1345() {
+buildUnnamed1346() {
var o = new core.List<api.EntryPoint>();
o.add(buildEntryPoint());
o.add(buildEntryPoint());
return o;
}
-checkUnnamed1345(core.List<api.EntryPoint> o) {
+checkUnnamed1346(core.List<api.EntryPoint> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntryPoint(o[0]);
checkEntryPoint(o[1]);
@@ -125,7 +125,7 @@
if (buildCounterDeployment < 3) {
o.deploymentConfig = buildDeploymentConfig();
o.deploymentId = "foo";
- o.entryPoints = buildUnnamed1345();
+ o.entryPoints = buildUnnamed1346();
o.updateTime = "foo";
}
buildCounterDeployment--;
@@ -137,7 +137,7 @@
if (buildCounterDeployment < 3) {
checkDeploymentConfig(o.deploymentConfig);
unittest.expect(o.deploymentId, unittest.equals('foo'));
- checkUnnamed1345(o.entryPoints);
+ checkUnnamed1346(o.entryPoints);
unittest.expect(o.updateTime, unittest.equals('foo'));
}
buildCounterDeployment--;
@@ -227,14 +227,14 @@
buildCounterExecuteStreamResponse--;
}
-buildUnnamed1346() {
+buildUnnamed1347() {
var o = new core.List<api.ScriptStackTraceElement>();
o.add(buildScriptStackTraceElement());
o.add(buildScriptStackTraceElement());
return o;
}
-checkUnnamed1346(core.List<api.ScriptStackTraceElement> o) {
+checkUnnamed1347(core.List<api.ScriptStackTraceElement> o) {
unittest.expect(o, unittest.hasLength(2));
checkScriptStackTraceElement(o[0]);
checkScriptStackTraceElement(o[1]);
@@ -247,7 +247,7 @@
if (buildCounterExecutionError < 3) {
o.errorMessage = "foo";
o.errorType = "foo";
- o.scriptStackTraceElements = buildUnnamed1346();
+ o.scriptStackTraceElements = buildUnnamed1347();
}
buildCounterExecutionError--;
return o;
@@ -258,12 +258,12 @@
if (buildCounterExecutionError < 3) {
unittest.expect(o.errorMessage, unittest.equals('foo'));
unittest.expect(o.errorType, unittest.equals('foo'));
- checkUnnamed1346(o.scriptStackTraceElements);
+ checkUnnamed1347(o.scriptStackTraceElements);
}
buildCounterExecutionError--;
}
-buildUnnamed1347() {
+buildUnnamed1348() {
var o = new core.List<core.Object>();
o.add({
'list': [1, 2, 3],
@@ -278,7 +278,7 @@
return o;
}
-checkUnnamed1347(core.List<core.Object> o) {
+checkUnnamed1348(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o[0]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -299,7 +299,7 @@
if (buildCounterExecutionRequest < 3) {
o.devMode = true;
o.function = "foo";
- o.parameters = buildUnnamed1347();
+ o.parameters = buildUnnamed1348();
o.sessionState = "foo";
}
buildCounterExecutionRequest--;
@@ -311,7 +311,7 @@
if (buildCounterExecutionRequest < 3) {
unittest.expect(o.devMode, unittest.isTrue);
unittest.expect(o.function, unittest.equals('foo'));
- checkUnnamed1347(o.parameters);
+ checkUnnamed1348(o.parameters);
unittest.expect(o.sessionState, unittest.equals('foo'));
}
buildCounterExecutionRequest--;
@@ -464,14 +464,14 @@
buildCounterGoogleAppsScriptTypeFunction--;
}
-buildUnnamed1348() {
+buildUnnamed1349() {
var o = new core.List<api.GoogleAppsScriptTypeFunction>();
o.add(buildGoogleAppsScriptTypeFunction());
o.add(buildGoogleAppsScriptTypeFunction());
return o;
}
-checkUnnamed1348(core.List<api.GoogleAppsScriptTypeFunction> o) {
+checkUnnamed1349(core.List<api.GoogleAppsScriptTypeFunction> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleAppsScriptTypeFunction(o[0]);
checkGoogleAppsScriptTypeFunction(o[1]);
@@ -482,7 +482,7 @@
var o = new api.GoogleAppsScriptTypeFunctionSet();
buildCounterGoogleAppsScriptTypeFunctionSet++;
if (buildCounterGoogleAppsScriptTypeFunctionSet < 3) {
- o.values = buildUnnamed1348();
+ o.values = buildUnnamed1349();
}
buildCounterGoogleAppsScriptTypeFunctionSet--;
return o;
@@ -491,7 +491,7 @@
checkGoogleAppsScriptTypeFunctionSet(api.GoogleAppsScriptTypeFunctionSet o) {
buildCounterGoogleAppsScriptTypeFunctionSet++;
if (buildCounterGoogleAppsScriptTypeFunctionSet < 3) {
- checkUnnamed1348(o.values);
+ checkUnnamed1349(o.values);
}
buildCounterGoogleAppsScriptTypeFunctionSet--;
}
@@ -595,14 +595,14 @@
buildCounterGoogleAppsScriptTypeWebAppEntryPoint--;
}
-buildUnnamed1349() {
+buildUnnamed1350() {
var o = new core.List<api.Deployment>();
o.add(buildDeployment());
o.add(buildDeployment());
return o;
}
-checkUnnamed1349(core.List<api.Deployment> o) {
+checkUnnamed1350(core.List<api.Deployment> o) {
unittest.expect(o, unittest.hasLength(2));
checkDeployment(o[0]);
checkDeployment(o[1]);
@@ -613,7 +613,7 @@
var o = new api.ListDeploymentsResponse();
buildCounterListDeploymentsResponse++;
if (buildCounterListDeploymentsResponse < 3) {
- o.deployments = buildUnnamed1349();
+ o.deployments = buildUnnamed1350();
o.nextPageToken = "foo";
}
buildCounterListDeploymentsResponse--;
@@ -623,46 +623,12 @@
checkListDeploymentsResponse(api.ListDeploymentsResponse o) {
buildCounterListDeploymentsResponse++;
if (buildCounterListDeploymentsResponse < 3) {
- checkUnnamed1349(o.deployments);
+ checkUnnamed1350(o.deployments);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListDeploymentsResponse--;
}
-buildUnnamed1350() {
- var o = new core.List<api.GoogleAppsScriptTypeProcess>();
- o.add(buildGoogleAppsScriptTypeProcess());
- o.add(buildGoogleAppsScriptTypeProcess());
- return o;
-}
-
-checkUnnamed1350(core.List<api.GoogleAppsScriptTypeProcess> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkGoogleAppsScriptTypeProcess(o[0]);
- checkGoogleAppsScriptTypeProcess(o[1]);
-}
-
-core.int buildCounterListScriptProcessesResponse = 0;
-buildListScriptProcessesResponse() {
- var o = new api.ListScriptProcessesResponse();
- buildCounterListScriptProcessesResponse++;
- if (buildCounterListScriptProcessesResponse < 3) {
- o.nextPageToken = "foo";
- o.processes = buildUnnamed1350();
- }
- buildCounterListScriptProcessesResponse--;
- return o;
-}
-
-checkListScriptProcessesResponse(api.ListScriptProcessesResponse o) {
- buildCounterListScriptProcessesResponse++;
- if (buildCounterListScriptProcessesResponse < 3) {
- unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1350(o.processes);
- }
- buildCounterListScriptProcessesResponse--;
-}
-
buildUnnamed1351() {
var o = new core.List<api.GoogleAppsScriptTypeProcess>();
o.add(buildGoogleAppsScriptTypeProcess());
@@ -676,13 +642,47 @@
checkGoogleAppsScriptTypeProcess(o[1]);
}
+core.int buildCounterListScriptProcessesResponse = 0;
+buildListScriptProcessesResponse() {
+ var o = new api.ListScriptProcessesResponse();
+ buildCounterListScriptProcessesResponse++;
+ if (buildCounterListScriptProcessesResponse < 3) {
+ o.nextPageToken = "foo";
+ o.processes = buildUnnamed1351();
+ }
+ buildCounterListScriptProcessesResponse--;
+ return o;
+}
+
+checkListScriptProcessesResponse(api.ListScriptProcessesResponse o) {
+ buildCounterListScriptProcessesResponse++;
+ if (buildCounterListScriptProcessesResponse < 3) {
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ checkUnnamed1351(o.processes);
+ }
+ buildCounterListScriptProcessesResponse--;
+}
+
+buildUnnamed1352() {
+ var o = new core.List<api.GoogleAppsScriptTypeProcess>();
+ o.add(buildGoogleAppsScriptTypeProcess());
+ o.add(buildGoogleAppsScriptTypeProcess());
+ return o;
+}
+
+checkUnnamed1352(core.List<api.GoogleAppsScriptTypeProcess> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkGoogleAppsScriptTypeProcess(o[0]);
+ checkGoogleAppsScriptTypeProcess(o[1]);
+}
+
core.int buildCounterListUserProcessesResponse = 0;
buildListUserProcessesResponse() {
var o = new api.ListUserProcessesResponse();
buildCounterListUserProcessesResponse++;
if (buildCounterListUserProcessesResponse < 3) {
o.nextPageToken = "foo";
- o.processes = buildUnnamed1351();
+ o.processes = buildUnnamed1352();
}
buildCounterListUserProcessesResponse--;
return o;
@@ -692,19 +692,19 @@
buildCounterListUserProcessesResponse++;
if (buildCounterListUserProcessesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1351(o.processes);
+ checkUnnamed1352(o.processes);
}
buildCounterListUserProcessesResponse--;
}
-buildUnnamed1352() {
+buildUnnamed1353() {
var o = new core.List<api.Value>();
o.add(buildValue());
o.add(buildValue());
return o;
}
-checkUnnamed1352(core.List<api.Value> o) {
+checkUnnamed1353(core.List<api.Value> o) {
unittest.expect(o, unittest.hasLength(2));
checkValue(o[0]);
checkValue(o[1]);
@@ -715,7 +715,7 @@
var o = new api.ListValue();
buildCounterListValue++;
if (buildCounterListValue < 3) {
- o.values = buildUnnamed1352();
+ o.values = buildUnnamed1353();
}
buildCounterListValue--;
return o;
@@ -724,19 +724,19 @@
checkListValue(api.ListValue o) {
buildCounterListValue++;
if (buildCounterListValue < 3) {
- checkUnnamed1352(o.values);
+ checkUnnamed1353(o.values);
}
buildCounterListValue--;
}
-buildUnnamed1353() {
+buildUnnamed1354() {
var o = new core.List<api.Version>();
o.add(buildVersion());
o.add(buildVersion());
return o;
}
-checkUnnamed1353(core.List<api.Version> o) {
+checkUnnamed1354(core.List<api.Version> o) {
unittest.expect(o, unittest.hasLength(2));
checkVersion(o[0]);
checkVersion(o[1]);
@@ -748,7 +748,7 @@
buildCounterListVersionsResponse++;
if (buildCounterListVersionsResponse < 3) {
o.nextPageToken = "foo";
- o.versions = buildUnnamed1353();
+ o.versions = buildUnnamed1354();
}
buildCounterListVersionsResponse--;
return o;
@@ -758,24 +758,11 @@
buildCounterListVersionsResponse++;
if (buildCounterListVersionsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1353(o.versions);
+ checkUnnamed1354(o.versions);
}
buildCounterListVersionsResponse--;
}
-buildUnnamed1354() {
- var o = new core.List<api.MetricsValue>();
- o.add(buildMetricsValue());
- o.add(buildMetricsValue());
- return o;
-}
-
-checkUnnamed1354(core.List<api.MetricsValue> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkMetricsValue(o[0]);
- checkMetricsValue(o[1]);
-}
-
buildUnnamed1355() {
var o = new core.List<api.MetricsValue>();
o.add(buildMetricsValue());
@@ -802,14 +789,27 @@
checkMetricsValue(o[1]);
}
+buildUnnamed1357() {
+ var o = new core.List<api.MetricsValue>();
+ o.add(buildMetricsValue());
+ o.add(buildMetricsValue());
+ return o;
+}
+
+checkUnnamed1357(core.List<api.MetricsValue> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkMetricsValue(o[0]);
+ checkMetricsValue(o[1]);
+}
+
core.int buildCounterMetrics = 0;
buildMetrics() {
var o = new api.Metrics();
buildCounterMetrics++;
if (buildCounterMetrics < 3) {
- o.activeUsers = buildUnnamed1354();
- o.failedExecutions = buildUnnamed1355();
- o.totalExecutions = buildUnnamed1356();
+ o.activeUsers = buildUnnamed1355();
+ o.failedExecutions = buildUnnamed1356();
+ o.totalExecutions = buildUnnamed1357();
}
buildCounterMetrics--;
return o;
@@ -818,9 +818,9 @@
checkMetrics(api.Metrics o) {
buildCounterMetrics++;
if (buildCounterMetrics < 3) {
- checkUnnamed1354(o.activeUsers);
- checkUnnamed1355(o.failedExecutions);
- checkUnnamed1356(o.totalExecutions);
+ checkUnnamed1355(o.activeUsers);
+ checkUnnamed1356(o.failedExecutions);
+ checkUnnamed1357(o.totalExecutions);
}
buildCounterMetrics--;
}
@@ -848,7 +848,7 @@
buildCounterMetricsValue--;
}
-buildUnnamed1357() {
+buildUnnamed1358() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -863,7 +863,7 @@
return o;
}
-checkUnnamed1357(core.Map<core.String, core.Object> o) {
+checkUnnamed1358(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted4 = (o["x"]) as core.Map;
unittest.expect(casted4, unittest.hasLength(3));
@@ -884,7 +884,7 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.response = buildUnnamed1357();
+ o.response = buildUnnamed1358();
}
buildCounterOperation--;
return o;
@@ -895,7 +895,7 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed1357(o.response);
+ checkUnnamed1358(o.response);
}
buildCounterOperation--;
}
@@ -971,7 +971,7 @@
buildCounterScriptStackTraceElement--;
}
-buildUnnamed1358() {
+buildUnnamed1359() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -986,7 +986,7 @@
return o;
}
-checkUnnamed1358(core.Map<core.String, core.Object> o) {
+checkUnnamed1359(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted6 = (o["x"]) as core.Map;
unittest.expect(casted6, unittest.hasLength(3));
@@ -1000,17 +1000,17 @@
unittest.expect(casted7["string"], unittest.equals('foo'));
}
-buildUnnamed1359() {
+buildUnnamed1360() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed1358());
- o.add(buildUnnamed1358());
+ o.add(buildUnnamed1359());
+ o.add(buildUnnamed1359());
return o;
}
-checkUnnamed1359(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed1360(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1358(o[0]);
- checkUnnamed1358(o[1]);
+ checkUnnamed1359(o[0]);
+ checkUnnamed1359(o[1]);
}
core.int buildCounterStatus = 0;
@@ -1019,7 +1019,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed1359();
+ o.details = buildUnnamed1360();
o.message = "foo";
}
buildCounterStatus--;
@@ -1030,20 +1030,20 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed1359(o.details);
+ checkUnnamed1360(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
}
-buildUnnamed1360() {
+buildUnnamed1361() {
var o = new core.Map<core.String, api.Value>();
o["x"] = buildValue();
o["y"] = buildValue();
return o;
}
-checkUnnamed1360(core.Map<core.String, api.Value> o) {
+checkUnnamed1361(core.Map<core.String, api.Value> o) {
unittest.expect(o, unittest.hasLength(2));
checkValue(o["x"]);
checkValue(o["y"]);
@@ -1054,7 +1054,7 @@
var o = new api.Struct();
buildCounterStruct++;
if (buildCounterStruct < 3) {
- o.fields = buildUnnamed1360();
+ o.fields = buildUnnamed1361();
}
buildCounterStruct--;
return o;
@@ -1063,7 +1063,7 @@
checkStruct(api.Struct o) {
buildCounterStruct++;
if (buildCounterStruct < 3) {
- checkUnnamed1360(o.fields);
+ checkUnnamed1361(o.fields);
}
buildCounterStruct--;
}
@@ -1087,7 +1087,7 @@
buildCounterUpdateDeploymentRequest--;
}
-buildUnnamed1361() {
+buildUnnamed1362() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1102,7 +1102,7 @@
return o;
}
-checkUnnamed1361(core.Map<core.String, core.Object> o) {
+checkUnnamed1362(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted8 = (o["x"]) as core.Map;
unittest.expect(casted8, unittest.hasLength(3));
@@ -1127,7 +1127,7 @@
o.listValue = buildListValue();
o.nullValue = "foo";
o.numberValue = 42.0;
- o.protoValue = buildUnnamed1361();
+ o.protoValue = buildUnnamed1362();
o.stringValue = "foo";
o.structValue = buildStruct();
}
@@ -1144,7 +1144,7 @@
checkListValue(o.listValue);
unittest.expect(o.nullValue, unittest.equals('foo'));
unittest.expect(o.numberValue, unittest.equals(42.0));
- checkUnnamed1361(o.protoValue);
+ checkUnnamed1362(o.protoValue);
unittest.expect(o.stringValue, unittest.equals('foo'));
checkStruct(o.structValue);
}
@@ -1176,19 +1176,6 @@
buildCounterVersion--;
}
-buildUnnamed1362() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1362(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed1363() {
var o = new core.List<core.String>();
o.add("foo");
@@ -1254,6 +1241,19 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed1368() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1368(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
main() {
unittest.group("obj-schema-Content", () {
unittest.test("to-json--from-json", () {
@@ -1550,17 +1550,17 @@
unittest.test("method--list", () {
var mock = new HttpServerMock();
api.ProcessesResourceApi res = new api.ScriptApi(mock).processes;
- var arg_userProcessFilter_deploymentId = "foo";
- var arg_userProcessFilter_startTime = "foo";
- var arg_userProcessFilter_endTime = "foo";
- var arg_userProcessFilter_userAccessLevels = buildUnnamed1362();
var arg_userProcessFilter_types = buildUnnamed1363();
- var arg_userProcessFilter_statuses = buildUnnamed1364();
- var arg_pageToken = "foo";
- var arg_userProcessFilter_functionName = "foo";
- var arg_userProcessFilter_scriptId = "foo";
var arg_pageSize = 42;
+ var arg_userProcessFilter_startTime = "foo";
+ var arg_userProcessFilter_functionName = "foo";
var arg_userProcessFilter_projectName = "foo";
+ var arg_userProcessFilter_endTime = "foo";
+ var arg_userProcessFilter_statuses = buildUnnamed1364();
+ var arg_userProcessFilter_scriptId = "foo";
+ var arg_pageToken = "foo";
+ var arg_userProcessFilter_userAccessLevels = buildUnnamed1365();
+ var arg_userProcessFilter_deploymentId = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1592,28 +1592,28 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["userProcessFilter.deploymentId"].first,
- unittest.equals(arg_userProcessFilter_deploymentId));
- unittest.expect(queryMap["userProcessFilter.startTime"].first,
- unittest.equals(arg_userProcessFilter_startTime));
- unittest.expect(queryMap["userProcessFilter.endTime"].first,
- unittest.equals(arg_userProcessFilter_endTime));
- unittest.expect(queryMap["userProcessFilter.userAccessLevels"],
- unittest.equals(arg_userProcessFilter_userAccessLevels));
unittest.expect(queryMap["userProcessFilter.types"],
unittest.equals(arg_userProcessFilter_types));
- unittest.expect(queryMap["userProcessFilter.statuses"],
- unittest.equals(arg_userProcessFilter_statuses));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(queryMap["userProcessFilter.functionName"].first,
- unittest.equals(arg_userProcessFilter_functionName));
- unittest.expect(queryMap["userProcessFilter.scriptId"].first,
- unittest.equals(arg_userProcessFilter_scriptId));
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["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.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 = {
@@ -1624,20 +1624,20 @@
}), true);
res
.list(
- userProcessFilter_deploymentId:
- arg_userProcessFilter_deploymentId,
- userProcessFilter_startTime: arg_userProcessFilter_startTime,
- userProcessFilter_endTime: arg_userProcessFilter_endTime,
- userProcessFilter_userAccessLevels:
- arg_userProcessFilter_userAccessLevels,
userProcessFilter_types: arg_userProcessFilter_types,
- userProcessFilter_statuses: arg_userProcessFilter_statuses,
- pageToken: arg_pageToken,
+ pageSize: arg_pageSize,
+ userProcessFilter_startTime: arg_userProcessFilter_startTime,
userProcessFilter_functionName:
arg_userProcessFilter_functionName,
- userProcessFilter_scriptId: arg_userProcessFilter_scriptId,
- pageSize: arg_pageSize,
userProcessFilter_projectName: arg_userProcessFilter_projectName,
+ userProcessFilter_endTime: arg_userProcessFilter_endTime,
+ userProcessFilter_statuses: arg_userProcessFilter_statuses,
+ userProcessFilter_scriptId: arg_userProcessFilter_scriptId,
+ pageToken: arg_pageToken,
+ userProcessFilter_userAccessLevels:
+ arg_userProcessFilter_userAccessLevels,
+ userProcessFilter_deploymentId:
+ arg_userProcessFilter_deploymentId,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListUserProcessesResponse(response);
@@ -1647,15 +1647,15 @@
unittest.test("method--listScriptProcesses", () {
var mock = new HttpServerMock();
api.ProcessesResourceApi res = new api.ScriptApi(mock).processes;
- var arg_scriptProcessFilter_statuses = buildUnnamed1365();
- var arg_scriptProcessFilter_functionName = "foo";
- var arg_pageToken = "foo";
- var arg_scriptProcessFilter_userAccessLevels = buildUnnamed1366();
- var arg_pageSize = 42;
var arg_scriptProcessFilter_startTime = "foo";
- var arg_scriptProcessFilter_deploymentId = "foo";
+ var arg_scriptProcessFilter_functionName = "foo";
var arg_scriptId = "foo";
+ var arg_scriptProcessFilter_statuses = buildUnnamed1366();
var arg_scriptProcessFilter_types = buildUnnamed1367();
+ var arg_pageToken = "foo";
+ var arg_scriptProcessFilter_deploymentId = "foo";
+ var arg_scriptProcessFilter_userAccessLevels = buildUnnamed1368();
+ var arg_pageSize = 42;
var arg_scriptProcessFilter_endTime = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -1688,24 +1688,24 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["scriptProcessFilter.statuses"],
- unittest.equals(arg_scriptProcessFilter_statuses));
+ unittest.expect(queryMap["scriptProcessFilter.startTime"].first,
+ unittest.equals(arg_scriptProcessFilter_startTime));
unittest.expect(queryMap["scriptProcessFilter.functionName"].first,
unittest.equals(arg_scriptProcessFilter_functionName));
unittest.expect(
+ queryMap["scriptId"].first, unittest.equals(arg_scriptId));
+ 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.startTime"].first,
- unittest.equals(arg_scriptProcessFilter_startTime));
- unittest.expect(queryMap["scriptProcessFilter.deploymentId"].first,
- unittest.equals(arg_scriptProcessFilter_deploymentId));
- unittest.expect(
- queryMap["scriptId"].first, unittest.equals(arg_scriptId));
- unittest.expect(queryMap["scriptProcessFilter.types"],
- unittest.equals(arg_scriptProcessFilter_types));
unittest.expect(queryMap["scriptProcessFilter.endTime"].first,
unittest.equals(arg_scriptProcessFilter_endTime));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -1718,18 +1718,18 @@
}), true);
res
.listScriptProcesses(
- scriptProcessFilter_statuses: arg_scriptProcessFilter_statuses,
+ scriptProcessFilter_startTime: arg_scriptProcessFilter_startTime,
scriptProcessFilter_functionName:
arg_scriptProcessFilter_functionName,
+ scriptId: arg_scriptId,
+ scriptProcessFilter_statuses: arg_scriptProcessFilter_statuses,
+ scriptProcessFilter_types: arg_scriptProcessFilter_types,
pageToken: arg_pageToken,
+ scriptProcessFilter_deploymentId:
+ arg_scriptProcessFilter_deploymentId,
scriptProcessFilter_userAccessLevels:
arg_scriptProcessFilter_userAccessLevels,
pageSize: arg_pageSize,
- scriptProcessFilter_startTime: arg_scriptProcessFilter_startTime,
- scriptProcessFilter_deploymentId:
- arg_scriptProcessFilter_deploymentId,
- scriptId: arg_scriptId,
- scriptProcessFilter_types: arg_scriptProcessFilter_types,
scriptProcessFilter_endTime: arg_scriptProcessFilter_endTime,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -1912,8 +1912,8 @@
var mock = new HttpServerMock();
api.ProjectsResourceApi res = new api.ScriptApi(mock).projects;
var arg_scriptId = "foo";
- var arg_metricsFilter_deploymentId = "foo";
var arg_metricsGranularity = "foo";
+ var arg_metricsFilter_deploymentId = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1954,10 +1954,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["metricsFilter.deploymentId"].first,
- unittest.equals(arg_metricsFilter_deploymentId));
unittest.expect(queryMap["metricsGranularity"].first,
unittest.equals(arg_metricsGranularity));
+ unittest.expect(queryMap["metricsFilter.deploymentId"].first,
+ unittest.equals(arg_metricsFilter_deploymentId));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1968,8 +1968,8 @@
}), true);
res
.getMetrics(arg_scriptId,
- metricsFilter_deploymentId: arg_metricsFilter_deploymentId,
metricsGranularity: arg_metricsGranularity,
+ metricsFilter_deploymentId: arg_metricsFilter_deploymentId,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkMetrics(response);
@@ -2506,8 +2506,8 @@
api.ProjectsVersionsResourceApi res =
new api.ScriptApi(mock).projects.versions;
var arg_scriptId = "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;
@@ -2548,10 +2548,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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 = {
@@ -2562,8 +2562,8 @@
}), true);
res
.list(arg_scriptId,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListVersionsResponse(response);
diff --git a/generated/googleapis/test/searchconsole/v1_test.dart b/generated/googleapis/test/searchconsole/v1_test.dart
index 7e64da6..81f6ad7 100644
--- a/generated/googleapis/test/searchconsole/v1_test.dart
+++ b/generated/googleapis/test/searchconsole/v1_test.dart
@@ -50,14 +50,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed4587() {
+buildUnnamed4594() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4587(core.List<core.String> o) {
+checkUnnamed4594(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -71,7 +71,7 @@
o.clicks = 42.0;
o.ctr = 42.0;
o.impressions = 42.0;
- o.keys = buildUnnamed4587();
+ o.keys = buildUnnamed4594();
o.position = 42.0;
}
buildCounterApiDataRow--;
@@ -84,7 +84,7 @@
unittest.expect(o.clicks, unittest.equals(42.0));
unittest.expect(o.ctr, unittest.equals(42.0));
unittest.expect(o.impressions, unittest.equals(42.0));
- checkUnnamed4587(o.keys);
+ checkUnnamed4594(o.keys);
unittest.expect(o.position, unittest.equals(42.0));
}
buildCounterApiDataRow--;
@@ -113,14 +113,14 @@
buildCounterApiDimensionFilter--;
}
-buildUnnamed4588() {
+buildUnnamed4595() {
var o = new core.List<api.ApiDimensionFilter>();
o.add(buildApiDimensionFilter());
o.add(buildApiDimensionFilter());
return o;
}
-checkUnnamed4588(core.List<api.ApiDimensionFilter> o) {
+checkUnnamed4595(core.List<api.ApiDimensionFilter> o) {
unittest.expect(o, unittest.hasLength(2));
checkApiDimensionFilter(o[0]);
checkApiDimensionFilter(o[1]);
@@ -131,7 +131,7 @@
var o = new api.ApiDimensionFilterGroup();
buildCounterApiDimensionFilterGroup++;
if (buildCounterApiDimensionFilterGroup < 3) {
- o.filters = buildUnnamed4588();
+ o.filters = buildUnnamed4595();
o.groupType = "foo";
}
buildCounterApiDimensionFilterGroup--;
@@ -141,7 +141,7 @@
checkApiDimensionFilterGroup(api.ApiDimensionFilterGroup o) {
buildCounterApiDimensionFilterGroup++;
if (buildCounterApiDimensionFilterGroup < 3) {
- checkUnnamed4588(o.filters);
+ checkUnnamed4595(o.filters);
unittest.expect(o.groupType, unittest.equals('foo'));
}
buildCounterApiDimensionFilterGroup--;
@@ -246,27 +246,27 @@
buildCounterRunMobileFriendlyTestRequest--;
}
-buildUnnamed4589() {
+buildUnnamed4596() {
var o = new core.List<api.MobileFriendlyIssue>();
o.add(buildMobileFriendlyIssue());
o.add(buildMobileFriendlyIssue());
return o;
}
-checkUnnamed4589(core.List<api.MobileFriendlyIssue> o) {
+checkUnnamed4596(core.List<api.MobileFriendlyIssue> o) {
unittest.expect(o, unittest.hasLength(2));
checkMobileFriendlyIssue(o[0]);
checkMobileFriendlyIssue(o[1]);
}
-buildUnnamed4590() {
+buildUnnamed4597() {
var o = new core.List<api.ResourceIssue>();
o.add(buildResourceIssue());
o.add(buildResourceIssue());
return o;
}
-checkUnnamed4590(core.List<api.ResourceIssue> o) {
+checkUnnamed4597(core.List<api.ResourceIssue> o) {
unittest.expect(o, unittest.hasLength(2));
checkResourceIssue(o[0]);
checkResourceIssue(o[1]);
@@ -278,8 +278,8 @@
buildCounterRunMobileFriendlyTestResponse++;
if (buildCounterRunMobileFriendlyTestResponse < 3) {
o.mobileFriendliness = "foo";
- o.mobileFriendlyIssues = buildUnnamed4589();
- o.resourceIssues = buildUnnamed4590();
+ o.mobileFriendlyIssues = buildUnnamed4596();
+ o.resourceIssues = buildUnnamed4597();
o.screenshot = buildImage();
o.testStatus = buildTestStatus();
}
@@ -291,35 +291,35 @@
buildCounterRunMobileFriendlyTestResponse++;
if (buildCounterRunMobileFriendlyTestResponse < 3) {
unittest.expect(o.mobileFriendliness, unittest.equals('foo'));
- checkUnnamed4589(o.mobileFriendlyIssues);
- checkUnnamed4590(o.resourceIssues);
+ checkUnnamed4596(o.mobileFriendlyIssues);
+ checkUnnamed4597(o.resourceIssues);
checkImage(o.screenshot);
checkTestStatus(o.testStatus);
}
buildCounterRunMobileFriendlyTestResponse--;
}
-buildUnnamed4591() {
+buildUnnamed4598() {
var o = new core.List<api.ApiDimensionFilterGroup>();
o.add(buildApiDimensionFilterGroup());
o.add(buildApiDimensionFilterGroup());
return o;
}
-checkUnnamed4591(core.List<api.ApiDimensionFilterGroup> o) {
+checkUnnamed4598(core.List<api.ApiDimensionFilterGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkApiDimensionFilterGroup(o[0]);
checkApiDimensionFilterGroup(o[1]);
}
-buildUnnamed4592() {
+buildUnnamed4599() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4592(core.List<core.String> o) {
+checkUnnamed4599(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -331,8 +331,8 @@
buildCounterSearchAnalyticsQueryRequest++;
if (buildCounterSearchAnalyticsQueryRequest < 3) {
o.aggregationType = "foo";
- o.dimensionFilterGroups = buildUnnamed4591();
- o.dimensions = buildUnnamed4592();
+ o.dimensionFilterGroups = buildUnnamed4598();
+ o.dimensions = buildUnnamed4599();
o.endDate = "foo";
o.rowLimit = 42;
o.searchType = "foo";
@@ -347,8 +347,8 @@
buildCounterSearchAnalyticsQueryRequest++;
if (buildCounterSearchAnalyticsQueryRequest < 3) {
unittest.expect(o.aggregationType, unittest.equals('foo'));
- checkUnnamed4591(o.dimensionFilterGroups);
- checkUnnamed4592(o.dimensions);
+ checkUnnamed4598(o.dimensionFilterGroups);
+ checkUnnamed4599(o.dimensions);
unittest.expect(o.endDate, unittest.equals('foo'));
unittest.expect(o.rowLimit, unittest.equals(42));
unittest.expect(o.searchType, unittest.equals('foo'));
@@ -358,14 +358,14 @@
buildCounterSearchAnalyticsQueryRequest--;
}
-buildUnnamed4593() {
+buildUnnamed4600() {
var o = new core.List<api.ApiDataRow>();
o.add(buildApiDataRow());
o.add(buildApiDataRow());
return o;
}
-checkUnnamed4593(core.List<api.ApiDataRow> o) {
+checkUnnamed4600(core.List<api.ApiDataRow> o) {
unittest.expect(o, unittest.hasLength(2));
checkApiDataRow(o[0]);
checkApiDataRow(o[1]);
@@ -377,7 +377,7 @@
buildCounterSearchAnalyticsQueryResponse++;
if (buildCounterSearchAnalyticsQueryResponse < 3) {
o.responseAggregationType = "foo";
- o.rows = buildUnnamed4593();
+ o.rows = buildUnnamed4600();
}
buildCounterSearchAnalyticsQueryResponse--;
return o;
@@ -387,19 +387,19 @@
buildCounterSearchAnalyticsQueryResponse++;
if (buildCounterSearchAnalyticsQueryResponse < 3) {
unittest.expect(o.responseAggregationType, unittest.equals('foo'));
- checkUnnamed4593(o.rows);
+ checkUnnamed4600(o.rows);
}
buildCounterSearchAnalyticsQueryResponse--;
}
-buildUnnamed4594() {
+buildUnnamed4601() {
var o = new core.List<api.WmxSitemap>();
o.add(buildWmxSitemap());
o.add(buildWmxSitemap());
return o;
}
-checkUnnamed4594(core.List<api.WmxSitemap> o) {
+checkUnnamed4601(core.List<api.WmxSitemap> o) {
unittest.expect(o, unittest.hasLength(2));
checkWmxSitemap(o[0]);
checkWmxSitemap(o[1]);
@@ -410,7 +410,7 @@
var o = new api.SitemapsListResponse();
buildCounterSitemapsListResponse++;
if (buildCounterSitemapsListResponse < 3) {
- o.sitemap = buildUnnamed4594();
+ o.sitemap = buildUnnamed4601();
}
buildCounterSitemapsListResponse--;
return o;
@@ -419,19 +419,19 @@
checkSitemapsListResponse(api.SitemapsListResponse o) {
buildCounterSitemapsListResponse++;
if (buildCounterSitemapsListResponse < 3) {
- checkUnnamed4594(o.sitemap);
+ checkUnnamed4601(o.sitemap);
}
buildCounterSitemapsListResponse--;
}
-buildUnnamed4595() {
+buildUnnamed4602() {
var o = new core.List<api.WmxSite>();
o.add(buildWmxSite());
o.add(buildWmxSite());
return o;
}
-checkUnnamed4595(core.List<api.WmxSite> o) {
+checkUnnamed4602(core.List<api.WmxSite> o) {
unittest.expect(o, unittest.hasLength(2));
checkWmxSite(o[0]);
checkWmxSite(o[1]);
@@ -442,7 +442,7 @@
var o = new api.SitesListResponse();
buildCounterSitesListResponse++;
if (buildCounterSitesListResponse < 3) {
- o.siteEntry = buildUnnamed4595();
+ o.siteEntry = buildUnnamed4602();
}
buildCounterSitesListResponse--;
return o;
@@ -451,7 +451,7 @@
checkSitesListResponse(api.SitesListResponse o) {
buildCounterSitesListResponse++;
if (buildCounterSitesListResponse < 3) {
- checkUnnamed4595(o.siteEntry);
+ checkUnnamed4602(o.siteEntry);
}
buildCounterSitesListResponse--;
}
@@ -498,14 +498,14 @@
buildCounterWmxSite--;
}
-buildUnnamed4596() {
+buildUnnamed4603() {
var o = new core.List<api.WmxSitemapContent>();
o.add(buildWmxSitemapContent());
o.add(buildWmxSitemapContent());
return o;
}
-checkUnnamed4596(core.List<api.WmxSitemapContent> o) {
+checkUnnamed4603(core.List<api.WmxSitemapContent> o) {
unittest.expect(o, unittest.hasLength(2));
checkWmxSitemapContent(o[0]);
checkWmxSitemapContent(o[1]);
@@ -516,7 +516,7 @@
var o = new api.WmxSitemap();
buildCounterWmxSitemap++;
if (buildCounterWmxSitemap < 3) {
- o.contents = buildUnnamed4596();
+ o.contents = buildUnnamed4603();
o.errors = "foo";
o.isPending = true;
o.isSitemapsIndex = true;
@@ -533,7 +533,7 @@
checkWmxSitemap(api.WmxSitemap o) {
buildCounterWmxSitemap++;
if (buildCounterWmxSitemap < 3) {
- checkUnnamed4596(o.contents);
+ checkUnnamed4603(o.contents);
unittest.expect(o.errors, unittest.equals('foo'));
unittest.expect(o.isPending, unittest.isTrue);
unittest.expect(o.isSitemapsIndex, unittest.isTrue);
diff --git a/generated/googleapis/test/secretmanager/v1_test.dart b/generated/googleapis/test/secretmanager/v1_test.dart
index 52b8c22..2bd8292 100644
--- a/generated/googleapis/test/secretmanager/v1_test.dart
+++ b/generated/googleapis/test/secretmanager/v1_test.dart
@@ -90,14 +90,14 @@
buildCounterAddSecretVersionRequest--;
}
-buildUnnamed3827() {
+buildUnnamed3831() {
var o = new core.List<api.AuditLogConfig>();
o.add(buildAuditLogConfig());
o.add(buildAuditLogConfig());
return o;
}
-checkUnnamed3827(core.List<api.AuditLogConfig> o) {
+checkUnnamed3831(core.List<api.AuditLogConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuditLogConfig(o[0]);
checkAuditLogConfig(o[1]);
@@ -108,7 +108,7 @@
var o = new api.AuditConfig();
buildCounterAuditConfig++;
if (buildCounterAuditConfig < 3) {
- o.auditLogConfigs = buildUnnamed3827();
+ o.auditLogConfigs = buildUnnamed3831();
o.service = "foo";
}
buildCounterAuditConfig--;
@@ -118,20 +118,20 @@
checkAuditConfig(api.AuditConfig o) {
buildCounterAuditConfig++;
if (buildCounterAuditConfig < 3) {
- checkUnnamed3827(o.auditLogConfigs);
+ checkUnnamed3831(o.auditLogConfigs);
unittest.expect(o.service, unittest.equals('foo'));
}
buildCounterAuditConfig--;
}
-buildUnnamed3828() {
+buildUnnamed3832() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3828(core.List<core.String> o) {
+checkUnnamed3832(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -142,7 +142,7 @@
var o = new api.AuditLogConfig();
buildCounterAuditLogConfig++;
if (buildCounterAuditLogConfig < 3) {
- o.exemptedMembers = buildUnnamed3828();
+ o.exemptedMembers = buildUnnamed3832();
o.logType = "foo";
}
buildCounterAuditLogConfig--;
@@ -152,7 +152,7 @@
checkAuditLogConfig(api.AuditLogConfig o) {
buildCounterAuditLogConfig++;
if (buildCounterAuditLogConfig < 3) {
- checkUnnamed3828(o.exemptedMembers);
+ checkUnnamed3832(o.exemptedMembers);
unittest.expect(o.logType, unittest.equals('foo'));
}
buildCounterAuditLogConfig--;
@@ -196,14 +196,14 @@
buildCounterAutomaticStatus--;
}
-buildUnnamed3829() {
+buildUnnamed3833() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3829(core.List<core.String> o) {
+checkUnnamed3833(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -216,7 +216,7 @@
if (buildCounterBinding < 3) {
o.bindingId = "foo";
o.condition = buildExpr();
- o.members = buildUnnamed3829();
+ o.members = buildUnnamed3833();
o.role = "foo";
}
buildCounterBinding--;
@@ -228,7 +228,7 @@
if (buildCounterBinding < 3) {
unittest.expect(o.bindingId, unittest.equals('foo'));
checkExpr(o.condition);
- checkUnnamed3829(o.members);
+ checkUnnamed3833(o.members);
unittest.expect(o.role, unittest.equals('foo'));
}
buildCounterBinding--;
@@ -357,14 +357,14 @@
buildCounterExpr--;
}
-buildUnnamed3830() {
+buildUnnamed3834() {
var o = new core.List<api.Location>();
o.add(buildLocation());
o.add(buildLocation());
return o;
}
-checkUnnamed3830(core.List<api.Location> o) {
+checkUnnamed3834(core.List<api.Location> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocation(o[0]);
checkLocation(o[1]);
@@ -375,7 +375,7 @@
var o = new api.ListLocationsResponse();
buildCounterListLocationsResponse++;
if (buildCounterListLocationsResponse < 3) {
- o.locations = buildUnnamed3830();
+ o.locations = buildUnnamed3834();
o.nextPageToken = "foo";
}
buildCounterListLocationsResponse--;
@@ -385,20 +385,20 @@
checkListLocationsResponse(api.ListLocationsResponse o) {
buildCounterListLocationsResponse++;
if (buildCounterListLocationsResponse < 3) {
- checkUnnamed3830(o.locations);
+ checkUnnamed3834(o.locations);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListLocationsResponse--;
}
-buildUnnamed3831() {
+buildUnnamed3835() {
var o = new core.List<api.SecretVersion>();
o.add(buildSecretVersion());
o.add(buildSecretVersion());
return o;
}
-checkUnnamed3831(core.List<api.SecretVersion> o) {
+checkUnnamed3835(core.List<api.SecretVersion> o) {
unittest.expect(o, unittest.hasLength(2));
checkSecretVersion(o[0]);
checkSecretVersion(o[1]);
@@ -411,7 +411,7 @@
if (buildCounterListSecretVersionsResponse < 3) {
o.nextPageToken = "foo";
o.totalSize = 42;
- o.versions = buildUnnamed3831();
+ o.versions = buildUnnamed3835();
}
buildCounterListSecretVersionsResponse--;
return o;
@@ -422,19 +422,19 @@
if (buildCounterListSecretVersionsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.totalSize, unittest.equals(42));
- checkUnnamed3831(o.versions);
+ checkUnnamed3835(o.versions);
}
buildCounterListSecretVersionsResponse--;
}
-buildUnnamed3832() {
+buildUnnamed3836() {
var o = new core.List<api.Secret>();
o.add(buildSecret());
o.add(buildSecret());
return o;
}
-checkUnnamed3832(core.List<api.Secret> o) {
+checkUnnamed3836(core.List<api.Secret> o) {
unittest.expect(o, unittest.hasLength(2));
checkSecret(o[0]);
checkSecret(o[1]);
@@ -446,7 +446,7 @@
buildCounterListSecretsResponse++;
if (buildCounterListSecretsResponse < 3) {
o.nextPageToken = "foo";
- o.secrets = buildUnnamed3832();
+ o.secrets = buildUnnamed3836();
o.totalSize = 42;
}
buildCounterListSecretsResponse--;
@@ -457,26 +457,26 @@
buildCounterListSecretsResponse++;
if (buildCounterListSecretsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3832(o.secrets);
+ checkUnnamed3836(o.secrets);
unittest.expect(o.totalSize, unittest.equals(42));
}
buildCounterListSecretsResponse--;
}
-buildUnnamed3833() {
+buildUnnamed3837() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3833(core.Map<core.String, core.String> o) {
+checkUnnamed3837(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed3834() {
+buildUnnamed3838() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -491,7 +491,7 @@
return o;
}
-checkUnnamed3834(core.Map<core.String, core.Object> o) {
+checkUnnamed3838(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o["x"]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -511,9 +511,9 @@
buildCounterLocation++;
if (buildCounterLocation < 3) {
o.displayName = "foo";
- o.labels = buildUnnamed3833();
+ o.labels = buildUnnamed3837();
o.locationId = "foo";
- o.metadata = buildUnnamed3834();
+ o.metadata = buildUnnamed3838();
o.name = "foo";
}
buildCounterLocation--;
@@ -524,35 +524,35 @@
buildCounterLocation++;
if (buildCounterLocation < 3) {
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed3833(o.labels);
+ checkUnnamed3837(o.labels);
unittest.expect(o.locationId, unittest.equals('foo'));
- checkUnnamed3834(o.metadata);
+ checkUnnamed3838(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
}
buildCounterLocation--;
}
-buildUnnamed3835() {
+buildUnnamed3839() {
var o = new core.List<api.AuditConfig>();
o.add(buildAuditConfig());
o.add(buildAuditConfig());
return o;
}
-checkUnnamed3835(core.List<api.AuditConfig> o) {
+checkUnnamed3839(core.List<api.AuditConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuditConfig(o[0]);
checkAuditConfig(o[1]);
}
-buildUnnamed3836() {
+buildUnnamed3840() {
var o = new core.List<api.Binding>();
o.add(buildBinding());
o.add(buildBinding());
return o;
}
-checkUnnamed3836(core.List<api.Binding> o) {
+checkUnnamed3840(core.List<api.Binding> o) {
unittest.expect(o, unittest.hasLength(2));
checkBinding(o[0]);
checkBinding(o[1]);
@@ -563,8 +563,8 @@
var o = new api.Policy();
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- o.auditConfigs = buildUnnamed3835();
- o.bindings = buildUnnamed3836();
+ o.auditConfigs = buildUnnamed3839();
+ o.bindings = buildUnnamed3840();
o.etag = "foo";
o.version = 42;
}
@@ -575,8 +575,8 @@
checkPolicy(api.Policy o) {
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- checkUnnamed3835(o.auditConfigs);
- checkUnnamed3836(o.bindings);
+ checkUnnamed3839(o.auditConfigs);
+ checkUnnamed3840(o.bindings);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals(42));
}
@@ -667,14 +667,14 @@
buildCounterReplicationStatus--;
}
-buildUnnamed3837() {
+buildUnnamed3841() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3837(core.Map<core.String, core.String> o) {
+checkUnnamed3841(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -686,7 +686,7 @@
buildCounterSecret++;
if (buildCounterSecret < 3) {
o.createTime = "foo";
- o.labels = buildUnnamed3837();
+ o.labels = buildUnnamed3841();
o.name = "foo";
o.replication = buildReplication();
}
@@ -698,7 +698,7 @@
buildCounterSecret++;
if (buildCounterSecret < 3) {
unittest.expect(o.createTime, unittest.equals('foo'));
- checkUnnamed3837(o.labels);
+ checkUnnamed3841(o.labels);
unittest.expect(o.name, unittest.equals('foo'));
checkReplication(o.replication);
}
@@ -772,14 +772,14 @@
buildCounterSetIamPolicyRequest--;
}
-buildUnnamed3838() {
+buildUnnamed3842() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3838(core.List<core.String> o) {
+checkUnnamed3842(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -790,7 +790,7 @@
var o = new api.TestIamPermissionsRequest();
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- o.permissions = buildUnnamed3838();
+ o.permissions = buildUnnamed3842();
}
buildCounterTestIamPermissionsRequest--;
return o;
@@ -799,19 +799,19 @@
checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) {
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- checkUnnamed3838(o.permissions);
+ checkUnnamed3842(o.permissions);
}
buildCounterTestIamPermissionsRequest--;
}
-buildUnnamed3839() {
+buildUnnamed3843() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3839(core.List<core.String> o) {
+checkUnnamed3843(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -822,7 +822,7 @@
var o = new api.TestIamPermissionsResponse();
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- o.permissions = buildUnnamed3839();
+ o.permissions = buildUnnamed3843();
}
buildCounterTestIamPermissionsResponse--;
return o;
@@ -831,19 +831,19 @@
checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) {
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- checkUnnamed3839(o.permissions);
+ checkUnnamed3843(o.permissions);
}
buildCounterTestIamPermissionsResponse--;
}
-buildUnnamed3840() {
+buildUnnamed3844() {
var o = new core.List<api.Replica>();
o.add(buildReplica());
o.add(buildReplica());
return o;
}
-checkUnnamed3840(core.List<api.Replica> o) {
+checkUnnamed3844(core.List<api.Replica> o) {
unittest.expect(o, unittest.hasLength(2));
checkReplica(o[0]);
checkReplica(o[1]);
@@ -854,7 +854,7 @@
var o = new api.UserManaged();
buildCounterUserManaged++;
if (buildCounterUserManaged < 3) {
- o.replicas = buildUnnamed3840();
+ o.replicas = buildUnnamed3844();
}
buildCounterUserManaged--;
return o;
@@ -863,19 +863,19 @@
checkUserManaged(api.UserManaged o) {
buildCounterUserManaged++;
if (buildCounterUserManaged < 3) {
- checkUnnamed3840(o.replicas);
+ checkUnnamed3844(o.replicas);
}
buildCounterUserManaged--;
}
-buildUnnamed3841() {
+buildUnnamed3845() {
var o = new core.List<api.ReplicaStatus>();
o.add(buildReplicaStatus());
o.add(buildReplicaStatus());
return o;
}
-checkUnnamed3841(core.List<api.ReplicaStatus> o) {
+checkUnnamed3845(core.List<api.ReplicaStatus> o) {
unittest.expect(o, unittest.hasLength(2));
checkReplicaStatus(o[0]);
checkReplicaStatus(o[1]);
@@ -886,7 +886,7 @@
var o = new api.UserManagedStatus();
buildCounterUserManagedStatus++;
if (buildCounterUserManagedStatus < 3) {
- o.replicas = buildUnnamed3841();
+ o.replicas = buildUnnamed3845();
}
buildCounterUserManagedStatus--;
return o;
@@ -895,7 +895,7 @@
checkUserManagedStatus(api.UserManagedStatus o) {
buildCounterUserManagedStatus++;
if (buildCounterUserManagedStatus < 3) {
- checkUnnamed3841(o.replicas);
+ checkUnnamed3845(o.replicas);
}
buildCounterUserManagedStatus--;
}
@@ -1207,9 +1207,9 @@
api.ProjectsLocationsResourceApi res =
new 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;
@@ -1242,11 +1242,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ 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 = {
@@ -1257,9 +1257,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);
@@ -1552,8 +1552,8 @@
api.ProjectsSecretsResourceApi res =
new api.SecretmanagerApi(mock).projects.secrets;
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;
@@ -1586,10 +1586,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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 = {
@@ -1600,8 +1600,8 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListSecretsResponse(response);
diff --git a/generated/googleapis/test/securitycenter/v1_test.dart b/generated/googleapis/test/securitycenter/v1_test.dart
index b8b5c67..781a4bc 100644
--- a/generated/googleapis/test/securitycenter/v1_test.dart
+++ b/generated/googleapis/test/securitycenter/v1_test.dart
@@ -50,7 +50,7 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed516() {
+buildUnnamed517() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -65,7 +65,7 @@
return o;
}
-checkUnnamed516(core.Map<core.String, core.Object> o) {
+checkUnnamed517(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o["x"]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -87,7 +87,7 @@
o.createTime = "foo";
o.iamPolicy = buildIamPolicy();
o.name = "foo";
- o.resourceProperties = buildUnnamed516();
+ o.resourceProperties = buildUnnamed517();
o.securityCenterProperties = buildSecurityCenterProperties();
o.securityMarks = buildSecurityMarks();
o.updateTime = "foo";
@@ -102,7 +102,7 @@
unittest.expect(o.createTime, unittest.equals('foo'));
checkIamPolicy(o.iamPolicy);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed516(o.resourceProperties);
+ checkUnnamed517(o.resourceProperties);
checkSecurityCenterProperties(o.securityCenterProperties);
checkSecurityMarks(o.securityMarks);
unittest.expect(o.updateTime, unittest.equals('foo'));
@@ -110,14 +110,14 @@
buildCounterAsset--;
}
-buildUnnamed517() {
+buildUnnamed518() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed517(core.List<core.String> o) {
+checkUnnamed518(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -129,7 +129,7 @@
buildCounterAssetDiscoveryConfig++;
if (buildCounterAssetDiscoveryConfig < 3) {
o.inclusionMode = "foo";
- o.projectIds = buildUnnamed517();
+ o.projectIds = buildUnnamed518();
}
buildCounterAssetDiscoveryConfig--;
return o;
@@ -139,19 +139,19 @@
buildCounterAssetDiscoveryConfig++;
if (buildCounterAssetDiscoveryConfig < 3) {
unittest.expect(o.inclusionMode, unittest.equals('foo'));
- checkUnnamed517(o.projectIds);
+ checkUnnamed518(o.projectIds);
}
buildCounterAssetDiscoveryConfig--;
}
-buildUnnamed518() {
+buildUnnamed519() {
var o = new core.List<api.AuditLogConfig>();
o.add(buildAuditLogConfig());
o.add(buildAuditLogConfig());
return o;
}
-checkUnnamed518(core.List<api.AuditLogConfig> o) {
+checkUnnamed519(core.List<api.AuditLogConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuditLogConfig(o[0]);
checkAuditLogConfig(o[1]);
@@ -162,7 +162,7 @@
var o = new api.AuditConfig();
buildCounterAuditConfig++;
if (buildCounterAuditConfig < 3) {
- o.auditLogConfigs = buildUnnamed518();
+ o.auditLogConfigs = buildUnnamed519();
o.service = "foo";
}
buildCounterAuditConfig--;
@@ -172,46 +172,12 @@
checkAuditConfig(api.AuditConfig o) {
buildCounterAuditConfig++;
if (buildCounterAuditConfig < 3) {
- checkUnnamed518(o.auditLogConfigs);
+ checkUnnamed519(o.auditLogConfigs);
unittest.expect(o.service, unittest.equals('foo'));
}
buildCounterAuditConfig--;
}
-buildUnnamed519() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed519(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-core.int buildCounterAuditLogConfig = 0;
-buildAuditLogConfig() {
- var o = new api.AuditLogConfig();
- buildCounterAuditLogConfig++;
- if (buildCounterAuditLogConfig < 3) {
- o.exemptedMembers = buildUnnamed519();
- o.logType = "foo";
- }
- buildCounterAuditLogConfig--;
- return o;
-}
-
-checkAuditLogConfig(api.AuditLogConfig o) {
- buildCounterAuditLogConfig++;
- if (buildCounterAuditLogConfig < 3) {
- checkUnnamed519(o.exemptedMembers);
- unittest.expect(o.logType, unittest.equals('foo'));
- }
- buildCounterAuditLogConfig--;
-}
-
buildUnnamed520() {
var o = new core.List<core.String>();
o.add("foo");
@@ -225,13 +191,47 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+core.int buildCounterAuditLogConfig = 0;
+buildAuditLogConfig() {
+ var o = new api.AuditLogConfig();
+ buildCounterAuditLogConfig++;
+ if (buildCounterAuditLogConfig < 3) {
+ o.exemptedMembers = buildUnnamed520();
+ o.logType = "foo";
+ }
+ buildCounterAuditLogConfig--;
+ return o;
+}
+
+checkAuditLogConfig(api.AuditLogConfig o) {
+ buildCounterAuditLogConfig++;
+ if (buildCounterAuditLogConfig < 3) {
+ checkUnnamed520(o.exemptedMembers);
+ unittest.expect(o.logType, unittest.equals('foo'));
+ }
+ buildCounterAuditLogConfig--;
+}
+
+buildUnnamed521() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed521(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
core.int buildCounterBinding = 0;
buildBinding() {
var o = new api.Binding();
buildCounterBinding++;
if (buildCounterBinding < 3) {
o.condition = buildExpr();
- o.members = buildUnnamed520();
+ o.members = buildUnnamed521();
o.role = "foo";
}
buildCounterBinding--;
@@ -242,7 +242,7 @@
buildCounterBinding++;
if (buildCounterBinding < 3) {
checkExpr(o.condition);
- checkUnnamed520(o.members);
+ checkUnnamed521(o.members);
unittest.expect(o.role, unittest.equals('foo'));
}
buildCounterBinding--;
@@ -288,7 +288,7 @@
buildCounterExpr--;
}
-buildUnnamed521() {
+buildUnnamed522() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -303,7 +303,7 @@
return o;
}
-checkUnnamed521(core.Map<core.String, core.Object> o) {
+checkUnnamed522(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted3 = (o["x"]) as core.Map;
unittest.expect(casted3, unittest.hasLength(3));
@@ -330,7 +330,7 @@
o.parent = "foo";
o.resourceName = "foo";
o.securityMarks = buildSecurityMarks();
- o.sourceProperties = buildUnnamed521();
+ o.sourceProperties = buildUnnamed522();
o.state = "foo";
}
buildCounterFinding--;
@@ -348,7 +348,7 @@
unittest.expect(o.parent, unittest.equals('foo'));
unittest.expect(o.resourceName, unittest.equals('foo'));
checkSecurityMarks(o.securityMarks);
- checkUnnamed521(o.sourceProperties);
+ checkUnnamed522(o.sourceProperties);
unittest.expect(o.state, unittest.equals('foo'));
}
buildCounterFinding--;
@@ -491,7 +491,7 @@
buildCounterGoogleCloudSecuritycenterV1beta1RunAssetDiscoveryResponse--;
}
-buildUnnamed522() {
+buildUnnamed523() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -506,7 +506,7 @@
return o;
}
-checkUnnamed522(core.Map<core.String, core.Object> o) {
+checkUnnamed523(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted5 = (o["x"]) as core.Map;
unittest.expect(casted5, unittest.hasLength(3));
@@ -534,7 +534,7 @@
o.resourceName = "foo";
o.securityMarks = buildGoogleCloudSecuritycenterV1p1beta1SecurityMarks();
o.severity = "foo";
- o.sourceProperties = buildUnnamed522();
+ o.sourceProperties = buildUnnamed523();
o.state = "foo";
}
buildCounterGoogleCloudSecuritycenterV1p1beta1Finding--;
@@ -554,7 +554,7 @@
unittest.expect(o.resourceName, unittest.equals('foo'));
checkGoogleCloudSecuritycenterV1p1beta1SecurityMarks(o.securityMarks);
unittest.expect(o.severity, unittest.equals('foo'));
- checkUnnamed522(o.sourceProperties);
+ checkUnnamed523(o.sourceProperties);
unittest.expect(o.state, unittest.equals('foo'));
}
buildCounterGoogleCloudSecuritycenterV1p1beta1Finding--;
@@ -637,14 +637,14 @@
buildCounterGoogleCloudSecuritycenterV1p1beta1RunAssetDiscoveryResponse--;
}
-buildUnnamed523() {
+buildUnnamed524() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed523(core.Map<core.String, core.String> o) {
+checkUnnamed524(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -655,7 +655,7 @@
var o = new api.GoogleCloudSecuritycenterV1p1beta1SecurityMarks();
buildCounterGoogleCloudSecuritycenterV1p1beta1SecurityMarks++;
if (buildCounterGoogleCloudSecuritycenterV1p1beta1SecurityMarks < 3) {
- o.marks = buildUnnamed523();
+ o.marks = buildUnnamed524();
o.name = "foo";
}
buildCounterGoogleCloudSecuritycenterV1p1beta1SecurityMarks--;
@@ -666,7 +666,7 @@
api.GoogleCloudSecuritycenterV1p1beta1SecurityMarks o) {
buildCounterGoogleCloudSecuritycenterV1p1beta1SecurityMarks++;
if (buildCounterGoogleCloudSecuritycenterV1p1beta1SecurityMarks < 3) {
- checkUnnamed523(o.marks);
+ checkUnnamed524(o.marks);
unittest.expect(o.name, unittest.equals('foo'));
}
buildCounterGoogleCloudSecuritycenterV1p1beta1SecurityMarks--;
@@ -701,14 +701,14 @@
buildCounterGroupAssetsRequest--;
}
-buildUnnamed524() {
+buildUnnamed525() {
var o = new core.List<api.GroupResult>();
o.add(buildGroupResult());
o.add(buildGroupResult());
return o;
}
-checkUnnamed524(core.List<api.GroupResult> o) {
+checkUnnamed525(core.List<api.GroupResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkGroupResult(o[0]);
checkGroupResult(o[1]);
@@ -719,7 +719,7 @@
var o = new api.GroupAssetsResponse();
buildCounterGroupAssetsResponse++;
if (buildCounterGroupAssetsResponse < 3) {
- o.groupByResults = buildUnnamed524();
+ o.groupByResults = buildUnnamed525();
o.nextPageToken = "foo";
o.readTime = "foo";
o.totalSize = 42;
@@ -731,7 +731,7 @@
checkGroupAssetsResponse(api.GroupAssetsResponse o) {
buildCounterGroupAssetsResponse++;
if (buildCounterGroupAssetsResponse < 3) {
- checkUnnamed524(o.groupByResults);
+ checkUnnamed525(o.groupByResults);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.readTime, unittest.equals('foo'));
unittest.expect(o.totalSize, unittest.equals(42));
@@ -768,14 +768,14 @@
buildCounterGroupFindingsRequest--;
}
-buildUnnamed525() {
+buildUnnamed526() {
var o = new core.List<api.GroupResult>();
o.add(buildGroupResult());
o.add(buildGroupResult());
return o;
}
-checkUnnamed525(core.List<api.GroupResult> o) {
+checkUnnamed526(core.List<api.GroupResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkGroupResult(o[0]);
checkGroupResult(o[1]);
@@ -786,7 +786,7 @@
var o = new api.GroupFindingsResponse();
buildCounterGroupFindingsResponse++;
if (buildCounterGroupFindingsResponse < 3) {
- o.groupByResults = buildUnnamed525();
+ o.groupByResults = buildUnnamed526();
o.nextPageToken = "foo";
o.readTime = "foo";
o.totalSize = 42;
@@ -798,7 +798,7 @@
checkGroupFindingsResponse(api.GroupFindingsResponse o) {
buildCounterGroupFindingsResponse++;
if (buildCounterGroupFindingsResponse < 3) {
- checkUnnamed525(o.groupByResults);
+ checkUnnamed526(o.groupByResults);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.readTime, unittest.equals('foo'));
unittest.expect(o.totalSize, unittest.equals(42));
@@ -806,7 +806,7 @@
buildCounterGroupFindingsResponse--;
}
-buildUnnamed526() {
+buildUnnamed527() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -821,7 +821,7 @@
return o;
}
-checkUnnamed526(core.Map<core.String, core.Object> o) {
+checkUnnamed527(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted7 = (o["x"]) as core.Map;
unittest.expect(casted7, unittest.hasLength(3));
@@ -841,7 +841,7 @@
buildCounterGroupResult++;
if (buildCounterGroupResult < 3) {
o.count = "foo";
- o.properties = buildUnnamed526();
+ o.properties = buildUnnamed527();
}
buildCounterGroupResult--;
return o;
@@ -851,7 +851,7 @@
buildCounterGroupResult++;
if (buildCounterGroupResult < 3) {
unittest.expect(o.count, unittest.equals('foo'));
- checkUnnamed526(o.properties);
+ checkUnnamed527(o.properties);
}
buildCounterGroupResult--;
}
@@ -875,14 +875,14 @@
buildCounterIamPolicy--;
}
-buildUnnamed527() {
+buildUnnamed528() {
var o = new core.List<api.ListAssetsResult>();
o.add(buildListAssetsResult());
o.add(buildListAssetsResult());
return o;
}
-checkUnnamed527(core.List<api.ListAssetsResult> o) {
+checkUnnamed528(core.List<api.ListAssetsResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkListAssetsResult(o[0]);
checkListAssetsResult(o[1]);
@@ -893,7 +893,7 @@
var o = new api.ListAssetsResponse();
buildCounterListAssetsResponse++;
if (buildCounterListAssetsResponse < 3) {
- o.listAssetsResults = buildUnnamed527();
+ o.listAssetsResults = buildUnnamed528();
o.nextPageToken = "foo";
o.readTime = "foo";
o.totalSize = 42;
@@ -905,7 +905,7 @@
checkListAssetsResponse(api.ListAssetsResponse o) {
buildCounterListAssetsResponse++;
if (buildCounterListAssetsResponse < 3) {
- checkUnnamed527(o.listAssetsResults);
+ checkUnnamed528(o.listAssetsResults);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.readTime, unittest.equals('foo'));
unittest.expect(o.totalSize, unittest.equals(42));
@@ -934,14 +934,14 @@
buildCounterListAssetsResult--;
}
-buildUnnamed528() {
+buildUnnamed529() {
var o = new core.List<api.ListFindingsResult>();
o.add(buildListFindingsResult());
o.add(buildListFindingsResult());
return o;
}
-checkUnnamed528(core.List<api.ListFindingsResult> o) {
+checkUnnamed529(core.List<api.ListFindingsResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkListFindingsResult(o[0]);
checkListFindingsResult(o[1]);
@@ -952,7 +952,7 @@
var o = new api.ListFindingsResponse();
buildCounterListFindingsResponse++;
if (buildCounterListFindingsResponse < 3) {
- o.listFindingsResults = buildUnnamed528();
+ o.listFindingsResults = buildUnnamed529();
o.nextPageToken = "foo";
o.readTime = "foo";
o.totalSize = 42;
@@ -964,7 +964,7 @@
checkListFindingsResponse(api.ListFindingsResponse o) {
buildCounterListFindingsResponse++;
if (buildCounterListFindingsResponse < 3) {
- checkUnnamed528(o.listFindingsResults);
+ checkUnnamed529(o.listFindingsResults);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.readTime, unittest.equals('foo'));
unittest.expect(o.totalSize, unittest.equals(42));
@@ -995,14 +995,14 @@
buildCounterListFindingsResult--;
}
-buildUnnamed529() {
+buildUnnamed530() {
var o = new core.List<api.NotificationConfig>();
o.add(buildNotificationConfig());
o.add(buildNotificationConfig());
return o;
}
-checkUnnamed529(core.List<api.NotificationConfig> o) {
+checkUnnamed530(core.List<api.NotificationConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkNotificationConfig(o[0]);
checkNotificationConfig(o[1]);
@@ -1014,7 +1014,7 @@
buildCounterListNotificationConfigsResponse++;
if (buildCounterListNotificationConfigsResponse < 3) {
o.nextPageToken = "foo";
- o.notificationConfigs = buildUnnamed529();
+ o.notificationConfigs = buildUnnamed530();
}
buildCounterListNotificationConfigsResponse--;
return o;
@@ -1024,19 +1024,19 @@
buildCounterListNotificationConfigsResponse++;
if (buildCounterListNotificationConfigsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed529(o.notificationConfigs);
+ checkUnnamed530(o.notificationConfigs);
}
buildCounterListNotificationConfigsResponse--;
}
-buildUnnamed530() {
+buildUnnamed531() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed530(core.List<api.Operation> o) {
+checkUnnamed531(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -1048,7 +1048,7 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
o.nextPageToken = "foo";
- o.operations = buildUnnamed530();
+ o.operations = buildUnnamed531();
}
buildCounterListOperationsResponse--;
return o;
@@ -1058,19 +1058,19 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed530(o.operations);
+ checkUnnamed531(o.operations);
}
buildCounterListOperationsResponse--;
}
-buildUnnamed531() {
+buildUnnamed532() {
var o = new core.List<api.Source>();
o.add(buildSource());
o.add(buildSource());
return o;
}
-checkUnnamed531(core.List<api.Source> o) {
+checkUnnamed532(core.List<api.Source> o) {
unittest.expect(o, unittest.hasLength(2));
checkSource(o[0]);
checkSource(o[1]);
@@ -1082,7 +1082,7 @@
buildCounterListSourcesResponse++;
if (buildCounterListSourcesResponse < 3) {
o.nextPageToken = "foo";
- o.sources = buildUnnamed531();
+ o.sources = buildUnnamed532();
}
buildCounterListSourcesResponse--;
return o;
@@ -1092,7 +1092,7 @@
buildCounterListSourcesResponse++;
if (buildCounterListSourcesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed531(o.sources);
+ checkUnnamed532(o.sources);
}
buildCounterListSourcesResponse--;
}
@@ -1124,35 +1124,6 @@
buildCounterNotificationConfig--;
}
-buildUnnamed532() {
- var o = new core.Map<core.String, core.Object>();
- o["x"] = {
- 'list': [1, 2, 3],
- 'bool': true,
- 'string': 'foo'
- };
- o["y"] = {
- 'list': [1, 2, 3],
- 'bool': true,
- 'string': 'foo'
- };
- return o;
-}
-
-checkUnnamed532(core.Map<core.String, core.Object> o) {
- unittest.expect(o, unittest.hasLength(2));
- var casted9 = (o["x"]) as core.Map;
- unittest.expect(casted9, unittest.hasLength(3));
- unittest.expect(casted9["list"], unittest.equals([1, 2, 3]));
- unittest.expect(casted9["bool"], unittest.equals(true));
- unittest.expect(casted9["string"], unittest.equals('foo'));
- var casted10 = (o["y"]) as core.Map;
- unittest.expect(casted10, unittest.hasLength(3));
- unittest.expect(casted10["list"], unittest.equals([1, 2, 3]));
- unittest.expect(casted10["bool"], unittest.equals(true));
- unittest.expect(casted10["string"], unittest.equals('foo'));
-}
-
buildUnnamed533() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
@@ -1170,6 +1141,35 @@
checkUnnamed533(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
+ var casted9 = (o["x"]) as core.Map;
+ unittest.expect(casted9, unittest.hasLength(3));
+ unittest.expect(casted9["list"], unittest.equals([1, 2, 3]));
+ unittest.expect(casted9["bool"], unittest.equals(true));
+ unittest.expect(casted9["string"], unittest.equals('foo'));
+ var casted10 = (o["y"]) as core.Map;
+ unittest.expect(casted10, unittest.hasLength(3));
+ unittest.expect(casted10["list"], unittest.equals([1, 2, 3]));
+ unittest.expect(casted10["bool"], unittest.equals(true));
+ unittest.expect(casted10["string"], unittest.equals('foo'));
+}
+
+buildUnnamed534() {
+ var o = new core.Map<core.String, core.Object>();
+ o["x"] = {
+ 'list': [1, 2, 3],
+ 'bool': true,
+ 'string': 'foo'
+ };
+ o["y"] = {
+ 'list': [1, 2, 3],
+ 'bool': true,
+ 'string': 'foo'
+ };
+ return o;
+}
+
+checkUnnamed534(core.Map<core.String, core.Object> o) {
+ unittest.expect(o, unittest.hasLength(2));
var casted11 = (o["x"]) as core.Map;
unittest.expect(casted11, unittest.hasLength(3));
unittest.expect(casted11["list"], unittest.equals([1, 2, 3]));
@@ -1189,9 +1189,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed532();
+ o.metadata = buildUnnamed533();
o.name = "foo";
- o.response = buildUnnamed533();
+ o.response = buildUnnamed534();
}
buildCounterOperation--;
return o;
@@ -1202,9 +1202,9 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed532(o.metadata);
+ checkUnnamed533(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed533(o.response);
+ checkUnnamed534(o.response);
}
buildCounterOperation--;
}
@@ -1232,27 +1232,27 @@
buildCounterOrganizationSettings--;
}
-buildUnnamed534() {
+buildUnnamed535() {
var o = new core.List<api.AuditConfig>();
o.add(buildAuditConfig());
o.add(buildAuditConfig());
return o;
}
-checkUnnamed534(core.List<api.AuditConfig> o) {
+checkUnnamed535(core.List<api.AuditConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuditConfig(o[0]);
checkAuditConfig(o[1]);
}
-buildUnnamed535() {
+buildUnnamed536() {
var o = new core.List<api.Binding>();
o.add(buildBinding());
o.add(buildBinding());
return o;
}
-checkUnnamed535(core.List<api.Binding> o) {
+checkUnnamed536(core.List<api.Binding> o) {
unittest.expect(o, unittest.hasLength(2));
checkBinding(o[0]);
checkBinding(o[1]);
@@ -1263,8 +1263,8 @@
var o = new api.Policy();
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- o.auditConfigs = buildUnnamed534();
- o.bindings = buildUnnamed535();
+ o.auditConfigs = buildUnnamed535();
+ o.bindings = buildUnnamed536();
o.etag = "foo";
o.version = 42;
}
@@ -1275,8 +1275,8 @@
checkPolicy(api.Policy o) {
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- checkUnnamed534(o.auditConfigs);
- checkUnnamed535(o.bindings);
+ checkUnnamed535(o.auditConfigs);
+ checkUnnamed536(o.bindings);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals(42));
}
@@ -1325,14 +1325,14 @@
buildCounterRunAssetDiscoveryRequest--;
}
-buildUnnamed536() {
+buildUnnamed537() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed536(core.List<core.String> o) {
+checkUnnamed537(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1345,7 +1345,7 @@
if (buildCounterSecurityCenterProperties < 3) {
o.resourceDisplayName = "foo";
o.resourceName = "foo";
- o.resourceOwners = buildUnnamed536();
+ o.resourceOwners = buildUnnamed537();
o.resourceParent = "foo";
o.resourceParentDisplayName = "foo";
o.resourceProject = "foo";
@@ -1361,7 +1361,7 @@
if (buildCounterSecurityCenterProperties < 3) {
unittest.expect(o.resourceDisplayName, unittest.equals('foo'));
unittest.expect(o.resourceName, unittest.equals('foo'));
- checkUnnamed536(o.resourceOwners);
+ checkUnnamed537(o.resourceOwners);
unittest.expect(o.resourceParent, unittest.equals('foo'));
unittest.expect(o.resourceParentDisplayName, unittest.equals('foo'));
unittest.expect(o.resourceProject, unittest.equals('foo'));
@@ -1371,14 +1371,14 @@
buildCounterSecurityCenterProperties--;
}
-buildUnnamed537() {
+buildUnnamed538() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed537(core.Map<core.String, core.String> o) {
+checkUnnamed538(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -1389,7 +1389,7 @@
var o = new api.SecurityMarks();
buildCounterSecurityMarks++;
if (buildCounterSecurityMarks < 3) {
- o.marks = buildUnnamed537();
+ o.marks = buildUnnamed538();
o.name = "foo";
}
buildCounterSecurityMarks--;
@@ -1399,7 +1399,7 @@
checkSecurityMarks(api.SecurityMarks o) {
buildCounterSecurityMarks++;
if (buildCounterSecurityMarks < 3) {
- checkUnnamed537(o.marks);
+ checkUnnamed538(o.marks);
unittest.expect(o.name, unittest.equals('foo'));
}
buildCounterSecurityMarks--;
@@ -1470,7 +1470,7 @@
buildCounterSource--;
}
-buildUnnamed538() {
+buildUnnamed539() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1485,7 +1485,7 @@
return o;
}
-checkUnnamed538(core.Map<core.String, core.Object> o) {
+checkUnnamed539(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted13 = (o["x"]) as core.Map;
unittest.expect(casted13, unittest.hasLength(3));
@@ -1499,17 +1499,17 @@
unittest.expect(casted14["string"], unittest.equals('foo'));
}
-buildUnnamed539() {
+buildUnnamed540() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed538());
- o.add(buildUnnamed538());
+ o.add(buildUnnamed539());
+ o.add(buildUnnamed539());
return o;
}
-checkUnnamed539(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed540(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed538(o[0]);
- checkUnnamed538(o[1]);
+ checkUnnamed539(o[0]);
+ checkUnnamed539(o[1]);
}
core.int buildCounterStatus = 0;
@@ -1518,7 +1518,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed539();
+ o.details = buildUnnamed540();
o.message = "foo";
}
buildCounterStatus--;
@@ -1529,7 +1529,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed539(o.details);
+ checkUnnamed540(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
@@ -1554,38 +1554,6 @@
buildCounterStreamingConfig--;
}
-buildUnnamed540() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed540(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-core.int buildCounterTestIamPermissionsRequest = 0;
-buildTestIamPermissionsRequest() {
- var o = new api.TestIamPermissionsRequest();
- buildCounterTestIamPermissionsRequest++;
- if (buildCounterTestIamPermissionsRequest < 3) {
- o.permissions = buildUnnamed540();
- }
- buildCounterTestIamPermissionsRequest--;
- return o;
-}
-
-checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) {
- buildCounterTestIamPermissionsRequest++;
- if (buildCounterTestIamPermissionsRequest < 3) {
- checkUnnamed540(o.permissions);
- }
- buildCounterTestIamPermissionsRequest--;
-}
-
buildUnnamed541() {
var o = new core.List<core.String>();
o.add("foo");
@@ -1599,12 +1567,44 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+core.int buildCounterTestIamPermissionsRequest = 0;
+buildTestIamPermissionsRequest() {
+ var o = new api.TestIamPermissionsRequest();
+ buildCounterTestIamPermissionsRequest++;
+ if (buildCounterTestIamPermissionsRequest < 3) {
+ o.permissions = buildUnnamed541();
+ }
+ buildCounterTestIamPermissionsRequest--;
+ return o;
+}
+
+checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) {
+ buildCounterTestIamPermissionsRequest++;
+ if (buildCounterTestIamPermissionsRequest < 3) {
+ checkUnnamed541(o.permissions);
+ }
+ buildCounterTestIamPermissionsRequest--;
+}
+
+buildUnnamed542() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed542(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
core.int buildCounterTestIamPermissionsResponse = 0;
buildTestIamPermissionsResponse() {
var o = new api.TestIamPermissionsResponse();
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- o.permissions = buildUnnamed541();
+ o.permissions = buildUnnamed542();
}
buildCounterTestIamPermissionsResponse--;
return o;
@@ -1613,7 +1613,7 @@
checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) {
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- checkUnnamed541(o.permissions);
+ checkUnnamed542(o.permissions);
}
buildCounterTestIamPermissionsResponse--;
}
@@ -2192,13 +2192,13 @@
api.OrganizationsAssetsResourceApi res =
new api.SecuritycenterApi(mock).organizations.assets;
var arg_parent = "foo";
- var arg_pageToken = "foo";
var arg_orderBy = "foo";
var arg_fieldMask = "foo";
- var arg_compareDuration = "foo";
- var arg_pageSize = 42;
- var arg_readTime = "foo";
var arg_filter = "foo";
+ var arg_pageToken = "foo";
+ var arg_compareDuration = "foo";
+ var arg_readTime = "foo";
+ var arg_pageSize = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2232,18 +2232,18 @@
}
}
unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(
queryMap["orderBy"].first, unittest.equals(arg_orderBy));
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(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
unittest.expect(
queryMap["readTime"].first, unittest.equals(arg_readTime));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2254,13 +2254,13 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
orderBy: arg_orderBy,
fieldMask: arg_fieldMask,
- compareDuration: arg_compareDuration,
- pageSize: arg_pageSize,
- readTime: arg_readTime,
filter: arg_filter,
+ pageToken: arg_pageToken,
+ compareDuration: arg_compareDuration,
+ readTime: arg_readTime,
+ pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListAssetsResponse(response);
@@ -2329,8 +2329,8 @@
new api.SecuritycenterApi(mock).organizations.assets;
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 = new api.SecurityMarks.fromJson(json);
@@ -2367,9 +2367,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 = {
@@ -2380,8 +2380,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);
@@ -2839,8 +2839,8 @@
new api.SecuritycenterApi(mock).organizations.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;
@@ -2874,10 +2874,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 = {
@@ -2889,8 +2889,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);
@@ -3068,8 +3068,8 @@
api.OrganizationsSourcesResourceApi res =
new api.SecuritycenterApi(mock).organizations.sources;
var arg_parent = "foo";
- var arg_pageSize = 42;
var arg_pageToken = "foo";
+ var arg_pageSize = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3102,10 +3102,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3116,8 +3116,8 @@
}), true);
res
.list(arg_parent,
- pageSize: arg_pageSize,
pageToken: arg_pageToken,
+ pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListSourcesResponse(response);
@@ -3419,13 +3419,13 @@
api.OrganizationsSourcesFindingsResourceApi res =
new api.SecuritycenterApi(mock).organizations.sources.findings;
var arg_parent = "foo";
- var arg_compareDuration = "foo";
- var arg_orderBy = "foo";
- var arg_readTime = "foo";
var arg_pageToken = "foo";
+ var arg_compareDuration = "foo";
var arg_pageSize = 42;
- var arg_fieldMask = "foo";
+ var arg_orderBy = "foo";
var arg_filter = "foo";
+ var arg_readTime = "foo";
+ var arg_fieldMask = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3458,19 +3458,19 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["compareDuration"].first,
- unittest.equals(arg_compareDuration));
- unittest.expect(
- queryMap["orderBy"].first, unittest.equals(arg_orderBy));
- unittest.expect(
- queryMap["readTime"].first, unittest.equals(arg_readTime));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["compareDuration"].first,
+ unittest.equals(arg_compareDuration));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
unittest.expect(
- queryMap["fieldMask"].first, unittest.equals(arg_fieldMask));
+ queryMap["orderBy"].first, unittest.equals(arg_orderBy));
unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
+ 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 = {
@@ -3481,13 +3481,13 @@
}), true);
res
.list(arg_parent,
- compareDuration: arg_compareDuration,
- orderBy: arg_orderBy,
- readTime: arg_readTime,
pageToken: arg_pageToken,
+ compareDuration: arg_compareDuration,
pageSize: arg_pageSize,
- fieldMask: arg_fieldMask,
+ orderBy: arg_orderBy,
filter: arg_filter,
+ readTime: arg_readTime,
+ fieldMask: arg_fieldMask,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListFindingsResponse(response);
@@ -3616,8 +3616,8 @@
new api.SecuritycenterApi(mock).organizations.sources.findings;
var arg_request = buildSecurityMarks();
var arg_name = "foo";
- var arg_startTime = "foo";
var arg_updateMask = "foo";
+ var arg_startTime = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.SecurityMarks.fromJson(json);
@@ -3654,9 +3654,9 @@
}
}
unittest.expect(
- queryMap["startTime"].first, unittest.equals(arg_startTime));
- unittest.expect(
queryMap["updateMask"].first, unittest.equals(arg_updateMask));
+ unittest.expect(
+ queryMap["startTime"].first, unittest.equals(arg_startTime));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3667,8 +3667,8 @@
}), true);
res
.updateSecurityMarks(arg_request, arg_name,
- startTime: arg_startTime,
updateMask: arg_updateMask,
+ startTime: arg_startTime,
$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 31be89e..c833da1 100644
--- a/generated/googleapis/test/serviceconsumermanagement/v1_test.dart
+++ b/generated/googleapis/test/serviceconsumermanagement/v1_test.dart
@@ -71,40 +71,40 @@
buildCounterAddTenantProjectRequest--;
}
-buildUnnamed3347() {
+buildUnnamed3351() {
var o = new core.List<api.Method>();
o.add(buildMethod());
o.add(buildMethod());
return o;
}
-checkUnnamed3347(core.List<api.Method> o) {
+checkUnnamed3351(core.List<api.Method> o) {
unittest.expect(o, unittest.hasLength(2));
checkMethod(o[0]);
checkMethod(o[1]);
}
-buildUnnamed3348() {
+buildUnnamed3352() {
var o = new core.List<api.Mixin>();
o.add(buildMixin());
o.add(buildMixin());
return o;
}
-checkUnnamed3348(core.List<api.Mixin> o) {
+checkUnnamed3352(core.List<api.Mixin> o) {
unittest.expect(o, unittest.hasLength(2));
checkMixin(o[0]);
checkMixin(o[1]);
}
-buildUnnamed3349() {
+buildUnnamed3353() {
var o = new core.List<api.Option>();
o.add(buildOption());
o.add(buildOption());
return o;
}
-checkUnnamed3349(core.List<api.Option> o) {
+checkUnnamed3353(core.List<api.Option> o) {
unittest.expect(o, unittest.hasLength(2));
checkOption(o[0]);
checkOption(o[1]);
@@ -115,10 +115,10 @@
var o = new api.Api();
buildCounterApi++;
if (buildCounterApi < 3) {
- o.methods = buildUnnamed3347();
- o.mixins = buildUnnamed3348();
+ o.methods = buildUnnamed3351();
+ o.mixins = buildUnnamed3352();
o.name = "foo";
- o.options = buildUnnamed3349();
+ o.options = buildUnnamed3353();
o.sourceContext = buildSourceContext();
o.syntax = "foo";
o.version = "foo";
@@ -130,10 +130,10 @@
checkApi(api.Api o) {
buildCounterApi++;
if (buildCounterApi < 3) {
- checkUnnamed3347(o.methods);
- checkUnnamed3348(o.mixins);
+ checkUnnamed3351(o.methods);
+ checkUnnamed3352(o.mixins);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed3349(o.options);
+ checkUnnamed3353(o.options);
checkSourceContext(o.sourceContext);
unittest.expect(o.syntax, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals('foo'));
@@ -185,14 +185,14 @@
buildCounterAttachTenantProjectRequest--;
}
-buildUnnamed3350() {
+buildUnnamed3354() {
var o = new core.List<api.JwtLocation>();
o.add(buildJwtLocation());
o.add(buildJwtLocation());
return o;
}
-checkUnnamed3350(core.List<api.JwtLocation> o) {
+checkUnnamed3354(core.List<api.JwtLocation> o) {
unittest.expect(o, unittest.hasLength(2));
checkJwtLocation(o[0]);
checkJwtLocation(o[1]);
@@ -208,7 +208,7 @@
o.id = "foo";
o.issuer = "foo";
o.jwksUri = "foo";
- o.jwtLocations = buildUnnamed3350();
+ o.jwtLocations = buildUnnamed3354();
}
buildCounterAuthProvider--;
return o;
@@ -222,7 +222,7 @@
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.issuer, unittest.equals('foo'));
unittest.expect(o.jwksUri, unittest.equals('foo'));
- checkUnnamed3350(o.jwtLocations);
+ checkUnnamed3354(o.jwtLocations);
}
buildCounterAuthProvider--;
}
@@ -248,27 +248,27 @@
buildCounterAuthRequirement--;
}
-buildUnnamed3351() {
+buildUnnamed3355() {
var o = new core.List<api.AuthProvider>();
o.add(buildAuthProvider());
o.add(buildAuthProvider());
return o;
}
-checkUnnamed3351(core.List<api.AuthProvider> o) {
+checkUnnamed3355(core.List<api.AuthProvider> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuthProvider(o[0]);
checkAuthProvider(o[1]);
}
-buildUnnamed3352() {
+buildUnnamed3356() {
var o = new core.List<api.AuthenticationRule>();
o.add(buildAuthenticationRule());
o.add(buildAuthenticationRule());
return o;
}
-checkUnnamed3352(core.List<api.AuthenticationRule> o) {
+checkUnnamed3356(core.List<api.AuthenticationRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuthenticationRule(o[0]);
checkAuthenticationRule(o[1]);
@@ -279,8 +279,8 @@
var o = new api.Authentication();
buildCounterAuthentication++;
if (buildCounterAuthentication < 3) {
- o.providers = buildUnnamed3351();
- o.rules = buildUnnamed3352();
+ o.providers = buildUnnamed3355();
+ o.rules = buildUnnamed3356();
}
buildCounterAuthentication--;
return o;
@@ -289,20 +289,20 @@
checkAuthentication(api.Authentication o) {
buildCounterAuthentication++;
if (buildCounterAuthentication < 3) {
- checkUnnamed3351(o.providers);
- checkUnnamed3352(o.rules);
+ checkUnnamed3355(o.providers);
+ checkUnnamed3356(o.rules);
}
buildCounterAuthentication--;
}
-buildUnnamed3353() {
+buildUnnamed3357() {
var o = new core.List<api.AuthRequirement>();
o.add(buildAuthRequirement());
o.add(buildAuthRequirement());
return o;
}
-checkUnnamed3353(core.List<api.AuthRequirement> o) {
+checkUnnamed3357(core.List<api.AuthRequirement> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuthRequirement(o[0]);
checkAuthRequirement(o[1]);
@@ -315,7 +315,7 @@
if (buildCounterAuthenticationRule < 3) {
o.allowWithoutCredential = true;
o.oauth = buildOAuthRequirements();
- o.requirements = buildUnnamed3353();
+ o.requirements = buildUnnamed3357();
o.selector = "foo";
}
buildCounterAuthenticationRule--;
@@ -327,20 +327,20 @@
if (buildCounterAuthenticationRule < 3) {
unittest.expect(o.allowWithoutCredential, unittest.isTrue);
checkOAuthRequirements(o.oauth);
- checkUnnamed3353(o.requirements);
+ checkUnnamed3357(o.requirements);
unittest.expect(o.selector, unittest.equals('foo'));
}
buildCounterAuthenticationRule--;
}
-buildUnnamed3354() {
+buildUnnamed3358() {
var o = new core.List<api.BackendRule>();
o.add(buildBackendRule());
o.add(buildBackendRule());
return o;
}
-checkUnnamed3354(core.List<api.BackendRule> o) {
+checkUnnamed3358(core.List<api.BackendRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkBackendRule(o[0]);
checkBackendRule(o[1]);
@@ -351,7 +351,7 @@
var o = new api.Backend();
buildCounterBackend++;
if (buildCounterBackend < 3) {
- o.rules = buildUnnamed3354();
+ o.rules = buildUnnamed3358();
}
buildCounterBackend--;
return o;
@@ -360,7 +360,7 @@
checkBackend(api.Backend o) {
buildCounterBackend++;
if (buildCounterBackend < 3) {
- checkUnnamed3354(o.rules);
+ checkUnnamed3358(o.rules);
}
buildCounterBackend--;
}
@@ -400,14 +400,14 @@
buildCounterBackendRule--;
}
-buildUnnamed3355() {
+buildUnnamed3359() {
var o = new core.List<api.BillingDestination>();
o.add(buildBillingDestination());
o.add(buildBillingDestination());
return o;
}
-checkUnnamed3355(core.List<api.BillingDestination> o) {
+checkUnnamed3359(core.List<api.BillingDestination> o) {
unittest.expect(o, unittest.hasLength(2));
checkBillingDestination(o[0]);
checkBillingDestination(o[1]);
@@ -418,7 +418,7 @@
var o = new api.Billing();
buildCounterBilling++;
if (buildCounterBilling < 3) {
- o.consumerDestinations = buildUnnamed3355();
+ o.consumerDestinations = buildUnnamed3359();
}
buildCounterBilling--;
return o;
@@ -427,7 +427,7 @@
checkBilling(api.Billing o) {
buildCounterBilling++;
if (buildCounterBilling < 3) {
- checkUnnamed3355(o.consumerDestinations);
+ checkUnnamed3359(o.consumerDestinations);
}
buildCounterBilling--;
}
@@ -451,14 +451,14 @@
buildCounterBillingConfig--;
}
-buildUnnamed3356() {
+buildUnnamed3360() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3356(core.List<core.String> o) {
+checkUnnamed3360(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -469,7 +469,7 @@
var o = new api.BillingDestination();
buildCounterBillingDestination++;
if (buildCounterBillingDestination < 3) {
- o.metrics = buildUnnamed3356();
+ o.metrics = buildUnnamed3360();
o.monitoredResource = "foo";
}
buildCounterBillingDestination--;
@@ -479,7 +479,7 @@
checkBillingDestination(api.BillingDestination o) {
buildCounterBillingDestination++;
if (buildCounterBillingDestination < 3) {
- checkUnnamed3356(o.metrics);
+ checkUnnamed3360(o.metrics);
unittest.expect(o.monitoredResource, unittest.equals('foo'));
}
buildCounterBillingDestination--;
@@ -500,14 +500,14 @@
buildCounterCancelOperationRequest--;
}
-buildUnnamed3357() {
+buildUnnamed3361() {
var o = new core.List<api.ContextRule>();
o.add(buildContextRule());
o.add(buildContextRule());
return o;
}
-checkUnnamed3357(core.List<api.ContextRule> o) {
+checkUnnamed3361(core.List<api.ContextRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkContextRule(o[0]);
checkContextRule(o[1]);
@@ -518,7 +518,7 @@
var o = new api.Context();
buildCounterContext++;
if (buildCounterContext < 3) {
- o.rules = buildUnnamed3357();
+ o.rules = buildUnnamed3361();
}
buildCounterContext--;
return o;
@@ -527,58 +527,58 @@
checkContext(api.Context o) {
buildCounterContext++;
if (buildCounterContext < 3) {
- checkUnnamed3357(o.rules);
+ checkUnnamed3361(o.rules);
}
buildCounterContext--;
}
-buildUnnamed3358() {
+buildUnnamed3362() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3358(core.List<core.String> o) {
+checkUnnamed3362(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3359() {
+buildUnnamed3363() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3359(core.List<core.String> o) {
+checkUnnamed3363(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3360() {
+buildUnnamed3364() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3360(core.List<core.String> o) {
+checkUnnamed3364(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3361() {
+buildUnnamed3365() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3361(core.List<core.String> o) {
+checkUnnamed3365(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -589,10 +589,10 @@
var o = new api.ContextRule();
buildCounterContextRule++;
if (buildCounterContextRule < 3) {
- o.allowedRequestExtensions = buildUnnamed3358();
- o.allowedResponseExtensions = buildUnnamed3359();
- o.provided = buildUnnamed3360();
- o.requested = buildUnnamed3361();
+ o.allowedRequestExtensions = buildUnnamed3362();
+ o.allowedResponseExtensions = buildUnnamed3363();
+ o.provided = buildUnnamed3364();
+ o.requested = buildUnnamed3365();
o.selector = "foo";
}
buildCounterContextRule--;
@@ -602,10 +602,10 @@
checkContextRule(api.ContextRule o) {
buildCounterContextRule++;
if (buildCounterContextRule < 3) {
- checkUnnamed3358(o.allowedRequestExtensions);
- checkUnnamed3359(o.allowedResponseExtensions);
- checkUnnamed3360(o.provided);
- checkUnnamed3361(o.requested);
+ checkUnnamed3362(o.allowedRequestExtensions);
+ checkUnnamed3363(o.allowedResponseExtensions);
+ checkUnnamed3364(o.provided);
+ checkUnnamed3365(o.requested);
unittest.expect(o.selector, unittest.equals('foo'));
}
buildCounterContextRule--;
@@ -649,27 +649,27 @@
buildCounterCreateTenancyUnitRequest--;
}
-buildUnnamed3362() {
+buildUnnamed3366() {
var o = new core.List<api.CustomErrorRule>();
o.add(buildCustomErrorRule());
o.add(buildCustomErrorRule());
return o;
}
-checkUnnamed3362(core.List<api.CustomErrorRule> o) {
+checkUnnamed3366(core.List<api.CustomErrorRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkCustomErrorRule(o[0]);
checkCustomErrorRule(o[1]);
}
-buildUnnamed3363() {
+buildUnnamed3367() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3363(core.List<core.String> o) {
+checkUnnamed3367(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -680,8 +680,8 @@
var o = new api.CustomError();
buildCounterCustomError++;
if (buildCounterCustomError < 3) {
- o.rules = buildUnnamed3362();
- o.types = buildUnnamed3363();
+ o.rules = buildUnnamed3366();
+ o.types = buildUnnamed3367();
}
buildCounterCustomError--;
return o;
@@ -690,8 +690,8 @@
checkCustomError(api.CustomError o) {
buildCounterCustomError++;
if (buildCounterCustomError < 3) {
- checkUnnamed3362(o.rules);
- checkUnnamed3363(o.types);
+ checkUnnamed3366(o.rules);
+ checkUnnamed3367(o.types);
}
buildCounterCustomError--;
}
@@ -757,27 +757,27 @@
buildCounterDeleteTenantProjectRequest--;
}
-buildUnnamed3364() {
+buildUnnamed3368() {
var o = new core.List<api.Page>();
o.add(buildPage());
o.add(buildPage());
return o;
}
-checkUnnamed3364(core.List<api.Page> o) {
+checkUnnamed3368(core.List<api.Page> o) {
unittest.expect(o, unittest.hasLength(2));
checkPage(o[0]);
checkPage(o[1]);
}
-buildUnnamed3365() {
+buildUnnamed3369() {
var o = new core.List<api.DocumentationRule>();
o.add(buildDocumentationRule());
o.add(buildDocumentationRule());
return o;
}
-checkUnnamed3365(core.List<api.DocumentationRule> o) {
+checkUnnamed3369(core.List<api.DocumentationRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkDocumentationRule(o[0]);
checkDocumentationRule(o[1]);
@@ -790,8 +790,8 @@
if (buildCounterDocumentation < 3) {
o.documentationRootUrl = "foo";
o.overview = "foo";
- o.pages = buildUnnamed3364();
- o.rules = buildUnnamed3365();
+ o.pages = buildUnnamed3368();
+ o.rules = buildUnnamed3369();
o.serviceRootUrl = "foo";
o.summary = "foo";
}
@@ -804,8 +804,8 @@
if (buildCounterDocumentation < 3) {
unittest.expect(o.documentationRootUrl, unittest.equals('foo'));
unittest.expect(o.overview, unittest.equals('foo'));
- checkUnnamed3364(o.pages);
- checkUnnamed3365(o.rules);
+ checkUnnamed3368(o.pages);
+ checkUnnamed3369(o.rules);
unittest.expect(o.serviceRootUrl, unittest.equals('foo'));
unittest.expect(o.summary, unittest.equals('foo'));
}
@@ -850,14 +850,14 @@
buildCounterEmpty--;
}
-buildUnnamed3366() {
+buildUnnamed3370() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3366(core.List<core.String> o) {
+checkUnnamed3370(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -868,7 +868,7 @@
var o = new api.Endpoint();
buildCounterEndpoint++;
if (buildCounterEndpoint < 3) {
- o.aliases = buildUnnamed3366();
+ o.aliases = buildUnnamed3370();
o.allowCors = true;
o.name = "foo";
o.target = "foo";
@@ -880,7 +880,7 @@
checkEndpoint(api.Endpoint o) {
buildCounterEndpoint++;
if (buildCounterEndpoint < 3) {
- checkUnnamed3366(o.aliases);
+ checkUnnamed3370(o.aliases);
unittest.expect(o.allowCors, unittest.isTrue);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.target, unittest.equals('foo'));
@@ -888,27 +888,27 @@
buildCounterEndpoint--;
}
-buildUnnamed3367() {
+buildUnnamed3371() {
var o = new core.List<api.EnumValue>();
o.add(buildEnumValue());
o.add(buildEnumValue());
return o;
}
-checkUnnamed3367(core.List<api.EnumValue> o) {
+checkUnnamed3371(core.List<api.EnumValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkEnumValue(o[0]);
checkEnumValue(o[1]);
}
-buildUnnamed3368() {
+buildUnnamed3372() {
var o = new core.List<api.Option>();
o.add(buildOption());
o.add(buildOption());
return o;
}
-checkUnnamed3368(core.List<api.Option> o) {
+checkUnnamed3372(core.List<api.Option> o) {
unittest.expect(o, unittest.hasLength(2));
checkOption(o[0]);
checkOption(o[1]);
@@ -919,9 +919,9 @@
var o = new api.Enum();
buildCounterEnum++;
if (buildCounterEnum < 3) {
- o.enumvalue = buildUnnamed3367();
+ o.enumvalue = buildUnnamed3371();
o.name = "foo";
- o.options = buildUnnamed3368();
+ o.options = buildUnnamed3372();
o.sourceContext = buildSourceContext();
o.syntax = "foo";
}
@@ -932,23 +932,23 @@
checkEnum(api.Enum o) {
buildCounterEnum++;
if (buildCounterEnum < 3) {
- checkUnnamed3367(o.enumvalue);
+ checkUnnamed3371(o.enumvalue);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed3368(o.options);
+ checkUnnamed3372(o.options);
checkSourceContext(o.sourceContext);
unittest.expect(o.syntax, unittest.equals('foo'));
}
buildCounterEnum--;
}
-buildUnnamed3369() {
+buildUnnamed3373() {
var o = new core.List<api.Option>();
o.add(buildOption());
o.add(buildOption());
return o;
}
-checkUnnamed3369(core.List<api.Option> o) {
+checkUnnamed3373(core.List<api.Option> o) {
unittest.expect(o, unittest.hasLength(2));
checkOption(o[0]);
checkOption(o[1]);
@@ -961,7 +961,7 @@
if (buildCounterEnumValue < 3) {
o.name = "foo";
o.number = 42;
- o.options = buildUnnamed3369();
+ o.options = buildUnnamed3373();
}
buildCounterEnumValue--;
return o;
@@ -972,19 +972,19 @@
if (buildCounterEnumValue < 3) {
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.number, unittest.equals(42));
- checkUnnamed3369(o.options);
+ checkUnnamed3373(o.options);
}
buildCounterEnumValue--;
}
-buildUnnamed3370() {
+buildUnnamed3374() {
var o = new core.List<api.Option>();
o.add(buildOption());
o.add(buildOption());
return o;
}
-checkUnnamed3370(core.List<api.Option> o) {
+checkUnnamed3374(core.List<api.Option> o) {
unittest.expect(o, unittest.hasLength(2));
checkOption(o[0]);
checkOption(o[1]);
@@ -1002,7 +1002,7 @@
o.name = "foo";
o.number = 42;
o.oneofIndex = 42;
- o.options = buildUnnamed3370();
+ o.options = buildUnnamed3374();
o.packed = true;
o.typeUrl = "foo";
}
@@ -1020,21 +1020,21 @@
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.number, unittest.equals(42));
unittest.expect(o.oneofIndex, unittest.equals(42));
- checkUnnamed3370(o.options);
+ checkUnnamed3374(o.options);
unittest.expect(o.packed, unittest.isTrue);
unittest.expect(o.typeUrl, unittest.equals('foo'));
}
buildCounterField--;
}
-buildUnnamed3371() {
+buildUnnamed3375() {
var o = new core.List<api.HttpRule>();
o.add(buildHttpRule());
o.add(buildHttpRule());
return o;
}
-checkUnnamed3371(core.List<api.HttpRule> o) {
+checkUnnamed3375(core.List<api.HttpRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkHttpRule(o[0]);
checkHttpRule(o[1]);
@@ -1046,7 +1046,7 @@
buildCounterHttp++;
if (buildCounterHttp < 3) {
o.fullyDecodeReservedExpansion = true;
- o.rules = buildUnnamed3371();
+ o.rules = buildUnnamed3375();
}
buildCounterHttp--;
return o;
@@ -1056,19 +1056,19 @@
buildCounterHttp++;
if (buildCounterHttp < 3) {
unittest.expect(o.fullyDecodeReservedExpansion, unittest.isTrue);
- checkUnnamed3371(o.rules);
+ checkUnnamed3375(o.rules);
}
buildCounterHttp--;
}
-buildUnnamed3372() {
+buildUnnamed3376() {
var o = new core.List<api.HttpRule>();
o.add(buildHttpRule());
o.add(buildHttpRule());
return o;
}
-checkUnnamed3372(core.List<api.HttpRule> o) {
+checkUnnamed3376(core.List<api.HttpRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkHttpRule(o[0]);
checkHttpRule(o[1]);
@@ -1079,7 +1079,7 @@
var o = new api.HttpRule();
buildCounterHttpRule++;
if (buildCounterHttpRule < 3) {
- o.additionalBindings = buildUnnamed3372();
+ o.additionalBindings = buildUnnamed3376();
o.allowHalfDuplex = true;
o.body = "foo";
o.custom = buildCustomHttpPattern();
@@ -1098,7 +1098,7 @@
checkHttpRule(api.HttpRule o) {
buildCounterHttpRule++;
if (buildCounterHttpRule < 3) {
- checkUnnamed3372(o.additionalBindings);
+ checkUnnamed3376(o.additionalBindings);
unittest.expect(o.allowHalfDuplex, unittest.isTrue);
unittest.expect(o.body, unittest.equals('foo'));
checkCustomHttpPattern(o.custom);
@@ -1159,14 +1159,14 @@
buildCounterLabelDescriptor--;
}
-buildUnnamed3373() {
+buildUnnamed3377() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed3373(core.List<api.Operation> o) {
+checkUnnamed3377(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -1178,7 +1178,7 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
o.nextPageToken = "foo";
- o.operations = buildUnnamed3373();
+ o.operations = buildUnnamed3377();
}
buildCounterListOperationsResponse--;
return o;
@@ -1188,19 +1188,19 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3373(o.operations);
+ checkUnnamed3377(o.operations);
}
buildCounterListOperationsResponse--;
}
-buildUnnamed3374() {
+buildUnnamed3378() {
var o = new core.List<api.TenancyUnit>();
o.add(buildTenancyUnit());
o.add(buildTenancyUnit());
return o;
}
-checkUnnamed3374(core.List<api.TenancyUnit> o) {
+checkUnnamed3378(core.List<api.TenancyUnit> o) {
unittest.expect(o, unittest.hasLength(2));
checkTenancyUnit(o[0]);
checkTenancyUnit(o[1]);
@@ -1212,7 +1212,7 @@
buildCounterListTenancyUnitsResponse++;
if (buildCounterListTenancyUnitsResponse < 3) {
o.nextPageToken = "foo";
- o.tenancyUnits = buildUnnamed3374();
+ o.tenancyUnits = buildUnnamed3378();
}
buildCounterListTenancyUnitsResponse--;
return o;
@@ -1222,19 +1222,19 @@
buildCounterListTenancyUnitsResponse++;
if (buildCounterListTenancyUnitsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3374(o.tenancyUnits);
+ checkUnnamed3378(o.tenancyUnits);
}
buildCounterListTenancyUnitsResponse--;
}
-buildUnnamed3375() {
+buildUnnamed3379() {
var o = new core.List<api.LabelDescriptor>();
o.add(buildLabelDescriptor());
o.add(buildLabelDescriptor());
return o;
}
-checkUnnamed3375(core.List<api.LabelDescriptor> o) {
+checkUnnamed3379(core.List<api.LabelDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkLabelDescriptor(o[0]);
checkLabelDescriptor(o[1]);
@@ -1247,7 +1247,7 @@
if (buildCounterLogDescriptor < 3) {
o.description = "foo";
o.displayName = "foo";
- o.labels = buildUnnamed3375();
+ o.labels = buildUnnamed3379();
o.name = "foo";
}
buildCounterLogDescriptor--;
@@ -1259,33 +1259,33 @@
if (buildCounterLogDescriptor < 3) {
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed3375(o.labels);
+ checkUnnamed3379(o.labels);
unittest.expect(o.name, unittest.equals('foo'));
}
buildCounterLogDescriptor--;
}
-buildUnnamed3376() {
+buildUnnamed3380() {
var o = new core.List<api.LoggingDestination>();
o.add(buildLoggingDestination());
o.add(buildLoggingDestination());
return o;
}
-checkUnnamed3376(core.List<api.LoggingDestination> o) {
+checkUnnamed3380(core.List<api.LoggingDestination> o) {
unittest.expect(o, unittest.hasLength(2));
checkLoggingDestination(o[0]);
checkLoggingDestination(o[1]);
}
-buildUnnamed3377() {
+buildUnnamed3381() {
var o = new core.List<api.LoggingDestination>();
o.add(buildLoggingDestination());
o.add(buildLoggingDestination());
return o;
}
-checkUnnamed3377(core.List<api.LoggingDestination> o) {
+checkUnnamed3381(core.List<api.LoggingDestination> o) {
unittest.expect(o, unittest.hasLength(2));
checkLoggingDestination(o[0]);
checkLoggingDestination(o[1]);
@@ -1296,8 +1296,8 @@
var o = new api.Logging();
buildCounterLogging++;
if (buildCounterLogging < 3) {
- o.consumerDestinations = buildUnnamed3376();
- o.producerDestinations = buildUnnamed3377();
+ o.consumerDestinations = buildUnnamed3380();
+ o.producerDestinations = buildUnnamed3381();
}
buildCounterLogging--;
return o;
@@ -1306,20 +1306,20 @@
checkLogging(api.Logging o) {
buildCounterLogging++;
if (buildCounterLogging < 3) {
- checkUnnamed3376(o.consumerDestinations);
- checkUnnamed3377(o.producerDestinations);
+ checkUnnamed3380(o.consumerDestinations);
+ checkUnnamed3381(o.producerDestinations);
}
buildCounterLogging--;
}
-buildUnnamed3378() {
+buildUnnamed3382() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3378(core.List<core.String> o) {
+checkUnnamed3382(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1330,7 +1330,7 @@
var o = new api.LoggingDestination();
buildCounterLoggingDestination++;
if (buildCounterLoggingDestination < 3) {
- o.logs = buildUnnamed3378();
+ o.logs = buildUnnamed3382();
o.monitoredResource = "foo";
}
buildCounterLoggingDestination--;
@@ -1340,20 +1340,20 @@
checkLoggingDestination(api.LoggingDestination o) {
buildCounterLoggingDestination++;
if (buildCounterLoggingDestination < 3) {
- checkUnnamed3378(o.logs);
+ checkUnnamed3382(o.logs);
unittest.expect(o.monitoredResource, unittest.equals('foo'));
}
buildCounterLoggingDestination--;
}
-buildUnnamed3379() {
+buildUnnamed3383() {
var o = new core.List<api.Option>();
o.add(buildOption());
o.add(buildOption());
return o;
}
-checkUnnamed3379(core.List<api.Option> o) {
+checkUnnamed3383(core.List<api.Option> o) {
unittest.expect(o, unittest.hasLength(2));
checkOption(o[0]);
checkOption(o[1]);
@@ -1365,7 +1365,7 @@
buildCounterMethod++;
if (buildCounterMethod < 3) {
o.name = "foo";
- o.options = buildUnnamed3379();
+ o.options = buildUnnamed3383();
o.requestStreaming = true;
o.requestTypeUrl = "foo";
o.responseStreaming = true;
@@ -1380,7 +1380,7 @@
buildCounterMethod++;
if (buildCounterMethod < 3) {
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed3379(o.options);
+ checkUnnamed3383(o.options);
unittest.expect(o.requestStreaming, unittest.isTrue);
unittest.expect(o.requestTypeUrl, unittest.equals('foo'));
unittest.expect(o.responseStreaming, unittest.isTrue);
@@ -1390,27 +1390,27 @@
buildCounterMethod--;
}
-buildUnnamed3380() {
+buildUnnamed3384() {
var o = new core.List<api.LabelDescriptor>();
o.add(buildLabelDescriptor());
o.add(buildLabelDescriptor());
return o;
}
-checkUnnamed3380(core.List<api.LabelDescriptor> o) {
+checkUnnamed3384(core.List<api.LabelDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkLabelDescriptor(o[0]);
checkLabelDescriptor(o[1]);
}
-buildUnnamed3381() {
+buildUnnamed3385() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3381(core.List<core.String> o) {
+checkUnnamed3385(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1423,11 +1423,11 @@
if (buildCounterMetricDescriptor < 3) {
o.description = "foo";
o.displayName = "foo";
- o.labels = buildUnnamed3380();
+ o.labels = buildUnnamed3384();
o.launchStage = "foo";
o.metadata = buildMetricDescriptorMetadata();
o.metricKind = "foo";
- o.monitoredResourceTypes = buildUnnamed3381();
+ o.monitoredResourceTypes = buildUnnamed3385();
o.name = "foo";
o.type = "foo";
o.unit = "foo";
@@ -1442,11 +1442,11 @@
if (buildCounterMetricDescriptor < 3) {
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed3380(o.labels);
+ checkUnnamed3384(o.labels);
unittest.expect(o.launchStage, unittest.equals('foo'));
checkMetricDescriptorMetadata(o.metadata);
unittest.expect(o.metricKind, unittest.equals('foo'));
- checkUnnamed3381(o.monitoredResourceTypes);
+ checkUnnamed3385(o.monitoredResourceTypes);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
unittest.expect(o.unit, unittest.equals('foo'));
@@ -1478,14 +1478,14 @@
buildCounterMetricDescriptorMetadata--;
}
-buildUnnamed3382() {
+buildUnnamed3386() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3382(core.Map<core.String, core.String> o) {
+checkUnnamed3386(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -1496,7 +1496,7 @@
var o = new api.MetricRule();
buildCounterMetricRule++;
if (buildCounterMetricRule < 3) {
- o.metricCosts = buildUnnamed3382();
+ o.metricCosts = buildUnnamed3386();
o.selector = "foo";
}
buildCounterMetricRule--;
@@ -1506,7 +1506,7 @@
checkMetricRule(api.MetricRule o) {
buildCounterMetricRule++;
if (buildCounterMetricRule < 3) {
- checkUnnamed3382(o.metricCosts);
+ checkUnnamed3386(o.metricCosts);
unittest.expect(o.selector, unittest.equals('foo'));
}
buildCounterMetricRule--;
@@ -1533,14 +1533,14 @@
buildCounterMixin--;
}
-buildUnnamed3383() {
+buildUnnamed3387() {
var o = new core.List<api.LabelDescriptor>();
o.add(buildLabelDescriptor());
o.add(buildLabelDescriptor());
return o;
}
-checkUnnamed3383(core.List<api.LabelDescriptor> o) {
+checkUnnamed3387(core.List<api.LabelDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkLabelDescriptor(o[0]);
checkLabelDescriptor(o[1]);
@@ -1553,7 +1553,7 @@
if (buildCounterMonitoredResourceDescriptor < 3) {
o.description = "foo";
o.displayName = "foo";
- o.labels = buildUnnamed3383();
+ o.labels = buildUnnamed3387();
o.launchStage = "foo";
o.name = "foo";
o.type = "foo";
@@ -1567,7 +1567,7 @@
if (buildCounterMonitoredResourceDescriptor < 3) {
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed3383(o.labels);
+ checkUnnamed3387(o.labels);
unittest.expect(o.launchStage, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
@@ -1575,27 +1575,27 @@
buildCounterMonitoredResourceDescriptor--;
}
-buildUnnamed3384() {
+buildUnnamed3388() {
var o = new core.List<api.MonitoringDestination>();
o.add(buildMonitoringDestination());
o.add(buildMonitoringDestination());
return o;
}
-checkUnnamed3384(core.List<api.MonitoringDestination> o) {
+checkUnnamed3388(core.List<api.MonitoringDestination> o) {
unittest.expect(o, unittest.hasLength(2));
checkMonitoringDestination(o[0]);
checkMonitoringDestination(o[1]);
}
-buildUnnamed3385() {
+buildUnnamed3389() {
var o = new core.List<api.MonitoringDestination>();
o.add(buildMonitoringDestination());
o.add(buildMonitoringDestination());
return o;
}
-checkUnnamed3385(core.List<api.MonitoringDestination> o) {
+checkUnnamed3389(core.List<api.MonitoringDestination> o) {
unittest.expect(o, unittest.hasLength(2));
checkMonitoringDestination(o[0]);
checkMonitoringDestination(o[1]);
@@ -1606,8 +1606,8 @@
var o = new api.Monitoring();
buildCounterMonitoring++;
if (buildCounterMonitoring < 3) {
- o.consumerDestinations = buildUnnamed3384();
- o.producerDestinations = buildUnnamed3385();
+ o.consumerDestinations = buildUnnamed3388();
+ o.producerDestinations = buildUnnamed3389();
}
buildCounterMonitoring--;
return o;
@@ -1616,20 +1616,20 @@
checkMonitoring(api.Monitoring o) {
buildCounterMonitoring++;
if (buildCounterMonitoring < 3) {
- checkUnnamed3384(o.consumerDestinations);
- checkUnnamed3385(o.producerDestinations);
+ checkUnnamed3388(o.consumerDestinations);
+ checkUnnamed3389(o.producerDestinations);
}
buildCounterMonitoring--;
}
-buildUnnamed3386() {
+buildUnnamed3390() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3386(core.List<core.String> o) {
+checkUnnamed3390(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1640,7 +1640,7 @@
var o = new api.MonitoringDestination();
buildCounterMonitoringDestination++;
if (buildCounterMonitoringDestination < 3) {
- o.metrics = buildUnnamed3386();
+ o.metrics = buildUnnamed3390();
o.monitoredResource = "foo";
}
buildCounterMonitoringDestination--;
@@ -1650,7 +1650,7 @@
checkMonitoringDestination(api.MonitoringDestination o) {
buildCounterMonitoringDestination++;
if (buildCounterMonitoringDestination < 3) {
- checkUnnamed3386(o.metrics);
+ checkUnnamed3390(o.metrics);
unittest.expect(o.monitoredResource, unittest.equals('foo'));
}
buildCounterMonitoringDestination--;
@@ -1675,7 +1675,7 @@
buildCounterOAuthRequirements--;
}
-buildUnnamed3387() {
+buildUnnamed3391() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1690,7 +1690,7 @@
return o;
}
-checkUnnamed3387(core.Map<core.String, core.Object> o) {
+checkUnnamed3391(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o["x"]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -1704,7 +1704,7 @@
unittest.expect(casted2["string"], unittest.equals('foo'));
}
-buildUnnamed3388() {
+buildUnnamed3392() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1719,7 +1719,7 @@
return o;
}
-checkUnnamed3388(core.Map<core.String, core.Object> o) {
+checkUnnamed3392(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted3 = (o["x"]) as core.Map;
unittest.expect(casted3, unittest.hasLength(3));
@@ -1740,9 +1740,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed3387();
+ o.metadata = buildUnnamed3391();
o.name = "foo";
- o.response = buildUnnamed3388();
+ o.response = buildUnnamed3392();
}
buildCounterOperation--;
return o;
@@ -1753,14 +1753,14 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed3387(o.metadata);
+ checkUnnamed3391(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed3388(o.response);
+ checkUnnamed3392(o.response);
}
buildCounterOperation--;
}
-buildUnnamed3389() {
+buildUnnamed3393() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1775,7 +1775,7 @@
return o;
}
-checkUnnamed3389(core.Map<core.String, core.Object> o) {
+checkUnnamed3393(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted5 = (o["x"]) as core.Map;
unittest.expect(casted5, unittest.hasLength(3));
@@ -1795,7 +1795,7 @@
buildCounterOption++;
if (buildCounterOption < 3) {
o.name = "foo";
- o.value = buildUnnamed3389();
+ o.value = buildUnnamed3393();
}
buildCounterOption--;
return o;
@@ -1805,19 +1805,19 @@
buildCounterOption++;
if (buildCounterOption < 3) {
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed3389(o.value);
+ checkUnnamed3393(o.value);
}
buildCounterOption--;
}
-buildUnnamed3390() {
+buildUnnamed3394() {
var o = new core.List<api.Page>();
o.add(buildPage());
o.add(buildPage());
return o;
}
-checkUnnamed3390(core.List<api.Page> o) {
+checkUnnamed3394(core.List<api.Page> o) {
unittest.expect(o, unittest.hasLength(2));
checkPage(o[0]);
checkPage(o[1]);
@@ -1830,7 +1830,7 @@
if (buildCounterPage < 3) {
o.content = "foo";
o.name = "foo";
- o.subpages = buildUnnamed3390();
+ o.subpages = buildUnnamed3394();
}
buildCounterPage--;
return o;
@@ -1841,19 +1841,19 @@
if (buildCounterPage < 3) {
unittest.expect(o.content, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed3390(o.subpages);
+ checkUnnamed3394(o.subpages);
}
buildCounterPage--;
}
-buildUnnamed3391() {
+buildUnnamed3395() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3391(core.List<core.String> o) {
+checkUnnamed3395(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1864,7 +1864,7 @@
var o = new api.PolicyBinding();
buildCounterPolicyBinding++;
if (buildCounterPolicyBinding < 3) {
- o.members = buildUnnamed3391();
+ o.members = buildUnnamed3395();
o.role = "foo";
}
buildCounterPolicyBinding--;
@@ -1874,33 +1874,33 @@
checkPolicyBinding(api.PolicyBinding o) {
buildCounterPolicyBinding++;
if (buildCounterPolicyBinding < 3) {
- checkUnnamed3391(o.members);
+ checkUnnamed3395(o.members);
unittest.expect(o.role, unittest.equals('foo'));
}
buildCounterPolicyBinding--;
}
-buildUnnamed3392() {
+buildUnnamed3396() {
var o = new core.List<api.QuotaLimit>();
o.add(buildQuotaLimit());
o.add(buildQuotaLimit());
return o;
}
-checkUnnamed3392(core.List<api.QuotaLimit> o) {
+checkUnnamed3396(core.List<api.QuotaLimit> o) {
unittest.expect(o, unittest.hasLength(2));
checkQuotaLimit(o[0]);
checkQuotaLimit(o[1]);
}
-buildUnnamed3393() {
+buildUnnamed3397() {
var o = new core.List<api.MetricRule>();
o.add(buildMetricRule());
o.add(buildMetricRule());
return o;
}
-checkUnnamed3393(core.List<api.MetricRule> o) {
+checkUnnamed3397(core.List<api.MetricRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetricRule(o[0]);
checkMetricRule(o[1]);
@@ -1911,8 +1911,8 @@
var o = new api.Quota();
buildCounterQuota++;
if (buildCounterQuota < 3) {
- o.limits = buildUnnamed3392();
- o.metricRules = buildUnnamed3393();
+ o.limits = buildUnnamed3396();
+ o.metricRules = buildUnnamed3397();
}
buildCounterQuota--;
return o;
@@ -1921,20 +1921,20 @@
checkQuota(api.Quota o) {
buildCounterQuota++;
if (buildCounterQuota < 3) {
- checkUnnamed3392(o.limits);
- checkUnnamed3393(o.metricRules);
+ checkUnnamed3396(o.limits);
+ checkUnnamed3397(o.metricRules);
}
buildCounterQuota--;
}
-buildUnnamed3394() {
+buildUnnamed3398() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3394(core.Map<core.String, core.String> o) {
+checkUnnamed3398(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -1954,7 +1954,7 @@
o.metric = "foo";
o.name = "foo";
o.unit = "foo";
- o.values = buildUnnamed3394();
+ o.values = buildUnnamed3398();
}
buildCounterQuotaLimit--;
return o;
@@ -1972,7 +1972,7 @@
unittest.expect(o.metric, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.unit, unittest.equals('foo'));
- checkUnnamed3394(o.values);
+ checkUnnamed3398(o.values);
}
buildCounterQuotaLimit--;
}
@@ -1996,14 +1996,14 @@
buildCounterRemoveTenantProjectRequest--;
}
-buildUnnamed3395() {
+buildUnnamed3399() {
var o = new core.List<api.TenancyUnit>();
o.add(buildTenancyUnit());
o.add(buildTenancyUnit());
return o;
}
-checkUnnamed3395(core.List<api.TenancyUnit> o) {
+checkUnnamed3399(core.List<api.TenancyUnit> o) {
unittest.expect(o, unittest.hasLength(2));
checkTenancyUnit(o[0]);
checkTenancyUnit(o[1]);
@@ -2015,7 +2015,7 @@
buildCounterSearchTenancyUnitsResponse++;
if (buildCounterSearchTenancyUnitsResponse < 3) {
o.nextPageToken = "foo";
- o.tenancyUnits = buildUnnamed3395();
+ o.tenancyUnits = buildUnnamed3399();
}
buildCounterSearchTenancyUnitsResponse--;
return o;
@@ -2025,110 +2025,110 @@
buildCounterSearchTenancyUnitsResponse++;
if (buildCounterSearchTenancyUnitsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3395(o.tenancyUnits);
+ checkUnnamed3399(o.tenancyUnits);
}
buildCounterSearchTenancyUnitsResponse--;
}
-buildUnnamed3396() {
+buildUnnamed3400() {
var o = new core.List<api.Api>();
o.add(buildApi());
o.add(buildApi());
return o;
}
-checkUnnamed3396(core.List<api.Api> o) {
+checkUnnamed3400(core.List<api.Api> o) {
unittest.expect(o, unittest.hasLength(2));
checkApi(o[0]);
checkApi(o[1]);
}
-buildUnnamed3397() {
+buildUnnamed3401() {
var o = new core.List<api.Endpoint>();
o.add(buildEndpoint());
o.add(buildEndpoint());
return o;
}
-checkUnnamed3397(core.List<api.Endpoint> o) {
+checkUnnamed3401(core.List<api.Endpoint> o) {
unittest.expect(o, unittest.hasLength(2));
checkEndpoint(o[0]);
checkEndpoint(o[1]);
}
-buildUnnamed3398() {
+buildUnnamed3402() {
var o = new core.List<api.Enum>();
o.add(buildEnum());
o.add(buildEnum());
return o;
}
-checkUnnamed3398(core.List<api.Enum> o) {
+checkUnnamed3402(core.List<api.Enum> o) {
unittest.expect(o, unittest.hasLength(2));
checkEnum(o[0]);
checkEnum(o[1]);
}
-buildUnnamed3399() {
+buildUnnamed3403() {
var o = new core.List<api.LogDescriptor>();
o.add(buildLogDescriptor());
o.add(buildLogDescriptor());
return o;
}
-checkUnnamed3399(core.List<api.LogDescriptor> o) {
+checkUnnamed3403(core.List<api.LogDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkLogDescriptor(o[0]);
checkLogDescriptor(o[1]);
}
-buildUnnamed3400() {
+buildUnnamed3404() {
var o = new core.List<api.MetricDescriptor>();
o.add(buildMetricDescriptor());
o.add(buildMetricDescriptor());
return o;
}
-checkUnnamed3400(core.List<api.MetricDescriptor> o) {
+checkUnnamed3404(core.List<api.MetricDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetricDescriptor(o[0]);
checkMetricDescriptor(o[1]);
}
-buildUnnamed3401() {
+buildUnnamed3405() {
var o = new core.List<api.MonitoredResourceDescriptor>();
o.add(buildMonitoredResourceDescriptor());
o.add(buildMonitoredResourceDescriptor());
return o;
}
-checkUnnamed3401(core.List<api.MonitoredResourceDescriptor> o) {
+checkUnnamed3405(core.List<api.MonitoredResourceDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkMonitoredResourceDescriptor(o[0]);
checkMonitoredResourceDescriptor(o[1]);
}
-buildUnnamed3402() {
+buildUnnamed3406() {
var o = new core.List<api.Type>();
o.add(buildType());
o.add(buildType());
return o;
}
-checkUnnamed3402(core.List<api.Type> o) {
+checkUnnamed3406(core.List<api.Type> o) {
unittest.expect(o, unittest.hasLength(2));
checkType(o[0]);
checkType(o[1]);
}
-buildUnnamed3403() {
+buildUnnamed3407() {
var o = new core.List<api.Type>();
o.add(buildType());
o.add(buildType());
return o;
}
-checkUnnamed3403(core.List<api.Type> o) {
+checkUnnamed3407(core.List<api.Type> o) {
unittest.expect(o, unittest.hasLength(2));
checkType(o[0]);
checkType(o[1]);
@@ -2139,7 +2139,7 @@
var o = new api.Service();
buildCounterService++;
if (buildCounterService < 3) {
- o.apis = buildUnnamed3396();
+ o.apis = buildUnnamed3400();
o.authentication = buildAuthentication();
o.backend = buildBackend();
o.billing = buildBilling();
@@ -2148,23 +2148,23 @@
o.control = buildControl();
o.customError = buildCustomError();
o.documentation = buildDocumentation();
- o.endpoints = buildUnnamed3397();
- o.enums = buildUnnamed3398();
+ o.endpoints = buildUnnamed3401();
+ o.enums = buildUnnamed3402();
o.http = buildHttp();
o.id = "foo";
o.logging = buildLogging();
- o.logs = buildUnnamed3399();
- o.metrics = buildUnnamed3400();
- o.monitoredResources = buildUnnamed3401();
+ o.logs = buildUnnamed3403();
+ o.metrics = buildUnnamed3404();
+ o.monitoredResources = buildUnnamed3405();
o.monitoring = buildMonitoring();
o.name = "foo";
o.producerProjectId = "foo";
o.quota = buildQuota();
o.sourceInfo = buildSourceInfo();
o.systemParameters = buildSystemParameters();
- o.systemTypes = buildUnnamed3402();
+ o.systemTypes = buildUnnamed3406();
o.title = "foo";
- o.types = buildUnnamed3403();
+ o.types = buildUnnamed3407();
o.usage = buildUsage();
}
buildCounterService--;
@@ -2174,7 +2174,7 @@
checkService(api.Service o) {
buildCounterService++;
if (buildCounterService < 3) {
- checkUnnamed3396(o.apis);
+ checkUnnamed3400(o.apis);
checkAuthentication(o.authentication);
checkBackend(o.backend);
checkBilling(o.billing);
@@ -2183,36 +2183,36 @@
checkControl(o.control);
checkCustomError(o.customError);
checkDocumentation(o.documentation);
- checkUnnamed3397(o.endpoints);
- checkUnnamed3398(o.enums);
+ checkUnnamed3401(o.endpoints);
+ checkUnnamed3402(o.enums);
checkHttp(o.http);
unittest.expect(o.id, unittest.equals('foo'));
checkLogging(o.logging);
- checkUnnamed3399(o.logs);
- checkUnnamed3400(o.metrics);
- checkUnnamed3401(o.monitoredResources);
+ checkUnnamed3403(o.logs);
+ checkUnnamed3404(o.metrics);
+ checkUnnamed3405(o.monitoredResources);
checkMonitoring(o.monitoring);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.producerProjectId, unittest.equals('foo'));
checkQuota(o.quota);
checkSourceInfo(o.sourceInfo);
checkSystemParameters(o.systemParameters);
- checkUnnamed3402(o.systemTypes);
+ checkUnnamed3406(o.systemTypes);
unittest.expect(o.title, unittest.equals('foo'));
- checkUnnamed3403(o.types);
+ checkUnnamed3407(o.types);
checkUsage(o.usage);
}
buildCounterService--;
}
-buildUnnamed3404() {
+buildUnnamed3408() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3404(core.List<core.String> o) {
+checkUnnamed3408(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2224,7 +2224,7 @@
buildCounterServiceAccountConfig++;
if (buildCounterServiceAccountConfig < 3) {
o.accountId = "foo";
- o.tenantProjectRoles = buildUnnamed3404();
+ o.tenantProjectRoles = buildUnnamed3408();
}
buildCounterServiceAccountConfig--;
return o;
@@ -2234,7 +2234,7 @@
buildCounterServiceAccountConfig++;
if (buildCounterServiceAccountConfig < 3) {
unittest.expect(o.accountId, unittest.equals('foo'));
- checkUnnamed3404(o.tenantProjectRoles);
+ checkUnnamed3408(o.tenantProjectRoles);
}
buildCounterServiceAccountConfig--;
}
@@ -2281,7 +2281,7 @@
buildCounterSourceContext--;
}
-buildUnnamed3405() {
+buildUnnamed3409() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -2296,7 +2296,7 @@
return o;
}
-checkUnnamed3405(core.Map<core.String, core.Object> o) {
+checkUnnamed3409(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted7 = (o["x"]) as core.Map;
unittest.expect(casted7, unittest.hasLength(3));
@@ -2310,17 +2310,17 @@
unittest.expect(casted8["string"], unittest.equals('foo'));
}
-buildUnnamed3406() {
+buildUnnamed3410() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed3405());
- o.add(buildUnnamed3405());
+ o.add(buildUnnamed3409());
+ o.add(buildUnnamed3409());
return o;
}
-checkUnnamed3406(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed3410(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed3405(o[0]);
- checkUnnamed3405(o[1]);
+ checkUnnamed3409(o[0]);
+ checkUnnamed3409(o[1]);
}
core.int buildCounterSourceInfo = 0;
@@ -2328,7 +2328,7 @@
var o = new api.SourceInfo();
buildCounterSourceInfo++;
if (buildCounterSourceInfo < 3) {
- o.sourceFiles = buildUnnamed3406();
+ o.sourceFiles = buildUnnamed3410();
}
buildCounterSourceInfo--;
return o;
@@ -2337,12 +2337,12 @@
checkSourceInfo(api.SourceInfo o) {
buildCounterSourceInfo++;
if (buildCounterSourceInfo < 3) {
- checkUnnamed3406(o.sourceFiles);
+ checkUnnamed3410(o.sourceFiles);
}
buildCounterSourceInfo--;
}
-buildUnnamed3407() {
+buildUnnamed3411() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -2357,7 +2357,7 @@
return o;
}
-checkUnnamed3407(core.Map<core.String, core.Object> o) {
+checkUnnamed3411(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted9 = (o["x"]) as core.Map;
unittest.expect(casted9, unittest.hasLength(3));
@@ -2371,17 +2371,17 @@
unittest.expect(casted10["string"], unittest.equals('foo'));
}
-buildUnnamed3408() {
+buildUnnamed3412() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed3407());
- o.add(buildUnnamed3407());
+ o.add(buildUnnamed3411());
+ o.add(buildUnnamed3411());
return o;
}
-checkUnnamed3408(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed3412(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed3407(o[0]);
- checkUnnamed3407(o[1]);
+ checkUnnamed3411(o[0]);
+ checkUnnamed3411(o[1]);
}
core.int buildCounterStatus = 0;
@@ -2390,7 +2390,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed3408();
+ o.details = buildUnnamed3412();
o.message = "foo";
}
buildCounterStatus--;
@@ -2401,7 +2401,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed3408(o.details);
+ checkUnnamed3412(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
@@ -2430,14 +2430,14 @@
buildCounterSystemParameter--;
}
-buildUnnamed3409() {
+buildUnnamed3413() {
var o = new core.List<api.SystemParameter>();
o.add(buildSystemParameter());
o.add(buildSystemParameter());
return o;
}
-checkUnnamed3409(core.List<api.SystemParameter> o) {
+checkUnnamed3413(core.List<api.SystemParameter> o) {
unittest.expect(o, unittest.hasLength(2));
checkSystemParameter(o[0]);
checkSystemParameter(o[1]);
@@ -2448,7 +2448,7 @@
var o = new api.SystemParameterRule();
buildCounterSystemParameterRule++;
if (buildCounterSystemParameterRule < 3) {
- o.parameters = buildUnnamed3409();
+ o.parameters = buildUnnamed3413();
o.selector = "foo";
}
buildCounterSystemParameterRule--;
@@ -2458,20 +2458,20 @@
checkSystemParameterRule(api.SystemParameterRule o) {
buildCounterSystemParameterRule++;
if (buildCounterSystemParameterRule < 3) {
- checkUnnamed3409(o.parameters);
+ checkUnnamed3413(o.parameters);
unittest.expect(o.selector, unittest.equals('foo'));
}
buildCounterSystemParameterRule--;
}
-buildUnnamed3410() {
+buildUnnamed3414() {
var o = new core.List<api.SystemParameterRule>();
o.add(buildSystemParameterRule());
o.add(buildSystemParameterRule());
return o;
}
-checkUnnamed3410(core.List<api.SystemParameterRule> o) {
+checkUnnamed3414(core.List<api.SystemParameterRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkSystemParameterRule(o[0]);
checkSystemParameterRule(o[1]);
@@ -2482,7 +2482,7 @@
var o = new api.SystemParameters();
buildCounterSystemParameters++;
if (buildCounterSystemParameters < 3) {
- o.rules = buildUnnamed3410();
+ o.rules = buildUnnamed3414();
}
buildCounterSystemParameters--;
return o;
@@ -2491,19 +2491,19 @@
checkSystemParameters(api.SystemParameters o) {
buildCounterSystemParameters++;
if (buildCounterSystemParameters < 3) {
- checkUnnamed3410(o.rules);
+ checkUnnamed3414(o.rules);
}
buildCounterSystemParameters--;
}
-buildUnnamed3411() {
+buildUnnamed3415() {
var o = new core.List<api.TenantResource>();
o.add(buildTenantResource());
o.add(buildTenantResource());
return o;
}
-checkUnnamed3411(core.List<api.TenantResource> o) {
+checkUnnamed3415(core.List<api.TenantResource> o) {
unittest.expect(o, unittest.hasLength(2));
checkTenantResource(o[0]);
checkTenantResource(o[1]);
@@ -2518,7 +2518,7 @@
o.createTime = "foo";
o.name = "foo";
o.service = "foo";
- o.tenantResources = buildUnnamed3411();
+ o.tenantResources = buildUnnamed3415();
}
buildCounterTenancyUnit--;
return o;
@@ -2531,32 +2531,32 @@
unittest.expect(o.createTime, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.service, unittest.equals('foo'));
- checkUnnamed3411(o.tenantResources);
+ checkUnnamed3415(o.tenantResources);
}
buildCounterTenancyUnit--;
}
-buildUnnamed3412() {
+buildUnnamed3416() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3412(core.Map<core.String, core.String> o) {
+checkUnnamed3416(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed3413() {
+buildUnnamed3417() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3413(core.List<core.String> o) {
+checkUnnamed3417(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2569,9 +2569,9 @@
if (buildCounterTenantProjectConfig < 3) {
o.billingConfig = buildBillingConfig();
o.folder = "foo";
- o.labels = buildUnnamed3412();
+ o.labels = buildUnnamed3416();
o.serviceAccountConfig = buildServiceAccountConfig();
- o.services = buildUnnamed3413();
+ o.services = buildUnnamed3417();
o.tenantProjectPolicy = buildTenantProjectPolicy();
}
buildCounterTenantProjectConfig--;
@@ -2583,22 +2583,22 @@
if (buildCounterTenantProjectConfig < 3) {
checkBillingConfig(o.billingConfig);
unittest.expect(o.folder, unittest.equals('foo'));
- checkUnnamed3412(o.labels);
+ checkUnnamed3416(o.labels);
checkServiceAccountConfig(o.serviceAccountConfig);
- checkUnnamed3413(o.services);
+ checkUnnamed3417(o.services);
checkTenantProjectPolicy(o.tenantProjectPolicy);
}
buildCounterTenantProjectConfig--;
}
-buildUnnamed3414() {
+buildUnnamed3418() {
var o = new core.List<api.PolicyBinding>();
o.add(buildPolicyBinding());
o.add(buildPolicyBinding());
return o;
}
-checkUnnamed3414(core.List<api.PolicyBinding> o) {
+checkUnnamed3418(core.List<api.PolicyBinding> o) {
unittest.expect(o, unittest.hasLength(2));
checkPolicyBinding(o[0]);
checkPolicyBinding(o[1]);
@@ -2609,7 +2609,7 @@
var o = new api.TenantProjectPolicy();
buildCounterTenantProjectPolicy++;
if (buildCounterTenantProjectPolicy < 3) {
- o.policyBindings = buildUnnamed3414();
+ o.policyBindings = buildUnnamed3418();
}
buildCounterTenantProjectPolicy--;
return o;
@@ -2618,7 +2618,7 @@
checkTenantProjectPolicy(api.TenantProjectPolicy o) {
buildCounterTenantProjectPolicy++;
if (buildCounterTenantProjectPolicy < 3) {
- checkUnnamed3414(o.policyBindings);
+ checkUnnamed3418(o.policyBindings);
}
buildCounterTenantProjectPolicy--;
}
@@ -2646,40 +2646,40 @@
buildCounterTenantResource--;
}
-buildUnnamed3415() {
+buildUnnamed3419() {
var o = new core.List<api.Field>();
o.add(buildField());
o.add(buildField());
return o;
}
-checkUnnamed3415(core.List<api.Field> o) {
+checkUnnamed3419(core.List<api.Field> o) {
unittest.expect(o, unittest.hasLength(2));
checkField(o[0]);
checkField(o[1]);
}
-buildUnnamed3416() {
+buildUnnamed3420() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3416(core.List<core.String> o) {
+checkUnnamed3420(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3417() {
+buildUnnamed3421() {
var o = new core.List<api.Option>();
o.add(buildOption());
o.add(buildOption());
return o;
}
-checkUnnamed3417(core.List<api.Option> o) {
+checkUnnamed3421(core.List<api.Option> o) {
unittest.expect(o, unittest.hasLength(2));
checkOption(o[0]);
checkOption(o[1]);
@@ -2690,10 +2690,10 @@
var o = new api.Type();
buildCounterType++;
if (buildCounterType < 3) {
- o.fields = buildUnnamed3415();
+ o.fields = buildUnnamed3419();
o.name = "foo";
- o.oneofs = buildUnnamed3416();
- o.options = buildUnnamed3417();
+ o.oneofs = buildUnnamed3420();
+ o.options = buildUnnamed3421();
o.sourceContext = buildSourceContext();
o.syntax = "foo";
}
@@ -2704,10 +2704,10 @@
checkType(api.Type o) {
buildCounterType++;
if (buildCounterType < 3) {
- checkUnnamed3415(o.fields);
+ checkUnnamed3419(o.fields);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed3416(o.oneofs);
- checkUnnamed3417(o.options);
+ checkUnnamed3420(o.oneofs);
+ checkUnnamed3421(o.options);
checkSourceContext(o.sourceContext);
unittest.expect(o.syntax, unittest.equals('foo'));
}
@@ -2733,27 +2733,27 @@
buildCounterUndeleteTenantProjectRequest--;
}
-buildUnnamed3418() {
+buildUnnamed3422() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3418(core.List<core.String> o) {
+checkUnnamed3422(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3419() {
+buildUnnamed3423() {
var o = new core.List<api.UsageRule>();
o.add(buildUsageRule());
o.add(buildUsageRule());
return o;
}
-checkUnnamed3419(core.List<api.UsageRule> o) {
+checkUnnamed3423(core.List<api.UsageRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkUsageRule(o[0]);
checkUsageRule(o[1]);
@@ -2765,8 +2765,8 @@
buildCounterUsage++;
if (buildCounterUsage < 3) {
o.producerNotificationChannel = "foo";
- o.requirements = buildUnnamed3418();
- o.rules = buildUnnamed3419();
+ o.requirements = buildUnnamed3422();
+ o.rules = buildUnnamed3423();
o.serviceIdentity = buildServiceIdentity();
}
buildCounterUsage--;
@@ -2777,8 +2777,8 @@
buildCounterUsage++;
if (buildCounterUsage < 3) {
unittest.expect(o.producerNotificationChannel, unittest.equals('foo'));
- checkUnnamed3418(o.requirements);
- checkUnnamed3419(o.rules);
+ checkUnnamed3422(o.requirements);
+ checkUnnamed3423(o.rules);
checkServiceIdentity(o.serviceIdentity);
}
buildCounterUsage--;
@@ -2807,14 +2807,14 @@
buildCounterUsageRule--;
}
-buildUnnamed3420() {
+buildUnnamed3424() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3420(core.List<core.String> o) {
+checkUnnamed3424(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2825,7 +2825,7 @@
var o = new api.V1AddVisibilityLabelsResponse();
buildCounterV1AddVisibilityLabelsResponse++;
if (buildCounterV1AddVisibilityLabelsResponse < 3) {
- o.labels = buildUnnamed3420();
+ o.labels = buildUnnamed3424();
}
buildCounterV1AddVisibilityLabelsResponse--;
return o;
@@ -2834,19 +2834,19 @@
checkV1AddVisibilityLabelsResponse(api.V1AddVisibilityLabelsResponse o) {
buildCounterV1AddVisibilityLabelsResponse++;
if (buildCounterV1AddVisibilityLabelsResponse < 3) {
- checkUnnamed3420(o.labels);
+ checkUnnamed3424(o.labels);
}
buildCounterV1AddVisibilityLabelsResponse--;
}
-buildUnnamed3421() {
+buildUnnamed3425() {
var o = new core.List<api.V1Beta1QuotaOverride>();
o.add(buildV1Beta1QuotaOverride());
o.add(buildV1Beta1QuotaOverride());
return o;
}
-checkUnnamed3421(core.List<api.V1Beta1QuotaOverride> o) {
+checkUnnamed3425(core.List<api.V1Beta1QuotaOverride> o) {
unittest.expect(o, unittest.hasLength(2));
checkV1Beta1QuotaOverride(o[0]);
checkV1Beta1QuotaOverride(o[1]);
@@ -2857,7 +2857,7 @@
var o = new api.V1Beta1BatchCreateProducerOverridesResponse();
buildCounterV1Beta1BatchCreateProducerOverridesResponse++;
if (buildCounterV1Beta1BatchCreateProducerOverridesResponse < 3) {
- o.overrides = buildUnnamed3421();
+ o.overrides = buildUnnamed3425();
}
buildCounterV1Beta1BatchCreateProducerOverridesResponse--;
return o;
@@ -2867,7 +2867,7 @@
api.V1Beta1BatchCreateProducerOverridesResponse o) {
buildCounterV1Beta1BatchCreateProducerOverridesResponse++;
if (buildCounterV1Beta1BatchCreateProducerOverridesResponse < 3) {
- checkUnnamed3421(o.overrides);
+ checkUnnamed3425(o.overrides);
}
buildCounterV1Beta1BatchCreateProducerOverridesResponse--;
}
@@ -2922,14 +2922,14 @@
buildCounterV1Beta1GenerateServiceIdentityResponse--;
}
-buildUnnamed3422() {
+buildUnnamed3426() {
var o = new core.List<api.V1Beta1QuotaOverride>();
o.add(buildV1Beta1QuotaOverride());
o.add(buildV1Beta1QuotaOverride());
return o;
}
-checkUnnamed3422(core.List<api.V1Beta1QuotaOverride> o) {
+checkUnnamed3426(core.List<api.V1Beta1QuotaOverride> o) {
unittest.expect(o, unittest.hasLength(2));
checkV1Beta1QuotaOverride(o[0]);
checkV1Beta1QuotaOverride(o[1]);
@@ -2940,7 +2940,7 @@
var o = new api.V1Beta1ImportProducerOverridesResponse();
buildCounterV1Beta1ImportProducerOverridesResponse++;
if (buildCounterV1Beta1ImportProducerOverridesResponse < 3) {
- o.overrides = buildUnnamed3422();
+ o.overrides = buildUnnamed3426();
}
buildCounterV1Beta1ImportProducerOverridesResponse--;
return o;
@@ -2950,19 +2950,19 @@
api.V1Beta1ImportProducerOverridesResponse o) {
buildCounterV1Beta1ImportProducerOverridesResponse++;
if (buildCounterV1Beta1ImportProducerOverridesResponse < 3) {
- checkUnnamed3422(o.overrides);
+ checkUnnamed3426(o.overrides);
}
buildCounterV1Beta1ImportProducerOverridesResponse--;
}
-buildUnnamed3423() {
+buildUnnamed3427() {
var o = new core.List<api.V1Beta1ProducerQuotaPolicy>();
o.add(buildV1Beta1ProducerQuotaPolicy());
o.add(buildV1Beta1ProducerQuotaPolicy());
return o;
}
-checkUnnamed3423(core.List<api.V1Beta1ProducerQuotaPolicy> o) {
+checkUnnamed3427(core.List<api.V1Beta1ProducerQuotaPolicy> o) {
unittest.expect(o, unittest.hasLength(2));
checkV1Beta1ProducerQuotaPolicy(o[0]);
checkV1Beta1ProducerQuotaPolicy(o[1]);
@@ -2973,7 +2973,7 @@
var o = new api.V1Beta1ImportProducerQuotaPoliciesResponse();
buildCounterV1Beta1ImportProducerQuotaPoliciesResponse++;
if (buildCounterV1Beta1ImportProducerQuotaPoliciesResponse < 3) {
- o.policies = buildUnnamed3423();
+ o.policies = buildUnnamed3427();
}
buildCounterV1Beta1ImportProducerQuotaPoliciesResponse--;
return o;
@@ -2983,19 +2983,19 @@
api.V1Beta1ImportProducerQuotaPoliciesResponse o) {
buildCounterV1Beta1ImportProducerQuotaPoliciesResponse++;
if (buildCounterV1Beta1ImportProducerQuotaPoliciesResponse < 3) {
- checkUnnamed3423(o.policies);
+ checkUnnamed3427(o.policies);
}
buildCounterV1Beta1ImportProducerQuotaPoliciesResponse--;
}
-buildUnnamed3424() {
+buildUnnamed3428() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3424(core.Map<core.String, core.String> o) {
+checkUnnamed3428(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -3007,7 +3007,7 @@
buildCounterV1Beta1ProducerQuotaPolicy++;
if (buildCounterV1Beta1ProducerQuotaPolicy < 3) {
o.container = "foo";
- o.dimensions = buildUnnamed3424();
+ o.dimensions = buildUnnamed3428();
o.metric = "foo";
o.name = "foo";
o.policyValue = "foo";
@@ -3021,7 +3021,7 @@
buildCounterV1Beta1ProducerQuotaPolicy++;
if (buildCounterV1Beta1ProducerQuotaPolicy < 3) {
unittest.expect(o.container, unittest.equals('foo'));
- checkUnnamed3424(o.dimensions);
+ checkUnnamed3428(o.dimensions);
unittest.expect(o.metric, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.policyValue, unittest.equals('foo'));
@@ -3030,14 +3030,14 @@
buildCounterV1Beta1ProducerQuotaPolicy--;
}
-buildUnnamed3425() {
+buildUnnamed3429() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3425(core.Map<core.String, core.String> o) {
+checkUnnamed3429(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -3049,7 +3049,7 @@
buildCounterV1Beta1QuotaOverride++;
if (buildCounterV1Beta1QuotaOverride < 3) {
o.adminOverrideAncestor = "foo";
- o.dimensions = buildUnnamed3425();
+ o.dimensions = buildUnnamed3429();
o.metric = "foo";
o.name = "foo";
o.overrideValue = "foo";
@@ -3063,7 +3063,7 @@
buildCounterV1Beta1QuotaOverride++;
if (buildCounterV1Beta1QuotaOverride < 3) {
unittest.expect(o.adminOverrideAncestor, unittest.equals('foo'));
- checkUnnamed3425(o.dimensions);
+ checkUnnamed3429(o.dimensions);
unittest.expect(o.metric, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.overrideValue, unittest.equals('foo'));
@@ -3223,14 +3223,14 @@
buildCounterV1RefreshConsumerResponse--;
}
-buildUnnamed3426() {
+buildUnnamed3430() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3426(core.List<core.String> o) {
+checkUnnamed3430(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3241,7 +3241,7 @@
var o = new api.V1RemoveVisibilityLabelsResponse();
buildCounterV1RemoveVisibilityLabelsResponse++;
if (buildCounterV1RemoveVisibilityLabelsResponse < 3) {
- o.labels = buildUnnamed3426();
+ o.labels = buildUnnamed3430();
}
buildCounterV1RemoveVisibilityLabelsResponse--;
return o;
@@ -3250,7 +3250,7 @@
checkV1RemoveVisibilityLabelsResponse(api.V1RemoveVisibilityLabelsResponse o) {
buildCounterV1RemoveVisibilityLabelsResponse++;
if (buildCounterV1RemoveVisibilityLabelsResponse < 3) {
- checkUnnamed3426(o.labels);
+ checkUnnamed3430(o.labels);
}
buildCounterV1RemoveVisibilityLabelsResponse--;
}
@@ -4181,9 +4181,9 @@
api.OperationsResourceApi res =
new api.ServiceconsumermanagementApi(mock).operations;
var arg_name = "foo";
+ var arg_pageToken = "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;
@@ -4216,11 +4216,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ 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 = {
@@ -4231,9 +4231,9 @@
}), true);
res
.list(arg_name,
+ pageToken: arg_pageToken,
pageSize: arg_pageSize,
filter: arg_filter,
- pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListOperationsResponse(response);
@@ -4247,9 +4247,9 @@
api.ServicesResourceApi res =
new api.ServiceconsumermanagementApi(mock).services;
var arg_parent = "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;
@@ -4282,11 +4282,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ 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 = {
@@ -4297,9 +4297,9 @@
}), true);
res
.search(arg_parent,
+ pageSize: arg_pageSize,
pageToken: arg_pageToken,
query: arg_query,
- pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkSearchTenancyUnitsResponse(response);
@@ -4646,8 +4646,8 @@
new api.ServiceconsumermanagementApi(mock).services.tenancyUnits;
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;
@@ -4681,10 +4681,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 = {
@@ -4696,8 +4696,8 @@
res
.list(arg_parent,
filter: arg_filter,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListTenancyUnitsResponse(response);
diff --git a/generated/googleapis/test/servicecontrol/v1_test.dart b/generated/googleapis/test/servicecontrol/v1_test.dart
index da0707f..2b90433 100644
--- a/generated/googleapis/test/servicecontrol/v1_test.dart
+++ b/generated/googleapis/test/servicecontrol/v1_test.dart
@@ -50,14 +50,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed4781() {
+buildUnnamed4788() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4781(core.List<core.String> o) {
+checkUnnamed4788(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -68,7 +68,7 @@
var o = new api.AllocateInfo();
buildCounterAllocateInfo++;
if (buildCounterAllocateInfo < 3) {
- o.unusedArguments = buildUnnamed4781();
+ o.unusedArguments = buildUnnamed4788();
}
buildCounterAllocateInfo--;
return o;
@@ -77,7 +77,7 @@
checkAllocateInfo(api.AllocateInfo o) {
buildCounterAllocateInfo++;
if (buildCounterAllocateInfo < 3) {
- checkUnnamed4781(o.unusedArguments);
+ checkUnnamed4788(o.unusedArguments);
}
buildCounterAllocateInfo--;
}
@@ -103,27 +103,27 @@
buildCounterAllocateQuotaRequest--;
}
-buildUnnamed4782() {
+buildUnnamed4789() {
var o = new core.List<api.QuotaError>();
o.add(buildQuotaError());
o.add(buildQuotaError());
return o;
}
-checkUnnamed4782(core.List<api.QuotaError> o) {
+checkUnnamed4789(core.List<api.QuotaError> o) {
unittest.expect(o, unittest.hasLength(2));
checkQuotaError(o[0]);
checkQuotaError(o[1]);
}
-buildUnnamed4783() {
+buildUnnamed4790() {
var o = new core.List<api.MetricValueSet>();
o.add(buildMetricValueSet());
o.add(buildMetricValueSet());
return o;
}
-checkUnnamed4783(core.List<api.MetricValueSet> o) {
+checkUnnamed4790(core.List<api.MetricValueSet> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetricValueSet(o[0]);
checkMetricValueSet(o[1]);
@@ -134,10 +134,10 @@
var o = new api.AllocateQuotaResponse();
buildCounterAllocateQuotaResponse++;
if (buildCounterAllocateQuotaResponse < 3) {
- o.allocateErrors = buildUnnamed4782();
+ o.allocateErrors = buildUnnamed4789();
o.allocateInfo = buildAllocateInfo();
o.operationId = "foo";
- o.quotaMetrics = buildUnnamed4783();
+ o.quotaMetrics = buildUnnamed4790();
o.serviceConfigId = "foo";
}
buildCounterAllocateQuotaResponse--;
@@ -147,10 +147,10 @@
checkAllocateQuotaResponse(api.AllocateQuotaResponse o) {
buildCounterAllocateQuotaResponse++;
if (buildCounterAllocateQuotaResponse < 3) {
- checkUnnamed4782(o.allocateErrors);
+ checkUnnamed4789(o.allocateErrors);
checkAllocateInfo(o.allocateInfo);
unittest.expect(o.operationId, unittest.equals('foo'));
- checkUnnamed4783(o.quotaMetrics);
+ checkUnnamed4790(o.quotaMetrics);
unittest.expect(o.serviceConfigId, unittest.equals('foo'));
}
buildCounterAllocateQuotaResponse--;
@@ -179,14 +179,14 @@
buildCounterAttributeValue--;
}
-buildUnnamed4784() {
+buildUnnamed4791() {
var o = new core.Map<core.String, api.AttributeValue>();
o["x"] = buildAttributeValue();
o["y"] = buildAttributeValue();
return o;
}
-checkUnnamed4784(core.Map<core.String, api.AttributeValue> o) {
+checkUnnamed4791(core.Map<core.String, api.AttributeValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkAttributeValue(o["x"]);
checkAttributeValue(o["y"]);
@@ -197,7 +197,7 @@
var o = new api.Attributes();
buildCounterAttributes++;
if (buildCounterAttributes < 3) {
- o.attributeMap = buildUnnamed4784();
+ o.attributeMap = buildUnnamed4791();
o.droppedAttributesCount = 42;
}
buildCounterAttributes--;
@@ -207,241 +207,25 @@
checkAttributes(api.Attributes o) {
buildCounterAttributes++;
if (buildCounterAttributes < 3) {
- checkUnnamed4784(o.attributeMap);
+ checkUnnamed4791(o.attributeMap);
unittest.expect(o.droppedAttributesCount, unittest.equals(42));
}
buildCounterAttributes--;
}
-buildUnnamed4785() {
+buildUnnamed4792() {
var o = new core.List<api.AuthorizationInfo>();
o.add(buildAuthorizationInfo());
o.add(buildAuthorizationInfo());
return o;
}
-checkUnnamed4785(core.List<api.AuthorizationInfo> o) {
+checkUnnamed4792(core.List<api.AuthorizationInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuthorizationInfo(o[0]);
checkAuthorizationInfo(o[1]);
}
-buildUnnamed4786() {
- var o = new core.Map<core.String, core.Object>();
- o["x"] = {
- 'list': [1, 2, 3],
- 'bool': true,
- 'string': 'foo'
- };
- o["y"] = {
- 'list': [1, 2, 3],
- 'bool': true,
- 'string': 'foo'
- };
- return o;
-}
-
-checkUnnamed4786(core.Map<core.String, core.Object> o) {
- unittest.expect(o, unittest.hasLength(2));
- var casted1 = (o["x"]) as core.Map;
- unittest.expect(casted1, unittest.hasLength(3));
- unittest.expect(casted1["list"], unittest.equals([1, 2, 3]));
- unittest.expect(casted1["bool"], unittest.equals(true));
- unittest.expect(casted1["string"], unittest.equals('foo'));
- var casted2 = (o["y"]) as core.Map;
- unittest.expect(casted2, unittest.hasLength(3));
- unittest.expect(casted2["list"], unittest.equals([1, 2, 3]));
- unittest.expect(casted2["bool"], unittest.equals(true));
- unittest.expect(casted2["string"], unittest.equals('foo'));
-}
-
-buildUnnamed4787() {
- var o = new core.Map<core.String, core.Object>();
- o["x"] = {
- 'list': [1, 2, 3],
- 'bool': true,
- 'string': 'foo'
- };
- o["y"] = {
- 'list': [1, 2, 3],
- 'bool': true,
- 'string': 'foo'
- };
- return o;
-}
-
-checkUnnamed4787(core.Map<core.String, core.Object> o) {
- unittest.expect(o, unittest.hasLength(2));
- var casted3 = (o["x"]) as core.Map;
- unittest.expect(casted3, unittest.hasLength(3));
- unittest.expect(casted3["list"], unittest.equals([1, 2, 3]));
- unittest.expect(casted3["bool"], unittest.equals(true));
- unittest.expect(casted3["string"], unittest.equals('foo'));
- var casted4 = (o["y"]) as core.Map;
- unittest.expect(casted4, unittest.hasLength(3));
- unittest.expect(casted4["list"], unittest.equals([1, 2, 3]));
- unittest.expect(casted4["bool"], unittest.equals(true));
- unittest.expect(casted4["string"], unittest.equals('foo'));
-}
-
-buildUnnamed4788() {
- var o = new core.Map<core.String, core.Object>();
- o["x"] = {
- 'list': [1, 2, 3],
- 'bool': true,
- 'string': 'foo'
- };
- o["y"] = {
- 'list': [1, 2, 3],
- 'bool': true,
- 'string': 'foo'
- };
- return o;
-}
-
-checkUnnamed4788(core.Map<core.String, core.Object> o) {
- unittest.expect(o, unittest.hasLength(2));
- var casted5 = (o["x"]) as core.Map;
- unittest.expect(casted5, unittest.hasLength(3));
- unittest.expect(casted5["list"], unittest.equals([1, 2, 3]));
- unittest.expect(casted5["bool"], unittest.equals(true));
- unittest.expect(casted5["string"], unittest.equals('foo'));
- var casted6 = (o["y"]) as core.Map;
- unittest.expect(casted6, unittest.hasLength(3));
- unittest.expect(casted6["list"], unittest.equals([1, 2, 3]));
- unittest.expect(casted6["bool"], unittest.equals(true));
- unittest.expect(casted6["string"], unittest.equals('foo'));
-}
-
-buildUnnamed4789() {
- var o = new core.Map<core.String, core.Object>();
- o["x"] = {
- 'list': [1, 2, 3],
- 'bool': true,
- 'string': 'foo'
- };
- o["y"] = {
- 'list': [1, 2, 3],
- 'bool': true,
- 'string': 'foo'
- };
- return o;
-}
-
-checkUnnamed4789(core.Map<core.String, core.Object> o) {
- unittest.expect(o, unittest.hasLength(2));
- var casted7 = (o["x"]) as core.Map;
- unittest.expect(casted7, unittest.hasLength(3));
- unittest.expect(casted7["list"], unittest.equals([1, 2, 3]));
- unittest.expect(casted7["bool"], unittest.equals(true));
- unittest.expect(casted7["string"], unittest.equals('foo'));
- var casted8 = (o["y"]) as core.Map;
- unittest.expect(casted8, unittest.hasLength(3));
- unittest.expect(casted8["list"], unittest.equals([1, 2, 3]));
- unittest.expect(casted8["bool"], unittest.equals(true));
- unittest.expect(casted8["string"], unittest.equals('foo'));
-}
-
-buildUnnamed4790() {
- var o = new core.Map<core.String, core.Object>();
- o["x"] = {
- 'list': [1, 2, 3],
- 'bool': true,
- 'string': 'foo'
- };
- o["y"] = {
- 'list': [1, 2, 3],
- 'bool': true,
- 'string': 'foo'
- };
- return o;
-}
-
-checkUnnamed4790(core.Map<core.String, core.Object> o) {
- unittest.expect(o, unittest.hasLength(2));
- var casted9 = (o["x"]) as core.Map;
- unittest.expect(casted9, unittest.hasLength(3));
- unittest.expect(casted9["list"], unittest.equals([1, 2, 3]));
- unittest.expect(casted9["bool"], unittest.equals(true));
- unittest.expect(casted9["string"], unittest.equals('foo'));
- var casted10 = (o["y"]) as core.Map;
- unittest.expect(casted10, unittest.hasLength(3));
- unittest.expect(casted10["list"], unittest.equals([1, 2, 3]));
- unittest.expect(casted10["bool"], unittest.equals(true));
- unittest.expect(casted10["string"], unittest.equals('foo'));
-}
-
-core.int buildCounterAuditLog = 0;
-buildAuditLog() {
- var o = new api.AuditLog();
- buildCounterAuditLog++;
- if (buildCounterAuditLog < 3) {
- o.authenticationInfo = buildAuthenticationInfo();
- o.authorizationInfo = buildUnnamed4785();
- o.metadata = buildUnnamed4786();
- o.methodName = "foo";
- o.numResponseItems = "foo";
- o.request = buildUnnamed4787();
- o.requestMetadata = buildRequestMetadata();
- o.resourceLocation = buildResourceLocation();
- o.resourceName = "foo";
- o.resourceOriginalState = buildUnnamed4788();
- o.response = buildUnnamed4789();
- o.serviceData = buildUnnamed4790();
- o.serviceName = "foo";
- o.status = buildStatus();
- }
- buildCounterAuditLog--;
- return o;
-}
-
-checkAuditLog(api.AuditLog o) {
- buildCounterAuditLog++;
- if (buildCounterAuditLog < 3) {
- checkAuthenticationInfo(o.authenticationInfo);
- checkUnnamed4785(o.authorizationInfo);
- checkUnnamed4786(o.metadata);
- unittest.expect(o.methodName, unittest.equals('foo'));
- unittest.expect(o.numResponseItems, unittest.equals('foo'));
- checkUnnamed4787(o.request);
- checkRequestMetadata(o.requestMetadata);
- checkResourceLocation(o.resourceLocation);
- unittest.expect(o.resourceName, unittest.equals('foo'));
- checkUnnamed4788(o.resourceOriginalState);
- checkUnnamed4789(o.response);
- checkUnnamed4790(o.serviceData);
- unittest.expect(o.serviceName, unittest.equals('foo'));
- checkStatus(o.status);
- }
- buildCounterAuditLog--;
-}
-
-buildUnnamed4791() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed4791(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed4792() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed4792(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed4793() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
@@ -459,56 +243,45 @@
checkUnnamed4793(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
- var casted11 = (o["x"]) as core.Map;
- unittest.expect(casted11, unittest.hasLength(3));
- unittest.expect(casted11["list"], unittest.equals([1, 2, 3]));
- unittest.expect(casted11["bool"], unittest.equals(true));
- unittest.expect(casted11["string"], unittest.equals('foo'));
- var casted12 = (o["y"]) as core.Map;
- unittest.expect(casted12, unittest.hasLength(3));
- unittest.expect(casted12["list"], unittest.equals([1, 2, 3]));
- unittest.expect(casted12["bool"], unittest.equals(true));
- unittest.expect(casted12["string"], unittest.equals('foo'));
-}
-
-core.int buildCounterAuth = 0;
-buildAuth() {
- var o = new api.Auth();
- buildCounterAuth++;
- if (buildCounterAuth < 3) {
- o.accessLevels = buildUnnamed4791();
- o.audiences = buildUnnamed4792();
- o.claims = buildUnnamed4793();
- o.presenter = "foo";
- o.principal = "foo";
- }
- buildCounterAuth--;
- return o;
-}
-
-checkAuth(api.Auth o) {
- buildCounterAuth++;
- if (buildCounterAuth < 3) {
- checkUnnamed4791(o.accessLevels);
- checkUnnamed4792(o.audiences);
- checkUnnamed4793(o.claims);
- unittest.expect(o.presenter, unittest.equals('foo'));
- unittest.expect(o.principal, unittest.equals('foo'));
- }
- buildCounterAuth--;
+ var casted1 = (o["x"]) as core.Map;
+ unittest.expect(casted1, unittest.hasLength(3));
+ unittest.expect(casted1["list"], unittest.equals([1, 2, 3]));
+ unittest.expect(casted1["bool"], unittest.equals(true));
+ unittest.expect(casted1["string"], unittest.equals('foo'));
+ var casted2 = (o["y"]) as core.Map;
+ unittest.expect(casted2, unittest.hasLength(3));
+ unittest.expect(casted2["list"], unittest.equals([1, 2, 3]));
+ unittest.expect(casted2["bool"], unittest.equals(true));
+ unittest.expect(casted2["string"], unittest.equals('foo'));
}
buildUnnamed4794() {
- var o = new core.List<api.ServiceAccountDelegationInfo>();
- o.add(buildServiceAccountDelegationInfo());
- o.add(buildServiceAccountDelegationInfo());
+ var o = new core.Map<core.String, core.Object>();
+ o["x"] = {
+ 'list': [1, 2, 3],
+ 'bool': true,
+ 'string': 'foo'
+ };
+ o["y"] = {
+ 'list': [1, 2, 3],
+ 'bool': true,
+ 'string': 'foo'
+ };
return o;
}
-checkUnnamed4794(core.List<api.ServiceAccountDelegationInfo> o) {
+checkUnnamed4794(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
- checkServiceAccountDelegationInfo(o[0]);
- checkServiceAccountDelegationInfo(o[1]);
+ var casted3 = (o["x"]) as core.Map;
+ unittest.expect(casted3, unittest.hasLength(3));
+ unittest.expect(casted3["list"], unittest.equals([1, 2, 3]));
+ unittest.expect(casted3["bool"], unittest.equals(true));
+ unittest.expect(casted3["string"], unittest.equals('foo'));
+ var casted4 = (o["y"]) as core.Map;
+ unittest.expect(casted4, unittest.hasLength(3));
+ unittest.expect(casted4["list"], unittest.equals([1, 2, 3]));
+ unittest.expect(casted4["bool"], unittest.equals(true));
+ unittest.expect(casted4["string"], unittest.equals('foo'));
}
buildUnnamed4795() {
@@ -528,6 +301,233 @@
checkUnnamed4795(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
+ var casted5 = (o["x"]) as core.Map;
+ unittest.expect(casted5, unittest.hasLength(3));
+ unittest.expect(casted5["list"], unittest.equals([1, 2, 3]));
+ unittest.expect(casted5["bool"], unittest.equals(true));
+ unittest.expect(casted5["string"], unittest.equals('foo'));
+ var casted6 = (o["y"]) as core.Map;
+ unittest.expect(casted6, unittest.hasLength(3));
+ unittest.expect(casted6["list"], unittest.equals([1, 2, 3]));
+ unittest.expect(casted6["bool"], unittest.equals(true));
+ unittest.expect(casted6["string"], unittest.equals('foo'));
+}
+
+buildUnnamed4796() {
+ var o = new core.Map<core.String, core.Object>();
+ o["x"] = {
+ 'list': [1, 2, 3],
+ 'bool': true,
+ 'string': 'foo'
+ };
+ o["y"] = {
+ 'list': [1, 2, 3],
+ 'bool': true,
+ 'string': 'foo'
+ };
+ return o;
+}
+
+checkUnnamed4796(core.Map<core.String, core.Object> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ var casted7 = (o["x"]) as core.Map;
+ unittest.expect(casted7, unittest.hasLength(3));
+ unittest.expect(casted7["list"], unittest.equals([1, 2, 3]));
+ unittest.expect(casted7["bool"], unittest.equals(true));
+ unittest.expect(casted7["string"], unittest.equals('foo'));
+ var casted8 = (o["y"]) as core.Map;
+ unittest.expect(casted8, unittest.hasLength(3));
+ unittest.expect(casted8["list"], unittest.equals([1, 2, 3]));
+ unittest.expect(casted8["bool"], unittest.equals(true));
+ unittest.expect(casted8["string"], unittest.equals('foo'));
+}
+
+buildUnnamed4797() {
+ var o = new core.Map<core.String, core.Object>();
+ o["x"] = {
+ 'list': [1, 2, 3],
+ 'bool': true,
+ 'string': 'foo'
+ };
+ o["y"] = {
+ 'list': [1, 2, 3],
+ 'bool': true,
+ 'string': 'foo'
+ };
+ return o;
+}
+
+checkUnnamed4797(core.Map<core.String, core.Object> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ var casted9 = (o["x"]) as core.Map;
+ unittest.expect(casted9, unittest.hasLength(3));
+ unittest.expect(casted9["list"], unittest.equals([1, 2, 3]));
+ unittest.expect(casted9["bool"], unittest.equals(true));
+ unittest.expect(casted9["string"], unittest.equals('foo'));
+ var casted10 = (o["y"]) as core.Map;
+ unittest.expect(casted10, unittest.hasLength(3));
+ unittest.expect(casted10["list"], unittest.equals([1, 2, 3]));
+ unittest.expect(casted10["bool"], unittest.equals(true));
+ unittest.expect(casted10["string"], unittest.equals('foo'));
+}
+
+core.int buildCounterAuditLog = 0;
+buildAuditLog() {
+ var o = new api.AuditLog();
+ buildCounterAuditLog++;
+ if (buildCounterAuditLog < 3) {
+ o.authenticationInfo = buildAuthenticationInfo();
+ o.authorizationInfo = buildUnnamed4792();
+ o.metadata = buildUnnamed4793();
+ o.methodName = "foo";
+ o.numResponseItems = "foo";
+ o.request = buildUnnamed4794();
+ o.requestMetadata = buildRequestMetadata();
+ o.resourceLocation = buildResourceLocation();
+ o.resourceName = "foo";
+ o.resourceOriginalState = buildUnnamed4795();
+ o.response = buildUnnamed4796();
+ o.serviceData = buildUnnamed4797();
+ o.serviceName = "foo";
+ o.status = buildStatus();
+ }
+ buildCounterAuditLog--;
+ return o;
+}
+
+checkAuditLog(api.AuditLog o) {
+ buildCounterAuditLog++;
+ if (buildCounterAuditLog < 3) {
+ checkAuthenticationInfo(o.authenticationInfo);
+ checkUnnamed4792(o.authorizationInfo);
+ checkUnnamed4793(o.metadata);
+ unittest.expect(o.methodName, unittest.equals('foo'));
+ unittest.expect(o.numResponseItems, unittest.equals('foo'));
+ checkUnnamed4794(o.request);
+ checkRequestMetadata(o.requestMetadata);
+ checkResourceLocation(o.resourceLocation);
+ unittest.expect(o.resourceName, unittest.equals('foo'));
+ checkUnnamed4795(o.resourceOriginalState);
+ checkUnnamed4796(o.response);
+ checkUnnamed4797(o.serviceData);
+ unittest.expect(o.serviceName, unittest.equals('foo'));
+ checkStatus(o.status);
+ }
+ buildCounterAuditLog--;
+}
+
+buildUnnamed4798() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed4798(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed4799() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed4799(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed4800() {
+ var o = new core.Map<core.String, core.Object>();
+ o["x"] = {
+ 'list': [1, 2, 3],
+ 'bool': true,
+ 'string': 'foo'
+ };
+ o["y"] = {
+ 'list': [1, 2, 3],
+ 'bool': true,
+ 'string': 'foo'
+ };
+ return o;
+}
+
+checkUnnamed4800(core.Map<core.String, core.Object> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ var casted11 = (o["x"]) as core.Map;
+ unittest.expect(casted11, unittest.hasLength(3));
+ unittest.expect(casted11["list"], unittest.equals([1, 2, 3]));
+ unittest.expect(casted11["bool"], unittest.equals(true));
+ unittest.expect(casted11["string"], unittest.equals('foo'));
+ var casted12 = (o["y"]) as core.Map;
+ unittest.expect(casted12, unittest.hasLength(3));
+ unittest.expect(casted12["list"], unittest.equals([1, 2, 3]));
+ unittest.expect(casted12["bool"], unittest.equals(true));
+ unittest.expect(casted12["string"], unittest.equals('foo'));
+}
+
+core.int buildCounterAuth = 0;
+buildAuth() {
+ var o = new api.Auth();
+ buildCounterAuth++;
+ if (buildCounterAuth < 3) {
+ o.accessLevels = buildUnnamed4798();
+ o.audiences = buildUnnamed4799();
+ o.claims = buildUnnamed4800();
+ o.presenter = "foo";
+ o.principal = "foo";
+ }
+ buildCounterAuth--;
+ return o;
+}
+
+checkAuth(api.Auth o) {
+ buildCounterAuth++;
+ if (buildCounterAuth < 3) {
+ checkUnnamed4798(o.accessLevels);
+ checkUnnamed4799(o.audiences);
+ checkUnnamed4800(o.claims);
+ unittest.expect(o.presenter, unittest.equals('foo'));
+ unittest.expect(o.principal, unittest.equals('foo'));
+ }
+ buildCounterAuth--;
+}
+
+buildUnnamed4801() {
+ var o = new core.List<api.ServiceAccountDelegationInfo>();
+ o.add(buildServiceAccountDelegationInfo());
+ o.add(buildServiceAccountDelegationInfo());
+ return o;
+}
+
+checkUnnamed4801(core.List<api.ServiceAccountDelegationInfo> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkServiceAccountDelegationInfo(o[0]);
+ checkServiceAccountDelegationInfo(o[1]);
+}
+
+buildUnnamed4802() {
+ var o = new core.Map<core.String, core.Object>();
+ o["x"] = {
+ 'list': [1, 2, 3],
+ 'bool': true,
+ 'string': 'foo'
+ };
+ o["y"] = {
+ 'list': [1, 2, 3],
+ 'bool': true,
+ 'string': 'foo'
+ };
+ return o;
+}
+
+checkUnnamed4802(core.Map<core.String, core.Object> o) {
+ unittest.expect(o, unittest.hasLength(2));
var casted13 = (o["x"]) as core.Map;
unittest.expect(casted13, unittest.hasLength(3));
unittest.expect(casted13["list"], unittest.equals([1, 2, 3]));
@@ -548,9 +548,9 @@
o.authoritySelector = "foo";
o.principalEmail = "foo";
o.principalSubject = "foo";
- o.serviceAccountDelegationInfo = buildUnnamed4794();
+ o.serviceAccountDelegationInfo = buildUnnamed4801();
o.serviceAccountKeyName = "foo";
- o.thirdPartyPrincipal = buildUnnamed4795();
+ o.thirdPartyPrincipal = buildUnnamed4802();
}
buildCounterAuthenticationInfo--;
return o;
@@ -562,9 +562,9 @@
unittest.expect(o.authoritySelector, unittest.equals('foo'));
unittest.expect(o.principalEmail, unittest.equals('foo'));
unittest.expect(o.principalSubject, unittest.equals('foo'));
- checkUnnamed4794(o.serviceAccountDelegationInfo);
+ checkUnnamed4801(o.serviceAccountDelegationInfo);
unittest.expect(o.serviceAccountKeyName, unittest.equals('foo'));
- checkUnnamed4795(o.thirdPartyPrincipal);
+ checkUnnamed4802(o.thirdPartyPrincipal);
}
buildCounterAuthenticationInfo--;
}
@@ -619,14 +619,14 @@
buildCounterCheckError--;
}
-buildUnnamed4796() {
+buildUnnamed4803() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4796(core.List<core.String> o) {
+checkUnnamed4803(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -638,7 +638,7 @@
buildCounterCheckInfo++;
if (buildCounterCheckInfo < 3) {
o.consumerInfo = buildConsumerInfo();
- o.unusedArguments = buildUnnamed4796();
+ o.unusedArguments = buildUnnamed4803();
}
buildCounterCheckInfo--;
return o;
@@ -648,7 +648,7 @@
buildCounterCheckInfo++;
if (buildCounterCheckInfo < 3) {
checkConsumerInfo(o.consumerInfo);
- checkUnnamed4796(o.unusedArguments);
+ checkUnnamed4803(o.unusedArguments);
}
buildCounterCheckInfo--;
}
@@ -678,14 +678,14 @@
buildCounterCheckRequest--;
}
-buildUnnamed4797() {
+buildUnnamed4804() {
var o = new core.List<api.CheckError>();
o.add(buildCheckError());
o.add(buildCheckError());
return o;
}
-checkUnnamed4797(core.List<api.CheckError> o) {
+checkUnnamed4804(core.List<api.CheckError> o) {
unittest.expect(o, unittest.hasLength(2));
checkCheckError(o[0]);
checkCheckError(o[1]);
@@ -696,7 +696,7 @@
var o = new api.CheckResponse();
buildCounterCheckResponse++;
if (buildCounterCheckResponse < 3) {
- o.checkErrors = buildUnnamed4797();
+ o.checkErrors = buildUnnamed4804();
o.checkInfo = buildCheckInfo();
o.operationId = "foo";
o.quotaInfo = buildQuotaInfo();
@@ -710,7 +710,7 @@
checkCheckResponse(api.CheckResponse o) {
buildCounterCheckResponse++;
if (buildCounterCheckResponse < 3) {
- checkUnnamed4797(o.checkErrors);
+ checkUnnamed4804(o.checkErrors);
checkCheckInfo(o.checkInfo);
unittest.expect(o.operationId, unittest.equals('foo'));
checkQuotaInfo(o.quotaInfo);
@@ -743,27 +743,27 @@
buildCounterConsumerInfo--;
}
-buildUnnamed4798() {
+buildUnnamed4805() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4798(core.List<core.String> o) {
+checkUnnamed4805(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed4799() {
+buildUnnamed4806() {
var o = new core.List<api.Exemplar>();
o.add(buildExemplar());
o.add(buildExemplar());
return o;
}
-checkUnnamed4799(core.List<api.Exemplar> o) {
+checkUnnamed4806(core.List<api.Exemplar> o) {
unittest.expect(o, unittest.hasLength(2));
checkExemplar(o[0]);
checkExemplar(o[1]);
@@ -774,9 +774,9 @@
var o = new api.Distribution();
buildCounterDistribution++;
if (buildCounterDistribution < 3) {
- o.bucketCounts = buildUnnamed4798();
+ o.bucketCounts = buildUnnamed4805();
o.count = "foo";
- o.exemplars = buildUnnamed4799();
+ o.exemplars = buildUnnamed4806();
o.explicitBuckets = buildExplicitBuckets();
o.exponentialBuckets = buildExponentialBuckets();
o.linearBuckets = buildLinearBuckets();
@@ -792,9 +792,9 @@
checkDistribution(api.Distribution o) {
buildCounterDistribution++;
if (buildCounterDistribution < 3) {
- checkUnnamed4798(o.bucketCounts);
+ checkUnnamed4805(o.bucketCounts);
unittest.expect(o.count, unittest.equals('foo'));
- checkUnnamed4799(o.exemplars);
+ checkUnnamed4806(o.exemplars);
checkExplicitBuckets(o.explicitBuckets);
checkExponentialBuckets(o.exponentialBuckets);
checkLinearBuckets(o.linearBuckets);
@@ -806,7 +806,7 @@
buildCounterDistribution--;
}
-buildUnnamed4800() {
+buildUnnamed4807() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -821,7 +821,7 @@
return o;
}
-checkUnnamed4800(core.Map<core.String, core.Object> o) {
+checkUnnamed4807(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted15 = (o["x"]) as core.Map;
unittest.expect(casted15, unittest.hasLength(3));
@@ -835,17 +835,17 @@
unittest.expect(casted16["string"], unittest.equals('foo'));
}
-buildUnnamed4801() {
+buildUnnamed4808() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed4800());
- o.add(buildUnnamed4800());
+ o.add(buildUnnamed4807());
+ o.add(buildUnnamed4807());
return o;
}
-checkUnnamed4801(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed4808(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed4800(o[0]);
- checkUnnamed4800(o[1]);
+ checkUnnamed4807(o[0]);
+ checkUnnamed4807(o[1]);
}
core.int buildCounterExemplar = 0;
@@ -853,7 +853,7 @@
var o = new api.Exemplar();
buildCounterExemplar++;
if (buildCounterExemplar < 3) {
- o.attachments = buildUnnamed4801();
+ o.attachments = buildUnnamed4808();
o.timestamp = "foo";
o.value = 42.0;
}
@@ -864,21 +864,21 @@
checkExemplar(api.Exemplar o) {
buildCounterExemplar++;
if (buildCounterExemplar < 3) {
- checkUnnamed4801(o.attachments);
+ checkUnnamed4808(o.attachments);
unittest.expect(o.timestamp, unittest.equals('foo'));
unittest.expect(o.value, unittest.equals(42.0));
}
buildCounterExemplar--;
}
-buildUnnamed4802() {
+buildUnnamed4809() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed4802(core.List<core.double> o) {
+checkUnnamed4809(core.List<core.double> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42.0));
unittest.expect(o[1], unittest.equals(42.0));
@@ -889,7 +889,7 @@
var o = new api.ExplicitBuckets();
buildCounterExplicitBuckets++;
if (buildCounterExplicitBuckets < 3) {
- o.bounds = buildUnnamed4802();
+ o.bounds = buildUnnamed4809();
}
buildCounterExplicitBuckets--;
return o;
@@ -898,7 +898,7 @@
checkExplicitBuckets(api.ExplicitBuckets o) {
buildCounterExplicitBuckets++;
if (buildCounterExplicitBuckets < 3) {
- checkUnnamed4802(o.bounds);
+ checkUnnamed4809(o.bounds);
}
buildCounterExplicitBuckets--;
}
@@ -926,7 +926,7 @@
buildCounterExponentialBuckets--;
}
-buildUnnamed4803() {
+buildUnnamed4810() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -941,7 +941,7 @@
return o;
}
-checkUnnamed4803(core.Map<core.String, core.Object> o) {
+checkUnnamed4810(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted17 = (o["x"]) as core.Map;
unittest.expect(casted17, unittest.hasLength(3));
@@ -961,7 +961,7 @@
buildCounterFirstPartyPrincipal++;
if (buildCounterFirstPartyPrincipal < 3) {
o.principalEmail = "foo";
- o.serviceMetadata = buildUnnamed4803();
+ o.serviceMetadata = buildUnnamed4810();
}
buildCounterFirstPartyPrincipal--;
return o;
@@ -971,7 +971,7 @@
buildCounterFirstPartyPrincipal++;
if (buildCounterFirstPartyPrincipal < 3) {
unittest.expect(o.principalEmail, unittest.equals('foo'));
- checkUnnamed4803(o.serviceMetadata);
+ checkUnnamed4810(o.serviceMetadata);
}
buildCounterFirstPartyPrincipal--;
}
@@ -1046,20 +1046,20 @@
buildCounterLinearBuckets--;
}
-buildUnnamed4804() {
+buildUnnamed4811() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed4804(core.Map<core.String, core.String> o) {
+checkUnnamed4811(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed4805() {
+buildUnnamed4812() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1074,7 +1074,7 @@
return o;
}
-checkUnnamed4805(core.Map<core.String, core.Object> o) {
+checkUnnamed4812(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted19 = (o["x"]) as core.Map;
unittest.expect(casted19, unittest.hasLength(3));
@@ -1088,7 +1088,7 @@
unittest.expect(casted20["string"], unittest.equals('foo'));
}
-buildUnnamed4806() {
+buildUnnamed4813() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1103,7 +1103,7 @@
return o;
}
-checkUnnamed4806(core.Map<core.String, core.Object> o) {
+checkUnnamed4813(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted21 = (o["x"]) as core.Map;
unittest.expect(casted21, unittest.hasLength(3));
@@ -1124,13 +1124,13 @@
if (buildCounterLogEntry < 3) {
o.httpRequest = buildHttpRequest();
o.insertId = "foo";
- o.labels = buildUnnamed4804();
+ o.labels = buildUnnamed4811();
o.name = "foo";
o.operation = buildLogEntryOperation();
- o.protoPayload = buildUnnamed4805();
+ o.protoPayload = buildUnnamed4812();
o.severity = "foo";
o.sourceLocation = buildLogEntrySourceLocation();
- o.structPayload = buildUnnamed4806();
+ o.structPayload = buildUnnamed4813();
o.textPayload = "foo";
o.timestamp = "foo";
o.trace = "foo";
@@ -1144,13 +1144,13 @@
if (buildCounterLogEntry < 3) {
checkHttpRequest(o.httpRequest);
unittest.expect(o.insertId, unittest.equals('foo'));
- checkUnnamed4804(o.labels);
+ checkUnnamed4811(o.labels);
unittest.expect(o.name, unittest.equals('foo'));
checkLogEntryOperation(o.operation);
- checkUnnamed4805(o.protoPayload);
+ checkUnnamed4812(o.protoPayload);
unittest.expect(o.severity, unittest.equals('foo'));
checkLogEntrySourceLocation(o.sourceLocation);
- checkUnnamed4806(o.structPayload);
+ checkUnnamed4813(o.structPayload);
unittest.expect(o.textPayload, unittest.equals('foo'));
unittest.expect(o.timestamp, unittest.equals('foo'));
unittest.expect(o.trace, unittest.equals('foo'));
@@ -1206,14 +1206,14 @@
buildCounterLogEntrySourceLocation--;
}
-buildUnnamed4807() {
+buildUnnamed4814() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed4807(core.Map<core.String, core.String> o) {
+checkUnnamed4814(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -1229,7 +1229,7 @@
o.doubleValue = 42.0;
o.endTime = "foo";
o.int64Value = "foo";
- o.labels = buildUnnamed4807();
+ o.labels = buildUnnamed4814();
o.moneyValue = buildMoney();
o.startTime = "foo";
o.stringValue = "foo";
@@ -1246,7 +1246,7 @@
unittest.expect(o.doubleValue, unittest.equals(42.0));
unittest.expect(o.endTime, unittest.equals('foo'));
unittest.expect(o.int64Value, unittest.equals('foo'));
- checkUnnamed4807(o.labels);
+ checkUnnamed4814(o.labels);
checkMoney(o.moneyValue);
unittest.expect(o.startTime, unittest.equals('foo'));
unittest.expect(o.stringValue, unittest.equals('foo'));
@@ -1254,14 +1254,14 @@
buildCounterMetricValue--;
}
-buildUnnamed4808() {
+buildUnnamed4815() {
var o = new core.List<api.MetricValue>();
o.add(buildMetricValue());
o.add(buildMetricValue());
return o;
}
-checkUnnamed4808(core.List<api.MetricValue> o) {
+checkUnnamed4815(core.List<api.MetricValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetricValue(o[0]);
checkMetricValue(o[1]);
@@ -1273,7 +1273,7 @@
buildCounterMetricValueSet++;
if (buildCounterMetricValueSet < 3) {
o.metricName = "foo";
- o.metricValues = buildUnnamed4808();
+ o.metricValues = buildUnnamed4815();
}
buildCounterMetricValueSet--;
return o;
@@ -1283,7 +1283,7 @@
buildCounterMetricValueSet++;
if (buildCounterMetricValueSet < 3) {
unittest.expect(o.metricName, unittest.equals('foo'));
- checkUnnamed4808(o.metricValues);
+ checkUnnamed4815(o.metricValues);
}
buildCounterMetricValueSet--;
}
@@ -1311,7 +1311,7 @@
buildCounterMoney--;
}
-buildUnnamed4809() {
+buildUnnamed4816() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1326,7 +1326,7 @@
return o;
}
-checkUnnamed4809(core.Map<core.String, core.Object> o) {
+checkUnnamed4816(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted23 = (o["x"]) as core.Map;
unittest.expect(casted23, unittest.hasLength(3));
@@ -1340,92 +1340,92 @@
unittest.expect(casted24["string"], unittest.equals('foo'));
}
-buildUnnamed4810() {
+buildUnnamed4817() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed4809());
- o.add(buildUnnamed4809());
+ o.add(buildUnnamed4816());
+ o.add(buildUnnamed4816());
return o;
}
-checkUnnamed4810(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed4817(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed4809(o[0]);
- checkUnnamed4809(o[1]);
+ checkUnnamed4816(o[0]);
+ checkUnnamed4816(o[1]);
}
-buildUnnamed4811() {
+buildUnnamed4818() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed4811(core.Map<core.String, core.String> o) {
+checkUnnamed4818(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed4812() {
+buildUnnamed4819() {
var o = new core.List<api.LogEntry>();
o.add(buildLogEntry());
o.add(buildLogEntry());
return o;
}
-checkUnnamed4812(core.List<api.LogEntry> o) {
+checkUnnamed4819(core.List<api.LogEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkLogEntry(o[0]);
checkLogEntry(o[1]);
}
-buildUnnamed4813() {
+buildUnnamed4820() {
var o = new core.List<api.MetricValueSet>();
o.add(buildMetricValueSet());
o.add(buildMetricValueSet());
return o;
}
-checkUnnamed4813(core.List<api.MetricValueSet> o) {
+checkUnnamed4820(core.List<api.MetricValueSet> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetricValueSet(o[0]);
checkMetricValueSet(o[1]);
}
-buildUnnamed4814() {
+buildUnnamed4821() {
var o = new core.List<api.ResourceInfo>();
o.add(buildResourceInfo());
o.add(buildResourceInfo());
return o;
}
-checkUnnamed4814(core.List<api.ResourceInfo> o) {
+checkUnnamed4821(core.List<api.ResourceInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkResourceInfo(o[0]);
checkResourceInfo(o[1]);
}
-buildUnnamed4815() {
+buildUnnamed4822() {
var o = new core.List<api.TraceSpan>();
o.add(buildTraceSpan());
o.add(buildTraceSpan());
return o;
}
-checkUnnamed4815(core.List<api.TraceSpan> o) {
+checkUnnamed4822(core.List<api.TraceSpan> o) {
unittest.expect(o, unittest.hasLength(2));
checkTraceSpan(o[0]);
checkTraceSpan(o[1]);
}
-buildUnnamed4816() {
+buildUnnamed4823() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed4816(core.Map<core.String, core.String> o) {
+checkUnnamed4823(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -1438,18 +1438,18 @@
if (buildCounterOperation < 3) {
o.consumerId = "foo";
o.endTime = "foo";
- o.extensions = buildUnnamed4810();
+ o.extensions = buildUnnamed4817();
o.importance = "foo";
- o.labels = buildUnnamed4811();
- o.logEntries = buildUnnamed4812();
- o.metricValueSets = buildUnnamed4813();
+ o.labels = buildUnnamed4818();
+ o.logEntries = buildUnnamed4819();
+ o.metricValueSets = buildUnnamed4820();
o.operationId = "foo";
o.operationName = "foo";
o.quotaProperties = buildQuotaProperties();
- o.resources = buildUnnamed4814();
+ o.resources = buildUnnamed4821();
o.startTime = "foo";
- o.traceSpans = buildUnnamed4815();
- o.userLabels = buildUnnamed4816();
+ o.traceSpans = buildUnnamed4822();
+ o.userLabels = buildUnnamed4823();
}
buildCounterOperation--;
return o;
@@ -1460,30 +1460,30 @@
if (buildCounterOperation < 3) {
unittest.expect(o.consumerId, unittest.equals('foo'));
unittest.expect(o.endTime, unittest.equals('foo'));
- checkUnnamed4810(o.extensions);
+ checkUnnamed4817(o.extensions);
unittest.expect(o.importance, unittest.equals('foo'));
- checkUnnamed4811(o.labels);
- checkUnnamed4812(o.logEntries);
- checkUnnamed4813(o.metricValueSets);
+ checkUnnamed4818(o.labels);
+ checkUnnamed4819(o.logEntries);
+ checkUnnamed4820(o.metricValueSets);
unittest.expect(o.operationId, unittest.equals('foo'));
unittest.expect(o.operationName, unittest.equals('foo'));
checkQuotaProperties(o.quotaProperties);
- checkUnnamed4814(o.resources);
+ checkUnnamed4821(o.resources);
unittest.expect(o.startTime, unittest.equals('foo'));
- checkUnnamed4815(o.traceSpans);
- checkUnnamed4816(o.userLabels);
+ checkUnnamed4822(o.traceSpans);
+ checkUnnamed4823(o.userLabels);
}
buildCounterOperation--;
}
-buildUnnamed4817() {
+buildUnnamed4824() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed4817(core.Map<core.String, core.String> o) {
+checkUnnamed4824(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -1495,7 +1495,7 @@
buildCounterPeer++;
if (buildCounterPeer < 3) {
o.ip = "foo";
- o.labels = buildUnnamed4817();
+ o.labels = buildUnnamed4824();
o.port = "foo";
o.principal = "foo";
o.regionCode = "foo";
@@ -1508,7 +1508,7 @@
buildCounterPeer++;
if (buildCounterPeer < 3) {
unittest.expect(o.ip, unittest.equals('foo'));
- checkUnnamed4817(o.labels);
+ checkUnnamed4824(o.labels);
unittest.expect(o.port, unittest.equals('foo'));
unittest.expect(o.principal, unittest.equals('foo'));
unittest.expect(o.regionCode, unittest.equals('foo'));
@@ -1539,40 +1539,40 @@
buildCounterQuotaError--;
}
-buildUnnamed4818() {
+buildUnnamed4825() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4818(core.List<core.String> o) {
+checkUnnamed4825(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed4819() {
+buildUnnamed4826() {
var o = new core.Map<core.String, core.int>();
o["x"] = 42;
o["y"] = 42;
return o;
}
-checkUnnamed4819(core.Map<core.String, core.int> o) {
+checkUnnamed4826(core.Map<core.String, core.int> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals(42));
unittest.expect(o["y"], unittest.equals(42));
}
-buildUnnamed4820() {
+buildUnnamed4827() {
var o = new core.List<api.MetricValueSet>();
o.add(buildMetricValueSet());
o.add(buildMetricValueSet());
return o;
}
-checkUnnamed4820(core.List<api.MetricValueSet> o) {
+checkUnnamed4827(core.List<api.MetricValueSet> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetricValueSet(o[0]);
checkMetricValueSet(o[1]);
@@ -1583,9 +1583,9 @@
var o = new api.QuotaInfo();
buildCounterQuotaInfo++;
if (buildCounterQuotaInfo < 3) {
- o.limitExceeded = buildUnnamed4818();
- o.quotaConsumed = buildUnnamed4819();
- o.quotaMetrics = buildUnnamed4820();
+ o.limitExceeded = buildUnnamed4825();
+ o.quotaConsumed = buildUnnamed4826();
+ o.quotaMetrics = buildUnnamed4827();
}
buildCounterQuotaInfo--;
return o;
@@ -1594,34 +1594,34 @@
checkQuotaInfo(api.QuotaInfo o) {
buildCounterQuotaInfo++;
if (buildCounterQuotaInfo < 3) {
- checkUnnamed4818(o.limitExceeded);
- checkUnnamed4819(o.quotaConsumed);
- checkUnnamed4820(o.quotaMetrics);
+ checkUnnamed4825(o.limitExceeded);
+ checkUnnamed4826(o.quotaConsumed);
+ checkUnnamed4827(o.quotaMetrics);
}
buildCounterQuotaInfo--;
}
-buildUnnamed4821() {
+buildUnnamed4828() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed4821(core.Map<core.String, core.String> o) {
+checkUnnamed4828(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed4822() {
+buildUnnamed4829() {
var o = new core.List<api.MetricValueSet>();
o.add(buildMetricValueSet());
o.add(buildMetricValueSet());
return o;
}
-checkUnnamed4822(core.List<api.MetricValueSet> o) {
+checkUnnamed4829(core.List<api.MetricValueSet> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetricValueSet(o[0]);
checkMetricValueSet(o[1]);
@@ -1633,10 +1633,10 @@
buildCounterQuotaOperation++;
if (buildCounterQuotaOperation < 3) {
o.consumerId = "foo";
- o.labels = buildUnnamed4821();
+ o.labels = buildUnnamed4828();
o.methodName = "foo";
o.operationId = "foo";
- o.quotaMetrics = buildUnnamed4822();
+ o.quotaMetrics = buildUnnamed4829();
o.quotaMode = "foo";
}
buildCounterQuotaOperation--;
@@ -1647,10 +1647,10 @@
buildCounterQuotaOperation++;
if (buildCounterQuotaOperation < 3) {
unittest.expect(o.consumerId, unittest.equals('foo'));
- checkUnnamed4821(o.labels);
+ checkUnnamed4828(o.labels);
unittest.expect(o.methodName, unittest.equals('foo'));
unittest.expect(o.operationId, unittest.equals('foo'));
- checkUnnamed4822(o.quotaMetrics);
+ checkUnnamed4829(o.quotaMetrics);
unittest.expect(o.quotaMode, unittest.equals('foo'));
}
buildCounterQuotaOperation--;
@@ -1717,14 +1717,14 @@
buildCounterReportInfo--;
}
-buildUnnamed4823() {
+buildUnnamed4830() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed4823(core.List<api.Operation> o) {
+checkUnnamed4830(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -1735,7 +1735,7 @@
var o = new api.ReportRequest();
buildCounterReportRequest++;
if (buildCounterReportRequest < 3) {
- o.operations = buildUnnamed4823();
+ o.operations = buildUnnamed4830();
o.serviceConfigId = "foo";
}
buildCounterReportRequest--;
@@ -1745,33 +1745,33 @@
checkReportRequest(api.ReportRequest o) {
buildCounterReportRequest++;
if (buildCounterReportRequest < 3) {
- checkUnnamed4823(o.operations);
+ checkUnnamed4830(o.operations);
unittest.expect(o.serviceConfigId, unittest.equals('foo'));
}
buildCounterReportRequest--;
}
-buildUnnamed4824() {
+buildUnnamed4831() {
var o = new core.List<api.ReportError>();
o.add(buildReportError());
o.add(buildReportError());
return o;
}
-checkUnnamed4824(core.List<api.ReportError> o) {
+checkUnnamed4831(core.List<api.ReportError> o) {
unittest.expect(o, unittest.hasLength(2));
checkReportError(o[0]);
checkReportError(o[1]);
}
-buildUnnamed4825() {
+buildUnnamed4832() {
var o = new core.List<api.ReportInfo>();
o.add(buildReportInfo());
o.add(buildReportInfo());
return o;
}
-checkUnnamed4825(core.List<api.ReportInfo> o) {
+checkUnnamed4832(core.List<api.ReportInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkReportInfo(o[0]);
checkReportInfo(o[1]);
@@ -1782,8 +1782,8 @@
var o = new api.ReportResponse();
buildCounterReportResponse++;
if (buildCounterReportResponse < 3) {
- o.reportErrors = buildUnnamed4824();
- o.reportInfos = buildUnnamed4825();
+ o.reportErrors = buildUnnamed4831();
+ o.reportInfos = buildUnnamed4832();
o.serviceConfigId = "foo";
o.serviceRolloutId = "foo";
}
@@ -1794,22 +1794,22 @@
checkReportResponse(api.ReportResponse o) {
buildCounterReportResponse++;
if (buildCounterReportResponse < 3) {
- checkUnnamed4824(o.reportErrors);
- checkUnnamed4825(o.reportInfos);
+ checkUnnamed4831(o.reportErrors);
+ checkUnnamed4832(o.reportInfos);
unittest.expect(o.serviceConfigId, unittest.equals('foo'));
unittest.expect(o.serviceRolloutId, unittest.equals('foo'));
}
buildCounterReportResponse--;
}
-buildUnnamed4826() {
+buildUnnamed4833() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed4826(core.Map<core.String, core.String> o) {
+checkUnnamed4833(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -1821,7 +1821,7 @@
buildCounterRequest++;
if (buildCounterRequest < 3) {
o.auth = buildAuth();
- o.headers = buildUnnamed4826();
+ o.headers = buildUnnamed4833();
o.host = "foo";
o.id = "foo";
o.method = "foo";
@@ -1841,7 +1841,7 @@
buildCounterRequest++;
if (buildCounterRequest < 3) {
checkAuth(o.auth);
- checkUnnamed4826(o.headers);
+ checkUnnamed4833(o.headers);
unittest.expect(o.host, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.method, unittest.equals('foo'));
@@ -1883,14 +1883,14 @@
buildCounterRequestMetadata--;
}
-buildUnnamed4827() {
+buildUnnamed4834() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed4827(core.Map<core.String, core.String> o) {
+checkUnnamed4834(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -1901,7 +1901,7 @@
var o = new api.Resource();
buildCounterResource++;
if (buildCounterResource < 3) {
- o.labels = buildUnnamed4827();
+ o.labels = buildUnnamed4834();
o.name = "foo";
o.service = "foo";
o.type = "foo";
@@ -1913,7 +1913,7 @@
checkResource(api.Resource o) {
buildCounterResource++;
if (buildCounterResource < 3) {
- checkUnnamed4827(o.labels);
+ checkUnnamed4834(o.labels);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.service, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
@@ -1944,27 +1944,27 @@
buildCounterResourceInfo--;
}
-buildUnnamed4828() {
+buildUnnamed4835() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4828(core.List<core.String> o) {
+checkUnnamed4835(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed4829() {
+buildUnnamed4836() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4829(core.List<core.String> o) {
+checkUnnamed4836(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1975,8 +1975,8 @@
var o = new api.ResourceLocation();
buildCounterResourceLocation++;
if (buildCounterResourceLocation < 3) {
- o.currentLocations = buildUnnamed4828();
- o.originalLocations = buildUnnamed4829();
+ o.currentLocations = buildUnnamed4835();
+ o.originalLocations = buildUnnamed4836();
}
buildCounterResourceLocation--;
return o;
@@ -1985,8 +1985,8 @@
checkResourceLocation(api.ResourceLocation o) {
buildCounterResourceLocation++;
if (buildCounterResourceLocation < 3) {
- checkUnnamed4828(o.currentLocations);
- checkUnnamed4829(o.originalLocations);
+ checkUnnamed4835(o.currentLocations);
+ checkUnnamed4836(o.originalLocations);
}
buildCounterResourceLocation--;
}
@@ -2031,7 +2031,7 @@
buildCounterSpanContext--;
}
-buildUnnamed4830() {
+buildUnnamed4837() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -2046,7 +2046,7 @@
return o;
}
-checkUnnamed4830(core.Map<core.String, core.Object> o) {
+checkUnnamed4837(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted25 = (o["x"]) as core.Map;
unittest.expect(casted25, unittest.hasLength(3));
@@ -2060,17 +2060,17 @@
unittest.expect(casted26["string"], unittest.equals('foo'));
}
-buildUnnamed4831() {
+buildUnnamed4838() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed4830());
- o.add(buildUnnamed4830());
+ o.add(buildUnnamed4837());
+ o.add(buildUnnamed4837());
return o;
}
-checkUnnamed4831(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed4838(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed4830(o[0]);
- checkUnnamed4830(o[1]);
+ checkUnnamed4837(o[0]);
+ checkUnnamed4837(o[1]);
}
core.int buildCounterStatus = 0;
@@ -2079,7 +2079,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed4831();
+ o.details = buildUnnamed4838();
o.message = "foo";
}
buildCounterStatus--;
@@ -2090,13 +2090,13 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed4831(o.details);
+ checkUnnamed4838(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
}
-buildUnnamed4832() {
+buildUnnamed4839() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -2111,7 +2111,7 @@
return o;
}
-checkUnnamed4832(core.Map<core.String, core.Object> o) {
+checkUnnamed4839(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted27 = (o["x"]) as core.Map;
unittest.expect(casted27, unittest.hasLength(3));
@@ -2130,7 +2130,7 @@
var o = new api.ThirdPartyPrincipal();
buildCounterThirdPartyPrincipal++;
if (buildCounterThirdPartyPrincipal < 3) {
- o.thirdPartyClaims = buildUnnamed4832();
+ o.thirdPartyClaims = buildUnnamed4839();
}
buildCounterThirdPartyPrincipal--;
return o;
@@ -2139,7 +2139,7 @@
checkThirdPartyPrincipal(api.ThirdPartyPrincipal o) {
buildCounterThirdPartyPrincipal++;
if (buildCounterThirdPartyPrincipal < 3) {
- checkUnnamed4832(o.thirdPartyClaims);
+ checkUnnamed4839(o.thirdPartyClaims);
}
buildCounterThirdPartyPrincipal--;
}
diff --git a/generated/googleapis/test/servicemanagement/v1_test.dart b/generated/googleapis/test/servicemanagement/v1_test.dart
index 6057f91..3f2691b 100644
--- a/generated/googleapis/test/servicemanagement/v1_test.dart
+++ b/generated/googleapis/test/servicemanagement/v1_test.dart
@@ -69,40 +69,40 @@
buildCounterAdvice--;
}
-buildUnnamed2806() {
+buildUnnamed2810() {
var o = new core.List<api.Method>();
o.add(buildMethod());
o.add(buildMethod());
return o;
}
-checkUnnamed2806(core.List<api.Method> o) {
+checkUnnamed2810(core.List<api.Method> o) {
unittest.expect(o, unittest.hasLength(2));
checkMethod(o[0]);
checkMethod(o[1]);
}
-buildUnnamed2807() {
+buildUnnamed2811() {
var o = new core.List<api.Mixin>();
o.add(buildMixin());
o.add(buildMixin());
return o;
}
-checkUnnamed2807(core.List<api.Mixin> o) {
+checkUnnamed2811(core.List<api.Mixin> o) {
unittest.expect(o, unittest.hasLength(2));
checkMixin(o[0]);
checkMixin(o[1]);
}
-buildUnnamed2808() {
+buildUnnamed2812() {
var o = new core.List<api.Option>();
o.add(buildOption());
o.add(buildOption());
return o;
}
-checkUnnamed2808(core.List<api.Option> o) {
+checkUnnamed2812(core.List<api.Option> o) {
unittest.expect(o, unittest.hasLength(2));
checkOption(o[0]);
checkOption(o[1]);
@@ -113,10 +113,10 @@
var o = new api.Api();
buildCounterApi++;
if (buildCounterApi < 3) {
- o.methods = buildUnnamed2806();
- o.mixins = buildUnnamed2807();
+ o.methods = buildUnnamed2810();
+ o.mixins = buildUnnamed2811();
o.name = "foo";
- o.options = buildUnnamed2808();
+ o.options = buildUnnamed2812();
o.sourceContext = buildSourceContext();
o.syntax = "foo";
o.version = "foo";
@@ -128,10 +128,10 @@
checkApi(api.Api o) {
buildCounterApi++;
if (buildCounterApi < 3) {
- checkUnnamed2806(o.methods);
- checkUnnamed2807(o.mixins);
+ checkUnnamed2810(o.methods);
+ checkUnnamed2811(o.mixins);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2808(o.options);
+ checkUnnamed2812(o.options);
checkSourceContext(o.sourceContext);
unittest.expect(o.syntax, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals('foo'));
@@ -139,14 +139,14 @@
buildCounterApi--;
}
-buildUnnamed2809() {
+buildUnnamed2813() {
var o = new core.List<api.AuditLogConfig>();
o.add(buildAuditLogConfig());
o.add(buildAuditLogConfig());
return o;
}
-checkUnnamed2809(core.List<api.AuditLogConfig> o) {
+checkUnnamed2813(core.List<api.AuditLogConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuditLogConfig(o[0]);
checkAuditLogConfig(o[1]);
@@ -157,7 +157,7 @@
var o = new api.AuditConfig();
buildCounterAuditConfig++;
if (buildCounterAuditConfig < 3) {
- o.auditLogConfigs = buildUnnamed2809();
+ o.auditLogConfigs = buildUnnamed2813();
o.service = "foo";
}
buildCounterAuditConfig--;
@@ -167,20 +167,20 @@
checkAuditConfig(api.AuditConfig o) {
buildCounterAuditConfig++;
if (buildCounterAuditConfig < 3) {
- checkUnnamed2809(o.auditLogConfigs);
+ checkUnnamed2813(o.auditLogConfigs);
unittest.expect(o.service, unittest.equals('foo'));
}
buildCounterAuditConfig--;
}
-buildUnnamed2810() {
+buildUnnamed2814() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2810(core.List<core.String> o) {
+checkUnnamed2814(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -191,7 +191,7 @@
var o = new api.AuditLogConfig();
buildCounterAuditLogConfig++;
if (buildCounterAuditLogConfig < 3) {
- o.exemptedMembers = buildUnnamed2810();
+ o.exemptedMembers = buildUnnamed2814();
o.logType = "foo";
}
buildCounterAuditLogConfig--;
@@ -201,20 +201,20 @@
checkAuditLogConfig(api.AuditLogConfig o) {
buildCounterAuditLogConfig++;
if (buildCounterAuditLogConfig < 3) {
- checkUnnamed2810(o.exemptedMembers);
+ checkUnnamed2814(o.exemptedMembers);
unittest.expect(o.logType, unittest.equals('foo'));
}
buildCounterAuditLogConfig--;
}
-buildUnnamed2811() {
+buildUnnamed2815() {
var o = new core.List<api.JwtLocation>();
o.add(buildJwtLocation());
o.add(buildJwtLocation());
return o;
}
-checkUnnamed2811(core.List<api.JwtLocation> o) {
+checkUnnamed2815(core.List<api.JwtLocation> o) {
unittest.expect(o, unittest.hasLength(2));
checkJwtLocation(o[0]);
checkJwtLocation(o[1]);
@@ -230,7 +230,7 @@
o.id = "foo";
o.issuer = "foo";
o.jwksUri = "foo";
- o.jwtLocations = buildUnnamed2811();
+ o.jwtLocations = buildUnnamed2815();
}
buildCounterAuthProvider--;
return o;
@@ -244,7 +244,7 @@
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.issuer, unittest.equals('foo'));
unittest.expect(o.jwksUri, unittest.equals('foo'));
- checkUnnamed2811(o.jwtLocations);
+ checkUnnamed2815(o.jwtLocations);
}
buildCounterAuthProvider--;
}
@@ -270,27 +270,27 @@
buildCounterAuthRequirement--;
}
-buildUnnamed2812() {
+buildUnnamed2816() {
var o = new core.List<api.AuthProvider>();
o.add(buildAuthProvider());
o.add(buildAuthProvider());
return o;
}
-checkUnnamed2812(core.List<api.AuthProvider> o) {
+checkUnnamed2816(core.List<api.AuthProvider> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuthProvider(o[0]);
checkAuthProvider(o[1]);
}
-buildUnnamed2813() {
+buildUnnamed2817() {
var o = new core.List<api.AuthenticationRule>();
o.add(buildAuthenticationRule());
o.add(buildAuthenticationRule());
return o;
}
-checkUnnamed2813(core.List<api.AuthenticationRule> o) {
+checkUnnamed2817(core.List<api.AuthenticationRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuthenticationRule(o[0]);
checkAuthenticationRule(o[1]);
@@ -301,8 +301,8 @@
var o = new api.Authentication();
buildCounterAuthentication++;
if (buildCounterAuthentication < 3) {
- o.providers = buildUnnamed2812();
- o.rules = buildUnnamed2813();
+ o.providers = buildUnnamed2816();
+ o.rules = buildUnnamed2817();
}
buildCounterAuthentication--;
return o;
@@ -311,20 +311,20 @@
checkAuthentication(api.Authentication o) {
buildCounterAuthentication++;
if (buildCounterAuthentication < 3) {
- checkUnnamed2812(o.providers);
- checkUnnamed2813(o.rules);
+ checkUnnamed2816(o.providers);
+ checkUnnamed2817(o.rules);
}
buildCounterAuthentication--;
}
-buildUnnamed2814() {
+buildUnnamed2818() {
var o = new core.List<api.AuthRequirement>();
o.add(buildAuthRequirement());
o.add(buildAuthRequirement());
return o;
}
-checkUnnamed2814(core.List<api.AuthRequirement> o) {
+checkUnnamed2818(core.List<api.AuthRequirement> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuthRequirement(o[0]);
checkAuthRequirement(o[1]);
@@ -337,7 +337,7 @@
if (buildCounterAuthenticationRule < 3) {
o.allowWithoutCredential = true;
o.oauth = buildOAuthRequirements();
- o.requirements = buildUnnamed2814();
+ o.requirements = buildUnnamed2818();
o.selector = "foo";
}
buildCounterAuthenticationRule--;
@@ -349,20 +349,20 @@
if (buildCounterAuthenticationRule < 3) {
unittest.expect(o.allowWithoutCredential, unittest.isTrue);
checkOAuthRequirements(o.oauth);
- checkUnnamed2814(o.requirements);
+ checkUnnamed2818(o.requirements);
unittest.expect(o.selector, unittest.equals('foo'));
}
buildCounterAuthenticationRule--;
}
-buildUnnamed2815() {
+buildUnnamed2819() {
var o = new core.List<api.BackendRule>();
o.add(buildBackendRule());
o.add(buildBackendRule());
return o;
}
-checkUnnamed2815(core.List<api.BackendRule> o) {
+checkUnnamed2819(core.List<api.BackendRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkBackendRule(o[0]);
checkBackendRule(o[1]);
@@ -373,7 +373,7 @@
var o = new api.Backend();
buildCounterBackend++;
if (buildCounterBackend < 3) {
- o.rules = buildUnnamed2815();
+ o.rules = buildUnnamed2819();
}
buildCounterBackend--;
return o;
@@ -382,7 +382,7 @@
checkBackend(api.Backend o) {
buildCounterBackend++;
if (buildCounterBackend < 3) {
- checkUnnamed2815(o.rules);
+ checkUnnamed2819(o.rules);
}
buildCounterBackend--;
}
@@ -422,14 +422,14 @@
buildCounterBackendRule--;
}
-buildUnnamed2816() {
+buildUnnamed2820() {
var o = new core.List<api.BillingDestination>();
o.add(buildBillingDestination());
o.add(buildBillingDestination());
return o;
}
-checkUnnamed2816(core.List<api.BillingDestination> o) {
+checkUnnamed2820(core.List<api.BillingDestination> o) {
unittest.expect(o, unittest.hasLength(2));
checkBillingDestination(o[0]);
checkBillingDestination(o[1]);
@@ -440,7 +440,7 @@
var o = new api.Billing();
buildCounterBilling++;
if (buildCounterBilling < 3) {
- o.consumerDestinations = buildUnnamed2816();
+ o.consumerDestinations = buildUnnamed2820();
}
buildCounterBilling--;
return o;
@@ -449,19 +449,19 @@
checkBilling(api.Billing o) {
buildCounterBilling++;
if (buildCounterBilling < 3) {
- checkUnnamed2816(o.consumerDestinations);
+ checkUnnamed2820(o.consumerDestinations);
}
buildCounterBilling--;
}
-buildUnnamed2817() {
+buildUnnamed2821() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2817(core.List<core.String> o) {
+checkUnnamed2821(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -472,7 +472,7 @@
var o = new api.BillingDestination();
buildCounterBillingDestination++;
if (buildCounterBillingDestination < 3) {
- o.metrics = buildUnnamed2817();
+ o.metrics = buildUnnamed2821();
o.monitoredResource = "foo";
}
buildCounterBillingDestination--;
@@ -482,20 +482,20 @@
checkBillingDestination(api.BillingDestination o) {
buildCounterBillingDestination++;
if (buildCounterBillingDestination < 3) {
- checkUnnamed2817(o.metrics);
+ checkUnnamed2821(o.metrics);
unittest.expect(o.monitoredResource, unittest.equals('foo'));
}
buildCounterBillingDestination--;
}
-buildUnnamed2818() {
+buildUnnamed2822() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2818(core.List<core.String> o) {
+checkUnnamed2822(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -507,7 +507,7 @@
buildCounterBinding++;
if (buildCounterBinding < 3) {
o.condition = buildExpr();
- o.members = buildUnnamed2818();
+ o.members = buildUnnamed2822();
o.role = "foo";
}
buildCounterBinding--;
@@ -518,20 +518,20 @@
buildCounterBinding++;
if (buildCounterBinding < 3) {
checkExpr(o.condition);
- checkUnnamed2818(o.members);
+ checkUnnamed2822(o.members);
unittest.expect(o.role, unittest.equals('foo'));
}
buildCounterBinding--;
}
-buildUnnamed2819() {
+buildUnnamed2823() {
var o = new core.List<api.ConfigChange>();
o.add(buildConfigChange());
o.add(buildConfigChange());
return o;
}
-checkUnnamed2819(core.List<api.ConfigChange> o) {
+checkUnnamed2823(core.List<api.ConfigChange> o) {
unittest.expect(o, unittest.hasLength(2));
checkConfigChange(o[0]);
checkConfigChange(o[1]);
@@ -542,7 +542,7 @@
var o = new api.ChangeReport();
buildCounterChangeReport++;
if (buildCounterChangeReport < 3) {
- o.configChanges = buildUnnamed2819();
+ o.configChanges = buildUnnamed2823();
}
buildCounterChangeReport--;
return o;
@@ -551,19 +551,19 @@
checkChangeReport(api.ChangeReport o) {
buildCounterChangeReport++;
if (buildCounterChangeReport < 3) {
- checkUnnamed2819(o.configChanges);
+ checkUnnamed2823(o.configChanges);
}
buildCounterChangeReport--;
}
-buildUnnamed2820() {
+buildUnnamed2824() {
var o = new core.List<api.Advice>();
o.add(buildAdvice());
o.add(buildAdvice());
return o;
}
-checkUnnamed2820(core.List<api.Advice> o) {
+checkUnnamed2824(core.List<api.Advice> o) {
unittest.expect(o, unittest.hasLength(2));
checkAdvice(o[0]);
checkAdvice(o[1]);
@@ -574,7 +574,7 @@
var o = new api.ConfigChange();
buildCounterConfigChange++;
if (buildCounterConfigChange < 3) {
- o.advices = buildUnnamed2820();
+ o.advices = buildUnnamed2824();
o.changeType = "foo";
o.element = "foo";
o.newValue = "foo";
@@ -587,7 +587,7 @@
checkConfigChange(api.ConfigChange o) {
buildCounterConfigChange++;
if (buildCounterConfigChange < 3) {
- checkUnnamed2820(o.advices);
+ checkUnnamed2824(o.advices);
unittest.expect(o.changeType, unittest.equals('foo'));
unittest.expect(o.element, unittest.equals('foo'));
unittest.expect(o.newValue, unittest.equals('foo'));
@@ -638,14 +638,14 @@
buildCounterConfigRef--;
}
-buildUnnamed2821() {
+buildUnnamed2825() {
var o = new core.List<api.ConfigFile>();
o.add(buildConfigFile());
o.add(buildConfigFile());
return o;
}
-checkUnnamed2821(core.List<api.ConfigFile> o) {
+checkUnnamed2825(core.List<api.ConfigFile> o) {
unittest.expect(o, unittest.hasLength(2));
checkConfigFile(o[0]);
checkConfigFile(o[1]);
@@ -656,7 +656,7 @@
var o = new api.ConfigSource();
buildCounterConfigSource++;
if (buildCounterConfigSource < 3) {
- o.files = buildUnnamed2821();
+ o.files = buildUnnamed2825();
o.id = "foo";
}
buildCounterConfigSource--;
@@ -666,20 +666,20 @@
checkConfigSource(api.ConfigSource o) {
buildCounterConfigSource++;
if (buildCounterConfigSource < 3) {
- checkUnnamed2821(o.files);
+ checkUnnamed2825(o.files);
unittest.expect(o.id, unittest.equals('foo'));
}
buildCounterConfigSource--;
}
-buildUnnamed2822() {
+buildUnnamed2826() {
var o = new core.List<api.ContextRule>();
o.add(buildContextRule());
o.add(buildContextRule());
return o;
}
-checkUnnamed2822(core.List<api.ContextRule> o) {
+checkUnnamed2826(core.List<api.ContextRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkContextRule(o[0]);
checkContextRule(o[1]);
@@ -690,7 +690,7 @@
var o = new api.Context();
buildCounterContext++;
if (buildCounterContext < 3) {
- o.rules = buildUnnamed2822();
+ o.rules = buildUnnamed2826();
}
buildCounterContext--;
return o;
@@ -699,58 +699,58 @@
checkContext(api.Context o) {
buildCounterContext++;
if (buildCounterContext < 3) {
- checkUnnamed2822(o.rules);
+ checkUnnamed2826(o.rules);
}
buildCounterContext--;
}
-buildUnnamed2823() {
+buildUnnamed2827() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2823(core.List<core.String> o) {
+checkUnnamed2827(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2824() {
+buildUnnamed2828() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2824(core.List<core.String> o) {
+checkUnnamed2828(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2825() {
+buildUnnamed2829() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2825(core.List<core.String> o) {
+checkUnnamed2829(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2826() {
+buildUnnamed2830() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2826(core.List<core.String> o) {
+checkUnnamed2830(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -761,10 +761,10 @@
var o = new api.ContextRule();
buildCounterContextRule++;
if (buildCounterContextRule < 3) {
- o.allowedRequestExtensions = buildUnnamed2823();
- o.allowedResponseExtensions = buildUnnamed2824();
- o.provided = buildUnnamed2825();
- o.requested = buildUnnamed2826();
+ o.allowedRequestExtensions = buildUnnamed2827();
+ o.allowedResponseExtensions = buildUnnamed2828();
+ o.provided = buildUnnamed2829();
+ o.requested = buildUnnamed2830();
o.selector = "foo";
}
buildCounterContextRule--;
@@ -774,10 +774,10 @@
checkContextRule(api.ContextRule o) {
buildCounterContextRule++;
if (buildCounterContextRule < 3) {
- checkUnnamed2823(o.allowedRequestExtensions);
- checkUnnamed2824(o.allowedResponseExtensions);
- checkUnnamed2825(o.provided);
- checkUnnamed2826(o.requested);
+ checkUnnamed2827(o.allowedRequestExtensions);
+ checkUnnamed2828(o.allowedResponseExtensions);
+ checkUnnamed2829(o.provided);
+ checkUnnamed2830(o.requested);
unittest.expect(o.selector, unittest.equals('foo'));
}
buildCounterContextRule--;
@@ -802,27 +802,27 @@
buildCounterControl--;
}
-buildUnnamed2827() {
+buildUnnamed2831() {
var o = new core.List<api.CustomErrorRule>();
o.add(buildCustomErrorRule());
o.add(buildCustomErrorRule());
return o;
}
-checkUnnamed2827(core.List<api.CustomErrorRule> o) {
+checkUnnamed2831(core.List<api.CustomErrorRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkCustomErrorRule(o[0]);
checkCustomErrorRule(o[1]);
}
-buildUnnamed2828() {
+buildUnnamed2832() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2828(core.List<core.String> o) {
+checkUnnamed2832(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -833,8 +833,8 @@
var o = new api.CustomError();
buildCounterCustomError++;
if (buildCounterCustomError < 3) {
- o.rules = buildUnnamed2827();
- o.types = buildUnnamed2828();
+ o.rules = buildUnnamed2831();
+ o.types = buildUnnamed2832();
}
buildCounterCustomError--;
return o;
@@ -843,8 +843,8 @@
checkCustomError(api.CustomError o) {
buildCounterCustomError++;
if (buildCounterCustomError < 3) {
- checkUnnamed2827(o.rules);
- checkUnnamed2828(o.types);
+ checkUnnamed2831(o.rules);
+ checkUnnamed2832(o.types);
}
buildCounterCustomError--;
}
@@ -944,27 +944,27 @@
buildCounterDisableServiceResponse--;
}
-buildUnnamed2829() {
+buildUnnamed2833() {
var o = new core.List<api.Page>();
o.add(buildPage());
o.add(buildPage());
return o;
}
-checkUnnamed2829(core.List<api.Page> o) {
+checkUnnamed2833(core.List<api.Page> o) {
unittest.expect(o, unittest.hasLength(2));
checkPage(o[0]);
checkPage(o[1]);
}
-buildUnnamed2830() {
+buildUnnamed2834() {
var o = new core.List<api.DocumentationRule>();
o.add(buildDocumentationRule());
o.add(buildDocumentationRule());
return o;
}
-checkUnnamed2830(core.List<api.DocumentationRule> o) {
+checkUnnamed2834(core.List<api.DocumentationRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkDocumentationRule(o[0]);
checkDocumentationRule(o[1]);
@@ -977,8 +977,8 @@
if (buildCounterDocumentation < 3) {
o.documentationRootUrl = "foo";
o.overview = "foo";
- o.pages = buildUnnamed2829();
- o.rules = buildUnnamed2830();
+ o.pages = buildUnnamed2833();
+ o.rules = buildUnnamed2834();
o.serviceRootUrl = "foo";
o.summary = "foo";
}
@@ -991,8 +991,8 @@
if (buildCounterDocumentation < 3) {
unittest.expect(o.documentationRootUrl, unittest.equals('foo'));
unittest.expect(o.overview, unittest.equals('foo'));
- checkUnnamed2829(o.pages);
- checkUnnamed2830(o.rules);
+ checkUnnamed2833(o.pages);
+ checkUnnamed2834(o.rules);
unittest.expect(o.serviceRootUrl, unittest.equals('foo'));
unittest.expect(o.summary, unittest.equals('foo'));
}
@@ -1056,14 +1056,14 @@
buildCounterEnableServiceResponse--;
}
-buildUnnamed2831() {
+buildUnnamed2835() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2831(core.List<core.String> o) {
+checkUnnamed2835(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1074,7 +1074,7 @@
var o = new api.Endpoint();
buildCounterEndpoint++;
if (buildCounterEndpoint < 3) {
- o.aliases = buildUnnamed2831();
+ o.aliases = buildUnnamed2835();
o.allowCors = true;
o.name = "foo";
o.target = "foo";
@@ -1086,7 +1086,7 @@
checkEndpoint(api.Endpoint o) {
buildCounterEndpoint++;
if (buildCounterEndpoint < 3) {
- checkUnnamed2831(o.aliases);
+ checkUnnamed2835(o.aliases);
unittest.expect(o.allowCors, unittest.isTrue);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.target, unittest.equals('foo'));
@@ -1094,27 +1094,27 @@
buildCounterEndpoint--;
}
-buildUnnamed2832() {
+buildUnnamed2836() {
var o = new core.List<api.EnumValue>();
o.add(buildEnumValue());
o.add(buildEnumValue());
return o;
}
-checkUnnamed2832(core.List<api.EnumValue> o) {
+checkUnnamed2836(core.List<api.EnumValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkEnumValue(o[0]);
checkEnumValue(o[1]);
}
-buildUnnamed2833() {
+buildUnnamed2837() {
var o = new core.List<api.Option>();
o.add(buildOption());
o.add(buildOption());
return o;
}
-checkUnnamed2833(core.List<api.Option> o) {
+checkUnnamed2837(core.List<api.Option> o) {
unittest.expect(o, unittest.hasLength(2));
checkOption(o[0]);
checkOption(o[1]);
@@ -1125,9 +1125,9 @@
var o = new api.Enum();
buildCounterEnum++;
if (buildCounterEnum < 3) {
- o.enumvalue = buildUnnamed2832();
+ o.enumvalue = buildUnnamed2836();
o.name = "foo";
- o.options = buildUnnamed2833();
+ o.options = buildUnnamed2837();
o.sourceContext = buildSourceContext();
o.syntax = "foo";
}
@@ -1138,23 +1138,23 @@
checkEnum(api.Enum o) {
buildCounterEnum++;
if (buildCounterEnum < 3) {
- checkUnnamed2832(o.enumvalue);
+ checkUnnamed2836(o.enumvalue);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2833(o.options);
+ checkUnnamed2837(o.options);
checkSourceContext(o.sourceContext);
unittest.expect(o.syntax, unittest.equals('foo'));
}
buildCounterEnum--;
}
-buildUnnamed2834() {
+buildUnnamed2838() {
var o = new core.List<api.Option>();
o.add(buildOption());
o.add(buildOption());
return o;
}
-checkUnnamed2834(core.List<api.Option> o) {
+checkUnnamed2838(core.List<api.Option> o) {
unittest.expect(o, unittest.hasLength(2));
checkOption(o[0]);
checkOption(o[1]);
@@ -1167,7 +1167,7 @@
if (buildCounterEnumValue < 3) {
o.name = "foo";
o.number = 42;
- o.options = buildUnnamed2834();
+ o.options = buildUnnamed2838();
}
buildCounterEnumValue--;
return o;
@@ -1178,7 +1178,7 @@
if (buildCounterEnumValue < 3) {
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.number, unittest.equals(42));
- checkUnnamed2834(o.options);
+ checkUnnamed2838(o.options);
}
buildCounterEnumValue--;
}
@@ -1208,14 +1208,14 @@
buildCounterExpr--;
}
-buildUnnamed2835() {
+buildUnnamed2839() {
var o = new core.List<api.Option>();
o.add(buildOption());
o.add(buildOption());
return o;
}
-checkUnnamed2835(core.List<api.Option> o) {
+checkUnnamed2839(core.List<api.Option> o) {
unittest.expect(o, unittest.hasLength(2));
checkOption(o[0]);
checkOption(o[1]);
@@ -1233,7 +1233,7 @@
o.name = "foo";
o.number = 42;
o.oneofIndex = 42;
- o.options = buildUnnamed2835();
+ o.options = buildUnnamed2839();
o.packed = true;
o.typeUrl = "foo";
}
@@ -1251,7 +1251,7 @@
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.number, unittest.equals(42));
unittest.expect(o.oneofIndex, unittest.equals(42));
- checkUnnamed2835(o.options);
+ checkUnnamed2839(o.options);
unittest.expect(o.packed, unittest.isTrue);
unittest.expect(o.typeUrl, unittest.equals('foo'));
}
@@ -1279,7 +1279,7 @@
buildCounterFlowErrorDetails--;
}
-buildUnnamed2836() {
+buildUnnamed2840() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1294,7 +1294,7 @@
return o;
}
-checkUnnamed2836(core.Map<core.String, core.Object> o) {
+checkUnnamed2840(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o["x"]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -1308,7 +1308,7 @@
unittest.expect(casted2["string"], unittest.equals('foo'));
}
-buildUnnamed2837() {
+buildUnnamed2841() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1323,7 +1323,7 @@
return o;
}
-checkUnnamed2837(core.Map<core.String, core.Object> o) {
+checkUnnamed2841(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted3 = (o["x"]) as core.Map;
unittest.expect(casted3, unittest.hasLength(3));
@@ -1342,8 +1342,8 @@
var o = new api.GenerateConfigReportRequest();
buildCounterGenerateConfigReportRequest++;
if (buildCounterGenerateConfigReportRequest < 3) {
- o.newConfig = buildUnnamed2836();
- o.oldConfig = buildUnnamed2837();
+ o.newConfig = buildUnnamed2840();
+ o.oldConfig = buildUnnamed2841();
}
buildCounterGenerateConfigReportRequest--;
return o;
@@ -1352,33 +1352,33 @@
checkGenerateConfigReportRequest(api.GenerateConfigReportRequest o) {
buildCounterGenerateConfigReportRequest++;
if (buildCounterGenerateConfigReportRequest < 3) {
- checkUnnamed2836(o.newConfig);
- checkUnnamed2837(o.oldConfig);
+ checkUnnamed2840(o.newConfig);
+ checkUnnamed2841(o.oldConfig);
}
buildCounterGenerateConfigReportRequest--;
}
-buildUnnamed2838() {
+buildUnnamed2842() {
var o = new core.List<api.ChangeReport>();
o.add(buildChangeReport());
o.add(buildChangeReport());
return o;
}
-checkUnnamed2838(core.List<api.ChangeReport> o) {
+checkUnnamed2842(core.List<api.ChangeReport> o) {
unittest.expect(o, unittest.hasLength(2));
checkChangeReport(o[0]);
checkChangeReport(o[1]);
}
-buildUnnamed2839() {
+buildUnnamed2843() {
var o = new core.List<api.Diagnostic>();
o.add(buildDiagnostic());
o.add(buildDiagnostic());
return o;
}
-checkUnnamed2839(core.List<api.Diagnostic> o) {
+checkUnnamed2843(core.List<api.Diagnostic> o) {
unittest.expect(o, unittest.hasLength(2));
checkDiagnostic(o[0]);
checkDiagnostic(o[1]);
@@ -1389,8 +1389,8 @@
var o = new api.GenerateConfigReportResponse();
buildCounterGenerateConfigReportResponse++;
if (buildCounterGenerateConfigReportResponse < 3) {
- o.changeReports = buildUnnamed2838();
- o.diagnostics = buildUnnamed2839();
+ o.changeReports = buildUnnamed2842();
+ o.diagnostics = buildUnnamed2843();
o.id = "foo";
o.serviceName = "foo";
}
@@ -1401,8 +1401,8 @@
checkGenerateConfigReportResponse(api.GenerateConfigReportResponse o) {
buildCounterGenerateConfigReportResponse++;
if (buildCounterGenerateConfigReportResponse < 3) {
- checkUnnamed2838(o.changeReports);
- checkUnnamed2839(o.diagnostics);
+ checkUnnamed2842(o.changeReports);
+ checkUnnamed2843(o.diagnostics);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.serviceName, unittest.equals('foo'));
}
@@ -1447,14 +1447,14 @@
buildCounterGetPolicyOptions--;
}
-buildUnnamed2840() {
+buildUnnamed2844() {
var o = new core.List<api.HttpRule>();
o.add(buildHttpRule());
o.add(buildHttpRule());
return o;
}
-checkUnnamed2840(core.List<api.HttpRule> o) {
+checkUnnamed2844(core.List<api.HttpRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkHttpRule(o[0]);
checkHttpRule(o[1]);
@@ -1466,7 +1466,7 @@
buildCounterHttp++;
if (buildCounterHttp < 3) {
o.fullyDecodeReservedExpansion = true;
- o.rules = buildUnnamed2840();
+ o.rules = buildUnnamed2844();
}
buildCounterHttp--;
return o;
@@ -1476,19 +1476,19 @@
buildCounterHttp++;
if (buildCounterHttp < 3) {
unittest.expect(o.fullyDecodeReservedExpansion, unittest.isTrue);
- checkUnnamed2840(o.rules);
+ checkUnnamed2844(o.rules);
}
buildCounterHttp--;
}
-buildUnnamed2841() {
+buildUnnamed2845() {
var o = new core.List<api.HttpRule>();
o.add(buildHttpRule());
o.add(buildHttpRule());
return o;
}
-checkUnnamed2841(core.List<api.HttpRule> o) {
+checkUnnamed2845(core.List<api.HttpRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkHttpRule(o[0]);
checkHttpRule(o[1]);
@@ -1499,7 +1499,7 @@
var o = new api.HttpRule();
buildCounterHttpRule++;
if (buildCounterHttpRule < 3) {
- o.additionalBindings = buildUnnamed2841();
+ o.additionalBindings = buildUnnamed2845();
o.allowHalfDuplex = true;
o.body = "foo";
o.custom = buildCustomHttpPattern();
@@ -1518,7 +1518,7 @@
checkHttpRule(api.HttpRule o) {
buildCounterHttpRule++;
if (buildCounterHttpRule < 3) {
- checkUnnamed2841(o.additionalBindings);
+ checkUnnamed2845(o.additionalBindings);
unittest.expect(o.allowHalfDuplex, unittest.isTrue);
unittest.expect(o.body, unittest.equals('foo'));
checkCustomHttpPattern(o.custom);
@@ -1579,14 +1579,14 @@
buildCounterLabelDescriptor--;
}
-buildUnnamed2842() {
+buildUnnamed2846() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed2842(core.List<api.Operation> o) {
+checkUnnamed2846(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -1598,7 +1598,7 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
o.nextPageToken = "foo";
- o.operations = buildUnnamed2842();
+ o.operations = buildUnnamed2846();
}
buildCounterListOperationsResponse--;
return o;
@@ -1608,19 +1608,19 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2842(o.operations);
+ checkUnnamed2846(o.operations);
}
buildCounterListOperationsResponse--;
}
-buildUnnamed2843() {
+buildUnnamed2847() {
var o = new core.List<api.Service>();
o.add(buildService());
o.add(buildService());
return o;
}
-checkUnnamed2843(core.List<api.Service> o) {
+checkUnnamed2847(core.List<api.Service> o) {
unittest.expect(o, unittest.hasLength(2));
checkService(o[0]);
checkService(o[1]);
@@ -1632,7 +1632,7 @@
buildCounterListServiceConfigsResponse++;
if (buildCounterListServiceConfigsResponse < 3) {
o.nextPageToken = "foo";
- o.serviceConfigs = buildUnnamed2843();
+ o.serviceConfigs = buildUnnamed2847();
}
buildCounterListServiceConfigsResponse--;
return o;
@@ -1642,19 +1642,19 @@
buildCounterListServiceConfigsResponse++;
if (buildCounterListServiceConfigsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2843(o.serviceConfigs);
+ checkUnnamed2847(o.serviceConfigs);
}
buildCounterListServiceConfigsResponse--;
}
-buildUnnamed2844() {
+buildUnnamed2848() {
var o = new core.List<api.Rollout>();
o.add(buildRollout());
o.add(buildRollout());
return o;
}
-checkUnnamed2844(core.List<api.Rollout> o) {
+checkUnnamed2848(core.List<api.Rollout> o) {
unittest.expect(o, unittest.hasLength(2));
checkRollout(o[0]);
checkRollout(o[1]);
@@ -1666,7 +1666,7 @@
buildCounterListServiceRolloutsResponse++;
if (buildCounterListServiceRolloutsResponse < 3) {
o.nextPageToken = "foo";
- o.rollouts = buildUnnamed2844();
+ o.rollouts = buildUnnamed2848();
}
buildCounterListServiceRolloutsResponse--;
return o;
@@ -1676,19 +1676,19 @@
buildCounterListServiceRolloutsResponse++;
if (buildCounterListServiceRolloutsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2844(o.rollouts);
+ checkUnnamed2848(o.rollouts);
}
buildCounterListServiceRolloutsResponse--;
}
-buildUnnamed2845() {
+buildUnnamed2849() {
var o = new core.List<api.ManagedService>();
o.add(buildManagedService());
o.add(buildManagedService());
return o;
}
-checkUnnamed2845(core.List<api.ManagedService> o) {
+checkUnnamed2849(core.List<api.ManagedService> o) {
unittest.expect(o, unittest.hasLength(2));
checkManagedService(o[0]);
checkManagedService(o[1]);
@@ -1700,7 +1700,7 @@
buildCounterListServicesResponse++;
if (buildCounterListServicesResponse < 3) {
o.nextPageToken = "foo";
- o.services = buildUnnamed2845();
+ o.services = buildUnnamed2849();
}
buildCounterListServicesResponse--;
return o;
@@ -1710,19 +1710,19 @@
buildCounterListServicesResponse++;
if (buildCounterListServicesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2845(o.services);
+ checkUnnamed2849(o.services);
}
buildCounterListServicesResponse--;
}
-buildUnnamed2846() {
+buildUnnamed2850() {
var o = new core.List<api.LabelDescriptor>();
o.add(buildLabelDescriptor());
o.add(buildLabelDescriptor());
return o;
}
-checkUnnamed2846(core.List<api.LabelDescriptor> o) {
+checkUnnamed2850(core.List<api.LabelDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkLabelDescriptor(o[0]);
checkLabelDescriptor(o[1]);
@@ -1735,7 +1735,7 @@
if (buildCounterLogDescriptor < 3) {
o.description = "foo";
o.displayName = "foo";
- o.labels = buildUnnamed2846();
+ o.labels = buildUnnamed2850();
o.name = "foo";
}
buildCounterLogDescriptor--;
@@ -1747,33 +1747,33 @@
if (buildCounterLogDescriptor < 3) {
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed2846(o.labels);
+ checkUnnamed2850(o.labels);
unittest.expect(o.name, unittest.equals('foo'));
}
buildCounterLogDescriptor--;
}
-buildUnnamed2847() {
+buildUnnamed2851() {
var o = new core.List<api.LoggingDestination>();
o.add(buildLoggingDestination());
o.add(buildLoggingDestination());
return o;
}
-checkUnnamed2847(core.List<api.LoggingDestination> o) {
+checkUnnamed2851(core.List<api.LoggingDestination> o) {
unittest.expect(o, unittest.hasLength(2));
checkLoggingDestination(o[0]);
checkLoggingDestination(o[1]);
}
-buildUnnamed2848() {
+buildUnnamed2852() {
var o = new core.List<api.LoggingDestination>();
o.add(buildLoggingDestination());
o.add(buildLoggingDestination());
return o;
}
-checkUnnamed2848(core.List<api.LoggingDestination> o) {
+checkUnnamed2852(core.List<api.LoggingDestination> o) {
unittest.expect(o, unittest.hasLength(2));
checkLoggingDestination(o[0]);
checkLoggingDestination(o[1]);
@@ -1784,8 +1784,8 @@
var o = new api.Logging();
buildCounterLogging++;
if (buildCounterLogging < 3) {
- o.consumerDestinations = buildUnnamed2847();
- o.producerDestinations = buildUnnamed2848();
+ o.consumerDestinations = buildUnnamed2851();
+ o.producerDestinations = buildUnnamed2852();
}
buildCounterLogging--;
return o;
@@ -1794,20 +1794,20 @@
checkLogging(api.Logging o) {
buildCounterLogging++;
if (buildCounterLogging < 3) {
- checkUnnamed2847(o.consumerDestinations);
- checkUnnamed2848(o.producerDestinations);
+ checkUnnamed2851(o.consumerDestinations);
+ checkUnnamed2852(o.producerDestinations);
}
buildCounterLogging--;
}
-buildUnnamed2849() {
+buildUnnamed2853() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2849(core.List<core.String> o) {
+checkUnnamed2853(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1818,7 +1818,7 @@
var o = new api.LoggingDestination();
buildCounterLoggingDestination++;
if (buildCounterLoggingDestination < 3) {
- o.logs = buildUnnamed2849();
+ o.logs = buildUnnamed2853();
o.monitoredResource = "foo";
}
buildCounterLoggingDestination--;
@@ -1828,7 +1828,7 @@
checkLoggingDestination(api.LoggingDestination o) {
buildCounterLoggingDestination++;
if (buildCounterLoggingDestination < 3) {
- checkUnnamed2849(o.logs);
+ checkUnnamed2853(o.logs);
unittest.expect(o.monitoredResource, unittest.equals('foo'));
}
buildCounterLoggingDestination--;
@@ -1855,14 +1855,14 @@
buildCounterManagedService--;
}
-buildUnnamed2850() {
+buildUnnamed2854() {
var o = new core.List<api.Option>();
o.add(buildOption());
o.add(buildOption());
return o;
}
-checkUnnamed2850(core.List<api.Option> o) {
+checkUnnamed2854(core.List<api.Option> o) {
unittest.expect(o, unittest.hasLength(2));
checkOption(o[0]);
checkOption(o[1]);
@@ -1874,7 +1874,7 @@
buildCounterMethod++;
if (buildCounterMethod < 3) {
o.name = "foo";
- o.options = buildUnnamed2850();
+ o.options = buildUnnamed2854();
o.requestStreaming = true;
o.requestTypeUrl = "foo";
o.responseStreaming = true;
@@ -1889,7 +1889,7 @@
buildCounterMethod++;
if (buildCounterMethod < 3) {
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2850(o.options);
+ checkUnnamed2854(o.options);
unittest.expect(o.requestStreaming, unittest.isTrue);
unittest.expect(o.requestTypeUrl, unittest.equals('foo'));
unittest.expect(o.responseStreaming, unittest.isTrue);
@@ -1899,27 +1899,27 @@
buildCounterMethod--;
}
-buildUnnamed2851() {
+buildUnnamed2855() {
var o = new core.List<api.LabelDescriptor>();
o.add(buildLabelDescriptor());
o.add(buildLabelDescriptor());
return o;
}
-checkUnnamed2851(core.List<api.LabelDescriptor> o) {
+checkUnnamed2855(core.List<api.LabelDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkLabelDescriptor(o[0]);
checkLabelDescriptor(o[1]);
}
-buildUnnamed2852() {
+buildUnnamed2856() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2852(core.List<core.String> o) {
+checkUnnamed2856(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1932,11 +1932,11 @@
if (buildCounterMetricDescriptor < 3) {
o.description = "foo";
o.displayName = "foo";
- o.labels = buildUnnamed2851();
+ o.labels = buildUnnamed2855();
o.launchStage = "foo";
o.metadata = buildMetricDescriptorMetadata();
o.metricKind = "foo";
- o.monitoredResourceTypes = buildUnnamed2852();
+ o.monitoredResourceTypes = buildUnnamed2856();
o.name = "foo";
o.type = "foo";
o.unit = "foo";
@@ -1951,11 +1951,11 @@
if (buildCounterMetricDescriptor < 3) {
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed2851(o.labels);
+ checkUnnamed2855(o.labels);
unittest.expect(o.launchStage, unittest.equals('foo'));
checkMetricDescriptorMetadata(o.metadata);
unittest.expect(o.metricKind, unittest.equals('foo'));
- checkUnnamed2852(o.monitoredResourceTypes);
+ checkUnnamed2856(o.monitoredResourceTypes);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
unittest.expect(o.unit, unittest.equals('foo'));
@@ -1987,14 +1987,14 @@
buildCounterMetricDescriptorMetadata--;
}
-buildUnnamed2853() {
+buildUnnamed2857() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2853(core.Map<core.String, core.String> o) {
+checkUnnamed2857(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -2005,7 +2005,7 @@
var o = new api.MetricRule();
buildCounterMetricRule++;
if (buildCounterMetricRule < 3) {
- o.metricCosts = buildUnnamed2853();
+ o.metricCosts = buildUnnamed2857();
o.selector = "foo";
}
buildCounterMetricRule--;
@@ -2015,7 +2015,7 @@
checkMetricRule(api.MetricRule o) {
buildCounterMetricRule++;
if (buildCounterMetricRule < 3) {
- checkUnnamed2853(o.metricCosts);
+ checkUnnamed2857(o.metricCosts);
unittest.expect(o.selector, unittest.equals('foo'));
}
buildCounterMetricRule--;
@@ -2042,14 +2042,14 @@
buildCounterMixin--;
}
-buildUnnamed2854() {
+buildUnnamed2858() {
var o = new core.List<api.LabelDescriptor>();
o.add(buildLabelDescriptor());
o.add(buildLabelDescriptor());
return o;
}
-checkUnnamed2854(core.List<api.LabelDescriptor> o) {
+checkUnnamed2858(core.List<api.LabelDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkLabelDescriptor(o[0]);
checkLabelDescriptor(o[1]);
@@ -2062,7 +2062,7 @@
if (buildCounterMonitoredResourceDescriptor < 3) {
o.description = "foo";
o.displayName = "foo";
- o.labels = buildUnnamed2854();
+ o.labels = buildUnnamed2858();
o.launchStage = "foo";
o.name = "foo";
o.type = "foo";
@@ -2076,7 +2076,7 @@
if (buildCounterMonitoredResourceDescriptor < 3) {
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed2854(o.labels);
+ checkUnnamed2858(o.labels);
unittest.expect(o.launchStage, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
@@ -2084,27 +2084,27 @@
buildCounterMonitoredResourceDescriptor--;
}
-buildUnnamed2855() {
+buildUnnamed2859() {
var o = new core.List<api.MonitoringDestination>();
o.add(buildMonitoringDestination());
o.add(buildMonitoringDestination());
return o;
}
-checkUnnamed2855(core.List<api.MonitoringDestination> o) {
+checkUnnamed2859(core.List<api.MonitoringDestination> o) {
unittest.expect(o, unittest.hasLength(2));
checkMonitoringDestination(o[0]);
checkMonitoringDestination(o[1]);
}
-buildUnnamed2856() {
+buildUnnamed2860() {
var o = new core.List<api.MonitoringDestination>();
o.add(buildMonitoringDestination());
o.add(buildMonitoringDestination());
return o;
}
-checkUnnamed2856(core.List<api.MonitoringDestination> o) {
+checkUnnamed2860(core.List<api.MonitoringDestination> o) {
unittest.expect(o, unittest.hasLength(2));
checkMonitoringDestination(o[0]);
checkMonitoringDestination(o[1]);
@@ -2115,8 +2115,8 @@
var o = new api.Monitoring();
buildCounterMonitoring++;
if (buildCounterMonitoring < 3) {
- o.consumerDestinations = buildUnnamed2855();
- o.producerDestinations = buildUnnamed2856();
+ o.consumerDestinations = buildUnnamed2859();
+ o.producerDestinations = buildUnnamed2860();
}
buildCounterMonitoring--;
return o;
@@ -2125,20 +2125,20 @@
checkMonitoring(api.Monitoring o) {
buildCounterMonitoring++;
if (buildCounterMonitoring < 3) {
- checkUnnamed2855(o.consumerDestinations);
- checkUnnamed2856(o.producerDestinations);
+ checkUnnamed2859(o.consumerDestinations);
+ checkUnnamed2860(o.producerDestinations);
}
buildCounterMonitoring--;
}
-buildUnnamed2857() {
+buildUnnamed2861() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2857(core.List<core.String> o) {
+checkUnnamed2861(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2149,7 +2149,7 @@
var o = new api.MonitoringDestination();
buildCounterMonitoringDestination++;
if (buildCounterMonitoringDestination < 3) {
- o.metrics = buildUnnamed2857();
+ o.metrics = buildUnnamed2861();
o.monitoredResource = "foo";
}
buildCounterMonitoringDestination--;
@@ -2159,7 +2159,7 @@
checkMonitoringDestination(api.MonitoringDestination o) {
buildCounterMonitoringDestination++;
if (buildCounterMonitoringDestination < 3) {
- checkUnnamed2857(o.metrics);
+ checkUnnamed2861(o.metrics);
unittest.expect(o.monitoredResource, unittest.equals('foo'));
}
buildCounterMonitoringDestination--;
@@ -2184,7 +2184,7 @@
buildCounterOAuthRequirements--;
}
-buildUnnamed2858() {
+buildUnnamed2862() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -2199,7 +2199,7 @@
return o;
}
-checkUnnamed2858(core.Map<core.String, core.Object> o) {
+checkUnnamed2862(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted5 = (o["x"]) as core.Map;
unittest.expect(casted5, unittest.hasLength(3));
@@ -2213,7 +2213,7 @@
unittest.expect(casted6["string"], unittest.equals('foo'));
}
-buildUnnamed2859() {
+buildUnnamed2863() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -2228,7 +2228,7 @@
return o;
}
-checkUnnamed2859(core.Map<core.String, core.Object> o) {
+checkUnnamed2863(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted7 = (o["x"]) as core.Map;
unittest.expect(casted7, unittest.hasLength(3));
@@ -2249,9 +2249,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed2858();
+ o.metadata = buildUnnamed2862();
o.name = "foo";
- o.response = buildUnnamed2859();
+ o.response = buildUnnamed2863();
}
buildCounterOperation--;
return o;
@@ -2262,34 +2262,34 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed2858(o.metadata);
+ checkUnnamed2862(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2859(o.response);
+ checkUnnamed2863(o.response);
}
buildCounterOperation--;
}
-buildUnnamed2860() {
+buildUnnamed2864() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2860(core.List<core.String> o) {
+checkUnnamed2864(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2861() {
+buildUnnamed2865() {
var o = new core.List<api.Step>();
o.add(buildStep());
o.add(buildStep());
return o;
}
-checkUnnamed2861(core.List<api.Step> o) {
+checkUnnamed2865(core.List<api.Step> o) {
unittest.expect(o, unittest.hasLength(2));
checkStep(o[0]);
checkStep(o[1]);
@@ -2301,9 +2301,9 @@
buildCounterOperationMetadata++;
if (buildCounterOperationMetadata < 3) {
o.progressPercentage = 42;
- o.resourceNames = buildUnnamed2860();
+ o.resourceNames = buildUnnamed2864();
o.startTime = "foo";
- o.steps = buildUnnamed2861();
+ o.steps = buildUnnamed2865();
}
buildCounterOperationMetadata--;
return o;
@@ -2313,14 +2313,14 @@
buildCounterOperationMetadata++;
if (buildCounterOperationMetadata < 3) {
unittest.expect(o.progressPercentage, unittest.equals(42));
- checkUnnamed2860(o.resourceNames);
+ checkUnnamed2864(o.resourceNames);
unittest.expect(o.startTime, unittest.equals('foo'));
- checkUnnamed2861(o.steps);
+ checkUnnamed2865(o.steps);
}
buildCounterOperationMetadata--;
}
-buildUnnamed2862() {
+buildUnnamed2866() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -2335,7 +2335,7 @@
return o;
}
-checkUnnamed2862(core.Map<core.String, core.Object> o) {
+checkUnnamed2866(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted9 = (o["x"]) as core.Map;
unittest.expect(casted9, unittest.hasLength(3));
@@ -2355,7 +2355,7 @@
buildCounterOption++;
if (buildCounterOption < 3) {
o.name = "foo";
- o.value = buildUnnamed2862();
+ o.value = buildUnnamed2866();
}
buildCounterOption--;
return o;
@@ -2365,19 +2365,19 @@
buildCounterOption++;
if (buildCounterOption < 3) {
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2862(o.value);
+ checkUnnamed2866(o.value);
}
buildCounterOption--;
}
-buildUnnamed2863() {
+buildUnnamed2867() {
var o = new core.List<api.Page>();
o.add(buildPage());
o.add(buildPage());
return o;
}
-checkUnnamed2863(core.List<api.Page> o) {
+checkUnnamed2867(core.List<api.Page> o) {
unittest.expect(o, unittest.hasLength(2));
checkPage(o[0]);
checkPage(o[1]);
@@ -2390,7 +2390,7 @@
if (buildCounterPage < 3) {
o.content = "foo";
o.name = "foo";
- o.subpages = buildUnnamed2863();
+ o.subpages = buildUnnamed2867();
}
buildCounterPage--;
return o;
@@ -2401,32 +2401,32 @@
if (buildCounterPage < 3) {
unittest.expect(o.content, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2863(o.subpages);
+ checkUnnamed2867(o.subpages);
}
buildCounterPage--;
}
-buildUnnamed2864() {
+buildUnnamed2868() {
var o = new core.List<api.AuditConfig>();
o.add(buildAuditConfig());
o.add(buildAuditConfig());
return o;
}
-checkUnnamed2864(core.List<api.AuditConfig> o) {
+checkUnnamed2868(core.List<api.AuditConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuditConfig(o[0]);
checkAuditConfig(o[1]);
}
-buildUnnamed2865() {
+buildUnnamed2869() {
var o = new core.List<api.Binding>();
o.add(buildBinding());
o.add(buildBinding());
return o;
}
-checkUnnamed2865(core.List<api.Binding> o) {
+checkUnnamed2869(core.List<api.Binding> o) {
unittest.expect(o, unittest.hasLength(2));
checkBinding(o[0]);
checkBinding(o[1]);
@@ -2437,8 +2437,8 @@
var o = new api.Policy();
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- o.auditConfigs = buildUnnamed2864();
- o.bindings = buildUnnamed2865();
+ o.auditConfigs = buildUnnamed2868();
+ o.bindings = buildUnnamed2869();
o.etag = "foo";
o.version = 42;
}
@@ -2449,35 +2449,35 @@
checkPolicy(api.Policy o) {
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- checkUnnamed2864(o.auditConfigs);
- checkUnnamed2865(o.bindings);
+ checkUnnamed2868(o.auditConfigs);
+ checkUnnamed2869(o.bindings);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals(42));
}
buildCounterPolicy--;
}
-buildUnnamed2866() {
+buildUnnamed2870() {
var o = new core.List<api.QuotaLimit>();
o.add(buildQuotaLimit());
o.add(buildQuotaLimit());
return o;
}
-checkUnnamed2866(core.List<api.QuotaLimit> o) {
+checkUnnamed2870(core.List<api.QuotaLimit> o) {
unittest.expect(o, unittest.hasLength(2));
checkQuotaLimit(o[0]);
checkQuotaLimit(o[1]);
}
-buildUnnamed2867() {
+buildUnnamed2871() {
var o = new core.List<api.MetricRule>();
o.add(buildMetricRule());
o.add(buildMetricRule());
return o;
}
-checkUnnamed2867(core.List<api.MetricRule> o) {
+checkUnnamed2871(core.List<api.MetricRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetricRule(o[0]);
checkMetricRule(o[1]);
@@ -2488,8 +2488,8 @@
var o = new api.Quota();
buildCounterQuota++;
if (buildCounterQuota < 3) {
- o.limits = buildUnnamed2866();
- o.metricRules = buildUnnamed2867();
+ o.limits = buildUnnamed2870();
+ o.metricRules = buildUnnamed2871();
}
buildCounterQuota--;
return o;
@@ -2498,20 +2498,20 @@
checkQuota(api.Quota o) {
buildCounterQuota++;
if (buildCounterQuota < 3) {
- checkUnnamed2866(o.limits);
- checkUnnamed2867(o.metricRules);
+ checkUnnamed2870(o.limits);
+ checkUnnamed2871(o.metricRules);
}
buildCounterQuota--;
}
-buildUnnamed2868() {
+buildUnnamed2872() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2868(core.Map<core.String, core.String> o) {
+checkUnnamed2872(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -2531,7 +2531,7 @@
o.metric = "foo";
o.name = "foo";
o.unit = "foo";
- o.values = buildUnnamed2868();
+ o.values = buildUnnamed2872();
}
buildCounterQuotaLimit--;
return o;
@@ -2549,7 +2549,7 @@
unittest.expect(o.metric, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.unit, unittest.equals('foo'));
- checkUnnamed2868(o.values);
+ checkUnnamed2872(o.values);
}
buildCounterQuotaLimit--;
}
@@ -2606,105 +2606,105 @@
buildCounterRollout--;
}
-buildUnnamed2869() {
+buildUnnamed2873() {
var o = new core.List<api.Api>();
o.add(buildApi());
o.add(buildApi());
return o;
}
-checkUnnamed2869(core.List<api.Api> o) {
+checkUnnamed2873(core.List<api.Api> o) {
unittest.expect(o, unittest.hasLength(2));
checkApi(o[0]);
checkApi(o[1]);
}
-buildUnnamed2870() {
+buildUnnamed2874() {
var o = new core.List<api.Endpoint>();
o.add(buildEndpoint());
o.add(buildEndpoint());
return o;
}
-checkUnnamed2870(core.List<api.Endpoint> o) {
+checkUnnamed2874(core.List<api.Endpoint> o) {
unittest.expect(o, unittest.hasLength(2));
checkEndpoint(o[0]);
checkEndpoint(o[1]);
}
-buildUnnamed2871() {
+buildUnnamed2875() {
var o = new core.List<api.Enum>();
o.add(buildEnum());
o.add(buildEnum());
return o;
}
-checkUnnamed2871(core.List<api.Enum> o) {
+checkUnnamed2875(core.List<api.Enum> o) {
unittest.expect(o, unittest.hasLength(2));
checkEnum(o[0]);
checkEnum(o[1]);
}
-buildUnnamed2872() {
+buildUnnamed2876() {
var o = new core.List<api.LogDescriptor>();
o.add(buildLogDescriptor());
o.add(buildLogDescriptor());
return o;
}
-checkUnnamed2872(core.List<api.LogDescriptor> o) {
+checkUnnamed2876(core.List<api.LogDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkLogDescriptor(o[0]);
checkLogDescriptor(o[1]);
}
-buildUnnamed2873() {
+buildUnnamed2877() {
var o = new core.List<api.MetricDescriptor>();
o.add(buildMetricDescriptor());
o.add(buildMetricDescriptor());
return o;
}
-checkUnnamed2873(core.List<api.MetricDescriptor> o) {
+checkUnnamed2877(core.List<api.MetricDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetricDescriptor(o[0]);
checkMetricDescriptor(o[1]);
}
-buildUnnamed2874() {
+buildUnnamed2878() {
var o = new core.List<api.MonitoredResourceDescriptor>();
o.add(buildMonitoredResourceDescriptor());
o.add(buildMonitoredResourceDescriptor());
return o;
}
-checkUnnamed2874(core.List<api.MonitoredResourceDescriptor> o) {
+checkUnnamed2878(core.List<api.MonitoredResourceDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkMonitoredResourceDescriptor(o[0]);
checkMonitoredResourceDescriptor(o[1]);
}
-buildUnnamed2875() {
+buildUnnamed2879() {
var o = new core.List<api.Type>();
o.add(buildType());
o.add(buildType());
return o;
}
-checkUnnamed2875(core.List<api.Type> o) {
+checkUnnamed2879(core.List<api.Type> o) {
unittest.expect(o, unittest.hasLength(2));
checkType(o[0]);
checkType(o[1]);
}
-buildUnnamed2876() {
+buildUnnamed2880() {
var o = new core.List<api.Type>();
o.add(buildType());
o.add(buildType());
return o;
}
-checkUnnamed2876(core.List<api.Type> o) {
+checkUnnamed2880(core.List<api.Type> o) {
unittest.expect(o, unittest.hasLength(2));
checkType(o[0]);
checkType(o[1]);
@@ -2715,7 +2715,7 @@
var o = new api.Service();
buildCounterService++;
if (buildCounterService < 3) {
- o.apis = buildUnnamed2869();
+ o.apis = buildUnnamed2873();
o.authentication = buildAuthentication();
o.backend = buildBackend();
o.billing = buildBilling();
@@ -2724,23 +2724,23 @@
o.control = buildControl();
o.customError = buildCustomError();
o.documentation = buildDocumentation();
- o.endpoints = buildUnnamed2870();
- o.enums = buildUnnamed2871();
+ o.endpoints = buildUnnamed2874();
+ o.enums = buildUnnamed2875();
o.http = buildHttp();
o.id = "foo";
o.logging = buildLogging();
- o.logs = buildUnnamed2872();
- o.metrics = buildUnnamed2873();
- o.monitoredResources = buildUnnamed2874();
+ o.logs = buildUnnamed2876();
+ o.metrics = buildUnnamed2877();
+ o.monitoredResources = buildUnnamed2878();
o.monitoring = buildMonitoring();
o.name = "foo";
o.producerProjectId = "foo";
o.quota = buildQuota();
o.sourceInfo = buildSourceInfo();
o.systemParameters = buildSystemParameters();
- o.systemTypes = buildUnnamed2875();
+ o.systemTypes = buildUnnamed2879();
o.title = "foo";
- o.types = buildUnnamed2876();
+ o.types = buildUnnamed2880();
o.usage = buildUsage();
}
buildCounterService--;
@@ -2750,7 +2750,7 @@
checkService(api.Service o) {
buildCounterService++;
if (buildCounterService < 3) {
- checkUnnamed2869(o.apis);
+ checkUnnamed2873(o.apis);
checkAuthentication(o.authentication);
checkBackend(o.backend);
checkBilling(o.billing);
@@ -2759,23 +2759,23 @@
checkControl(o.control);
checkCustomError(o.customError);
checkDocumentation(o.documentation);
- checkUnnamed2870(o.endpoints);
- checkUnnamed2871(o.enums);
+ checkUnnamed2874(o.endpoints);
+ checkUnnamed2875(o.enums);
checkHttp(o.http);
unittest.expect(o.id, unittest.equals('foo'));
checkLogging(o.logging);
- checkUnnamed2872(o.logs);
- checkUnnamed2873(o.metrics);
- checkUnnamed2874(o.monitoredResources);
+ checkUnnamed2876(o.logs);
+ checkUnnamed2877(o.metrics);
+ checkUnnamed2878(o.monitoredResources);
checkMonitoring(o.monitoring);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.producerProjectId, unittest.equals('foo'));
checkQuota(o.quota);
checkSourceInfo(o.sourceInfo);
checkSystemParameters(o.systemParameters);
- checkUnnamed2875(o.systemTypes);
+ checkUnnamed2879(o.systemTypes);
unittest.expect(o.title, unittest.equals('foo'));
- checkUnnamed2876(o.types);
+ checkUnnamed2880(o.types);
checkUsage(o.usage);
}
buildCounterService--;
@@ -2844,7 +2844,7 @@
buildCounterSourceContext--;
}
-buildUnnamed2877() {
+buildUnnamed2881() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -2859,7 +2859,7 @@
return o;
}
-checkUnnamed2877(core.Map<core.String, core.Object> o) {
+checkUnnamed2881(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted11 = (o["x"]) as core.Map;
unittest.expect(casted11, unittest.hasLength(3));
@@ -2873,17 +2873,17 @@
unittest.expect(casted12["string"], unittest.equals('foo'));
}
-buildUnnamed2878() {
+buildUnnamed2882() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed2877());
- o.add(buildUnnamed2877());
+ o.add(buildUnnamed2881());
+ o.add(buildUnnamed2881());
return o;
}
-checkUnnamed2878(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed2882(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2877(o[0]);
- checkUnnamed2877(o[1]);
+ checkUnnamed2881(o[0]);
+ checkUnnamed2881(o[1]);
}
core.int buildCounterSourceInfo = 0;
@@ -2891,7 +2891,7 @@
var o = new api.SourceInfo();
buildCounterSourceInfo++;
if (buildCounterSourceInfo < 3) {
- o.sourceFiles = buildUnnamed2878();
+ o.sourceFiles = buildUnnamed2882();
}
buildCounterSourceInfo--;
return o;
@@ -2900,12 +2900,12 @@
checkSourceInfo(api.SourceInfo o) {
buildCounterSourceInfo++;
if (buildCounterSourceInfo < 3) {
- checkUnnamed2878(o.sourceFiles);
+ checkUnnamed2882(o.sourceFiles);
}
buildCounterSourceInfo--;
}
-buildUnnamed2879() {
+buildUnnamed2883() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -2920,7 +2920,7 @@
return o;
}
-checkUnnamed2879(core.Map<core.String, core.Object> o) {
+checkUnnamed2883(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted13 = (o["x"]) as core.Map;
unittest.expect(casted13, unittest.hasLength(3));
@@ -2934,17 +2934,17 @@
unittest.expect(casted14["string"], unittest.equals('foo'));
}
-buildUnnamed2880() {
+buildUnnamed2884() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed2879());
- o.add(buildUnnamed2879());
+ o.add(buildUnnamed2883());
+ o.add(buildUnnamed2883());
return o;
}
-checkUnnamed2880(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed2884(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2879(o[0]);
- checkUnnamed2879(o[1]);
+ checkUnnamed2883(o[0]);
+ checkUnnamed2883(o[1]);
}
core.int buildCounterStatus = 0;
@@ -2953,7 +2953,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed2880();
+ o.details = buildUnnamed2884();
o.message = "foo";
}
buildCounterStatus--;
@@ -2964,7 +2964,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed2880(o.details);
+ checkUnnamed2884(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
@@ -3054,14 +3054,14 @@
buildCounterSystemParameter--;
}
-buildUnnamed2881() {
+buildUnnamed2885() {
var o = new core.List<api.SystemParameter>();
o.add(buildSystemParameter());
o.add(buildSystemParameter());
return o;
}
-checkUnnamed2881(core.List<api.SystemParameter> o) {
+checkUnnamed2885(core.List<api.SystemParameter> o) {
unittest.expect(o, unittest.hasLength(2));
checkSystemParameter(o[0]);
checkSystemParameter(o[1]);
@@ -3072,7 +3072,7 @@
var o = new api.SystemParameterRule();
buildCounterSystemParameterRule++;
if (buildCounterSystemParameterRule < 3) {
- o.parameters = buildUnnamed2881();
+ o.parameters = buildUnnamed2885();
o.selector = "foo";
}
buildCounterSystemParameterRule--;
@@ -3082,20 +3082,20 @@
checkSystemParameterRule(api.SystemParameterRule o) {
buildCounterSystemParameterRule++;
if (buildCounterSystemParameterRule < 3) {
- checkUnnamed2881(o.parameters);
+ checkUnnamed2885(o.parameters);
unittest.expect(o.selector, unittest.equals('foo'));
}
buildCounterSystemParameterRule--;
}
-buildUnnamed2882() {
+buildUnnamed2886() {
var o = new core.List<api.SystemParameterRule>();
o.add(buildSystemParameterRule());
o.add(buildSystemParameterRule());
return o;
}
-checkUnnamed2882(core.List<api.SystemParameterRule> o) {
+checkUnnamed2886(core.List<api.SystemParameterRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkSystemParameterRule(o[0]);
checkSystemParameterRule(o[1]);
@@ -3106,7 +3106,7 @@
var o = new api.SystemParameters();
buildCounterSystemParameters++;
if (buildCounterSystemParameters < 3) {
- o.rules = buildUnnamed2882();
+ o.rules = buildUnnamed2886();
}
buildCounterSystemParameters--;
return o;
@@ -3115,120 +3115,11 @@
checkSystemParameters(api.SystemParameters o) {
buildCounterSystemParameters++;
if (buildCounterSystemParameters < 3) {
- checkUnnamed2882(o.rules);
+ checkUnnamed2886(o.rules);
}
buildCounterSystemParameters--;
}
-buildUnnamed2883() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2883(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-core.int buildCounterTestIamPermissionsRequest = 0;
-buildTestIamPermissionsRequest() {
- var o = new api.TestIamPermissionsRequest();
- buildCounterTestIamPermissionsRequest++;
- if (buildCounterTestIamPermissionsRequest < 3) {
- o.permissions = buildUnnamed2883();
- }
- buildCounterTestIamPermissionsRequest--;
- return o;
-}
-
-checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) {
- buildCounterTestIamPermissionsRequest++;
- if (buildCounterTestIamPermissionsRequest < 3) {
- checkUnnamed2883(o.permissions);
- }
- buildCounterTestIamPermissionsRequest--;
-}
-
-buildUnnamed2884() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2884(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-core.int buildCounterTestIamPermissionsResponse = 0;
-buildTestIamPermissionsResponse() {
- var o = new api.TestIamPermissionsResponse();
- buildCounterTestIamPermissionsResponse++;
- if (buildCounterTestIamPermissionsResponse < 3) {
- o.permissions = buildUnnamed2884();
- }
- buildCounterTestIamPermissionsResponse--;
- return o;
-}
-
-checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) {
- buildCounterTestIamPermissionsResponse++;
- if (buildCounterTestIamPermissionsResponse < 3) {
- checkUnnamed2884(o.permissions);
- }
- buildCounterTestIamPermissionsResponse--;
-}
-
-buildUnnamed2885() {
- var o = new core.Map<core.String, core.double>();
- o["x"] = 42.0;
- o["y"] = 42.0;
- return o;
-}
-
-checkUnnamed2885(core.Map<core.String, core.double> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o["x"], unittest.equals(42.0));
- unittest.expect(o["y"], unittest.equals(42.0));
-}
-
-core.int buildCounterTrafficPercentStrategy = 0;
-buildTrafficPercentStrategy() {
- var o = new api.TrafficPercentStrategy();
- buildCounterTrafficPercentStrategy++;
- if (buildCounterTrafficPercentStrategy < 3) {
- o.percentages = buildUnnamed2885();
- }
- buildCounterTrafficPercentStrategy--;
- return o;
-}
-
-checkTrafficPercentStrategy(api.TrafficPercentStrategy o) {
- buildCounterTrafficPercentStrategy++;
- if (buildCounterTrafficPercentStrategy < 3) {
- checkUnnamed2885(o.percentages);
- }
- buildCounterTrafficPercentStrategy--;
-}
-
-buildUnnamed2886() {
- var o = new core.List<api.Field>();
- o.add(buildField());
- o.add(buildField());
- return o;
-}
-
-checkUnnamed2886(core.List<api.Field> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkField(o[0]);
- checkField(o[1]);
-}
-
buildUnnamed2887() {
var o = new core.List<core.String>();
o.add("foo");
@@ -3242,14 +3133,123 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+core.int buildCounterTestIamPermissionsRequest = 0;
+buildTestIamPermissionsRequest() {
+ var o = new api.TestIamPermissionsRequest();
+ buildCounterTestIamPermissionsRequest++;
+ if (buildCounterTestIamPermissionsRequest < 3) {
+ o.permissions = buildUnnamed2887();
+ }
+ buildCounterTestIamPermissionsRequest--;
+ return o;
+}
+
+checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) {
+ buildCounterTestIamPermissionsRequest++;
+ if (buildCounterTestIamPermissionsRequest < 3) {
+ checkUnnamed2887(o.permissions);
+ }
+ buildCounterTestIamPermissionsRequest--;
+}
+
buildUnnamed2888() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2888(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+core.int buildCounterTestIamPermissionsResponse = 0;
+buildTestIamPermissionsResponse() {
+ var o = new api.TestIamPermissionsResponse();
+ buildCounterTestIamPermissionsResponse++;
+ if (buildCounterTestIamPermissionsResponse < 3) {
+ o.permissions = buildUnnamed2888();
+ }
+ buildCounterTestIamPermissionsResponse--;
+ return o;
+}
+
+checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) {
+ buildCounterTestIamPermissionsResponse++;
+ if (buildCounterTestIamPermissionsResponse < 3) {
+ checkUnnamed2888(o.permissions);
+ }
+ buildCounterTestIamPermissionsResponse--;
+}
+
+buildUnnamed2889() {
+ var o = new core.Map<core.String, core.double>();
+ o["x"] = 42.0;
+ o["y"] = 42.0;
+ return o;
+}
+
+checkUnnamed2889(core.Map<core.String, core.double> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o["x"], unittest.equals(42.0));
+ unittest.expect(o["y"], unittest.equals(42.0));
+}
+
+core.int buildCounterTrafficPercentStrategy = 0;
+buildTrafficPercentStrategy() {
+ var o = new api.TrafficPercentStrategy();
+ buildCounterTrafficPercentStrategy++;
+ if (buildCounterTrafficPercentStrategy < 3) {
+ o.percentages = buildUnnamed2889();
+ }
+ buildCounterTrafficPercentStrategy--;
+ return o;
+}
+
+checkTrafficPercentStrategy(api.TrafficPercentStrategy o) {
+ buildCounterTrafficPercentStrategy++;
+ if (buildCounterTrafficPercentStrategy < 3) {
+ checkUnnamed2889(o.percentages);
+ }
+ buildCounterTrafficPercentStrategy--;
+}
+
+buildUnnamed2890() {
+ var o = new core.List<api.Field>();
+ o.add(buildField());
+ o.add(buildField());
+ return o;
+}
+
+checkUnnamed2890(core.List<api.Field> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkField(o[0]);
+ checkField(o[1]);
+}
+
+buildUnnamed2891() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2891(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed2892() {
var o = new core.List<api.Option>();
o.add(buildOption());
o.add(buildOption());
return o;
}
-checkUnnamed2888(core.List<api.Option> o) {
+checkUnnamed2892(core.List<api.Option> o) {
unittest.expect(o, unittest.hasLength(2));
checkOption(o[0]);
checkOption(o[1]);
@@ -3260,10 +3260,10 @@
var o = new api.Type();
buildCounterType++;
if (buildCounterType < 3) {
- o.fields = buildUnnamed2886();
+ o.fields = buildUnnamed2890();
o.name = "foo";
- o.oneofs = buildUnnamed2887();
- o.options = buildUnnamed2888();
+ o.oneofs = buildUnnamed2891();
+ o.options = buildUnnamed2892();
o.sourceContext = buildSourceContext();
o.syntax = "foo";
}
@@ -3274,10 +3274,10 @@
checkType(api.Type o) {
buildCounterType++;
if (buildCounterType < 3) {
- checkUnnamed2886(o.fields);
+ checkUnnamed2890(o.fields);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2887(o.oneofs);
- checkUnnamed2888(o.options);
+ checkUnnamed2891(o.oneofs);
+ checkUnnamed2892(o.options);
checkSourceContext(o.sourceContext);
unittest.expect(o.syntax, unittest.equals('foo'));
}
@@ -3303,27 +3303,27 @@
buildCounterUndeleteServiceResponse--;
}
-buildUnnamed2889() {
+buildUnnamed2893() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2889(core.List<core.String> o) {
+checkUnnamed2893(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2890() {
+buildUnnamed2894() {
var o = new core.List<api.UsageRule>();
o.add(buildUsageRule());
o.add(buildUsageRule());
return o;
}
-checkUnnamed2890(core.List<api.UsageRule> o) {
+checkUnnamed2894(core.List<api.UsageRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkUsageRule(o[0]);
checkUsageRule(o[1]);
@@ -3335,8 +3335,8 @@
buildCounterUsage++;
if (buildCounterUsage < 3) {
o.producerNotificationChannel = "foo";
- o.requirements = buildUnnamed2889();
- o.rules = buildUnnamed2890();
+ o.requirements = buildUnnamed2893();
+ o.rules = buildUnnamed2894();
o.serviceIdentity = buildServiceIdentity();
}
buildCounterUsage--;
@@ -3347,8 +3347,8 @@
buildCounterUsage++;
if (buildCounterUsage < 3) {
unittest.expect(o.producerNotificationChannel, unittest.equals('foo'));
- checkUnnamed2889(o.requirements);
- checkUnnamed2890(o.rules);
+ checkUnnamed2893(o.requirements);
+ checkUnnamed2894(o.rules);
checkServiceIdentity(o.serviceIdentity);
}
buildCounterUsage--;
@@ -4155,10 +4155,10 @@
var mock = new HttpServerMock();
api.OperationsResourceApi res =
new api.ServicemanagementApi(mock).operations;
- var arg_filter = "foo";
- var arg_name = "foo";
var arg_pageSize = 42;
+ var arg_name = "foo";
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;
@@ -4190,12 +4190,12 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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 = {
@@ -4206,10 +4206,10 @@
}), true);
res
.list(
- filter: arg_filter,
- name: arg_name,
pageSize: arg_pageSize,
+ name: arg_name,
pageToken: arg_pageToken,
+ filter: arg_filter,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListOperationsResponse(response);
@@ -4616,10 +4616,10 @@
unittest.test("method--list", () {
var mock = new HttpServerMock();
api.ServicesResourceApi res = new api.ServicemanagementApi(mock).services;
- var arg_consumerId = "foo";
- var arg_producerProjectId = "foo";
var arg_pageToken = "foo";
var arg_pageSize = 42;
+ var arg_producerProjectId = "foo";
+ var arg_consumerId = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -4652,13 +4652,13 @@
}
}
unittest.expect(
- queryMap["consumerId"].first, unittest.equals(arg_consumerId));
- unittest.expect(queryMap["producerProjectId"].first,
- unittest.equals(arg_producerProjectId));
- unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ 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 = {
@@ -4669,10 +4669,10 @@
}), true);
res
.list(
- consumerId: arg_consumerId,
- producerProjectId: arg_producerProjectId,
pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ producerProjectId: arg_producerProjectId,
+ consumerId: arg_consumerId,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListServicesResponse(response);
@@ -5419,9 +5419,9 @@
api.ServicesRolloutsResourceApi res =
new api.ServicemanagementApi(mock).services.rollouts;
var arg_serviceName = "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;
@@ -5462,11 +5462,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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 = {
@@ -5477,9 +5477,9 @@
}), true);
res
.list(arg_serviceName,
- pageToken: arg_pageToken,
filter: arg_filter,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListServiceRolloutsResponse(response);
diff --git a/generated/googleapis/test/servicenetworking/v1_test.dart b/generated/googleapis/test/servicenetworking/v1_test.dart
index 48f7d28..14d3a24 100644
--- a/generated/googleapis/test/servicenetworking/v1_test.dart
+++ b/generated/googleapis/test/servicenetworking/v1_test.dart
@@ -162,40 +162,6 @@
buildCounterAddRolesMetadata--;
}
-buildUnnamed410() {
- var o = new core.List<api.PolicyBinding>();
- o.add(buildPolicyBinding());
- o.add(buildPolicyBinding());
- return o;
-}
-
-checkUnnamed410(core.List<api.PolicyBinding> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkPolicyBinding(o[0]);
- checkPolicyBinding(o[1]);
-}
-
-core.int buildCounterAddRolesRequest = 0;
-buildAddRolesRequest() {
- var o = new api.AddRolesRequest();
- buildCounterAddRolesRequest++;
- if (buildCounterAddRolesRequest < 3) {
- o.consumerNetwork = "foo";
- o.policyBinding = buildUnnamed410();
- }
- buildCounterAddRolesRequest--;
- return o;
-}
-
-checkAddRolesRequest(api.AddRolesRequest o) {
- buildCounterAddRolesRequest++;
- if (buildCounterAddRolesRequest < 3) {
- unittest.expect(o.consumerNetwork, unittest.equals('foo'));
- checkUnnamed410(o.policyBinding);
- }
- buildCounterAddRolesRequest--;
-}
-
buildUnnamed411() {
var o = new core.List<api.PolicyBinding>();
o.add(buildPolicyBinding());
@@ -209,12 +175,46 @@
checkPolicyBinding(o[1]);
}
+core.int buildCounterAddRolesRequest = 0;
+buildAddRolesRequest() {
+ var o = new api.AddRolesRequest();
+ buildCounterAddRolesRequest++;
+ if (buildCounterAddRolesRequest < 3) {
+ o.consumerNetwork = "foo";
+ o.policyBinding = buildUnnamed411();
+ }
+ buildCounterAddRolesRequest--;
+ return o;
+}
+
+checkAddRolesRequest(api.AddRolesRequest o) {
+ buildCounterAddRolesRequest++;
+ if (buildCounterAddRolesRequest < 3) {
+ unittest.expect(o.consumerNetwork, unittest.equals('foo'));
+ checkUnnamed411(o.policyBinding);
+ }
+ buildCounterAddRolesRequest--;
+}
+
+buildUnnamed412() {
+ var o = new core.List<api.PolicyBinding>();
+ o.add(buildPolicyBinding());
+ o.add(buildPolicyBinding());
+ return o;
+}
+
+checkUnnamed412(core.List<api.PolicyBinding> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkPolicyBinding(o[0]);
+ checkPolicyBinding(o[1]);
+}
+
core.int buildCounterAddRolesResponse = 0;
buildAddRolesResponse() {
var o = new api.AddRolesResponse();
buildCounterAddRolesResponse++;
if (buildCounterAddRolesResponse < 3) {
- o.policyBinding = buildUnnamed411();
+ o.policyBinding = buildUnnamed412();
}
buildCounterAddRolesResponse--;
return o;
@@ -223,19 +223,19 @@
checkAddRolesResponse(api.AddRolesResponse o) {
buildCounterAddRolesResponse++;
if (buildCounterAddRolesResponse < 3) {
- checkUnnamed411(o.policyBinding);
+ checkUnnamed412(o.policyBinding);
}
buildCounterAddRolesResponse--;
}
-buildUnnamed412() {
+buildUnnamed413() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed412(core.List<core.String> o) {
+checkUnnamed413(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -253,7 +253,7 @@
o.region = "foo";
o.requestedAddress = "foo";
o.subnetwork = "foo";
- o.subnetworkUsers = buildUnnamed412();
+ o.subnetworkUsers = buildUnnamed413();
}
buildCounterAddSubnetworkRequest--;
return o;
@@ -269,45 +269,45 @@
unittest.expect(o.region, unittest.equals('foo'));
unittest.expect(o.requestedAddress, unittest.equals('foo'));
unittest.expect(o.subnetwork, unittest.equals('foo'));
- checkUnnamed412(o.subnetworkUsers);
+ checkUnnamed413(o.subnetworkUsers);
}
buildCounterAddSubnetworkRequest--;
}
-buildUnnamed413() {
+buildUnnamed414() {
var o = new core.List<api.Method>();
o.add(buildMethod());
o.add(buildMethod());
return o;
}
-checkUnnamed413(core.List<api.Method> o) {
+checkUnnamed414(core.List<api.Method> o) {
unittest.expect(o, unittest.hasLength(2));
checkMethod(o[0]);
checkMethod(o[1]);
}
-buildUnnamed414() {
+buildUnnamed415() {
var o = new core.List<api.Mixin>();
o.add(buildMixin());
o.add(buildMixin());
return o;
}
-checkUnnamed414(core.List<api.Mixin> o) {
+checkUnnamed415(core.List<api.Mixin> o) {
unittest.expect(o, unittest.hasLength(2));
checkMixin(o[0]);
checkMixin(o[1]);
}
-buildUnnamed415() {
+buildUnnamed416() {
var o = new core.List<api.Option>();
o.add(buildOption());
o.add(buildOption());
return o;
}
-checkUnnamed415(core.List<api.Option> o) {
+checkUnnamed416(core.List<api.Option> o) {
unittest.expect(o, unittest.hasLength(2));
checkOption(o[0]);
checkOption(o[1]);
@@ -318,10 +318,10 @@
var o = new api.Api();
buildCounterApi++;
if (buildCounterApi < 3) {
- o.methods = buildUnnamed413();
- o.mixins = buildUnnamed414();
+ o.methods = buildUnnamed414();
+ o.mixins = buildUnnamed415();
o.name = "foo";
- o.options = buildUnnamed415();
+ o.options = buildUnnamed416();
o.sourceContext = buildSourceContext();
o.syntax = "foo";
o.version = "foo";
@@ -333,10 +333,10 @@
checkApi(api.Api o) {
buildCounterApi++;
if (buildCounterApi < 3) {
- checkUnnamed413(o.methods);
- checkUnnamed414(o.mixins);
+ checkUnnamed414(o.methods);
+ checkUnnamed415(o.mixins);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed415(o.options);
+ checkUnnamed416(o.options);
checkSourceContext(o.sourceContext);
unittest.expect(o.syntax, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals('foo'));
@@ -344,14 +344,14 @@
buildCounterApi--;
}
-buildUnnamed416() {
+buildUnnamed417() {
var o = new core.List<api.JwtLocation>();
o.add(buildJwtLocation());
o.add(buildJwtLocation());
return o;
}
-checkUnnamed416(core.List<api.JwtLocation> o) {
+checkUnnamed417(core.List<api.JwtLocation> o) {
unittest.expect(o, unittest.hasLength(2));
checkJwtLocation(o[0]);
checkJwtLocation(o[1]);
@@ -367,7 +367,7 @@
o.id = "foo";
o.issuer = "foo";
o.jwksUri = "foo";
- o.jwtLocations = buildUnnamed416();
+ o.jwtLocations = buildUnnamed417();
}
buildCounterAuthProvider--;
return o;
@@ -381,7 +381,7 @@
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.issuer, unittest.equals('foo'));
unittest.expect(o.jwksUri, unittest.equals('foo'));
- checkUnnamed416(o.jwtLocations);
+ checkUnnamed417(o.jwtLocations);
}
buildCounterAuthProvider--;
}
@@ -407,27 +407,27 @@
buildCounterAuthRequirement--;
}
-buildUnnamed417() {
+buildUnnamed418() {
var o = new core.List<api.AuthProvider>();
o.add(buildAuthProvider());
o.add(buildAuthProvider());
return o;
}
-checkUnnamed417(core.List<api.AuthProvider> o) {
+checkUnnamed418(core.List<api.AuthProvider> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuthProvider(o[0]);
checkAuthProvider(o[1]);
}
-buildUnnamed418() {
+buildUnnamed419() {
var o = new core.List<api.AuthenticationRule>();
o.add(buildAuthenticationRule());
o.add(buildAuthenticationRule());
return o;
}
-checkUnnamed418(core.List<api.AuthenticationRule> o) {
+checkUnnamed419(core.List<api.AuthenticationRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuthenticationRule(o[0]);
checkAuthenticationRule(o[1]);
@@ -438,8 +438,8 @@
var o = new api.Authentication();
buildCounterAuthentication++;
if (buildCounterAuthentication < 3) {
- o.providers = buildUnnamed417();
- o.rules = buildUnnamed418();
+ o.providers = buildUnnamed418();
+ o.rules = buildUnnamed419();
}
buildCounterAuthentication--;
return o;
@@ -448,20 +448,20 @@
checkAuthentication(api.Authentication o) {
buildCounterAuthentication++;
if (buildCounterAuthentication < 3) {
- checkUnnamed417(o.providers);
- checkUnnamed418(o.rules);
+ checkUnnamed418(o.providers);
+ checkUnnamed419(o.rules);
}
buildCounterAuthentication--;
}
-buildUnnamed419() {
+buildUnnamed420() {
var o = new core.List<api.AuthRequirement>();
o.add(buildAuthRequirement());
o.add(buildAuthRequirement());
return o;
}
-checkUnnamed419(core.List<api.AuthRequirement> o) {
+checkUnnamed420(core.List<api.AuthRequirement> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuthRequirement(o[0]);
checkAuthRequirement(o[1]);
@@ -474,7 +474,7 @@
if (buildCounterAuthenticationRule < 3) {
o.allowWithoutCredential = true;
o.oauth = buildOAuthRequirements();
- o.requirements = buildUnnamed419();
+ o.requirements = buildUnnamed420();
o.selector = "foo";
}
buildCounterAuthenticationRule--;
@@ -486,20 +486,20 @@
if (buildCounterAuthenticationRule < 3) {
unittest.expect(o.allowWithoutCredential, unittest.isTrue);
checkOAuthRequirements(o.oauth);
- checkUnnamed419(o.requirements);
+ checkUnnamed420(o.requirements);
unittest.expect(o.selector, unittest.equals('foo'));
}
buildCounterAuthenticationRule--;
}
-buildUnnamed420() {
+buildUnnamed421() {
var o = new core.List<api.BackendRule>();
o.add(buildBackendRule());
o.add(buildBackendRule());
return o;
}
-checkUnnamed420(core.List<api.BackendRule> o) {
+checkUnnamed421(core.List<api.BackendRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkBackendRule(o[0]);
checkBackendRule(o[1]);
@@ -510,7 +510,7 @@
var o = new api.Backend();
buildCounterBackend++;
if (buildCounterBackend < 3) {
- o.rules = buildUnnamed420();
+ o.rules = buildUnnamed421();
}
buildCounterBackend--;
return o;
@@ -519,7 +519,7 @@
checkBackend(api.Backend o) {
buildCounterBackend++;
if (buildCounterBackend < 3) {
- checkUnnamed420(o.rules);
+ checkUnnamed421(o.rules);
}
buildCounterBackend--;
}
@@ -559,14 +559,14 @@
buildCounterBackendRule--;
}
-buildUnnamed421() {
+buildUnnamed422() {
var o = new core.List<api.BillingDestination>();
o.add(buildBillingDestination());
o.add(buildBillingDestination());
return o;
}
-checkUnnamed421(core.List<api.BillingDestination> o) {
+checkUnnamed422(core.List<api.BillingDestination> o) {
unittest.expect(o, unittest.hasLength(2));
checkBillingDestination(o[0]);
checkBillingDestination(o[1]);
@@ -577,7 +577,7 @@
var o = new api.Billing();
buildCounterBilling++;
if (buildCounterBilling < 3) {
- o.consumerDestinations = buildUnnamed421();
+ o.consumerDestinations = buildUnnamed422();
}
buildCounterBilling--;
return o;
@@ -586,19 +586,19 @@
checkBilling(api.Billing o) {
buildCounterBilling++;
if (buildCounterBilling < 3) {
- checkUnnamed421(o.consumerDestinations);
+ checkUnnamed422(o.consumerDestinations);
}
buildCounterBilling--;
}
-buildUnnamed422() {
+buildUnnamed423() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed422(core.List<core.String> o) {
+checkUnnamed423(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -609,7 +609,7 @@
var o = new api.BillingDestination();
buildCounterBillingDestination++;
if (buildCounterBillingDestination < 3) {
- o.metrics = buildUnnamed422();
+ o.metrics = buildUnnamed423();
o.monitoredResource = "foo";
}
buildCounterBillingDestination--;
@@ -619,7 +619,7 @@
checkBillingDestination(api.BillingDestination o) {
buildCounterBillingDestination++;
if (buildCounterBillingDestination < 3) {
- checkUnnamed422(o.metrics);
+ checkUnnamed423(o.metrics);
unittest.expect(o.monitoredResource, unittest.equals('foo'));
}
buildCounterBillingDestination--;
@@ -640,14 +640,14 @@
buildCounterCancelOperationRequest--;
}
-buildUnnamed423() {
+buildUnnamed424() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed423(core.List<core.String> o) {
+checkUnnamed424(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -660,7 +660,7 @@
if (buildCounterConnection < 3) {
o.network = "foo";
o.peering = "foo";
- o.reservedPeeringRanges = buildUnnamed423();
+ o.reservedPeeringRanges = buildUnnamed424();
o.service = "foo";
}
buildCounterConnection--;
@@ -672,7 +672,7 @@
if (buildCounterConnection < 3) {
unittest.expect(o.network, unittest.equals('foo'));
unittest.expect(o.peering, unittest.equals('foo'));
- checkUnnamed423(o.reservedPeeringRanges);
+ checkUnnamed424(o.reservedPeeringRanges);
unittest.expect(o.service, unittest.equals('foo'));
}
buildCounterConnection--;
@@ -697,14 +697,14 @@
buildCounterConsumerProject--;
}
-buildUnnamed424() {
+buildUnnamed425() {
var o = new core.List<api.ContextRule>();
o.add(buildContextRule());
o.add(buildContextRule());
return o;
}
-checkUnnamed424(core.List<api.ContextRule> o) {
+checkUnnamed425(core.List<api.ContextRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkContextRule(o[0]);
checkContextRule(o[1]);
@@ -715,7 +715,7 @@
var o = new api.Context();
buildCounterContext++;
if (buildCounterContext < 3) {
- o.rules = buildUnnamed424();
+ o.rules = buildUnnamed425();
}
buildCounterContext--;
return o;
@@ -724,24 +724,11 @@
checkContext(api.Context o) {
buildCounterContext++;
if (buildCounterContext < 3) {
- checkUnnamed424(o.rules);
+ checkUnnamed425(o.rules);
}
buildCounterContext--;
}
-buildUnnamed425() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed425(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed426() {
var o = new core.List<core.String>();
o.add("foo");
@@ -781,15 +768,28 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed429() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed429(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
core.int buildCounterContextRule = 0;
buildContextRule() {
var o = new api.ContextRule();
buildCounterContextRule++;
if (buildCounterContextRule < 3) {
- o.allowedRequestExtensions = buildUnnamed425();
- o.allowedResponseExtensions = buildUnnamed426();
- o.provided = buildUnnamed427();
- o.requested = buildUnnamed428();
+ o.allowedRequestExtensions = buildUnnamed426();
+ o.allowedResponseExtensions = buildUnnamed427();
+ o.provided = buildUnnamed428();
+ o.requested = buildUnnamed429();
o.selector = "foo";
}
buildCounterContextRule--;
@@ -799,10 +799,10 @@
checkContextRule(api.ContextRule o) {
buildCounterContextRule++;
if (buildCounterContextRule < 3) {
- checkUnnamed425(o.allowedRequestExtensions);
- checkUnnamed426(o.allowedResponseExtensions);
- checkUnnamed427(o.provided);
- checkUnnamed428(o.requested);
+ checkUnnamed426(o.allowedRequestExtensions);
+ checkUnnamed427(o.allowedResponseExtensions);
+ checkUnnamed428(o.provided);
+ checkUnnamed429(o.requested);
unittest.expect(o.selector, unittest.equals('foo'));
}
buildCounterContextRule--;
@@ -827,27 +827,27 @@
buildCounterControl--;
}
-buildUnnamed429() {
+buildUnnamed430() {
var o = new core.List<api.CustomErrorRule>();
o.add(buildCustomErrorRule());
o.add(buildCustomErrorRule());
return o;
}
-checkUnnamed429(core.List<api.CustomErrorRule> o) {
+checkUnnamed430(core.List<api.CustomErrorRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkCustomErrorRule(o[0]);
checkCustomErrorRule(o[1]);
}
-buildUnnamed430() {
+buildUnnamed431() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed430(core.List<core.String> o) {
+checkUnnamed431(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -858,8 +858,8 @@
var o = new api.CustomError();
buildCounterCustomError++;
if (buildCounterCustomError < 3) {
- o.rules = buildUnnamed429();
- o.types = buildUnnamed430();
+ o.rules = buildUnnamed430();
+ o.types = buildUnnamed431();
}
buildCounterCustomError--;
return o;
@@ -868,8 +868,8 @@
checkCustomError(api.CustomError o) {
buildCounterCustomError++;
if (buildCounterCustomError < 3) {
- checkUnnamed429(o.rules);
- checkUnnamed430(o.types);
+ checkUnnamed430(o.rules);
+ checkUnnamed431(o.types);
}
buildCounterCustomError--;
}
@@ -950,14 +950,14 @@
buildCounterDisableVpcServiceControlsRequest--;
}
-buildUnnamed431() {
+buildUnnamed432() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed431(core.List<core.String> o) {
+checkUnnamed432(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -968,7 +968,7 @@
var o = new api.DnsRecordSet();
buildCounterDnsRecordSet++;
if (buildCounterDnsRecordSet < 3) {
- o.data = buildUnnamed431();
+ o.data = buildUnnamed432();
o.domain = "foo";
o.ttl = "foo";
o.type = "foo";
@@ -980,7 +980,7 @@
checkDnsRecordSet(api.DnsRecordSet o) {
buildCounterDnsRecordSet++;
if (buildCounterDnsRecordSet < 3) {
- checkUnnamed431(o.data);
+ checkUnnamed432(o.data);
unittest.expect(o.domain, unittest.equals('foo'));
unittest.expect(o.ttl, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
@@ -1009,27 +1009,27 @@
buildCounterDnsZone--;
}
-buildUnnamed432() {
+buildUnnamed433() {
var o = new core.List<api.Page>();
o.add(buildPage());
o.add(buildPage());
return o;
}
-checkUnnamed432(core.List<api.Page> o) {
+checkUnnamed433(core.List<api.Page> o) {
unittest.expect(o, unittest.hasLength(2));
checkPage(o[0]);
checkPage(o[1]);
}
-buildUnnamed433() {
+buildUnnamed434() {
var o = new core.List<api.DocumentationRule>();
o.add(buildDocumentationRule());
o.add(buildDocumentationRule());
return o;
}
-checkUnnamed433(core.List<api.DocumentationRule> o) {
+checkUnnamed434(core.List<api.DocumentationRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkDocumentationRule(o[0]);
checkDocumentationRule(o[1]);
@@ -1042,8 +1042,8 @@
if (buildCounterDocumentation < 3) {
o.documentationRootUrl = "foo";
o.overview = "foo";
- o.pages = buildUnnamed432();
- o.rules = buildUnnamed433();
+ o.pages = buildUnnamed433();
+ o.rules = buildUnnamed434();
o.serviceRootUrl = "foo";
o.summary = "foo";
}
@@ -1056,8 +1056,8 @@
if (buildCounterDocumentation < 3) {
unittest.expect(o.documentationRootUrl, unittest.equals('foo'));
unittest.expect(o.overview, unittest.equals('foo'));
- checkUnnamed432(o.pages);
- checkUnnamed433(o.rules);
+ checkUnnamed433(o.pages);
+ checkUnnamed434(o.rules);
unittest.expect(o.serviceRootUrl, unittest.equals('foo'));
unittest.expect(o.summary, unittest.equals('foo'));
}
@@ -1121,14 +1121,14 @@
buildCounterEnableVpcServiceControlsRequest--;
}
-buildUnnamed434() {
+buildUnnamed435() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed434(core.List<core.String> o) {
+checkUnnamed435(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1139,7 +1139,7 @@
var o = new api.Endpoint();
buildCounterEndpoint++;
if (buildCounterEndpoint < 3) {
- o.aliases = buildUnnamed434();
+ o.aliases = buildUnnamed435();
o.allowCors = true;
o.name = "foo";
o.target = "foo";
@@ -1151,7 +1151,7 @@
checkEndpoint(api.Endpoint o) {
buildCounterEndpoint++;
if (buildCounterEndpoint < 3) {
- checkUnnamed434(o.aliases);
+ checkUnnamed435(o.aliases);
unittest.expect(o.allowCors, unittest.isTrue);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.target, unittest.equals('foo'));
@@ -1159,59 +1159,19 @@
buildCounterEndpoint--;
}
-buildUnnamed435() {
+buildUnnamed436() {
var o = new core.List<api.EnumValue>();
o.add(buildEnumValue());
o.add(buildEnumValue());
return o;
}
-checkUnnamed435(core.List<api.EnumValue> o) {
+checkUnnamed436(core.List<api.EnumValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkEnumValue(o[0]);
checkEnumValue(o[1]);
}
-buildUnnamed436() {
- var o = new core.List<api.Option>();
- o.add(buildOption());
- o.add(buildOption());
- return o;
-}
-
-checkUnnamed436(core.List<api.Option> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkOption(o[0]);
- checkOption(o[1]);
-}
-
-core.int buildCounterEnum = 0;
-buildEnum() {
- var o = new api.Enum();
- buildCounterEnum++;
- if (buildCounterEnum < 3) {
- o.enumvalue = buildUnnamed435();
- o.name = "foo";
- o.options = buildUnnamed436();
- o.sourceContext = buildSourceContext();
- o.syntax = "foo";
- }
- buildCounterEnum--;
- return o;
-}
-
-checkEnum(api.Enum o) {
- buildCounterEnum++;
- if (buildCounterEnum < 3) {
- checkUnnamed435(o.enumvalue);
- unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed436(o.options);
- checkSourceContext(o.sourceContext);
- unittest.expect(o.syntax, unittest.equals('foo'));
- }
- buildCounterEnum--;
-}
-
buildUnnamed437() {
var o = new core.List<api.Option>();
o.add(buildOption());
@@ -1225,27 +1185,31 @@
checkOption(o[1]);
}
-core.int buildCounterEnumValue = 0;
-buildEnumValue() {
- var o = new api.EnumValue();
- buildCounterEnumValue++;
- if (buildCounterEnumValue < 3) {
+core.int buildCounterEnum = 0;
+buildEnum() {
+ var o = new api.Enum();
+ buildCounterEnum++;
+ if (buildCounterEnum < 3) {
+ o.enumvalue = buildUnnamed436();
o.name = "foo";
- o.number = 42;
o.options = buildUnnamed437();
+ o.sourceContext = buildSourceContext();
+ o.syntax = "foo";
}
- buildCounterEnumValue--;
+ buildCounterEnum--;
return o;
}
-checkEnumValue(api.EnumValue o) {
- buildCounterEnumValue++;
- if (buildCounterEnumValue < 3) {
+checkEnum(api.Enum o) {
+ buildCounterEnum++;
+ if (buildCounterEnum < 3) {
+ checkUnnamed436(o.enumvalue);
unittest.expect(o.name, unittest.equals('foo'));
- unittest.expect(o.number, unittest.equals(42));
checkUnnamed437(o.options);
+ checkSourceContext(o.sourceContext);
+ unittest.expect(o.syntax, unittest.equals('foo'));
}
- buildCounterEnumValue--;
+ buildCounterEnum--;
}
buildUnnamed438() {
@@ -1261,6 +1225,42 @@
checkOption(o[1]);
}
+core.int buildCounterEnumValue = 0;
+buildEnumValue() {
+ var o = new api.EnumValue();
+ buildCounterEnumValue++;
+ if (buildCounterEnumValue < 3) {
+ o.name = "foo";
+ o.number = 42;
+ o.options = buildUnnamed438();
+ }
+ buildCounterEnumValue--;
+ return o;
+}
+
+checkEnumValue(api.EnumValue o) {
+ buildCounterEnumValue++;
+ if (buildCounterEnumValue < 3) {
+ unittest.expect(o.name, unittest.equals('foo'));
+ unittest.expect(o.number, unittest.equals(42));
+ checkUnnamed438(o.options);
+ }
+ buildCounterEnumValue--;
+}
+
+buildUnnamed439() {
+ var o = new core.List<api.Option>();
+ o.add(buildOption());
+ o.add(buildOption());
+ return o;
+}
+
+checkUnnamed439(core.List<api.Option> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkOption(o[0]);
+ checkOption(o[1]);
+}
+
core.int buildCounterField = 0;
buildField() {
var o = new api.Field();
@@ -1273,7 +1273,7 @@
o.name = "foo";
o.number = 42;
o.oneofIndex = 42;
- o.options = buildUnnamed438();
+ o.options = buildUnnamed439();
o.packed = true;
o.typeUrl = "foo";
}
@@ -1291,7 +1291,7 @@
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.number, unittest.equals(42));
unittest.expect(o.oneofIndex, unittest.equals(42));
- checkUnnamed438(o.options);
+ checkUnnamed439(o.options);
unittest.expect(o.packed, unittest.isTrue);
unittest.expect(o.typeUrl, unittest.equals('foo'));
}
@@ -1324,40 +1324,6 @@
buildCounterGoogleCloudServicenetworkingV1betaSubnetwork--;
}
-buildUnnamed439() {
- var o = new core.List<api.HttpRule>();
- o.add(buildHttpRule());
- o.add(buildHttpRule());
- return o;
-}
-
-checkUnnamed439(core.List<api.HttpRule> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkHttpRule(o[0]);
- checkHttpRule(o[1]);
-}
-
-core.int buildCounterHttp = 0;
-buildHttp() {
- var o = new api.Http();
- buildCounterHttp++;
- if (buildCounterHttp < 3) {
- o.fullyDecodeReservedExpansion = true;
- o.rules = buildUnnamed439();
- }
- buildCounterHttp--;
- return o;
-}
-
-checkHttp(api.Http o) {
- buildCounterHttp++;
- if (buildCounterHttp < 3) {
- unittest.expect(o.fullyDecodeReservedExpansion, unittest.isTrue);
- checkUnnamed439(o.rules);
- }
- buildCounterHttp--;
-}
-
buildUnnamed440() {
var o = new core.List<api.HttpRule>();
o.add(buildHttpRule());
@@ -1371,12 +1337,46 @@
checkHttpRule(o[1]);
}
+core.int buildCounterHttp = 0;
+buildHttp() {
+ var o = new api.Http();
+ buildCounterHttp++;
+ if (buildCounterHttp < 3) {
+ o.fullyDecodeReservedExpansion = true;
+ o.rules = buildUnnamed440();
+ }
+ buildCounterHttp--;
+ return o;
+}
+
+checkHttp(api.Http o) {
+ buildCounterHttp++;
+ if (buildCounterHttp < 3) {
+ unittest.expect(o.fullyDecodeReservedExpansion, unittest.isTrue);
+ checkUnnamed440(o.rules);
+ }
+ buildCounterHttp--;
+}
+
+buildUnnamed441() {
+ var o = new core.List<api.HttpRule>();
+ o.add(buildHttpRule());
+ o.add(buildHttpRule());
+ return o;
+}
+
+checkUnnamed441(core.List<api.HttpRule> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkHttpRule(o[0]);
+ checkHttpRule(o[1]);
+}
+
core.int buildCounterHttpRule = 0;
buildHttpRule() {
var o = new api.HttpRule();
buildCounterHttpRule++;
if (buildCounterHttpRule < 3) {
- o.additionalBindings = buildUnnamed440();
+ o.additionalBindings = buildUnnamed441();
o.allowHalfDuplex = true;
o.body = "foo";
o.custom = buildCustomHttpPattern();
@@ -1395,7 +1395,7 @@
checkHttpRule(api.HttpRule o) {
buildCounterHttpRule++;
if (buildCounterHttpRule < 3) {
- checkUnnamed440(o.additionalBindings);
+ checkUnnamed441(o.additionalBindings);
unittest.expect(o.allowHalfDuplex, unittest.isTrue);
unittest.expect(o.body, unittest.equals('foo'));
checkCustomHttpPattern(o.custom);
@@ -1456,14 +1456,14 @@
buildCounterLabelDescriptor--;
}
-buildUnnamed441() {
+buildUnnamed442() {
var o = new core.List<api.Connection>();
o.add(buildConnection());
o.add(buildConnection());
return o;
}
-checkUnnamed441(core.List<api.Connection> o) {
+checkUnnamed442(core.List<api.Connection> o) {
unittest.expect(o, unittest.hasLength(2));
checkConnection(o[0]);
checkConnection(o[1]);
@@ -1474,7 +1474,7 @@
var o = new api.ListConnectionsResponse();
buildCounterListConnectionsResponse++;
if (buildCounterListConnectionsResponse < 3) {
- o.connections = buildUnnamed441();
+ o.connections = buildUnnamed442();
}
buildCounterListConnectionsResponse--;
return o;
@@ -1483,19 +1483,19 @@
checkListConnectionsResponse(api.ListConnectionsResponse o) {
buildCounterListConnectionsResponse++;
if (buildCounterListConnectionsResponse < 3) {
- checkUnnamed441(o.connections);
+ checkUnnamed442(o.connections);
}
buildCounterListConnectionsResponse--;
}
-buildUnnamed442() {
+buildUnnamed443() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed442(core.List<api.Operation> o) {
+checkUnnamed443(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -1507,7 +1507,7 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
o.nextPageToken = "foo";
- o.operations = buildUnnamed442();
+ o.operations = buildUnnamed443();
}
buildCounterListOperationsResponse--;
return o;
@@ -1517,19 +1517,19 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed442(o.operations);
+ checkUnnamed443(o.operations);
}
buildCounterListOperationsResponse--;
}
-buildUnnamed443() {
+buildUnnamed444() {
var o = new core.List<api.PeeredDnsDomain>();
o.add(buildPeeredDnsDomain());
o.add(buildPeeredDnsDomain());
return o;
}
-checkUnnamed443(core.List<api.PeeredDnsDomain> o) {
+checkUnnamed444(core.List<api.PeeredDnsDomain> o) {
unittest.expect(o, unittest.hasLength(2));
checkPeeredDnsDomain(o[0]);
checkPeeredDnsDomain(o[1]);
@@ -1540,7 +1540,7 @@
var o = new api.ListPeeredDnsDomainsResponse();
buildCounterListPeeredDnsDomainsResponse++;
if (buildCounterListPeeredDnsDomainsResponse < 3) {
- o.peeredDnsDomains = buildUnnamed443();
+ o.peeredDnsDomains = buildUnnamed444();
}
buildCounterListPeeredDnsDomainsResponse--;
return o;
@@ -1549,19 +1549,19 @@
checkListPeeredDnsDomainsResponse(api.ListPeeredDnsDomainsResponse o) {
buildCounterListPeeredDnsDomainsResponse++;
if (buildCounterListPeeredDnsDomainsResponse < 3) {
- checkUnnamed443(o.peeredDnsDomains);
+ checkUnnamed444(o.peeredDnsDomains);
}
buildCounterListPeeredDnsDomainsResponse--;
}
-buildUnnamed444() {
+buildUnnamed445() {
var o = new core.List<api.LabelDescriptor>();
o.add(buildLabelDescriptor());
o.add(buildLabelDescriptor());
return o;
}
-checkUnnamed444(core.List<api.LabelDescriptor> o) {
+checkUnnamed445(core.List<api.LabelDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkLabelDescriptor(o[0]);
checkLabelDescriptor(o[1]);
@@ -1574,7 +1574,7 @@
if (buildCounterLogDescriptor < 3) {
o.description = "foo";
o.displayName = "foo";
- o.labels = buildUnnamed444();
+ o.labels = buildUnnamed445();
o.name = "foo";
}
buildCounterLogDescriptor--;
@@ -1586,25 +1586,12 @@
if (buildCounterLogDescriptor < 3) {
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed444(o.labels);
+ checkUnnamed445(o.labels);
unittest.expect(o.name, unittest.equals('foo'));
}
buildCounterLogDescriptor--;
}
-buildUnnamed445() {
- var o = new core.List<api.LoggingDestination>();
- o.add(buildLoggingDestination());
- o.add(buildLoggingDestination());
- return o;
-}
-
-checkUnnamed445(core.List<api.LoggingDestination> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkLoggingDestination(o[0]);
- checkLoggingDestination(o[1]);
-}
-
buildUnnamed446() {
var o = new core.List<api.LoggingDestination>();
o.add(buildLoggingDestination());
@@ -1618,13 +1605,26 @@
checkLoggingDestination(o[1]);
}
+buildUnnamed447() {
+ var o = new core.List<api.LoggingDestination>();
+ o.add(buildLoggingDestination());
+ o.add(buildLoggingDestination());
+ return o;
+}
+
+checkUnnamed447(core.List<api.LoggingDestination> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkLoggingDestination(o[0]);
+ checkLoggingDestination(o[1]);
+}
+
core.int buildCounterLogging = 0;
buildLogging() {
var o = new api.Logging();
buildCounterLogging++;
if (buildCounterLogging < 3) {
- o.consumerDestinations = buildUnnamed445();
- o.producerDestinations = buildUnnamed446();
+ o.consumerDestinations = buildUnnamed446();
+ o.producerDestinations = buildUnnamed447();
}
buildCounterLogging--;
return o;
@@ -1633,20 +1633,20 @@
checkLogging(api.Logging o) {
buildCounterLogging++;
if (buildCounterLogging < 3) {
- checkUnnamed445(o.consumerDestinations);
- checkUnnamed446(o.producerDestinations);
+ checkUnnamed446(o.consumerDestinations);
+ checkUnnamed447(o.producerDestinations);
}
buildCounterLogging--;
}
-buildUnnamed447() {
+buildUnnamed448() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed447(core.List<core.String> o) {
+checkUnnamed448(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1657,7 +1657,7 @@
var o = new api.LoggingDestination();
buildCounterLoggingDestination++;
if (buildCounterLoggingDestination < 3) {
- o.logs = buildUnnamed447();
+ o.logs = buildUnnamed448();
o.monitoredResource = "foo";
}
buildCounterLoggingDestination--;
@@ -1667,20 +1667,20 @@
checkLoggingDestination(api.LoggingDestination o) {
buildCounterLoggingDestination++;
if (buildCounterLoggingDestination < 3) {
- checkUnnamed447(o.logs);
+ checkUnnamed448(o.logs);
unittest.expect(o.monitoredResource, unittest.equals('foo'));
}
buildCounterLoggingDestination--;
}
-buildUnnamed448() {
+buildUnnamed449() {
var o = new core.List<api.Option>();
o.add(buildOption());
o.add(buildOption());
return o;
}
-checkUnnamed448(core.List<api.Option> o) {
+checkUnnamed449(core.List<api.Option> o) {
unittest.expect(o, unittest.hasLength(2));
checkOption(o[0]);
checkOption(o[1]);
@@ -1692,7 +1692,7 @@
buildCounterMethod++;
if (buildCounterMethod < 3) {
o.name = "foo";
- o.options = buildUnnamed448();
+ o.options = buildUnnamed449();
o.requestStreaming = true;
o.requestTypeUrl = "foo";
o.responseStreaming = true;
@@ -1707,7 +1707,7 @@
buildCounterMethod++;
if (buildCounterMethod < 3) {
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed448(o.options);
+ checkUnnamed449(o.options);
unittest.expect(o.requestStreaming, unittest.isTrue);
unittest.expect(o.requestTypeUrl, unittest.equals('foo'));
unittest.expect(o.responseStreaming, unittest.isTrue);
@@ -1717,27 +1717,27 @@
buildCounterMethod--;
}
-buildUnnamed449() {
+buildUnnamed450() {
var o = new core.List<api.LabelDescriptor>();
o.add(buildLabelDescriptor());
o.add(buildLabelDescriptor());
return o;
}
-checkUnnamed449(core.List<api.LabelDescriptor> o) {
+checkUnnamed450(core.List<api.LabelDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkLabelDescriptor(o[0]);
checkLabelDescriptor(o[1]);
}
-buildUnnamed450() {
+buildUnnamed451() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed450(core.List<core.String> o) {
+checkUnnamed451(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1750,11 +1750,11 @@
if (buildCounterMetricDescriptor < 3) {
o.description = "foo";
o.displayName = "foo";
- o.labels = buildUnnamed449();
+ o.labels = buildUnnamed450();
o.launchStage = "foo";
o.metadata = buildMetricDescriptorMetadata();
o.metricKind = "foo";
- o.monitoredResourceTypes = buildUnnamed450();
+ o.monitoredResourceTypes = buildUnnamed451();
o.name = "foo";
o.type = "foo";
o.unit = "foo";
@@ -1769,11 +1769,11 @@
if (buildCounterMetricDescriptor < 3) {
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed449(o.labels);
+ checkUnnamed450(o.labels);
unittest.expect(o.launchStage, unittest.equals('foo'));
checkMetricDescriptorMetadata(o.metadata);
unittest.expect(o.metricKind, unittest.equals('foo'));
- checkUnnamed450(o.monitoredResourceTypes);
+ checkUnnamed451(o.monitoredResourceTypes);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
unittest.expect(o.unit, unittest.equals('foo'));
@@ -1805,14 +1805,14 @@
buildCounterMetricDescriptorMetadata--;
}
-buildUnnamed451() {
+buildUnnamed452() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed451(core.Map<core.String, core.String> o) {
+checkUnnamed452(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -1823,7 +1823,7 @@
var o = new api.MetricRule();
buildCounterMetricRule++;
if (buildCounterMetricRule < 3) {
- o.metricCosts = buildUnnamed451();
+ o.metricCosts = buildUnnamed452();
o.selector = "foo";
}
buildCounterMetricRule--;
@@ -1833,7 +1833,7 @@
checkMetricRule(api.MetricRule o) {
buildCounterMetricRule++;
if (buildCounterMetricRule < 3) {
- checkUnnamed451(o.metricCosts);
+ checkUnnamed452(o.metricCosts);
unittest.expect(o.selector, unittest.equals('foo'));
}
buildCounterMetricRule--;
@@ -1860,14 +1860,14 @@
buildCounterMixin--;
}
-buildUnnamed452() {
+buildUnnamed453() {
var o = new core.List<api.LabelDescriptor>();
o.add(buildLabelDescriptor());
o.add(buildLabelDescriptor());
return o;
}
-checkUnnamed452(core.List<api.LabelDescriptor> o) {
+checkUnnamed453(core.List<api.LabelDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkLabelDescriptor(o[0]);
checkLabelDescriptor(o[1]);
@@ -1880,7 +1880,7 @@
if (buildCounterMonitoredResourceDescriptor < 3) {
o.description = "foo";
o.displayName = "foo";
- o.labels = buildUnnamed452();
+ o.labels = buildUnnamed453();
o.launchStage = "foo";
o.name = "foo";
o.type = "foo";
@@ -1894,7 +1894,7 @@
if (buildCounterMonitoredResourceDescriptor < 3) {
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed452(o.labels);
+ checkUnnamed453(o.labels);
unittest.expect(o.launchStage, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
@@ -1902,19 +1902,6 @@
buildCounterMonitoredResourceDescriptor--;
}
-buildUnnamed453() {
- var o = new core.List<api.MonitoringDestination>();
- o.add(buildMonitoringDestination());
- o.add(buildMonitoringDestination());
- return o;
-}
-
-checkUnnamed453(core.List<api.MonitoringDestination> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkMonitoringDestination(o[0]);
- checkMonitoringDestination(o[1]);
-}
-
buildUnnamed454() {
var o = new core.List<api.MonitoringDestination>();
o.add(buildMonitoringDestination());
@@ -1928,13 +1915,26 @@
checkMonitoringDestination(o[1]);
}
+buildUnnamed455() {
+ var o = new core.List<api.MonitoringDestination>();
+ o.add(buildMonitoringDestination());
+ o.add(buildMonitoringDestination());
+ return o;
+}
+
+checkUnnamed455(core.List<api.MonitoringDestination> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkMonitoringDestination(o[0]);
+ checkMonitoringDestination(o[1]);
+}
+
core.int buildCounterMonitoring = 0;
buildMonitoring() {
var o = new api.Monitoring();
buildCounterMonitoring++;
if (buildCounterMonitoring < 3) {
- o.consumerDestinations = buildUnnamed453();
- o.producerDestinations = buildUnnamed454();
+ o.consumerDestinations = buildUnnamed454();
+ o.producerDestinations = buildUnnamed455();
}
buildCounterMonitoring--;
return o;
@@ -1943,20 +1943,20 @@
checkMonitoring(api.Monitoring o) {
buildCounterMonitoring++;
if (buildCounterMonitoring < 3) {
- checkUnnamed453(o.consumerDestinations);
- checkUnnamed454(o.producerDestinations);
+ checkUnnamed454(o.consumerDestinations);
+ checkUnnamed455(o.producerDestinations);
}
buildCounterMonitoring--;
}
-buildUnnamed455() {
+buildUnnamed456() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed455(core.List<core.String> o) {
+checkUnnamed456(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1967,7 +1967,7 @@
var o = new api.MonitoringDestination();
buildCounterMonitoringDestination++;
if (buildCounterMonitoringDestination < 3) {
- o.metrics = buildUnnamed455();
+ o.metrics = buildUnnamed456();
o.monitoredResource = "foo";
}
buildCounterMonitoringDestination--;
@@ -1977,7 +1977,7 @@
checkMonitoringDestination(api.MonitoringDestination o) {
buildCounterMonitoringDestination++;
if (buildCounterMonitoringDestination < 3) {
- checkUnnamed455(o.metrics);
+ checkUnnamed456(o.metrics);
unittest.expect(o.monitoredResource, unittest.equals('foo'));
}
buildCounterMonitoringDestination--;
@@ -2002,35 +2002,6 @@
buildCounterOAuthRequirements--;
}
-buildUnnamed456() {
- var o = new core.Map<core.String, core.Object>();
- o["x"] = {
- 'list': [1, 2, 3],
- 'bool': true,
- 'string': 'foo'
- };
- o["y"] = {
- 'list': [1, 2, 3],
- 'bool': true,
- 'string': 'foo'
- };
- return o;
-}
-
-checkUnnamed456(core.Map<core.String, core.Object> o) {
- unittest.expect(o, unittest.hasLength(2));
- var casted1 = (o["x"]) as core.Map;
- unittest.expect(casted1, unittest.hasLength(3));
- unittest.expect(casted1["list"], unittest.equals([1, 2, 3]));
- unittest.expect(casted1["bool"], unittest.equals(true));
- unittest.expect(casted1["string"], unittest.equals('foo'));
- var casted2 = (o["y"]) as core.Map;
- unittest.expect(casted2, unittest.hasLength(3));
- unittest.expect(casted2["list"], unittest.equals([1, 2, 3]));
- unittest.expect(casted2["bool"], unittest.equals(true));
- unittest.expect(casted2["string"], unittest.equals('foo'));
-}
-
buildUnnamed457() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
@@ -2048,6 +2019,35 @@
checkUnnamed457(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
+ var casted1 = (o["x"]) as core.Map;
+ unittest.expect(casted1, unittest.hasLength(3));
+ unittest.expect(casted1["list"], unittest.equals([1, 2, 3]));
+ unittest.expect(casted1["bool"], unittest.equals(true));
+ unittest.expect(casted1["string"], unittest.equals('foo'));
+ var casted2 = (o["y"]) as core.Map;
+ unittest.expect(casted2, unittest.hasLength(3));
+ unittest.expect(casted2["list"], unittest.equals([1, 2, 3]));
+ unittest.expect(casted2["bool"], unittest.equals(true));
+ unittest.expect(casted2["string"], unittest.equals('foo'));
+}
+
+buildUnnamed458() {
+ var o = new core.Map<core.String, core.Object>();
+ o["x"] = {
+ 'list': [1, 2, 3],
+ 'bool': true,
+ 'string': 'foo'
+ };
+ o["y"] = {
+ 'list': [1, 2, 3],
+ 'bool': true,
+ 'string': 'foo'
+ };
+ return o;
+}
+
+checkUnnamed458(core.Map<core.String, core.Object> o) {
+ unittest.expect(o, unittest.hasLength(2));
var casted3 = (o["x"]) as core.Map;
unittest.expect(casted3, unittest.hasLength(3));
unittest.expect(casted3["list"], unittest.equals([1, 2, 3]));
@@ -2067,9 +2067,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed456();
+ o.metadata = buildUnnamed457();
o.name = "foo";
- o.response = buildUnnamed457();
+ o.response = buildUnnamed458();
}
buildCounterOperation--;
return o;
@@ -2080,14 +2080,14 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed456(o.metadata);
+ checkUnnamed457(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed457(o.response);
+ checkUnnamed458(o.response);
}
buildCounterOperation--;
}
-buildUnnamed458() {
+buildUnnamed459() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -2102,7 +2102,7 @@
return o;
}
-checkUnnamed458(core.Map<core.String, core.Object> o) {
+checkUnnamed459(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted5 = (o["x"]) as core.Map;
unittest.expect(casted5, unittest.hasLength(3));
@@ -2122,7 +2122,7 @@
buildCounterOption++;
if (buildCounterOption < 3) {
o.name = "foo";
- o.value = buildUnnamed458();
+ o.value = buildUnnamed459();
}
buildCounterOption--;
return o;
@@ -2132,19 +2132,19 @@
buildCounterOption++;
if (buildCounterOption < 3) {
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed458(o.value);
+ checkUnnamed459(o.value);
}
buildCounterOption--;
}
-buildUnnamed459() {
+buildUnnamed460() {
var o = new core.List<api.Page>();
o.add(buildPage());
o.add(buildPage());
return o;
}
-checkUnnamed459(core.List<api.Page> o) {
+checkUnnamed460(core.List<api.Page> o) {
unittest.expect(o, unittest.hasLength(2));
checkPage(o[0]);
checkPage(o[1]);
@@ -2157,7 +2157,7 @@
if (buildCounterPage < 3) {
o.content = "foo";
o.name = "foo";
- o.subpages = buildUnnamed459();
+ o.subpages = buildUnnamed460();
}
buildCounterPage--;
return o;
@@ -2168,7 +2168,7 @@
if (buildCounterPage < 3) {
unittest.expect(o.content, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed459(o.subpages);
+ checkUnnamed460(o.subpages);
}
buildCounterPage--;
}
@@ -2230,27 +2230,27 @@
buildCounterPolicyBinding--;
}
-buildUnnamed460() {
+buildUnnamed461() {
var o = new core.List<api.QuotaLimit>();
o.add(buildQuotaLimit());
o.add(buildQuotaLimit());
return o;
}
-checkUnnamed460(core.List<api.QuotaLimit> o) {
+checkUnnamed461(core.List<api.QuotaLimit> o) {
unittest.expect(o, unittest.hasLength(2));
checkQuotaLimit(o[0]);
checkQuotaLimit(o[1]);
}
-buildUnnamed461() {
+buildUnnamed462() {
var o = new core.List<api.MetricRule>();
o.add(buildMetricRule());
o.add(buildMetricRule());
return o;
}
-checkUnnamed461(core.List<api.MetricRule> o) {
+checkUnnamed462(core.List<api.MetricRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetricRule(o[0]);
checkMetricRule(o[1]);
@@ -2261,8 +2261,8 @@
var o = new api.Quota();
buildCounterQuota++;
if (buildCounterQuota < 3) {
- o.limits = buildUnnamed460();
- o.metricRules = buildUnnamed461();
+ o.limits = buildUnnamed461();
+ o.metricRules = buildUnnamed462();
}
buildCounterQuota--;
return o;
@@ -2271,20 +2271,20 @@
checkQuota(api.Quota o) {
buildCounterQuota++;
if (buildCounterQuota < 3) {
- checkUnnamed460(o.limits);
- checkUnnamed461(o.metricRules);
+ checkUnnamed461(o.limits);
+ checkUnnamed462(o.metricRules);
}
buildCounterQuota--;
}
-buildUnnamed462() {
+buildUnnamed463() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed462(core.Map<core.String, core.String> o) {
+checkUnnamed463(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -2304,7 +2304,7 @@
o.metric = "foo";
o.name = "foo";
o.unit = "foo";
- o.values = buildUnnamed462();
+ o.values = buildUnnamed463();
}
buildCounterQuotaLimit--;
return o;
@@ -2322,7 +2322,7 @@
unittest.expect(o.metric, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.unit, unittest.equals('foo'));
- checkUnnamed462(o.values);
+ checkUnnamed463(o.values);
}
buildCounterQuotaLimit--;
}
@@ -2348,14 +2348,14 @@
buildCounterRange--;
}
-buildUnnamed463() {
+buildUnnamed464() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed463(core.List<core.int> o) {
+checkUnnamed464(core.List<core.int> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42));
unittest.expect(o[1], unittest.equals(42));
@@ -2367,7 +2367,7 @@
buildCounterRangeReservation++;
if (buildCounterRangeReservation < 3) {
o.ipPrefixLength = 42;
- o.secondaryRangeIpPrefixLengths = buildUnnamed463();
+ o.secondaryRangeIpPrefixLengths = buildUnnamed464();
}
buildCounterRangeReservation--;
return o;
@@ -2377,7 +2377,7 @@
buildCounterRangeReservation++;
if (buildCounterRangeReservation < 3) {
unittest.expect(o.ipPrefixLength, unittest.equals(42));
- checkUnnamed463(o.secondaryRangeIpPrefixLengths);
+ checkUnnamed464(o.secondaryRangeIpPrefixLengths);
}
buildCounterRangeReservation--;
}
@@ -2532,97 +2532,84 @@
buildCounterSearchRangeRequest--;
}
-buildUnnamed464() {
+buildUnnamed465() {
var o = new core.List<api.Api>();
o.add(buildApi());
o.add(buildApi());
return o;
}
-checkUnnamed464(core.List<api.Api> o) {
+checkUnnamed465(core.List<api.Api> o) {
unittest.expect(o, unittest.hasLength(2));
checkApi(o[0]);
checkApi(o[1]);
}
-buildUnnamed465() {
+buildUnnamed466() {
var o = new core.List<api.Endpoint>();
o.add(buildEndpoint());
o.add(buildEndpoint());
return o;
}
-checkUnnamed465(core.List<api.Endpoint> o) {
+checkUnnamed466(core.List<api.Endpoint> o) {
unittest.expect(o, unittest.hasLength(2));
checkEndpoint(o[0]);
checkEndpoint(o[1]);
}
-buildUnnamed466() {
+buildUnnamed467() {
var o = new core.List<api.Enum>();
o.add(buildEnum());
o.add(buildEnum());
return o;
}
-checkUnnamed466(core.List<api.Enum> o) {
+checkUnnamed467(core.List<api.Enum> o) {
unittest.expect(o, unittest.hasLength(2));
checkEnum(o[0]);
checkEnum(o[1]);
}
-buildUnnamed467() {
+buildUnnamed468() {
var o = new core.List<api.LogDescriptor>();
o.add(buildLogDescriptor());
o.add(buildLogDescriptor());
return o;
}
-checkUnnamed467(core.List<api.LogDescriptor> o) {
+checkUnnamed468(core.List<api.LogDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkLogDescriptor(o[0]);
checkLogDescriptor(o[1]);
}
-buildUnnamed468() {
+buildUnnamed469() {
var o = new core.List<api.MetricDescriptor>();
o.add(buildMetricDescriptor());
o.add(buildMetricDescriptor());
return o;
}
-checkUnnamed468(core.List<api.MetricDescriptor> o) {
+checkUnnamed469(core.List<api.MetricDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetricDescriptor(o[0]);
checkMetricDescriptor(o[1]);
}
-buildUnnamed469() {
+buildUnnamed470() {
var o = new core.List<api.MonitoredResourceDescriptor>();
o.add(buildMonitoredResourceDescriptor());
o.add(buildMonitoredResourceDescriptor());
return o;
}
-checkUnnamed469(core.List<api.MonitoredResourceDescriptor> o) {
+checkUnnamed470(core.List<api.MonitoredResourceDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkMonitoredResourceDescriptor(o[0]);
checkMonitoredResourceDescriptor(o[1]);
}
-buildUnnamed470() {
- var o = new core.List<api.Type>();
- o.add(buildType());
- o.add(buildType());
- return o;
-}
-
-checkUnnamed470(core.List<api.Type> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkType(o[0]);
- checkType(o[1]);
-}
-
buildUnnamed471() {
var o = new core.List<api.Type>();
o.add(buildType());
@@ -2636,12 +2623,25 @@
checkType(o[1]);
}
+buildUnnamed472() {
+ var o = new core.List<api.Type>();
+ o.add(buildType());
+ o.add(buildType());
+ return o;
+}
+
+checkUnnamed472(core.List<api.Type> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkType(o[0]);
+ checkType(o[1]);
+}
+
core.int buildCounterService = 0;
buildService() {
var o = new api.Service();
buildCounterService++;
if (buildCounterService < 3) {
- o.apis = buildUnnamed464();
+ o.apis = buildUnnamed465();
o.authentication = buildAuthentication();
o.backend = buildBackend();
o.billing = buildBilling();
@@ -2650,23 +2650,23 @@
o.control = buildControl();
o.customError = buildCustomError();
o.documentation = buildDocumentation();
- o.endpoints = buildUnnamed465();
- o.enums = buildUnnamed466();
+ o.endpoints = buildUnnamed466();
+ o.enums = buildUnnamed467();
o.http = buildHttp();
o.id = "foo";
o.logging = buildLogging();
- o.logs = buildUnnamed467();
- o.metrics = buildUnnamed468();
- o.monitoredResources = buildUnnamed469();
+ o.logs = buildUnnamed468();
+ o.metrics = buildUnnamed469();
+ o.monitoredResources = buildUnnamed470();
o.monitoring = buildMonitoring();
o.name = "foo";
o.producerProjectId = "foo";
o.quota = buildQuota();
o.sourceInfo = buildSourceInfo();
o.systemParameters = buildSystemParameters();
- o.systemTypes = buildUnnamed470();
+ o.systemTypes = buildUnnamed471();
o.title = "foo";
- o.types = buildUnnamed471();
+ o.types = buildUnnamed472();
o.usage = buildUsage();
}
buildCounterService--;
@@ -2676,7 +2676,7 @@
checkService(api.Service o) {
buildCounterService++;
if (buildCounterService < 3) {
- checkUnnamed464(o.apis);
+ checkUnnamed465(o.apis);
checkAuthentication(o.authentication);
checkBackend(o.backend);
checkBilling(o.billing);
@@ -2685,23 +2685,23 @@
checkControl(o.control);
checkCustomError(o.customError);
checkDocumentation(o.documentation);
- checkUnnamed465(o.endpoints);
- checkUnnamed466(o.enums);
+ checkUnnamed466(o.endpoints);
+ checkUnnamed467(o.enums);
checkHttp(o.http);
unittest.expect(o.id, unittest.equals('foo'));
checkLogging(o.logging);
- checkUnnamed467(o.logs);
- checkUnnamed468(o.metrics);
- checkUnnamed469(o.monitoredResources);
+ checkUnnamed468(o.logs);
+ checkUnnamed469(o.metrics);
+ checkUnnamed470(o.monitoredResources);
checkMonitoring(o.monitoring);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.producerProjectId, unittest.equals('foo'));
checkQuota(o.quota);
checkSourceInfo(o.sourceInfo);
checkSystemParameters(o.systemParameters);
- checkUnnamed470(o.systemTypes);
+ checkUnnamed471(o.systemTypes);
unittest.expect(o.title, unittest.equals('foo'));
- checkUnnamed471(o.types);
+ checkUnnamed472(o.types);
checkUsage(o.usage);
}
buildCounterService--;
@@ -2749,7 +2749,7 @@
buildCounterSourceContext--;
}
-buildUnnamed472() {
+buildUnnamed473() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -2764,7 +2764,7 @@
return o;
}
-checkUnnamed472(core.Map<core.String, core.Object> o) {
+checkUnnamed473(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted7 = (o["x"]) as core.Map;
unittest.expect(casted7, unittest.hasLength(3));
@@ -2778,17 +2778,17 @@
unittest.expect(casted8["string"], unittest.equals('foo'));
}
-buildUnnamed473() {
+buildUnnamed474() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed472());
- o.add(buildUnnamed472());
+ o.add(buildUnnamed473());
+ o.add(buildUnnamed473());
return o;
}
-checkUnnamed473(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed474(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed472(o[0]);
- checkUnnamed472(o[1]);
+ checkUnnamed473(o[0]);
+ checkUnnamed473(o[1]);
}
core.int buildCounterSourceInfo = 0;
@@ -2796,7 +2796,7 @@
var o = new api.SourceInfo();
buildCounterSourceInfo++;
if (buildCounterSourceInfo < 3) {
- o.sourceFiles = buildUnnamed473();
+ o.sourceFiles = buildUnnamed474();
}
buildCounterSourceInfo--;
return o;
@@ -2805,12 +2805,12 @@
checkSourceInfo(api.SourceInfo o) {
buildCounterSourceInfo++;
if (buildCounterSourceInfo < 3) {
- checkUnnamed473(o.sourceFiles);
+ checkUnnamed474(o.sourceFiles);
}
buildCounterSourceInfo--;
}
-buildUnnamed474() {
+buildUnnamed475() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -2825,7 +2825,7 @@
return o;
}
-checkUnnamed474(core.Map<core.String, core.Object> o) {
+checkUnnamed475(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted9 = (o["x"]) as core.Map;
unittest.expect(casted9, unittest.hasLength(3));
@@ -2839,17 +2839,17 @@
unittest.expect(casted10["string"], unittest.equals('foo'));
}
-buildUnnamed475() {
+buildUnnamed476() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed474());
- o.add(buildUnnamed474());
+ o.add(buildUnnamed475());
+ o.add(buildUnnamed475());
return o;
}
-checkUnnamed475(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed476(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed474(o[0]);
- checkUnnamed474(o[1]);
+ checkUnnamed475(o[0]);
+ checkUnnamed475(o[1]);
}
core.int buildCounterStatus = 0;
@@ -2858,7 +2858,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed475();
+ o.details = buildUnnamed476();
o.message = "foo";
}
buildCounterStatus--;
@@ -2869,7 +2869,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed475(o.details);
+ checkUnnamed476(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
@@ -2923,14 +2923,14 @@
buildCounterSystemParameter--;
}
-buildUnnamed476() {
+buildUnnamed477() {
var o = new core.List<api.SystemParameter>();
o.add(buildSystemParameter());
o.add(buildSystemParameter());
return o;
}
-checkUnnamed476(core.List<api.SystemParameter> o) {
+checkUnnamed477(core.List<api.SystemParameter> o) {
unittest.expect(o, unittest.hasLength(2));
checkSystemParameter(o[0]);
checkSystemParameter(o[1]);
@@ -2941,7 +2941,7 @@
var o = new api.SystemParameterRule();
buildCounterSystemParameterRule++;
if (buildCounterSystemParameterRule < 3) {
- o.parameters = buildUnnamed476();
+ o.parameters = buildUnnamed477();
o.selector = "foo";
}
buildCounterSystemParameterRule--;
@@ -2951,20 +2951,20 @@
checkSystemParameterRule(api.SystemParameterRule o) {
buildCounterSystemParameterRule++;
if (buildCounterSystemParameterRule < 3) {
- checkUnnamed476(o.parameters);
+ checkUnnamed477(o.parameters);
unittest.expect(o.selector, unittest.equals('foo'));
}
buildCounterSystemParameterRule--;
}
-buildUnnamed477() {
+buildUnnamed478() {
var o = new core.List<api.SystemParameterRule>();
o.add(buildSystemParameterRule());
o.add(buildSystemParameterRule());
return o;
}
-checkUnnamed477(core.List<api.SystemParameterRule> o) {
+checkUnnamed478(core.List<api.SystemParameterRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkSystemParameterRule(o[0]);
checkSystemParameterRule(o[1]);
@@ -2975,7 +2975,7 @@
var o = new api.SystemParameters();
buildCounterSystemParameters++;
if (buildCounterSystemParameters < 3) {
- o.rules = buildUnnamed477();
+ o.rules = buildUnnamed478();
}
buildCounterSystemParameters--;
return o;
@@ -2984,45 +2984,45 @@
checkSystemParameters(api.SystemParameters o) {
buildCounterSystemParameters++;
if (buildCounterSystemParameters < 3) {
- checkUnnamed477(o.rules);
+ checkUnnamed478(o.rules);
}
buildCounterSystemParameters--;
}
-buildUnnamed478() {
+buildUnnamed479() {
var o = new core.List<api.Field>();
o.add(buildField());
o.add(buildField());
return o;
}
-checkUnnamed478(core.List<api.Field> o) {
+checkUnnamed479(core.List<api.Field> o) {
unittest.expect(o, unittest.hasLength(2));
checkField(o[0]);
checkField(o[1]);
}
-buildUnnamed479() {
+buildUnnamed480() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed479(core.List<core.String> o) {
+checkUnnamed480(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed480() {
+buildUnnamed481() {
var o = new core.List<api.Option>();
o.add(buildOption());
o.add(buildOption());
return o;
}
-checkUnnamed480(core.List<api.Option> o) {
+checkUnnamed481(core.List<api.Option> o) {
unittest.expect(o, unittest.hasLength(2));
checkOption(o[0]);
checkOption(o[1]);
@@ -3033,10 +3033,10 @@
var o = new api.Type();
buildCounterType++;
if (buildCounterType < 3) {
- o.fields = buildUnnamed478();
+ o.fields = buildUnnamed479();
o.name = "foo";
- o.oneofs = buildUnnamed479();
- o.options = buildUnnamed480();
+ o.oneofs = buildUnnamed480();
+ o.options = buildUnnamed481();
o.sourceContext = buildSourceContext();
o.syntax = "foo";
}
@@ -3047,10 +3047,10 @@
checkType(api.Type o) {
buildCounterType++;
if (buildCounterType < 3) {
- checkUnnamed478(o.fields);
+ checkUnnamed479(o.fields);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed479(o.oneofs);
- checkUnnamed480(o.options);
+ checkUnnamed480(o.oneofs);
+ checkUnnamed481(o.options);
checkSourceContext(o.sourceContext);
unittest.expect(o.syntax, unittest.equals('foo'));
}
@@ -3097,27 +3097,27 @@
buildCounterUpdateDnsRecordSetRequest--;
}
-buildUnnamed481() {
+buildUnnamed482() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed481(core.List<core.String> o) {
+checkUnnamed482(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed482() {
+buildUnnamed483() {
var o = new core.List<api.UsageRule>();
o.add(buildUsageRule());
o.add(buildUsageRule());
return o;
}
-checkUnnamed482(core.List<api.UsageRule> o) {
+checkUnnamed483(core.List<api.UsageRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkUsageRule(o[0]);
checkUsageRule(o[1]);
@@ -3129,8 +3129,8 @@
buildCounterUsage++;
if (buildCounterUsage < 3) {
o.producerNotificationChannel = "foo";
- o.requirements = buildUnnamed481();
- o.rules = buildUnnamed482();
+ o.requirements = buildUnnamed482();
+ o.rules = buildUnnamed483();
o.serviceIdentity = buildServiceIdentity();
}
buildCounterUsage--;
@@ -3141,8 +3141,8 @@
buildCounterUsage++;
if (buildCounterUsage < 3) {
unittest.expect(o.producerNotificationChannel, unittest.equals('foo'));
- checkUnnamed481(o.requirements);
- checkUnnamed482(o.rules);
+ checkUnnamed482(o.requirements);
+ checkUnnamed483(o.rules);
checkServiceIdentity(o.serviceIdentity);
}
buildCounterUsage--;
@@ -4129,8 +4129,8 @@
api.OperationsResourceApi res =
new api.ServicenetworkingApi(mock).operations;
var arg_name = "foo";
- var arg_pageSize = 42;
var arg_pageToken = "foo";
+ var arg_pageSize = 42;
var arg_filter = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -4164,10 +4164,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
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["fields"].first, unittest.equals(arg_$fields));
@@ -4179,8 +4179,8 @@
}), true);
res
.list(arg_name,
- pageSize: arg_pageSize,
pageToken: arg_pageToken,
+ pageSize: arg_pageSize,
filter: arg_filter,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
diff --git a/generated/googleapis/test/serviceusage/v1_test.dart b/generated/googleapis/test/serviceusage/v1_test.dart
index 8cd6ffc..bc0fd6c 100644
--- a/generated/googleapis/test/serviceusage/v1_test.dart
+++ b/generated/googleapis/test/serviceusage/v1_test.dart
@@ -50,14 +50,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed762() {
+buildUnnamed763() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed762(core.Map<core.String, core.String> o) {
+checkUnnamed763(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -69,7 +69,7 @@
buildCounterAdminQuotaPolicy++;
if (buildCounterAdminQuotaPolicy < 3) {
o.container = "foo";
- o.dimensions = buildUnnamed762();
+ o.dimensions = buildUnnamed763();
o.metric = "foo";
o.name = "foo";
o.policyValue = "foo";
@@ -83,7 +83,7 @@
buildCounterAdminQuotaPolicy++;
if (buildCounterAdminQuotaPolicy < 3) {
unittest.expect(o.container, unittest.equals('foo'));
- checkUnnamed762(o.dimensions);
+ checkUnnamed763(o.dimensions);
unittest.expect(o.metric, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.policyValue, unittest.equals('foo'));
@@ -92,40 +92,40 @@
buildCounterAdminQuotaPolicy--;
}
-buildUnnamed763() {
+buildUnnamed764() {
var o = new core.List<api.Method>();
o.add(buildMethod());
o.add(buildMethod());
return o;
}
-checkUnnamed763(core.List<api.Method> o) {
+checkUnnamed764(core.List<api.Method> o) {
unittest.expect(o, unittest.hasLength(2));
checkMethod(o[0]);
checkMethod(o[1]);
}
-buildUnnamed764() {
+buildUnnamed765() {
var o = new core.List<api.Mixin>();
o.add(buildMixin());
o.add(buildMixin());
return o;
}
-checkUnnamed764(core.List<api.Mixin> o) {
+checkUnnamed765(core.List<api.Mixin> o) {
unittest.expect(o, unittest.hasLength(2));
checkMixin(o[0]);
checkMixin(o[1]);
}
-buildUnnamed765() {
+buildUnnamed766() {
var o = new core.List<api.Option>();
o.add(buildOption());
o.add(buildOption());
return o;
}
-checkUnnamed765(core.List<api.Option> o) {
+checkUnnamed766(core.List<api.Option> o) {
unittest.expect(o, unittest.hasLength(2));
checkOption(o[0]);
checkOption(o[1]);
@@ -136,10 +136,10 @@
var o = new api.Api();
buildCounterApi++;
if (buildCounterApi < 3) {
- o.methods = buildUnnamed763();
- o.mixins = buildUnnamed764();
+ o.methods = buildUnnamed764();
+ o.mixins = buildUnnamed765();
o.name = "foo";
- o.options = buildUnnamed765();
+ o.options = buildUnnamed766();
o.sourceContext = buildSourceContext();
o.syntax = "foo";
o.version = "foo";
@@ -151,10 +151,10 @@
checkApi(api.Api o) {
buildCounterApi++;
if (buildCounterApi < 3) {
- checkUnnamed763(o.methods);
- checkUnnamed764(o.mixins);
+ checkUnnamed764(o.methods);
+ checkUnnamed765(o.mixins);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed765(o.options);
+ checkUnnamed766(o.options);
checkSourceContext(o.sourceContext);
unittest.expect(o.syntax, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals('foo'));
@@ -162,14 +162,14 @@
buildCounterApi--;
}
-buildUnnamed766() {
+buildUnnamed767() {
var o = new core.List<api.JwtLocation>();
o.add(buildJwtLocation());
o.add(buildJwtLocation());
return o;
}
-checkUnnamed766(core.List<api.JwtLocation> o) {
+checkUnnamed767(core.List<api.JwtLocation> o) {
unittest.expect(o, unittest.hasLength(2));
checkJwtLocation(o[0]);
checkJwtLocation(o[1]);
@@ -185,7 +185,7 @@
o.id = "foo";
o.issuer = "foo";
o.jwksUri = "foo";
- o.jwtLocations = buildUnnamed766();
+ o.jwtLocations = buildUnnamed767();
}
buildCounterAuthProvider--;
return o;
@@ -199,7 +199,7 @@
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.issuer, unittest.equals('foo'));
unittest.expect(o.jwksUri, unittest.equals('foo'));
- checkUnnamed766(o.jwtLocations);
+ checkUnnamed767(o.jwtLocations);
}
buildCounterAuthProvider--;
}
@@ -225,27 +225,27 @@
buildCounterAuthRequirement--;
}
-buildUnnamed767() {
+buildUnnamed768() {
var o = new core.List<api.AuthProvider>();
o.add(buildAuthProvider());
o.add(buildAuthProvider());
return o;
}
-checkUnnamed767(core.List<api.AuthProvider> o) {
+checkUnnamed768(core.List<api.AuthProvider> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuthProvider(o[0]);
checkAuthProvider(o[1]);
}
-buildUnnamed768() {
+buildUnnamed769() {
var o = new core.List<api.AuthenticationRule>();
o.add(buildAuthenticationRule());
o.add(buildAuthenticationRule());
return o;
}
-checkUnnamed768(core.List<api.AuthenticationRule> o) {
+checkUnnamed769(core.List<api.AuthenticationRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuthenticationRule(o[0]);
checkAuthenticationRule(o[1]);
@@ -256,8 +256,8 @@
var o = new api.Authentication();
buildCounterAuthentication++;
if (buildCounterAuthentication < 3) {
- o.providers = buildUnnamed767();
- o.rules = buildUnnamed768();
+ o.providers = buildUnnamed768();
+ o.rules = buildUnnamed769();
}
buildCounterAuthentication--;
return o;
@@ -266,20 +266,20 @@
checkAuthentication(api.Authentication o) {
buildCounterAuthentication++;
if (buildCounterAuthentication < 3) {
- checkUnnamed767(o.providers);
- checkUnnamed768(o.rules);
+ checkUnnamed768(o.providers);
+ checkUnnamed769(o.rules);
}
buildCounterAuthentication--;
}
-buildUnnamed769() {
+buildUnnamed770() {
var o = new core.List<api.AuthRequirement>();
o.add(buildAuthRequirement());
o.add(buildAuthRequirement());
return o;
}
-checkUnnamed769(core.List<api.AuthRequirement> o) {
+checkUnnamed770(core.List<api.AuthRequirement> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuthRequirement(o[0]);
checkAuthRequirement(o[1]);
@@ -292,7 +292,7 @@
if (buildCounterAuthenticationRule < 3) {
o.allowWithoutCredential = true;
o.oauth = buildOAuthRequirements();
- o.requirements = buildUnnamed769();
+ o.requirements = buildUnnamed770();
o.selector = "foo";
}
buildCounterAuthenticationRule--;
@@ -304,20 +304,20 @@
if (buildCounterAuthenticationRule < 3) {
unittest.expect(o.allowWithoutCredential, unittest.isTrue);
checkOAuthRequirements(o.oauth);
- checkUnnamed769(o.requirements);
+ checkUnnamed770(o.requirements);
unittest.expect(o.selector, unittest.equals('foo'));
}
buildCounterAuthenticationRule--;
}
-buildUnnamed770() {
+buildUnnamed771() {
var o = new core.List<api.BackendRule>();
o.add(buildBackendRule());
o.add(buildBackendRule());
return o;
}
-checkUnnamed770(core.List<api.BackendRule> o) {
+checkUnnamed771(core.List<api.BackendRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkBackendRule(o[0]);
checkBackendRule(o[1]);
@@ -328,7 +328,7 @@
var o = new api.Backend();
buildCounterBackend++;
if (buildCounterBackend < 3) {
- o.rules = buildUnnamed770();
+ o.rules = buildUnnamed771();
}
buildCounterBackend--;
return o;
@@ -337,7 +337,7 @@
checkBackend(api.Backend o) {
buildCounterBackend++;
if (buildCounterBackend < 3) {
- checkUnnamed770(o.rules);
+ checkUnnamed771(o.rules);
}
buildCounterBackend--;
}
@@ -377,39 +377,6 @@
buildCounterBackendRule--;
}
-buildUnnamed771() {
- var o = new core.List<api.QuotaOverride>();
- o.add(buildQuotaOverride());
- o.add(buildQuotaOverride());
- return o;
-}
-
-checkUnnamed771(core.List<api.QuotaOverride> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkQuotaOverride(o[0]);
- checkQuotaOverride(o[1]);
-}
-
-core.int buildCounterBatchCreateAdminOverridesResponse = 0;
-buildBatchCreateAdminOverridesResponse() {
- var o = new api.BatchCreateAdminOverridesResponse();
- buildCounterBatchCreateAdminOverridesResponse++;
- if (buildCounterBatchCreateAdminOverridesResponse < 3) {
- o.overrides = buildUnnamed771();
- }
- buildCounterBatchCreateAdminOverridesResponse--;
- return o;
-}
-
-checkBatchCreateAdminOverridesResponse(
- api.BatchCreateAdminOverridesResponse o) {
- buildCounterBatchCreateAdminOverridesResponse++;
- if (buildCounterBatchCreateAdminOverridesResponse < 3) {
- checkUnnamed771(o.overrides);
- }
- buildCounterBatchCreateAdminOverridesResponse--;
-}
-
buildUnnamed772() {
var o = new core.List<api.QuotaOverride>();
o.add(buildQuotaOverride());
@@ -423,12 +390,45 @@
checkQuotaOverride(o[1]);
}
+core.int buildCounterBatchCreateAdminOverridesResponse = 0;
+buildBatchCreateAdminOverridesResponse() {
+ var o = new api.BatchCreateAdminOverridesResponse();
+ buildCounterBatchCreateAdminOverridesResponse++;
+ if (buildCounterBatchCreateAdminOverridesResponse < 3) {
+ o.overrides = buildUnnamed772();
+ }
+ buildCounterBatchCreateAdminOverridesResponse--;
+ return o;
+}
+
+checkBatchCreateAdminOverridesResponse(
+ api.BatchCreateAdminOverridesResponse o) {
+ buildCounterBatchCreateAdminOverridesResponse++;
+ if (buildCounterBatchCreateAdminOverridesResponse < 3) {
+ checkUnnamed772(o.overrides);
+ }
+ buildCounterBatchCreateAdminOverridesResponse--;
+}
+
+buildUnnamed773() {
+ var o = new core.List<api.QuotaOverride>();
+ o.add(buildQuotaOverride());
+ o.add(buildQuotaOverride());
+ return o;
+}
+
+checkUnnamed773(core.List<api.QuotaOverride> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkQuotaOverride(o[0]);
+ checkQuotaOverride(o[1]);
+}
+
core.int buildCounterBatchCreateConsumerOverridesResponse = 0;
buildBatchCreateConsumerOverridesResponse() {
var o = new api.BatchCreateConsumerOverridesResponse();
buildCounterBatchCreateConsumerOverridesResponse++;
if (buildCounterBatchCreateConsumerOverridesResponse < 3) {
- o.overrides = buildUnnamed772();
+ o.overrides = buildUnnamed773();
}
buildCounterBatchCreateConsumerOverridesResponse--;
return o;
@@ -438,19 +438,19 @@
api.BatchCreateConsumerOverridesResponse o) {
buildCounterBatchCreateConsumerOverridesResponse++;
if (buildCounterBatchCreateConsumerOverridesResponse < 3) {
- checkUnnamed772(o.overrides);
+ checkUnnamed773(o.overrides);
}
buildCounterBatchCreateConsumerOverridesResponse--;
}
-buildUnnamed773() {
+buildUnnamed774() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed773(core.List<core.String> o) {
+checkUnnamed774(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -461,7 +461,7 @@
var o = new api.BatchEnableServicesRequest();
buildCounterBatchEnableServicesRequest++;
if (buildCounterBatchEnableServicesRequest < 3) {
- o.serviceIds = buildUnnamed773();
+ o.serviceIds = buildUnnamed774();
}
buildCounterBatchEnableServicesRequest--;
return o;
@@ -470,58 +470,24 @@
checkBatchEnableServicesRequest(api.BatchEnableServicesRequest o) {
buildCounterBatchEnableServicesRequest++;
if (buildCounterBatchEnableServicesRequest < 3) {
- checkUnnamed773(o.serviceIds);
+ checkUnnamed774(o.serviceIds);
}
buildCounterBatchEnableServicesRequest--;
}
-buildUnnamed774() {
+buildUnnamed775() {
var o = new core.List<api.EnableFailure>();
o.add(buildEnableFailure());
o.add(buildEnableFailure());
return o;
}
-checkUnnamed774(core.List<api.EnableFailure> o) {
+checkUnnamed775(core.List<api.EnableFailure> o) {
unittest.expect(o, unittest.hasLength(2));
checkEnableFailure(o[0]);
checkEnableFailure(o[1]);
}
-buildUnnamed775() {
- var o = new core.List<api.GoogleApiServiceusageV1Service>();
- o.add(buildGoogleApiServiceusageV1Service());
- o.add(buildGoogleApiServiceusageV1Service());
- return o;
-}
-
-checkUnnamed775(core.List<api.GoogleApiServiceusageV1Service> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkGoogleApiServiceusageV1Service(o[0]);
- checkGoogleApiServiceusageV1Service(o[1]);
-}
-
-core.int buildCounterBatchEnableServicesResponse = 0;
-buildBatchEnableServicesResponse() {
- var o = new api.BatchEnableServicesResponse();
- buildCounterBatchEnableServicesResponse++;
- if (buildCounterBatchEnableServicesResponse < 3) {
- o.failures = buildUnnamed774();
- o.services = buildUnnamed775();
- }
- buildCounterBatchEnableServicesResponse--;
- return o;
-}
-
-checkBatchEnableServicesResponse(api.BatchEnableServicesResponse o) {
- buildCounterBatchEnableServicesResponse++;
- if (buildCounterBatchEnableServicesResponse < 3) {
- checkUnnamed774(o.failures);
- checkUnnamed775(o.services);
- }
- buildCounterBatchEnableServicesResponse--;
-}
-
buildUnnamed776() {
var o = new core.List<api.GoogleApiServiceusageV1Service>();
o.add(buildGoogleApiServiceusageV1Service());
@@ -535,12 +501,46 @@
checkGoogleApiServiceusageV1Service(o[1]);
}
+core.int buildCounterBatchEnableServicesResponse = 0;
+buildBatchEnableServicesResponse() {
+ var o = new api.BatchEnableServicesResponse();
+ buildCounterBatchEnableServicesResponse++;
+ if (buildCounterBatchEnableServicesResponse < 3) {
+ o.failures = buildUnnamed775();
+ o.services = buildUnnamed776();
+ }
+ buildCounterBatchEnableServicesResponse--;
+ return o;
+}
+
+checkBatchEnableServicesResponse(api.BatchEnableServicesResponse o) {
+ buildCounterBatchEnableServicesResponse++;
+ if (buildCounterBatchEnableServicesResponse < 3) {
+ checkUnnamed775(o.failures);
+ checkUnnamed776(o.services);
+ }
+ buildCounterBatchEnableServicesResponse--;
+}
+
+buildUnnamed777() {
+ var o = new core.List<api.GoogleApiServiceusageV1Service>();
+ o.add(buildGoogleApiServiceusageV1Service());
+ o.add(buildGoogleApiServiceusageV1Service());
+ return o;
+}
+
+checkUnnamed777(core.List<api.GoogleApiServiceusageV1Service> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkGoogleApiServiceusageV1Service(o[0]);
+ checkGoogleApiServiceusageV1Service(o[1]);
+}
+
core.int buildCounterBatchGetServicesResponse = 0;
buildBatchGetServicesResponse() {
var o = new api.BatchGetServicesResponse();
buildCounterBatchGetServicesResponse++;
if (buildCounterBatchGetServicesResponse < 3) {
- o.services = buildUnnamed776();
+ o.services = buildUnnamed777();
}
buildCounterBatchGetServicesResponse--;
return o;
@@ -549,19 +549,19 @@
checkBatchGetServicesResponse(api.BatchGetServicesResponse o) {
buildCounterBatchGetServicesResponse++;
if (buildCounterBatchGetServicesResponse < 3) {
- checkUnnamed776(o.services);
+ checkUnnamed777(o.services);
}
buildCounterBatchGetServicesResponse--;
}
-buildUnnamed777() {
+buildUnnamed778() {
var o = new core.List<api.BillingDestination>();
o.add(buildBillingDestination());
o.add(buildBillingDestination());
return o;
}
-checkUnnamed777(core.List<api.BillingDestination> o) {
+checkUnnamed778(core.List<api.BillingDestination> o) {
unittest.expect(o, unittest.hasLength(2));
checkBillingDestination(o[0]);
checkBillingDestination(o[1]);
@@ -572,7 +572,7 @@
var o = new api.Billing();
buildCounterBilling++;
if (buildCounterBilling < 3) {
- o.consumerDestinations = buildUnnamed777();
+ o.consumerDestinations = buildUnnamed778();
}
buildCounterBilling--;
return o;
@@ -581,19 +581,19 @@
checkBilling(api.Billing o) {
buildCounterBilling++;
if (buildCounterBilling < 3) {
- checkUnnamed777(o.consumerDestinations);
+ checkUnnamed778(o.consumerDestinations);
}
buildCounterBilling--;
}
-buildUnnamed778() {
+buildUnnamed779() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed778(core.List<core.String> o) {
+checkUnnamed779(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -604,7 +604,7 @@
var o = new api.BillingDestination();
buildCounterBillingDestination++;
if (buildCounterBillingDestination < 3) {
- o.metrics = buildUnnamed778();
+ o.metrics = buildUnnamed779();
o.monitoredResource = "foo";
}
buildCounterBillingDestination--;
@@ -614,7 +614,7 @@
checkBillingDestination(api.BillingDestination o) {
buildCounterBillingDestination++;
if (buildCounterBillingDestination < 3) {
- checkUnnamed778(o.metrics);
+ checkUnnamed779(o.metrics);
unittest.expect(o.monitoredResource, unittest.equals('foo'));
}
buildCounterBillingDestination--;
@@ -635,14 +635,14 @@
buildCounterCancelOperationRequest--;
}
-buildUnnamed779() {
+buildUnnamed780() {
var o = new core.List<api.ContextRule>();
o.add(buildContextRule());
o.add(buildContextRule());
return o;
}
-checkUnnamed779(core.List<api.ContextRule> o) {
+checkUnnamed780(core.List<api.ContextRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkContextRule(o[0]);
checkContextRule(o[1]);
@@ -653,7 +653,7 @@
var o = new api.Context();
buildCounterContext++;
if (buildCounterContext < 3) {
- o.rules = buildUnnamed779();
+ o.rules = buildUnnamed780();
}
buildCounterContext--;
return o;
@@ -662,24 +662,11 @@
checkContext(api.Context o) {
buildCounterContext++;
if (buildCounterContext < 3) {
- checkUnnamed779(o.rules);
+ checkUnnamed780(o.rules);
}
buildCounterContext--;
}
-buildUnnamed780() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed780(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed781() {
var o = new core.List<core.String>();
o.add("foo");
@@ -719,15 +706,28 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed784() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed784(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
core.int buildCounterContextRule = 0;
buildContextRule() {
var o = new api.ContextRule();
buildCounterContextRule++;
if (buildCounterContextRule < 3) {
- o.allowedRequestExtensions = buildUnnamed780();
- o.allowedResponseExtensions = buildUnnamed781();
- o.provided = buildUnnamed782();
- o.requested = buildUnnamed783();
+ o.allowedRequestExtensions = buildUnnamed781();
+ o.allowedResponseExtensions = buildUnnamed782();
+ o.provided = buildUnnamed783();
+ o.requested = buildUnnamed784();
o.selector = "foo";
}
buildCounterContextRule--;
@@ -737,10 +737,10 @@
checkContextRule(api.ContextRule o) {
buildCounterContextRule++;
if (buildCounterContextRule < 3) {
- checkUnnamed780(o.allowedRequestExtensions);
- checkUnnamed781(o.allowedResponseExtensions);
- checkUnnamed782(o.provided);
- checkUnnamed783(o.requested);
+ checkUnnamed781(o.allowedRequestExtensions);
+ checkUnnamed782(o.allowedResponseExtensions);
+ checkUnnamed783(o.provided);
+ checkUnnamed784(o.requested);
unittest.expect(o.selector, unittest.equals('foo'));
}
buildCounterContextRule--;
@@ -765,27 +765,27 @@
buildCounterControl--;
}
-buildUnnamed784() {
+buildUnnamed785() {
var o = new core.List<api.CustomErrorRule>();
o.add(buildCustomErrorRule());
o.add(buildCustomErrorRule());
return o;
}
-checkUnnamed784(core.List<api.CustomErrorRule> o) {
+checkUnnamed785(core.List<api.CustomErrorRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkCustomErrorRule(o[0]);
checkCustomErrorRule(o[1]);
}
-buildUnnamed785() {
+buildUnnamed786() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed785(core.List<core.String> o) {
+checkUnnamed786(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -796,8 +796,8 @@
var o = new api.CustomError();
buildCounterCustomError++;
if (buildCounterCustomError < 3) {
- o.rules = buildUnnamed784();
- o.types = buildUnnamed785();
+ o.rules = buildUnnamed785();
+ o.types = buildUnnamed786();
}
buildCounterCustomError--;
return o;
@@ -806,8 +806,8 @@
checkCustomError(api.CustomError o) {
buildCounterCustomError++;
if (buildCounterCustomError < 3) {
- checkUnnamed784(o.rules);
- checkUnnamed785(o.types);
+ checkUnnamed785(o.rules);
+ checkUnnamed786(o.types);
}
buildCounterCustomError--;
}
@@ -894,27 +894,27 @@
buildCounterDisableServiceResponse--;
}
-buildUnnamed786() {
+buildUnnamed787() {
var o = new core.List<api.Page>();
o.add(buildPage());
o.add(buildPage());
return o;
}
-checkUnnamed786(core.List<api.Page> o) {
+checkUnnamed787(core.List<api.Page> o) {
unittest.expect(o, unittest.hasLength(2));
checkPage(o[0]);
checkPage(o[1]);
}
-buildUnnamed787() {
+buildUnnamed788() {
var o = new core.List<api.DocumentationRule>();
o.add(buildDocumentationRule());
o.add(buildDocumentationRule());
return o;
}
-checkUnnamed787(core.List<api.DocumentationRule> o) {
+checkUnnamed788(core.List<api.DocumentationRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkDocumentationRule(o[0]);
checkDocumentationRule(o[1]);
@@ -927,8 +927,8 @@
if (buildCounterDocumentation < 3) {
o.documentationRootUrl = "foo";
o.overview = "foo";
- o.pages = buildUnnamed786();
- o.rules = buildUnnamed787();
+ o.pages = buildUnnamed787();
+ o.rules = buildUnnamed788();
o.serviceRootUrl = "foo";
o.summary = "foo";
}
@@ -941,8 +941,8 @@
if (buildCounterDocumentation < 3) {
unittest.expect(o.documentationRootUrl, unittest.equals('foo'));
unittest.expect(o.overview, unittest.equals('foo'));
- checkUnnamed786(o.pages);
- checkUnnamed787(o.rules);
+ checkUnnamed787(o.pages);
+ checkUnnamed788(o.rules);
unittest.expect(o.serviceRootUrl, unittest.equals('foo'));
unittest.expect(o.summary, unittest.equals('foo'));
}
@@ -1042,14 +1042,14 @@
buildCounterEnableServiceResponse--;
}
-buildUnnamed788() {
+buildUnnamed789() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed788(core.List<core.String> o) {
+checkUnnamed789(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1060,7 +1060,7 @@
var o = new api.Endpoint();
buildCounterEndpoint++;
if (buildCounterEndpoint < 3) {
- o.aliases = buildUnnamed788();
+ o.aliases = buildUnnamed789();
o.allowCors = true;
o.name = "foo";
o.target = "foo";
@@ -1072,7 +1072,7 @@
checkEndpoint(api.Endpoint o) {
buildCounterEndpoint++;
if (buildCounterEndpoint < 3) {
- checkUnnamed788(o.aliases);
+ checkUnnamed789(o.aliases);
unittest.expect(o.allowCors, unittest.isTrue);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.target, unittest.equals('foo'));
@@ -1080,59 +1080,19 @@
buildCounterEndpoint--;
}
-buildUnnamed789() {
+buildUnnamed790() {
var o = new core.List<api.EnumValue>();
o.add(buildEnumValue());
o.add(buildEnumValue());
return o;
}
-checkUnnamed789(core.List<api.EnumValue> o) {
+checkUnnamed790(core.List<api.EnumValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkEnumValue(o[0]);
checkEnumValue(o[1]);
}
-buildUnnamed790() {
- var o = new core.List<api.Option>();
- o.add(buildOption());
- o.add(buildOption());
- return o;
-}
-
-checkUnnamed790(core.List<api.Option> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkOption(o[0]);
- checkOption(o[1]);
-}
-
-core.int buildCounterEnum = 0;
-buildEnum() {
- var o = new api.Enum();
- buildCounterEnum++;
- if (buildCounterEnum < 3) {
- o.enumvalue = buildUnnamed789();
- o.name = "foo";
- o.options = buildUnnamed790();
- o.sourceContext = buildSourceContext();
- o.syntax = "foo";
- }
- buildCounterEnum--;
- return o;
-}
-
-checkEnum(api.Enum o) {
- buildCounterEnum++;
- if (buildCounterEnum < 3) {
- checkUnnamed789(o.enumvalue);
- unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed790(o.options);
- checkSourceContext(o.sourceContext);
- unittest.expect(o.syntax, unittest.equals('foo'));
- }
- buildCounterEnum--;
-}
-
buildUnnamed791() {
var o = new core.List<api.Option>();
o.add(buildOption());
@@ -1146,27 +1106,31 @@
checkOption(o[1]);
}
-core.int buildCounterEnumValue = 0;
-buildEnumValue() {
- var o = new api.EnumValue();
- buildCounterEnumValue++;
- if (buildCounterEnumValue < 3) {
+core.int buildCounterEnum = 0;
+buildEnum() {
+ var o = new api.Enum();
+ buildCounterEnum++;
+ if (buildCounterEnum < 3) {
+ o.enumvalue = buildUnnamed790();
o.name = "foo";
- o.number = 42;
o.options = buildUnnamed791();
+ o.sourceContext = buildSourceContext();
+ o.syntax = "foo";
}
- buildCounterEnumValue--;
+ buildCounterEnum--;
return o;
}
-checkEnumValue(api.EnumValue o) {
- buildCounterEnumValue++;
- if (buildCounterEnumValue < 3) {
+checkEnum(api.Enum o) {
+ buildCounterEnum++;
+ if (buildCounterEnum < 3) {
+ checkUnnamed790(o.enumvalue);
unittest.expect(o.name, unittest.equals('foo'));
- unittest.expect(o.number, unittest.equals(42));
checkUnnamed791(o.options);
+ checkSourceContext(o.sourceContext);
+ unittest.expect(o.syntax, unittest.equals('foo'));
}
- buildCounterEnumValue--;
+ buildCounterEnum--;
}
buildUnnamed792() {
@@ -1182,6 +1146,42 @@
checkOption(o[1]);
}
+core.int buildCounterEnumValue = 0;
+buildEnumValue() {
+ var o = new api.EnumValue();
+ buildCounterEnumValue++;
+ if (buildCounterEnumValue < 3) {
+ o.name = "foo";
+ o.number = 42;
+ o.options = buildUnnamed792();
+ }
+ buildCounterEnumValue--;
+ return o;
+}
+
+checkEnumValue(api.EnumValue o) {
+ buildCounterEnumValue++;
+ if (buildCounterEnumValue < 3) {
+ unittest.expect(o.name, unittest.equals('foo'));
+ unittest.expect(o.number, unittest.equals(42));
+ checkUnnamed792(o.options);
+ }
+ buildCounterEnumValue--;
+}
+
+buildUnnamed793() {
+ var o = new core.List<api.Option>();
+ o.add(buildOption());
+ o.add(buildOption());
+ return o;
+}
+
+checkUnnamed793(core.List<api.Option> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkOption(o[0]);
+ checkOption(o[1]);
+}
+
core.int buildCounterField = 0;
buildField() {
var o = new api.Field();
@@ -1194,7 +1194,7 @@
o.name = "foo";
o.number = 42;
o.oneofIndex = 42;
- o.options = buildUnnamed792();
+ o.options = buildUnnamed793();
o.packed = true;
o.typeUrl = "foo";
}
@@ -1212,7 +1212,7 @@
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.number, unittest.equals(42));
unittest.expect(o.oneofIndex, unittest.equals(42));
- checkUnnamed792(o.options);
+ checkUnnamed793(o.options);
unittest.expect(o.packed, unittest.isTrue);
unittest.expect(o.typeUrl, unittest.equals('foo'));
}
@@ -1240,97 +1240,84 @@
buildCounterGetServiceIdentityResponse--;
}
-buildUnnamed793() {
+buildUnnamed794() {
var o = new core.List<api.Api>();
o.add(buildApi());
o.add(buildApi());
return o;
}
-checkUnnamed793(core.List<api.Api> o) {
+checkUnnamed794(core.List<api.Api> o) {
unittest.expect(o, unittest.hasLength(2));
checkApi(o[0]);
checkApi(o[1]);
}
-buildUnnamed794() {
+buildUnnamed795() {
var o = new core.List<api.Endpoint>();
o.add(buildEndpoint());
o.add(buildEndpoint());
return o;
}
-checkUnnamed794(core.List<api.Endpoint> o) {
+checkUnnamed795(core.List<api.Endpoint> o) {
unittest.expect(o, unittest.hasLength(2));
checkEndpoint(o[0]);
checkEndpoint(o[1]);
}
-buildUnnamed795() {
+buildUnnamed796() {
var o = new core.List<api.Enum>();
o.add(buildEnum());
o.add(buildEnum());
return o;
}
-checkUnnamed795(core.List<api.Enum> o) {
+checkUnnamed796(core.List<api.Enum> o) {
unittest.expect(o, unittest.hasLength(2));
checkEnum(o[0]);
checkEnum(o[1]);
}
-buildUnnamed796() {
+buildUnnamed797() {
var o = new core.List<api.LogDescriptor>();
o.add(buildLogDescriptor());
o.add(buildLogDescriptor());
return o;
}
-checkUnnamed796(core.List<api.LogDescriptor> o) {
+checkUnnamed797(core.List<api.LogDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkLogDescriptor(o[0]);
checkLogDescriptor(o[1]);
}
-buildUnnamed797() {
+buildUnnamed798() {
var o = new core.List<api.MetricDescriptor>();
o.add(buildMetricDescriptor());
o.add(buildMetricDescriptor());
return o;
}
-checkUnnamed797(core.List<api.MetricDescriptor> o) {
+checkUnnamed798(core.List<api.MetricDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetricDescriptor(o[0]);
checkMetricDescriptor(o[1]);
}
-buildUnnamed798() {
+buildUnnamed799() {
var o = new core.List<api.MonitoredResourceDescriptor>();
o.add(buildMonitoredResourceDescriptor());
o.add(buildMonitoredResourceDescriptor());
return o;
}
-checkUnnamed798(core.List<api.MonitoredResourceDescriptor> o) {
+checkUnnamed799(core.List<api.MonitoredResourceDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkMonitoredResourceDescriptor(o[0]);
checkMonitoredResourceDescriptor(o[1]);
}
-buildUnnamed799() {
- var o = new core.List<api.Type>();
- o.add(buildType());
- o.add(buildType());
- return o;
-}
-
-checkUnnamed799(core.List<api.Type> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkType(o[0]);
- checkType(o[1]);
-}
-
buildUnnamed800() {
var o = new core.List<api.Type>();
o.add(buildType());
@@ -1344,12 +1331,25 @@
checkType(o[1]);
}
+buildUnnamed801() {
+ var o = new core.List<api.Type>();
+ o.add(buildType());
+ o.add(buildType());
+ return o;
+}
+
+checkUnnamed801(core.List<api.Type> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkType(o[0]);
+ checkType(o[1]);
+}
+
core.int buildCounterGoogleApiService = 0;
buildGoogleApiService() {
var o = new api.GoogleApiService();
buildCounterGoogleApiService++;
if (buildCounterGoogleApiService < 3) {
- o.apis = buildUnnamed793();
+ o.apis = buildUnnamed794();
o.authentication = buildAuthentication();
o.backend = buildBackend();
o.billing = buildBilling();
@@ -1358,23 +1358,23 @@
o.control = buildControl();
o.customError = buildCustomError();
o.documentation = buildDocumentation();
- o.endpoints = buildUnnamed794();
- o.enums = buildUnnamed795();
+ o.endpoints = buildUnnamed795();
+ o.enums = buildUnnamed796();
o.http = buildHttp();
o.id = "foo";
o.logging = buildLogging();
- o.logs = buildUnnamed796();
- o.metrics = buildUnnamed797();
- o.monitoredResources = buildUnnamed798();
+ o.logs = buildUnnamed797();
+ o.metrics = buildUnnamed798();
+ o.monitoredResources = buildUnnamed799();
o.monitoring = buildMonitoring();
o.name = "foo";
o.producerProjectId = "foo";
o.quota = buildQuota();
o.sourceInfo = buildSourceInfo();
o.systemParameters = buildSystemParameters();
- o.systemTypes = buildUnnamed799();
+ o.systemTypes = buildUnnamed800();
o.title = "foo";
- o.types = buildUnnamed800();
+ o.types = buildUnnamed801();
o.usage = buildUsage();
}
buildCounterGoogleApiService--;
@@ -1384,7 +1384,7 @@
checkGoogleApiService(api.GoogleApiService o) {
buildCounterGoogleApiService++;
if (buildCounterGoogleApiService < 3) {
- checkUnnamed793(o.apis);
+ checkUnnamed794(o.apis);
checkAuthentication(o.authentication);
checkBackend(o.backend);
checkBilling(o.billing);
@@ -1393,23 +1393,23 @@
checkControl(o.control);
checkCustomError(o.customError);
checkDocumentation(o.documentation);
- checkUnnamed794(o.endpoints);
- checkUnnamed795(o.enums);
+ checkUnnamed795(o.endpoints);
+ checkUnnamed796(o.enums);
checkHttp(o.http);
unittest.expect(o.id, unittest.equals('foo'));
checkLogging(o.logging);
- checkUnnamed796(o.logs);
- checkUnnamed797(o.metrics);
- checkUnnamed798(o.monitoredResources);
+ checkUnnamed797(o.logs);
+ checkUnnamed798(o.metrics);
+ checkUnnamed799(o.monitoredResources);
checkMonitoring(o.monitoring);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.producerProjectId, unittest.equals('foo'));
checkQuota(o.quota);
checkSourceInfo(o.sourceInfo);
checkSystemParameters(o.systemParameters);
- checkUnnamed799(o.systemTypes);
+ checkUnnamed800(o.systemTypes);
unittest.expect(o.title, unittest.equals('foo'));
- checkUnnamed800(o.types);
+ checkUnnamed801(o.types);
checkUsage(o.usage);
}
buildCounterGoogleApiService--;
@@ -1438,14 +1438,14 @@
buildCounterGoogleApiServiceIdentity--;
}
-buildUnnamed801() {
+buildUnnamed802() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed801(core.List<core.String> o) {
+checkUnnamed802(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1456,7 +1456,7 @@
var o = new api.GoogleApiServiceusageV1OperationMetadata();
buildCounterGoogleApiServiceusageV1OperationMetadata++;
if (buildCounterGoogleApiServiceusageV1OperationMetadata < 3) {
- o.resourceNames = buildUnnamed801();
+ o.resourceNames = buildUnnamed802();
}
buildCounterGoogleApiServiceusageV1OperationMetadata--;
return o;
@@ -1466,7 +1466,7 @@
api.GoogleApiServiceusageV1OperationMetadata o) {
buildCounterGoogleApiServiceusageV1OperationMetadata++;
if (buildCounterGoogleApiServiceusageV1OperationMetadata < 3) {
- checkUnnamed801(o.resourceNames);
+ checkUnnamed802(o.resourceNames);
}
buildCounterGoogleApiServiceusageV1OperationMetadata--;
}
@@ -1496,40 +1496,40 @@
buildCounterGoogleApiServiceusageV1Service--;
}
-buildUnnamed802() {
+buildUnnamed803() {
var o = new core.List<api.Api>();
o.add(buildApi());
o.add(buildApi());
return o;
}
-checkUnnamed802(core.List<api.Api> o) {
+checkUnnamed803(core.List<api.Api> o) {
unittest.expect(o, unittest.hasLength(2));
checkApi(o[0]);
checkApi(o[1]);
}
-buildUnnamed803() {
+buildUnnamed804() {
var o = new core.List<api.Endpoint>();
o.add(buildEndpoint());
o.add(buildEndpoint());
return o;
}
-checkUnnamed803(core.List<api.Endpoint> o) {
+checkUnnamed804(core.List<api.Endpoint> o) {
unittest.expect(o, unittest.hasLength(2));
checkEndpoint(o[0]);
checkEndpoint(o[1]);
}
-buildUnnamed804() {
+buildUnnamed805() {
var o = new core.List<api.MonitoredResourceDescriptor>();
o.add(buildMonitoredResourceDescriptor());
o.add(buildMonitoredResourceDescriptor());
return o;
}
-checkUnnamed804(core.List<api.MonitoredResourceDescriptor> o) {
+checkUnnamed805(core.List<api.MonitoredResourceDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkMonitoredResourceDescriptor(o[0]);
checkMonitoredResourceDescriptor(o[1]);
@@ -1540,11 +1540,11 @@
var o = new api.GoogleApiServiceusageV1ServiceConfig();
buildCounterGoogleApiServiceusageV1ServiceConfig++;
if (buildCounterGoogleApiServiceusageV1ServiceConfig < 3) {
- o.apis = buildUnnamed802();
+ o.apis = buildUnnamed803();
o.authentication = buildAuthentication();
o.documentation = buildDocumentation();
- o.endpoints = buildUnnamed803();
- o.monitoredResources = buildUnnamed804();
+ o.endpoints = buildUnnamed804();
+ o.monitoredResources = buildUnnamed805();
o.monitoring = buildMonitoring();
o.name = "foo";
o.quota = buildQuota();
@@ -1559,11 +1559,11 @@
api.GoogleApiServiceusageV1ServiceConfig o) {
buildCounterGoogleApiServiceusageV1ServiceConfig++;
if (buildCounterGoogleApiServiceusageV1ServiceConfig < 3) {
- checkUnnamed802(o.apis);
+ checkUnnamed803(o.apis);
checkAuthentication(o.authentication);
checkDocumentation(o.documentation);
- checkUnnamed803(o.endpoints);
- checkUnnamed804(o.monitoredResources);
+ checkUnnamed804(o.endpoints);
+ checkUnnamed805(o.monitoredResources);
checkMonitoring(o.monitoring);
unittest.expect(o.name, unittest.equals('foo'));
checkQuota(o.quota);
@@ -1617,40 +1617,6 @@
buildCounterGoogleApiServiceusageV1beta1ServiceIdentity--;
}
-buildUnnamed805() {
- var o = new core.List<api.HttpRule>();
- o.add(buildHttpRule());
- o.add(buildHttpRule());
- return o;
-}
-
-checkUnnamed805(core.List<api.HttpRule> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkHttpRule(o[0]);
- checkHttpRule(o[1]);
-}
-
-core.int buildCounterHttp = 0;
-buildHttp() {
- var o = new api.Http();
- buildCounterHttp++;
- if (buildCounterHttp < 3) {
- o.fullyDecodeReservedExpansion = true;
- o.rules = buildUnnamed805();
- }
- buildCounterHttp--;
- return o;
-}
-
-checkHttp(api.Http o) {
- buildCounterHttp++;
- if (buildCounterHttp < 3) {
- unittest.expect(o.fullyDecodeReservedExpansion, unittest.isTrue);
- checkUnnamed805(o.rules);
- }
- buildCounterHttp--;
-}
-
buildUnnamed806() {
var o = new core.List<api.HttpRule>();
o.add(buildHttpRule());
@@ -1664,12 +1630,46 @@
checkHttpRule(o[1]);
}
+core.int buildCounterHttp = 0;
+buildHttp() {
+ var o = new api.Http();
+ buildCounterHttp++;
+ if (buildCounterHttp < 3) {
+ o.fullyDecodeReservedExpansion = true;
+ o.rules = buildUnnamed806();
+ }
+ buildCounterHttp--;
+ return o;
+}
+
+checkHttp(api.Http o) {
+ buildCounterHttp++;
+ if (buildCounterHttp < 3) {
+ unittest.expect(o.fullyDecodeReservedExpansion, unittest.isTrue);
+ checkUnnamed806(o.rules);
+ }
+ buildCounterHttp--;
+}
+
+buildUnnamed807() {
+ var o = new core.List<api.HttpRule>();
+ o.add(buildHttpRule());
+ o.add(buildHttpRule());
+ return o;
+}
+
+checkUnnamed807(core.List<api.HttpRule> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkHttpRule(o[0]);
+ checkHttpRule(o[1]);
+}
+
core.int buildCounterHttpRule = 0;
buildHttpRule() {
var o = new api.HttpRule();
buildCounterHttpRule++;
if (buildCounterHttpRule < 3) {
- o.additionalBindings = buildUnnamed806();
+ o.additionalBindings = buildUnnamed807();
o.allowHalfDuplex = true;
o.body = "foo";
o.custom = buildCustomHttpPattern();
@@ -1688,7 +1688,7 @@
checkHttpRule(api.HttpRule o) {
buildCounterHttpRule++;
if (buildCounterHttpRule < 3) {
- checkUnnamed806(o.additionalBindings);
+ checkUnnamed807(o.additionalBindings);
unittest.expect(o.allowHalfDuplex, unittest.isTrue);
unittest.expect(o.body, unittest.equals('foo'));
checkCustomHttpPattern(o.custom);
@@ -1703,14 +1703,14 @@
buildCounterHttpRule--;
}
-buildUnnamed807() {
+buildUnnamed808() {
var o = new core.List<api.QuotaOverride>();
o.add(buildQuotaOverride());
o.add(buildQuotaOverride());
return o;
}
-checkUnnamed807(core.List<api.QuotaOverride> o) {
+checkUnnamed808(core.List<api.QuotaOverride> o) {
unittest.expect(o, unittest.hasLength(2));
checkQuotaOverride(o[0]);
checkQuotaOverride(o[1]);
@@ -1721,7 +1721,7 @@
var o = new api.ImportAdminOverridesResponse();
buildCounterImportAdminOverridesResponse++;
if (buildCounterImportAdminOverridesResponse < 3) {
- o.overrides = buildUnnamed807();
+ o.overrides = buildUnnamed808();
}
buildCounterImportAdminOverridesResponse--;
return o;
@@ -1730,19 +1730,19 @@
checkImportAdminOverridesResponse(api.ImportAdminOverridesResponse o) {
buildCounterImportAdminOverridesResponse++;
if (buildCounterImportAdminOverridesResponse < 3) {
- checkUnnamed807(o.overrides);
+ checkUnnamed808(o.overrides);
}
buildCounterImportAdminOverridesResponse--;
}
-buildUnnamed808() {
+buildUnnamed809() {
var o = new core.List<api.AdminQuotaPolicy>();
o.add(buildAdminQuotaPolicy());
o.add(buildAdminQuotaPolicy());
return o;
}
-checkUnnamed808(core.List<api.AdminQuotaPolicy> o) {
+checkUnnamed809(core.List<api.AdminQuotaPolicy> o) {
unittest.expect(o, unittest.hasLength(2));
checkAdminQuotaPolicy(o[0]);
checkAdminQuotaPolicy(o[1]);
@@ -1753,7 +1753,7 @@
var o = new api.ImportAdminQuotaPoliciesResponse();
buildCounterImportAdminQuotaPoliciesResponse++;
if (buildCounterImportAdminQuotaPoliciesResponse < 3) {
- o.policies = buildUnnamed808();
+ o.policies = buildUnnamed809();
}
buildCounterImportAdminQuotaPoliciesResponse--;
return o;
@@ -1762,19 +1762,19 @@
checkImportAdminQuotaPoliciesResponse(api.ImportAdminQuotaPoliciesResponse o) {
buildCounterImportAdminQuotaPoliciesResponse++;
if (buildCounterImportAdminQuotaPoliciesResponse < 3) {
- checkUnnamed808(o.policies);
+ checkUnnamed809(o.policies);
}
buildCounterImportAdminQuotaPoliciesResponse--;
}
-buildUnnamed809() {
+buildUnnamed810() {
var o = new core.List<api.QuotaOverride>();
o.add(buildQuotaOverride());
o.add(buildQuotaOverride());
return o;
}
-checkUnnamed809(core.List<api.QuotaOverride> o) {
+checkUnnamed810(core.List<api.QuotaOverride> o) {
unittest.expect(o, unittest.hasLength(2));
checkQuotaOverride(o[0]);
checkQuotaOverride(o[1]);
@@ -1785,7 +1785,7 @@
var o = new api.ImportConsumerOverridesResponse();
buildCounterImportConsumerOverridesResponse++;
if (buildCounterImportConsumerOverridesResponse < 3) {
- o.overrides = buildUnnamed809();
+ o.overrides = buildUnnamed810();
}
buildCounterImportConsumerOverridesResponse--;
return o;
@@ -1794,7 +1794,7 @@
checkImportConsumerOverridesResponse(api.ImportConsumerOverridesResponse o) {
buildCounterImportConsumerOverridesResponse++;
if (buildCounterImportConsumerOverridesResponse < 3) {
- checkUnnamed809(o.overrides);
+ checkUnnamed810(o.overrides);
}
buildCounterImportConsumerOverridesResponse--;
}
@@ -1845,14 +1845,14 @@
buildCounterLabelDescriptor--;
}
-buildUnnamed810() {
+buildUnnamed811() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed810(core.List<api.Operation> o) {
+checkUnnamed811(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -1864,7 +1864,7 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
o.nextPageToken = "foo";
- o.operations = buildUnnamed810();
+ o.operations = buildUnnamed811();
}
buildCounterListOperationsResponse--;
return o;
@@ -1874,19 +1874,19 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed810(o.operations);
+ checkUnnamed811(o.operations);
}
buildCounterListOperationsResponse--;
}
-buildUnnamed811() {
+buildUnnamed812() {
var o = new core.List<api.GoogleApiServiceusageV1Service>();
o.add(buildGoogleApiServiceusageV1Service());
o.add(buildGoogleApiServiceusageV1Service());
return o;
}
-checkUnnamed811(core.List<api.GoogleApiServiceusageV1Service> o) {
+checkUnnamed812(core.List<api.GoogleApiServiceusageV1Service> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleApiServiceusageV1Service(o[0]);
checkGoogleApiServiceusageV1Service(o[1]);
@@ -1898,7 +1898,7 @@
buildCounterListServicesResponse++;
if (buildCounterListServicesResponse < 3) {
o.nextPageToken = "foo";
- o.services = buildUnnamed811();
+ o.services = buildUnnamed812();
}
buildCounterListServicesResponse--;
return o;
@@ -1908,19 +1908,19 @@
buildCounterListServicesResponse++;
if (buildCounterListServicesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed811(o.services);
+ checkUnnamed812(o.services);
}
buildCounterListServicesResponse--;
}
-buildUnnamed812() {
+buildUnnamed813() {
var o = new core.List<api.LabelDescriptor>();
o.add(buildLabelDescriptor());
o.add(buildLabelDescriptor());
return o;
}
-checkUnnamed812(core.List<api.LabelDescriptor> o) {
+checkUnnamed813(core.List<api.LabelDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkLabelDescriptor(o[0]);
checkLabelDescriptor(o[1]);
@@ -1933,7 +1933,7 @@
if (buildCounterLogDescriptor < 3) {
o.description = "foo";
o.displayName = "foo";
- o.labels = buildUnnamed812();
+ o.labels = buildUnnamed813();
o.name = "foo";
}
buildCounterLogDescriptor--;
@@ -1945,25 +1945,12 @@
if (buildCounterLogDescriptor < 3) {
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed812(o.labels);
+ checkUnnamed813(o.labels);
unittest.expect(o.name, unittest.equals('foo'));
}
buildCounterLogDescriptor--;
}
-buildUnnamed813() {
- var o = new core.List<api.LoggingDestination>();
- o.add(buildLoggingDestination());
- o.add(buildLoggingDestination());
- return o;
-}
-
-checkUnnamed813(core.List<api.LoggingDestination> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkLoggingDestination(o[0]);
- checkLoggingDestination(o[1]);
-}
-
buildUnnamed814() {
var o = new core.List<api.LoggingDestination>();
o.add(buildLoggingDestination());
@@ -1977,13 +1964,26 @@
checkLoggingDestination(o[1]);
}
+buildUnnamed815() {
+ var o = new core.List<api.LoggingDestination>();
+ o.add(buildLoggingDestination());
+ o.add(buildLoggingDestination());
+ return o;
+}
+
+checkUnnamed815(core.List<api.LoggingDestination> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkLoggingDestination(o[0]);
+ checkLoggingDestination(o[1]);
+}
+
core.int buildCounterLogging = 0;
buildLogging() {
var o = new api.Logging();
buildCounterLogging++;
if (buildCounterLogging < 3) {
- o.consumerDestinations = buildUnnamed813();
- o.producerDestinations = buildUnnamed814();
+ o.consumerDestinations = buildUnnamed814();
+ o.producerDestinations = buildUnnamed815();
}
buildCounterLogging--;
return o;
@@ -1992,20 +1992,20 @@
checkLogging(api.Logging o) {
buildCounterLogging++;
if (buildCounterLogging < 3) {
- checkUnnamed813(o.consumerDestinations);
- checkUnnamed814(o.producerDestinations);
+ checkUnnamed814(o.consumerDestinations);
+ checkUnnamed815(o.producerDestinations);
}
buildCounterLogging--;
}
-buildUnnamed815() {
+buildUnnamed816() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed815(core.List<core.String> o) {
+checkUnnamed816(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2016,7 +2016,7 @@
var o = new api.LoggingDestination();
buildCounterLoggingDestination++;
if (buildCounterLoggingDestination < 3) {
- o.logs = buildUnnamed815();
+ o.logs = buildUnnamed816();
o.monitoredResource = "foo";
}
buildCounterLoggingDestination--;
@@ -2026,20 +2026,20 @@
checkLoggingDestination(api.LoggingDestination o) {
buildCounterLoggingDestination++;
if (buildCounterLoggingDestination < 3) {
- checkUnnamed815(o.logs);
+ checkUnnamed816(o.logs);
unittest.expect(o.monitoredResource, unittest.equals('foo'));
}
buildCounterLoggingDestination--;
}
-buildUnnamed816() {
+buildUnnamed817() {
var o = new core.List<api.Option>();
o.add(buildOption());
o.add(buildOption());
return o;
}
-checkUnnamed816(core.List<api.Option> o) {
+checkUnnamed817(core.List<api.Option> o) {
unittest.expect(o, unittest.hasLength(2));
checkOption(o[0]);
checkOption(o[1]);
@@ -2051,7 +2051,7 @@
buildCounterMethod++;
if (buildCounterMethod < 3) {
o.name = "foo";
- o.options = buildUnnamed816();
+ o.options = buildUnnamed817();
o.requestStreaming = true;
o.requestTypeUrl = "foo";
o.responseStreaming = true;
@@ -2066,7 +2066,7 @@
buildCounterMethod++;
if (buildCounterMethod < 3) {
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed816(o.options);
+ checkUnnamed817(o.options);
unittest.expect(o.requestStreaming, unittest.isTrue);
unittest.expect(o.requestTypeUrl, unittest.equals('foo'));
unittest.expect(o.responseStreaming, unittest.isTrue);
@@ -2076,27 +2076,27 @@
buildCounterMethod--;
}
-buildUnnamed817() {
+buildUnnamed818() {
var o = new core.List<api.LabelDescriptor>();
o.add(buildLabelDescriptor());
o.add(buildLabelDescriptor());
return o;
}
-checkUnnamed817(core.List<api.LabelDescriptor> o) {
+checkUnnamed818(core.List<api.LabelDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkLabelDescriptor(o[0]);
checkLabelDescriptor(o[1]);
}
-buildUnnamed818() {
+buildUnnamed819() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed818(core.List<core.String> o) {
+checkUnnamed819(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2109,11 +2109,11 @@
if (buildCounterMetricDescriptor < 3) {
o.description = "foo";
o.displayName = "foo";
- o.labels = buildUnnamed817();
+ o.labels = buildUnnamed818();
o.launchStage = "foo";
o.metadata = buildMetricDescriptorMetadata();
o.metricKind = "foo";
- o.monitoredResourceTypes = buildUnnamed818();
+ o.monitoredResourceTypes = buildUnnamed819();
o.name = "foo";
o.type = "foo";
o.unit = "foo";
@@ -2128,11 +2128,11 @@
if (buildCounterMetricDescriptor < 3) {
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed817(o.labels);
+ checkUnnamed818(o.labels);
unittest.expect(o.launchStage, unittest.equals('foo'));
checkMetricDescriptorMetadata(o.metadata);
unittest.expect(o.metricKind, unittest.equals('foo'));
- checkUnnamed818(o.monitoredResourceTypes);
+ checkUnnamed819(o.monitoredResourceTypes);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
unittest.expect(o.unit, unittest.equals('foo'));
@@ -2164,14 +2164,14 @@
buildCounterMetricDescriptorMetadata--;
}
-buildUnnamed819() {
+buildUnnamed820() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed819(core.Map<core.String, core.String> o) {
+checkUnnamed820(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -2182,7 +2182,7 @@
var o = new api.MetricRule();
buildCounterMetricRule++;
if (buildCounterMetricRule < 3) {
- o.metricCosts = buildUnnamed819();
+ o.metricCosts = buildUnnamed820();
o.selector = "foo";
}
buildCounterMetricRule--;
@@ -2192,7 +2192,7 @@
checkMetricRule(api.MetricRule o) {
buildCounterMetricRule++;
if (buildCounterMetricRule < 3) {
- checkUnnamed819(o.metricCosts);
+ checkUnnamed820(o.metricCosts);
unittest.expect(o.selector, unittest.equals('foo'));
}
buildCounterMetricRule--;
@@ -2219,14 +2219,14 @@
buildCounterMixin--;
}
-buildUnnamed820() {
+buildUnnamed821() {
var o = new core.List<api.LabelDescriptor>();
o.add(buildLabelDescriptor());
o.add(buildLabelDescriptor());
return o;
}
-checkUnnamed820(core.List<api.LabelDescriptor> o) {
+checkUnnamed821(core.List<api.LabelDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkLabelDescriptor(o[0]);
checkLabelDescriptor(o[1]);
@@ -2239,7 +2239,7 @@
if (buildCounterMonitoredResourceDescriptor < 3) {
o.description = "foo";
o.displayName = "foo";
- o.labels = buildUnnamed820();
+ o.labels = buildUnnamed821();
o.launchStage = "foo";
o.name = "foo";
o.type = "foo";
@@ -2253,7 +2253,7 @@
if (buildCounterMonitoredResourceDescriptor < 3) {
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed820(o.labels);
+ checkUnnamed821(o.labels);
unittest.expect(o.launchStage, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
@@ -2261,19 +2261,6 @@
buildCounterMonitoredResourceDescriptor--;
}
-buildUnnamed821() {
- var o = new core.List<api.MonitoringDestination>();
- o.add(buildMonitoringDestination());
- o.add(buildMonitoringDestination());
- return o;
-}
-
-checkUnnamed821(core.List<api.MonitoringDestination> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkMonitoringDestination(o[0]);
- checkMonitoringDestination(o[1]);
-}
-
buildUnnamed822() {
var o = new core.List<api.MonitoringDestination>();
o.add(buildMonitoringDestination());
@@ -2287,13 +2274,26 @@
checkMonitoringDestination(o[1]);
}
+buildUnnamed823() {
+ var o = new core.List<api.MonitoringDestination>();
+ o.add(buildMonitoringDestination());
+ o.add(buildMonitoringDestination());
+ return o;
+}
+
+checkUnnamed823(core.List<api.MonitoringDestination> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkMonitoringDestination(o[0]);
+ checkMonitoringDestination(o[1]);
+}
+
core.int buildCounterMonitoring = 0;
buildMonitoring() {
var o = new api.Monitoring();
buildCounterMonitoring++;
if (buildCounterMonitoring < 3) {
- o.consumerDestinations = buildUnnamed821();
- o.producerDestinations = buildUnnamed822();
+ o.consumerDestinations = buildUnnamed822();
+ o.producerDestinations = buildUnnamed823();
}
buildCounterMonitoring--;
return o;
@@ -2302,20 +2302,20 @@
checkMonitoring(api.Monitoring o) {
buildCounterMonitoring++;
if (buildCounterMonitoring < 3) {
- checkUnnamed821(o.consumerDestinations);
- checkUnnamed822(o.producerDestinations);
+ checkUnnamed822(o.consumerDestinations);
+ checkUnnamed823(o.producerDestinations);
}
buildCounterMonitoring--;
}
-buildUnnamed823() {
+buildUnnamed824() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed823(core.List<core.String> o) {
+checkUnnamed824(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2326,7 +2326,7 @@
var o = new api.MonitoringDestination();
buildCounterMonitoringDestination++;
if (buildCounterMonitoringDestination < 3) {
- o.metrics = buildUnnamed823();
+ o.metrics = buildUnnamed824();
o.monitoredResource = "foo";
}
buildCounterMonitoringDestination--;
@@ -2336,7 +2336,7 @@
checkMonitoringDestination(api.MonitoringDestination o) {
buildCounterMonitoringDestination++;
if (buildCounterMonitoringDestination < 3) {
- checkUnnamed823(o.metrics);
+ checkUnnamed824(o.metrics);
unittest.expect(o.monitoredResource, unittest.equals('foo'));
}
buildCounterMonitoringDestination--;
@@ -2361,35 +2361,6 @@
buildCounterOAuthRequirements--;
}
-buildUnnamed824() {
- var o = new core.Map<core.String, core.Object>();
- o["x"] = {
- 'list': [1, 2, 3],
- 'bool': true,
- 'string': 'foo'
- };
- o["y"] = {
- 'list': [1, 2, 3],
- 'bool': true,
- 'string': 'foo'
- };
- return o;
-}
-
-checkUnnamed824(core.Map<core.String, core.Object> o) {
- unittest.expect(o, unittest.hasLength(2));
- var casted1 = (o["x"]) as core.Map;
- unittest.expect(casted1, unittest.hasLength(3));
- unittest.expect(casted1["list"], unittest.equals([1, 2, 3]));
- unittest.expect(casted1["bool"], unittest.equals(true));
- unittest.expect(casted1["string"], unittest.equals('foo'));
- var casted2 = (o["y"]) as core.Map;
- unittest.expect(casted2, unittest.hasLength(3));
- unittest.expect(casted2["list"], unittest.equals([1, 2, 3]));
- unittest.expect(casted2["bool"], unittest.equals(true));
- unittest.expect(casted2["string"], unittest.equals('foo'));
-}
-
buildUnnamed825() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
@@ -2407,6 +2378,35 @@
checkUnnamed825(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
+ var casted1 = (o["x"]) as core.Map;
+ unittest.expect(casted1, unittest.hasLength(3));
+ unittest.expect(casted1["list"], unittest.equals([1, 2, 3]));
+ unittest.expect(casted1["bool"], unittest.equals(true));
+ unittest.expect(casted1["string"], unittest.equals('foo'));
+ var casted2 = (o["y"]) as core.Map;
+ unittest.expect(casted2, unittest.hasLength(3));
+ unittest.expect(casted2["list"], unittest.equals([1, 2, 3]));
+ unittest.expect(casted2["bool"], unittest.equals(true));
+ unittest.expect(casted2["string"], unittest.equals('foo'));
+}
+
+buildUnnamed826() {
+ var o = new core.Map<core.String, core.Object>();
+ o["x"] = {
+ 'list': [1, 2, 3],
+ 'bool': true,
+ 'string': 'foo'
+ };
+ o["y"] = {
+ 'list': [1, 2, 3],
+ 'bool': true,
+ 'string': 'foo'
+ };
+ return o;
+}
+
+checkUnnamed826(core.Map<core.String, core.Object> o) {
+ unittest.expect(o, unittest.hasLength(2));
var casted3 = (o["x"]) as core.Map;
unittest.expect(casted3, unittest.hasLength(3));
unittest.expect(casted3["list"], unittest.equals([1, 2, 3]));
@@ -2426,9 +2426,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed824();
+ o.metadata = buildUnnamed825();
o.name = "foo";
- o.response = buildUnnamed825();
+ o.response = buildUnnamed826();
}
buildCounterOperation--;
return o;
@@ -2439,21 +2439,21 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed824(o.metadata);
+ checkUnnamed825(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed825(o.response);
+ checkUnnamed826(o.response);
}
buildCounterOperation--;
}
-buildUnnamed826() {
+buildUnnamed827() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed826(core.List<core.String> o) {
+checkUnnamed827(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2464,7 +2464,7 @@
var o = new api.OperationMetadata();
buildCounterOperationMetadata++;
if (buildCounterOperationMetadata < 3) {
- o.resourceNames = buildUnnamed826();
+ o.resourceNames = buildUnnamed827();
}
buildCounterOperationMetadata--;
return o;
@@ -2473,12 +2473,12 @@
checkOperationMetadata(api.OperationMetadata o) {
buildCounterOperationMetadata++;
if (buildCounterOperationMetadata < 3) {
- checkUnnamed826(o.resourceNames);
+ checkUnnamed827(o.resourceNames);
}
buildCounterOperationMetadata--;
}
-buildUnnamed827() {
+buildUnnamed828() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -2493,7 +2493,7 @@
return o;
}
-checkUnnamed827(core.Map<core.String, core.Object> o) {
+checkUnnamed828(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted5 = (o["x"]) as core.Map;
unittest.expect(casted5, unittest.hasLength(3));
@@ -2513,7 +2513,7 @@
buildCounterOption++;
if (buildCounterOption < 3) {
o.name = "foo";
- o.value = buildUnnamed827();
+ o.value = buildUnnamed828();
}
buildCounterOption--;
return o;
@@ -2523,19 +2523,19 @@
buildCounterOption++;
if (buildCounterOption < 3) {
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed827(o.value);
+ checkUnnamed828(o.value);
}
buildCounterOption--;
}
-buildUnnamed828() {
+buildUnnamed829() {
var o = new core.List<api.Page>();
o.add(buildPage());
o.add(buildPage());
return o;
}
-checkUnnamed828(core.List<api.Page> o) {
+checkUnnamed829(core.List<api.Page> o) {
unittest.expect(o, unittest.hasLength(2));
checkPage(o[0]);
checkPage(o[1]);
@@ -2548,7 +2548,7 @@
if (buildCounterPage < 3) {
o.content = "foo";
o.name = "foo";
- o.subpages = buildUnnamed828();
+ o.subpages = buildUnnamed829();
}
buildCounterPage--;
return o;
@@ -2559,32 +2559,32 @@
if (buildCounterPage < 3) {
unittest.expect(o.content, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed828(o.subpages);
+ checkUnnamed829(o.subpages);
}
buildCounterPage--;
}
-buildUnnamed829() {
+buildUnnamed830() {
var o = new core.List<api.QuotaLimit>();
o.add(buildQuotaLimit());
o.add(buildQuotaLimit());
return o;
}
-checkUnnamed829(core.List<api.QuotaLimit> o) {
+checkUnnamed830(core.List<api.QuotaLimit> o) {
unittest.expect(o, unittest.hasLength(2));
checkQuotaLimit(o[0]);
checkQuotaLimit(o[1]);
}
-buildUnnamed830() {
+buildUnnamed831() {
var o = new core.List<api.MetricRule>();
o.add(buildMetricRule());
o.add(buildMetricRule());
return o;
}
-checkUnnamed830(core.List<api.MetricRule> o) {
+checkUnnamed831(core.List<api.MetricRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetricRule(o[0]);
checkMetricRule(o[1]);
@@ -2595,8 +2595,8 @@
var o = new api.Quota();
buildCounterQuota++;
if (buildCounterQuota < 3) {
- o.limits = buildUnnamed829();
- o.metricRules = buildUnnamed830();
+ o.limits = buildUnnamed830();
+ o.metricRules = buildUnnamed831();
}
buildCounterQuota--;
return o;
@@ -2605,20 +2605,20 @@
checkQuota(api.Quota o) {
buildCounterQuota++;
if (buildCounterQuota < 3) {
- checkUnnamed829(o.limits);
- checkUnnamed830(o.metricRules);
+ checkUnnamed830(o.limits);
+ checkUnnamed831(o.metricRules);
}
buildCounterQuota--;
}
-buildUnnamed831() {
+buildUnnamed832() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed831(core.Map<core.String, core.String> o) {
+checkUnnamed832(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -2638,7 +2638,7 @@
o.metric = "foo";
o.name = "foo";
o.unit = "foo";
- o.values = buildUnnamed831();
+ o.values = buildUnnamed832();
}
buildCounterQuotaLimit--;
return o;
@@ -2656,19 +2656,19 @@
unittest.expect(o.metric, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.unit, unittest.equals('foo'));
- checkUnnamed831(o.values);
+ checkUnnamed832(o.values);
}
buildCounterQuotaLimit--;
}
-buildUnnamed832() {
+buildUnnamed833() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed832(core.Map<core.String, core.String> o) {
+checkUnnamed833(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -2680,7 +2680,7 @@
buildCounterQuotaOverride++;
if (buildCounterQuotaOverride < 3) {
o.adminOverrideAncestor = "foo";
- o.dimensions = buildUnnamed832();
+ o.dimensions = buildUnnamed833();
o.metric = "foo";
o.name = "foo";
o.overrideValue = "foo";
@@ -2694,7 +2694,7 @@
buildCounterQuotaOverride++;
if (buildCounterQuotaOverride < 3) {
unittest.expect(o.adminOverrideAncestor, unittest.equals('foo'));
- checkUnnamed832(o.dimensions);
+ checkUnnamed833(o.dimensions);
unittest.expect(o.metric, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.overrideValue, unittest.equals('foo'));
@@ -2743,7 +2743,7 @@
buildCounterSourceContext--;
}
-buildUnnamed833() {
+buildUnnamed834() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -2758,7 +2758,7 @@
return o;
}
-checkUnnamed833(core.Map<core.String, core.Object> o) {
+checkUnnamed834(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted7 = (o["x"]) as core.Map;
unittest.expect(casted7, unittest.hasLength(3));
@@ -2772,17 +2772,17 @@
unittest.expect(casted8["string"], unittest.equals('foo'));
}
-buildUnnamed834() {
+buildUnnamed835() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed833());
- o.add(buildUnnamed833());
+ o.add(buildUnnamed834());
+ o.add(buildUnnamed834());
return o;
}
-checkUnnamed834(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed835(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed833(o[0]);
- checkUnnamed833(o[1]);
+ checkUnnamed834(o[0]);
+ checkUnnamed834(o[1]);
}
core.int buildCounterSourceInfo = 0;
@@ -2790,7 +2790,7 @@
var o = new api.SourceInfo();
buildCounterSourceInfo++;
if (buildCounterSourceInfo < 3) {
- o.sourceFiles = buildUnnamed834();
+ o.sourceFiles = buildUnnamed835();
}
buildCounterSourceInfo--;
return o;
@@ -2799,12 +2799,12 @@
checkSourceInfo(api.SourceInfo o) {
buildCounterSourceInfo++;
if (buildCounterSourceInfo < 3) {
- checkUnnamed834(o.sourceFiles);
+ checkUnnamed835(o.sourceFiles);
}
buildCounterSourceInfo--;
}
-buildUnnamed835() {
+buildUnnamed836() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -2819,7 +2819,7 @@
return o;
}
-checkUnnamed835(core.Map<core.String, core.Object> o) {
+checkUnnamed836(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted9 = (o["x"]) as core.Map;
unittest.expect(casted9, unittest.hasLength(3));
@@ -2833,17 +2833,17 @@
unittest.expect(casted10["string"], unittest.equals('foo'));
}
-buildUnnamed836() {
+buildUnnamed837() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed835());
- o.add(buildUnnamed835());
+ o.add(buildUnnamed836());
+ o.add(buildUnnamed836());
return o;
}
-checkUnnamed836(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed837(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed835(o[0]);
- checkUnnamed835(o[1]);
+ checkUnnamed836(o[0]);
+ checkUnnamed836(o[1]);
}
core.int buildCounterStatus = 0;
@@ -2852,7 +2852,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed836();
+ o.details = buildUnnamed837();
o.message = "foo";
}
buildCounterStatus--;
@@ -2863,7 +2863,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed836(o.details);
+ checkUnnamed837(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
@@ -2892,14 +2892,14 @@
buildCounterSystemParameter--;
}
-buildUnnamed837() {
+buildUnnamed838() {
var o = new core.List<api.SystemParameter>();
o.add(buildSystemParameter());
o.add(buildSystemParameter());
return o;
}
-checkUnnamed837(core.List<api.SystemParameter> o) {
+checkUnnamed838(core.List<api.SystemParameter> o) {
unittest.expect(o, unittest.hasLength(2));
checkSystemParameter(o[0]);
checkSystemParameter(o[1]);
@@ -2910,7 +2910,7 @@
var o = new api.SystemParameterRule();
buildCounterSystemParameterRule++;
if (buildCounterSystemParameterRule < 3) {
- o.parameters = buildUnnamed837();
+ o.parameters = buildUnnamed838();
o.selector = "foo";
}
buildCounterSystemParameterRule--;
@@ -2920,20 +2920,20 @@
checkSystemParameterRule(api.SystemParameterRule o) {
buildCounterSystemParameterRule++;
if (buildCounterSystemParameterRule < 3) {
- checkUnnamed837(o.parameters);
+ checkUnnamed838(o.parameters);
unittest.expect(o.selector, unittest.equals('foo'));
}
buildCounterSystemParameterRule--;
}
-buildUnnamed838() {
+buildUnnamed839() {
var o = new core.List<api.SystemParameterRule>();
o.add(buildSystemParameterRule());
o.add(buildSystemParameterRule());
return o;
}
-checkUnnamed838(core.List<api.SystemParameterRule> o) {
+checkUnnamed839(core.List<api.SystemParameterRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkSystemParameterRule(o[0]);
checkSystemParameterRule(o[1]);
@@ -2944,7 +2944,7 @@
var o = new api.SystemParameters();
buildCounterSystemParameters++;
if (buildCounterSystemParameters < 3) {
- o.rules = buildUnnamed838();
+ o.rules = buildUnnamed839();
}
buildCounterSystemParameters--;
return o;
@@ -2953,45 +2953,45 @@
checkSystemParameters(api.SystemParameters o) {
buildCounterSystemParameters++;
if (buildCounterSystemParameters < 3) {
- checkUnnamed838(o.rules);
+ checkUnnamed839(o.rules);
}
buildCounterSystemParameters--;
}
-buildUnnamed839() {
+buildUnnamed840() {
var o = new core.List<api.Field>();
o.add(buildField());
o.add(buildField());
return o;
}
-checkUnnamed839(core.List<api.Field> o) {
+checkUnnamed840(core.List<api.Field> o) {
unittest.expect(o, unittest.hasLength(2));
checkField(o[0]);
checkField(o[1]);
}
-buildUnnamed840() {
+buildUnnamed841() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed840(core.List<core.String> o) {
+checkUnnamed841(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed841() {
+buildUnnamed842() {
var o = new core.List<api.Option>();
o.add(buildOption());
o.add(buildOption());
return o;
}
-checkUnnamed841(core.List<api.Option> o) {
+checkUnnamed842(core.List<api.Option> o) {
unittest.expect(o, unittest.hasLength(2));
checkOption(o[0]);
checkOption(o[1]);
@@ -3002,10 +3002,10 @@
var o = new api.Type();
buildCounterType++;
if (buildCounterType < 3) {
- o.fields = buildUnnamed839();
+ o.fields = buildUnnamed840();
o.name = "foo";
- o.oneofs = buildUnnamed840();
- o.options = buildUnnamed841();
+ o.oneofs = buildUnnamed841();
+ o.options = buildUnnamed842();
o.sourceContext = buildSourceContext();
o.syntax = "foo";
}
@@ -3016,37 +3016,37 @@
checkType(api.Type o) {
buildCounterType++;
if (buildCounterType < 3) {
- checkUnnamed839(o.fields);
+ checkUnnamed840(o.fields);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed840(o.oneofs);
- checkUnnamed841(o.options);
+ checkUnnamed841(o.oneofs);
+ checkUnnamed842(o.options);
checkSourceContext(o.sourceContext);
unittest.expect(o.syntax, unittest.equals('foo'));
}
buildCounterType--;
}
-buildUnnamed842() {
+buildUnnamed843() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed842(core.List<core.String> o) {
+checkUnnamed843(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed843() {
+buildUnnamed844() {
var o = new core.List<api.UsageRule>();
o.add(buildUsageRule());
o.add(buildUsageRule());
return o;
}
-checkUnnamed843(core.List<api.UsageRule> o) {
+checkUnnamed844(core.List<api.UsageRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkUsageRule(o[0]);
checkUsageRule(o[1]);
@@ -3058,8 +3058,8 @@
buildCounterUsage++;
if (buildCounterUsage < 3) {
o.producerNotificationChannel = "foo";
- o.requirements = buildUnnamed842();
- o.rules = buildUnnamed843();
+ o.requirements = buildUnnamed843();
+ o.rules = buildUnnamed844();
o.serviceIdentity = buildGoogleApiServiceIdentity();
}
buildCounterUsage--;
@@ -3070,8 +3070,8 @@
buildCounterUsage++;
if (buildCounterUsage < 3) {
unittest.expect(o.producerNotificationChannel, unittest.equals('foo'));
- checkUnnamed842(o.requirements);
- checkUnnamed843(o.rules);
+ checkUnnamed843(o.requirements);
+ checkUnnamed844(o.rules);
checkGoogleApiServiceIdentity(o.serviceIdentity);
}
buildCounterUsage--;
@@ -3100,14 +3100,14 @@
buildCounterUsageRule--;
}
-buildUnnamed844() {
+buildUnnamed845() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed844(core.List<core.String> o) {
+checkUnnamed845(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3923,9 +3923,9 @@
var mock = new HttpServerMock();
api.OperationsResourceApi res = new api.ServiceusageApi(mock).operations;
var arg_pageSize = 42;
- var arg_pageToken = "foo";
- var arg_filter = "foo";
var arg_name = "foo";
+ 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;
@@ -3959,10 +3959,10 @@
}
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["filter"].first, unittest.equals(arg_filter));
- unittest.expect(queryMap["name"].first, unittest.equals(arg_name));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3974,9 +3974,9 @@
res
.list(
pageSize: arg_pageSize,
- pageToken: arg_pageToken,
- filter: arg_filter,
name: arg_name,
+ filter: arg_filter,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListOperationsResponse(response);
@@ -4044,7 +4044,7 @@
var mock = new HttpServerMock();
api.ServicesResourceApi res = new api.ServiceusageApi(mock).services;
var arg_parent = "foo";
- var arg_names = buildUnnamed844();
+ var arg_names = buildUnnamed845();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -4258,9 +4258,9 @@
var mock = new HttpServerMock();
api.ServicesResourceApi res = new api.ServiceusageApi(mock).services;
var arg_parent = "foo";
- var arg_filter = "foo";
- var arg_pageToken = "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;
@@ -4293,11 +4293,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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["filter"].first, unittest.equals(arg_filter));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4308,9 +4308,9 @@
}), true);
res
.list(arg_parent,
- filter: arg_filter,
- pageToken: arg_pageToken,
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 6fe4f72..9ef807b 100644
--- a/generated/googleapis/test/sheets/v4_test.dart
+++ b/generated/googleapis/test/sheets/v4_test.dart
@@ -9234,8 +9234,8 @@
var mock = new HttpServerMock();
api.SpreadsheetsResourceApi res = new api.SheetsApi(mock).spreadsheets;
var arg_spreadsheetId = "foo";
- var arg_includeGridData = true;
var arg_ranges = buildUnnamed218();
+ var arg_includeGridData = true;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -9270,9 +9270,9 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ 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 = {
@@ -9283,8 +9283,8 @@
}), true);
res
.get(arg_spreadsheetId,
- includeGridData: arg_includeGridData,
ranges: arg_ranges,
+ includeGridData: arg_includeGridData,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkSpreadsheet(response);
@@ -9570,9 +9570,9 @@
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_responseValueRenderOption = "foo";
var arg_valueInputOption = "foo";
var arg_insertDataOption = "foo";
var arg_$fields = "foo";
@@ -9627,12 +9627,12 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ 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["responseValueRenderOption"].first,
- unittest.equals(arg_responseValueRenderOption));
unittest.expect(queryMap["valueInputOption"].first,
unittest.equals(arg_valueInputOption));
unittest.expect(queryMap["insertDataOption"].first,
@@ -9647,9 +9647,9 @@
}), true);
res
.append(arg_request, arg_spreadsheetId, arg_range,
+ responseValueRenderOption: arg_responseValueRenderOption,
responseDateTimeRenderOption: arg_responseDateTimeRenderOption,
includeValuesInResponse: arg_includeValuesInResponse,
- responseValueRenderOption: arg_responseValueRenderOption,
valueInputOption: arg_valueInputOption,
insertDataOption: arg_insertDataOption,
$fields: arg_$fields)
@@ -10141,9 +10141,9 @@
new 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;
@@ -10187,12 +10187,12 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ 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 = {
@@ -10203,9 +10203,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);
@@ -10219,10 +10219,10 @@
var arg_request = buildValueRange();
var arg_spreadsheetId = "foo";
var arg_range = "foo";
- var arg_valueInputOption = "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 = new api.ValueRange.fromJson(json);
@@ -10269,14 +10269,14 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["valueInputOption"].first,
- unittest.equals(arg_valueInputOption));
- 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 = {
@@ -10287,10 +10287,10 @@
}), true);
res
.update(arg_request, arg_spreadsheetId, arg_range,
- valueInputOption: arg_valueInputOption,
- 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/siteverification/v1_test.dart b/generated/googleapis/test/siteverification/v1_test.dart
index 2c1ba2b..96b1c7e 100644
--- a/generated/googleapis/test/siteverification/v1_test.dart
+++ b/generated/googleapis/test/siteverification/v1_test.dart
@@ -116,14 +116,14 @@
buildCounterSiteVerificationWebResourceGettokenResponse--;
}
-buildUnnamed4382() {
+buildUnnamed4389() {
var o = new core.List<api.SiteVerificationWebResourceResource>();
o.add(buildSiteVerificationWebResourceResource());
o.add(buildSiteVerificationWebResourceResource());
return o;
}
-checkUnnamed4382(core.List<api.SiteVerificationWebResourceResource> o) {
+checkUnnamed4389(core.List<api.SiteVerificationWebResourceResource> o) {
unittest.expect(o, unittest.hasLength(2));
checkSiteVerificationWebResourceResource(o[0]);
checkSiteVerificationWebResourceResource(o[1]);
@@ -134,7 +134,7 @@
var o = new api.SiteVerificationWebResourceListResponse();
buildCounterSiteVerificationWebResourceListResponse++;
if (buildCounterSiteVerificationWebResourceListResponse < 3) {
- o.items = buildUnnamed4382();
+ o.items = buildUnnamed4389();
}
buildCounterSiteVerificationWebResourceListResponse--;
return o;
@@ -144,19 +144,19 @@
api.SiteVerificationWebResourceListResponse o) {
buildCounterSiteVerificationWebResourceListResponse++;
if (buildCounterSiteVerificationWebResourceListResponse < 3) {
- checkUnnamed4382(o.items);
+ checkUnnamed4389(o.items);
}
buildCounterSiteVerificationWebResourceListResponse--;
}
-buildUnnamed4383() {
+buildUnnamed4390() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4383(core.List<core.String> o) {
+checkUnnamed4390(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -190,7 +190,7 @@
buildCounterSiteVerificationWebResourceResource++;
if (buildCounterSiteVerificationWebResourceResource < 3) {
o.id = "foo";
- o.owners = buildUnnamed4383();
+ o.owners = buildUnnamed4390();
o.site = buildSiteVerificationWebResourceResourceSite();
}
buildCounterSiteVerificationWebResourceResource--;
@@ -202,7 +202,7 @@
buildCounterSiteVerificationWebResourceResource++;
if (buildCounterSiteVerificationWebResourceResource < 3) {
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed4383(o.owners);
+ checkUnnamed4390(o.owners);
checkSiteVerificationWebResourceResourceSite(o.site);
}
buildCounterSiteVerificationWebResourceResource--;
diff --git a/generated/googleapis/test/slides/v1_test.dart b/generated/googleapis/test/slides/v1_test.dart
index aeac07a..f2ec0a4 100644
--- a/generated/googleapis/test/slides/v1_test.dart
+++ b/generated/googleapis/test/slides/v1_test.dart
@@ -104,14 +104,14 @@
buildCounterAutoText--;
}
-buildUnnamed2334() {
+buildUnnamed2336() {
var o = new core.List<api.Request>();
o.add(buildRequest());
o.add(buildRequest());
return o;
}
-checkUnnamed2334(core.List<api.Request> o) {
+checkUnnamed2336(core.List<api.Request> o) {
unittest.expect(o, unittest.hasLength(2));
checkRequest(o[0]);
checkRequest(o[1]);
@@ -122,7 +122,7 @@
var o = new api.BatchUpdatePresentationRequest();
buildCounterBatchUpdatePresentationRequest++;
if (buildCounterBatchUpdatePresentationRequest < 3) {
- o.requests = buildUnnamed2334();
+ o.requests = buildUnnamed2336();
o.writeControl = buildWriteControl();
}
buildCounterBatchUpdatePresentationRequest--;
@@ -132,20 +132,20 @@
checkBatchUpdatePresentationRequest(api.BatchUpdatePresentationRequest o) {
buildCounterBatchUpdatePresentationRequest++;
if (buildCounterBatchUpdatePresentationRequest < 3) {
- checkUnnamed2334(o.requests);
+ checkUnnamed2336(o.requests);
checkWriteControl(o.writeControl);
}
buildCounterBatchUpdatePresentationRequest--;
}
-buildUnnamed2335() {
+buildUnnamed2337() {
var o = new core.List<api.Response>();
o.add(buildResponse());
o.add(buildResponse());
return o;
}
-checkUnnamed2335(core.List<api.Response> o) {
+checkUnnamed2337(core.List<api.Response> o) {
unittest.expect(o, unittest.hasLength(2));
checkResponse(o[0]);
checkResponse(o[1]);
@@ -157,7 +157,7 @@
buildCounterBatchUpdatePresentationResponse++;
if (buildCounterBatchUpdatePresentationResponse < 3) {
o.presentationId = "foo";
- o.replies = buildUnnamed2335();
+ o.replies = buildUnnamed2337();
o.writeControl = buildWriteControl();
}
buildCounterBatchUpdatePresentationResponse--;
@@ -168,7 +168,7 @@
buildCounterBatchUpdatePresentationResponse++;
if (buildCounterBatchUpdatePresentationResponse < 3) {
unittest.expect(o.presentationId, unittest.equals('foo'));
- checkUnnamed2335(o.replies);
+ checkUnnamed2337(o.replies);
checkWriteControl(o.writeControl);
}
buildCounterBatchUpdatePresentationResponse--;
@@ -199,14 +199,14 @@
buildCounterBullet--;
}
-buildUnnamed2336() {
+buildUnnamed2338() {
var o = new core.List<api.ThemeColorPair>();
o.add(buildThemeColorPair());
o.add(buildThemeColorPair());
return o;
}
-checkUnnamed2336(core.List<api.ThemeColorPair> o) {
+checkUnnamed2338(core.List<api.ThemeColorPair> o) {
unittest.expect(o, unittest.hasLength(2));
checkThemeColorPair(o[0]);
checkThemeColorPair(o[1]);
@@ -217,7 +217,7 @@
var o = new api.ColorScheme();
buildCounterColorScheme++;
if (buildCounterColorScheme < 3) {
- o.colors = buildUnnamed2336();
+ o.colors = buildUnnamed2338();
}
buildCounterColorScheme--;
return o;
@@ -226,7 +226,7 @@
checkColorScheme(api.ColorScheme o) {
buildCounterColorScheme++;
if (buildCounterColorScheme < 3) {
- checkUnnamed2336(o.colors);
+ checkUnnamed2338(o.colors);
}
buildCounterColorScheme--;
}
@@ -453,14 +453,14 @@
buildCounterCreateSheetsChartResponse--;
}
-buildUnnamed2337() {
+buildUnnamed2339() {
var o = new core.List<api.LayoutPlaceholderIdMapping>();
o.add(buildLayoutPlaceholderIdMapping());
o.add(buildLayoutPlaceholderIdMapping());
return o;
}
-checkUnnamed2337(core.List<api.LayoutPlaceholderIdMapping> o) {
+checkUnnamed2339(core.List<api.LayoutPlaceholderIdMapping> o) {
unittest.expect(o, unittest.hasLength(2));
checkLayoutPlaceholderIdMapping(o[0]);
checkLayoutPlaceholderIdMapping(o[1]);
@@ -473,7 +473,7 @@
if (buildCounterCreateSlideRequest < 3) {
o.insertionIndex = 42;
o.objectId = "foo";
- o.placeholderIdMappings = buildUnnamed2337();
+ o.placeholderIdMappings = buildUnnamed2339();
o.slideLayoutReference = buildLayoutReference();
}
buildCounterCreateSlideRequest--;
@@ -485,7 +485,7 @@
if (buildCounterCreateSlideRequest < 3) {
unittest.expect(o.insertionIndex, unittest.equals(42));
unittest.expect(o.objectId, unittest.equals('foo'));
- checkUnnamed2337(o.placeholderIdMappings);
+ checkUnnamed2339(o.placeholderIdMappings);
checkLayoutReference(o.slideLayoutReference);
}
buildCounterCreateSlideRequest--;
@@ -753,14 +753,14 @@
buildCounterDimension--;
}
-buildUnnamed2338() {
+buildUnnamed2340() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2338(core.Map<core.String, core.String> o) {
+checkUnnamed2340(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -772,7 +772,7 @@
buildCounterDuplicateObjectRequest++;
if (buildCounterDuplicateObjectRequest < 3) {
o.objectId = "foo";
- o.objectIds = buildUnnamed2338();
+ o.objectIds = buildUnnamed2340();
}
buildCounterDuplicateObjectRequest--;
return o;
@@ -782,7 +782,7 @@
buildCounterDuplicateObjectRequest++;
if (buildCounterDuplicateObjectRequest < 3) {
unittest.expect(o.objectId, unittest.equals('foo'));
- checkUnnamed2338(o.objectIds);
+ checkUnnamed2340(o.objectIds);
}
buildCounterDuplicateObjectRequest--;
}
@@ -806,14 +806,14 @@
buildCounterDuplicateObjectResponse--;
}
-buildUnnamed2339() {
+buildUnnamed2341() {
var o = new core.List<api.PageElement>();
o.add(buildPageElement());
o.add(buildPageElement());
return o;
}
-checkUnnamed2339(core.List<api.PageElement> o) {
+checkUnnamed2341(core.List<api.PageElement> o) {
unittest.expect(o, unittest.hasLength(2));
checkPageElement(o[0]);
checkPageElement(o[1]);
@@ -824,7 +824,7 @@
var o = new api.Group();
buildCounterGroup++;
if (buildCounterGroup < 3) {
- o.children = buildUnnamed2339();
+ o.children = buildUnnamed2341();
}
buildCounterGroup--;
return o;
@@ -833,19 +833,19 @@
checkGroup(api.Group o) {
buildCounterGroup++;
if (buildCounterGroup < 3) {
- checkUnnamed2339(o.children);
+ checkUnnamed2341(o.children);
}
buildCounterGroup--;
}
-buildUnnamed2340() {
+buildUnnamed2342() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2340(core.List<core.String> o) {
+checkUnnamed2342(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -856,7 +856,7 @@
var o = new api.GroupObjectsRequest();
buildCounterGroupObjectsRequest++;
if (buildCounterGroupObjectsRequest < 3) {
- o.childrenObjectIds = buildUnnamed2340();
+ o.childrenObjectIds = buildUnnamed2342();
o.groupObjectId = "foo";
}
buildCounterGroupObjectsRequest--;
@@ -866,7 +866,7 @@
checkGroupObjectsRequest(api.GroupObjectsRequest o) {
buildCounterGroupObjectsRequest++;
if (buildCounterGroupObjectsRequest < 3) {
- checkUnnamed2340(o.childrenObjectIds);
+ checkUnnamed2342(o.childrenObjectIds);
unittest.expect(o.groupObjectId, unittest.equals('foo'));
}
buildCounterGroupObjectsRequest--;
@@ -1210,14 +1210,14 @@
buildCounterLink--;
}
-buildUnnamed2341() {
+buildUnnamed2343() {
var o = new core.Map<core.String, api.NestingLevel>();
o["x"] = buildNestingLevel();
o["y"] = buildNestingLevel();
return o;
}
-checkUnnamed2341(core.Map<core.String, api.NestingLevel> o) {
+checkUnnamed2343(core.Map<core.String, api.NestingLevel> o) {
unittest.expect(o, unittest.hasLength(2));
checkNestingLevel(o["x"]);
checkNestingLevel(o["y"]);
@@ -1229,7 +1229,7 @@
buildCounterList++;
if (buildCounterList < 3) {
o.listId = "foo";
- o.nestingLevel = buildUnnamed2341();
+ o.nestingLevel = buildUnnamed2343();
}
buildCounterList--;
return o;
@@ -1239,7 +1239,7 @@
buildCounterList++;
if (buildCounterList < 3) {
unittest.expect(o.listId, unittest.equals('foo'));
- checkUnnamed2341(o.nestingLevel);
+ checkUnnamed2343(o.nestingLevel);
}
buildCounterList--;
}
@@ -1406,14 +1406,14 @@
buildCounterOutlineFill--;
}
-buildUnnamed2342() {
+buildUnnamed2344() {
var o = new core.List<api.PageElement>();
o.add(buildPageElement());
o.add(buildPageElement());
return o;
}
-checkUnnamed2342(core.List<api.PageElement> o) {
+checkUnnamed2344(core.List<api.PageElement> o) {
unittest.expect(o, unittest.hasLength(2));
checkPageElement(o[0]);
checkPageElement(o[1]);
@@ -1428,7 +1428,7 @@
o.masterProperties = buildMasterProperties();
o.notesProperties = buildNotesProperties();
o.objectId = "foo";
- o.pageElements = buildUnnamed2342();
+ o.pageElements = buildUnnamed2344();
o.pageProperties = buildPageProperties();
o.pageType = "foo";
o.revisionId = "foo";
@@ -1445,7 +1445,7 @@
checkMasterProperties(o.masterProperties);
checkNotesProperties(o.notesProperties);
unittest.expect(o.objectId, unittest.equals('foo'));
- checkUnnamed2342(o.pageElements);
+ checkUnnamed2344(o.pageElements);
checkPageProperties(o.pageProperties);
unittest.expect(o.pageType, unittest.equals('foo'));
unittest.expect(o.revisionId, unittest.equals('foo'));
@@ -1643,32 +1643,6 @@
buildCounterPlaceholder--;
}
-buildUnnamed2343() {
- var o = new core.List<api.Page>();
- o.add(buildPage());
- o.add(buildPage());
- return o;
-}
-
-checkUnnamed2343(core.List<api.Page> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkPage(o[0]);
- checkPage(o[1]);
-}
-
-buildUnnamed2344() {
- var o = new core.List<api.Page>();
- o.add(buildPage());
- o.add(buildPage());
- return o;
-}
-
-checkUnnamed2344(core.List<api.Page> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkPage(o[0]);
- checkPage(o[1]);
-}
-
buildUnnamed2345() {
var o = new core.List<api.Page>();
o.add(buildPage());
@@ -1682,19 +1656,45 @@
checkPage(o[1]);
}
+buildUnnamed2346() {
+ var o = new core.List<api.Page>();
+ o.add(buildPage());
+ o.add(buildPage());
+ return o;
+}
+
+checkUnnamed2346(core.List<api.Page> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkPage(o[0]);
+ checkPage(o[1]);
+}
+
+buildUnnamed2347() {
+ var o = new core.List<api.Page>();
+ o.add(buildPage());
+ o.add(buildPage());
+ return o;
+}
+
+checkUnnamed2347(core.List<api.Page> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkPage(o[0]);
+ checkPage(o[1]);
+}
+
core.int buildCounterPresentation = 0;
buildPresentation() {
var o = new api.Presentation();
buildCounterPresentation++;
if (buildCounterPresentation < 3) {
- o.layouts = buildUnnamed2343();
+ o.layouts = buildUnnamed2345();
o.locale = "foo";
- o.masters = buildUnnamed2344();
+ o.masters = buildUnnamed2346();
o.notesMaster = buildPage();
o.pageSize = buildSize();
o.presentationId = "foo";
o.revisionId = "foo";
- o.slides = buildUnnamed2345();
+ o.slides = buildUnnamed2347();
o.title = "foo";
}
buildCounterPresentation--;
@@ -1704,14 +1704,14 @@
checkPresentation(api.Presentation o) {
buildCounterPresentation++;
if (buildCounterPresentation < 3) {
- checkUnnamed2343(o.layouts);
+ checkUnnamed2345(o.layouts);
unittest.expect(o.locale, unittest.equals('foo'));
- checkUnnamed2344(o.masters);
+ checkUnnamed2346(o.masters);
checkPage(o.notesMaster);
checkSize(o.pageSize);
unittest.expect(o.presentationId, unittest.equals('foo'));
unittest.expect(o.revisionId, unittest.equals('foo'));
- checkUnnamed2345(o.slides);
+ checkUnnamed2347(o.slides);
unittest.expect(o.title, unittest.equals('foo'));
}
buildCounterPresentation--;
@@ -1740,14 +1740,14 @@
buildCounterRange--;
}
-buildUnnamed2346() {
+buildUnnamed2348() {
var o = new core.List<api.ColorStop>();
o.add(buildColorStop());
o.add(buildColorStop());
return o;
}
-checkUnnamed2346(core.List<api.ColorStop> o) {
+checkUnnamed2348(core.List<api.ColorStop> o) {
unittest.expect(o, unittest.hasLength(2));
checkColorStop(o[0]);
checkColorStop(o[1]);
@@ -1759,7 +1759,7 @@
buildCounterRecolor++;
if (buildCounterRecolor < 3) {
o.name = "foo";
- o.recolorStops = buildUnnamed2346();
+ o.recolorStops = buildUnnamed2348();
}
buildCounterRecolor--;
return o;
@@ -1769,7 +1769,7 @@
buildCounterRecolor++;
if (buildCounterRecolor < 3) {
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2346(o.recolorStops);
+ checkUnnamed2348(o.recolorStops);
}
buildCounterRecolor--;
}
@@ -1793,14 +1793,14 @@
buildCounterRefreshSheetsChartRequest--;
}
-buildUnnamed2347() {
+buildUnnamed2349() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2347(core.List<core.String> o) {
+checkUnnamed2349(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1814,7 +1814,7 @@
o.containsText = buildSubstringMatchCriteria();
o.imageReplaceMethod = "foo";
o.imageUrl = "foo";
- o.pageObjectIds = buildUnnamed2347();
+ o.pageObjectIds = buildUnnamed2349();
o.replaceMethod = "foo";
}
buildCounterReplaceAllShapesWithImageRequest--;
@@ -1827,7 +1827,7 @@
checkSubstringMatchCriteria(o.containsText);
unittest.expect(o.imageReplaceMethod, unittest.equals('foo'));
unittest.expect(o.imageUrl, unittest.equals('foo'));
- checkUnnamed2347(o.pageObjectIds);
+ checkUnnamed2349(o.pageObjectIds);
unittest.expect(o.replaceMethod, unittest.equals('foo'));
}
buildCounterReplaceAllShapesWithImageRequest--;
@@ -1853,14 +1853,14 @@
buildCounterReplaceAllShapesWithImageResponse--;
}
-buildUnnamed2348() {
+buildUnnamed2350() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2348(core.List<core.String> o) {
+checkUnnamed2350(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1874,7 +1874,7 @@
o.chartId = 42;
o.containsText = buildSubstringMatchCriteria();
o.linkingMode = "foo";
- o.pageObjectIds = buildUnnamed2348();
+ o.pageObjectIds = buildUnnamed2350();
o.spreadsheetId = "foo";
}
buildCounterReplaceAllShapesWithSheetsChartRequest--;
@@ -1888,7 +1888,7 @@
unittest.expect(o.chartId, unittest.equals(42));
checkSubstringMatchCriteria(o.containsText);
unittest.expect(o.linkingMode, unittest.equals('foo'));
- checkUnnamed2348(o.pageObjectIds);
+ checkUnnamed2350(o.pageObjectIds);
unittest.expect(o.spreadsheetId, unittest.equals('foo'));
}
buildCounterReplaceAllShapesWithSheetsChartRequest--;
@@ -1914,14 +1914,14 @@
buildCounterReplaceAllShapesWithSheetsChartResponse--;
}
-buildUnnamed2349() {
+buildUnnamed2351() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2349(core.List<core.String> o) {
+checkUnnamed2351(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1933,7 +1933,7 @@
buildCounterReplaceAllTextRequest++;
if (buildCounterReplaceAllTextRequest < 3) {
o.containsText = buildSubstringMatchCriteria();
- o.pageObjectIds = buildUnnamed2349();
+ o.pageObjectIds = buildUnnamed2351();
o.replaceText = "foo";
}
buildCounterReplaceAllTextRequest--;
@@ -1944,7 +1944,7 @@
buildCounterReplaceAllTextRequest++;
if (buildCounterReplaceAllTextRequest < 3) {
checkSubstringMatchCriteria(o.containsText);
- checkUnnamed2349(o.pageObjectIds);
+ checkUnnamed2351(o.pageObjectIds);
unittest.expect(o.replaceText, unittest.equals('foo'));
}
buildCounterReplaceAllTextRequest--;
@@ -2439,53 +2439,53 @@
buildCounterSubstringMatchCriteria--;
}
-buildUnnamed2350() {
+buildUnnamed2352() {
var o = new core.List<api.TableBorderRow>();
o.add(buildTableBorderRow());
o.add(buildTableBorderRow());
return o;
}
-checkUnnamed2350(core.List<api.TableBorderRow> o) {
+checkUnnamed2352(core.List<api.TableBorderRow> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableBorderRow(o[0]);
checkTableBorderRow(o[1]);
}
-buildUnnamed2351() {
+buildUnnamed2353() {
var o = new core.List<api.TableColumnProperties>();
o.add(buildTableColumnProperties());
o.add(buildTableColumnProperties());
return o;
}
-checkUnnamed2351(core.List<api.TableColumnProperties> o) {
+checkUnnamed2353(core.List<api.TableColumnProperties> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableColumnProperties(o[0]);
checkTableColumnProperties(o[1]);
}
-buildUnnamed2352() {
+buildUnnamed2354() {
var o = new core.List<api.TableRow>();
o.add(buildTableRow());
o.add(buildTableRow());
return o;
}
-checkUnnamed2352(core.List<api.TableRow> o) {
+checkUnnamed2354(core.List<api.TableRow> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableRow(o[0]);
checkTableRow(o[1]);
}
-buildUnnamed2353() {
+buildUnnamed2355() {
var o = new core.List<api.TableBorderRow>();
o.add(buildTableBorderRow());
o.add(buildTableBorderRow());
return o;
}
-checkUnnamed2353(core.List<api.TableBorderRow> o) {
+checkUnnamed2355(core.List<api.TableBorderRow> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableBorderRow(o[0]);
checkTableBorderRow(o[1]);
@@ -2497,11 +2497,11 @@
buildCounterTable++;
if (buildCounterTable < 3) {
o.columns = 42;
- o.horizontalBorderRows = buildUnnamed2350();
+ o.horizontalBorderRows = buildUnnamed2352();
o.rows = 42;
- o.tableColumns = buildUnnamed2351();
- o.tableRows = buildUnnamed2352();
- o.verticalBorderRows = buildUnnamed2353();
+ o.tableColumns = buildUnnamed2353();
+ o.tableRows = buildUnnamed2354();
+ o.verticalBorderRows = buildUnnamed2355();
}
buildCounterTable--;
return o;
@@ -2511,11 +2511,11 @@
buildCounterTable++;
if (buildCounterTable < 3) {
unittest.expect(o.columns, unittest.equals(42));
- checkUnnamed2350(o.horizontalBorderRows);
+ checkUnnamed2352(o.horizontalBorderRows);
unittest.expect(o.rows, unittest.equals(42));
- checkUnnamed2351(o.tableColumns);
- checkUnnamed2352(o.tableRows);
- checkUnnamed2353(o.verticalBorderRows);
+ checkUnnamed2353(o.tableColumns);
+ checkUnnamed2354(o.tableRows);
+ checkUnnamed2355(o.verticalBorderRows);
}
buildCounterTable--;
}
@@ -2583,14 +2583,14 @@
buildCounterTableBorderProperties--;
}
-buildUnnamed2354() {
+buildUnnamed2356() {
var o = new core.List<api.TableBorderCell>();
o.add(buildTableBorderCell());
o.add(buildTableBorderCell());
return o;
}
-checkUnnamed2354(core.List<api.TableBorderCell> o) {
+checkUnnamed2356(core.List<api.TableBorderCell> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableBorderCell(o[0]);
checkTableBorderCell(o[1]);
@@ -2601,7 +2601,7 @@
var o = new api.TableBorderRow();
buildCounterTableBorderRow++;
if (buildCounterTableBorderRow < 3) {
- o.tableBorderCells = buildUnnamed2354();
+ o.tableBorderCells = buildUnnamed2356();
}
buildCounterTableBorderRow--;
return o;
@@ -2610,7 +2610,7 @@
checkTableBorderRow(api.TableBorderRow o) {
buildCounterTableBorderRow++;
if (buildCounterTableBorderRow < 3) {
- checkUnnamed2354(o.tableBorderCells);
+ checkUnnamed2356(o.tableBorderCells);
}
buildCounterTableBorderRow--;
}
@@ -2747,14 +2747,14 @@
buildCounterTableRange--;
}
-buildUnnamed2355() {
+buildUnnamed2357() {
var o = new core.List<api.TableCell>();
o.add(buildTableCell());
o.add(buildTableCell());
return o;
}
-checkUnnamed2355(core.List<api.TableCell> o) {
+checkUnnamed2357(core.List<api.TableCell> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableCell(o[0]);
checkTableCell(o[1]);
@@ -2766,7 +2766,7 @@
buildCounterTableRow++;
if (buildCounterTableRow < 3) {
o.rowHeight = buildDimension();
- o.tableCells = buildUnnamed2355();
+ o.tableCells = buildUnnamed2357();
o.tableRowProperties = buildTableRowProperties();
}
buildCounterTableRow--;
@@ -2777,7 +2777,7 @@
buildCounterTableRow++;
if (buildCounterTableRow < 3) {
checkDimension(o.rowHeight);
- checkUnnamed2355(o.tableCells);
+ checkUnnamed2357(o.tableCells);
checkTableRowProperties(o.tableRowProperties);
}
buildCounterTableRow--;
@@ -2802,27 +2802,27 @@
buildCounterTableRowProperties--;
}
-buildUnnamed2356() {
+buildUnnamed2358() {
var o = new core.Map<core.String, api.List>();
o["x"] = buildList();
o["y"] = buildList();
return o;
}
-checkUnnamed2356(core.Map<core.String, api.List> o) {
+checkUnnamed2358(core.Map<core.String, api.List> o) {
unittest.expect(o, unittest.hasLength(2));
checkList(o["x"]);
checkList(o["y"]);
}
-buildUnnamed2357() {
+buildUnnamed2359() {
var o = new core.List<api.TextElement>();
o.add(buildTextElement());
o.add(buildTextElement());
return o;
}
-checkUnnamed2357(core.List<api.TextElement> o) {
+checkUnnamed2359(core.List<api.TextElement> o) {
unittest.expect(o, unittest.hasLength(2));
checkTextElement(o[0]);
checkTextElement(o[1]);
@@ -2833,8 +2833,8 @@
var o = new api.TextContent();
buildCounterTextContent++;
if (buildCounterTextContent < 3) {
- o.lists = buildUnnamed2356();
- o.textElements = buildUnnamed2357();
+ o.lists = buildUnnamed2358();
+ o.textElements = buildUnnamed2359();
}
buildCounterTextContent--;
return o;
@@ -2843,8 +2843,8 @@
checkTextContent(api.TextContent o) {
buildCounterTextContent++;
if (buildCounterTextContent < 3) {
- checkUnnamed2356(o.lists);
- checkUnnamed2357(o.textElements);
+ checkUnnamed2358(o.lists);
+ checkUnnamed2359(o.textElements);
}
buildCounterTextContent--;
}
@@ -2982,14 +2982,14 @@
buildCounterThumbnail--;
}
-buildUnnamed2358() {
+buildUnnamed2360() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2358(core.List<core.String> o) {
+checkUnnamed2360(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3000,7 +3000,7 @@
var o = new api.UngroupObjectsRequest();
buildCounterUngroupObjectsRequest++;
if (buildCounterUngroupObjectsRequest < 3) {
- o.objectIds = buildUnnamed2358();
+ o.objectIds = buildUnnamed2360();
}
buildCounterUngroupObjectsRequest--;
return o;
@@ -3009,7 +3009,7 @@
checkUngroupObjectsRequest(api.UngroupObjectsRequest o) {
buildCounterUngroupObjectsRequest++;
if (buildCounterUngroupObjectsRequest < 3) {
- checkUnnamed2358(o.objectIds);
+ checkUnnamed2360(o.objectIds);
}
buildCounterUngroupObjectsRequest--;
}
@@ -3149,14 +3149,14 @@
buildCounterUpdatePageElementTransformRequest--;
}
-buildUnnamed2359() {
+buildUnnamed2361() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2359(core.List<core.String> o) {
+checkUnnamed2361(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3168,7 +3168,7 @@
buildCounterUpdatePageElementsZOrderRequest++;
if (buildCounterUpdatePageElementsZOrderRequest < 3) {
o.operation = "foo";
- o.pageElementObjectIds = buildUnnamed2359();
+ o.pageElementObjectIds = buildUnnamed2361();
}
buildCounterUpdatePageElementsZOrderRequest--;
return o;
@@ -3178,7 +3178,7 @@
buildCounterUpdatePageElementsZOrderRequest++;
if (buildCounterUpdatePageElementsZOrderRequest < 3) {
unittest.expect(o.operation, unittest.equals('foo'));
- checkUnnamed2359(o.pageElementObjectIds);
+ checkUnnamed2361(o.pageElementObjectIds);
}
buildCounterUpdatePageElementsZOrderRequest--;
}
@@ -3256,14 +3256,14 @@
buildCounterUpdateShapePropertiesRequest--;
}
-buildUnnamed2360() {
+buildUnnamed2362() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2360(core.List<core.String> o) {
+checkUnnamed2362(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3275,7 +3275,7 @@
buildCounterUpdateSlidesPositionRequest++;
if (buildCounterUpdateSlidesPositionRequest < 3) {
o.insertionIndex = 42;
- o.slideObjectIds = buildUnnamed2360();
+ o.slideObjectIds = buildUnnamed2362();
}
buildCounterUpdateSlidesPositionRequest--;
return o;
@@ -3285,7 +3285,7 @@
buildCounterUpdateSlidesPositionRequest++;
if (buildCounterUpdateSlidesPositionRequest < 3) {
unittest.expect(o.insertionIndex, unittest.equals(42));
- checkUnnamed2360(o.slideObjectIds);
+ checkUnnamed2362(o.slideObjectIds);
}
buildCounterUpdateSlidesPositionRequest--;
}
@@ -3343,14 +3343,14 @@
buildCounterUpdateTableCellPropertiesRequest--;
}
-buildUnnamed2361() {
+buildUnnamed2363() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed2361(core.List<core.int> o) {
+checkUnnamed2363(core.List<core.int> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42));
unittest.expect(o[1], unittest.equals(42));
@@ -3361,7 +3361,7 @@
var o = new api.UpdateTableColumnPropertiesRequest();
buildCounterUpdateTableColumnPropertiesRequest++;
if (buildCounterUpdateTableColumnPropertiesRequest < 3) {
- o.columnIndices = buildUnnamed2361();
+ o.columnIndices = buildUnnamed2363();
o.fields = "foo";
o.objectId = "foo";
o.tableColumnProperties = buildTableColumnProperties();
@@ -3374,7 +3374,7 @@
api.UpdateTableColumnPropertiesRequest o) {
buildCounterUpdateTableColumnPropertiesRequest++;
if (buildCounterUpdateTableColumnPropertiesRequest < 3) {
- checkUnnamed2361(o.columnIndices);
+ checkUnnamed2363(o.columnIndices);
unittest.expect(o.fields, unittest.equals('foo'));
unittest.expect(o.objectId, unittest.equals('foo'));
checkTableColumnProperties(o.tableColumnProperties);
@@ -3382,14 +3382,14 @@
buildCounterUpdateTableColumnPropertiesRequest--;
}
-buildUnnamed2362() {
+buildUnnamed2364() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed2362(core.List<core.int> o) {
+checkUnnamed2364(core.List<core.int> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42));
unittest.expect(o[1], unittest.equals(42));
@@ -3402,7 +3402,7 @@
if (buildCounterUpdateTableRowPropertiesRequest < 3) {
o.fields = "foo";
o.objectId = "foo";
- o.rowIndices = buildUnnamed2362();
+ o.rowIndices = buildUnnamed2364();
o.tableRowProperties = buildTableRowProperties();
}
buildCounterUpdateTableRowPropertiesRequest--;
@@ -3414,7 +3414,7 @@
if (buildCounterUpdateTableRowPropertiesRequest < 3) {
unittest.expect(o.fields, unittest.equals('foo'));
unittest.expect(o.objectId, unittest.equals('foo'));
- checkUnnamed2362(o.rowIndices);
+ checkUnnamed2364(o.rowIndices);
checkTableRowProperties(o.tableRowProperties);
}
buildCounterUpdateTableRowPropertiesRequest--;
@@ -4880,8 +4880,8 @@
new api.SlidesApi(mock).presentations.pages;
var arg_presentationId = "foo";
var arg_pageObjectId = "foo";
- var arg_thumbnailProperties_mimeType = "foo";
var arg_thumbnailProperties_thumbnailSize = "foo";
+ var arg_thumbnailProperties_mimeType = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -4931,10 +4931,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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["thumbnailProperties.mimeType"].first,
+ unittest.equals(arg_thumbnailProperties_mimeType));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4945,9 +4945,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/sourcerepo/v1_test.dart b/generated/googleapis/test/sourcerepo/v1_test.dart
index ae12dd7..c39ae4d 100644
--- a/generated/googleapis/test/sourcerepo/v1_test.dart
+++ b/generated/googleapis/test/sourcerepo/v1_test.dart
@@ -50,14 +50,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed711() {
+buildUnnamed712() {
var o = new core.List<api.AuditLogConfig>();
o.add(buildAuditLogConfig());
o.add(buildAuditLogConfig());
return o;
}
-checkUnnamed711(core.List<api.AuditLogConfig> o) {
+checkUnnamed712(core.List<api.AuditLogConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuditLogConfig(o[0]);
checkAuditLogConfig(o[1]);
@@ -68,7 +68,7 @@
var o = new api.AuditConfig();
buildCounterAuditConfig++;
if (buildCounterAuditConfig < 3) {
- o.auditLogConfigs = buildUnnamed711();
+ o.auditLogConfigs = buildUnnamed712();
o.service = "foo";
}
buildCounterAuditConfig--;
@@ -78,46 +78,12 @@
checkAuditConfig(api.AuditConfig o) {
buildCounterAuditConfig++;
if (buildCounterAuditConfig < 3) {
- checkUnnamed711(o.auditLogConfigs);
+ checkUnnamed712(o.auditLogConfigs);
unittest.expect(o.service, unittest.equals('foo'));
}
buildCounterAuditConfig--;
}
-buildUnnamed712() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed712(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-core.int buildCounterAuditLogConfig = 0;
-buildAuditLogConfig() {
- var o = new api.AuditLogConfig();
- buildCounterAuditLogConfig++;
- if (buildCounterAuditLogConfig < 3) {
- o.exemptedMembers = buildUnnamed712();
- o.logType = "foo";
- }
- buildCounterAuditLogConfig--;
- return o;
-}
-
-checkAuditLogConfig(api.AuditLogConfig o) {
- buildCounterAuditLogConfig++;
- if (buildCounterAuditLogConfig < 3) {
- checkUnnamed712(o.exemptedMembers);
- unittest.expect(o.logType, unittest.equals('foo'));
- }
- buildCounterAuditLogConfig--;
-}
-
buildUnnamed713() {
var o = new core.List<core.String>();
o.add("foo");
@@ -131,13 +97,47 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+core.int buildCounterAuditLogConfig = 0;
+buildAuditLogConfig() {
+ var o = new api.AuditLogConfig();
+ buildCounterAuditLogConfig++;
+ if (buildCounterAuditLogConfig < 3) {
+ o.exemptedMembers = buildUnnamed713();
+ o.logType = "foo";
+ }
+ buildCounterAuditLogConfig--;
+ return o;
+}
+
+checkAuditLogConfig(api.AuditLogConfig o) {
+ buildCounterAuditLogConfig++;
+ if (buildCounterAuditLogConfig < 3) {
+ checkUnnamed713(o.exemptedMembers);
+ unittest.expect(o.logType, unittest.equals('foo'));
+ }
+ buildCounterAuditLogConfig--;
+}
+
+buildUnnamed714() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed714(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
core.int buildCounterBinding = 0;
buildBinding() {
var o = new api.Binding();
buildCounterBinding++;
if (buildCounterBinding < 3) {
o.condition = buildExpr();
- o.members = buildUnnamed713();
+ o.members = buildUnnamed714();
o.role = "foo";
}
buildCounterBinding--;
@@ -148,7 +148,7 @@
buildCounterBinding++;
if (buildCounterBinding < 3) {
checkExpr(o.condition);
- checkUnnamed713(o.members);
+ checkUnnamed714(o.members);
unittest.expect(o.role, unittest.equals('foo'));
}
buildCounterBinding--;
@@ -194,14 +194,14 @@
buildCounterExpr--;
}
-buildUnnamed714() {
+buildUnnamed715() {
var o = new core.List<api.Repo>();
o.add(buildRepo());
o.add(buildRepo());
return o;
}
-checkUnnamed714(core.List<api.Repo> o) {
+checkUnnamed715(core.List<api.Repo> o) {
unittest.expect(o, unittest.hasLength(2));
checkRepo(o[0]);
checkRepo(o[1]);
@@ -213,7 +213,7 @@
buildCounterListReposResponse++;
if (buildCounterListReposResponse < 3) {
o.nextPageToken = "foo";
- o.repos = buildUnnamed714();
+ o.repos = buildUnnamed715();
}
buildCounterListReposResponse--;
return o;
@@ -223,7 +223,7 @@
buildCounterListReposResponse++;
if (buildCounterListReposResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed714(o.repos);
+ checkUnnamed715(o.repos);
}
buildCounterListReposResponse--;
}
@@ -251,35 +251,6 @@
buildCounterMirrorConfig--;
}
-buildUnnamed715() {
- var o = new core.Map<core.String, core.Object>();
- o["x"] = {
- 'list': [1, 2, 3],
- 'bool': true,
- 'string': 'foo'
- };
- o["y"] = {
- 'list': [1, 2, 3],
- 'bool': true,
- 'string': 'foo'
- };
- return o;
-}
-
-checkUnnamed715(core.Map<core.String, core.Object> o) {
- unittest.expect(o, unittest.hasLength(2));
- var casted1 = (o["x"]) as core.Map;
- unittest.expect(casted1, unittest.hasLength(3));
- unittest.expect(casted1["list"], unittest.equals([1, 2, 3]));
- unittest.expect(casted1["bool"], unittest.equals(true));
- unittest.expect(casted1["string"], unittest.equals('foo'));
- var casted2 = (o["y"]) as core.Map;
- unittest.expect(casted2, unittest.hasLength(3));
- unittest.expect(casted2["list"], unittest.equals([1, 2, 3]));
- unittest.expect(casted2["bool"], unittest.equals(true));
- unittest.expect(casted2["string"], unittest.equals('foo'));
-}
-
buildUnnamed716() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
@@ -297,6 +268,35 @@
checkUnnamed716(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
+ var casted1 = (o["x"]) as core.Map;
+ unittest.expect(casted1, unittest.hasLength(3));
+ unittest.expect(casted1["list"], unittest.equals([1, 2, 3]));
+ unittest.expect(casted1["bool"], unittest.equals(true));
+ unittest.expect(casted1["string"], unittest.equals('foo'));
+ var casted2 = (o["y"]) as core.Map;
+ unittest.expect(casted2, unittest.hasLength(3));
+ unittest.expect(casted2["list"], unittest.equals([1, 2, 3]));
+ unittest.expect(casted2["bool"], unittest.equals(true));
+ unittest.expect(casted2["string"], unittest.equals('foo'));
+}
+
+buildUnnamed717() {
+ var o = new core.Map<core.String, core.Object>();
+ o["x"] = {
+ 'list': [1, 2, 3],
+ 'bool': true,
+ 'string': 'foo'
+ };
+ o["y"] = {
+ 'list': [1, 2, 3],
+ 'bool': true,
+ 'string': 'foo'
+ };
+ return o;
+}
+
+checkUnnamed717(core.Map<core.String, core.Object> o) {
+ unittest.expect(o, unittest.hasLength(2));
var casted3 = (o["x"]) as core.Map;
unittest.expect(casted3, unittest.hasLength(3));
unittest.expect(casted3["list"], unittest.equals([1, 2, 3]));
@@ -316,9 +316,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed715();
+ o.metadata = buildUnnamed716();
o.name = "foo";
- o.response = buildUnnamed716();
+ o.response = buildUnnamed717();
}
buildCounterOperation--;
return o;
@@ -329,34 +329,34 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed715(o.metadata);
+ checkUnnamed716(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed716(o.response);
+ checkUnnamed717(o.response);
}
buildCounterOperation--;
}
-buildUnnamed717() {
+buildUnnamed718() {
var o = new core.List<api.AuditConfig>();
o.add(buildAuditConfig());
o.add(buildAuditConfig());
return o;
}
-checkUnnamed717(core.List<api.AuditConfig> o) {
+checkUnnamed718(core.List<api.AuditConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuditConfig(o[0]);
checkAuditConfig(o[1]);
}
-buildUnnamed718() {
+buildUnnamed719() {
var o = new core.List<api.Binding>();
o.add(buildBinding());
o.add(buildBinding());
return o;
}
-checkUnnamed718(core.List<api.Binding> o) {
+checkUnnamed719(core.List<api.Binding> o) {
unittest.expect(o, unittest.hasLength(2));
checkBinding(o[0]);
checkBinding(o[1]);
@@ -367,8 +367,8 @@
var o = new api.Policy();
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- o.auditConfigs = buildUnnamed717();
- o.bindings = buildUnnamed718();
+ o.auditConfigs = buildUnnamed718();
+ o.bindings = buildUnnamed719();
o.etag = "foo";
o.version = 42;
}
@@ -379,22 +379,22 @@
checkPolicy(api.Policy o) {
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- checkUnnamed717(o.auditConfigs);
- checkUnnamed718(o.bindings);
+ checkUnnamed718(o.auditConfigs);
+ checkUnnamed719(o.bindings);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals(42));
}
buildCounterPolicy--;
}
-buildUnnamed719() {
+buildUnnamed720() {
var o = new core.Map<core.String, api.PubsubConfig>();
o["x"] = buildPubsubConfig();
o["y"] = buildPubsubConfig();
return o;
}
-checkUnnamed719(core.Map<core.String, api.PubsubConfig> o) {
+checkUnnamed720(core.Map<core.String, api.PubsubConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkPubsubConfig(o["x"]);
checkPubsubConfig(o["y"]);
@@ -407,7 +407,7 @@
if (buildCounterProjectConfig < 3) {
o.enablePrivateKeyCheck = true;
o.name = "foo";
- o.pubsubConfigs = buildUnnamed719();
+ o.pubsubConfigs = buildUnnamed720();
}
buildCounterProjectConfig--;
return o;
@@ -418,7 +418,7 @@
if (buildCounterProjectConfig < 3) {
unittest.expect(o.enablePrivateKeyCheck, unittest.isTrue);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed719(o.pubsubConfigs);
+ checkUnnamed720(o.pubsubConfigs);
}
buildCounterProjectConfig--;
}
@@ -446,14 +446,14 @@
buildCounterPubsubConfig--;
}
-buildUnnamed720() {
+buildUnnamed721() {
var o = new core.Map<core.String, api.PubsubConfig>();
o["x"] = buildPubsubConfig();
o["y"] = buildPubsubConfig();
return o;
}
-checkUnnamed720(core.Map<core.String, api.PubsubConfig> o) {
+checkUnnamed721(core.Map<core.String, api.PubsubConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkPubsubConfig(o["x"]);
checkPubsubConfig(o["y"]);
@@ -466,7 +466,7 @@
if (buildCounterRepo < 3) {
o.mirrorConfig = buildMirrorConfig();
o.name = "foo";
- o.pubsubConfigs = buildUnnamed720();
+ o.pubsubConfigs = buildUnnamed721();
o.size = "foo";
o.url = "foo";
}
@@ -479,7 +479,7 @@
if (buildCounterRepo < 3) {
checkMirrorConfig(o.mirrorConfig);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed720(o.pubsubConfigs);
+ checkUnnamed721(o.pubsubConfigs);
unittest.expect(o.size, unittest.equals('foo'));
unittest.expect(o.url, unittest.equals('foo'));
}
@@ -507,7 +507,7 @@
buildCounterSetIamPolicyRequest--;
}
-buildUnnamed721() {
+buildUnnamed722() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -522,7 +522,7 @@
return o;
}
-checkUnnamed721(core.Map<core.String, core.Object> o) {
+checkUnnamed722(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted5 = (o["x"]) as core.Map;
unittest.expect(casted5, unittest.hasLength(3));
@@ -536,17 +536,17 @@
unittest.expect(casted6["string"], unittest.equals('foo'));
}
-buildUnnamed722() {
+buildUnnamed723() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed721());
- o.add(buildUnnamed721());
+ o.add(buildUnnamed722());
+ o.add(buildUnnamed722());
return o;
}
-checkUnnamed722(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed723(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed721(o[0]);
- checkUnnamed721(o[1]);
+ checkUnnamed722(o[0]);
+ checkUnnamed722(o[1]);
}
core.int buildCounterStatus = 0;
@@ -555,7 +555,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed722();
+ o.details = buildUnnamed723();
o.message = "foo";
}
buildCounterStatus--;
@@ -566,7 +566,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed722(o.details);
+ checkUnnamed723(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
@@ -612,38 +612,6 @@
buildCounterSyncRepoRequest--;
}
-buildUnnamed723() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed723(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-core.int buildCounterTestIamPermissionsRequest = 0;
-buildTestIamPermissionsRequest() {
- var o = new api.TestIamPermissionsRequest();
- buildCounterTestIamPermissionsRequest++;
- if (buildCounterTestIamPermissionsRequest < 3) {
- o.permissions = buildUnnamed723();
- }
- buildCounterTestIamPermissionsRequest--;
- return o;
-}
-
-checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) {
- buildCounterTestIamPermissionsRequest++;
- if (buildCounterTestIamPermissionsRequest < 3) {
- checkUnnamed723(o.permissions);
- }
- buildCounterTestIamPermissionsRequest--;
-}
-
buildUnnamed724() {
var o = new core.List<core.String>();
o.add("foo");
@@ -657,12 +625,44 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+core.int buildCounterTestIamPermissionsRequest = 0;
+buildTestIamPermissionsRequest() {
+ var o = new api.TestIamPermissionsRequest();
+ buildCounterTestIamPermissionsRequest++;
+ if (buildCounterTestIamPermissionsRequest < 3) {
+ o.permissions = buildUnnamed724();
+ }
+ buildCounterTestIamPermissionsRequest--;
+ return o;
+}
+
+checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) {
+ buildCounterTestIamPermissionsRequest++;
+ if (buildCounterTestIamPermissionsRequest < 3) {
+ checkUnnamed724(o.permissions);
+ }
+ buildCounterTestIamPermissionsRequest--;
+}
+
+buildUnnamed725() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed725(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
core.int buildCounterTestIamPermissionsResponse = 0;
buildTestIamPermissionsResponse() {
var o = new api.TestIamPermissionsResponse();
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- o.permissions = buildUnnamed724();
+ o.permissions = buildUnnamed725();
}
buildCounterTestIamPermissionsResponse--;
return o;
@@ -671,7 +671,7 @@
checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) {
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- checkUnnamed724(o.permissions);
+ checkUnnamed725(o.permissions);
}
buildCounterTestIamPermissionsResponse--;
}
@@ -1212,8 +1212,8 @@
api.ProjectsReposResourceApi res =
new api.SourcerepoApi(mock).projects.repos;
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;
@@ -1246,10 +1246,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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 = {
@@ -1260,8 +1260,8 @@
}), true);
res
.list(arg_name,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListReposResponse(response);
diff --git a/generated/googleapis/test/spanner/v1_test.dart b/generated/googleapis/test/spanner/v1_test.dart
index da7ebd1..d5ba023 100644
--- a/generated/googleapis/test/spanner/v1_test.dart
+++ b/generated/googleapis/test/spanner/v1_test.dart
@@ -50,14 +50,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed3531() {
+buildUnnamed3535() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3531(core.List<core.String> o) {
+checkUnnamed3535(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -72,7 +72,7 @@
o.database = "foo";
o.expireTime = "foo";
o.name = "foo";
- o.referencingDatabases = buildUnnamed3531();
+ o.referencingDatabases = buildUnnamed3535();
o.sizeBytes = "foo";
o.state = "foo";
}
@@ -87,7 +87,7 @@
unittest.expect(o.database, unittest.equals('foo'));
unittest.expect(o.expireTime, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed3531(o.referencingDatabases);
+ checkUnnamed3535(o.referencingDatabases);
unittest.expect(o.sizeBytes, unittest.equals('foo'));
unittest.expect(o.state, unittest.equals('foo'));
}
@@ -138,14 +138,14 @@
buildCounterBatchCreateSessionsRequest--;
}
-buildUnnamed3532() {
+buildUnnamed3536() {
var o = new core.List<api.Session>();
o.add(buildSession());
o.add(buildSession());
return o;
}
-checkUnnamed3532(core.List<api.Session> o) {
+checkUnnamed3536(core.List<api.Session> o) {
unittest.expect(o, unittest.hasLength(2));
checkSession(o[0]);
checkSession(o[1]);
@@ -156,7 +156,7 @@
var o = new api.BatchCreateSessionsResponse();
buildCounterBatchCreateSessionsResponse++;
if (buildCounterBatchCreateSessionsResponse < 3) {
- o.session = buildUnnamed3532();
+ o.session = buildUnnamed3536();
}
buildCounterBatchCreateSessionsResponse--;
return o;
@@ -165,7 +165,7 @@
checkBatchCreateSessionsResponse(api.BatchCreateSessionsResponse o) {
buildCounterBatchCreateSessionsResponse++;
if (buildCounterBatchCreateSessionsResponse < 3) {
- checkUnnamed3532(o.session);
+ checkUnnamed3536(o.session);
}
buildCounterBatchCreateSessionsResponse--;
}
@@ -189,14 +189,14 @@
buildCounterBeginTransactionRequest--;
}
-buildUnnamed3533() {
+buildUnnamed3537() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3533(core.List<core.String> o) {
+checkUnnamed3537(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -209,7 +209,7 @@
if (buildCounterBinding < 3) {
o.bindingId = "foo";
o.condition = buildExpr();
- o.members = buildUnnamed3533();
+ o.members = buildUnnamed3537();
o.role = "foo";
}
buildCounterBinding--;
@@ -221,7 +221,7 @@
if (buildCounterBinding < 3) {
unittest.expect(o.bindingId, unittest.equals('foo'));
checkExpr(o.condition);
- checkUnnamed3533(o.members);
+ checkUnnamed3537(o.members);
unittest.expect(o.role, unittest.equals('foo'));
}
buildCounterBinding--;
@@ -250,14 +250,14 @@
buildCounterChildLink--;
}
-buildUnnamed3534() {
+buildUnnamed3538() {
var o = new core.List<api.Mutation>();
o.add(buildMutation());
o.add(buildMutation());
return o;
}
-checkUnnamed3534(core.List<api.Mutation> o) {
+checkUnnamed3538(core.List<api.Mutation> o) {
unittest.expect(o, unittest.hasLength(2));
checkMutation(o[0]);
checkMutation(o[1]);
@@ -268,7 +268,7 @@
var o = new api.CommitRequest();
buildCounterCommitRequest++;
if (buildCounterCommitRequest < 3) {
- o.mutations = buildUnnamed3534();
+ o.mutations = buildUnnamed3538();
o.singleUseTransaction = buildTransactionOptions();
o.transactionId = "foo";
}
@@ -279,7 +279,7 @@
checkCommitRequest(api.CommitRequest o) {
buildCounterCommitRequest++;
if (buildCounterCommitRequest < 3) {
- checkUnnamed3534(o.mutations);
+ checkUnnamed3538(o.mutations);
checkTransactionOptions(o.singleUseTransaction);
unittest.expect(o.transactionId, unittest.equals('foo'));
}
@@ -349,14 +349,14 @@
buildCounterCreateDatabaseMetadata--;
}
-buildUnnamed3535() {
+buildUnnamed3539() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3535(core.List<core.String> o) {
+checkUnnamed3539(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -368,7 +368,7 @@
buildCounterCreateDatabaseRequest++;
if (buildCounterCreateDatabaseRequest < 3) {
o.createStatement = "foo";
- o.extraStatements = buildUnnamed3535();
+ o.extraStatements = buildUnnamed3539();
}
buildCounterCreateDatabaseRequest--;
return o;
@@ -378,7 +378,7 @@
buildCounterCreateDatabaseRequest++;
if (buildCounterCreateDatabaseRequest < 3) {
unittest.expect(o.createStatement, unittest.equals('foo'));
- checkUnnamed3535(o.extraStatements);
+ checkUnnamed3539(o.extraStatements);
}
buildCounterCreateDatabaseRequest--;
}
@@ -509,14 +509,14 @@
buildCounterEmpty--;
}
-buildUnnamed3536() {
+buildUnnamed3540() {
var o = new core.List<api.Statement>();
o.add(buildStatement());
o.add(buildStatement());
return o;
}
-checkUnnamed3536(core.List<api.Statement> o) {
+checkUnnamed3540(core.List<api.Statement> o) {
unittest.expect(o, unittest.hasLength(2));
checkStatement(o[0]);
checkStatement(o[1]);
@@ -528,7 +528,7 @@
buildCounterExecuteBatchDmlRequest++;
if (buildCounterExecuteBatchDmlRequest < 3) {
o.seqno = "foo";
- o.statements = buildUnnamed3536();
+ o.statements = buildUnnamed3540();
o.transaction = buildTransactionSelector();
}
buildCounterExecuteBatchDmlRequest--;
@@ -539,20 +539,20 @@
buildCounterExecuteBatchDmlRequest++;
if (buildCounterExecuteBatchDmlRequest < 3) {
unittest.expect(o.seqno, unittest.equals('foo'));
- checkUnnamed3536(o.statements);
+ checkUnnamed3540(o.statements);
checkTransactionSelector(o.transaction);
}
buildCounterExecuteBatchDmlRequest--;
}
-buildUnnamed3537() {
+buildUnnamed3541() {
var o = new core.List<api.ResultSet>();
o.add(buildResultSet());
o.add(buildResultSet());
return o;
}
-checkUnnamed3537(core.List<api.ResultSet> o) {
+checkUnnamed3541(core.List<api.ResultSet> o) {
unittest.expect(o, unittest.hasLength(2));
checkResultSet(o[0]);
checkResultSet(o[1]);
@@ -563,7 +563,7 @@
var o = new api.ExecuteBatchDmlResponse();
buildCounterExecuteBatchDmlResponse++;
if (buildCounterExecuteBatchDmlResponse < 3) {
- o.resultSets = buildUnnamed3537();
+ o.resultSets = buildUnnamed3541();
o.status = buildStatus();
}
buildCounterExecuteBatchDmlResponse--;
@@ -573,26 +573,26 @@
checkExecuteBatchDmlResponse(api.ExecuteBatchDmlResponse o) {
buildCounterExecuteBatchDmlResponse++;
if (buildCounterExecuteBatchDmlResponse < 3) {
- checkUnnamed3537(o.resultSets);
+ checkUnnamed3541(o.resultSets);
checkStatus(o.status);
}
buildCounterExecuteBatchDmlResponse--;
}
-buildUnnamed3538() {
+buildUnnamed3542() {
var o = new core.Map<core.String, api.Type>();
o["x"] = buildType();
o["y"] = buildType();
return o;
}
-checkUnnamed3538(core.Map<core.String, api.Type> o) {
+checkUnnamed3542(core.Map<core.String, api.Type> o) {
unittest.expect(o, unittest.hasLength(2));
checkType(o["x"]);
checkType(o["y"]);
}
-buildUnnamed3539() {
+buildUnnamed3543() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -607,7 +607,7 @@
return o;
}
-checkUnnamed3539(core.Map<core.String, core.Object> o) {
+checkUnnamed3543(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o["x"]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -626,8 +626,8 @@
var o = new api.ExecuteSqlRequest();
buildCounterExecuteSqlRequest++;
if (buildCounterExecuteSqlRequest < 3) {
- o.paramTypes = buildUnnamed3538();
- o.params = buildUnnamed3539();
+ o.paramTypes = buildUnnamed3542();
+ o.params = buildUnnamed3543();
o.partitionToken = "foo";
o.queryMode = "foo";
o.queryOptions = buildQueryOptions();
@@ -643,8 +643,8 @@
checkExecuteSqlRequest(api.ExecuteSqlRequest o) {
buildCounterExecuteSqlRequest++;
if (buildCounterExecuteSqlRequest < 3) {
- checkUnnamed3538(o.paramTypes);
- checkUnnamed3539(o.params);
+ checkUnnamed3542(o.paramTypes);
+ checkUnnamed3543(o.params);
unittest.expect(o.partitionToken, unittest.equals('foo'));
unittest.expect(o.queryMode, unittest.equals('foo'));
checkQueryOptions(o.queryOptions);
@@ -702,14 +702,14 @@
buildCounterField--;
}
-buildUnnamed3540() {
+buildUnnamed3544() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3540(core.List<core.String> o) {
+checkUnnamed3544(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -720,7 +720,7 @@
var o = new api.GetDatabaseDdlResponse();
buildCounterGetDatabaseDdlResponse++;
if (buildCounterGetDatabaseDdlResponse < 3) {
- o.statements = buildUnnamed3540();
+ o.statements = buildUnnamed3544();
}
buildCounterGetDatabaseDdlResponse--;
return o;
@@ -729,7 +729,7 @@
checkGetDatabaseDdlResponse(api.GetDatabaseDdlResponse o) {
buildCounterGetDatabaseDdlResponse++;
if (buildCounterGetDatabaseDdlResponse < 3) {
- checkUnnamed3540(o.statements);
+ checkUnnamed3544(o.statements);
}
buildCounterGetDatabaseDdlResponse--;
}
@@ -772,27 +772,27 @@
buildCounterGetPolicyOptions--;
}
-buildUnnamed3541() {
+buildUnnamed3545() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3541(core.List<core.String> o) {
+checkUnnamed3545(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3542() {
+buildUnnamed3546() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3542(core.Map<core.String, core.String> o) {
+checkUnnamed3546(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -805,8 +805,8 @@
if (buildCounterInstance < 3) {
o.config = "foo";
o.displayName = "foo";
- o.endpointUris = buildUnnamed3541();
- o.labels = buildUnnamed3542();
+ o.endpointUris = buildUnnamed3545();
+ o.labels = buildUnnamed3546();
o.name = "foo";
o.nodeCount = 42;
o.state = "foo";
@@ -820,8 +820,8 @@
if (buildCounterInstance < 3) {
unittest.expect(o.config, unittest.equals('foo'));
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed3541(o.endpointUris);
- checkUnnamed3542(o.labels);
+ checkUnnamed3545(o.endpointUris);
+ checkUnnamed3546(o.labels);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.nodeCount, unittest.equals(42));
unittest.expect(o.state, unittest.equals('foo'));
@@ -829,14 +829,14 @@
buildCounterInstance--;
}
-buildUnnamed3543() {
+buildUnnamed3547() {
var o = new core.List<api.ReplicaInfo>();
o.add(buildReplicaInfo());
o.add(buildReplicaInfo());
return o;
}
-checkUnnamed3543(core.List<api.ReplicaInfo> o) {
+checkUnnamed3547(core.List<api.ReplicaInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkReplicaInfo(o[0]);
checkReplicaInfo(o[1]);
@@ -849,7 +849,7 @@
if (buildCounterInstanceConfig < 3) {
o.displayName = "foo";
o.name = "foo";
- o.replicas = buildUnnamed3543();
+ o.replicas = buildUnnamed3547();
}
buildCounterInstanceConfig--;
return o;
@@ -860,152 +860,11 @@
if (buildCounterInstanceConfig < 3) {
unittest.expect(o.displayName, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed3543(o.replicas);
+ checkUnnamed3547(o.replicas);
}
buildCounterInstanceConfig--;
}
-buildUnnamed3544() {
- var o = new core.List<core.Object>();
- o.add({
- 'list': [1, 2, 3],
- 'bool': true,
- 'string': 'foo'
- });
- o.add({
- 'list': [1, 2, 3],
- 'bool': true,
- 'string': 'foo'
- });
- return o;
-}
-
-checkUnnamed3544(core.List<core.Object> o) {
- unittest.expect(o, unittest.hasLength(2));
- var casted3 = (o[0]) as core.Map;
- unittest.expect(casted3, unittest.hasLength(3));
- unittest.expect(casted3["list"], unittest.equals([1, 2, 3]));
- unittest.expect(casted3["bool"], unittest.equals(true));
- unittest.expect(casted3["string"], unittest.equals('foo'));
- var casted4 = (o[1]) as core.Map;
- unittest.expect(casted4, unittest.hasLength(3));
- unittest.expect(casted4["list"], unittest.equals([1, 2, 3]));
- unittest.expect(casted4["bool"], unittest.equals(true));
- unittest.expect(casted4["string"], unittest.equals('foo'));
-}
-
-buildUnnamed3545() {
- var o = new core.List<core.Object>();
- o.add({
- 'list': [1, 2, 3],
- 'bool': true,
- 'string': 'foo'
- });
- o.add({
- 'list': [1, 2, 3],
- 'bool': true,
- 'string': 'foo'
- });
- return o;
-}
-
-checkUnnamed3545(core.List<core.Object> o) {
- unittest.expect(o, unittest.hasLength(2));
- var casted5 = (o[0]) as core.Map;
- unittest.expect(casted5, unittest.hasLength(3));
- unittest.expect(casted5["list"], unittest.equals([1, 2, 3]));
- unittest.expect(casted5["bool"], unittest.equals(true));
- unittest.expect(casted5["string"], unittest.equals('foo'));
- var casted6 = (o[1]) as core.Map;
- unittest.expect(casted6, unittest.hasLength(3));
- unittest.expect(casted6["list"], unittest.equals([1, 2, 3]));
- unittest.expect(casted6["bool"], unittest.equals(true));
- unittest.expect(casted6["string"], unittest.equals('foo'));
-}
-
-buildUnnamed3546() {
- var o = new core.List<core.Object>();
- o.add({
- 'list': [1, 2, 3],
- 'bool': true,
- 'string': 'foo'
- });
- o.add({
- 'list': [1, 2, 3],
- 'bool': true,
- 'string': 'foo'
- });
- return o;
-}
-
-checkUnnamed3546(core.List<core.Object> o) {
- unittest.expect(o, unittest.hasLength(2));
- var casted7 = (o[0]) as core.Map;
- unittest.expect(casted7, unittest.hasLength(3));
- unittest.expect(casted7["list"], unittest.equals([1, 2, 3]));
- unittest.expect(casted7["bool"], unittest.equals(true));
- unittest.expect(casted7["string"], unittest.equals('foo'));
- var casted8 = (o[1]) as core.Map;
- unittest.expect(casted8, unittest.hasLength(3));
- unittest.expect(casted8["list"], unittest.equals([1, 2, 3]));
- unittest.expect(casted8["bool"], unittest.equals(true));
- unittest.expect(casted8["string"], unittest.equals('foo'));
-}
-
-buildUnnamed3547() {
- var o = new core.List<core.Object>();
- o.add({
- 'list': [1, 2, 3],
- 'bool': true,
- 'string': 'foo'
- });
- o.add({
- 'list': [1, 2, 3],
- 'bool': true,
- 'string': 'foo'
- });
- return o;
-}
-
-checkUnnamed3547(core.List<core.Object> o) {
- unittest.expect(o, unittest.hasLength(2));
- var casted9 = (o[0]) as core.Map;
- unittest.expect(casted9, unittest.hasLength(3));
- unittest.expect(casted9["list"], unittest.equals([1, 2, 3]));
- unittest.expect(casted9["bool"], unittest.equals(true));
- unittest.expect(casted9["string"], unittest.equals('foo'));
- var casted10 = (o[1]) as core.Map;
- unittest.expect(casted10, unittest.hasLength(3));
- unittest.expect(casted10["list"], unittest.equals([1, 2, 3]));
- unittest.expect(casted10["bool"], unittest.equals(true));
- unittest.expect(casted10["string"], unittest.equals('foo'));
-}
-
-core.int buildCounterKeyRange = 0;
-buildKeyRange() {
- var o = new api.KeyRange();
- buildCounterKeyRange++;
- if (buildCounterKeyRange < 3) {
- o.endClosed = buildUnnamed3544();
- o.endOpen = buildUnnamed3545();
- o.startClosed = buildUnnamed3546();
- o.startOpen = buildUnnamed3547();
- }
- buildCounterKeyRange--;
- return o;
-}
-
-checkKeyRange(api.KeyRange o) {
- buildCounterKeyRange++;
- if (buildCounterKeyRange < 3) {
- checkUnnamed3544(o.endClosed);
- checkUnnamed3545(o.endOpen);
- checkUnnamed3546(o.startClosed);
- checkUnnamed3547(o.startOpen);
- }
- buildCounterKeyRange--;
-}
-
buildUnnamed3548() {
var o = new core.List<core.Object>();
o.add({
@@ -1023,6 +882,147 @@
checkUnnamed3548(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
+ var casted3 = (o[0]) as core.Map;
+ unittest.expect(casted3, unittest.hasLength(3));
+ unittest.expect(casted3["list"], unittest.equals([1, 2, 3]));
+ unittest.expect(casted3["bool"], unittest.equals(true));
+ unittest.expect(casted3["string"], unittest.equals('foo'));
+ var casted4 = (o[1]) as core.Map;
+ unittest.expect(casted4, unittest.hasLength(3));
+ unittest.expect(casted4["list"], unittest.equals([1, 2, 3]));
+ unittest.expect(casted4["bool"], unittest.equals(true));
+ unittest.expect(casted4["string"], unittest.equals('foo'));
+}
+
+buildUnnamed3549() {
+ var o = new core.List<core.Object>();
+ o.add({
+ 'list': [1, 2, 3],
+ 'bool': true,
+ 'string': 'foo'
+ });
+ o.add({
+ 'list': [1, 2, 3],
+ 'bool': true,
+ 'string': 'foo'
+ });
+ return o;
+}
+
+checkUnnamed3549(core.List<core.Object> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ var casted5 = (o[0]) as core.Map;
+ unittest.expect(casted5, unittest.hasLength(3));
+ unittest.expect(casted5["list"], unittest.equals([1, 2, 3]));
+ unittest.expect(casted5["bool"], unittest.equals(true));
+ unittest.expect(casted5["string"], unittest.equals('foo'));
+ var casted6 = (o[1]) as core.Map;
+ unittest.expect(casted6, unittest.hasLength(3));
+ unittest.expect(casted6["list"], unittest.equals([1, 2, 3]));
+ unittest.expect(casted6["bool"], unittest.equals(true));
+ unittest.expect(casted6["string"], unittest.equals('foo'));
+}
+
+buildUnnamed3550() {
+ var o = new core.List<core.Object>();
+ o.add({
+ 'list': [1, 2, 3],
+ 'bool': true,
+ 'string': 'foo'
+ });
+ o.add({
+ 'list': [1, 2, 3],
+ 'bool': true,
+ 'string': 'foo'
+ });
+ return o;
+}
+
+checkUnnamed3550(core.List<core.Object> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ var casted7 = (o[0]) as core.Map;
+ unittest.expect(casted7, unittest.hasLength(3));
+ unittest.expect(casted7["list"], unittest.equals([1, 2, 3]));
+ unittest.expect(casted7["bool"], unittest.equals(true));
+ unittest.expect(casted7["string"], unittest.equals('foo'));
+ var casted8 = (o[1]) as core.Map;
+ unittest.expect(casted8, unittest.hasLength(3));
+ unittest.expect(casted8["list"], unittest.equals([1, 2, 3]));
+ unittest.expect(casted8["bool"], unittest.equals(true));
+ unittest.expect(casted8["string"], unittest.equals('foo'));
+}
+
+buildUnnamed3551() {
+ var o = new core.List<core.Object>();
+ o.add({
+ 'list': [1, 2, 3],
+ 'bool': true,
+ 'string': 'foo'
+ });
+ o.add({
+ 'list': [1, 2, 3],
+ 'bool': true,
+ 'string': 'foo'
+ });
+ return o;
+}
+
+checkUnnamed3551(core.List<core.Object> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ var casted9 = (o[0]) as core.Map;
+ unittest.expect(casted9, unittest.hasLength(3));
+ unittest.expect(casted9["list"], unittest.equals([1, 2, 3]));
+ unittest.expect(casted9["bool"], unittest.equals(true));
+ unittest.expect(casted9["string"], unittest.equals('foo'));
+ var casted10 = (o[1]) as core.Map;
+ unittest.expect(casted10, unittest.hasLength(3));
+ unittest.expect(casted10["list"], unittest.equals([1, 2, 3]));
+ unittest.expect(casted10["bool"], unittest.equals(true));
+ unittest.expect(casted10["string"], unittest.equals('foo'));
+}
+
+core.int buildCounterKeyRange = 0;
+buildKeyRange() {
+ var o = new api.KeyRange();
+ buildCounterKeyRange++;
+ if (buildCounterKeyRange < 3) {
+ o.endClosed = buildUnnamed3548();
+ o.endOpen = buildUnnamed3549();
+ o.startClosed = buildUnnamed3550();
+ o.startOpen = buildUnnamed3551();
+ }
+ buildCounterKeyRange--;
+ return o;
+}
+
+checkKeyRange(api.KeyRange o) {
+ buildCounterKeyRange++;
+ if (buildCounterKeyRange < 3) {
+ checkUnnamed3548(o.endClosed);
+ checkUnnamed3549(o.endOpen);
+ checkUnnamed3550(o.startClosed);
+ checkUnnamed3551(o.startOpen);
+ }
+ buildCounterKeyRange--;
+}
+
+buildUnnamed3552() {
+ var o = new core.List<core.Object>();
+ o.add({
+ 'list': [1, 2, 3],
+ 'bool': true,
+ 'string': 'foo'
+ });
+ o.add({
+ 'list': [1, 2, 3],
+ 'bool': true,
+ 'string': 'foo'
+ });
+ return o;
+}
+
+checkUnnamed3552(core.List<core.Object> o) {
+ unittest.expect(o, unittest.hasLength(2));
var casted11 = (o[0]) as core.Map;
unittest.expect(casted11, unittest.hasLength(3));
unittest.expect(casted11["list"], unittest.equals([1, 2, 3]));
@@ -1035,27 +1035,27 @@
unittest.expect(casted12["string"], unittest.equals('foo'));
}
-buildUnnamed3549() {
+buildUnnamed3553() {
var o = new core.List<core.List<core.Object>>();
- o.add(buildUnnamed3548());
- o.add(buildUnnamed3548());
+ o.add(buildUnnamed3552());
+ o.add(buildUnnamed3552());
return o;
}
-checkUnnamed3549(core.List<core.List<core.Object>> o) {
+checkUnnamed3553(core.List<core.List<core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed3548(o[0]);
- checkUnnamed3548(o[1]);
+ checkUnnamed3552(o[0]);
+ checkUnnamed3552(o[1]);
}
-buildUnnamed3550() {
+buildUnnamed3554() {
var o = new core.List<api.KeyRange>();
o.add(buildKeyRange());
o.add(buildKeyRange());
return o;
}
-checkUnnamed3550(core.List<api.KeyRange> o) {
+checkUnnamed3554(core.List<api.KeyRange> o) {
unittest.expect(o, unittest.hasLength(2));
checkKeyRange(o[0]);
checkKeyRange(o[1]);
@@ -1067,8 +1067,8 @@
buildCounterKeySet++;
if (buildCounterKeySet < 3) {
o.all = true;
- o.keys = buildUnnamed3549();
- o.ranges = buildUnnamed3550();
+ o.keys = buildUnnamed3553();
+ o.ranges = buildUnnamed3554();
}
buildCounterKeySet--;
return o;
@@ -1078,20 +1078,20 @@
buildCounterKeySet++;
if (buildCounterKeySet < 3) {
unittest.expect(o.all, unittest.isTrue);
- checkUnnamed3549(o.keys);
- checkUnnamed3550(o.ranges);
+ checkUnnamed3553(o.keys);
+ checkUnnamed3554(o.ranges);
}
buildCounterKeySet--;
}
-buildUnnamed3551() {
+buildUnnamed3555() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed3551(core.List<api.Operation> o) {
+checkUnnamed3555(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -1103,7 +1103,7 @@
buildCounterListBackupOperationsResponse++;
if (buildCounterListBackupOperationsResponse < 3) {
o.nextPageToken = "foo";
- o.operations = buildUnnamed3551();
+ o.operations = buildUnnamed3555();
}
buildCounterListBackupOperationsResponse--;
return o;
@@ -1113,19 +1113,19 @@
buildCounterListBackupOperationsResponse++;
if (buildCounterListBackupOperationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3551(o.operations);
+ checkUnnamed3555(o.operations);
}
buildCounterListBackupOperationsResponse--;
}
-buildUnnamed3552() {
+buildUnnamed3556() {
var o = new core.List<api.Backup>();
o.add(buildBackup());
o.add(buildBackup());
return o;
}
-checkUnnamed3552(core.List<api.Backup> o) {
+checkUnnamed3556(core.List<api.Backup> o) {
unittest.expect(o, unittest.hasLength(2));
checkBackup(o[0]);
checkBackup(o[1]);
@@ -1136,7 +1136,7 @@
var o = new api.ListBackupsResponse();
buildCounterListBackupsResponse++;
if (buildCounterListBackupsResponse < 3) {
- o.backups = buildUnnamed3552();
+ o.backups = buildUnnamed3556();
o.nextPageToken = "foo";
}
buildCounterListBackupsResponse--;
@@ -1146,148 +1146,12 @@
checkListBackupsResponse(api.ListBackupsResponse o) {
buildCounterListBackupsResponse++;
if (buildCounterListBackupsResponse < 3) {
- checkUnnamed3552(o.backups);
+ checkUnnamed3556(o.backups);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListBackupsResponse--;
}
-buildUnnamed3553() {
- var o = new core.List<api.Operation>();
- o.add(buildOperation());
- o.add(buildOperation());
- return o;
-}
-
-checkUnnamed3553(core.List<api.Operation> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkOperation(o[0]);
- checkOperation(o[1]);
-}
-
-core.int buildCounterListDatabaseOperationsResponse = 0;
-buildListDatabaseOperationsResponse() {
- var o = new api.ListDatabaseOperationsResponse();
- buildCounterListDatabaseOperationsResponse++;
- if (buildCounterListDatabaseOperationsResponse < 3) {
- o.nextPageToken = "foo";
- o.operations = buildUnnamed3553();
- }
- buildCounterListDatabaseOperationsResponse--;
- return o;
-}
-
-checkListDatabaseOperationsResponse(api.ListDatabaseOperationsResponse o) {
- buildCounterListDatabaseOperationsResponse++;
- if (buildCounterListDatabaseOperationsResponse < 3) {
- unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3553(o.operations);
- }
- buildCounterListDatabaseOperationsResponse--;
-}
-
-buildUnnamed3554() {
- var o = new core.List<api.Database>();
- o.add(buildDatabase());
- o.add(buildDatabase());
- return o;
-}
-
-checkUnnamed3554(core.List<api.Database> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkDatabase(o[0]);
- checkDatabase(o[1]);
-}
-
-core.int buildCounterListDatabasesResponse = 0;
-buildListDatabasesResponse() {
- var o = new api.ListDatabasesResponse();
- buildCounterListDatabasesResponse++;
- if (buildCounterListDatabasesResponse < 3) {
- o.databases = buildUnnamed3554();
- o.nextPageToken = "foo";
- }
- buildCounterListDatabasesResponse--;
- return o;
-}
-
-checkListDatabasesResponse(api.ListDatabasesResponse o) {
- buildCounterListDatabasesResponse++;
- if (buildCounterListDatabasesResponse < 3) {
- checkUnnamed3554(o.databases);
- unittest.expect(o.nextPageToken, unittest.equals('foo'));
- }
- buildCounterListDatabasesResponse--;
-}
-
-buildUnnamed3555() {
- var o = new core.List<api.InstanceConfig>();
- o.add(buildInstanceConfig());
- o.add(buildInstanceConfig());
- return o;
-}
-
-checkUnnamed3555(core.List<api.InstanceConfig> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkInstanceConfig(o[0]);
- checkInstanceConfig(o[1]);
-}
-
-core.int buildCounterListInstanceConfigsResponse = 0;
-buildListInstanceConfigsResponse() {
- var o = new api.ListInstanceConfigsResponse();
- buildCounterListInstanceConfigsResponse++;
- if (buildCounterListInstanceConfigsResponse < 3) {
- o.instanceConfigs = buildUnnamed3555();
- o.nextPageToken = "foo";
- }
- buildCounterListInstanceConfigsResponse--;
- return o;
-}
-
-checkListInstanceConfigsResponse(api.ListInstanceConfigsResponse o) {
- buildCounterListInstanceConfigsResponse++;
- if (buildCounterListInstanceConfigsResponse < 3) {
- checkUnnamed3555(o.instanceConfigs);
- unittest.expect(o.nextPageToken, unittest.equals('foo'));
- }
- buildCounterListInstanceConfigsResponse--;
-}
-
-buildUnnamed3556() {
- var o = new core.List<api.Instance>();
- o.add(buildInstance());
- o.add(buildInstance());
- return o;
-}
-
-checkUnnamed3556(core.List<api.Instance> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkInstance(o[0]);
- checkInstance(o[1]);
-}
-
-core.int buildCounterListInstancesResponse = 0;
-buildListInstancesResponse() {
- var o = new api.ListInstancesResponse();
- buildCounterListInstancesResponse++;
- if (buildCounterListInstancesResponse < 3) {
- o.instances = buildUnnamed3556();
- o.nextPageToken = "foo";
- }
- buildCounterListInstancesResponse--;
- return o;
-}
-
-checkListInstancesResponse(api.ListInstancesResponse o) {
- buildCounterListInstancesResponse++;
- if (buildCounterListInstancesResponse < 3) {
- checkUnnamed3556(o.instances);
- unittest.expect(o.nextPageToken, unittest.equals('foo'));
- }
- buildCounterListInstancesResponse--;
-}
-
buildUnnamed3557() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
@@ -1301,13 +1165,149 @@
checkOperation(o[1]);
}
+core.int buildCounterListDatabaseOperationsResponse = 0;
+buildListDatabaseOperationsResponse() {
+ var o = new api.ListDatabaseOperationsResponse();
+ buildCounterListDatabaseOperationsResponse++;
+ if (buildCounterListDatabaseOperationsResponse < 3) {
+ o.nextPageToken = "foo";
+ o.operations = buildUnnamed3557();
+ }
+ buildCounterListDatabaseOperationsResponse--;
+ return o;
+}
+
+checkListDatabaseOperationsResponse(api.ListDatabaseOperationsResponse o) {
+ buildCounterListDatabaseOperationsResponse++;
+ if (buildCounterListDatabaseOperationsResponse < 3) {
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ checkUnnamed3557(o.operations);
+ }
+ buildCounterListDatabaseOperationsResponse--;
+}
+
+buildUnnamed3558() {
+ var o = new core.List<api.Database>();
+ o.add(buildDatabase());
+ o.add(buildDatabase());
+ return o;
+}
+
+checkUnnamed3558(core.List<api.Database> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkDatabase(o[0]);
+ checkDatabase(o[1]);
+}
+
+core.int buildCounterListDatabasesResponse = 0;
+buildListDatabasesResponse() {
+ var o = new api.ListDatabasesResponse();
+ buildCounterListDatabasesResponse++;
+ if (buildCounterListDatabasesResponse < 3) {
+ o.databases = buildUnnamed3558();
+ o.nextPageToken = "foo";
+ }
+ buildCounterListDatabasesResponse--;
+ return o;
+}
+
+checkListDatabasesResponse(api.ListDatabasesResponse o) {
+ buildCounterListDatabasesResponse++;
+ if (buildCounterListDatabasesResponse < 3) {
+ checkUnnamed3558(o.databases);
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ }
+ buildCounterListDatabasesResponse--;
+}
+
+buildUnnamed3559() {
+ var o = new core.List<api.InstanceConfig>();
+ o.add(buildInstanceConfig());
+ o.add(buildInstanceConfig());
+ return o;
+}
+
+checkUnnamed3559(core.List<api.InstanceConfig> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkInstanceConfig(o[0]);
+ checkInstanceConfig(o[1]);
+}
+
+core.int buildCounterListInstanceConfigsResponse = 0;
+buildListInstanceConfigsResponse() {
+ var o = new api.ListInstanceConfigsResponse();
+ buildCounterListInstanceConfigsResponse++;
+ if (buildCounterListInstanceConfigsResponse < 3) {
+ o.instanceConfigs = buildUnnamed3559();
+ o.nextPageToken = "foo";
+ }
+ buildCounterListInstanceConfigsResponse--;
+ return o;
+}
+
+checkListInstanceConfigsResponse(api.ListInstanceConfigsResponse o) {
+ buildCounterListInstanceConfigsResponse++;
+ if (buildCounterListInstanceConfigsResponse < 3) {
+ checkUnnamed3559(o.instanceConfigs);
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ }
+ buildCounterListInstanceConfigsResponse--;
+}
+
+buildUnnamed3560() {
+ var o = new core.List<api.Instance>();
+ o.add(buildInstance());
+ o.add(buildInstance());
+ return o;
+}
+
+checkUnnamed3560(core.List<api.Instance> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkInstance(o[0]);
+ checkInstance(o[1]);
+}
+
+core.int buildCounterListInstancesResponse = 0;
+buildListInstancesResponse() {
+ var o = new api.ListInstancesResponse();
+ buildCounterListInstancesResponse++;
+ if (buildCounterListInstancesResponse < 3) {
+ o.instances = buildUnnamed3560();
+ o.nextPageToken = "foo";
+ }
+ buildCounterListInstancesResponse--;
+ return o;
+}
+
+checkListInstancesResponse(api.ListInstancesResponse o) {
+ buildCounterListInstancesResponse++;
+ if (buildCounterListInstancesResponse < 3) {
+ checkUnnamed3560(o.instances);
+ unittest.expect(o.nextPageToken, unittest.equals('foo'));
+ }
+ buildCounterListInstancesResponse--;
+}
+
+buildUnnamed3561() {
+ var o = new core.List<api.Operation>();
+ o.add(buildOperation());
+ o.add(buildOperation());
+ return o;
+}
+
+checkUnnamed3561(core.List<api.Operation> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkOperation(o[0]);
+ checkOperation(o[1]);
+}
+
core.int buildCounterListOperationsResponse = 0;
buildListOperationsResponse() {
var o = new api.ListOperationsResponse();
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
o.nextPageToken = "foo";
- o.operations = buildUnnamed3557();
+ o.operations = buildUnnamed3561();
}
buildCounterListOperationsResponse--;
return o;
@@ -1317,19 +1317,19 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3557(o.operations);
+ checkUnnamed3561(o.operations);
}
buildCounterListOperationsResponse--;
}
-buildUnnamed3558() {
+buildUnnamed3562() {
var o = new core.List<api.Session>();
o.add(buildSession());
o.add(buildSession());
return o;
}
-checkUnnamed3558(core.List<api.Session> o) {
+checkUnnamed3562(core.List<api.Session> o) {
unittest.expect(o, unittest.hasLength(2));
checkSession(o[0]);
checkSession(o[1]);
@@ -1341,7 +1341,7 @@
buildCounterListSessionsResponse++;
if (buildCounterListSessionsResponse < 3) {
o.nextPageToken = "foo";
- o.sessions = buildUnnamed3558();
+ o.sessions = buildUnnamed3562();
}
buildCounterListSessionsResponse--;
return o;
@@ -1351,7 +1351,7 @@
buildCounterListSessionsResponse++;
if (buildCounterListSessionsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3558(o.sessions);
+ checkUnnamed3562(o.sessions);
}
buildCounterListSessionsResponse--;
}
@@ -1383,7 +1383,7 @@
buildCounterMutation--;
}
-buildUnnamed3559() {
+buildUnnamed3563() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1398,7 +1398,7 @@
return o;
}
-checkUnnamed3559(core.Map<core.String, core.Object> o) {
+checkUnnamed3563(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted13 = (o["x"]) as core.Map;
unittest.expect(casted13, unittest.hasLength(3));
@@ -1412,7 +1412,7 @@
unittest.expect(casted14["string"], unittest.equals('foo'));
}
-buildUnnamed3560() {
+buildUnnamed3564() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1427,7 +1427,7 @@
return o;
}
-checkUnnamed3560(core.Map<core.String, core.Object> o) {
+checkUnnamed3564(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted15 = (o["x"]) as core.Map;
unittest.expect(casted15, unittest.hasLength(3));
@@ -1448,9 +1448,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed3559();
+ o.metadata = buildUnnamed3563();
o.name = "foo";
- o.response = buildUnnamed3560();
+ o.response = buildUnnamed3564();
}
buildCounterOperation--;
return o;
@@ -1461,9 +1461,9 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed3559(o.metadata);
+ checkUnnamed3563(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed3560(o.response);
+ checkUnnamed3564(o.response);
}
buildCounterOperation--;
}
@@ -1512,7 +1512,7 @@
buildCounterOptimizeRestoredDatabaseMetadata--;
}
-buildUnnamed3561() {
+buildUnnamed3565() {
var o = new core.List<core.Object>();
o.add({
'list': [1, 2, 3],
@@ -1527,7 +1527,7 @@
return o;
}
-checkUnnamed3561(core.List<core.Object> o) {
+checkUnnamed3565(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted17 = (o[0]) as core.Map;
unittest.expect(casted17, unittest.hasLength(3));
@@ -1550,7 +1550,7 @@
o.metadata = buildResultSetMetadata();
o.resumeToken = "foo";
o.stats = buildResultSetStats();
- o.values = buildUnnamed3561();
+ o.values = buildUnnamed3565();
}
buildCounterPartialResultSet--;
return o;
@@ -1563,7 +1563,7 @@
checkResultSetMetadata(o.metadata);
unittest.expect(o.resumeToken, unittest.equals('foo'));
checkResultSetStats(o.stats);
- checkUnnamed3561(o.values);
+ checkUnnamed3565(o.values);
}
buildCounterPartialResultSet--;
}
@@ -1608,20 +1608,20 @@
buildCounterPartitionOptions--;
}
-buildUnnamed3562() {
+buildUnnamed3566() {
var o = new core.Map<core.String, api.Type>();
o["x"] = buildType();
o["y"] = buildType();
return o;
}
-checkUnnamed3562(core.Map<core.String, api.Type> o) {
+checkUnnamed3566(core.Map<core.String, api.Type> o) {
unittest.expect(o, unittest.hasLength(2));
checkType(o["x"]);
checkType(o["y"]);
}
-buildUnnamed3563() {
+buildUnnamed3567() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1636,7 +1636,7 @@
return o;
}
-checkUnnamed3563(core.Map<core.String, core.Object> o) {
+checkUnnamed3567(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted19 = (o["x"]) as core.Map;
unittest.expect(casted19, unittest.hasLength(3));
@@ -1655,8 +1655,8 @@
var o = new api.PartitionQueryRequest();
buildCounterPartitionQueryRequest++;
if (buildCounterPartitionQueryRequest < 3) {
- o.paramTypes = buildUnnamed3562();
- o.params = buildUnnamed3563();
+ o.paramTypes = buildUnnamed3566();
+ o.params = buildUnnamed3567();
o.partitionOptions = buildPartitionOptions();
o.sql = "foo";
o.transaction = buildTransactionSelector();
@@ -1668,8 +1668,8 @@
checkPartitionQueryRequest(api.PartitionQueryRequest o) {
buildCounterPartitionQueryRequest++;
if (buildCounterPartitionQueryRequest < 3) {
- checkUnnamed3562(o.paramTypes);
- checkUnnamed3563(o.params);
+ checkUnnamed3566(o.paramTypes);
+ checkUnnamed3567(o.params);
checkPartitionOptions(o.partitionOptions);
unittest.expect(o.sql, unittest.equals('foo'));
checkTransactionSelector(o.transaction);
@@ -1677,14 +1677,14 @@
buildCounterPartitionQueryRequest--;
}
-buildUnnamed3564() {
+buildUnnamed3568() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3564(core.List<core.String> o) {
+checkUnnamed3568(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1695,7 +1695,7 @@
var o = new api.PartitionReadRequest();
buildCounterPartitionReadRequest++;
if (buildCounterPartitionReadRequest < 3) {
- o.columns = buildUnnamed3564();
+ o.columns = buildUnnamed3568();
o.index = "foo";
o.keySet = buildKeySet();
o.partitionOptions = buildPartitionOptions();
@@ -1709,7 +1709,7 @@
checkPartitionReadRequest(api.PartitionReadRequest o) {
buildCounterPartitionReadRequest++;
if (buildCounterPartitionReadRequest < 3) {
- checkUnnamed3564(o.columns);
+ checkUnnamed3568(o.columns);
unittest.expect(o.index, unittest.equals('foo'));
checkKeySet(o.keySet);
checkPartitionOptions(o.partitionOptions);
@@ -1719,14 +1719,14 @@
buildCounterPartitionReadRequest--;
}
-buildUnnamed3565() {
+buildUnnamed3569() {
var o = new core.List<api.Partition>();
o.add(buildPartition());
o.add(buildPartition());
return o;
}
-checkUnnamed3565(core.List<api.Partition> o) {
+checkUnnamed3569(core.List<api.Partition> o) {
unittest.expect(o, unittest.hasLength(2));
checkPartition(o[0]);
checkPartition(o[1]);
@@ -1737,7 +1737,7 @@
var o = new api.PartitionResponse();
buildCounterPartitionResponse++;
if (buildCounterPartitionResponse < 3) {
- o.partitions = buildUnnamed3565();
+ o.partitions = buildUnnamed3569();
o.transaction = buildTransaction();
}
buildCounterPartitionResponse--;
@@ -1747,7 +1747,7 @@
checkPartitionResponse(api.PartitionResponse o) {
buildCounterPartitionResponse++;
if (buildCounterPartitionResponse < 3) {
- checkUnnamed3565(o.partitions);
+ checkUnnamed3569(o.partitions);
checkTransaction(o.transaction);
}
buildCounterPartitionResponse--;
@@ -1768,20 +1768,20 @@
buildCounterPartitionedDml--;
}
-buildUnnamed3566() {
+buildUnnamed3570() {
var o = new core.List<api.ChildLink>();
o.add(buildChildLink());
o.add(buildChildLink());
return o;
}
-checkUnnamed3566(core.List<api.ChildLink> o) {
+checkUnnamed3570(core.List<api.ChildLink> o) {
unittest.expect(o, unittest.hasLength(2));
checkChildLink(o[0]);
checkChildLink(o[1]);
}
-buildUnnamed3567() {
+buildUnnamed3571() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1796,7 +1796,7 @@
return o;
}
-checkUnnamed3567(core.Map<core.String, core.Object> o) {
+checkUnnamed3571(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted21 = (o["x"]) as core.Map;
unittest.expect(casted21, unittest.hasLength(3));
@@ -1810,7 +1810,7 @@
unittest.expect(casted22["string"], unittest.equals('foo'));
}
-buildUnnamed3568() {
+buildUnnamed3572() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1825,7 +1825,7 @@
return o;
}
-checkUnnamed3568(core.Map<core.String, core.Object> o) {
+checkUnnamed3572(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted23 = (o["x"]) as core.Map;
unittest.expect(casted23, unittest.hasLength(3));
@@ -1844,12 +1844,12 @@
var o = new api.PlanNode();
buildCounterPlanNode++;
if (buildCounterPlanNode < 3) {
- o.childLinks = buildUnnamed3566();
+ o.childLinks = buildUnnamed3570();
o.displayName = "foo";
- o.executionStats = buildUnnamed3567();
+ o.executionStats = buildUnnamed3571();
o.index = 42;
o.kind = "foo";
- o.metadata = buildUnnamed3568();
+ o.metadata = buildUnnamed3572();
o.shortRepresentation = buildShortRepresentation();
}
buildCounterPlanNode--;
@@ -1859,25 +1859,25 @@
checkPlanNode(api.PlanNode o) {
buildCounterPlanNode++;
if (buildCounterPlanNode < 3) {
- checkUnnamed3566(o.childLinks);
+ checkUnnamed3570(o.childLinks);
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed3567(o.executionStats);
+ checkUnnamed3571(o.executionStats);
unittest.expect(o.index, unittest.equals(42));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed3568(o.metadata);
+ checkUnnamed3572(o.metadata);
checkShortRepresentation(o.shortRepresentation);
}
buildCounterPlanNode--;
}
-buildUnnamed3569() {
+buildUnnamed3573() {
var o = new core.List<api.Binding>();
o.add(buildBinding());
o.add(buildBinding());
return o;
}
-checkUnnamed3569(core.List<api.Binding> o) {
+checkUnnamed3573(core.List<api.Binding> o) {
unittest.expect(o, unittest.hasLength(2));
checkBinding(o[0]);
checkBinding(o[1]);
@@ -1888,7 +1888,7 @@
var o = new api.Policy();
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- o.bindings = buildUnnamed3569();
+ o.bindings = buildUnnamed3573();
o.etag = "foo";
o.version = 42;
}
@@ -1899,7 +1899,7 @@
checkPolicy(api.Policy o) {
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- checkUnnamed3569(o.bindings);
+ checkUnnamed3573(o.bindings);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals(42));
}
@@ -1925,14 +1925,14 @@
buildCounterQueryOptions--;
}
-buildUnnamed3570() {
+buildUnnamed3574() {
var o = new core.List<api.PlanNode>();
o.add(buildPlanNode());
o.add(buildPlanNode());
return o;
}
-checkUnnamed3570(core.List<api.PlanNode> o) {
+checkUnnamed3574(core.List<api.PlanNode> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlanNode(o[0]);
checkPlanNode(o[1]);
@@ -1943,7 +1943,7 @@
var o = new api.QueryPlan();
buildCounterQueryPlan++;
if (buildCounterQueryPlan < 3) {
- o.planNodes = buildUnnamed3570();
+ o.planNodes = buildUnnamed3574();
}
buildCounterQueryPlan--;
return o;
@@ -1952,7 +1952,7 @@
checkQueryPlan(api.QueryPlan o) {
buildCounterQueryPlan++;
if (buildCounterQueryPlan < 3) {
- checkUnnamed3570(o.planNodes);
+ checkUnnamed3574(o.planNodes);
}
buildCounterQueryPlan--;
}
@@ -1986,14 +1986,14 @@
buildCounterReadOnly--;
}
-buildUnnamed3571() {
+buildUnnamed3575() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3571(core.List<core.String> o) {
+checkUnnamed3575(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2004,7 +2004,7 @@
var o = new api.ReadRequest();
buildCounterReadRequest++;
if (buildCounterReadRequest < 3) {
- o.columns = buildUnnamed3571();
+ o.columns = buildUnnamed3575();
o.index = "foo";
o.keySet = buildKeySet();
o.limit = "foo";
@@ -2020,7 +2020,7 @@
checkReadRequest(api.ReadRequest o) {
buildCounterReadRequest++;
if (buildCounterReadRequest < 3) {
- checkUnnamed3571(o.columns);
+ checkUnnamed3575(o.columns);
unittest.expect(o.index, unittest.equals('foo'));
checkKeySet(o.keySet);
unittest.expect(o.limit, unittest.equals('foo'));
@@ -2141,7 +2141,7 @@
buildCounterRestoreInfo--;
}
-buildUnnamed3572() {
+buildUnnamed3576() {
var o = new core.List<core.Object>();
o.add({
'list': [1, 2, 3],
@@ -2156,7 +2156,7 @@
return o;
}
-checkUnnamed3572(core.List<core.Object> o) {
+checkUnnamed3576(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted25 = (o[0]) as core.Map;
unittest.expect(casted25, unittest.hasLength(3));
@@ -2170,17 +2170,17 @@
unittest.expect(casted26["string"], unittest.equals('foo'));
}
-buildUnnamed3573() {
+buildUnnamed3577() {
var o = new core.List<core.List<core.Object>>();
- o.add(buildUnnamed3572());
- o.add(buildUnnamed3572());
+ o.add(buildUnnamed3576());
+ o.add(buildUnnamed3576());
return o;
}
-checkUnnamed3573(core.List<core.List<core.Object>> o) {
+checkUnnamed3577(core.List<core.List<core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed3572(o[0]);
- checkUnnamed3572(o[1]);
+ checkUnnamed3576(o[0]);
+ checkUnnamed3576(o[1]);
}
core.int buildCounterResultSet = 0;
@@ -2189,7 +2189,7 @@
buildCounterResultSet++;
if (buildCounterResultSet < 3) {
o.metadata = buildResultSetMetadata();
- o.rows = buildUnnamed3573();
+ o.rows = buildUnnamed3577();
o.stats = buildResultSetStats();
}
buildCounterResultSet--;
@@ -2200,7 +2200,7 @@
buildCounterResultSet++;
if (buildCounterResultSet < 3) {
checkResultSetMetadata(o.metadata);
- checkUnnamed3573(o.rows);
+ checkUnnamed3577(o.rows);
checkResultSetStats(o.stats);
}
buildCounterResultSet--;
@@ -2227,7 +2227,7 @@
buildCounterResultSetMetadata--;
}
-buildUnnamed3574() {
+buildUnnamed3578() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -2242,7 +2242,7 @@
return o;
}
-checkUnnamed3574(core.Map<core.String, core.Object> o) {
+checkUnnamed3578(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted27 = (o["x"]) as core.Map;
unittest.expect(casted27, unittest.hasLength(3));
@@ -2262,7 +2262,7 @@
buildCounterResultSetStats++;
if (buildCounterResultSetStats < 3) {
o.queryPlan = buildQueryPlan();
- o.queryStats = buildUnnamed3574();
+ o.queryStats = buildUnnamed3578();
o.rowCountExact = "foo";
o.rowCountLowerBound = "foo";
}
@@ -2274,7 +2274,7 @@
buildCounterResultSetStats++;
if (buildCounterResultSetStats < 3) {
checkQueryPlan(o.queryPlan);
- checkUnnamed3574(o.queryStats);
+ checkUnnamed3578(o.queryStats);
unittest.expect(o.rowCountExact, unittest.equals('foo'));
unittest.expect(o.rowCountLowerBound, unittest.equals('foo'));
}
@@ -2300,14 +2300,14 @@
buildCounterRollbackRequest--;
}
-buildUnnamed3575() {
+buildUnnamed3579() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3575(core.Map<core.String, core.String> o) {
+checkUnnamed3579(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -2320,7 +2320,7 @@
if (buildCounterSession < 3) {
o.approximateLastUseTime = "foo";
o.createTime = "foo";
- o.labels = buildUnnamed3575();
+ o.labels = buildUnnamed3579();
o.name = "foo";
}
buildCounterSession--;
@@ -2332,7 +2332,7 @@
if (buildCounterSession < 3) {
unittest.expect(o.approximateLastUseTime, unittest.equals('foo'));
unittest.expect(o.createTime, unittest.equals('foo'));
- checkUnnamed3575(o.labels);
+ checkUnnamed3579(o.labels);
unittest.expect(o.name, unittest.equals('foo'));
}
buildCounterSession--;
@@ -2357,14 +2357,14 @@
buildCounterSetIamPolicyRequest--;
}
-buildUnnamed3576() {
+buildUnnamed3580() {
var o = new core.Map<core.String, core.int>();
o["x"] = 42;
o["y"] = 42;
return o;
}
-checkUnnamed3576(core.Map<core.String, core.int> o) {
+checkUnnamed3580(core.Map<core.String, core.int> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals(42));
unittest.expect(o["y"], unittest.equals(42));
@@ -2376,7 +2376,7 @@
buildCounterShortRepresentation++;
if (buildCounterShortRepresentation < 3) {
o.description = "foo";
- o.subqueries = buildUnnamed3576();
+ o.subqueries = buildUnnamed3580();
}
buildCounterShortRepresentation--;
return o;
@@ -2386,25 +2386,25 @@
buildCounterShortRepresentation++;
if (buildCounterShortRepresentation < 3) {
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed3576(o.subqueries);
+ checkUnnamed3580(o.subqueries);
}
buildCounterShortRepresentation--;
}
-buildUnnamed3577() {
+buildUnnamed3581() {
var o = new core.Map<core.String, api.Type>();
o["x"] = buildType();
o["y"] = buildType();
return o;
}
-checkUnnamed3577(core.Map<core.String, api.Type> o) {
+checkUnnamed3581(core.Map<core.String, api.Type> o) {
unittest.expect(o, unittest.hasLength(2));
checkType(o["x"]);
checkType(o["y"]);
}
-buildUnnamed3578() {
+buildUnnamed3582() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -2419,7 +2419,7 @@
return o;
}
-checkUnnamed3578(core.Map<core.String, core.Object> o) {
+checkUnnamed3582(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted29 = (o["x"]) as core.Map;
unittest.expect(casted29, unittest.hasLength(3));
@@ -2438,8 +2438,8 @@
var o = new api.Statement();
buildCounterStatement++;
if (buildCounterStatement < 3) {
- o.paramTypes = buildUnnamed3577();
- o.params = buildUnnamed3578();
+ o.paramTypes = buildUnnamed3581();
+ o.params = buildUnnamed3582();
o.sql = "foo";
}
buildCounterStatement--;
@@ -2449,14 +2449,14 @@
checkStatement(api.Statement o) {
buildCounterStatement++;
if (buildCounterStatement < 3) {
- checkUnnamed3577(o.paramTypes);
- checkUnnamed3578(o.params);
+ checkUnnamed3581(o.paramTypes);
+ checkUnnamed3582(o.params);
unittest.expect(o.sql, unittest.equals('foo'));
}
buildCounterStatement--;
}
-buildUnnamed3579() {
+buildUnnamed3583() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -2471,7 +2471,7 @@
return o;
}
-checkUnnamed3579(core.Map<core.String, core.Object> o) {
+checkUnnamed3583(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted31 = (o["x"]) as core.Map;
unittest.expect(casted31, unittest.hasLength(3));
@@ -2485,17 +2485,17 @@
unittest.expect(casted32["string"], unittest.equals('foo'));
}
-buildUnnamed3580() {
+buildUnnamed3584() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed3579());
- o.add(buildUnnamed3579());
+ o.add(buildUnnamed3583());
+ o.add(buildUnnamed3583());
return o;
}
-checkUnnamed3580(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed3584(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed3579(o[0]);
- checkUnnamed3579(o[1]);
+ checkUnnamed3583(o[0]);
+ checkUnnamed3583(o[1]);
}
core.int buildCounterStatus = 0;
@@ -2504,7 +2504,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed3580();
+ o.details = buildUnnamed3584();
o.message = "foo";
}
buildCounterStatus--;
@@ -2515,20 +2515,20 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed3580(o.details);
+ checkUnnamed3584(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
}
-buildUnnamed3581() {
+buildUnnamed3585() {
var o = new core.List<api.Field>();
o.add(buildField());
o.add(buildField());
return o;
}
-checkUnnamed3581(core.List<api.Field> o) {
+checkUnnamed3585(core.List<api.Field> o) {
unittest.expect(o, unittest.hasLength(2));
checkField(o[0]);
checkField(o[1]);
@@ -2539,7 +2539,7 @@
var o = new api.StructType();
buildCounterStructType++;
if (buildCounterStructType < 3) {
- o.fields = buildUnnamed3581();
+ o.fields = buildUnnamed3585();
}
buildCounterStructType--;
return o;
@@ -2548,19 +2548,19 @@
checkStructType(api.StructType o) {
buildCounterStructType++;
if (buildCounterStructType < 3) {
- checkUnnamed3581(o.fields);
+ checkUnnamed3585(o.fields);
}
buildCounterStructType--;
}
-buildUnnamed3582() {
+buildUnnamed3586() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3582(core.List<core.String> o) {
+checkUnnamed3586(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2571,7 +2571,7 @@
var o = new api.TestIamPermissionsRequest();
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- o.permissions = buildUnnamed3582();
+ o.permissions = buildUnnamed3586();
}
buildCounterTestIamPermissionsRequest--;
return o;
@@ -2580,19 +2580,19 @@
checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) {
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- checkUnnamed3582(o.permissions);
+ checkUnnamed3586(o.permissions);
}
buildCounterTestIamPermissionsRequest--;
}
-buildUnnamed3583() {
+buildUnnamed3587() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3583(core.List<core.String> o) {
+checkUnnamed3587(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2603,7 +2603,7 @@
var o = new api.TestIamPermissionsResponse();
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- o.permissions = buildUnnamed3583();
+ o.permissions = buildUnnamed3587();
}
buildCounterTestIamPermissionsResponse--;
return o;
@@ -2612,7 +2612,7 @@
checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) {
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- checkUnnamed3583(o.permissions);
+ checkUnnamed3587(o.permissions);
}
buildCounterTestIamPermissionsResponse--;
}
@@ -2707,27 +2707,27 @@
buildCounterType--;
}
-buildUnnamed3584() {
+buildUnnamed3588() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3584(core.List<core.String> o) {
+checkUnnamed3588(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3585() {
+buildUnnamed3589() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3585(core.List<core.String> o) {
+checkUnnamed3589(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2738,9 +2738,9 @@
var o = new api.UpdateDatabaseDdlMetadata();
buildCounterUpdateDatabaseDdlMetadata++;
if (buildCounterUpdateDatabaseDdlMetadata < 3) {
- o.commitTimestamps = buildUnnamed3584();
+ o.commitTimestamps = buildUnnamed3588();
o.database = "foo";
- o.statements = buildUnnamed3585();
+ o.statements = buildUnnamed3589();
}
buildCounterUpdateDatabaseDdlMetadata--;
return o;
@@ -2749,21 +2749,21 @@
checkUpdateDatabaseDdlMetadata(api.UpdateDatabaseDdlMetadata o) {
buildCounterUpdateDatabaseDdlMetadata++;
if (buildCounterUpdateDatabaseDdlMetadata < 3) {
- checkUnnamed3584(o.commitTimestamps);
+ checkUnnamed3588(o.commitTimestamps);
unittest.expect(o.database, unittest.equals('foo'));
- checkUnnamed3585(o.statements);
+ checkUnnamed3589(o.statements);
}
buildCounterUpdateDatabaseDdlMetadata--;
}
-buildUnnamed3586() {
+buildUnnamed3590() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3586(core.List<core.String> o) {
+checkUnnamed3590(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2775,7 +2775,7 @@
buildCounterUpdateDatabaseDdlRequest++;
if (buildCounterUpdateDatabaseDdlRequest < 3) {
o.operationId = "foo";
- o.statements = buildUnnamed3586();
+ o.statements = buildUnnamed3590();
}
buildCounterUpdateDatabaseDdlRequest--;
return o;
@@ -2785,7 +2785,7 @@
buildCounterUpdateDatabaseDdlRequest++;
if (buildCounterUpdateDatabaseDdlRequest < 3) {
unittest.expect(o.operationId, unittest.equals('foo'));
- checkUnnamed3586(o.statements);
+ checkUnnamed3590(o.statements);
}
buildCounterUpdateDatabaseDdlRequest--;
}
@@ -2836,20 +2836,20 @@
buildCounterUpdateInstanceRequest--;
}
-buildUnnamed3587() {
+buildUnnamed3591() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3587(core.List<core.String> o) {
+checkUnnamed3591(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3588() {
+buildUnnamed3592() {
var o = new core.List<core.Object>();
o.add({
'list': [1, 2, 3],
@@ -2864,7 +2864,7 @@
return o;
}
-checkUnnamed3588(core.List<core.Object> o) {
+checkUnnamed3592(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted33 = (o[0]) as core.Map;
unittest.expect(casted33, unittest.hasLength(3));
@@ -2878,17 +2878,17 @@
unittest.expect(casted34["string"], unittest.equals('foo'));
}
-buildUnnamed3589() {
+buildUnnamed3593() {
var o = new core.List<core.List<core.Object>>();
- o.add(buildUnnamed3588());
- o.add(buildUnnamed3588());
+ o.add(buildUnnamed3592());
+ o.add(buildUnnamed3592());
return o;
}
-checkUnnamed3589(core.List<core.List<core.Object>> o) {
+checkUnnamed3593(core.List<core.List<core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed3588(o[0]);
- checkUnnamed3588(o[1]);
+ checkUnnamed3592(o[0]);
+ checkUnnamed3592(o[1]);
}
core.int buildCounterWrite = 0;
@@ -2896,9 +2896,9 @@
var o = new api.Write();
buildCounterWrite++;
if (buildCounterWrite < 3) {
- o.columns = buildUnnamed3587();
+ o.columns = buildUnnamed3591();
o.table = "foo";
- o.values = buildUnnamed3589();
+ o.values = buildUnnamed3593();
}
buildCounterWrite--;
return o;
@@ -2907,9 +2907,9 @@
checkWrite(api.Write o) {
buildCounterWrite++;
if (buildCounterWrite < 3) {
- checkUnnamed3587(o.columns);
+ checkUnnamed3591(o.columns);
unittest.expect(o.table, unittest.equals('foo'));
- checkUnnamed3589(o.values);
+ checkUnnamed3593(o.values);
}
buildCounterWrite--;
}
@@ -3621,8 +3621,8 @@
api.ProjectsInstanceConfigsResourceApi res =
new api.SpannerApi(mock).projects.instanceConfigs;
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;
@@ -3655,10 +3655,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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 = {
@@ -3669,8 +3669,8 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListInstanceConfigsResponse(response);
@@ -3903,9 +3903,9 @@
api.ProjectsInstancesResourceApi res =
new 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;
@@ -3938,11 +3938,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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 = {
@@ -3953,9 +3953,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);
@@ -4137,8 +4137,8 @@
api.ProjectsInstancesBackupOperationsResourceApi res =
new api.SpannerApi(mock).projects.instances.backupOperations;
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) {
@@ -4172,9 +4172,9 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ 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));
@@ -4187,8 +4187,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) {
@@ -4423,9 +4423,9 @@
api.ProjectsInstancesBackupsResourceApi res =
new api.SpannerApi(mock).projects.instances.backups;
var arg_parent = "foo";
- var arg_pageSize = 42;
var arg_pageToken = "foo";
var arg_filter = "foo";
+ var arg_pageSize = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -4458,11 +4458,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4473,9 +4473,9 @@
}), true);
res
.list(arg_parent,
- pageSize: arg_pageSize,
pageToken: arg_pageToken,
filter: arg_filter,
+ pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListBackupsResponse(response);
@@ -4817,8 +4817,8 @@
api.ProjectsInstancesBackupsOperationsResourceApi res =
new api.SpannerApi(mock).projects.instances.backups.operations;
var arg_name = "foo";
- var arg_pageToken = "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) {
@@ -4852,10 +4852,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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["filter"].first, unittest.equals(arg_filter));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -4867,8 +4867,8 @@
}), true);
res
.list(arg_name,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
filter: arg_filter,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -4883,9 +4883,9 @@
api.ProjectsInstancesDatabaseOperationsResourceApi res =
new 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;
@@ -4918,11 +4918,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ 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 = {
@@ -4933,9 +4933,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);
@@ -5661,9 +5661,9 @@
api.ProjectsInstancesDatabasesOperationsResourceApi res =
new api.SpannerApi(mock).projects.instances.databases.operations;
var arg_name = "foo";
- var arg_pageSize = 42;
var arg_filter = "foo";
var arg_pageToken = "foo";
+ var arg_pageSize = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -5696,11 +5696,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -5711,9 +5711,9 @@
}), true);
res
.list(arg_name,
- pageSize: arg_pageSize,
filter: arg_filter,
pageToken: arg_pageToken,
+ pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListOperationsResponse(response);
@@ -6223,9 +6223,9 @@
api.ProjectsInstancesDatabasesSessionsResourceApi res =
new api.SpannerApi(mock).projects.instances.databases.sessions;
var arg_database = "foo";
- var arg_pageToken = "foo";
- var arg_filter = "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;
@@ -6258,11 +6258,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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 = {
@@ -6273,9 +6273,9 @@
}), true);
res
.list(arg_database,
- pageToken: arg_pageToken,
- filter: arg_filter,
pageSize: arg_pageSize,
+ filter: arg_filter,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListSessionsResponse(response);
@@ -6725,9 +6725,9 @@
api.ProjectsInstancesOperationsResourceApi res =
new api.SpannerApi(mock).projects.instances.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;
@@ -6760,11 +6760,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ 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 = {
@@ -6775,9 +6775,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/speech/v1_test.dart b/generated/googleapis/test/speech/v1_test.dart
index 851d9a2..805e38c 100644
--- a/generated/googleapis/test/speech/v1_test.dart
+++ b/generated/googleapis/test/speech/v1_test.dart
@@ -50,14 +50,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed2766() {
+buildUnnamed2770() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed2766(core.List<api.Operation> o) {
+checkUnnamed2770(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -69,7 +69,7 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
o.nextPageToken = "foo";
- o.operations = buildUnnamed2766();
+ o.operations = buildUnnamed2770();
}
buildCounterListOperationsResponse--;
return o;
@@ -79,7 +79,7 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2766(o.operations);
+ checkUnnamed2770(o.operations);
}
buildCounterListOperationsResponse--;
}
@@ -130,14 +130,14 @@
buildCounterLongRunningRecognizeRequest--;
}
-buildUnnamed2767() {
+buildUnnamed2771() {
var o = new core.List<api.SpeechRecognitionResult>();
o.add(buildSpeechRecognitionResult());
o.add(buildSpeechRecognitionResult());
return o;
}
-checkUnnamed2767(core.List<api.SpeechRecognitionResult> o) {
+checkUnnamed2771(core.List<api.SpeechRecognitionResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkSpeechRecognitionResult(o[0]);
checkSpeechRecognitionResult(o[1]);
@@ -148,7 +148,7 @@
var o = new api.LongRunningRecognizeResponse();
buildCounterLongRunningRecognizeResponse++;
if (buildCounterLongRunningRecognizeResponse < 3) {
- o.results = buildUnnamed2767();
+ o.results = buildUnnamed2771();
}
buildCounterLongRunningRecognizeResponse--;
return o;
@@ -157,12 +157,12 @@
checkLongRunningRecognizeResponse(api.LongRunningRecognizeResponse o) {
buildCounterLongRunningRecognizeResponse++;
if (buildCounterLongRunningRecognizeResponse < 3) {
- checkUnnamed2767(o.results);
+ checkUnnamed2771(o.results);
}
buildCounterLongRunningRecognizeResponse--;
}
-buildUnnamed2768() {
+buildUnnamed2772() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -177,7 +177,7 @@
return o;
}
-checkUnnamed2768(core.Map<core.String, core.Object> o) {
+checkUnnamed2772(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o["x"]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -191,7 +191,7 @@
unittest.expect(casted2["string"], unittest.equals('foo'));
}
-buildUnnamed2769() {
+buildUnnamed2773() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -206,7 +206,7 @@
return o;
}
-checkUnnamed2769(core.Map<core.String, core.Object> o) {
+checkUnnamed2773(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted3 = (o["x"]) as core.Map;
unittest.expect(casted3, unittest.hasLength(3));
@@ -227,9 +227,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed2768();
+ o.metadata = buildUnnamed2772();
o.name = "foo";
- o.response = buildUnnamed2769();
+ o.response = buildUnnamed2773();
}
buildCounterOperation--;
return o;
@@ -240,9 +240,9 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed2768(o.metadata);
+ checkUnnamed2772(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2769(o.response);
+ checkUnnamed2773(o.response);
}
buildCounterOperation--;
}
@@ -268,14 +268,14 @@
buildCounterRecognitionAudio--;
}
-buildUnnamed2770() {
+buildUnnamed2774() {
var o = new core.List<api.SpeechContext>();
o.add(buildSpeechContext());
o.add(buildSpeechContext());
return o;
}
-checkUnnamed2770(core.List<api.SpeechContext> o) {
+checkUnnamed2774(core.List<api.SpeechContext> o) {
unittest.expect(o, unittest.hasLength(2));
checkSpeechContext(o[0]);
checkSpeechContext(o[1]);
@@ -298,7 +298,7 @@
o.model = "foo";
o.profanityFilter = true;
o.sampleRateHertz = 42;
- o.speechContexts = buildUnnamed2770();
+ o.speechContexts = buildUnnamed2774();
o.useEnhanced = true;
}
buildCounterRecognitionConfig--;
@@ -320,7 +320,7 @@
unittest.expect(o.model, unittest.equals('foo'));
unittest.expect(o.profanityFilter, unittest.isTrue);
unittest.expect(o.sampleRateHertz, unittest.equals(42));
- checkUnnamed2770(o.speechContexts);
+ checkUnnamed2774(o.speechContexts);
unittest.expect(o.useEnhanced, unittest.isTrue);
}
buildCounterRecognitionConfig--;
@@ -380,14 +380,14 @@
buildCounterRecognizeRequest--;
}
-buildUnnamed2771() {
+buildUnnamed2775() {
var o = new core.List<api.SpeechRecognitionResult>();
o.add(buildSpeechRecognitionResult());
o.add(buildSpeechRecognitionResult());
return o;
}
-checkUnnamed2771(core.List<api.SpeechRecognitionResult> o) {
+checkUnnamed2775(core.List<api.SpeechRecognitionResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkSpeechRecognitionResult(o[0]);
checkSpeechRecognitionResult(o[1]);
@@ -398,7 +398,7 @@
var o = new api.RecognizeResponse();
buildCounterRecognizeResponse++;
if (buildCounterRecognizeResponse < 3) {
- o.results = buildUnnamed2771();
+ o.results = buildUnnamed2775();
}
buildCounterRecognizeResponse--;
return o;
@@ -407,7 +407,7 @@
checkRecognizeResponse(api.RecognizeResponse o) {
buildCounterRecognizeResponse++;
if (buildCounterRecognizeResponse < 3) {
- checkUnnamed2771(o.results);
+ checkUnnamed2775(o.results);
}
buildCounterRecognizeResponse--;
}
@@ -437,14 +437,14 @@
buildCounterSpeakerDiarizationConfig--;
}
-buildUnnamed2772() {
+buildUnnamed2776() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2772(core.List<core.String> o) {
+checkUnnamed2776(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -455,7 +455,7 @@
var o = new api.SpeechContext();
buildCounterSpeechContext++;
if (buildCounterSpeechContext < 3) {
- o.phrases = buildUnnamed2772();
+ o.phrases = buildUnnamed2776();
}
buildCounterSpeechContext--;
return o;
@@ -464,19 +464,19 @@
checkSpeechContext(api.SpeechContext o) {
buildCounterSpeechContext++;
if (buildCounterSpeechContext < 3) {
- checkUnnamed2772(o.phrases);
+ checkUnnamed2776(o.phrases);
}
buildCounterSpeechContext--;
}
-buildUnnamed2773() {
+buildUnnamed2777() {
var o = new core.List<api.WordInfo>();
o.add(buildWordInfo());
o.add(buildWordInfo());
return o;
}
-checkUnnamed2773(core.List<api.WordInfo> o) {
+checkUnnamed2777(core.List<api.WordInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkWordInfo(o[0]);
checkWordInfo(o[1]);
@@ -489,7 +489,7 @@
if (buildCounterSpeechRecognitionAlternative < 3) {
o.confidence = 42.0;
o.transcript = "foo";
- o.words = buildUnnamed2773();
+ o.words = buildUnnamed2777();
}
buildCounterSpeechRecognitionAlternative--;
return o;
@@ -500,19 +500,19 @@
if (buildCounterSpeechRecognitionAlternative < 3) {
unittest.expect(o.confidence, unittest.equals(42.0));
unittest.expect(o.transcript, unittest.equals('foo'));
- checkUnnamed2773(o.words);
+ checkUnnamed2777(o.words);
}
buildCounterSpeechRecognitionAlternative--;
}
-buildUnnamed2774() {
+buildUnnamed2778() {
var o = new core.List<api.SpeechRecognitionAlternative>();
o.add(buildSpeechRecognitionAlternative());
o.add(buildSpeechRecognitionAlternative());
return o;
}
-checkUnnamed2774(core.List<api.SpeechRecognitionAlternative> o) {
+checkUnnamed2778(core.List<api.SpeechRecognitionAlternative> o) {
unittest.expect(o, unittest.hasLength(2));
checkSpeechRecognitionAlternative(o[0]);
checkSpeechRecognitionAlternative(o[1]);
@@ -523,7 +523,7 @@
var o = new api.SpeechRecognitionResult();
buildCounterSpeechRecognitionResult++;
if (buildCounterSpeechRecognitionResult < 3) {
- o.alternatives = buildUnnamed2774();
+ o.alternatives = buildUnnamed2778();
o.channelTag = 42;
}
buildCounterSpeechRecognitionResult--;
@@ -533,13 +533,13 @@
checkSpeechRecognitionResult(api.SpeechRecognitionResult o) {
buildCounterSpeechRecognitionResult++;
if (buildCounterSpeechRecognitionResult < 3) {
- checkUnnamed2774(o.alternatives);
+ checkUnnamed2778(o.alternatives);
unittest.expect(o.channelTag, unittest.equals(42));
}
buildCounterSpeechRecognitionResult--;
}
-buildUnnamed2775() {
+buildUnnamed2779() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -554,7 +554,7 @@
return o;
}
-checkUnnamed2775(core.Map<core.String, core.Object> o) {
+checkUnnamed2779(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted5 = (o["x"]) as core.Map;
unittest.expect(casted5, unittest.hasLength(3));
@@ -568,17 +568,17 @@
unittest.expect(casted6["string"], unittest.equals('foo'));
}
-buildUnnamed2776() {
+buildUnnamed2780() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed2775());
- o.add(buildUnnamed2775());
+ o.add(buildUnnamed2779());
+ o.add(buildUnnamed2779());
return o;
}
-checkUnnamed2776(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed2780(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2775(o[0]);
- checkUnnamed2775(o[1]);
+ checkUnnamed2779(o[0]);
+ checkUnnamed2779(o[1]);
}
core.int buildCounterStatus = 0;
@@ -587,7 +587,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed2776();
+ o.details = buildUnnamed2780();
o.message = "foo";
}
buildCounterStatus--;
@@ -598,7 +598,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed2776(o.details);
+ checkUnnamed2780(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
@@ -813,10 +813,10 @@
unittest.test("method--list", () {
var mock = new HttpServerMock();
api.OperationsResourceApi res = new api.SpeechApi(mock).operations;
+ var arg_name = "foo";
var arg_filter = "foo";
var arg_pageSize = 42;
var arg_pageToken = "foo";
- var arg_name = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -848,12 +848,12 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["name"].first, unittest.equals(arg_name));
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["name"].first, unittest.equals(arg_name));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -864,10 +864,10 @@
}), true);
res
.list(
+ name: arg_name,
filter: arg_filter,
pageSize: arg_pageSize,
pageToken: arg_pageToken,
- name: arg_name,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListOperationsResponse(response);
@@ -933,9 +933,9 @@
api.ProjectsLocationsOperationsResourceApi res =
new api.SpeechApi(mock).projects.locations.operations;
var arg_name = "foo";
- var arg_pageToken = "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;
@@ -968,11 +968,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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 = {
@@ -983,9 +983,9 @@
}), true);
res
.list(arg_name,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
filter: arg_filter,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListOperationsResponse(response);
diff --git a/generated/googleapis/test/storage/v1_test.dart b/generated/googleapis/test/storage/v1_test.dart
index b31cac3..7528170 100644
--- a/generated/googleapis/test/storage/v1_test.dart
+++ b/generated/googleapis/test/storage/v1_test.dart
@@ -50,14 +50,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed5839() {
+buildUnnamed5815() {
var o = new core.List<api.BucketAccessControl>();
o.add(buildBucketAccessControl());
o.add(buildBucketAccessControl());
return o;
}
-checkUnnamed5839(core.List<api.BucketAccessControl> o) {
+checkUnnamed5815(core.List<api.BucketAccessControl> o) {
unittest.expect(o, unittest.hasLength(2));
checkBucketAccessControl(o[0]);
checkBucketAccessControl(o[1]);
@@ -82,40 +82,40 @@
buildCounterBucketBilling--;
}
-buildUnnamed5840() {
+buildUnnamed5816() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5840(core.List<core.String> o) {
+checkUnnamed5816(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed5841() {
+buildUnnamed5817() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5841(core.List<core.String> o) {
+checkUnnamed5817(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed5842() {
+buildUnnamed5818() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5842(core.List<core.String> o) {
+checkUnnamed5818(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -127,9 +127,9 @@
buildCounterBucketCors++;
if (buildCounterBucketCors < 3) {
o.maxAgeSeconds = 42;
- o.method = buildUnnamed5840();
- o.origin = buildUnnamed5841();
- o.responseHeader = buildUnnamed5842();
+ o.method = buildUnnamed5816();
+ o.origin = buildUnnamed5817();
+ o.responseHeader = buildUnnamed5818();
}
buildCounterBucketCors--;
return o;
@@ -139,34 +139,34 @@
buildCounterBucketCors++;
if (buildCounterBucketCors < 3) {
unittest.expect(o.maxAgeSeconds, unittest.equals(42));
- checkUnnamed5840(o.method);
- checkUnnamed5841(o.origin);
- checkUnnamed5842(o.responseHeader);
+ checkUnnamed5816(o.method);
+ checkUnnamed5817(o.origin);
+ checkUnnamed5818(o.responseHeader);
}
buildCounterBucketCors--;
}
-buildUnnamed5843() {
+buildUnnamed5819() {
var o = new core.List<api.BucketCors>();
o.add(buildBucketCors());
o.add(buildBucketCors());
return o;
}
-checkUnnamed5843(core.List<api.BucketCors> o) {
+checkUnnamed5819(core.List<api.BucketCors> o) {
unittest.expect(o, unittest.hasLength(2));
checkBucketCors(o[0]);
checkBucketCors(o[1]);
}
-buildUnnamed5844() {
+buildUnnamed5820() {
var o = new core.List<api.ObjectAccessControl>();
o.add(buildObjectAccessControl());
o.add(buildObjectAccessControl());
return o;
}
-checkUnnamed5844(core.List<api.ObjectAccessControl> o) {
+checkUnnamed5820(core.List<api.ObjectAccessControl> o) {
unittest.expect(o, unittest.hasLength(2));
checkObjectAccessControl(o[0]);
checkObjectAccessControl(o[1]);
@@ -260,14 +260,14 @@
buildCounterBucketIamConfiguration--;
}
-buildUnnamed5845() {
+buildUnnamed5821() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed5845(core.Map<core.String, core.String> o) {
+checkUnnamed5821(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -294,14 +294,14 @@
buildCounterBucketLifecycleRuleAction--;
}
-buildUnnamed5846() {
+buildUnnamed5822() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5846(core.List<core.String> o) {
+checkUnnamed5822(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -319,7 +319,7 @@
o.daysSinceNoncurrentTime = 42;
o.isLive = true;
o.matchesPattern = "foo";
- o.matchesStorageClass = buildUnnamed5846();
+ o.matchesStorageClass = buildUnnamed5822();
o.noncurrentTimeBefore = core.DateTime.parse("2002-02-27T14:01:02Z");
o.numNewerVersions = 42;
}
@@ -339,7 +339,7 @@
unittest.expect(o.daysSinceNoncurrentTime, unittest.equals(42));
unittest.expect(o.isLive, unittest.isTrue);
unittest.expect(o.matchesPattern, unittest.equals('foo'));
- checkUnnamed5846(o.matchesStorageClass);
+ checkUnnamed5822(o.matchesStorageClass);
unittest.expect(o.noncurrentTimeBefore,
unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
unittest.expect(o.numNewerVersions, unittest.equals(42));
@@ -368,14 +368,14 @@
buildCounterBucketLifecycleRule--;
}
-buildUnnamed5847() {
+buildUnnamed5823() {
var o = new core.List<api.BucketLifecycleRule>();
o.add(buildBucketLifecycleRule());
o.add(buildBucketLifecycleRule());
return o;
}
-checkUnnamed5847(core.List<api.BucketLifecycleRule> o) {
+checkUnnamed5823(core.List<api.BucketLifecycleRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkBucketLifecycleRule(o[0]);
checkBucketLifecycleRule(o[1]);
@@ -386,7 +386,7 @@
var o = new api.BucketLifecycle();
buildCounterBucketLifecycle++;
if (buildCounterBucketLifecycle < 3) {
- o.rule = buildUnnamed5847();
+ o.rule = buildUnnamed5823();
}
buildCounterBucketLifecycle--;
return o;
@@ -395,7 +395,7 @@
checkBucketLifecycle(api.BucketLifecycle o) {
buildCounterBucketLifecycle++;
if (buildCounterBucketLifecycle < 3) {
- checkUnnamed5847(o.rule);
+ checkUnnamed5823(o.rule);
}
buildCounterBucketLifecycle--;
}
@@ -506,14 +506,14 @@
buildCounterBucketWebsite--;
}
-buildUnnamed5848() {
+buildUnnamed5824() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5848(core.List<core.String> o) {
+checkUnnamed5824(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -524,17 +524,17 @@
var o = new api.Bucket();
buildCounterBucket++;
if (buildCounterBucket < 3) {
- o.acl = buildUnnamed5839();
+ o.acl = buildUnnamed5815();
o.billing = buildBucketBilling();
- o.cors = buildUnnamed5843();
+ o.cors = buildUnnamed5819();
o.defaultEventBasedHold = true;
- o.defaultObjectAcl = buildUnnamed5844();
+ o.defaultObjectAcl = buildUnnamed5820();
o.encryption = buildBucketEncryption();
o.etag = "foo";
o.iamConfiguration = buildBucketIamConfiguration();
o.id = "foo";
o.kind = "foo";
- o.labels = buildUnnamed5845();
+ o.labels = buildUnnamed5821();
o.lifecycle = buildBucketLifecycle();
o.location = "foo";
o.locationType = "foo";
@@ -550,7 +550,7 @@
o.updated = core.DateTime.parse("2002-02-27T14:01:02");
o.versioning = buildBucketVersioning();
o.website = buildBucketWebsite();
- o.zoneAffinity = buildUnnamed5848();
+ o.zoneAffinity = buildUnnamed5824();
}
buildCounterBucket--;
return o;
@@ -559,17 +559,17 @@
checkBucket(api.Bucket o) {
buildCounterBucket++;
if (buildCounterBucket < 3) {
- checkUnnamed5839(o.acl);
+ checkUnnamed5815(o.acl);
checkBucketBilling(o.billing);
- checkUnnamed5843(o.cors);
+ checkUnnamed5819(o.cors);
unittest.expect(o.defaultEventBasedHold, unittest.isTrue);
- checkUnnamed5844(o.defaultObjectAcl);
+ checkUnnamed5820(o.defaultObjectAcl);
checkBucketEncryption(o.encryption);
unittest.expect(o.etag, unittest.equals('foo'));
checkBucketIamConfiguration(o.iamConfiguration);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed5845(o.labels);
+ checkUnnamed5821(o.labels);
checkBucketLifecycle(o.lifecycle);
unittest.expect(o.location, unittest.equals('foo'));
unittest.expect(o.locationType, unittest.equals('foo'));
@@ -587,7 +587,7 @@
o.updated, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
checkBucketVersioning(o.versioning);
checkBucketWebsite(o.website);
- checkUnnamed5848(o.zoneAffinity);
+ checkUnnamed5824(o.zoneAffinity);
}
buildCounterBucket--;
}
@@ -652,14 +652,14 @@
buildCounterBucketAccessControl--;
}
-buildUnnamed5849() {
+buildUnnamed5825() {
var o = new core.List<api.BucketAccessControl>();
o.add(buildBucketAccessControl());
o.add(buildBucketAccessControl());
return o;
}
-checkUnnamed5849(core.List<api.BucketAccessControl> o) {
+checkUnnamed5825(core.List<api.BucketAccessControl> o) {
unittest.expect(o, unittest.hasLength(2));
checkBucketAccessControl(o[0]);
checkBucketAccessControl(o[1]);
@@ -670,7 +670,7 @@
var o = new api.BucketAccessControls();
buildCounterBucketAccessControls++;
if (buildCounterBucketAccessControls < 3) {
- o.items = buildUnnamed5849();
+ o.items = buildUnnamed5825();
o.kind = "foo";
}
buildCounterBucketAccessControls--;
@@ -680,20 +680,20 @@
checkBucketAccessControls(api.BucketAccessControls o) {
buildCounterBucketAccessControls++;
if (buildCounterBucketAccessControls < 3) {
- checkUnnamed5849(o.items);
+ checkUnnamed5825(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterBucketAccessControls--;
}
-buildUnnamed5850() {
+buildUnnamed5826() {
var o = new core.List<api.Bucket>();
o.add(buildBucket());
o.add(buildBucket());
return o;
}
-checkUnnamed5850(core.List<api.Bucket> o) {
+checkUnnamed5826(core.List<api.Bucket> o) {
unittest.expect(o, unittest.hasLength(2));
checkBucket(o[0]);
checkBucket(o[1]);
@@ -704,7 +704,7 @@
var o = new api.Buckets();
buildCounterBuckets++;
if (buildCounterBuckets < 3) {
- o.items = buildUnnamed5850();
+ o.items = buildUnnamed5826();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -715,21 +715,21 @@
checkBuckets(api.Buckets o) {
buildCounterBuckets++;
if (buildCounterBuckets < 3) {
- checkUnnamed5850(o.items);
+ checkUnnamed5826(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterBuckets--;
}
-buildUnnamed5851() {
+buildUnnamed5827() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed5851(core.Map<core.String, core.String> o) {
+checkUnnamed5827(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -744,7 +744,7 @@
o.expiration = "foo";
o.id = "foo";
o.kind = "foo";
- o.params = buildUnnamed5851();
+ o.params = buildUnnamed5827();
o.payload = true;
o.resourceId = "foo";
o.resourceUri = "foo";
@@ -762,7 +762,7 @@
unittest.expect(o.expiration, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed5851(o.params);
+ checkUnnamed5827(o.params);
unittest.expect(o.payload, unittest.isTrue);
unittest.expect(o.resourceId, unittest.equals('foo'));
unittest.expect(o.resourceUri, unittest.equals('foo'));
@@ -816,14 +816,14 @@
buildCounterComposeRequestSourceObjects--;
}
-buildUnnamed5852() {
+buildUnnamed5828() {
var o = new core.List<api.ComposeRequestSourceObjects>();
o.add(buildComposeRequestSourceObjects());
o.add(buildComposeRequestSourceObjects());
return o;
}
-checkUnnamed5852(core.List<api.ComposeRequestSourceObjects> o) {
+checkUnnamed5828(core.List<api.ComposeRequestSourceObjects> o) {
unittest.expect(o, unittest.hasLength(2));
checkComposeRequestSourceObjects(o[0]);
checkComposeRequestSourceObjects(o[1]);
@@ -836,7 +836,7 @@
if (buildCounterComposeRequest < 3) {
o.destination = buildObject();
o.kind = "foo";
- o.sourceObjects = buildUnnamed5852();
+ o.sourceObjects = buildUnnamed5828();
}
buildCounterComposeRequest--;
return o;
@@ -847,7 +847,7 @@
if (buildCounterComposeRequest < 3) {
checkObject(o.destination);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed5852(o.sourceObjects);
+ checkUnnamed5828(o.sourceObjects);
}
buildCounterComposeRequest--;
}
@@ -939,14 +939,14 @@
buildCounterHmacKeyMetadata--;
}
-buildUnnamed5853() {
+buildUnnamed5829() {
var o = new core.List<api.HmacKeyMetadata>();
o.add(buildHmacKeyMetadata());
o.add(buildHmacKeyMetadata());
return o;
}
-checkUnnamed5853(core.List<api.HmacKeyMetadata> o) {
+checkUnnamed5829(core.List<api.HmacKeyMetadata> o) {
unittest.expect(o, unittest.hasLength(2));
checkHmacKeyMetadata(o[0]);
checkHmacKeyMetadata(o[1]);
@@ -957,7 +957,7 @@
var o = new api.HmacKeysMetadata();
buildCounterHmacKeysMetadata++;
if (buildCounterHmacKeysMetadata < 3) {
- o.items = buildUnnamed5853();
+ o.items = buildUnnamed5829();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -968,34 +968,34 @@
checkHmacKeysMetadata(api.HmacKeysMetadata o) {
buildCounterHmacKeysMetadata++;
if (buildCounterHmacKeysMetadata < 3) {
- checkUnnamed5853(o.items);
+ checkUnnamed5829(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterHmacKeysMetadata--;
}
-buildUnnamed5854() {
+buildUnnamed5830() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed5854(core.Map<core.String, core.String> o) {
+checkUnnamed5830(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed5855() {
+buildUnnamed5831() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5855(core.List<core.String> o) {
+checkUnnamed5831(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1006,9 +1006,9 @@
var o = new api.Notification();
buildCounterNotification++;
if (buildCounterNotification < 3) {
- o.customAttributes = buildUnnamed5854();
+ o.customAttributes = buildUnnamed5830();
o.etag = "foo";
- o.eventTypes = buildUnnamed5855();
+ o.eventTypes = buildUnnamed5831();
o.id = "foo";
o.kind = "foo";
o.objectNamePrefix = "foo";
@@ -1023,9 +1023,9 @@
checkNotification(api.Notification o) {
buildCounterNotification++;
if (buildCounterNotification < 3) {
- checkUnnamed5854(o.customAttributes);
+ checkUnnamed5830(o.customAttributes);
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed5855(o.eventTypes);
+ checkUnnamed5831(o.eventTypes);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.objectNamePrefix, unittest.equals('foo'));
@@ -1036,14 +1036,14 @@
buildCounterNotification--;
}
-buildUnnamed5856() {
+buildUnnamed5832() {
var o = new core.List<api.Notification>();
o.add(buildNotification());
o.add(buildNotification());
return o;
}
-checkUnnamed5856(core.List<api.Notification> o) {
+checkUnnamed5832(core.List<api.Notification> o) {
unittest.expect(o, unittest.hasLength(2));
checkNotification(o[0]);
checkNotification(o[1]);
@@ -1054,7 +1054,7 @@
var o = new api.Notifications();
buildCounterNotifications++;
if (buildCounterNotifications < 3) {
- o.items = buildUnnamed5856();
+ o.items = buildUnnamed5832();
o.kind = "foo";
}
buildCounterNotifications--;
@@ -1064,20 +1064,20 @@
checkNotifications(api.Notifications o) {
buildCounterNotifications++;
if (buildCounterNotifications < 3) {
- checkUnnamed5856(o.items);
+ checkUnnamed5832(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterNotifications--;
}
-buildUnnamed5857() {
+buildUnnamed5833() {
var o = new core.List<api.ObjectAccessControl>();
o.add(buildObjectAccessControl());
o.add(buildObjectAccessControl());
return o;
}
-checkUnnamed5857(core.List<api.ObjectAccessControl> o) {
+checkUnnamed5833(core.List<api.ObjectAccessControl> o) {
unittest.expect(o, unittest.hasLength(2));
checkObjectAccessControl(o[0]);
checkObjectAccessControl(o[1]);
@@ -1104,14 +1104,14 @@
buildCounterObjectCustomerEncryption--;
}
-buildUnnamed5858() {
+buildUnnamed5834() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed5858(core.Map<core.String, core.String> o) {
+checkUnnamed5834(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -1143,7 +1143,7 @@
var o = new api.Object();
buildCounterObject++;
if (buildCounterObject < 3) {
- o.acl = buildUnnamed5857();
+ o.acl = buildUnnamed5833();
o.bucket = "foo";
o.cacheControl = "foo";
o.componentCount = 42;
@@ -1162,7 +1162,7 @@
o.kmsKeyName = "foo";
o.md5Hash = "foo";
o.mediaLink = "foo";
- o.metadata = buildUnnamed5858();
+ o.metadata = buildUnnamed5834();
o.metageneration = "foo";
o.name = "foo";
o.owner = buildObjectOwner();
@@ -1183,7 +1183,7 @@
checkObject(api.Object o) {
buildCounterObject++;
if (buildCounterObject < 3) {
- checkUnnamed5857(o.acl);
+ checkUnnamed5833(o.acl);
unittest.expect(o.bucket, unittest.equals('foo'));
unittest.expect(o.cacheControl, unittest.equals('foo'));
unittest.expect(o.componentCount, unittest.equals(42));
@@ -1203,7 +1203,7 @@
unittest.expect(o.kmsKeyName, unittest.equals('foo'));
unittest.expect(o.md5Hash, unittest.equals('foo'));
unittest.expect(o.mediaLink, unittest.equals('foo'));
- checkUnnamed5858(o.metadata);
+ checkUnnamed5834(o.metadata);
unittest.expect(o.metageneration, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
checkObjectOwner(o.owner);
@@ -1289,14 +1289,14 @@
buildCounterObjectAccessControl--;
}
-buildUnnamed5859() {
+buildUnnamed5835() {
var o = new core.List<api.ObjectAccessControl>();
o.add(buildObjectAccessControl());
o.add(buildObjectAccessControl());
return o;
}
-checkUnnamed5859(core.List<api.ObjectAccessControl> o) {
+checkUnnamed5835(core.List<api.ObjectAccessControl> o) {
unittest.expect(o, unittest.hasLength(2));
checkObjectAccessControl(o[0]);
checkObjectAccessControl(o[1]);
@@ -1307,7 +1307,7 @@
var o = new api.ObjectAccessControls();
buildCounterObjectAccessControls++;
if (buildCounterObjectAccessControls < 3) {
- o.items = buildUnnamed5859();
+ o.items = buildUnnamed5835();
o.kind = "foo";
}
buildCounterObjectAccessControls--;
@@ -1317,33 +1317,33 @@
checkObjectAccessControls(api.ObjectAccessControls o) {
buildCounterObjectAccessControls++;
if (buildCounterObjectAccessControls < 3) {
- checkUnnamed5859(o.items);
+ checkUnnamed5835(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterObjectAccessControls--;
}
-buildUnnamed5860() {
+buildUnnamed5836() {
var o = new core.List<api.Object>();
o.add(buildObject());
o.add(buildObject());
return o;
}
-checkUnnamed5860(core.List<api.Object> o) {
+checkUnnamed5836(core.List<api.Object> o) {
unittest.expect(o, unittest.hasLength(2));
checkObject(o[0]);
checkObject(o[1]);
}
-buildUnnamed5861() {
+buildUnnamed5837() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5861(core.List<core.String> o) {
+checkUnnamed5837(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1354,10 +1354,10 @@
var o = new api.Objects();
buildCounterObjects++;
if (buildCounterObjects < 3) {
- o.items = buildUnnamed5860();
+ o.items = buildUnnamed5836();
o.kind = "foo";
o.nextPageToken = "foo";
- o.prefixes = buildUnnamed5861();
+ o.prefixes = buildUnnamed5837();
}
buildCounterObjects--;
return o;
@@ -1366,22 +1366,22 @@
checkObjects(api.Objects o) {
buildCounterObjects++;
if (buildCounterObjects < 3) {
- checkUnnamed5860(o.items);
+ checkUnnamed5836(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed5861(o.prefixes);
+ checkUnnamed5837(o.prefixes);
}
buildCounterObjects--;
}
-buildUnnamed5862() {
+buildUnnamed5838() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5862(core.List<core.String> o) {
+checkUnnamed5838(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1393,7 +1393,7 @@
buildCounterPolicyBindings++;
if (buildCounterPolicyBindings < 3) {
o.condition = buildExpr();
- o.members = buildUnnamed5862();
+ o.members = buildUnnamed5838();
o.role = "foo";
}
buildCounterPolicyBindings--;
@@ -1404,20 +1404,20 @@
buildCounterPolicyBindings++;
if (buildCounterPolicyBindings < 3) {
checkExpr(o.condition);
- checkUnnamed5862(o.members);
+ checkUnnamed5838(o.members);
unittest.expect(o.role, unittest.equals('foo'));
}
buildCounterPolicyBindings--;
}
-buildUnnamed5863() {
+buildUnnamed5839() {
var o = new core.List<api.PolicyBindings>();
o.add(buildPolicyBindings());
o.add(buildPolicyBindings());
return o;
}
-checkUnnamed5863(core.List<api.PolicyBindings> o) {
+checkUnnamed5839(core.List<api.PolicyBindings> o) {
unittest.expect(o, unittest.hasLength(2));
checkPolicyBindings(o[0]);
checkPolicyBindings(o[1]);
@@ -1428,7 +1428,7 @@
var o = new api.Policy();
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- o.bindings = buildUnnamed5863();
+ o.bindings = buildUnnamed5839();
o.etag = "foo";
o.kind = "foo";
o.resourceId = "foo";
@@ -1441,7 +1441,7 @@
checkPolicy(api.Policy o) {
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- checkUnnamed5863(o.bindings);
+ checkUnnamed5839(o.bindings);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.resourceId, unittest.equals('foo'));
@@ -1500,14 +1500,14 @@
buildCounterServiceAccount--;
}
-buildUnnamed5864() {
+buildUnnamed5840() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5864(core.List<core.String> o) {
+checkUnnamed5840(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1519,7 +1519,7 @@
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
o.kind = "foo";
- o.permissions = buildUnnamed5864();
+ o.permissions = buildUnnamed5840();
}
buildCounterTestIamPermissionsResponse--;
return o;
@@ -1529,32 +1529,32 @@
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed5864(o.permissions);
+ checkUnnamed5840(o.permissions);
}
buildCounterTestIamPermissionsResponse--;
}
-buildUnnamed5865() {
+buildUnnamed5841() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5865(core.List<core.String> o) {
+checkUnnamed5841(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed5866() {
+buildUnnamed5842() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5866(core.List<core.String> o) {
+checkUnnamed5842(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2988,7 +2988,7 @@
var mock = new HttpServerMock();
api.BucketsResourceApi res = new api.StorageApi(mock).buckets;
var arg_bucket = "foo";
- var arg_permissions = buildUnnamed5865();
+ var arg_permissions = buildUnnamed5841();
var arg_provisionalUserProject = "foo";
var arg_userProject = "foo";
var arg_$fields = "foo";
@@ -5620,7 +5620,7 @@
api.ObjectsResourceApi res = new api.StorageApi(mock).objects;
var arg_bucket = "foo";
var arg_object = "foo";
- var arg_permissions = buildUnnamed5866();
+ var arg_permissions = buildUnnamed5842();
var arg_generation = "foo";
var arg_provisionalUserProject = "foo";
var arg_userProject = "foo";
diff --git a/generated/googleapis/test/storagetransfer/v1_test.dart b/generated/googleapis/test/storagetransfer/v1_test.dart
index 7f284ae..e552e52 100644
--- a/generated/googleapis/test/storagetransfer/v1_test.dart
+++ b/generated/googleapis/test/storagetransfer/v1_test.dart
@@ -134,6 +134,21 @@
buildCounterAzureCredentials--;
}
+core.int buildCounterCancelOperationRequest = 0;
+buildCancelOperationRequest() {
+ var o = new api.CancelOperationRequest();
+ buildCounterCancelOperationRequest++;
+ if (buildCounterCancelOperationRequest < 3) {}
+ buildCounterCancelOperationRequest--;
+ return o;
+}
+
+checkCancelOperationRequest(api.CancelOperationRequest o) {
+ buildCounterCancelOperationRequest++;
+ if (buildCounterCancelOperationRequest < 3) {}
+ buildCounterCancelOperationRequest--;
+}
+
core.int buildCounterDate = 0;
buildDate() {
var o = new api.Date();
@@ -172,14 +187,14 @@
buildCounterEmpty--;
}
-buildUnnamed1447() {
+buildUnnamed1448() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1447(core.List<core.String> o) {
+checkUnnamed1448(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -190,7 +205,7 @@
var o = new api.ErrorLogEntry();
buildCounterErrorLogEntry++;
if (buildCounterErrorLogEntry < 3) {
- o.errorDetails = buildUnnamed1447();
+ o.errorDetails = buildUnnamed1448();
o.url = "foo";
}
buildCounterErrorLogEntry--;
@@ -200,20 +215,20 @@
checkErrorLogEntry(api.ErrorLogEntry o) {
buildCounterErrorLogEntry++;
if (buildCounterErrorLogEntry < 3) {
- checkUnnamed1447(o.errorDetails);
+ checkUnnamed1448(o.errorDetails);
unittest.expect(o.url, unittest.equals('foo'));
}
buildCounterErrorLogEntry--;
}
-buildUnnamed1448() {
+buildUnnamed1449() {
var o = new core.List<api.ErrorLogEntry>();
o.add(buildErrorLogEntry());
o.add(buildErrorLogEntry());
return o;
}
-checkUnnamed1448(core.List<api.ErrorLogEntry> o) {
+checkUnnamed1449(core.List<api.ErrorLogEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkErrorLogEntry(o[0]);
checkErrorLogEntry(o[1]);
@@ -226,7 +241,7 @@
if (buildCounterErrorSummary < 3) {
o.errorCode = "foo";
o.errorCount = "foo";
- o.errorLogEntries = buildUnnamed1448();
+ o.errorLogEntries = buildUnnamed1449();
}
buildCounterErrorSummary--;
return o;
@@ -237,7 +252,7 @@
if (buildCounterErrorSummary < 3) {
unittest.expect(o.errorCode, unittest.equals('foo'));
unittest.expect(o.errorCount, unittest.equals('foo'));
- checkUnnamed1448(o.errorLogEntries);
+ checkUnnamed1449(o.errorLogEntries);
}
buildCounterErrorSummary--;
}
@@ -299,14 +314,14 @@
buildCounterHttpData--;
}
-buildUnnamed1449() {
+buildUnnamed1450() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed1449(core.List<api.Operation> o) {
+checkUnnamed1450(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -318,7 +333,7 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
o.nextPageToken = "foo";
- o.operations = buildUnnamed1449();
+ o.operations = buildUnnamed1450();
}
buildCounterListOperationsResponse--;
return o;
@@ -328,19 +343,19 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1449(o.operations);
+ checkUnnamed1450(o.operations);
}
buildCounterListOperationsResponse--;
}
-buildUnnamed1450() {
+buildUnnamed1451() {
var o = new core.List<api.TransferJob>();
o.add(buildTransferJob());
o.add(buildTransferJob());
return o;
}
-checkUnnamed1450(core.List<api.TransferJob> o) {
+checkUnnamed1451(core.List<api.TransferJob> o) {
unittest.expect(o, unittest.hasLength(2));
checkTransferJob(o[0]);
checkTransferJob(o[1]);
@@ -352,7 +367,7 @@
buildCounterListTransferJobsResponse++;
if (buildCounterListTransferJobsResponse < 3) {
o.nextPageToken = "foo";
- o.transferJobs = buildUnnamed1450();
+ o.transferJobs = buildUnnamed1451();
}
buildCounterListTransferJobsResponse--;
return o;
@@ -362,47 +377,11 @@
buildCounterListTransferJobsResponse++;
if (buildCounterListTransferJobsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1450(o.transferJobs);
+ checkUnnamed1451(o.transferJobs);
}
buildCounterListTransferJobsResponse--;
}
-buildUnnamed1451() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1451(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-core.int buildCounterNotificationConfig = 0;
-buildNotificationConfig() {
- var o = new api.NotificationConfig();
- buildCounterNotificationConfig++;
- if (buildCounterNotificationConfig < 3) {
- o.eventTypes = buildUnnamed1451();
- o.payloadFormat = "foo";
- o.pubsubTopic = "foo";
- }
- buildCounterNotificationConfig--;
- return o;
-}
-
-checkNotificationConfig(api.NotificationConfig o) {
- buildCounterNotificationConfig++;
- if (buildCounterNotificationConfig < 3) {
- checkUnnamed1451(o.eventTypes);
- unittest.expect(o.payloadFormat, unittest.equals('foo'));
- unittest.expect(o.pubsubTopic, unittest.equals('foo'));
- }
- buildCounterNotificationConfig--;
-}
-
buildUnnamed1452() {
var o = new core.List<core.String>();
o.add("foo");
@@ -416,6 +395,29 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+core.int buildCounterNotificationConfig = 0;
+buildNotificationConfig() {
+ var o = new api.NotificationConfig();
+ buildCounterNotificationConfig++;
+ if (buildCounterNotificationConfig < 3) {
+ o.eventTypes = buildUnnamed1452();
+ o.payloadFormat = "foo";
+ o.pubsubTopic = "foo";
+ }
+ buildCounterNotificationConfig--;
+ return o;
+}
+
+checkNotificationConfig(api.NotificationConfig o) {
+ buildCounterNotificationConfig++;
+ if (buildCounterNotificationConfig < 3) {
+ checkUnnamed1452(o.eventTypes);
+ unittest.expect(o.payloadFormat, unittest.equals('foo'));
+ unittest.expect(o.pubsubTopic, unittest.equals('foo'));
+ }
+ buildCounterNotificationConfig--;
+}
+
buildUnnamed1453() {
var o = new core.List<core.String>();
o.add("foo");
@@ -429,13 +431,26 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed1454() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1454(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
core.int buildCounterObjectConditions = 0;
buildObjectConditions() {
var o = new api.ObjectConditions();
buildCounterObjectConditions++;
if (buildCounterObjectConditions < 3) {
- o.excludePrefixes = buildUnnamed1452();
- o.includePrefixes = buildUnnamed1453();
+ o.excludePrefixes = buildUnnamed1453();
+ o.includePrefixes = buildUnnamed1454();
o.lastModifiedBefore = "foo";
o.lastModifiedSince = "foo";
o.maxTimeElapsedSinceLastModification = "foo";
@@ -448,8 +463,8 @@
checkObjectConditions(api.ObjectConditions o) {
buildCounterObjectConditions++;
if (buildCounterObjectConditions < 3) {
- checkUnnamed1452(o.excludePrefixes);
- checkUnnamed1453(o.includePrefixes);
+ checkUnnamed1453(o.excludePrefixes);
+ checkUnnamed1454(o.includePrefixes);
unittest.expect(o.lastModifiedBefore, unittest.equals('foo'));
unittest.expect(o.lastModifiedSince, unittest.equals('foo'));
unittest.expect(
@@ -460,35 +475,6 @@
buildCounterObjectConditions--;
}
-buildUnnamed1454() {
- var o = new core.Map<core.String, core.Object>();
- o["x"] = {
- 'list': [1, 2, 3],
- 'bool': true,
- 'string': 'foo'
- };
- o["y"] = {
- 'list': [1, 2, 3],
- 'bool': true,
- 'string': 'foo'
- };
- return o;
-}
-
-checkUnnamed1454(core.Map<core.String, core.Object> o) {
- unittest.expect(o, unittest.hasLength(2));
- var casted1 = (o["x"]) as core.Map;
- unittest.expect(casted1, unittest.hasLength(3));
- unittest.expect(casted1["list"], unittest.equals([1, 2, 3]));
- unittest.expect(casted1["bool"], unittest.equals(true));
- unittest.expect(casted1["string"], unittest.equals('foo'));
- var casted2 = (o["y"]) as core.Map;
- unittest.expect(casted2, unittest.hasLength(3));
- unittest.expect(casted2["list"], unittest.equals([1, 2, 3]));
- unittest.expect(casted2["bool"], unittest.equals(true));
- unittest.expect(casted2["string"], unittest.equals('foo'));
-}
-
buildUnnamed1455() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
@@ -506,6 +492,35 @@
checkUnnamed1455(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
+ var casted1 = (o["x"]) as core.Map;
+ unittest.expect(casted1, unittest.hasLength(3));
+ unittest.expect(casted1["list"], unittest.equals([1, 2, 3]));
+ unittest.expect(casted1["bool"], unittest.equals(true));
+ unittest.expect(casted1["string"], unittest.equals('foo'));
+ var casted2 = (o["y"]) as core.Map;
+ unittest.expect(casted2, unittest.hasLength(3));
+ unittest.expect(casted2["list"], unittest.equals([1, 2, 3]));
+ unittest.expect(casted2["bool"], unittest.equals(true));
+ unittest.expect(casted2["string"], unittest.equals('foo'));
+}
+
+buildUnnamed1456() {
+ var o = new core.Map<core.String, core.Object>();
+ o["x"] = {
+ 'list': [1, 2, 3],
+ 'bool': true,
+ 'string': 'foo'
+ };
+ o["y"] = {
+ 'list': [1, 2, 3],
+ 'bool': true,
+ 'string': 'foo'
+ };
+ return o;
+}
+
+checkUnnamed1456(core.Map<core.String, core.Object> o) {
+ unittest.expect(o, unittest.hasLength(2));
var casted3 = (o["x"]) as core.Map;
unittest.expect(casted3, unittest.hasLength(3));
unittest.expect(casted3["list"], unittest.equals([1, 2, 3]));
@@ -525,9 +540,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed1454();
+ o.metadata = buildUnnamed1455();
o.name = "foo";
- o.response = buildUnnamed1455();
+ o.response = buildUnnamed1456();
}
buildCounterOperation--;
return o;
@@ -538,9 +553,9 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed1454(o.metadata);
+ checkUnnamed1455(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1455(o.response);
+ checkUnnamed1456(o.response);
}
buildCounterOperation--;
}
@@ -598,7 +613,7 @@
buildCounterSchedule--;
}
-buildUnnamed1456() {
+buildUnnamed1457() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -613,7 +628,7 @@
return o;
}
-checkUnnamed1456(core.Map<core.String, core.Object> o) {
+checkUnnamed1457(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted5 = (o["x"]) as core.Map;
unittest.expect(casted5, unittest.hasLength(3));
@@ -627,17 +642,17 @@
unittest.expect(casted6["string"], unittest.equals('foo'));
}
-buildUnnamed1457() {
+buildUnnamed1458() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed1456());
- o.add(buildUnnamed1456());
+ o.add(buildUnnamed1457());
+ o.add(buildUnnamed1457());
return o;
}
-checkUnnamed1457(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed1458(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1456(o[0]);
- checkUnnamed1456(o[1]);
+ checkUnnamed1457(o[0]);
+ checkUnnamed1457(o[1]);
}
core.int buildCounterStatus = 0;
@@ -646,7 +661,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed1457();
+ o.details = buildUnnamed1458();
o.message = "foo";
}
buildCounterStatus--;
@@ -657,7 +672,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed1457(o.details);
+ checkUnnamed1458(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
@@ -774,14 +789,14 @@
buildCounterTransferJob--;
}
-buildUnnamed1458() {
+buildUnnamed1459() {
var o = new core.List<api.ErrorSummary>();
o.add(buildErrorSummary());
o.add(buildErrorSummary());
return o;
}
-checkUnnamed1458(core.List<api.ErrorSummary> o) {
+checkUnnamed1459(core.List<api.ErrorSummary> o) {
unittest.expect(o, unittest.hasLength(2));
checkErrorSummary(o[0]);
checkErrorSummary(o[1]);
@@ -794,7 +809,7 @@
if (buildCounterTransferOperation < 3) {
o.counters = buildTransferCounters();
o.endTime = "foo";
- o.errorBreakdowns = buildUnnamed1458();
+ o.errorBreakdowns = buildUnnamed1459();
o.name = "foo";
o.notificationConfig = buildNotificationConfig();
o.projectId = "foo";
@@ -812,7 +827,7 @@
if (buildCounterTransferOperation < 3) {
checkTransferCounters(o.counters);
unittest.expect(o.endTime, unittest.equals('foo'));
- checkUnnamed1458(o.errorBreakdowns);
+ checkUnnamed1459(o.errorBreakdowns);
unittest.expect(o.name, unittest.equals('foo'));
checkNotificationConfig(o.notificationConfig);
unittest.expect(o.projectId, unittest.equals('foo'));
@@ -934,6 +949,14 @@
});
});
+ unittest.group("obj-schema-CancelOperationRequest", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildCancelOperationRequest();
+ var od = new api.CancelOperationRequest.fromJson(o.toJson());
+ checkCancelOperationRequest(od);
+ });
+ });
+
unittest.group("obj-schema-Date", () {
unittest.test("to-json--from-json", () {
var o = buildDate();
@@ -1408,9 +1431,13 @@
var mock = new HttpServerMock();
api.TransferOperationsResourceApi res =
new api.StoragetransferApi(mock).transferOperations;
+ var arg_request = buildCancelOperationRequest();
var arg_name = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
+ var obj = new api.CancelOperationRequest.fromJson(json);
+ checkCancelOperationRequest(obj);
+
var path = (req.url).path;
var pathOffset = 0;
var index;
@@ -1450,7 +1477,7 @@
return new async.Future.value(stringResponse(200, h, resp));
}), true);
res
- .cancel(arg_name, $fields: arg_$fields)
+ .cancel(arg_request, arg_name, $fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkEmpty(response);
})));
diff --git a/generated/googleapis/test/streetviewpublish/v1_test.dart b/generated/googleapis/test/streetviewpublish/v1_test.dart
index 3b5d2cb..e147be1 100644
--- a/generated/googleapis/test/streetviewpublish/v1_test.dart
+++ b/generated/googleapis/test/streetviewpublish/v1_test.dart
@@ -50,14 +50,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed725() {
+buildUnnamed726() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed725(core.List<core.String> o) {
+checkUnnamed726(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -68,7 +68,7 @@
var o = new api.BatchDeletePhotosRequest();
buildCounterBatchDeletePhotosRequest++;
if (buildCounterBatchDeletePhotosRequest < 3) {
- o.photoIds = buildUnnamed725();
+ o.photoIds = buildUnnamed726();
}
buildCounterBatchDeletePhotosRequest--;
return o;
@@ -77,19 +77,19 @@
checkBatchDeletePhotosRequest(api.BatchDeletePhotosRequest o) {
buildCounterBatchDeletePhotosRequest++;
if (buildCounterBatchDeletePhotosRequest < 3) {
- checkUnnamed725(o.photoIds);
+ checkUnnamed726(o.photoIds);
}
buildCounterBatchDeletePhotosRequest--;
}
-buildUnnamed726() {
+buildUnnamed727() {
var o = new core.List<api.Status>();
o.add(buildStatus());
o.add(buildStatus());
return o;
}
-checkUnnamed726(core.List<api.Status> o) {
+checkUnnamed727(core.List<api.Status> o) {
unittest.expect(o, unittest.hasLength(2));
checkStatus(o[0]);
checkStatus(o[1]);
@@ -100,7 +100,7 @@
var o = new api.BatchDeletePhotosResponse();
buildCounterBatchDeletePhotosResponse++;
if (buildCounterBatchDeletePhotosResponse < 3) {
- o.status = buildUnnamed726();
+ o.status = buildUnnamed727();
}
buildCounterBatchDeletePhotosResponse--;
return o;
@@ -109,19 +109,19 @@
checkBatchDeletePhotosResponse(api.BatchDeletePhotosResponse o) {
buildCounterBatchDeletePhotosResponse++;
if (buildCounterBatchDeletePhotosResponse < 3) {
- checkUnnamed726(o.status);
+ checkUnnamed727(o.status);
}
buildCounterBatchDeletePhotosResponse--;
}
-buildUnnamed727() {
+buildUnnamed728() {
var o = new core.List<api.PhotoResponse>();
o.add(buildPhotoResponse());
o.add(buildPhotoResponse());
return o;
}
-checkUnnamed727(core.List<api.PhotoResponse> o) {
+checkUnnamed728(core.List<api.PhotoResponse> o) {
unittest.expect(o, unittest.hasLength(2));
checkPhotoResponse(o[0]);
checkPhotoResponse(o[1]);
@@ -132,7 +132,7 @@
var o = new api.BatchGetPhotosResponse();
buildCounterBatchGetPhotosResponse++;
if (buildCounterBatchGetPhotosResponse < 3) {
- o.results = buildUnnamed727();
+ o.results = buildUnnamed728();
}
buildCounterBatchGetPhotosResponse--;
return o;
@@ -141,19 +141,19 @@
checkBatchGetPhotosResponse(api.BatchGetPhotosResponse o) {
buildCounterBatchGetPhotosResponse++;
if (buildCounterBatchGetPhotosResponse < 3) {
- checkUnnamed727(o.results);
+ checkUnnamed728(o.results);
}
buildCounterBatchGetPhotosResponse--;
}
-buildUnnamed728() {
+buildUnnamed729() {
var o = new core.List<api.UpdatePhotoRequest>();
o.add(buildUpdatePhotoRequest());
o.add(buildUpdatePhotoRequest());
return o;
}
-checkUnnamed728(core.List<api.UpdatePhotoRequest> o) {
+checkUnnamed729(core.List<api.UpdatePhotoRequest> o) {
unittest.expect(o, unittest.hasLength(2));
checkUpdatePhotoRequest(o[0]);
checkUpdatePhotoRequest(o[1]);
@@ -164,7 +164,7 @@
var o = new api.BatchUpdatePhotosRequest();
buildCounterBatchUpdatePhotosRequest++;
if (buildCounterBatchUpdatePhotosRequest < 3) {
- o.updatePhotoRequests = buildUnnamed728();
+ o.updatePhotoRequests = buildUnnamed729();
}
buildCounterBatchUpdatePhotosRequest--;
return o;
@@ -173,19 +173,19 @@
checkBatchUpdatePhotosRequest(api.BatchUpdatePhotosRequest o) {
buildCounterBatchUpdatePhotosRequest++;
if (buildCounterBatchUpdatePhotosRequest < 3) {
- checkUnnamed728(o.updatePhotoRequests);
+ checkUnnamed729(o.updatePhotoRequests);
}
buildCounterBatchUpdatePhotosRequest--;
}
-buildUnnamed729() {
+buildUnnamed730() {
var o = new core.List<api.PhotoResponse>();
o.add(buildPhotoResponse());
o.add(buildPhotoResponse());
return o;
}
-checkUnnamed729(core.List<api.PhotoResponse> o) {
+checkUnnamed730(core.List<api.PhotoResponse> o) {
unittest.expect(o, unittest.hasLength(2));
checkPhotoResponse(o[0]);
checkPhotoResponse(o[1]);
@@ -196,7 +196,7 @@
var o = new api.BatchUpdatePhotosResponse();
buildCounterBatchUpdatePhotosResponse++;
if (buildCounterBatchUpdatePhotosResponse < 3) {
- o.results = buildUnnamed729();
+ o.results = buildUnnamed730();
}
buildCounterBatchUpdatePhotosResponse--;
return o;
@@ -205,7 +205,7 @@
checkBatchUpdatePhotosResponse(api.BatchUpdatePhotosResponse o) {
buildCounterBatchUpdatePhotosResponse++;
if (buildCounterBatchUpdatePhotosResponse < 3) {
- checkUnnamed729(o.results);
+ checkUnnamed730(o.results);
}
buildCounterBatchUpdatePhotosResponse--;
}
@@ -286,14 +286,14 @@
buildCounterLevel--;
}
-buildUnnamed730() {
+buildUnnamed731() {
var o = new core.List<api.Photo>();
o.add(buildPhoto());
o.add(buildPhoto());
return o;
}
-checkUnnamed730(core.List<api.Photo> o) {
+checkUnnamed731(core.List<api.Photo> o) {
unittest.expect(o, unittest.hasLength(2));
checkPhoto(o[0]);
checkPhoto(o[1]);
@@ -305,7 +305,7 @@
buildCounterListPhotosResponse++;
if (buildCounterListPhotosResponse < 3) {
o.nextPageToken = "foo";
- o.photos = buildUnnamed730();
+ o.photos = buildUnnamed731();
}
buildCounterListPhotosResponse--;
return o;
@@ -315,40 +315,11 @@
buildCounterListPhotosResponse++;
if (buildCounterListPhotosResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed730(o.photos);
+ checkUnnamed731(o.photos);
}
buildCounterListPhotosResponse--;
}
-buildUnnamed731() {
- var o = new core.Map<core.String, core.Object>();
- o["x"] = {
- 'list': [1, 2, 3],
- 'bool': true,
- 'string': 'foo'
- };
- o["y"] = {
- 'list': [1, 2, 3],
- 'bool': true,
- 'string': 'foo'
- };
- return o;
-}
-
-checkUnnamed731(core.Map<core.String, core.Object> o) {
- unittest.expect(o, unittest.hasLength(2));
- var casted1 = (o["x"]) as core.Map;
- unittest.expect(casted1, unittest.hasLength(3));
- unittest.expect(casted1["list"], unittest.equals([1, 2, 3]));
- unittest.expect(casted1["bool"], unittest.equals(true));
- unittest.expect(casted1["string"], unittest.equals('foo'));
- var casted2 = (o["y"]) as core.Map;
- unittest.expect(casted2, unittest.hasLength(3));
- unittest.expect(casted2["list"], unittest.equals([1, 2, 3]));
- unittest.expect(casted2["bool"], unittest.equals(true));
- unittest.expect(casted2["string"], unittest.equals('foo'));
-}
-
buildUnnamed732() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
@@ -366,6 +337,35 @@
checkUnnamed732(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
+ var casted1 = (o["x"]) as core.Map;
+ unittest.expect(casted1, unittest.hasLength(3));
+ unittest.expect(casted1["list"], unittest.equals([1, 2, 3]));
+ unittest.expect(casted1["bool"], unittest.equals(true));
+ unittest.expect(casted1["string"], unittest.equals('foo'));
+ var casted2 = (o["y"]) as core.Map;
+ unittest.expect(casted2, unittest.hasLength(3));
+ unittest.expect(casted2["list"], unittest.equals([1, 2, 3]));
+ unittest.expect(casted2["bool"], unittest.equals(true));
+ unittest.expect(casted2["string"], unittest.equals('foo'));
+}
+
+buildUnnamed733() {
+ var o = new core.Map<core.String, core.Object>();
+ o["x"] = {
+ 'list': [1, 2, 3],
+ 'bool': true,
+ 'string': 'foo'
+ };
+ o["y"] = {
+ 'list': [1, 2, 3],
+ 'bool': true,
+ 'string': 'foo'
+ };
+ return o;
+}
+
+checkUnnamed733(core.Map<core.String, core.Object> o) {
+ unittest.expect(o, unittest.hasLength(2));
var casted3 = (o["x"]) as core.Map;
unittest.expect(casted3, unittest.hasLength(3));
unittest.expect(casted3["list"], unittest.equals([1, 2, 3]));
@@ -385,9 +385,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed731();
+ o.metadata = buildUnnamed732();
o.name = "foo";
- o.response = buildUnnamed732();
+ o.response = buildUnnamed733();
}
buildCounterOperation--;
return o;
@@ -398,34 +398,34 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed731(o.metadata);
+ checkUnnamed732(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed732(o.response);
+ checkUnnamed733(o.response);
}
buildCounterOperation--;
}
-buildUnnamed733() {
+buildUnnamed734() {
var o = new core.List<api.Connection>();
o.add(buildConnection());
o.add(buildConnection());
return o;
}
-checkUnnamed733(core.List<api.Connection> o) {
+checkUnnamed734(core.List<api.Connection> o) {
unittest.expect(o, unittest.hasLength(2));
checkConnection(o[0]);
checkConnection(o[1]);
}
-buildUnnamed734() {
+buildUnnamed735() {
var o = new core.List<api.Place>();
o.add(buildPlace());
o.add(buildPlace());
return o;
}
-checkUnnamed734(core.List<api.Place> o) {
+checkUnnamed735(core.List<api.Place> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlace(o[0]);
checkPlace(o[1]);
@@ -437,11 +437,11 @@
buildCounterPhoto++;
if (buildCounterPhoto < 3) {
o.captureTime = "foo";
- o.connections = buildUnnamed733();
+ o.connections = buildUnnamed734();
o.downloadUrl = "foo";
o.mapsPublishStatus = "foo";
o.photoId = buildPhotoId();
- o.places = buildUnnamed734();
+ o.places = buildUnnamed735();
o.pose = buildPose();
o.shareLink = "foo";
o.thumbnailUrl = "foo";
@@ -457,11 +457,11 @@
buildCounterPhoto++;
if (buildCounterPhoto < 3) {
unittest.expect(o.captureTime, unittest.equals('foo'));
- checkUnnamed733(o.connections);
+ checkUnnamed734(o.connections);
unittest.expect(o.downloadUrl, unittest.equals('foo'));
unittest.expect(o.mapsPublishStatus, unittest.equals('foo'));
checkPhotoId(o.photoId);
- checkUnnamed734(o.places);
+ checkUnnamed735(o.places);
checkPose(o.pose);
unittest.expect(o.shareLink, unittest.equals('foo'));
unittest.expect(o.thumbnailUrl, unittest.equals('foo'));
@@ -566,7 +566,7 @@
buildCounterPose--;
}
-buildUnnamed735() {
+buildUnnamed736() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -581,7 +581,7 @@
return o;
}
-checkUnnamed735(core.Map<core.String, core.Object> o) {
+checkUnnamed736(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted5 = (o["x"]) as core.Map;
unittest.expect(casted5, unittest.hasLength(3));
@@ -595,17 +595,17 @@
unittest.expect(casted6["string"], unittest.equals('foo'));
}
-buildUnnamed736() {
+buildUnnamed737() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed735());
- o.add(buildUnnamed735());
+ o.add(buildUnnamed736());
+ o.add(buildUnnamed736());
return o;
}
-checkUnnamed736(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed737(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed735(o[0]);
- checkUnnamed735(o[1]);
+ checkUnnamed736(o[0]);
+ checkUnnamed736(o[1]);
}
core.int buildCounterStatus = 0;
@@ -614,7 +614,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed736();
+ o.details = buildUnnamed737();
o.message = "foo";
}
buildCounterStatus--;
@@ -625,7 +625,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed736(o.details);
+ checkUnnamed737(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
@@ -671,14 +671,14 @@
buildCounterUploadRef--;
}
-buildUnnamed737() {
+buildUnnamed738() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed737(core.List<core.String> o) {
+checkUnnamed738(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -948,8 +948,8 @@
var mock = new HttpServerMock();
api.PhotoResourceApi res = new api.StreetviewpublishApi(mock).photo;
var arg_photoId = "foo";
- var arg_languageCode = "foo";
var arg_view = "foo";
+ var arg_languageCode = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -984,9 +984,9 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ 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 = {
@@ -997,8 +997,8 @@
}), true);
res
.get(arg_photoId,
- languageCode: arg_languageCode,
view: arg_view,
+ languageCode: arg_languageCode,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkPhoto(response);
@@ -1177,9 +1177,9 @@
unittest.test("method--batchGet", () {
var mock = new HttpServerMock();
api.PhotosResourceApi res = new api.StreetviewpublishApi(mock).photos;
- var arg_languageCode = "foo";
- var arg_photoIds = buildUnnamed737();
var arg_view = "foo";
+ var arg_languageCode = "foo";
+ var arg_photoIds = buildUnnamed738();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1211,10 +1211,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ 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 = {
@@ -1225,9 +1225,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);
@@ -1290,10 +1290,10 @@
unittest.test("method--list", () {
var mock = new HttpServerMock();
api.PhotosResourceApi res = new api.StreetviewpublishApi(mock).photos;
- var arg_filter = "foo";
- var arg_pageSize = 42;
- var arg_languageCode = "foo";
var arg_pageToken = "foo";
+ var arg_pageSize = 42;
+ var arg_filter = "foo";
+ var arg_languageCode = "foo";
var arg_view = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -1326,13 +1326,13 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
- unittest.expect(
- queryMap["languageCode"].first, unittest.equals(arg_languageCode));
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(queryMap["view"].first, unittest.equals(arg_view));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -1344,10 +1344,10 @@
}), true);
res
.list(
- filter: arg_filter,
- pageSize: arg_pageSize,
- languageCode: arg_languageCode,
pageToken: arg_pageToken,
+ pageSize: arg_pageSize,
+ filter: arg_filter,
+ languageCode: arg_languageCode,
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 8014456..8685802 100644
--- a/generated/googleapis/test/tagmanager/v1_test.dart
+++ b/generated/googleapis/test/tagmanager/v1_test.dart
@@ -75,14 +75,14 @@
buildCounterAccount--;
}
-buildUnnamed4846() {
+buildUnnamed4853() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4846(core.List<core.String> o) {
+checkUnnamed4853(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -93,7 +93,7 @@
var o = new api.AccountAccess();
buildCounterAccountAccess++;
if (buildCounterAccountAccess < 3) {
- o.permission = buildUnnamed4846();
+ o.permission = buildUnnamed4853();
}
buildCounterAccountAccess--;
return o;
@@ -102,19 +102,19 @@
checkAccountAccess(api.AccountAccess o) {
buildCounterAccountAccess++;
if (buildCounterAccountAccess < 3) {
- checkUnnamed4846(o.permission);
+ checkUnnamed4853(o.permission);
}
buildCounterAccountAccess--;
}
-buildUnnamed4847() {
+buildUnnamed4854() {
var o = new core.List<api.Parameter>();
o.add(buildParameter());
o.add(buildParameter());
return o;
}
-checkUnnamed4847(core.List<api.Parameter> o) {
+checkUnnamed4854(core.List<api.Parameter> o) {
unittest.expect(o, unittest.hasLength(2));
checkParameter(o[0]);
checkParameter(o[1]);
@@ -125,7 +125,7 @@
var o = new api.Condition();
buildCounterCondition++;
if (buildCounterCondition < 3) {
- o.parameter = buildUnnamed4847();
+ o.parameter = buildUnnamed4854();
o.type = "foo";
}
buildCounterCondition--;
@@ -135,46 +135,46 @@
checkCondition(api.Condition o) {
buildCounterCondition++;
if (buildCounterCondition < 3) {
- checkUnnamed4847(o.parameter);
+ checkUnnamed4854(o.parameter);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterCondition--;
}
-buildUnnamed4848() {
+buildUnnamed4855() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4848(core.List<core.String> o) {
+checkUnnamed4855(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed4849() {
+buildUnnamed4856() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4849(core.List<core.String> o) {
+checkUnnamed4856(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed4850() {
+buildUnnamed4857() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4850(core.List<core.String> o) {
+checkUnnamed4857(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -187,15 +187,15 @@
if (buildCounterContainer < 3) {
o.accountId = "foo";
o.containerId = "foo";
- o.domainName = buildUnnamed4848();
- o.enabledBuiltInVariable = buildUnnamed4849();
+ o.domainName = buildUnnamed4855();
+ o.enabledBuiltInVariable = buildUnnamed4856();
o.fingerprint = "foo";
o.name = "foo";
o.notes = "foo";
o.publicId = "foo";
o.timeZoneCountryId = "foo";
o.timeZoneId = "foo";
- o.usageContext = buildUnnamed4850();
+ o.usageContext = buildUnnamed4857();
}
buildCounterContainer--;
return o;
@@ -206,27 +206,27 @@
if (buildCounterContainer < 3) {
unittest.expect(o.accountId, unittest.equals('foo'));
unittest.expect(o.containerId, unittest.equals('foo'));
- checkUnnamed4848(o.domainName);
- checkUnnamed4849(o.enabledBuiltInVariable);
+ checkUnnamed4855(o.domainName);
+ checkUnnamed4856(o.enabledBuiltInVariable);
unittest.expect(o.fingerprint, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.notes, unittest.equals('foo'));
unittest.expect(o.publicId, unittest.equals('foo'));
unittest.expect(o.timeZoneCountryId, unittest.equals('foo'));
unittest.expect(o.timeZoneId, unittest.equals('foo'));
- checkUnnamed4850(o.usageContext);
+ checkUnnamed4857(o.usageContext);
}
buildCounterContainer--;
}
-buildUnnamed4851() {
+buildUnnamed4858() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4851(core.List<core.String> o) {
+checkUnnamed4858(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -238,7 +238,7 @@
buildCounterContainerAccess++;
if (buildCounterContainerAccess < 3) {
o.containerId = "foo";
- o.permission = buildUnnamed4851();
+ o.permission = buildUnnamed4858();
}
buildCounterContainerAccess--;
return o;
@@ -248,84 +248,84 @@
buildCounterContainerAccess++;
if (buildCounterContainerAccess < 3) {
unittest.expect(o.containerId, unittest.equals('foo'));
- checkUnnamed4851(o.permission);
+ checkUnnamed4858(o.permission);
}
buildCounterContainerAccess--;
}
-buildUnnamed4852() {
+buildUnnamed4859() {
var o = new core.List<api.Folder>();
o.add(buildFolder());
o.add(buildFolder());
return o;
}
-checkUnnamed4852(core.List<api.Folder> o) {
+checkUnnamed4859(core.List<api.Folder> o) {
unittest.expect(o, unittest.hasLength(2));
checkFolder(o[0]);
checkFolder(o[1]);
}
-buildUnnamed4853() {
+buildUnnamed4860() {
var o = new core.List<api.Macro>();
o.add(buildMacro());
o.add(buildMacro());
return o;
}
-checkUnnamed4853(core.List<api.Macro> o) {
+checkUnnamed4860(core.List<api.Macro> o) {
unittest.expect(o, unittest.hasLength(2));
checkMacro(o[0]);
checkMacro(o[1]);
}
-buildUnnamed4854() {
+buildUnnamed4861() {
var o = new core.List<api.Rule>();
o.add(buildRule());
o.add(buildRule());
return o;
}
-checkUnnamed4854(core.List<api.Rule> o) {
+checkUnnamed4861(core.List<api.Rule> o) {
unittest.expect(o, unittest.hasLength(2));
checkRule(o[0]);
checkRule(o[1]);
}
-buildUnnamed4855() {
+buildUnnamed4862() {
var o = new core.List<api.Tag>();
o.add(buildTag());
o.add(buildTag());
return o;
}
-checkUnnamed4855(core.List<api.Tag> o) {
+checkUnnamed4862(core.List<api.Tag> o) {
unittest.expect(o, unittest.hasLength(2));
checkTag(o[0]);
checkTag(o[1]);
}
-buildUnnamed4856() {
+buildUnnamed4863() {
var o = new core.List<api.Trigger>();
o.add(buildTrigger());
o.add(buildTrigger());
return o;
}
-checkUnnamed4856(core.List<api.Trigger> o) {
+checkUnnamed4863(core.List<api.Trigger> o) {
unittest.expect(o, unittest.hasLength(2));
checkTrigger(o[0]);
checkTrigger(o[1]);
}
-buildUnnamed4857() {
+buildUnnamed4864() {
var o = new core.List<api.Variable>();
o.add(buildVariable());
o.add(buildVariable());
return o;
}
-checkUnnamed4857(core.List<api.Variable> o) {
+checkUnnamed4864(core.List<api.Variable> o) {
unittest.expect(o, unittest.hasLength(2));
checkVariable(o[0]);
checkVariable(o[1]);
@@ -342,14 +342,14 @@
o.containerVersionId = "foo";
o.deleted = true;
o.fingerprint = "foo";
- o.folder = buildUnnamed4852();
- o.macro = buildUnnamed4853();
+ o.folder = buildUnnamed4859();
+ o.macro = buildUnnamed4860();
o.name = "foo";
o.notes = "foo";
- o.rule = buildUnnamed4854();
- o.tag = buildUnnamed4855();
- o.trigger = buildUnnamed4856();
- o.variable = buildUnnamed4857();
+ o.rule = buildUnnamed4861();
+ o.tag = buildUnnamed4862();
+ o.trigger = buildUnnamed4863();
+ o.variable = buildUnnamed4864();
}
buildCounterContainerVersion--;
return o;
@@ -364,14 +364,14 @@
unittest.expect(o.containerVersionId, unittest.equals('foo'));
unittest.expect(o.deleted, unittest.isTrue);
unittest.expect(o.fingerprint, unittest.equals('foo'));
- checkUnnamed4852(o.folder);
- checkUnnamed4853(o.macro);
+ checkUnnamed4859(o.folder);
+ checkUnnamed4860(o.macro);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.notes, unittest.equals('foo'));
- checkUnnamed4854(o.rule);
- checkUnnamed4855(o.tag);
- checkUnnamed4856(o.trigger);
- checkUnnamed4857(o.variable);
+ checkUnnamed4861(o.rule);
+ checkUnnamed4862(o.tag);
+ checkUnnamed4863(o.trigger);
+ checkUnnamed4864(o.variable);
}
buildCounterContainerVersion--;
}
@@ -526,40 +526,40 @@
buildCounterFolder--;
}
-buildUnnamed4858() {
+buildUnnamed4865() {
var o = new core.List<api.Tag>();
o.add(buildTag());
o.add(buildTag());
return o;
}
-checkUnnamed4858(core.List<api.Tag> o) {
+checkUnnamed4865(core.List<api.Tag> o) {
unittest.expect(o, unittest.hasLength(2));
checkTag(o[0]);
checkTag(o[1]);
}
-buildUnnamed4859() {
+buildUnnamed4866() {
var o = new core.List<api.Trigger>();
o.add(buildTrigger());
o.add(buildTrigger());
return o;
}
-checkUnnamed4859(core.List<api.Trigger> o) {
+checkUnnamed4866(core.List<api.Trigger> o) {
unittest.expect(o, unittest.hasLength(2));
checkTrigger(o[0]);
checkTrigger(o[1]);
}
-buildUnnamed4860() {
+buildUnnamed4867() {
var o = new core.List<api.Variable>();
o.add(buildVariable());
o.add(buildVariable());
return o;
}
-checkUnnamed4860(core.List<api.Variable> o) {
+checkUnnamed4867(core.List<api.Variable> o) {
unittest.expect(o, unittest.hasLength(2));
checkVariable(o[0]);
checkVariable(o[1]);
@@ -570,9 +570,9 @@
var o = new api.FolderEntities();
buildCounterFolderEntities++;
if (buildCounterFolderEntities < 3) {
- o.tag = buildUnnamed4858();
- o.trigger = buildUnnamed4859();
- o.variable = buildUnnamed4860();
+ o.tag = buildUnnamed4865();
+ o.trigger = buildUnnamed4866();
+ o.variable = buildUnnamed4867();
}
buildCounterFolderEntities--;
return o;
@@ -581,21 +581,21 @@
checkFolderEntities(api.FolderEntities o) {
buildCounterFolderEntities++;
if (buildCounterFolderEntities < 3) {
- checkUnnamed4858(o.tag);
- checkUnnamed4859(o.trigger);
- checkUnnamed4860(o.variable);
+ checkUnnamed4865(o.tag);
+ checkUnnamed4866(o.trigger);
+ checkUnnamed4867(o.variable);
}
buildCounterFolderEntities--;
}
-buildUnnamed4861() {
+buildUnnamed4868() {
var o = new core.List<api.UserAccess>();
o.add(buildUserAccess());
o.add(buildUserAccess());
return o;
}
-checkUnnamed4861(core.List<api.UserAccess> o) {
+checkUnnamed4868(core.List<api.UserAccess> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserAccess(o[0]);
checkUserAccess(o[1]);
@@ -606,7 +606,7 @@
var o = new api.ListAccountUsersResponse();
buildCounterListAccountUsersResponse++;
if (buildCounterListAccountUsersResponse < 3) {
- o.userAccess = buildUnnamed4861();
+ o.userAccess = buildUnnamed4868();
}
buildCounterListAccountUsersResponse--;
return o;
@@ -615,19 +615,19 @@
checkListAccountUsersResponse(api.ListAccountUsersResponse o) {
buildCounterListAccountUsersResponse++;
if (buildCounterListAccountUsersResponse < 3) {
- checkUnnamed4861(o.userAccess);
+ checkUnnamed4868(o.userAccess);
}
buildCounterListAccountUsersResponse--;
}
-buildUnnamed4862() {
+buildUnnamed4869() {
var o = new core.List<api.Account>();
o.add(buildAccount());
o.add(buildAccount());
return o;
}
-checkUnnamed4862(core.List<api.Account> o) {
+checkUnnamed4869(core.List<api.Account> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccount(o[0]);
checkAccount(o[1]);
@@ -638,7 +638,7 @@
var o = new api.ListAccountsResponse();
buildCounterListAccountsResponse++;
if (buildCounterListAccountsResponse < 3) {
- o.accounts = buildUnnamed4862();
+ o.accounts = buildUnnamed4869();
}
buildCounterListAccountsResponse--;
return o;
@@ -647,32 +647,32 @@
checkListAccountsResponse(api.ListAccountsResponse o) {
buildCounterListAccountsResponse++;
if (buildCounterListAccountsResponse < 3) {
- checkUnnamed4862(o.accounts);
+ checkUnnamed4869(o.accounts);
}
buildCounterListAccountsResponse--;
}
-buildUnnamed4863() {
+buildUnnamed4870() {
var o = new core.List<api.ContainerVersion>();
o.add(buildContainerVersion());
o.add(buildContainerVersion());
return o;
}
-checkUnnamed4863(core.List<api.ContainerVersion> o) {
+checkUnnamed4870(core.List<api.ContainerVersion> o) {
unittest.expect(o, unittest.hasLength(2));
checkContainerVersion(o[0]);
checkContainerVersion(o[1]);
}
-buildUnnamed4864() {
+buildUnnamed4871() {
var o = new core.List<api.ContainerVersionHeader>();
o.add(buildContainerVersionHeader());
o.add(buildContainerVersionHeader());
return o;
}
-checkUnnamed4864(core.List<api.ContainerVersionHeader> o) {
+checkUnnamed4871(core.List<api.ContainerVersionHeader> o) {
unittest.expect(o, unittest.hasLength(2));
checkContainerVersionHeader(o[0]);
checkContainerVersionHeader(o[1]);
@@ -683,8 +683,8 @@
var o = new api.ListContainerVersionsResponse();
buildCounterListContainerVersionsResponse++;
if (buildCounterListContainerVersionsResponse < 3) {
- o.containerVersion = buildUnnamed4863();
- o.containerVersionHeader = buildUnnamed4864();
+ o.containerVersion = buildUnnamed4870();
+ o.containerVersionHeader = buildUnnamed4871();
}
buildCounterListContainerVersionsResponse--;
return o;
@@ -693,20 +693,20 @@
checkListContainerVersionsResponse(api.ListContainerVersionsResponse o) {
buildCounterListContainerVersionsResponse++;
if (buildCounterListContainerVersionsResponse < 3) {
- checkUnnamed4863(o.containerVersion);
- checkUnnamed4864(o.containerVersionHeader);
+ checkUnnamed4870(o.containerVersion);
+ checkUnnamed4871(o.containerVersionHeader);
}
buildCounterListContainerVersionsResponse--;
}
-buildUnnamed4865() {
+buildUnnamed4872() {
var o = new core.List<api.Container>();
o.add(buildContainer());
o.add(buildContainer());
return o;
}
-checkUnnamed4865(core.List<api.Container> o) {
+checkUnnamed4872(core.List<api.Container> o) {
unittest.expect(o, unittest.hasLength(2));
checkContainer(o[0]);
checkContainer(o[1]);
@@ -717,7 +717,7 @@
var o = new api.ListContainersResponse();
buildCounterListContainersResponse++;
if (buildCounterListContainersResponse < 3) {
- o.containers = buildUnnamed4865();
+ o.containers = buildUnnamed4872();
}
buildCounterListContainersResponse--;
return o;
@@ -726,19 +726,19 @@
checkListContainersResponse(api.ListContainersResponse o) {
buildCounterListContainersResponse++;
if (buildCounterListContainersResponse < 3) {
- checkUnnamed4865(o.containers);
+ checkUnnamed4872(o.containers);
}
buildCounterListContainersResponse--;
}
-buildUnnamed4866() {
+buildUnnamed4873() {
var o = new core.List<api.Environment>();
o.add(buildEnvironment());
o.add(buildEnvironment());
return o;
}
-checkUnnamed4866(core.List<api.Environment> o) {
+checkUnnamed4873(core.List<api.Environment> o) {
unittest.expect(o, unittest.hasLength(2));
checkEnvironment(o[0]);
checkEnvironment(o[1]);
@@ -749,7 +749,7 @@
var o = new api.ListEnvironmentsResponse();
buildCounterListEnvironmentsResponse++;
if (buildCounterListEnvironmentsResponse < 3) {
- o.environments = buildUnnamed4866();
+ o.environments = buildUnnamed4873();
}
buildCounterListEnvironmentsResponse--;
return o;
@@ -758,19 +758,19 @@
checkListEnvironmentsResponse(api.ListEnvironmentsResponse o) {
buildCounterListEnvironmentsResponse++;
if (buildCounterListEnvironmentsResponse < 3) {
- checkUnnamed4866(o.environments);
+ checkUnnamed4873(o.environments);
}
buildCounterListEnvironmentsResponse--;
}
-buildUnnamed4867() {
+buildUnnamed4874() {
var o = new core.List<api.Folder>();
o.add(buildFolder());
o.add(buildFolder());
return o;
}
-checkUnnamed4867(core.List<api.Folder> o) {
+checkUnnamed4874(core.List<api.Folder> o) {
unittest.expect(o, unittest.hasLength(2));
checkFolder(o[0]);
checkFolder(o[1]);
@@ -781,7 +781,7 @@
var o = new api.ListFoldersResponse();
buildCounterListFoldersResponse++;
if (buildCounterListFoldersResponse < 3) {
- o.folders = buildUnnamed4867();
+ o.folders = buildUnnamed4874();
}
buildCounterListFoldersResponse--;
return o;
@@ -790,19 +790,19 @@
checkListFoldersResponse(api.ListFoldersResponse o) {
buildCounterListFoldersResponse++;
if (buildCounterListFoldersResponse < 3) {
- checkUnnamed4867(o.folders);
+ checkUnnamed4874(o.folders);
}
buildCounterListFoldersResponse--;
}
-buildUnnamed4868() {
+buildUnnamed4875() {
var o = new core.List<api.Tag>();
o.add(buildTag());
o.add(buildTag());
return o;
}
-checkUnnamed4868(core.List<api.Tag> o) {
+checkUnnamed4875(core.List<api.Tag> o) {
unittest.expect(o, unittest.hasLength(2));
checkTag(o[0]);
checkTag(o[1]);
@@ -813,7 +813,7 @@
var o = new api.ListTagsResponse();
buildCounterListTagsResponse++;
if (buildCounterListTagsResponse < 3) {
- o.tags = buildUnnamed4868();
+ o.tags = buildUnnamed4875();
}
buildCounterListTagsResponse--;
return o;
@@ -822,19 +822,19 @@
checkListTagsResponse(api.ListTagsResponse o) {
buildCounterListTagsResponse++;
if (buildCounterListTagsResponse < 3) {
- checkUnnamed4868(o.tags);
+ checkUnnamed4875(o.tags);
}
buildCounterListTagsResponse--;
}
-buildUnnamed4869() {
+buildUnnamed4876() {
var o = new core.List<api.Trigger>();
o.add(buildTrigger());
o.add(buildTrigger());
return o;
}
-checkUnnamed4869(core.List<api.Trigger> o) {
+checkUnnamed4876(core.List<api.Trigger> o) {
unittest.expect(o, unittest.hasLength(2));
checkTrigger(o[0]);
checkTrigger(o[1]);
@@ -845,7 +845,7 @@
var o = new api.ListTriggersResponse();
buildCounterListTriggersResponse++;
if (buildCounterListTriggersResponse < 3) {
- o.triggers = buildUnnamed4869();
+ o.triggers = buildUnnamed4876();
}
buildCounterListTriggersResponse--;
return o;
@@ -854,19 +854,19 @@
checkListTriggersResponse(api.ListTriggersResponse o) {
buildCounterListTriggersResponse++;
if (buildCounterListTriggersResponse < 3) {
- checkUnnamed4869(o.triggers);
+ checkUnnamed4876(o.triggers);
}
buildCounterListTriggersResponse--;
}
-buildUnnamed4870() {
+buildUnnamed4877() {
var o = new core.List<api.Variable>();
o.add(buildVariable());
o.add(buildVariable());
return o;
}
-checkUnnamed4870(core.List<api.Variable> o) {
+checkUnnamed4877(core.List<api.Variable> o) {
unittest.expect(o, unittest.hasLength(2));
checkVariable(o[0]);
checkVariable(o[1]);
@@ -877,7 +877,7 @@
var o = new api.ListVariablesResponse();
buildCounterListVariablesResponse++;
if (buildCounterListVariablesResponse < 3) {
- o.variables = buildUnnamed4870();
+ o.variables = buildUnnamed4877();
}
buildCounterListVariablesResponse--;
return o;
@@ -886,45 +886,45 @@
checkListVariablesResponse(api.ListVariablesResponse o) {
buildCounterListVariablesResponse++;
if (buildCounterListVariablesResponse < 3) {
- checkUnnamed4870(o.variables);
+ checkUnnamed4877(o.variables);
}
buildCounterListVariablesResponse--;
}
-buildUnnamed4871() {
+buildUnnamed4878() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4871(core.List<core.String> o) {
+checkUnnamed4878(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed4872() {
+buildUnnamed4879() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4872(core.List<core.String> o) {
+checkUnnamed4879(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed4873() {
+buildUnnamed4880() {
var o = new core.List<api.Parameter>();
o.add(buildParameter());
o.add(buildParameter());
return o;
}
-checkUnnamed4873(core.List<api.Parameter> o) {
+checkUnnamed4880(core.List<api.Parameter> o) {
unittest.expect(o, unittest.hasLength(2));
checkParameter(o[0]);
checkParameter(o[1]);
@@ -937,13 +937,13 @@
if (buildCounterMacro < 3) {
o.accountId = "foo";
o.containerId = "foo";
- o.disablingRuleId = buildUnnamed4871();
- o.enablingRuleId = buildUnnamed4872();
+ o.disablingRuleId = buildUnnamed4878();
+ o.enablingRuleId = buildUnnamed4879();
o.fingerprint = "foo";
o.macroId = "foo";
o.name = "foo";
o.notes = "foo";
- o.parameter = buildUnnamed4873();
+ o.parameter = buildUnnamed4880();
o.parentFolderId = "foo";
o.scheduleEndMs = "foo";
o.scheduleStartMs = "foo";
@@ -958,13 +958,13 @@
if (buildCounterMacro < 3) {
unittest.expect(o.accountId, unittest.equals('foo'));
unittest.expect(o.containerId, unittest.equals('foo'));
- checkUnnamed4871(o.disablingRuleId);
- checkUnnamed4872(o.enablingRuleId);
+ checkUnnamed4878(o.disablingRuleId);
+ checkUnnamed4879(o.enablingRuleId);
unittest.expect(o.fingerprint, unittest.equals('foo'));
unittest.expect(o.macroId, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.notes, unittest.equals('foo'));
- checkUnnamed4873(o.parameter);
+ checkUnnamed4880(o.parameter);
unittest.expect(o.parentFolderId, unittest.equals('foo'));
unittest.expect(o.scheduleEndMs, unittest.equals('foo'));
unittest.expect(o.scheduleStartMs, unittest.equals('foo'));
@@ -973,27 +973,27 @@
buildCounterMacro--;
}
-buildUnnamed4874() {
+buildUnnamed4881() {
var o = new core.List<api.Parameter>();
o.add(buildParameter());
o.add(buildParameter());
return o;
}
-checkUnnamed4874(core.List<api.Parameter> o) {
+checkUnnamed4881(core.List<api.Parameter> o) {
unittest.expect(o, unittest.hasLength(2));
checkParameter(o[0]);
checkParameter(o[1]);
}
-buildUnnamed4875() {
+buildUnnamed4882() {
var o = new core.List<api.Parameter>();
o.add(buildParameter());
o.add(buildParameter());
return o;
}
-checkUnnamed4875(core.List<api.Parameter> o) {
+checkUnnamed4882(core.List<api.Parameter> o) {
unittest.expect(o, unittest.hasLength(2));
checkParameter(o[0]);
checkParameter(o[1]);
@@ -1005,8 +1005,8 @@
buildCounterParameter++;
if (buildCounterParameter < 3) {
o.key = "foo";
- o.list = buildUnnamed4874();
- o.map = buildUnnamed4875();
+ o.list = buildUnnamed4881();
+ o.map = buildUnnamed4882();
o.type = "foo";
o.value = "foo";
}
@@ -1018,8 +1018,8 @@
buildCounterParameter++;
if (buildCounterParameter < 3) {
unittest.expect(o.key, unittest.equals('foo'));
- checkUnnamed4874(o.list);
- checkUnnamed4875(o.map);
+ checkUnnamed4881(o.list);
+ checkUnnamed4882(o.map);
unittest.expect(o.type, unittest.equals('foo'));
unittest.expect(o.value, unittest.equals('foo'));
}
@@ -1047,14 +1047,14 @@
buildCounterPublishContainerVersionResponse--;
}
-buildUnnamed4876() {
+buildUnnamed4883() {
var o = new core.List<api.Condition>();
o.add(buildCondition());
o.add(buildCondition());
return o;
}
-checkUnnamed4876(core.List<api.Condition> o) {
+checkUnnamed4883(core.List<api.Condition> o) {
unittest.expect(o, unittest.hasLength(2));
checkCondition(o[0]);
checkCondition(o[1]);
@@ -1066,7 +1066,7 @@
buildCounterRule++;
if (buildCounterRule < 3) {
o.accountId = "foo";
- o.condition = buildUnnamed4876();
+ o.condition = buildUnnamed4883();
o.containerId = "foo";
o.fingerprint = "foo";
o.name = "foo";
@@ -1081,7 +1081,7 @@
buildCounterRule++;
if (buildCounterRule < 3) {
unittest.expect(o.accountId, unittest.equals('foo'));
- checkUnnamed4876(o.condition);
+ checkUnnamed4883(o.condition);
unittest.expect(o.containerId, unittest.equals('foo'));
unittest.expect(o.fingerprint, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
@@ -1112,92 +1112,92 @@
buildCounterSetupTag--;
}
-buildUnnamed4877() {
+buildUnnamed4884() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4877(core.List<core.String> o) {
+checkUnnamed4884(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed4878() {
+buildUnnamed4885() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4878(core.List<core.String> o) {
+checkUnnamed4885(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed4879() {
+buildUnnamed4886() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4879(core.List<core.String> o) {
+checkUnnamed4886(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed4880() {
+buildUnnamed4887() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4880(core.List<core.String> o) {
+checkUnnamed4887(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed4881() {
+buildUnnamed4888() {
var o = new core.List<api.Parameter>();
o.add(buildParameter());
o.add(buildParameter());
return o;
}
-checkUnnamed4881(core.List<api.Parameter> o) {
+checkUnnamed4888(core.List<api.Parameter> o) {
unittest.expect(o, unittest.hasLength(2));
checkParameter(o[0]);
checkParameter(o[1]);
}
-buildUnnamed4882() {
+buildUnnamed4889() {
var o = new core.List<api.SetupTag>();
o.add(buildSetupTag());
o.add(buildSetupTag());
return o;
}
-checkUnnamed4882(core.List<api.SetupTag> o) {
+checkUnnamed4889(core.List<api.SetupTag> o) {
unittest.expect(o, unittest.hasLength(2));
checkSetupTag(o[0]);
checkSetupTag(o[1]);
}
-buildUnnamed4883() {
+buildUnnamed4890() {
var o = new core.List<api.TeardownTag>();
o.add(buildTeardownTag());
o.add(buildTeardownTag());
return o;
}
-checkUnnamed4883(core.List<api.TeardownTag> o) {
+checkUnnamed4890(core.List<api.TeardownTag> o) {
unittest.expect(o, unittest.hasLength(2));
checkTeardownTag(o[0]);
checkTeardownTag(o[1]);
@@ -1209,25 +1209,25 @@
buildCounterTag++;
if (buildCounterTag < 3) {
o.accountId = "foo";
- o.blockingRuleId = buildUnnamed4877();
- o.blockingTriggerId = buildUnnamed4878();
+ o.blockingRuleId = buildUnnamed4884();
+ o.blockingTriggerId = buildUnnamed4885();
o.containerId = "foo";
o.fingerprint = "foo";
- o.firingRuleId = buildUnnamed4879();
- o.firingTriggerId = buildUnnamed4880();
+ o.firingRuleId = buildUnnamed4886();
+ o.firingTriggerId = buildUnnamed4887();
o.liveOnly = true;
o.name = "foo";
o.notes = "foo";
- o.parameter = buildUnnamed4881();
+ o.parameter = buildUnnamed4888();
o.parentFolderId = "foo";
o.paused = true;
o.priority = buildParameter();
o.scheduleEndMs = "foo";
o.scheduleStartMs = "foo";
- o.setupTag = buildUnnamed4882();
+ o.setupTag = buildUnnamed4889();
o.tagFiringOption = "foo";
o.tagId = "foo";
- o.teardownTag = buildUnnamed4883();
+ o.teardownTag = buildUnnamed4890();
o.type = "foo";
}
buildCounterTag--;
@@ -1238,25 +1238,25 @@
buildCounterTag++;
if (buildCounterTag < 3) {
unittest.expect(o.accountId, unittest.equals('foo'));
- checkUnnamed4877(o.blockingRuleId);
- checkUnnamed4878(o.blockingTriggerId);
+ checkUnnamed4884(o.blockingRuleId);
+ checkUnnamed4885(o.blockingTriggerId);
unittest.expect(o.containerId, unittest.equals('foo'));
unittest.expect(o.fingerprint, unittest.equals('foo'));
- checkUnnamed4879(o.firingRuleId);
- checkUnnamed4880(o.firingTriggerId);
+ checkUnnamed4886(o.firingRuleId);
+ checkUnnamed4887(o.firingTriggerId);
unittest.expect(o.liveOnly, unittest.isTrue);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.notes, unittest.equals('foo'));
- checkUnnamed4881(o.parameter);
+ checkUnnamed4888(o.parameter);
unittest.expect(o.parentFolderId, unittest.equals('foo'));
unittest.expect(o.paused, unittest.isTrue);
checkParameter(o.priority);
unittest.expect(o.scheduleEndMs, unittest.equals('foo'));
unittest.expect(o.scheduleStartMs, unittest.equals('foo'));
- checkUnnamed4882(o.setupTag);
+ checkUnnamed4889(o.setupTag);
unittest.expect(o.tagFiringOption, unittest.equals('foo'));
unittest.expect(o.tagId, unittest.equals('foo'));
- checkUnnamed4883(o.teardownTag);
+ checkUnnamed4890(o.teardownTag);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterTag--;
@@ -1283,53 +1283,53 @@
buildCounterTeardownTag--;
}
-buildUnnamed4884() {
+buildUnnamed4891() {
var o = new core.List<api.Condition>();
o.add(buildCondition());
o.add(buildCondition());
return o;
}
-checkUnnamed4884(core.List<api.Condition> o) {
+checkUnnamed4891(core.List<api.Condition> o) {
unittest.expect(o, unittest.hasLength(2));
checkCondition(o[0]);
checkCondition(o[1]);
}
-buildUnnamed4885() {
+buildUnnamed4892() {
var o = new core.List<api.Condition>();
o.add(buildCondition());
o.add(buildCondition());
return o;
}
-checkUnnamed4885(core.List<api.Condition> o) {
+checkUnnamed4892(core.List<api.Condition> o) {
unittest.expect(o, unittest.hasLength(2));
checkCondition(o[0]);
checkCondition(o[1]);
}
-buildUnnamed4886() {
+buildUnnamed4893() {
var o = new core.List<api.Condition>();
o.add(buildCondition());
o.add(buildCondition());
return o;
}
-checkUnnamed4886(core.List<api.Condition> o) {
+checkUnnamed4893(core.List<api.Condition> o) {
unittest.expect(o, unittest.hasLength(2));
checkCondition(o[0]);
checkCondition(o[1]);
}
-buildUnnamed4887() {
+buildUnnamed4894() {
var o = new core.List<api.Parameter>();
o.add(buildParameter());
o.add(buildParameter());
return o;
}
-checkUnnamed4887(core.List<api.Parameter> o) {
+checkUnnamed4894(core.List<api.Parameter> o) {
unittest.expect(o, unittest.hasLength(2));
checkParameter(o[0]);
checkParameter(o[1]);
@@ -1341,13 +1341,13 @@
buildCounterTrigger++;
if (buildCounterTrigger < 3) {
o.accountId = "foo";
- o.autoEventFilter = buildUnnamed4884();
+ o.autoEventFilter = buildUnnamed4891();
o.checkValidation = buildParameter();
o.containerId = "foo";
o.continuousTimeMinMilliseconds = buildParameter();
- o.customEventFilter = buildUnnamed4885();
+ o.customEventFilter = buildUnnamed4892();
o.eventName = buildParameter();
- o.filter = buildUnnamed4886();
+ o.filter = buildUnnamed4893();
o.fingerprint = "foo";
o.horizontalScrollPercentageList = buildParameter();
o.interval = buildParameter();
@@ -1355,7 +1355,7 @@
o.limit = buildParameter();
o.maxTimerLengthSeconds = buildParameter();
o.name = "foo";
- o.parameter = buildUnnamed4887();
+ o.parameter = buildUnnamed4894();
o.parentFolderId = "foo";
o.selector = buildParameter();
o.totalTimeMinMilliseconds = buildParameter();
@@ -1377,13 +1377,13 @@
buildCounterTrigger++;
if (buildCounterTrigger < 3) {
unittest.expect(o.accountId, unittest.equals('foo'));
- checkUnnamed4884(o.autoEventFilter);
+ checkUnnamed4891(o.autoEventFilter);
checkParameter(o.checkValidation);
unittest.expect(o.containerId, unittest.equals('foo'));
checkParameter(o.continuousTimeMinMilliseconds);
- checkUnnamed4885(o.customEventFilter);
+ checkUnnamed4892(o.customEventFilter);
checkParameter(o.eventName);
- checkUnnamed4886(o.filter);
+ checkUnnamed4893(o.filter);
unittest.expect(o.fingerprint, unittest.equals('foo'));
checkParameter(o.horizontalScrollPercentageList);
checkParameter(o.interval);
@@ -1391,7 +1391,7 @@
checkParameter(o.limit);
checkParameter(o.maxTimerLengthSeconds);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed4887(o.parameter);
+ checkUnnamed4894(o.parameter);
unittest.expect(o.parentFolderId, unittest.equals('foo'));
checkParameter(o.selector);
checkParameter(o.totalTimeMinMilliseconds);
@@ -1408,14 +1408,14 @@
buildCounterTrigger--;
}
-buildUnnamed4888() {
+buildUnnamed4895() {
var o = new core.List<api.ContainerAccess>();
o.add(buildContainerAccess());
o.add(buildContainerAccess());
return o;
}
-checkUnnamed4888(core.List<api.ContainerAccess> o) {
+checkUnnamed4895(core.List<api.ContainerAccess> o) {
unittest.expect(o, unittest.hasLength(2));
checkContainerAccess(o[0]);
checkContainerAccess(o[1]);
@@ -1428,7 +1428,7 @@
if (buildCounterUserAccess < 3) {
o.accountAccess = buildAccountAccess();
o.accountId = "foo";
- o.containerAccess = buildUnnamed4888();
+ o.containerAccess = buildUnnamed4895();
o.emailAddress = "foo";
o.permissionId = "foo";
}
@@ -1441,47 +1441,47 @@
if (buildCounterUserAccess < 3) {
checkAccountAccess(o.accountAccess);
unittest.expect(o.accountId, unittest.equals('foo'));
- checkUnnamed4888(o.containerAccess);
+ checkUnnamed4895(o.containerAccess);
unittest.expect(o.emailAddress, unittest.equals('foo'));
unittest.expect(o.permissionId, unittest.equals('foo'));
}
buildCounterUserAccess--;
}
-buildUnnamed4889() {
+buildUnnamed4896() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4889(core.List<core.String> o) {
+checkUnnamed4896(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed4890() {
+buildUnnamed4897() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4890(core.List<core.String> o) {
+checkUnnamed4897(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed4891() {
+buildUnnamed4898() {
var o = new core.List<api.Parameter>();
o.add(buildParameter());
o.add(buildParameter());
return o;
}
-checkUnnamed4891(core.List<api.Parameter> o) {
+checkUnnamed4898(core.List<api.Parameter> o) {
unittest.expect(o, unittest.hasLength(2));
checkParameter(o[0]);
checkParameter(o[1]);
@@ -1494,12 +1494,12 @@
if (buildCounterVariable < 3) {
o.accountId = "foo";
o.containerId = "foo";
- o.disablingTriggerId = buildUnnamed4889();
- o.enablingTriggerId = buildUnnamed4890();
+ o.disablingTriggerId = buildUnnamed4896();
+ o.enablingTriggerId = buildUnnamed4897();
o.fingerprint = "foo";
o.name = "foo";
o.notes = "foo";
- o.parameter = buildUnnamed4891();
+ o.parameter = buildUnnamed4898();
o.parentFolderId = "foo";
o.scheduleEndMs = "foo";
o.scheduleStartMs = "foo";
@@ -1515,12 +1515,12 @@
if (buildCounterVariable < 3) {
unittest.expect(o.accountId, unittest.equals('foo'));
unittest.expect(o.containerId, unittest.equals('foo'));
- checkUnnamed4889(o.disablingTriggerId);
- checkUnnamed4890(o.enablingTriggerId);
+ checkUnnamed4896(o.disablingTriggerId);
+ checkUnnamed4897(o.enablingTriggerId);
unittest.expect(o.fingerprint, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.notes, unittest.equals('foo'));
- checkUnnamed4891(o.parameter);
+ checkUnnamed4898(o.parameter);
unittest.expect(o.parentFolderId, unittest.equals('foo'));
unittest.expect(o.scheduleEndMs, unittest.equals('foo'));
unittest.expect(o.scheduleStartMs, unittest.equals('foo'));
@@ -1530,40 +1530,40 @@
buildCounterVariable--;
}
-buildUnnamed4892() {
+buildUnnamed4899() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4892(core.List<core.String> o) {
+checkUnnamed4899(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed4893() {
+buildUnnamed4900() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4893(core.List<core.String> o) {
+checkUnnamed4900(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed4894() {
+buildUnnamed4901() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4894(core.List<core.String> o) {
+checkUnnamed4901(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3153,9 +3153,9 @@
var arg_accountId = "foo";
var arg_containerId = "foo";
var arg_folderId = "foo";
- var arg_tagId = buildUnnamed4892();
- var arg_triggerId = buildUnnamed4893();
- var arg_variableId = buildUnnamed4894();
+ var arg_variableId = buildUnnamed4899();
+ var arg_tagId = buildUnnamed4900();
+ var arg_triggerId = buildUnnamed4901();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.Folder.fromJson(json);
@@ -3211,10 +3211,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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["tagId"], unittest.equals(arg_tagId));
+ unittest.expect(queryMap["triggerId"], unittest.equals(arg_triggerId));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3225,9 +3225,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((_) {}));
});
diff --git a/generated/googleapis/test/tagmanager/v2_test.dart b/generated/googleapis/test/tagmanager/v2_test.dart
index 4d8d635..4ba716b 100644
--- a/generated/googleapis/test/tagmanager/v2_test.dart
+++ b/generated/googleapis/test/tagmanager/v2_test.dart
@@ -127,14 +127,14 @@
buildCounterBuiltInVariable--;
}
-buildUnnamed5296() {
+buildUnnamed5272() {
var o = new core.List<api.Parameter>();
o.add(buildParameter());
o.add(buildParameter());
return o;
}
-checkUnnamed5296(core.List<api.Parameter> o) {
+checkUnnamed5272(core.List<api.Parameter> o) {
unittest.expect(o, unittest.hasLength(2));
checkParameter(o[0]);
checkParameter(o[1]);
@@ -150,7 +150,7 @@
o.containerId = "foo";
o.fingerprint = "foo";
o.name = "foo";
- o.parameter = buildUnnamed5296();
+ o.parameter = buildUnnamed5272();
o.parentFolderId = "foo";
o.path = "foo";
o.priority = 42;
@@ -170,7 +170,7 @@
unittest.expect(o.containerId, unittest.equals('foo'));
unittest.expect(o.fingerprint, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed5296(o.parameter);
+ checkUnnamed5272(o.parameter);
unittest.expect(o.parentFolderId, unittest.equals('foo'));
unittest.expect(o.path, unittest.equals('foo'));
unittest.expect(o.priority, unittest.equals(42));
@@ -181,14 +181,14 @@
buildCounterClient--;
}
-buildUnnamed5297() {
+buildUnnamed5273() {
var o = new core.List<api.Parameter>();
o.add(buildParameter());
o.add(buildParameter());
return o;
}
-checkUnnamed5297(core.List<api.Parameter> o) {
+checkUnnamed5273(core.List<api.Parameter> o) {
unittest.expect(o, unittest.hasLength(2));
checkParameter(o[0]);
checkParameter(o[1]);
@@ -199,7 +199,7 @@
var o = new api.Condition();
buildCounterCondition++;
if (buildCounterCondition < 3) {
- o.parameter = buildUnnamed5297();
+ o.parameter = buildUnnamed5273();
o.type = "foo";
}
buildCounterCondition--;
@@ -209,33 +209,33 @@
checkCondition(api.Condition o) {
buildCounterCondition++;
if (buildCounterCondition < 3) {
- checkUnnamed5297(o.parameter);
+ checkUnnamed5273(o.parameter);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterCondition--;
}
-buildUnnamed5298() {
+buildUnnamed5274() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5298(core.List<core.String> o) {
+checkUnnamed5274(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed5299() {
+buildUnnamed5275() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5299(core.List<core.String> o) {
+checkUnnamed5275(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -248,14 +248,14 @@
if (buildCounterContainer < 3) {
o.accountId = "foo";
o.containerId = "foo";
- o.domainName = buildUnnamed5298();
+ o.domainName = buildUnnamed5274();
o.fingerprint = "foo";
o.name = "foo";
o.notes = "foo";
o.path = "foo";
o.publicId = "foo";
o.tagManagerUrl = "foo";
- o.usageContext = buildUnnamed5299();
+ o.usageContext = buildUnnamed5275();
}
buildCounterContainer--;
return o;
@@ -266,14 +266,14 @@
if (buildCounterContainer < 3) {
unittest.expect(o.accountId, unittest.equals('foo'));
unittest.expect(o.containerId, unittest.equals('foo'));
- checkUnnamed5298(o.domainName);
+ checkUnnamed5274(o.domainName);
unittest.expect(o.fingerprint, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.notes, unittest.equals('foo'));
unittest.expect(o.path, unittest.equals('foo'));
unittest.expect(o.publicId, unittest.equals('foo'));
unittest.expect(o.tagManagerUrl, unittest.equals('foo'));
- checkUnnamed5299(o.usageContext);
+ checkUnnamed5275(o.usageContext);
}
buildCounterContainer--;
}
@@ -299,105 +299,105 @@
buildCounterContainerAccess--;
}
-buildUnnamed5300() {
+buildUnnamed5276() {
var o = new core.List<api.BuiltInVariable>();
o.add(buildBuiltInVariable());
o.add(buildBuiltInVariable());
return o;
}
-checkUnnamed5300(core.List<api.BuiltInVariable> o) {
+checkUnnamed5276(core.List<api.BuiltInVariable> o) {
unittest.expect(o, unittest.hasLength(2));
checkBuiltInVariable(o[0]);
checkBuiltInVariable(o[1]);
}
-buildUnnamed5301() {
+buildUnnamed5277() {
var o = new core.List<api.Client>();
o.add(buildClient());
o.add(buildClient());
return o;
}
-checkUnnamed5301(core.List<api.Client> o) {
+checkUnnamed5277(core.List<api.Client> o) {
unittest.expect(o, unittest.hasLength(2));
checkClient(o[0]);
checkClient(o[1]);
}
-buildUnnamed5302() {
+buildUnnamed5278() {
var o = new core.List<api.CustomTemplate>();
o.add(buildCustomTemplate());
o.add(buildCustomTemplate());
return o;
}
-checkUnnamed5302(core.List<api.CustomTemplate> o) {
+checkUnnamed5278(core.List<api.CustomTemplate> o) {
unittest.expect(o, unittest.hasLength(2));
checkCustomTemplate(o[0]);
checkCustomTemplate(o[1]);
}
-buildUnnamed5303() {
+buildUnnamed5279() {
var o = new core.List<api.Folder>();
o.add(buildFolder());
o.add(buildFolder());
return o;
}
-checkUnnamed5303(core.List<api.Folder> o) {
+checkUnnamed5279(core.List<api.Folder> o) {
unittest.expect(o, unittest.hasLength(2));
checkFolder(o[0]);
checkFolder(o[1]);
}
-buildUnnamed5304() {
+buildUnnamed5280() {
var o = new core.List<api.Tag>();
o.add(buildTag());
o.add(buildTag());
return o;
}
-checkUnnamed5304(core.List<api.Tag> o) {
+checkUnnamed5280(core.List<api.Tag> o) {
unittest.expect(o, unittest.hasLength(2));
checkTag(o[0]);
checkTag(o[1]);
}
-buildUnnamed5305() {
+buildUnnamed5281() {
var o = new core.List<api.Trigger>();
o.add(buildTrigger());
o.add(buildTrigger());
return o;
}
-checkUnnamed5305(core.List<api.Trigger> o) {
+checkUnnamed5281(core.List<api.Trigger> o) {
unittest.expect(o, unittest.hasLength(2));
checkTrigger(o[0]);
checkTrigger(o[1]);
}
-buildUnnamed5306() {
+buildUnnamed5282() {
var o = new core.List<api.Variable>();
o.add(buildVariable());
o.add(buildVariable());
return o;
}
-checkUnnamed5306(core.List<api.Variable> o) {
+checkUnnamed5282(core.List<api.Variable> o) {
unittest.expect(o, unittest.hasLength(2));
checkVariable(o[0]);
checkVariable(o[1]);
}
-buildUnnamed5307() {
+buildUnnamed5283() {
var o = new core.List<api.Zone>();
o.add(buildZone());
o.add(buildZone());
return o;
}
-checkUnnamed5307(core.List<api.Zone> o) {
+checkUnnamed5283(core.List<api.Zone> o) {
unittest.expect(o, unittest.hasLength(2));
checkZone(o[0]);
checkZone(o[1]);
@@ -409,23 +409,23 @@
buildCounterContainerVersion++;
if (buildCounterContainerVersion < 3) {
o.accountId = "foo";
- o.builtInVariable = buildUnnamed5300();
- o.client = buildUnnamed5301();
+ o.builtInVariable = buildUnnamed5276();
+ o.client = buildUnnamed5277();
o.container = buildContainer();
o.containerId = "foo";
o.containerVersionId = "foo";
- o.customTemplate = buildUnnamed5302();
+ o.customTemplate = buildUnnamed5278();
o.deleted = true;
o.description = "foo";
o.fingerprint = "foo";
- o.folder = buildUnnamed5303();
+ o.folder = buildUnnamed5279();
o.name = "foo";
o.path = "foo";
- o.tag = buildUnnamed5304();
+ o.tag = buildUnnamed5280();
o.tagManagerUrl = "foo";
- o.trigger = buildUnnamed5305();
- o.variable = buildUnnamed5306();
- o.zone = buildUnnamed5307();
+ o.trigger = buildUnnamed5281();
+ o.variable = buildUnnamed5282();
+ o.zone = buildUnnamed5283();
}
buildCounterContainerVersion--;
return o;
@@ -435,23 +435,23 @@
buildCounterContainerVersion++;
if (buildCounterContainerVersion < 3) {
unittest.expect(o.accountId, unittest.equals('foo'));
- checkUnnamed5300(o.builtInVariable);
- checkUnnamed5301(o.client);
+ checkUnnamed5276(o.builtInVariable);
+ checkUnnamed5277(o.client);
checkContainer(o.container);
unittest.expect(o.containerId, unittest.equals('foo'));
unittest.expect(o.containerVersionId, unittest.equals('foo'));
- checkUnnamed5302(o.customTemplate);
+ checkUnnamed5278(o.customTemplate);
unittest.expect(o.deleted, unittest.isTrue);
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.fingerprint, unittest.equals('foo'));
- checkUnnamed5303(o.folder);
+ checkUnnamed5279(o.folder);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.path, unittest.equals('foo'));
- checkUnnamed5304(o.tag);
+ checkUnnamed5280(o.tag);
unittest.expect(o.tagManagerUrl, unittest.equals('foo'));
- checkUnnamed5305(o.trigger);
- checkUnnamed5306(o.variable);
- checkUnnamed5307(o.zone);
+ checkUnnamed5281(o.trigger);
+ checkUnnamed5282(o.variable);
+ checkUnnamed5283(o.zone);
}
buildCounterContainerVersion--;
}
@@ -499,14 +499,14 @@
buildCounterContainerVersionHeader--;
}
-buildUnnamed5308() {
+buildUnnamed5284() {
var o = new core.List<api.BuiltInVariable>();
o.add(buildBuiltInVariable());
o.add(buildBuiltInVariable());
return o;
}
-checkUnnamed5308(core.List<api.BuiltInVariable> o) {
+checkUnnamed5284(core.List<api.BuiltInVariable> o) {
unittest.expect(o, unittest.hasLength(2));
checkBuiltInVariable(o[0]);
checkBuiltInVariable(o[1]);
@@ -517,7 +517,7 @@
var o = new api.CreateBuiltInVariableResponse();
buildCounterCreateBuiltInVariableResponse++;
if (buildCounterCreateBuiltInVariableResponse < 3) {
- o.builtInVariable = buildUnnamed5308();
+ o.builtInVariable = buildUnnamed5284();
}
buildCounterCreateBuiltInVariableResponse--;
return o;
@@ -526,7 +526,7 @@
checkCreateBuiltInVariableResponse(api.CreateBuiltInVariableResponse o) {
buildCounterCreateBuiltInVariableResponse++;
if (buildCounterCreateBuiltInVariableResponse < 3) {
- checkUnnamed5308(o.builtInVariable);
+ checkUnnamed5284(o.builtInVariable);
}
buildCounterCreateBuiltInVariableResponse--;
}
@@ -724,40 +724,40 @@
buildCounterFolder--;
}
-buildUnnamed5309() {
+buildUnnamed5285() {
var o = new core.List<api.Tag>();
o.add(buildTag());
o.add(buildTag());
return o;
}
-checkUnnamed5309(core.List<api.Tag> o) {
+checkUnnamed5285(core.List<api.Tag> o) {
unittest.expect(o, unittest.hasLength(2));
checkTag(o[0]);
checkTag(o[1]);
}
-buildUnnamed5310() {
+buildUnnamed5286() {
var o = new core.List<api.Trigger>();
o.add(buildTrigger());
o.add(buildTrigger());
return o;
}
-checkUnnamed5310(core.List<api.Trigger> o) {
+checkUnnamed5286(core.List<api.Trigger> o) {
unittest.expect(o, unittest.hasLength(2));
checkTrigger(o[0]);
checkTrigger(o[1]);
}
-buildUnnamed5311() {
+buildUnnamed5287() {
var o = new core.List<api.Variable>();
o.add(buildVariable());
o.add(buildVariable());
return o;
}
-checkUnnamed5311(core.List<api.Variable> o) {
+checkUnnamed5287(core.List<api.Variable> o) {
unittest.expect(o, unittest.hasLength(2));
checkVariable(o[0]);
checkVariable(o[1]);
@@ -769,9 +769,9 @@
buildCounterFolderEntities++;
if (buildCounterFolderEntities < 3) {
o.nextPageToken = "foo";
- o.tag = buildUnnamed5309();
- o.trigger = buildUnnamed5310();
- o.variable = buildUnnamed5311();
+ o.tag = buildUnnamed5285();
+ o.trigger = buildUnnamed5286();
+ o.variable = buildUnnamed5287();
}
buildCounterFolderEntities--;
return o;
@@ -781,9 +781,9 @@
buildCounterFolderEntities++;
if (buildCounterFolderEntities < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed5309(o.tag);
- checkUnnamed5310(o.trigger);
- checkUnnamed5311(o.variable);
+ checkUnnamed5285(o.tag);
+ checkUnnamed5286(o.trigger);
+ checkUnnamed5287(o.variable);
}
buildCounterFolderEntities--;
}
@@ -817,27 +817,27 @@
buildCounterGalleryReference--;
}
-buildUnnamed5312() {
+buildUnnamed5288() {
var o = new core.List<api.MergeConflict>();
o.add(buildMergeConflict());
o.add(buildMergeConflict());
return o;
}
-checkUnnamed5312(core.List<api.MergeConflict> o) {
+checkUnnamed5288(core.List<api.MergeConflict> o) {
unittest.expect(o, unittest.hasLength(2));
checkMergeConflict(o[0]);
checkMergeConflict(o[1]);
}
-buildUnnamed5313() {
+buildUnnamed5289() {
var o = new core.List<api.Entity>();
o.add(buildEntity());
o.add(buildEntity());
return o;
}
-checkUnnamed5313(core.List<api.Entity> o) {
+checkUnnamed5289(core.List<api.Entity> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntity(o[0]);
checkEntity(o[1]);
@@ -848,8 +848,8 @@
var o = new api.GetWorkspaceStatusResponse();
buildCounterGetWorkspaceStatusResponse++;
if (buildCounterGetWorkspaceStatusResponse < 3) {
- o.mergeConflict = buildUnnamed5312();
- o.workspaceChange = buildUnnamed5313();
+ o.mergeConflict = buildUnnamed5288();
+ o.workspaceChange = buildUnnamed5289();
}
buildCounterGetWorkspaceStatusResponse--;
return o;
@@ -858,20 +858,20 @@
checkGetWorkspaceStatusResponse(api.GetWorkspaceStatusResponse o) {
buildCounterGetWorkspaceStatusResponse++;
if (buildCounterGetWorkspaceStatusResponse < 3) {
- checkUnnamed5312(o.mergeConflict);
- checkUnnamed5313(o.workspaceChange);
+ checkUnnamed5288(o.mergeConflict);
+ checkUnnamed5289(o.workspaceChange);
}
buildCounterGetWorkspaceStatusResponse--;
}
-buildUnnamed5314() {
+buildUnnamed5290() {
var o = new core.List<api.Account>();
o.add(buildAccount());
o.add(buildAccount());
return o;
}
-checkUnnamed5314(core.List<api.Account> o) {
+checkUnnamed5290(core.List<api.Account> o) {
unittest.expect(o, unittest.hasLength(2));
checkAccount(o[0]);
checkAccount(o[1]);
@@ -882,7 +882,7 @@
var o = new api.ListAccountsResponse();
buildCounterListAccountsResponse++;
if (buildCounterListAccountsResponse < 3) {
- o.account = buildUnnamed5314();
+ o.account = buildUnnamed5290();
o.nextPageToken = "foo";
}
buildCounterListAccountsResponse--;
@@ -892,20 +892,20 @@
checkListAccountsResponse(api.ListAccountsResponse o) {
buildCounterListAccountsResponse++;
if (buildCounterListAccountsResponse < 3) {
- checkUnnamed5314(o.account);
+ checkUnnamed5290(o.account);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListAccountsResponse--;
}
-buildUnnamed5315() {
+buildUnnamed5291() {
var o = new core.List<api.ContainerVersionHeader>();
o.add(buildContainerVersionHeader());
o.add(buildContainerVersionHeader());
return o;
}
-checkUnnamed5315(core.List<api.ContainerVersionHeader> o) {
+checkUnnamed5291(core.List<api.ContainerVersionHeader> o) {
unittest.expect(o, unittest.hasLength(2));
checkContainerVersionHeader(o[0]);
checkContainerVersionHeader(o[1]);
@@ -916,7 +916,7 @@
var o = new api.ListContainerVersionsResponse();
buildCounterListContainerVersionsResponse++;
if (buildCounterListContainerVersionsResponse < 3) {
- o.containerVersionHeader = buildUnnamed5315();
+ o.containerVersionHeader = buildUnnamed5291();
o.nextPageToken = "foo";
}
buildCounterListContainerVersionsResponse--;
@@ -926,20 +926,20 @@
checkListContainerVersionsResponse(api.ListContainerVersionsResponse o) {
buildCounterListContainerVersionsResponse++;
if (buildCounterListContainerVersionsResponse < 3) {
- checkUnnamed5315(o.containerVersionHeader);
+ checkUnnamed5291(o.containerVersionHeader);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListContainerVersionsResponse--;
}
-buildUnnamed5316() {
+buildUnnamed5292() {
var o = new core.List<api.Container>();
o.add(buildContainer());
o.add(buildContainer());
return o;
}
-checkUnnamed5316(core.List<api.Container> o) {
+checkUnnamed5292(core.List<api.Container> o) {
unittest.expect(o, unittest.hasLength(2));
checkContainer(o[0]);
checkContainer(o[1]);
@@ -950,7 +950,7 @@
var o = new api.ListContainersResponse();
buildCounterListContainersResponse++;
if (buildCounterListContainersResponse < 3) {
- o.container = buildUnnamed5316();
+ o.container = buildUnnamed5292();
o.nextPageToken = "foo";
}
buildCounterListContainersResponse--;
@@ -960,20 +960,20 @@
checkListContainersResponse(api.ListContainersResponse o) {
buildCounterListContainersResponse++;
if (buildCounterListContainersResponse < 3) {
- checkUnnamed5316(o.container);
+ checkUnnamed5292(o.container);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListContainersResponse--;
}
-buildUnnamed5317() {
+buildUnnamed5293() {
var o = new core.List<api.BuiltInVariable>();
o.add(buildBuiltInVariable());
o.add(buildBuiltInVariable());
return o;
}
-checkUnnamed5317(core.List<api.BuiltInVariable> o) {
+checkUnnamed5293(core.List<api.BuiltInVariable> o) {
unittest.expect(o, unittest.hasLength(2));
checkBuiltInVariable(o[0]);
checkBuiltInVariable(o[1]);
@@ -984,7 +984,7 @@
var o = new api.ListEnabledBuiltInVariablesResponse();
buildCounterListEnabledBuiltInVariablesResponse++;
if (buildCounterListEnabledBuiltInVariablesResponse < 3) {
- o.builtInVariable = buildUnnamed5317();
+ o.builtInVariable = buildUnnamed5293();
o.nextPageToken = "foo";
}
buildCounterListEnabledBuiltInVariablesResponse--;
@@ -995,20 +995,20 @@
api.ListEnabledBuiltInVariablesResponse o) {
buildCounterListEnabledBuiltInVariablesResponse++;
if (buildCounterListEnabledBuiltInVariablesResponse < 3) {
- checkUnnamed5317(o.builtInVariable);
+ checkUnnamed5293(o.builtInVariable);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListEnabledBuiltInVariablesResponse--;
}
-buildUnnamed5318() {
+buildUnnamed5294() {
var o = new core.List<api.Environment>();
o.add(buildEnvironment());
o.add(buildEnvironment());
return o;
}
-checkUnnamed5318(core.List<api.Environment> o) {
+checkUnnamed5294(core.List<api.Environment> o) {
unittest.expect(o, unittest.hasLength(2));
checkEnvironment(o[0]);
checkEnvironment(o[1]);
@@ -1019,7 +1019,7 @@
var o = new api.ListEnvironmentsResponse();
buildCounterListEnvironmentsResponse++;
if (buildCounterListEnvironmentsResponse < 3) {
- o.environment = buildUnnamed5318();
+ o.environment = buildUnnamed5294();
o.nextPageToken = "foo";
}
buildCounterListEnvironmentsResponse--;
@@ -1029,20 +1029,20 @@
checkListEnvironmentsResponse(api.ListEnvironmentsResponse o) {
buildCounterListEnvironmentsResponse++;
if (buildCounterListEnvironmentsResponse < 3) {
- checkUnnamed5318(o.environment);
+ checkUnnamed5294(o.environment);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListEnvironmentsResponse--;
}
-buildUnnamed5319() {
+buildUnnamed5295() {
var o = new core.List<api.Folder>();
o.add(buildFolder());
o.add(buildFolder());
return o;
}
-checkUnnamed5319(core.List<api.Folder> o) {
+checkUnnamed5295(core.List<api.Folder> o) {
unittest.expect(o, unittest.hasLength(2));
checkFolder(o[0]);
checkFolder(o[1]);
@@ -1053,7 +1053,7 @@
var o = new api.ListFoldersResponse();
buildCounterListFoldersResponse++;
if (buildCounterListFoldersResponse < 3) {
- o.folder = buildUnnamed5319();
+ o.folder = buildUnnamed5295();
o.nextPageToken = "foo";
}
buildCounterListFoldersResponse--;
@@ -1063,20 +1063,20 @@
checkListFoldersResponse(api.ListFoldersResponse o) {
buildCounterListFoldersResponse++;
if (buildCounterListFoldersResponse < 3) {
- checkUnnamed5319(o.folder);
+ checkUnnamed5295(o.folder);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListFoldersResponse--;
}
-buildUnnamed5320() {
+buildUnnamed5296() {
var o = new core.List<api.Tag>();
o.add(buildTag());
o.add(buildTag());
return o;
}
-checkUnnamed5320(core.List<api.Tag> o) {
+checkUnnamed5296(core.List<api.Tag> o) {
unittest.expect(o, unittest.hasLength(2));
checkTag(o[0]);
checkTag(o[1]);
@@ -1088,7 +1088,7 @@
buildCounterListTagsResponse++;
if (buildCounterListTagsResponse < 3) {
o.nextPageToken = "foo";
- o.tag = buildUnnamed5320();
+ o.tag = buildUnnamed5296();
}
buildCounterListTagsResponse--;
return o;
@@ -1098,19 +1098,19 @@
buildCounterListTagsResponse++;
if (buildCounterListTagsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed5320(o.tag);
+ checkUnnamed5296(o.tag);
}
buildCounterListTagsResponse--;
}
-buildUnnamed5321() {
+buildUnnamed5297() {
var o = new core.List<api.CustomTemplate>();
o.add(buildCustomTemplate());
o.add(buildCustomTemplate());
return o;
}
-checkUnnamed5321(core.List<api.CustomTemplate> o) {
+checkUnnamed5297(core.List<api.CustomTemplate> o) {
unittest.expect(o, unittest.hasLength(2));
checkCustomTemplate(o[0]);
checkCustomTemplate(o[1]);
@@ -1122,7 +1122,7 @@
buildCounterListTemplatesResponse++;
if (buildCounterListTemplatesResponse < 3) {
o.nextPageToken = "foo";
- o.template = buildUnnamed5321();
+ o.template = buildUnnamed5297();
}
buildCounterListTemplatesResponse--;
return o;
@@ -1132,19 +1132,19 @@
buildCounterListTemplatesResponse++;
if (buildCounterListTemplatesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed5321(o.template);
+ checkUnnamed5297(o.template);
}
buildCounterListTemplatesResponse--;
}
-buildUnnamed5322() {
+buildUnnamed5298() {
var o = new core.List<api.Trigger>();
o.add(buildTrigger());
o.add(buildTrigger());
return o;
}
-checkUnnamed5322(core.List<api.Trigger> o) {
+checkUnnamed5298(core.List<api.Trigger> o) {
unittest.expect(o, unittest.hasLength(2));
checkTrigger(o[0]);
checkTrigger(o[1]);
@@ -1156,7 +1156,7 @@
buildCounterListTriggersResponse++;
if (buildCounterListTriggersResponse < 3) {
o.nextPageToken = "foo";
- o.trigger = buildUnnamed5322();
+ o.trigger = buildUnnamed5298();
}
buildCounterListTriggersResponse--;
return o;
@@ -1166,19 +1166,19 @@
buildCounterListTriggersResponse++;
if (buildCounterListTriggersResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed5322(o.trigger);
+ checkUnnamed5298(o.trigger);
}
buildCounterListTriggersResponse--;
}
-buildUnnamed5323() {
+buildUnnamed5299() {
var o = new core.List<api.UserPermission>();
o.add(buildUserPermission());
o.add(buildUserPermission());
return o;
}
-checkUnnamed5323(core.List<api.UserPermission> o) {
+checkUnnamed5299(core.List<api.UserPermission> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserPermission(o[0]);
checkUserPermission(o[1]);
@@ -1190,7 +1190,7 @@
buildCounterListUserPermissionsResponse++;
if (buildCounterListUserPermissionsResponse < 3) {
o.nextPageToken = "foo";
- o.userPermission = buildUnnamed5323();
+ o.userPermission = buildUnnamed5299();
}
buildCounterListUserPermissionsResponse--;
return o;
@@ -1200,19 +1200,19 @@
buildCounterListUserPermissionsResponse++;
if (buildCounterListUserPermissionsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed5323(o.userPermission);
+ checkUnnamed5299(o.userPermission);
}
buildCounterListUserPermissionsResponse--;
}
-buildUnnamed5324() {
+buildUnnamed5300() {
var o = new core.List<api.Variable>();
o.add(buildVariable());
o.add(buildVariable());
return o;
}
-checkUnnamed5324(core.List<api.Variable> o) {
+checkUnnamed5300(core.List<api.Variable> o) {
unittest.expect(o, unittest.hasLength(2));
checkVariable(o[0]);
checkVariable(o[1]);
@@ -1224,7 +1224,7 @@
buildCounterListVariablesResponse++;
if (buildCounterListVariablesResponse < 3) {
o.nextPageToken = "foo";
- o.variable = buildUnnamed5324();
+ o.variable = buildUnnamed5300();
}
buildCounterListVariablesResponse--;
return o;
@@ -1234,19 +1234,19 @@
buildCounterListVariablesResponse++;
if (buildCounterListVariablesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed5324(o.variable);
+ checkUnnamed5300(o.variable);
}
buildCounterListVariablesResponse--;
}
-buildUnnamed5325() {
+buildUnnamed5301() {
var o = new core.List<api.Workspace>();
o.add(buildWorkspace());
o.add(buildWorkspace());
return o;
}
-checkUnnamed5325(core.List<api.Workspace> o) {
+checkUnnamed5301(core.List<api.Workspace> o) {
unittest.expect(o, unittest.hasLength(2));
checkWorkspace(o[0]);
checkWorkspace(o[1]);
@@ -1258,7 +1258,7 @@
buildCounterListWorkspacesResponse++;
if (buildCounterListWorkspacesResponse < 3) {
o.nextPageToken = "foo";
- o.workspace = buildUnnamed5325();
+ o.workspace = buildUnnamed5301();
}
buildCounterListWorkspacesResponse--;
return o;
@@ -1268,19 +1268,19 @@
buildCounterListWorkspacesResponse++;
if (buildCounterListWorkspacesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed5325(o.workspace);
+ checkUnnamed5301(o.workspace);
}
buildCounterListWorkspacesResponse--;
}
-buildUnnamed5326() {
+buildUnnamed5302() {
var o = new core.List<api.Zone>();
o.add(buildZone());
o.add(buildZone());
return o;
}
-checkUnnamed5326(core.List<api.Zone> o) {
+checkUnnamed5302(core.List<api.Zone> o) {
unittest.expect(o, unittest.hasLength(2));
checkZone(o[0]);
checkZone(o[1]);
@@ -1292,7 +1292,7 @@
buildCounterListZonesResponse++;
if (buildCounterListZonesResponse < 3) {
o.nextPageToken = "foo";
- o.zone = buildUnnamed5326();
+ o.zone = buildUnnamed5302();
}
buildCounterListZonesResponse--;
return o;
@@ -1302,7 +1302,7 @@
buildCounterListZonesResponse++;
if (buildCounterListZonesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed5326(o.zone);
+ checkUnnamed5302(o.zone);
}
buildCounterListZonesResponse--;
}
@@ -1328,27 +1328,27 @@
buildCounterMergeConflict--;
}
-buildUnnamed5327() {
+buildUnnamed5303() {
var o = new core.List<api.Parameter>();
o.add(buildParameter());
o.add(buildParameter());
return o;
}
-checkUnnamed5327(core.List<api.Parameter> o) {
+checkUnnamed5303(core.List<api.Parameter> o) {
unittest.expect(o, unittest.hasLength(2));
checkParameter(o[0]);
checkParameter(o[1]);
}
-buildUnnamed5328() {
+buildUnnamed5304() {
var o = new core.List<api.Parameter>();
o.add(buildParameter());
o.add(buildParameter());
return o;
}
-checkUnnamed5328(core.List<api.Parameter> o) {
+checkUnnamed5304(core.List<api.Parameter> o) {
unittest.expect(o, unittest.hasLength(2));
checkParameter(o[0]);
checkParameter(o[1]);
@@ -1360,8 +1360,8 @@
buildCounterParameter++;
if (buildCounterParameter < 3) {
o.key = "foo";
- o.list = buildUnnamed5327();
- o.map = buildUnnamed5328();
+ o.list = buildUnnamed5303();
+ o.map = buildUnnamed5304();
o.type = "foo";
o.value = "foo";
}
@@ -1373,8 +1373,8 @@
buildCounterParameter++;
if (buildCounterParameter < 3) {
unittest.expect(o.key, unittest.equals('foo'));
- checkUnnamed5327(o.list);
- checkUnnamed5328(o.map);
+ checkUnnamed5303(o.list);
+ checkUnnamed5304(o.map);
unittest.expect(o.type, unittest.equals('foo'));
unittest.expect(o.value, unittest.equals('foo'));
}
@@ -1600,14 +1600,14 @@
buildCounterSyncStatus--;
}
-buildUnnamed5329() {
+buildUnnamed5305() {
var o = new core.List<api.MergeConflict>();
o.add(buildMergeConflict());
o.add(buildMergeConflict());
return o;
}
-checkUnnamed5329(core.List<api.MergeConflict> o) {
+checkUnnamed5305(core.List<api.MergeConflict> o) {
unittest.expect(o, unittest.hasLength(2));
checkMergeConflict(o[0]);
checkMergeConflict(o[1]);
@@ -1618,7 +1618,7 @@
var o = new api.SyncWorkspaceResponse();
buildCounterSyncWorkspaceResponse++;
if (buildCounterSyncWorkspaceResponse < 3) {
- o.mergeConflict = buildUnnamed5329();
+ o.mergeConflict = buildUnnamed5305();
o.syncStatus = buildSyncStatus();
}
buildCounterSyncWorkspaceResponse--;
@@ -1628,98 +1628,98 @@
checkSyncWorkspaceResponse(api.SyncWorkspaceResponse o) {
buildCounterSyncWorkspaceResponse++;
if (buildCounterSyncWorkspaceResponse < 3) {
- checkUnnamed5329(o.mergeConflict);
+ checkUnnamed5305(o.mergeConflict);
checkSyncStatus(o.syncStatus);
}
buildCounterSyncWorkspaceResponse--;
}
-buildUnnamed5330() {
+buildUnnamed5306() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5330(core.List<core.String> o) {
+checkUnnamed5306(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed5331() {
+buildUnnamed5307() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5331(core.List<core.String> o) {
+checkUnnamed5307(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed5332() {
+buildUnnamed5308() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5332(core.List<core.String> o) {
+checkUnnamed5308(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed5333() {
+buildUnnamed5309() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5333(core.List<core.String> o) {
+checkUnnamed5309(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed5334() {
+buildUnnamed5310() {
var o = new core.List<api.Parameter>();
o.add(buildParameter());
o.add(buildParameter());
return o;
}
-checkUnnamed5334(core.List<api.Parameter> o) {
+checkUnnamed5310(core.List<api.Parameter> o) {
unittest.expect(o, unittest.hasLength(2));
checkParameter(o[0]);
checkParameter(o[1]);
}
-buildUnnamed5335() {
+buildUnnamed5311() {
var o = new core.List<api.SetupTag>();
o.add(buildSetupTag());
o.add(buildSetupTag());
return o;
}
-checkUnnamed5335(core.List<api.SetupTag> o) {
+checkUnnamed5311(core.List<api.SetupTag> o) {
unittest.expect(o, unittest.hasLength(2));
checkSetupTag(o[0]);
checkSetupTag(o[1]);
}
-buildUnnamed5336() {
+buildUnnamed5312() {
var o = new core.List<api.TeardownTag>();
o.add(buildTeardownTag());
o.add(buildTeardownTag());
return o;
}
-checkUnnamed5336(core.List<api.TeardownTag> o) {
+checkUnnamed5312(core.List<api.TeardownTag> o) {
unittest.expect(o, unittest.hasLength(2));
checkTeardownTag(o[0]);
checkTeardownTag(o[1]);
@@ -1731,29 +1731,29 @@
buildCounterTag++;
if (buildCounterTag < 3) {
o.accountId = "foo";
- o.blockingRuleId = buildUnnamed5330();
- o.blockingTriggerId = buildUnnamed5331();
+ o.blockingRuleId = buildUnnamed5306();
+ o.blockingTriggerId = buildUnnamed5307();
o.containerId = "foo";
o.fingerprint = "foo";
- o.firingRuleId = buildUnnamed5332();
- o.firingTriggerId = buildUnnamed5333();
+ o.firingRuleId = buildUnnamed5308();
+ o.firingTriggerId = buildUnnamed5309();
o.liveOnly = true;
o.monitoringMetadata = buildParameter();
o.monitoringMetadataTagNameKey = "foo";
o.name = "foo";
o.notes = "foo";
- o.parameter = buildUnnamed5334();
+ o.parameter = buildUnnamed5310();
o.parentFolderId = "foo";
o.path = "foo";
o.paused = true;
o.priority = buildParameter();
o.scheduleEndMs = "foo";
o.scheduleStartMs = "foo";
- o.setupTag = buildUnnamed5335();
+ o.setupTag = buildUnnamed5311();
o.tagFiringOption = "foo";
o.tagId = "foo";
o.tagManagerUrl = "foo";
- o.teardownTag = buildUnnamed5336();
+ o.teardownTag = buildUnnamed5312();
o.type = "foo";
o.workspaceId = "foo";
}
@@ -1765,29 +1765,29 @@
buildCounterTag++;
if (buildCounterTag < 3) {
unittest.expect(o.accountId, unittest.equals('foo'));
- checkUnnamed5330(o.blockingRuleId);
- checkUnnamed5331(o.blockingTriggerId);
+ checkUnnamed5306(o.blockingRuleId);
+ checkUnnamed5307(o.blockingTriggerId);
unittest.expect(o.containerId, unittest.equals('foo'));
unittest.expect(o.fingerprint, unittest.equals('foo'));
- checkUnnamed5332(o.firingRuleId);
- checkUnnamed5333(o.firingTriggerId);
+ checkUnnamed5308(o.firingRuleId);
+ checkUnnamed5309(o.firingTriggerId);
unittest.expect(o.liveOnly, unittest.isTrue);
checkParameter(o.monitoringMetadata);
unittest.expect(o.monitoringMetadataTagNameKey, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.notes, unittest.equals('foo'));
- checkUnnamed5334(o.parameter);
+ checkUnnamed5310(o.parameter);
unittest.expect(o.parentFolderId, unittest.equals('foo'));
unittest.expect(o.path, unittest.equals('foo'));
unittest.expect(o.paused, unittest.isTrue);
checkParameter(o.priority);
unittest.expect(o.scheduleEndMs, unittest.equals('foo'));
unittest.expect(o.scheduleStartMs, unittest.equals('foo'));
- checkUnnamed5335(o.setupTag);
+ checkUnnamed5311(o.setupTag);
unittest.expect(o.tagFiringOption, unittest.equals('foo'));
unittest.expect(o.tagId, unittest.equals('foo'));
unittest.expect(o.tagManagerUrl, unittest.equals('foo'));
- checkUnnamed5336(o.teardownTag);
+ checkUnnamed5312(o.teardownTag);
unittest.expect(o.type, unittest.equals('foo'));
unittest.expect(o.workspaceId, unittest.equals('foo'));
}
@@ -1815,53 +1815,53 @@
buildCounterTeardownTag--;
}
-buildUnnamed5337() {
+buildUnnamed5313() {
var o = new core.List<api.Condition>();
o.add(buildCondition());
o.add(buildCondition());
return o;
}
-checkUnnamed5337(core.List<api.Condition> o) {
+checkUnnamed5313(core.List<api.Condition> o) {
unittest.expect(o, unittest.hasLength(2));
checkCondition(o[0]);
checkCondition(o[1]);
}
-buildUnnamed5338() {
+buildUnnamed5314() {
var o = new core.List<api.Condition>();
o.add(buildCondition());
o.add(buildCondition());
return o;
}
-checkUnnamed5338(core.List<api.Condition> o) {
+checkUnnamed5314(core.List<api.Condition> o) {
unittest.expect(o, unittest.hasLength(2));
checkCondition(o[0]);
checkCondition(o[1]);
}
-buildUnnamed5339() {
+buildUnnamed5315() {
var o = new core.List<api.Condition>();
o.add(buildCondition());
o.add(buildCondition());
return o;
}
-checkUnnamed5339(core.List<api.Condition> o) {
+checkUnnamed5315(core.List<api.Condition> o) {
unittest.expect(o, unittest.hasLength(2));
checkCondition(o[0]);
checkCondition(o[1]);
}
-buildUnnamed5340() {
+buildUnnamed5316() {
var o = new core.List<api.Parameter>();
o.add(buildParameter());
o.add(buildParameter());
return o;
}
-checkUnnamed5340(core.List<api.Parameter> o) {
+checkUnnamed5316(core.List<api.Parameter> o) {
unittest.expect(o, unittest.hasLength(2));
checkParameter(o[0]);
checkParameter(o[1]);
@@ -1873,13 +1873,13 @@
buildCounterTrigger++;
if (buildCounterTrigger < 3) {
o.accountId = "foo";
- o.autoEventFilter = buildUnnamed5337();
+ o.autoEventFilter = buildUnnamed5313();
o.checkValidation = buildParameter();
o.containerId = "foo";
o.continuousTimeMinMilliseconds = buildParameter();
- o.customEventFilter = buildUnnamed5338();
+ o.customEventFilter = buildUnnamed5314();
o.eventName = buildParameter();
- o.filter = buildUnnamed5339();
+ o.filter = buildUnnamed5315();
o.fingerprint = "foo";
o.horizontalScrollPercentageList = buildParameter();
o.interval = buildParameter();
@@ -1888,7 +1888,7 @@
o.maxTimerLengthSeconds = buildParameter();
o.name = "foo";
o.notes = "foo";
- o.parameter = buildUnnamed5340();
+ o.parameter = buildUnnamed5316();
o.parentFolderId = "foo";
o.path = "foo";
o.selector = buildParameter();
@@ -1913,13 +1913,13 @@
buildCounterTrigger++;
if (buildCounterTrigger < 3) {
unittest.expect(o.accountId, unittest.equals('foo'));
- checkUnnamed5337(o.autoEventFilter);
+ checkUnnamed5313(o.autoEventFilter);
checkParameter(o.checkValidation);
unittest.expect(o.containerId, unittest.equals('foo'));
checkParameter(o.continuousTimeMinMilliseconds);
- checkUnnamed5338(o.customEventFilter);
+ checkUnnamed5314(o.customEventFilter);
checkParameter(o.eventName);
- checkUnnamed5339(o.filter);
+ checkUnnamed5315(o.filter);
unittest.expect(o.fingerprint, unittest.equals('foo'));
checkParameter(o.horizontalScrollPercentageList);
checkParameter(o.interval);
@@ -1928,7 +1928,7 @@
checkParameter(o.maxTimerLengthSeconds);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.notes, unittest.equals('foo'));
- checkUnnamed5340(o.parameter);
+ checkUnnamed5316(o.parameter);
unittest.expect(o.parentFolderId, unittest.equals('foo'));
unittest.expect(o.path, unittest.equals('foo'));
checkParameter(o.selector);
@@ -1948,14 +1948,14 @@
buildCounterTrigger--;
}
-buildUnnamed5341() {
+buildUnnamed5317() {
var o = new core.List<api.ContainerAccess>();
o.add(buildContainerAccess());
o.add(buildContainerAccess());
return o;
}
-checkUnnamed5341(core.List<api.ContainerAccess> o) {
+checkUnnamed5317(core.List<api.ContainerAccess> o) {
unittest.expect(o, unittest.hasLength(2));
checkContainerAccess(o[0]);
checkContainerAccess(o[1]);
@@ -1968,7 +1968,7 @@
if (buildCounterUserPermission < 3) {
o.accountAccess = buildAccountAccess();
o.accountId = "foo";
- o.containerAccess = buildUnnamed5341();
+ o.containerAccess = buildUnnamed5317();
o.emailAddress = "foo";
o.path = "foo";
}
@@ -1981,47 +1981,47 @@
if (buildCounterUserPermission < 3) {
checkAccountAccess(o.accountAccess);
unittest.expect(o.accountId, unittest.equals('foo'));
- checkUnnamed5341(o.containerAccess);
+ checkUnnamed5317(o.containerAccess);
unittest.expect(o.emailAddress, unittest.equals('foo'));
unittest.expect(o.path, unittest.equals('foo'));
}
buildCounterUserPermission--;
}
-buildUnnamed5342() {
+buildUnnamed5318() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5342(core.List<core.String> o) {
+checkUnnamed5318(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed5343() {
+buildUnnamed5319() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5343(core.List<core.String> o) {
+checkUnnamed5319(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed5344() {
+buildUnnamed5320() {
var o = new core.List<api.Parameter>();
o.add(buildParameter());
o.add(buildParameter());
return o;
}
-checkUnnamed5344(core.List<api.Parameter> o) {
+checkUnnamed5320(core.List<api.Parameter> o) {
unittest.expect(o, unittest.hasLength(2));
checkParameter(o[0]);
checkParameter(o[1]);
@@ -2034,13 +2034,13 @@
if (buildCounterVariable < 3) {
o.accountId = "foo";
o.containerId = "foo";
- o.disablingTriggerId = buildUnnamed5342();
- o.enablingTriggerId = buildUnnamed5343();
+ o.disablingTriggerId = buildUnnamed5318();
+ o.enablingTriggerId = buildUnnamed5319();
o.fingerprint = "foo";
o.formatValue = buildVariableFormatValue();
o.name = "foo";
o.notes = "foo";
- o.parameter = buildUnnamed5344();
+ o.parameter = buildUnnamed5320();
o.parentFolderId = "foo";
o.path = "foo";
o.scheduleEndMs = "foo";
@@ -2059,13 +2059,13 @@
if (buildCounterVariable < 3) {
unittest.expect(o.accountId, unittest.equals('foo'));
unittest.expect(o.containerId, unittest.equals('foo'));
- checkUnnamed5342(o.disablingTriggerId);
- checkUnnamed5343(o.enablingTriggerId);
+ checkUnnamed5318(o.disablingTriggerId);
+ checkUnnamed5319(o.enablingTriggerId);
unittest.expect(o.fingerprint, unittest.equals('foo'));
checkVariableFormatValue(o.formatValue);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.notes, unittest.equals('foo'));
- checkUnnamed5344(o.parameter);
+ checkUnnamed5320(o.parameter);
unittest.expect(o.parentFolderId, unittest.equals('foo'));
unittest.expect(o.path, unittest.equals('foo'));
unittest.expect(o.scheduleEndMs, unittest.equals('foo'));
@@ -2138,14 +2138,14 @@
buildCounterWorkspace--;
}
-buildUnnamed5345() {
+buildUnnamed5321() {
var o = new core.List<api.ZoneChildContainer>();
o.add(buildZoneChildContainer());
o.add(buildZoneChildContainer());
return o;
}
-checkUnnamed5345(core.List<api.ZoneChildContainer> o) {
+checkUnnamed5321(core.List<api.ZoneChildContainer> o) {
unittest.expect(o, unittest.hasLength(2));
checkZoneChildContainer(o[0]);
checkZoneChildContainer(o[1]);
@@ -2158,7 +2158,7 @@
if (buildCounterZone < 3) {
o.accountId = "foo";
o.boundary = buildZoneBoundary();
- o.childContainer = buildUnnamed5345();
+ o.childContainer = buildUnnamed5321();
o.containerId = "foo";
o.fingerprint = "foo";
o.name = "foo";
@@ -2178,7 +2178,7 @@
if (buildCounterZone < 3) {
unittest.expect(o.accountId, unittest.equals('foo'));
checkZoneBoundary(o.boundary);
- checkUnnamed5345(o.childContainer);
+ checkUnnamed5321(o.childContainer);
unittest.expect(o.containerId, unittest.equals('foo'));
unittest.expect(o.fingerprint, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
@@ -2192,27 +2192,27 @@
buildCounterZone--;
}
-buildUnnamed5346() {
+buildUnnamed5322() {
var o = new core.List<api.Condition>();
o.add(buildCondition());
o.add(buildCondition());
return o;
}
-checkUnnamed5346(core.List<api.Condition> o) {
+checkUnnamed5322(core.List<api.Condition> o) {
unittest.expect(o, unittest.hasLength(2));
checkCondition(o[0]);
checkCondition(o[1]);
}
-buildUnnamed5347() {
+buildUnnamed5323() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5347(core.List<core.String> o) {
+checkUnnamed5323(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2223,8 +2223,8 @@
var o = new api.ZoneBoundary();
buildCounterZoneBoundary++;
if (buildCounterZoneBoundary < 3) {
- o.condition = buildUnnamed5346();
- o.customEvaluationTriggerId = buildUnnamed5347();
+ o.condition = buildUnnamed5322();
+ o.customEvaluationTriggerId = buildUnnamed5323();
}
buildCounterZoneBoundary--;
return o;
@@ -2233,8 +2233,8 @@
checkZoneBoundary(api.ZoneBoundary o) {
buildCounterZoneBoundary++;
if (buildCounterZoneBoundary < 3) {
- checkUnnamed5346(o.condition);
- checkUnnamed5347(o.customEvaluationTriggerId);
+ checkUnnamed5322(o.condition);
+ checkUnnamed5323(o.customEvaluationTriggerId);
}
buildCounterZoneBoundary--;
}
@@ -2260,14 +2260,14 @@
buildCounterZoneChildContainer--;
}
-buildUnnamed5348() {
+buildUnnamed5324() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5348(core.List<core.String> o) {
+checkUnnamed5324(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2279,7 +2279,7 @@
buildCounterZoneTypeRestriction++;
if (buildCounterZoneTypeRestriction < 3) {
o.enable = true;
- o.whitelistedTypeId = buildUnnamed5348();
+ o.whitelistedTypeId = buildUnnamed5324();
}
buildCounterZoneTypeRestriction--;
return o;
@@ -2289,71 +2289,71 @@
buildCounterZoneTypeRestriction++;
if (buildCounterZoneTypeRestriction < 3) {
unittest.expect(o.enable, unittest.isTrue);
- checkUnnamed5348(o.whitelistedTypeId);
+ checkUnnamed5324(o.whitelistedTypeId);
}
buildCounterZoneTypeRestriction--;
}
-buildUnnamed5349() {
+buildUnnamed5325() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5349(core.List<core.String> o) {
+checkUnnamed5325(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed5350() {
+buildUnnamed5326() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5350(core.List<core.String> o) {
+checkUnnamed5326(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed5351() {
+buildUnnamed5327() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5351(core.List<core.String> o) {
+checkUnnamed5327(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed5352() {
+buildUnnamed5328() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5352(core.List<core.String> o) {
+checkUnnamed5328(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed5353() {
+buildUnnamed5329() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5353(core.List<core.String> o) {
+checkUnnamed5329(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -4638,7 +4638,7 @@
.workspaces
.builtInVariables;
var arg_parent = "foo";
- var arg_type = buildUnnamed5349();
+ var arg_type = buildUnnamed5325();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -4696,7 +4696,7 @@
.workspaces
.builtInVariables;
var arg_path = "foo";
- var arg_type = buildUnnamed5350();
+ var arg_type = buildUnnamed5326();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -5137,9 +5137,9 @@
new api.TagmanagerApi(mock).accounts.containers.workspaces.folders;
var arg_request = buildFolder();
var arg_path = "foo";
- var arg_variableId = buildUnnamed5351();
- var arg_triggerId = buildUnnamed5352();
- var arg_tagId = buildUnnamed5353();
+ var arg_variableId = buildUnnamed5327();
+ var arg_triggerId = buildUnnamed5328();
+ var arg_tagId = buildUnnamed5329();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.Folder.fromJson(json);
diff --git a/generated/googleapis/test/tasks/v1_test.dart b/generated/googleapis/test/tasks/v1_test.dart
index 593274b..76986d9 100644
--- a/generated/googleapis/test/tasks/v1_test.dart
+++ b/generated/googleapis/test/tasks/v1_test.dart
@@ -73,14 +73,14 @@
buildCounterTaskLinks--;
}
-buildUnnamed564() {
+buildUnnamed565() {
var o = new core.List<api.TaskLinks>();
o.add(buildTaskLinks());
o.add(buildTaskLinks());
return o;
}
-checkUnnamed564(core.List<api.TaskLinks> o) {
+checkUnnamed565(core.List<api.TaskLinks> o) {
unittest.expect(o, unittest.hasLength(2));
checkTaskLinks(o[0]);
checkTaskLinks(o[1]);
@@ -98,7 +98,7 @@
o.hidden = true;
o.id = "foo";
o.kind = "foo";
- o.links = buildUnnamed564();
+ o.links = buildUnnamed565();
o.notes = "foo";
o.parent = "foo";
o.position = "foo";
@@ -121,7 +121,7 @@
unittest.expect(o.hidden, unittest.isTrue);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed564(o.links);
+ checkUnnamed565(o.links);
unittest.expect(o.notes, unittest.equals('foo'));
unittest.expect(o.parent, unittest.equals('foo'));
unittest.expect(o.position, unittest.equals('foo'));
@@ -162,14 +162,14 @@
buildCounterTaskList--;
}
-buildUnnamed565() {
+buildUnnamed566() {
var o = new core.List<api.TaskList>();
o.add(buildTaskList());
o.add(buildTaskList());
return o;
}
-checkUnnamed565(core.List<api.TaskList> o) {
+checkUnnamed566(core.List<api.TaskList> o) {
unittest.expect(o, unittest.hasLength(2));
checkTaskList(o[0]);
checkTaskList(o[1]);
@@ -181,7 +181,7 @@
buildCounterTaskLists++;
if (buildCounterTaskLists < 3) {
o.etag = "foo";
- o.items = buildUnnamed565();
+ o.items = buildUnnamed566();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -193,21 +193,21 @@
buildCounterTaskLists++;
if (buildCounterTaskLists < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed565(o.items);
+ checkUnnamed566(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterTaskLists--;
}
-buildUnnamed566() {
+buildUnnamed567() {
var o = new core.List<api.Task>();
o.add(buildTask());
o.add(buildTask());
return o;
}
-checkUnnamed566(core.List<api.Task> o) {
+checkUnnamed567(core.List<api.Task> o) {
unittest.expect(o, unittest.hasLength(2));
checkTask(o[0]);
checkTask(o[1]);
@@ -219,7 +219,7 @@
buildCounterTasks++;
if (buildCounterTasks < 3) {
o.etag = "foo";
- o.items = buildUnnamed566();
+ o.items = buildUnnamed567();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -231,7 +231,7 @@
buildCounterTasks++;
if (buildCounterTasks < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed566(o.items);
+ checkUnnamed567(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -797,8 +797,8 @@
api.TasksResourceApi res = new api.TasksApi(mock).tasks;
var arg_request = buildTask();
var arg_tasklist = "foo";
- var arg_parent = "foo";
var arg_previous = "foo";
+ var arg_parent = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.Task.fromJson(json);
@@ -842,9 +842,9 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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 = {
@@ -855,7 +855,7 @@
}), true);
res
.insert(arg_request, arg_tasklist,
- parent: arg_parent, previous: arg_previous, $fields: arg_$fields)
+ previous: arg_previous, parent: arg_parent, $fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkTask(response);
})));
@@ -865,16 +865,16 @@
var mock = new HttpServerMock();
api.TasksResourceApi res = new api.TasksApi(mock).tasks;
var arg_tasklist = "foo";
- var arg_pageToken = "foo";
- var arg_maxResults = 42;
- var arg_showHidden = true;
var arg_completedMin = "foo";
- var arg_showDeleted = true;
var arg_showCompleted = true;
+ var arg_maxResults = 42;
var arg_completedMax = "foo";
- var arg_updatedMin = "foo";
var arg_dueMin = "foo";
+ var arg_showDeleted = true;
+ var arg_updatedMin = "foo";
var arg_dueMax = "foo";
+ var arg_pageToken = "foo";
+ var arg_showHidden = true;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -916,23 +916,23 @@
}
}
unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ queryMap["completedMin"].first, unittest.equals(arg_completedMin));
+ unittest.expect(queryMap["showCompleted"].first,
+ unittest.equals("$arg_showCompleted"));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
unittest.expect(
- queryMap["showHidden"].first, unittest.equals("$arg_showHidden"));
- unittest.expect(
- queryMap["completedMin"].first, unittest.equals(arg_completedMin));
+ queryMap["completedMax"].first, unittest.equals(arg_completedMax));
+ unittest.expect(queryMap["dueMin"].first, unittest.equals(arg_dueMin));
unittest.expect(
queryMap["showDeleted"].first, unittest.equals("$arg_showDeleted"));
- unittest.expect(queryMap["showCompleted"].first,
- unittest.equals("$arg_showCompleted"));
- unittest.expect(
- queryMap["completedMax"].first, unittest.equals(arg_completedMax));
unittest.expect(
queryMap["updatedMin"].first, unittest.equals(arg_updatedMin));
- unittest.expect(queryMap["dueMin"].first, unittest.equals(arg_dueMin));
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["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -943,16 +943,16 @@
}), true);
res
.list(arg_tasklist,
- pageToken: arg_pageToken,
- maxResults: arg_maxResults,
- showHidden: arg_showHidden,
completedMin: arg_completedMin,
- showDeleted: arg_showDeleted,
showCompleted: arg_showCompleted,
+ maxResults: arg_maxResults,
completedMax: arg_completedMax,
- updatedMin: arg_updatedMin,
dueMin: arg_dueMin,
+ showDeleted: arg_showDeleted,
+ updatedMin: arg_updatedMin,
dueMax: arg_dueMax,
+ pageToken: arg_pageToken,
+ showHidden: arg_showHidden,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkTasks(response);
@@ -964,8 +964,8 @@
api.TasksResourceApi res = new api.TasksApi(mock).tasks;
var arg_tasklist = "foo";
var arg_task = "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 path = (req.url).path;
@@ -1015,9 +1015,9 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ 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 = {
@@ -1028,7 +1028,7 @@
}), true);
res
.move(arg_tasklist, arg_task,
- previous: arg_previous, parent: arg_parent, $fields: arg_$fields)
+ parent: arg_parent, previous: arg_previous, $fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkTask(response);
})));
diff --git a/generated/googleapis/test/testing/v1_test.dart b/generated/googleapis/test/testing/v1_test.dart
index 1e0fff1..afea7af 100644
--- a/generated/googleapis/test/testing/v1_test.dart
+++ b/generated/googleapis/test/testing/v1_test.dart
@@ -94,27 +94,27 @@
buildCounterAndroidDevice--;
}
-buildUnnamed2390() {
+buildUnnamed2392() {
var o = new core.List<api.AndroidModel>();
o.add(buildAndroidModel());
o.add(buildAndroidModel());
return o;
}
-checkUnnamed2390(core.List<api.AndroidModel> o) {
+checkUnnamed2392(core.List<api.AndroidModel> o) {
unittest.expect(o, unittest.hasLength(2));
checkAndroidModel(o[0]);
checkAndroidModel(o[1]);
}
-buildUnnamed2391() {
+buildUnnamed2393() {
var o = new core.List<api.AndroidVersion>();
o.add(buildAndroidVersion());
o.add(buildAndroidVersion());
return o;
}
-checkUnnamed2391(core.List<api.AndroidVersion> o) {
+checkUnnamed2393(core.List<api.AndroidVersion> o) {
unittest.expect(o, unittest.hasLength(2));
checkAndroidVersion(o[0]);
checkAndroidVersion(o[1]);
@@ -125,9 +125,9 @@
var o = new api.AndroidDeviceCatalog();
buildCounterAndroidDeviceCatalog++;
if (buildCounterAndroidDeviceCatalog < 3) {
- o.models = buildUnnamed2390();
+ o.models = buildUnnamed2392();
o.runtimeConfiguration = buildAndroidRuntimeConfiguration();
- o.versions = buildUnnamed2391();
+ o.versions = buildUnnamed2393();
}
buildCounterAndroidDeviceCatalog--;
return o;
@@ -136,21 +136,21 @@
checkAndroidDeviceCatalog(api.AndroidDeviceCatalog o) {
buildCounterAndroidDeviceCatalog++;
if (buildCounterAndroidDeviceCatalog < 3) {
- checkUnnamed2390(o.models);
+ checkUnnamed2392(o.models);
checkAndroidRuntimeConfiguration(o.runtimeConfiguration);
- checkUnnamed2391(o.versions);
+ checkUnnamed2393(o.versions);
}
buildCounterAndroidDeviceCatalog--;
}
-buildUnnamed2392() {
+buildUnnamed2394() {
var o = new core.List<api.AndroidDevice>();
o.add(buildAndroidDevice());
o.add(buildAndroidDevice());
return o;
}
-checkUnnamed2392(core.List<api.AndroidDevice> o) {
+checkUnnamed2394(core.List<api.AndroidDevice> o) {
unittest.expect(o, unittest.hasLength(2));
checkAndroidDevice(o[0]);
checkAndroidDevice(o[1]);
@@ -161,7 +161,7 @@
var o = new api.AndroidDeviceList();
buildCounterAndroidDeviceList++;
if (buildCounterAndroidDeviceList < 3) {
- o.androidDevices = buildUnnamed2392();
+ o.androidDevices = buildUnnamed2394();
}
buildCounterAndroidDeviceList--;
return o;
@@ -170,19 +170,19 @@
checkAndroidDeviceList(api.AndroidDeviceList o) {
buildCounterAndroidDeviceList++;
if (buildCounterAndroidDeviceList < 3) {
- checkUnnamed2392(o.androidDevices);
+ checkUnnamed2394(o.androidDevices);
}
buildCounterAndroidDeviceList--;
}
-buildUnnamed2393() {
+buildUnnamed2395() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2393(core.List<core.String> o) {
+checkUnnamed2395(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -201,7 +201,7 @@
o.testApk = buildFileReference();
o.testPackageId = "foo";
o.testRunnerClass = "foo";
- o.testTargets = buildUnnamed2393();
+ o.testTargets = buildUnnamed2395();
}
buildCounterAndroidInstrumentationTest--;
return o;
@@ -218,37 +218,11 @@
checkFileReference(o.testApk);
unittest.expect(o.testPackageId, unittest.equals('foo'));
unittest.expect(o.testRunnerClass, unittest.equals('foo'));
- checkUnnamed2393(o.testTargets);
+ checkUnnamed2395(o.testTargets);
}
buildCounterAndroidInstrumentationTest--;
}
-buildUnnamed2394() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2394(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed2395() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2395(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed2396() {
var o = new core.List<core.String>();
o.add("foo");
@@ -275,31 +249,6 @@
unittest.expect(o[1], unittest.equals('foo'));
}
-core.int buildCounterAndroidMatrix = 0;
-buildAndroidMatrix() {
- var o = new api.AndroidMatrix();
- buildCounterAndroidMatrix++;
- if (buildCounterAndroidMatrix < 3) {
- o.androidModelIds = buildUnnamed2394();
- o.androidVersionIds = buildUnnamed2395();
- o.locales = buildUnnamed2396();
- o.orientations = buildUnnamed2397();
- }
- buildCounterAndroidMatrix--;
- return o;
-}
-
-checkAndroidMatrix(api.AndroidMatrix o) {
- buildCounterAndroidMatrix++;
- if (buildCounterAndroidMatrix < 3) {
- checkUnnamed2394(o.androidModelIds);
- checkUnnamed2395(o.androidVersionIds);
- checkUnnamed2396(o.locales);
- checkUnnamed2397(o.orientations);
- }
- buildCounterAndroidMatrix--;
-}
-
buildUnnamed2398() {
var o = new core.List<core.String>();
o.add("foo");
@@ -326,6 +275,31 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+core.int buildCounterAndroidMatrix = 0;
+buildAndroidMatrix() {
+ var o = new api.AndroidMatrix();
+ buildCounterAndroidMatrix++;
+ if (buildCounterAndroidMatrix < 3) {
+ o.androidModelIds = buildUnnamed2396();
+ o.androidVersionIds = buildUnnamed2397();
+ o.locales = buildUnnamed2398();
+ o.orientations = buildUnnamed2399();
+ }
+ buildCounterAndroidMatrix--;
+ return o;
+}
+
+checkAndroidMatrix(api.AndroidMatrix o) {
+ buildCounterAndroidMatrix++;
+ if (buildCounterAndroidMatrix < 3) {
+ checkUnnamed2396(o.androidModelIds);
+ checkUnnamed2397(o.androidVersionIds);
+ checkUnnamed2398(o.locales);
+ checkUnnamed2399(o.orientations);
+ }
+ buildCounterAndroidMatrix--;
+}
+
buildUnnamed2400() {
var o = new core.List<core.String>();
o.add("foo");
@@ -339,6 +313,32 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed2401() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2401(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed2402() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2402(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
core.int buildCounterAndroidModel = 0;
buildAndroidModel() {
var o = new api.AndroidModel();
@@ -355,9 +355,9 @@
o.screenDensity = 42;
o.screenX = 42;
o.screenY = 42;
- o.supportedAbis = buildUnnamed2398();
- o.supportedVersionIds = buildUnnamed2399();
- o.tags = buildUnnamed2400();
+ o.supportedAbis = buildUnnamed2400();
+ o.supportedVersionIds = buildUnnamed2401();
+ o.tags = buildUnnamed2402();
o.thumbnailUrl = "foo";
}
buildCounterAndroidModel--;
@@ -378,35 +378,35 @@
unittest.expect(o.screenDensity, unittest.equals(42));
unittest.expect(o.screenX, unittest.equals(42));
unittest.expect(o.screenY, unittest.equals(42));
- checkUnnamed2398(o.supportedAbis);
- checkUnnamed2399(o.supportedVersionIds);
- checkUnnamed2400(o.tags);
+ checkUnnamed2400(o.supportedAbis);
+ checkUnnamed2401(o.supportedVersionIds);
+ checkUnnamed2402(o.tags);
unittest.expect(o.thumbnailUrl, unittest.equals('foo'));
}
buildCounterAndroidModel--;
}
-buildUnnamed2401() {
+buildUnnamed2403() {
var o = new core.List<api.RoboDirective>();
o.add(buildRoboDirective());
o.add(buildRoboDirective());
return o;
}
-checkUnnamed2401(core.List<api.RoboDirective> o) {
+checkUnnamed2403(core.List<api.RoboDirective> o) {
unittest.expect(o, unittest.hasLength(2));
checkRoboDirective(o[0]);
checkRoboDirective(o[1]);
}
-buildUnnamed2402() {
+buildUnnamed2404() {
var o = new core.List<api.RoboStartingIntent>();
o.add(buildRoboStartingIntent());
o.add(buildRoboStartingIntent());
return o;
}
-checkUnnamed2402(core.List<api.RoboStartingIntent> o) {
+checkUnnamed2404(core.List<api.RoboStartingIntent> o) {
unittest.expect(o, unittest.hasLength(2));
checkRoboStartingIntent(o[0]);
checkRoboStartingIntent(o[1]);
@@ -423,9 +423,9 @@
o.appPackageId = "foo";
o.maxDepth = 42;
o.maxSteps = 42;
- o.roboDirectives = buildUnnamed2401();
+ o.roboDirectives = buildUnnamed2403();
o.roboScript = buildFileReference();
- o.startingIntents = buildUnnamed2402();
+ o.startingIntents = buildUnnamed2404();
}
buildCounterAndroidRoboTest--;
return o;
@@ -440,34 +440,34 @@
unittest.expect(o.appPackageId, unittest.equals('foo'));
unittest.expect(o.maxDepth, unittest.equals(42));
unittest.expect(o.maxSteps, unittest.equals(42));
- checkUnnamed2401(o.roboDirectives);
+ checkUnnamed2403(o.roboDirectives);
checkFileReference(o.roboScript);
- checkUnnamed2402(o.startingIntents);
+ checkUnnamed2404(o.startingIntents);
}
buildCounterAndroidRoboTest--;
}
-buildUnnamed2403() {
+buildUnnamed2405() {
var o = new core.List<api.Locale>();
o.add(buildLocale());
o.add(buildLocale());
return o;
}
-checkUnnamed2403(core.List<api.Locale> o) {
+checkUnnamed2405(core.List<api.Locale> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocale(o[0]);
checkLocale(o[1]);
}
-buildUnnamed2404() {
+buildUnnamed2406() {
var o = new core.List<api.Orientation>();
o.add(buildOrientation());
o.add(buildOrientation());
return o;
}
-checkUnnamed2404(core.List<api.Orientation> o) {
+checkUnnamed2406(core.List<api.Orientation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrientation(o[0]);
checkOrientation(o[1]);
@@ -478,8 +478,8 @@
var o = new api.AndroidRuntimeConfiguration();
buildCounterAndroidRuntimeConfiguration++;
if (buildCounterAndroidRuntimeConfiguration < 3) {
- o.locales = buildUnnamed2403();
- o.orientations = buildUnnamed2404();
+ o.locales = buildUnnamed2405();
+ o.orientations = buildUnnamed2406();
}
buildCounterAndroidRuntimeConfiguration--;
return o;
@@ -488,65 +488,12 @@
checkAndroidRuntimeConfiguration(api.AndroidRuntimeConfiguration o) {
buildCounterAndroidRuntimeConfiguration++;
if (buildCounterAndroidRuntimeConfiguration < 3) {
- checkUnnamed2403(o.locales);
- checkUnnamed2404(o.orientations);
+ checkUnnamed2405(o.locales);
+ checkUnnamed2406(o.orientations);
}
buildCounterAndroidRuntimeConfiguration--;
}
-buildUnnamed2405() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2405(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed2406() {
- var o = new core.List<core.int>();
- o.add(42);
- o.add(42);
- return o;
-}
-
-checkUnnamed2406(core.List<core.int> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals(42));
- unittest.expect(o[1], unittest.equals(42));
-}
-
-core.int buildCounterAndroidTestLoop = 0;
-buildAndroidTestLoop() {
- var o = new api.AndroidTestLoop();
- buildCounterAndroidTestLoop++;
- if (buildCounterAndroidTestLoop < 3) {
- o.appApk = buildFileReference();
- o.appBundle = buildAppBundle();
- o.appPackageId = "foo";
- o.scenarioLabels = buildUnnamed2405();
- o.scenarios = buildUnnamed2406();
- }
- buildCounterAndroidTestLoop--;
- return o;
-}
-
-checkAndroidTestLoop(api.AndroidTestLoop o) {
- buildCounterAndroidTestLoop++;
- if (buildCounterAndroidTestLoop < 3) {
- checkFileReference(o.appApk);
- checkAppBundle(o.appBundle);
- unittest.expect(o.appPackageId, unittest.equals('foo'));
- checkUnnamed2405(o.scenarioLabels);
- checkUnnamed2406(o.scenarios);
- }
- buildCounterAndroidTestLoop--;
-}
-
buildUnnamed2407() {
var o = new core.List<core.String>();
o.add("foo");
@@ -560,6 +507,59 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed2408() {
+ var o = new core.List<core.int>();
+ o.add(42);
+ o.add(42);
+ return o;
+}
+
+checkUnnamed2408(core.List<core.int> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals(42));
+ unittest.expect(o[1], unittest.equals(42));
+}
+
+core.int buildCounterAndroidTestLoop = 0;
+buildAndroidTestLoop() {
+ var o = new api.AndroidTestLoop();
+ buildCounterAndroidTestLoop++;
+ if (buildCounterAndroidTestLoop < 3) {
+ o.appApk = buildFileReference();
+ o.appBundle = buildAppBundle();
+ o.appPackageId = "foo";
+ o.scenarioLabels = buildUnnamed2407();
+ o.scenarios = buildUnnamed2408();
+ }
+ buildCounterAndroidTestLoop--;
+ return o;
+}
+
+checkAndroidTestLoop(api.AndroidTestLoop o) {
+ buildCounterAndroidTestLoop++;
+ if (buildCounterAndroidTestLoop < 3) {
+ checkFileReference(o.appApk);
+ checkAppBundle(o.appBundle);
+ unittest.expect(o.appPackageId, unittest.equals('foo'));
+ checkUnnamed2407(o.scenarioLabels);
+ checkUnnamed2408(o.scenarios);
+ }
+ buildCounterAndroidTestLoop--;
+}
+
+buildUnnamed2409() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2409(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
core.int buildCounterAndroidVersion = 0;
buildAndroidVersion() {
var o = new api.AndroidVersion();
@@ -570,7 +570,7 @@
o.distribution = buildDistribution();
o.id = "foo";
o.releaseDate = buildDate();
- o.tags = buildUnnamed2407();
+ o.tags = buildUnnamed2409();
o.versionString = "foo";
}
buildCounterAndroidVersion--;
@@ -585,7 +585,7 @@
checkDistribution(o.distribution);
unittest.expect(o.id, unittest.equals('foo'));
checkDate(o.releaseDate);
- checkUnnamed2407(o.tags);
+ checkUnnamed2409(o.tags);
unittest.expect(o.versionString, unittest.equals('foo'));
}
buildCounterAndroidVersion--;
@@ -631,14 +631,14 @@
buildCounterApkDetail--;
}
-buildUnnamed2408() {
+buildUnnamed2410() {
var o = new core.List<api.IntentFilter>();
o.add(buildIntentFilter());
o.add(buildIntentFilter());
return o;
}
-checkUnnamed2408(core.List<api.IntentFilter> o) {
+checkUnnamed2410(core.List<api.IntentFilter> o) {
unittest.expect(o, unittest.hasLength(2));
checkIntentFilter(o[0]);
checkIntentFilter(o[1]);
@@ -650,7 +650,7 @@
buildCounterApkManifest++;
if (buildCounterApkManifest < 3) {
o.applicationLabel = "foo";
- o.intentFilters = buildUnnamed2408();
+ o.intentFilters = buildUnnamed2410();
o.maxSdkVersion = 42;
o.minSdkVersion = 42;
o.packageName = "foo";
@@ -664,7 +664,7 @@
buildCounterApkManifest++;
if (buildCounterApkManifest < 3) {
unittest.expect(o.applicationLabel, unittest.equals('foo'));
- checkUnnamed2408(o.intentFilters);
+ checkUnnamed2410(o.intentFilters);
unittest.expect(o.maxSdkVersion, unittest.equals(42));
unittest.expect(o.minSdkVersion, unittest.equals(42));
unittest.expect(o.packageName, unittest.equals('foo'));
@@ -711,14 +711,14 @@
buildCounterCancelTestMatrixResponse--;
}
-buildUnnamed2409() {
+buildUnnamed2411() {
var o = new core.List<api.ClientInfoDetail>();
o.add(buildClientInfoDetail());
o.add(buildClientInfoDetail());
return o;
}
-checkUnnamed2409(core.List<api.ClientInfoDetail> o) {
+checkUnnamed2411(core.List<api.ClientInfoDetail> o) {
unittest.expect(o, unittest.hasLength(2));
checkClientInfoDetail(o[0]);
checkClientInfoDetail(o[1]);
@@ -729,7 +729,7 @@
var o = new api.ClientInfo();
buildCounterClientInfo++;
if (buildCounterClientInfo < 3) {
- o.clientInfoDetails = buildUnnamed2409();
+ o.clientInfoDetails = buildUnnamed2411();
o.name = "foo";
}
buildCounterClientInfo--;
@@ -739,7 +739,7 @@
checkClientInfo(api.ClientInfo o) {
buildCounterClientInfo++;
if (buildCounterClientInfo < 3) {
- checkUnnamed2409(o.clientInfoDetails);
+ checkUnnamed2411(o.clientInfoDetails);
unittest.expect(o.name, unittest.equals('foo'));
}
buildCounterClientInfo--;
@@ -833,14 +833,14 @@
buildCounterDeviceIpBlock--;
}
-buildUnnamed2410() {
+buildUnnamed2412() {
var o = new core.List<api.DeviceIpBlock>();
o.add(buildDeviceIpBlock());
o.add(buildDeviceIpBlock());
return o;
}
-checkUnnamed2410(core.List<api.DeviceIpBlock> o) {
+checkUnnamed2412(core.List<api.DeviceIpBlock> o) {
unittest.expect(o, unittest.hasLength(2));
checkDeviceIpBlock(o[0]);
checkDeviceIpBlock(o[1]);
@@ -851,7 +851,7 @@
var o = new api.DeviceIpBlockCatalog();
buildCounterDeviceIpBlockCatalog++;
if (buildCounterDeviceIpBlockCatalog < 3) {
- o.ipBlocks = buildUnnamed2410();
+ o.ipBlocks = buildUnnamed2412();
}
buildCounterDeviceIpBlockCatalog--;
return o;
@@ -860,7 +860,7 @@
checkDeviceIpBlockCatalog(api.DeviceIpBlockCatalog o) {
buildCounterDeviceIpBlockCatalog++;
if (buildCounterDeviceIpBlockCatalog < 3) {
- checkUnnamed2410(o.ipBlocks);
+ checkUnnamed2412(o.ipBlocks);
}
buildCounterDeviceIpBlockCatalog--;
}
@@ -1023,27 +1023,27 @@
buildCounterGoogleCloudStorage--;
}
-buildUnnamed2411() {
+buildUnnamed2413() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2411(core.List<core.String> o) {
+checkUnnamed2413(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2412() {
+buildUnnamed2414() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2412(core.List<core.String> o) {
+checkUnnamed2414(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1054,8 +1054,8 @@
var o = new api.IntentFilter();
buildCounterIntentFilter++;
if (buildCounterIntentFilter < 3) {
- o.actionNames = buildUnnamed2411();
- o.categoryNames = buildUnnamed2412();
+ o.actionNames = buildUnnamed2413();
+ o.categoryNames = buildUnnamed2414();
o.mimeType = "foo";
}
buildCounterIntentFilter--;
@@ -1065,8 +1065,8 @@
checkIntentFilter(api.IntentFilter o) {
buildCounterIntentFilter++;
if (buildCounterIntentFilter < 3) {
- checkUnnamed2411(o.actionNames);
- checkUnnamed2412(o.categoryNames);
+ checkUnnamed2413(o.actionNames);
+ checkUnnamed2414(o.categoryNames);
unittest.expect(o.mimeType, unittest.equals('foo'));
}
buildCounterIntentFilter--;
@@ -1097,40 +1097,40 @@
buildCounterIosDevice--;
}
-buildUnnamed2413() {
+buildUnnamed2415() {
var o = new core.List<api.IosModel>();
o.add(buildIosModel());
o.add(buildIosModel());
return o;
}
-checkUnnamed2413(core.List<api.IosModel> o) {
+checkUnnamed2415(core.List<api.IosModel> o) {
unittest.expect(o, unittest.hasLength(2));
checkIosModel(o[0]);
checkIosModel(o[1]);
}
-buildUnnamed2414() {
+buildUnnamed2416() {
var o = new core.List<api.IosVersion>();
o.add(buildIosVersion());
o.add(buildIosVersion());
return o;
}
-checkUnnamed2414(core.List<api.IosVersion> o) {
+checkUnnamed2416(core.List<api.IosVersion> o) {
unittest.expect(o, unittest.hasLength(2));
checkIosVersion(o[0]);
checkIosVersion(o[1]);
}
-buildUnnamed2415() {
+buildUnnamed2417() {
var o = new core.List<api.XcodeVersion>();
o.add(buildXcodeVersion());
o.add(buildXcodeVersion());
return o;
}
-checkUnnamed2415(core.List<api.XcodeVersion> o) {
+checkUnnamed2417(core.List<api.XcodeVersion> o) {
unittest.expect(o, unittest.hasLength(2));
checkXcodeVersion(o[0]);
checkXcodeVersion(o[1]);
@@ -1141,10 +1141,10 @@
var o = new api.IosDeviceCatalog();
buildCounterIosDeviceCatalog++;
if (buildCounterIosDeviceCatalog < 3) {
- o.models = buildUnnamed2413();
+ o.models = buildUnnamed2415();
o.runtimeConfiguration = buildIosRuntimeConfiguration();
- o.versions = buildUnnamed2414();
- o.xcodeVersions = buildUnnamed2415();
+ o.versions = buildUnnamed2416();
+ o.xcodeVersions = buildUnnamed2417();
}
buildCounterIosDeviceCatalog--;
return o;
@@ -1153,22 +1153,45 @@
checkIosDeviceCatalog(api.IosDeviceCatalog o) {
buildCounterIosDeviceCatalog++;
if (buildCounterIosDeviceCatalog < 3) {
- checkUnnamed2413(o.models);
+ checkUnnamed2415(o.models);
checkIosRuntimeConfiguration(o.runtimeConfiguration);
- checkUnnamed2414(o.versions);
- checkUnnamed2415(o.xcodeVersions);
+ checkUnnamed2416(o.versions);
+ checkUnnamed2417(o.xcodeVersions);
}
buildCounterIosDeviceCatalog--;
}
-buildUnnamed2416() {
+core.int buildCounterIosDeviceFile = 0;
+buildIosDeviceFile() {
+ var o = new api.IosDeviceFile();
+ buildCounterIosDeviceFile++;
+ if (buildCounterIosDeviceFile < 3) {
+ o.bundleId = "foo";
+ o.content = buildFileReference();
+ o.devicePath = "foo";
+ }
+ buildCounterIosDeviceFile--;
+ return o;
+}
+
+checkIosDeviceFile(api.IosDeviceFile o) {
+ buildCounterIosDeviceFile++;
+ if (buildCounterIosDeviceFile < 3) {
+ unittest.expect(o.bundleId, unittest.equals('foo'));
+ checkFileReference(o.content);
+ unittest.expect(o.devicePath, unittest.equals('foo'));
+ }
+ buildCounterIosDeviceFile--;
+}
+
+buildUnnamed2418() {
var o = new core.List<api.IosDevice>();
o.add(buildIosDevice());
o.add(buildIosDevice());
return o;
}
-checkUnnamed2416(core.List<api.IosDevice> o) {
+checkUnnamed2418(core.List<api.IosDevice> o) {
unittest.expect(o, unittest.hasLength(2));
checkIosDevice(o[0]);
checkIosDevice(o[1]);
@@ -1179,7 +1202,7 @@
var o = new api.IosDeviceList();
buildCounterIosDeviceList++;
if (buildCounterIosDeviceList < 3) {
- o.iosDevices = buildUnnamed2416();
+ o.iosDevices = buildUnnamed2418();
}
buildCounterIosDeviceList--;
return o;
@@ -1188,37 +1211,11 @@
checkIosDeviceList(api.IosDeviceList o) {
buildCounterIosDeviceList++;
if (buildCounterIosDeviceList < 3) {
- checkUnnamed2416(o.iosDevices);
+ checkUnnamed2418(o.iosDevices);
}
buildCounterIosDeviceList--;
}
-buildUnnamed2417() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2417(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed2418() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed2418(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed2419() {
var o = new core.List<core.String>();
o.add("foo");
@@ -1232,20 +1229,46 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed2420() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2420(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed2421() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed2421(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
core.int buildCounterIosModel = 0;
buildIosModel() {
var o = new api.IosModel();
buildCounterIosModel++;
if (buildCounterIosModel < 3) {
- o.deviceCapabilities = buildUnnamed2417();
+ o.deviceCapabilities = buildUnnamed2419();
o.formFactor = "foo";
o.id = "foo";
o.name = "foo";
o.screenDensity = 42;
o.screenX = 42;
o.screenY = 42;
- o.supportedVersionIds = buildUnnamed2418();
- o.tags = buildUnnamed2419();
+ o.supportedVersionIds = buildUnnamed2420();
+ o.tags = buildUnnamed2421();
}
buildCounterIosModel--;
return o;
@@ -1254,40 +1277,40 @@
checkIosModel(api.IosModel o) {
buildCounterIosModel++;
if (buildCounterIosModel < 3) {
- checkUnnamed2417(o.deviceCapabilities);
+ checkUnnamed2419(o.deviceCapabilities);
unittest.expect(o.formFactor, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.screenDensity, unittest.equals(42));
unittest.expect(o.screenX, unittest.equals(42));
unittest.expect(o.screenY, unittest.equals(42));
- checkUnnamed2418(o.supportedVersionIds);
- checkUnnamed2419(o.tags);
+ checkUnnamed2420(o.supportedVersionIds);
+ checkUnnamed2421(o.tags);
}
buildCounterIosModel--;
}
-buildUnnamed2420() {
+buildUnnamed2422() {
var o = new core.List<api.Locale>();
o.add(buildLocale());
o.add(buildLocale());
return o;
}
-checkUnnamed2420(core.List<api.Locale> o) {
+checkUnnamed2422(core.List<api.Locale> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocale(o[0]);
checkLocale(o[1]);
}
-buildUnnamed2421() {
+buildUnnamed2423() {
var o = new core.List<api.Orientation>();
o.add(buildOrientation());
o.add(buildOrientation());
return o;
}
-checkUnnamed2421(core.List<api.Orientation> o) {
+checkUnnamed2423(core.List<api.Orientation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOrientation(o[0]);
checkOrientation(o[1]);
@@ -1298,8 +1321,8 @@
var o = new api.IosRuntimeConfiguration();
buildCounterIosRuntimeConfiguration++;
if (buildCounterIosRuntimeConfiguration < 3) {
- o.locales = buildUnnamed2420();
- o.orientations = buildUnnamed2421();
+ o.locales = buildUnnamed2422();
+ o.orientations = buildUnnamed2423();
}
buildCounterIosRuntimeConfiguration--;
return o;
@@ -1308,20 +1331,20 @@
checkIosRuntimeConfiguration(api.IosRuntimeConfiguration o) {
buildCounterIosRuntimeConfiguration++;
if (buildCounterIosRuntimeConfiguration < 3) {
- checkUnnamed2420(o.locales);
- checkUnnamed2421(o.orientations);
+ checkUnnamed2422(o.locales);
+ checkUnnamed2423(o.orientations);
}
buildCounterIosRuntimeConfiguration--;
}
-buildUnnamed2422() {
+buildUnnamed2424() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed2422(core.List<core.int> o) {
+checkUnnamed2424(core.List<core.int> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42));
unittest.expect(o[1], unittest.equals(42));
@@ -1334,7 +1357,7 @@
if (buildCounterIosTestLoop < 3) {
o.appBundleId = "foo";
o.appIpa = buildFileReference();
- o.scenarios = buildUnnamed2422();
+ o.scenarios = buildUnnamed2424();
}
buildCounterIosTestLoop--;
return o;
@@ -1345,31 +1368,59 @@
if (buildCounterIosTestLoop < 3) {
unittest.expect(o.appBundleId, unittest.equals('foo'));
checkFileReference(o.appIpa);
- checkUnnamed2422(o.scenarios);
+ checkUnnamed2424(o.scenarios);
}
buildCounterIosTestLoop--;
}
-buildUnnamed2423() {
+buildUnnamed2425() {
var o = new core.List<api.FileReference>();
o.add(buildFileReference());
o.add(buildFileReference());
return o;
}
-checkUnnamed2423(core.List<api.FileReference> o) {
+checkUnnamed2425(core.List<api.FileReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkFileReference(o[0]);
checkFileReference(o[1]);
}
+buildUnnamed2426() {
+ var o = new core.List<api.IosDeviceFile>();
+ o.add(buildIosDeviceFile());
+ o.add(buildIosDeviceFile());
+ return o;
+}
+
+checkUnnamed2426(core.List<api.IosDeviceFile> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkIosDeviceFile(o[0]);
+ checkIosDeviceFile(o[1]);
+}
+
+buildUnnamed2427() {
+ var o = new core.List<api.IosDeviceFile>();
+ o.add(buildIosDeviceFile());
+ o.add(buildIosDeviceFile());
+ return o;
+}
+
+checkUnnamed2427(core.List<api.IosDeviceFile> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkIosDeviceFile(o[0]);
+ checkIosDeviceFile(o[1]);
+}
+
core.int buildCounterIosTestSetup = 0;
buildIosTestSetup() {
var o = new api.IosTestSetup();
buildCounterIosTestSetup++;
if (buildCounterIosTestSetup < 3) {
- o.additionalIpas = buildUnnamed2423();
+ o.additionalIpas = buildUnnamed2425();
o.networkProfile = "foo";
+ o.pullDirectories = buildUnnamed2426();
+ o.pushFiles = buildUnnamed2427();
}
buildCounterIosTestSetup--;
return o;
@@ -1378,33 +1429,35 @@
checkIosTestSetup(api.IosTestSetup o) {
buildCounterIosTestSetup++;
if (buildCounterIosTestSetup < 3) {
- checkUnnamed2423(o.additionalIpas);
+ checkUnnamed2425(o.additionalIpas);
unittest.expect(o.networkProfile, unittest.equals('foo'));
+ checkUnnamed2426(o.pullDirectories);
+ checkUnnamed2427(o.pushFiles);
}
buildCounterIosTestSetup--;
}
-buildUnnamed2424() {
+buildUnnamed2428() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2424(core.List<core.String> o) {
+checkUnnamed2428(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2425() {
+buildUnnamed2429() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2425(core.List<core.String> o) {
+checkUnnamed2429(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1418,8 +1471,8 @@
o.id = "foo";
o.majorVersion = 42;
o.minorVersion = 42;
- o.supportedXcodeVersionIds = buildUnnamed2424();
- o.tags = buildUnnamed2425();
+ o.supportedXcodeVersionIds = buildUnnamed2428();
+ o.tags = buildUnnamed2429();
}
buildCounterIosVersion--;
return o;
@@ -1431,8 +1484,8 @@
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.majorVersion, unittest.equals(42));
unittest.expect(o.minorVersion, unittest.equals(42));
- checkUnnamed2424(o.supportedXcodeVersionIds);
- checkUnnamed2425(o.tags);
+ checkUnnamed2428(o.supportedXcodeVersionIds);
+ checkUnnamed2429(o.tags);
}
buildCounterIosVersion--;
}
@@ -1479,14 +1532,14 @@
buildCounterLauncherActivityIntent--;
}
-buildUnnamed2426() {
+buildUnnamed2430() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2426(core.List<core.String> o) {
+checkUnnamed2430(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1500,7 +1553,7 @@
o.id = "foo";
o.name = "foo";
o.region = "foo";
- o.tags = buildUnnamed2426();
+ o.tags = buildUnnamed2430();
}
buildCounterLocale--;
return o;
@@ -1512,19 +1565,19 @@
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.region, unittest.equals('foo'));
- checkUnnamed2426(o.tags);
+ checkUnnamed2430(o.tags);
}
buildCounterLocale--;
}
-buildUnnamed2427() {
+buildUnnamed2431() {
var o = new core.List<api.TestTargetsForShard>();
o.add(buildTestTargetsForShard());
o.add(buildTestTargetsForShard());
return o;
}
-checkUnnamed2427(core.List<api.TestTargetsForShard> o) {
+checkUnnamed2431(core.List<api.TestTargetsForShard> o) {
unittest.expect(o, unittest.hasLength(2));
checkTestTargetsForShard(o[0]);
checkTestTargetsForShard(o[1]);
@@ -1535,7 +1588,7 @@
var o = new api.ManualSharding();
buildCounterManualSharding++;
if (buildCounterManualSharding < 3) {
- o.testTargetsForShard = buildUnnamed2427();
+ o.testTargetsForShard = buildUnnamed2431();
}
buildCounterManualSharding--;
return o;
@@ -1544,7 +1597,7 @@
checkManualSharding(api.ManualSharding o) {
buildCounterManualSharding++;
if (buildCounterManualSharding < 3) {
- checkUnnamed2427(o.testTargetsForShard);
+ checkUnnamed2431(o.testTargetsForShard);
}
buildCounterManualSharding--;
}
@@ -1572,14 +1625,14 @@
buildCounterNetworkConfiguration--;
}
-buildUnnamed2428() {
+buildUnnamed2432() {
var o = new core.List<api.NetworkConfiguration>();
o.add(buildNetworkConfiguration());
o.add(buildNetworkConfiguration());
return o;
}
-checkUnnamed2428(core.List<api.NetworkConfiguration> o) {
+checkUnnamed2432(core.List<api.NetworkConfiguration> o) {
unittest.expect(o, unittest.hasLength(2));
checkNetworkConfiguration(o[0]);
checkNetworkConfiguration(o[1]);
@@ -1590,7 +1643,7 @@
var o = new api.NetworkConfigurationCatalog();
buildCounterNetworkConfigurationCatalog++;
if (buildCounterNetworkConfigurationCatalog < 3) {
- o.configurations = buildUnnamed2428();
+ o.configurations = buildUnnamed2432();
}
buildCounterNetworkConfigurationCatalog--;
return o;
@@ -1599,7 +1652,7 @@
checkNetworkConfigurationCatalog(api.NetworkConfigurationCatalog o) {
buildCounterNetworkConfigurationCatalog++;
if (buildCounterNetworkConfigurationCatalog < 3) {
- checkUnnamed2428(o.configurations);
+ checkUnnamed2432(o.configurations);
}
buildCounterNetworkConfigurationCatalog--;
}
@@ -1625,14 +1678,14 @@
buildCounterObbFile--;
}
-buildUnnamed2429() {
+buildUnnamed2433() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2429(core.List<core.String> o) {
+checkUnnamed2433(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1645,7 +1698,7 @@
if (buildCounterOrientation < 3) {
o.id = "foo";
o.name = "foo";
- o.tags = buildUnnamed2429();
+ o.tags = buildUnnamed2433();
}
buildCounterOrientation--;
return o;
@@ -1656,7 +1709,7 @@
if (buildCounterOrientation < 3) {
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2429(o.tags);
+ checkUnnamed2433(o.tags);
}
buildCounterOrientation--;
}
@@ -1816,14 +1869,14 @@
buildCounterShardingOption--;
}
-buildUnnamed2430() {
+buildUnnamed2434() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2430(core.List<core.String> o) {
+checkUnnamed2434(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1835,7 +1888,7 @@
buildCounterStartActivityIntent++;
if (buildCounterStartActivityIntent < 3) {
o.action = "foo";
- o.categories = buildUnnamed2430();
+ o.categories = buildUnnamed2434();
o.uri = "foo";
}
buildCounterStartActivityIntent--;
@@ -1846,7 +1899,7 @@
buildCounterStartActivityIntent++;
if (buildCounterStartActivityIntent < 3) {
unittest.expect(o.action, unittest.equals('foo'));
- checkUnnamed2430(o.categories);
+ checkUnnamed2434(o.categories);
unittest.expect(o.uri, unittest.equals('foo'));
}
buildCounterStartActivityIntent--;
@@ -1871,14 +1924,14 @@
buildCounterSystraceSetup--;
}
-buildUnnamed2431() {
+buildUnnamed2435() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2431(core.List<core.String> o) {
+checkUnnamed2435(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1890,7 +1943,7 @@
buildCounterTestDetails++;
if (buildCounterTestDetails < 3) {
o.errorMessage = "foo";
- o.progressMessages = buildUnnamed2431();
+ o.progressMessages = buildUnnamed2435();
}
buildCounterTestDetails--;
return o;
@@ -1900,7 +1953,7 @@
buildCounterTestDetails++;
if (buildCounterTestDetails < 3) {
unittest.expect(o.errorMessage, unittest.equals('foo'));
- checkUnnamed2431(o.progressMessages);
+ checkUnnamed2435(o.progressMessages);
}
buildCounterTestDetails--;
}
@@ -1969,14 +2022,14 @@
buildCounterTestExecution--;
}
-buildUnnamed2432() {
+buildUnnamed2436() {
var o = new core.List<api.TestExecution>();
o.add(buildTestExecution());
o.add(buildTestExecution());
return o;
}
-checkUnnamed2432(core.List<api.TestExecution> o) {
+checkUnnamed2436(core.List<api.TestExecution> o) {
unittest.expect(o, unittest.hasLength(2));
checkTestExecution(o[0]);
checkTestExecution(o[1]);
@@ -1995,7 +2048,7 @@
o.projectId = "foo";
o.resultStorage = buildResultStorage();
o.state = "foo";
- o.testExecutions = buildUnnamed2432();
+ o.testExecutions = buildUnnamed2436();
o.testMatrixId = "foo";
o.testSpecification = buildTestSpecification();
o.timestamp = "foo";
@@ -2015,7 +2068,7 @@
unittest.expect(o.projectId, unittest.equals('foo'));
checkResultStorage(o.resultStorage);
unittest.expect(o.state, unittest.equals('foo'));
- checkUnnamed2432(o.testExecutions);
+ checkUnnamed2436(o.testExecutions);
unittest.expect(o.testMatrixId, unittest.equals('foo'));
checkTestSpecification(o.testSpecification);
unittest.expect(o.timestamp, unittest.equals('foo'));
@@ -2023,53 +2076,53 @@
buildCounterTestMatrix--;
}
-buildUnnamed2433() {
+buildUnnamed2437() {
var o = new core.List<api.Apk>();
o.add(buildApk());
o.add(buildApk());
return o;
}
-checkUnnamed2433(core.List<api.Apk> o) {
+checkUnnamed2437(core.List<api.Apk> o) {
unittest.expect(o, unittest.hasLength(2));
checkApk(o[0]);
checkApk(o[1]);
}
-buildUnnamed2434() {
+buildUnnamed2438() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2434(core.List<core.String> o) {
+checkUnnamed2438(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2435() {
+buildUnnamed2439() {
var o = new core.List<api.EnvironmentVariable>();
o.add(buildEnvironmentVariable());
o.add(buildEnvironmentVariable());
return o;
}
-checkUnnamed2435(core.List<api.EnvironmentVariable> o) {
+checkUnnamed2439(core.List<api.EnvironmentVariable> o) {
unittest.expect(o, unittest.hasLength(2));
checkEnvironmentVariable(o[0]);
checkEnvironmentVariable(o[1]);
}
-buildUnnamed2436() {
+buildUnnamed2440() {
var o = new core.List<api.DeviceFile>();
o.add(buildDeviceFile());
o.add(buildDeviceFile());
return o;
}
-checkUnnamed2436(core.List<api.DeviceFile> o) {
+checkUnnamed2440(core.List<api.DeviceFile> o) {
unittest.expect(o, unittest.hasLength(2));
checkDeviceFile(o[0]);
checkDeviceFile(o[1]);
@@ -2081,11 +2134,11 @@
buildCounterTestSetup++;
if (buildCounterTestSetup < 3) {
o.account = buildAccount();
- o.additionalApks = buildUnnamed2433();
- o.directoriesToPull = buildUnnamed2434();
+ o.additionalApks = buildUnnamed2437();
+ o.directoriesToPull = buildUnnamed2438();
o.dontAutograntPermissions = true;
- o.environmentVariables = buildUnnamed2435();
- o.filesToPush = buildUnnamed2436();
+ o.environmentVariables = buildUnnamed2439();
+ o.filesToPush = buildUnnamed2440();
o.networkProfile = "foo";
o.systrace = buildSystraceSetup();
}
@@ -2097,11 +2150,11 @@
buildCounterTestSetup++;
if (buildCounterTestSetup < 3) {
checkAccount(o.account);
- checkUnnamed2433(o.additionalApks);
- checkUnnamed2434(o.directoriesToPull);
+ checkUnnamed2437(o.additionalApks);
+ checkUnnamed2438(o.directoriesToPull);
unittest.expect(o.dontAutograntPermissions, unittest.isTrue);
- checkUnnamed2435(o.environmentVariables);
- checkUnnamed2436(o.filesToPush);
+ checkUnnamed2439(o.environmentVariables);
+ checkUnnamed2440(o.filesToPush);
unittest.expect(o.networkProfile, unittest.equals('foo'));
checkSystraceSetup(o.systrace);
}
@@ -2145,14 +2198,14 @@
buildCounterTestSpecification--;
}
-buildUnnamed2437() {
+buildUnnamed2441() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2437(core.List<core.String> o) {
+checkUnnamed2441(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2163,7 +2216,7 @@
var o = new api.TestTargetsForShard();
buildCounterTestTargetsForShard++;
if (buildCounterTestTargetsForShard < 3) {
- o.testTargets = buildUnnamed2437();
+ o.testTargets = buildUnnamed2441();
}
buildCounterTestTargetsForShard--;
return o;
@@ -2172,7 +2225,7 @@
checkTestTargetsForShard(api.TestTargetsForShard o) {
buildCounterTestTargetsForShard++;
if (buildCounterTestTargetsForShard < 3) {
- checkUnnamed2437(o.testTargets);
+ checkUnnamed2441(o.testTargets);
}
buildCounterTestTargetsForShard--;
}
@@ -2292,14 +2345,14 @@
buildCounterUniformSharding--;
}
-buildUnnamed2438() {
+buildUnnamed2442() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2438(core.List<core.String> o) {
+checkUnnamed2442(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2310,7 +2363,7 @@
var o = new api.XcodeVersion();
buildCounterXcodeVersion++;
if (buildCounterXcodeVersion < 3) {
- o.tags = buildUnnamed2438();
+ o.tags = buildUnnamed2442();
o.version = "foo";
}
buildCounterXcodeVersion--;
@@ -2320,7 +2373,7 @@
checkXcodeVersion(api.XcodeVersion o) {
buildCounterXcodeVersion++;
if (buildCounterXcodeVersion < 3) {
- checkUnnamed2438(o.tags);
+ checkUnnamed2442(o.tags);
unittest.expect(o.version, unittest.equals('foo'));
}
buildCounterXcodeVersion--;
@@ -2591,6 +2644,14 @@
});
});
+ unittest.group("obj-schema-IosDeviceFile", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildIosDeviceFile();
+ var od = new api.IosDeviceFile.fromJson(o.toJson());
+ checkIosDeviceFile(od);
+ });
+ });
+
unittest.group("obj-schema-IosDeviceList", () {
unittest.test("to-json--from-json", () {
var o = buildIosDeviceList();
diff --git a/generated/googleapis/test/texttospeech/v1_test.dart b/generated/googleapis/test/texttospeech/v1_test.dart
index 4b0f3e3..85a13c8 100644
--- a/generated/googleapis/test/texttospeech/v1_test.dart
+++ b/generated/googleapis/test/texttospeech/v1_test.dart
@@ -50,14 +50,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed4158() {
+buildUnnamed4165() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4158(core.List<core.String> o) {
+checkUnnamed4165(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -69,7 +69,7 @@
buildCounterAudioConfig++;
if (buildCounterAudioConfig < 3) {
o.audioEncoding = "foo";
- o.effectsProfileId = buildUnnamed4158();
+ o.effectsProfileId = buildUnnamed4165();
o.pitch = 42.0;
o.sampleRateHertz = 42;
o.speakingRate = 42.0;
@@ -83,7 +83,7 @@
buildCounterAudioConfig++;
if (buildCounterAudioConfig < 3) {
unittest.expect(o.audioEncoding, unittest.equals('foo'));
- checkUnnamed4158(o.effectsProfileId);
+ checkUnnamed4165(o.effectsProfileId);
unittest.expect(o.pitch, unittest.equals(42.0));
unittest.expect(o.sampleRateHertz, unittest.equals(42));
unittest.expect(o.speakingRate, unittest.equals(42.0));
@@ -92,14 +92,14 @@
buildCounterAudioConfig--;
}
-buildUnnamed4159() {
+buildUnnamed4166() {
var o = new core.List<api.Voice>();
o.add(buildVoice());
o.add(buildVoice());
return o;
}
-checkUnnamed4159(core.List<api.Voice> o) {
+checkUnnamed4166(core.List<api.Voice> o) {
unittest.expect(o, unittest.hasLength(2));
checkVoice(o[0]);
checkVoice(o[1]);
@@ -110,7 +110,7 @@
var o = new api.ListVoicesResponse();
buildCounterListVoicesResponse++;
if (buildCounterListVoicesResponse < 3) {
- o.voices = buildUnnamed4159();
+ o.voices = buildUnnamed4166();
}
buildCounterListVoicesResponse--;
return o;
@@ -119,7 +119,7 @@
checkListVoicesResponse(api.ListVoicesResponse o) {
buildCounterListVoicesResponse++;
if (buildCounterListVoicesResponse < 3) {
- checkUnnamed4159(o.voices);
+ checkUnnamed4166(o.voices);
}
buildCounterListVoicesResponse--;
}
@@ -187,14 +187,14 @@
buildCounterSynthesizeSpeechResponse--;
}
-buildUnnamed4160() {
+buildUnnamed4167() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4160(core.List<core.String> o) {
+checkUnnamed4167(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -205,7 +205,7 @@
var o = new api.Voice();
buildCounterVoice++;
if (buildCounterVoice < 3) {
- o.languageCodes = buildUnnamed4160();
+ o.languageCodes = buildUnnamed4167();
o.name = "foo";
o.naturalSampleRateHertz = 42;
o.ssmlGender = "foo";
@@ -217,7 +217,7 @@
checkVoice(api.Voice o) {
buildCounterVoice++;
if (buildCounterVoice < 3) {
- checkUnnamed4160(o.languageCodes);
+ checkUnnamed4167(o.languageCodes);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.naturalSampleRateHertz, unittest.equals(42));
unittest.expect(o.ssmlGender, unittest.equals('foo'));
diff --git a/generated/googleapis/test/tpu/v1_test.dart b/generated/googleapis/test/tpu/v1_test.dart
index 3c47fd9..e46a2eb 100644
--- a/generated/googleapis/test/tpu/v1_test.dart
+++ b/generated/googleapis/test/tpu/v1_test.dart
@@ -86,27 +86,27 @@
buildCounterEmpty--;
}
-buildUnnamed4490() {
+buildUnnamed4497() {
var o = new core.List<api.AcceleratorType>();
o.add(buildAcceleratorType());
o.add(buildAcceleratorType());
return o;
}
-checkUnnamed4490(core.List<api.AcceleratorType> o) {
+checkUnnamed4497(core.List<api.AcceleratorType> o) {
unittest.expect(o, unittest.hasLength(2));
checkAcceleratorType(o[0]);
checkAcceleratorType(o[1]);
}
-buildUnnamed4491() {
+buildUnnamed4498() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4491(core.List<core.String> o) {
+checkUnnamed4498(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -117,9 +117,9 @@
var o = new api.ListAcceleratorTypesResponse();
buildCounterListAcceleratorTypesResponse++;
if (buildCounterListAcceleratorTypesResponse < 3) {
- o.acceleratorTypes = buildUnnamed4490();
+ o.acceleratorTypes = buildUnnamed4497();
o.nextPageToken = "foo";
- o.unreachable = buildUnnamed4491();
+ o.unreachable = buildUnnamed4498();
}
buildCounterListAcceleratorTypesResponse--;
return o;
@@ -128,21 +128,21 @@
checkListAcceleratorTypesResponse(api.ListAcceleratorTypesResponse o) {
buildCounterListAcceleratorTypesResponse++;
if (buildCounterListAcceleratorTypesResponse < 3) {
- checkUnnamed4490(o.acceleratorTypes);
+ checkUnnamed4497(o.acceleratorTypes);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed4491(o.unreachable);
+ checkUnnamed4498(o.unreachable);
}
buildCounterListAcceleratorTypesResponse--;
}
-buildUnnamed4492() {
+buildUnnamed4499() {
var o = new core.List<api.Location>();
o.add(buildLocation());
o.add(buildLocation());
return o;
}
-checkUnnamed4492(core.List<api.Location> o) {
+checkUnnamed4499(core.List<api.Location> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocation(o[0]);
checkLocation(o[1]);
@@ -153,7 +153,7 @@
var o = new api.ListLocationsResponse();
buildCounterListLocationsResponse++;
if (buildCounterListLocationsResponse < 3) {
- o.locations = buildUnnamed4492();
+ o.locations = buildUnnamed4499();
o.nextPageToken = "foo";
}
buildCounterListLocationsResponse--;
@@ -163,33 +163,33 @@
checkListLocationsResponse(api.ListLocationsResponse o) {
buildCounterListLocationsResponse++;
if (buildCounterListLocationsResponse < 3) {
- checkUnnamed4492(o.locations);
+ checkUnnamed4499(o.locations);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListLocationsResponse--;
}
-buildUnnamed4493() {
+buildUnnamed4500() {
var o = new core.List<api.Node>();
o.add(buildNode());
o.add(buildNode());
return o;
}
-checkUnnamed4493(core.List<api.Node> o) {
+checkUnnamed4500(core.List<api.Node> o) {
unittest.expect(o, unittest.hasLength(2));
checkNode(o[0]);
checkNode(o[1]);
}
-buildUnnamed4494() {
+buildUnnamed4501() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4494(core.List<core.String> o) {
+checkUnnamed4501(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -201,8 +201,8 @@
buildCounterListNodesResponse++;
if (buildCounterListNodesResponse < 3) {
o.nextPageToken = "foo";
- o.nodes = buildUnnamed4493();
- o.unreachable = buildUnnamed4494();
+ o.nodes = buildUnnamed4500();
+ o.unreachable = buildUnnamed4501();
}
buildCounterListNodesResponse--;
return o;
@@ -212,20 +212,20 @@
buildCounterListNodesResponse++;
if (buildCounterListNodesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed4493(o.nodes);
- checkUnnamed4494(o.unreachable);
+ checkUnnamed4500(o.nodes);
+ checkUnnamed4501(o.unreachable);
}
buildCounterListNodesResponse--;
}
-buildUnnamed4495() {
+buildUnnamed4502() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed4495(core.List<api.Operation> o) {
+checkUnnamed4502(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -237,7 +237,7 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
o.nextPageToken = "foo";
- o.operations = buildUnnamed4495();
+ o.operations = buildUnnamed4502();
}
buildCounterListOperationsResponse--;
return o;
@@ -247,32 +247,32 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed4495(o.operations);
+ checkUnnamed4502(o.operations);
}
buildCounterListOperationsResponse--;
}
-buildUnnamed4496() {
+buildUnnamed4503() {
var o = new core.List<api.TensorFlowVersion>();
o.add(buildTensorFlowVersion());
o.add(buildTensorFlowVersion());
return o;
}
-checkUnnamed4496(core.List<api.TensorFlowVersion> o) {
+checkUnnamed4503(core.List<api.TensorFlowVersion> o) {
unittest.expect(o, unittest.hasLength(2));
checkTensorFlowVersion(o[0]);
checkTensorFlowVersion(o[1]);
}
-buildUnnamed4497() {
+buildUnnamed4504() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4497(core.List<core.String> o) {
+checkUnnamed4504(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -284,8 +284,8 @@
buildCounterListTensorFlowVersionsResponse++;
if (buildCounterListTensorFlowVersionsResponse < 3) {
o.nextPageToken = "foo";
- o.tensorflowVersions = buildUnnamed4496();
- o.unreachable = buildUnnamed4497();
+ o.tensorflowVersions = buildUnnamed4503();
+ o.unreachable = buildUnnamed4504();
}
buildCounterListTensorFlowVersionsResponse--;
return o;
@@ -295,26 +295,26 @@
buildCounterListTensorFlowVersionsResponse++;
if (buildCounterListTensorFlowVersionsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed4496(o.tensorflowVersions);
- checkUnnamed4497(o.unreachable);
+ checkUnnamed4503(o.tensorflowVersions);
+ checkUnnamed4504(o.unreachable);
}
buildCounterListTensorFlowVersionsResponse--;
}
-buildUnnamed4498() {
+buildUnnamed4505() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed4498(core.Map<core.String, core.String> o) {
+checkUnnamed4505(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed4499() {
+buildUnnamed4506() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -329,7 +329,7 @@
return o;
}
-checkUnnamed4499(core.Map<core.String, core.Object> o) {
+checkUnnamed4506(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o["x"]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -349,9 +349,9 @@
buildCounterLocation++;
if (buildCounterLocation < 3) {
o.displayName = "foo";
- o.labels = buildUnnamed4498();
+ o.labels = buildUnnamed4505();
o.locationId = "foo";
- o.metadata = buildUnnamed4499();
+ o.metadata = buildUnnamed4506();
o.name = "foo";
}
buildCounterLocation--;
@@ -362,9 +362,9 @@
buildCounterLocation++;
if (buildCounterLocation < 3) {
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed4498(o.labels);
+ checkUnnamed4505(o.labels);
unittest.expect(o.locationId, unittest.equals('foo'));
- checkUnnamed4499(o.metadata);
+ checkUnnamed4506(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
}
buildCounterLocation--;
@@ -391,40 +391,40 @@
buildCounterNetworkEndpoint--;
}
-buildUnnamed4500() {
+buildUnnamed4507() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed4500(core.Map<core.String, core.String> o) {
+checkUnnamed4507(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed4501() {
+buildUnnamed4508() {
var o = new core.List<api.NetworkEndpoint>();
o.add(buildNetworkEndpoint());
o.add(buildNetworkEndpoint());
return o;
}
-checkUnnamed4501(core.List<api.NetworkEndpoint> o) {
+checkUnnamed4508(core.List<api.NetworkEndpoint> o) {
unittest.expect(o, unittest.hasLength(2));
checkNetworkEndpoint(o[0]);
checkNetworkEndpoint(o[1]);
}
-buildUnnamed4502() {
+buildUnnamed4509() {
var o = new core.List<api.Symptom>();
o.add(buildSymptom());
o.add(buildSymptom());
return o;
}
-checkUnnamed4502(core.List<api.Symptom> o) {
+checkUnnamed4509(core.List<api.Symptom> o) {
unittest.expect(o, unittest.hasLength(2));
checkSymptom(o[0]);
checkSymptom(o[1]);
@@ -442,15 +442,15 @@
o.health = "foo";
o.healthDescription = "foo";
o.ipAddress = "foo";
- o.labels = buildUnnamed4500();
+ o.labels = buildUnnamed4507();
o.name = "foo";
o.network = "foo";
- o.networkEndpoints = buildUnnamed4501();
+ o.networkEndpoints = buildUnnamed4508();
o.port = "foo";
o.schedulingConfig = buildSchedulingConfig();
o.serviceAccount = "foo";
o.state = "foo";
- o.symptoms = buildUnnamed4502();
+ o.symptoms = buildUnnamed4509();
o.tensorflowVersion = "foo";
o.useServiceNetworking = true;
}
@@ -468,22 +468,22 @@
unittest.expect(o.health, unittest.equals('foo'));
unittest.expect(o.healthDescription, unittest.equals('foo'));
unittest.expect(o.ipAddress, unittest.equals('foo'));
- checkUnnamed4500(o.labels);
+ checkUnnamed4507(o.labels);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.network, unittest.equals('foo'));
- checkUnnamed4501(o.networkEndpoints);
+ checkUnnamed4508(o.networkEndpoints);
unittest.expect(o.port, unittest.equals('foo'));
checkSchedulingConfig(o.schedulingConfig);
unittest.expect(o.serviceAccount, unittest.equals('foo'));
unittest.expect(o.state, unittest.equals('foo'));
- checkUnnamed4502(o.symptoms);
+ checkUnnamed4509(o.symptoms);
unittest.expect(o.tensorflowVersion, unittest.equals('foo'));
unittest.expect(o.useServiceNetworking, unittest.isTrue);
}
buildCounterNode--;
}
-buildUnnamed4503() {
+buildUnnamed4510() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -498,7 +498,7 @@
return o;
}
-checkUnnamed4503(core.Map<core.String, core.Object> o) {
+checkUnnamed4510(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted3 = (o["x"]) as core.Map;
unittest.expect(casted3, unittest.hasLength(3));
@@ -512,7 +512,7 @@
unittest.expect(casted4["string"], unittest.equals('foo'));
}
-buildUnnamed4504() {
+buildUnnamed4511() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -527,7 +527,7 @@
return o;
}
-checkUnnamed4504(core.Map<core.String, core.Object> o) {
+checkUnnamed4511(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted5 = (o["x"]) as core.Map;
unittest.expect(casted5, unittest.hasLength(3));
@@ -548,9 +548,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed4503();
+ o.metadata = buildUnnamed4510();
o.name = "foo";
- o.response = buildUnnamed4504();
+ o.response = buildUnnamed4511();
}
buildCounterOperation--;
return o;
@@ -561,9 +561,9 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed4503(o.metadata);
+ checkUnnamed4510(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed4504(o.response);
+ checkUnnamed4511(o.response);
}
buildCounterOperation--;
}
@@ -654,7 +654,7 @@
buildCounterStartNodeRequest--;
}
-buildUnnamed4505() {
+buildUnnamed4512() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -669,7 +669,7 @@
return o;
}
-checkUnnamed4505(core.Map<core.String, core.Object> o) {
+checkUnnamed4512(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted7 = (o["x"]) as core.Map;
unittest.expect(casted7, unittest.hasLength(3));
@@ -683,17 +683,17 @@
unittest.expect(casted8["string"], unittest.equals('foo'));
}
-buildUnnamed4506() {
+buildUnnamed4513() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed4505());
- o.add(buildUnnamed4505());
+ o.add(buildUnnamed4512());
+ o.add(buildUnnamed4512());
return o;
}
-checkUnnamed4506(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed4513(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed4505(o[0]);
- checkUnnamed4505(o[1]);
+ checkUnnamed4512(o[0]);
+ checkUnnamed4512(o[1]);
}
core.int buildCounterStatus = 0;
@@ -702,7 +702,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed4506();
+ o.details = buildUnnamed4513();
o.message = "foo";
}
buildCounterStatus--;
@@ -713,7 +713,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed4506(o.details);
+ checkUnnamed4513(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
@@ -1111,8 +1111,8 @@
var arg_parent = "foo";
var arg_pageSize = 42;
var arg_orderBy = "foo";
- var arg_pageToken = "foo";
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;
@@ -1149,9 +1149,9 @@
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["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 = {
@@ -1164,8 +1164,8 @@
.list(arg_parent,
pageSize: arg_pageSize,
orderBy: arg_orderBy,
- pageToken: arg_pageToken,
filter: arg_filter,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListAcceleratorTypesResponse(response);
@@ -1342,8 +1342,8 @@
api.ProjectsLocationsNodesResourceApi res =
new api.TpuApi(mock).projects.locations.nodes;
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;
@@ -1376,10 +1376,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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 = {
@@ -1390,8 +1390,8 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListNodesResponse(response);
@@ -1729,9 +1729,9 @@
api.ProjectsLocationsOperationsResourceApi res =
new api.TpuApi(mock).projects.locations.operations;
var arg_name = "foo";
- var arg_pageSize = 42;
- var arg_pageToken = "foo";
var arg_filter = "foo";
+ var arg_pageToken = "foo";
+ var arg_pageSize = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1764,11 +1764,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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["filter"].first, unittest.equals(arg_filter));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1779,9 +1779,9 @@
}), true);
res
.list(arg_name,
- pageSize: arg_pageSize,
- pageToken: arg_pageToken,
filter: arg_filter,
+ pageToken: arg_pageToken,
+ pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListOperationsResponse(response);
@@ -1848,9 +1848,9 @@
new api.TpuApi(mock).projects.locations.tensorflowVersions;
var arg_parent = "foo";
var arg_filter = "foo";
- var arg_orderBy = "foo";
var arg_pageToken = "foo";
var arg_pageSize = 42;
+ var arg_orderBy = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1885,11 +1885,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["orderBy"].first, unittest.equals(arg_orderBy));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1901,9 +1901,9 @@
res
.list(arg_parent,
filter: arg_filter,
- orderBy: arg_orderBy,
pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ orderBy: arg_orderBy,
$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 bd0fc1e..cb9cbab 100644
--- a/generated/googleapis/test/translate/v3_test.dart
+++ b/generated/googleapis/test/translate/v3_test.dart
@@ -50,66 +50,66 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed4944() {
+buildUnnamed4951() {
var o = new core.Map<core.String, api.TranslateTextGlossaryConfig>();
o["x"] = buildTranslateTextGlossaryConfig();
o["y"] = buildTranslateTextGlossaryConfig();
return o;
}
-checkUnnamed4944(core.Map<core.String, api.TranslateTextGlossaryConfig> o) {
+checkUnnamed4951(core.Map<core.String, api.TranslateTextGlossaryConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkTranslateTextGlossaryConfig(o["x"]);
checkTranslateTextGlossaryConfig(o["y"]);
}
-buildUnnamed4945() {
+buildUnnamed4952() {
var o = new core.List<api.InputConfig>();
o.add(buildInputConfig());
o.add(buildInputConfig());
return o;
}
-checkUnnamed4945(core.List<api.InputConfig> o) {
+checkUnnamed4952(core.List<api.InputConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkInputConfig(o[0]);
checkInputConfig(o[1]);
}
-buildUnnamed4946() {
+buildUnnamed4953() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed4946(core.Map<core.String, core.String> o) {
+checkUnnamed4953(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed4947() {
+buildUnnamed4954() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed4947(core.Map<core.String, core.String> o) {
+checkUnnamed4954(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed4948() {
+buildUnnamed4955() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4948(core.List<core.String> o) {
+checkUnnamed4955(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -120,13 +120,13 @@
var o = new api.BatchTranslateTextRequest();
buildCounterBatchTranslateTextRequest++;
if (buildCounterBatchTranslateTextRequest < 3) {
- o.glossaries = buildUnnamed4944();
- o.inputConfigs = buildUnnamed4945();
- o.labels = buildUnnamed4946();
- o.models = buildUnnamed4947();
+ o.glossaries = buildUnnamed4951();
+ o.inputConfigs = buildUnnamed4952();
+ o.labels = buildUnnamed4953();
+ o.models = buildUnnamed4954();
o.outputConfig = buildOutputConfig();
o.sourceLanguageCode = "foo";
- o.targetLanguageCodes = buildUnnamed4948();
+ o.targetLanguageCodes = buildUnnamed4955();
}
buildCounterBatchTranslateTextRequest--;
return o;
@@ -135,13 +135,13 @@
checkBatchTranslateTextRequest(api.BatchTranslateTextRequest o) {
buildCounterBatchTranslateTextRequest++;
if (buildCounterBatchTranslateTextRequest < 3) {
- checkUnnamed4944(o.glossaries);
- checkUnnamed4945(o.inputConfigs);
- checkUnnamed4946(o.labels);
- checkUnnamed4947(o.models);
+ checkUnnamed4951(o.glossaries);
+ checkUnnamed4952(o.inputConfigs);
+ checkUnnamed4953(o.labels);
+ checkUnnamed4954(o.models);
checkOutputConfig(o.outputConfig);
unittest.expect(o.sourceLanguageCode, unittest.equals('foo'));
- checkUnnamed4948(o.targetLanguageCodes);
+ checkUnnamed4955(o.targetLanguageCodes);
}
buildCounterBatchTranslateTextRequest--;
}
@@ -161,14 +161,14 @@
buildCounterCancelOperationRequest--;
}
-buildUnnamed4949() {
+buildUnnamed4956() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed4949(core.Map<core.String, core.String> o) {
+checkUnnamed4956(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -180,7 +180,7 @@
buildCounterDetectLanguageRequest++;
if (buildCounterDetectLanguageRequest < 3) {
o.content = "foo";
- o.labels = buildUnnamed4949();
+ o.labels = buildUnnamed4956();
o.mimeType = "foo";
o.model = "foo";
}
@@ -192,21 +192,21 @@
buildCounterDetectLanguageRequest++;
if (buildCounterDetectLanguageRequest < 3) {
unittest.expect(o.content, unittest.equals('foo'));
- checkUnnamed4949(o.labels);
+ checkUnnamed4956(o.labels);
unittest.expect(o.mimeType, unittest.equals('foo'));
unittest.expect(o.model, unittest.equals('foo'));
}
buildCounterDetectLanguageRequest--;
}
-buildUnnamed4950() {
+buildUnnamed4957() {
var o = new core.List<api.DetectedLanguage>();
o.add(buildDetectedLanguage());
o.add(buildDetectedLanguage());
return o;
}
-checkUnnamed4950(core.List<api.DetectedLanguage> o) {
+checkUnnamed4957(core.List<api.DetectedLanguage> o) {
unittest.expect(o, unittest.hasLength(2));
checkDetectedLanguage(o[0]);
checkDetectedLanguage(o[1]);
@@ -217,7 +217,7 @@
var o = new api.DetectLanguageResponse();
buildCounterDetectLanguageResponse++;
if (buildCounterDetectLanguageResponse < 3) {
- o.languages = buildUnnamed4950();
+ o.languages = buildUnnamed4957();
}
buildCounterDetectLanguageResponse--;
return o;
@@ -226,7 +226,7 @@
checkDetectLanguageResponse(api.DetectLanguageResponse o) {
buildCounterDetectLanguageResponse++;
if (buildCounterDetectLanguageResponse < 3) {
- checkUnnamed4950(o.languages);
+ checkUnnamed4957(o.languages);
}
buildCounterDetectLanguageResponse--;
}
@@ -397,14 +397,14 @@
buildCounterLanguageCodePair--;
}
-buildUnnamed4951() {
+buildUnnamed4958() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4951(core.List<core.String> o) {
+checkUnnamed4958(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -415,7 +415,7 @@
var o = new api.LanguageCodesSet();
buildCounterLanguageCodesSet++;
if (buildCounterLanguageCodesSet < 3) {
- o.languageCodes = buildUnnamed4951();
+ o.languageCodes = buildUnnamed4958();
}
buildCounterLanguageCodesSet--;
return o;
@@ -424,19 +424,19 @@
checkLanguageCodesSet(api.LanguageCodesSet o) {
buildCounterLanguageCodesSet++;
if (buildCounterLanguageCodesSet < 3) {
- checkUnnamed4951(o.languageCodes);
+ checkUnnamed4958(o.languageCodes);
}
buildCounterLanguageCodesSet--;
}
-buildUnnamed4952() {
+buildUnnamed4959() {
var o = new core.List<api.Glossary>();
o.add(buildGlossary());
o.add(buildGlossary());
return o;
}
-checkUnnamed4952(core.List<api.Glossary> o) {
+checkUnnamed4959(core.List<api.Glossary> o) {
unittest.expect(o, unittest.hasLength(2));
checkGlossary(o[0]);
checkGlossary(o[1]);
@@ -447,7 +447,7 @@
var o = new api.ListGlossariesResponse();
buildCounterListGlossariesResponse++;
if (buildCounterListGlossariesResponse < 3) {
- o.glossaries = buildUnnamed4952();
+ o.glossaries = buildUnnamed4959();
o.nextPageToken = "foo";
}
buildCounterListGlossariesResponse--;
@@ -457,20 +457,20 @@
checkListGlossariesResponse(api.ListGlossariesResponse o) {
buildCounterListGlossariesResponse++;
if (buildCounterListGlossariesResponse < 3) {
- checkUnnamed4952(o.glossaries);
+ checkUnnamed4959(o.glossaries);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListGlossariesResponse--;
}
-buildUnnamed4953() {
+buildUnnamed4960() {
var o = new core.List<api.Location>();
o.add(buildLocation());
o.add(buildLocation());
return o;
}
-checkUnnamed4953(core.List<api.Location> o) {
+checkUnnamed4960(core.List<api.Location> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocation(o[0]);
checkLocation(o[1]);
@@ -481,7 +481,7 @@
var o = new api.ListLocationsResponse();
buildCounterListLocationsResponse++;
if (buildCounterListLocationsResponse < 3) {
- o.locations = buildUnnamed4953();
+ o.locations = buildUnnamed4960();
o.nextPageToken = "foo";
}
buildCounterListLocationsResponse--;
@@ -491,20 +491,20 @@
checkListLocationsResponse(api.ListLocationsResponse o) {
buildCounterListLocationsResponse++;
if (buildCounterListLocationsResponse < 3) {
- checkUnnamed4953(o.locations);
+ checkUnnamed4960(o.locations);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListLocationsResponse--;
}
-buildUnnamed4954() {
+buildUnnamed4961() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed4954(core.List<api.Operation> o) {
+checkUnnamed4961(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -516,7 +516,7 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
o.nextPageToken = "foo";
- o.operations = buildUnnamed4954();
+ o.operations = buildUnnamed4961();
}
buildCounterListOperationsResponse--;
return o;
@@ -526,25 +526,25 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed4954(o.operations);
+ checkUnnamed4961(o.operations);
}
buildCounterListOperationsResponse--;
}
-buildUnnamed4955() {
+buildUnnamed4962() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed4955(core.Map<core.String, core.String> o) {
+checkUnnamed4962(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed4956() {
+buildUnnamed4963() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -559,7 +559,7 @@
return o;
}
-checkUnnamed4956(core.Map<core.String, core.Object> o) {
+checkUnnamed4963(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o["x"]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -579,9 +579,9 @@
buildCounterLocation++;
if (buildCounterLocation < 3) {
o.displayName = "foo";
- o.labels = buildUnnamed4955();
+ o.labels = buildUnnamed4962();
o.locationId = "foo";
- o.metadata = buildUnnamed4956();
+ o.metadata = buildUnnamed4963();
o.name = "foo";
}
buildCounterLocation--;
@@ -592,15 +592,15 @@
buildCounterLocation++;
if (buildCounterLocation < 3) {
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed4955(o.labels);
+ checkUnnamed4962(o.labels);
unittest.expect(o.locationId, unittest.equals('foo'));
- checkUnnamed4956(o.metadata);
+ checkUnnamed4963(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
}
buildCounterLocation--;
}
-buildUnnamed4957() {
+buildUnnamed4964() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -615,7 +615,7 @@
return o;
}
-checkUnnamed4957(core.Map<core.String, core.Object> o) {
+checkUnnamed4964(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted3 = (o["x"]) as core.Map;
unittest.expect(casted3, unittest.hasLength(3));
@@ -629,7 +629,7 @@
unittest.expect(casted4["string"], unittest.equals('foo'));
}
-buildUnnamed4958() {
+buildUnnamed4965() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -644,7 +644,7 @@
return o;
}
-checkUnnamed4958(core.Map<core.String, core.Object> o) {
+checkUnnamed4965(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted5 = (o["x"]) as core.Map;
unittest.expect(casted5, unittest.hasLength(3));
@@ -665,9 +665,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed4957();
+ o.metadata = buildUnnamed4964();
o.name = "foo";
- o.response = buildUnnamed4958();
+ o.response = buildUnnamed4965();
}
buildCounterOperation--;
return o;
@@ -678,9 +678,9 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed4957(o.metadata);
+ checkUnnamed4964(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed4958(o.response);
+ checkUnnamed4965(o.response);
}
buildCounterOperation--;
}
@@ -704,7 +704,7 @@
buildCounterOutputConfig--;
}
-buildUnnamed4959() {
+buildUnnamed4966() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -719,7 +719,7 @@
return o;
}
-checkUnnamed4959(core.Map<core.String, core.Object> o) {
+checkUnnamed4966(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted7 = (o["x"]) as core.Map;
unittest.expect(casted7, unittest.hasLength(3));
@@ -733,17 +733,17 @@
unittest.expect(casted8["string"], unittest.equals('foo'));
}
-buildUnnamed4960() {
+buildUnnamed4967() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed4959());
- o.add(buildUnnamed4959());
+ o.add(buildUnnamed4966());
+ o.add(buildUnnamed4966());
return o;
}
-checkUnnamed4960(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed4967(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed4959(o[0]);
- checkUnnamed4959(o[1]);
+ checkUnnamed4966(o[0]);
+ checkUnnamed4966(o[1]);
}
core.int buildCounterStatus = 0;
@@ -752,7 +752,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed4960();
+ o.details = buildUnnamed4967();
o.message = "foo";
}
buildCounterStatus--;
@@ -763,7 +763,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed4960(o.details);
+ checkUnnamed4967(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
@@ -794,14 +794,14 @@
buildCounterSupportedLanguage--;
}
-buildUnnamed4961() {
+buildUnnamed4968() {
var o = new core.List<api.SupportedLanguage>();
o.add(buildSupportedLanguage());
o.add(buildSupportedLanguage());
return o;
}
-checkUnnamed4961(core.List<api.SupportedLanguage> o) {
+checkUnnamed4968(core.List<api.SupportedLanguage> o) {
unittest.expect(o, unittest.hasLength(2));
checkSupportedLanguage(o[0]);
checkSupportedLanguage(o[1]);
@@ -812,7 +812,7 @@
var o = new api.SupportedLanguages();
buildCounterSupportedLanguages++;
if (buildCounterSupportedLanguages < 3) {
- o.languages = buildUnnamed4961();
+ o.languages = buildUnnamed4968();
}
buildCounterSupportedLanguages--;
return o;
@@ -821,7 +821,7 @@
checkSupportedLanguages(api.SupportedLanguages o) {
buildCounterSupportedLanguages++;
if (buildCounterSupportedLanguages < 3) {
- checkUnnamed4961(o.languages);
+ checkUnnamed4968(o.languages);
}
buildCounterSupportedLanguages--;
}
@@ -847,27 +847,27 @@
buildCounterTranslateTextGlossaryConfig--;
}
-buildUnnamed4962() {
+buildUnnamed4969() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4962(core.List<core.String> o) {
+checkUnnamed4969(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed4963() {
+buildUnnamed4970() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed4963(core.Map<core.String, core.String> o) {
+checkUnnamed4970(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -878,9 +878,9 @@
var o = new api.TranslateTextRequest();
buildCounterTranslateTextRequest++;
if (buildCounterTranslateTextRequest < 3) {
- o.contents = buildUnnamed4962();
+ o.contents = buildUnnamed4969();
o.glossaryConfig = buildTranslateTextGlossaryConfig();
- o.labels = buildUnnamed4963();
+ o.labels = buildUnnamed4970();
o.mimeType = "foo";
o.model = "foo";
o.sourceLanguageCode = "foo";
@@ -893,9 +893,9 @@
checkTranslateTextRequest(api.TranslateTextRequest o) {
buildCounterTranslateTextRequest++;
if (buildCounterTranslateTextRequest < 3) {
- checkUnnamed4962(o.contents);
+ checkUnnamed4969(o.contents);
checkTranslateTextGlossaryConfig(o.glossaryConfig);
- checkUnnamed4963(o.labels);
+ checkUnnamed4970(o.labels);
unittest.expect(o.mimeType, unittest.equals('foo'));
unittest.expect(o.model, unittest.equals('foo'));
unittest.expect(o.sourceLanguageCode, unittest.equals('foo'));
@@ -904,27 +904,27 @@
buildCounterTranslateTextRequest--;
}
-buildUnnamed4964() {
+buildUnnamed4971() {
var o = new core.List<api.Translation>();
o.add(buildTranslation());
o.add(buildTranslation());
return o;
}
-checkUnnamed4964(core.List<api.Translation> o) {
+checkUnnamed4971(core.List<api.Translation> o) {
unittest.expect(o, unittest.hasLength(2));
checkTranslation(o[0]);
checkTranslation(o[1]);
}
-buildUnnamed4965() {
+buildUnnamed4972() {
var o = new core.List<api.Translation>();
o.add(buildTranslation());
o.add(buildTranslation());
return o;
}
-checkUnnamed4965(core.List<api.Translation> o) {
+checkUnnamed4972(core.List<api.Translation> o) {
unittest.expect(o, unittest.hasLength(2));
checkTranslation(o[0]);
checkTranslation(o[1]);
@@ -935,8 +935,8 @@
var o = new api.TranslateTextResponse();
buildCounterTranslateTextResponse++;
if (buildCounterTranslateTextResponse < 3) {
- o.glossaryTranslations = buildUnnamed4964();
- o.translations = buildUnnamed4965();
+ o.glossaryTranslations = buildUnnamed4971();
+ o.translations = buildUnnamed4972();
}
buildCounterTranslateTextResponse--;
return o;
@@ -945,8 +945,8 @@
checkTranslateTextResponse(api.TranslateTextResponse o) {
buildCounterTranslateTextResponse++;
if (buildCounterTranslateTextResponse < 3) {
- checkUnnamed4964(o.glossaryTranslations);
- checkUnnamed4965(o.translations);
+ checkUnnamed4971(o.glossaryTranslations);
+ checkUnnamed4972(o.translations);
}
buildCounterTranslateTextResponse--;
}
@@ -1272,8 +1272,8 @@
var mock = new HttpServerMock();
api.ProjectsResourceApi res = new api.TranslateApi(mock).projects;
var arg_parent = "foo";
- var arg_displayLanguageCode = "foo";
var arg_model = "foo";
+ var arg_displayLanguageCode = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1306,9 +1306,9 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ 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 = {
@@ -1319,8 +1319,8 @@
}), true);
res
.getSupportedLanguages(arg_parent,
- displayLanguageCode: arg_displayLanguageCode,
model: arg_model,
+ displayLanguageCode: arg_displayLanguageCode,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkSupportedLanguages(response);
@@ -1553,8 +1553,8 @@
api.ProjectsLocationsResourceApi res =
new api.TranslateApi(mock).projects.locations;
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;
@@ -1587,9 +1587,9 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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 = {
@@ -1600,8 +1600,8 @@
}), true);
res
.getSupportedLanguages(arg_parent,
- model: arg_model,
displayLanguageCode: arg_displayLanguageCode,
+ model: arg_model,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkSupportedLanguages(response);
@@ -1613,9 +1613,9 @@
api.ProjectsLocationsResourceApi res =
new api.TranslateApi(mock).projects.locations;
var arg_name = "foo";
+ var arg_pageSize = 42;
var arg_filter = "foo";
var arg_pageToken = "foo";
- var arg_pageSize = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1648,11 +1648,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ 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(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1663,9 +1663,9 @@
}), true);
res
.list(arg_name,
+ pageSize: arg_pageSize,
filter: arg_filter,
pageToken: arg_pageToken,
- pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListLocationsResponse(response);
@@ -1895,9 +1895,9 @@
api.ProjectsLocationsGlossariesResourceApi res =
new 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;
@@ -1930,11 +1930,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ 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 = {
@@ -1945,9 +1945,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);
@@ -2122,8 +2122,8 @@
new api.TranslateApi(mock).projects.locations.operations;
var arg_name = "foo";
var arg_filter = "foo";
- var arg_pageSize = 42;
var arg_pageToken = "foo";
+ var arg_pageSize = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2157,10 +2157,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["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2172,8 +2172,8 @@
res
.list(arg_name,
filter: arg_filter,
- pageSize: arg_pageSize,
pageToken: arg_pageToken,
+ pageSize: arg_pageSize,
$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 1d50d3a..a02a39c 100644
--- a/generated/googleapis/test/vault/v1_test.dart
+++ b/generated/googleapis/test/vault/v1_test.dart
@@ -50,14 +50,14 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed3167() {
+buildUnnamed3171() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3167(core.List<core.String> o) {
+checkUnnamed3171(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -68,7 +68,7 @@
var o = new api.AccountInfo();
buildCounterAccountInfo++;
if (buildCounterAccountInfo < 3) {
- o.emails = buildUnnamed3167();
+ o.emails = buildUnnamed3171();
}
buildCounterAccountInfo--;
return o;
@@ -77,7 +77,7 @@
checkAccountInfo(api.AccountInfo o) {
buildCounterAccountInfo++;
if (buildCounterAccountInfo < 3) {
- checkUnnamed3167(o.emails);
+ checkUnnamed3171(o.emails);
}
buildCounterAccountInfo--;
}
@@ -103,27 +103,27 @@
buildCounterAddHeldAccountResult--;
}
-buildUnnamed3168() {
+buildUnnamed3172() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3168(core.List<core.String> o) {
+checkUnnamed3172(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed3169() {
+buildUnnamed3173() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3169(core.List<core.String> o) {
+checkUnnamed3173(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -134,8 +134,8 @@
var o = new api.AddHeldAccountsRequest();
buildCounterAddHeldAccountsRequest++;
if (buildCounterAddHeldAccountsRequest < 3) {
- o.accountIds = buildUnnamed3168();
- o.emails = buildUnnamed3169();
+ o.accountIds = buildUnnamed3172();
+ o.emails = buildUnnamed3173();
}
buildCounterAddHeldAccountsRequest--;
return o;
@@ -144,20 +144,20 @@
checkAddHeldAccountsRequest(api.AddHeldAccountsRequest o) {
buildCounterAddHeldAccountsRequest++;
if (buildCounterAddHeldAccountsRequest < 3) {
- checkUnnamed3168(o.accountIds);
- checkUnnamed3169(o.emails);
+ checkUnnamed3172(o.accountIds);
+ checkUnnamed3173(o.emails);
}
buildCounterAddHeldAccountsRequest--;
}
-buildUnnamed3170() {
+buildUnnamed3174() {
var o = new core.List<api.AddHeldAccountResult>();
o.add(buildAddHeldAccountResult());
o.add(buildAddHeldAccountResult());
return o;
}
-checkUnnamed3170(core.List<api.AddHeldAccountResult> o) {
+checkUnnamed3174(core.List<api.AddHeldAccountResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkAddHeldAccountResult(o[0]);
checkAddHeldAccountResult(o[1]);
@@ -168,7 +168,7 @@
var o = new api.AddHeldAccountsResponse();
buildCounterAddHeldAccountsResponse++;
if (buildCounterAddHeldAccountsResponse < 3) {
- o.responses = buildUnnamed3170();
+ o.responses = buildUnnamed3174();
}
buildCounterAddHeldAccountsResponse--;
return o;
@@ -177,7 +177,7 @@
checkAddHeldAccountsResponse(api.AddHeldAccountsResponse o) {
buildCounterAddHeldAccountsResponse++;
if (buildCounterAddHeldAccountsResponse < 3) {
- checkUnnamed3170(o.responses);
+ checkUnnamed3174(o.responses);
}
buildCounterAddHeldAccountsResponse--;
}
@@ -264,14 +264,14 @@
buildCounterCloudStorageFile--;
}
-buildUnnamed3171() {
+buildUnnamed3175() {
var o = new core.List<api.CloudStorageFile>();
o.add(buildCloudStorageFile());
o.add(buildCloudStorageFile());
return o;
}
-checkUnnamed3171(core.List<api.CloudStorageFile> o) {
+checkUnnamed3175(core.List<api.CloudStorageFile> o) {
unittest.expect(o, unittest.hasLength(2));
checkCloudStorageFile(o[0]);
checkCloudStorageFile(o[1]);
@@ -282,7 +282,7 @@
var o = new api.CloudStorageSink();
buildCounterCloudStorageSink++;
if (buildCounterCloudStorageSink < 3) {
- o.files = buildUnnamed3171();
+ o.files = buildUnnamed3175();
}
buildCounterCloudStorageSink--;
return o;
@@ -291,7 +291,7 @@
checkCloudStorageSink(api.CloudStorageSink o) {
buildCounterCloudStorageSink++;
if (buildCounterCloudStorageSink < 3) {
- checkUnnamed3171(o.files);
+ checkUnnamed3175(o.files);
}
buildCounterCloudStorageSink--;
}
@@ -503,14 +503,14 @@
buildCounterHangoutsChatExportOptions--;
}
-buildUnnamed3172() {
+buildUnnamed3176() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3172(core.List<core.String> o) {
+checkUnnamed3176(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -521,7 +521,7 @@
var o = new api.HangoutsChatInfo();
buildCounterHangoutsChatInfo++;
if (buildCounterHangoutsChatInfo < 3) {
- o.roomId = buildUnnamed3172();
+ o.roomId = buildUnnamed3176();
}
buildCounterHangoutsChatInfo--;
return o;
@@ -530,7 +530,7 @@
checkHangoutsChatInfo(api.HangoutsChatInfo o) {
buildCounterHangoutsChatInfo++;
if (buildCounterHangoutsChatInfo < 3) {
- checkUnnamed3172(o.roomId);
+ checkUnnamed3176(o.roomId);
}
buildCounterHangoutsChatInfo--;
}
@@ -688,14 +688,14 @@
buildCounterHeldOrgUnit--;
}
-buildUnnamed3173() {
+buildUnnamed3177() {
var o = new core.List<api.HeldAccount>();
o.add(buildHeldAccount());
o.add(buildHeldAccount());
return o;
}
-checkUnnamed3173(core.List<api.HeldAccount> o) {
+checkUnnamed3177(core.List<api.HeldAccount> o) {
unittest.expect(o, unittest.hasLength(2));
checkHeldAccount(o[0]);
checkHeldAccount(o[1]);
@@ -706,7 +706,7 @@
var o = new api.Hold();
buildCounterHold++;
if (buildCounterHold < 3) {
- o.accounts = buildUnnamed3173();
+ o.accounts = buildUnnamed3177();
o.corpus = "foo";
o.holdId = "foo";
o.name = "foo";
@@ -721,7 +721,7 @@
checkHold(api.Hold o) {
buildCounterHold++;
if (buildCounterHold < 3) {
- checkUnnamed3173(o.accounts);
+ checkUnnamed3177(o.accounts);
unittest.expect(o.corpus, unittest.equals('foo'));
unittest.expect(o.holdId, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
@@ -732,14 +732,14 @@
buildCounterHold--;
}
-buildUnnamed3174() {
+buildUnnamed3178() {
var o = new core.List<api.Export>();
o.add(buildExport());
o.add(buildExport());
return o;
}
-checkUnnamed3174(core.List<api.Export> o) {
+checkUnnamed3178(core.List<api.Export> o) {
unittest.expect(o, unittest.hasLength(2));
checkExport(o[0]);
checkExport(o[1]);
@@ -750,7 +750,7 @@
var o = new api.ListExportsResponse();
buildCounterListExportsResponse++;
if (buildCounterListExportsResponse < 3) {
- o.exports = buildUnnamed3174();
+ o.exports = buildUnnamed3178();
o.nextPageToken = "foo";
}
buildCounterListExportsResponse--;
@@ -760,20 +760,20 @@
checkListExportsResponse(api.ListExportsResponse o) {
buildCounterListExportsResponse++;
if (buildCounterListExportsResponse < 3) {
- checkUnnamed3174(o.exports);
+ checkUnnamed3178(o.exports);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListExportsResponse--;
}
-buildUnnamed3175() {
+buildUnnamed3179() {
var o = new core.List<api.HeldAccount>();
o.add(buildHeldAccount());
o.add(buildHeldAccount());
return o;
}
-checkUnnamed3175(core.List<api.HeldAccount> o) {
+checkUnnamed3179(core.List<api.HeldAccount> o) {
unittest.expect(o, unittest.hasLength(2));
checkHeldAccount(o[0]);
checkHeldAccount(o[1]);
@@ -784,7 +784,7 @@
var o = new api.ListHeldAccountsResponse();
buildCounterListHeldAccountsResponse++;
if (buildCounterListHeldAccountsResponse < 3) {
- o.accounts = buildUnnamed3175();
+ o.accounts = buildUnnamed3179();
}
buildCounterListHeldAccountsResponse--;
return o;
@@ -793,19 +793,19 @@
checkListHeldAccountsResponse(api.ListHeldAccountsResponse o) {
buildCounterListHeldAccountsResponse++;
if (buildCounterListHeldAccountsResponse < 3) {
- checkUnnamed3175(o.accounts);
+ checkUnnamed3179(o.accounts);
}
buildCounterListHeldAccountsResponse--;
}
-buildUnnamed3176() {
+buildUnnamed3180() {
var o = new core.List<api.Hold>();
o.add(buildHold());
o.add(buildHold());
return o;
}
-checkUnnamed3176(core.List<api.Hold> o) {
+checkUnnamed3180(core.List<api.Hold> o) {
unittest.expect(o, unittest.hasLength(2));
checkHold(o[0]);
checkHold(o[1]);
@@ -816,7 +816,7 @@
var o = new api.ListHoldsResponse();
buildCounterListHoldsResponse++;
if (buildCounterListHoldsResponse < 3) {
- o.holds = buildUnnamed3176();
+ o.holds = buildUnnamed3180();
o.nextPageToken = "foo";
}
buildCounterListHoldsResponse--;
@@ -826,20 +826,20 @@
checkListHoldsResponse(api.ListHoldsResponse o) {
buildCounterListHoldsResponse++;
if (buildCounterListHoldsResponse < 3) {
- checkUnnamed3176(o.holds);
+ checkUnnamed3180(o.holds);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListHoldsResponse--;
}
-buildUnnamed3177() {
+buildUnnamed3181() {
var o = new core.List<api.Matter>();
o.add(buildMatter());
o.add(buildMatter());
return o;
}
-checkUnnamed3177(core.List<api.Matter> o) {
+checkUnnamed3181(core.List<api.Matter> o) {
unittest.expect(o, unittest.hasLength(2));
checkMatter(o[0]);
checkMatter(o[1]);
@@ -850,7 +850,7 @@
var o = new api.ListMattersResponse();
buildCounterListMattersResponse++;
if (buildCounterListMattersResponse < 3) {
- o.matters = buildUnnamed3177();
+ o.matters = buildUnnamed3181();
o.nextPageToken = "foo";
}
buildCounterListMattersResponse--;
@@ -860,20 +860,20 @@
checkListMattersResponse(api.ListMattersResponse o) {
buildCounterListMattersResponse++;
if (buildCounterListMattersResponse < 3) {
- checkUnnamed3177(o.matters);
+ checkUnnamed3181(o.matters);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListMattersResponse--;
}
-buildUnnamed3178() {
+buildUnnamed3182() {
var o = new core.List<api.SavedQuery>();
o.add(buildSavedQuery());
o.add(buildSavedQuery());
return o;
}
-checkUnnamed3178(core.List<api.SavedQuery> o) {
+checkUnnamed3182(core.List<api.SavedQuery> o) {
unittest.expect(o, unittest.hasLength(2));
checkSavedQuery(o[0]);
checkSavedQuery(o[1]);
@@ -885,7 +885,7 @@
buildCounterListSavedQueriesResponse++;
if (buildCounterListSavedQueriesResponse < 3) {
o.nextPageToken = "foo";
- o.savedQueries = buildUnnamed3178();
+ o.savedQueries = buildUnnamed3182();
}
buildCounterListSavedQueriesResponse--;
return o;
@@ -895,7 +895,7 @@
buildCounterListSavedQueriesResponse++;
if (buildCounterListSavedQueriesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3178(o.savedQueries);
+ checkUnnamed3182(o.savedQueries);
}
buildCounterListSavedQueriesResponse--;
}
@@ -940,14 +940,14 @@
buildCounterMailOptions--;
}
-buildUnnamed3179() {
+buildUnnamed3183() {
var o = new core.List<api.MatterPermission>();
o.add(buildMatterPermission());
o.add(buildMatterPermission());
return o;
}
-checkUnnamed3179(core.List<api.MatterPermission> o) {
+checkUnnamed3183(core.List<api.MatterPermission> o) {
unittest.expect(o, unittest.hasLength(2));
checkMatterPermission(o[0]);
checkMatterPermission(o[1]);
@@ -960,7 +960,7 @@
if (buildCounterMatter < 3) {
o.description = "foo";
o.matterId = "foo";
- o.matterPermissions = buildUnnamed3179();
+ o.matterPermissions = buildUnnamed3183();
o.name = "foo";
o.state = "foo";
}
@@ -973,7 +973,7 @@
if (buildCounterMatter < 3) {
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.matterId, unittest.equals('foo'));
- checkUnnamed3179(o.matterPermissions);
+ checkUnnamed3183(o.matterPermissions);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.state, unittest.equals('foo'));
}
@@ -1069,14 +1069,14 @@
buildCounterQuery--;
}
-buildUnnamed3180() {
+buildUnnamed3184() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3180(core.List<core.String> o) {
+checkUnnamed3184(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1087,7 +1087,7 @@
var o = new api.RemoveHeldAccountsRequest();
buildCounterRemoveHeldAccountsRequest++;
if (buildCounterRemoveHeldAccountsRequest < 3) {
- o.accountIds = buildUnnamed3180();
+ o.accountIds = buildUnnamed3184();
}
buildCounterRemoveHeldAccountsRequest--;
return o;
@@ -1096,19 +1096,19 @@
checkRemoveHeldAccountsRequest(api.RemoveHeldAccountsRequest o) {
buildCounterRemoveHeldAccountsRequest++;
if (buildCounterRemoveHeldAccountsRequest < 3) {
- checkUnnamed3180(o.accountIds);
+ checkUnnamed3184(o.accountIds);
}
buildCounterRemoveHeldAccountsRequest--;
}
-buildUnnamed3181() {
+buildUnnamed3185() {
var o = new core.List<api.Status>();
o.add(buildStatus());
o.add(buildStatus());
return o;
}
-checkUnnamed3181(core.List<api.Status> o) {
+checkUnnamed3185(core.List<api.Status> o) {
unittest.expect(o, unittest.hasLength(2));
checkStatus(o[0]);
checkStatus(o[1]);
@@ -1119,7 +1119,7 @@
var o = new api.RemoveHeldAccountsResponse();
buildCounterRemoveHeldAccountsResponse++;
if (buildCounterRemoveHeldAccountsResponse < 3) {
- o.statuses = buildUnnamed3181();
+ o.statuses = buildUnnamed3185();
}
buildCounterRemoveHeldAccountsResponse--;
return o;
@@ -1128,7 +1128,7 @@
checkRemoveHeldAccountsResponse(api.RemoveHeldAccountsResponse o) {
buildCounterRemoveHeldAccountsResponse++;
if (buildCounterRemoveHeldAccountsResponse < 3) {
- checkUnnamed3181(o.statuses);
+ checkUnnamed3185(o.statuses);
}
buildCounterRemoveHeldAccountsResponse--;
}
@@ -1213,14 +1213,14 @@
buildCounterSavedQuery--;
}
-buildUnnamed3182() {
+buildUnnamed3186() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3182(core.List<core.String> o) {
+checkUnnamed3186(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1231,7 +1231,7 @@
var o = new api.SharedDriveInfo();
buildCounterSharedDriveInfo++;
if (buildCounterSharedDriveInfo < 3) {
- o.sharedDriveIds = buildUnnamed3182();
+ o.sharedDriveIds = buildUnnamed3186();
}
buildCounterSharedDriveInfo--;
return o;
@@ -1240,12 +1240,12 @@
checkSharedDriveInfo(api.SharedDriveInfo o) {
buildCounterSharedDriveInfo++;
if (buildCounterSharedDriveInfo < 3) {
- checkUnnamed3182(o.sharedDriveIds);
+ checkUnnamed3186(o.sharedDriveIds);
}
buildCounterSharedDriveInfo--;
}
-buildUnnamed3183() {
+buildUnnamed3187() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1260,7 +1260,7 @@
return o;
}
-checkUnnamed3183(core.Map<core.String, core.Object> o) {
+checkUnnamed3187(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o["x"]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -1274,17 +1274,17 @@
unittest.expect(casted2["string"], unittest.equals('foo'));
}
-buildUnnamed3184() {
+buildUnnamed3188() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed3183());
- o.add(buildUnnamed3183());
+ o.add(buildUnnamed3187());
+ o.add(buildUnnamed3187());
return o;
}
-checkUnnamed3184(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed3188(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed3183(o[0]);
- checkUnnamed3183(o[1]);
+ checkUnnamed3187(o[0]);
+ checkUnnamed3187(o[1]);
}
core.int buildCounterStatus = 0;
@@ -1293,7 +1293,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed3184();
+ o.details = buildUnnamed3188();
o.message = "foo";
}
buildCounterStatus--;
@@ -1304,20 +1304,20 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed3184(o.details);
+ checkUnnamed3188(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
}
-buildUnnamed3185() {
+buildUnnamed3189() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3185(core.List<core.String> o) {
+checkUnnamed3189(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1328,7 +1328,7 @@
var o = new api.TeamDriveInfo();
buildCounterTeamDriveInfo++;
if (buildCounterTeamDriveInfo < 3) {
- o.teamDriveIds = buildUnnamed3185();
+ o.teamDriveIds = buildUnnamed3189();
}
buildCounterTeamDriveInfo--;
return o;
@@ -1337,7 +1337,7 @@
checkTeamDriveInfo(api.TeamDriveInfo o) {
buildCounterTeamDriveInfo++;
if (buildCounterTeamDriveInfo < 3) {
- checkUnnamed3185(o.teamDriveIds);
+ checkUnnamed3189(o.teamDriveIds);
}
buildCounterTeamDriveInfo--;
}
@@ -2063,9 +2063,9 @@
var mock = new HttpServerMock();
api.MattersResourceApi res = new api.VaultApi(mock).matters;
var arg_pageToken = "foo";
- var arg_view = "foo";
- var arg_pageSize = 42;
var arg_state = "foo";
+ var arg_pageSize = 42;
+ var arg_view = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2099,10 +2099,10 @@
}
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
+ unittest.expect(queryMap["state"].first, unittest.equals(arg_state));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
- unittest.expect(queryMap["state"].first, unittest.equals(arg_state));
+ unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2114,9 +2114,9 @@
res
.list(
pageToken: arg_pageToken,
- view: arg_view,
- pageSize: arg_pageSize,
state: arg_state,
+ pageSize: arg_pageSize,
+ view: arg_view,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListMattersResponse(response);
@@ -2904,8 +2904,8 @@
api.MattersHoldsResourceApi res = new api.VaultApi(mock).matters.holds;
var arg_matterId = "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;
@@ -2948,9 +2948,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 = {
@@ -2962,8 +2962,8 @@
res
.list(arg_matterId,
pageSize: arg_pageSize,
- view: arg_view,
pageToken: arg_pageToken,
+ view: arg_view,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListHoldsResponse(response);
@@ -3530,8 +3530,8 @@
api.MattersSavedQueriesResourceApi res =
new api.VaultApi(mock).matters.savedQueries;
var arg_matterId = "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;
@@ -3572,10 +3572,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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 = {
@@ -3586,8 +3586,8 @@
}), true);
res
.list(arg_matterId,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListSavedQueriesResponse(response);
diff --git a/generated/googleapis/test/videointelligence/v1_test.dart b/generated/googleapis/test/videointelligence/v1_test.dart
index 90d2a46..33357f9 100644
--- a/generated/googleapis/test/videointelligence/v1_test.dart
+++ b/generated/googleapis/test/videointelligence/v1_test.dart
@@ -50,7 +50,7 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed5064() {
+buildUnnamed5071() {
var o = new core
.List<api.GoogleCloudVideointelligenceV1VideoAnnotationProgress>();
o.add(buildGoogleCloudVideointelligenceV1VideoAnnotationProgress());
@@ -58,7 +58,7 @@
return o;
}
-checkUnnamed5064(
+checkUnnamed5071(
core.List<api.GoogleCloudVideointelligenceV1VideoAnnotationProgress> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1VideoAnnotationProgress(o[0]);
@@ -70,7 +70,7 @@
var o = new api.GoogleCloudVideointelligenceV1AnnotateVideoProgress();
buildCounterGoogleCloudVideointelligenceV1AnnotateVideoProgress++;
if (buildCounterGoogleCloudVideointelligenceV1AnnotateVideoProgress < 3) {
- o.annotationProgress = buildUnnamed5064();
+ o.annotationProgress = buildUnnamed5071();
}
buildCounterGoogleCloudVideointelligenceV1AnnotateVideoProgress--;
return o;
@@ -80,19 +80,19 @@
api.GoogleCloudVideointelligenceV1AnnotateVideoProgress o) {
buildCounterGoogleCloudVideointelligenceV1AnnotateVideoProgress++;
if (buildCounterGoogleCloudVideointelligenceV1AnnotateVideoProgress < 3) {
- checkUnnamed5064(o.annotationProgress);
+ checkUnnamed5071(o.annotationProgress);
}
buildCounterGoogleCloudVideointelligenceV1AnnotateVideoProgress--;
}
-buildUnnamed5065() {
+buildUnnamed5072() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5065(core.List<core.String> o) {
+checkUnnamed5072(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -103,7 +103,7 @@
var o = new api.GoogleCloudVideointelligenceV1AnnotateVideoRequest();
buildCounterGoogleCloudVideointelligenceV1AnnotateVideoRequest++;
if (buildCounterGoogleCloudVideointelligenceV1AnnotateVideoRequest < 3) {
- o.features = buildUnnamed5065();
+ o.features = buildUnnamed5072();
o.inputContent = "foo";
o.inputUri = "foo";
o.locationId = "foo";
@@ -118,7 +118,7 @@
api.GoogleCloudVideointelligenceV1AnnotateVideoRequest o) {
buildCounterGoogleCloudVideointelligenceV1AnnotateVideoRequest++;
if (buildCounterGoogleCloudVideointelligenceV1AnnotateVideoRequest < 3) {
- checkUnnamed5065(o.features);
+ checkUnnamed5072(o.features);
unittest.expect(o.inputContent, unittest.equals('foo'));
unittest.expect(o.inputUri, unittest.equals('foo'));
unittest.expect(o.locationId, unittest.equals('foo'));
@@ -128,7 +128,7 @@
buildCounterGoogleCloudVideointelligenceV1AnnotateVideoRequest--;
}
-buildUnnamed5066() {
+buildUnnamed5073() {
var o =
new core.List<api.GoogleCloudVideointelligenceV1VideoAnnotationResults>();
o.add(buildGoogleCloudVideointelligenceV1VideoAnnotationResults());
@@ -136,7 +136,7 @@
return o;
}
-checkUnnamed5066(
+checkUnnamed5073(
core.List<api.GoogleCloudVideointelligenceV1VideoAnnotationResults> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1VideoAnnotationResults(o[0]);
@@ -148,7 +148,7 @@
var o = new api.GoogleCloudVideointelligenceV1AnnotateVideoResponse();
buildCounterGoogleCloudVideointelligenceV1AnnotateVideoResponse++;
if (buildCounterGoogleCloudVideointelligenceV1AnnotateVideoResponse < 3) {
- o.annotationResults = buildUnnamed5066();
+ o.annotationResults = buildUnnamed5073();
}
buildCounterGoogleCloudVideointelligenceV1AnnotateVideoResponse--;
return o;
@@ -158,7 +158,7 @@
api.GoogleCloudVideointelligenceV1AnnotateVideoResponse o) {
buildCounterGoogleCloudVideointelligenceV1AnnotateVideoResponse++;
if (buildCounterGoogleCloudVideointelligenceV1AnnotateVideoResponse < 3) {
- checkUnnamed5066(o.annotationResults);
+ checkUnnamed5073(o.annotationResults);
}
buildCounterGoogleCloudVideointelligenceV1AnnotateVideoResponse--;
}
@@ -235,7 +235,7 @@
buildCounterGoogleCloudVideointelligenceV1Entity--;
}
-buildUnnamed5067() {
+buildUnnamed5074() {
var o =
new core.List<api.GoogleCloudVideointelligenceV1ExplicitContentFrame>();
o.add(buildGoogleCloudVideointelligenceV1ExplicitContentFrame());
@@ -243,7 +243,7 @@
return o;
}
-checkUnnamed5067(
+checkUnnamed5074(
core.List<api.GoogleCloudVideointelligenceV1ExplicitContentFrame> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1ExplicitContentFrame(o[0]);
@@ -256,7 +256,7 @@
var o = new api.GoogleCloudVideointelligenceV1ExplicitContentAnnotation();
buildCounterGoogleCloudVideointelligenceV1ExplicitContentAnnotation++;
if (buildCounterGoogleCloudVideointelligenceV1ExplicitContentAnnotation < 3) {
- o.frames = buildUnnamed5067();
+ o.frames = buildUnnamed5074();
o.version = "foo";
}
buildCounterGoogleCloudVideointelligenceV1ExplicitContentAnnotation--;
@@ -267,7 +267,7 @@
api.GoogleCloudVideointelligenceV1ExplicitContentAnnotation o) {
buildCounterGoogleCloudVideointelligenceV1ExplicitContentAnnotation++;
if (buildCounterGoogleCloudVideointelligenceV1ExplicitContentAnnotation < 3) {
- checkUnnamed5067(o.frames);
+ checkUnnamed5074(o.frames);
unittest.expect(o.version, unittest.equals('foo'));
}
buildCounterGoogleCloudVideointelligenceV1ExplicitContentAnnotation--;
@@ -320,191 +320,40 @@
buildCounterGoogleCloudVideointelligenceV1ExplicitContentFrame--;
}
-buildUnnamed5068() {
- var o = new core.List<api.GoogleCloudVideointelligenceV1FaceFrame>();
- o.add(buildGoogleCloudVideointelligenceV1FaceFrame());
- o.add(buildGoogleCloudVideointelligenceV1FaceFrame());
- return o;
-}
-
-checkUnnamed5068(core.List<api.GoogleCloudVideointelligenceV1FaceFrame> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkGoogleCloudVideointelligenceV1FaceFrame(o[0]);
- checkGoogleCloudVideointelligenceV1FaceFrame(o[1]);
-}
-
-buildUnnamed5069() {
- var o = new core.List<api.GoogleCloudVideointelligenceV1FaceSegment>();
- o.add(buildGoogleCloudVideointelligenceV1FaceSegment());
- o.add(buildGoogleCloudVideointelligenceV1FaceSegment());
- return o;
-}
-
-checkUnnamed5069(core.List<api.GoogleCloudVideointelligenceV1FaceSegment> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkGoogleCloudVideointelligenceV1FaceSegment(o[0]);
- checkGoogleCloudVideointelligenceV1FaceSegment(o[1]);
-}
-
-core.int buildCounterGoogleCloudVideointelligenceV1FaceAnnotation = 0;
-buildGoogleCloudVideointelligenceV1FaceAnnotation() {
- var o = new api.GoogleCloudVideointelligenceV1FaceAnnotation();
- buildCounterGoogleCloudVideointelligenceV1FaceAnnotation++;
- if (buildCounterGoogleCloudVideointelligenceV1FaceAnnotation < 3) {
- o.frames = buildUnnamed5068();
- o.segments = buildUnnamed5069();
- o.thumbnail = "foo";
- }
- buildCounterGoogleCloudVideointelligenceV1FaceAnnotation--;
- return o;
-}
-
-checkGoogleCloudVideointelligenceV1FaceAnnotation(
- api.GoogleCloudVideointelligenceV1FaceAnnotation o) {
- buildCounterGoogleCloudVideointelligenceV1FaceAnnotation++;
- if (buildCounterGoogleCloudVideointelligenceV1FaceAnnotation < 3) {
- checkUnnamed5068(o.frames);
- checkUnnamed5069(o.segments);
- unittest.expect(o.thumbnail, unittest.equals('foo'));
- }
- buildCounterGoogleCloudVideointelligenceV1FaceAnnotation--;
-}
-
-core.int buildCounterGoogleCloudVideointelligenceV1FaceDetectionAnnotation = 0;
-buildGoogleCloudVideointelligenceV1FaceDetectionAnnotation() {
- var o = new api.GoogleCloudVideointelligenceV1FaceDetectionAnnotation();
- buildCounterGoogleCloudVideointelligenceV1FaceDetectionAnnotation++;
- if (buildCounterGoogleCloudVideointelligenceV1FaceDetectionAnnotation < 3) {
- o.version = "foo";
- }
- buildCounterGoogleCloudVideointelligenceV1FaceDetectionAnnotation--;
- return o;
-}
-
-checkGoogleCloudVideointelligenceV1FaceDetectionAnnotation(
- api.GoogleCloudVideointelligenceV1FaceDetectionAnnotation o) {
- buildCounterGoogleCloudVideointelligenceV1FaceDetectionAnnotation++;
- if (buildCounterGoogleCloudVideointelligenceV1FaceDetectionAnnotation < 3) {
- unittest.expect(o.version, unittest.equals('foo'));
- }
- buildCounterGoogleCloudVideointelligenceV1FaceDetectionAnnotation--;
-}
-
-core.int buildCounterGoogleCloudVideointelligenceV1FaceDetectionConfig = 0;
-buildGoogleCloudVideointelligenceV1FaceDetectionConfig() {
- var o = new api.GoogleCloudVideointelligenceV1FaceDetectionConfig();
- buildCounterGoogleCloudVideointelligenceV1FaceDetectionConfig++;
- if (buildCounterGoogleCloudVideointelligenceV1FaceDetectionConfig < 3) {
- o.includeAttributes = true;
- o.includeBoundingBoxes = true;
- o.model = "foo";
- }
- buildCounterGoogleCloudVideointelligenceV1FaceDetectionConfig--;
- return o;
-}
-
-checkGoogleCloudVideointelligenceV1FaceDetectionConfig(
- api.GoogleCloudVideointelligenceV1FaceDetectionConfig o) {
- buildCounterGoogleCloudVideointelligenceV1FaceDetectionConfig++;
- if (buildCounterGoogleCloudVideointelligenceV1FaceDetectionConfig < 3) {
- unittest.expect(o.includeAttributes, unittest.isTrue);
- unittest.expect(o.includeBoundingBoxes, unittest.isTrue);
- unittest.expect(o.model, unittest.equals('foo'));
- }
- buildCounterGoogleCloudVideointelligenceV1FaceDetectionConfig--;
-}
-
-buildUnnamed5070() {
- var o =
- new core.List<api.GoogleCloudVideointelligenceV1NormalizedBoundingBox>();
- o.add(buildGoogleCloudVideointelligenceV1NormalizedBoundingBox());
- o.add(buildGoogleCloudVideointelligenceV1NormalizedBoundingBox());
- return o;
-}
-
-checkUnnamed5070(
- core.List<api.GoogleCloudVideointelligenceV1NormalizedBoundingBox> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkGoogleCloudVideointelligenceV1NormalizedBoundingBox(o[0]);
- checkGoogleCloudVideointelligenceV1NormalizedBoundingBox(o[1]);
-}
-
-core.int buildCounterGoogleCloudVideointelligenceV1FaceFrame = 0;
-buildGoogleCloudVideointelligenceV1FaceFrame() {
- var o = new api.GoogleCloudVideointelligenceV1FaceFrame();
- buildCounterGoogleCloudVideointelligenceV1FaceFrame++;
- if (buildCounterGoogleCloudVideointelligenceV1FaceFrame < 3) {
- o.normalizedBoundingBoxes = buildUnnamed5070();
- o.timeOffset = "foo";
- }
- buildCounterGoogleCloudVideointelligenceV1FaceFrame--;
- return o;
-}
-
-checkGoogleCloudVideointelligenceV1FaceFrame(
- api.GoogleCloudVideointelligenceV1FaceFrame o) {
- buildCounterGoogleCloudVideointelligenceV1FaceFrame++;
- if (buildCounterGoogleCloudVideointelligenceV1FaceFrame < 3) {
- checkUnnamed5070(o.normalizedBoundingBoxes);
- unittest.expect(o.timeOffset, unittest.equals('foo'));
- }
- buildCounterGoogleCloudVideointelligenceV1FaceFrame--;
-}
-
-core.int buildCounterGoogleCloudVideointelligenceV1FaceSegment = 0;
-buildGoogleCloudVideointelligenceV1FaceSegment() {
- var o = new api.GoogleCloudVideointelligenceV1FaceSegment();
- buildCounterGoogleCloudVideointelligenceV1FaceSegment++;
- if (buildCounterGoogleCloudVideointelligenceV1FaceSegment < 3) {
- o.segment = buildGoogleCloudVideointelligenceV1VideoSegment();
- }
- buildCounterGoogleCloudVideointelligenceV1FaceSegment--;
- return o;
-}
-
-checkGoogleCloudVideointelligenceV1FaceSegment(
- api.GoogleCloudVideointelligenceV1FaceSegment o) {
- buildCounterGoogleCloudVideointelligenceV1FaceSegment++;
- if (buildCounterGoogleCloudVideointelligenceV1FaceSegment < 3) {
- checkGoogleCloudVideointelligenceV1VideoSegment(o.segment);
- }
- buildCounterGoogleCloudVideointelligenceV1FaceSegment--;
-}
-
-buildUnnamed5071() {
+buildUnnamed5075() {
var o = new core.List<api.GoogleCloudVideointelligenceV1Entity>();
o.add(buildGoogleCloudVideointelligenceV1Entity());
o.add(buildGoogleCloudVideointelligenceV1Entity());
return o;
}
-checkUnnamed5071(core.List<api.GoogleCloudVideointelligenceV1Entity> o) {
+checkUnnamed5075(core.List<api.GoogleCloudVideointelligenceV1Entity> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1Entity(o[0]);
checkGoogleCloudVideointelligenceV1Entity(o[1]);
}
-buildUnnamed5072() {
+buildUnnamed5076() {
var o = new core.List<api.GoogleCloudVideointelligenceV1LabelFrame>();
o.add(buildGoogleCloudVideointelligenceV1LabelFrame());
o.add(buildGoogleCloudVideointelligenceV1LabelFrame());
return o;
}
-checkUnnamed5072(core.List<api.GoogleCloudVideointelligenceV1LabelFrame> o) {
+checkUnnamed5076(core.List<api.GoogleCloudVideointelligenceV1LabelFrame> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1LabelFrame(o[0]);
checkGoogleCloudVideointelligenceV1LabelFrame(o[1]);
}
-buildUnnamed5073() {
+buildUnnamed5077() {
var o = new core.List<api.GoogleCloudVideointelligenceV1LabelSegment>();
o.add(buildGoogleCloudVideointelligenceV1LabelSegment());
o.add(buildGoogleCloudVideointelligenceV1LabelSegment());
return o;
}
-checkUnnamed5073(core.List<api.GoogleCloudVideointelligenceV1LabelSegment> o) {
+checkUnnamed5077(core.List<api.GoogleCloudVideointelligenceV1LabelSegment> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1LabelSegment(o[0]);
checkGoogleCloudVideointelligenceV1LabelSegment(o[1]);
@@ -515,10 +364,10 @@
var o = new api.GoogleCloudVideointelligenceV1LabelAnnotation();
buildCounterGoogleCloudVideointelligenceV1LabelAnnotation++;
if (buildCounterGoogleCloudVideointelligenceV1LabelAnnotation < 3) {
- o.categoryEntities = buildUnnamed5071();
+ o.categoryEntities = buildUnnamed5075();
o.entity = buildGoogleCloudVideointelligenceV1Entity();
- o.frames = buildUnnamed5072();
- o.segments = buildUnnamed5073();
+ o.frames = buildUnnamed5076();
+ o.segments = buildUnnamed5077();
o.version = "foo";
}
buildCounterGoogleCloudVideointelligenceV1LabelAnnotation--;
@@ -529,10 +378,10 @@
api.GoogleCloudVideointelligenceV1LabelAnnotation o) {
buildCounterGoogleCloudVideointelligenceV1LabelAnnotation++;
if (buildCounterGoogleCloudVideointelligenceV1LabelAnnotation < 3) {
- checkUnnamed5071(o.categoryEntities);
+ checkUnnamed5075(o.categoryEntities);
checkGoogleCloudVideointelligenceV1Entity(o.entity);
- checkUnnamed5072(o.frames);
- checkUnnamed5073(o.segments);
+ checkUnnamed5076(o.frames);
+ checkUnnamed5077(o.segments);
unittest.expect(o.version, unittest.equals('foo'));
}
buildCounterGoogleCloudVideointelligenceV1LabelAnnotation--;
@@ -610,27 +459,27 @@
buildCounterGoogleCloudVideointelligenceV1LabelSegment--;
}
-buildUnnamed5074() {
+buildUnnamed5078() {
var o = new core.List<api.GoogleCloudVideointelligenceV1VideoSegment>();
o.add(buildGoogleCloudVideointelligenceV1VideoSegment());
o.add(buildGoogleCloudVideointelligenceV1VideoSegment());
return o;
}
-checkUnnamed5074(core.List<api.GoogleCloudVideointelligenceV1VideoSegment> o) {
+checkUnnamed5078(core.List<api.GoogleCloudVideointelligenceV1VideoSegment> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1VideoSegment(o[0]);
checkGoogleCloudVideointelligenceV1VideoSegment(o[1]);
}
-buildUnnamed5075() {
+buildUnnamed5079() {
var o = new core.List<api.GoogleCloudVideointelligenceV1Track>();
o.add(buildGoogleCloudVideointelligenceV1Track());
o.add(buildGoogleCloudVideointelligenceV1Track());
return o;
}
-checkUnnamed5075(core.List<api.GoogleCloudVideointelligenceV1Track> o) {
+checkUnnamed5079(core.List<api.GoogleCloudVideointelligenceV1Track> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1Track(o[0]);
checkGoogleCloudVideointelligenceV1Track(o[1]);
@@ -643,8 +492,8 @@
buildCounterGoogleCloudVideointelligenceV1LogoRecognitionAnnotation++;
if (buildCounterGoogleCloudVideointelligenceV1LogoRecognitionAnnotation < 3) {
o.entity = buildGoogleCloudVideointelligenceV1Entity();
- o.segments = buildUnnamed5074();
- o.tracks = buildUnnamed5075();
+ o.segments = buildUnnamed5078();
+ o.tracks = buildUnnamed5079();
}
buildCounterGoogleCloudVideointelligenceV1LogoRecognitionAnnotation--;
return o;
@@ -655,8 +504,8 @@
buildCounterGoogleCloudVideointelligenceV1LogoRecognitionAnnotation++;
if (buildCounterGoogleCloudVideointelligenceV1LogoRecognitionAnnotation < 3) {
checkGoogleCloudVideointelligenceV1Entity(o.entity);
- checkUnnamed5074(o.segments);
- checkUnnamed5075(o.tracks);
+ checkUnnamed5078(o.segments);
+ checkUnnamed5079(o.tracks);
}
buildCounterGoogleCloudVideointelligenceV1LogoRecognitionAnnotation--;
}
@@ -687,14 +536,14 @@
buildCounterGoogleCloudVideointelligenceV1NormalizedBoundingBox--;
}
-buildUnnamed5076() {
+buildUnnamed5080() {
var o = new core.List<api.GoogleCloudVideointelligenceV1NormalizedVertex>();
o.add(buildGoogleCloudVideointelligenceV1NormalizedVertex());
o.add(buildGoogleCloudVideointelligenceV1NormalizedVertex());
return o;
}
-checkUnnamed5076(
+checkUnnamed5080(
core.List<api.GoogleCloudVideointelligenceV1NormalizedVertex> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1NormalizedVertex(o[0]);
@@ -706,7 +555,7 @@
var o = new api.GoogleCloudVideointelligenceV1NormalizedBoundingPoly();
buildCounterGoogleCloudVideointelligenceV1NormalizedBoundingPoly++;
if (buildCounterGoogleCloudVideointelligenceV1NormalizedBoundingPoly < 3) {
- o.vertices = buildUnnamed5076();
+ o.vertices = buildUnnamed5080();
}
buildCounterGoogleCloudVideointelligenceV1NormalizedBoundingPoly--;
return o;
@@ -716,7 +565,7 @@
api.GoogleCloudVideointelligenceV1NormalizedBoundingPoly o) {
buildCounterGoogleCloudVideointelligenceV1NormalizedBoundingPoly++;
if (buildCounterGoogleCloudVideointelligenceV1NormalizedBoundingPoly < 3) {
- checkUnnamed5076(o.vertices);
+ checkUnnamed5080(o.vertices);
}
buildCounterGoogleCloudVideointelligenceV1NormalizedBoundingPoly--;
}
@@ -743,7 +592,7 @@
buildCounterGoogleCloudVideointelligenceV1NormalizedVertex--;
}
-buildUnnamed5077() {
+buildUnnamed5081() {
var o =
new core.List<api.GoogleCloudVideointelligenceV1ObjectTrackingFrame>();
o.add(buildGoogleCloudVideointelligenceV1ObjectTrackingFrame());
@@ -751,7 +600,7 @@
return o;
}
-checkUnnamed5077(
+checkUnnamed5081(
core.List<api.GoogleCloudVideointelligenceV1ObjectTrackingFrame> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1ObjectTrackingFrame(o[0]);
@@ -765,7 +614,7 @@
if (buildCounterGoogleCloudVideointelligenceV1ObjectTrackingAnnotation < 3) {
o.confidence = 42.0;
o.entity = buildGoogleCloudVideointelligenceV1Entity();
- o.frames = buildUnnamed5077();
+ o.frames = buildUnnamed5081();
o.segment = buildGoogleCloudVideointelligenceV1VideoSegment();
o.trackId = "foo";
o.version = "foo";
@@ -780,7 +629,7 @@
if (buildCounterGoogleCloudVideointelligenceV1ObjectTrackingAnnotation < 3) {
unittest.expect(o.confidence, unittest.equals(42.0));
checkGoogleCloudVideointelligenceV1Entity(o.entity);
- checkUnnamed5077(o.frames);
+ checkUnnamed5081(o.frames);
checkGoogleCloudVideointelligenceV1VideoSegment(o.segment);
unittest.expect(o.trackId, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals('foo'));
@@ -832,66 +681,6 @@
buildCounterGoogleCloudVideointelligenceV1ObjectTrackingFrame--;
}
-buildUnnamed5078() {
- var o = new core.List<api.GoogleCloudVideointelligenceV1Track>();
- o.add(buildGoogleCloudVideointelligenceV1Track());
- o.add(buildGoogleCloudVideointelligenceV1Track());
- return o;
-}
-
-checkUnnamed5078(core.List<api.GoogleCloudVideointelligenceV1Track> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkGoogleCloudVideointelligenceV1Track(o[0]);
- checkGoogleCloudVideointelligenceV1Track(o[1]);
-}
-
-core.int buildCounterGoogleCloudVideointelligenceV1PersonDetectionAnnotation =
- 0;
-buildGoogleCloudVideointelligenceV1PersonDetectionAnnotation() {
- var o = new api.GoogleCloudVideointelligenceV1PersonDetectionAnnotation();
- buildCounterGoogleCloudVideointelligenceV1PersonDetectionAnnotation++;
- if (buildCounterGoogleCloudVideointelligenceV1PersonDetectionAnnotation < 3) {
- o.tracks = buildUnnamed5078();
- o.version = "foo";
- }
- buildCounterGoogleCloudVideointelligenceV1PersonDetectionAnnotation--;
- return o;
-}
-
-checkGoogleCloudVideointelligenceV1PersonDetectionAnnotation(
- api.GoogleCloudVideointelligenceV1PersonDetectionAnnotation o) {
- buildCounterGoogleCloudVideointelligenceV1PersonDetectionAnnotation++;
- if (buildCounterGoogleCloudVideointelligenceV1PersonDetectionAnnotation < 3) {
- checkUnnamed5078(o.tracks);
- unittest.expect(o.version, unittest.equals('foo'));
- }
- buildCounterGoogleCloudVideointelligenceV1PersonDetectionAnnotation--;
-}
-
-core.int buildCounterGoogleCloudVideointelligenceV1PersonDetectionConfig = 0;
-buildGoogleCloudVideointelligenceV1PersonDetectionConfig() {
- var o = new api.GoogleCloudVideointelligenceV1PersonDetectionConfig();
- buildCounterGoogleCloudVideointelligenceV1PersonDetectionConfig++;
- if (buildCounterGoogleCloudVideointelligenceV1PersonDetectionConfig < 3) {
- o.includeAttributes = true;
- o.includeBoundingBoxes = true;
- o.includePoseLandmarks = true;
- }
- buildCounterGoogleCloudVideointelligenceV1PersonDetectionConfig--;
- return o;
-}
-
-checkGoogleCloudVideointelligenceV1PersonDetectionConfig(
- api.GoogleCloudVideointelligenceV1PersonDetectionConfig o) {
- buildCounterGoogleCloudVideointelligenceV1PersonDetectionConfig++;
- if (buildCounterGoogleCloudVideointelligenceV1PersonDetectionConfig < 3) {
- unittest.expect(o.includeAttributes, unittest.isTrue);
- unittest.expect(o.includeBoundingBoxes, unittest.isTrue);
- unittest.expect(o.includePoseLandmarks, unittest.isTrue);
- }
- buildCounterGoogleCloudVideointelligenceV1PersonDetectionConfig--;
-}
-
core.int buildCounterGoogleCloudVideointelligenceV1ShotChangeDetectionConfig =
0;
buildGoogleCloudVideointelligenceV1ShotChangeDetectionConfig() {
@@ -913,14 +702,14 @@
buildCounterGoogleCloudVideointelligenceV1ShotChangeDetectionConfig--;
}
-buildUnnamed5079() {
+buildUnnamed5082() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5079(core.List<core.String> o) {
+checkUnnamed5082(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -931,7 +720,7 @@
var o = new api.GoogleCloudVideointelligenceV1SpeechContext();
buildCounterGoogleCloudVideointelligenceV1SpeechContext++;
if (buildCounterGoogleCloudVideointelligenceV1SpeechContext < 3) {
- o.phrases = buildUnnamed5079();
+ o.phrases = buildUnnamed5082();
}
buildCounterGoogleCloudVideointelligenceV1SpeechContext--;
return o;
@@ -941,19 +730,19 @@
api.GoogleCloudVideointelligenceV1SpeechContext o) {
buildCounterGoogleCloudVideointelligenceV1SpeechContext++;
if (buildCounterGoogleCloudVideointelligenceV1SpeechContext < 3) {
- checkUnnamed5079(o.phrases);
+ checkUnnamed5082(o.phrases);
}
buildCounterGoogleCloudVideointelligenceV1SpeechContext--;
}
-buildUnnamed5080() {
+buildUnnamed5083() {
var o = new core.List<api.GoogleCloudVideointelligenceV1WordInfo>();
o.add(buildGoogleCloudVideointelligenceV1WordInfo());
o.add(buildGoogleCloudVideointelligenceV1WordInfo());
return o;
}
-checkUnnamed5080(core.List<api.GoogleCloudVideointelligenceV1WordInfo> o) {
+checkUnnamed5083(core.List<api.GoogleCloudVideointelligenceV1WordInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1WordInfo(o[0]);
checkGoogleCloudVideointelligenceV1WordInfo(o[1]);
@@ -968,7 +757,7 @@
3) {
o.confidence = 42.0;
o.transcript = "foo";
- o.words = buildUnnamed5080();
+ o.words = buildUnnamed5083();
}
buildCounterGoogleCloudVideointelligenceV1SpeechRecognitionAlternative--;
return o;
@@ -981,12 +770,12 @@
3) {
unittest.expect(o.confidence, unittest.equals(42.0));
unittest.expect(o.transcript, unittest.equals('foo'));
- checkUnnamed5080(o.words);
+ checkUnnamed5083(o.words);
}
buildCounterGoogleCloudVideointelligenceV1SpeechRecognitionAlternative--;
}
-buildUnnamed5081() {
+buildUnnamed5084() {
var o = new core
.List<api.GoogleCloudVideointelligenceV1SpeechRecognitionAlternative>();
o.add(buildGoogleCloudVideointelligenceV1SpeechRecognitionAlternative());
@@ -994,7 +783,7 @@
return o;
}
-checkUnnamed5081(
+checkUnnamed5084(
core.List<api.GoogleCloudVideointelligenceV1SpeechRecognitionAlternative>
o) {
unittest.expect(o, unittest.hasLength(2));
@@ -1007,7 +796,7 @@
var o = new api.GoogleCloudVideointelligenceV1SpeechTranscription();
buildCounterGoogleCloudVideointelligenceV1SpeechTranscription++;
if (buildCounterGoogleCloudVideointelligenceV1SpeechTranscription < 3) {
- o.alternatives = buildUnnamed5081();
+ o.alternatives = buildUnnamed5084();
o.languageCode = "foo";
}
buildCounterGoogleCloudVideointelligenceV1SpeechTranscription--;
@@ -1018,33 +807,33 @@
api.GoogleCloudVideointelligenceV1SpeechTranscription o) {
buildCounterGoogleCloudVideointelligenceV1SpeechTranscription++;
if (buildCounterGoogleCloudVideointelligenceV1SpeechTranscription < 3) {
- checkUnnamed5081(o.alternatives);
+ checkUnnamed5084(o.alternatives);
unittest.expect(o.languageCode, unittest.equals('foo'));
}
buildCounterGoogleCloudVideointelligenceV1SpeechTranscription--;
}
-buildUnnamed5082() {
+buildUnnamed5085() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed5082(core.List<core.int> o) {
+checkUnnamed5085(core.List<core.int> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42));
unittest.expect(o[1], unittest.equals(42));
}
-buildUnnamed5083() {
+buildUnnamed5086() {
var o = new core.List<api.GoogleCloudVideointelligenceV1SpeechContext>();
o.add(buildGoogleCloudVideointelligenceV1SpeechContext());
o.add(buildGoogleCloudVideointelligenceV1SpeechContext());
return o;
}
-checkUnnamed5083(core.List<api.GoogleCloudVideointelligenceV1SpeechContext> o) {
+checkUnnamed5086(core.List<api.GoogleCloudVideointelligenceV1SpeechContext> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1SpeechContext(o[0]);
checkGoogleCloudVideointelligenceV1SpeechContext(o[1]);
@@ -1056,7 +845,7 @@
var o = new api.GoogleCloudVideointelligenceV1SpeechTranscriptionConfig();
buildCounterGoogleCloudVideointelligenceV1SpeechTranscriptionConfig++;
if (buildCounterGoogleCloudVideointelligenceV1SpeechTranscriptionConfig < 3) {
- o.audioTracks = buildUnnamed5082();
+ o.audioTracks = buildUnnamed5085();
o.diarizationSpeakerCount = 42;
o.enableAutomaticPunctuation = true;
o.enableSpeakerDiarization = true;
@@ -1064,7 +853,7 @@
o.filterProfanity = true;
o.languageCode = "foo";
o.maxAlternatives = 42;
- o.speechContexts = buildUnnamed5083();
+ o.speechContexts = buildUnnamed5086();
}
buildCounterGoogleCloudVideointelligenceV1SpeechTranscriptionConfig--;
return o;
@@ -1074,7 +863,7 @@
api.GoogleCloudVideointelligenceV1SpeechTranscriptionConfig o) {
buildCounterGoogleCloudVideointelligenceV1SpeechTranscriptionConfig++;
if (buildCounterGoogleCloudVideointelligenceV1SpeechTranscriptionConfig < 3) {
- checkUnnamed5082(o.audioTracks);
+ checkUnnamed5085(o.audioTracks);
unittest.expect(o.diarizationSpeakerCount, unittest.equals(42));
unittest.expect(o.enableAutomaticPunctuation, unittest.isTrue);
unittest.expect(o.enableSpeakerDiarization, unittest.isTrue);
@@ -1082,19 +871,19 @@
unittest.expect(o.filterProfanity, unittest.isTrue);
unittest.expect(o.languageCode, unittest.equals('foo'));
unittest.expect(o.maxAlternatives, unittest.equals(42));
- checkUnnamed5083(o.speechContexts);
+ checkUnnamed5086(o.speechContexts);
}
buildCounterGoogleCloudVideointelligenceV1SpeechTranscriptionConfig--;
}
-buildUnnamed5084() {
+buildUnnamed5087() {
var o = new core.List<api.GoogleCloudVideointelligenceV1TextSegment>();
o.add(buildGoogleCloudVideointelligenceV1TextSegment());
o.add(buildGoogleCloudVideointelligenceV1TextSegment());
return o;
}
-checkUnnamed5084(core.List<api.GoogleCloudVideointelligenceV1TextSegment> o) {
+checkUnnamed5087(core.List<api.GoogleCloudVideointelligenceV1TextSegment> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1TextSegment(o[0]);
checkGoogleCloudVideointelligenceV1TextSegment(o[1]);
@@ -1105,7 +894,7 @@
var o = new api.GoogleCloudVideointelligenceV1TextAnnotation();
buildCounterGoogleCloudVideointelligenceV1TextAnnotation++;
if (buildCounterGoogleCloudVideointelligenceV1TextAnnotation < 3) {
- o.segments = buildUnnamed5084();
+ o.segments = buildUnnamed5087();
o.text = "foo";
o.version = "foo";
}
@@ -1117,21 +906,21 @@
api.GoogleCloudVideointelligenceV1TextAnnotation o) {
buildCounterGoogleCloudVideointelligenceV1TextAnnotation++;
if (buildCounterGoogleCloudVideointelligenceV1TextAnnotation < 3) {
- checkUnnamed5084(o.segments);
+ checkUnnamed5087(o.segments);
unittest.expect(o.text, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals('foo'));
}
buildCounterGoogleCloudVideointelligenceV1TextAnnotation--;
}
-buildUnnamed5085() {
+buildUnnamed5088() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed5085(core.List<core.String> o) {
+checkUnnamed5088(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1142,7 +931,7 @@
var o = new api.GoogleCloudVideointelligenceV1TextDetectionConfig();
buildCounterGoogleCloudVideointelligenceV1TextDetectionConfig++;
if (buildCounterGoogleCloudVideointelligenceV1TextDetectionConfig < 3) {
- o.languageHints = buildUnnamed5085();
+ o.languageHints = buildUnnamed5088();
o.model = "foo";
}
buildCounterGoogleCloudVideointelligenceV1TextDetectionConfig--;
@@ -1153,7 +942,7 @@
api.GoogleCloudVideointelligenceV1TextDetectionConfig o) {
buildCounterGoogleCloudVideointelligenceV1TextDetectionConfig++;
if (buildCounterGoogleCloudVideointelligenceV1TextDetectionConfig < 3) {
- checkUnnamed5085(o.languageHints);
+ checkUnnamed5088(o.languageHints);
unittest.expect(o.model, unittest.equals('foo'));
}
buildCounterGoogleCloudVideointelligenceV1TextDetectionConfig--;
@@ -1183,14 +972,14 @@
buildCounterGoogleCloudVideointelligenceV1TextFrame--;
}
-buildUnnamed5086() {
+buildUnnamed5089() {
var o = new core.List<api.GoogleCloudVideointelligenceV1TextFrame>();
o.add(buildGoogleCloudVideointelligenceV1TextFrame());
o.add(buildGoogleCloudVideointelligenceV1TextFrame());
return o;
}
-checkUnnamed5086(core.List<api.GoogleCloudVideointelligenceV1TextFrame> o) {
+checkUnnamed5089(core.List<api.GoogleCloudVideointelligenceV1TextFrame> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1TextFrame(o[0]);
checkGoogleCloudVideointelligenceV1TextFrame(o[1]);
@@ -1202,7 +991,7 @@
buildCounterGoogleCloudVideointelligenceV1TextSegment++;
if (buildCounterGoogleCloudVideointelligenceV1TextSegment < 3) {
o.confidence = 42.0;
- o.frames = buildUnnamed5086();
+ o.frames = buildUnnamed5089();
o.segment = buildGoogleCloudVideointelligenceV1VideoSegment();
}
buildCounterGoogleCloudVideointelligenceV1TextSegment--;
@@ -1214,34 +1003,34 @@
buildCounterGoogleCloudVideointelligenceV1TextSegment++;
if (buildCounterGoogleCloudVideointelligenceV1TextSegment < 3) {
unittest.expect(o.confidence, unittest.equals(42.0));
- checkUnnamed5086(o.frames);
+ checkUnnamed5089(o.frames);
checkGoogleCloudVideointelligenceV1VideoSegment(o.segment);
}
buildCounterGoogleCloudVideointelligenceV1TextSegment--;
}
-buildUnnamed5087() {
+buildUnnamed5090() {
var o = new core.List<api.GoogleCloudVideointelligenceV1DetectedAttribute>();
o.add(buildGoogleCloudVideointelligenceV1DetectedAttribute());
o.add(buildGoogleCloudVideointelligenceV1DetectedAttribute());
return o;
}
-checkUnnamed5087(
+checkUnnamed5090(
core.List<api.GoogleCloudVideointelligenceV1DetectedAttribute> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1DetectedAttribute(o[0]);
checkGoogleCloudVideointelligenceV1DetectedAttribute(o[1]);
}
-buildUnnamed5088() {
+buildUnnamed5091() {
var o = new core.List<api.GoogleCloudVideointelligenceV1DetectedLandmark>();
o.add(buildGoogleCloudVideointelligenceV1DetectedLandmark());
o.add(buildGoogleCloudVideointelligenceV1DetectedLandmark());
return o;
}
-checkUnnamed5088(
+checkUnnamed5091(
core.List<api.GoogleCloudVideointelligenceV1DetectedLandmark> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1DetectedLandmark(o[0]);
@@ -1253,8 +1042,8 @@
var o = new api.GoogleCloudVideointelligenceV1TimestampedObject();
buildCounterGoogleCloudVideointelligenceV1TimestampedObject++;
if (buildCounterGoogleCloudVideointelligenceV1TimestampedObject < 3) {
- o.attributes = buildUnnamed5087();
- o.landmarks = buildUnnamed5088();
+ o.attributes = buildUnnamed5090();
+ o.landmarks = buildUnnamed5091();
o.normalizedBoundingBox =
buildGoogleCloudVideointelligenceV1NormalizedBoundingBox();
o.timeOffset = "foo";
@@ -1267,8 +1056,8 @@
api.GoogleCloudVideointelligenceV1TimestampedObject o) {
buildCounterGoogleCloudVideointelligenceV1TimestampedObject++;
if (buildCounterGoogleCloudVideointelligenceV1TimestampedObject < 3) {
- checkUnnamed5087(o.attributes);
- checkUnnamed5088(o.landmarks);
+ checkUnnamed5090(o.attributes);
+ checkUnnamed5091(o.landmarks);
checkGoogleCloudVideointelligenceV1NormalizedBoundingBox(
o.normalizedBoundingBox);
unittest.expect(o.timeOffset, unittest.equals('foo'));
@@ -1276,28 +1065,28 @@
buildCounterGoogleCloudVideointelligenceV1TimestampedObject--;
}
-buildUnnamed5089() {
+buildUnnamed5092() {
var o = new core.List<api.GoogleCloudVideointelligenceV1DetectedAttribute>();
o.add(buildGoogleCloudVideointelligenceV1DetectedAttribute());
o.add(buildGoogleCloudVideointelligenceV1DetectedAttribute());
return o;
}
-checkUnnamed5089(
+checkUnnamed5092(
core.List<api.GoogleCloudVideointelligenceV1DetectedAttribute> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1DetectedAttribute(o[0]);
checkGoogleCloudVideointelligenceV1DetectedAttribute(o[1]);
}
-buildUnnamed5090() {
+buildUnnamed5093() {
var o = new core.List<api.GoogleCloudVideointelligenceV1TimestampedObject>();
o.add(buildGoogleCloudVideointelligenceV1TimestampedObject());
o.add(buildGoogleCloudVideointelligenceV1TimestampedObject());
return o;
}
-checkUnnamed5090(
+checkUnnamed5093(
core.List<api.GoogleCloudVideointelligenceV1TimestampedObject> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1TimestampedObject(o[0]);
@@ -1309,10 +1098,10 @@
var o = new api.GoogleCloudVideointelligenceV1Track();
buildCounterGoogleCloudVideointelligenceV1Track++;
if (buildCounterGoogleCloudVideointelligenceV1Track < 3) {
- o.attributes = buildUnnamed5089();
+ o.attributes = buildUnnamed5092();
o.confidence = 42.0;
o.segment = buildGoogleCloudVideointelligenceV1VideoSegment();
- o.timestampedObjects = buildUnnamed5090();
+ o.timestampedObjects = buildUnnamed5093();
}
buildCounterGoogleCloudVideointelligenceV1Track--;
return o;
@@ -1322,10 +1111,10 @@
api.GoogleCloudVideointelligenceV1Track o) {
buildCounterGoogleCloudVideointelligenceV1Track++;
if (buildCounterGoogleCloudVideointelligenceV1Track < 3) {
- checkUnnamed5089(o.attributes);
+ checkUnnamed5092(o.attributes);
unittest.expect(o.confidence, unittest.equals(42.0));
checkGoogleCloudVideointelligenceV1VideoSegment(o.segment);
- checkUnnamed5090(o.timestampedObjects);
+ checkUnnamed5093(o.timestampedObjects);
}
buildCounterGoogleCloudVideointelligenceV1Track--;
}
@@ -1360,50 +1149,21 @@
buildCounterGoogleCloudVideointelligenceV1VideoAnnotationProgress--;
}
-buildUnnamed5091() {
- var o = new core.List<api.GoogleCloudVideointelligenceV1FaceAnnotation>();
- o.add(buildGoogleCloudVideointelligenceV1FaceAnnotation());
- o.add(buildGoogleCloudVideointelligenceV1FaceAnnotation());
- return o;
-}
-
-checkUnnamed5091(
- core.List<api.GoogleCloudVideointelligenceV1FaceAnnotation> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkGoogleCloudVideointelligenceV1FaceAnnotation(o[0]);
- checkGoogleCloudVideointelligenceV1FaceAnnotation(o[1]);
-}
-
-buildUnnamed5092() {
- var o = new core
- .List<api.GoogleCloudVideointelligenceV1FaceDetectionAnnotation>();
- o.add(buildGoogleCloudVideointelligenceV1FaceDetectionAnnotation());
- o.add(buildGoogleCloudVideointelligenceV1FaceDetectionAnnotation());
- return o;
-}
-
-checkUnnamed5092(
- core.List<api.GoogleCloudVideointelligenceV1FaceDetectionAnnotation> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkGoogleCloudVideointelligenceV1FaceDetectionAnnotation(o[0]);
- checkGoogleCloudVideointelligenceV1FaceDetectionAnnotation(o[1]);
-}
-
-buildUnnamed5093() {
+buildUnnamed5094() {
var o = new core.List<api.GoogleCloudVideointelligenceV1LabelAnnotation>();
o.add(buildGoogleCloudVideointelligenceV1LabelAnnotation());
o.add(buildGoogleCloudVideointelligenceV1LabelAnnotation());
return o;
}
-checkUnnamed5093(
+checkUnnamed5094(
core.List<api.GoogleCloudVideointelligenceV1LabelAnnotation> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1LabelAnnotation(o[0]);
checkGoogleCloudVideointelligenceV1LabelAnnotation(o[1]);
}
-buildUnnamed5094() {
+buildUnnamed5095() {
var o = new core
.List<api.GoogleCloudVideointelligenceV1LogoRecognitionAnnotation>();
o.add(buildGoogleCloudVideointelligenceV1LogoRecognitionAnnotation());
@@ -1411,14 +1171,14 @@
return o;
}
-checkUnnamed5094(
+checkUnnamed5095(
core.List<api.GoogleCloudVideointelligenceV1LogoRecognitionAnnotation> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1LogoRecognitionAnnotation(o[0]);
checkGoogleCloudVideointelligenceV1LogoRecognitionAnnotation(o[1]);
}
-buildUnnamed5095() {
+buildUnnamed5096() {
var o = new core
.List<api.GoogleCloudVideointelligenceV1ObjectTrackingAnnotation>();
o.add(buildGoogleCloudVideointelligenceV1ObjectTrackingAnnotation());
@@ -1426,28 +1186,13 @@
return o;
}
-checkUnnamed5095(
+checkUnnamed5096(
core.List<api.GoogleCloudVideointelligenceV1ObjectTrackingAnnotation> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1ObjectTrackingAnnotation(o[0]);
checkGoogleCloudVideointelligenceV1ObjectTrackingAnnotation(o[1]);
}
-buildUnnamed5096() {
- var o = new core
- .List<api.GoogleCloudVideointelligenceV1PersonDetectionAnnotation>();
- o.add(buildGoogleCloudVideointelligenceV1PersonDetectionAnnotation());
- o.add(buildGoogleCloudVideointelligenceV1PersonDetectionAnnotation());
- return o;
-}
-
-checkUnnamed5096(
- core.List<api.GoogleCloudVideointelligenceV1PersonDetectionAnnotation> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkGoogleCloudVideointelligenceV1PersonDetectionAnnotation(o[0]);
- checkGoogleCloudVideointelligenceV1PersonDetectionAnnotation(o[1]);
-}
-
buildUnnamed5097() {
var o = new core.List<api.GoogleCloudVideointelligenceV1LabelAnnotation>();
o.add(buildGoogleCloudVideointelligenceV1LabelAnnotation());
@@ -1554,13 +1299,10 @@
o.error = buildGoogleRpcStatus();
o.explicitAnnotation =
buildGoogleCloudVideointelligenceV1ExplicitContentAnnotation();
- o.faceAnnotations = buildUnnamed5091();
- o.faceDetectionAnnotations = buildUnnamed5092();
- o.frameLabelAnnotations = buildUnnamed5093();
+ o.frameLabelAnnotations = buildUnnamed5094();
o.inputUri = "foo";
- o.logoRecognitionAnnotations = buildUnnamed5094();
- o.objectAnnotations = buildUnnamed5095();
- o.personDetectionAnnotations = buildUnnamed5096();
+ o.logoRecognitionAnnotations = buildUnnamed5095();
+ o.objectAnnotations = buildUnnamed5096();
o.segment = buildGoogleCloudVideointelligenceV1VideoSegment();
o.segmentLabelAnnotations = buildUnnamed5097();
o.segmentPresenceLabelAnnotations = buildUnnamed5098();
@@ -1581,13 +1323,10 @@
checkGoogleRpcStatus(o.error);
checkGoogleCloudVideointelligenceV1ExplicitContentAnnotation(
o.explicitAnnotation);
- checkUnnamed5091(o.faceAnnotations);
- checkUnnamed5092(o.faceDetectionAnnotations);
- checkUnnamed5093(o.frameLabelAnnotations);
+ checkUnnamed5094(o.frameLabelAnnotations);
unittest.expect(o.inputUri, unittest.equals('foo'));
- checkUnnamed5094(o.logoRecognitionAnnotations);
- checkUnnamed5095(o.objectAnnotations);
- checkUnnamed5096(o.personDetectionAnnotations);
+ checkUnnamed5095(o.logoRecognitionAnnotations);
+ checkUnnamed5096(o.objectAnnotations);
checkGoogleCloudVideointelligenceV1VideoSegment(o.segment);
checkUnnamed5097(o.segmentLabelAnnotations);
checkUnnamed5098(o.segmentPresenceLabelAnnotations);
@@ -1620,14 +1359,10 @@
if (buildCounterGoogleCloudVideointelligenceV1VideoContext < 3) {
o.explicitContentDetectionConfig =
buildGoogleCloudVideointelligenceV1ExplicitContentDetectionConfig();
- o.faceDetectionConfig =
- buildGoogleCloudVideointelligenceV1FaceDetectionConfig();
o.labelDetectionConfig =
buildGoogleCloudVideointelligenceV1LabelDetectionConfig();
o.objectTrackingConfig =
buildGoogleCloudVideointelligenceV1ObjectTrackingConfig();
- o.personDetectionConfig =
- buildGoogleCloudVideointelligenceV1PersonDetectionConfig();
o.segments = buildUnnamed5104();
o.shotChangeDetectionConfig =
buildGoogleCloudVideointelligenceV1ShotChangeDetectionConfig();
@@ -1646,14 +1381,10 @@
if (buildCounterGoogleCloudVideointelligenceV1VideoContext < 3) {
checkGoogleCloudVideointelligenceV1ExplicitContentDetectionConfig(
o.explicitContentDetectionConfig);
- checkGoogleCloudVideointelligenceV1FaceDetectionConfig(
- o.faceDetectionConfig);
checkGoogleCloudVideointelligenceV1LabelDetectionConfig(
o.labelDetectionConfig);
checkGoogleCloudVideointelligenceV1ObjectTrackingConfig(
o.objectTrackingConfig);
- checkGoogleCloudVideointelligenceV1PersonDetectionConfig(
- o.personDetectionConfig);
checkUnnamed5104(o.segments);
checkGoogleCloudVideointelligenceV1ShotChangeDetectionConfig(
o.shotChangeDetectionConfig);
@@ -1931,172 +1662,40 @@
}
buildUnnamed5108() {
- var o = new core.List<api.GoogleCloudVideointelligenceV1beta2FaceFrame>();
- o.add(buildGoogleCloudVideointelligenceV1beta2FaceFrame());
- o.add(buildGoogleCloudVideointelligenceV1beta2FaceFrame());
- return o;
-}
-
-checkUnnamed5108(
- core.List<api.GoogleCloudVideointelligenceV1beta2FaceFrame> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkGoogleCloudVideointelligenceV1beta2FaceFrame(o[0]);
- checkGoogleCloudVideointelligenceV1beta2FaceFrame(o[1]);
-}
-
-buildUnnamed5109() {
- var o = new core.List<api.GoogleCloudVideointelligenceV1beta2FaceSegment>();
- o.add(buildGoogleCloudVideointelligenceV1beta2FaceSegment());
- o.add(buildGoogleCloudVideointelligenceV1beta2FaceSegment());
- return o;
-}
-
-checkUnnamed5109(
- core.List<api.GoogleCloudVideointelligenceV1beta2FaceSegment> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkGoogleCloudVideointelligenceV1beta2FaceSegment(o[0]);
- checkGoogleCloudVideointelligenceV1beta2FaceSegment(o[1]);
-}
-
-core.int buildCounterGoogleCloudVideointelligenceV1beta2FaceAnnotation = 0;
-buildGoogleCloudVideointelligenceV1beta2FaceAnnotation() {
- var o = new api.GoogleCloudVideointelligenceV1beta2FaceAnnotation();
- buildCounterGoogleCloudVideointelligenceV1beta2FaceAnnotation++;
- if (buildCounterGoogleCloudVideointelligenceV1beta2FaceAnnotation < 3) {
- o.frames = buildUnnamed5108();
- o.segments = buildUnnamed5109();
- o.thumbnail = "foo";
- }
- buildCounterGoogleCloudVideointelligenceV1beta2FaceAnnotation--;
- return o;
-}
-
-checkGoogleCloudVideointelligenceV1beta2FaceAnnotation(
- api.GoogleCloudVideointelligenceV1beta2FaceAnnotation o) {
- buildCounterGoogleCloudVideointelligenceV1beta2FaceAnnotation++;
- if (buildCounterGoogleCloudVideointelligenceV1beta2FaceAnnotation < 3) {
- checkUnnamed5108(o.frames);
- checkUnnamed5109(o.segments);
- unittest.expect(o.thumbnail, unittest.equals('foo'));
- }
- buildCounterGoogleCloudVideointelligenceV1beta2FaceAnnotation--;
-}
-
-core.int
- buildCounterGoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation = 0;
-buildGoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation() {
- var o = new api.GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation();
- buildCounterGoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation++;
- if (buildCounterGoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation <
- 3) {
- o.version = "foo";
- }
- buildCounterGoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation--;
- return o;
-}
-
-checkGoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation(
- api.GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation o) {
- buildCounterGoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation++;
- if (buildCounterGoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation <
- 3) {
- unittest.expect(o.version, unittest.equals('foo'));
- }
- buildCounterGoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation--;
-}
-
-buildUnnamed5110() {
- var o = new core
- .List<api.GoogleCloudVideointelligenceV1beta2NormalizedBoundingBox>();
- o.add(buildGoogleCloudVideointelligenceV1beta2NormalizedBoundingBox());
- o.add(buildGoogleCloudVideointelligenceV1beta2NormalizedBoundingBox());
- return o;
-}
-
-checkUnnamed5110(
- core.List<api.GoogleCloudVideointelligenceV1beta2NormalizedBoundingBox> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkGoogleCloudVideointelligenceV1beta2NormalizedBoundingBox(o[0]);
- checkGoogleCloudVideointelligenceV1beta2NormalizedBoundingBox(o[1]);
-}
-
-core.int buildCounterGoogleCloudVideointelligenceV1beta2FaceFrame = 0;
-buildGoogleCloudVideointelligenceV1beta2FaceFrame() {
- var o = new api.GoogleCloudVideointelligenceV1beta2FaceFrame();
- buildCounterGoogleCloudVideointelligenceV1beta2FaceFrame++;
- if (buildCounterGoogleCloudVideointelligenceV1beta2FaceFrame < 3) {
- o.normalizedBoundingBoxes = buildUnnamed5110();
- o.timeOffset = "foo";
- }
- buildCounterGoogleCloudVideointelligenceV1beta2FaceFrame--;
- return o;
-}
-
-checkGoogleCloudVideointelligenceV1beta2FaceFrame(
- api.GoogleCloudVideointelligenceV1beta2FaceFrame o) {
- buildCounterGoogleCloudVideointelligenceV1beta2FaceFrame++;
- if (buildCounterGoogleCloudVideointelligenceV1beta2FaceFrame < 3) {
- checkUnnamed5110(o.normalizedBoundingBoxes);
- unittest.expect(o.timeOffset, unittest.equals('foo'));
- }
- buildCounterGoogleCloudVideointelligenceV1beta2FaceFrame--;
-}
-
-core.int buildCounterGoogleCloudVideointelligenceV1beta2FaceSegment = 0;
-buildGoogleCloudVideointelligenceV1beta2FaceSegment() {
- var o = new api.GoogleCloudVideointelligenceV1beta2FaceSegment();
- buildCounterGoogleCloudVideointelligenceV1beta2FaceSegment++;
- if (buildCounterGoogleCloudVideointelligenceV1beta2FaceSegment < 3) {
- o.segment = buildGoogleCloudVideointelligenceV1beta2VideoSegment();
- }
- buildCounterGoogleCloudVideointelligenceV1beta2FaceSegment--;
- return o;
-}
-
-checkGoogleCloudVideointelligenceV1beta2FaceSegment(
- api.GoogleCloudVideointelligenceV1beta2FaceSegment o) {
- buildCounterGoogleCloudVideointelligenceV1beta2FaceSegment++;
- if (buildCounterGoogleCloudVideointelligenceV1beta2FaceSegment < 3) {
- checkGoogleCloudVideointelligenceV1beta2VideoSegment(o.segment);
- }
- buildCounterGoogleCloudVideointelligenceV1beta2FaceSegment--;
-}
-
-buildUnnamed5111() {
var o = new core.List<api.GoogleCloudVideointelligenceV1beta2Entity>();
o.add(buildGoogleCloudVideointelligenceV1beta2Entity());
o.add(buildGoogleCloudVideointelligenceV1beta2Entity());
return o;
}
-checkUnnamed5111(core.List<api.GoogleCloudVideointelligenceV1beta2Entity> o) {
+checkUnnamed5108(core.List<api.GoogleCloudVideointelligenceV1beta2Entity> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1beta2Entity(o[0]);
checkGoogleCloudVideointelligenceV1beta2Entity(o[1]);
}
-buildUnnamed5112() {
+buildUnnamed5109() {
var o = new core.List<api.GoogleCloudVideointelligenceV1beta2LabelFrame>();
o.add(buildGoogleCloudVideointelligenceV1beta2LabelFrame());
o.add(buildGoogleCloudVideointelligenceV1beta2LabelFrame());
return o;
}
-checkUnnamed5112(
+checkUnnamed5109(
core.List<api.GoogleCloudVideointelligenceV1beta2LabelFrame> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1beta2LabelFrame(o[0]);
checkGoogleCloudVideointelligenceV1beta2LabelFrame(o[1]);
}
-buildUnnamed5113() {
+buildUnnamed5110() {
var o = new core.List<api.GoogleCloudVideointelligenceV1beta2LabelSegment>();
o.add(buildGoogleCloudVideointelligenceV1beta2LabelSegment());
o.add(buildGoogleCloudVideointelligenceV1beta2LabelSegment());
return o;
}
-checkUnnamed5113(
+checkUnnamed5110(
core.List<api.GoogleCloudVideointelligenceV1beta2LabelSegment> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1beta2LabelSegment(o[0]);
@@ -2108,10 +1707,10 @@
var o = new api.GoogleCloudVideointelligenceV1beta2LabelAnnotation();
buildCounterGoogleCloudVideointelligenceV1beta2LabelAnnotation++;
if (buildCounterGoogleCloudVideointelligenceV1beta2LabelAnnotation < 3) {
- o.categoryEntities = buildUnnamed5111();
+ o.categoryEntities = buildUnnamed5108();
o.entity = buildGoogleCloudVideointelligenceV1beta2Entity();
- o.frames = buildUnnamed5112();
- o.segments = buildUnnamed5113();
+ o.frames = buildUnnamed5109();
+ o.segments = buildUnnamed5110();
o.version = "foo";
}
buildCounterGoogleCloudVideointelligenceV1beta2LabelAnnotation--;
@@ -2122,10 +1721,10 @@
api.GoogleCloudVideointelligenceV1beta2LabelAnnotation o) {
buildCounterGoogleCloudVideointelligenceV1beta2LabelAnnotation++;
if (buildCounterGoogleCloudVideointelligenceV1beta2LabelAnnotation < 3) {
- checkUnnamed5111(o.categoryEntities);
+ checkUnnamed5108(o.categoryEntities);
checkGoogleCloudVideointelligenceV1beta2Entity(o.entity);
- checkUnnamed5112(o.frames);
- checkUnnamed5113(o.segments);
+ checkUnnamed5109(o.frames);
+ checkUnnamed5110(o.segments);
unittest.expect(o.version, unittest.equals('foo'));
}
buildCounterGoogleCloudVideointelligenceV1beta2LabelAnnotation--;
@@ -2175,28 +1774,28 @@
buildCounterGoogleCloudVideointelligenceV1beta2LabelSegment--;
}
-buildUnnamed5114() {
+buildUnnamed5111() {
var o = new core.List<api.GoogleCloudVideointelligenceV1beta2VideoSegment>();
o.add(buildGoogleCloudVideointelligenceV1beta2VideoSegment());
o.add(buildGoogleCloudVideointelligenceV1beta2VideoSegment());
return o;
}
-checkUnnamed5114(
+checkUnnamed5111(
core.List<api.GoogleCloudVideointelligenceV1beta2VideoSegment> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1beta2VideoSegment(o[0]);
checkGoogleCloudVideointelligenceV1beta2VideoSegment(o[1]);
}
-buildUnnamed5115() {
+buildUnnamed5112() {
var o = new core.List<api.GoogleCloudVideointelligenceV1beta2Track>();
o.add(buildGoogleCloudVideointelligenceV1beta2Track());
o.add(buildGoogleCloudVideointelligenceV1beta2Track());
return o;
}
-checkUnnamed5115(core.List<api.GoogleCloudVideointelligenceV1beta2Track> o) {
+checkUnnamed5112(core.List<api.GoogleCloudVideointelligenceV1beta2Track> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1beta2Track(o[0]);
checkGoogleCloudVideointelligenceV1beta2Track(o[1]);
@@ -2212,8 +1811,8 @@
if (buildCounterGoogleCloudVideointelligenceV1beta2LogoRecognitionAnnotation <
3) {
o.entity = buildGoogleCloudVideointelligenceV1beta2Entity();
- o.segments = buildUnnamed5114();
- o.tracks = buildUnnamed5115();
+ o.segments = buildUnnamed5111();
+ o.tracks = buildUnnamed5112();
}
buildCounterGoogleCloudVideointelligenceV1beta2LogoRecognitionAnnotation--;
return o;
@@ -2225,8 +1824,8 @@
if (buildCounterGoogleCloudVideointelligenceV1beta2LogoRecognitionAnnotation <
3) {
checkGoogleCloudVideointelligenceV1beta2Entity(o.entity);
- checkUnnamed5114(o.segments);
- checkUnnamed5115(o.tracks);
+ checkUnnamed5111(o.segments);
+ checkUnnamed5112(o.tracks);
}
buildCounterGoogleCloudVideointelligenceV1beta2LogoRecognitionAnnotation--;
}
@@ -2260,7 +1859,7 @@
buildCounterGoogleCloudVideointelligenceV1beta2NormalizedBoundingBox--;
}
-buildUnnamed5116() {
+buildUnnamed5113() {
var o =
new core.List<api.GoogleCloudVideointelligenceV1beta2NormalizedVertex>();
o.add(buildGoogleCloudVideointelligenceV1beta2NormalizedVertex());
@@ -2268,7 +1867,7 @@
return o;
}
-checkUnnamed5116(
+checkUnnamed5113(
core.List<api.GoogleCloudVideointelligenceV1beta2NormalizedVertex> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1beta2NormalizedVertex(o[0]);
@@ -2282,7 +1881,7 @@
buildCounterGoogleCloudVideointelligenceV1beta2NormalizedBoundingPoly++;
if (buildCounterGoogleCloudVideointelligenceV1beta2NormalizedBoundingPoly <
3) {
- o.vertices = buildUnnamed5116();
+ o.vertices = buildUnnamed5113();
}
buildCounterGoogleCloudVideointelligenceV1beta2NormalizedBoundingPoly--;
return o;
@@ -2293,7 +1892,7 @@
buildCounterGoogleCloudVideointelligenceV1beta2NormalizedBoundingPoly++;
if (buildCounterGoogleCloudVideointelligenceV1beta2NormalizedBoundingPoly <
3) {
- checkUnnamed5116(o.vertices);
+ checkUnnamed5113(o.vertices);
}
buildCounterGoogleCloudVideointelligenceV1beta2NormalizedBoundingPoly--;
}
@@ -2320,7 +1919,7 @@
buildCounterGoogleCloudVideointelligenceV1beta2NormalizedVertex--;
}
-buildUnnamed5117() {
+buildUnnamed5114() {
var o = new core
.List<api.GoogleCloudVideointelligenceV1beta2ObjectTrackingFrame>();
o.add(buildGoogleCloudVideointelligenceV1beta2ObjectTrackingFrame());
@@ -2328,7 +1927,7 @@
return o;
}
-checkUnnamed5117(
+checkUnnamed5114(
core.List<api.GoogleCloudVideointelligenceV1beta2ObjectTrackingFrame> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1beta2ObjectTrackingFrame(o[0]);
@@ -2344,7 +1943,7 @@
3) {
o.confidence = 42.0;
o.entity = buildGoogleCloudVideointelligenceV1beta2Entity();
- o.frames = buildUnnamed5117();
+ o.frames = buildUnnamed5114();
o.segment = buildGoogleCloudVideointelligenceV1beta2VideoSegment();
o.trackId = "foo";
o.version = "foo";
@@ -2360,7 +1959,7 @@
3) {
unittest.expect(o.confidence, unittest.equals(42.0));
checkGoogleCloudVideointelligenceV1beta2Entity(o.entity);
- checkUnnamed5117(o.frames);
+ checkUnnamed5114(o.frames);
checkGoogleCloudVideointelligenceV1beta2VideoSegment(o.segment);
unittest.expect(o.trackId, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals('foo'));
@@ -2392,54 +1991,14 @@
buildCounterGoogleCloudVideointelligenceV1beta2ObjectTrackingFrame--;
}
-buildUnnamed5118() {
- var o = new core.List<api.GoogleCloudVideointelligenceV1beta2Track>();
- o.add(buildGoogleCloudVideointelligenceV1beta2Track());
- o.add(buildGoogleCloudVideointelligenceV1beta2Track());
- return o;
-}
-
-checkUnnamed5118(core.List<api.GoogleCloudVideointelligenceV1beta2Track> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkGoogleCloudVideointelligenceV1beta2Track(o[0]);
- checkGoogleCloudVideointelligenceV1beta2Track(o[1]);
-}
-
-core.int
- buildCounterGoogleCloudVideointelligenceV1beta2PersonDetectionAnnotation =
- 0;
-buildGoogleCloudVideointelligenceV1beta2PersonDetectionAnnotation() {
- var o =
- new api.GoogleCloudVideointelligenceV1beta2PersonDetectionAnnotation();
- buildCounterGoogleCloudVideointelligenceV1beta2PersonDetectionAnnotation++;
- if (buildCounterGoogleCloudVideointelligenceV1beta2PersonDetectionAnnotation <
- 3) {
- o.tracks = buildUnnamed5118();
- o.version = "foo";
- }
- buildCounterGoogleCloudVideointelligenceV1beta2PersonDetectionAnnotation--;
- return o;
-}
-
-checkGoogleCloudVideointelligenceV1beta2PersonDetectionAnnotation(
- api.GoogleCloudVideointelligenceV1beta2PersonDetectionAnnotation o) {
- buildCounterGoogleCloudVideointelligenceV1beta2PersonDetectionAnnotation++;
- if (buildCounterGoogleCloudVideointelligenceV1beta2PersonDetectionAnnotation <
- 3) {
- checkUnnamed5118(o.tracks);
- unittest.expect(o.version, unittest.equals('foo'));
- }
- buildCounterGoogleCloudVideointelligenceV1beta2PersonDetectionAnnotation--;
-}
-
-buildUnnamed5119() {
+buildUnnamed5115() {
var o = new core.List<api.GoogleCloudVideointelligenceV1beta2WordInfo>();
o.add(buildGoogleCloudVideointelligenceV1beta2WordInfo());
o.add(buildGoogleCloudVideointelligenceV1beta2WordInfo());
return o;
}
-checkUnnamed5119(core.List<api.GoogleCloudVideointelligenceV1beta2WordInfo> o) {
+checkUnnamed5115(core.List<api.GoogleCloudVideointelligenceV1beta2WordInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1beta2WordInfo(o[0]);
checkGoogleCloudVideointelligenceV1beta2WordInfo(o[1]);
@@ -2456,7 +2015,7 @@
3) {
o.confidence = 42.0;
o.transcript = "foo";
- o.words = buildUnnamed5119();
+ o.words = buildUnnamed5115();
}
buildCounterGoogleCloudVideointelligenceV1beta2SpeechRecognitionAlternative--;
return o;
@@ -2469,12 +2028,12 @@
3) {
unittest.expect(o.confidence, unittest.equals(42.0));
unittest.expect(o.transcript, unittest.equals('foo'));
- checkUnnamed5119(o.words);
+ checkUnnamed5115(o.words);
}
buildCounterGoogleCloudVideointelligenceV1beta2SpeechRecognitionAlternative--;
}
-buildUnnamed5120() {
+buildUnnamed5116() {
var o = new core.List<
api.GoogleCloudVideointelligenceV1beta2SpeechRecognitionAlternative>();
o.add(buildGoogleCloudVideointelligenceV1beta2SpeechRecognitionAlternative());
@@ -2482,7 +2041,7 @@
return o;
}
-checkUnnamed5120(
+checkUnnamed5116(
core.List<
api.GoogleCloudVideointelligenceV1beta2SpeechRecognitionAlternative>
o) {
@@ -2496,7 +2055,7 @@
var o = new api.GoogleCloudVideointelligenceV1beta2SpeechTranscription();
buildCounterGoogleCloudVideointelligenceV1beta2SpeechTranscription++;
if (buildCounterGoogleCloudVideointelligenceV1beta2SpeechTranscription < 3) {
- o.alternatives = buildUnnamed5120();
+ o.alternatives = buildUnnamed5116();
o.languageCode = "foo";
}
buildCounterGoogleCloudVideointelligenceV1beta2SpeechTranscription--;
@@ -2507,20 +2066,20 @@
api.GoogleCloudVideointelligenceV1beta2SpeechTranscription o) {
buildCounterGoogleCloudVideointelligenceV1beta2SpeechTranscription++;
if (buildCounterGoogleCloudVideointelligenceV1beta2SpeechTranscription < 3) {
- checkUnnamed5120(o.alternatives);
+ checkUnnamed5116(o.alternatives);
unittest.expect(o.languageCode, unittest.equals('foo'));
}
buildCounterGoogleCloudVideointelligenceV1beta2SpeechTranscription--;
}
-buildUnnamed5121() {
+buildUnnamed5117() {
var o = new core.List<api.GoogleCloudVideointelligenceV1beta2TextSegment>();
o.add(buildGoogleCloudVideointelligenceV1beta2TextSegment());
o.add(buildGoogleCloudVideointelligenceV1beta2TextSegment());
return o;
}
-checkUnnamed5121(
+checkUnnamed5117(
core.List<api.GoogleCloudVideointelligenceV1beta2TextSegment> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1beta2TextSegment(o[0]);
@@ -2532,7 +2091,7 @@
var o = new api.GoogleCloudVideointelligenceV1beta2TextAnnotation();
buildCounterGoogleCloudVideointelligenceV1beta2TextAnnotation++;
if (buildCounterGoogleCloudVideointelligenceV1beta2TextAnnotation < 3) {
- o.segments = buildUnnamed5121();
+ o.segments = buildUnnamed5117();
o.text = "foo";
o.version = "foo";
}
@@ -2544,7 +2103,7 @@
api.GoogleCloudVideointelligenceV1beta2TextAnnotation o) {
buildCounterGoogleCloudVideointelligenceV1beta2TextAnnotation++;
if (buildCounterGoogleCloudVideointelligenceV1beta2TextAnnotation < 3) {
- checkUnnamed5121(o.segments);
+ checkUnnamed5117(o.segments);
unittest.expect(o.text, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals('foo'));
}
@@ -2575,14 +2134,14 @@
buildCounterGoogleCloudVideointelligenceV1beta2TextFrame--;
}
-buildUnnamed5122() {
+buildUnnamed5118() {
var o = new core.List<api.GoogleCloudVideointelligenceV1beta2TextFrame>();
o.add(buildGoogleCloudVideointelligenceV1beta2TextFrame());
o.add(buildGoogleCloudVideointelligenceV1beta2TextFrame());
return o;
}
-checkUnnamed5122(
+checkUnnamed5118(
core.List<api.GoogleCloudVideointelligenceV1beta2TextFrame> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1beta2TextFrame(o[0]);
@@ -2595,7 +2154,7 @@
buildCounterGoogleCloudVideointelligenceV1beta2TextSegment++;
if (buildCounterGoogleCloudVideointelligenceV1beta2TextSegment < 3) {
o.confidence = 42.0;
- o.frames = buildUnnamed5122();
+ o.frames = buildUnnamed5118();
o.segment = buildGoogleCloudVideointelligenceV1beta2VideoSegment();
}
buildCounterGoogleCloudVideointelligenceV1beta2TextSegment--;
@@ -2607,13 +2166,13 @@
buildCounterGoogleCloudVideointelligenceV1beta2TextSegment++;
if (buildCounterGoogleCloudVideointelligenceV1beta2TextSegment < 3) {
unittest.expect(o.confidence, unittest.equals(42.0));
- checkUnnamed5122(o.frames);
+ checkUnnamed5118(o.frames);
checkGoogleCloudVideointelligenceV1beta2VideoSegment(o.segment);
}
buildCounterGoogleCloudVideointelligenceV1beta2TextSegment--;
}
-buildUnnamed5123() {
+buildUnnamed5119() {
var o =
new core.List<api.GoogleCloudVideointelligenceV1beta2DetectedAttribute>();
o.add(buildGoogleCloudVideointelligenceV1beta2DetectedAttribute());
@@ -2621,14 +2180,14 @@
return o;
}
-checkUnnamed5123(
+checkUnnamed5119(
core.List<api.GoogleCloudVideointelligenceV1beta2DetectedAttribute> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1beta2DetectedAttribute(o[0]);
checkGoogleCloudVideointelligenceV1beta2DetectedAttribute(o[1]);
}
-buildUnnamed5124() {
+buildUnnamed5120() {
var o =
new core.List<api.GoogleCloudVideointelligenceV1beta2DetectedLandmark>();
o.add(buildGoogleCloudVideointelligenceV1beta2DetectedLandmark());
@@ -2636,7 +2195,7 @@
return o;
}
-checkUnnamed5124(
+checkUnnamed5120(
core.List<api.GoogleCloudVideointelligenceV1beta2DetectedLandmark> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1beta2DetectedLandmark(o[0]);
@@ -2648,8 +2207,8 @@
var o = new api.GoogleCloudVideointelligenceV1beta2TimestampedObject();
buildCounterGoogleCloudVideointelligenceV1beta2TimestampedObject++;
if (buildCounterGoogleCloudVideointelligenceV1beta2TimestampedObject < 3) {
- o.attributes = buildUnnamed5123();
- o.landmarks = buildUnnamed5124();
+ o.attributes = buildUnnamed5119();
+ o.landmarks = buildUnnamed5120();
o.normalizedBoundingBox =
buildGoogleCloudVideointelligenceV1beta2NormalizedBoundingBox();
o.timeOffset = "foo";
@@ -2662,8 +2221,8 @@
api.GoogleCloudVideointelligenceV1beta2TimestampedObject o) {
buildCounterGoogleCloudVideointelligenceV1beta2TimestampedObject++;
if (buildCounterGoogleCloudVideointelligenceV1beta2TimestampedObject < 3) {
- checkUnnamed5123(o.attributes);
- checkUnnamed5124(o.landmarks);
+ checkUnnamed5119(o.attributes);
+ checkUnnamed5120(o.landmarks);
checkGoogleCloudVideointelligenceV1beta2NormalizedBoundingBox(
o.normalizedBoundingBox);
unittest.expect(o.timeOffset, unittest.equals('foo'));
@@ -2671,7 +2230,7 @@
buildCounterGoogleCloudVideointelligenceV1beta2TimestampedObject--;
}
-buildUnnamed5125() {
+buildUnnamed5121() {
var o =
new core.List<api.GoogleCloudVideointelligenceV1beta2DetectedAttribute>();
o.add(buildGoogleCloudVideointelligenceV1beta2DetectedAttribute());
@@ -2679,14 +2238,14 @@
return o;
}
-checkUnnamed5125(
+checkUnnamed5121(
core.List<api.GoogleCloudVideointelligenceV1beta2DetectedAttribute> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1beta2DetectedAttribute(o[0]);
checkGoogleCloudVideointelligenceV1beta2DetectedAttribute(o[1]);
}
-buildUnnamed5126() {
+buildUnnamed5122() {
var o =
new core.List<api.GoogleCloudVideointelligenceV1beta2TimestampedObject>();
o.add(buildGoogleCloudVideointelligenceV1beta2TimestampedObject());
@@ -2694,7 +2253,7 @@
return o;
}
-checkUnnamed5126(
+checkUnnamed5122(
core.List<api.GoogleCloudVideointelligenceV1beta2TimestampedObject> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1beta2TimestampedObject(o[0]);
@@ -2706,10 +2265,10 @@
var o = new api.GoogleCloudVideointelligenceV1beta2Track();
buildCounterGoogleCloudVideointelligenceV1beta2Track++;
if (buildCounterGoogleCloudVideointelligenceV1beta2Track < 3) {
- o.attributes = buildUnnamed5125();
+ o.attributes = buildUnnamed5121();
o.confidence = 42.0;
o.segment = buildGoogleCloudVideointelligenceV1beta2VideoSegment();
- o.timestampedObjects = buildUnnamed5126();
+ o.timestampedObjects = buildUnnamed5122();
}
buildCounterGoogleCloudVideointelligenceV1beta2Track--;
return o;
@@ -2719,10 +2278,10 @@
api.GoogleCloudVideointelligenceV1beta2Track o) {
buildCounterGoogleCloudVideointelligenceV1beta2Track++;
if (buildCounterGoogleCloudVideointelligenceV1beta2Track < 3) {
- checkUnnamed5125(o.attributes);
+ checkUnnamed5121(o.attributes);
unittest.expect(o.confidence, unittest.equals(42.0));
checkGoogleCloudVideointelligenceV1beta2VideoSegment(o.segment);
- checkUnnamed5126(o.timestampedObjects);
+ checkUnnamed5122(o.timestampedObjects);
}
buildCounterGoogleCloudVideointelligenceV1beta2Track--;
}
@@ -2760,35 +2319,95 @@
buildCounterGoogleCloudVideointelligenceV1beta2VideoAnnotationProgress--;
}
+buildUnnamed5123() {
+ var o =
+ new core.List<api.GoogleCloudVideointelligenceV1beta2LabelAnnotation>();
+ o.add(buildGoogleCloudVideointelligenceV1beta2LabelAnnotation());
+ o.add(buildGoogleCloudVideointelligenceV1beta2LabelAnnotation());
+ return o;
+}
+
+checkUnnamed5123(
+ core.List<api.GoogleCloudVideointelligenceV1beta2LabelAnnotation> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkGoogleCloudVideointelligenceV1beta2LabelAnnotation(o[0]);
+ checkGoogleCloudVideointelligenceV1beta2LabelAnnotation(o[1]);
+}
+
+buildUnnamed5124() {
+ var o = new core
+ .List<api.GoogleCloudVideointelligenceV1beta2LogoRecognitionAnnotation>();
+ o.add(buildGoogleCloudVideointelligenceV1beta2LogoRecognitionAnnotation());
+ o.add(buildGoogleCloudVideointelligenceV1beta2LogoRecognitionAnnotation());
+ return o;
+}
+
+checkUnnamed5124(
+ core.List<api.GoogleCloudVideointelligenceV1beta2LogoRecognitionAnnotation>
+ o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkGoogleCloudVideointelligenceV1beta2LogoRecognitionAnnotation(o[0]);
+ checkGoogleCloudVideointelligenceV1beta2LogoRecognitionAnnotation(o[1]);
+}
+
+buildUnnamed5125() {
+ var o = new core
+ .List<api.GoogleCloudVideointelligenceV1beta2ObjectTrackingAnnotation>();
+ o.add(buildGoogleCloudVideointelligenceV1beta2ObjectTrackingAnnotation());
+ o.add(buildGoogleCloudVideointelligenceV1beta2ObjectTrackingAnnotation());
+ return o;
+}
+
+checkUnnamed5125(
+ core.List<api.GoogleCloudVideointelligenceV1beta2ObjectTrackingAnnotation>
+ o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkGoogleCloudVideointelligenceV1beta2ObjectTrackingAnnotation(o[0]);
+ checkGoogleCloudVideointelligenceV1beta2ObjectTrackingAnnotation(o[1]);
+}
+
+buildUnnamed5126() {
+ var o =
+ new core.List<api.GoogleCloudVideointelligenceV1beta2LabelAnnotation>();
+ o.add(buildGoogleCloudVideointelligenceV1beta2LabelAnnotation());
+ o.add(buildGoogleCloudVideointelligenceV1beta2LabelAnnotation());
+ return o;
+}
+
+checkUnnamed5126(
+ core.List<api.GoogleCloudVideointelligenceV1beta2LabelAnnotation> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkGoogleCloudVideointelligenceV1beta2LabelAnnotation(o[0]);
+ checkGoogleCloudVideointelligenceV1beta2LabelAnnotation(o[1]);
+}
+
buildUnnamed5127() {
var o =
- new core.List<api.GoogleCloudVideointelligenceV1beta2FaceAnnotation>();
- o.add(buildGoogleCloudVideointelligenceV1beta2FaceAnnotation());
- o.add(buildGoogleCloudVideointelligenceV1beta2FaceAnnotation());
+ new core.List<api.GoogleCloudVideointelligenceV1beta2LabelAnnotation>();
+ o.add(buildGoogleCloudVideointelligenceV1beta2LabelAnnotation());
+ o.add(buildGoogleCloudVideointelligenceV1beta2LabelAnnotation());
return o;
}
checkUnnamed5127(
- core.List<api.GoogleCloudVideointelligenceV1beta2FaceAnnotation> o) {
+ core.List<api.GoogleCloudVideointelligenceV1beta2LabelAnnotation> o) {
unittest.expect(o, unittest.hasLength(2));
- checkGoogleCloudVideointelligenceV1beta2FaceAnnotation(o[0]);
- checkGoogleCloudVideointelligenceV1beta2FaceAnnotation(o[1]);
+ checkGoogleCloudVideointelligenceV1beta2LabelAnnotation(o[0]);
+ checkGoogleCloudVideointelligenceV1beta2LabelAnnotation(o[1]);
}
buildUnnamed5128() {
- var o = new core
- .List<api.GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation>();
- o.add(buildGoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation());
- o.add(buildGoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation());
+ var o = new core.List<api.GoogleCloudVideointelligenceV1beta2VideoSegment>();
+ o.add(buildGoogleCloudVideointelligenceV1beta2VideoSegment());
+ o.add(buildGoogleCloudVideointelligenceV1beta2VideoSegment());
return o;
}
checkUnnamed5128(
- core.List<api.GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation>
- o) {
+ core.List<api.GoogleCloudVideointelligenceV1beta2VideoSegment> o) {
unittest.expect(o, unittest.hasLength(2));
- checkGoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation(o[0]);
- checkGoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation(o[1]);
+ checkGoogleCloudVideointelligenceV1beta2VideoSegment(o[0]);
+ checkGoogleCloudVideointelligenceV1beta2VideoSegment(o[1]);
}
buildUnnamed5129() {
@@ -2807,143 +2426,36 @@
}
buildUnnamed5130() {
- var o = new core
- .List<api.GoogleCloudVideointelligenceV1beta2LogoRecognitionAnnotation>();
- o.add(buildGoogleCloudVideointelligenceV1beta2LogoRecognitionAnnotation());
- o.add(buildGoogleCloudVideointelligenceV1beta2LogoRecognitionAnnotation());
+ var o =
+ new core.List<api.GoogleCloudVideointelligenceV1beta2LabelAnnotation>();
+ o.add(buildGoogleCloudVideointelligenceV1beta2LabelAnnotation());
+ o.add(buildGoogleCloudVideointelligenceV1beta2LabelAnnotation());
return o;
}
checkUnnamed5130(
- core.List<api.GoogleCloudVideointelligenceV1beta2LogoRecognitionAnnotation>
- o) {
+ core.List<api.GoogleCloudVideointelligenceV1beta2LabelAnnotation> o) {
unittest.expect(o, unittest.hasLength(2));
- checkGoogleCloudVideointelligenceV1beta2LogoRecognitionAnnotation(o[0]);
- checkGoogleCloudVideointelligenceV1beta2LogoRecognitionAnnotation(o[1]);
+ checkGoogleCloudVideointelligenceV1beta2LabelAnnotation(o[0]);
+ checkGoogleCloudVideointelligenceV1beta2LabelAnnotation(o[1]);
}
buildUnnamed5131() {
var o = new core
- .List<api.GoogleCloudVideointelligenceV1beta2ObjectTrackingAnnotation>();
- o.add(buildGoogleCloudVideointelligenceV1beta2ObjectTrackingAnnotation());
- o.add(buildGoogleCloudVideointelligenceV1beta2ObjectTrackingAnnotation());
- return o;
-}
-
-checkUnnamed5131(
- core.List<api.GoogleCloudVideointelligenceV1beta2ObjectTrackingAnnotation>
- o) {
- unittest.expect(o, unittest.hasLength(2));
- checkGoogleCloudVideointelligenceV1beta2ObjectTrackingAnnotation(o[0]);
- checkGoogleCloudVideointelligenceV1beta2ObjectTrackingAnnotation(o[1]);
-}
-
-buildUnnamed5132() {
- var o = new core
- .List<api.GoogleCloudVideointelligenceV1beta2PersonDetectionAnnotation>();
- o.add(buildGoogleCloudVideointelligenceV1beta2PersonDetectionAnnotation());
- o.add(buildGoogleCloudVideointelligenceV1beta2PersonDetectionAnnotation());
- return o;
-}
-
-checkUnnamed5132(
- core.List<api.GoogleCloudVideointelligenceV1beta2PersonDetectionAnnotation>
- o) {
- unittest.expect(o, unittest.hasLength(2));
- checkGoogleCloudVideointelligenceV1beta2PersonDetectionAnnotation(o[0]);
- checkGoogleCloudVideointelligenceV1beta2PersonDetectionAnnotation(o[1]);
-}
-
-buildUnnamed5133() {
- var o =
- new core.List<api.GoogleCloudVideointelligenceV1beta2LabelAnnotation>();
- o.add(buildGoogleCloudVideointelligenceV1beta2LabelAnnotation());
- o.add(buildGoogleCloudVideointelligenceV1beta2LabelAnnotation());
- return o;
-}
-
-checkUnnamed5133(
- core.List<api.GoogleCloudVideointelligenceV1beta2LabelAnnotation> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkGoogleCloudVideointelligenceV1beta2LabelAnnotation(o[0]);
- checkGoogleCloudVideointelligenceV1beta2LabelAnnotation(o[1]);
-}
-
-buildUnnamed5134() {
- var o =
- new core.List<api.GoogleCloudVideointelligenceV1beta2LabelAnnotation>();
- o.add(buildGoogleCloudVideointelligenceV1beta2LabelAnnotation());
- o.add(buildGoogleCloudVideointelligenceV1beta2LabelAnnotation());
- return o;
-}
-
-checkUnnamed5134(
- core.List<api.GoogleCloudVideointelligenceV1beta2LabelAnnotation> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkGoogleCloudVideointelligenceV1beta2LabelAnnotation(o[0]);
- checkGoogleCloudVideointelligenceV1beta2LabelAnnotation(o[1]);
-}
-
-buildUnnamed5135() {
- var o = new core.List<api.GoogleCloudVideointelligenceV1beta2VideoSegment>();
- o.add(buildGoogleCloudVideointelligenceV1beta2VideoSegment());
- o.add(buildGoogleCloudVideointelligenceV1beta2VideoSegment());
- return o;
-}
-
-checkUnnamed5135(
- core.List<api.GoogleCloudVideointelligenceV1beta2VideoSegment> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkGoogleCloudVideointelligenceV1beta2VideoSegment(o[0]);
- checkGoogleCloudVideointelligenceV1beta2VideoSegment(o[1]);
-}
-
-buildUnnamed5136() {
- var o =
- new core.List<api.GoogleCloudVideointelligenceV1beta2LabelAnnotation>();
- o.add(buildGoogleCloudVideointelligenceV1beta2LabelAnnotation());
- o.add(buildGoogleCloudVideointelligenceV1beta2LabelAnnotation());
- return o;
-}
-
-checkUnnamed5136(
- core.List<api.GoogleCloudVideointelligenceV1beta2LabelAnnotation> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkGoogleCloudVideointelligenceV1beta2LabelAnnotation(o[0]);
- checkGoogleCloudVideointelligenceV1beta2LabelAnnotation(o[1]);
-}
-
-buildUnnamed5137() {
- var o =
- new core.List<api.GoogleCloudVideointelligenceV1beta2LabelAnnotation>();
- o.add(buildGoogleCloudVideointelligenceV1beta2LabelAnnotation());
- o.add(buildGoogleCloudVideointelligenceV1beta2LabelAnnotation());
- return o;
-}
-
-checkUnnamed5137(
- core.List<api.GoogleCloudVideointelligenceV1beta2LabelAnnotation> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkGoogleCloudVideointelligenceV1beta2LabelAnnotation(o[0]);
- checkGoogleCloudVideointelligenceV1beta2LabelAnnotation(o[1]);
-}
-
-buildUnnamed5138() {
- var o = new core
.List<api.GoogleCloudVideointelligenceV1beta2SpeechTranscription>();
o.add(buildGoogleCloudVideointelligenceV1beta2SpeechTranscription());
o.add(buildGoogleCloudVideointelligenceV1beta2SpeechTranscription());
return o;
}
-checkUnnamed5138(
+checkUnnamed5131(
core.List<api.GoogleCloudVideointelligenceV1beta2SpeechTranscription> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1beta2SpeechTranscription(o[0]);
checkGoogleCloudVideointelligenceV1beta2SpeechTranscription(o[1]);
}
-buildUnnamed5139() {
+buildUnnamed5132() {
var o =
new core.List<api.GoogleCloudVideointelligenceV1beta2TextAnnotation>();
o.add(buildGoogleCloudVideointelligenceV1beta2TextAnnotation());
@@ -2951,7 +2463,7 @@
return o;
}
-checkUnnamed5139(
+checkUnnamed5132(
core.List<api.GoogleCloudVideointelligenceV1beta2TextAnnotation> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1beta2TextAnnotation(o[0]);
@@ -2968,21 +2480,18 @@
o.error = buildGoogleRpcStatus();
o.explicitAnnotation =
buildGoogleCloudVideointelligenceV1beta2ExplicitContentAnnotation();
- o.faceAnnotations = buildUnnamed5127();
- o.faceDetectionAnnotations = buildUnnamed5128();
- o.frameLabelAnnotations = buildUnnamed5129();
+ o.frameLabelAnnotations = buildUnnamed5123();
o.inputUri = "foo";
- o.logoRecognitionAnnotations = buildUnnamed5130();
- o.objectAnnotations = buildUnnamed5131();
- o.personDetectionAnnotations = buildUnnamed5132();
+ o.logoRecognitionAnnotations = buildUnnamed5124();
+ o.objectAnnotations = buildUnnamed5125();
o.segment = buildGoogleCloudVideointelligenceV1beta2VideoSegment();
- o.segmentLabelAnnotations = buildUnnamed5133();
- o.segmentPresenceLabelAnnotations = buildUnnamed5134();
- o.shotAnnotations = buildUnnamed5135();
- o.shotLabelAnnotations = buildUnnamed5136();
- o.shotPresenceLabelAnnotations = buildUnnamed5137();
- o.speechTranscriptions = buildUnnamed5138();
- o.textAnnotations = buildUnnamed5139();
+ o.segmentLabelAnnotations = buildUnnamed5126();
+ o.segmentPresenceLabelAnnotations = buildUnnamed5127();
+ o.shotAnnotations = buildUnnamed5128();
+ o.shotLabelAnnotations = buildUnnamed5129();
+ o.shotPresenceLabelAnnotations = buildUnnamed5130();
+ o.speechTranscriptions = buildUnnamed5131();
+ o.textAnnotations = buildUnnamed5132();
}
buildCounterGoogleCloudVideointelligenceV1beta2VideoAnnotationResults--;
return o;
@@ -2996,21 +2505,18 @@
checkGoogleRpcStatus(o.error);
checkGoogleCloudVideointelligenceV1beta2ExplicitContentAnnotation(
o.explicitAnnotation);
- checkUnnamed5127(o.faceAnnotations);
- checkUnnamed5128(o.faceDetectionAnnotations);
- checkUnnamed5129(o.frameLabelAnnotations);
+ checkUnnamed5123(o.frameLabelAnnotations);
unittest.expect(o.inputUri, unittest.equals('foo'));
- checkUnnamed5130(o.logoRecognitionAnnotations);
- checkUnnamed5131(o.objectAnnotations);
- checkUnnamed5132(o.personDetectionAnnotations);
+ checkUnnamed5124(o.logoRecognitionAnnotations);
+ checkUnnamed5125(o.objectAnnotations);
checkGoogleCloudVideointelligenceV1beta2VideoSegment(o.segment);
- checkUnnamed5133(o.segmentLabelAnnotations);
- checkUnnamed5134(o.segmentPresenceLabelAnnotations);
- checkUnnamed5135(o.shotAnnotations);
- checkUnnamed5136(o.shotLabelAnnotations);
- checkUnnamed5137(o.shotPresenceLabelAnnotations);
- checkUnnamed5138(o.speechTranscriptions);
- checkUnnamed5139(o.textAnnotations);
+ checkUnnamed5126(o.segmentLabelAnnotations);
+ checkUnnamed5127(o.segmentPresenceLabelAnnotations);
+ checkUnnamed5128(o.shotAnnotations);
+ checkUnnamed5129(o.shotLabelAnnotations);
+ checkUnnamed5130(o.shotPresenceLabelAnnotations);
+ checkUnnamed5131(o.speechTranscriptions);
+ checkUnnamed5132(o.textAnnotations);
}
buildCounterGoogleCloudVideointelligenceV1beta2VideoAnnotationResults--;
}
@@ -3065,7 +2571,7 @@
buildCounterGoogleCloudVideointelligenceV1beta2WordInfo--;
}
-buildUnnamed5140() {
+buildUnnamed5133() {
var o = new core
.List<api.GoogleCloudVideointelligenceV1p1beta1VideoAnnotationProgress>();
o.add(buildGoogleCloudVideointelligenceV1p1beta1VideoAnnotationProgress());
@@ -3073,7 +2579,7 @@
return o;
}
-checkUnnamed5140(
+checkUnnamed5133(
core.List<api.GoogleCloudVideointelligenceV1p1beta1VideoAnnotationProgress>
o) {
unittest.expect(o, unittest.hasLength(2));
@@ -3088,7 +2594,7 @@
buildCounterGoogleCloudVideointelligenceV1p1beta1AnnotateVideoProgress++;
if (buildCounterGoogleCloudVideointelligenceV1p1beta1AnnotateVideoProgress <
3) {
- o.annotationProgress = buildUnnamed5140();
+ o.annotationProgress = buildUnnamed5133();
}
buildCounterGoogleCloudVideointelligenceV1p1beta1AnnotateVideoProgress--;
return o;
@@ -3099,12 +2605,12 @@
buildCounterGoogleCloudVideointelligenceV1p1beta1AnnotateVideoProgress++;
if (buildCounterGoogleCloudVideointelligenceV1p1beta1AnnotateVideoProgress <
3) {
- checkUnnamed5140(o.annotationProgress);
+ checkUnnamed5133(o.annotationProgress);
}
buildCounterGoogleCloudVideointelligenceV1p1beta1AnnotateVideoProgress--;
}
-buildUnnamed5141() {
+buildUnnamed5134() {
var o = new core
.List<api.GoogleCloudVideointelligenceV1p1beta1VideoAnnotationResults>();
o.add(buildGoogleCloudVideointelligenceV1p1beta1VideoAnnotationResults());
@@ -3112,7 +2618,7 @@
return o;
}
-checkUnnamed5141(
+checkUnnamed5134(
core.List<api.GoogleCloudVideointelligenceV1p1beta1VideoAnnotationResults>
o) {
unittest.expect(o, unittest.hasLength(2));
@@ -3127,7 +2633,7 @@
buildCounterGoogleCloudVideointelligenceV1p1beta1AnnotateVideoResponse++;
if (buildCounterGoogleCloudVideointelligenceV1p1beta1AnnotateVideoResponse <
3) {
- o.annotationResults = buildUnnamed5141();
+ o.annotationResults = buildUnnamed5134();
}
buildCounterGoogleCloudVideointelligenceV1p1beta1AnnotateVideoResponse--;
return o;
@@ -3138,7 +2644,7 @@
buildCounterGoogleCloudVideointelligenceV1p1beta1AnnotateVideoResponse++;
if (buildCounterGoogleCloudVideointelligenceV1p1beta1AnnotateVideoResponse <
3) {
- checkUnnamed5141(o.annotationResults);
+ checkUnnamed5134(o.annotationResults);
}
buildCounterGoogleCloudVideointelligenceV1p1beta1AnnotateVideoResponse--;
}
@@ -3215,7 +2721,7 @@
buildCounterGoogleCloudVideointelligenceV1p1beta1Entity--;
}
-buildUnnamed5142() {
+buildUnnamed5135() {
var o = new core
.List<api.GoogleCloudVideointelligenceV1p1beta1ExplicitContentFrame>();
o.add(buildGoogleCloudVideointelligenceV1p1beta1ExplicitContentFrame());
@@ -3223,7 +2729,7 @@
return o;
}
-checkUnnamed5142(
+checkUnnamed5135(
core.List<api.GoogleCloudVideointelligenceV1p1beta1ExplicitContentFrame>
o) {
unittest.expect(o, unittest.hasLength(2));
@@ -3240,7 +2746,7 @@
buildCounterGoogleCloudVideointelligenceV1p1beta1ExplicitContentAnnotation++;
if (buildCounterGoogleCloudVideointelligenceV1p1beta1ExplicitContentAnnotation <
3) {
- o.frames = buildUnnamed5142();
+ o.frames = buildUnnamed5135();
o.version = "foo";
}
buildCounterGoogleCloudVideointelligenceV1p1beta1ExplicitContentAnnotation--;
@@ -3252,7 +2758,7 @@
buildCounterGoogleCloudVideointelligenceV1p1beta1ExplicitContentAnnotation++;
if (buildCounterGoogleCloudVideointelligenceV1p1beta1ExplicitContentAnnotation <
3) {
- checkUnnamed5142(o.frames);
+ checkUnnamed5135(o.frames);
unittest.expect(o.version, unittest.equals('foo'));
}
buildCounterGoogleCloudVideointelligenceV1p1beta1ExplicitContentAnnotation--;
@@ -3283,169 +2789,34 @@
buildCounterGoogleCloudVideointelligenceV1p1beta1ExplicitContentFrame--;
}
-buildUnnamed5143() {
- var o = new core.List<api.GoogleCloudVideointelligenceV1p1beta1FaceFrame>();
- o.add(buildGoogleCloudVideointelligenceV1p1beta1FaceFrame());
- o.add(buildGoogleCloudVideointelligenceV1p1beta1FaceFrame());
- return o;
-}
-
-checkUnnamed5143(
- core.List<api.GoogleCloudVideointelligenceV1p1beta1FaceFrame> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkGoogleCloudVideointelligenceV1p1beta1FaceFrame(o[0]);
- checkGoogleCloudVideointelligenceV1p1beta1FaceFrame(o[1]);
-}
-
-buildUnnamed5144() {
- var o = new core.List<api.GoogleCloudVideointelligenceV1p1beta1FaceSegment>();
- o.add(buildGoogleCloudVideointelligenceV1p1beta1FaceSegment());
- o.add(buildGoogleCloudVideointelligenceV1p1beta1FaceSegment());
- return o;
-}
-
-checkUnnamed5144(
- core.List<api.GoogleCloudVideointelligenceV1p1beta1FaceSegment> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkGoogleCloudVideointelligenceV1p1beta1FaceSegment(o[0]);
- checkGoogleCloudVideointelligenceV1p1beta1FaceSegment(o[1]);
-}
-
-core.int buildCounterGoogleCloudVideointelligenceV1p1beta1FaceAnnotation = 0;
-buildGoogleCloudVideointelligenceV1p1beta1FaceAnnotation() {
- var o = new api.GoogleCloudVideointelligenceV1p1beta1FaceAnnotation();
- buildCounterGoogleCloudVideointelligenceV1p1beta1FaceAnnotation++;
- if (buildCounterGoogleCloudVideointelligenceV1p1beta1FaceAnnotation < 3) {
- o.frames = buildUnnamed5143();
- o.segments = buildUnnamed5144();
- o.thumbnail = "foo";
- }
- buildCounterGoogleCloudVideointelligenceV1p1beta1FaceAnnotation--;
- return o;
-}
-
-checkGoogleCloudVideointelligenceV1p1beta1FaceAnnotation(
- api.GoogleCloudVideointelligenceV1p1beta1FaceAnnotation o) {
- buildCounterGoogleCloudVideointelligenceV1p1beta1FaceAnnotation++;
- if (buildCounterGoogleCloudVideointelligenceV1p1beta1FaceAnnotation < 3) {
- checkUnnamed5143(o.frames);
- checkUnnamed5144(o.segments);
- unittest.expect(o.thumbnail, unittest.equals('foo'));
- }
- buildCounterGoogleCloudVideointelligenceV1p1beta1FaceAnnotation--;
-}
-
-core.int
- buildCounterGoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation =
- 0;
-buildGoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation() {
- var o =
- new api.GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation();
- buildCounterGoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation++;
- if (buildCounterGoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation <
- 3) {
- o.version = "foo";
- }
- buildCounterGoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation--;
- return o;
-}
-
-checkGoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation(
- api.GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation o) {
- buildCounterGoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation++;
- if (buildCounterGoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation <
- 3) {
- unittest.expect(o.version, unittest.equals('foo'));
- }
- buildCounterGoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation--;
-}
-
-buildUnnamed5145() {
- var o = new core
- .List<api.GoogleCloudVideointelligenceV1p1beta1NormalizedBoundingBox>();
- o.add(buildGoogleCloudVideointelligenceV1p1beta1NormalizedBoundingBox());
- o.add(buildGoogleCloudVideointelligenceV1p1beta1NormalizedBoundingBox());
- return o;
-}
-
-checkUnnamed5145(
- core.List<api.GoogleCloudVideointelligenceV1p1beta1NormalizedBoundingBox>
- o) {
- unittest.expect(o, unittest.hasLength(2));
- checkGoogleCloudVideointelligenceV1p1beta1NormalizedBoundingBox(o[0]);
- checkGoogleCloudVideointelligenceV1p1beta1NormalizedBoundingBox(o[1]);
-}
-
-core.int buildCounterGoogleCloudVideointelligenceV1p1beta1FaceFrame = 0;
-buildGoogleCloudVideointelligenceV1p1beta1FaceFrame() {
- var o = new api.GoogleCloudVideointelligenceV1p1beta1FaceFrame();
- buildCounterGoogleCloudVideointelligenceV1p1beta1FaceFrame++;
- if (buildCounterGoogleCloudVideointelligenceV1p1beta1FaceFrame < 3) {
- o.normalizedBoundingBoxes = buildUnnamed5145();
- o.timeOffset = "foo";
- }
- buildCounterGoogleCloudVideointelligenceV1p1beta1FaceFrame--;
- return o;
-}
-
-checkGoogleCloudVideointelligenceV1p1beta1FaceFrame(
- api.GoogleCloudVideointelligenceV1p1beta1FaceFrame o) {
- buildCounterGoogleCloudVideointelligenceV1p1beta1FaceFrame++;
- if (buildCounterGoogleCloudVideointelligenceV1p1beta1FaceFrame < 3) {
- checkUnnamed5145(o.normalizedBoundingBoxes);
- unittest.expect(o.timeOffset, unittest.equals('foo'));
- }
- buildCounterGoogleCloudVideointelligenceV1p1beta1FaceFrame--;
-}
-
-core.int buildCounterGoogleCloudVideointelligenceV1p1beta1FaceSegment = 0;
-buildGoogleCloudVideointelligenceV1p1beta1FaceSegment() {
- var o = new api.GoogleCloudVideointelligenceV1p1beta1FaceSegment();
- buildCounterGoogleCloudVideointelligenceV1p1beta1FaceSegment++;
- if (buildCounterGoogleCloudVideointelligenceV1p1beta1FaceSegment < 3) {
- o.segment = buildGoogleCloudVideointelligenceV1p1beta1VideoSegment();
- }
- buildCounterGoogleCloudVideointelligenceV1p1beta1FaceSegment--;
- return o;
-}
-
-checkGoogleCloudVideointelligenceV1p1beta1FaceSegment(
- api.GoogleCloudVideointelligenceV1p1beta1FaceSegment o) {
- buildCounterGoogleCloudVideointelligenceV1p1beta1FaceSegment++;
- if (buildCounterGoogleCloudVideointelligenceV1p1beta1FaceSegment < 3) {
- checkGoogleCloudVideointelligenceV1p1beta1VideoSegment(o.segment);
- }
- buildCounterGoogleCloudVideointelligenceV1p1beta1FaceSegment--;
-}
-
-buildUnnamed5146() {
+buildUnnamed5136() {
var o = new core.List<api.GoogleCloudVideointelligenceV1p1beta1Entity>();
o.add(buildGoogleCloudVideointelligenceV1p1beta1Entity());
o.add(buildGoogleCloudVideointelligenceV1p1beta1Entity());
return o;
}
-checkUnnamed5146(core.List<api.GoogleCloudVideointelligenceV1p1beta1Entity> o) {
+checkUnnamed5136(core.List<api.GoogleCloudVideointelligenceV1p1beta1Entity> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1p1beta1Entity(o[0]);
checkGoogleCloudVideointelligenceV1p1beta1Entity(o[1]);
}
-buildUnnamed5147() {
+buildUnnamed5137() {
var o = new core.List<api.GoogleCloudVideointelligenceV1p1beta1LabelFrame>();
o.add(buildGoogleCloudVideointelligenceV1p1beta1LabelFrame());
o.add(buildGoogleCloudVideointelligenceV1p1beta1LabelFrame());
return o;
}
-checkUnnamed5147(
+checkUnnamed5137(
core.List<api.GoogleCloudVideointelligenceV1p1beta1LabelFrame> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1p1beta1LabelFrame(o[0]);
checkGoogleCloudVideointelligenceV1p1beta1LabelFrame(o[1]);
}
-buildUnnamed5148() {
+buildUnnamed5138() {
var o =
new core.List<api.GoogleCloudVideointelligenceV1p1beta1LabelSegment>();
o.add(buildGoogleCloudVideointelligenceV1p1beta1LabelSegment());
@@ -3453,7 +2824,7 @@
return o;
}
-checkUnnamed5148(
+checkUnnamed5138(
core.List<api.GoogleCloudVideointelligenceV1p1beta1LabelSegment> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1p1beta1LabelSegment(o[0]);
@@ -3465,10 +2836,10 @@
var o = new api.GoogleCloudVideointelligenceV1p1beta1LabelAnnotation();
buildCounterGoogleCloudVideointelligenceV1p1beta1LabelAnnotation++;
if (buildCounterGoogleCloudVideointelligenceV1p1beta1LabelAnnotation < 3) {
- o.categoryEntities = buildUnnamed5146();
+ o.categoryEntities = buildUnnamed5136();
o.entity = buildGoogleCloudVideointelligenceV1p1beta1Entity();
- o.frames = buildUnnamed5147();
- o.segments = buildUnnamed5148();
+ o.frames = buildUnnamed5137();
+ o.segments = buildUnnamed5138();
o.version = "foo";
}
buildCounterGoogleCloudVideointelligenceV1p1beta1LabelAnnotation--;
@@ -3479,10 +2850,10 @@
api.GoogleCloudVideointelligenceV1p1beta1LabelAnnotation o) {
buildCounterGoogleCloudVideointelligenceV1p1beta1LabelAnnotation++;
if (buildCounterGoogleCloudVideointelligenceV1p1beta1LabelAnnotation < 3) {
- checkUnnamed5146(o.categoryEntities);
+ checkUnnamed5136(o.categoryEntities);
checkGoogleCloudVideointelligenceV1p1beta1Entity(o.entity);
- checkUnnamed5147(o.frames);
- checkUnnamed5148(o.segments);
+ checkUnnamed5137(o.frames);
+ checkUnnamed5138(o.segments);
unittest.expect(o.version, unittest.equals('foo'));
}
buildCounterGoogleCloudVideointelligenceV1p1beta1LabelAnnotation--;
@@ -3532,7 +2903,7 @@
buildCounterGoogleCloudVideointelligenceV1p1beta1LabelSegment--;
}
-buildUnnamed5149() {
+buildUnnamed5139() {
var o =
new core.List<api.GoogleCloudVideointelligenceV1p1beta1VideoSegment>();
o.add(buildGoogleCloudVideointelligenceV1p1beta1VideoSegment());
@@ -3540,21 +2911,21 @@
return o;
}
-checkUnnamed5149(
+checkUnnamed5139(
core.List<api.GoogleCloudVideointelligenceV1p1beta1VideoSegment> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1p1beta1VideoSegment(o[0]);
checkGoogleCloudVideointelligenceV1p1beta1VideoSegment(o[1]);
}
-buildUnnamed5150() {
+buildUnnamed5140() {
var o = new core.List<api.GoogleCloudVideointelligenceV1p1beta1Track>();
o.add(buildGoogleCloudVideointelligenceV1p1beta1Track());
o.add(buildGoogleCloudVideointelligenceV1p1beta1Track());
return o;
}
-checkUnnamed5150(core.List<api.GoogleCloudVideointelligenceV1p1beta1Track> o) {
+checkUnnamed5140(core.List<api.GoogleCloudVideointelligenceV1p1beta1Track> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1p1beta1Track(o[0]);
checkGoogleCloudVideointelligenceV1p1beta1Track(o[1]);
@@ -3570,8 +2941,8 @@
if (buildCounterGoogleCloudVideointelligenceV1p1beta1LogoRecognitionAnnotation <
3) {
o.entity = buildGoogleCloudVideointelligenceV1p1beta1Entity();
- o.segments = buildUnnamed5149();
- o.tracks = buildUnnamed5150();
+ o.segments = buildUnnamed5139();
+ o.tracks = buildUnnamed5140();
}
buildCounterGoogleCloudVideointelligenceV1p1beta1LogoRecognitionAnnotation--;
return o;
@@ -3583,8 +2954,8 @@
if (buildCounterGoogleCloudVideointelligenceV1p1beta1LogoRecognitionAnnotation <
3) {
checkGoogleCloudVideointelligenceV1p1beta1Entity(o.entity);
- checkUnnamed5149(o.segments);
- checkUnnamed5150(o.tracks);
+ checkUnnamed5139(o.segments);
+ checkUnnamed5140(o.tracks);
}
buildCounterGoogleCloudVideointelligenceV1p1beta1LogoRecognitionAnnotation--;
}
@@ -3618,7 +2989,7 @@
buildCounterGoogleCloudVideointelligenceV1p1beta1NormalizedBoundingBox--;
}
-buildUnnamed5151() {
+buildUnnamed5141() {
var o = new core
.List<api.GoogleCloudVideointelligenceV1p1beta1NormalizedVertex>();
o.add(buildGoogleCloudVideointelligenceV1p1beta1NormalizedVertex());
@@ -3626,7 +2997,7 @@
return o;
}
-checkUnnamed5151(
+checkUnnamed5141(
core.List<api.GoogleCloudVideointelligenceV1p1beta1NormalizedVertex> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1p1beta1NormalizedVertex(o[0]);
@@ -3640,7 +3011,7 @@
buildCounterGoogleCloudVideointelligenceV1p1beta1NormalizedBoundingPoly++;
if (buildCounterGoogleCloudVideointelligenceV1p1beta1NormalizedBoundingPoly <
3) {
- o.vertices = buildUnnamed5151();
+ o.vertices = buildUnnamed5141();
}
buildCounterGoogleCloudVideointelligenceV1p1beta1NormalizedBoundingPoly--;
return o;
@@ -3651,7 +3022,7 @@
buildCounterGoogleCloudVideointelligenceV1p1beta1NormalizedBoundingPoly++;
if (buildCounterGoogleCloudVideointelligenceV1p1beta1NormalizedBoundingPoly <
3) {
- checkUnnamed5151(o.vertices);
+ checkUnnamed5141(o.vertices);
}
buildCounterGoogleCloudVideointelligenceV1p1beta1NormalizedBoundingPoly--;
}
@@ -3678,7 +3049,7 @@
buildCounterGoogleCloudVideointelligenceV1p1beta1NormalizedVertex--;
}
-buildUnnamed5152() {
+buildUnnamed5142() {
var o = new core
.List<api.GoogleCloudVideointelligenceV1p1beta1ObjectTrackingFrame>();
o.add(buildGoogleCloudVideointelligenceV1p1beta1ObjectTrackingFrame());
@@ -3686,7 +3057,7 @@
return o;
}
-checkUnnamed5152(
+checkUnnamed5142(
core.List<api.GoogleCloudVideointelligenceV1p1beta1ObjectTrackingFrame> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1p1beta1ObjectTrackingFrame(o[0]);
@@ -3704,7 +3075,7 @@
3) {
o.confidence = 42.0;
o.entity = buildGoogleCloudVideointelligenceV1p1beta1Entity();
- o.frames = buildUnnamed5152();
+ o.frames = buildUnnamed5142();
o.segment = buildGoogleCloudVideointelligenceV1p1beta1VideoSegment();
o.trackId = "foo";
o.version = "foo";
@@ -3720,7 +3091,7 @@
3) {
unittest.expect(o.confidence, unittest.equals(42.0));
checkGoogleCloudVideointelligenceV1p1beta1Entity(o.entity);
- checkUnnamed5152(o.frames);
+ checkUnnamed5142(o.frames);
checkGoogleCloudVideointelligenceV1p1beta1VideoSegment(o.segment);
unittest.expect(o.trackId, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals('foo'));
@@ -3755,54 +3126,14 @@
buildCounterGoogleCloudVideointelligenceV1p1beta1ObjectTrackingFrame--;
}
-buildUnnamed5153() {
- var o = new core.List<api.GoogleCloudVideointelligenceV1p1beta1Track>();
- o.add(buildGoogleCloudVideointelligenceV1p1beta1Track());
- o.add(buildGoogleCloudVideointelligenceV1p1beta1Track());
- return o;
-}
-
-checkUnnamed5153(core.List<api.GoogleCloudVideointelligenceV1p1beta1Track> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkGoogleCloudVideointelligenceV1p1beta1Track(o[0]);
- checkGoogleCloudVideointelligenceV1p1beta1Track(o[1]);
-}
-
-core.int
- buildCounterGoogleCloudVideointelligenceV1p1beta1PersonDetectionAnnotation =
- 0;
-buildGoogleCloudVideointelligenceV1p1beta1PersonDetectionAnnotation() {
- var o =
- new api.GoogleCloudVideointelligenceV1p1beta1PersonDetectionAnnotation();
- buildCounterGoogleCloudVideointelligenceV1p1beta1PersonDetectionAnnotation++;
- if (buildCounterGoogleCloudVideointelligenceV1p1beta1PersonDetectionAnnotation <
- 3) {
- o.tracks = buildUnnamed5153();
- o.version = "foo";
- }
- buildCounterGoogleCloudVideointelligenceV1p1beta1PersonDetectionAnnotation--;
- return o;
-}
-
-checkGoogleCloudVideointelligenceV1p1beta1PersonDetectionAnnotation(
- api.GoogleCloudVideointelligenceV1p1beta1PersonDetectionAnnotation o) {
- buildCounterGoogleCloudVideointelligenceV1p1beta1PersonDetectionAnnotation++;
- if (buildCounterGoogleCloudVideointelligenceV1p1beta1PersonDetectionAnnotation <
- 3) {
- checkUnnamed5153(o.tracks);
- unittest.expect(o.version, unittest.equals('foo'));
- }
- buildCounterGoogleCloudVideointelligenceV1p1beta1PersonDetectionAnnotation--;
-}
-
-buildUnnamed5154() {
+buildUnnamed5143() {
var o = new core.List<api.GoogleCloudVideointelligenceV1p1beta1WordInfo>();
o.add(buildGoogleCloudVideointelligenceV1p1beta1WordInfo());
o.add(buildGoogleCloudVideointelligenceV1p1beta1WordInfo());
return o;
}
-checkUnnamed5154(
+checkUnnamed5143(
core.List<api.GoogleCloudVideointelligenceV1p1beta1WordInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1p1beta1WordInfo(o[0]);
@@ -3820,7 +3151,7 @@
3) {
o.confidence = 42.0;
o.transcript = "foo";
- o.words = buildUnnamed5154();
+ o.words = buildUnnamed5143();
}
buildCounterGoogleCloudVideointelligenceV1p1beta1SpeechRecognitionAlternative--;
return o;
@@ -3833,12 +3164,12 @@
3) {
unittest.expect(o.confidence, unittest.equals(42.0));
unittest.expect(o.transcript, unittest.equals('foo'));
- checkUnnamed5154(o.words);
+ checkUnnamed5143(o.words);
}
buildCounterGoogleCloudVideointelligenceV1p1beta1SpeechRecognitionAlternative--;
}
-buildUnnamed5155() {
+buildUnnamed5144() {
var o = new core.List<
api.GoogleCloudVideointelligenceV1p1beta1SpeechRecognitionAlternative>();
o.add(
@@ -3848,7 +3179,7 @@
return o;
}
-checkUnnamed5155(
+checkUnnamed5144(
core.List<
api.GoogleCloudVideointelligenceV1p1beta1SpeechRecognitionAlternative>
o) {
@@ -3864,7 +3195,7 @@
buildCounterGoogleCloudVideointelligenceV1p1beta1SpeechTranscription++;
if (buildCounterGoogleCloudVideointelligenceV1p1beta1SpeechTranscription <
3) {
- o.alternatives = buildUnnamed5155();
+ o.alternatives = buildUnnamed5144();
o.languageCode = "foo";
}
buildCounterGoogleCloudVideointelligenceV1p1beta1SpeechTranscription--;
@@ -3876,20 +3207,20 @@
buildCounterGoogleCloudVideointelligenceV1p1beta1SpeechTranscription++;
if (buildCounterGoogleCloudVideointelligenceV1p1beta1SpeechTranscription <
3) {
- checkUnnamed5155(o.alternatives);
+ checkUnnamed5144(o.alternatives);
unittest.expect(o.languageCode, unittest.equals('foo'));
}
buildCounterGoogleCloudVideointelligenceV1p1beta1SpeechTranscription--;
}
-buildUnnamed5156() {
+buildUnnamed5145() {
var o = new core.List<api.GoogleCloudVideointelligenceV1p1beta1TextSegment>();
o.add(buildGoogleCloudVideointelligenceV1p1beta1TextSegment());
o.add(buildGoogleCloudVideointelligenceV1p1beta1TextSegment());
return o;
}
-checkUnnamed5156(
+checkUnnamed5145(
core.List<api.GoogleCloudVideointelligenceV1p1beta1TextSegment> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1p1beta1TextSegment(o[0]);
@@ -3901,7 +3232,7 @@
var o = new api.GoogleCloudVideointelligenceV1p1beta1TextAnnotation();
buildCounterGoogleCloudVideointelligenceV1p1beta1TextAnnotation++;
if (buildCounterGoogleCloudVideointelligenceV1p1beta1TextAnnotation < 3) {
- o.segments = buildUnnamed5156();
+ o.segments = buildUnnamed5145();
o.text = "foo";
o.version = "foo";
}
@@ -3913,7 +3244,7 @@
api.GoogleCloudVideointelligenceV1p1beta1TextAnnotation o) {
buildCounterGoogleCloudVideointelligenceV1p1beta1TextAnnotation++;
if (buildCounterGoogleCloudVideointelligenceV1p1beta1TextAnnotation < 3) {
- checkUnnamed5156(o.segments);
+ checkUnnamed5145(o.segments);
unittest.expect(o.text, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals('foo'));
}
@@ -3944,14 +3275,14 @@
buildCounterGoogleCloudVideointelligenceV1p1beta1TextFrame--;
}
-buildUnnamed5157() {
+buildUnnamed5146() {
var o = new core.List<api.GoogleCloudVideointelligenceV1p1beta1TextFrame>();
o.add(buildGoogleCloudVideointelligenceV1p1beta1TextFrame());
o.add(buildGoogleCloudVideointelligenceV1p1beta1TextFrame());
return o;
}
-checkUnnamed5157(
+checkUnnamed5146(
core.List<api.GoogleCloudVideointelligenceV1p1beta1TextFrame> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1p1beta1TextFrame(o[0]);
@@ -3964,7 +3295,7 @@
buildCounterGoogleCloudVideointelligenceV1p1beta1TextSegment++;
if (buildCounterGoogleCloudVideointelligenceV1p1beta1TextSegment < 3) {
o.confidence = 42.0;
- o.frames = buildUnnamed5157();
+ o.frames = buildUnnamed5146();
o.segment = buildGoogleCloudVideointelligenceV1p1beta1VideoSegment();
}
buildCounterGoogleCloudVideointelligenceV1p1beta1TextSegment--;
@@ -3976,13 +3307,13 @@
buildCounterGoogleCloudVideointelligenceV1p1beta1TextSegment++;
if (buildCounterGoogleCloudVideointelligenceV1p1beta1TextSegment < 3) {
unittest.expect(o.confidence, unittest.equals(42.0));
- checkUnnamed5157(o.frames);
+ checkUnnamed5146(o.frames);
checkGoogleCloudVideointelligenceV1p1beta1VideoSegment(o.segment);
}
buildCounterGoogleCloudVideointelligenceV1p1beta1TextSegment--;
}
-buildUnnamed5158() {
+buildUnnamed5147() {
var o = new core
.List<api.GoogleCloudVideointelligenceV1p1beta1DetectedAttribute>();
o.add(buildGoogleCloudVideointelligenceV1p1beta1DetectedAttribute());
@@ -3990,14 +3321,14 @@
return o;
}
-checkUnnamed5158(
+checkUnnamed5147(
core.List<api.GoogleCloudVideointelligenceV1p1beta1DetectedAttribute> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1p1beta1DetectedAttribute(o[0]);
checkGoogleCloudVideointelligenceV1p1beta1DetectedAttribute(o[1]);
}
-buildUnnamed5159() {
+buildUnnamed5148() {
var o = new core
.List<api.GoogleCloudVideointelligenceV1p1beta1DetectedLandmark>();
o.add(buildGoogleCloudVideointelligenceV1p1beta1DetectedLandmark());
@@ -4005,7 +3336,7 @@
return o;
}
-checkUnnamed5159(
+checkUnnamed5148(
core.List<api.GoogleCloudVideointelligenceV1p1beta1DetectedLandmark> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1p1beta1DetectedLandmark(o[0]);
@@ -4017,8 +3348,8 @@
var o = new api.GoogleCloudVideointelligenceV1p1beta1TimestampedObject();
buildCounterGoogleCloudVideointelligenceV1p1beta1TimestampedObject++;
if (buildCounterGoogleCloudVideointelligenceV1p1beta1TimestampedObject < 3) {
- o.attributes = buildUnnamed5158();
- o.landmarks = buildUnnamed5159();
+ o.attributes = buildUnnamed5147();
+ o.landmarks = buildUnnamed5148();
o.normalizedBoundingBox =
buildGoogleCloudVideointelligenceV1p1beta1NormalizedBoundingBox();
o.timeOffset = "foo";
@@ -4031,8 +3362,8 @@
api.GoogleCloudVideointelligenceV1p1beta1TimestampedObject o) {
buildCounterGoogleCloudVideointelligenceV1p1beta1TimestampedObject++;
if (buildCounterGoogleCloudVideointelligenceV1p1beta1TimestampedObject < 3) {
- checkUnnamed5158(o.attributes);
- checkUnnamed5159(o.landmarks);
+ checkUnnamed5147(o.attributes);
+ checkUnnamed5148(o.landmarks);
checkGoogleCloudVideointelligenceV1p1beta1NormalizedBoundingBox(
o.normalizedBoundingBox);
unittest.expect(o.timeOffset, unittest.equals('foo'));
@@ -4040,7 +3371,7 @@
buildCounterGoogleCloudVideointelligenceV1p1beta1TimestampedObject--;
}
-buildUnnamed5160() {
+buildUnnamed5149() {
var o = new core
.List<api.GoogleCloudVideointelligenceV1p1beta1DetectedAttribute>();
o.add(buildGoogleCloudVideointelligenceV1p1beta1DetectedAttribute());
@@ -4048,14 +3379,14 @@
return o;
}
-checkUnnamed5160(
+checkUnnamed5149(
core.List<api.GoogleCloudVideointelligenceV1p1beta1DetectedAttribute> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1p1beta1DetectedAttribute(o[0]);
checkGoogleCloudVideointelligenceV1p1beta1DetectedAttribute(o[1]);
}
-buildUnnamed5161() {
+buildUnnamed5150() {
var o = new core
.List<api.GoogleCloudVideointelligenceV1p1beta1TimestampedObject>();
o.add(buildGoogleCloudVideointelligenceV1p1beta1TimestampedObject());
@@ -4063,7 +3394,7 @@
return o;
}
-checkUnnamed5161(
+checkUnnamed5150(
core.List<api.GoogleCloudVideointelligenceV1p1beta1TimestampedObject> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1p1beta1TimestampedObject(o[0]);
@@ -4075,10 +3406,10 @@
var o = new api.GoogleCloudVideointelligenceV1p1beta1Track();
buildCounterGoogleCloudVideointelligenceV1p1beta1Track++;
if (buildCounterGoogleCloudVideointelligenceV1p1beta1Track < 3) {
- o.attributes = buildUnnamed5160();
+ o.attributes = buildUnnamed5149();
o.confidence = 42.0;
o.segment = buildGoogleCloudVideointelligenceV1p1beta1VideoSegment();
- o.timestampedObjects = buildUnnamed5161();
+ o.timestampedObjects = buildUnnamed5150();
}
buildCounterGoogleCloudVideointelligenceV1p1beta1Track--;
return o;
@@ -4088,10 +3419,10 @@
api.GoogleCloudVideointelligenceV1p1beta1Track o) {
buildCounterGoogleCloudVideointelligenceV1p1beta1Track++;
if (buildCounterGoogleCloudVideointelligenceV1p1beta1Track < 3) {
- checkUnnamed5160(o.attributes);
+ checkUnnamed5149(o.attributes);
unittest.expect(o.confidence, unittest.equals(42.0));
checkGoogleCloudVideointelligenceV1p1beta1VideoSegment(o.segment);
- checkUnnamed5161(o.timestampedObjects);
+ checkUnnamed5150(o.timestampedObjects);
}
buildCounterGoogleCloudVideointelligenceV1p1beta1Track--;
}
@@ -4131,38 +3462,7 @@
buildCounterGoogleCloudVideointelligenceV1p1beta1VideoAnnotationProgress--;
}
-buildUnnamed5162() {
- var o =
- new core.List<api.GoogleCloudVideointelligenceV1p1beta1FaceAnnotation>();
- o.add(buildGoogleCloudVideointelligenceV1p1beta1FaceAnnotation());
- o.add(buildGoogleCloudVideointelligenceV1p1beta1FaceAnnotation());
- return o;
-}
-
-checkUnnamed5162(
- core.List<api.GoogleCloudVideointelligenceV1p1beta1FaceAnnotation> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkGoogleCloudVideointelligenceV1p1beta1FaceAnnotation(o[0]);
- checkGoogleCloudVideointelligenceV1p1beta1FaceAnnotation(o[1]);
-}
-
-buildUnnamed5163() {
- var o = new core
- .List<api.GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation>();
- o.add(buildGoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation());
- o.add(buildGoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation());
- return o;
-}
-
-checkUnnamed5163(
- core.List<api.GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation>
- o) {
- unittest.expect(o, unittest.hasLength(2));
- checkGoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation(o[0]);
- checkGoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation(o[1]);
-}
-
-buildUnnamed5164() {
+buildUnnamed5151() {
var o =
new core.List<api.GoogleCloudVideointelligenceV1p1beta1LabelAnnotation>();
o.add(buildGoogleCloudVideointelligenceV1p1beta1LabelAnnotation());
@@ -4170,14 +3470,14 @@
return o;
}
-checkUnnamed5164(
+checkUnnamed5151(
core.List<api.GoogleCloudVideointelligenceV1p1beta1LabelAnnotation> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1p1beta1LabelAnnotation(o[0]);
checkGoogleCloudVideointelligenceV1p1beta1LabelAnnotation(o[1]);
}
-buildUnnamed5165() {
+buildUnnamed5152() {
var o = new core.List<
api.GoogleCloudVideointelligenceV1p1beta1LogoRecognitionAnnotation>();
o.add(buildGoogleCloudVideointelligenceV1p1beta1LogoRecognitionAnnotation());
@@ -4185,7 +3485,7 @@
return o;
}
-checkUnnamed5165(
+checkUnnamed5152(
core.List<
api.GoogleCloudVideointelligenceV1p1beta1LogoRecognitionAnnotation>
o) {
@@ -4194,7 +3494,7 @@
checkGoogleCloudVideointelligenceV1p1beta1LogoRecognitionAnnotation(o[1]);
}
-buildUnnamed5166() {
+buildUnnamed5153() {
var o = new core.List<
api.GoogleCloudVideointelligenceV1p1beta1ObjectTrackingAnnotation>();
o.add(buildGoogleCloudVideointelligenceV1p1beta1ObjectTrackingAnnotation());
@@ -4202,7 +3502,7 @@
return o;
}
-checkUnnamed5166(
+checkUnnamed5153(
core.List<api.GoogleCloudVideointelligenceV1p1beta1ObjectTrackingAnnotation>
o) {
unittest.expect(o, unittest.hasLength(2));
@@ -4210,24 +3510,7 @@
checkGoogleCloudVideointelligenceV1p1beta1ObjectTrackingAnnotation(o[1]);
}
-buildUnnamed5167() {
- var o = new core.List<
- api.GoogleCloudVideointelligenceV1p1beta1PersonDetectionAnnotation>();
- o.add(buildGoogleCloudVideointelligenceV1p1beta1PersonDetectionAnnotation());
- o.add(buildGoogleCloudVideointelligenceV1p1beta1PersonDetectionAnnotation());
- return o;
-}
-
-checkUnnamed5167(
- core.List<
- api.GoogleCloudVideointelligenceV1p1beta1PersonDetectionAnnotation>
- o) {
- unittest.expect(o, unittest.hasLength(2));
- checkGoogleCloudVideointelligenceV1p1beta1PersonDetectionAnnotation(o[0]);
- checkGoogleCloudVideointelligenceV1p1beta1PersonDetectionAnnotation(o[1]);
-}
-
-buildUnnamed5168() {
+buildUnnamed5154() {
var o =
new core.List<api.GoogleCloudVideointelligenceV1p1beta1LabelAnnotation>();
o.add(buildGoogleCloudVideointelligenceV1p1beta1LabelAnnotation());
@@ -4235,14 +3518,14 @@
return o;
}
-checkUnnamed5168(
+checkUnnamed5154(
core.List<api.GoogleCloudVideointelligenceV1p1beta1LabelAnnotation> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1p1beta1LabelAnnotation(o[0]);
checkGoogleCloudVideointelligenceV1p1beta1LabelAnnotation(o[1]);
}
-buildUnnamed5169() {
+buildUnnamed5155() {
var o =
new core.List<api.GoogleCloudVideointelligenceV1p1beta1LabelAnnotation>();
o.add(buildGoogleCloudVideointelligenceV1p1beta1LabelAnnotation());
@@ -4250,14 +3533,14 @@
return o;
}
-checkUnnamed5169(
+checkUnnamed5155(
core.List<api.GoogleCloudVideointelligenceV1p1beta1LabelAnnotation> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1p1beta1LabelAnnotation(o[0]);
checkGoogleCloudVideointelligenceV1p1beta1LabelAnnotation(o[1]);
}
-buildUnnamed5170() {
+buildUnnamed5156() {
var o =
new core.List<api.GoogleCloudVideointelligenceV1p1beta1VideoSegment>();
o.add(buildGoogleCloudVideointelligenceV1p1beta1VideoSegment());
@@ -4265,14 +3548,14 @@
return o;
}
-checkUnnamed5170(
+checkUnnamed5156(
core.List<api.GoogleCloudVideointelligenceV1p1beta1VideoSegment> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1p1beta1VideoSegment(o[0]);
checkGoogleCloudVideointelligenceV1p1beta1VideoSegment(o[1]);
}
-buildUnnamed5171() {
+buildUnnamed5157() {
var o =
new core.List<api.GoogleCloudVideointelligenceV1p1beta1LabelAnnotation>();
o.add(buildGoogleCloudVideointelligenceV1p1beta1LabelAnnotation());
@@ -4280,14 +3563,14 @@
return o;
}
-checkUnnamed5171(
+checkUnnamed5157(
core.List<api.GoogleCloudVideointelligenceV1p1beta1LabelAnnotation> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1p1beta1LabelAnnotation(o[0]);
checkGoogleCloudVideointelligenceV1p1beta1LabelAnnotation(o[1]);
}
-buildUnnamed5172() {
+buildUnnamed5158() {
var o =
new core.List<api.GoogleCloudVideointelligenceV1p1beta1LabelAnnotation>();
o.add(buildGoogleCloudVideointelligenceV1p1beta1LabelAnnotation());
@@ -4295,14 +3578,14 @@
return o;
}
-checkUnnamed5172(
+checkUnnamed5158(
core.List<api.GoogleCloudVideointelligenceV1p1beta1LabelAnnotation> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1p1beta1LabelAnnotation(o[0]);
checkGoogleCloudVideointelligenceV1p1beta1LabelAnnotation(o[1]);
}
-buildUnnamed5173() {
+buildUnnamed5159() {
var o = new core
.List<api.GoogleCloudVideointelligenceV1p1beta1SpeechTranscription>();
o.add(buildGoogleCloudVideointelligenceV1p1beta1SpeechTranscription());
@@ -4310,14 +3593,14 @@
return o;
}
-checkUnnamed5173(
+checkUnnamed5159(
core.List<api.GoogleCloudVideointelligenceV1p1beta1SpeechTranscription> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1p1beta1SpeechTranscription(o[0]);
checkGoogleCloudVideointelligenceV1p1beta1SpeechTranscription(o[1]);
}
-buildUnnamed5174() {
+buildUnnamed5160() {
var o =
new core.List<api.GoogleCloudVideointelligenceV1p1beta1TextAnnotation>();
o.add(buildGoogleCloudVideointelligenceV1p1beta1TextAnnotation());
@@ -4325,7 +3608,7 @@
return o;
}
-checkUnnamed5174(
+checkUnnamed5160(
core.List<api.GoogleCloudVideointelligenceV1p1beta1TextAnnotation> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1p1beta1TextAnnotation(o[0]);
@@ -4342,21 +3625,18 @@
o.error = buildGoogleRpcStatus();
o.explicitAnnotation =
buildGoogleCloudVideointelligenceV1p1beta1ExplicitContentAnnotation();
- o.faceAnnotations = buildUnnamed5162();
- o.faceDetectionAnnotations = buildUnnamed5163();
- o.frameLabelAnnotations = buildUnnamed5164();
+ o.frameLabelAnnotations = buildUnnamed5151();
o.inputUri = "foo";
- o.logoRecognitionAnnotations = buildUnnamed5165();
- o.objectAnnotations = buildUnnamed5166();
- o.personDetectionAnnotations = buildUnnamed5167();
+ o.logoRecognitionAnnotations = buildUnnamed5152();
+ o.objectAnnotations = buildUnnamed5153();
o.segment = buildGoogleCloudVideointelligenceV1p1beta1VideoSegment();
- o.segmentLabelAnnotations = buildUnnamed5168();
- o.segmentPresenceLabelAnnotations = buildUnnamed5169();
- o.shotAnnotations = buildUnnamed5170();
- o.shotLabelAnnotations = buildUnnamed5171();
- o.shotPresenceLabelAnnotations = buildUnnamed5172();
- o.speechTranscriptions = buildUnnamed5173();
- o.textAnnotations = buildUnnamed5174();
+ o.segmentLabelAnnotations = buildUnnamed5154();
+ o.segmentPresenceLabelAnnotations = buildUnnamed5155();
+ o.shotAnnotations = buildUnnamed5156();
+ o.shotLabelAnnotations = buildUnnamed5157();
+ o.shotPresenceLabelAnnotations = buildUnnamed5158();
+ o.speechTranscriptions = buildUnnamed5159();
+ o.textAnnotations = buildUnnamed5160();
}
buildCounterGoogleCloudVideointelligenceV1p1beta1VideoAnnotationResults--;
return o;
@@ -4370,21 +3650,18 @@
checkGoogleRpcStatus(o.error);
checkGoogleCloudVideointelligenceV1p1beta1ExplicitContentAnnotation(
o.explicitAnnotation);
- checkUnnamed5162(o.faceAnnotations);
- checkUnnamed5163(o.faceDetectionAnnotations);
- checkUnnamed5164(o.frameLabelAnnotations);
+ checkUnnamed5151(o.frameLabelAnnotations);
unittest.expect(o.inputUri, unittest.equals('foo'));
- checkUnnamed5165(o.logoRecognitionAnnotations);
- checkUnnamed5166(o.objectAnnotations);
- checkUnnamed5167(o.personDetectionAnnotations);
+ checkUnnamed5152(o.logoRecognitionAnnotations);
+ checkUnnamed5153(o.objectAnnotations);
checkGoogleCloudVideointelligenceV1p1beta1VideoSegment(o.segment);
- checkUnnamed5168(o.segmentLabelAnnotations);
- checkUnnamed5169(o.segmentPresenceLabelAnnotations);
- checkUnnamed5170(o.shotAnnotations);
- checkUnnamed5171(o.shotLabelAnnotations);
- checkUnnamed5172(o.shotPresenceLabelAnnotations);
- checkUnnamed5173(o.speechTranscriptions);
- checkUnnamed5174(o.textAnnotations);
+ checkUnnamed5154(o.segmentLabelAnnotations);
+ checkUnnamed5155(o.segmentPresenceLabelAnnotations);
+ checkUnnamed5156(o.shotAnnotations);
+ checkUnnamed5157(o.shotLabelAnnotations);
+ checkUnnamed5158(o.shotPresenceLabelAnnotations);
+ checkUnnamed5159(o.speechTranscriptions);
+ checkUnnamed5160(o.textAnnotations);
}
buildCounterGoogleCloudVideointelligenceV1p1beta1VideoAnnotationResults--;
}
@@ -4439,7 +3716,7 @@
buildCounterGoogleCloudVideointelligenceV1p1beta1WordInfo--;
}
-buildUnnamed5175() {
+buildUnnamed5161() {
var o = new core
.List<api.GoogleCloudVideointelligenceV1p2beta1VideoAnnotationProgress>();
o.add(buildGoogleCloudVideointelligenceV1p2beta1VideoAnnotationProgress());
@@ -4447,7 +3724,7 @@
return o;
}
-checkUnnamed5175(
+checkUnnamed5161(
core.List<api.GoogleCloudVideointelligenceV1p2beta1VideoAnnotationProgress>
o) {
unittest.expect(o, unittest.hasLength(2));
@@ -4462,7 +3739,7 @@
buildCounterGoogleCloudVideointelligenceV1p2beta1AnnotateVideoProgress++;
if (buildCounterGoogleCloudVideointelligenceV1p2beta1AnnotateVideoProgress <
3) {
- o.annotationProgress = buildUnnamed5175();
+ o.annotationProgress = buildUnnamed5161();
}
buildCounterGoogleCloudVideointelligenceV1p2beta1AnnotateVideoProgress--;
return o;
@@ -4473,12 +3750,12 @@
buildCounterGoogleCloudVideointelligenceV1p2beta1AnnotateVideoProgress++;
if (buildCounterGoogleCloudVideointelligenceV1p2beta1AnnotateVideoProgress <
3) {
- checkUnnamed5175(o.annotationProgress);
+ checkUnnamed5161(o.annotationProgress);
}
buildCounterGoogleCloudVideointelligenceV1p2beta1AnnotateVideoProgress--;
}
-buildUnnamed5176() {
+buildUnnamed5162() {
var o = new core
.List<api.GoogleCloudVideointelligenceV1p2beta1VideoAnnotationResults>();
o.add(buildGoogleCloudVideointelligenceV1p2beta1VideoAnnotationResults());
@@ -4486,7 +3763,7 @@
return o;
}
-checkUnnamed5176(
+checkUnnamed5162(
core.List<api.GoogleCloudVideointelligenceV1p2beta1VideoAnnotationResults>
o) {
unittest.expect(o, unittest.hasLength(2));
@@ -4501,7 +3778,7 @@
buildCounterGoogleCloudVideointelligenceV1p2beta1AnnotateVideoResponse++;
if (buildCounterGoogleCloudVideointelligenceV1p2beta1AnnotateVideoResponse <
3) {
- o.annotationResults = buildUnnamed5176();
+ o.annotationResults = buildUnnamed5162();
}
buildCounterGoogleCloudVideointelligenceV1p2beta1AnnotateVideoResponse--;
return o;
@@ -4512,7 +3789,7 @@
buildCounterGoogleCloudVideointelligenceV1p2beta1AnnotateVideoResponse++;
if (buildCounterGoogleCloudVideointelligenceV1p2beta1AnnotateVideoResponse <
3) {
- checkUnnamed5176(o.annotationResults);
+ checkUnnamed5162(o.annotationResults);
}
buildCounterGoogleCloudVideointelligenceV1p2beta1AnnotateVideoResponse--;
}
@@ -4589,7 +3866,7 @@
buildCounterGoogleCloudVideointelligenceV1p2beta1Entity--;
}
-buildUnnamed5177() {
+buildUnnamed5163() {
var o = new core
.List<api.GoogleCloudVideointelligenceV1p2beta1ExplicitContentFrame>();
o.add(buildGoogleCloudVideointelligenceV1p2beta1ExplicitContentFrame());
@@ -4597,7 +3874,7 @@
return o;
}
-checkUnnamed5177(
+checkUnnamed5163(
core.List<api.GoogleCloudVideointelligenceV1p2beta1ExplicitContentFrame>
o) {
unittest.expect(o, unittest.hasLength(2));
@@ -4614,7 +3891,7 @@
buildCounterGoogleCloudVideointelligenceV1p2beta1ExplicitContentAnnotation++;
if (buildCounterGoogleCloudVideointelligenceV1p2beta1ExplicitContentAnnotation <
3) {
- o.frames = buildUnnamed5177();
+ o.frames = buildUnnamed5163();
o.version = "foo";
}
buildCounterGoogleCloudVideointelligenceV1p2beta1ExplicitContentAnnotation--;
@@ -4626,7 +3903,7 @@
buildCounterGoogleCloudVideointelligenceV1p2beta1ExplicitContentAnnotation++;
if (buildCounterGoogleCloudVideointelligenceV1p2beta1ExplicitContentAnnotation <
3) {
- checkUnnamed5177(o.frames);
+ checkUnnamed5163(o.frames);
unittest.expect(o.version, unittest.equals('foo'));
}
buildCounterGoogleCloudVideointelligenceV1p2beta1ExplicitContentAnnotation--;
@@ -4657,169 +3934,34 @@
buildCounterGoogleCloudVideointelligenceV1p2beta1ExplicitContentFrame--;
}
-buildUnnamed5178() {
- var o = new core.List<api.GoogleCloudVideointelligenceV1p2beta1FaceFrame>();
- o.add(buildGoogleCloudVideointelligenceV1p2beta1FaceFrame());
- o.add(buildGoogleCloudVideointelligenceV1p2beta1FaceFrame());
- return o;
-}
-
-checkUnnamed5178(
- core.List<api.GoogleCloudVideointelligenceV1p2beta1FaceFrame> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkGoogleCloudVideointelligenceV1p2beta1FaceFrame(o[0]);
- checkGoogleCloudVideointelligenceV1p2beta1FaceFrame(o[1]);
-}
-
-buildUnnamed5179() {
- var o = new core.List<api.GoogleCloudVideointelligenceV1p2beta1FaceSegment>();
- o.add(buildGoogleCloudVideointelligenceV1p2beta1FaceSegment());
- o.add(buildGoogleCloudVideointelligenceV1p2beta1FaceSegment());
- return o;
-}
-
-checkUnnamed5179(
- core.List<api.GoogleCloudVideointelligenceV1p2beta1FaceSegment> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkGoogleCloudVideointelligenceV1p2beta1FaceSegment(o[0]);
- checkGoogleCloudVideointelligenceV1p2beta1FaceSegment(o[1]);
-}
-
-core.int buildCounterGoogleCloudVideointelligenceV1p2beta1FaceAnnotation = 0;
-buildGoogleCloudVideointelligenceV1p2beta1FaceAnnotation() {
- var o = new api.GoogleCloudVideointelligenceV1p2beta1FaceAnnotation();
- buildCounterGoogleCloudVideointelligenceV1p2beta1FaceAnnotation++;
- if (buildCounterGoogleCloudVideointelligenceV1p2beta1FaceAnnotation < 3) {
- o.frames = buildUnnamed5178();
- o.segments = buildUnnamed5179();
- o.thumbnail = "foo";
- }
- buildCounterGoogleCloudVideointelligenceV1p2beta1FaceAnnotation--;
- return o;
-}
-
-checkGoogleCloudVideointelligenceV1p2beta1FaceAnnotation(
- api.GoogleCloudVideointelligenceV1p2beta1FaceAnnotation o) {
- buildCounterGoogleCloudVideointelligenceV1p2beta1FaceAnnotation++;
- if (buildCounterGoogleCloudVideointelligenceV1p2beta1FaceAnnotation < 3) {
- checkUnnamed5178(o.frames);
- checkUnnamed5179(o.segments);
- unittest.expect(o.thumbnail, unittest.equals('foo'));
- }
- buildCounterGoogleCloudVideointelligenceV1p2beta1FaceAnnotation--;
-}
-
-core.int
- buildCounterGoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation =
- 0;
-buildGoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation() {
- var o =
- new api.GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation();
- buildCounterGoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation++;
- if (buildCounterGoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation <
- 3) {
- o.version = "foo";
- }
- buildCounterGoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation--;
- return o;
-}
-
-checkGoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation(
- api.GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation o) {
- buildCounterGoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation++;
- if (buildCounterGoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation <
- 3) {
- unittest.expect(o.version, unittest.equals('foo'));
- }
- buildCounterGoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation--;
-}
-
-buildUnnamed5180() {
- var o = new core
- .List<api.GoogleCloudVideointelligenceV1p2beta1NormalizedBoundingBox>();
- o.add(buildGoogleCloudVideointelligenceV1p2beta1NormalizedBoundingBox());
- o.add(buildGoogleCloudVideointelligenceV1p2beta1NormalizedBoundingBox());
- return o;
-}
-
-checkUnnamed5180(
- core.List<api.GoogleCloudVideointelligenceV1p2beta1NormalizedBoundingBox>
- o) {
- unittest.expect(o, unittest.hasLength(2));
- checkGoogleCloudVideointelligenceV1p2beta1NormalizedBoundingBox(o[0]);
- checkGoogleCloudVideointelligenceV1p2beta1NormalizedBoundingBox(o[1]);
-}
-
-core.int buildCounterGoogleCloudVideointelligenceV1p2beta1FaceFrame = 0;
-buildGoogleCloudVideointelligenceV1p2beta1FaceFrame() {
- var o = new api.GoogleCloudVideointelligenceV1p2beta1FaceFrame();
- buildCounterGoogleCloudVideointelligenceV1p2beta1FaceFrame++;
- if (buildCounterGoogleCloudVideointelligenceV1p2beta1FaceFrame < 3) {
- o.normalizedBoundingBoxes = buildUnnamed5180();
- o.timeOffset = "foo";
- }
- buildCounterGoogleCloudVideointelligenceV1p2beta1FaceFrame--;
- return o;
-}
-
-checkGoogleCloudVideointelligenceV1p2beta1FaceFrame(
- api.GoogleCloudVideointelligenceV1p2beta1FaceFrame o) {
- buildCounterGoogleCloudVideointelligenceV1p2beta1FaceFrame++;
- if (buildCounterGoogleCloudVideointelligenceV1p2beta1FaceFrame < 3) {
- checkUnnamed5180(o.normalizedBoundingBoxes);
- unittest.expect(o.timeOffset, unittest.equals('foo'));
- }
- buildCounterGoogleCloudVideointelligenceV1p2beta1FaceFrame--;
-}
-
-core.int buildCounterGoogleCloudVideointelligenceV1p2beta1FaceSegment = 0;
-buildGoogleCloudVideointelligenceV1p2beta1FaceSegment() {
- var o = new api.GoogleCloudVideointelligenceV1p2beta1FaceSegment();
- buildCounterGoogleCloudVideointelligenceV1p2beta1FaceSegment++;
- if (buildCounterGoogleCloudVideointelligenceV1p2beta1FaceSegment < 3) {
- o.segment = buildGoogleCloudVideointelligenceV1p2beta1VideoSegment();
- }
- buildCounterGoogleCloudVideointelligenceV1p2beta1FaceSegment--;
- return o;
-}
-
-checkGoogleCloudVideointelligenceV1p2beta1FaceSegment(
- api.GoogleCloudVideointelligenceV1p2beta1FaceSegment o) {
- buildCounterGoogleCloudVideointelligenceV1p2beta1FaceSegment++;
- if (buildCounterGoogleCloudVideointelligenceV1p2beta1FaceSegment < 3) {
- checkGoogleCloudVideointelligenceV1p2beta1VideoSegment(o.segment);
- }
- buildCounterGoogleCloudVideointelligenceV1p2beta1FaceSegment--;
-}
-
-buildUnnamed5181() {
+buildUnnamed5164() {
var o = new core.List<api.GoogleCloudVideointelligenceV1p2beta1Entity>();
o.add(buildGoogleCloudVideointelligenceV1p2beta1Entity());
o.add(buildGoogleCloudVideointelligenceV1p2beta1Entity());
return o;
}
-checkUnnamed5181(core.List<api.GoogleCloudVideointelligenceV1p2beta1Entity> o) {
+checkUnnamed5164(core.List<api.GoogleCloudVideointelligenceV1p2beta1Entity> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1p2beta1Entity(o[0]);
checkGoogleCloudVideointelligenceV1p2beta1Entity(o[1]);
}
-buildUnnamed5182() {
+buildUnnamed5165() {
var o = new core.List<api.GoogleCloudVideointelligenceV1p2beta1LabelFrame>();
o.add(buildGoogleCloudVideointelligenceV1p2beta1LabelFrame());
o.add(buildGoogleCloudVideointelligenceV1p2beta1LabelFrame());
return o;
}
-checkUnnamed5182(
+checkUnnamed5165(
core.List<api.GoogleCloudVideointelligenceV1p2beta1LabelFrame> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1p2beta1LabelFrame(o[0]);
checkGoogleCloudVideointelligenceV1p2beta1LabelFrame(o[1]);
}
-buildUnnamed5183() {
+buildUnnamed5166() {
var o =
new core.List<api.GoogleCloudVideointelligenceV1p2beta1LabelSegment>();
o.add(buildGoogleCloudVideointelligenceV1p2beta1LabelSegment());
@@ -4827,7 +3969,7 @@
return o;
}
-checkUnnamed5183(
+checkUnnamed5166(
core.List<api.GoogleCloudVideointelligenceV1p2beta1LabelSegment> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1p2beta1LabelSegment(o[0]);
@@ -4839,10 +3981,10 @@
var o = new api.GoogleCloudVideointelligenceV1p2beta1LabelAnnotation();
buildCounterGoogleCloudVideointelligenceV1p2beta1LabelAnnotation++;
if (buildCounterGoogleCloudVideointelligenceV1p2beta1LabelAnnotation < 3) {
- o.categoryEntities = buildUnnamed5181();
+ o.categoryEntities = buildUnnamed5164();
o.entity = buildGoogleCloudVideointelligenceV1p2beta1Entity();
- o.frames = buildUnnamed5182();
- o.segments = buildUnnamed5183();
+ o.frames = buildUnnamed5165();
+ o.segments = buildUnnamed5166();
o.version = "foo";
}
buildCounterGoogleCloudVideointelligenceV1p2beta1LabelAnnotation--;
@@ -4853,10 +3995,10 @@
api.GoogleCloudVideointelligenceV1p2beta1LabelAnnotation o) {
buildCounterGoogleCloudVideointelligenceV1p2beta1LabelAnnotation++;
if (buildCounterGoogleCloudVideointelligenceV1p2beta1LabelAnnotation < 3) {
- checkUnnamed5181(o.categoryEntities);
+ checkUnnamed5164(o.categoryEntities);
checkGoogleCloudVideointelligenceV1p2beta1Entity(o.entity);
- checkUnnamed5182(o.frames);
- checkUnnamed5183(o.segments);
+ checkUnnamed5165(o.frames);
+ checkUnnamed5166(o.segments);
unittest.expect(o.version, unittest.equals('foo'));
}
buildCounterGoogleCloudVideointelligenceV1p2beta1LabelAnnotation--;
@@ -4906,7 +4048,7 @@
buildCounterGoogleCloudVideointelligenceV1p2beta1LabelSegment--;
}
-buildUnnamed5184() {
+buildUnnamed5167() {
var o =
new core.List<api.GoogleCloudVideointelligenceV1p2beta1VideoSegment>();
o.add(buildGoogleCloudVideointelligenceV1p2beta1VideoSegment());
@@ -4914,21 +4056,21 @@
return o;
}
-checkUnnamed5184(
+checkUnnamed5167(
core.List<api.GoogleCloudVideointelligenceV1p2beta1VideoSegment> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1p2beta1VideoSegment(o[0]);
checkGoogleCloudVideointelligenceV1p2beta1VideoSegment(o[1]);
}
-buildUnnamed5185() {
+buildUnnamed5168() {
var o = new core.List<api.GoogleCloudVideointelligenceV1p2beta1Track>();
o.add(buildGoogleCloudVideointelligenceV1p2beta1Track());
o.add(buildGoogleCloudVideointelligenceV1p2beta1Track());
return o;
}
-checkUnnamed5185(core.List<api.GoogleCloudVideointelligenceV1p2beta1Track> o) {
+checkUnnamed5168(core.List<api.GoogleCloudVideointelligenceV1p2beta1Track> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1p2beta1Track(o[0]);
checkGoogleCloudVideointelligenceV1p2beta1Track(o[1]);
@@ -4944,8 +4086,8 @@
if (buildCounterGoogleCloudVideointelligenceV1p2beta1LogoRecognitionAnnotation <
3) {
o.entity = buildGoogleCloudVideointelligenceV1p2beta1Entity();
- o.segments = buildUnnamed5184();
- o.tracks = buildUnnamed5185();
+ o.segments = buildUnnamed5167();
+ o.tracks = buildUnnamed5168();
}
buildCounterGoogleCloudVideointelligenceV1p2beta1LogoRecognitionAnnotation--;
return o;
@@ -4957,8 +4099,8 @@
if (buildCounterGoogleCloudVideointelligenceV1p2beta1LogoRecognitionAnnotation <
3) {
checkGoogleCloudVideointelligenceV1p2beta1Entity(o.entity);
- checkUnnamed5184(o.segments);
- checkUnnamed5185(o.tracks);
+ checkUnnamed5167(o.segments);
+ checkUnnamed5168(o.tracks);
}
buildCounterGoogleCloudVideointelligenceV1p2beta1LogoRecognitionAnnotation--;
}
@@ -4992,7 +4134,7 @@
buildCounterGoogleCloudVideointelligenceV1p2beta1NormalizedBoundingBox--;
}
-buildUnnamed5186() {
+buildUnnamed5169() {
var o = new core
.List<api.GoogleCloudVideointelligenceV1p2beta1NormalizedVertex>();
o.add(buildGoogleCloudVideointelligenceV1p2beta1NormalizedVertex());
@@ -5000,7 +4142,7 @@
return o;
}
-checkUnnamed5186(
+checkUnnamed5169(
core.List<api.GoogleCloudVideointelligenceV1p2beta1NormalizedVertex> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1p2beta1NormalizedVertex(o[0]);
@@ -5014,7 +4156,7 @@
buildCounterGoogleCloudVideointelligenceV1p2beta1NormalizedBoundingPoly++;
if (buildCounterGoogleCloudVideointelligenceV1p2beta1NormalizedBoundingPoly <
3) {
- o.vertices = buildUnnamed5186();
+ o.vertices = buildUnnamed5169();
}
buildCounterGoogleCloudVideointelligenceV1p2beta1NormalizedBoundingPoly--;
return o;
@@ -5025,7 +4167,7 @@
buildCounterGoogleCloudVideointelligenceV1p2beta1NormalizedBoundingPoly++;
if (buildCounterGoogleCloudVideointelligenceV1p2beta1NormalizedBoundingPoly <
3) {
- checkUnnamed5186(o.vertices);
+ checkUnnamed5169(o.vertices);
}
buildCounterGoogleCloudVideointelligenceV1p2beta1NormalizedBoundingPoly--;
}
@@ -5052,7 +4194,7 @@
buildCounterGoogleCloudVideointelligenceV1p2beta1NormalizedVertex--;
}
-buildUnnamed5187() {
+buildUnnamed5170() {
var o = new core
.List<api.GoogleCloudVideointelligenceV1p2beta1ObjectTrackingFrame>();
o.add(buildGoogleCloudVideointelligenceV1p2beta1ObjectTrackingFrame());
@@ -5060,7 +4202,7 @@
return o;
}
-checkUnnamed5187(
+checkUnnamed5170(
core.List<api.GoogleCloudVideointelligenceV1p2beta1ObjectTrackingFrame> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1p2beta1ObjectTrackingFrame(o[0]);
@@ -5078,7 +4220,7 @@
3) {
o.confidence = 42.0;
o.entity = buildGoogleCloudVideointelligenceV1p2beta1Entity();
- o.frames = buildUnnamed5187();
+ o.frames = buildUnnamed5170();
o.segment = buildGoogleCloudVideointelligenceV1p2beta1VideoSegment();
o.trackId = "foo";
o.version = "foo";
@@ -5094,7 +4236,7 @@
3) {
unittest.expect(o.confidence, unittest.equals(42.0));
checkGoogleCloudVideointelligenceV1p2beta1Entity(o.entity);
- checkUnnamed5187(o.frames);
+ checkUnnamed5170(o.frames);
checkGoogleCloudVideointelligenceV1p2beta1VideoSegment(o.segment);
unittest.expect(o.trackId, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals('foo'));
@@ -5129,54 +4271,14 @@
buildCounterGoogleCloudVideointelligenceV1p2beta1ObjectTrackingFrame--;
}
-buildUnnamed5188() {
- var o = new core.List<api.GoogleCloudVideointelligenceV1p2beta1Track>();
- o.add(buildGoogleCloudVideointelligenceV1p2beta1Track());
- o.add(buildGoogleCloudVideointelligenceV1p2beta1Track());
- return o;
-}
-
-checkUnnamed5188(core.List<api.GoogleCloudVideointelligenceV1p2beta1Track> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkGoogleCloudVideointelligenceV1p2beta1Track(o[0]);
- checkGoogleCloudVideointelligenceV1p2beta1Track(o[1]);
-}
-
-core.int
- buildCounterGoogleCloudVideointelligenceV1p2beta1PersonDetectionAnnotation =
- 0;
-buildGoogleCloudVideointelligenceV1p2beta1PersonDetectionAnnotation() {
- var o =
- new api.GoogleCloudVideointelligenceV1p2beta1PersonDetectionAnnotation();
- buildCounterGoogleCloudVideointelligenceV1p2beta1PersonDetectionAnnotation++;
- if (buildCounterGoogleCloudVideointelligenceV1p2beta1PersonDetectionAnnotation <
- 3) {
- o.tracks = buildUnnamed5188();
- o.version = "foo";
- }
- buildCounterGoogleCloudVideointelligenceV1p2beta1PersonDetectionAnnotation--;
- return o;
-}
-
-checkGoogleCloudVideointelligenceV1p2beta1PersonDetectionAnnotation(
- api.GoogleCloudVideointelligenceV1p2beta1PersonDetectionAnnotation o) {
- buildCounterGoogleCloudVideointelligenceV1p2beta1PersonDetectionAnnotation++;
- if (buildCounterGoogleCloudVideointelligenceV1p2beta1PersonDetectionAnnotation <
- 3) {
- checkUnnamed5188(o.tracks);
- unittest.expect(o.version, unittest.equals('foo'));
- }
- buildCounterGoogleCloudVideointelligenceV1p2beta1PersonDetectionAnnotation--;
-}
-
-buildUnnamed5189() {
+buildUnnamed5171() {
var o = new core.List<api.GoogleCloudVideointelligenceV1p2beta1WordInfo>();
o.add(buildGoogleCloudVideointelligenceV1p2beta1WordInfo());
o.add(buildGoogleCloudVideointelligenceV1p2beta1WordInfo());
return o;
}
-checkUnnamed5189(
+checkUnnamed5171(
core.List<api.GoogleCloudVideointelligenceV1p2beta1WordInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1p2beta1WordInfo(o[0]);
@@ -5194,7 +4296,7 @@
3) {
o.confidence = 42.0;
o.transcript = "foo";
- o.words = buildUnnamed5189();
+ o.words = buildUnnamed5171();
}
buildCounterGoogleCloudVideointelligenceV1p2beta1SpeechRecognitionAlternative--;
return o;
@@ -5207,12 +4309,12 @@
3) {
unittest.expect(o.confidence, unittest.equals(42.0));
unittest.expect(o.transcript, unittest.equals('foo'));
- checkUnnamed5189(o.words);
+ checkUnnamed5171(o.words);
}
buildCounterGoogleCloudVideointelligenceV1p2beta1SpeechRecognitionAlternative--;
}
-buildUnnamed5190() {
+buildUnnamed5172() {
var o = new core.List<
api.GoogleCloudVideointelligenceV1p2beta1SpeechRecognitionAlternative>();
o.add(
@@ -5222,7 +4324,7 @@
return o;
}
-checkUnnamed5190(
+checkUnnamed5172(
core.List<
api.GoogleCloudVideointelligenceV1p2beta1SpeechRecognitionAlternative>
o) {
@@ -5238,7 +4340,7 @@
buildCounterGoogleCloudVideointelligenceV1p2beta1SpeechTranscription++;
if (buildCounterGoogleCloudVideointelligenceV1p2beta1SpeechTranscription <
3) {
- o.alternatives = buildUnnamed5190();
+ o.alternatives = buildUnnamed5172();
o.languageCode = "foo";
}
buildCounterGoogleCloudVideointelligenceV1p2beta1SpeechTranscription--;
@@ -5250,20 +4352,20 @@
buildCounterGoogleCloudVideointelligenceV1p2beta1SpeechTranscription++;
if (buildCounterGoogleCloudVideointelligenceV1p2beta1SpeechTranscription <
3) {
- checkUnnamed5190(o.alternatives);
+ checkUnnamed5172(o.alternatives);
unittest.expect(o.languageCode, unittest.equals('foo'));
}
buildCounterGoogleCloudVideointelligenceV1p2beta1SpeechTranscription--;
}
-buildUnnamed5191() {
+buildUnnamed5173() {
var o = new core.List<api.GoogleCloudVideointelligenceV1p2beta1TextSegment>();
o.add(buildGoogleCloudVideointelligenceV1p2beta1TextSegment());
o.add(buildGoogleCloudVideointelligenceV1p2beta1TextSegment());
return o;
}
-checkUnnamed5191(
+checkUnnamed5173(
core.List<api.GoogleCloudVideointelligenceV1p2beta1TextSegment> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1p2beta1TextSegment(o[0]);
@@ -5275,7 +4377,7 @@
var o = new api.GoogleCloudVideointelligenceV1p2beta1TextAnnotation();
buildCounterGoogleCloudVideointelligenceV1p2beta1TextAnnotation++;
if (buildCounterGoogleCloudVideointelligenceV1p2beta1TextAnnotation < 3) {
- o.segments = buildUnnamed5191();
+ o.segments = buildUnnamed5173();
o.text = "foo";
o.version = "foo";
}
@@ -5287,7 +4389,7 @@
api.GoogleCloudVideointelligenceV1p2beta1TextAnnotation o) {
buildCounterGoogleCloudVideointelligenceV1p2beta1TextAnnotation++;
if (buildCounterGoogleCloudVideointelligenceV1p2beta1TextAnnotation < 3) {
- checkUnnamed5191(o.segments);
+ checkUnnamed5173(o.segments);
unittest.expect(o.text, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals('foo'));
}
@@ -5318,14 +4420,14 @@
buildCounterGoogleCloudVideointelligenceV1p2beta1TextFrame--;
}
-buildUnnamed5192() {
+buildUnnamed5174() {
var o = new core.List<api.GoogleCloudVideointelligenceV1p2beta1TextFrame>();
o.add(buildGoogleCloudVideointelligenceV1p2beta1TextFrame());
o.add(buildGoogleCloudVideointelligenceV1p2beta1TextFrame());
return o;
}
-checkUnnamed5192(
+checkUnnamed5174(
core.List<api.GoogleCloudVideointelligenceV1p2beta1TextFrame> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1p2beta1TextFrame(o[0]);
@@ -5338,7 +4440,7 @@
buildCounterGoogleCloudVideointelligenceV1p2beta1TextSegment++;
if (buildCounterGoogleCloudVideointelligenceV1p2beta1TextSegment < 3) {
o.confidence = 42.0;
- o.frames = buildUnnamed5192();
+ o.frames = buildUnnamed5174();
o.segment = buildGoogleCloudVideointelligenceV1p2beta1VideoSegment();
}
buildCounterGoogleCloudVideointelligenceV1p2beta1TextSegment--;
@@ -5350,13 +4452,13 @@
buildCounterGoogleCloudVideointelligenceV1p2beta1TextSegment++;
if (buildCounterGoogleCloudVideointelligenceV1p2beta1TextSegment < 3) {
unittest.expect(o.confidence, unittest.equals(42.0));
- checkUnnamed5192(o.frames);
+ checkUnnamed5174(o.frames);
checkGoogleCloudVideointelligenceV1p2beta1VideoSegment(o.segment);
}
buildCounterGoogleCloudVideointelligenceV1p2beta1TextSegment--;
}
-buildUnnamed5193() {
+buildUnnamed5175() {
var o = new core
.List<api.GoogleCloudVideointelligenceV1p2beta1DetectedAttribute>();
o.add(buildGoogleCloudVideointelligenceV1p2beta1DetectedAttribute());
@@ -5364,14 +4466,14 @@
return o;
}
-checkUnnamed5193(
+checkUnnamed5175(
core.List<api.GoogleCloudVideointelligenceV1p2beta1DetectedAttribute> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1p2beta1DetectedAttribute(o[0]);
checkGoogleCloudVideointelligenceV1p2beta1DetectedAttribute(o[1]);
}
-buildUnnamed5194() {
+buildUnnamed5176() {
var o = new core
.List<api.GoogleCloudVideointelligenceV1p2beta1DetectedLandmark>();
o.add(buildGoogleCloudVideointelligenceV1p2beta1DetectedLandmark());
@@ -5379,7 +4481,7 @@
return o;
}
-checkUnnamed5194(
+checkUnnamed5176(
core.List<api.GoogleCloudVideointelligenceV1p2beta1DetectedLandmark> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1p2beta1DetectedLandmark(o[0]);
@@ -5391,8 +4493,8 @@
var o = new api.GoogleCloudVideointelligenceV1p2beta1TimestampedObject();
buildCounterGoogleCloudVideointelligenceV1p2beta1TimestampedObject++;
if (buildCounterGoogleCloudVideointelligenceV1p2beta1TimestampedObject < 3) {
- o.attributes = buildUnnamed5193();
- o.landmarks = buildUnnamed5194();
+ o.attributes = buildUnnamed5175();
+ o.landmarks = buildUnnamed5176();
o.normalizedBoundingBox =
buildGoogleCloudVideointelligenceV1p2beta1NormalizedBoundingBox();
o.timeOffset = "foo";
@@ -5405,8 +4507,8 @@
api.GoogleCloudVideointelligenceV1p2beta1TimestampedObject o) {
buildCounterGoogleCloudVideointelligenceV1p2beta1TimestampedObject++;
if (buildCounterGoogleCloudVideointelligenceV1p2beta1TimestampedObject < 3) {
- checkUnnamed5193(o.attributes);
- checkUnnamed5194(o.landmarks);
+ checkUnnamed5175(o.attributes);
+ checkUnnamed5176(o.landmarks);
checkGoogleCloudVideointelligenceV1p2beta1NormalizedBoundingBox(
o.normalizedBoundingBox);
unittest.expect(o.timeOffset, unittest.equals('foo'));
@@ -5414,7 +4516,7 @@
buildCounterGoogleCloudVideointelligenceV1p2beta1TimestampedObject--;
}
-buildUnnamed5195() {
+buildUnnamed5177() {
var o = new core
.List<api.GoogleCloudVideointelligenceV1p2beta1DetectedAttribute>();
o.add(buildGoogleCloudVideointelligenceV1p2beta1DetectedAttribute());
@@ -5422,14 +4524,14 @@
return o;
}
-checkUnnamed5195(
+checkUnnamed5177(
core.List<api.GoogleCloudVideointelligenceV1p2beta1DetectedAttribute> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1p2beta1DetectedAttribute(o[0]);
checkGoogleCloudVideointelligenceV1p2beta1DetectedAttribute(o[1]);
}
-buildUnnamed5196() {
+buildUnnamed5178() {
var o = new core
.List<api.GoogleCloudVideointelligenceV1p2beta1TimestampedObject>();
o.add(buildGoogleCloudVideointelligenceV1p2beta1TimestampedObject());
@@ -5437,7 +4539,7 @@
return o;
}
-checkUnnamed5196(
+checkUnnamed5178(
core.List<api.GoogleCloudVideointelligenceV1p2beta1TimestampedObject> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1p2beta1TimestampedObject(o[0]);
@@ -5449,10 +4551,10 @@
var o = new api.GoogleCloudVideointelligenceV1p2beta1Track();
buildCounterGoogleCloudVideointelligenceV1p2beta1Track++;
if (buildCounterGoogleCloudVideointelligenceV1p2beta1Track < 3) {
- o.attributes = buildUnnamed5195();
+ o.attributes = buildUnnamed5177();
o.confidence = 42.0;
o.segment = buildGoogleCloudVideointelligenceV1p2beta1VideoSegment();
- o.timestampedObjects = buildUnnamed5196();
+ o.timestampedObjects = buildUnnamed5178();
}
buildCounterGoogleCloudVideointelligenceV1p2beta1Track--;
return o;
@@ -5462,10 +4564,10 @@
api.GoogleCloudVideointelligenceV1p2beta1Track o) {
buildCounterGoogleCloudVideointelligenceV1p2beta1Track++;
if (buildCounterGoogleCloudVideointelligenceV1p2beta1Track < 3) {
- checkUnnamed5195(o.attributes);
+ checkUnnamed5177(o.attributes);
unittest.expect(o.confidence, unittest.equals(42.0));
checkGoogleCloudVideointelligenceV1p2beta1VideoSegment(o.segment);
- checkUnnamed5196(o.timestampedObjects);
+ checkUnnamed5178(o.timestampedObjects);
}
buildCounterGoogleCloudVideointelligenceV1p2beta1Track--;
}
@@ -5505,38 +4607,7 @@
buildCounterGoogleCloudVideointelligenceV1p2beta1VideoAnnotationProgress--;
}
-buildUnnamed5197() {
- var o =
- new core.List<api.GoogleCloudVideointelligenceV1p2beta1FaceAnnotation>();
- o.add(buildGoogleCloudVideointelligenceV1p2beta1FaceAnnotation());
- o.add(buildGoogleCloudVideointelligenceV1p2beta1FaceAnnotation());
- return o;
-}
-
-checkUnnamed5197(
- core.List<api.GoogleCloudVideointelligenceV1p2beta1FaceAnnotation> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkGoogleCloudVideointelligenceV1p2beta1FaceAnnotation(o[0]);
- checkGoogleCloudVideointelligenceV1p2beta1FaceAnnotation(o[1]);
-}
-
-buildUnnamed5198() {
- var o = new core
- .List<api.GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation>();
- o.add(buildGoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation());
- o.add(buildGoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation());
- return o;
-}
-
-checkUnnamed5198(
- core.List<api.GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation>
- o) {
- unittest.expect(o, unittest.hasLength(2));
- checkGoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation(o[0]);
- checkGoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation(o[1]);
-}
-
-buildUnnamed5199() {
+buildUnnamed5179() {
var o =
new core.List<api.GoogleCloudVideointelligenceV1p2beta1LabelAnnotation>();
o.add(buildGoogleCloudVideointelligenceV1p2beta1LabelAnnotation());
@@ -5544,14 +4615,14 @@
return o;
}
-checkUnnamed5199(
+checkUnnamed5179(
core.List<api.GoogleCloudVideointelligenceV1p2beta1LabelAnnotation> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1p2beta1LabelAnnotation(o[0]);
checkGoogleCloudVideointelligenceV1p2beta1LabelAnnotation(o[1]);
}
-buildUnnamed5200() {
+buildUnnamed5180() {
var o = new core.List<
api.GoogleCloudVideointelligenceV1p2beta1LogoRecognitionAnnotation>();
o.add(buildGoogleCloudVideointelligenceV1p2beta1LogoRecognitionAnnotation());
@@ -5559,7 +4630,7 @@
return o;
}
-checkUnnamed5200(
+checkUnnamed5180(
core.List<
api.GoogleCloudVideointelligenceV1p2beta1LogoRecognitionAnnotation>
o) {
@@ -5568,7 +4639,7 @@
checkGoogleCloudVideointelligenceV1p2beta1LogoRecognitionAnnotation(o[1]);
}
-buildUnnamed5201() {
+buildUnnamed5181() {
var o = new core.List<
api.GoogleCloudVideointelligenceV1p2beta1ObjectTrackingAnnotation>();
o.add(buildGoogleCloudVideointelligenceV1p2beta1ObjectTrackingAnnotation());
@@ -5576,7 +4647,7 @@
return o;
}
-checkUnnamed5201(
+checkUnnamed5181(
core.List<api.GoogleCloudVideointelligenceV1p2beta1ObjectTrackingAnnotation>
o) {
unittest.expect(o, unittest.hasLength(2));
@@ -5584,24 +4655,7 @@
checkGoogleCloudVideointelligenceV1p2beta1ObjectTrackingAnnotation(o[1]);
}
-buildUnnamed5202() {
- var o = new core.List<
- api.GoogleCloudVideointelligenceV1p2beta1PersonDetectionAnnotation>();
- o.add(buildGoogleCloudVideointelligenceV1p2beta1PersonDetectionAnnotation());
- o.add(buildGoogleCloudVideointelligenceV1p2beta1PersonDetectionAnnotation());
- return o;
-}
-
-checkUnnamed5202(
- core.List<
- api.GoogleCloudVideointelligenceV1p2beta1PersonDetectionAnnotation>
- o) {
- unittest.expect(o, unittest.hasLength(2));
- checkGoogleCloudVideointelligenceV1p2beta1PersonDetectionAnnotation(o[0]);
- checkGoogleCloudVideointelligenceV1p2beta1PersonDetectionAnnotation(o[1]);
-}
-
-buildUnnamed5203() {
+buildUnnamed5182() {
var o =
new core.List<api.GoogleCloudVideointelligenceV1p2beta1LabelAnnotation>();
o.add(buildGoogleCloudVideointelligenceV1p2beta1LabelAnnotation());
@@ -5609,14 +4663,14 @@
return o;
}
-checkUnnamed5203(
+checkUnnamed5182(
core.List<api.GoogleCloudVideointelligenceV1p2beta1LabelAnnotation> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1p2beta1LabelAnnotation(o[0]);
checkGoogleCloudVideointelligenceV1p2beta1LabelAnnotation(o[1]);
}
-buildUnnamed5204() {
+buildUnnamed5183() {
var o =
new core.List<api.GoogleCloudVideointelligenceV1p2beta1LabelAnnotation>();
o.add(buildGoogleCloudVideointelligenceV1p2beta1LabelAnnotation());
@@ -5624,14 +4678,14 @@
return o;
}
-checkUnnamed5204(
+checkUnnamed5183(
core.List<api.GoogleCloudVideointelligenceV1p2beta1LabelAnnotation> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1p2beta1LabelAnnotation(o[0]);
checkGoogleCloudVideointelligenceV1p2beta1LabelAnnotation(o[1]);
}
-buildUnnamed5205() {
+buildUnnamed5184() {
var o =
new core.List<api.GoogleCloudVideointelligenceV1p2beta1VideoSegment>();
o.add(buildGoogleCloudVideointelligenceV1p2beta1VideoSegment());
@@ -5639,14 +4693,14 @@
return o;
}
-checkUnnamed5205(
+checkUnnamed5184(
core.List<api.GoogleCloudVideointelligenceV1p2beta1VideoSegment> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1p2beta1VideoSegment(o[0]);
checkGoogleCloudVideointelligenceV1p2beta1VideoSegment(o[1]);
}
-buildUnnamed5206() {
+buildUnnamed5185() {
var o =
new core.List<api.GoogleCloudVideointelligenceV1p2beta1LabelAnnotation>();
o.add(buildGoogleCloudVideointelligenceV1p2beta1LabelAnnotation());
@@ -5654,14 +4708,14 @@
return o;
}
-checkUnnamed5206(
+checkUnnamed5185(
core.List<api.GoogleCloudVideointelligenceV1p2beta1LabelAnnotation> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1p2beta1LabelAnnotation(o[0]);
checkGoogleCloudVideointelligenceV1p2beta1LabelAnnotation(o[1]);
}
-buildUnnamed5207() {
+buildUnnamed5186() {
var o =
new core.List<api.GoogleCloudVideointelligenceV1p2beta1LabelAnnotation>();
o.add(buildGoogleCloudVideointelligenceV1p2beta1LabelAnnotation());
@@ -5669,14 +4723,14 @@
return o;
}
-checkUnnamed5207(
+checkUnnamed5186(
core.List<api.GoogleCloudVideointelligenceV1p2beta1LabelAnnotation> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1p2beta1LabelAnnotation(o[0]);
checkGoogleCloudVideointelligenceV1p2beta1LabelAnnotation(o[1]);
}
-buildUnnamed5208() {
+buildUnnamed5187() {
var o = new core
.List<api.GoogleCloudVideointelligenceV1p2beta1SpeechTranscription>();
o.add(buildGoogleCloudVideointelligenceV1p2beta1SpeechTranscription());
@@ -5684,14 +4738,14 @@
return o;
}
-checkUnnamed5208(
+checkUnnamed5187(
core.List<api.GoogleCloudVideointelligenceV1p2beta1SpeechTranscription> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1p2beta1SpeechTranscription(o[0]);
checkGoogleCloudVideointelligenceV1p2beta1SpeechTranscription(o[1]);
}
-buildUnnamed5209() {
+buildUnnamed5188() {
var o =
new core.List<api.GoogleCloudVideointelligenceV1p2beta1TextAnnotation>();
o.add(buildGoogleCloudVideointelligenceV1p2beta1TextAnnotation());
@@ -5699,7 +4753,7 @@
return o;
}
-checkUnnamed5209(
+checkUnnamed5188(
core.List<api.GoogleCloudVideointelligenceV1p2beta1TextAnnotation> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1p2beta1TextAnnotation(o[0]);
@@ -5716,21 +4770,18 @@
o.error = buildGoogleRpcStatus();
o.explicitAnnotation =
buildGoogleCloudVideointelligenceV1p2beta1ExplicitContentAnnotation();
- o.faceAnnotations = buildUnnamed5197();
- o.faceDetectionAnnotations = buildUnnamed5198();
- o.frameLabelAnnotations = buildUnnamed5199();
+ o.frameLabelAnnotations = buildUnnamed5179();
o.inputUri = "foo";
- o.logoRecognitionAnnotations = buildUnnamed5200();
- o.objectAnnotations = buildUnnamed5201();
- o.personDetectionAnnotations = buildUnnamed5202();
+ o.logoRecognitionAnnotations = buildUnnamed5180();
+ o.objectAnnotations = buildUnnamed5181();
o.segment = buildGoogleCloudVideointelligenceV1p2beta1VideoSegment();
- o.segmentLabelAnnotations = buildUnnamed5203();
- o.segmentPresenceLabelAnnotations = buildUnnamed5204();
- o.shotAnnotations = buildUnnamed5205();
- o.shotLabelAnnotations = buildUnnamed5206();
- o.shotPresenceLabelAnnotations = buildUnnamed5207();
- o.speechTranscriptions = buildUnnamed5208();
- o.textAnnotations = buildUnnamed5209();
+ o.segmentLabelAnnotations = buildUnnamed5182();
+ o.segmentPresenceLabelAnnotations = buildUnnamed5183();
+ o.shotAnnotations = buildUnnamed5184();
+ o.shotLabelAnnotations = buildUnnamed5185();
+ o.shotPresenceLabelAnnotations = buildUnnamed5186();
+ o.speechTranscriptions = buildUnnamed5187();
+ o.textAnnotations = buildUnnamed5188();
}
buildCounterGoogleCloudVideointelligenceV1p2beta1VideoAnnotationResults--;
return o;
@@ -5744,21 +4795,18 @@
checkGoogleRpcStatus(o.error);
checkGoogleCloudVideointelligenceV1p2beta1ExplicitContentAnnotation(
o.explicitAnnotation);
- checkUnnamed5197(o.faceAnnotations);
- checkUnnamed5198(o.faceDetectionAnnotations);
- checkUnnamed5199(o.frameLabelAnnotations);
+ checkUnnamed5179(o.frameLabelAnnotations);
unittest.expect(o.inputUri, unittest.equals('foo'));
- checkUnnamed5200(o.logoRecognitionAnnotations);
- checkUnnamed5201(o.objectAnnotations);
- checkUnnamed5202(o.personDetectionAnnotations);
+ checkUnnamed5180(o.logoRecognitionAnnotations);
+ checkUnnamed5181(o.objectAnnotations);
checkGoogleCloudVideointelligenceV1p2beta1VideoSegment(o.segment);
- checkUnnamed5203(o.segmentLabelAnnotations);
- checkUnnamed5204(o.segmentPresenceLabelAnnotations);
- checkUnnamed5205(o.shotAnnotations);
- checkUnnamed5206(o.shotLabelAnnotations);
- checkUnnamed5207(o.shotPresenceLabelAnnotations);
- checkUnnamed5208(o.speechTranscriptions);
- checkUnnamed5209(o.textAnnotations);
+ checkUnnamed5182(o.segmentLabelAnnotations);
+ checkUnnamed5183(o.segmentPresenceLabelAnnotations);
+ checkUnnamed5184(o.shotAnnotations);
+ checkUnnamed5185(o.shotLabelAnnotations);
+ checkUnnamed5186(o.shotPresenceLabelAnnotations);
+ checkUnnamed5187(o.speechTranscriptions);
+ checkUnnamed5188(o.textAnnotations);
}
buildCounterGoogleCloudVideointelligenceV1p2beta1VideoAnnotationResults--;
}
@@ -5813,7 +4861,7 @@
buildCounterGoogleCloudVideointelligenceV1p2beta1WordInfo--;
}
-buildUnnamed5210() {
+buildUnnamed5189() {
var o = new core
.List<api.GoogleCloudVideointelligenceV1p3beta1VideoAnnotationProgress>();
o.add(buildGoogleCloudVideointelligenceV1p3beta1VideoAnnotationProgress());
@@ -5821,7 +4869,7 @@
return o;
}
-checkUnnamed5210(
+checkUnnamed5189(
core.List<api.GoogleCloudVideointelligenceV1p3beta1VideoAnnotationProgress>
o) {
unittest.expect(o, unittest.hasLength(2));
@@ -5836,7 +4884,7 @@
buildCounterGoogleCloudVideointelligenceV1p3beta1AnnotateVideoProgress++;
if (buildCounterGoogleCloudVideointelligenceV1p3beta1AnnotateVideoProgress <
3) {
- o.annotationProgress = buildUnnamed5210();
+ o.annotationProgress = buildUnnamed5189();
}
buildCounterGoogleCloudVideointelligenceV1p3beta1AnnotateVideoProgress--;
return o;
@@ -5847,12 +4895,12 @@
buildCounterGoogleCloudVideointelligenceV1p3beta1AnnotateVideoProgress++;
if (buildCounterGoogleCloudVideointelligenceV1p3beta1AnnotateVideoProgress <
3) {
- checkUnnamed5210(o.annotationProgress);
+ checkUnnamed5189(o.annotationProgress);
}
buildCounterGoogleCloudVideointelligenceV1p3beta1AnnotateVideoProgress--;
}
-buildUnnamed5211() {
+buildUnnamed5190() {
var o = new core
.List<api.GoogleCloudVideointelligenceV1p3beta1VideoAnnotationResults>();
o.add(buildGoogleCloudVideointelligenceV1p3beta1VideoAnnotationResults());
@@ -5860,7 +4908,7 @@
return o;
}
-checkUnnamed5211(
+checkUnnamed5190(
core.List<api.GoogleCloudVideointelligenceV1p3beta1VideoAnnotationResults>
o) {
unittest.expect(o, unittest.hasLength(2));
@@ -5875,7 +4923,7 @@
buildCounterGoogleCloudVideointelligenceV1p3beta1AnnotateVideoResponse++;
if (buildCounterGoogleCloudVideointelligenceV1p3beta1AnnotateVideoResponse <
3) {
- o.annotationResults = buildUnnamed5211();
+ o.annotationResults = buildUnnamed5190();
}
buildCounterGoogleCloudVideointelligenceV1p3beta1AnnotateVideoResponse--;
return o;
@@ -5886,7 +4934,7 @@
buildCounterGoogleCloudVideointelligenceV1p3beta1AnnotateVideoResponse++;
if (buildCounterGoogleCloudVideointelligenceV1p3beta1AnnotateVideoResponse <
3) {
- checkUnnamed5211(o.annotationResults);
+ checkUnnamed5190(o.annotationResults);
}
buildCounterGoogleCloudVideointelligenceV1p3beta1AnnotateVideoResponse--;
}
@@ -5915,7 +4963,7 @@
buildCounterGoogleCloudVideointelligenceV1p3beta1Celebrity--;
}
-buildUnnamed5212() {
+buildUnnamed5191() {
var o =
new core.List<api.GoogleCloudVideointelligenceV1p3beta1CelebrityTrack>();
o.add(buildGoogleCloudVideointelligenceV1p3beta1CelebrityTrack());
@@ -5923,7 +4971,7 @@
return o;
}
-checkUnnamed5212(
+checkUnnamed5191(
core.List<api.GoogleCloudVideointelligenceV1p3beta1CelebrityTrack> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1p3beta1CelebrityTrack(o[0]);
@@ -5939,7 +4987,7 @@
buildCounterGoogleCloudVideointelligenceV1p3beta1CelebrityRecognitionAnnotation++;
if (buildCounterGoogleCloudVideointelligenceV1p3beta1CelebrityRecognitionAnnotation <
3) {
- o.celebrityTracks = buildUnnamed5212();
+ o.celebrityTracks = buildUnnamed5191();
o.version = "foo";
}
buildCounterGoogleCloudVideointelligenceV1p3beta1CelebrityRecognitionAnnotation--;
@@ -5951,13 +4999,13 @@
buildCounterGoogleCloudVideointelligenceV1p3beta1CelebrityRecognitionAnnotation++;
if (buildCounterGoogleCloudVideointelligenceV1p3beta1CelebrityRecognitionAnnotation <
3) {
- checkUnnamed5212(o.celebrityTracks);
+ checkUnnamed5191(o.celebrityTracks);
unittest.expect(o.version, unittest.equals('foo'));
}
buildCounterGoogleCloudVideointelligenceV1p3beta1CelebrityRecognitionAnnotation--;
}
-buildUnnamed5213() {
+buildUnnamed5192() {
var o = new core
.List<api.GoogleCloudVideointelligenceV1p3beta1RecognizedCelebrity>();
o.add(buildGoogleCloudVideointelligenceV1p3beta1RecognizedCelebrity());
@@ -5965,7 +5013,7 @@
return o;
}
-checkUnnamed5213(
+checkUnnamed5192(
core.List<api.GoogleCloudVideointelligenceV1p3beta1RecognizedCelebrity> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1p3beta1RecognizedCelebrity(o[0]);
@@ -5977,7 +5025,7 @@
var o = new api.GoogleCloudVideointelligenceV1p3beta1CelebrityTrack();
buildCounterGoogleCloudVideointelligenceV1p3beta1CelebrityTrack++;
if (buildCounterGoogleCloudVideointelligenceV1p3beta1CelebrityTrack < 3) {
- o.celebrities = buildUnnamed5213();
+ o.celebrities = buildUnnamed5192();
o.faceTrack = buildGoogleCloudVideointelligenceV1p3beta1Track();
}
buildCounterGoogleCloudVideointelligenceV1p3beta1CelebrityTrack--;
@@ -5988,7 +5036,7 @@
api.GoogleCloudVideointelligenceV1p3beta1CelebrityTrack o) {
buildCounterGoogleCloudVideointelligenceV1p3beta1CelebrityTrack++;
if (buildCounterGoogleCloudVideointelligenceV1p3beta1CelebrityTrack < 3) {
- checkUnnamed5213(o.celebrities);
+ checkUnnamed5192(o.celebrities);
checkGoogleCloudVideointelligenceV1p3beta1Track(o.faceTrack);
}
buildCounterGoogleCloudVideointelligenceV1p3beta1CelebrityTrack--;
@@ -6066,7 +5114,7 @@
buildCounterGoogleCloudVideointelligenceV1p3beta1Entity--;
}
-buildUnnamed5214() {
+buildUnnamed5193() {
var o = new core
.List<api.GoogleCloudVideointelligenceV1p3beta1ExplicitContentFrame>();
o.add(buildGoogleCloudVideointelligenceV1p3beta1ExplicitContentFrame());
@@ -6074,7 +5122,7 @@
return o;
}
-checkUnnamed5214(
+checkUnnamed5193(
core.List<api.GoogleCloudVideointelligenceV1p3beta1ExplicitContentFrame>
o) {
unittest.expect(o, unittest.hasLength(2));
@@ -6091,7 +5139,7 @@
buildCounterGoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation++;
if (buildCounterGoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation <
3) {
- o.frames = buildUnnamed5214();
+ o.frames = buildUnnamed5193();
o.version = "foo";
}
buildCounterGoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation--;
@@ -6103,7 +5151,7 @@
buildCounterGoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation++;
if (buildCounterGoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation <
3) {
- checkUnnamed5214(o.frames);
+ checkUnnamed5193(o.frames);
unittest.expect(o.version, unittest.equals('foo'));
}
buildCounterGoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation--;
@@ -6134,56 +5182,17 @@
buildCounterGoogleCloudVideointelligenceV1p3beta1ExplicitContentFrame--;
}
-buildUnnamed5215() {
- var o = new core.List<api.GoogleCloudVideointelligenceV1p3beta1FaceFrame>();
- o.add(buildGoogleCloudVideointelligenceV1p3beta1FaceFrame());
- o.add(buildGoogleCloudVideointelligenceV1p3beta1FaceFrame());
+buildUnnamed5194() {
+ var o = new core.List<api.GoogleCloudVideointelligenceV1p3beta1Track>();
+ o.add(buildGoogleCloudVideointelligenceV1p3beta1Track());
+ o.add(buildGoogleCloudVideointelligenceV1p3beta1Track());
return o;
}
-checkUnnamed5215(
- core.List<api.GoogleCloudVideointelligenceV1p3beta1FaceFrame> o) {
+checkUnnamed5194(core.List<api.GoogleCloudVideointelligenceV1p3beta1Track> o) {
unittest.expect(o, unittest.hasLength(2));
- checkGoogleCloudVideointelligenceV1p3beta1FaceFrame(o[0]);
- checkGoogleCloudVideointelligenceV1p3beta1FaceFrame(o[1]);
-}
-
-buildUnnamed5216() {
- var o = new core.List<api.GoogleCloudVideointelligenceV1p3beta1FaceSegment>();
- o.add(buildGoogleCloudVideointelligenceV1p3beta1FaceSegment());
- o.add(buildGoogleCloudVideointelligenceV1p3beta1FaceSegment());
- return o;
-}
-
-checkUnnamed5216(
- core.List<api.GoogleCloudVideointelligenceV1p3beta1FaceSegment> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkGoogleCloudVideointelligenceV1p3beta1FaceSegment(o[0]);
- checkGoogleCloudVideointelligenceV1p3beta1FaceSegment(o[1]);
-}
-
-core.int buildCounterGoogleCloudVideointelligenceV1p3beta1FaceAnnotation = 0;
-buildGoogleCloudVideointelligenceV1p3beta1FaceAnnotation() {
- var o = new api.GoogleCloudVideointelligenceV1p3beta1FaceAnnotation();
- buildCounterGoogleCloudVideointelligenceV1p3beta1FaceAnnotation++;
- if (buildCounterGoogleCloudVideointelligenceV1p3beta1FaceAnnotation < 3) {
- o.frames = buildUnnamed5215();
- o.segments = buildUnnamed5216();
- o.thumbnail = "foo";
- }
- buildCounterGoogleCloudVideointelligenceV1p3beta1FaceAnnotation--;
- return o;
-}
-
-checkGoogleCloudVideointelligenceV1p3beta1FaceAnnotation(
- api.GoogleCloudVideointelligenceV1p3beta1FaceAnnotation o) {
- buildCounterGoogleCloudVideointelligenceV1p3beta1FaceAnnotation++;
- if (buildCounterGoogleCloudVideointelligenceV1p3beta1FaceAnnotation < 3) {
- checkUnnamed5215(o.frames);
- checkUnnamed5216(o.segments);
- unittest.expect(o.thumbnail, unittest.equals('foo'));
- }
- buildCounterGoogleCloudVideointelligenceV1p3beta1FaceAnnotation--;
+ checkGoogleCloudVideointelligenceV1p3beta1Track(o[0]);
+ checkGoogleCloudVideointelligenceV1p3beta1Track(o[1]);
}
core.int
@@ -6195,6 +5204,8 @@
buildCounterGoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation++;
if (buildCounterGoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation <
3) {
+ o.thumbnail = "foo";
+ o.tracks = buildUnnamed5194();
o.version = "foo";
}
buildCounterGoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation--;
@@ -6206,97 +5217,41 @@
buildCounterGoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation++;
if (buildCounterGoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation <
3) {
+ unittest.expect(o.thumbnail, unittest.equals('foo'));
+ checkUnnamed5194(o.tracks);
unittest.expect(o.version, unittest.equals('foo'));
}
buildCounterGoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation--;
}
-buildUnnamed5217() {
- var o = new core
- .List<api.GoogleCloudVideointelligenceV1p3beta1NormalizedBoundingBox>();
- o.add(buildGoogleCloudVideointelligenceV1p3beta1NormalizedBoundingBox());
- o.add(buildGoogleCloudVideointelligenceV1p3beta1NormalizedBoundingBox());
- return o;
-}
-
-checkUnnamed5217(
- core.List<api.GoogleCloudVideointelligenceV1p3beta1NormalizedBoundingBox>
- o) {
- unittest.expect(o, unittest.hasLength(2));
- checkGoogleCloudVideointelligenceV1p3beta1NormalizedBoundingBox(o[0]);
- checkGoogleCloudVideointelligenceV1p3beta1NormalizedBoundingBox(o[1]);
-}
-
-core.int buildCounterGoogleCloudVideointelligenceV1p3beta1FaceFrame = 0;
-buildGoogleCloudVideointelligenceV1p3beta1FaceFrame() {
- var o = new api.GoogleCloudVideointelligenceV1p3beta1FaceFrame();
- buildCounterGoogleCloudVideointelligenceV1p3beta1FaceFrame++;
- if (buildCounterGoogleCloudVideointelligenceV1p3beta1FaceFrame < 3) {
- o.normalizedBoundingBoxes = buildUnnamed5217();
- o.timeOffset = "foo";
- }
- buildCounterGoogleCloudVideointelligenceV1p3beta1FaceFrame--;
- return o;
-}
-
-checkGoogleCloudVideointelligenceV1p3beta1FaceFrame(
- api.GoogleCloudVideointelligenceV1p3beta1FaceFrame o) {
- buildCounterGoogleCloudVideointelligenceV1p3beta1FaceFrame++;
- if (buildCounterGoogleCloudVideointelligenceV1p3beta1FaceFrame < 3) {
- checkUnnamed5217(o.normalizedBoundingBoxes);
- unittest.expect(o.timeOffset, unittest.equals('foo'));
- }
- buildCounterGoogleCloudVideointelligenceV1p3beta1FaceFrame--;
-}
-
-core.int buildCounterGoogleCloudVideointelligenceV1p3beta1FaceSegment = 0;
-buildGoogleCloudVideointelligenceV1p3beta1FaceSegment() {
- var o = new api.GoogleCloudVideointelligenceV1p3beta1FaceSegment();
- buildCounterGoogleCloudVideointelligenceV1p3beta1FaceSegment++;
- if (buildCounterGoogleCloudVideointelligenceV1p3beta1FaceSegment < 3) {
- o.segment = buildGoogleCloudVideointelligenceV1p3beta1VideoSegment();
- }
- buildCounterGoogleCloudVideointelligenceV1p3beta1FaceSegment--;
- return o;
-}
-
-checkGoogleCloudVideointelligenceV1p3beta1FaceSegment(
- api.GoogleCloudVideointelligenceV1p3beta1FaceSegment o) {
- buildCounterGoogleCloudVideointelligenceV1p3beta1FaceSegment++;
- if (buildCounterGoogleCloudVideointelligenceV1p3beta1FaceSegment < 3) {
- checkGoogleCloudVideointelligenceV1p3beta1VideoSegment(o.segment);
- }
- buildCounterGoogleCloudVideointelligenceV1p3beta1FaceSegment--;
-}
-
-buildUnnamed5218() {
+buildUnnamed5195() {
var o = new core.List<api.GoogleCloudVideointelligenceV1p3beta1Entity>();
o.add(buildGoogleCloudVideointelligenceV1p3beta1Entity());
o.add(buildGoogleCloudVideointelligenceV1p3beta1Entity());
return o;
}
-checkUnnamed5218(core.List<api.GoogleCloudVideointelligenceV1p3beta1Entity> o) {
+checkUnnamed5195(core.List<api.GoogleCloudVideointelligenceV1p3beta1Entity> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1p3beta1Entity(o[0]);
checkGoogleCloudVideointelligenceV1p3beta1Entity(o[1]);
}
-buildUnnamed5219() {
+buildUnnamed5196() {
var o = new core.List<api.GoogleCloudVideointelligenceV1p3beta1LabelFrame>();
o.add(buildGoogleCloudVideointelligenceV1p3beta1LabelFrame());
o.add(buildGoogleCloudVideointelligenceV1p3beta1LabelFrame());
return o;
}
-checkUnnamed5219(
+checkUnnamed5196(
core.List<api.GoogleCloudVideointelligenceV1p3beta1LabelFrame> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1p3beta1LabelFrame(o[0]);
checkGoogleCloudVideointelligenceV1p3beta1LabelFrame(o[1]);
}
-buildUnnamed5220() {
+buildUnnamed5197() {
var o =
new core.List<api.GoogleCloudVideointelligenceV1p3beta1LabelSegment>();
o.add(buildGoogleCloudVideointelligenceV1p3beta1LabelSegment());
@@ -6304,7 +5259,7 @@
return o;
}
-checkUnnamed5220(
+checkUnnamed5197(
core.List<api.GoogleCloudVideointelligenceV1p3beta1LabelSegment> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1p3beta1LabelSegment(o[0]);
@@ -6316,10 +5271,10 @@
var o = new api.GoogleCloudVideointelligenceV1p3beta1LabelAnnotation();
buildCounterGoogleCloudVideointelligenceV1p3beta1LabelAnnotation++;
if (buildCounterGoogleCloudVideointelligenceV1p3beta1LabelAnnotation < 3) {
- o.categoryEntities = buildUnnamed5218();
+ o.categoryEntities = buildUnnamed5195();
o.entity = buildGoogleCloudVideointelligenceV1p3beta1Entity();
- o.frames = buildUnnamed5219();
- o.segments = buildUnnamed5220();
+ o.frames = buildUnnamed5196();
+ o.segments = buildUnnamed5197();
o.version = "foo";
}
buildCounterGoogleCloudVideointelligenceV1p3beta1LabelAnnotation--;
@@ -6330,10 +5285,10 @@
api.GoogleCloudVideointelligenceV1p3beta1LabelAnnotation o) {
buildCounterGoogleCloudVideointelligenceV1p3beta1LabelAnnotation++;
if (buildCounterGoogleCloudVideointelligenceV1p3beta1LabelAnnotation < 3) {
- checkUnnamed5218(o.categoryEntities);
+ checkUnnamed5195(o.categoryEntities);
checkGoogleCloudVideointelligenceV1p3beta1Entity(o.entity);
- checkUnnamed5219(o.frames);
- checkUnnamed5220(o.segments);
+ checkUnnamed5196(o.frames);
+ checkUnnamed5197(o.segments);
unittest.expect(o.version, unittest.equals('foo'));
}
buildCounterGoogleCloudVideointelligenceV1p3beta1LabelAnnotation--;
@@ -6383,7 +5338,7 @@
buildCounterGoogleCloudVideointelligenceV1p3beta1LabelSegment--;
}
-buildUnnamed5221() {
+buildUnnamed5198() {
var o =
new core.List<api.GoogleCloudVideointelligenceV1p3beta1VideoSegment>();
o.add(buildGoogleCloudVideointelligenceV1p3beta1VideoSegment());
@@ -6391,21 +5346,21 @@
return o;
}
-checkUnnamed5221(
+checkUnnamed5198(
core.List<api.GoogleCloudVideointelligenceV1p3beta1VideoSegment> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1p3beta1VideoSegment(o[0]);
checkGoogleCloudVideointelligenceV1p3beta1VideoSegment(o[1]);
}
-buildUnnamed5222() {
+buildUnnamed5199() {
var o = new core.List<api.GoogleCloudVideointelligenceV1p3beta1Track>();
o.add(buildGoogleCloudVideointelligenceV1p3beta1Track());
o.add(buildGoogleCloudVideointelligenceV1p3beta1Track());
return o;
}
-checkUnnamed5222(core.List<api.GoogleCloudVideointelligenceV1p3beta1Track> o) {
+checkUnnamed5199(core.List<api.GoogleCloudVideointelligenceV1p3beta1Track> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1p3beta1Track(o[0]);
checkGoogleCloudVideointelligenceV1p3beta1Track(o[1]);
@@ -6421,8 +5376,8 @@
if (buildCounterGoogleCloudVideointelligenceV1p3beta1LogoRecognitionAnnotation <
3) {
o.entity = buildGoogleCloudVideointelligenceV1p3beta1Entity();
- o.segments = buildUnnamed5221();
- o.tracks = buildUnnamed5222();
+ o.segments = buildUnnamed5198();
+ o.tracks = buildUnnamed5199();
}
buildCounterGoogleCloudVideointelligenceV1p3beta1LogoRecognitionAnnotation--;
return o;
@@ -6434,8 +5389,8 @@
if (buildCounterGoogleCloudVideointelligenceV1p3beta1LogoRecognitionAnnotation <
3) {
checkGoogleCloudVideointelligenceV1p3beta1Entity(o.entity);
- checkUnnamed5221(o.segments);
- checkUnnamed5222(o.tracks);
+ checkUnnamed5198(o.segments);
+ checkUnnamed5199(o.tracks);
}
buildCounterGoogleCloudVideointelligenceV1p3beta1LogoRecognitionAnnotation--;
}
@@ -6469,7 +5424,7 @@
buildCounterGoogleCloudVideointelligenceV1p3beta1NormalizedBoundingBox--;
}
-buildUnnamed5223() {
+buildUnnamed5200() {
var o = new core
.List<api.GoogleCloudVideointelligenceV1p3beta1NormalizedVertex>();
o.add(buildGoogleCloudVideointelligenceV1p3beta1NormalizedVertex());
@@ -6477,7 +5432,7 @@
return o;
}
-checkUnnamed5223(
+checkUnnamed5200(
core.List<api.GoogleCloudVideointelligenceV1p3beta1NormalizedVertex> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1p3beta1NormalizedVertex(o[0]);
@@ -6491,7 +5446,7 @@
buildCounterGoogleCloudVideointelligenceV1p3beta1NormalizedBoundingPoly++;
if (buildCounterGoogleCloudVideointelligenceV1p3beta1NormalizedBoundingPoly <
3) {
- o.vertices = buildUnnamed5223();
+ o.vertices = buildUnnamed5200();
}
buildCounterGoogleCloudVideointelligenceV1p3beta1NormalizedBoundingPoly--;
return o;
@@ -6502,7 +5457,7 @@
buildCounterGoogleCloudVideointelligenceV1p3beta1NormalizedBoundingPoly++;
if (buildCounterGoogleCloudVideointelligenceV1p3beta1NormalizedBoundingPoly <
3) {
- checkUnnamed5223(o.vertices);
+ checkUnnamed5200(o.vertices);
}
buildCounterGoogleCloudVideointelligenceV1p3beta1NormalizedBoundingPoly--;
}
@@ -6529,7 +5484,7 @@
buildCounterGoogleCloudVideointelligenceV1p3beta1NormalizedVertex--;
}
-buildUnnamed5224() {
+buildUnnamed5201() {
var o = new core
.List<api.GoogleCloudVideointelligenceV1p3beta1ObjectTrackingFrame>();
o.add(buildGoogleCloudVideointelligenceV1p3beta1ObjectTrackingFrame());
@@ -6537,7 +5492,7 @@
return o;
}
-checkUnnamed5224(
+checkUnnamed5201(
core.List<api.GoogleCloudVideointelligenceV1p3beta1ObjectTrackingFrame> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1p3beta1ObjectTrackingFrame(o[0]);
@@ -6555,7 +5510,7 @@
3) {
o.confidence = 42.0;
o.entity = buildGoogleCloudVideointelligenceV1p3beta1Entity();
- o.frames = buildUnnamed5224();
+ o.frames = buildUnnamed5201();
o.segment = buildGoogleCloudVideointelligenceV1p3beta1VideoSegment();
o.trackId = "foo";
o.version = "foo";
@@ -6571,7 +5526,7 @@
3) {
unittest.expect(o.confidence, unittest.equals(42.0));
checkGoogleCloudVideointelligenceV1p3beta1Entity(o.entity);
- checkUnnamed5224(o.frames);
+ checkUnnamed5201(o.frames);
checkGoogleCloudVideointelligenceV1p3beta1VideoSegment(o.segment);
unittest.expect(o.trackId, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals('foo'));
@@ -6606,14 +5561,14 @@
buildCounterGoogleCloudVideointelligenceV1p3beta1ObjectTrackingFrame--;
}
-buildUnnamed5225() {
+buildUnnamed5202() {
var o = new core.List<api.GoogleCloudVideointelligenceV1p3beta1Track>();
o.add(buildGoogleCloudVideointelligenceV1p3beta1Track());
o.add(buildGoogleCloudVideointelligenceV1p3beta1Track());
return o;
}
-checkUnnamed5225(core.List<api.GoogleCloudVideointelligenceV1p3beta1Track> o) {
+checkUnnamed5202(core.List<api.GoogleCloudVideointelligenceV1p3beta1Track> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1p3beta1Track(o[0]);
checkGoogleCloudVideointelligenceV1p3beta1Track(o[1]);
@@ -6628,7 +5583,7 @@
buildCounterGoogleCloudVideointelligenceV1p3beta1PersonDetectionAnnotation++;
if (buildCounterGoogleCloudVideointelligenceV1p3beta1PersonDetectionAnnotation <
3) {
- o.tracks = buildUnnamed5225();
+ o.tracks = buildUnnamed5202();
o.version = "foo";
}
buildCounterGoogleCloudVideointelligenceV1p3beta1PersonDetectionAnnotation--;
@@ -6640,7 +5595,7 @@
buildCounterGoogleCloudVideointelligenceV1p3beta1PersonDetectionAnnotation++;
if (buildCounterGoogleCloudVideointelligenceV1p3beta1PersonDetectionAnnotation <
3) {
- checkUnnamed5225(o.tracks);
+ checkUnnamed5202(o.tracks);
unittest.expect(o.version, unittest.equals('foo'));
}
buildCounterGoogleCloudVideointelligenceV1p3beta1PersonDetectionAnnotation--;
@@ -6671,14 +5626,14 @@
buildCounterGoogleCloudVideointelligenceV1p3beta1RecognizedCelebrity--;
}
-buildUnnamed5226() {
+buildUnnamed5203() {
var o = new core.List<api.GoogleCloudVideointelligenceV1p3beta1WordInfo>();
o.add(buildGoogleCloudVideointelligenceV1p3beta1WordInfo());
o.add(buildGoogleCloudVideointelligenceV1p3beta1WordInfo());
return o;
}
-checkUnnamed5226(
+checkUnnamed5203(
core.List<api.GoogleCloudVideointelligenceV1p3beta1WordInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1p3beta1WordInfo(o[0]);
@@ -6696,7 +5651,7 @@
3) {
o.confidence = 42.0;
o.transcript = "foo";
- o.words = buildUnnamed5226();
+ o.words = buildUnnamed5203();
}
buildCounterGoogleCloudVideointelligenceV1p3beta1SpeechRecognitionAlternative--;
return o;
@@ -6709,12 +5664,12 @@
3) {
unittest.expect(o.confidence, unittest.equals(42.0));
unittest.expect(o.transcript, unittest.equals('foo'));
- checkUnnamed5226(o.words);
+ checkUnnamed5203(o.words);
}
buildCounterGoogleCloudVideointelligenceV1p3beta1SpeechRecognitionAlternative--;
}
-buildUnnamed5227() {
+buildUnnamed5204() {
var o = new core.List<
api.GoogleCloudVideointelligenceV1p3beta1SpeechRecognitionAlternative>();
o.add(
@@ -6724,7 +5679,7 @@
return o;
}
-checkUnnamed5227(
+checkUnnamed5204(
core.List<
api.GoogleCloudVideointelligenceV1p3beta1SpeechRecognitionAlternative>
o) {
@@ -6740,7 +5695,7 @@
buildCounterGoogleCloudVideointelligenceV1p3beta1SpeechTranscription++;
if (buildCounterGoogleCloudVideointelligenceV1p3beta1SpeechTranscription <
3) {
- o.alternatives = buildUnnamed5227();
+ o.alternatives = buildUnnamed5204();
o.languageCode = "foo";
}
buildCounterGoogleCloudVideointelligenceV1p3beta1SpeechTranscription--;
@@ -6752,7 +5707,7 @@
buildCounterGoogleCloudVideointelligenceV1p3beta1SpeechTranscription++;
if (buildCounterGoogleCloudVideointelligenceV1p3beta1SpeechTranscription <
3) {
- checkUnnamed5227(o.alternatives);
+ checkUnnamed5204(o.alternatives);
unittest.expect(o.languageCode, unittest.equals('foo'));
}
buildCounterGoogleCloudVideointelligenceV1p3beta1SpeechTranscription--;
@@ -6789,7 +5744,7 @@
buildCounterGoogleCloudVideointelligenceV1p3beta1StreamingAnnotateVideoResponse--;
}
-buildUnnamed5228() {
+buildUnnamed5205() {
var o =
new core.List<api.GoogleCloudVideointelligenceV1p3beta1LabelAnnotation>();
o.add(buildGoogleCloudVideointelligenceV1p3beta1LabelAnnotation());
@@ -6797,14 +5752,14 @@
return o;
}
-checkUnnamed5228(
+checkUnnamed5205(
core.List<api.GoogleCloudVideointelligenceV1p3beta1LabelAnnotation> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1p3beta1LabelAnnotation(o[0]);
checkGoogleCloudVideointelligenceV1p3beta1LabelAnnotation(o[1]);
}
-buildUnnamed5229() {
+buildUnnamed5206() {
var o = new core.List<
api.GoogleCloudVideointelligenceV1p3beta1ObjectTrackingAnnotation>();
o.add(buildGoogleCloudVideointelligenceV1p3beta1ObjectTrackingAnnotation());
@@ -6812,7 +5767,7 @@
return o;
}
-checkUnnamed5229(
+checkUnnamed5206(
core.List<api.GoogleCloudVideointelligenceV1p3beta1ObjectTrackingAnnotation>
o) {
unittest.expect(o, unittest.hasLength(2));
@@ -6820,7 +5775,7 @@
checkGoogleCloudVideointelligenceV1p3beta1ObjectTrackingAnnotation(o[1]);
}
-buildUnnamed5230() {
+buildUnnamed5207() {
var o =
new core.List<api.GoogleCloudVideointelligenceV1p3beta1VideoSegment>();
o.add(buildGoogleCloudVideointelligenceV1p3beta1VideoSegment());
@@ -6828,7 +5783,7 @@
return o;
}
-checkUnnamed5230(
+checkUnnamed5207(
core.List<api.GoogleCloudVideointelligenceV1p3beta1VideoSegment> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1p3beta1VideoSegment(o[0]);
@@ -6846,10 +5801,9 @@
3) {
o.explicitAnnotation =
buildGoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation();
- o.frameTimestamp = "foo";
- o.labelAnnotations = buildUnnamed5228();
- o.objectAnnotations = buildUnnamed5229();
- o.shotAnnotations = buildUnnamed5230();
+ o.labelAnnotations = buildUnnamed5205();
+ o.objectAnnotations = buildUnnamed5206();
+ o.shotAnnotations = buildUnnamed5207();
}
buildCounterGoogleCloudVideointelligenceV1p3beta1StreamingVideoAnnotationResults--;
return o;
@@ -6863,22 +5817,21 @@
3) {
checkGoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation(
o.explicitAnnotation);
- unittest.expect(o.frameTimestamp, unittest.equals('foo'));
- checkUnnamed5228(o.labelAnnotations);
- checkUnnamed5229(o.objectAnnotations);
- checkUnnamed5230(o.shotAnnotations);
+ checkUnnamed5205(o.labelAnnotations);
+ checkUnnamed5206(o.objectAnnotations);
+ checkUnnamed5207(o.shotAnnotations);
}
buildCounterGoogleCloudVideointelligenceV1p3beta1StreamingVideoAnnotationResults--;
}
-buildUnnamed5231() {
+buildUnnamed5208() {
var o = new core.List<api.GoogleCloudVideointelligenceV1p3beta1TextSegment>();
o.add(buildGoogleCloudVideointelligenceV1p3beta1TextSegment());
o.add(buildGoogleCloudVideointelligenceV1p3beta1TextSegment());
return o;
}
-checkUnnamed5231(
+checkUnnamed5208(
core.List<api.GoogleCloudVideointelligenceV1p3beta1TextSegment> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1p3beta1TextSegment(o[0]);
@@ -6890,7 +5843,7 @@
var o = new api.GoogleCloudVideointelligenceV1p3beta1TextAnnotation();
buildCounterGoogleCloudVideointelligenceV1p3beta1TextAnnotation++;
if (buildCounterGoogleCloudVideointelligenceV1p3beta1TextAnnotation < 3) {
- o.segments = buildUnnamed5231();
+ o.segments = buildUnnamed5208();
o.text = "foo";
o.version = "foo";
}
@@ -6902,7 +5855,7 @@
api.GoogleCloudVideointelligenceV1p3beta1TextAnnotation o) {
buildCounterGoogleCloudVideointelligenceV1p3beta1TextAnnotation++;
if (buildCounterGoogleCloudVideointelligenceV1p3beta1TextAnnotation < 3) {
- checkUnnamed5231(o.segments);
+ checkUnnamed5208(o.segments);
unittest.expect(o.text, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals('foo'));
}
@@ -6933,14 +5886,14 @@
buildCounterGoogleCloudVideointelligenceV1p3beta1TextFrame--;
}
-buildUnnamed5232() {
+buildUnnamed5209() {
var o = new core.List<api.GoogleCloudVideointelligenceV1p3beta1TextFrame>();
o.add(buildGoogleCloudVideointelligenceV1p3beta1TextFrame());
o.add(buildGoogleCloudVideointelligenceV1p3beta1TextFrame());
return o;
}
-checkUnnamed5232(
+checkUnnamed5209(
core.List<api.GoogleCloudVideointelligenceV1p3beta1TextFrame> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1p3beta1TextFrame(o[0]);
@@ -6953,7 +5906,7 @@
buildCounterGoogleCloudVideointelligenceV1p3beta1TextSegment++;
if (buildCounterGoogleCloudVideointelligenceV1p3beta1TextSegment < 3) {
o.confidence = 42.0;
- o.frames = buildUnnamed5232();
+ o.frames = buildUnnamed5209();
o.segment = buildGoogleCloudVideointelligenceV1p3beta1VideoSegment();
}
buildCounterGoogleCloudVideointelligenceV1p3beta1TextSegment--;
@@ -6965,13 +5918,13 @@
buildCounterGoogleCloudVideointelligenceV1p3beta1TextSegment++;
if (buildCounterGoogleCloudVideointelligenceV1p3beta1TextSegment < 3) {
unittest.expect(o.confidence, unittest.equals(42.0));
- checkUnnamed5232(o.frames);
+ checkUnnamed5209(o.frames);
checkGoogleCloudVideointelligenceV1p3beta1VideoSegment(o.segment);
}
buildCounterGoogleCloudVideointelligenceV1p3beta1TextSegment--;
}
-buildUnnamed5233() {
+buildUnnamed5210() {
var o = new core
.List<api.GoogleCloudVideointelligenceV1p3beta1DetectedAttribute>();
o.add(buildGoogleCloudVideointelligenceV1p3beta1DetectedAttribute());
@@ -6979,14 +5932,14 @@
return o;
}
-checkUnnamed5233(
+checkUnnamed5210(
core.List<api.GoogleCloudVideointelligenceV1p3beta1DetectedAttribute> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1p3beta1DetectedAttribute(o[0]);
checkGoogleCloudVideointelligenceV1p3beta1DetectedAttribute(o[1]);
}
-buildUnnamed5234() {
+buildUnnamed5211() {
var o = new core
.List<api.GoogleCloudVideointelligenceV1p3beta1DetectedLandmark>();
o.add(buildGoogleCloudVideointelligenceV1p3beta1DetectedLandmark());
@@ -6994,7 +5947,7 @@
return o;
}
-checkUnnamed5234(
+checkUnnamed5211(
core.List<api.GoogleCloudVideointelligenceV1p3beta1DetectedLandmark> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1p3beta1DetectedLandmark(o[0]);
@@ -7006,8 +5959,8 @@
var o = new api.GoogleCloudVideointelligenceV1p3beta1TimestampedObject();
buildCounterGoogleCloudVideointelligenceV1p3beta1TimestampedObject++;
if (buildCounterGoogleCloudVideointelligenceV1p3beta1TimestampedObject < 3) {
- o.attributes = buildUnnamed5233();
- o.landmarks = buildUnnamed5234();
+ o.attributes = buildUnnamed5210();
+ o.landmarks = buildUnnamed5211();
o.normalizedBoundingBox =
buildGoogleCloudVideointelligenceV1p3beta1NormalizedBoundingBox();
o.timeOffset = "foo";
@@ -7020,8 +5973,8 @@
api.GoogleCloudVideointelligenceV1p3beta1TimestampedObject o) {
buildCounterGoogleCloudVideointelligenceV1p3beta1TimestampedObject++;
if (buildCounterGoogleCloudVideointelligenceV1p3beta1TimestampedObject < 3) {
- checkUnnamed5233(o.attributes);
- checkUnnamed5234(o.landmarks);
+ checkUnnamed5210(o.attributes);
+ checkUnnamed5211(o.landmarks);
checkGoogleCloudVideointelligenceV1p3beta1NormalizedBoundingBox(
o.normalizedBoundingBox);
unittest.expect(o.timeOffset, unittest.equals('foo'));
@@ -7029,7 +5982,7 @@
buildCounterGoogleCloudVideointelligenceV1p3beta1TimestampedObject--;
}
-buildUnnamed5235() {
+buildUnnamed5212() {
var o = new core
.List<api.GoogleCloudVideointelligenceV1p3beta1DetectedAttribute>();
o.add(buildGoogleCloudVideointelligenceV1p3beta1DetectedAttribute());
@@ -7037,14 +5990,14 @@
return o;
}
-checkUnnamed5235(
+checkUnnamed5212(
core.List<api.GoogleCloudVideointelligenceV1p3beta1DetectedAttribute> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1p3beta1DetectedAttribute(o[0]);
checkGoogleCloudVideointelligenceV1p3beta1DetectedAttribute(o[1]);
}
-buildUnnamed5236() {
+buildUnnamed5213() {
var o = new core
.List<api.GoogleCloudVideointelligenceV1p3beta1TimestampedObject>();
o.add(buildGoogleCloudVideointelligenceV1p3beta1TimestampedObject());
@@ -7052,7 +6005,7 @@
return o;
}
-checkUnnamed5236(
+checkUnnamed5213(
core.List<api.GoogleCloudVideointelligenceV1p3beta1TimestampedObject> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1p3beta1TimestampedObject(o[0]);
@@ -7064,10 +6017,10 @@
var o = new api.GoogleCloudVideointelligenceV1p3beta1Track();
buildCounterGoogleCloudVideointelligenceV1p3beta1Track++;
if (buildCounterGoogleCloudVideointelligenceV1p3beta1Track < 3) {
- o.attributes = buildUnnamed5235();
+ o.attributes = buildUnnamed5212();
o.confidence = 42.0;
o.segment = buildGoogleCloudVideointelligenceV1p3beta1VideoSegment();
- o.timestampedObjects = buildUnnamed5236();
+ o.timestampedObjects = buildUnnamed5213();
}
buildCounterGoogleCloudVideointelligenceV1p3beta1Track--;
return o;
@@ -7077,10 +6030,10 @@
api.GoogleCloudVideointelligenceV1p3beta1Track o) {
buildCounterGoogleCloudVideointelligenceV1p3beta1Track++;
if (buildCounterGoogleCloudVideointelligenceV1p3beta1Track < 3) {
- checkUnnamed5235(o.attributes);
+ checkUnnamed5212(o.attributes);
unittest.expect(o.confidence, unittest.equals(42.0));
checkGoogleCloudVideointelligenceV1p3beta1VideoSegment(o.segment);
- checkUnnamed5236(o.timestampedObjects);
+ checkUnnamed5213(o.timestampedObjects);
}
buildCounterGoogleCloudVideointelligenceV1p3beta1Track--;
}
@@ -7120,22 +6073,7 @@
buildCounterGoogleCloudVideointelligenceV1p3beta1VideoAnnotationProgress--;
}
-buildUnnamed5237() {
- var o =
- new core.List<api.GoogleCloudVideointelligenceV1p3beta1FaceAnnotation>();
- o.add(buildGoogleCloudVideointelligenceV1p3beta1FaceAnnotation());
- o.add(buildGoogleCloudVideointelligenceV1p3beta1FaceAnnotation());
- return o;
-}
-
-checkUnnamed5237(
- core.List<api.GoogleCloudVideointelligenceV1p3beta1FaceAnnotation> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkGoogleCloudVideointelligenceV1p3beta1FaceAnnotation(o[0]);
- checkGoogleCloudVideointelligenceV1p3beta1FaceAnnotation(o[1]);
-}
-
-buildUnnamed5238() {
+buildUnnamed5214() {
var o = new core
.List<api.GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation>();
o.add(buildGoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation());
@@ -7143,7 +6081,7 @@
return o;
}
-checkUnnamed5238(
+checkUnnamed5214(
core.List<api.GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation>
o) {
unittest.expect(o, unittest.hasLength(2));
@@ -7151,7 +6089,7 @@
checkGoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation(o[1]);
}
-buildUnnamed5239() {
+buildUnnamed5215() {
var o =
new core.List<api.GoogleCloudVideointelligenceV1p3beta1LabelAnnotation>();
o.add(buildGoogleCloudVideointelligenceV1p3beta1LabelAnnotation());
@@ -7159,14 +6097,14 @@
return o;
}
-checkUnnamed5239(
+checkUnnamed5215(
core.List<api.GoogleCloudVideointelligenceV1p3beta1LabelAnnotation> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1p3beta1LabelAnnotation(o[0]);
checkGoogleCloudVideointelligenceV1p3beta1LabelAnnotation(o[1]);
}
-buildUnnamed5240() {
+buildUnnamed5216() {
var o = new core.List<
api.GoogleCloudVideointelligenceV1p3beta1LogoRecognitionAnnotation>();
o.add(buildGoogleCloudVideointelligenceV1p3beta1LogoRecognitionAnnotation());
@@ -7174,7 +6112,7 @@
return o;
}
-checkUnnamed5240(
+checkUnnamed5216(
core.List<
api.GoogleCloudVideointelligenceV1p3beta1LogoRecognitionAnnotation>
o) {
@@ -7183,7 +6121,7 @@
checkGoogleCloudVideointelligenceV1p3beta1LogoRecognitionAnnotation(o[1]);
}
-buildUnnamed5241() {
+buildUnnamed5217() {
var o = new core.List<
api.GoogleCloudVideointelligenceV1p3beta1ObjectTrackingAnnotation>();
o.add(buildGoogleCloudVideointelligenceV1p3beta1ObjectTrackingAnnotation());
@@ -7191,7 +6129,7 @@
return o;
}
-checkUnnamed5241(
+checkUnnamed5217(
core.List<api.GoogleCloudVideointelligenceV1p3beta1ObjectTrackingAnnotation>
o) {
unittest.expect(o, unittest.hasLength(2));
@@ -7199,7 +6137,7 @@
checkGoogleCloudVideointelligenceV1p3beta1ObjectTrackingAnnotation(o[1]);
}
-buildUnnamed5242() {
+buildUnnamed5218() {
var o = new core.List<
api.GoogleCloudVideointelligenceV1p3beta1PersonDetectionAnnotation>();
o.add(buildGoogleCloudVideointelligenceV1p3beta1PersonDetectionAnnotation());
@@ -7207,7 +6145,7 @@
return o;
}
-checkUnnamed5242(
+checkUnnamed5218(
core.List<
api.GoogleCloudVideointelligenceV1p3beta1PersonDetectionAnnotation>
o) {
@@ -7216,7 +6154,7 @@
checkGoogleCloudVideointelligenceV1p3beta1PersonDetectionAnnotation(o[1]);
}
-buildUnnamed5243() {
+buildUnnamed5219() {
var o =
new core.List<api.GoogleCloudVideointelligenceV1p3beta1LabelAnnotation>();
o.add(buildGoogleCloudVideointelligenceV1p3beta1LabelAnnotation());
@@ -7224,14 +6162,14 @@
return o;
}
-checkUnnamed5243(
+checkUnnamed5219(
core.List<api.GoogleCloudVideointelligenceV1p3beta1LabelAnnotation> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1p3beta1LabelAnnotation(o[0]);
checkGoogleCloudVideointelligenceV1p3beta1LabelAnnotation(o[1]);
}
-buildUnnamed5244() {
+buildUnnamed5220() {
var o =
new core.List<api.GoogleCloudVideointelligenceV1p3beta1LabelAnnotation>();
o.add(buildGoogleCloudVideointelligenceV1p3beta1LabelAnnotation());
@@ -7239,14 +6177,14 @@
return o;
}
-checkUnnamed5244(
+checkUnnamed5220(
core.List<api.GoogleCloudVideointelligenceV1p3beta1LabelAnnotation> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1p3beta1LabelAnnotation(o[0]);
checkGoogleCloudVideointelligenceV1p3beta1LabelAnnotation(o[1]);
}
-buildUnnamed5245() {
+buildUnnamed5221() {
var o =
new core.List<api.GoogleCloudVideointelligenceV1p3beta1VideoSegment>();
o.add(buildGoogleCloudVideointelligenceV1p3beta1VideoSegment());
@@ -7254,14 +6192,14 @@
return o;
}
-checkUnnamed5245(
+checkUnnamed5221(
core.List<api.GoogleCloudVideointelligenceV1p3beta1VideoSegment> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1p3beta1VideoSegment(o[0]);
checkGoogleCloudVideointelligenceV1p3beta1VideoSegment(o[1]);
}
-buildUnnamed5246() {
+buildUnnamed5222() {
var o =
new core.List<api.GoogleCloudVideointelligenceV1p3beta1LabelAnnotation>();
o.add(buildGoogleCloudVideointelligenceV1p3beta1LabelAnnotation());
@@ -7269,14 +6207,14 @@
return o;
}
-checkUnnamed5246(
+checkUnnamed5222(
core.List<api.GoogleCloudVideointelligenceV1p3beta1LabelAnnotation> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1p3beta1LabelAnnotation(o[0]);
checkGoogleCloudVideointelligenceV1p3beta1LabelAnnotation(o[1]);
}
-buildUnnamed5247() {
+buildUnnamed5223() {
var o =
new core.List<api.GoogleCloudVideointelligenceV1p3beta1LabelAnnotation>();
o.add(buildGoogleCloudVideointelligenceV1p3beta1LabelAnnotation());
@@ -7284,14 +6222,14 @@
return o;
}
-checkUnnamed5247(
+checkUnnamed5223(
core.List<api.GoogleCloudVideointelligenceV1p3beta1LabelAnnotation> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1p3beta1LabelAnnotation(o[0]);
checkGoogleCloudVideointelligenceV1p3beta1LabelAnnotation(o[1]);
}
-buildUnnamed5248() {
+buildUnnamed5224() {
var o = new core
.List<api.GoogleCloudVideointelligenceV1p3beta1SpeechTranscription>();
o.add(buildGoogleCloudVideointelligenceV1p3beta1SpeechTranscription());
@@ -7299,14 +6237,14 @@
return o;
}
-checkUnnamed5248(
+checkUnnamed5224(
core.List<api.GoogleCloudVideointelligenceV1p3beta1SpeechTranscription> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1p3beta1SpeechTranscription(o[0]);
checkGoogleCloudVideointelligenceV1p3beta1SpeechTranscription(o[1]);
}
-buildUnnamed5249() {
+buildUnnamed5225() {
var o =
new core.List<api.GoogleCloudVideointelligenceV1p3beta1TextAnnotation>();
o.add(buildGoogleCloudVideointelligenceV1p3beta1TextAnnotation());
@@ -7314,7 +6252,7 @@
return o;
}
-checkUnnamed5249(
+checkUnnamed5225(
core.List<api.GoogleCloudVideointelligenceV1p3beta1TextAnnotation> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVideointelligenceV1p3beta1TextAnnotation(o[0]);
@@ -7333,21 +6271,20 @@
o.error = buildGoogleRpcStatus();
o.explicitAnnotation =
buildGoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation();
- o.faceAnnotations = buildUnnamed5237();
- o.faceDetectionAnnotations = buildUnnamed5238();
- o.frameLabelAnnotations = buildUnnamed5239();
+ o.faceDetectionAnnotations = buildUnnamed5214();
+ o.frameLabelAnnotations = buildUnnamed5215();
o.inputUri = "foo";
- o.logoRecognitionAnnotations = buildUnnamed5240();
- o.objectAnnotations = buildUnnamed5241();
- o.personDetectionAnnotations = buildUnnamed5242();
+ o.logoRecognitionAnnotations = buildUnnamed5216();
+ o.objectAnnotations = buildUnnamed5217();
+ o.personDetectionAnnotations = buildUnnamed5218();
o.segment = buildGoogleCloudVideointelligenceV1p3beta1VideoSegment();
- o.segmentLabelAnnotations = buildUnnamed5243();
- o.segmentPresenceLabelAnnotations = buildUnnamed5244();
- o.shotAnnotations = buildUnnamed5245();
- o.shotLabelAnnotations = buildUnnamed5246();
- o.shotPresenceLabelAnnotations = buildUnnamed5247();
- o.speechTranscriptions = buildUnnamed5248();
- o.textAnnotations = buildUnnamed5249();
+ o.segmentLabelAnnotations = buildUnnamed5219();
+ o.segmentPresenceLabelAnnotations = buildUnnamed5220();
+ o.shotAnnotations = buildUnnamed5221();
+ o.shotLabelAnnotations = buildUnnamed5222();
+ o.shotPresenceLabelAnnotations = buildUnnamed5223();
+ o.speechTranscriptions = buildUnnamed5224();
+ o.textAnnotations = buildUnnamed5225();
}
buildCounterGoogleCloudVideointelligenceV1p3beta1VideoAnnotationResults--;
return o;
@@ -7363,21 +6300,20 @@
checkGoogleRpcStatus(o.error);
checkGoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation(
o.explicitAnnotation);
- checkUnnamed5237(o.faceAnnotations);
- checkUnnamed5238(o.faceDetectionAnnotations);
- checkUnnamed5239(o.frameLabelAnnotations);
+ checkUnnamed5214(o.faceDetectionAnnotations);
+ checkUnnamed5215(o.frameLabelAnnotations);
unittest.expect(o.inputUri, unittest.equals('foo'));
- checkUnnamed5240(o.logoRecognitionAnnotations);
- checkUnnamed5241(o.objectAnnotations);
- checkUnnamed5242(o.personDetectionAnnotations);
+ checkUnnamed5216(o.logoRecognitionAnnotations);
+ checkUnnamed5217(o.objectAnnotations);
+ checkUnnamed5218(o.personDetectionAnnotations);
checkGoogleCloudVideointelligenceV1p3beta1VideoSegment(o.segment);
- checkUnnamed5243(o.segmentLabelAnnotations);
- checkUnnamed5244(o.segmentPresenceLabelAnnotations);
- checkUnnamed5245(o.shotAnnotations);
- checkUnnamed5246(o.shotLabelAnnotations);
- checkUnnamed5247(o.shotPresenceLabelAnnotations);
- checkUnnamed5248(o.speechTranscriptions);
- checkUnnamed5249(o.textAnnotations);
+ checkUnnamed5219(o.segmentLabelAnnotations);
+ checkUnnamed5220(o.segmentPresenceLabelAnnotations);
+ checkUnnamed5221(o.shotAnnotations);
+ checkUnnamed5222(o.shotLabelAnnotations);
+ checkUnnamed5223(o.shotPresenceLabelAnnotations);
+ checkUnnamed5224(o.speechTranscriptions);
+ checkUnnamed5225(o.textAnnotations);
}
buildCounterGoogleCloudVideointelligenceV1p3beta1VideoAnnotationResults--;
}
@@ -7448,14 +6384,14 @@
buildCounterGoogleLongrunningCancelOperationRequest--;
}
-buildUnnamed5250() {
+buildUnnamed5226() {
var o = new core.List<api.GoogleLongrunningOperation>();
o.add(buildGoogleLongrunningOperation());
o.add(buildGoogleLongrunningOperation());
return o;
}
-checkUnnamed5250(core.List<api.GoogleLongrunningOperation> o) {
+checkUnnamed5226(core.List<api.GoogleLongrunningOperation> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleLongrunningOperation(o[0]);
checkGoogleLongrunningOperation(o[1]);
@@ -7467,7 +6403,7 @@
buildCounterGoogleLongrunningListOperationsResponse++;
if (buildCounterGoogleLongrunningListOperationsResponse < 3) {
o.nextPageToken = "foo";
- o.operations = buildUnnamed5250();
+ o.operations = buildUnnamed5226();
}
buildCounterGoogleLongrunningListOperationsResponse--;
return o;
@@ -7478,12 +6414,12 @@
buildCounterGoogleLongrunningListOperationsResponse++;
if (buildCounterGoogleLongrunningListOperationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed5250(o.operations);
+ checkUnnamed5226(o.operations);
}
buildCounterGoogleLongrunningListOperationsResponse--;
}
-buildUnnamed5251() {
+buildUnnamed5227() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -7498,7 +6434,7 @@
return o;
}
-checkUnnamed5251(core.Map<core.String, core.Object> o) {
+checkUnnamed5227(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o["x"]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -7512,7 +6448,7 @@
unittest.expect(casted2["string"], unittest.equals('foo'));
}
-buildUnnamed5252() {
+buildUnnamed5228() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -7527,7 +6463,7 @@
return o;
}
-checkUnnamed5252(core.Map<core.String, core.Object> o) {
+checkUnnamed5228(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted3 = (o["x"]) as core.Map;
unittest.expect(casted3, unittest.hasLength(3));
@@ -7548,9 +6484,9 @@
if (buildCounterGoogleLongrunningOperation < 3) {
o.done = true;
o.error = buildGoogleRpcStatus();
- o.metadata = buildUnnamed5251();
+ o.metadata = buildUnnamed5227();
o.name = "foo";
- o.response = buildUnnamed5252();
+ o.response = buildUnnamed5228();
}
buildCounterGoogleLongrunningOperation--;
return o;
@@ -7561,9 +6497,9 @@
if (buildCounterGoogleLongrunningOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkGoogleRpcStatus(o.error);
- checkUnnamed5251(o.metadata);
+ checkUnnamed5227(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed5252(o.response);
+ checkUnnamed5228(o.response);
}
buildCounterGoogleLongrunningOperation--;
}
@@ -7583,7 +6519,7 @@
buildCounterGoogleProtobufEmpty--;
}
-buildUnnamed5253() {
+buildUnnamed5229() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -7598,7 +6534,7 @@
return o;
}
-checkUnnamed5253(core.Map<core.String, core.Object> o) {
+checkUnnamed5229(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted5 = (o["x"]) as core.Map;
unittest.expect(casted5, unittest.hasLength(3));
@@ -7612,17 +6548,17 @@
unittest.expect(casted6["string"], unittest.equals('foo'));
}
-buildUnnamed5254() {
+buildUnnamed5230() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed5253());
- o.add(buildUnnamed5253());
+ o.add(buildUnnamed5229());
+ o.add(buildUnnamed5229());
return o;
}
-checkUnnamed5254(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed5230(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed5253(o[0]);
- checkUnnamed5253(o[1]);
+ checkUnnamed5229(o[0]);
+ checkUnnamed5229(o[1]);
}
core.int buildCounterGoogleRpcStatus = 0;
@@ -7631,7 +6567,7 @@
buildCounterGoogleRpcStatus++;
if (buildCounterGoogleRpcStatus < 3) {
o.code = 42;
- o.details = buildUnnamed5254();
+ o.details = buildUnnamed5230();
o.message = "foo";
}
buildCounterGoogleRpcStatus--;
@@ -7642,7 +6578,7 @@
buildCounterGoogleRpcStatus++;
if (buildCounterGoogleRpcStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed5254(o.details);
+ checkUnnamed5230(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterGoogleRpcStatus--;
@@ -7746,55 +6682,6 @@
});
});
- unittest.group("obj-schema-GoogleCloudVideointelligenceV1FaceAnnotation", () {
- unittest.test("to-json--from-json", () {
- var o = buildGoogleCloudVideointelligenceV1FaceAnnotation();
- var od = new api.GoogleCloudVideointelligenceV1FaceAnnotation.fromJson(
- o.toJson());
- checkGoogleCloudVideointelligenceV1FaceAnnotation(od);
- });
- });
-
- unittest.group(
- "obj-schema-GoogleCloudVideointelligenceV1FaceDetectionAnnotation", () {
- unittest.test("to-json--from-json", () {
- var o = buildGoogleCloudVideointelligenceV1FaceDetectionAnnotation();
- var od = new api
- .GoogleCloudVideointelligenceV1FaceDetectionAnnotation.fromJson(
- o.toJson());
- checkGoogleCloudVideointelligenceV1FaceDetectionAnnotation(od);
- });
- });
-
- unittest.group("obj-schema-GoogleCloudVideointelligenceV1FaceDetectionConfig",
- () {
- unittest.test("to-json--from-json", () {
- var o = buildGoogleCloudVideointelligenceV1FaceDetectionConfig();
- var od =
- new api.GoogleCloudVideointelligenceV1FaceDetectionConfig.fromJson(
- o.toJson());
- checkGoogleCloudVideointelligenceV1FaceDetectionConfig(od);
- });
- });
-
- unittest.group("obj-schema-GoogleCloudVideointelligenceV1FaceFrame", () {
- unittest.test("to-json--from-json", () {
- var o = buildGoogleCloudVideointelligenceV1FaceFrame();
- var od =
- new api.GoogleCloudVideointelligenceV1FaceFrame.fromJson(o.toJson());
- checkGoogleCloudVideointelligenceV1FaceFrame(od);
- });
- });
-
- unittest.group("obj-schema-GoogleCloudVideointelligenceV1FaceSegment", () {
- unittest.test("to-json--from-json", () {
- var o = buildGoogleCloudVideointelligenceV1FaceSegment();
- var od = new api.GoogleCloudVideointelligenceV1FaceSegment.fromJson(
- o.toJson());
- checkGoogleCloudVideointelligenceV1FaceSegment(od);
- });
- });
-
unittest.group("obj-schema-GoogleCloudVideointelligenceV1LabelAnnotation",
() {
unittest.test("to-json--from-json", () {
@@ -7911,28 +6798,6 @@
});
unittest.group(
- "obj-schema-GoogleCloudVideointelligenceV1PersonDetectionAnnotation", () {
- unittest.test("to-json--from-json", () {
- var o = buildGoogleCloudVideointelligenceV1PersonDetectionAnnotation();
- var od = new api
- .GoogleCloudVideointelligenceV1PersonDetectionAnnotation.fromJson(
- o.toJson());
- checkGoogleCloudVideointelligenceV1PersonDetectionAnnotation(od);
- });
- });
-
- unittest.group(
- "obj-schema-GoogleCloudVideointelligenceV1PersonDetectionConfig", () {
- unittest.test("to-json--from-json", () {
- var o = buildGoogleCloudVideointelligenceV1PersonDetectionConfig();
- var od =
- new api.GoogleCloudVideointelligenceV1PersonDetectionConfig.fromJson(
- o.toJson());
- checkGoogleCloudVideointelligenceV1PersonDetectionConfig(od);
- });
- });
-
- unittest.group(
"obj-schema-GoogleCloudVideointelligenceV1ShotChangeDetectionConfig", () {
unittest.test("to-json--from-json", () {
var o = buildGoogleCloudVideointelligenceV1ShotChangeDetectionConfig();
@@ -8170,48 +7035,6 @@
});
});
- unittest.group("obj-schema-GoogleCloudVideointelligenceV1beta2FaceAnnotation",
- () {
- unittest.test("to-json--from-json", () {
- var o = buildGoogleCloudVideointelligenceV1beta2FaceAnnotation();
- var od =
- new api.GoogleCloudVideointelligenceV1beta2FaceAnnotation.fromJson(
- o.toJson());
- checkGoogleCloudVideointelligenceV1beta2FaceAnnotation(od);
- });
- });
-
- unittest.group(
- "obj-schema-GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation",
- () {
- unittest.test("to-json--from-json", () {
- var o = buildGoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation();
- var od = new api
- .GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation.fromJson(
- o.toJson());
- checkGoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation(od);
- });
- });
-
- unittest.group("obj-schema-GoogleCloudVideointelligenceV1beta2FaceFrame", () {
- unittest.test("to-json--from-json", () {
- var o = buildGoogleCloudVideointelligenceV1beta2FaceFrame();
- var od = new api.GoogleCloudVideointelligenceV1beta2FaceFrame.fromJson(
- o.toJson());
- checkGoogleCloudVideointelligenceV1beta2FaceFrame(od);
- });
- });
-
- unittest.group("obj-schema-GoogleCloudVideointelligenceV1beta2FaceSegment",
- () {
- unittest.test("to-json--from-json", () {
- var o = buildGoogleCloudVideointelligenceV1beta2FaceSegment();
- var od = new api.GoogleCloudVideointelligenceV1beta2FaceSegment.fromJson(
- o.toJson());
- checkGoogleCloudVideointelligenceV1beta2FaceSegment(od);
- });
- });
-
unittest.group(
"obj-schema-GoogleCloudVideointelligenceV1beta2LabelAnnotation", () {
unittest.test("to-json--from-json", () {
@@ -8316,19 +7139,6 @@
});
unittest.group(
- "obj-schema-GoogleCloudVideointelligenceV1beta2PersonDetectionAnnotation",
- () {
- unittest.test("to-json--from-json", () {
- var o =
- buildGoogleCloudVideointelligenceV1beta2PersonDetectionAnnotation();
- var od = new api
- .GoogleCloudVideointelligenceV1beta2PersonDetectionAnnotation.fromJson(
- o.toJson());
- checkGoogleCloudVideointelligenceV1beta2PersonDetectionAnnotation(od);
- });
- });
-
- unittest.group(
"obj-schema-GoogleCloudVideointelligenceV1beta2SpeechRecognitionAlternative",
() {
unittest.test("to-json--from-json", () {
@@ -8526,51 +7336,6 @@
});
unittest.group(
- "obj-schema-GoogleCloudVideointelligenceV1p1beta1FaceAnnotation", () {
- unittest.test("to-json--from-json", () {
- var o = buildGoogleCloudVideointelligenceV1p1beta1FaceAnnotation();
- var od =
- new api.GoogleCloudVideointelligenceV1p1beta1FaceAnnotation.fromJson(
- o.toJson());
- checkGoogleCloudVideointelligenceV1p1beta1FaceAnnotation(od);
- });
- });
-
- unittest.group(
- "obj-schema-GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation",
- () {
- unittest.test("to-json--from-json", () {
- var o =
- buildGoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation();
- var od = new api
- .GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation.fromJson(
- o.toJson());
- checkGoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation(od);
- });
- });
-
- unittest.group("obj-schema-GoogleCloudVideointelligenceV1p1beta1FaceFrame",
- () {
- unittest.test("to-json--from-json", () {
- var o = buildGoogleCloudVideointelligenceV1p1beta1FaceFrame();
- var od = new api.GoogleCloudVideointelligenceV1p1beta1FaceFrame.fromJson(
- o.toJson());
- checkGoogleCloudVideointelligenceV1p1beta1FaceFrame(od);
- });
- });
-
- unittest.group("obj-schema-GoogleCloudVideointelligenceV1p1beta1FaceSegment",
- () {
- unittest.test("to-json--from-json", () {
- var o = buildGoogleCloudVideointelligenceV1p1beta1FaceSegment();
- var od =
- new api.GoogleCloudVideointelligenceV1p1beta1FaceSegment.fromJson(
- o.toJson());
- checkGoogleCloudVideointelligenceV1p1beta1FaceSegment(od);
- });
- });
-
- unittest.group(
"obj-schema-GoogleCloudVideointelligenceV1p1beta1LabelAnnotation", () {
unittest.test("to-json--from-json", () {
var o = buildGoogleCloudVideointelligenceV1p1beta1LabelAnnotation();
@@ -8677,19 +7442,6 @@
});
unittest.group(
- "obj-schema-GoogleCloudVideointelligenceV1p1beta1PersonDetectionAnnotation",
- () {
- unittest.test("to-json--from-json", () {
- var o =
- buildGoogleCloudVideointelligenceV1p1beta1PersonDetectionAnnotation();
- var od = new api
- .GoogleCloudVideointelligenceV1p1beta1PersonDetectionAnnotation.fromJson(
- o.toJson());
- checkGoogleCloudVideointelligenceV1p1beta1PersonDetectionAnnotation(od);
- });
- });
-
- unittest.group(
"obj-schema-GoogleCloudVideointelligenceV1p1beta1SpeechRecognitionAlternative",
() {
unittest.test("to-json--from-json", () {
@@ -8895,51 +7647,6 @@
});
unittest.group(
- "obj-schema-GoogleCloudVideointelligenceV1p2beta1FaceAnnotation", () {
- unittest.test("to-json--from-json", () {
- var o = buildGoogleCloudVideointelligenceV1p2beta1FaceAnnotation();
- var od =
- new api.GoogleCloudVideointelligenceV1p2beta1FaceAnnotation.fromJson(
- o.toJson());
- checkGoogleCloudVideointelligenceV1p2beta1FaceAnnotation(od);
- });
- });
-
- unittest.group(
- "obj-schema-GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation",
- () {
- unittest.test("to-json--from-json", () {
- var o =
- buildGoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation();
- var od = new api
- .GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation.fromJson(
- o.toJson());
- checkGoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation(od);
- });
- });
-
- unittest.group("obj-schema-GoogleCloudVideointelligenceV1p2beta1FaceFrame",
- () {
- unittest.test("to-json--from-json", () {
- var o = buildGoogleCloudVideointelligenceV1p2beta1FaceFrame();
- var od = new api.GoogleCloudVideointelligenceV1p2beta1FaceFrame.fromJson(
- o.toJson());
- checkGoogleCloudVideointelligenceV1p2beta1FaceFrame(od);
- });
- });
-
- unittest.group("obj-schema-GoogleCloudVideointelligenceV1p2beta1FaceSegment",
- () {
- unittest.test("to-json--from-json", () {
- var o = buildGoogleCloudVideointelligenceV1p2beta1FaceSegment();
- var od =
- new api.GoogleCloudVideointelligenceV1p2beta1FaceSegment.fromJson(
- o.toJson());
- checkGoogleCloudVideointelligenceV1p2beta1FaceSegment(od);
- });
- });
-
- unittest.group(
"obj-schema-GoogleCloudVideointelligenceV1p2beta1LabelAnnotation", () {
unittest.test("to-json--from-json", () {
var o = buildGoogleCloudVideointelligenceV1p2beta1LabelAnnotation();
@@ -9046,19 +7753,6 @@
});
unittest.group(
- "obj-schema-GoogleCloudVideointelligenceV1p2beta1PersonDetectionAnnotation",
- () {
- unittest.test("to-json--from-json", () {
- var o =
- buildGoogleCloudVideointelligenceV1p2beta1PersonDetectionAnnotation();
- var od = new api
- .GoogleCloudVideointelligenceV1p2beta1PersonDetectionAnnotation.fromJson(
- o.toJson());
- checkGoogleCloudVideointelligenceV1p2beta1PersonDetectionAnnotation(od);
- });
- });
-
- unittest.group(
"obj-schema-GoogleCloudVideointelligenceV1p2beta1SpeechRecognitionAlternative",
() {
unittest.test("to-json--from-json", () {
@@ -9299,17 +7993,6 @@
});
unittest.group(
- "obj-schema-GoogleCloudVideointelligenceV1p3beta1FaceAnnotation", () {
- unittest.test("to-json--from-json", () {
- var o = buildGoogleCloudVideointelligenceV1p3beta1FaceAnnotation();
- var od =
- new api.GoogleCloudVideointelligenceV1p3beta1FaceAnnotation.fromJson(
- o.toJson());
- checkGoogleCloudVideointelligenceV1p3beta1FaceAnnotation(od);
- });
- });
-
- unittest.group(
"obj-schema-GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation",
() {
unittest.test("to-json--from-json", () {
@@ -9322,27 +8005,6 @@
});
});
- unittest.group("obj-schema-GoogleCloudVideointelligenceV1p3beta1FaceFrame",
- () {
- unittest.test("to-json--from-json", () {
- var o = buildGoogleCloudVideointelligenceV1p3beta1FaceFrame();
- var od = new api.GoogleCloudVideointelligenceV1p3beta1FaceFrame.fromJson(
- o.toJson());
- checkGoogleCloudVideointelligenceV1p3beta1FaceFrame(od);
- });
- });
-
- unittest.group("obj-schema-GoogleCloudVideointelligenceV1p3beta1FaceSegment",
- () {
- unittest.test("to-json--from-json", () {
- var o = buildGoogleCloudVideointelligenceV1p3beta1FaceSegment();
- var od =
- new api.GoogleCloudVideointelligenceV1p3beta1FaceSegment.fromJson(
- o.toJson());
- checkGoogleCloudVideointelligenceV1p3beta1FaceSegment(od);
- });
- });
-
unittest.group(
"obj-schema-GoogleCloudVideointelligenceV1p3beta1LabelAnnotation", () {
unittest.test("to-json--from-json", () {
@@ -10123,9 +8785,9 @@
api.ProjectsLocationsOperationsResourceApi res =
new 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;
@@ -10158,11 +8820,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ 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 = {
@@ -10174,9 +8836,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 2c19d4f..33e39d8 100644
--- a/generated/googleapis/test/vision/v1_test.dart
+++ b/generated/googleapis/test/vision/v1_test.dart
@@ -69,27 +69,27 @@
buildCounterAddProductToProductSetRequest--;
}
-buildUnnamed2891() {
+buildUnnamed2895() {
var o = new core.List<api.Feature>();
o.add(buildFeature());
o.add(buildFeature());
return o;
}
-checkUnnamed2891(core.List<api.Feature> o) {
+checkUnnamed2895(core.List<api.Feature> o) {
unittest.expect(o, unittest.hasLength(2));
checkFeature(o[0]);
checkFeature(o[1]);
}
-buildUnnamed2892() {
+buildUnnamed2896() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed2892(core.List<core.int> o) {
+checkUnnamed2896(core.List<core.int> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42));
unittest.expect(o[1], unittest.equals(42));
@@ -100,10 +100,10 @@
var o = new api.AnnotateFileRequest();
buildCounterAnnotateFileRequest++;
if (buildCounterAnnotateFileRequest < 3) {
- o.features = buildUnnamed2891();
+ o.features = buildUnnamed2895();
o.imageContext = buildImageContext();
o.inputConfig = buildInputConfig();
- o.pages = buildUnnamed2892();
+ o.pages = buildUnnamed2896();
}
buildCounterAnnotateFileRequest--;
return o;
@@ -112,22 +112,22 @@
checkAnnotateFileRequest(api.AnnotateFileRequest o) {
buildCounterAnnotateFileRequest++;
if (buildCounterAnnotateFileRequest < 3) {
- checkUnnamed2891(o.features);
+ checkUnnamed2895(o.features);
checkImageContext(o.imageContext);
checkInputConfig(o.inputConfig);
- checkUnnamed2892(o.pages);
+ checkUnnamed2896(o.pages);
}
buildCounterAnnotateFileRequest--;
}
-buildUnnamed2893() {
+buildUnnamed2897() {
var o = new core.List<api.AnnotateImageResponse>();
o.add(buildAnnotateImageResponse());
o.add(buildAnnotateImageResponse());
return o;
}
-checkUnnamed2893(core.List<api.AnnotateImageResponse> o) {
+checkUnnamed2897(core.List<api.AnnotateImageResponse> o) {
unittest.expect(o, unittest.hasLength(2));
checkAnnotateImageResponse(o[0]);
checkAnnotateImageResponse(o[1]);
@@ -140,7 +140,7 @@
if (buildCounterAnnotateFileResponse < 3) {
o.error = buildStatus();
o.inputConfig = buildInputConfig();
- o.responses = buildUnnamed2893();
+ o.responses = buildUnnamed2897();
o.totalPages = 42;
}
buildCounterAnnotateFileResponse--;
@@ -152,20 +152,20 @@
if (buildCounterAnnotateFileResponse < 3) {
checkStatus(o.error);
checkInputConfig(o.inputConfig);
- checkUnnamed2893(o.responses);
+ checkUnnamed2897(o.responses);
unittest.expect(o.totalPages, unittest.equals(42));
}
buildCounterAnnotateFileResponse--;
}
-buildUnnamed2894() {
+buildUnnamed2898() {
var o = new core.List<api.Feature>();
o.add(buildFeature());
o.add(buildFeature());
return o;
}
-checkUnnamed2894(core.List<api.Feature> o) {
+checkUnnamed2898(core.List<api.Feature> o) {
unittest.expect(o, unittest.hasLength(2));
checkFeature(o[0]);
checkFeature(o[1]);
@@ -176,7 +176,7 @@
var o = new api.AnnotateImageRequest();
buildCounterAnnotateImageRequest++;
if (buildCounterAnnotateImageRequest < 3) {
- o.features = buildUnnamed2894();
+ o.features = buildUnnamed2898();
o.image = buildImage();
o.imageContext = buildImageContext();
}
@@ -187,78 +187,26 @@
checkAnnotateImageRequest(api.AnnotateImageRequest o) {
buildCounterAnnotateImageRequest++;
if (buildCounterAnnotateImageRequest < 3) {
- checkUnnamed2894(o.features);
+ checkUnnamed2898(o.features);
checkImage(o.image);
checkImageContext(o.imageContext);
}
buildCounterAnnotateImageRequest--;
}
-buildUnnamed2895() {
+buildUnnamed2899() {
var o = new core.List<api.FaceAnnotation>();
o.add(buildFaceAnnotation());
o.add(buildFaceAnnotation());
return o;
}
-checkUnnamed2895(core.List<api.FaceAnnotation> o) {
+checkUnnamed2899(core.List<api.FaceAnnotation> o) {
unittest.expect(o, unittest.hasLength(2));
checkFaceAnnotation(o[0]);
checkFaceAnnotation(o[1]);
}
-buildUnnamed2896() {
- var o = new core.List<api.EntityAnnotation>();
- o.add(buildEntityAnnotation());
- o.add(buildEntityAnnotation());
- return o;
-}
-
-checkUnnamed2896(core.List<api.EntityAnnotation> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkEntityAnnotation(o[0]);
- checkEntityAnnotation(o[1]);
-}
-
-buildUnnamed2897() {
- var o = new core.List<api.EntityAnnotation>();
- o.add(buildEntityAnnotation());
- o.add(buildEntityAnnotation());
- return o;
-}
-
-checkUnnamed2897(core.List<api.EntityAnnotation> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkEntityAnnotation(o[0]);
- checkEntityAnnotation(o[1]);
-}
-
-buildUnnamed2898() {
- var o = new core.List<api.LocalizedObjectAnnotation>();
- o.add(buildLocalizedObjectAnnotation());
- o.add(buildLocalizedObjectAnnotation());
- return o;
-}
-
-checkUnnamed2898(core.List<api.LocalizedObjectAnnotation> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkLocalizedObjectAnnotation(o[0]);
- checkLocalizedObjectAnnotation(o[1]);
-}
-
-buildUnnamed2899() {
- var o = new core.List<api.EntityAnnotation>();
- o.add(buildEntityAnnotation());
- o.add(buildEntityAnnotation());
- return o;
-}
-
-checkUnnamed2899(core.List<api.EntityAnnotation> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkEntityAnnotation(o[0]);
- checkEntityAnnotation(o[1]);
-}
-
buildUnnamed2900() {
var o = new core.List<api.EntityAnnotation>();
o.add(buildEntityAnnotation());
@@ -272,6 +220,58 @@
checkEntityAnnotation(o[1]);
}
+buildUnnamed2901() {
+ var o = new core.List<api.EntityAnnotation>();
+ o.add(buildEntityAnnotation());
+ o.add(buildEntityAnnotation());
+ return o;
+}
+
+checkUnnamed2901(core.List<api.EntityAnnotation> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkEntityAnnotation(o[0]);
+ checkEntityAnnotation(o[1]);
+}
+
+buildUnnamed2902() {
+ var o = new core.List<api.LocalizedObjectAnnotation>();
+ o.add(buildLocalizedObjectAnnotation());
+ o.add(buildLocalizedObjectAnnotation());
+ return o;
+}
+
+checkUnnamed2902(core.List<api.LocalizedObjectAnnotation> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkLocalizedObjectAnnotation(o[0]);
+ checkLocalizedObjectAnnotation(o[1]);
+}
+
+buildUnnamed2903() {
+ var o = new core.List<api.EntityAnnotation>();
+ o.add(buildEntityAnnotation());
+ o.add(buildEntityAnnotation());
+ return o;
+}
+
+checkUnnamed2903(core.List<api.EntityAnnotation> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkEntityAnnotation(o[0]);
+ checkEntityAnnotation(o[1]);
+}
+
+buildUnnamed2904() {
+ var o = new core.List<api.EntityAnnotation>();
+ o.add(buildEntityAnnotation());
+ o.add(buildEntityAnnotation());
+ return o;
+}
+
+checkUnnamed2904(core.List<api.EntityAnnotation> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkEntityAnnotation(o[0]);
+ checkEntityAnnotation(o[1]);
+}
+
core.int buildCounterAnnotateImageResponse = 0;
buildAnnotateImageResponse() {
var o = new api.AnnotateImageResponse();
@@ -280,16 +280,16 @@
o.context = buildImageAnnotationContext();
o.cropHintsAnnotation = buildCropHintsAnnotation();
o.error = buildStatus();
- o.faceAnnotations = buildUnnamed2895();
+ o.faceAnnotations = buildUnnamed2899();
o.fullTextAnnotation = buildTextAnnotation();
o.imagePropertiesAnnotation = buildImageProperties();
- o.labelAnnotations = buildUnnamed2896();
- o.landmarkAnnotations = buildUnnamed2897();
- o.localizedObjectAnnotations = buildUnnamed2898();
- o.logoAnnotations = buildUnnamed2899();
+ o.labelAnnotations = buildUnnamed2900();
+ o.landmarkAnnotations = buildUnnamed2901();
+ o.localizedObjectAnnotations = buildUnnamed2902();
+ o.logoAnnotations = buildUnnamed2903();
o.productSearchResults = buildProductSearchResults();
o.safeSearchAnnotation = buildSafeSearchAnnotation();
- o.textAnnotations = buildUnnamed2900();
+ o.textAnnotations = buildUnnamed2904();
o.webDetection = buildWebDetection();
}
buildCounterAnnotateImageResponse--;
@@ -302,29 +302,29 @@
checkImageAnnotationContext(o.context);
checkCropHintsAnnotation(o.cropHintsAnnotation);
checkStatus(o.error);
- checkUnnamed2895(o.faceAnnotations);
+ checkUnnamed2899(o.faceAnnotations);
checkTextAnnotation(o.fullTextAnnotation);
checkImageProperties(o.imagePropertiesAnnotation);
- checkUnnamed2896(o.labelAnnotations);
- checkUnnamed2897(o.landmarkAnnotations);
- checkUnnamed2898(o.localizedObjectAnnotations);
- checkUnnamed2899(o.logoAnnotations);
+ checkUnnamed2900(o.labelAnnotations);
+ checkUnnamed2901(o.landmarkAnnotations);
+ checkUnnamed2902(o.localizedObjectAnnotations);
+ checkUnnamed2903(o.logoAnnotations);
checkProductSearchResults(o.productSearchResults);
checkSafeSearchAnnotation(o.safeSearchAnnotation);
- checkUnnamed2900(o.textAnnotations);
+ checkUnnamed2904(o.textAnnotations);
checkWebDetection(o.webDetection);
}
buildCounterAnnotateImageResponse--;
}
-buildUnnamed2901() {
+buildUnnamed2905() {
var o = new core.List<api.Feature>();
o.add(buildFeature());
o.add(buildFeature());
return o;
}
-checkUnnamed2901(core.List<api.Feature> o) {
+checkUnnamed2905(core.List<api.Feature> o) {
unittest.expect(o, unittest.hasLength(2));
checkFeature(o[0]);
checkFeature(o[1]);
@@ -335,7 +335,7 @@
var o = new api.AsyncAnnotateFileRequest();
buildCounterAsyncAnnotateFileRequest++;
if (buildCounterAsyncAnnotateFileRequest < 3) {
- o.features = buildUnnamed2901();
+ o.features = buildUnnamed2905();
o.imageContext = buildImageContext();
o.inputConfig = buildInputConfig();
o.outputConfig = buildOutputConfig();
@@ -347,7 +347,7 @@
checkAsyncAnnotateFileRequest(api.AsyncAnnotateFileRequest o) {
buildCounterAsyncAnnotateFileRequest++;
if (buildCounterAsyncAnnotateFileRequest < 3) {
- checkUnnamed2901(o.features);
+ checkUnnamed2905(o.features);
checkImageContext(o.imageContext);
checkInputConfig(o.inputConfig);
checkOutputConfig(o.outputConfig);
@@ -374,14 +374,14 @@
buildCounterAsyncAnnotateFileResponse--;
}
-buildUnnamed2902() {
+buildUnnamed2906() {
var o = new core.List<api.AsyncAnnotateFileRequest>();
o.add(buildAsyncAnnotateFileRequest());
o.add(buildAsyncAnnotateFileRequest());
return o;
}
-checkUnnamed2902(core.List<api.AsyncAnnotateFileRequest> o) {
+checkUnnamed2906(core.List<api.AsyncAnnotateFileRequest> o) {
unittest.expect(o, unittest.hasLength(2));
checkAsyncAnnotateFileRequest(o[0]);
checkAsyncAnnotateFileRequest(o[1]);
@@ -393,7 +393,7 @@
buildCounterAsyncBatchAnnotateFilesRequest++;
if (buildCounterAsyncBatchAnnotateFilesRequest < 3) {
o.parent = "foo";
- o.requests = buildUnnamed2902();
+ o.requests = buildUnnamed2906();
}
buildCounterAsyncBatchAnnotateFilesRequest--;
return o;
@@ -403,19 +403,19 @@
buildCounterAsyncBatchAnnotateFilesRequest++;
if (buildCounterAsyncBatchAnnotateFilesRequest < 3) {
unittest.expect(o.parent, unittest.equals('foo'));
- checkUnnamed2902(o.requests);
+ checkUnnamed2906(o.requests);
}
buildCounterAsyncBatchAnnotateFilesRequest--;
}
-buildUnnamed2903() {
+buildUnnamed2907() {
var o = new core.List<api.AsyncAnnotateFileResponse>();
o.add(buildAsyncAnnotateFileResponse());
o.add(buildAsyncAnnotateFileResponse());
return o;
}
-checkUnnamed2903(core.List<api.AsyncAnnotateFileResponse> o) {
+checkUnnamed2907(core.List<api.AsyncAnnotateFileResponse> o) {
unittest.expect(o, unittest.hasLength(2));
checkAsyncAnnotateFileResponse(o[0]);
checkAsyncAnnotateFileResponse(o[1]);
@@ -426,7 +426,7 @@
var o = new api.AsyncBatchAnnotateFilesResponse();
buildCounterAsyncBatchAnnotateFilesResponse++;
if (buildCounterAsyncBatchAnnotateFilesResponse < 3) {
- o.responses = buildUnnamed2903();
+ o.responses = buildUnnamed2907();
}
buildCounterAsyncBatchAnnotateFilesResponse--;
return o;
@@ -435,19 +435,19 @@
checkAsyncBatchAnnotateFilesResponse(api.AsyncBatchAnnotateFilesResponse o) {
buildCounterAsyncBatchAnnotateFilesResponse++;
if (buildCounterAsyncBatchAnnotateFilesResponse < 3) {
- checkUnnamed2903(o.responses);
+ checkUnnamed2907(o.responses);
}
buildCounterAsyncBatchAnnotateFilesResponse--;
}
-buildUnnamed2904() {
+buildUnnamed2908() {
var o = new core.List<api.AnnotateImageRequest>();
o.add(buildAnnotateImageRequest());
o.add(buildAnnotateImageRequest());
return o;
}
-checkUnnamed2904(core.List<api.AnnotateImageRequest> o) {
+checkUnnamed2908(core.List<api.AnnotateImageRequest> o) {
unittest.expect(o, unittest.hasLength(2));
checkAnnotateImageRequest(o[0]);
checkAnnotateImageRequest(o[1]);
@@ -460,7 +460,7 @@
if (buildCounterAsyncBatchAnnotateImagesRequest < 3) {
o.outputConfig = buildOutputConfig();
o.parent = "foo";
- o.requests = buildUnnamed2904();
+ o.requests = buildUnnamed2908();
}
buildCounterAsyncBatchAnnotateImagesRequest--;
return o;
@@ -471,7 +471,7 @@
if (buildCounterAsyncBatchAnnotateImagesRequest < 3) {
checkOutputConfig(o.outputConfig);
unittest.expect(o.parent, unittest.equals('foo'));
- checkUnnamed2904(o.requests);
+ checkUnnamed2908(o.requests);
}
buildCounterAsyncBatchAnnotateImagesRequest--;
}
@@ -495,14 +495,14 @@
buildCounterAsyncBatchAnnotateImagesResponse--;
}
-buildUnnamed2905() {
+buildUnnamed2909() {
var o = new core.List<api.AnnotateFileRequest>();
o.add(buildAnnotateFileRequest());
o.add(buildAnnotateFileRequest());
return o;
}
-checkUnnamed2905(core.List<api.AnnotateFileRequest> o) {
+checkUnnamed2909(core.List<api.AnnotateFileRequest> o) {
unittest.expect(o, unittest.hasLength(2));
checkAnnotateFileRequest(o[0]);
checkAnnotateFileRequest(o[1]);
@@ -514,7 +514,7 @@
buildCounterBatchAnnotateFilesRequest++;
if (buildCounterBatchAnnotateFilesRequest < 3) {
o.parent = "foo";
- o.requests = buildUnnamed2905();
+ o.requests = buildUnnamed2909();
}
buildCounterBatchAnnotateFilesRequest--;
return o;
@@ -524,19 +524,19 @@
buildCounterBatchAnnotateFilesRequest++;
if (buildCounterBatchAnnotateFilesRequest < 3) {
unittest.expect(o.parent, unittest.equals('foo'));
- checkUnnamed2905(o.requests);
+ checkUnnamed2909(o.requests);
}
buildCounterBatchAnnotateFilesRequest--;
}
-buildUnnamed2906() {
+buildUnnamed2910() {
var o = new core.List<api.AnnotateFileResponse>();
o.add(buildAnnotateFileResponse());
o.add(buildAnnotateFileResponse());
return o;
}
-checkUnnamed2906(core.List<api.AnnotateFileResponse> o) {
+checkUnnamed2910(core.List<api.AnnotateFileResponse> o) {
unittest.expect(o, unittest.hasLength(2));
checkAnnotateFileResponse(o[0]);
checkAnnotateFileResponse(o[1]);
@@ -547,7 +547,7 @@
var o = new api.BatchAnnotateFilesResponse();
buildCounterBatchAnnotateFilesResponse++;
if (buildCounterBatchAnnotateFilesResponse < 3) {
- o.responses = buildUnnamed2906();
+ o.responses = buildUnnamed2910();
}
buildCounterBatchAnnotateFilesResponse--;
return o;
@@ -556,19 +556,19 @@
checkBatchAnnotateFilesResponse(api.BatchAnnotateFilesResponse o) {
buildCounterBatchAnnotateFilesResponse++;
if (buildCounterBatchAnnotateFilesResponse < 3) {
- checkUnnamed2906(o.responses);
+ checkUnnamed2910(o.responses);
}
buildCounterBatchAnnotateFilesResponse--;
}
-buildUnnamed2907() {
+buildUnnamed2911() {
var o = new core.List<api.AnnotateImageRequest>();
o.add(buildAnnotateImageRequest());
o.add(buildAnnotateImageRequest());
return o;
}
-checkUnnamed2907(core.List<api.AnnotateImageRequest> o) {
+checkUnnamed2911(core.List<api.AnnotateImageRequest> o) {
unittest.expect(o, unittest.hasLength(2));
checkAnnotateImageRequest(o[0]);
checkAnnotateImageRequest(o[1]);
@@ -580,7 +580,7 @@
buildCounterBatchAnnotateImagesRequest++;
if (buildCounterBatchAnnotateImagesRequest < 3) {
o.parent = "foo";
- o.requests = buildUnnamed2907();
+ o.requests = buildUnnamed2911();
}
buildCounterBatchAnnotateImagesRequest--;
return o;
@@ -590,19 +590,19 @@
buildCounterBatchAnnotateImagesRequest++;
if (buildCounterBatchAnnotateImagesRequest < 3) {
unittest.expect(o.parent, unittest.equals('foo'));
- checkUnnamed2907(o.requests);
+ checkUnnamed2911(o.requests);
}
buildCounterBatchAnnotateImagesRequest--;
}
-buildUnnamed2908() {
+buildUnnamed2912() {
var o = new core.List<api.AnnotateImageResponse>();
o.add(buildAnnotateImageResponse());
o.add(buildAnnotateImageResponse());
return o;
}
-checkUnnamed2908(core.List<api.AnnotateImageResponse> o) {
+checkUnnamed2912(core.List<api.AnnotateImageResponse> o) {
unittest.expect(o, unittest.hasLength(2));
checkAnnotateImageResponse(o[0]);
checkAnnotateImageResponse(o[1]);
@@ -613,7 +613,7 @@
var o = new api.BatchAnnotateImagesResponse();
buildCounterBatchAnnotateImagesResponse++;
if (buildCounterBatchAnnotateImagesResponse < 3) {
- o.responses = buildUnnamed2908();
+ o.responses = buildUnnamed2912();
}
buildCounterBatchAnnotateImagesResponse--;
return o;
@@ -622,7 +622,7 @@
checkBatchAnnotateImagesResponse(api.BatchAnnotateImagesResponse o) {
buildCounterBatchAnnotateImagesResponse++;
if (buildCounterBatchAnnotateImagesResponse < 3) {
- checkUnnamed2908(o.responses);
+ checkUnnamed2912(o.responses);
}
buildCounterBatchAnnotateImagesResponse--;
}
@@ -650,14 +650,14 @@
buildCounterBatchOperationMetadata--;
}
-buildUnnamed2909() {
+buildUnnamed2913() {
var o = new core.List<api.Paragraph>();
o.add(buildParagraph());
o.add(buildParagraph());
return o;
}
-checkUnnamed2909(core.List<api.Paragraph> o) {
+checkUnnamed2913(core.List<api.Paragraph> o) {
unittest.expect(o, unittest.hasLength(2));
checkParagraph(o[0]);
checkParagraph(o[1]);
@@ -671,7 +671,7 @@
o.blockType = "foo";
o.boundingBox = buildBoundingPoly();
o.confidence = 42.0;
- o.paragraphs = buildUnnamed2909();
+ o.paragraphs = buildUnnamed2913();
o.property = buildTextProperty();
}
buildCounterBlock--;
@@ -684,33 +684,33 @@
unittest.expect(o.blockType, unittest.equals('foo'));
checkBoundingPoly(o.boundingBox);
unittest.expect(o.confidence, unittest.equals(42.0));
- checkUnnamed2909(o.paragraphs);
+ checkUnnamed2913(o.paragraphs);
checkTextProperty(o.property);
}
buildCounterBlock--;
}
-buildUnnamed2910() {
+buildUnnamed2914() {
var o = new core.List<api.NormalizedVertex>();
o.add(buildNormalizedVertex());
o.add(buildNormalizedVertex());
return o;
}
-checkUnnamed2910(core.List<api.NormalizedVertex> o) {
+checkUnnamed2914(core.List<api.NormalizedVertex> o) {
unittest.expect(o, unittest.hasLength(2));
checkNormalizedVertex(o[0]);
checkNormalizedVertex(o[1]);
}
-buildUnnamed2911() {
+buildUnnamed2915() {
var o = new core.List<api.Vertex>();
o.add(buildVertex());
o.add(buildVertex());
return o;
}
-checkUnnamed2911(core.List<api.Vertex> o) {
+checkUnnamed2915(core.List<api.Vertex> o) {
unittest.expect(o, unittest.hasLength(2));
checkVertex(o[0]);
checkVertex(o[1]);
@@ -721,8 +721,8 @@
var o = new api.BoundingPoly();
buildCounterBoundingPoly++;
if (buildCounterBoundingPoly < 3) {
- o.normalizedVertices = buildUnnamed2910();
- o.vertices = buildUnnamed2911();
+ o.normalizedVertices = buildUnnamed2914();
+ o.vertices = buildUnnamed2915();
}
buildCounterBoundingPoly--;
return o;
@@ -731,8 +731,8 @@
checkBoundingPoly(api.BoundingPoly o) {
buildCounterBoundingPoly++;
if (buildCounterBoundingPoly < 3) {
- checkUnnamed2910(o.normalizedVertices);
- checkUnnamed2911(o.vertices);
+ checkUnnamed2914(o.normalizedVertices);
+ checkUnnamed2915(o.vertices);
}
buildCounterBoundingPoly--;
}
@@ -823,14 +823,14 @@
buildCounterCropHint--;
}
-buildUnnamed2912() {
+buildUnnamed2916() {
var o = new core.List<api.CropHint>();
o.add(buildCropHint());
o.add(buildCropHint());
return o;
}
-checkUnnamed2912(core.List<api.CropHint> o) {
+checkUnnamed2916(core.List<api.CropHint> o) {
unittest.expect(o, unittest.hasLength(2));
checkCropHint(o[0]);
checkCropHint(o[1]);
@@ -841,7 +841,7 @@
var o = new api.CropHintsAnnotation();
buildCounterCropHintsAnnotation++;
if (buildCounterCropHintsAnnotation < 3) {
- o.cropHints = buildUnnamed2912();
+ o.cropHints = buildUnnamed2916();
}
buildCounterCropHintsAnnotation--;
return o;
@@ -850,19 +850,19 @@
checkCropHintsAnnotation(api.CropHintsAnnotation o) {
buildCounterCropHintsAnnotation++;
if (buildCounterCropHintsAnnotation < 3) {
- checkUnnamed2912(o.cropHints);
+ checkUnnamed2916(o.cropHints);
}
buildCounterCropHintsAnnotation--;
}
-buildUnnamed2913() {
+buildUnnamed2917() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed2913(core.List<core.double> o) {
+checkUnnamed2917(core.List<core.double> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42.0));
unittest.expect(o[1], unittest.equals(42.0));
@@ -873,7 +873,7 @@
var o = new api.CropHintsParams();
buildCounterCropHintsParams++;
if (buildCounterCropHintsParams < 3) {
- o.aspectRatios = buildUnnamed2913();
+ o.aspectRatios = buildUnnamed2917();
}
buildCounterCropHintsParams--;
return o;
@@ -882,7 +882,7 @@
checkCropHintsParams(api.CropHintsParams o) {
buildCounterCropHintsParams++;
if (buildCounterCropHintsParams < 3) {
- checkUnnamed2913(o.aspectRatios);
+ checkUnnamed2917(o.aspectRatios);
}
buildCounterCropHintsParams--;
}
@@ -929,14 +929,14 @@
buildCounterDetectedLanguage--;
}
-buildUnnamed2914() {
+buildUnnamed2918() {
var o = new core.List<api.ColorInfo>();
o.add(buildColorInfo());
o.add(buildColorInfo());
return o;
}
-checkUnnamed2914(core.List<api.ColorInfo> o) {
+checkUnnamed2918(core.List<api.ColorInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkColorInfo(o[0]);
checkColorInfo(o[1]);
@@ -947,7 +947,7 @@
var o = new api.DominantColorsAnnotation();
buildCounterDominantColorsAnnotation++;
if (buildCounterDominantColorsAnnotation < 3) {
- o.colors = buildUnnamed2914();
+ o.colors = buildUnnamed2918();
}
buildCounterDominantColorsAnnotation--;
return o;
@@ -956,7 +956,7 @@
checkDominantColorsAnnotation(api.DominantColorsAnnotation o) {
buildCounterDominantColorsAnnotation++;
if (buildCounterDominantColorsAnnotation < 3) {
- checkUnnamed2914(o.colors);
+ checkUnnamed2918(o.colors);
}
buildCounterDominantColorsAnnotation--;
}
@@ -976,27 +976,27 @@
buildCounterEmpty--;
}
-buildUnnamed2915() {
+buildUnnamed2919() {
var o = new core.List<api.LocationInfo>();
o.add(buildLocationInfo());
o.add(buildLocationInfo());
return o;
}
-checkUnnamed2915(core.List<api.LocationInfo> o) {
+checkUnnamed2919(core.List<api.LocationInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocationInfo(o[0]);
checkLocationInfo(o[1]);
}
-buildUnnamed2916() {
+buildUnnamed2920() {
var o = new core.List<api.Property>();
o.add(buildProperty());
o.add(buildProperty());
return o;
}
-checkUnnamed2916(core.List<api.Property> o) {
+checkUnnamed2920(core.List<api.Property> o) {
unittest.expect(o, unittest.hasLength(2));
checkProperty(o[0]);
checkProperty(o[1]);
@@ -1011,9 +1011,9 @@
o.confidence = 42.0;
o.description = "foo";
o.locale = "foo";
- o.locations = buildUnnamed2915();
+ o.locations = buildUnnamed2919();
o.mid = "foo";
- o.properties = buildUnnamed2916();
+ o.properties = buildUnnamed2920();
o.score = 42.0;
o.topicality = 42.0;
}
@@ -1028,23 +1028,23 @@
unittest.expect(o.confidence, unittest.equals(42.0));
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.locale, unittest.equals('foo'));
- checkUnnamed2915(o.locations);
+ checkUnnamed2919(o.locations);
unittest.expect(o.mid, unittest.equals('foo'));
- checkUnnamed2916(o.properties);
+ checkUnnamed2920(o.properties);
unittest.expect(o.score, unittest.equals(42.0));
unittest.expect(o.topicality, unittest.equals(42.0));
}
buildCounterEntityAnnotation--;
}
-buildUnnamed2917() {
+buildUnnamed2921() {
var o = new core.List<api.Landmark>();
o.add(buildLandmark());
o.add(buildLandmark());
return o;
}
-checkUnnamed2917(core.List<api.Landmark> o) {
+checkUnnamed2921(core.List<api.Landmark> o) {
unittest.expect(o, unittest.hasLength(2));
checkLandmark(o[0]);
checkLandmark(o[1]);
@@ -1063,7 +1063,7 @@
o.headwearLikelihood = "foo";
o.joyLikelihood = "foo";
o.landmarkingConfidence = 42.0;
- o.landmarks = buildUnnamed2917();
+ o.landmarks = buildUnnamed2921();
o.panAngle = 42.0;
o.rollAngle = 42.0;
o.sorrowLikelihood = "foo";
@@ -1086,7 +1086,7 @@
unittest.expect(o.headwearLikelihood, unittest.equals('foo'));
unittest.expect(o.joyLikelihood, unittest.equals('foo'));
unittest.expect(o.landmarkingConfidence, unittest.equals(42.0));
- checkUnnamed2917(o.landmarks);
+ checkUnnamed2921(o.landmarks);
unittest.expect(o.panAngle, unittest.equals(42.0));
unittest.expect(o.rollAngle, unittest.equals(42.0));
unittest.expect(o.sorrowLikelihood, unittest.equals('foo'));
@@ -1158,14 +1158,14 @@
buildCounterGcsSource--;
}
-buildUnnamed2918() {
+buildUnnamed2922() {
var o = new core.List<api.GoogleCloudVisionV1p1beta1AnnotateImageResponse>();
o.add(buildGoogleCloudVisionV1p1beta1AnnotateImageResponse());
o.add(buildGoogleCloudVisionV1p1beta1AnnotateImageResponse());
return o;
}
-checkUnnamed2918(
+checkUnnamed2922(
core.List<api.GoogleCloudVisionV1p1beta1AnnotateImageResponse> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p1beta1AnnotateImageResponse(o[0]);
@@ -1179,7 +1179,7 @@
if (buildCounterGoogleCloudVisionV1p1beta1AnnotateFileResponse < 3) {
o.error = buildStatus();
o.inputConfig = buildGoogleCloudVisionV1p1beta1InputConfig();
- o.responses = buildUnnamed2918();
+ o.responses = buildUnnamed2922();
o.totalPages = 42;
}
buildCounterGoogleCloudVisionV1p1beta1AnnotateFileResponse--;
@@ -1192,79 +1192,25 @@
if (buildCounterGoogleCloudVisionV1p1beta1AnnotateFileResponse < 3) {
checkStatus(o.error);
checkGoogleCloudVisionV1p1beta1InputConfig(o.inputConfig);
- checkUnnamed2918(o.responses);
+ checkUnnamed2922(o.responses);
unittest.expect(o.totalPages, unittest.equals(42));
}
buildCounterGoogleCloudVisionV1p1beta1AnnotateFileResponse--;
}
-buildUnnamed2919() {
+buildUnnamed2923() {
var o = new core.List<api.GoogleCloudVisionV1p1beta1FaceAnnotation>();
o.add(buildGoogleCloudVisionV1p1beta1FaceAnnotation());
o.add(buildGoogleCloudVisionV1p1beta1FaceAnnotation());
return o;
}
-checkUnnamed2919(core.List<api.GoogleCloudVisionV1p1beta1FaceAnnotation> o) {
+checkUnnamed2923(core.List<api.GoogleCloudVisionV1p1beta1FaceAnnotation> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p1beta1FaceAnnotation(o[0]);
checkGoogleCloudVisionV1p1beta1FaceAnnotation(o[1]);
}
-buildUnnamed2920() {
- var o = new core.List<api.GoogleCloudVisionV1p1beta1EntityAnnotation>();
- o.add(buildGoogleCloudVisionV1p1beta1EntityAnnotation());
- o.add(buildGoogleCloudVisionV1p1beta1EntityAnnotation());
- return o;
-}
-
-checkUnnamed2920(core.List<api.GoogleCloudVisionV1p1beta1EntityAnnotation> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkGoogleCloudVisionV1p1beta1EntityAnnotation(o[0]);
- checkGoogleCloudVisionV1p1beta1EntityAnnotation(o[1]);
-}
-
-buildUnnamed2921() {
- var o = new core.List<api.GoogleCloudVisionV1p1beta1EntityAnnotation>();
- o.add(buildGoogleCloudVisionV1p1beta1EntityAnnotation());
- o.add(buildGoogleCloudVisionV1p1beta1EntityAnnotation());
- return o;
-}
-
-checkUnnamed2921(core.List<api.GoogleCloudVisionV1p1beta1EntityAnnotation> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkGoogleCloudVisionV1p1beta1EntityAnnotation(o[0]);
- checkGoogleCloudVisionV1p1beta1EntityAnnotation(o[1]);
-}
-
-buildUnnamed2922() {
- var o =
- new core.List<api.GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation>();
- o.add(buildGoogleCloudVisionV1p1beta1LocalizedObjectAnnotation());
- o.add(buildGoogleCloudVisionV1p1beta1LocalizedObjectAnnotation());
- return o;
-}
-
-checkUnnamed2922(
- core.List<api.GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkGoogleCloudVisionV1p1beta1LocalizedObjectAnnotation(o[0]);
- checkGoogleCloudVisionV1p1beta1LocalizedObjectAnnotation(o[1]);
-}
-
-buildUnnamed2923() {
- var o = new core.List<api.GoogleCloudVisionV1p1beta1EntityAnnotation>();
- o.add(buildGoogleCloudVisionV1p1beta1EntityAnnotation());
- o.add(buildGoogleCloudVisionV1p1beta1EntityAnnotation());
- return o;
-}
-
-checkUnnamed2923(core.List<api.GoogleCloudVisionV1p1beta1EntityAnnotation> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkGoogleCloudVisionV1p1beta1EntityAnnotation(o[0]);
- checkGoogleCloudVisionV1p1beta1EntityAnnotation(o[1]);
-}
-
buildUnnamed2924() {
var o = new core.List<api.GoogleCloudVisionV1p1beta1EntityAnnotation>();
o.add(buildGoogleCloudVisionV1p1beta1EntityAnnotation());
@@ -1278,6 +1224,60 @@
checkGoogleCloudVisionV1p1beta1EntityAnnotation(o[1]);
}
+buildUnnamed2925() {
+ var o = new core.List<api.GoogleCloudVisionV1p1beta1EntityAnnotation>();
+ o.add(buildGoogleCloudVisionV1p1beta1EntityAnnotation());
+ o.add(buildGoogleCloudVisionV1p1beta1EntityAnnotation());
+ return o;
+}
+
+checkUnnamed2925(core.List<api.GoogleCloudVisionV1p1beta1EntityAnnotation> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkGoogleCloudVisionV1p1beta1EntityAnnotation(o[0]);
+ checkGoogleCloudVisionV1p1beta1EntityAnnotation(o[1]);
+}
+
+buildUnnamed2926() {
+ var o =
+ new core.List<api.GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation>();
+ o.add(buildGoogleCloudVisionV1p1beta1LocalizedObjectAnnotation());
+ o.add(buildGoogleCloudVisionV1p1beta1LocalizedObjectAnnotation());
+ return o;
+}
+
+checkUnnamed2926(
+ core.List<api.GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkGoogleCloudVisionV1p1beta1LocalizedObjectAnnotation(o[0]);
+ checkGoogleCloudVisionV1p1beta1LocalizedObjectAnnotation(o[1]);
+}
+
+buildUnnamed2927() {
+ var o = new core.List<api.GoogleCloudVisionV1p1beta1EntityAnnotation>();
+ o.add(buildGoogleCloudVisionV1p1beta1EntityAnnotation());
+ o.add(buildGoogleCloudVisionV1p1beta1EntityAnnotation());
+ return o;
+}
+
+checkUnnamed2927(core.List<api.GoogleCloudVisionV1p1beta1EntityAnnotation> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkGoogleCloudVisionV1p1beta1EntityAnnotation(o[0]);
+ checkGoogleCloudVisionV1p1beta1EntityAnnotation(o[1]);
+}
+
+buildUnnamed2928() {
+ var o = new core.List<api.GoogleCloudVisionV1p1beta1EntityAnnotation>();
+ o.add(buildGoogleCloudVisionV1p1beta1EntityAnnotation());
+ o.add(buildGoogleCloudVisionV1p1beta1EntityAnnotation());
+ return o;
+}
+
+checkUnnamed2928(core.List<api.GoogleCloudVisionV1p1beta1EntityAnnotation> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkGoogleCloudVisionV1p1beta1EntityAnnotation(o[0]);
+ checkGoogleCloudVisionV1p1beta1EntityAnnotation(o[1]);
+}
+
core.int buildCounterGoogleCloudVisionV1p1beta1AnnotateImageResponse = 0;
buildGoogleCloudVisionV1p1beta1AnnotateImageResponse() {
var o = new api.GoogleCloudVisionV1p1beta1AnnotateImageResponse();
@@ -1287,19 +1287,19 @@
o.cropHintsAnnotation =
buildGoogleCloudVisionV1p1beta1CropHintsAnnotation();
o.error = buildStatus();
- o.faceAnnotations = buildUnnamed2919();
+ o.faceAnnotations = buildUnnamed2923();
o.fullTextAnnotation = buildGoogleCloudVisionV1p1beta1TextAnnotation();
o.imagePropertiesAnnotation =
buildGoogleCloudVisionV1p1beta1ImageProperties();
- o.labelAnnotations = buildUnnamed2920();
- o.landmarkAnnotations = buildUnnamed2921();
- o.localizedObjectAnnotations = buildUnnamed2922();
- o.logoAnnotations = buildUnnamed2923();
+ o.labelAnnotations = buildUnnamed2924();
+ o.landmarkAnnotations = buildUnnamed2925();
+ o.localizedObjectAnnotations = buildUnnamed2926();
+ o.logoAnnotations = buildUnnamed2927();
o.productSearchResults =
buildGoogleCloudVisionV1p1beta1ProductSearchResults();
o.safeSearchAnnotation =
buildGoogleCloudVisionV1p1beta1SafeSearchAnnotation();
- o.textAnnotations = buildUnnamed2924();
+ o.textAnnotations = buildUnnamed2928();
o.webDetection = buildGoogleCloudVisionV1p1beta1WebDetection();
}
buildCounterGoogleCloudVisionV1p1beta1AnnotateImageResponse--;
@@ -1313,16 +1313,16 @@
checkGoogleCloudVisionV1p1beta1ImageAnnotationContext(o.context);
checkGoogleCloudVisionV1p1beta1CropHintsAnnotation(o.cropHintsAnnotation);
checkStatus(o.error);
- checkUnnamed2919(o.faceAnnotations);
+ checkUnnamed2923(o.faceAnnotations);
checkGoogleCloudVisionV1p1beta1TextAnnotation(o.fullTextAnnotation);
checkGoogleCloudVisionV1p1beta1ImageProperties(o.imagePropertiesAnnotation);
- checkUnnamed2920(o.labelAnnotations);
- checkUnnamed2921(o.landmarkAnnotations);
- checkUnnamed2922(o.localizedObjectAnnotations);
- checkUnnamed2923(o.logoAnnotations);
+ checkUnnamed2924(o.labelAnnotations);
+ checkUnnamed2925(o.landmarkAnnotations);
+ checkUnnamed2926(o.localizedObjectAnnotations);
+ checkUnnamed2927(o.logoAnnotations);
checkGoogleCloudVisionV1p1beta1ProductSearchResults(o.productSearchResults);
checkGoogleCloudVisionV1p1beta1SafeSearchAnnotation(o.safeSearchAnnotation);
- checkUnnamed2924(o.textAnnotations);
+ checkUnnamed2928(o.textAnnotations);
checkGoogleCloudVisionV1p1beta1WebDetection(o.webDetection);
}
buildCounterGoogleCloudVisionV1p1beta1AnnotateImageResponse--;
@@ -1348,7 +1348,7 @@
buildCounterGoogleCloudVisionV1p1beta1AsyncAnnotateFileResponse--;
}
-buildUnnamed2925() {
+buildUnnamed2929() {
var o =
new core.List<api.GoogleCloudVisionV1p1beta1AsyncAnnotateFileResponse>();
o.add(buildGoogleCloudVisionV1p1beta1AsyncAnnotateFileResponse());
@@ -1356,7 +1356,7 @@
return o;
}
-checkUnnamed2925(
+checkUnnamed2929(
core.List<api.GoogleCloudVisionV1p1beta1AsyncAnnotateFileResponse> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p1beta1AsyncAnnotateFileResponse(o[0]);
@@ -1370,7 +1370,7 @@
buildCounterGoogleCloudVisionV1p1beta1AsyncBatchAnnotateFilesResponse++;
if (buildCounterGoogleCloudVisionV1p1beta1AsyncBatchAnnotateFilesResponse <
3) {
- o.responses = buildUnnamed2925();
+ o.responses = buildUnnamed2929();
}
buildCounterGoogleCloudVisionV1p1beta1AsyncBatchAnnotateFilesResponse--;
return o;
@@ -1381,19 +1381,19 @@
buildCounterGoogleCloudVisionV1p1beta1AsyncBatchAnnotateFilesResponse++;
if (buildCounterGoogleCloudVisionV1p1beta1AsyncBatchAnnotateFilesResponse <
3) {
- checkUnnamed2925(o.responses);
+ checkUnnamed2929(o.responses);
}
buildCounterGoogleCloudVisionV1p1beta1AsyncBatchAnnotateFilesResponse--;
}
-buildUnnamed2926() {
+buildUnnamed2930() {
var o = new core.List<api.GoogleCloudVisionV1p1beta1Paragraph>();
o.add(buildGoogleCloudVisionV1p1beta1Paragraph());
o.add(buildGoogleCloudVisionV1p1beta1Paragraph());
return o;
}
-checkUnnamed2926(core.List<api.GoogleCloudVisionV1p1beta1Paragraph> o) {
+checkUnnamed2930(core.List<api.GoogleCloudVisionV1p1beta1Paragraph> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p1beta1Paragraph(o[0]);
checkGoogleCloudVisionV1p1beta1Paragraph(o[1]);
@@ -1407,7 +1407,7 @@
o.blockType = "foo";
o.boundingBox = buildGoogleCloudVisionV1p1beta1BoundingPoly();
o.confidence = 42.0;
- o.paragraphs = buildUnnamed2926();
+ o.paragraphs = buildUnnamed2930();
o.property = buildGoogleCloudVisionV1p1beta1TextAnnotationTextProperty();
}
buildCounterGoogleCloudVisionV1p1beta1Block--;
@@ -1420,33 +1420,33 @@
unittest.expect(o.blockType, unittest.equals('foo'));
checkGoogleCloudVisionV1p1beta1BoundingPoly(o.boundingBox);
unittest.expect(o.confidence, unittest.equals(42.0));
- checkUnnamed2926(o.paragraphs);
+ checkUnnamed2930(o.paragraphs);
checkGoogleCloudVisionV1p1beta1TextAnnotationTextProperty(o.property);
}
buildCounterGoogleCloudVisionV1p1beta1Block--;
}
-buildUnnamed2927() {
+buildUnnamed2931() {
var o = new core.List<api.GoogleCloudVisionV1p1beta1NormalizedVertex>();
o.add(buildGoogleCloudVisionV1p1beta1NormalizedVertex());
o.add(buildGoogleCloudVisionV1p1beta1NormalizedVertex());
return o;
}
-checkUnnamed2927(core.List<api.GoogleCloudVisionV1p1beta1NormalizedVertex> o) {
+checkUnnamed2931(core.List<api.GoogleCloudVisionV1p1beta1NormalizedVertex> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p1beta1NormalizedVertex(o[0]);
checkGoogleCloudVisionV1p1beta1NormalizedVertex(o[1]);
}
-buildUnnamed2928() {
+buildUnnamed2932() {
var o = new core.List<api.GoogleCloudVisionV1p1beta1Vertex>();
o.add(buildGoogleCloudVisionV1p1beta1Vertex());
o.add(buildGoogleCloudVisionV1p1beta1Vertex());
return o;
}
-checkUnnamed2928(core.List<api.GoogleCloudVisionV1p1beta1Vertex> o) {
+checkUnnamed2932(core.List<api.GoogleCloudVisionV1p1beta1Vertex> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p1beta1Vertex(o[0]);
checkGoogleCloudVisionV1p1beta1Vertex(o[1]);
@@ -1457,8 +1457,8 @@
var o = new api.GoogleCloudVisionV1p1beta1BoundingPoly();
buildCounterGoogleCloudVisionV1p1beta1BoundingPoly++;
if (buildCounterGoogleCloudVisionV1p1beta1BoundingPoly < 3) {
- o.normalizedVertices = buildUnnamed2927();
- o.vertices = buildUnnamed2928();
+ o.normalizedVertices = buildUnnamed2931();
+ o.vertices = buildUnnamed2932();
}
buildCounterGoogleCloudVisionV1p1beta1BoundingPoly--;
return o;
@@ -1468,8 +1468,8 @@
api.GoogleCloudVisionV1p1beta1BoundingPoly o) {
buildCounterGoogleCloudVisionV1p1beta1BoundingPoly++;
if (buildCounterGoogleCloudVisionV1p1beta1BoundingPoly < 3) {
- checkUnnamed2927(o.normalizedVertices);
- checkUnnamed2928(o.vertices);
+ checkUnnamed2931(o.normalizedVertices);
+ checkUnnamed2932(o.vertices);
}
buildCounterGoogleCloudVisionV1p1beta1BoundingPoly--;
}
@@ -1522,14 +1522,14 @@
buildCounterGoogleCloudVisionV1p1beta1CropHint--;
}
-buildUnnamed2929() {
+buildUnnamed2933() {
var o = new core.List<api.GoogleCloudVisionV1p1beta1CropHint>();
o.add(buildGoogleCloudVisionV1p1beta1CropHint());
o.add(buildGoogleCloudVisionV1p1beta1CropHint());
return o;
}
-checkUnnamed2929(core.List<api.GoogleCloudVisionV1p1beta1CropHint> o) {
+checkUnnamed2933(core.List<api.GoogleCloudVisionV1p1beta1CropHint> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p1beta1CropHint(o[0]);
checkGoogleCloudVisionV1p1beta1CropHint(o[1]);
@@ -1540,7 +1540,7 @@
var o = new api.GoogleCloudVisionV1p1beta1CropHintsAnnotation();
buildCounterGoogleCloudVisionV1p1beta1CropHintsAnnotation++;
if (buildCounterGoogleCloudVisionV1p1beta1CropHintsAnnotation < 3) {
- o.cropHints = buildUnnamed2929();
+ o.cropHints = buildUnnamed2933();
}
buildCounterGoogleCloudVisionV1p1beta1CropHintsAnnotation--;
return o;
@@ -1550,19 +1550,19 @@
api.GoogleCloudVisionV1p1beta1CropHintsAnnotation o) {
buildCounterGoogleCloudVisionV1p1beta1CropHintsAnnotation++;
if (buildCounterGoogleCloudVisionV1p1beta1CropHintsAnnotation < 3) {
- checkUnnamed2929(o.cropHints);
+ checkUnnamed2933(o.cropHints);
}
buildCounterGoogleCloudVisionV1p1beta1CropHintsAnnotation--;
}
-buildUnnamed2930() {
+buildUnnamed2934() {
var o = new core.List<api.GoogleCloudVisionV1p1beta1ColorInfo>();
o.add(buildGoogleCloudVisionV1p1beta1ColorInfo());
o.add(buildGoogleCloudVisionV1p1beta1ColorInfo());
return o;
}
-checkUnnamed2930(core.List<api.GoogleCloudVisionV1p1beta1ColorInfo> o) {
+checkUnnamed2934(core.List<api.GoogleCloudVisionV1p1beta1ColorInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p1beta1ColorInfo(o[0]);
checkGoogleCloudVisionV1p1beta1ColorInfo(o[1]);
@@ -1573,7 +1573,7 @@
var o = new api.GoogleCloudVisionV1p1beta1DominantColorsAnnotation();
buildCounterGoogleCloudVisionV1p1beta1DominantColorsAnnotation++;
if (buildCounterGoogleCloudVisionV1p1beta1DominantColorsAnnotation < 3) {
- o.colors = buildUnnamed2930();
+ o.colors = buildUnnamed2934();
}
buildCounterGoogleCloudVisionV1p1beta1DominantColorsAnnotation--;
return o;
@@ -1583,32 +1583,32 @@
api.GoogleCloudVisionV1p1beta1DominantColorsAnnotation o) {
buildCounterGoogleCloudVisionV1p1beta1DominantColorsAnnotation++;
if (buildCounterGoogleCloudVisionV1p1beta1DominantColorsAnnotation < 3) {
- checkUnnamed2930(o.colors);
+ checkUnnamed2934(o.colors);
}
buildCounterGoogleCloudVisionV1p1beta1DominantColorsAnnotation--;
}
-buildUnnamed2931() {
+buildUnnamed2935() {
var o = new core.List<api.GoogleCloudVisionV1p1beta1LocationInfo>();
o.add(buildGoogleCloudVisionV1p1beta1LocationInfo());
o.add(buildGoogleCloudVisionV1p1beta1LocationInfo());
return o;
}
-checkUnnamed2931(core.List<api.GoogleCloudVisionV1p1beta1LocationInfo> o) {
+checkUnnamed2935(core.List<api.GoogleCloudVisionV1p1beta1LocationInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p1beta1LocationInfo(o[0]);
checkGoogleCloudVisionV1p1beta1LocationInfo(o[1]);
}
-buildUnnamed2932() {
+buildUnnamed2936() {
var o = new core.List<api.GoogleCloudVisionV1p1beta1Property>();
o.add(buildGoogleCloudVisionV1p1beta1Property());
o.add(buildGoogleCloudVisionV1p1beta1Property());
return o;
}
-checkUnnamed2932(core.List<api.GoogleCloudVisionV1p1beta1Property> o) {
+checkUnnamed2936(core.List<api.GoogleCloudVisionV1p1beta1Property> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p1beta1Property(o[0]);
checkGoogleCloudVisionV1p1beta1Property(o[1]);
@@ -1623,9 +1623,9 @@
o.confidence = 42.0;
o.description = "foo";
o.locale = "foo";
- o.locations = buildUnnamed2931();
+ o.locations = buildUnnamed2935();
o.mid = "foo";
- o.properties = buildUnnamed2932();
+ o.properties = buildUnnamed2936();
o.score = 42.0;
o.topicality = 42.0;
}
@@ -1641,23 +1641,23 @@
unittest.expect(o.confidence, unittest.equals(42.0));
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.locale, unittest.equals('foo'));
- checkUnnamed2931(o.locations);
+ checkUnnamed2935(o.locations);
unittest.expect(o.mid, unittest.equals('foo'));
- checkUnnamed2932(o.properties);
+ checkUnnamed2936(o.properties);
unittest.expect(o.score, unittest.equals(42.0));
unittest.expect(o.topicality, unittest.equals(42.0));
}
buildCounterGoogleCloudVisionV1p1beta1EntityAnnotation--;
}
-buildUnnamed2933() {
+buildUnnamed2937() {
var o = new core.List<api.GoogleCloudVisionV1p1beta1FaceAnnotationLandmark>();
o.add(buildGoogleCloudVisionV1p1beta1FaceAnnotationLandmark());
o.add(buildGoogleCloudVisionV1p1beta1FaceAnnotationLandmark());
return o;
}
-checkUnnamed2933(
+checkUnnamed2937(
core.List<api.GoogleCloudVisionV1p1beta1FaceAnnotationLandmark> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p1beta1FaceAnnotationLandmark(o[0]);
@@ -1677,7 +1677,7 @@
o.headwearLikelihood = "foo";
o.joyLikelihood = "foo";
o.landmarkingConfidence = 42.0;
- o.landmarks = buildUnnamed2933();
+ o.landmarks = buildUnnamed2937();
o.panAngle = 42.0;
o.rollAngle = 42.0;
o.sorrowLikelihood = "foo";
@@ -1701,7 +1701,7 @@
unittest.expect(o.headwearLikelihood, unittest.equals('foo'));
unittest.expect(o.joyLikelihood, unittest.equals('foo'));
unittest.expect(o.landmarkingConfidence, unittest.equals(42.0));
- checkUnnamed2933(o.landmarks);
+ checkUnnamed2937(o.landmarks);
unittest.expect(o.panAngle, unittest.equals(42.0));
unittest.expect(o.rollAngle, unittest.equals(42.0));
unittest.expect(o.sorrowLikelihood, unittest.equals('foo'));
@@ -1957,14 +1957,14 @@
buildCounterGoogleCloudVisionV1p1beta1OutputConfig--;
}
-buildUnnamed2934() {
+buildUnnamed2938() {
var o = new core.List<api.GoogleCloudVisionV1p1beta1Block>();
o.add(buildGoogleCloudVisionV1p1beta1Block());
o.add(buildGoogleCloudVisionV1p1beta1Block());
return o;
}
-checkUnnamed2934(core.List<api.GoogleCloudVisionV1p1beta1Block> o) {
+checkUnnamed2938(core.List<api.GoogleCloudVisionV1p1beta1Block> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p1beta1Block(o[0]);
checkGoogleCloudVisionV1p1beta1Block(o[1]);
@@ -1975,7 +1975,7 @@
var o = new api.GoogleCloudVisionV1p1beta1Page();
buildCounterGoogleCloudVisionV1p1beta1Page++;
if (buildCounterGoogleCloudVisionV1p1beta1Page < 3) {
- o.blocks = buildUnnamed2934();
+ o.blocks = buildUnnamed2938();
o.confidence = 42.0;
o.height = 42;
o.property = buildGoogleCloudVisionV1p1beta1TextAnnotationTextProperty();
@@ -1988,7 +1988,7 @@
checkGoogleCloudVisionV1p1beta1Page(api.GoogleCloudVisionV1p1beta1Page o) {
buildCounterGoogleCloudVisionV1p1beta1Page++;
if (buildCounterGoogleCloudVisionV1p1beta1Page < 3) {
- checkUnnamed2934(o.blocks);
+ checkUnnamed2938(o.blocks);
unittest.expect(o.confidence, unittest.equals(42.0));
unittest.expect(o.height, unittest.equals(42));
checkGoogleCloudVisionV1p1beta1TextAnnotationTextProperty(o.property);
@@ -1997,14 +1997,14 @@
buildCounterGoogleCloudVisionV1p1beta1Page--;
}
-buildUnnamed2935() {
+buildUnnamed2939() {
var o = new core.List<api.GoogleCloudVisionV1p1beta1Word>();
o.add(buildGoogleCloudVisionV1p1beta1Word());
o.add(buildGoogleCloudVisionV1p1beta1Word());
return o;
}
-checkUnnamed2935(core.List<api.GoogleCloudVisionV1p1beta1Word> o) {
+checkUnnamed2939(core.List<api.GoogleCloudVisionV1p1beta1Word> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p1beta1Word(o[0]);
checkGoogleCloudVisionV1p1beta1Word(o[1]);
@@ -2018,7 +2018,7 @@
o.boundingBox = buildGoogleCloudVisionV1p1beta1BoundingPoly();
o.confidence = 42.0;
o.property = buildGoogleCloudVisionV1p1beta1TextAnnotationTextProperty();
- o.words = buildUnnamed2935();
+ o.words = buildUnnamed2939();
}
buildCounterGoogleCloudVisionV1p1beta1Paragraph--;
return o;
@@ -2031,7 +2031,7 @@
checkGoogleCloudVisionV1p1beta1BoundingPoly(o.boundingBox);
unittest.expect(o.confidence, unittest.equals(42.0));
checkGoogleCloudVisionV1p1beta1TextAnnotationTextProperty(o.property);
- checkUnnamed2935(o.words);
+ checkUnnamed2939(o.words);
}
buildCounterGoogleCloudVisionV1p1beta1Paragraph--;
}
@@ -2060,14 +2060,14 @@
buildCounterGoogleCloudVisionV1p1beta1Position--;
}
-buildUnnamed2936() {
+buildUnnamed2940() {
var o = new core.List<api.GoogleCloudVisionV1p1beta1ProductKeyValue>();
o.add(buildGoogleCloudVisionV1p1beta1ProductKeyValue());
o.add(buildGoogleCloudVisionV1p1beta1ProductKeyValue());
return o;
}
-checkUnnamed2936(core.List<api.GoogleCloudVisionV1p1beta1ProductKeyValue> o) {
+checkUnnamed2940(core.List<api.GoogleCloudVisionV1p1beta1ProductKeyValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p1beta1ProductKeyValue(o[0]);
checkGoogleCloudVisionV1p1beta1ProductKeyValue(o[1]);
@@ -2082,7 +2082,7 @@
o.displayName = "foo";
o.name = "foo";
o.productCategory = "foo";
- o.productLabels = buildUnnamed2936();
+ o.productLabels = buildUnnamed2940();
}
buildCounterGoogleCloudVisionV1p1beta1Product--;
return o;
@@ -2096,7 +2096,7 @@
unittest.expect(o.displayName, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.productCategory, unittest.equals('foo'));
- checkUnnamed2936(o.productLabels);
+ checkUnnamed2940(o.productLabels);
}
buildCounterGoogleCloudVisionV1p1beta1Product--;
}
@@ -2123,7 +2123,7 @@
buildCounterGoogleCloudVisionV1p1beta1ProductKeyValue--;
}
-buildUnnamed2937() {
+buildUnnamed2941() {
var o = new core
.List<api.GoogleCloudVisionV1p1beta1ProductSearchResultsGroupedResult>();
o.add(buildGoogleCloudVisionV1p1beta1ProductSearchResultsGroupedResult());
@@ -2131,7 +2131,7 @@
return o;
}
-checkUnnamed2937(
+checkUnnamed2941(
core.List<api.GoogleCloudVisionV1p1beta1ProductSearchResultsGroupedResult>
o) {
unittest.expect(o, unittest.hasLength(2));
@@ -2139,7 +2139,7 @@
checkGoogleCloudVisionV1p1beta1ProductSearchResultsGroupedResult(o[1]);
}
-buildUnnamed2938() {
+buildUnnamed2942() {
var o =
new core.List<api.GoogleCloudVisionV1p1beta1ProductSearchResultsResult>();
o.add(buildGoogleCloudVisionV1p1beta1ProductSearchResultsResult());
@@ -2147,7 +2147,7 @@
return o;
}
-checkUnnamed2938(
+checkUnnamed2942(
core.List<api.GoogleCloudVisionV1p1beta1ProductSearchResultsResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p1beta1ProductSearchResultsResult(o[0]);
@@ -2160,8 +2160,8 @@
buildCounterGoogleCloudVisionV1p1beta1ProductSearchResults++;
if (buildCounterGoogleCloudVisionV1p1beta1ProductSearchResults < 3) {
o.indexTime = "foo";
- o.productGroupedResults = buildUnnamed2937();
- o.results = buildUnnamed2938();
+ o.productGroupedResults = buildUnnamed2941();
+ o.results = buildUnnamed2942();
}
buildCounterGoogleCloudVisionV1p1beta1ProductSearchResults--;
return o;
@@ -2172,13 +2172,13 @@
buildCounterGoogleCloudVisionV1p1beta1ProductSearchResults++;
if (buildCounterGoogleCloudVisionV1p1beta1ProductSearchResults < 3) {
unittest.expect(o.indexTime, unittest.equals('foo'));
- checkUnnamed2937(o.productGroupedResults);
- checkUnnamed2938(o.results);
+ checkUnnamed2941(o.productGroupedResults);
+ checkUnnamed2942(o.results);
}
buildCounterGoogleCloudVisionV1p1beta1ProductSearchResults--;
}
-buildUnnamed2939() {
+buildUnnamed2943() {
var o = new core.List<
api.GoogleCloudVisionV1p1beta1ProductSearchResultsObjectAnnotation>();
o.add(buildGoogleCloudVisionV1p1beta1ProductSearchResultsObjectAnnotation());
@@ -2186,7 +2186,7 @@
return o;
}
-checkUnnamed2939(
+checkUnnamed2943(
core.List<
api.GoogleCloudVisionV1p1beta1ProductSearchResultsObjectAnnotation>
o) {
@@ -2195,7 +2195,7 @@
checkGoogleCloudVisionV1p1beta1ProductSearchResultsObjectAnnotation(o[1]);
}
-buildUnnamed2940() {
+buildUnnamed2944() {
var o =
new core.List<api.GoogleCloudVisionV1p1beta1ProductSearchResultsResult>();
o.add(buildGoogleCloudVisionV1p1beta1ProductSearchResultsResult());
@@ -2203,7 +2203,7 @@
return o;
}
-checkUnnamed2940(
+checkUnnamed2944(
core.List<api.GoogleCloudVisionV1p1beta1ProductSearchResultsResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p1beta1ProductSearchResultsResult(o[0]);
@@ -2218,8 +2218,8 @@
if (buildCounterGoogleCloudVisionV1p1beta1ProductSearchResultsGroupedResult <
3) {
o.boundingPoly = buildGoogleCloudVisionV1p1beta1BoundingPoly();
- o.objectAnnotations = buildUnnamed2939();
- o.results = buildUnnamed2940();
+ o.objectAnnotations = buildUnnamed2943();
+ o.results = buildUnnamed2944();
}
buildCounterGoogleCloudVisionV1p1beta1ProductSearchResultsGroupedResult--;
return o;
@@ -2231,8 +2231,8 @@
if (buildCounterGoogleCloudVisionV1p1beta1ProductSearchResultsGroupedResult <
3) {
checkGoogleCloudVisionV1p1beta1BoundingPoly(o.boundingPoly);
- checkUnnamed2939(o.objectAnnotations);
- checkUnnamed2940(o.results);
+ checkUnnamed2943(o.objectAnnotations);
+ checkUnnamed2944(o.results);
}
buildCounterGoogleCloudVisionV1p1beta1ProductSearchResultsGroupedResult--;
}
@@ -2369,14 +2369,14 @@
buildCounterGoogleCloudVisionV1p1beta1Symbol--;
}
-buildUnnamed2941() {
+buildUnnamed2945() {
var o = new core.List<api.GoogleCloudVisionV1p1beta1Page>();
o.add(buildGoogleCloudVisionV1p1beta1Page());
o.add(buildGoogleCloudVisionV1p1beta1Page());
return o;
}
-checkUnnamed2941(core.List<api.GoogleCloudVisionV1p1beta1Page> o) {
+checkUnnamed2945(core.List<api.GoogleCloudVisionV1p1beta1Page> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p1beta1Page(o[0]);
checkGoogleCloudVisionV1p1beta1Page(o[1]);
@@ -2387,7 +2387,7 @@
var o = new api.GoogleCloudVisionV1p1beta1TextAnnotation();
buildCounterGoogleCloudVisionV1p1beta1TextAnnotation++;
if (buildCounterGoogleCloudVisionV1p1beta1TextAnnotation < 3) {
- o.pages = buildUnnamed2941();
+ o.pages = buildUnnamed2945();
o.text = "foo";
}
buildCounterGoogleCloudVisionV1p1beta1TextAnnotation--;
@@ -2398,7 +2398,7 @@
api.GoogleCloudVisionV1p1beta1TextAnnotation o) {
buildCounterGoogleCloudVisionV1p1beta1TextAnnotation++;
if (buildCounterGoogleCloudVisionV1p1beta1TextAnnotation < 3) {
- checkUnnamed2941(o.pages);
+ checkUnnamed2945(o.pages);
unittest.expect(o.text, unittest.equals('foo'));
}
buildCounterGoogleCloudVisionV1p1beta1TextAnnotation--;
@@ -2451,7 +2451,7 @@
buildCounterGoogleCloudVisionV1p1beta1TextAnnotationDetectedLanguage--;
}
-buildUnnamed2942() {
+buildUnnamed2946() {
var o = new core
.List<api.GoogleCloudVisionV1p1beta1TextAnnotationDetectedLanguage>();
o.add(buildGoogleCloudVisionV1p1beta1TextAnnotationDetectedLanguage());
@@ -2459,7 +2459,7 @@
return o;
}
-checkUnnamed2942(
+checkUnnamed2946(
core.List<api.GoogleCloudVisionV1p1beta1TextAnnotationDetectedLanguage> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p1beta1TextAnnotationDetectedLanguage(o[0]);
@@ -2473,7 +2473,7 @@
if (buildCounterGoogleCloudVisionV1p1beta1TextAnnotationTextProperty < 3) {
o.detectedBreak =
buildGoogleCloudVisionV1p1beta1TextAnnotationDetectedBreak();
- o.detectedLanguages = buildUnnamed2942();
+ o.detectedLanguages = buildUnnamed2946();
}
buildCounterGoogleCloudVisionV1p1beta1TextAnnotationTextProperty--;
return o;
@@ -2484,7 +2484,7 @@
buildCounterGoogleCloudVisionV1p1beta1TextAnnotationTextProperty++;
if (buildCounterGoogleCloudVisionV1p1beta1TextAnnotationTextProperty < 3) {
checkGoogleCloudVisionV1p1beta1TextAnnotationDetectedBreak(o.detectedBreak);
- checkUnnamed2942(o.detectedLanguages);
+ checkUnnamed2946(o.detectedLanguages);
}
buildCounterGoogleCloudVisionV1p1beta1TextAnnotationTextProperty--;
}
@@ -2510,84 +2510,84 @@
buildCounterGoogleCloudVisionV1p1beta1Vertex--;
}
-buildUnnamed2943() {
+buildUnnamed2947() {
var o = new core.List<api.GoogleCloudVisionV1p1beta1WebDetectionWebLabel>();
o.add(buildGoogleCloudVisionV1p1beta1WebDetectionWebLabel());
o.add(buildGoogleCloudVisionV1p1beta1WebDetectionWebLabel());
return o;
}
-checkUnnamed2943(
+checkUnnamed2947(
core.List<api.GoogleCloudVisionV1p1beta1WebDetectionWebLabel> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p1beta1WebDetectionWebLabel(o[0]);
checkGoogleCloudVisionV1p1beta1WebDetectionWebLabel(o[1]);
}
-buildUnnamed2944() {
+buildUnnamed2948() {
var o = new core.List<api.GoogleCloudVisionV1p1beta1WebDetectionWebImage>();
o.add(buildGoogleCloudVisionV1p1beta1WebDetectionWebImage());
o.add(buildGoogleCloudVisionV1p1beta1WebDetectionWebImage());
return o;
}
-checkUnnamed2944(
+checkUnnamed2948(
core.List<api.GoogleCloudVisionV1p1beta1WebDetectionWebImage> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p1beta1WebDetectionWebImage(o[0]);
checkGoogleCloudVisionV1p1beta1WebDetectionWebImage(o[1]);
}
-buildUnnamed2945() {
+buildUnnamed2949() {
var o = new core.List<api.GoogleCloudVisionV1p1beta1WebDetectionWebPage>();
o.add(buildGoogleCloudVisionV1p1beta1WebDetectionWebPage());
o.add(buildGoogleCloudVisionV1p1beta1WebDetectionWebPage());
return o;
}
-checkUnnamed2945(
+checkUnnamed2949(
core.List<api.GoogleCloudVisionV1p1beta1WebDetectionWebPage> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p1beta1WebDetectionWebPage(o[0]);
checkGoogleCloudVisionV1p1beta1WebDetectionWebPage(o[1]);
}
-buildUnnamed2946() {
+buildUnnamed2950() {
var o = new core.List<api.GoogleCloudVisionV1p1beta1WebDetectionWebImage>();
o.add(buildGoogleCloudVisionV1p1beta1WebDetectionWebImage());
o.add(buildGoogleCloudVisionV1p1beta1WebDetectionWebImage());
return o;
}
-checkUnnamed2946(
+checkUnnamed2950(
core.List<api.GoogleCloudVisionV1p1beta1WebDetectionWebImage> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p1beta1WebDetectionWebImage(o[0]);
checkGoogleCloudVisionV1p1beta1WebDetectionWebImage(o[1]);
}
-buildUnnamed2947() {
+buildUnnamed2951() {
var o = new core.List<api.GoogleCloudVisionV1p1beta1WebDetectionWebImage>();
o.add(buildGoogleCloudVisionV1p1beta1WebDetectionWebImage());
o.add(buildGoogleCloudVisionV1p1beta1WebDetectionWebImage());
return o;
}
-checkUnnamed2947(
+checkUnnamed2951(
core.List<api.GoogleCloudVisionV1p1beta1WebDetectionWebImage> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p1beta1WebDetectionWebImage(o[0]);
checkGoogleCloudVisionV1p1beta1WebDetectionWebImage(o[1]);
}
-buildUnnamed2948() {
+buildUnnamed2952() {
var o = new core.List<api.GoogleCloudVisionV1p1beta1WebDetectionWebEntity>();
o.add(buildGoogleCloudVisionV1p1beta1WebDetectionWebEntity());
o.add(buildGoogleCloudVisionV1p1beta1WebDetectionWebEntity());
return o;
}
-checkUnnamed2948(
+checkUnnamed2952(
core.List<api.GoogleCloudVisionV1p1beta1WebDetectionWebEntity> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p1beta1WebDetectionWebEntity(o[0]);
@@ -2599,12 +2599,12 @@
var o = new api.GoogleCloudVisionV1p1beta1WebDetection();
buildCounterGoogleCloudVisionV1p1beta1WebDetection++;
if (buildCounterGoogleCloudVisionV1p1beta1WebDetection < 3) {
- o.bestGuessLabels = buildUnnamed2943();
- o.fullMatchingImages = buildUnnamed2944();
- o.pagesWithMatchingImages = buildUnnamed2945();
- o.partialMatchingImages = buildUnnamed2946();
- o.visuallySimilarImages = buildUnnamed2947();
- o.webEntities = buildUnnamed2948();
+ o.bestGuessLabels = buildUnnamed2947();
+ o.fullMatchingImages = buildUnnamed2948();
+ o.pagesWithMatchingImages = buildUnnamed2949();
+ o.partialMatchingImages = buildUnnamed2950();
+ o.visuallySimilarImages = buildUnnamed2951();
+ o.webEntities = buildUnnamed2952();
}
buildCounterGoogleCloudVisionV1p1beta1WebDetection--;
return o;
@@ -2614,12 +2614,12 @@
api.GoogleCloudVisionV1p1beta1WebDetection o) {
buildCounterGoogleCloudVisionV1p1beta1WebDetection++;
if (buildCounterGoogleCloudVisionV1p1beta1WebDetection < 3) {
- checkUnnamed2943(o.bestGuessLabels);
- checkUnnamed2944(o.fullMatchingImages);
- checkUnnamed2945(o.pagesWithMatchingImages);
- checkUnnamed2946(o.partialMatchingImages);
- checkUnnamed2947(o.visuallySimilarImages);
- checkUnnamed2948(o.webEntities);
+ checkUnnamed2947(o.bestGuessLabels);
+ checkUnnamed2948(o.fullMatchingImages);
+ checkUnnamed2949(o.pagesWithMatchingImages);
+ checkUnnamed2950(o.partialMatchingImages);
+ checkUnnamed2951(o.visuallySimilarImages);
+ checkUnnamed2952(o.webEntities);
}
buildCounterGoogleCloudVisionV1p1beta1WebDetection--;
}
@@ -2692,28 +2692,28 @@
buildCounterGoogleCloudVisionV1p1beta1WebDetectionWebLabel--;
}
-buildUnnamed2949() {
+buildUnnamed2953() {
var o = new core.List<api.GoogleCloudVisionV1p1beta1WebDetectionWebImage>();
o.add(buildGoogleCloudVisionV1p1beta1WebDetectionWebImage());
o.add(buildGoogleCloudVisionV1p1beta1WebDetectionWebImage());
return o;
}
-checkUnnamed2949(
+checkUnnamed2953(
core.List<api.GoogleCloudVisionV1p1beta1WebDetectionWebImage> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p1beta1WebDetectionWebImage(o[0]);
checkGoogleCloudVisionV1p1beta1WebDetectionWebImage(o[1]);
}
-buildUnnamed2950() {
+buildUnnamed2954() {
var o = new core.List<api.GoogleCloudVisionV1p1beta1WebDetectionWebImage>();
o.add(buildGoogleCloudVisionV1p1beta1WebDetectionWebImage());
o.add(buildGoogleCloudVisionV1p1beta1WebDetectionWebImage());
return o;
}
-checkUnnamed2950(
+checkUnnamed2954(
core.List<api.GoogleCloudVisionV1p1beta1WebDetectionWebImage> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p1beta1WebDetectionWebImage(o[0]);
@@ -2725,9 +2725,9 @@
var o = new api.GoogleCloudVisionV1p1beta1WebDetectionWebPage();
buildCounterGoogleCloudVisionV1p1beta1WebDetectionWebPage++;
if (buildCounterGoogleCloudVisionV1p1beta1WebDetectionWebPage < 3) {
- o.fullMatchingImages = buildUnnamed2949();
+ o.fullMatchingImages = buildUnnamed2953();
o.pageTitle = "foo";
- o.partialMatchingImages = buildUnnamed2950();
+ o.partialMatchingImages = buildUnnamed2954();
o.score = 42.0;
o.url = "foo";
}
@@ -2739,23 +2739,23 @@
api.GoogleCloudVisionV1p1beta1WebDetectionWebPage o) {
buildCounterGoogleCloudVisionV1p1beta1WebDetectionWebPage++;
if (buildCounterGoogleCloudVisionV1p1beta1WebDetectionWebPage < 3) {
- checkUnnamed2949(o.fullMatchingImages);
+ checkUnnamed2953(o.fullMatchingImages);
unittest.expect(o.pageTitle, unittest.equals('foo'));
- checkUnnamed2950(o.partialMatchingImages);
+ checkUnnamed2954(o.partialMatchingImages);
unittest.expect(o.score, unittest.equals(42.0));
unittest.expect(o.url, unittest.equals('foo'));
}
buildCounterGoogleCloudVisionV1p1beta1WebDetectionWebPage--;
}
-buildUnnamed2951() {
+buildUnnamed2955() {
var o = new core.List<api.GoogleCloudVisionV1p1beta1Symbol>();
o.add(buildGoogleCloudVisionV1p1beta1Symbol());
o.add(buildGoogleCloudVisionV1p1beta1Symbol());
return o;
}
-checkUnnamed2951(core.List<api.GoogleCloudVisionV1p1beta1Symbol> o) {
+checkUnnamed2955(core.List<api.GoogleCloudVisionV1p1beta1Symbol> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p1beta1Symbol(o[0]);
checkGoogleCloudVisionV1p1beta1Symbol(o[1]);
@@ -2769,7 +2769,7 @@
o.boundingBox = buildGoogleCloudVisionV1p1beta1BoundingPoly();
o.confidence = 42.0;
o.property = buildGoogleCloudVisionV1p1beta1TextAnnotationTextProperty();
- o.symbols = buildUnnamed2951();
+ o.symbols = buildUnnamed2955();
}
buildCounterGoogleCloudVisionV1p1beta1Word--;
return o;
@@ -2781,19 +2781,19 @@
checkGoogleCloudVisionV1p1beta1BoundingPoly(o.boundingBox);
unittest.expect(o.confidence, unittest.equals(42.0));
checkGoogleCloudVisionV1p1beta1TextAnnotationTextProperty(o.property);
- checkUnnamed2951(o.symbols);
+ checkUnnamed2955(o.symbols);
}
buildCounterGoogleCloudVisionV1p1beta1Word--;
}
-buildUnnamed2952() {
+buildUnnamed2956() {
var o = new core.List<api.GoogleCloudVisionV1p2beta1AnnotateImageResponse>();
o.add(buildGoogleCloudVisionV1p2beta1AnnotateImageResponse());
o.add(buildGoogleCloudVisionV1p2beta1AnnotateImageResponse());
return o;
}
-checkUnnamed2952(
+checkUnnamed2956(
core.List<api.GoogleCloudVisionV1p2beta1AnnotateImageResponse> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p2beta1AnnotateImageResponse(o[0]);
@@ -2807,7 +2807,7 @@
if (buildCounterGoogleCloudVisionV1p2beta1AnnotateFileResponse < 3) {
o.error = buildStatus();
o.inputConfig = buildGoogleCloudVisionV1p2beta1InputConfig();
- o.responses = buildUnnamed2952();
+ o.responses = buildUnnamed2956();
o.totalPages = 42;
}
buildCounterGoogleCloudVisionV1p2beta1AnnotateFileResponse--;
@@ -2820,79 +2820,25 @@
if (buildCounterGoogleCloudVisionV1p2beta1AnnotateFileResponse < 3) {
checkStatus(o.error);
checkGoogleCloudVisionV1p2beta1InputConfig(o.inputConfig);
- checkUnnamed2952(o.responses);
+ checkUnnamed2956(o.responses);
unittest.expect(o.totalPages, unittest.equals(42));
}
buildCounterGoogleCloudVisionV1p2beta1AnnotateFileResponse--;
}
-buildUnnamed2953() {
+buildUnnamed2957() {
var o = new core.List<api.GoogleCloudVisionV1p2beta1FaceAnnotation>();
o.add(buildGoogleCloudVisionV1p2beta1FaceAnnotation());
o.add(buildGoogleCloudVisionV1p2beta1FaceAnnotation());
return o;
}
-checkUnnamed2953(core.List<api.GoogleCloudVisionV1p2beta1FaceAnnotation> o) {
+checkUnnamed2957(core.List<api.GoogleCloudVisionV1p2beta1FaceAnnotation> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p2beta1FaceAnnotation(o[0]);
checkGoogleCloudVisionV1p2beta1FaceAnnotation(o[1]);
}
-buildUnnamed2954() {
- var o = new core.List<api.GoogleCloudVisionV1p2beta1EntityAnnotation>();
- o.add(buildGoogleCloudVisionV1p2beta1EntityAnnotation());
- o.add(buildGoogleCloudVisionV1p2beta1EntityAnnotation());
- return o;
-}
-
-checkUnnamed2954(core.List<api.GoogleCloudVisionV1p2beta1EntityAnnotation> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkGoogleCloudVisionV1p2beta1EntityAnnotation(o[0]);
- checkGoogleCloudVisionV1p2beta1EntityAnnotation(o[1]);
-}
-
-buildUnnamed2955() {
- var o = new core.List<api.GoogleCloudVisionV1p2beta1EntityAnnotation>();
- o.add(buildGoogleCloudVisionV1p2beta1EntityAnnotation());
- o.add(buildGoogleCloudVisionV1p2beta1EntityAnnotation());
- return o;
-}
-
-checkUnnamed2955(core.List<api.GoogleCloudVisionV1p2beta1EntityAnnotation> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkGoogleCloudVisionV1p2beta1EntityAnnotation(o[0]);
- checkGoogleCloudVisionV1p2beta1EntityAnnotation(o[1]);
-}
-
-buildUnnamed2956() {
- var o =
- new core.List<api.GoogleCloudVisionV1p2beta1LocalizedObjectAnnotation>();
- o.add(buildGoogleCloudVisionV1p2beta1LocalizedObjectAnnotation());
- o.add(buildGoogleCloudVisionV1p2beta1LocalizedObjectAnnotation());
- return o;
-}
-
-checkUnnamed2956(
- core.List<api.GoogleCloudVisionV1p2beta1LocalizedObjectAnnotation> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkGoogleCloudVisionV1p2beta1LocalizedObjectAnnotation(o[0]);
- checkGoogleCloudVisionV1p2beta1LocalizedObjectAnnotation(o[1]);
-}
-
-buildUnnamed2957() {
- var o = new core.List<api.GoogleCloudVisionV1p2beta1EntityAnnotation>();
- o.add(buildGoogleCloudVisionV1p2beta1EntityAnnotation());
- o.add(buildGoogleCloudVisionV1p2beta1EntityAnnotation());
- return o;
-}
-
-checkUnnamed2957(core.List<api.GoogleCloudVisionV1p2beta1EntityAnnotation> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkGoogleCloudVisionV1p2beta1EntityAnnotation(o[0]);
- checkGoogleCloudVisionV1p2beta1EntityAnnotation(o[1]);
-}
-
buildUnnamed2958() {
var o = new core.List<api.GoogleCloudVisionV1p2beta1EntityAnnotation>();
o.add(buildGoogleCloudVisionV1p2beta1EntityAnnotation());
@@ -2906,6 +2852,60 @@
checkGoogleCloudVisionV1p2beta1EntityAnnotation(o[1]);
}
+buildUnnamed2959() {
+ var o = new core.List<api.GoogleCloudVisionV1p2beta1EntityAnnotation>();
+ o.add(buildGoogleCloudVisionV1p2beta1EntityAnnotation());
+ o.add(buildGoogleCloudVisionV1p2beta1EntityAnnotation());
+ return o;
+}
+
+checkUnnamed2959(core.List<api.GoogleCloudVisionV1p2beta1EntityAnnotation> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkGoogleCloudVisionV1p2beta1EntityAnnotation(o[0]);
+ checkGoogleCloudVisionV1p2beta1EntityAnnotation(o[1]);
+}
+
+buildUnnamed2960() {
+ var o =
+ new core.List<api.GoogleCloudVisionV1p2beta1LocalizedObjectAnnotation>();
+ o.add(buildGoogleCloudVisionV1p2beta1LocalizedObjectAnnotation());
+ o.add(buildGoogleCloudVisionV1p2beta1LocalizedObjectAnnotation());
+ return o;
+}
+
+checkUnnamed2960(
+ core.List<api.GoogleCloudVisionV1p2beta1LocalizedObjectAnnotation> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkGoogleCloudVisionV1p2beta1LocalizedObjectAnnotation(o[0]);
+ checkGoogleCloudVisionV1p2beta1LocalizedObjectAnnotation(o[1]);
+}
+
+buildUnnamed2961() {
+ var o = new core.List<api.GoogleCloudVisionV1p2beta1EntityAnnotation>();
+ o.add(buildGoogleCloudVisionV1p2beta1EntityAnnotation());
+ o.add(buildGoogleCloudVisionV1p2beta1EntityAnnotation());
+ return o;
+}
+
+checkUnnamed2961(core.List<api.GoogleCloudVisionV1p2beta1EntityAnnotation> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkGoogleCloudVisionV1p2beta1EntityAnnotation(o[0]);
+ checkGoogleCloudVisionV1p2beta1EntityAnnotation(o[1]);
+}
+
+buildUnnamed2962() {
+ var o = new core.List<api.GoogleCloudVisionV1p2beta1EntityAnnotation>();
+ o.add(buildGoogleCloudVisionV1p2beta1EntityAnnotation());
+ o.add(buildGoogleCloudVisionV1p2beta1EntityAnnotation());
+ return o;
+}
+
+checkUnnamed2962(core.List<api.GoogleCloudVisionV1p2beta1EntityAnnotation> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkGoogleCloudVisionV1p2beta1EntityAnnotation(o[0]);
+ checkGoogleCloudVisionV1p2beta1EntityAnnotation(o[1]);
+}
+
core.int buildCounterGoogleCloudVisionV1p2beta1AnnotateImageResponse = 0;
buildGoogleCloudVisionV1p2beta1AnnotateImageResponse() {
var o = new api.GoogleCloudVisionV1p2beta1AnnotateImageResponse();
@@ -2915,19 +2915,19 @@
o.cropHintsAnnotation =
buildGoogleCloudVisionV1p2beta1CropHintsAnnotation();
o.error = buildStatus();
- o.faceAnnotations = buildUnnamed2953();
+ o.faceAnnotations = buildUnnamed2957();
o.fullTextAnnotation = buildGoogleCloudVisionV1p2beta1TextAnnotation();
o.imagePropertiesAnnotation =
buildGoogleCloudVisionV1p2beta1ImageProperties();
- o.labelAnnotations = buildUnnamed2954();
- o.landmarkAnnotations = buildUnnamed2955();
- o.localizedObjectAnnotations = buildUnnamed2956();
- o.logoAnnotations = buildUnnamed2957();
+ o.labelAnnotations = buildUnnamed2958();
+ o.landmarkAnnotations = buildUnnamed2959();
+ o.localizedObjectAnnotations = buildUnnamed2960();
+ o.logoAnnotations = buildUnnamed2961();
o.productSearchResults =
buildGoogleCloudVisionV1p2beta1ProductSearchResults();
o.safeSearchAnnotation =
buildGoogleCloudVisionV1p2beta1SafeSearchAnnotation();
- o.textAnnotations = buildUnnamed2958();
+ o.textAnnotations = buildUnnamed2962();
o.webDetection = buildGoogleCloudVisionV1p2beta1WebDetection();
}
buildCounterGoogleCloudVisionV1p2beta1AnnotateImageResponse--;
@@ -2941,16 +2941,16 @@
checkGoogleCloudVisionV1p2beta1ImageAnnotationContext(o.context);
checkGoogleCloudVisionV1p2beta1CropHintsAnnotation(o.cropHintsAnnotation);
checkStatus(o.error);
- checkUnnamed2953(o.faceAnnotations);
+ checkUnnamed2957(o.faceAnnotations);
checkGoogleCloudVisionV1p2beta1TextAnnotation(o.fullTextAnnotation);
checkGoogleCloudVisionV1p2beta1ImageProperties(o.imagePropertiesAnnotation);
- checkUnnamed2954(o.labelAnnotations);
- checkUnnamed2955(o.landmarkAnnotations);
- checkUnnamed2956(o.localizedObjectAnnotations);
- checkUnnamed2957(o.logoAnnotations);
+ checkUnnamed2958(o.labelAnnotations);
+ checkUnnamed2959(o.landmarkAnnotations);
+ checkUnnamed2960(o.localizedObjectAnnotations);
+ checkUnnamed2961(o.logoAnnotations);
checkGoogleCloudVisionV1p2beta1ProductSearchResults(o.productSearchResults);
checkGoogleCloudVisionV1p2beta1SafeSearchAnnotation(o.safeSearchAnnotation);
- checkUnnamed2958(o.textAnnotations);
+ checkUnnamed2962(o.textAnnotations);
checkGoogleCloudVisionV1p2beta1WebDetection(o.webDetection);
}
buildCounterGoogleCloudVisionV1p2beta1AnnotateImageResponse--;
@@ -2976,7 +2976,7 @@
buildCounterGoogleCloudVisionV1p2beta1AsyncAnnotateFileResponse--;
}
-buildUnnamed2959() {
+buildUnnamed2963() {
var o =
new core.List<api.GoogleCloudVisionV1p2beta1AsyncAnnotateFileResponse>();
o.add(buildGoogleCloudVisionV1p2beta1AsyncAnnotateFileResponse());
@@ -2984,7 +2984,7 @@
return o;
}
-checkUnnamed2959(
+checkUnnamed2963(
core.List<api.GoogleCloudVisionV1p2beta1AsyncAnnotateFileResponse> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p2beta1AsyncAnnotateFileResponse(o[0]);
@@ -2998,7 +2998,7 @@
buildCounterGoogleCloudVisionV1p2beta1AsyncBatchAnnotateFilesResponse++;
if (buildCounterGoogleCloudVisionV1p2beta1AsyncBatchAnnotateFilesResponse <
3) {
- o.responses = buildUnnamed2959();
+ o.responses = buildUnnamed2963();
}
buildCounterGoogleCloudVisionV1p2beta1AsyncBatchAnnotateFilesResponse--;
return o;
@@ -3009,19 +3009,19 @@
buildCounterGoogleCloudVisionV1p2beta1AsyncBatchAnnotateFilesResponse++;
if (buildCounterGoogleCloudVisionV1p2beta1AsyncBatchAnnotateFilesResponse <
3) {
- checkUnnamed2959(o.responses);
+ checkUnnamed2963(o.responses);
}
buildCounterGoogleCloudVisionV1p2beta1AsyncBatchAnnotateFilesResponse--;
}
-buildUnnamed2960() {
+buildUnnamed2964() {
var o = new core.List<api.GoogleCloudVisionV1p2beta1Paragraph>();
o.add(buildGoogleCloudVisionV1p2beta1Paragraph());
o.add(buildGoogleCloudVisionV1p2beta1Paragraph());
return o;
}
-checkUnnamed2960(core.List<api.GoogleCloudVisionV1p2beta1Paragraph> o) {
+checkUnnamed2964(core.List<api.GoogleCloudVisionV1p2beta1Paragraph> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p2beta1Paragraph(o[0]);
checkGoogleCloudVisionV1p2beta1Paragraph(o[1]);
@@ -3035,7 +3035,7 @@
o.blockType = "foo";
o.boundingBox = buildGoogleCloudVisionV1p2beta1BoundingPoly();
o.confidence = 42.0;
- o.paragraphs = buildUnnamed2960();
+ o.paragraphs = buildUnnamed2964();
o.property = buildGoogleCloudVisionV1p2beta1TextAnnotationTextProperty();
}
buildCounterGoogleCloudVisionV1p2beta1Block--;
@@ -3048,33 +3048,33 @@
unittest.expect(o.blockType, unittest.equals('foo'));
checkGoogleCloudVisionV1p2beta1BoundingPoly(o.boundingBox);
unittest.expect(o.confidence, unittest.equals(42.0));
- checkUnnamed2960(o.paragraphs);
+ checkUnnamed2964(o.paragraphs);
checkGoogleCloudVisionV1p2beta1TextAnnotationTextProperty(o.property);
}
buildCounterGoogleCloudVisionV1p2beta1Block--;
}
-buildUnnamed2961() {
+buildUnnamed2965() {
var o = new core.List<api.GoogleCloudVisionV1p2beta1NormalizedVertex>();
o.add(buildGoogleCloudVisionV1p2beta1NormalizedVertex());
o.add(buildGoogleCloudVisionV1p2beta1NormalizedVertex());
return o;
}
-checkUnnamed2961(core.List<api.GoogleCloudVisionV1p2beta1NormalizedVertex> o) {
+checkUnnamed2965(core.List<api.GoogleCloudVisionV1p2beta1NormalizedVertex> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p2beta1NormalizedVertex(o[0]);
checkGoogleCloudVisionV1p2beta1NormalizedVertex(o[1]);
}
-buildUnnamed2962() {
+buildUnnamed2966() {
var o = new core.List<api.GoogleCloudVisionV1p2beta1Vertex>();
o.add(buildGoogleCloudVisionV1p2beta1Vertex());
o.add(buildGoogleCloudVisionV1p2beta1Vertex());
return o;
}
-checkUnnamed2962(core.List<api.GoogleCloudVisionV1p2beta1Vertex> o) {
+checkUnnamed2966(core.List<api.GoogleCloudVisionV1p2beta1Vertex> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p2beta1Vertex(o[0]);
checkGoogleCloudVisionV1p2beta1Vertex(o[1]);
@@ -3085,8 +3085,8 @@
var o = new api.GoogleCloudVisionV1p2beta1BoundingPoly();
buildCounterGoogleCloudVisionV1p2beta1BoundingPoly++;
if (buildCounterGoogleCloudVisionV1p2beta1BoundingPoly < 3) {
- o.normalizedVertices = buildUnnamed2961();
- o.vertices = buildUnnamed2962();
+ o.normalizedVertices = buildUnnamed2965();
+ o.vertices = buildUnnamed2966();
}
buildCounterGoogleCloudVisionV1p2beta1BoundingPoly--;
return o;
@@ -3096,8 +3096,8 @@
api.GoogleCloudVisionV1p2beta1BoundingPoly o) {
buildCounterGoogleCloudVisionV1p2beta1BoundingPoly++;
if (buildCounterGoogleCloudVisionV1p2beta1BoundingPoly < 3) {
- checkUnnamed2961(o.normalizedVertices);
- checkUnnamed2962(o.vertices);
+ checkUnnamed2965(o.normalizedVertices);
+ checkUnnamed2966(o.vertices);
}
buildCounterGoogleCloudVisionV1p2beta1BoundingPoly--;
}
@@ -3150,14 +3150,14 @@
buildCounterGoogleCloudVisionV1p2beta1CropHint--;
}
-buildUnnamed2963() {
+buildUnnamed2967() {
var o = new core.List<api.GoogleCloudVisionV1p2beta1CropHint>();
o.add(buildGoogleCloudVisionV1p2beta1CropHint());
o.add(buildGoogleCloudVisionV1p2beta1CropHint());
return o;
}
-checkUnnamed2963(core.List<api.GoogleCloudVisionV1p2beta1CropHint> o) {
+checkUnnamed2967(core.List<api.GoogleCloudVisionV1p2beta1CropHint> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p2beta1CropHint(o[0]);
checkGoogleCloudVisionV1p2beta1CropHint(o[1]);
@@ -3168,7 +3168,7 @@
var o = new api.GoogleCloudVisionV1p2beta1CropHintsAnnotation();
buildCounterGoogleCloudVisionV1p2beta1CropHintsAnnotation++;
if (buildCounterGoogleCloudVisionV1p2beta1CropHintsAnnotation < 3) {
- o.cropHints = buildUnnamed2963();
+ o.cropHints = buildUnnamed2967();
}
buildCounterGoogleCloudVisionV1p2beta1CropHintsAnnotation--;
return o;
@@ -3178,19 +3178,19 @@
api.GoogleCloudVisionV1p2beta1CropHintsAnnotation o) {
buildCounterGoogleCloudVisionV1p2beta1CropHintsAnnotation++;
if (buildCounterGoogleCloudVisionV1p2beta1CropHintsAnnotation < 3) {
- checkUnnamed2963(o.cropHints);
+ checkUnnamed2967(o.cropHints);
}
buildCounterGoogleCloudVisionV1p2beta1CropHintsAnnotation--;
}
-buildUnnamed2964() {
+buildUnnamed2968() {
var o = new core.List<api.GoogleCloudVisionV1p2beta1ColorInfo>();
o.add(buildGoogleCloudVisionV1p2beta1ColorInfo());
o.add(buildGoogleCloudVisionV1p2beta1ColorInfo());
return o;
}
-checkUnnamed2964(core.List<api.GoogleCloudVisionV1p2beta1ColorInfo> o) {
+checkUnnamed2968(core.List<api.GoogleCloudVisionV1p2beta1ColorInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p2beta1ColorInfo(o[0]);
checkGoogleCloudVisionV1p2beta1ColorInfo(o[1]);
@@ -3201,7 +3201,7 @@
var o = new api.GoogleCloudVisionV1p2beta1DominantColorsAnnotation();
buildCounterGoogleCloudVisionV1p2beta1DominantColorsAnnotation++;
if (buildCounterGoogleCloudVisionV1p2beta1DominantColorsAnnotation < 3) {
- o.colors = buildUnnamed2964();
+ o.colors = buildUnnamed2968();
}
buildCounterGoogleCloudVisionV1p2beta1DominantColorsAnnotation--;
return o;
@@ -3211,32 +3211,32 @@
api.GoogleCloudVisionV1p2beta1DominantColorsAnnotation o) {
buildCounterGoogleCloudVisionV1p2beta1DominantColorsAnnotation++;
if (buildCounterGoogleCloudVisionV1p2beta1DominantColorsAnnotation < 3) {
- checkUnnamed2964(o.colors);
+ checkUnnamed2968(o.colors);
}
buildCounterGoogleCloudVisionV1p2beta1DominantColorsAnnotation--;
}
-buildUnnamed2965() {
+buildUnnamed2969() {
var o = new core.List<api.GoogleCloudVisionV1p2beta1LocationInfo>();
o.add(buildGoogleCloudVisionV1p2beta1LocationInfo());
o.add(buildGoogleCloudVisionV1p2beta1LocationInfo());
return o;
}
-checkUnnamed2965(core.List<api.GoogleCloudVisionV1p2beta1LocationInfo> o) {
+checkUnnamed2969(core.List<api.GoogleCloudVisionV1p2beta1LocationInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p2beta1LocationInfo(o[0]);
checkGoogleCloudVisionV1p2beta1LocationInfo(o[1]);
}
-buildUnnamed2966() {
+buildUnnamed2970() {
var o = new core.List<api.GoogleCloudVisionV1p2beta1Property>();
o.add(buildGoogleCloudVisionV1p2beta1Property());
o.add(buildGoogleCloudVisionV1p2beta1Property());
return o;
}
-checkUnnamed2966(core.List<api.GoogleCloudVisionV1p2beta1Property> o) {
+checkUnnamed2970(core.List<api.GoogleCloudVisionV1p2beta1Property> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p2beta1Property(o[0]);
checkGoogleCloudVisionV1p2beta1Property(o[1]);
@@ -3251,9 +3251,9 @@
o.confidence = 42.0;
o.description = "foo";
o.locale = "foo";
- o.locations = buildUnnamed2965();
+ o.locations = buildUnnamed2969();
o.mid = "foo";
- o.properties = buildUnnamed2966();
+ o.properties = buildUnnamed2970();
o.score = 42.0;
o.topicality = 42.0;
}
@@ -3269,23 +3269,23 @@
unittest.expect(o.confidence, unittest.equals(42.0));
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.locale, unittest.equals('foo'));
- checkUnnamed2965(o.locations);
+ checkUnnamed2969(o.locations);
unittest.expect(o.mid, unittest.equals('foo'));
- checkUnnamed2966(o.properties);
+ checkUnnamed2970(o.properties);
unittest.expect(o.score, unittest.equals(42.0));
unittest.expect(o.topicality, unittest.equals(42.0));
}
buildCounterGoogleCloudVisionV1p2beta1EntityAnnotation--;
}
-buildUnnamed2967() {
+buildUnnamed2971() {
var o = new core.List<api.GoogleCloudVisionV1p2beta1FaceAnnotationLandmark>();
o.add(buildGoogleCloudVisionV1p2beta1FaceAnnotationLandmark());
o.add(buildGoogleCloudVisionV1p2beta1FaceAnnotationLandmark());
return o;
}
-checkUnnamed2967(
+checkUnnamed2971(
core.List<api.GoogleCloudVisionV1p2beta1FaceAnnotationLandmark> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p2beta1FaceAnnotationLandmark(o[0]);
@@ -3305,7 +3305,7 @@
o.headwearLikelihood = "foo";
o.joyLikelihood = "foo";
o.landmarkingConfidence = 42.0;
- o.landmarks = buildUnnamed2967();
+ o.landmarks = buildUnnamed2971();
o.panAngle = 42.0;
o.rollAngle = 42.0;
o.sorrowLikelihood = "foo";
@@ -3329,7 +3329,7 @@
unittest.expect(o.headwearLikelihood, unittest.equals('foo'));
unittest.expect(o.joyLikelihood, unittest.equals('foo'));
unittest.expect(o.landmarkingConfidence, unittest.equals(42.0));
- checkUnnamed2967(o.landmarks);
+ checkUnnamed2971(o.landmarks);
unittest.expect(o.panAngle, unittest.equals(42.0));
unittest.expect(o.rollAngle, unittest.equals(42.0));
unittest.expect(o.sorrowLikelihood, unittest.equals('foo'));
@@ -3585,14 +3585,14 @@
buildCounterGoogleCloudVisionV1p2beta1OutputConfig--;
}
-buildUnnamed2968() {
+buildUnnamed2972() {
var o = new core.List<api.GoogleCloudVisionV1p2beta1Block>();
o.add(buildGoogleCloudVisionV1p2beta1Block());
o.add(buildGoogleCloudVisionV1p2beta1Block());
return o;
}
-checkUnnamed2968(core.List<api.GoogleCloudVisionV1p2beta1Block> o) {
+checkUnnamed2972(core.List<api.GoogleCloudVisionV1p2beta1Block> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p2beta1Block(o[0]);
checkGoogleCloudVisionV1p2beta1Block(o[1]);
@@ -3603,7 +3603,7 @@
var o = new api.GoogleCloudVisionV1p2beta1Page();
buildCounterGoogleCloudVisionV1p2beta1Page++;
if (buildCounterGoogleCloudVisionV1p2beta1Page < 3) {
- o.blocks = buildUnnamed2968();
+ o.blocks = buildUnnamed2972();
o.confidence = 42.0;
o.height = 42;
o.property = buildGoogleCloudVisionV1p2beta1TextAnnotationTextProperty();
@@ -3616,7 +3616,7 @@
checkGoogleCloudVisionV1p2beta1Page(api.GoogleCloudVisionV1p2beta1Page o) {
buildCounterGoogleCloudVisionV1p2beta1Page++;
if (buildCounterGoogleCloudVisionV1p2beta1Page < 3) {
- checkUnnamed2968(o.blocks);
+ checkUnnamed2972(o.blocks);
unittest.expect(o.confidence, unittest.equals(42.0));
unittest.expect(o.height, unittest.equals(42));
checkGoogleCloudVisionV1p2beta1TextAnnotationTextProperty(o.property);
@@ -3625,14 +3625,14 @@
buildCounterGoogleCloudVisionV1p2beta1Page--;
}
-buildUnnamed2969() {
+buildUnnamed2973() {
var o = new core.List<api.GoogleCloudVisionV1p2beta1Word>();
o.add(buildGoogleCloudVisionV1p2beta1Word());
o.add(buildGoogleCloudVisionV1p2beta1Word());
return o;
}
-checkUnnamed2969(core.List<api.GoogleCloudVisionV1p2beta1Word> o) {
+checkUnnamed2973(core.List<api.GoogleCloudVisionV1p2beta1Word> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p2beta1Word(o[0]);
checkGoogleCloudVisionV1p2beta1Word(o[1]);
@@ -3646,7 +3646,7 @@
o.boundingBox = buildGoogleCloudVisionV1p2beta1BoundingPoly();
o.confidence = 42.0;
o.property = buildGoogleCloudVisionV1p2beta1TextAnnotationTextProperty();
- o.words = buildUnnamed2969();
+ o.words = buildUnnamed2973();
}
buildCounterGoogleCloudVisionV1p2beta1Paragraph--;
return o;
@@ -3659,7 +3659,7 @@
checkGoogleCloudVisionV1p2beta1BoundingPoly(o.boundingBox);
unittest.expect(o.confidence, unittest.equals(42.0));
checkGoogleCloudVisionV1p2beta1TextAnnotationTextProperty(o.property);
- checkUnnamed2969(o.words);
+ checkUnnamed2973(o.words);
}
buildCounterGoogleCloudVisionV1p2beta1Paragraph--;
}
@@ -3688,14 +3688,14 @@
buildCounterGoogleCloudVisionV1p2beta1Position--;
}
-buildUnnamed2970() {
+buildUnnamed2974() {
var o = new core.List<api.GoogleCloudVisionV1p2beta1ProductKeyValue>();
o.add(buildGoogleCloudVisionV1p2beta1ProductKeyValue());
o.add(buildGoogleCloudVisionV1p2beta1ProductKeyValue());
return o;
}
-checkUnnamed2970(core.List<api.GoogleCloudVisionV1p2beta1ProductKeyValue> o) {
+checkUnnamed2974(core.List<api.GoogleCloudVisionV1p2beta1ProductKeyValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p2beta1ProductKeyValue(o[0]);
checkGoogleCloudVisionV1p2beta1ProductKeyValue(o[1]);
@@ -3710,7 +3710,7 @@
o.displayName = "foo";
o.name = "foo";
o.productCategory = "foo";
- o.productLabels = buildUnnamed2970();
+ o.productLabels = buildUnnamed2974();
}
buildCounterGoogleCloudVisionV1p2beta1Product--;
return o;
@@ -3724,7 +3724,7 @@
unittest.expect(o.displayName, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.productCategory, unittest.equals('foo'));
- checkUnnamed2970(o.productLabels);
+ checkUnnamed2974(o.productLabels);
}
buildCounterGoogleCloudVisionV1p2beta1Product--;
}
@@ -3751,7 +3751,7 @@
buildCounterGoogleCloudVisionV1p2beta1ProductKeyValue--;
}
-buildUnnamed2971() {
+buildUnnamed2975() {
var o = new core
.List<api.GoogleCloudVisionV1p2beta1ProductSearchResultsGroupedResult>();
o.add(buildGoogleCloudVisionV1p2beta1ProductSearchResultsGroupedResult());
@@ -3759,7 +3759,7 @@
return o;
}
-checkUnnamed2971(
+checkUnnamed2975(
core.List<api.GoogleCloudVisionV1p2beta1ProductSearchResultsGroupedResult>
o) {
unittest.expect(o, unittest.hasLength(2));
@@ -3767,7 +3767,7 @@
checkGoogleCloudVisionV1p2beta1ProductSearchResultsGroupedResult(o[1]);
}
-buildUnnamed2972() {
+buildUnnamed2976() {
var o =
new core.List<api.GoogleCloudVisionV1p2beta1ProductSearchResultsResult>();
o.add(buildGoogleCloudVisionV1p2beta1ProductSearchResultsResult());
@@ -3775,7 +3775,7 @@
return o;
}
-checkUnnamed2972(
+checkUnnamed2976(
core.List<api.GoogleCloudVisionV1p2beta1ProductSearchResultsResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p2beta1ProductSearchResultsResult(o[0]);
@@ -3788,8 +3788,8 @@
buildCounterGoogleCloudVisionV1p2beta1ProductSearchResults++;
if (buildCounterGoogleCloudVisionV1p2beta1ProductSearchResults < 3) {
o.indexTime = "foo";
- o.productGroupedResults = buildUnnamed2971();
- o.results = buildUnnamed2972();
+ o.productGroupedResults = buildUnnamed2975();
+ o.results = buildUnnamed2976();
}
buildCounterGoogleCloudVisionV1p2beta1ProductSearchResults--;
return o;
@@ -3800,13 +3800,13 @@
buildCounterGoogleCloudVisionV1p2beta1ProductSearchResults++;
if (buildCounterGoogleCloudVisionV1p2beta1ProductSearchResults < 3) {
unittest.expect(o.indexTime, unittest.equals('foo'));
- checkUnnamed2971(o.productGroupedResults);
- checkUnnamed2972(o.results);
+ checkUnnamed2975(o.productGroupedResults);
+ checkUnnamed2976(o.results);
}
buildCounterGoogleCloudVisionV1p2beta1ProductSearchResults--;
}
-buildUnnamed2973() {
+buildUnnamed2977() {
var o = new core.List<
api.GoogleCloudVisionV1p2beta1ProductSearchResultsObjectAnnotation>();
o.add(buildGoogleCloudVisionV1p2beta1ProductSearchResultsObjectAnnotation());
@@ -3814,7 +3814,7 @@
return o;
}
-checkUnnamed2973(
+checkUnnamed2977(
core.List<
api.GoogleCloudVisionV1p2beta1ProductSearchResultsObjectAnnotation>
o) {
@@ -3823,7 +3823,7 @@
checkGoogleCloudVisionV1p2beta1ProductSearchResultsObjectAnnotation(o[1]);
}
-buildUnnamed2974() {
+buildUnnamed2978() {
var o =
new core.List<api.GoogleCloudVisionV1p2beta1ProductSearchResultsResult>();
o.add(buildGoogleCloudVisionV1p2beta1ProductSearchResultsResult());
@@ -3831,7 +3831,7 @@
return o;
}
-checkUnnamed2974(
+checkUnnamed2978(
core.List<api.GoogleCloudVisionV1p2beta1ProductSearchResultsResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p2beta1ProductSearchResultsResult(o[0]);
@@ -3846,8 +3846,8 @@
if (buildCounterGoogleCloudVisionV1p2beta1ProductSearchResultsGroupedResult <
3) {
o.boundingPoly = buildGoogleCloudVisionV1p2beta1BoundingPoly();
- o.objectAnnotations = buildUnnamed2973();
- o.results = buildUnnamed2974();
+ o.objectAnnotations = buildUnnamed2977();
+ o.results = buildUnnamed2978();
}
buildCounterGoogleCloudVisionV1p2beta1ProductSearchResultsGroupedResult--;
return o;
@@ -3859,8 +3859,8 @@
if (buildCounterGoogleCloudVisionV1p2beta1ProductSearchResultsGroupedResult <
3) {
checkGoogleCloudVisionV1p2beta1BoundingPoly(o.boundingPoly);
- checkUnnamed2973(o.objectAnnotations);
- checkUnnamed2974(o.results);
+ checkUnnamed2977(o.objectAnnotations);
+ checkUnnamed2978(o.results);
}
buildCounterGoogleCloudVisionV1p2beta1ProductSearchResultsGroupedResult--;
}
@@ -3997,14 +3997,14 @@
buildCounterGoogleCloudVisionV1p2beta1Symbol--;
}
-buildUnnamed2975() {
+buildUnnamed2979() {
var o = new core.List<api.GoogleCloudVisionV1p2beta1Page>();
o.add(buildGoogleCloudVisionV1p2beta1Page());
o.add(buildGoogleCloudVisionV1p2beta1Page());
return o;
}
-checkUnnamed2975(core.List<api.GoogleCloudVisionV1p2beta1Page> o) {
+checkUnnamed2979(core.List<api.GoogleCloudVisionV1p2beta1Page> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p2beta1Page(o[0]);
checkGoogleCloudVisionV1p2beta1Page(o[1]);
@@ -4015,7 +4015,7 @@
var o = new api.GoogleCloudVisionV1p2beta1TextAnnotation();
buildCounterGoogleCloudVisionV1p2beta1TextAnnotation++;
if (buildCounterGoogleCloudVisionV1p2beta1TextAnnotation < 3) {
- o.pages = buildUnnamed2975();
+ o.pages = buildUnnamed2979();
o.text = "foo";
}
buildCounterGoogleCloudVisionV1p2beta1TextAnnotation--;
@@ -4026,7 +4026,7 @@
api.GoogleCloudVisionV1p2beta1TextAnnotation o) {
buildCounterGoogleCloudVisionV1p2beta1TextAnnotation++;
if (buildCounterGoogleCloudVisionV1p2beta1TextAnnotation < 3) {
- checkUnnamed2975(o.pages);
+ checkUnnamed2979(o.pages);
unittest.expect(o.text, unittest.equals('foo'));
}
buildCounterGoogleCloudVisionV1p2beta1TextAnnotation--;
@@ -4079,7 +4079,7 @@
buildCounterGoogleCloudVisionV1p2beta1TextAnnotationDetectedLanguage--;
}
-buildUnnamed2976() {
+buildUnnamed2980() {
var o = new core
.List<api.GoogleCloudVisionV1p2beta1TextAnnotationDetectedLanguage>();
o.add(buildGoogleCloudVisionV1p2beta1TextAnnotationDetectedLanguage());
@@ -4087,7 +4087,7 @@
return o;
}
-checkUnnamed2976(
+checkUnnamed2980(
core.List<api.GoogleCloudVisionV1p2beta1TextAnnotationDetectedLanguage> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p2beta1TextAnnotationDetectedLanguage(o[0]);
@@ -4101,7 +4101,7 @@
if (buildCounterGoogleCloudVisionV1p2beta1TextAnnotationTextProperty < 3) {
o.detectedBreak =
buildGoogleCloudVisionV1p2beta1TextAnnotationDetectedBreak();
- o.detectedLanguages = buildUnnamed2976();
+ o.detectedLanguages = buildUnnamed2980();
}
buildCounterGoogleCloudVisionV1p2beta1TextAnnotationTextProperty--;
return o;
@@ -4112,7 +4112,7 @@
buildCounterGoogleCloudVisionV1p2beta1TextAnnotationTextProperty++;
if (buildCounterGoogleCloudVisionV1p2beta1TextAnnotationTextProperty < 3) {
checkGoogleCloudVisionV1p2beta1TextAnnotationDetectedBreak(o.detectedBreak);
- checkUnnamed2976(o.detectedLanguages);
+ checkUnnamed2980(o.detectedLanguages);
}
buildCounterGoogleCloudVisionV1p2beta1TextAnnotationTextProperty--;
}
@@ -4138,84 +4138,84 @@
buildCounterGoogleCloudVisionV1p2beta1Vertex--;
}
-buildUnnamed2977() {
+buildUnnamed2981() {
var o = new core.List<api.GoogleCloudVisionV1p2beta1WebDetectionWebLabel>();
o.add(buildGoogleCloudVisionV1p2beta1WebDetectionWebLabel());
o.add(buildGoogleCloudVisionV1p2beta1WebDetectionWebLabel());
return o;
}
-checkUnnamed2977(
+checkUnnamed2981(
core.List<api.GoogleCloudVisionV1p2beta1WebDetectionWebLabel> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p2beta1WebDetectionWebLabel(o[0]);
checkGoogleCloudVisionV1p2beta1WebDetectionWebLabel(o[1]);
}
-buildUnnamed2978() {
+buildUnnamed2982() {
var o = new core.List<api.GoogleCloudVisionV1p2beta1WebDetectionWebImage>();
o.add(buildGoogleCloudVisionV1p2beta1WebDetectionWebImage());
o.add(buildGoogleCloudVisionV1p2beta1WebDetectionWebImage());
return o;
}
-checkUnnamed2978(
+checkUnnamed2982(
core.List<api.GoogleCloudVisionV1p2beta1WebDetectionWebImage> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p2beta1WebDetectionWebImage(o[0]);
checkGoogleCloudVisionV1p2beta1WebDetectionWebImage(o[1]);
}
-buildUnnamed2979() {
+buildUnnamed2983() {
var o = new core.List<api.GoogleCloudVisionV1p2beta1WebDetectionWebPage>();
o.add(buildGoogleCloudVisionV1p2beta1WebDetectionWebPage());
o.add(buildGoogleCloudVisionV1p2beta1WebDetectionWebPage());
return o;
}
-checkUnnamed2979(
+checkUnnamed2983(
core.List<api.GoogleCloudVisionV1p2beta1WebDetectionWebPage> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p2beta1WebDetectionWebPage(o[0]);
checkGoogleCloudVisionV1p2beta1WebDetectionWebPage(o[1]);
}
-buildUnnamed2980() {
+buildUnnamed2984() {
var o = new core.List<api.GoogleCloudVisionV1p2beta1WebDetectionWebImage>();
o.add(buildGoogleCloudVisionV1p2beta1WebDetectionWebImage());
o.add(buildGoogleCloudVisionV1p2beta1WebDetectionWebImage());
return o;
}
-checkUnnamed2980(
+checkUnnamed2984(
core.List<api.GoogleCloudVisionV1p2beta1WebDetectionWebImage> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p2beta1WebDetectionWebImage(o[0]);
checkGoogleCloudVisionV1p2beta1WebDetectionWebImage(o[1]);
}
-buildUnnamed2981() {
+buildUnnamed2985() {
var o = new core.List<api.GoogleCloudVisionV1p2beta1WebDetectionWebImage>();
o.add(buildGoogleCloudVisionV1p2beta1WebDetectionWebImage());
o.add(buildGoogleCloudVisionV1p2beta1WebDetectionWebImage());
return o;
}
-checkUnnamed2981(
+checkUnnamed2985(
core.List<api.GoogleCloudVisionV1p2beta1WebDetectionWebImage> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p2beta1WebDetectionWebImage(o[0]);
checkGoogleCloudVisionV1p2beta1WebDetectionWebImage(o[1]);
}
-buildUnnamed2982() {
+buildUnnamed2986() {
var o = new core.List<api.GoogleCloudVisionV1p2beta1WebDetectionWebEntity>();
o.add(buildGoogleCloudVisionV1p2beta1WebDetectionWebEntity());
o.add(buildGoogleCloudVisionV1p2beta1WebDetectionWebEntity());
return o;
}
-checkUnnamed2982(
+checkUnnamed2986(
core.List<api.GoogleCloudVisionV1p2beta1WebDetectionWebEntity> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p2beta1WebDetectionWebEntity(o[0]);
@@ -4227,12 +4227,12 @@
var o = new api.GoogleCloudVisionV1p2beta1WebDetection();
buildCounterGoogleCloudVisionV1p2beta1WebDetection++;
if (buildCounterGoogleCloudVisionV1p2beta1WebDetection < 3) {
- o.bestGuessLabels = buildUnnamed2977();
- o.fullMatchingImages = buildUnnamed2978();
- o.pagesWithMatchingImages = buildUnnamed2979();
- o.partialMatchingImages = buildUnnamed2980();
- o.visuallySimilarImages = buildUnnamed2981();
- o.webEntities = buildUnnamed2982();
+ o.bestGuessLabels = buildUnnamed2981();
+ o.fullMatchingImages = buildUnnamed2982();
+ o.pagesWithMatchingImages = buildUnnamed2983();
+ o.partialMatchingImages = buildUnnamed2984();
+ o.visuallySimilarImages = buildUnnamed2985();
+ o.webEntities = buildUnnamed2986();
}
buildCounterGoogleCloudVisionV1p2beta1WebDetection--;
return o;
@@ -4242,12 +4242,12 @@
api.GoogleCloudVisionV1p2beta1WebDetection o) {
buildCounterGoogleCloudVisionV1p2beta1WebDetection++;
if (buildCounterGoogleCloudVisionV1p2beta1WebDetection < 3) {
- checkUnnamed2977(o.bestGuessLabels);
- checkUnnamed2978(o.fullMatchingImages);
- checkUnnamed2979(o.pagesWithMatchingImages);
- checkUnnamed2980(o.partialMatchingImages);
- checkUnnamed2981(o.visuallySimilarImages);
- checkUnnamed2982(o.webEntities);
+ checkUnnamed2981(o.bestGuessLabels);
+ checkUnnamed2982(o.fullMatchingImages);
+ checkUnnamed2983(o.pagesWithMatchingImages);
+ checkUnnamed2984(o.partialMatchingImages);
+ checkUnnamed2985(o.visuallySimilarImages);
+ checkUnnamed2986(o.webEntities);
}
buildCounterGoogleCloudVisionV1p2beta1WebDetection--;
}
@@ -4320,28 +4320,28 @@
buildCounterGoogleCloudVisionV1p2beta1WebDetectionWebLabel--;
}
-buildUnnamed2983() {
+buildUnnamed2987() {
var o = new core.List<api.GoogleCloudVisionV1p2beta1WebDetectionWebImage>();
o.add(buildGoogleCloudVisionV1p2beta1WebDetectionWebImage());
o.add(buildGoogleCloudVisionV1p2beta1WebDetectionWebImage());
return o;
}
-checkUnnamed2983(
+checkUnnamed2987(
core.List<api.GoogleCloudVisionV1p2beta1WebDetectionWebImage> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p2beta1WebDetectionWebImage(o[0]);
checkGoogleCloudVisionV1p2beta1WebDetectionWebImage(o[1]);
}
-buildUnnamed2984() {
+buildUnnamed2988() {
var o = new core.List<api.GoogleCloudVisionV1p2beta1WebDetectionWebImage>();
o.add(buildGoogleCloudVisionV1p2beta1WebDetectionWebImage());
o.add(buildGoogleCloudVisionV1p2beta1WebDetectionWebImage());
return o;
}
-checkUnnamed2984(
+checkUnnamed2988(
core.List<api.GoogleCloudVisionV1p2beta1WebDetectionWebImage> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p2beta1WebDetectionWebImage(o[0]);
@@ -4353,9 +4353,9 @@
var o = new api.GoogleCloudVisionV1p2beta1WebDetectionWebPage();
buildCounterGoogleCloudVisionV1p2beta1WebDetectionWebPage++;
if (buildCounterGoogleCloudVisionV1p2beta1WebDetectionWebPage < 3) {
- o.fullMatchingImages = buildUnnamed2983();
+ o.fullMatchingImages = buildUnnamed2987();
o.pageTitle = "foo";
- o.partialMatchingImages = buildUnnamed2984();
+ o.partialMatchingImages = buildUnnamed2988();
o.score = 42.0;
o.url = "foo";
}
@@ -4367,23 +4367,23 @@
api.GoogleCloudVisionV1p2beta1WebDetectionWebPage o) {
buildCounterGoogleCloudVisionV1p2beta1WebDetectionWebPage++;
if (buildCounterGoogleCloudVisionV1p2beta1WebDetectionWebPage < 3) {
- checkUnnamed2983(o.fullMatchingImages);
+ checkUnnamed2987(o.fullMatchingImages);
unittest.expect(o.pageTitle, unittest.equals('foo'));
- checkUnnamed2984(o.partialMatchingImages);
+ checkUnnamed2988(o.partialMatchingImages);
unittest.expect(o.score, unittest.equals(42.0));
unittest.expect(o.url, unittest.equals('foo'));
}
buildCounterGoogleCloudVisionV1p2beta1WebDetectionWebPage--;
}
-buildUnnamed2985() {
+buildUnnamed2989() {
var o = new core.List<api.GoogleCloudVisionV1p2beta1Symbol>();
o.add(buildGoogleCloudVisionV1p2beta1Symbol());
o.add(buildGoogleCloudVisionV1p2beta1Symbol());
return o;
}
-checkUnnamed2985(core.List<api.GoogleCloudVisionV1p2beta1Symbol> o) {
+checkUnnamed2989(core.List<api.GoogleCloudVisionV1p2beta1Symbol> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p2beta1Symbol(o[0]);
checkGoogleCloudVisionV1p2beta1Symbol(o[1]);
@@ -4397,7 +4397,7 @@
o.boundingBox = buildGoogleCloudVisionV1p2beta1BoundingPoly();
o.confidence = 42.0;
o.property = buildGoogleCloudVisionV1p2beta1TextAnnotationTextProperty();
- o.symbols = buildUnnamed2985();
+ o.symbols = buildUnnamed2989();
}
buildCounterGoogleCloudVisionV1p2beta1Word--;
return o;
@@ -4409,19 +4409,19 @@
checkGoogleCloudVisionV1p2beta1BoundingPoly(o.boundingBox);
unittest.expect(o.confidence, unittest.equals(42.0));
checkGoogleCloudVisionV1p2beta1TextAnnotationTextProperty(o.property);
- checkUnnamed2985(o.symbols);
+ checkUnnamed2989(o.symbols);
}
buildCounterGoogleCloudVisionV1p2beta1Word--;
}
-buildUnnamed2986() {
+buildUnnamed2990() {
var o = new core.List<api.GoogleCloudVisionV1p3beta1AnnotateImageResponse>();
o.add(buildGoogleCloudVisionV1p3beta1AnnotateImageResponse());
o.add(buildGoogleCloudVisionV1p3beta1AnnotateImageResponse());
return o;
}
-checkUnnamed2986(
+checkUnnamed2990(
core.List<api.GoogleCloudVisionV1p3beta1AnnotateImageResponse> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p3beta1AnnotateImageResponse(o[0]);
@@ -4435,7 +4435,7 @@
if (buildCounterGoogleCloudVisionV1p3beta1AnnotateFileResponse < 3) {
o.error = buildStatus();
o.inputConfig = buildGoogleCloudVisionV1p3beta1InputConfig();
- o.responses = buildUnnamed2986();
+ o.responses = buildUnnamed2990();
o.totalPages = 42;
}
buildCounterGoogleCloudVisionV1p3beta1AnnotateFileResponse--;
@@ -4448,79 +4448,25 @@
if (buildCounterGoogleCloudVisionV1p3beta1AnnotateFileResponse < 3) {
checkStatus(o.error);
checkGoogleCloudVisionV1p3beta1InputConfig(o.inputConfig);
- checkUnnamed2986(o.responses);
+ checkUnnamed2990(o.responses);
unittest.expect(o.totalPages, unittest.equals(42));
}
buildCounterGoogleCloudVisionV1p3beta1AnnotateFileResponse--;
}
-buildUnnamed2987() {
+buildUnnamed2991() {
var o = new core.List<api.GoogleCloudVisionV1p3beta1FaceAnnotation>();
o.add(buildGoogleCloudVisionV1p3beta1FaceAnnotation());
o.add(buildGoogleCloudVisionV1p3beta1FaceAnnotation());
return o;
}
-checkUnnamed2987(core.List<api.GoogleCloudVisionV1p3beta1FaceAnnotation> o) {
+checkUnnamed2991(core.List<api.GoogleCloudVisionV1p3beta1FaceAnnotation> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p3beta1FaceAnnotation(o[0]);
checkGoogleCloudVisionV1p3beta1FaceAnnotation(o[1]);
}
-buildUnnamed2988() {
- var o = new core.List<api.GoogleCloudVisionV1p3beta1EntityAnnotation>();
- o.add(buildGoogleCloudVisionV1p3beta1EntityAnnotation());
- o.add(buildGoogleCloudVisionV1p3beta1EntityAnnotation());
- return o;
-}
-
-checkUnnamed2988(core.List<api.GoogleCloudVisionV1p3beta1EntityAnnotation> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkGoogleCloudVisionV1p3beta1EntityAnnotation(o[0]);
- checkGoogleCloudVisionV1p3beta1EntityAnnotation(o[1]);
-}
-
-buildUnnamed2989() {
- var o = new core.List<api.GoogleCloudVisionV1p3beta1EntityAnnotation>();
- o.add(buildGoogleCloudVisionV1p3beta1EntityAnnotation());
- o.add(buildGoogleCloudVisionV1p3beta1EntityAnnotation());
- return o;
-}
-
-checkUnnamed2989(core.List<api.GoogleCloudVisionV1p3beta1EntityAnnotation> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkGoogleCloudVisionV1p3beta1EntityAnnotation(o[0]);
- checkGoogleCloudVisionV1p3beta1EntityAnnotation(o[1]);
-}
-
-buildUnnamed2990() {
- var o =
- new core.List<api.GoogleCloudVisionV1p3beta1LocalizedObjectAnnotation>();
- o.add(buildGoogleCloudVisionV1p3beta1LocalizedObjectAnnotation());
- o.add(buildGoogleCloudVisionV1p3beta1LocalizedObjectAnnotation());
- return o;
-}
-
-checkUnnamed2990(
- core.List<api.GoogleCloudVisionV1p3beta1LocalizedObjectAnnotation> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkGoogleCloudVisionV1p3beta1LocalizedObjectAnnotation(o[0]);
- checkGoogleCloudVisionV1p3beta1LocalizedObjectAnnotation(o[1]);
-}
-
-buildUnnamed2991() {
- var o = new core.List<api.GoogleCloudVisionV1p3beta1EntityAnnotation>();
- o.add(buildGoogleCloudVisionV1p3beta1EntityAnnotation());
- o.add(buildGoogleCloudVisionV1p3beta1EntityAnnotation());
- return o;
-}
-
-checkUnnamed2991(core.List<api.GoogleCloudVisionV1p3beta1EntityAnnotation> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkGoogleCloudVisionV1p3beta1EntityAnnotation(o[0]);
- checkGoogleCloudVisionV1p3beta1EntityAnnotation(o[1]);
-}
-
buildUnnamed2992() {
var o = new core.List<api.GoogleCloudVisionV1p3beta1EntityAnnotation>();
o.add(buildGoogleCloudVisionV1p3beta1EntityAnnotation());
@@ -4534,6 +4480,60 @@
checkGoogleCloudVisionV1p3beta1EntityAnnotation(o[1]);
}
+buildUnnamed2993() {
+ var o = new core.List<api.GoogleCloudVisionV1p3beta1EntityAnnotation>();
+ o.add(buildGoogleCloudVisionV1p3beta1EntityAnnotation());
+ o.add(buildGoogleCloudVisionV1p3beta1EntityAnnotation());
+ return o;
+}
+
+checkUnnamed2993(core.List<api.GoogleCloudVisionV1p3beta1EntityAnnotation> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkGoogleCloudVisionV1p3beta1EntityAnnotation(o[0]);
+ checkGoogleCloudVisionV1p3beta1EntityAnnotation(o[1]);
+}
+
+buildUnnamed2994() {
+ var o =
+ new core.List<api.GoogleCloudVisionV1p3beta1LocalizedObjectAnnotation>();
+ o.add(buildGoogleCloudVisionV1p3beta1LocalizedObjectAnnotation());
+ o.add(buildGoogleCloudVisionV1p3beta1LocalizedObjectAnnotation());
+ return o;
+}
+
+checkUnnamed2994(
+ core.List<api.GoogleCloudVisionV1p3beta1LocalizedObjectAnnotation> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkGoogleCloudVisionV1p3beta1LocalizedObjectAnnotation(o[0]);
+ checkGoogleCloudVisionV1p3beta1LocalizedObjectAnnotation(o[1]);
+}
+
+buildUnnamed2995() {
+ var o = new core.List<api.GoogleCloudVisionV1p3beta1EntityAnnotation>();
+ o.add(buildGoogleCloudVisionV1p3beta1EntityAnnotation());
+ o.add(buildGoogleCloudVisionV1p3beta1EntityAnnotation());
+ return o;
+}
+
+checkUnnamed2995(core.List<api.GoogleCloudVisionV1p3beta1EntityAnnotation> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkGoogleCloudVisionV1p3beta1EntityAnnotation(o[0]);
+ checkGoogleCloudVisionV1p3beta1EntityAnnotation(o[1]);
+}
+
+buildUnnamed2996() {
+ var o = new core.List<api.GoogleCloudVisionV1p3beta1EntityAnnotation>();
+ o.add(buildGoogleCloudVisionV1p3beta1EntityAnnotation());
+ o.add(buildGoogleCloudVisionV1p3beta1EntityAnnotation());
+ return o;
+}
+
+checkUnnamed2996(core.List<api.GoogleCloudVisionV1p3beta1EntityAnnotation> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkGoogleCloudVisionV1p3beta1EntityAnnotation(o[0]);
+ checkGoogleCloudVisionV1p3beta1EntityAnnotation(o[1]);
+}
+
core.int buildCounterGoogleCloudVisionV1p3beta1AnnotateImageResponse = 0;
buildGoogleCloudVisionV1p3beta1AnnotateImageResponse() {
var o = new api.GoogleCloudVisionV1p3beta1AnnotateImageResponse();
@@ -4543,19 +4543,19 @@
o.cropHintsAnnotation =
buildGoogleCloudVisionV1p3beta1CropHintsAnnotation();
o.error = buildStatus();
- o.faceAnnotations = buildUnnamed2987();
+ o.faceAnnotations = buildUnnamed2991();
o.fullTextAnnotation = buildGoogleCloudVisionV1p3beta1TextAnnotation();
o.imagePropertiesAnnotation =
buildGoogleCloudVisionV1p3beta1ImageProperties();
- o.labelAnnotations = buildUnnamed2988();
- o.landmarkAnnotations = buildUnnamed2989();
- o.localizedObjectAnnotations = buildUnnamed2990();
- o.logoAnnotations = buildUnnamed2991();
+ o.labelAnnotations = buildUnnamed2992();
+ o.landmarkAnnotations = buildUnnamed2993();
+ o.localizedObjectAnnotations = buildUnnamed2994();
+ o.logoAnnotations = buildUnnamed2995();
o.productSearchResults =
buildGoogleCloudVisionV1p3beta1ProductSearchResults();
o.safeSearchAnnotation =
buildGoogleCloudVisionV1p3beta1SafeSearchAnnotation();
- o.textAnnotations = buildUnnamed2992();
+ o.textAnnotations = buildUnnamed2996();
o.webDetection = buildGoogleCloudVisionV1p3beta1WebDetection();
}
buildCounterGoogleCloudVisionV1p3beta1AnnotateImageResponse--;
@@ -4569,16 +4569,16 @@
checkGoogleCloudVisionV1p3beta1ImageAnnotationContext(o.context);
checkGoogleCloudVisionV1p3beta1CropHintsAnnotation(o.cropHintsAnnotation);
checkStatus(o.error);
- checkUnnamed2987(o.faceAnnotations);
+ checkUnnamed2991(o.faceAnnotations);
checkGoogleCloudVisionV1p3beta1TextAnnotation(o.fullTextAnnotation);
checkGoogleCloudVisionV1p3beta1ImageProperties(o.imagePropertiesAnnotation);
- checkUnnamed2988(o.labelAnnotations);
- checkUnnamed2989(o.landmarkAnnotations);
- checkUnnamed2990(o.localizedObjectAnnotations);
- checkUnnamed2991(o.logoAnnotations);
+ checkUnnamed2992(o.labelAnnotations);
+ checkUnnamed2993(o.landmarkAnnotations);
+ checkUnnamed2994(o.localizedObjectAnnotations);
+ checkUnnamed2995(o.logoAnnotations);
checkGoogleCloudVisionV1p3beta1ProductSearchResults(o.productSearchResults);
checkGoogleCloudVisionV1p3beta1SafeSearchAnnotation(o.safeSearchAnnotation);
- checkUnnamed2992(o.textAnnotations);
+ checkUnnamed2996(o.textAnnotations);
checkGoogleCloudVisionV1p3beta1WebDetection(o.webDetection);
}
buildCounterGoogleCloudVisionV1p3beta1AnnotateImageResponse--;
@@ -4604,7 +4604,7 @@
buildCounterGoogleCloudVisionV1p3beta1AsyncAnnotateFileResponse--;
}
-buildUnnamed2993() {
+buildUnnamed2997() {
var o =
new core.List<api.GoogleCloudVisionV1p3beta1AsyncAnnotateFileResponse>();
o.add(buildGoogleCloudVisionV1p3beta1AsyncAnnotateFileResponse());
@@ -4612,7 +4612,7 @@
return o;
}
-checkUnnamed2993(
+checkUnnamed2997(
core.List<api.GoogleCloudVisionV1p3beta1AsyncAnnotateFileResponse> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p3beta1AsyncAnnotateFileResponse(o[0]);
@@ -4626,7 +4626,7 @@
buildCounterGoogleCloudVisionV1p3beta1AsyncBatchAnnotateFilesResponse++;
if (buildCounterGoogleCloudVisionV1p3beta1AsyncBatchAnnotateFilesResponse <
3) {
- o.responses = buildUnnamed2993();
+ o.responses = buildUnnamed2997();
}
buildCounterGoogleCloudVisionV1p3beta1AsyncBatchAnnotateFilesResponse--;
return o;
@@ -4637,7 +4637,7 @@
buildCounterGoogleCloudVisionV1p3beta1AsyncBatchAnnotateFilesResponse++;
if (buildCounterGoogleCloudVisionV1p3beta1AsyncBatchAnnotateFilesResponse <
3) {
- checkUnnamed2993(o.responses);
+ checkUnnamed2997(o.responses);
}
buildCounterGoogleCloudVisionV1p3beta1AsyncBatchAnnotateFilesResponse--;
}
@@ -4666,14 +4666,14 @@
buildCounterGoogleCloudVisionV1p3beta1BatchOperationMetadata--;
}
-buildUnnamed2994() {
+buildUnnamed2998() {
var o = new core.List<api.GoogleCloudVisionV1p3beta1Paragraph>();
o.add(buildGoogleCloudVisionV1p3beta1Paragraph());
o.add(buildGoogleCloudVisionV1p3beta1Paragraph());
return o;
}
-checkUnnamed2994(core.List<api.GoogleCloudVisionV1p3beta1Paragraph> o) {
+checkUnnamed2998(core.List<api.GoogleCloudVisionV1p3beta1Paragraph> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p3beta1Paragraph(o[0]);
checkGoogleCloudVisionV1p3beta1Paragraph(o[1]);
@@ -4687,7 +4687,7 @@
o.blockType = "foo";
o.boundingBox = buildGoogleCloudVisionV1p3beta1BoundingPoly();
o.confidence = 42.0;
- o.paragraphs = buildUnnamed2994();
+ o.paragraphs = buildUnnamed2998();
o.property = buildGoogleCloudVisionV1p3beta1TextAnnotationTextProperty();
}
buildCounterGoogleCloudVisionV1p3beta1Block--;
@@ -4700,33 +4700,33 @@
unittest.expect(o.blockType, unittest.equals('foo'));
checkGoogleCloudVisionV1p3beta1BoundingPoly(o.boundingBox);
unittest.expect(o.confidence, unittest.equals(42.0));
- checkUnnamed2994(o.paragraphs);
+ checkUnnamed2998(o.paragraphs);
checkGoogleCloudVisionV1p3beta1TextAnnotationTextProperty(o.property);
}
buildCounterGoogleCloudVisionV1p3beta1Block--;
}
-buildUnnamed2995() {
+buildUnnamed2999() {
var o = new core.List<api.GoogleCloudVisionV1p3beta1NormalizedVertex>();
o.add(buildGoogleCloudVisionV1p3beta1NormalizedVertex());
o.add(buildGoogleCloudVisionV1p3beta1NormalizedVertex());
return o;
}
-checkUnnamed2995(core.List<api.GoogleCloudVisionV1p3beta1NormalizedVertex> o) {
+checkUnnamed2999(core.List<api.GoogleCloudVisionV1p3beta1NormalizedVertex> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p3beta1NormalizedVertex(o[0]);
checkGoogleCloudVisionV1p3beta1NormalizedVertex(o[1]);
}
-buildUnnamed2996() {
+buildUnnamed3000() {
var o = new core.List<api.GoogleCloudVisionV1p3beta1Vertex>();
o.add(buildGoogleCloudVisionV1p3beta1Vertex());
o.add(buildGoogleCloudVisionV1p3beta1Vertex());
return o;
}
-checkUnnamed2996(core.List<api.GoogleCloudVisionV1p3beta1Vertex> o) {
+checkUnnamed3000(core.List<api.GoogleCloudVisionV1p3beta1Vertex> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p3beta1Vertex(o[0]);
checkGoogleCloudVisionV1p3beta1Vertex(o[1]);
@@ -4737,8 +4737,8 @@
var o = new api.GoogleCloudVisionV1p3beta1BoundingPoly();
buildCounterGoogleCloudVisionV1p3beta1BoundingPoly++;
if (buildCounterGoogleCloudVisionV1p3beta1BoundingPoly < 3) {
- o.normalizedVertices = buildUnnamed2995();
- o.vertices = buildUnnamed2996();
+ o.normalizedVertices = buildUnnamed2999();
+ o.vertices = buildUnnamed3000();
}
buildCounterGoogleCloudVisionV1p3beta1BoundingPoly--;
return o;
@@ -4748,8 +4748,8 @@
api.GoogleCloudVisionV1p3beta1BoundingPoly o) {
buildCounterGoogleCloudVisionV1p3beta1BoundingPoly++;
if (buildCounterGoogleCloudVisionV1p3beta1BoundingPoly < 3) {
- checkUnnamed2995(o.normalizedVertices);
- checkUnnamed2996(o.vertices);
+ checkUnnamed2999(o.normalizedVertices);
+ checkUnnamed3000(o.vertices);
}
buildCounterGoogleCloudVisionV1p3beta1BoundingPoly--;
}
@@ -4802,14 +4802,14 @@
buildCounterGoogleCloudVisionV1p3beta1CropHint--;
}
-buildUnnamed2997() {
+buildUnnamed3001() {
var o = new core.List<api.GoogleCloudVisionV1p3beta1CropHint>();
o.add(buildGoogleCloudVisionV1p3beta1CropHint());
o.add(buildGoogleCloudVisionV1p3beta1CropHint());
return o;
}
-checkUnnamed2997(core.List<api.GoogleCloudVisionV1p3beta1CropHint> o) {
+checkUnnamed3001(core.List<api.GoogleCloudVisionV1p3beta1CropHint> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p3beta1CropHint(o[0]);
checkGoogleCloudVisionV1p3beta1CropHint(o[1]);
@@ -4820,7 +4820,7 @@
var o = new api.GoogleCloudVisionV1p3beta1CropHintsAnnotation();
buildCounterGoogleCloudVisionV1p3beta1CropHintsAnnotation++;
if (buildCounterGoogleCloudVisionV1p3beta1CropHintsAnnotation < 3) {
- o.cropHints = buildUnnamed2997();
+ o.cropHints = buildUnnamed3001();
}
buildCounterGoogleCloudVisionV1p3beta1CropHintsAnnotation--;
return o;
@@ -4830,19 +4830,19 @@
api.GoogleCloudVisionV1p3beta1CropHintsAnnotation o) {
buildCounterGoogleCloudVisionV1p3beta1CropHintsAnnotation++;
if (buildCounterGoogleCloudVisionV1p3beta1CropHintsAnnotation < 3) {
- checkUnnamed2997(o.cropHints);
+ checkUnnamed3001(o.cropHints);
}
buildCounterGoogleCloudVisionV1p3beta1CropHintsAnnotation--;
}
-buildUnnamed2998() {
+buildUnnamed3002() {
var o = new core.List<api.GoogleCloudVisionV1p3beta1ColorInfo>();
o.add(buildGoogleCloudVisionV1p3beta1ColorInfo());
o.add(buildGoogleCloudVisionV1p3beta1ColorInfo());
return o;
}
-checkUnnamed2998(core.List<api.GoogleCloudVisionV1p3beta1ColorInfo> o) {
+checkUnnamed3002(core.List<api.GoogleCloudVisionV1p3beta1ColorInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p3beta1ColorInfo(o[0]);
checkGoogleCloudVisionV1p3beta1ColorInfo(o[1]);
@@ -4853,7 +4853,7 @@
var o = new api.GoogleCloudVisionV1p3beta1DominantColorsAnnotation();
buildCounterGoogleCloudVisionV1p3beta1DominantColorsAnnotation++;
if (buildCounterGoogleCloudVisionV1p3beta1DominantColorsAnnotation < 3) {
- o.colors = buildUnnamed2998();
+ o.colors = buildUnnamed3002();
}
buildCounterGoogleCloudVisionV1p3beta1DominantColorsAnnotation--;
return o;
@@ -4863,32 +4863,32 @@
api.GoogleCloudVisionV1p3beta1DominantColorsAnnotation o) {
buildCounterGoogleCloudVisionV1p3beta1DominantColorsAnnotation++;
if (buildCounterGoogleCloudVisionV1p3beta1DominantColorsAnnotation < 3) {
- checkUnnamed2998(o.colors);
+ checkUnnamed3002(o.colors);
}
buildCounterGoogleCloudVisionV1p3beta1DominantColorsAnnotation--;
}
-buildUnnamed2999() {
+buildUnnamed3003() {
var o = new core.List<api.GoogleCloudVisionV1p3beta1LocationInfo>();
o.add(buildGoogleCloudVisionV1p3beta1LocationInfo());
o.add(buildGoogleCloudVisionV1p3beta1LocationInfo());
return o;
}
-checkUnnamed2999(core.List<api.GoogleCloudVisionV1p3beta1LocationInfo> o) {
+checkUnnamed3003(core.List<api.GoogleCloudVisionV1p3beta1LocationInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p3beta1LocationInfo(o[0]);
checkGoogleCloudVisionV1p3beta1LocationInfo(o[1]);
}
-buildUnnamed3000() {
+buildUnnamed3004() {
var o = new core.List<api.GoogleCloudVisionV1p3beta1Property>();
o.add(buildGoogleCloudVisionV1p3beta1Property());
o.add(buildGoogleCloudVisionV1p3beta1Property());
return o;
}
-checkUnnamed3000(core.List<api.GoogleCloudVisionV1p3beta1Property> o) {
+checkUnnamed3004(core.List<api.GoogleCloudVisionV1p3beta1Property> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p3beta1Property(o[0]);
checkGoogleCloudVisionV1p3beta1Property(o[1]);
@@ -4903,9 +4903,9 @@
o.confidence = 42.0;
o.description = "foo";
o.locale = "foo";
- o.locations = buildUnnamed2999();
+ o.locations = buildUnnamed3003();
o.mid = "foo";
- o.properties = buildUnnamed3000();
+ o.properties = buildUnnamed3004();
o.score = 42.0;
o.topicality = 42.0;
}
@@ -4921,23 +4921,23 @@
unittest.expect(o.confidence, unittest.equals(42.0));
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.locale, unittest.equals('foo'));
- checkUnnamed2999(o.locations);
+ checkUnnamed3003(o.locations);
unittest.expect(o.mid, unittest.equals('foo'));
- checkUnnamed3000(o.properties);
+ checkUnnamed3004(o.properties);
unittest.expect(o.score, unittest.equals(42.0));
unittest.expect(o.topicality, unittest.equals(42.0));
}
buildCounterGoogleCloudVisionV1p3beta1EntityAnnotation--;
}
-buildUnnamed3001() {
+buildUnnamed3005() {
var o = new core.List<api.GoogleCloudVisionV1p3beta1FaceAnnotationLandmark>();
o.add(buildGoogleCloudVisionV1p3beta1FaceAnnotationLandmark());
o.add(buildGoogleCloudVisionV1p3beta1FaceAnnotationLandmark());
return o;
}
-checkUnnamed3001(
+checkUnnamed3005(
core.List<api.GoogleCloudVisionV1p3beta1FaceAnnotationLandmark> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p3beta1FaceAnnotationLandmark(o[0]);
@@ -4957,7 +4957,7 @@
o.headwearLikelihood = "foo";
o.joyLikelihood = "foo";
o.landmarkingConfidence = 42.0;
- o.landmarks = buildUnnamed3001();
+ o.landmarks = buildUnnamed3005();
o.panAngle = 42.0;
o.rollAngle = 42.0;
o.sorrowLikelihood = "foo";
@@ -4981,7 +4981,7 @@
unittest.expect(o.headwearLikelihood, unittest.equals('foo'));
unittest.expect(o.joyLikelihood, unittest.equals('foo'));
unittest.expect(o.landmarkingConfidence, unittest.equals(42.0));
- checkUnnamed3001(o.landmarks);
+ checkUnnamed3005(o.landmarks);
unittest.expect(o.panAngle, unittest.equals(42.0));
unittest.expect(o.rollAngle, unittest.equals(42.0));
unittest.expect(o.sorrowLikelihood, unittest.equals('foo'));
@@ -5097,27 +5097,27 @@
buildCounterGoogleCloudVisionV1p3beta1ImageProperties--;
}
-buildUnnamed3002() {
+buildUnnamed3006() {
var o = new core.List<api.GoogleCloudVisionV1p3beta1ReferenceImage>();
o.add(buildGoogleCloudVisionV1p3beta1ReferenceImage());
o.add(buildGoogleCloudVisionV1p3beta1ReferenceImage());
return o;
}
-checkUnnamed3002(core.List<api.GoogleCloudVisionV1p3beta1ReferenceImage> o) {
+checkUnnamed3006(core.List<api.GoogleCloudVisionV1p3beta1ReferenceImage> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p3beta1ReferenceImage(o[0]);
checkGoogleCloudVisionV1p3beta1ReferenceImage(o[1]);
}
-buildUnnamed3003() {
+buildUnnamed3007() {
var o = new core.List<api.Status>();
o.add(buildStatus());
o.add(buildStatus());
return o;
}
-checkUnnamed3003(core.List<api.Status> o) {
+checkUnnamed3007(core.List<api.Status> o) {
unittest.expect(o, unittest.hasLength(2));
checkStatus(o[0]);
checkStatus(o[1]);
@@ -5128,8 +5128,8 @@
var o = new api.GoogleCloudVisionV1p3beta1ImportProductSetsResponse();
buildCounterGoogleCloudVisionV1p3beta1ImportProductSetsResponse++;
if (buildCounterGoogleCloudVisionV1p3beta1ImportProductSetsResponse < 3) {
- o.referenceImages = buildUnnamed3002();
- o.statuses = buildUnnamed3003();
+ o.referenceImages = buildUnnamed3006();
+ o.statuses = buildUnnamed3007();
}
buildCounterGoogleCloudVisionV1p3beta1ImportProductSetsResponse--;
return o;
@@ -5139,8 +5139,8 @@
api.GoogleCloudVisionV1p3beta1ImportProductSetsResponse o) {
buildCounterGoogleCloudVisionV1p3beta1ImportProductSetsResponse++;
if (buildCounterGoogleCloudVisionV1p3beta1ImportProductSetsResponse < 3) {
- checkUnnamed3002(o.referenceImages);
- checkUnnamed3003(o.statuses);
+ checkUnnamed3006(o.referenceImages);
+ checkUnnamed3007(o.statuses);
}
buildCounterGoogleCloudVisionV1p3beta1ImportProductSetsResponse--;
}
@@ -5285,14 +5285,14 @@
buildCounterGoogleCloudVisionV1p3beta1OutputConfig--;
}
-buildUnnamed3004() {
+buildUnnamed3008() {
var o = new core.List<api.GoogleCloudVisionV1p3beta1Block>();
o.add(buildGoogleCloudVisionV1p3beta1Block());
o.add(buildGoogleCloudVisionV1p3beta1Block());
return o;
}
-checkUnnamed3004(core.List<api.GoogleCloudVisionV1p3beta1Block> o) {
+checkUnnamed3008(core.List<api.GoogleCloudVisionV1p3beta1Block> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p3beta1Block(o[0]);
checkGoogleCloudVisionV1p3beta1Block(o[1]);
@@ -5303,7 +5303,7 @@
var o = new api.GoogleCloudVisionV1p3beta1Page();
buildCounterGoogleCloudVisionV1p3beta1Page++;
if (buildCounterGoogleCloudVisionV1p3beta1Page < 3) {
- o.blocks = buildUnnamed3004();
+ o.blocks = buildUnnamed3008();
o.confidence = 42.0;
o.height = 42;
o.property = buildGoogleCloudVisionV1p3beta1TextAnnotationTextProperty();
@@ -5316,7 +5316,7 @@
checkGoogleCloudVisionV1p3beta1Page(api.GoogleCloudVisionV1p3beta1Page o) {
buildCounterGoogleCloudVisionV1p3beta1Page++;
if (buildCounterGoogleCloudVisionV1p3beta1Page < 3) {
- checkUnnamed3004(o.blocks);
+ checkUnnamed3008(o.blocks);
unittest.expect(o.confidence, unittest.equals(42.0));
unittest.expect(o.height, unittest.equals(42));
checkGoogleCloudVisionV1p3beta1TextAnnotationTextProperty(o.property);
@@ -5325,14 +5325,14 @@
buildCounterGoogleCloudVisionV1p3beta1Page--;
}
-buildUnnamed3005() {
+buildUnnamed3009() {
var o = new core.List<api.GoogleCloudVisionV1p3beta1Word>();
o.add(buildGoogleCloudVisionV1p3beta1Word());
o.add(buildGoogleCloudVisionV1p3beta1Word());
return o;
}
-checkUnnamed3005(core.List<api.GoogleCloudVisionV1p3beta1Word> o) {
+checkUnnamed3009(core.List<api.GoogleCloudVisionV1p3beta1Word> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p3beta1Word(o[0]);
checkGoogleCloudVisionV1p3beta1Word(o[1]);
@@ -5346,7 +5346,7 @@
o.boundingBox = buildGoogleCloudVisionV1p3beta1BoundingPoly();
o.confidence = 42.0;
o.property = buildGoogleCloudVisionV1p3beta1TextAnnotationTextProperty();
- o.words = buildUnnamed3005();
+ o.words = buildUnnamed3009();
}
buildCounterGoogleCloudVisionV1p3beta1Paragraph--;
return o;
@@ -5359,7 +5359,7 @@
checkGoogleCloudVisionV1p3beta1BoundingPoly(o.boundingBox);
unittest.expect(o.confidence, unittest.equals(42.0));
checkGoogleCloudVisionV1p3beta1TextAnnotationTextProperty(o.property);
- checkUnnamed3005(o.words);
+ checkUnnamed3009(o.words);
}
buildCounterGoogleCloudVisionV1p3beta1Paragraph--;
}
@@ -5388,14 +5388,14 @@
buildCounterGoogleCloudVisionV1p3beta1Position--;
}
-buildUnnamed3006() {
+buildUnnamed3010() {
var o = new core.List<api.GoogleCloudVisionV1p3beta1ProductKeyValue>();
o.add(buildGoogleCloudVisionV1p3beta1ProductKeyValue());
o.add(buildGoogleCloudVisionV1p3beta1ProductKeyValue());
return o;
}
-checkUnnamed3006(core.List<api.GoogleCloudVisionV1p3beta1ProductKeyValue> o) {
+checkUnnamed3010(core.List<api.GoogleCloudVisionV1p3beta1ProductKeyValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p3beta1ProductKeyValue(o[0]);
checkGoogleCloudVisionV1p3beta1ProductKeyValue(o[1]);
@@ -5410,7 +5410,7 @@
o.displayName = "foo";
o.name = "foo";
o.productCategory = "foo";
- o.productLabels = buildUnnamed3006();
+ o.productLabels = buildUnnamed3010();
}
buildCounterGoogleCloudVisionV1p3beta1Product--;
return o;
@@ -5424,7 +5424,7 @@
unittest.expect(o.displayName, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.productCategory, unittest.equals('foo'));
- checkUnnamed3006(o.productLabels);
+ checkUnnamed3010(o.productLabels);
}
buildCounterGoogleCloudVisionV1p3beta1Product--;
}
@@ -5451,7 +5451,7 @@
buildCounterGoogleCloudVisionV1p3beta1ProductKeyValue--;
}
-buildUnnamed3007() {
+buildUnnamed3011() {
var o = new core
.List<api.GoogleCloudVisionV1p3beta1ProductSearchResultsGroupedResult>();
o.add(buildGoogleCloudVisionV1p3beta1ProductSearchResultsGroupedResult());
@@ -5459,7 +5459,7 @@
return o;
}
-checkUnnamed3007(
+checkUnnamed3011(
core.List<api.GoogleCloudVisionV1p3beta1ProductSearchResultsGroupedResult>
o) {
unittest.expect(o, unittest.hasLength(2));
@@ -5467,7 +5467,7 @@
checkGoogleCloudVisionV1p3beta1ProductSearchResultsGroupedResult(o[1]);
}
-buildUnnamed3008() {
+buildUnnamed3012() {
var o =
new core.List<api.GoogleCloudVisionV1p3beta1ProductSearchResultsResult>();
o.add(buildGoogleCloudVisionV1p3beta1ProductSearchResultsResult());
@@ -5475,7 +5475,7 @@
return o;
}
-checkUnnamed3008(
+checkUnnamed3012(
core.List<api.GoogleCloudVisionV1p3beta1ProductSearchResultsResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p3beta1ProductSearchResultsResult(o[0]);
@@ -5488,8 +5488,8 @@
buildCounterGoogleCloudVisionV1p3beta1ProductSearchResults++;
if (buildCounterGoogleCloudVisionV1p3beta1ProductSearchResults < 3) {
o.indexTime = "foo";
- o.productGroupedResults = buildUnnamed3007();
- o.results = buildUnnamed3008();
+ o.productGroupedResults = buildUnnamed3011();
+ o.results = buildUnnamed3012();
}
buildCounterGoogleCloudVisionV1p3beta1ProductSearchResults--;
return o;
@@ -5500,13 +5500,13 @@
buildCounterGoogleCloudVisionV1p3beta1ProductSearchResults++;
if (buildCounterGoogleCloudVisionV1p3beta1ProductSearchResults < 3) {
unittest.expect(o.indexTime, unittest.equals('foo'));
- checkUnnamed3007(o.productGroupedResults);
- checkUnnamed3008(o.results);
+ checkUnnamed3011(o.productGroupedResults);
+ checkUnnamed3012(o.results);
}
buildCounterGoogleCloudVisionV1p3beta1ProductSearchResults--;
}
-buildUnnamed3009() {
+buildUnnamed3013() {
var o = new core.List<
api.GoogleCloudVisionV1p3beta1ProductSearchResultsObjectAnnotation>();
o.add(buildGoogleCloudVisionV1p3beta1ProductSearchResultsObjectAnnotation());
@@ -5514,7 +5514,7 @@
return o;
}
-checkUnnamed3009(
+checkUnnamed3013(
core.List<
api.GoogleCloudVisionV1p3beta1ProductSearchResultsObjectAnnotation>
o) {
@@ -5523,7 +5523,7 @@
checkGoogleCloudVisionV1p3beta1ProductSearchResultsObjectAnnotation(o[1]);
}
-buildUnnamed3010() {
+buildUnnamed3014() {
var o =
new core.List<api.GoogleCloudVisionV1p3beta1ProductSearchResultsResult>();
o.add(buildGoogleCloudVisionV1p3beta1ProductSearchResultsResult());
@@ -5531,7 +5531,7 @@
return o;
}
-checkUnnamed3010(
+checkUnnamed3014(
core.List<api.GoogleCloudVisionV1p3beta1ProductSearchResultsResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p3beta1ProductSearchResultsResult(o[0]);
@@ -5546,8 +5546,8 @@
if (buildCounterGoogleCloudVisionV1p3beta1ProductSearchResultsGroupedResult <
3) {
o.boundingPoly = buildGoogleCloudVisionV1p3beta1BoundingPoly();
- o.objectAnnotations = buildUnnamed3009();
- o.results = buildUnnamed3010();
+ o.objectAnnotations = buildUnnamed3013();
+ o.results = buildUnnamed3014();
}
buildCounterGoogleCloudVisionV1p3beta1ProductSearchResultsGroupedResult--;
return o;
@@ -5559,8 +5559,8 @@
if (buildCounterGoogleCloudVisionV1p3beta1ProductSearchResultsGroupedResult <
3) {
checkGoogleCloudVisionV1p3beta1BoundingPoly(o.boundingPoly);
- checkUnnamed3009(o.objectAnnotations);
- checkUnnamed3010(o.results);
+ checkUnnamed3013(o.objectAnnotations);
+ checkUnnamed3014(o.results);
}
buildCounterGoogleCloudVisionV1p3beta1ProductSearchResultsGroupedResult--;
}
@@ -5644,14 +5644,14 @@
buildCounterGoogleCloudVisionV1p3beta1Property--;
}
-buildUnnamed3011() {
+buildUnnamed3015() {
var o = new core.List<api.GoogleCloudVisionV1p3beta1BoundingPoly>();
o.add(buildGoogleCloudVisionV1p3beta1BoundingPoly());
o.add(buildGoogleCloudVisionV1p3beta1BoundingPoly());
return o;
}
-checkUnnamed3011(core.List<api.GoogleCloudVisionV1p3beta1BoundingPoly> o) {
+checkUnnamed3015(core.List<api.GoogleCloudVisionV1p3beta1BoundingPoly> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p3beta1BoundingPoly(o[0]);
checkGoogleCloudVisionV1p3beta1BoundingPoly(o[1]);
@@ -5662,7 +5662,7 @@
var o = new api.GoogleCloudVisionV1p3beta1ReferenceImage();
buildCounterGoogleCloudVisionV1p3beta1ReferenceImage++;
if (buildCounterGoogleCloudVisionV1p3beta1ReferenceImage < 3) {
- o.boundingPolys = buildUnnamed3011();
+ o.boundingPolys = buildUnnamed3015();
o.name = "foo";
o.uri = "foo";
}
@@ -5674,7 +5674,7 @@
api.GoogleCloudVisionV1p3beta1ReferenceImage o) {
buildCounterGoogleCloudVisionV1p3beta1ReferenceImage++;
if (buildCounterGoogleCloudVisionV1p3beta1ReferenceImage < 3) {
- checkUnnamed3011(o.boundingPolys);
+ checkUnnamed3015(o.boundingPolys);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.uri, unittest.equals('foo'));
}
@@ -5734,14 +5734,14 @@
buildCounterGoogleCloudVisionV1p3beta1Symbol--;
}
-buildUnnamed3012() {
+buildUnnamed3016() {
var o = new core.List<api.GoogleCloudVisionV1p3beta1Page>();
o.add(buildGoogleCloudVisionV1p3beta1Page());
o.add(buildGoogleCloudVisionV1p3beta1Page());
return o;
}
-checkUnnamed3012(core.List<api.GoogleCloudVisionV1p3beta1Page> o) {
+checkUnnamed3016(core.List<api.GoogleCloudVisionV1p3beta1Page> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p3beta1Page(o[0]);
checkGoogleCloudVisionV1p3beta1Page(o[1]);
@@ -5752,7 +5752,7 @@
var o = new api.GoogleCloudVisionV1p3beta1TextAnnotation();
buildCounterGoogleCloudVisionV1p3beta1TextAnnotation++;
if (buildCounterGoogleCloudVisionV1p3beta1TextAnnotation < 3) {
- o.pages = buildUnnamed3012();
+ o.pages = buildUnnamed3016();
o.text = "foo";
}
buildCounterGoogleCloudVisionV1p3beta1TextAnnotation--;
@@ -5763,7 +5763,7 @@
api.GoogleCloudVisionV1p3beta1TextAnnotation o) {
buildCounterGoogleCloudVisionV1p3beta1TextAnnotation++;
if (buildCounterGoogleCloudVisionV1p3beta1TextAnnotation < 3) {
- checkUnnamed3012(o.pages);
+ checkUnnamed3016(o.pages);
unittest.expect(o.text, unittest.equals('foo'));
}
buildCounterGoogleCloudVisionV1p3beta1TextAnnotation--;
@@ -5816,7 +5816,7 @@
buildCounterGoogleCloudVisionV1p3beta1TextAnnotationDetectedLanguage--;
}
-buildUnnamed3013() {
+buildUnnamed3017() {
var o = new core
.List<api.GoogleCloudVisionV1p3beta1TextAnnotationDetectedLanguage>();
o.add(buildGoogleCloudVisionV1p3beta1TextAnnotationDetectedLanguage());
@@ -5824,7 +5824,7 @@
return o;
}
-checkUnnamed3013(
+checkUnnamed3017(
core.List<api.GoogleCloudVisionV1p3beta1TextAnnotationDetectedLanguage> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p3beta1TextAnnotationDetectedLanguage(o[0]);
@@ -5838,7 +5838,7 @@
if (buildCounterGoogleCloudVisionV1p3beta1TextAnnotationTextProperty < 3) {
o.detectedBreak =
buildGoogleCloudVisionV1p3beta1TextAnnotationDetectedBreak();
- o.detectedLanguages = buildUnnamed3013();
+ o.detectedLanguages = buildUnnamed3017();
}
buildCounterGoogleCloudVisionV1p3beta1TextAnnotationTextProperty--;
return o;
@@ -5849,7 +5849,7 @@
buildCounterGoogleCloudVisionV1p3beta1TextAnnotationTextProperty++;
if (buildCounterGoogleCloudVisionV1p3beta1TextAnnotationTextProperty < 3) {
checkGoogleCloudVisionV1p3beta1TextAnnotationDetectedBreak(o.detectedBreak);
- checkUnnamed3013(o.detectedLanguages);
+ checkUnnamed3017(o.detectedLanguages);
}
buildCounterGoogleCloudVisionV1p3beta1TextAnnotationTextProperty--;
}
@@ -5875,84 +5875,84 @@
buildCounterGoogleCloudVisionV1p3beta1Vertex--;
}
-buildUnnamed3014() {
+buildUnnamed3018() {
var o = new core.List<api.GoogleCloudVisionV1p3beta1WebDetectionWebLabel>();
o.add(buildGoogleCloudVisionV1p3beta1WebDetectionWebLabel());
o.add(buildGoogleCloudVisionV1p3beta1WebDetectionWebLabel());
return o;
}
-checkUnnamed3014(
+checkUnnamed3018(
core.List<api.GoogleCloudVisionV1p3beta1WebDetectionWebLabel> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p3beta1WebDetectionWebLabel(o[0]);
checkGoogleCloudVisionV1p3beta1WebDetectionWebLabel(o[1]);
}
-buildUnnamed3015() {
+buildUnnamed3019() {
var o = new core.List<api.GoogleCloudVisionV1p3beta1WebDetectionWebImage>();
o.add(buildGoogleCloudVisionV1p3beta1WebDetectionWebImage());
o.add(buildGoogleCloudVisionV1p3beta1WebDetectionWebImage());
return o;
}
-checkUnnamed3015(
+checkUnnamed3019(
core.List<api.GoogleCloudVisionV1p3beta1WebDetectionWebImage> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p3beta1WebDetectionWebImage(o[0]);
checkGoogleCloudVisionV1p3beta1WebDetectionWebImage(o[1]);
}
-buildUnnamed3016() {
+buildUnnamed3020() {
var o = new core.List<api.GoogleCloudVisionV1p3beta1WebDetectionWebPage>();
o.add(buildGoogleCloudVisionV1p3beta1WebDetectionWebPage());
o.add(buildGoogleCloudVisionV1p3beta1WebDetectionWebPage());
return o;
}
-checkUnnamed3016(
+checkUnnamed3020(
core.List<api.GoogleCloudVisionV1p3beta1WebDetectionWebPage> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p3beta1WebDetectionWebPage(o[0]);
checkGoogleCloudVisionV1p3beta1WebDetectionWebPage(o[1]);
}
-buildUnnamed3017() {
+buildUnnamed3021() {
var o = new core.List<api.GoogleCloudVisionV1p3beta1WebDetectionWebImage>();
o.add(buildGoogleCloudVisionV1p3beta1WebDetectionWebImage());
o.add(buildGoogleCloudVisionV1p3beta1WebDetectionWebImage());
return o;
}
-checkUnnamed3017(
+checkUnnamed3021(
core.List<api.GoogleCloudVisionV1p3beta1WebDetectionWebImage> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p3beta1WebDetectionWebImage(o[0]);
checkGoogleCloudVisionV1p3beta1WebDetectionWebImage(o[1]);
}
-buildUnnamed3018() {
+buildUnnamed3022() {
var o = new core.List<api.GoogleCloudVisionV1p3beta1WebDetectionWebImage>();
o.add(buildGoogleCloudVisionV1p3beta1WebDetectionWebImage());
o.add(buildGoogleCloudVisionV1p3beta1WebDetectionWebImage());
return o;
}
-checkUnnamed3018(
+checkUnnamed3022(
core.List<api.GoogleCloudVisionV1p3beta1WebDetectionWebImage> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p3beta1WebDetectionWebImage(o[0]);
checkGoogleCloudVisionV1p3beta1WebDetectionWebImage(o[1]);
}
-buildUnnamed3019() {
+buildUnnamed3023() {
var o = new core.List<api.GoogleCloudVisionV1p3beta1WebDetectionWebEntity>();
o.add(buildGoogleCloudVisionV1p3beta1WebDetectionWebEntity());
o.add(buildGoogleCloudVisionV1p3beta1WebDetectionWebEntity());
return o;
}
-checkUnnamed3019(
+checkUnnamed3023(
core.List<api.GoogleCloudVisionV1p3beta1WebDetectionWebEntity> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p3beta1WebDetectionWebEntity(o[0]);
@@ -5964,12 +5964,12 @@
var o = new api.GoogleCloudVisionV1p3beta1WebDetection();
buildCounterGoogleCloudVisionV1p3beta1WebDetection++;
if (buildCounterGoogleCloudVisionV1p3beta1WebDetection < 3) {
- o.bestGuessLabels = buildUnnamed3014();
- o.fullMatchingImages = buildUnnamed3015();
- o.pagesWithMatchingImages = buildUnnamed3016();
- o.partialMatchingImages = buildUnnamed3017();
- o.visuallySimilarImages = buildUnnamed3018();
- o.webEntities = buildUnnamed3019();
+ o.bestGuessLabels = buildUnnamed3018();
+ o.fullMatchingImages = buildUnnamed3019();
+ o.pagesWithMatchingImages = buildUnnamed3020();
+ o.partialMatchingImages = buildUnnamed3021();
+ o.visuallySimilarImages = buildUnnamed3022();
+ o.webEntities = buildUnnamed3023();
}
buildCounterGoogleCloudVisionV1p3beta1WebDetection--;
return o;
@@ -5979,12 +5979,12 @@
api.GoogleCloudVisionV1p3beta1WebDetection o) {
buildCounterGoogleCloudVisionV1p3beta1WebDetection++;
if (buildCounterGoogleCloudVisionV1p3beta1WebDetection < 3) {
- checkUnnamed3014(o.bestGuessLabels);
- checkUnnamed3015(o.fullMatchingImages);
- checkUnnamed3016(o.pagesWithMatchingImages);
- checkUnnamed3017(o.partialMatchingImages);
- checkUnnamed3018(o.visuallySimilarImages);
- checkUnnamed3019(o.webEntities);
+ checkUnnamed3018(o.bestGuessLabels);
+ checkUnnamed3019(o.fullMatchingImages);
+ checkUnnamed3020(o.pagesWithMatchingImages);
+ checkUnnamed3021(o.partialMatchingImages);
+ checkUnnamed3022(o.visuallySimilarImages);
+ checkUnnamed3023(o.webEntities);
}
buildCounterGoogleCloudVisionV1p3beta1WebDetection--;
}
@@ -6057,28 +6057,28 @@
buildCounterGoogleCloudVisionV1p3beta1WebDetectionWebLabel--;
}
-buildUnnamed3020() {
+buildUnnamed3024() {
var o = new core.List<api.GoogleCloudVisionV1p3beta1WebDetectionWebImage>();
o.add(buildGoogleCloudVisionV1p3beta1WebDetectionWebImage());
o.add(buildGoogleCloudVisionV1p3beta1WebDetectionWebImage());
return o;
}
-checkUnnamed3020(
+checkUnnamed3024(
core.List<api.GoogleCloudVisionV1p3beta1WebDetectionWebImage> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p3beta1WebDetectionWebImage(o[0]);
checkGoogleCloudVisionV1p3beta1WebDetectionWebImage(o[1]);
}
-buildUnnamed3021() {
+buildUnnamed3025() {
var o = new core.List<api.GoogleCloudVisionV1p3beta1WebDetectionWebImage>();
o.add(buildGoogleCloudVisionV1p3beta1WebDetectionWebImage());
o.add(buildGoogleCloudVisionV1p3beta1WebDetectionWebImage());
return o;
}
-checkUnnamed3021(
+checkUnnamed3025(
core.List<api.GoogleCloudVisionV1p3beta1WebDetectionWebImage> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p3beta1WebDetectionWebImage(o[0]);
@@ -6090,9 +6090,9 @@
var o = new api.GoogleCloudVisionV1p3beta1WebDetectionWebPage();
buildCounterGoogleCloudVisionV1p3beta1WebDetectionWebPage++;
if (buildCounterGoogleCloudVisionV1p3beta1WebDetectionWebPage < 3) {
- o.fullMatchingImages = buildUnnamed3020();
+ o.fullMatchingImages = buildUnnamed3024();
o.pageTitle = "foo";
- o.partialMatchingImages = buildUnnamed3021();
+ o.partialMatchingImages = buildUnnamed3025();
o.score = 42.0;
o.url = "foo";
}
@@ -6104,23 +6104,23 @@
api.GoogleCloudVisionV1p3beta1WebDetectionWebPage o) {
buildCounterGoogleCloudVisionV1p3beta1WebDetectionWebPage++;
if (buildCounterGoogleCloudVisionV1p3beta1WebDetectionWebPage < 3) {
- checkUnnamed3020(o.fullMatchingImages);
+ checkUnnamed3024(o.fullMatchingImages);
unittest.expect(o.pageTitle, unittest.equals('foo'));
- checkUnnamed3021(o.partialMatchingImages);
+ checkUnnamed3025(o.partialMatchingImages);
unittest.expect(o.score, unittest.equals(42.0));
unittest.expect(o.url, unittest.equals('foo'));
}
buildCounterGoogleCloudVisionV1p3beta1WebDetectionWebPage--;
}
-buildUnnamed3022() {
+buildUnnamed3026() {
var o = new core.List<api.GoogleCloudVisionV1p3beta1Symbol>();
o.add(buildGoogleCloudVisionV1p3beta1Symbol());
o.add(buildGoogleCloudVisionV1p3beta1Symbol());
return o;
}
-checkUnnamed3022(core.List<api.GoogleCloudVisionV1p3beta1Symbol> o) {
+checkUnnamed3026(core.List<api.GoogleCloudVisionV1p3beta1Symbol> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p3beta1Symbol(o[0]);
checkGoogleCloudVisionV1p3beta1Symbol(o[1]);
@@ -6134,7 +6134,7 @@
o.boundingBox = buildGoogleCloudVisionV1p3beta1BoundingPoly();
o.confidence = 42.0;
o.property = buildGoogleCloudVisionV1p3beta1TextAnnotationTextProperty();
- o.symbols = buildUnnamed3022();
+ o.symbols = buildUnnamed3026();
}
buildCounterGoogleCloudVisionV1p3beta1Word--;
return o;
@@ -6146,19 +6146,19 @@
checkGoogleCloudVisionV1p3beta1BoundingPoly(o.boundingBox);
unittest.expect(o.confidence, unittest.equals(42.0));
checkGoogleCloudVisionV1p3beta1TextAnnotationTextProperty(o.property);
- checkUnnamed3022(o.symbols);
+ checkUnnamed3026(o.symbols);
}
buildCounterGoogleCloudVisionV1p3beta1Word--;
}
-buildUnnamed3023() {
+buildUnnamed3027() {
var o = new core.List<api.GoogleCloudVisionV1p4beta1AnnotateImageResponse>();
o.add(buildGoogleCloudVisionV1p4beta1AnnotateImageResponse());
o.add(buildGoogleCloudVisionV1p4beta1AnnotateImageResponse());
return o;
}
-checkUnnamed3023(
+checkUnnamed3027(
core.List<api.GoogleCloudVisionV1p4beta1AnnotateImageResponse> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p4beta1AnnotateImageResponse(o[0]);
@@ -6172,7 +6172,7 @@
if (buildCounterGoogleCloudVisionV1p4beta1AnnotateFileResponse < 3) {
o.error = buildStatus();
o.inputConfig = buildGoogleCloudVisionV1p4beta1InputConfig();
- o.responses = buildUnnamed3023();
+ o.responses = buildUnnamed3027();
o.totalPages = 42;
}
buildCounterGoogleCloudVisionV1p4beta1AnnotateFileResponse--;
@@ -6185,79 +6185,25 @@
if (buildCounterGoogleCloudVisionV1p4beta1AnnotateFileResponse < 3) {
checkStatus(o.error);
checkGoogleCloudVisionV1p4beta1InputConfig(o.inputConfig);
- checkUnnamed3023(o.responses);
+ checkUnnamed3027(o.responses);
unittest.expect(o.totalPages, unittest.equals(42));
}
buildCounterGoogleCloudVisionV1p4beta1AnnotateFileResponse--;
}
-buildUnnamed3024() {
+buildUnnamed3028() {
var o = new core.List<api.GoogleCloudVisionV1p4beta1FaceAnnotation>();
o.add(buildGoogleCloudVisionV1p4beta1FaceAnnotation());
o.add(buildGoogleCloudVisionV1p4beta1FaceAnnotation());
return o;
}
-checkUnnamed3024(core.List<api.GoogleCloudVisionV1p4beta1FaceAnnotation> o) {
+checkUnnamed3028(core.List<api.GoogleCloudVisionV1p4beta1FaceAnnotation> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p4beta1FaceAnnotation(o[0]);
checkGoogleCloudVisionV1p4beta1FaceAnnotation(o[1]);
}
-buildUnnamed3025() {
- var o = new core.List<api.GoogleCloudVisionV1p4beta1EntityAnnotation>();
- o.add(buildGoogleCloudVisionV1p4beta1EntityAnnotation());
- o.add(buildGoogleCloudVisionV1p4beta1EntityAnnotation());
- return o;
-}
-
-checkUnnamed3025(core.List<api.GoogleCloudVisionV1p4beta1EntityAnnotation> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkGoogleCloudVisionV1p4beta1EntityAnnotation(o[0]);
- checkGoogleCloudVisionV1p4beta1EntityAnnotation(o[1]);
-}
-
-buildUnnamed3026() {
- var o = new core.List<api.GoogleCloudVisionV1p4beta1EntityAnnotation>();
- o.add(buildGoogleCloudVisionV1p4beta1EntityAnnotation());
- o.add(buildGoogleCloudVisionV1p4beta1EntityAnnotation());
- return o;
-}
-
-checkUnnamed3026(core.List<api.GoogleCloudVisionV1p4beta1EntityAnnotation> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkGoogleCloudVisionV1p4beta1EntityAnnotation(o[0]);
- checkGoogleCloudVisionV1p4beta1EntityAnnotation(o[1]);
-}
-
-buildUnnamed3027() {
- var o =
- new core.List<api.GoogleCloudVisionV1p4beta1LocalizedObjectAnnotation>();
- o.add(buildGoogleCloudVisionV1p4beta1LocalizedObjectAnnotation());
- o.add(buildGoogleCloudVisionV1p4beta1LocalizedObjectAnnotation());
- return o;
-}
-
-checkUnnamed3027(
- core.List<api.GoogleCloudVisionV1p4beta1LocalizedObjectAnnotation> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkGoogleCloudVisionV1p4beta1LocalizedObjectAnnotation(o[0]);
- checkGoogleCloudVisionV1p4beta1LocalizedObjectAnnotation(o[1]);
-}
-
-buildUnnamed3028() {
- var o = new core.List<api.GoogleCloudVisionV1p4beta1EntityAnnotation>();
- o.add(buildGoogleCloudVisionV1p4beta1EntityAnnotation());
- o.add(buildGoogleCloudVisionV1p4beta1EntityAnnotation());
- return o;
-}
-
-checkUnnamed3028(core.List<api.GoogleCloudVisionV1p4beta1EntityAnnotation> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkGoogleCloudVisionV1p4beta1EntityAnnotation(o[0]);
- checkGoogleCloudVisionV1p4beta1EntityAnnotation(o[1]);
-}
-
buildUnnamed3029() {
var o = new core.List<api.GoogleCloudVisionV1p4beta1EntityAnnotation>();
o.add(buildGoogleCloudVisionV1p4beta1EntityAnnotation());
@@ -6271,6 +6217,60 @@
checkGoogleCloudVisionV1p4beta1EntityAnnotation(o[1]);
}
+buildUnnamed3030() {
+ var o = new core.List<api.GoogleCloudVisionV1p4beta1EntityAnnotation>();
+ o.add(buildGoogleCloudVisionV1p4beta1EntityAnnotation());
+ o.add(buildGoogleCloudVisionV1p4beta1EntityAnnotation());
+ return o;
+}
+
+checkUnnamed3030(core.List<api.GoogleCloudVisionV1p4beta1EntityAnnotation> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkGoogleCloudVisionV1p4beta1EntityAnnotation(o[0]);
+ checkGoogleCloudVisionV1p4beta1EntityAnnotation(o[1]);
+}
+
+buildUnnamed3031() {
+ var o =
+ new core.List<api.GoogleCloudVisionV1p4beta1LocalizedObjectAnnotation>();
+ o.add(buildGoogleCloudVisionV1p4beta1LocalizedObjectAnnotation());
+ o.add(buildGoogleCloudVisionV1p4beta1LocalizedObjectAnnotation());
+ return o;
+}
+
+checkUnnamed3031(
+ core.List<api.GoogleCloudVisionV1p4beta1LocalizedObjectAnnotation> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkGoogleCloudVisionV1p4beta1LocalizedObjectAnnotation(o[0]);
+ checkGoogleCloudVisionV1p4beta1LocalizedObjectAnnotation(o[1]);
+}
+
+buildUnnamed3032() {
+ var o = new core.List<api.GoogleCloudVisionV1p4beta1EntityAnnotation>();
+ o.add(buildGoogleCloudVisionV1p4beta1EntityAnnotation());
+ o.add(buildGoogleCloudVisionV1p4beta1EntityAnnotation());
+ return o;
+}
+
+checkUnnamed3032(core.List<api.GoogleCloudVisionV1p4beta1EntityAnnotation> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkGoogleCloudVisionV1p4beta1EntityAnnotation(o[0]);
+ checkGoogleCloudVisionV1p4beta1EntityAnnotation(o[1]);
+}
+
+buildUnnamed3033() {
+ var o = new core.List<api.GoogleCloudVisionV1p4beta1EntityAnnotation>();
+ o.add(buildGoogleCloudVisionV1p4beta1EntityAnnotation());
+ o.add(buildGoogleCloudVisionV1p4beta1EntityAnnotation());
+ return o;
+}
+
+checkUnnamed3033(core.List<api.GoogleCloudVisionV1p4beta1EntityAnnotation> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkGoogleCloudVisionV1p4beta1EntityAnnotation(o[0]);
+ checkGoogleCloudVisionV1p4beta1EntityAnnotation(o[1]);
+}
+
core.int buildCounterGoogleCloudVisionV1p4beta1AnnotateImageResponse = 0;
buildGoogleCloudVisionV1p4beta1AnnotateImageResponse() {
var o = new api.GoogleCloudVisionV1p4beta1AnnotateImageResponse();
@@ -6280,19 +6280,19 @@
o.cropHintsAnnotation =
buildGoogleCloudVisionV1p4beta1CropHintsAnnotation();
o.error = buildStatus();
- o.faceAnnotations = buildUnnamed3024();
+ o.faceAnnotations = buildUnnamed3028();
o.fullTextAnnotation = buildGoogleCloudVisionV1p4beta1TextAnnotation();
o.imagePropertiesAnnotation =
buildGoogleCloudVisionV1p4beta1ImageProperties();
- o.labelAnnotations = buildUnnamed3025();
- o.landmarkAnnotations = buildUnnamed3026();
- o.localizedObjectAnnotations = buildUnnamed3027();
- o.logoAnnotations = buildUnnamed3028();
+ o.labelAnnotations = buildUnnamed3029();
+ o.landmarkAnnotations = buildUnnamed3030();
+ o.localizedObjectAnnotations = buildUnnamed3031();
+ o.logoAnnotations = buildUnnamed3032();
o.productSearchResults =
buildGoogleCloudVisionV1p4beta1ProductSearchResults();
o.safeSearchAnnotation =
buildGoogleCloudVisionV1p4beta1SafeSearchAnnotation();
- o.textAnnotations = buildUnnamed3029();
+ o.textAnnotations = buildUnnamed3033();
o.webDetection = buildGoogleCloudVisionV1p4beta1WebDetection();
}
buildCounterGoogleCloudVisionV1p4beta1AnnotateImageResponse--;
@@ -6306,16 +6306,16 @@
checkGoogleCloudVisionV1p4beta1ImageAnnotationContext(o.context);
checkGoogleCloudVisionV1p4beta1CropHintsAnnotation(o.cropHintsAnnotation);
checkStatus(o.error);
- checkUnnamed3024(o.faceAnnotations);
+ checkUnnamed3028(o.faceAnnotations);
checkGoogleCloudVisionV1p4beta1TextAnnotation(o.fullTextAnnotation);
checkGoogleCloudVisionV1p4beta1ImageProperties(o.imagePropertiesAnnotation);
- checkUnnamed3025(o.labelAnnotations);
- checkUnnamed3026(o.landmarkAnnotations);
- checkUnnamed3027(o.localizedObjectAnnotations);
- checkUnnamed3028(o.logoAnnotations);
+ checkUnnamed3029(o.labelAnnotations);
+ checkUnnamed3030(o.landmarkAnnotations);
+ checkUnnamed3031(o.localizedObjectAnnotations);
+ checkUnnamed3032(o.logoAnnotations);
checkGoogleCloudVisionV1p4beta1ProductSearchResults(o.productSearchResults);
checkGoogleCloudVisionV1p4beta1SafeSearchAnnotation(o.safeSearchAnnotation);
- checkUnnamed3029(o.textAnnotations);
+ checkUnnamed3033(o.textAnnotations);
checkGoogleCloudVisionV1p4beta1WebDetection(o.webDetection);
}
buildCounterGoogleCloudVisionV1p4beta1AnnotateImageResponse--;
@@ -6341,7 +6341,7 @@
buildCounterGoogleCloudVisionV1p4beta1AsyncAnnotateFileResponse--;
}
-buildUnnamed3030() {
+buildUnnamed3034() {
var o =
new core.List<api.GoogleCloudVisionV1p4beta1AsyncAnnotateFileResponse>();
o.add(buildGoogleCloudVisionV1p4beta1AsyncAnnotateFileResponse());
@@ -6349,7 +6349,7 @@
return o;
}
-checkUnnamed3030(
+checkUnnamed3034(
core.List<api.GoogleCloudVisionV1p4beta1AsyncAnnotateFileResponse> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p4beta1AsyncAnnotateFileResponse(o[0]);
@@ -6363,7 +6363,7 @@
buildCounterGoogleCloudVisionV1p4beta1AsyncBatchAnnotateFilesResponse++;
if (buildCounterGoogleCloudVisionV1p4beta1AsyncBatchAnnotateFilesResponse <
3) {
- o.responses = buildUnnamed3030();
+ o.responses = buildUnnamed3034();
}
buildCounterGoogleCloudVisionV1p4beta1AsyncBatchAnnotateFilesResponse--;
return o;
@@ -6374,7 +6374,7 @@
buildCounterGoogleCloudVisionV1p4beta1AsyncBatchAnnotateFilesResponse++;
if (buildCounterGoogleCloudVisionV1p4beta1AsyncBatchAnnotateFilesResponse <
3) {
- checkUnnamed3030(o.responses);
+ checkUnnamed3034(o.responses);
}
buildCounterGoogleCloudVisionV1p4beta1AsyncBatchAnnotateFilesResponse--;
}
@@ -6402,14 +6402,14 @@
buildCounterGoogleCloudVisionV1p4beta1AsyncBatchAnnotateImagesResponse--;
}
-buildUnnamed3031() {
+buildUnnamed3035() {
var o = new core.List<api.GoogleCloudVisionV1p4beta1AnnotateFileResponse>();
o.add(buildGoogleCloudVisionV1p4beta1AnnotateFileResponse());
o.add(buildGoogleCloudVisionV1p4beta1AnnotateFileResponse());
return o;
}
-checkUnnamed3031(
+checkUnnamed3035(
core.List<api.GoogleCloudVisionV1p4beta1AnnotateFileResponse> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p4beta1AnnotateFileResponse(o[0]);
@@ -6421,7 +6421,7 @@
var o = new api.GoogleCloudVisionV1p4beta1BatchAnnotateFilesResponse();
buildCounterGoogleCloudVisionV1p4beta1BatchAnnotateFilesResponse++;
if (buildCounterGoogleCloudVisionV1p4beta1BatchAnnotateFilesResponse < 3) {
- o.responses = buildUnnamed3031();
+ o.responses = buildUnnamed3035();
}
buildCounterGoogleCloudVisionV1p4beta1BatchAnnotateFilesResponse--;
return o;
@@ -6431,7 +6431,7 @@
api.GoogleCloudVisionV1p4beta1BatchAnnotateFilesResponse o) {
buildCounterGoogleCloudVisionV1p4beta1BatchAnnotateFilesResponse++;
if (buildCounterGoogleCloudVisionV1p4beta1BatchAnnotateFilesResponse < 3) {
- checkUnnamed3031(o.responses);
+ checkUnnamed3035(o.responses);
}
buildCounterGoogleCloudVisionV1p4beta1BatchAnnotateFilesResponse--;
}
@@ -6460,14 +6460,14 @@
buildCounterGoogleCloudVisionV1p4beta1BatchOperationMetadata--;
}
-buildUnnamed3032() {
+buildUnnamed3036() {
var o = new core.List<api.GoogleCloudVisionV1p4beta1Paragraph>();
o.add(buildGoogleCloudVisionV1p4beta1Paragraph());
o.add(buildGoogleCloudVisionV1p4beta1Paragraph());
return o;
}
-checkUnnamed3032(core.List<api.GoogleCloudVisionV1p4beta1Paragraph> o) {
+checkUnnamed3036(core.List<api.GoogleCloudVisionV1p4beta1Paragraph> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p4beta1Paragraph(o[0]);
checkGoogleCloudVisionV1p4beta1Paragraph(o[1]);
@@ -6481,7 +6481,7 @@
o.blockType = "foo";
o.boundingBox = buildGoogleCloudVisionV1p4beta1BoundingPoly();
o.confidence = 42.0;
- o.paragraphs = buildUnnamed3032();
+ o.paragraphs = buildUnnamed3036();
o.property = buildGoogleCloudVisionV1p4beta1TextAnnotationTextProperty();
}
buildCounterGoogleCloudVisionV1p4beta1Block--;
@@ -6494,33 +6494,33 @@
unittest.expect(o.blockType, unittest.equals('foo'));
checkGoogleCloudVisionV1p4beta1BoundingPoly(o.boundingBox);
unittest.expect(o.confidence, unittest.equals(42.0));
- checkUnnamed3032(o.paragraphs);
+ checkUnnamed3036(o.paragraphs);
checkGoogleCloudVisionV1p4beta1TextAnnotationTextProperty(o.property);
}
buildCounterGoogleCloudVisionV1p4beta1Block--;
}
-buildUnnamed3033() {
+buildUnnamed3037() {
var o = new core.List<api.GoogleCloudVisionV1p4beta1NormalizedVertex>();
o.add(buildGoogleCloudVisionV1p4beta1NormalizedVertex());
o.add(buildGoogleCloudVisionV1p4beta1NormalizedVertex());
return o;
}
-checkUnnamed3033(core.List<api.GoogleCloudVisionV1p4beta1NormalizedVertex> o) {
+checkUnnamed3037(core.List<api.GoogleCloudVisionV1p4beta1NormalizedVertex> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p4beta1NormalizedVertex(o[0]);
checkGoogleCloudVisionV1p4beta1NormalizedVertex(o[1]);
}
-buildUnnamed3034() {
+buildUnnamed3038() {
var o = new core.List<api.GoogleCloudVisionV1p4beta1Vertex>();
o.add(buildGoogleCloudVisionV1p4beta1Vertex());
o.add(buildGoogleCloudVisionV1p4beta1Vertex());
return o;
}
-checkUnnamed3034(core.List<api.GoogleCloudVisionV1p4beta1Vertex> o) {
+checkUnnamed3038(core.List<api.GoogleCloudVisionV1p4beta1Vertex> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p4beta1Vertex(o[0]);
checkGoogleCloudVisionV1p4beta1Vertex(o[1]);
@@ -6531,8 +6531,8 @@
var o = new api.GoogleCloudVisionV1p4beta1BoundingPoly();
buildCounterGoogleCloudVisionV1p4beta1BoundingPoly++;
if (buildCounterGoogleCloudVisionV1p4beta1BoundingPoly < 3) {
- o.normalizedVertices = buildUnnamed3033();
- o.vertices = buildUnnamed3034();
+ o.normalizedVertices = buildUnnamed3037();
+ o.vertices = buildUnnamed3038();
}
buildCounterGoogleCloudVisionV1p4beta1BoundingPoly--;
return o;
@@ -6542,8 +6542,8 @@
api.GoogleCloudVisionV1p4beta1BoundingPoly o) {
buildCounterGoogleCloudVisionV1p4beta1BoundingPoly++;
if (buildCounterGoogleCloudVisionV1p4beta1BoundingPoly < 3) {
- checkUnnamed3033(o.normalizedVertices);
- checkUnnamed3034(o.vertices);
+ checkUnnamed3037(o.normalizedVertices);
+ checkUnnamed3038(o.vertices);
}
buildCounterGoogleCloudVisionV1p4beta1BoundingPoly--;
}
@@ -6620,14 +6620,14 @@
buildCounterGoogleCloudVisionV1p4beta1CropHint--;
}
-buildUnnamed3035() {
+buildUnnamed3039() {
var o = new core.List<api.GoogleCloudVisionV1p4beta1CropHint>();
o.add(buildGoogleCloudVisionV1p4beta1CropHint());
o.add(buildGoogleCloudVisionV1p4beta1CropHint());
return o;
}
-checkUnnamed3035(core.List<api.GoogleCloudVisionV1p4beta1CropHint> o) {
+checkUnnamed3039(core.List<api.GoogleCloudVisionV1p4beta1CropHint> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p4beta1CropHint(o[0]);
checkGoogleCloudVisionV1p4beta1CropHint(o[1]);
@@ -6638,7 +6638,7 @@
var o = new api.GoogleCloudVisionV1p4beta1CropHintsAnnotation();
buildCounterGoogleCloudVisionV1p4beta1CropHintsAnnotation++;
if (buildCounterGoogleCloudVisionV1p4beta1CropHintsAnnotation < 3) {
- o.cropHints = buildUnnamed3035();
+ o.cropHints = buildUnnamed3039();
}
buildCounterGoogleCloudVisionV1p4beta1CropHintsAnnotation--;
return o;
@@ -6648,19 +6648,19 @@
api.GoogleCloudVisionV1p4beta1CropHintsAnnotation o) {
buildCounterGoogleCloudVisionV1p4beta1CropHintsAnnotation++;
if (buildCounterGoogleCloudVisionV1p4beta1CropHintsAnnotation < 3) {
- checkUnnamed3035(o.cropHints);
+ checkUnnamed3039(o.cropHints);
}
buildCounterGoogleCloudVisionV1p4beta1CropHintsAnnotation--;
}
-buildUnnamed3036() {
+buildUnnamed3040() {
var o = new core.List<api.GoogleCloudVisionV1p4beta1ColorInfo>();
o.add(buildGoogleCloudVisionV1p4beta1ColorInfo());
o.add(buildGoogleCloudVisionV1p4beta1ColorInfo());
return o;
}
-checkUnnamed3036(core.List<api.GoogleCloudVisionV1p4beta1ColorInfo> o) {
+checkUnnamed3040(core.List<api.GoogleCloudVisionV1p4beta1ColorInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p4beta1ColorInfo(o[0]);
checkGoogleCloudVisionV1p4beta1ColorInfo(o[1]);
@@ -6671,7 +6671,7 @@
var o = new api.GoogleCloudVisionV1p4beta1DominantColorsAnnotation();
buildCounterGoogleCloudVisionV1p4beta1DominantColorsAnnotation++;
if (buildCounterGoogleCloudVisionV1p4beta1DominantColorsAnnotation < 3) {
- o.colors = buildUnnamed3036();
+ o.colors = buildUnnamed3040();
}
buildCounterGoogleCloudVisionV1p4beta1DominantColorsAnnotation--;
return o;
@@ -6681,32 +6681,32 @@
api.GoogleCloudVisionV1p4beta1DominantColorsAnnotation o) {
buildCounterGoogleCloudVisionV1p4beta1DominantColorsAnnotation++;
if (buildCounterGoogleCloudVisionV1p4beta1DominantColorsAnnotation < 3) {
- checkUnnamed3036(o.colors);
+ checkUnnamed3040(o.colors);
}
buildCounterGoogleCloudVisionV1p4beta1DominantColorsAnnotation--;
}
-buildUnnamed3037() {
+buildUnnamed3041() {
var o = new core.List<api.GoogleCloudVisionV1p4beta1LocationInfo>();
o.add(buildGoogleCloudVisionV1p4beta1LocationInfo());
o.add(buildGoogleCloudVisionV1p4beta1LocationInfo());
return o;
}
-checkUnnamed3037(core.List<api.GoogleCloudVisionV1p4beta1LocationInfo> o) {
+checkUnnamed3041(core.List<api.GoogleCloudVisionV1p4beta1LocationInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p4beta1LocationInfo(o[0]);
checkGoogleCloudVisionV1p4beta1LocationInfo(o[1]);
}
-buildUnnamed3038() {
+buildUnnamed3042() {
var o = new core.List<api.GoogleCloudVisionV1p4beta1Property>();
o.add(buildGoogleCloudVisionV1p4beta1Property());
o.add(buildGoogleCloudVisionV1p4beta1Property());
return o;
}
-checkUnnamed3038(core.List<api.GoogleCloudVisionV1p4beta1Property> o) {
+checkUnnamed3042(core.List<api.GoogleCloudVisionV1p4beta1Property> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p4beta1Property(o[0]);
checkGoogleCloudVisionV1p4beta1Property(o[1]);
@@ -6721,9 +6721,9 @@
o.confidence = 42.0;
o.description = "foo";
o.locale = "foo";
- o.locations = buildUnnamed3037();
+ o.locations = buildUnnamed3041();
o.mid = "foo";
- o.properties = buildUnnamed3038();
+ o.properties = buildUnnamed3042();
o.score = 42.0;
o.topicality = 42.0;
}
@@ -6739,37 +6739,37 @@
unittest.expect(o.confidence, unittest.equals(42.0));
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.locale, unittest.equals('foo'));
- checkUnnamed3037(o.locations);
+ checkUnnamed3041(o.locations);
unittest.expect(o.mid, unittest.equals('foo'));
- checkUnnamed3038(o.properties);
+ checkUnnamed3042(o.properties);
unittest.expect(o.score, unittest.equals(42.0));
unittest.expect(o.topicality, unittest.equals(42.0));
}
buildCounterGoogleCloudVisionV1p4beta1EntityAnnotation--;
}
-buildUnnamed3039() {
+buildUnnamed3043() {
var o = new core.List<api.GoogleCloudVisionV1p4beta1FaceAnnotationLandmark>();
o.add(buildGoogleCloudVisionV1p4beta1FaceAnnotationLandmark());
o.add(buildGoogleCloudVisionV1p4beta1FaceAnnotationLandmark());
return o;
}
-checkUnnamed3039(
+checkUnnamed3043(
core.List<api.GoogleCloudVisionV1p4beta1FaceAnnotationLandmark> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p4beta1FaceAnnotationLandmark(o[0]);
checkGoogleCloudVisionV1p4beta1FaceAnnotationLandmark(o[1]);
}
-buildUnnamed3040() {
+buildUnnamed3044() {
var o = new core.List<api.GoogleCloudVisionV1p4beta1FaceRecognitionResult>();
o.add(buildGoogleCloudVisionV1p4beta1FaceRecognitionResult());
o.add(buildGoogleCloudVisionV1p4beta1FaceRecognitionResult());
return o;
}
-checkUnnamed3040(
+checkUnnamed3044(
core.List<api.GoogleCloudVisionV1p4beta1FaceRecognitionResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p4beta1FaceRecognitionResult(o[0]);
@@ -6789,9 +6789,9 @@
o.headwearLikelihood = "foo";
o.joyLikelihood = "foo";
o.landmarkingConfidence = 42.0;
- o.landmarks = buildUnnamed3039();
+ o.landmarks = buildUnnamed3043();
o.panAngle = 42.0;
- o.recognitionResult = buildUnnamed3040();
+ o.recognitionResult = buildUnnamed3044();
o.rollAngle = 42.0;
o.sorrowLikelihood = "foo";
o.surpriseLikelihood = "foo";
@@ -6814,9 +6814,9 @@
unittest.expect(o.headwearLikelihood, unittest.equals('foo'));
unittest.expect(o.joyLikelihood, unittest.equals('foo'));
unittest.expect(o.landmarkingConfidence, unittest.equals(42.0));
- checkUnnamed3039(o.landmarks);
+ checkUnnamed3043(o.landmarks);
unittest.expect(o.panAngle, unittest.equals(42.0));
- checkUnnamed3040(o.recognitionResult);
+ checkUnnamed3044(o.recognitionResult);
unittest.expect(o.rollAngle, unittest.equals(42.0));
unittest.expect(o.sorrowLikelihood, unittest.equals('foo'));
unittest.expect(o.surpriseLikelihood, unittest.equals('foo'));
@@ -6953,27 +6953,27 @@
buildCounterGoogleCloudVisionV1p4beta1ImageProperties--;
}
-buildUnnamed3041() {
+buildUnnamed3045() {
var o = new core.List<api.GoogleCloudVisionV1p4beta1ReferenceImage>();
o.add(buildGoogleCloudVisionV1p4beta1ReferenceImage());
o.add(buildGoogleCloudVisionV1p4beta1ReferenceImage());
return o;
}
-checkUnnamed3041(core.List<api.GoogleCloudVisionV1p4beta1ReferenceImage> o) {
+checkUnnamed3045(core.List<api.GoogleCloudVisionV1p4beta1ReferenceImage> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p4beta1ReferenceImage(o[0]);
checkGoogleCloudVisionV1p4beta1ReferenceImage(o[1]);
}
-buildUnnamed3042() {
+buildUnnamed3046() {
var o = new core.List<api.Status>();
o.add(buildStatus());
o.add(buildStatus());
return o;
}
-checkUnnamed3042(core.List<api.Status> o) {
+checkUnnamed3046(core.List<api.Status> o) {
unittest.expect(o, unittest.hasLength(2));
checkStatus(o[0]);
checkStatus(o[1]);
@@ -6984,8 +6984,8 @@
var o = new api.GoogleCloudVisionV1p4beta1ImportProductSetsResponse();
buildCounterGoogleCloudVisionV1p4beta1ImportProductSetsResponse++;
if (buildCounterGoogleCloudVisionV1p4beta1ImportProductSetsResponse < 3) {
- o.referenceImages = buildUnnamed3041();
- o.statuses = buildUnnamed3042();
+ o.referenceImages = buildUnnamed3045();
+ o.statuses = buildUnnamed3046();
}
buildCounterGoogleCloudVisionV1p4beta1ImportProductSetsResponse--;
return o;
@@ -6995,8 +6995,8 @@
api.GoogleCloudVisionV1p4beta1ImportProductSetsResponse o) {
buildCounterGoogleCloudVisionV1p4beta1ImportProductSetsResponse++;
if (buildCounterGoogleCloudVisionV1p4beta1ImportProductSetsResponse < 3) {
- checkUnnamed3041(o.referenceImages);
- checkUnnamed3042(o.statuses);
+ checkUnnamed3045(o.referenceImages);
+ checkUnnamed3046(o.statuses);
}
buildCounterGoogleCloudVisionV1p4beta1ImportProductSetsResponse--;
}
@@ -7141,14 +7141,14 @@
buildCounterGoogleCloudVisionV1p4beta1OutputConfig--;
}
-buildUnnamed3043() {
+buildUnnamed3047() {
var o = new core.List<api.GoogleCloudVisionV1p4beta1Block>();
o.add(buildGoogleCloudVisionV1p4beta1Block());
o.add(buildGoogleCloudVisionV1p4beta1Block());
return o;
}
-checkUnnamed3043(core.List<api.GoogleCloudVisionV1p4beta1Block> o) {
+checkUnnamed3047(core.List<api.GoogleCloudVisionV1p4beta1Block> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p4beta1Block(o[0]);
checkGoogleCloudVisionV1p4beta1Block(o[1]);
@@ -7159,7 +7159,7 @@
var o = new api.GoogleCloudVisionV1p4beta1Page();
buildCounterGoogleCloudVisionV1p4beta1Page++;
if (buildCounterGoogleCloudVisionV1p4beta1Page < 3) {
- o.blocks = buildUnnamed3043();
+ o.blocks = buildUnnamed3047();
o.confidence = 42.0;
o.height = 42;
o.property = buildGoogleCloudVisionV1p4beta1TextAnnotationTextProperty();
@@ -7172,7 +7172,7 @@
checkGoogleCloudVisionV1p4beta1Page(api.GoogleCloudVisionV1p4beta1Page o) {
buildCounterGoogleCloudVisionV1p4beta1Page++;
if (buildCounterGoogleCloudVisionV1p4beta1Page < 3) {
- checkUnnamed3043(o.blocks);
+ checkUnnamed3047(o.blocks);
unittest.expect(o.confidence, unittest.equals(42.0));
unittest.expect(o.height, unittest.equals(42));
checkGoogleCloudVisionV1p4beta1TextAnnotationTextProperty(o.property);
@@ -7181,14 +7181,14 @@
buildCounterGoogleCloudVisionV1p4beta1Page--;
}
-buildUnnamed3044() {
+buildUnnamed3048() {
var o = new core.List<api.GoogleCloudVisionV1p4beta1Word>();
o.add(buildGoogleCloudVisionV1p4beta1Word());
o.add(buildGoogleCloudVisionV1p4beta1Word());
return o;
}
-checkUnnamed3044(core.List<api.GoogleCloudVisionV1p4beta1Word> o) {
+checkUnnamed3048(core.List<api.GoogleCloudVisionV1p4beta1Word> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p4beta1Word(o[0]);
checkGoogleCloudVisionV1p4beta1Word(o[1]);
@@ -7202,7 +7202,7 @@
o.boundingBox = buildGoogleCloudVisionV1p4beta1BoundingPoly();
o.confidence = 42.0;
o.property = buildGoogleCloudVisionV1p4beta1TextAnnotationTextProperty();
- o.words = buildUnnamed3044();
+ o.words = buildUnnamed3048();
}
buildCounterGoogleCloudVisionV1p4beta1Paragraph--;
return o;
@@ -7215,7 +7215,7 @@
checkGoogleCloudVisionV1p4beta1BoundingPoly(o.boundingBox);
unittest.expect(o.confidence, unittest.equals(42.0));
checkGoogleCloudVisionV1p4beta1TextAnnotationTextProperty(o.property);
- checkUnnamed3044(o.words);
+ checkUnnamed3048(o.words);
}
buildCounterGoogleCloudVisionV1p4beta1Paragraph--;
}
@@ -7244,14 +7244,14 @@
buildCounterGoogleCloudVisionV1p4beta1Position--;
}
-buildUnnamed3045() {
+buildUnnamed3049() {
var o = new core.List<api.GoogleCloudVisionV1p4beta1ProductKeyValue>();
o.add(buildGoogleCloudVisionV1p4beta1ProductKeyValue());
o.add(buildGoogleCloudVisionV1p4beta1ProductKeyValue());
return o;
}
-checkUnnamed3045(core.List<api.GoogleCloudVisionV1p4beta1ProductKeyValue> o) {
+checkUnnamed3049(core.List<api.GoogleCloudVisionV1p4beta1ProductKeyValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p4beta1ProductKeyValue(o[0]);
checkGoogleCloudVisionV1p4beta1ProductKeyValue(o[1]);
@@ -7266,7 +7266,7 @@
o.displayName = "foo";
o.name = "foo";
o.productCategory = "foo";
- o.productLabels = buildUnnamed3045();
+ o.productLabels = buildUnnamed3049();
}
buildCounterGoogleCloudVisionV1p4beta1Product--;
return o;
@@ -7280,7 +7280,7 @@
unittest.expect(o.displayName, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.productCategory, unittest.equals('foo'));
- checkUnnamed3045(o.productLabels);
+ checkUnnamed3049(o.productLabels);
}
buildCounterGoogleCloudVisionV1p4beta1Product--;
}
@@ -7307,7 +7307,7 @@
buildCounterGoogleCloudVisionV1p4beta1ProductKeyValue--;
}
-buildUnnamed3046() {
+buildUnnamed3050() {
var o = new core
.List<api.GoogleCloudVisionV1p4beta1ProductSearchResultsGroupedResult>();
o.add(buildGoogleCloudVisionV1p4beta1ProductSearchResultsGroupedResult());
@@ -7315,7 +7315,7 @@
return o;
}
-checkUnnamed3046(
+checkUnnamed3050(
core.List<api.GoogleCloudVisionV1p4beta1ProductSearchResultsGroupedResult>
o) {
unittest.expect(o, unittest.hasLength(2));
@@ -7323,7 +7323,7 @@
checkGoogleCloudVisionV1p4beta1ProductSearchResultsGroupedResult(o[1]);
}
-buildUnnamed3047() {
+buildUnnamed3051() {
var o =
new core.List<api.GoogleCloudVisionV1p4beta1ProductSearchResultsResult>();
o.add(buildGoogleCloudVisionV1p4beta1ProductSearchResultsResult());
@@ -7331,7 +7331,7 @@
return o;
}
-checkUnnamed3047(
+checkUnnamed3051(
core.List<api.GoogleCloudVisionV1p4beta1ProductSearchResultsResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p4beta1ProductSearchResultsResult(o[0]);
@@ -7344,8 +7344,8 @@
buildCounterGoogleCloudVisionV1p4beta1ProductSearchResults++;
if (buildCounterGoogleCloudVisionV1p4beta1ProductSearchResults < 3) {
o.indexTime = "foo";
- o.productGroupedResults = buildUnnamed3046();
- o.results = buildUnnamed3047();
+ o.productGroupedResults = buildUnnamed3050();
+ o.results = buildUnnamed3051();
}
buildCounterGoogleCloudVisionV1p4beta1ProductSearchResults--;
return o;
@@ -7356,13 +7356,13 @@
buildCounterGoogleCloudVisionV1p4beta1ProductSearchResults++;
if (buildCounterGoogleCloudVisionV1p4beta1ProductSearchResults < 3) {
unittest.expect(o.indexTime, unittest.equals('foo'));
- checkUnnamed3046(o.productGroupedResults);
- checkUnnamed3047(o.results);
+ checkUnnamed3050(o.productGroupedResults);
+ checkUnnamed3051(o.results);
}
buildCounterGoogleCloudVisionV1p4beta1ProductSearchResults--;
}
-buildUnnamed3048() {
+buildUnnamed3052() {
var o = new core.List<
api.GoogleCloudVisionV1p4beta1ProductSearchResultsObjectAnnotation>();
o.add(buildGoogleCloudVisionV1p4beta1ProductSearchResultsObjectAnnotation());
@@ -7370,7 +7370,7 @@
return o;
}
-checkUnnamed3048(
+checkUnnamed3052(
core.List<
api.GoogleCloudVisionV1p4beta1ProductSearchResultsObjectAnnotation>
o) {
@@ -7379,7 +7379,7 @@
checkGoogleCloudVisionV1p4beta1ProductSearchResultsObjectAnnotation(o[1]);
}
-buildUnnamed3049() {
+buildUnnamed3053() {
var o =
new core.List<api.GoogleCloudVisionV1p4beta1ProductSearchResultsResult>();
o.add(buildGoogleCloudVisionV1p4beta1ProductSearchResultsResult());
@@ -7387,7 +7387,7 @@
return o;
}
-checkUnnamed3049(
+checkUnnamed3053(
core.List<api.GoogleCloudVisionV1p4beta1ProductSearchResultsResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p4beta1ProductSearchResultsResult(o[0]);
@@ -7402,8 +7402,8 @@
if (buildCounterGoogleCloudVisionV1p4beta1ProductSearchResultsGroupedResult <
3) {
o.boundingPoly = buildGoogleCloudVisionV1p4beta1BoundingPoly();
- o.objectAnnotations = buildUnnamed3048();
- o.results = buildUnnamed3049();
+ o.objectAnnotations = buildUnnamed3052();
+ o.results = buildUnnamed3053();
}
buildCounterGoogleCloudVisionV1p4beta1ProductSearchResultsGroupedResult--;
return o;
@@ -7415,8 +7415,8 @@
if (buildCounterGoogleCloudVisionV1p4beta1ProductSearchResultsGroupedResult <
3) {
checkGoogleCloudVisionV1p4beta1BoundingPoly(o.boundingPoly);
- checkUnnamed3048(o.objectAnnotations);
- checkUnnamed3049(o.results);
+ checkUnnamed3052(o.objectAnnotations);
+ checkUnnamed3053(o.results);
}
buildCounterGoogleCloudVisionV1p4beta1ProductSearchResultsGroupedResult--;
}
@@ -7500,14 +7500,14 @@
buildCounterGoogleCloudVisionV1p4beta1Property--;
}
-buildUnnamed3050() {
+buildUnnamed3054() {
var o = new core.List<api.GoogleCloudVisionV1p4beta1BoundingPoly>();
o.add(buildGoogleCloudVisionV1p4beta1BoundingPoly());
o.add(buildGoogleCloudVisionV1p4beta1BoundingPoly());
return o;
}
-checkUnnamed3050(core.List<api.GoogleCloudVisionV1p4beta1BoundingPoly> o) {
+checkUnnamed3054(core.List<api.GoogleCloudVisionV1p4beta1BoundingPoly> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p4beta1BoundingPoly(o[0]);
checkGoogleCloudVisionV1p4beta1BoundingPoly(o[1]);
@@ -7518,7 +7518,7 @@
var o = new api.GoogleCloudVisionV1p4beta1ReferenceImage();
buildCounterGoogleCloudVisionV1p4beta1ReferenceImage++;
if (buildCounterGoogleCloudVisionV1p4beta1ReferenceImage < 3) {
- o.boundingPolys = buildUnnamed3050();
+ o.boundingPolys = buildUnnamed3054();
o.name = "foo";
o.uri = "foo";
}
@@ -7530,7 +7530,7 @@
api.GoogleCloudVisionV1p4beta1ReferenceImage o) {
buildCounterGoogleCloudVisionV1p4beta1ReferenceImage++;
if (buildCounterGoogleCloudVisionV1p4beta1ReferenceImage < 3) {
- checkUnnamed3050(o.boundingPolys);
+ checkUnnamed3054(o.boundingPolys);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.uri, unittest.equals('foo'));
}
@@ -7590,14 +7590,14 @@
buildCounterGoogleCloudVisionV1p4beta1Symbol--;
}
-buildUnnamed3051() {
+buildUnnamed3055() {
var o = new core.List<api.GoogleCloudVisionV1p4beta1Page>();
o.add(buildGoogleCloudVisionV1p4beta1Page());
o.add(buildGoogleCloudVisionV1p4beta1Page());
return o;
}
-checkUnnamed3051(core.List<api.GoogleCloudVisionV1p4beta1Page> o) {
+checkUnnamed3055(core.List<api.GoogleCloudVisionV1p4beta1Page> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p4beta1Page(o[0]);
checkGoogleCloudVisionV1p4beta1Page(o[1]);
@@ -7608,7 +7608,7 @@
var o = new api.GoogleCloudVisionV1p4beta1TextAnnotation();
buildCounterGoogleCloudVisionV1p4beta1TextAnnotation++;
if (buildCounterGoogleCloudVisionV1p4beta1TextAnnotation < 3) {
- o.pages = buildUnnamed3051();
+ o.pages = buildUnnamed3055();
o.text = "foo";
}
buildCounterGoogleCloudVisionV1p4beta1TextAnnotation--;
@@ -7619,7 +7619,7 @@
api.GoogleCloudVisionV1p4beta1TextAnnotation o) {
buildCounterGoogleCloudVisionV1p4beta1TextAnnotation++;
if (buildCounterGoogleCloudVisionV1p4beta1TextAnnotation < 3) {
- checkUnnamed3051(o.pages);
+ checkUnnamed3055(o.pages);
unittest.expect(o.text, unittest.equals('foo'));
}
buildCounterGoogleCloudVisionV1p4beta1TextAnnotation--;
@@ -7672,7 +7672,7 @@
buildCounterGoogleCloudVisionV1p4beta1TextAnnotationDetectedLanguage--;
}
-buildUnnamed3052() {
+buildUnnamed3056() {
var o = new core
.List<api.GoogleCloudVisionV1p4beta1TextAnnotationDetectedLanguage>();
o.add(buildGoogleCloudVisionV1p4beta1TextAnnotationDetectedLanguage());
@@ -7680,7 +7680,7 @@
return o;
}
-checkUnnamed3052(
+checkUnnamed3056(
core.List<api.GoogleCloudVisionV1p4beta1TextAnnotationDetectedLanguage> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p4beta1TextAnnotationDetectedLanguage(o[0]);
@@ -7694,7 +7694,7 @@
if (buildCounterGoogleCloudVisionV1p4beta1TextAnnotationTextProperty < 3) {
o.detectedBreak =
buildGoogleCloudVisionV1p4beta1TextAnnotationDetectedBreak();
- o.detectedLanguages = buildUnnamed3052();
+ o.detectedLanguages = buildUnnamed3056();
}
buildCounterGoogleCloudVisionV1p4beta1TextAnnotationTextProperty--;
return o;
@@ -7705,7 +7705,7 @@
buildCounterGoogleCloudVisionV1p4beta1TextAnnotationTextProperty++;
if (buildCounterGoogleCloudVisionV1p4beta1TextAnnotationTextProperty < 3) {
checkGoogleCloudVisionV1p4beta1TextAnnotationDetectedBreak(o.detectedBreak);
- checkUnnamed3052(o.detectedLanguages);
+ checkUnnamed3056(o.detectedLanguages);
}
buildCounterGoogleCloudVisionV1p4beta1TextAnnotationTextProperty--;
}
@@ -7731,84 +7731,84 @@
buildCounterGoogleCloudVisionV1p4beta1Vertex--;
}
-buildUnnamed3053() {
+buildUnnamed3057() {
var o = new core.List<api.GoogleCloudVisionV1p4beta1WebDetectionWebLabel>();
o.add(buildGoogleCloudVisionV1p4beta1WebDetectionWebLabel());
o.add(buildGoogleCloudVisionV1p4beta1WebDetectionWebLabel());
return o;
}
-checkUnnamed3053(
+checkUnnamed3057(
core.List<api.GoogleCloudVisionV1p4beta1WebDetectionWebLabel> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p4beta1WebDetectionWebLabel(o[0]);
checkGoogleCloudVisionV1p4beta1WebDetectionWebLabel(o[1]);
}
-buildUnnamed3054() {
+buildUnnamed3058() {
var o = new core.List<api.GoogleCloudVisionV1p4beta1WebDetectionWebImage>();
o.add(buildGoogleCloudVisionV1p4beta1WebDetectionWebImage());
o.add(buildGoogleCloudVisionV1p4beta1WebDetectionWebImage());
return o;
}
-checkUnnamed3054(
+checkUnnamed3058(
core.List<api.GoogleCloudVisionV1p4beta1WebDetectionWebImage> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p4beta1WebDetectionWebImage(o[0]);
checkGoogleCloudVisionV1p4beta1WebDetectionWebImage(o[1]);
}
-buildUnnamed3055() {
+buildUnnamed3059() {
var o = new core.List<api.GoogleCloudVisionV1p4beta1WebDetectionWebPage>();
o.add(buildGoogleCloudVisionV1p4beta1WebDetectionWebPage());
o.add(buildGoogleCloudVisionV1p4beta1WebDetectionWebPage());
return o;
}
-checkUnnamed3055(
+checkUnnamed3059(
core.List<api.GoogleCloudVisionV1p4beta1WebDetectionWebPage> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p4beta1WebDetectionWebPage(o[0]);
checkGoogleCloudVisionV1p4beta1WebDetectionWebPage(o[1]);
}
-buildUnnamed3056() {
+buildUnnamed3060() {
var o = new core.List<api.GoogleCloudVisionV1p4beta1WebDetectionWebImage>();
o.add(buildGoogleCloudVisionV1p4beta1WebDetectionWebImage());
o.add(buildGoogleCloudVisionV1p4beta1WebDetectionWebImage());
return o;
}
-checkUnnamed3056(
+checkUnnamed3060(
core.List<api.GoogleCloudVisionV1p4beta1WebDetectionWebImage> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p4beta1WebDetectionWebImage(o[0]);
checkGoogleCloudVisionV1p4beta1WebDetectionWebImage(o[1]);
}
-buildUnnamed3057() {
+buildUnnamed3061() {
var o = new core.List<api.GoogleCloudVisionV1p4beta1WebDetectionWebImage>();
o.add(buildGoogleCloudVisionV1p4beta1WebDetectionWebImage());
o.add(buildGoogleCloudVisionV1p4beta1WebDetectionWebImage());
return o;
}
-checkUnnamed3057(
+checkUnnamed3061(
core.List<api.GoogleCloudVisionV1p4beta1WebDetectionWebImage> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p4beta1WebDetectionWebImage(o[0]);
checkGoogleCloudVisionV1p4beta1WebDetectionWebImage(o[1]);
}
-buildUnnamed3058() {
+buildUnnamed3062() {
var o = new core.List<api.GoogleCloudVisionV1p4beta1WebDetectionWebEntity>();
o.add(buildGoogleCloudVisionV1p4beta1WebDetectionWebEntity());
o.add(buildGoogleCloudVisionV1p4beta1WebDetectionWebEntity());
return o;
}
-checkUnnamed3058(
+checkUnnamed3062(
core.List<api.GoogleCloudVisionV1p4beta1WebDetectionWebEntity> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p4beta1WebDetectionWebEntity(o[0]);
@@ -7820,12 +7820,12 @@
var o = new api.GoogleCloudVisionV1p4beta1WebDetection();
buildCounterGoogleCloudVisionV1p4beta1WebDetection++;
if (buildCounterGoogleCloudVisionV1p4beta1WebDetection < 3) {
- o.bestGuessLabels = buildUnnamed3053();
- o.fullMatchingImages = buildUnnamed3054();
- o.pagesWithMatchingImages = buildUnnamed3055();
- o.partialMatchingImages = buildUnnamed3056();
- o.visuallySimilarImages = buildUnnamed3057();
- o.webEntities = buildUnnamed3058();
+ o.bestGuessLabels = buildUnnamed3057();
+ o.fullMatchingImages = buildUnnamed3058();
+ o.pagesWithMatchingImages = buildUnnamed3059();
+ o.partialMatchingImages = buildUnnamed3060();
+ o.visuallySimilarImages = buildUnnamed3061();
+ o.webEntities = buildUnnamed3062();
}
buildCounterGoogleCloudVisionV1p4beta1WebDetection--;
return o;
@@ -7835,12 +7835,12 @@
api.GoogleCloudVisionV1p4beta1WebDetection o) {
buildCounterGoogleCloudVisionV1p4beta1WebDetection++;
if (buildCounterGoogleCloudVisionV1p4beta1WebDetection < 3) {
- checkUnnamed3053(o.bestGuessLabels);
- checkUnnamed3054(o.fullMatchingImages);
- checkUnnamed3055(o.pagesWithMatchingImages);
- checkUnnamed3056(o.partialMatchingImages);
- checkUnnamed3057(o.visuallySimilarImages);
- checkUnnamed3058(o.webEntities);
+ checkUnnamed3057(o.bestGuessLabels);
+ checkUnnamed3058(o.fullMatchingImages);
+ checkUnnamed3059(o.pagesWithMatchingImages);
+ checkUnnamed3060(o.partialMatchingImages);
+ checkUnnamed3061(o.visuallySimilarImages);
+ checkUnnamed3062(o.webEntities);
}
buildCounterGoogleCloudVisionV1p4beta1WebDetection--;
}
@@ -7913,28 +7913,28 @@
buildCounterGoogleCloudVisionV1p4beta1WebDetectionWebLabel--;
}
-buildUnnamed3059() {
+buildUnnamed3063() {
var o = new core.List<api.GoogleCloudVisionV1p4beta1WebDetectionWebImage>();
o.add(buildGoogleCloudVisionV1p4beta1WebDetectionWebImage());
o.add(buildGoogleCloudVisionV1p4beta1WebDetectionWebImage());
return o;
}
-checkUnnamed3059(
+checkUnnamed3063(
core.List<api.GoogleCloudVisionV1p4beta1WebDetectionWebImage> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p4beta1WebDetectionWebImage(o[0]);
checkGoogleCloudVisionV1p4beta1WebDetectionWebImage(o[1]);
}
-buildUnnamed3060() {
+buildUnnamed3064() {
var o = new core.List<api.GoogleCloudVisionV1p4beta1WebDetectionWebImage>();
o.add(buildGoogleCloudVisionV1p4beta1WebDetectionWebImage());
o.add(buildGoogleCloudVisionV1p4beta1WebDetectionWebImage());
return o;
}
-checkUnnamed3060(
+checkUnnamed3064(
core.List<api.GoogleCloudVisionV1p4beta1WebDetectionWebImage> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p4beta1WebDetectionWebImage(o[0]);
@@ -7946,9 +7946,9 @@
var o = new api.GoogleCloudVisionV1p4beta1WebDetectionWebPage();
buildCounterGoogleCloudVisionV1p4beta1WebDetectionWebPage++;
if (buildCounterGoogleCloudVisionV1p4beta1WebDetectionWebPage < 3) {
- o.fullMatchingImages = buildUnnamed3059();
+ o.fullMatchingImages = buildUnnamed3063();
o.pageTitle = "foo";
- o.partialMatchingImages = buildUnnamed3060();
+ o.partialMatchingImages = buildUnnamed3064();
o.score = 42.0;
o.url = "foo";
}
@@ -7960,23 +7960,23 @@
api.GoogleCloudVisionV1p4beta1WebDetectionWebPage o) {
buildCounterGoogleCloudVisionV1p4beta1WebDetectionWebPage++;
if (buildCounterGoogleCloudVisionV1p4beta1WebDetectionWebPage < 3) {
- checkUnnamed3059(o.fullMatchingImages);
+ checkUnnamed3063(o.fullMatchingImages);
unittest.expect(o.pageTitle, unittest.equals('foo'));
- checkUnnamed3060(o.partialMatchingImages);
+ checkUnnamed3064(o.partialMatchingImages);
unittest.expect(o.score, unittest.equals(42.0));
unittest.expect(o.url, unittest.equals('foo'));
}
buildCounterGoogleCloudVisionV1p4beta1WebDetectionWebPage--;
}
-buildUnnamed3061() {
+buildUnnamed3065() {
var o = new core.List<api.GoogleCloudVisionV1p4beta1Symbol>();
o.add(buildGoogleCloudVisionV1p4beta1Symbol());
o.add(buildGoogleCloudVisionV1p4beta1Symbol());
return o;
}
-checkUnnamed3061(core.List<api.GoogleCloudVisionV1p4beta1Symbol> o) {
+checkUnnamed3065(core.List<api.GoogleCloudVisionV1p4beta1Symbol> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudVisionV1p4beta1Symbol(o[0]);
checkGoogleCloudVisionV1p4beta1Symbol(o[1]);
@@ -7990,7 +7990,7 @@
o.boundingBox = buildGoogleCloudVisionV1p4beta1BoundingPoly();
o.confidence = 42.0;
o.property = buildGoogleCloudVisionV1p4beta1TextAnnotationTextProperty();
- o.symbols = buildUnnamed3061();
+ o.symbols = buildUnnamed3065();
}
buildCounterGoogleCloudVisionV1p4beta1Word--;
return o;
@@ -8002,32 +8002,32 @@
checkGoogleCloudVisionV1p4beta1BoundingPoly(o.boundingBox);
unittest.expect(o.confidence, unittest.equals(42.0));
checkGoogleCloudVisionV1p4beta1TextAnnotationTextProperty(o.property);
- checkUnnamed3061(o.symbols);
+ checkUnnamed3065(o.symbols);
}
buildCounterGoogleCloudVisionV1p4beta1Word--;
}
-buildUnnamed3062() {
+buildUnnamed3066() {
var o = new core.List<api.ObjectAnnotation>();
o.add(buildObjectAnnotation());
o.add(buildObjectAnnotation());
return o;
}
-checkUnnamed3062(core.List<api.ObjectAnnotation> o) {
+checkUnnamed3066(core.List<api.ObjectAnnotation> o) {
unittest.expect(o, unittest.hasLength(2));
checkObjectAnnotation(o[0]);
checkObjectAnnotation(o[1]);
}
-buildUnnamed3063() {
+buildUnnamed3067() {
var o = new core.List<api.Result>();
o.add(buildResult());
o.add(buildResult());
return o;
}
-checkUnnamed3063(core.List<api.Result> o) {
+checkUnnamed3067(core.List<api.Result> o) {
unittest.expect(o, unittest.hasLength(2));
checkResult(o[0]);
checkResult(o[1]);
@@ -8039,8 +8039,8 @@
buildCounterGroupedResult++;
if (buildCounterGroupedResult < 3) {
o.boundingPoly = buildBoundingPoly();
- o.objectAnnotations = buildUnnamed3062();
- o.results = buildUnnamed3063();
+ o.objectAnnotations = buildUnnamed3066();
+ o.results = buildUnnamed3067();
}
buildCounterGroupedResult--;
return o;
@@ -8050,8 +8050,8 @@
buildCounterGroupedResult++;
if (buildCounterGroupedResult < 3) {
checkBoundingPoly(o.boundingPoly);
- checkUnnamed3062(o.objectAnnotations);
- checkUnnamed3063(o.results);
+ checkUnnamed3066(o.objectAnnotations);
+ checkUnnamed3067(o.results);
}
buildCounterGroupedResult--;
}
@@ -8098,14 +8098,14 @@
buildCounterImageAnnotationContext--;
}
-buildUnnamed3064() {
+buildUnnamed3068() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3064(core.List<core.String> o) {
+checkUnnamed3068(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -8117,7 +8117,7 @@
buildCounterImageContext++;
if (buildCounterImageContext < 3) {
o.cropHintsParams = buildCropHintsParams();
- o.languageHints = buildUnnamed3064();
+ o.languageHints = buildUnnamed3068();
o.latLongRect = buildLatLongRect();
o.productSearchParams = buildProductSearchParams();
o.webDetectionParams = buildWebDetectionParams();
@@ -8130,7 +8130,7 @@
buildCounterImageContext++;
if (buildCounterImageContext < 3) {
checkCropHintsParams(o.cropHintsParams);
- checkUnnamed3064(o.languageHints);
+ checkUnnamed3068(o.languageHints);
checkLatLongRect(o.latLongRect);
checkProductSearchParams(o.productSearchParams);
checkWebDetectionParams(o.webDetectionParams);
@@ -8235,27 +8235,27 @@
buildCounterImportProductSetsRequest--;
}
-buildUnnamed3065() {
+buildUnnamed3069() {
var o = new core.List<api.ReferenceImage>();
o.add(buildReferenceImage());
o.add(buildReferenceImage());
return o;
}
-checkUnnamed3065(core.List<api.ReferenceImage> o) {
+checkUnnamed3069(core.List<api.ReferenceImage> o) {
unittest.expect(o, unittest.hasLength(2));
checkReferenceImage(o[0]);
checkReferenceImage(o[1]);
}
-buildUnnamed3066() {
+buildUnnamed3070() {
var o = new core.List<api.Status>();
o.add(buildStatus());
o.add(buildStatus());
return o;
}
-checkUnnamed3066(core.List<api.Status> o) {
+checkUnnamed3070(core.List<api.Status> o) {
unittest.expect(o, unittest.hasLength(2));
checkStatus(o[0]);
checkStatus(o[1]);
@@ -8266,8 +8266,8 @@
var o = new api.ImportProductSetsResponse();
buildCounterImportProductSetsResponse++;
if (buildCounterImportProductSetsResponse < 3) {
- o.referenceImages = buildUnnamed3065();
- o.statuses = buildUnnamed3066();
+ o.referenceImages = buildUnnamed3069();
+ o.statuses = buildUnnamed3070();
}
buildCounterImportProductSetsResponse--;
return o;
@@ -8276,8 +8276,8 @@
checkImportProductSetsResponse(api.ImportProductSetsResponse o) {
buildCounterImportProductSetsResponse++;
if (buildCounterImportProductSetsResponse < 3) {
- checkUnnamed3065(o.referenceImages);
- checkUnnamed3066(o.statuses);
+ checkUnnamed3069(o.referenceImages);
+ checkUnnamed3070(o.statuses);
}
buildCounterImportProductSetsResponse--;
}
@@ -8389,14 +8389,14 @@
buildCounterLatLongRect--;
}
-buildUnnamed3067() {
+buildUnnamed3071() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed3067(core.List<api.Operation> o) {
+checkUnnamed3071(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -8408,7 +8408,7 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
o.nextPageToken = "foo";
- o.operations = buildUnnamed3067();
+ o.operations = buildUnnamed3071();
}
buildCounterListOperationsResponse--;
return o;
@@ -8418,19 +8418,19 @@
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3067(o.operations);
+ checkUnnamed3071(o.operations);
}
buildCounterListOperationsResponse--;
}
-buildUnnamed3068() {
+buildUnnamed3072() {
var o = new core.List<api.ProductSet>();
o.add(buildProductSet());
o.add(buildProductSet());
return o;
}
-checkUnnamed3068(core.List<api.ProductSet> o) {
+checkUnnamed3072(core.List<api.ProductSet> o) {
unittest.expect(o, unittest.hasLength(2));
checkProductSet(o[0]);
checkProductSet(o[1]);
@@ -8442,7 +8442,7 @@
buildCounterListProductSetsResponse++;
if (buildCounterListProductSetsResponse < 3) {
o.nextPageToken = "foo";
- o.productSets = buildUnnamed3068();
+ o.productSets = buildUnnamed3072();
}
buildCounterListProductSetsResponse--;
return o;
@@ -8452,19 +8452,19 @@
buildCounterListProductSetsResponse++;
if (buildCounterListProductSetsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3068(o.productSets);
+ checkUnnamed3072(o.productSets);
}
buildCounterListProductSetsResponse--;
}
-buildUnnamed3069() {
+buildUnnamed3073() {
var o = new core.List<api.Product>();
o.add(buildProduct());
o.add(buildProduct());
return o;
}
-checkUnnamed3069(core.List<api.Product> o) {
+checkUnnamed3073(core.List<api.Product> o) {
unittest.expect(o, unittest.hasLength(2));
checkProduct(o[0]);
checkProduct(o[1]);
@@ -8476,7 +8476,7 @@
buildCounterListProductsInProductSetResponse++;
if (buildCounterListProductsInProductSetResponse < 3) {
o.nextPageToken = "foo";
- o.products = buildUnnamed3069();
+ o.products = buildUnnamed3073();
}
buildCounterListProductsInProductSetResponse--;
return o;
@@ -8486,19 +8486,19 @@
buildCounterListProductsInProductSetResponse++;
if (buildCounterListProductsInProductSetResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3069(o.products);
+ checkUnnamed3073(o.products);
}
buildCounterListProductsInProductSetResponse--;
}
-buildUnnamed3070() {
+buildUnnamed3074() {
var o = new core.List<api.Product>();
o.add(buildProduct());
o.add(buildProduct());
return o;
}
-checkUnnamed3070(core.List<api.Product> o) {
+checkUnnamed3074(core.List<api.Product> o) {
unittest.expect(o, unittest.hasLength(2));
checkProduct(o[0]);
checkProduct(o[1]);
@@ -8510,7 +8510,7 @@
buildCounterListProductsResponse++;
if (buildCounterListProductsResponse < 3) {
o.nextPageToken = "foo";
- o.products = buildUnnamed3070();
+ o.products = buildUnnamed3074();
}
buildCounterListProductsResponse--;
return o;
@@ -8520,19 +8520,19 @@
buildCounterListProductsResponse++;
if (buildCounterListProductsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3070(o.products);
+ checkUnnamed3074(o.products);
}
buildCounterListProductsResponse--;
}
-buildUnnamed3071() {
+buildUnnamed3075() {
var o = new core.List<api.ReferenceImage>();
o.add(buildReferenceImage());
o.add(buildReferenceImage());
return o;
}
-checkUnnamed3071(core.List<api.ReferenceImage> o) {
+checkUnnamed3075(core.List<api.ReferenceImage> o) {
unittest.expect(o, unittest.hasLength(2));
checkReferenceImage(o[0]);
checkReferenceImage(o[1]);
@@ -8545,7 +8545,7 @@
if (buildCounterListReferenceImagesResponse < 3) {
o.nextPageToken = "foo";
o.pageSize = 42;
- o.referenceImages = buildUnnamed3071();
+ o.referenceImages = buildUnnamed3075();
}
buildCounterListReferenceImagesResponse--;
return o;
@@ -8556,7 +8556,7 @@
if (buildCounterListReferenceImagesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.pageSize, unittest.equals(42));
- checkUnnamed3071(o.referenceImages);
+ checkUnnamed3075(o.referenceImages);
}
buildCounterListReferenceImagesResponse--;
}
@@ -8653,7 +8653,7 @@
buildCounterObjectAnnotation--;
}
-buildUnnamed3072() {
+buildUnnamed3076() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -8668,7 +8668,7 @@
return o;
}
-checkUnnamed3072(core.Map<core.String, core.Object> o) {
+checkUnnamed3076(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o["x"]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -8682,7 +8682,7 @@
unittest.expect(casted2["string"], unittest.equals('foo'));
}
-buildUnnamed3073() {
+buildUnnamed3077() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -8697,7 +8697,7 @@
return o;
}
-checkUnnamed3073(core.Map<core.String, core.Object> o) {
+checkUnnamed3077(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted3 = (o["x"]) as core.Map;
unittest.expect(casted3, unittest.hasLength(3));
@@ -8718,9 +8718,9 @@
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed3072();
+ o.metadata = buildUnnamed3076();
o.name = "foo";
- o.response = buildUnnamed3073();
+ o.response = buildUnnamed3077();
}
buildCounterOperation--;
return o;
@@ -8731,9 +8731,9 @@
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed3072(o.metadata);
+ checkUnnamed3076(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed3073(o.response);
+ checkUnnamed3077(o.response);
}
buildCounterOperation--;
}
@@ -8782,14 +8782,14 @@
buildCounterOutputConfig--;
}
-buildUnnamed3074() {
+buildUnnamed3078() {
var o = new core.List<api.Block>();
o.add(buildBlock());
o.add(buildBlock());
return o;
}
-checkUnnamed3074(core.List<api.Block> o) {
+checkUnnamed3078(core.List<api.Block> o) {
unittest.expect(o, unittest.hasLength(2));
checkBlock(o[0]);
checkBlock(o[1]);
@@ -8800,7 +8800,7 @@
var o = new api.Page();
buildCounterPage++;
if (buildCounterPage < 3) {
- o.blocks = buildUnnamed3074();
+ o.blocks = buildUnnamed3078();
o.confidence = 42.0;
o.height = 42;
o.property = buildTextProperty();
@@ -8813,7 +8813,7 @@
checkPage(api.Page o) {
buildCounterPage++;
if (buildCounterPage < 3) {
- checkUnnamed3074(o.blocks);
+ checkUnnamed3078(o.blocks);
unittest.expect(o.confidence, unittest.equals(42.0));
unittest.expect(o.height, unittest.equals(42));
checkTextProperty(o.property);
@@ -8822,14 +8822,14 @@
buildCounterPage--;
}
-buildUnnamed3075() {
+buildUnnamed3079() {
var o = new core.List<api.Word>();
o.add(buildWord());
o.add(buildWord());
return o;
}
-checkUnnamed3075(core.List<api.Word> o) {
+checkUnnamed3079(core.List<api.Word> o) {
unittest.expect(o, unittest.hasLength(2));
checkWord(o[0]);
checkWord(o[1]);
@@ -8843,7 +8843,7 @@
o.boundingBox = buildBoundingPoly();
o.confidence = 42.0;
o.property = buildTextProperty();
- o.words = buildUnnamed3075();
+ o.words = buildUnnamed3079();
}
buildCounterParagraph--;
return o;
@@ -8855,7 +8855,7 @@
checkBoundingPoly(o.boundingBox);
unittest.expect(o.confidence, unittest.equals(42.0));
checkTextProperty(o.property);
- checkUnnamed3075(o.words);
+ checkUnnamed3079(o.words);
}
buildCounterParagraph--;
}
@@ -8883,14 +8883,14 @@
buildCounterPosition--;
}
-buildUnnamed3076() {
+buildUnnamed3080() {
var o = new core.List<api.KeyValue>();
o.add(buildKeyValue());
o.add(buildKeyValue());
return o;
}
-checkUnnamed3076(core.List<api.KeyValue> o) {
+checkUnnamed3080(core.List<api.KeyValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkKeyValue(o[0]);
checkKeyValue(o[1]);
@@ -8905,7 +8905,7 @@
o.displayName = "foo";
o.name = "foo";
o.productCategory = "foo";
- o.productLabels = buildUnnamed3076();
+ o.productLabels = buildUnnamed3080();
}
buildCounterProduct--;
return o;
@@ -8918,19 +8918,19 @@
unittest.expect(o.displayName, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.productCategory, unittest.equals('foo'));
- checkUnnamed3076(o.productLabels);
+ checkUnnamed3080(o.productLabels);
}
buildCounterProduct--;
}
-buildUnnamed3077() {
+buildUnnamed3081() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3077(core.List<core.String> o) {
+checkUnnamed3081(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -8943,7 +8943,7 @@
if (buildCounterProductSearchParams < 3) {
o.boundingPoly = buildBoundingPoly();
o.filter = "foo";
- o.productCategories = buildUnnamed3077();
+ o.productCategories = buildUnnamed3081();
o.productSet = "foo";
}
buildCounterProductSearchParams--;
@@ -8955,33 +8955,33 @@
if (buildCounterProductSearchParams < 3) {
checkBoundingPoly(o.boundingPoly);
unittest.expect(o.filter, unittest.equals('foo'));
- checkUnnamed3077(o.productCategories);
+ checkUnnamed3081(o.productCategories);
unittest.expect(o.productSet, unittest.equals('foo'));
}
buildCounterProductSearchParams--;
}
-buildUnnamed3078() {
+buildUnnamed3082() {
var o = new core.List<api.GroupedResult>();
o.add(buildGroupedResult());
o.add(buildGroupedResult());
return o;
}
-checkUnnamed3078(core.List<api.GroupedResult> o) {
+checkUnnamed3082(core.List<api.GroupedResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkGroupedResult(o[0]);
checkGroupedResult(o[1]);
}
-buildUnnamed3079() {
+buildUnnamed3083() {
var o = new core.List<api.Result>();
o.add(buildResult());
o.add(buildResult());
return o;
}
-checkUnnamed3079(core.List<api.Result> o) {
+checkUnnamed3083(core.List<api.Result> o) {
unittest.expect(o, unittest.hasLength(2));
checkResult(o[0]);
checkResult(o[1]);
@@ -8993,8 +8993,8 @@
buildCounterProductSearchResults++;
if (buildCounterProductSearchResults < 3) {
o.indexTime = "foo";
- o.productGroupedResults = buildUnnamed3078();
- o.results = buildUnnamed3079();
+ o.productGroupedResults = buildUnnamed3082();
+ o.results = buildUnnamed3083();
}
buildCounterProductSearchResults--;
return o;
@@ -9004,8 +9004,8 @@
buildCounterProductSearchResults++;
if (buildCounterProductSearchResults < 3) {
unittest.expect(o.indexTime, unittest.equals('foo'));
- checkUnnamed3078(o.productGroupedResults);
- checkUnnamed3079(o.results);
+ checkUnnamed3082(o.productGroupedResults);
+ checkUnnamed3083(o.results);
}
buildCounterProductSearchResults--;
}
@@ -9100,14 +9100,14 @@
buildCounterPurgeProductsRequest--;
}
-buildUnnamed3080() {
+buildUnnamed3084() {
var o = new core.List<api.BoundingPoly>();
o.add(buildBoundingPoly());
o.add(buildBoundingPoly());
return o;
}
-checkUnnamed3080(core.List<api.BoundingPoly> o) {
+checkUnnamed3084(core.List<api.BoundingPoly> o) {
unittest.expect(o, unittest.hasLength(2));
checkBoundingPoly(o[0]);
checkBoundingPoly(o[1]);
@@ -9118,7 +9118,7 @@
var o = new api.ReferenceImage();
buildCounterReferenceImage++;
if (buildCounterReferenceImage < 3) {
- o.boundingPolys = buildUnnamed3080();
+ o.boundingPolys = buildUnnamed3084();
o.name = "foo";
o.uri = "foo";
}
@@ -9129,7 +9129,7 @@
checkReferenceImage(api.ReferenceImage o) {
buildCounterReferenceImage++;
if (buildCounterReferenceImage < 3) {
- checkUnnamed3080(o.boundingPolys);
+ checkUnnamed3084(o.boundingPolys);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.uri, unittest.equals('foo'));
}
@@ -9206,7 +9206,7 @@
buildCounterSafeSearchAnnotation--;
}
-buildUnnamed3081() {
+buildUnnamed3085() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -9221,7 +9221,7 @@
return o;
}
-checkUnnamed3081(core.Map<core.String, core.Object> o) {
+checkUnnamed3085(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted5 = (o["x"]) as core.Map;
unittest.expect(casted5, unittest.hasLength(3));
@@ -9235,17 +9235,17 @@
unittest.expect(casted6["string"], unittest.equals('foo'));
}
-buildUnnamed3082() {
+buildUnnamed3086() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed3081());
- o.add(buildUnnamed3081());
+ o.add(buildUnnamed3085());
+ o.add(buildUnnamed3085());
return o;
}
-checkUnnamed3082(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed3086(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed3081(o[0]);
- checkUnnamed3081(o[1]);
+ checkUnnamed3085(o[0]);
+ checkUnnamed3085(o[1]);
}
core.int buildCounterStatus = 0;
@@ -9254,7 +9254,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed3082();
+ o.details = buildUnnamed3086();
o.message = "foo";
}
buildCounterStatus--;
@@ -9265,7 +9265,7 @@
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed3082(o.details);
+ checkUnnamed3086(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
@@ -9296,14 +9296,14 @@
buildCounterSymbol--;
}
-buildUnnamed3083() {
+buildUnnamed3087() {
var o = new core.List<api.Page>();
o.add(buildPage());
o.add(buildPage());
return o;
}
-checkUnnamed3083(core.List<api.Page> o) {
+checkUnnamed3087(core.List<api.Page> o) {
unittest.expect(o, unittest.hasLength(2));
checkPage(o[0]);
checkPage(o[1]);
@@ -9314,7 +9314,7 @@
var o = new api.TextAnnotation();
buildCounterTextAnnotation++;
if (buildCounterTextAnnotation < 3) {
- o.pages = buildUnnamed3083();
+ o.pages = buildUnnamed3087();
o.text = "foo";
}
buildCounterTextAnnotation--;
@@ -9324,20 +9324,20 @@
checkTextAnnotation(api.TextAnnotation o) {
buildCounterTextAnnotation++;
if (buildCounterTextAnnotation < 3) {
- checkUnnamed3083(o.pages);
+ checkUnnamed3087(o.pages);
unittest.expect(o.text, unittest.equals('foo'));
}
buildCounterTextAnnotation--;
}
-buildUnnamed3084() {
+buildUnnamed3088() {
var o = new core.List<api.DetectedLanguage>();
o.add(buildDetectedLanguage());
o.add(buildDetectedLanguage());
return o;
}
-checkUnnamed3084(core.List<api.DetectedLanguage> o) {
+checkUnnamed3088(core.List<api.DetectedLanguage> o) {
unittest.expect(o, unittest.hasLength(2));
checkDetectedLanguage(o[0]);
checkDetectedLanguage(o[1]);
@@ -9349,7 +9349,7 @@
buildCounterTextProperty++;
if (buildCounterTextProperty < 3) {
o.detectedBreak = buildDetectedBreak();
- o.detectedLanguages = buildUnnamed3084();
+ o.detectedLanguages = buildUnnamed3088();
}
buildCounterTextProperty--;
return o;
@@ -9359,7 +9359,7 @@
buildCounterTextProperty++;
if (buildCounterTextProperty < 3) {
checkDetectedBreak(o.detectedBreak);
- checkUnnamed3084(o.detectedLanguages);
+ checkUnnamed3088(o.detectedLanguages);
}
buildCounterTextProperty--;
}
@@ -9385,79 +9385,79 @@
buildCounterVertex--;
}
-buildUnnamed3085() {
+buildUnnamed3089() {
var o = new core.List<api.WebLabel>();
o.add(buildWebLabel());
o.add(buildWebLabel());
return o;
}
-checkUnnamed3085(core.List<api.WebLabel> o) {
+checkUnnamed3089(core.List<api.WebLabel> o) {
unittest.expect(o, unittest.hasLength(2));
checkWebLabel(o[0]);
checkWebLabel(o[1]);
}
-buildUnnamed3086() {
+buildUnnamed3090() {
var o = new core.List<api.WebImage>();
o.add(buildWebImage());
o.add(buildWebImage());
return o;
}
-checkUnnamed3086(core.List<api.WebImage> o) {
+checkUnnamed3090(core.List<api.WebImage> o) {
unittest.expect(o, unittest.hasLength(2));
checkWebImage(o[0]);
checkWebImage(o[1]);
}
-buildUnnamed3087() {
+buildUnnamed3091() {
var o = new core.List<api.WebPage>();
o.add(buildWebPage());
o.add(buildWebPage());
return o;
}
-checkUnnamed3087(core.List<api.WebPage> o) {
+checkUnnamed3091(core.List<api.WebPage> o) {
unittest.expect(o, unittest.hasLength(2));
checkWebPage(o[0]);
checkWebPage(o[1]);
}
-buildUnnamed3088() {
+buildUnnamed3092() {
var o = new core.List<api.WebImage>();
o.add(buildWebImage());
o.add(buildWebImage());
return o;
}
-checkUnnamed3088(core.List<api.WebImage> o) {
+checkUnnamed3092(core.List<api.WebImage> o) {
unittest.expect(o, unittest.hasLength(2));
checkWebImage(o[0]);
checkWebImage(o[1]);
}
-buildUnnamed3089() {
+buildUnnamed3093() {
var o = new core.List<api.WebImage>();
o.add(buildWebImage());
o.add(buildWebImage());
return o;
}
-checkUnnamed3089(core.List<api.WebImage> o) {
+checkUnnamed3093(core.List<api.WebImage> o) {
unittest.expect(o, unittest.hasLength(2));
checkWebImage(o[0]);
checkWebImage(o[1]);
}
-buildUnnamed3090() {
+buildUnnamed3094() {
var o = new core.List<api.WebEntity>();
o.add(buildWebEntity());
o.add(buildWebEntity());
return o;
}
-checkUnnamed3090(core.List<api.WebEntity> o) {
+checkUnnamed3094(core.List<api.WebEntity> o) {
unittest.expect(o, unittest.hasLength(2));
checkWebEntity(o[0]);
checkWebEntity(o[1]);
@@ -9468,12 +9468,12 @@
var o = new api.WebDetection();
buildCounterWebDetection++;
if (buildCounterWebDetection < 3) {
- o.bestGuessLabels = buildUnnamed3085();
- o.fullMatchingImages = buildUnnamed3086();
- o.pagesWithMatchingImages = buildUnnamed3087();
- o.partialMatchingImages = buildUnnamed3088();
- o.visuallySimilarImages = buildUnnamed3089();
- o.webEntities = buildUnnamed3090();
+ o.bestGuessLabels = buildUnnamed3089();
+ o.fullMatchingImages = buildUnnamed3090();
+ o.pagesWithMatchingImages = buildUnnamed3091();
+ o.partialMatchingImages = buildUnnamed3092();
+ o.visuallySimilarImages = buildUnnamed3093();
+ o.webEntities = buildUnnamed3094();
}
buildCounterWebDetection--;
return o;
@@ -9482,12 +9482,12 @@
checkWebDetection(api.WebDetection o) {
buildCounterWebDetection++;
if (buildCounterWebDetection < 3) {
- checkUnnamed3085(o.bestGuessLabels);
- checkUnnamed3086(o.fullMatchingImages);
- checkUnnamed3087(o.pagesWithMatchingImages);
- checkUnnamed3088(o.partialMatchingImages);
- checkUnnamed3089(o.visuallySimilarImages);
- checkUnnamed3090(o.webEntities);
+ checkUnnamed3089(o.bestGuessLabels);
+ checkUnnamed3090(o.fullMatchingImages);
+ checkUnnamed3091(o.pagesWithMatchingImages);
+ checkUnnamed3092(o.partialMatchingImages);
+ checkUnnamed3093(o.visuallySimilarImages);
+ checkUnnamed3094(o.webEntities);
}
buildCounterWebDetection--;
}
@@ -9576,27 +9576,27 @@
buildCounterWebLabel--;
}
-buildUnnamed3091() {
+buildUnnamed3095() {
var o = new core.List<api.WebImage>();
o.add(buildWebImage());
o.add(buildWebImage());
return o;
}
-checkUnnamed3091(core.List<api.WebImage> o) {
+checkUnnamed3095(core.List<api.WebImage> o) {
unittest.expect(o, unittest.hasLength(2));
checkWebImage(o[0]);
checkWebImage(o[1]);
}
-buildUnnamed3092() {
+buildUnnamed3096() {
var o = new core.List<api.WebImage>();
o.add(buildWebImage());
o.add(buildWebImage());
return o;
}
-checkUnnamed3092(core.List<api.WebImage> o) {
+checkUnnamed3096(core.List<api.WebImage> o) {
unittest.expect(o, unittest.hasLength(2));
checkWebImage(o[0]);
checkWebImage(o[1]);
@@ -9607,9 +9607,9 @@
var o = new api.WebPage();
buildCounterWebPage++;
if (buildCounterWebPage < 3) {
- o.fullMatchingImages = buildUnnamed3091();
+ o.fullMatchingImages = buildUnnamed3095();
o.pageTitle = "foo";
- o.partialMatchingImages = buildUnnamed3092();
+ o.partialMatchingImages = buildUnnamed3096();
o.score = 42.0;
o.url = "foo";
}
@@ -9620,23 +9620,23 @@
checkWebPage(api.WebPage o) {
buildCounterWebPage++;
if (buildCounterWebPage < 3) {
- checkUnnamed3091(o.fullMatchingImages);
+ checkUnnamed3095(o.fullMatchingImages);
unittest.expect(o.pageTitle, unittest.equals('foo'));
- checkUnnamed3092(o.partialMatchingImages);
+ checkUnnamed3096(o.partialMatchingImages);
unittest.expect(o.score, unittest.equals(42.0));
unittest.expect(o.url, unittest.equals('foo'));
}
buildCounterWebPage--;
}
-buildUnnamed3093() {
+buildUnnamed3097() {
var o = new core.List<api.Symbol>();
o.add(buildSymbol());
o.add(buildSymbol());
return o;
}
-checkUnnamed3093(core.List<api.Symbol> o) {
+checkUnnamed3097(core.List<api.Symbol> o) {
unittest.expect(o, unittest.hasLength(2));
checkSymbol(o[0]);
checkSymbol(o[1]);
@@ -9650,7 +9650,7 @@
o.boundingBox = buildBoundingPoly();
o.confidence = 42.0;
o.property = buildTextProperty();
- o.symbols = buildUnnamed3093();
+ o.symbols = buildUnnamed3097();
}
buildCounterWord--;
return o;
@@ -9662,7 +9662,7 @@
checkBoundingPoly(o.boundingBox);
unittest.expect(o.confidence, unittest.equals(42.0));
checkTextProperty(o.property);
- checkUnnamed3093(o.symbols);
+ checkUnnamed3097(o.symbols);
}
buildCounterWord--;
}
@@ -12656,8 +12656,8 @@
api.OperationsResourceApi res = new api.VisionApi(mock).operations;
var arg_name = "foo";
var arg_pageToken = "foo";
- var arg_pageSize = 42;
var arg_filter = "foo";
+ var arg_pageSize = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -12692,9 +12692,9 @@
}
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["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -12706,8 +12706,8 @@
res
.list(arg_name,
pageToken: arg_pageToken,
- pageSize: arg_pageSize,
filter: arg_filter,
+ pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListOperationsResponse(response);
@@ -13685,8 +13685,8 @@
api.ProjectsLocationsProductSetsProductsResourceApi res =
new api.VisionApi(mock).projects.locations.productSets.products;
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;
@@ -13719,10 +13719,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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 = {
@@ -13733,8 +13733,8 @@
}), true);
res
.list(arg_name,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListProductsInProductSetResponse(response);
@@ -13912,8 +13912,8 @@
api.ProjectsLocationsProductsResourceApi res =
new api.VisionApi(mock).projects.locations.products;
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;
@@ -13946,10 +13946,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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 = {
@@ -13960,8 +13960,8 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListProductsResponse(response);
@@ -14256,8 +14256,8 @@
api.ProjectsLocationsProductsReferenceImagesResourceApi res =
new api.VisionApi(mock).projects.locations.products.referenceImages;
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;
@@ -14290,10 +14290,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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 = {
@@ -14304,8 +14304,8 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListReferenceImagesResponse(response);
diff --git a/generated/googleapis/test/webfonts/v1_test.dart b/generated/googleapis/test/webfonts/v1_test.dart
index f45effc..5dbbb56 100644
--- a/generated/googleapis/test/webfonts/v1_test.dart
+++ b/generated/googleapis/test/webfonts/v1_test.dart
@@ -50,32 +50,19 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed1443() {
+buildUnnamed1444() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1443(core.Map<core.String, core.String> o) {
+checkUnnamed1444(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed1444() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed1444(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed1445() {
var o = new core.List<core.String>();
o.add("foo");
@@ -89,6 +76,19 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed1446() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed1446(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
core.int buildCounterWebfont = 0;
buildWebfont() {
var o = new api.Webfont();
@@ -96,11 +96,11 @@
if (buildCounterWebfont < 3) {
o.category = "foo";
o.family = "foo";
- o.files = buildUnnamed1443();
+ o.files = buildUnnamed1444();
o.kind = "foo";
o.lastModified = "foo";
- o.subsets = buildUnnamed1444();
- o.variants = buildUnnamed1445();
+ o.subsets = buildUnnamed1445();
+ o.variants = buildUnnamed1446();
o.version = "foo";
}
buildCounterWebfont--;
@@ -112,24 +112,24 @@
if (buildCounterWebfont < 3) {
unittest.expect(o.category, unittest.equals('foo'));
unittest.expect(o.family, unittest.equals('foo'));
- checkUnnamed1443(o.files);
+ checkUnnamed1444(o.files);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.lastModified, unittest.equals('foo'));
- checkUnnamed1444(o.subsets);
- checkUnnamed1445(o.variants);
+ checkUnnamed1445(o.subsets);
+ checkUnnamed1446(o.variants);
unittest.expect(o.version, unittest.equals('foo'));
}
buildCounterWebfont--;
}
-buildUnnamed1446() {
+buildUnnamed1447() {
var o = new core.List<api.Webfont>();
o.add(buildWebfont());
o.add(buildWebfont());
return o;
}
-checkUnnamed1446(core.List<api.Webfont> o) {
+checkUnnamed1447(core.List<api.Webfont> o) {
unittest.expect(o, unittest.hasLength(2));
checkWebfont(o[0]);
checkWebfont(o[1]);
@@ -140,7 +140,7 @@
var o = new api.WebfontList();
buildCounterWebfontList++;
if (buildCounterWebfontList < 3) {
- o.items = buildUnnamed1446();
+ o.items = buildUnnamed1447();
o.kind = "foo";
}
buildCounterWebfontList--;
@@ -150,7 +150,7 @@
checkWebfontList(api.WebfontList o) {
buildCounterWebfontList++;
if (buildCounterWebfontList < 3) {
- checkUnnamed1446(o.items);
+ checkUnnamed1447(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterWebfontList--;
diff --git a/generated/googleapis/test/websecurityscanner/v1_test.dart b/generated/googleapis/test/websecurityscanner/v1_test.dart
index e69ec4a..7ce31e7 100644
--- a/generated/googleapis/test/websecurityscanner/v1_test.dart
+++ b/generated/googleapis/test/websecurityscanner/v1_test.dart
@@ -206,14 +206,14 @@
buildCounterFindingTypeStats--;
}
-buildUnnamed845() {
+buildUnnamed846() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed845(core.List<core.String> o) {
+checkUnnamed846(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -225,7 +225,7 @@
buildCounterForm++;
if (buildCounterForm < 3) {
o.actionUri = "foo";
- o.fields = buildUnnamed845();
+ o.fields = buildUnnamed846();
}
buildCounterForm--;
return o;
@@ -235,7 +235,7 @@
buildCounterForm++;
if (buildCounterForm < 3) {
unittest.expect(o.actionUri, unittest.equals('foo'));
- checkUnnamed845(o.fields);
+ checkUnnamed846(o.fields);
}
buildCounterForm--;
}
@@ -320,14 +320,14 @@
buildCounterIapTestServiceAccountInfo--;
}
-buildUnnamed846() {
+buildUnnamed847() {
var o = new core.List<api.CrawledUrl>();
o.add(buildCrawledUrl());
o.add(buildCrawledUrl());
return o;
}
-checkUnnamed846(core.List<api.CrawledUrl> o) {
+checkUnnamed847(core.List<api.CrawledUrl> o) {
unittest.expect(o, unittest.hasLength(2));
checkCrawledUrl(o[0]);
checkCrawledUrl(o[1]);
@@ -338,7 +338,7 @@
var o = new api.ListCrawledUrlsResponse();
buildCounterListCrawledUrlsResponse++;
if (buildCounterListCrawledUrlsResponse < 3) {
- o.crawledUrls = buildUnnamed846();
+ o.crawledUrls = buildUnnamed847();
o.nextPageToken = "foo";
}
buildCounterListCrawledUrlsResponse--;
@@ -348,20 +348,20 @@
checkListCrawledUrlsResponse(api.ListCrawledUrlsResponse o) {
buildCounterListCrawledUrlsResponse++;
if (buildCounterListCrawledUrlsResponse < 3) {
- checkUnnamed846(o.crawledUrls);
+ checkUnnamed847(o.crawledUrls);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListCrawledUrlsResponse--;
}
-buildUnnamed847() {
+buildUnnamed848() {
var o = new core.List<api.FindingTypeStats>();
o.add(buildFindingTypeStats());
o.add(buildFindingTypeStats());
return o;
}
-checkUnnamed847(core.List<api.FindingTypeStats> o) {
+checkUnnamed848(core.List<api.FindingTypeStats> o) {
unittest.expect(o, unittest.hasLength(2));
checkFindingTypeStats(o[0]);
checkFindingTypeStats(o[1]);
@@ -372,7 +372,7 @@
var o = new api.ListFindingTypeStatsResponse();
buildCounterListFindingTypeStatsResponse++;
if (buildCounterListFindingTypeStatsResponse < 3) {
- o.findingTypeStats = buildUnnamed847();
+ o.findingTypeStats = buildUnnamed848();
}
buildCounterListFindingTypeStatsResponse--;
return o;
@@ -381,19 +381,19 @@
checkListFindingTypeStatsResponse(api.ListFindingTypeStatsResponse o) {
buildCounterListFindingTypeStatsResponse++;
if (buildCounterListFindingTypeStatsResponse < 3) {
- checkUnnamed847(o.findingTypeStats);
+ checkUnnamed848(o.findingTypeStats);
}
buildCounterListFindingTypeStatsResponse--;
}
-buildUnnamed848() {
+buildUnnamed849() {
var o = new core.List<api.Finding>();
o.add(buildFinding());
o.add(buildFinding());
return o;
}
-checkUnnamed848(core.List<api.Finding> o) {
+checkUnnamed849(core.List<api.Finding> o) {
unittest.expect(o, unittest.hasLength(2));
checkFinding(o[0]);
checkFinding(o[1]);
@@ -404,7 +404,7 @@
var o = new api.ListFindingsResponse();
buildCounterListFindingsResponse++;
if (buildCounterListFindingsResponse < 3) {
- o.findings = buildUnnamed848();
+ o.findings = buildUnnamed849();
o.nextPageToken = "foo";
}
buildCounterListFindingsResponse--;
@@ -414,20 +414,20 @@
checkListFindingsResponse(api.ListFindingsResponse o) {
buildCounterListFindingsResponse++;
if (buildCounterListFindingsResponse < 3) {
- checkUnnamed848(o.findings);
+ checkUnnamed849(o.findings);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListFindingsResponse--;
}
-buildUnnamed849() {
+buildUnnamed850() {
var o = new core.List<api.ScanConfig>();
o.add(buildScanConfig());
o.add(buildScanConfig());
return o;
}
-checkUnnamed849(core.List<api.ScanConfig> o) {
+checkUnnamed850(core.List<api.ScanConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkScanConfig(o[0]);
checkScanConfig(o[1]);
@@ -439,7 +439,7 @@
buildCounterListScanConfigsResponse++;
if (buildCounterListScanConfigsResponse < 3) {
o.nextPageToken = "foo";
- o.scanConfigs = buildUnnamed849();
+ o.scanConfigs = buildUnnamed850();
}
buildCounterListScanConfigsResponse--;
return o;
@@ -449,19 +449,19 @@
buildCounterListScanConfigsResponse++;
if (buildCounterListScanConfigsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed849(o.scanConfigs);
+ checkUnnamed850(o.scanConfigs);
}
buildCounterListScanConfigsResponse--;
}
-buildUnnamed850() {
+buildUnnamed851() {
var o = new core.List<api.ScanRun>();
o.add(buildScanRun());
o.add(buildScanRun());
return o;
}
-checkUnnamed850(core.List<api.ScanRun> o) {
+checkUnnamed851(core.List<api.ScanRun> o) {
unittest.expect(o, unittest.hasLength(2));
checkScanRun(o[0]);
checkScanRun(o[1]);
@@ -473,7 +473,7 @@
buildCounterListScanRunsResponse++;
if (buildCounterListScanRunsResponse < 3) {
o.nextPageToken = "foo";
- o.scanRuns = buildUnnamed850();
+ o.scanRuns = buildUnnamed851();
}
buildCounterListScanRunsResponse--;
return o;
@@ -483,47 +483,11 @@
buildCounterListScanRunsResponse++;
if (buildCounterListScanRunsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed850(o.scanRuns);
+ checkUnnamed851(o.scanRuns);
}
buildCounterListScanRunsResponse--;
}
-buildUnnamed851() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed851(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-core.int buildCounterOutdatedLibrary = 0;
-buildOutdatedLibrary() {
- var o = new api.OutdatedLibrary();
- buildCounterOutdatedLibrary++;
- if (buildCounterOutdatedLibrary < 3) {
- o.learnMoreUrls = buildUnnamed851();
- o.libraryName = "foo";
- o.version = "foo";
- }
- buildCounterOutdatedLibrary--;
- return o;
-}
-
-checkOutdatedLibrary(api.OutdatedLibrary o) {
- buildCounterOutdatedLibrary++;
- if (buildCounterOutdatedLibrary < 3) {
- checkUnnamed851(o.learnMoreUrls);
- unittest.expect(o.libraryName, unittest.equals('foo'));
- unittest.expect(o.version, unittest.equals('foo'));
- }
- buildCounterOutdatedLibrary--;
-}
-
buildUnnamed852() {
var o = new core.List<core.String>();
o.add("foo");
@@ -537,6 +501,29 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+core.int buildCounterOutdatedLibrary = 0;
+buildOutdatedLibrary() {
+ var o = new api.OutdatedLibrary();
+ buildCounterOutdatedLibrary++;
+ if (buildCounterOutdatedLibrary < 3) {
+ o.learnMoreUrls = buildUnnamed852();
+ o.libraryName = "foo";
+ o.version = "foo";
+ }
+ buildCounterOutdatedLibrary--;
+ return o;
+}
+
+checkOutdatedLibrary(api.OutdatedLibrary o) {
+ buildCounterOutdatedLibrary++;
+ if (buildCounterOutdatedLibrary < 3) {
+ checkUnnamed852(o.learnMoreUrls);
+ unittest.expect(o.libraryName, unittest.equals('foo'));
+ unittest.expect(o.version, unittest.equals('foo'));
+ }
+ buildCounterOutdatedLibrary--;
+}
+
buildUnnamed853() {
var o = new core.List<core.String>();
o.add("foo");
@@ -550,13 +537,26 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed854() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed854(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
core.int buildCounterScanConfig = 0;
buildScanConfig() {
var o = new api.ScanConfig();
buildCounterScanConfig++;
if (buildCounterScanConfig < 3) {
o.authentication = buildAuthentication();
- o.blacklistPatterns = buildUnnamed852();
+ o.blacklistPatterns = buildUnnamed853();
o.displayName = "foo";
o.exportToSecurityCommandCenter = "foo";
o.managedScan = true;
@@ -564,7 +564,7 @@
o.name = "foo";
o.riskLevel = "foo";
o.schedule = buildSchedule();
- o.startingUrls = buildUnnamed853();
+ o.startingUrls = buildUnnamed854();
o.staticIpScan = true;
o.userAgent = "foo";
}
@@ -576,7 +576,7 @@
buildCounterScanConfig++;
if (buildCounterScanConfig < 3) {
checkAuthentication(o.authentication);
- checkUnnamed852(o.blacklistPatterns);
+ checkUnnamed853(o.blacklistPatterns);
unittest.expect(o.displayName, unittest.equals('foo'));
unittest.expect(o.exportToSecurityCommandCenter, unittest.equals('foo'));
unittest.expect(o.managedScan, unittest.isTrue);
@@ -584,7 +584,7 @@
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.riskLevel, unittest.equals('foo'));
checkSchedule(o.schedule);
- checkUnnamed853(o.startingUrls);
+ checkUnnamed854(o.startingUrls);
unittest.expect(o.staticIpScan, unittest.isTrue);
unittest.expect(o.userAgent, unittest.equals('foo'));
}
@@ -612,14 +612,14 @@
buildCounterScanConfigError--;
}
-buildUnnamed854() {
+buildUnnamed855() {
var o = new core.List<api.ScanRunWarningTrace>();
o.add(buildScanRunWarningTrace());
o.add(buildScanRunWarningTrace());
return o;
}
-checkUnnamed854(core.List<api.ScanRunWarningTrace> o) {
+checkUnnamed855(core.List<api.ScanRunWarningTrace> o) {
unittest.expect(o, unittest.hasLength(2));
checkScanRunWarningTrace(o[0]);
checkScanRunWarningTrace(o[1]);
@@ -640,7 +640,7 @@
o.startTime = "foo";
o.urlsCrawledCount = "foo";
o.urlsTestedCount = "foo";
- o.warningTraces = buildUnnamed854();
+ o.warningTraces = buildUnnamed855();
}
buildCounterScanRun--;
return o;
@@ -659,7 +659,7 @@
unittest.expect(o.startTime, unittest.equals('foo'));
unittest.expect(o.urlsCrawledCount, unittest.equals('foo'));
unittest.expect(o.urlsTestedCount, unittest.equals('foo'));
- checkUnnamed854(o.warningTraces);
+ checkUnnamed855(o.warningTraces);
}
buildCounterScanRun--;
}
@@ -778,19 +778,6 @@
buildCounterViolatingResource--;
}
-buildUnnamed855() {
- var o = new core.List<api.Header>();
- o.add(buildHeader());
- o.add(buildHeader());
- return o;
-}
-
-checkUnnamed855(core.List<api.Header> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkHeader(o[0]);
- checkHeader(o[1]);
-}
-
buildUnnamed856() {
var o = new core.List<api.Header>();
o.add(buildHeader());
@@ -804,13 +791,26 @@
checkHeader(o[1]);
}
+buildUnnamed857() {
+ var o = new core.List<api.Header>();
+ o.add(buildHeader());
+ o.add(buildHeader());
+ return o;
+}
+
+checkUnnamed857(core.List<api.Header> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ checkHeader(o[0]);
+ checkHeader(o[1]);
+}
+
core.int buildCounterVulnerableHeaders = 0;
buildVulnerableHeaders() {
var o = new api.VulnerableHeaders();
buildCounterVulnerableHeaders++;
if (buildCounterVulnerableHeaders < 3) {
- o.headers = buildUnnamed855();
- o.missingHeaders = buildUnnamed856();
+ o.headers = buildUnnamed856();
+ o.missingHeaders = buildUnnamed857();
}
buildCounterVulnerableHeaders--;
return o;
@@ -819,44 +819,12 @@
checkVulnerableHeaders(api.VulnerableHeaders o) {
buildCounterVulnerableHeaders++;
if (buildCounterVulnerableHeaders < 3) {
- checkUnnamed855(o.headers);
- checkUnnamed856(o.missingHeaders);
+ checkUnnamed856(o.headers);
+ checkUnnamed857(o.missingHeaders);
}
buildCounterVulnerableHeaders--;
}
-buildUnnamed857() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed857(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-core.int buildCounterVulnerableParameters = 0;
-buildVulnerableParameters() {
- var o = new api.VulnerableParameters();
- buildCounterVulnerableParameters++;
- if (buildCounterVulnerableParameters < 3) {
- o.parameterNames = buildUnnamed857();
- }
- buildCounterVulnerableParameters--;
- return o;
-}
-
-checkVulnerableParameters(api.VulnerableParameters o) {
- buildCounterVulnerableParameters++;
- if (buildCounterVulnerableParameters < 3) {
- checkUnnamed857(o.parameterNames);
- }
- buildCounterVulnerableParameters--;
-}
-
buildUnnamed858() {
var o = new core.List<core.String>();
o.add("foo");
@@ -870,6 +838,38 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+core.int buildCounterVulnerableParameters = 0;
+buildVulnerableParameters() {
+ var o = new api.VulnerableParameters();
+ buildCounterVulnerableParameters++;
+ if (buildCounterVulnerableParameters < 3) {
+ o.parameterNames = buildUnnamed858();
+ }
+ buildCounterVulnerableParameters--;
+ return o;
+}
+
+checkVulnerableParameters(api.VulnerableParameters o) {
+ buildCounterVulnerableParameters++;
+ if (buildCounterVulnerableParameters < 3) {
+ checkUnnamed858(o.parameterNames);
+ }
+ buildCounterVulnerableParameters--;
+}
+
+buildUnnamed859() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed859(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
core.int buildCounterXss = 0;
buildXss() {
var o = new api.Xss();
@@ -877,7 +877,7 @@
if (buildCounterXss < 3) {
o.attackVector = "foo";
o.errorMessage = "foo";
- o.stackTraces = buildUnnamed858();
+ o.stackTraces = buildUnnamed859();
o.storedXssSeedingUrl = "foo";
}
buildCounterXss--;
@@ -889,7 +889,7 @@
if (buildCounterXss < 3) {
unittest.expect(o.attackVector, unittest.equals('foo'));
unittest.expect(o.errorMessage, unittest.equals('foo'));
- checkUnnamed858(o.stackTraces);
+ checkUnnamed859(o.stackTraces);
unittest.expect(o.storedXssSeedingUrl, unittest.equals('foo'));
}
buildCounterXss--;
@@ -1294,8 +1294,8 @@
api.ProjectsScanConfigsResourceApi res =
new api.WebsecurityscannerApi(mock).projects.scanConfigs;
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;
@@ -1328,10 +1328,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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 = {
@@ -1342,8 +1342,8 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListScanConfigsResponse(response);
@@ -1525,8 +1525,8 @@
api.ProjectsScanConfigsScanRunsResourceApi res =
new api.WebsecurityscannerApi(mock).projects.scanConfigs.scanRuns;
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;
@@ -1559,10 +1559,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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 = {
@@ -1573,8 +1573,8 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListScanRunsResponse(response);
@@ -1649,8 +1649,8 @@
.scanRuns
.crawledUrls;
var arg_parent = "foo";
- var arg_pageSize = 42;
var arg_pageToken = "foo";
+ var arg_pageSize = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1683,10 +1683,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1697,8 +1697,8 @@
}), true);
res
.list(arg_parent,
- pageSize: arg_pageSize,
pageToken: arg_pageToken,
+ pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListCrawledUrlsResponse(response);
@@ -1831,9 +1831,9 @@
.scanRuns
.findings;
var arg_parent = "foo";
- var arg_pageToken = "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;
@@ -1866,11 +1866,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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 = {
@@ -1881,9 +1881,9 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
filter: arg_filter,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListFindingsResponse(response);
diff --git a/generated/googleapis/test/youtube/v3_test.dart b/generated/googleapis/test/youtube/v3_test.dart
index 5068703..9858019 100644
--- a/generated/googleapis/test/youtube/v3_test.dart
+++ b/generated/googleapis/test/youtube/v3_test.dart
@@ -50,27 +50,27 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed4633() {
+buildUnnamed4640() {
var o = new core.List<api.AbuseType>();
o.add(buildAbuseType());
o.add(buildAbuseType());
return o;
}
-checkUnnamed4633(core.List<api.AbuseType> o) {
+checkUnnamed4640(core.List<api.AbuseType> o) {
unittest.expect(o, unittest.hasLength(2));
checkAbuseType(o[0]);
checkAbuseType(o[1]);
}
-buildUnnamed4634() {
+buildUnnamed4641() {
var o = new core.List<api.RelatedEntity>();
o.add(buildRelatedEntity());
o.add(buildRelatedEntity());
return o;
}
-checkUnnamed4634(core.List<api.RelatedEntity> o) {
+checkUnnamed4641(core.List<api.RelatedEntity> o) {
unittest.expect(o, unittest.hasLength(2));
checkRelatedEntity(o[0]);
checkRelatedEntity(o[1]);
@@ -81,9 +81,9 @@
var o = new api.AbuseReport();
buildCounterAbuseReport++;
if (buildCounterAbuseReport < 3) {
- o.abuseTypes = buildUnnamed4633();
+ o.abuseTypes = buildUnnamed4640();
o.description = "foo";
- o.relatedEntities = buildUnnamed4634();
+ o.relatedEntities = buildUnnamed4641();
o.subject = buildEntity();
}
buildCounterAbuseReport--;
@@ -93,9 +93,9 @@
checkAbuseReport(api.AbuseReport o) {
buildCounterAbuseReport++;
if (buildCounterAbuseReport < 3) {
- checkUnnamed4633(o.abuseTypes);
+ checkUnnamed4640(o.abuseTypes);
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed4634(o.relatedEntities);
+ checkUnnamed4641(o.relatedEntities);
checkEntity(o.subject);
}
buildCounterAbuseReport--;
@@ -120,14 +120,14 @@
buildCounterAbuseType--;
}
-buildUnnamed4635() {
+buildUnnamed4642() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4635(core.List<core.String> o) {
+checkUnnamed4642(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -139,7 +139,7 @@
buildCounterAccessPolicy++;
if (buildCounterAccessPolicy < 3) {
o.allowed = true;
- o.exception = buildUnnamed4635();
+ o.exception = buildUnnamed4642();
}
buildCounterAccessPolicy--;
return o;
@@ -149,7 +149,7 @@
buildCounterAccessPolicy++;
if (buildCounterAccessPolicy < 3) {
unittest.expect(o.allowed, unittest.isTrue);
- checkUnnamed4635(o.exception);
+ checkUnnamed4642(o.exception);
}
buildCounterAccessPolicy--;
}
@@ -340,27 +340,27 @@
buildCounterActivityContentDetailsPlaylistItem--;
}
-buildUnnamed4636() {
+buildUnnamed4643() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4636(core.List<core.String> o) {
+checkUnnamed4643(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed4637() {
+buildUnnamed4644() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4637(core.List<core.String> o) {
+checkUnnamed4644(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -378,8 +378,8 @@
o.customCtaButtonText = "foo";
o.descriptionText = "foo";
o.destinationUrl = "foo";
- o.forecastingUrl = buildUnnamed4636();
- o.impressionUrl = buildUnnamed4637();
+ o.forecastingUrl = buildUnnamed4643();
+ o.impressionUrl = buildUnnamed4644();
o.videoId = "foo";
}
buildCounterActivityContentDetailsPromotedItem--;
@@ -397,8 +397,8 @@
unittest.expect(o.customCtaButtonText, unittest.equals('foo'));
unittest.expect(o.descriptionText, unittest.equals('foo'));
unittest.expect(o.destinationUrl, unittest.equals('foo'));
- checkUnnamed4636(o.forecastingUrl);
- checkUnnamed4637(o.impressionUrl);
+ checkUnnamed4643(o.forecastingUrl);
+ checkUnnamed4644(o.impressionUrl);
unittest.expect(o.videoId, unittest.equals('foo'));
}
buildCounterActivityContentDetailsPromotedItem--;
@@ -494,14 +494,14 @@
buildCounterActivityContentDetailsUpload--;
}
-buildUnnamed4638() {
+buildUnnamed4645() {
var o = new core.List<api.Activity>();
o.add(buildActivity());
o.add(buildActivity());
return o;
}
-checkUnnamed4638(core.List<api.Activity> o) {
+checkUnnamed4645(core.List<api.Activity> o) {
unittest.expect(o, unittest.hasLength(2));
checkActivity(o[0]);
checkActivity(o[1]);
@@ -514,7 +514,7 @@
if (buildCounterActivityListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed4638();
+ o.items = buildUnnamed4645();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -531,7 +531,7 @@
if (buildCounterActivityListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed4638(o.items);
+ checkUnnamed4645(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -600,14 +600,14 @@
buildCounterCaption--;
}
-buildUnnamed4639() {
+buildUnnamed4646() {
var o = new core.List<api.Caption>();
o.add(buildCaption());
o.add(buildCaption());
return o;
}
-checkUnnamed4639(core.List<api.Caption> o) {
+checkUnnamed4646(core.List<api.Caption> o) {
unittest.expect(o, unittest.hasLength(2));
checkCaption(o[0]);
checkCaption(o[1]);
@@ -620,7 +620,7 @@
if (buildCounterCaptionListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed4639();
+ o.items = buildUnnamed4646();
o.kind = "foo";
o.visitorId = "foo";
}
@@ -633,7 +633,7 @@
if (buildCounterCaptionListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed4639(o.items);
+ checkUnnamed4646(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.visitorId, unittest.equals('foo'));
}
@@ -710,14 +710,14 @@
buildCounterCdnSettings--;
}
-buildUnnamed4640() {
+buildUnnamed4647() {
var o = new core.Map<core.String, api.ChannelLocalization>();
o["x"] = buildChannelLocalization();
o["y"] = buildChannelLocalization();
return o;
}
-checkUnnamed4640(core.Map<core.String, api.ChannelLocalization> o) {
+checkUnnamed4647(core.Map<core.String, api.ChannelLocalization> o) {
unittest.expect(o, unittest.hasLength(2));
checkChannelLocalization(o["x"]);
checkChannelLocalization(o["y"]);
@@ -736,7 +736,7 @@
o.etag = "foo";
o.id = "foo";
o.kind = "foo";
- o.localizations = buildUnnamed4640();
+ o.localizations = buildUnnamed4647();
o.snippet = buildChannelSnippet();
o.statistics = buildChannelStatistics();
o.status = buildChannelStatus();
@@ -757,7 +757,7 @@
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed4640(o.localizations);
+ checkUnnamed4647(o.localizations);
checkChannelSnippet(o.snippet);
checkChannelStatistics(o.statistics);
checkChannelStatus(o.status);
@@ -812,14 +812,14 @@
buildCounterChannelBannerResource--;
}
-buildUnnamed4641() {
+buildUnnamed4648() {
var o = new core.List<api.PropertyValue>();
o.add(buildPropertyValue());
o.add(buildPropertyValue());
return o;
}
-checkUnnamed4641(core.List<api.PropertyValue> o) {
+checkUnnamed4648(core.List<api.PropertyValue> o) {
unittest.expect(o, unittest.hasLength(2));
checkPropertyValue(o[0]);
checkPropertyValue(o[1]);
@@ -831,7 +831,7 @@
buildCounterChannelBrandingSettings++;
if (buildCounterChannelBrandingSettings < 3) {
o.channel = buildChannelSettings();
- o.hints = buildUnnamed4641();
+ o.hints = buildUnnamed4648();
o.image = buildImageSettings();
o.watch = buildWatchSettings();
}
@@ -843,7 +843,7 @@
buildCounterChannelBrandingSettings++;
if (buildCounterChannelBrandingSettings < 3) {
checkChannelSettings(o.channel);
- checkUnnamed4641(o.hints);
+ checkUnnamed4648(o.hints);
checkImageSettings(o.image);
checkWatchSettings(o.watch);
}
@@ -939,14 +939,14 @@
buildCounterChannelConversionPing--;
}
-buildUnnamed4642() {
+buildUnnamed4649() {
var o = new core.List<api.ChannelConversionPing>();
o.add(buildChannelConversionPing());
o.add(buildChannelConversionPing());
return o;
}
-checkUnnamed4642(core.List<api.ChannelConversionPing> o) {
+checkUnnamed4649(core.List<api.ChannelConversionPing> o) {
unittest.expect(o, unittest.hasLength(2));
checkChannelConversionPing(o[0]);
checkChannelConversionPing(o[1]);
@@ -957,7 +957,7 @@
var o = new api.ChannelConversionPings();
buildCounterChannelConversionPings++;
if (buildCounterChannelConversionPings < 3) {
- o.pings = buildUnnamed4642();
+ o.pings = buildUnnamed4649();
}
buildCounterChannelConversionPings--;
return o;
@@ -966,19 +966,19 @@
checkChannelConversionPings(api.ChannelConversionPings o) {
buildCounterChannelConversionPings++;
if (buildCounterChannelConversionPings < 3) {
- checkUnnamed4642(o.pings);
+ checkUnnamed4649(o.pings);
}
buildCounterChannelConversionPings--;
}
-buildUnnamed4643() {
+buildUnnamed4650() {
var o = new core.List<api.Channel>();
o.add(buildChannel());
o.add(buildChannel());
return o;
}
-checkUnnamed4643(core.List<api.Channel> o) {
+checkUnnamed4650(core.List<api.Channel> o) {
unittest.expect(o, unittest.hasLength(2));
checkChannel(o[0]);
checkChannel(o[1]);
@@ -991,7 +991,7 @@
if (buildCounterChannelListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed4643();
+ o.items = buildUnnamed4650();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -1008,7 +1008,7 @@
if (buildCounterChannelListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed4643(o.items);
+ checkUnnamed4650(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -1065,14 +1065,14 @@
buildCounterChannelProfileDetails--;
}
-buildUnnamed4644() {
+buildUnnamed4651() {
var o = new core.Map<core.String, api.ChannelSectionLocalization>();
o["x"] = buildChannelSectionLocalization();
o["y"] = buildChannelSectionLocalization();
return o;
}
-checkUnnamed4644(core.Map<core.String, api.ChannelSectionLocalization> o) {
+checkUnnamed4651(core.Map<core.String, api.ChannelSectionLocalization> o) {
unittest.expect(o, unittest.hasLength(2));
checkChannelSectionLocalization(o["x"]);
checkChannelSectionLocalization(o["y"]);
@@ -1087,7 +1087,7 @@
o.etag = "foo";
o.id = "foo";
o.kind = "foo";
- o.localizations = buildUnnamed4644();
+ o.localizations = buildUnnamed4651();
o.snippet = buildChannelSectionSnippet();
o.targeting = buildChannelSectionTargeting();
}
@@ -1102,34 +1102,34 @@
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed4644(o.localizations);
+ checkUnnamed4651(o.localizations);
checkChannelSectionSnippet(o.snippet);
checkChannelSectionTargeting(o.targeting);
}
buildCounterChannelSection--;
}
-buildUnnamed4645() {
+buildUnnamed4652() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4645(core.List<core.String> o) {
+checkUnnamed4652(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed4646() {
+buildUnnamed4653() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4646(core.List<core.String> o) {
+checkUnnamed4653(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1140,8 +1140,8 @@
var o = new api.ChannelSectionContentDetails();
buildCounterChannelSectionContentDetails++;
if (buildCounterChannelSectionContentDetails < 3) {
- o.channels = buildUnnamed4645();
- o.playlists = buildUnnamed4646();
+ o.channels = buildUnnamed4652();
+ o.playlists = buildUnnamed4653();
}
buildCounterChannelSectionContentDetails--;
return o;
@@ -1150,20 +1150,20 @@
checkChannelSectionContentDetails(api.ChannelSectionContentDetails o) {
buildCounterChannelSectionContentDetails++;
if (buildCounterChannelSectionContentDetails < 3) {
- checkUnnamed4645(o.channels);
- checkUnnamed4646(o.playlists);
+ checkUnnamed4652(o.channels);
+ checkUnnamed4653(o.playlists);
}
buildCounterChannelSectionContentDetails--;
}
-buildUnnamed4647() {
+buildUnnamed4654() {
var o = new core.List<api.ChannelSection>();
o.add(buildChannelSection());
o.add(buildChannelSection());
return o;
}
-checkUnnamed4647(core.List<api.ChannelSection> o) {
+checkUnnamed4654(core.List<api.ChannelSection> o) {
unittest.expect(o, unittest.hasLength(2));
checkChannelSection(o[0]);
checkChannelSection(o[1]);
@@ -1176,7 +1176,7 @@
if (buildCounterChannelSectionListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed4647();
+ o.items = buildUnnamed4654();
o.kind = "foo";
o.visitorId = "foo";
}
@@ -1189,7 +1189,7 @@
if (buildCounterChannelSectionListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed4647(o.items);
+ checkUnnamed4654(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.visitorId, unittest.equals('foo'));
}
@@ -1246,40 +1246,40 @@
buildCounterChannelSectionSnippet--;
}
-buildUnnamed4648() {
+buildUnnamed4655() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4648(core.List<core.String> o) {
+checkUnnamed4655(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed4649() {
+buildUnnamed4656() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4649(core.List<core.String> o) {
+checkUnnamed4656(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed4650() {
+buildUnnamed4657() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4650(core.List<core.String> o) {
+checkUnnamed4657(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1290,9 +1290,9 @@
var o = new api.ChannelSectionTargeting();
buildCounterChannelSectionTargeting++;
if (buildCounterChannelSectionTargeting < 3) {
- o.countries = buildUnnamed4648();
- o.languages = buildUnnamed4649();
- o.regions = buildUnnamed4650();
+ o.countries = buildUnnamed4655();
+ o.languages = buildUnnamed4656();
+ o.regions = buildUnnamed4657();
}
buildCounterChannelSectionTargeting--;
return o;
@@ -1301,21 +1301,21 @@
checkChannelSectionTargeting(api.ChannelSectionTargeting o) {
buildCounterChannelSectionTargeting++;
if (buildCounterChannelSectionTargeting < 3) {
- checkUnnamed4648(o.countries);
- checkUnnamed4649(o.languages);
- checkUnnamed4650(o.regions);
+ checkUnnamed4655(o.countries);
+ checkUnnamed4656(o.languages);
+ checkUnnamed4657(o.regions);
}
buildCounterChannelSectionTargeting--;
}
-buildUnnamed4651() {
+buildUnnamed4658() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4651(core.List<core.String> o) {
+checkUnnamed4658(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1331,7 +1331,7 @@
o.defaultTab = "foo";
o.description = "foo";
o.featuredChannelsTitle = "foo";
- o.featuredChannelsUrls = buildUnnamed4651();
+ o.featuredChannelsUrls = buildUnnamed4658();
o.keywords = "foo";
o.moderateComments = true;
o.profileColor = "foo";
@@ -1353,7 +1353,7 @@
unittest.expect(o.defaultTab, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.featuredChannelsTitle, unittest.equals('foo'));
- checkUnnamed4651(o.featuredChannelsUrls);
+ checkUnnamed4658(o.featuredChannelsUrls);
unittest.expect(o.keywords, unittest.equals('foo'));
unittest.expect(o.moderateComments, unittest.isTrue);
unittest.expect(o.profileColor, unittest.equals('foo'));
@@ -1474,27 +1474,27 @@
buildCounterChannelToStoreLinkDetails--;
}
-buildUnnamed4652() {
+buildUnnamed4659() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4652(core.List<core.String> o) {
+checkUnnamed4659(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed4653() {
+buildUnnamed4660() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4653(core.List<core.String> o) {
+checkUnnamed4660(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1505,8 +1505,8 @@
var o = new api.ChannelTopicDetails();
buildCounterChannelTopicDetails++;
if (buildCounterChannelTopicDetails < 3) {
- o.topicCategories = buildUnnamed4652();
- o.topicIds = buildUnnamed4653();
+ o.topicCategories = buildUnnamed4659();
+ o.topicIds = buildUnnamed4660();
}
buildCounterChannelTopicDetails--;
return o;
@@ -1515,8 +1515,8 @@
checkChannelTopicDetails(api.ChannelTopicDetails o) {
buildCounterChannelTopicDetails++;
if (buildCounterChannelTopicDetails < 3) {
- checkUnnamed4652(o.topicCategories);
- checkUnnamed4653(o.topicIds);
+ checkUnnamed4659(o.topicCategories);
+ checkUnnamed4660(o.topicIds);
}
buildCounterChannelTopicDetails--;
}
@@ -1546,14 +1546,14 @@
buildCounterComment--;
}
-buildUnnamed4654() {
+buildUnnamed4661() {
var o = new core.List<api.Comment>();
o.add(buildComment());
o.add(buildComment());
return o;
}
-checkUnnamed4654(core.List<api.Comment> o) {
+checkUnnamed4661(core.List<api.Comment> o) {
unittest.expect(o, unittest.hasLength(2));
checkComment(o[0]);
checkComment(o[1]);
@@ -1566,7 +1566,7 @@
if (buildCounterCommentListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed4654();
+ o.items = buildUnnamed4661();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -1582,7 +1582,7 @@
if (buildCounterCommentListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed4654(o.items);
+ checkUnnamed4661(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -1685,14 +1685,14 @@
buildCounterCommentThread--;
}
-buildUnnamed4655() {
+buildUnnamed4662() {
var o = new core.List<api.CommentThread>();
o.add(buildCommentThread());
o.add(buildCommentThread());
return o;
}
-checkUnnamed4655(core.List<api.CommentThread> o) {
+checkUnnamed4662(core.List<api.CommentThread> o) {
unittest.expect(o, unittest.hasLength(2));
checkCommentThread(o[0]);
checkCommentThread(o[1]);
@@ -1705,7 +1705,7 @@
if (buildCounterCommentThreadListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed4655();
+ o.items = buildUnnamed4662();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -1721,7 +1721,7 @@
if (buildCounterCommentThreadListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed4655(o.items);
+ checkUnnamed4662(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -1731,14 +1731,14 @@
buildCounterCommentThreadListResponse--;
}
-buildUnnamed4656() {
+buildUnnamed4663() {
var o = new core.List<api.Comment>();
o.add(buildComment());
o.add(buildComment());
return o;
}
-checkUnnamed4656(core.List<api.Comment> o) {
+checkUnnamed4663(core.List<api.Comment> o) {
unittest.expect(o, unittest.hasLength(2));
checkComment(o[0]);
checkComment(o[1]);
@@ -1749,7 +1749,7 @@
var o = new api.CommentThreadReplies();
buildCounterCommentThreadReplies++;
if (buildCounterCommentThreadReplies < 3) {
- o.comments = buildUnnamed4656();
+ o.comments = buildUnnamed4663();
}
buildCounterCommentThreadReplies--;
return o;
@@ -1758,7 +1758,7 @@
checkCommentThreadReplies(api.CommentThreadReplies o) {
buildCounterCommentThreadReplies++;
if (buildCounterCommentThreadReplies < 3) {
- checkUnnamed4656(o.comments);
+ checkUnnamed4663(o.comments);
}
buildCounterCommentThreadReplies--;
}
@@ -1792,27 +1792,27 @@
buildCounterCommentThreadSnippet--;
}
-buildUnnamed4657() {
+buildUnnamed4664() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4657(core.List<core.String> o) {
+checkUnnamed4664(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed4658() {
+buildUnnamed4665() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4658(core.List<core.String> o) {
+checkUnnamed4665(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1843,7 +1843,7 @@
o.cscfRating = "foo";
o.czfilmRating = "foo";
o.djctqRating = "foo";
- o.djctqRatingReasons = buildUnnamed4657();
+ o.djctqRatingReasons = buildUnnamed4664();
o.ecbmctRating = "foo";
o.eefilmRating = "foo";
o.egfilmRating = "foo";
@@ -1852,7 +1852,7 @@
o.fcoRating = "foo";
o.fmocRating = "foo";
o.fpbRating = "foo";
- o.fpbRatingReasons = buildUnnamed4658();
+ o.fpbRatingReasons = buildUnnamed4665();
o.fskRating = "foo";
o.grfilmRating = "foo";
o.icaaRating = "foo";
@@ -1922,7 +1922,7 @@
unittest.expect(o.cscfRating, unittest.equals('foo'));
unittest.expect(o.czfilmRating, unittest.equals('foo'));
unittest.expect(o.djctqRating, unittest.equals('foo'));
- checkUnnamed4657(o.djctqRatingReasons);
+ checkUnnamed4664(o.djctqRatingReasons);
unittest.expect(o.ecbmctRating, unittest.equals('foo'));
unittest.expect(o.eefilmRating, unittest.equals('foo'));
unittest.expect(o.egfilmRating, unittest.equals('foo'));
@@ -1931,7 +1931,7 @@
unittest.expect(o.fcoRating, unittest.equals('foo'));
unittest.expect(o.fmocRating, unittest.equals('foo'));
unittest.expect(o.fpbRating, unittest.equals('foo'));
- checkUnnamed4658(o.fpbRatingReasons);
+ checkUnnamed4665(o.fpbRatingReasons);
unittest.expect(o.fskRating, unittest.equals('foo'));
unittest.expect(o.grfilmRating, unittest.equals('foo'));
unittest.expect(o.icaaRating, unittest.equals('foo'));
@@ -2048,14 +2048,14 @@
buildCounterI18nLanguage--;
}
-buildUnnamed4659() {
+buildUnnamed4666() {
var o = new core.List<api.I18nLanguage>();
o.add(buildI18nLanguage());
o.add(buildI18nLanguage());
return o;
}
-checkUnnamed4659(core.List<api.I18nLanguage> o) {
+checkUnnamed4666(core.List<api.I18nLanguage> o) {
unittest.expect(o, unittest.hasLength(2));
checkI18nLanguage(o[0]);
checkI18nLanguage(o[1]);
@@ -2068,7 +2068,7 @@
if (buildCounterI18nLanguageListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed4659();
+ o.items = buildUnnamed4666();
o.kind = "foo";
o.visitorId = "foo";
}
@@ -2081,7 +2081,7 @@
if (buildCounterI18nLanguageListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed4659(o.items);
+ checkUnnamed4666(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.visitorId, unittest.equals('foo'));
}
@@ -2134,14 +2134,14 @@
buildCounterI18nRegion--;
}
-buildUnnamed4660() {
+buildUnnamed4667() {
var o = new core.List<api.I18nRegion>();
o.add(buildI18nRegion());
o.add(buildI18nRegion());
return o;
}
-checkUnnamed4660(core.List<api.I18nRegion> o) {
+checkUnnamed4667(core.List<api.I18nRegion> o) {
unittest.expect(o, unittest.hasLength(2));
checkI18nRegion(o[0]);
checkI18nRegion(o[1]);
@@ -2154,7 +2154,7 @@
if (buildCounterI18nRegionListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed4660();
+ o.items = buildUnnamed4667();
o.kind = "foo";
o.visitorId = "foo";
}
@@ -2167,7 +2167,7 @@
if (buildCounterI18nRegionListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed4660(o.items);
+ checkUnnamed4667(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.visitorId, unittest.equals('foo'));
}
@@ -2472,14 +2472,14 @@
buildCounterLiveBroadcastContentDetails--;
}
-buildUnnamed4661() {
+buildUnnamed4668() {
var o = new core.List<api.LiveBroadcast>();
o.add(buildLiveBroadcast());
o.add(buildLiveBroadcast());
return o;
}
-checkUnnamed4661(core.List<api.LiveBroadcast> o) {
+checkUnnamed4668(core.List<api.LiveBroadcast> o) {
unittest.expect(o, unittest.hasLength(2));
checkLiveBroadcast(o[0]);
checkLiveBroadcast(o[1]);
@@ -2492,7 +2492,7 @@
if (buildCounterLiveBroadcastListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed4661();
+ o.items = buildUnnamed4668();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -2509,7 +2509,7 @@
if (buildCounterLiveBroadcastListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed4661(o.items);
+ checkUnnamed4668(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -2761,14 +2761,14 @@
buildCounterLiveChatMessageDeletedDetails--;
}
-buildUnnamed4662() {
+buildUnnamed4669() {
var o = new core.List<api.LiveChatMessage>();
o.add(buildLiveChatMessage());
o.add(buildLiveChatMessage());
return o;
}
-checkUnnamed4662(core.List<api.LiveChatMessage> o) {
+checkUnnamed4669(core.List<api.LiveChatMessage> o) {
unittest.expect(o, unittest.hasLength(2));
checkLiveChatMessage(o[0]);
checkLiveChatMessage(o[1]);
@@ -2781,7 +2781,7 @@
if (buildCounterLiveChatMessageListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed4662();
+ o.items = buildUnnamed4669();
o.kind = "foo";
o.nextPageToken = "foo";
o.offlineAt = "foo";
@@ -2799,7 +2799,7 @@
if (buildCounterLiveChatMessageListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed4662(o.items);
+ checkUnnamed4669(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.offlineAt, unittest.equals('foo'));
@@ -2898,14 +2898,14 @@
buildCounterLiveChatModerator--;
}
-buildUnnamed4663() {
+buildUnnamed4670() {
var o = new core.List<api.LiveChatModerator>();
o.add(buildLiveChatModerator());
o.add(buildLiveChatModerator());
return o;
}
-checkUnnamed4663(core.List<api.LiveChatModerator> o) {
+checkUnnamed4670(core.List<api.LiveChatModerator> o) {
unittest.expect(o, unittest.hasLength(2));
checkLiveChatModerator(o[0]);
checkLiveChatModerator(o[1]);
@@ -2918,7 +2918,7 @@
if (buildCounterLiveChatModeratorListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed4663();
+ o.items = buildUnnamed4670();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -2935,7 +2935,7 @@
if (buildCounterLiveChatModeratorListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed4663(o.items);
+ checkUnnamed4670(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -3140,14 +3140,14 @@
buildCounterLiveStreamContentDetails--;
}
-buildUnnamed4664() {
+buildUnnamed4671() {
var o = new core.List<api.LiveStreamConfigurationIssue>();
o.add(buildLiveStreamConfigurationIssue());
o.add(buildLiveStreamConfigurationIssue());
return o;
}
-checkUnnamed4664(core.List<api.LiveStreamConfigurationIssue> o) {
+checkUnnamed4671(core.List<api.LiveStreamConfigurationIssue> o) {
unittest.expect(o, unittest.hasLength(2));
checkLiveStreamConfigurationIssue(o[0]);
checkLiveStreamConfigurationIssue(o[1]);
@@ -3158,7 +3158,7 @@
var o = new api.LiveStreamHealthStatus();
buildCounterLiveStreamHealthStatus++;
if (buildCounterLiveStreamHealthStatus < 3) {
- o.configurationIssues = buildUnnamed4664();
+ o.configurationIssues = buildUnnamed4671();
o.lastUpdateTimeSeconds = "foo";
o.status = "foo";
}
@@ -3169,21 +3169,21 @@
checkLiveStreamHealthStatus(api.LiveStreamHealthStatus o) {
buildCounterLiveStreamHealthStatus++;
if (buildCounterLiveStreamHealthStatus < 3) {
- checkUnnamed4664(o.configurationIssues);
+ checkUnnamed4671(o.configurationIssues);
unittest.expect(o.lastUpdateTimeSeconds, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals('foo'));
}
buildCounterLiveStreamHealthStatus--;
}
-buildUnnamed4665() {
+buildUnnamed4672() {
var o = new core.List<api.LiveStream>();
o.add(buildLiveStream());
o.add(buildLiveStream());
return o;
}
-checkUnnamed4665(core.List<api.LiveStream> o) {
+checkUnnamed4672(core.List<api.LiveStream> o) {
unittest.expect(o, unittest.hasLength(2));
checkLiveStream(o[0]);
checkLiveStream(o[1]);
@@ -3196,7 +3196,7 @@
if (buildCounterLiveStreamListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed4665();
+ o.items = buildUnnamed4672();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -3213,7 +3213,7 @@
if (buildCounterLiveStreamListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed4665(o.items);
+ checkUnnamed4672(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -3272,14 +3272,14 @@
buildCounterLiveStreamStatus--;
}
-buildUnnamed4666() {
+buildUnnamed4673() {
var o = new core.List<api.LocalizedString>();
o.add(buildLocalizedString());
o.add(buildLocalizedString());
return o;
}
-checkUnnamed4666(core.List<api.LocalizedString> o) {
+checkUnnamed4673(core.List<api.LocalizedString> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocalizedString(o[0]);
checkLocalizedString(o[1]);
@@ -3292,7 +3292,7 @@
if (buildCounterLocalizedProperty < 3) {
o.default_ = "foo";
o.defaultLanguage = buildLanguageTag();
- o.localized = buildUnnamed4666();
+ o.localized = buildUnnamed4673();
}
buildCounterLocalizedProperty--;
return o;
@@ -3303,7 +3303,7 @@
if (buildCounterLocalizedProperty < 3) {
unittest.expect(o.default_, unittest.equals('foo'));
checkLanguageTag(o.defaultLanguage);
- checkUnnamed4666(o.localized);
+ checkUnnamed4673(o.localized);
}
buildCounterLocalizedProperty--;
}
@@ -3352,14 +3352,14 @@
buildCounterMember--;
}
-buildUnnamed4667() {
+buildUnnamed4674() {
var o = new core.List<api.Member>();
o.add(buildMember());
o.add(buildMember());
return o;
}
-checkUnnamed4667(core.List<api.Member> o) {
+checkUnnamed4674(core.List<api.Member> o) {
unittest.expect(o, unittest.hasLength(2));
checkMember(o[0]);
checkMember(o[1]);
@@ -3372,7 +3372,7 @@
if (buildCounterMemberListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed4667();
+ o.items = buildUnnamed4674();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -3388,7 +3388,7 @@
if (buildCounterMemberListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed4667(o.items);
+ checkUnnamed4674(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -3421,27 +3421,27 @@
buildCounterMemberSnippet--;
}
-buildUnnamed4668() {
+buildUnnamed4675() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4668(core.List<core.String> o) {
+checkUnnamed4675(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed4669() {
+buildUnnamed4676() {
var o = new core.List<api.MembershipsDurationAtLevel>();
o.add(buildMembershipsDurationAtLevel());
o.add(buildMembershipsDurationAtLevel());
return o;
}
-checkUnnamed4669(core.List<api.MembershipsDurationAtLevel> o) {
+checkUnnamed4676(core.List<api.MembershipsDurationAtLevel> o) {
unittest.expect(o, unittest.hasLength(2));
checkMembershipsDurationAtLevel(o[0]);
checkMembershipsDurationAtLevel(o[1]);
@@ -3452,11 +3452,11 @@
var o = new api.MembershipsDetails();
buildCounterMembershipsDetails++;
if (buildCounterMembershipsDetails < 3) {
- o.accessibleLevels = buildUnnamed4668();
+ o.accessibleLevels = buildUnnamed4675();
o.highestAccessibleLevel = "foo";
o.highestAccessibleLevelDisplayName = "foo";
o.membershipsDuration = buildMembershipsDuration();
- o.membershipsDurationAtLevels = buildUnnamed4669();
+ o.membershipsDurationAtLevels = buildUnnamed4676();
}
buildCounterMembershipsDetails--;
return o;
@@ -3465,12 +3465,12 @@
checkMembershipsDetails(api.MembershipsDetails o) {
buildCounterMembershipsDetails++;
if (buildCounterMembershipsDetails < 3) {
- checkUnnamed4668(o.accessibleLevels);
+ checkUnnamed4675(o.accessibleLevels);
unittest.expect(o.highestAccessibleLevel, unittest.equals('foo'));
unittest.expect(
o.highestAccessibleLevelDisplayName, unittest.equals('foo'));
checkMembershipsDuration(o.membershipsDuration);
- checkUnnamed4669(o.membershipsDurationAtLevels);
+ checkUnnamed4676(o.membershipsDurationAtLevels);
}
buildCounterMembershipsDetails--;
}
@@ -3544,14 +3544,14 @@
buildCounterMembershipsLevel--;
}
-buildUnnamed4670() {
+buildUnnamed4677() {
var o = new core.List<api.MembershipsLevel>();
o.add(buildMembershipsLevel());
o.add(buildMembershipsLevel());
return o;
}
-checkUnnamed4670(core.List<api.MembershipsLevel> o) {
+checkUnnamed4677(core.List<api.MembershipsLevel> o) {
unittest.expect(o, unittest.hasLength(2));
checkMembershipsLevel(o[0]);
checkMembershipsLevel(o[1]);
@@ -3564,7 +3564,7 @@
if (buildCounterMembershipsLevelListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed4670();
+ o.items = buildUnnamed4677();
o.kind = "foo";
o.visitorId = "foo";
}
@@ -3577,7 +3577,7 @@
if (buildCounterMembershipsLevelListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed4670(o.items);
+ checkUnnamed4677(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.visitorId, unittest.equals('foo'));
}
@@ -3649,14 +3649,14 @@
buildCounterPageInfo--;
}
-buildUnnamed4671() {
+buildUnnamed4678() {
var o = new core.Map<core.String, api.PlaylistLocalization>();
o["x"] = buildPlaylistLocalization();
o["y"] = buildPlaylistLocalization();
return o;
}
-checkUnnamed4671(core.Map<core.String, api.PlaylistLocalization> o) {
+checkUnnamed4678(core.Map<core.String, api.PlaylistLocalization> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlaylistLocalization(o["x"]);
checkPlaylistLocalization(o["y"]);
@@ -3671,7 +3671,7 @@
o.etag = "foo";
o.id = "foo";
o.kind = "foo";
- o.localizations = buildUnnamed4671();
+ o.localizations = buildUnnamed4678();
o.player = buildPlaylistPlayer();
o.snippet = buildPlaylistSnippet();
o.status = buildPlaylistStatus();
@@ -3687,7 +3687,7 @@
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed4671(o.localizations);
+ checkUnnamed4678(o.localizations);
checkPlaylistPlayer(o.player);
checkPlaylistSnippet(o.snippet);
checkPlaylistStatus(o.status);
@@ -3770,14 +3770,14 @@
buildCounterPlaylistItemContentDetails--;
}
-buildUnnamed4672() {
+buildUnnamed4679() {
var o = new core.List<api.PlaylistItem>();
o.add(buildPlaylistItem());
o.add(buildPlaylistItem());
return o;
}
-checkUnnamed4672(core.List<api.PlaylistItem> o) {
+checkUnnamed4679(core.List<api.PlaylistItem> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlaylistItem(o[0]);
checkPlaylistItem(o[1]);
@@ -3790,7 +3790,7 @@
if (buildCounterPlaylistItemListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed4672();
+ o.items = buildUnnamed4679();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -3807,7 +3807,7 @@
if (buildCounterPlaylistItemListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed4672(o.items);
+ checkUnnamed4679(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -3872,14 +3872,14 @@
buildCounterPlaylistItemStatus--;
}
-buildUnnamed4673() {
+buildUnnamed4680() {
var o = new core.List<api.Playlist>();
o.add(buildPlaylist());
o.add(buildPlaylist());
return o;
}
-checkUnnamed4673(core.List<api.Playlist> o) {
+checkUnnamed4680(core.List<api.Playlist> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlaylist(o[0]);
checkPlaylist(o[1]);
@@ -3892,7 +3892,7 @@
if (buildCounterPlaylistListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed4673();
+ o.items = buildUnnamed4680();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -3909,7 +3909,7 @@
if (buildCounterPlaylistListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed4673(o.items);
+ checkUnnamed4680(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -3960,14 +3960,14 @@
buildCounterPlaylistPlayer--;
}
-buildUnnamed4674() {
+buildUnnamed4681() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4674(core.List<core.String> o) {
+checkUnnamed4681(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -3984,7 +3984,7 @@
o.description = "foo";
o.localized = buildPlaylistLocalization();
o.publishedAt = "foo";
- o.tags = buildUnnamed4674();
+ o.tags = buildUnnamed4681();
o.thumbnails = buildThumbnailDetails();
o.title = "foo";
}
@@ -4001,7 +4001,7 @@
unittest.expect(o.description, unittest.equals('foo'));
checkPlaylistLocalization(o.localized);
unittest.expect(o.publishedAt, unittest.equals('foo'));
- checkUnnamed4674(o.tags);
+ checkUnnamed4681(o.tags);
checkThumbnailDetails(o.thumbnails);
unittest.expect(o.title, unittest.equals('foo'));
}
@@ -4092,14 +4092,14 @@
buildCounterResourceId--;
}
-buildUnnamed4675() {
+buildUnnamed4682() {
var o = new core.List<api.SearchResult>();
o.add(buildSearchResult());
o.add(buildSearchResult());
return o;
}
-checkUnnamed4675(core.List<api.SearchResult> o) {
+checkUnnamed4682(core.List<api.SearchResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkSearchResult(o[0]);
checkSearchResult(o[1]);
@@ -4112,7 +4112,7 @@
if (buildCounterSearchListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed4675();
+ o.items = buildUnnamed4682();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -4130,7 +4130,7 @@
if (buildCounterSearchListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed4675(o.items);
+ checkUnnamed4682(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -4221,14 +4221,14 @@
buildCounterSponsor--;
}
-buildUnnamed4676() {
+buildUnnamed4683() {
var o = new core.List<api.Sponsor>();
o.add(buildSponsor());
o.add(buildSponsor());
return o;
}
-checkUnnamed4676(core.List<api.Sponsor> o) {
+checkUnnamed4683(core.List<api.Sponsor> o) {
unittest.expect(o, unittest.hasLength(2));
checkSponsor(o[0]);
checkSponsor(o[1]);
@@ -4241,7 +4241,7 @@
if (buildCounterSponsorListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed4676();
+ o.items = buildUnnamed4683();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -4257,7 +4257,7 @@
if (buildCounterSponsorListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed4676(o.items);
+ checkUnnamed4683(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -4344,14 +4344,14 @@
buildCounterSubscriptionContentDetails--;
}
-buildUnnamed4677() {
+buildUnnamed4684() {
var o = new core.List<api.Subscription>();
o.add(buildSubscription());
o.add(buildSubscription());
return o;
}
-checkUnnamed4677(core.List<api.Subscription> o) {
+checkUnnamed4684(core.List<api.Subscription> o) {
unittest.expect(o, unittest.hasLength(2));
checkSubscription(o[0]);
checkSubscription(o[1]);
@@ -4364,7 +4364,7 @@
if (buildCounterSubscriptionListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed4677();
+ o.items = buildUnnamed4684();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -4381,7 +4381,7 @@
if (buildCounterSubscriptionListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed4677(o.items);
+ checkUnnamed4684(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -4473,14 +4473,14 @@
buildCounterSuperChatEvent--;
}
-buildUnnamed4678() {
+buildUnnamed4685() {
var o = new core.List<api.SuperChatEvent>();
o.add(buildSuperChatEvent());
o.add(buildSuperChatEvent());
return o;
}
-checkUnnamed4678(core.List<api.SuperChatEvent> o) {
+checkUnnamed4685(core.List<api.SuperChatEvent> o) {
unittest.expect(o, unittest.hasLength(2));
checkSuperChatEvent(o[0]);
checkSuperChatEvent(o[1]);
@@ -4493,7 +4493,7 @@
if (buildCounterSuperChatEventListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed4678();
+ o.items = buildUnnamed4685();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -4509,7 +4509,7 @@
if (buildCounterSuperChatEventListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed4678(o.items);
+ checkUnnamed4685(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -4734,14 +4734,14 @@
buildCounterThumbnailDetails--;
}
-buildUnnamed4679() {
+buildUnnamed4686() {
var o = new core.List<api.ThumbnailDetails>();
o.add(buildThumbnailDetails());
o.add(buildThumbnailDetails());
return o;
}
-checkUnnamed4679(core.List<api.ThumbnailDetails> o) {
+checkUnnamed4686(core.List<api.ThumbnailDetails> o) {
unittest.expect(o, unittest.hasLength(2));
checkThumbnailDetails(o[0]);
checkThumbnailDetails(o[1]);
@@ -4754,7 +4754,7 @@
if (buildCounterThumbnailSetResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed4679();
+ o.items = buildUnnamed4686();
o.kind = "foo";
o.visitorId = "foo";
}
@@ -4767,7 +4767,7 @@
if (buildCounterThumbnailSetResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed4679(o.items);
+ checkUnnamed4686(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.visitorId, unittest.equals('foo'));
}
@@ -4789,14 +4789,14 @@
buildCounterTokenPagination--;
}
-buildUnnamed4680() {
+buildUnnamed4687() {
var o = new core.Map<core.String, api.VideoLocalization>();
o["x"] = buildVideoLocalization();
o["y"] = buildVideoLocalization();
return o;
}
-checkUnnamed4680(core.Map<core.String, api.VideoLocalization> o) {
+checkUnnamed4687(core.Map<core.String, api.VideoLocalization> o) {
unittest.expect(o, unittest.hasLength(2));
checkVideoLocalization(o["x"]);
checkVideoLocalization(o["y"]);
@@ -4814,7 +4814,7 @@
o.id = "foo";
o.kind = "foo";
o.liveStreamingDetails = buildVideoLiveStreamingDetails();
- o.localizations = buildUnnamed4680();
+ o.localizations = buildUnnamed4687();
o.monetizationDetails = buildVideoMonetizationDetails();
o.player = buildVideoPlayer();
o.processingDetails = buildVideoProcessingDetails();
@@ -4840,7 +4840,7 @@
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
checkVideoLiveStreamingDetails(o.liveStreamingDetails);
- checkUnnamed4680(o.localizations);
+ checkUnnamed4687(o.localizations);
checkVideoMonetizationDetails(o.monetizationDetails);
checkVideoPlayer(o.player);
checkVideoProcessingDetails(o.processingDetails);
@@ -4907,14 +4907,14 @@
buildCounterVideoAbuseReportReason--;
}
-buildUnnamed4681() {
+buildUnnamed4688() {
var o = new core.List<api.VideoAbuseReportReason>();
o.add(buildVideoAbuseReportReason());
o.add(buildVideoAbuseReportReason());
return o;
}
-checkUnnamed4681(core.List<api.VideoAbuseReportReason> o) {
+checkUnnamed4688(core.List<api.VideoAbuseReportReason> o) {
unittest.expect(o, unittest.hasLength(2));
checkVideoAbuseReportReason(o[0]);
checkVideoAbuseReportReason(o[1]);
@@ -4927,7 +4927,7 @@
if (buildCounterVideoAbuseReportReasonListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed4681();
+ o.items = buildUnnamed4688();
o.kind = "foo";
o.visitorId = "foo";
}
@@ -4941,21 +4941,21 @@
if (buildCounterVideoAbuseReportReasonListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed4681(o.items);
+ checkUnnamed4688(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.visitorId, unittest.equals('foo'));
}
buildCounterVideoAbuseReportReasonListResponse--;
}
-buildUnnamed4682() {
+buildUnnamed4689() {
var o = new core.List<api.VideoAbuseReportSecondaryReason>();
o.add(buildVideoAbuseReportSecondaryReason());
o.add(buildVideoAbuseReportSecondaryReason());
return o;
}
-checkUnnamed4682(core.List<api.VideoAbuseReportSecondaryReason> o) {
+checkUnnamed4689(core.List<api.VideoAbuseReportSecondaryReason> o) {
unittest.expect(o, unittest.hasLength(2));
checkVideoAbuseReportSecondaryReason(o[0]);
checkVideoAbuseReportSecondaryReason(o[1]);
@@ -4967,7 +4967,7 @@
buildCounterVideoAbuseReportReasonSnippet++;
if (buildCounterVideoAbuseReportReasonSnippet < 3) {
o.label = "foo";
- o.secondaryReasons = buildUnnamed4682();
+ o.secondaryReasons = buildUnnamed4689();
}
buildCounterVideoAbuseReportReasonSnippet--;
return o;
@@ -4977,7 +4977,7 @@
buildCounterVideoAbuseReportReasonSnippet++;
if (buildCounterVideoAbuseReportReasonSnippet < 3) {
unittest.expect(o.label, unittest.equals('foo'));
- checkUnnamed4682(o.secondaryReasons);
+ checkUnnamed4689(o.secondaryReasons);
}
buildCounterVideoAbuseReportReasonSnippet--;
}
@@ -5051,14 +5051,14 @@
buildCounterVideoCategory--;
}
-buildUnnamed4683() {
+buildUnnamed4690() {
var o = new core.List<api.VideoCategory>();
o.add(buildVideoCategory());
o.add(buildVideoCategory());
return o;
}
-checkUnnamed4683(core.List<api.VideoCategory> o) {
+checkUnnamed4690(core.List<api.VideoCategory> o) {
unittest.expect(o, unittest.hasLength(2));
checkVideoCategory(o[0]);
checkVideoCategory(o[1]);
@@ -5071,7 +5071,7 @@
if (buildCounterVideoCategoryListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed4683();
+ o.items = buildUnnamed4690();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -5088,7 +5088,7 @@
if (buildCounterVideoCategoryListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed4683(o.items);
+ checkUnnamed4690(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -5159,27 +5159,27 @@
buildCounterVideoContentDetails--;
}
-buildUnnamed4684() {
+buildUnnamed4691() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4684(core.List<core.String> o) {
+checkUnnamed4691(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed4685() {
+buildUnnamed4692() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4685(core.List<core.String> o) {
+checkUnnamed4692(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -5190,8 +5190,8 @@
var o = new api.VideoContentDetailsRegionRestriction();
buildCounterVideoContentDetailsRegionRestriction++;
if (buildCounterVideoContentDetailsRegionRestriction < 3) {
- o.allowed = buildUnnamed4684();
- o.blocked = buildUnnamed4685();
+ o.allowed = buildUnnamed4691();
+ o.blocked = buildUnnamed4692();
}
buildCounterVideoContentDetailsRegionRestriction--;
return o;
@@ -5201,33 +5201,33 @@
api.VideoContentDetailsRegionRestriction o) {
buildCounterVideoContentDetailsRegionRestriction++;
if (buildCounterVideoContentDetailsRegionRestriction < 3) {
- checkUnnamed4684(o.allowed);
- checkUnnamed4685(o.blocked);
+ checkUnnamed4691(o.allowed);
+ checkUnnamed4692(o.blocked);
}
buildCounterVideoContentDetailsRegionRestriction--;
}
-buildUnnamed4686() {
+buildUnnamed4693() {
var o = new core.List<api.VideoFileDetailsAudioStream>();
o.add(buildVideoFileDetailsAudioStream());
o.add(buildVideoFileDetailsAudioStream());
return o;
}
-checkUnnamed4686(core.List<api.VideoFileDetailsAudioStream> o) {
+checkUnnamed4693(core.List<api.VideoFileDetailsAudioStream> o) {
unittest.expect(o, unittest.hasLength(2));
checkVideoFileDetailsAudioStream(o[0]);
checkVideoFileDetailsAudioStream(o[1]);
}
-buildUnnamed4687() {
+buildUnnamed4694() {
var o = new core.List<api.VideoFileDetailsVideoStream>();
o.add(buildVideoFileDetailsVideoStream());
o.add(buildVideoFileDetailsVideoStream());
return o;
}
-checkUnnamed4687(core.List<api.VideoFileDetailsVideoStream> o) {
+checkUnnamed4694(core.List<api.VideoFileDetailsVideoStream> o) {
unittest.expect(o, unittest.hasLength(2));
checkVideoFileDetailsVideoStream(o[0]);
checkVideoFileDetailsVideoStream(o[1]);
@@ -5238,7 +5238,7 @@
var o = new api.VideoFileDetails();
buildCounterVideoFileDetails++;
if (buildCounterVideoFileDetails < 3) {
- o.audioStreams = buildUnnamed4686();
+ o.audioStreams = buildUnnamed4693();
o.bitrateBps = "foo";
o.container = "foo";
o.creationTime = "foo";
@@ -5246,7 +5246,7 @@
o.fileName = "foo";
o.fileSize = "foo";
o.fileType = "foo";
- o.videoStreams = buildUnnamed4687();
+ o.videoStreams = buildUnnamed4694();
}
buildCounterVideoFileDetails--;
return o;
@@ -5255,7 +5255,7 @@
checkVideoFileDetails(api.VideoFileDetails o) {
buildCounterVideoFileDetails++;
if (buildCounterVideoFileDetails < 3) {
- checkUnnamed4686(o.audioStreams);
+ checkUnnamed4693(o.audioStreams);
unittest.expect(o.bitrateBps, unittest.equals('foo'));
unittest.expect(o.container, unittest.equals('foo'));
unittest.expect(o.creationTime, unittest.equals('foo'));
@@ -5263,7 +5263,7 @@
unittest.expect(o.fileName, unittest.equals('foo'));
unittest.expect(o.fileSize, unittest.equals('foo'));
unittest.expect(o.fileType, unittest.equals('foo'));
- checkUnnamed4687(o.videoStreams);
+ checkUnnamed4694(o.videoStreams);
}
buildCounterVideoFileDetails--;
}
@@ -5326,14 +5326,14 @@
buildCounterVideoFileDetailsVideoStream--;
}
-buildUnnamed4688() {
+buildUnnamed4695() {
var o = new core.List<api.Video>();
o.add(buildVideo());
o.add(buildVideo());
return o;
}
-checkUnnamed4688(core.List<api.Video> o) {
+checkUnnamed4695(core.List<api.Video> o) {
unittest.expect(o, unittest.hasLength(2));
checkVideo(o[0]);
checkVideo(o[1]);
@@ -5346,7 +5346,7 @@
if (buildCounterVideoListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed4688();
+ o.items = buildUnnamed4695();
o.kind = "foo";
o.nextPageToken = "foo";
o.pageInfo = buildPageInfo();
@@ -5363,7 +5363,7 @@
if (buildCounterVideoListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed4688(o.items);
+ checkUnnamed4695(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
checkPageInfo(o.pageInfo);
@@ -5523,14 +5523,14 @@
buildCounterVideoProcessingDetailsProcessingProgress--;
}
-buildUnnamed4689() {
+buildUnnamed4696() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4689(core.List<core.String> o) {
+checkUnnamed4696(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -5541,7 +5541,7 @@
var o = new api.VideoProjectDetails();
buildCounterVideoProjectDetails++;
if (buildCounterVideoProjectDetails < 3) {
- o.tags = buildUnnamed4689();
+ o.tags = buildUnnamed4696();
}
buildCounterVideoProjectDetails--;
return o;
@@ -5550,7 +5550,7 @@
checkVideoProjectDetails(api.VideoProjectDetails o) {
buildCounterVideoProjectDetails++;
if (buildCounterVideoProjectDetails < 3) {
- checkUnnamed4689(o.tags);
+ checkUnnamed4696(o.tags);
}
buildCounterVideoProjectDetails--;
}
@@ -5576,14 +5576,14 @@
buildCounterVideoRating--;
}
-buildUnnamed4690() {
+buildUnnamed4697() {
var o = new core.List<api.VideoRating>();
o.add(buildVideoRating());
o.add(buildVideoRating());
return o;
}
-checkUnnamed4690(core.List<api.VideoRating> o) {
+checkUnnamed4697(core.List<api.VideoRating> o) {
unittest.expect(o, unittest.hasLength(2));
checkVideoRating(o[0]);
checkVideoRating(o[1]);
@@ -5596,7 +5596,7 @@
if (buildCounterVideoRatingListResponse < 3) {
o.etag = "foo";
o.eventId = "foo";
- o.items = buildUnnamed4690();
+ o.items = buildUnnamed4697();
o.kind = "foo";
o.visitorId = "foo";
}
@@ -5609,7 +5609,7 @@
if (buildCounterVideoRatingListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.eventId, unittest.equals('foo'));
- checkUnnamed4690(o.items);
+ checkUnnamed4697(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.visitorId, unittest.equals('foo'));
}
@@ -5639,14 +5639,14 @@
buildCounterVideoRecordingDetails--;
}
-buildUnnamed4691() {
+buildUnnamed4698() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4691(core.List<core.String> o) {
+checkUnnamed4698(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -5666,7 +5666,7 @@
o.liveBroadcastContent = "foo";
o.localized = buildVideoLocalization();
o.publishedAt = "foo";
- o.tags = buildUnnamed4691();
+ o.tags = buildUnnamed4698();
o.thumbnails = buildThumbnailDetails();
o.title = "foo";
}
@@ -5686,7 +5686,7 @@
unittest.expect(o.liveBroadcastContent, unittest.equals('foo'));
checkVideoLocalization(o.localized);
unittest.expect(o.publishedAt, unittest.equals('foo'));
- checkUnnamed4691(o.tags);
+ checkUnnamed4698(o.tags);
checkThumbnailDetails(o.thumbnails);
unittest.expect(o.title, unittest.equals('foo'));
}
@@ -5757,145 +5757,6 @@
buildCounterVideoStatus--;
}
-buildUnnamed4692() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed4692(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed4693() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed4693(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed4694() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed4694(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed4695() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed4695(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-buildUnnamed4696() {
- var o = new core.List<api.VideoSuggestionsTagSuggestion>();
- o.add(buildVideoSuggestionsTagSuggestion());
- o.add(buildVideoSuggestionsTagSuggestion());
- return o;
-}
-
-checkUnnamed4696(core.List<api.VideoSuggestionsTagSuggestion> o) {
- unittest.expect(o, unittest.hasLength(2));
- checkVideoSuggestionsTagSuggestion(o[0]);
- checkVideoSuggestionsTagSuggestion(o[1]);
-}
-
-core.int buildCounterVideoSuggestions = 0;
-buildVideoSuggestions() {
- var o = new api.VideoSuggestions();
- buildCounterVideoSuggestions++;
- if (buildCounterVideoSuggestions < 3) {
- o.editorSuggestions = buildUnnamed4692();
- o.processingErrors = buildUnnamed4693();
- o.processingHints = buildUnnamed4694();
- o.processingWarnings = buildUnnamed4695();
- o.tagSuggestions = buildUnnamed4696();
- }
- buildCounterVideoSuggestions--;
- return o;
-}
-
-checkVideoSuggestions(api.VideoSuggestions o) {
- buildCounterVideoSuggestions++;
- if (buildCounterVideoSuggestions < 3) {
- checkUnnamed4692(o.editorSuggestions);
- checkUnnamed4693(o.processingErrors);
- checkUnnamed4694(o.processingHints);
- checkUnnamed4695(o.processingWarnings);
- checkUnnamed4696(o.tagSuggestions);
- }
- buildCounterVideoSuggestions--;
-}
-
-buildUnnamed4697() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed4697(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
-core.int buildCounterVideoSuggestionsTagSuggestion = 0;
-buildVideoSuggestionsTagSuggestion() {
- var o = new api.VideoSuggestionsTagSuggestion();
- buildCounterVideoSuggestionsTagSuggestion++;
- if (buildCounterVideoSuggestionsTagSuggestion < 3) {
- o.categoryRestricts = buildUnnamed4697();
- o.tag = "foo";
- }
- buildCounterVideoSuggestionsTagSuggestion--;
- return o;
-}
-
-checkVideoSuggestionsTagSuggestion(api.VideoSuggestionsTagSuggestion o) {
- buildCounterVideoSuggestionsTagSuggestion++;
- if (buildCounterVideoSuggestionsTagSuggestion < 3) {
- checkUnnamed4697(o.categoryRestricts);
- unittest.expect(o.tag, unittest.equals('foo'));
- }
- buildCounterVideoSuggestionsTagSuggestion--;
-}
-
-buildUnnamed4698() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
- return o;
-}
-
-checkUnnamed4698(core.List<core.String> o) {
- unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
-}
-
buildUnnamed4699() {
var o = new core.List<core.String>();
o.add("foo");
@@ -5922,52 +5783,6 @@
unittest.expect(o[1], unittest.equals('foo'));
}
-core.int buildCounterVideoTopicDetails = 0;
-buildVideoTopicDetails() {
- var o = new api.VideoTopicDetails();
- buildCounterVideoTopicDetails++;
- if (buildCounterVideoTopicDetails < 3) {
- o.relevantTopicIds = buildUnnamed4698();
- o.topicCategories = buildUnnamed4699();
- o.topicIds = buildUnnamed4700();
- }
- buildCounterVideoTopicDetails--;
- return o;
-}
-
-checkVideoTopicDetails(api.VideoTopicDetails o) {
- buildCounterVideoTopicDetails++;
- if (buildCounterVideoTopicDetails < 3) {
- checkUnnamed4698(o.relevantTopicIds);
- checkUnnamed4699(o.topicCategories);
- checkUnnamed4700(o.topicIds);
- }
- buildCounterVideoTopicDetails--;
-}
-
-core.int buildCounterWatchSettings = 0;
-buildWatchSettings() {
- var o = new api.WatchSettings();
- buildCounterWatchSettings++;
- if (buildCounterWatchSettings < 3) {
- o.backgroundColor = "foo";
- o.featuredPlaylistId = "foo";
- o.textColor = "foo";
- }
- buildCounterWatchSettings--;
- return o;
-}
-
-checkWatchSettings(api.WatchSettings o) {
- buildCounterWatchSettings++;
- if (buildCounterWatchSettings < 3) {
- unittest.expect(o.backgroundColor, unittest.equals('foo'));
- unittest.expect(o.featuredPlaylistId, unittest.equals('foo'));
- unittest.expect(o.textColor, unittest.equals('foo'));
- }
- buildCounterWatchSettings--;
-}
-
buildUnnamed4701() {
var o = new core.List<core.String>();
o.add("foo");
@@ -5995,16 +5810,43 @@
}
buildUnnamed4703() {
- var o = new core.List<core.String>();
- o.add("foo");
- o.add("foo");
+ var o = new core.List<api.VideoSuggestionsTagSuggestion>();
+ o.add(buildVideoSuggestionsTagSuggestion());
+ o.add(buildVideoSuggestionsTagSuggestion());
return o;
}
-checkUnnamed4703(core.List<core.String> o) {
+checkUnnamed4703(core.List<api.VideoSuggestionsTagSuggestion> o) {
unittest.expect(o, unittest.hasLength(2));
- unittest.expect(o[0], unittest.equals('foo'));
- unittest.expect(o[1], unittest.equals('foo'));
+ checkVideoSuggestionsTagSuggestion(o[0]);
+ checkVideoSuggestionsTagSuggestion(o[1]);
+}
+
+core.int buildCounterVideoSuggestions = 0;
+buildVideoSuggestions() {
+ var o = new api.VideoSuggestions();
+ buildCounterVideoSuggestions++;
+ if (buildCounterVideoSuggestions < 3) {
+ o.editorSuggestions = buildUnnamed4699();
+ o.processingErrors = buildUnnamed4700();
+ o.processingHints = buildUnnamed4701();
+ o.processingWarnings = buildUnnamed4702();
+ o.tagSuggestions = buildUnnamed4703();
+ }
+ buildCounterVideoSuggestions--;
+ return o;
+}
+
+checkVideoSuggestions(api.VideoSuggestions o) {
+ buildCounterVideoSuggestions++;
+ if (buildCounterVideoSuggestions < 3) {
+ checkUnnamed4699(o.editorSuggestions);
+ checkUnnamed4700(o.processingErrors);
+ checkUnnamed4701(o.processingHints);
+ checkUnnamed4702(o.processingWarnings);
+ checkUnnamed4703(o.tagSuggestions);
+ }
+ buildCounterVideoSuggestions--;
}
buildUnnamed4704() {
@@ -6020,6 +5862,27 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+core.int buildCounterVideoSuggestionsTagSuggestion = 0;
+buildVideoSuggestionsTagSuggestion() {
+ var o = new api.VideoSuggestionsTagSuggestion();
+ buildCounterVideoSuggestionsTagSuggestion++;
+ if (buildCounterVideoSuggestionsTagSuggestion < 3) {
+ o.categoryRestricts = buildUnnamed4704();
+ o.tag = "foo";
+ }
+ buildCounterVideoSuggestionsTagSuggestion--;
+ return o;
+}
+
+checkVideoSuggestionsTagSuggestion(api.VideoSuggestionsTagSuggestion o) {
+ buildCounterVideoSuggestionsTagSuggestion++;
+ if (buildCounterVideoSuggestionsTagSuggestion < 3) {
+ checkUnnamed4704(o.categoryRestricts);
+ unittest.expect(o.tag, unittest.equals('foo'));
+ }
+ buildCounterVideoSuggestionsTagSuggestion--;
+}
+
buildUnnamed4705() {
var o = new core.List<core.String>();
o.add("foo");
@@ -6059,6 +5922,52 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+core.int buildCounterVideoTopicDetails = 0;
+buildVideoTopicDetails() {
+ var o = new api.VideoTopicDetails();
+ buildCounterVideoTopicDetails++;
+ if (buildCounterVideoTopicDetails < 3) {
+ o.relevantTopicIds = buildUnnamed4705();
+ o.topicCategories = buildUnnamed4706();
+ o.topicIds = buildUnnamed4707();
+ }
+ buildCounterVideoTopicDetails--;
+ return o;
+}
+
+checkVideoTopicDetails(api.VideoTopicDetails o) {
+ buildCounterVideoTopicDetails++;
+ if (buildCounterVideoTopicDetails < 3) {
+ checkUnnamed4705(o.relevantTopicIds);
+ checkUnnamed4706(o.topicCategories);
+ checkUnnamed4707(o.topicIds);
+ }
+ buildCounterVideoTopicDetails--;
+}
+
+core.int buildCounterWatchSettings = 0;
+buildWatchSettings() {
+ var o = new api.WatchSettings();
+ buildCounterWatchSettings++;
+ if (buildCounterWatchSettings < 3) {
+ o.backgroundColor = "foo";
+ o.featuredPlaylistId = "foo";
+ o.textColor = "foo";
+ }
+ buildCounterWatchSettings--;
+ return o;
+}
+
+checkWatchSettings(api.WatchSettings o) {
+ buildCounterWatchSettings++;
+ if (buildCounterWatchSettings < 3) {
+ unittest.expect(o.backgroundColor, unittest.equals('foo'));
+ unittest.expect(o.featuredPlaylistId, unittest.equals('foo'));
+ unittest.expect(o.textColor, unittest.equals('foo'));
+ }
+ buildCounterWatchSettings--;
+}
+
buildUnnamed4708() {
var o = new core.List<core.String>();
o.add("foo");
@@ -6891,6 +6800,97 @@
unittest.expect(o[1], unittest.equals('foo'));
}
+buildUnnamed4772() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed4772(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed4773() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed4773(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed4774() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed4774(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed4775() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed4775(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed4776() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed4776(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed4777() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed4777(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
+buildUnnamed4778() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed4778(core.List<core.String> o) {
+ unittest.expect(o, unittest.hasLength(2));
+ unittest.expect(o[0], unittest.equals('foo'));
+ unittest.expect(o[1], unittest.equals('foo'));
+}
+
main() {
unittest.group("obj-schema-AbuseReport", () {
unittest.test("to-json--from-json", () {
@@ -8373,7 +8373,7 @@
var mock = new HttpServerMock();
api.AbuseReportsResourceApi res = new api.YoutubeApi(mock).abuseReports;
var arg_request = buildAbuseReport();
- var arg_part = buildUnnamed4701();
+ var arg_part = buildUnnamed4708();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.AbuseReport.fromJson(json);
@@ -8429,15 +8429,15 @@
unittest.test("method--list", () {
var mock = new HttpServerMock();
api.ActivitiesResourceApi res = new api.YoutubeApi(mock).activities;
- var arg_part = buildUnnamed4702();
- var arg_home = true;
- var arg_mine = true;
- var arg_regionCode = "foo";
- var arg_publishedBefore = "foo";
- var arg_pageToken = "foo";
- var arg_channelId = "foo";
+ var arg_part = buildUnnamed4709();
var arg_publishedAfter = "foo";
+ var arg_mine = true;
+ var arg_channelId = "foo";
var arg_maxResults = 42;
+ 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;
@@ -8470,20 +8470,20 @@
}
}
unittest.expect(queryMap["part"], unittest.equals(arg_part));
- unittest.expect(queryMap["home"].first, unittest.equals("$arg_home"));
+ unittest.expect(queryMap["publishedAfter"].first,
+ unittest.equals(arg_publishedAfter));
unittest.expect(queryMap["mine"].first, unittest.equals("$arg_mine"));
unittest.expect(
- queryMap["regionCode"].first, unittest.equals(arg_regionCode));
+ queryMap["channelId"].first, unittest.equals(arg_channelId));
+ unittest.expect(core.int.parse(queryMap["maxResults"].first),
+ unittest.equals(arg_maxResults));
unittest.expect(queryMap["publishedBefore"].first,
unittest.equals(arg_publishedBefore));
unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ queryMap["regionCode"].first, unittest.equals(arg_regionCode));
+ unittest.expect(queryMap["home"].first, unittest.equals("$arg_home"));
unittest.expect(
- queryMap["channelId"].first, unittest.equals(arg_channelId));
- unittest.expect(queryMap["publishedAfter"].first,
- unittest.equals(arg_publishedAfter));
- unittest.expect(core.int.parse(queryMap["maxResults"].first),
- unittest.equals(arg_maxResults));
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -8494,14 +8494,14 @@
}), true);
res
.list(arg_part,
- home: arg_home,
- mine: arg_mine,
- regionCode: arg_regionCode,
- publishedBefore: arg_publishedBefore,
- pageToken: arg_pageToken,
- channelId: arg_channelId,
publishedAfter: arg_publishedAfter,
+ mine: arg_mine,
+ channelId: arg_channelId,
maxResults: arg_maxResults,
+ publishedBefore: arg_publishedBefore,
+ regionCode: arg_regionCode,
+ home: arg_home,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkActivityListResponse(response);
@@ -8514,8 +8514,8 @@
var mock = new HttpServerMock();
api.CaptionsResourceApi res = new api.YoutubeApi(mock).captions;
var arg_id = "foo";
- var arg_onBehalfOfContentOwner = "foo";
var arg_onBehalfOf = "foo";
+ var arg_onBehalfOfContentOwner = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -8548,10 +8548,10 @@
}
}
unittest.expect(queryMap["id"].first, unittest.equals(arg_id));
- 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["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -8562,8 +8562,8 @@
}), true);
res
.delete(arg_id,
- onBehalfOfContentOwner: arg_onBehalfOfContentOwner,
onBehalfOf: arg_onBehalfOf,
+ onBehalfOfContentOwner: arg_onBehalfOfContentOwner,
$fields: arg_$fields)
.then(unittest.expectAsync1((_) {}));
});
@@ -8644,10 +8644,10 @@
var mock = new HttpServerMock();
api.CaptionsResourceApi res = new api.YoutubeApi(mock).captions;
var arg_request = buildCaption();
- var arg_part = buildUnnamed4703();
- var arg_sync = true;
- var arg_onBehalfOf = "foo";
+ var arg_part = buildUnnamed4710();
var arg_onBehalfOfContentOwner = "foo";
+ var arg_onBehalfOf = "foo";
+ var arg_sync = true;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.Caption.fromJson(json);
@@ -8683,11 +8683,11 @@
}
}
unittest.expect(queryMap["part"], unittest.equals(arg_part));
- unittest.expect(queryMap["sync"].first, unittest.equals("$arg_sync"));
- unittest.expect(
- queryMap["onBehalfOf"].first, unittest.equals(arg_onBehalfOf));
unittest.expect(queryMap["onBehalfOfContentOwner"].first,
unittest.equals(arg_onBehalfOfContentOwner));
+ unittest.expect(
+ queryMap["onBehalfOf"].first, unittest.equals(arg_onBehalfOf));
+ unittest.expect(queryMap["sync"].first, unittest.equals("$arg_sync"));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -8698,9 +8698,9 @@
}), true);
res
.insert(arg_request, arg_part,
- sync: arg_sync,
- onBehalfOf: arg_onBehalfOf,
onBehalfOfContentOwner: arg_onBehalfOfContentOwner,
+ onBehalfOf: arg_onBehalfOf,
+ sync: arg_sync,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkCaption(response);
@@ -8711,10 +8711,10 @@
var mock = new HttpServerMock();
api.CaptionsResourceApi res = new api.YoutubeApi(mock).captions;
var arg_videoId = "foo";
- var arg_part = buildUnnamed4704();
- var arg_id = buildUnnamed4705();
+ var arg_part = buildUnnamed4711();
var arg_onBehalfOf = "foo";
var arg_onBehalfOfContentOwner = "foo";
+ var arg_id = buildUnnamed4712();
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);
@@ -8780,7 +8780,7 @@
var mock = new HttpServerMock();
api.CaptionsResourceApi res = new api.YoutubeApi(mock).captions;
var arg_request = buildCaption();
- var arg_part = buildUnnamed4706();
+ var arg_part = buildUnnamed4713();
var arg_sync = true;
var arg_onBehalfOfContentOwner = "foo";
var arg_onBehalfOf = "foo";
@@ -8853,8 +8853,8 @@
api.ChannelBannersResourceApi res =
new api.YoutubeApi(mock).channelBanners;
var arg_request = buildChannelBannerResource();
- var arg_channelId = "foo";
var arg_onBehalfOfContentOwner = "foo";
+ var arg_channelId = "foo";
var arg_onBehalfOfContentOwnerChannel = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -8890,10 +8890,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(
- queryMap["channelId"].first, unittest.equals(arg_channelId));
unittest.expect(queryMap["onBehalfOfContentOwner"].first,
unittest.equals(arg_onBehalfOfContentOwner));
+ unittest.expect(
+ queryMap["channelId"].first, unittest.equals(arg_channelId));
unittest.expect(queryMap["onBehalfOfContentOwnerChannel"].first,
unittest.equals(arg_onBehalfOfContentOwnerChannel));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -8906,8 +8906,8 @@
}), true);
res
.insert(arg_request,
- channelId: arg_channelId,
onBehalfOfContentOwner: arg_onBehalfOfContentOwner,
+ channelId: arg_channelId,
onBehalfOfContentOwnerChannel: arg_onBehalfOfContentOwnerChannel,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -8977,7 +8977,7 @@
api.ChannelSectionsResourceApi res =
new api.YoutubeApi(mock).channelSections;
var arg_request = buildChannelSection();
- var arg_part = buildUnnamed4707();
+ var arg_part = buildUnnamed4714();
var arg_onBehalfOfContentOwner = "foo";
var arg_onBehalfOfContentOwnerChannel = "foo";
var arg_$fields = "foo";
@@ -9041,12 +9041,12 @@
var mock = new HttpServerMock();
api.ChannelSectionsResourceApi res =
new api.YoutubeApi(mock).channelSections;
- var arg_part = buildUnnamed4708();
- var arg_id = buildUnnamed4709();
- var arg_hl = "foo";
- var arg_channelId = "foo";
- var arg_onBehalfOfContentOwner = "foo";
+ var arg_part = buildUnnamed4715();
+ var arg_id = buildUnnamed4716();
var arg_mine = true;
+ var arg_channelId = "foo";
+ var arg_hl = "foo";
+ var arg_onBehalfOfContentOwner = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -9080,12 +9080,12 @@
}
unittest.expect(queryMap["part"], unittest.equals(arg_part));
unittest.expect(queryMap["id"], unittest.equals(arg_id));
- unittest.expect(queryMap["hl"].first, unittest.equals(arg_hl));
+ 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["onBehalfOfContentOwner"].first,
unittest.equals(arg_onBehalfOfContentOwner));
- unittest.expect(queryMap["mine"].first, unittest.equals("$arg_mine"));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -9097,10 +9097,10 @@
res
.list(arg_part,
id: arg_id,
- hl: arg_hl,
- channelId: arg_channelId,
- onBehalfOfContentOwner: arg_onBehalfOfContentOwner,
mine: arg_mine,
+ channelId: arg_channelId,
+ hl: arg_hl,
+ onBehalfOfContentOwner: arg_onBehalfOfContentOwner,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkChannelSectionListResponse(response);
@@ -9112,7 +9112,7 @@
api.ChannelSectionsResourceApi res =
new api.YoutubeApi(mock).channelSections;
var arg_request = buildChannelSection();
- var arg_part = buildUnnamed4710();
+ var arg_part = buildUnnamed4717();
var arg_onBehalfOfContentOwner = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -9173,17 +9173,17 @@
unittest.test("method--list", () {
var mock = new HttpServerMock();
api.ChannelsResourceApi res = new api.YoutubeApi(mock).channels;
- var arg_part = buildUnnamed4711();
- var arg_pageToken = "foo";
- var arg_hl = "foo";
- var arg_onBehalfOfContentOwner = "foo";
- var arg_managedByMe = true;
+ var arg_part = buildUnnamed4718();
+ var arg_id = buildUnnamed4719();
var arg_categoryId = "foo";
- var arg_mySubscribers = true;
+ var arg_hl = "foo";
var arg_maxResults = 42;
+ var arg_onBehalfOfContentOwner = "foo";
var arg_forUsername = "foo";
+ var arg_managedByMe = true;
+ var arg_pageToken = "foo";
var arg_mine = true;
- var arg_id = buildUnnamed4712();
+ var arg_mySubscribers = true;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -9216,23 +9216,23 @@
}
}
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));
+ 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["managedByMe"].first, unittest.equals("$arg_managedByMe"));
unittest.expect(
- queryMap["categoryId"].first, unittest.equals(arg_categoryId));
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["mine"].first, unittest.equals("$arg_mine"));
unittest.expect(queryMap["mySubscribers"].first,
unittest.equals("$arg_mySubscribers"));
- unittest.expect(core.int.parse(queryMap["maxResults"].first),
- unittest.equals(arg_maxResults));
- unittest.expect(
- queryMap["forUsername"].first, unittest.equals(arg_forUsername));
- unittest.expect(queryMap["mine"].first, unittest.equals("$arg_mine"));
- unittest.expect(queryMap["id"], unittest.equals(arg_id));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -9243,16 +9243,16 @@
}), true);
res
.list(arg_part,
- pageToken: arg_pageToken,
- hl: arg_hl,
- onBehalfOfContentOwner: arg_onBehalfOfContentOwner,
- managedByMe: arg_managedByMe,
- categoryId: arg_categoryId,
- mySubscribers: arg_mySubscribers,
- maxResults: arg_maxResults,
- forUsername: arg_forUsername,
- mine: arg_mine,
id: arg_id,
+ categoryId: arg_categoryId,
+ hl: arg_hl,
+ maxResults: arg_maxResults,
+ onBehalfOfContentOwner: arg_onBehalfOfContentOwner,
+ forUsername: arg_forUsername,
+ managedByMe: arg_managedByMe,
+ pageToken: arg_pageToken,
+ mine: arg_mine,
+ mySubscribers: arg_mySubscribers,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkChannelListResponse(response);
@@ -9263,7 +9263,7 @@
var mock = new HttpServerMock();
api.ChannelsResourceApi res = new api.YoutubeApi(mock).channels;
var arg_request = buildChannel();
- var arg_part = buildUnnamed4713();
+ var arg_part = buildUnnamed4720();
var arg_onBehalfOfContentOwner = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -9326,7 +9326,7 @@
api.CommentThreadsResourceApi res =
new api.YoutubeApi(mock).commentThreads;
var arg_request = buildCommentThread();
- var arg_part = buildUnnamed4714();
+ var arg_part = buildUnnamed4721();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.CommentThread.fromJson(json);
@@ -9381,17 +9381,17 @@
var mock = new HttpServerMock();
api.CommentThreadsResourceApi res =
new api.YoutubeApi(mock).commentThreads;
- var arg_part = buildUnnamed4715();
- var arg_pageToken = "foo";
- var arg_textFormat = "foo";
- var arg_searchTerms = "foo";
- var arg_moderationStatus = "foo";
- var arg_channelId = "foo";
- var arg_allThreadsRelatedToChannelId = "foo";
- var arg_id = buildUnnamed4716();
+ var arg_part = buildUnnamed4722();
+ var arg_order = "foo";
var arg_videoId = "foo";
var arg_maxResults = 42;
- var arg_order = "foo";
+ var arg_id = buildUnnamed4723();
+ var arg_moderationStatus = "foo";
+ var arg_channelId = "foo";
+ var arg_pageToken = "foo";
+ var arg_searchTerms = "foo";
+ var arg_allThreadsRelatedToChannelId = "foo";
+ var arg_textFormat = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -9424,24 +9424,24 @@
}
}
unittest.expect(queryMap["part"], unittest.equals(arg_part));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(
- queryMap["textFormat"].first, unittest.equals(arg_textFormat));
- unittest.expect(
- queryMap["searchTerms"].first, unittest.equals(arg_searchTerms));
- unittest.expect(queryMap["moderationStatus"].first,
- unittest.equals(arg_moderationStatus));
- unittest.expect(
- queryMap["channelId"].first, unittest.equals(arg_channelId));
- unittest.expect(queryMap["allThreadsRelatedToChannelId"].first,
- unittest.equals(arg_allThreadsRelatedToChannelId));
- unittest.expect(queryMap["id"], unittest.equals(arg_id));
+ 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["order"].first, unittest.equals(arg_order));
+ unittest.expect(queryMap["id"], unittest.equals(arg_id));
+ unittest.expect(queryMap["moderationStatus"].first,
+ unittest.equals(arg_moderationStatus));
+ unittest.expect(
+ queryMap["channelId"].first, unittest.equals(arg_channelId));
+ 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["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -9452,16 +9452,16 @@
}), true);
res
.list(arg_part,
- pageToken: arg_pageToken,
- textFormat: arg_textFormat,
- searchTerms: arg_searchTerms,
- moderationStatus: arg_moderationStatus,
- channelId: arg_channelId,
- allThreadsRelatedToChannelId: arg_allThreadsRelatedToChannelId,
- id: arg_id,
+ order: arg_order,
videoId: arg_videoId,
maxResults: arg_maxResults,
- order: arg_order,
+ id: arg_id,
+ moderationStatus: arg_moderationStatus,
+ channelId: arg_channelId,
+ pageToken: arg_pageToken,
+ searchTerms: arg_searchTerms,
+ allThreadsRelatedToChannelId: arg_allThreadsRelatedToChannelId,
+ textFormat: arg_textFormat,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkCommentThreadListResponse(response);
@@ -9473,7 +9473,7 @@
api.CommentThreadsResourceApi res =
new api.YoutubeApi(mock).commentThreads;
var arg_request = buildCommentThread();
- var arg_part = buildUnnamed4717();
+ var arg_part = buildUnnamed4724();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.CommentThread.fromJson(json);
@@ -9579,7 +9579,7 @@
var mock = new HttpServerMock();
api.CommentsResourceApi res = new api.YoutubeApi(mock).comments;
var arg_request = buildComment();
- var arg_part = buildUnnamed4718();
+ var arg_part = buildUnnamed4725();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.Comment.fromJson(json);
@@ -9633,12 +9633,12 @@
unittest.test("method--list", () {
var mock = new HttpServerMock();
api.CommentsResourceApi res = new api.YoutubeApi(mock).comments;
- var arg_part = buildUnnamed4719();
- var arg_maxResults = 42;
- var arg_parentId = "foo";
+ var arg_part = buildUnnamed4726();
+ var arg_id = buildUnnamed4727();
var arg_pageToken = "foo";
+ var arg_maxResults = 42;
var arg_textFormat = "foo";
- var arg_id = buildUnnamed4720();
+ var arg_parentId = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -9671,15 +9671,15 @@
}
}
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["parentId"].first, unittest.equals(arg_parentId));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(
queryMap["textFormat"].first, unittest.equals(arg_textFormat));
- unittest.expect(queryMap["id"], unittest.equals(arg_id));
+ unittest.expect(
+ queryMap["parentId"].first, unittest.equals(arg_parentId));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -9690,11 +9690,11 @@
}), true);
res
.list(arg_part,
- maxResults: arg_maxResults,
- parentId: arg_parentId,
- pageToken: arg_pageToken,
- textFormat: arg_textFormat,
id: arg_id,
+ pageToken: arg_pageToken,
+ maxResults: arg_maxResults,
+ textFormat: arg_textFormat,
+ parentId: arg_parentId,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkCommentListResponse(response);
@@ -9704,7 +9704,7 @@
unittest.test("method--markAsSpam", () {
var mock = new HttpServerMock();
api.CommentsResourceApi res = new api.YoutubeApi(mock).comments;
- var arg_id = buildUnnamed4721();
+ var arg_id = buildUnnamed4728();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -9753,7 +9753,7 @@
unittest.test("method--setModerationStatus", () {
var mock = new HttpServerMock();
api.CommentsResourceApi res = new api.YoutubeApi(mock).comments;
- var arg_id = buildUnnamed4722();
+ var arg_id = buildUnnamed4729();
var arg_moderationStatus = "foo";
var arg_banAuthor = true;
var arg_$fields = "foo";
@@ -9810,7 +9810,7 @@
var mock = new HttpServerMock();
api.CommentsResourceApi res = new api.YoutubeApi(mock).comments;
var arg_request = buildComment();
- var arg_part = buildUnnamed4723();
+ var arg_part = buildUnnamed4730();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.Comment.fromJson(json);
@@ -9866,7 +9866,7 @@
unittest.test("method--list", () {
var mock = new HttpServerMock();
api.I18nLanguagesResourceApi res = new api.YoutubeApi(mock).i18nLanguages;
- var arg_part = buildUnnamed4724();
+ var arg_part = buildUnnamed4731();
var arg_hl = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -9921,7 +9921,7 @@
unittest.test("method--list", () {
var mock = new HttpServerMock();
api.I18nRegionsResourceApi res = new api.YoutubeApi(mock).i18nRegions;
- var arg_part = buildUnnamed4725();
+ var arg_part = buildUnnamed4732();
var arg_hl = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -9978,10 +9978,10 @@
api.LiveBroadcastsResourceApi res =
new api.YoutubeApi(mock).liveBroadcasts;
var arg_id = "foo";
- var arg_part = buildUnnamed4726();
- var arg_onBehalfOfContentOwnerChannel = "foo";
- var arg_streamId = "foo";
+ var arg_part = buildUnnamed4733();
var arg_onBehalfOfContentOwner = "foo";
+ var arg_streamId = "foo";
+ var arg_onBehalfOfContentOwnerChannel = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -10015,12 +10015,12 @@
}
unittest.expect(queryMap["id"].first, unittest.equals(arg_id));
unittest.expect(queryMap["part"], unittest.equals(arg_part));
- unittest.expect(queryMap["onBehalfOfContentOwnerChannel"].first,
- unittest.equals(arg_onBehalfOfContentOwnerChannel));
- unittest.expect(
- queryMap["streamId"].first, unittest.equals(arg_streamId));
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["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -10031,9 +10031,9 @@
}), true);
res
.bind(arg_id, arg_part,
- onBehalfOfContentOwnerChannel: arg_onBehalfOfContentOwnerChannel,
- streamId: arg_streamId,
onBehalfOfContentOwner: arg_onBehalfOfContentOwner,
+ streamId: arg_streamId,
+ onBehalfOfContentOwnerChannel: arg_onBehalfOfContentOwnerChannel,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkLiveBroadcast(response);
@@ -10045,12 +10045,12 @@
api.LiveBroadcastsResourceApi res =
new api.YoutubeApi(mock).liveBroadcasts;
var arg_id = "foo";
- var arg_part = buildUnnamed4727();
- var arg_offsetTimeMs = "foo";
+ var arg_part = buildUnnamed4734();
var arg_displaySlate = true;
- var arg_walltime = "foo";
- var arg_onBehalfOfContentOwner = "foo";
var arg_onBehalfOfContentOwnerChannel = "foo";
+ var arg_walltime = "foo";
+ var arg_offsetTimeMs = "foo";
+ var arg_onBehalfOfContentOwner = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -10084,16 +10084,16 @@
}
unittest.expect(queryMap["id"].first, unittest.equals(arg_id));
unittest.expect(queryMap["part"], unittest.equals(arg_part));
- unittest.expect(
- queryMap["offsetTimeMs"].first, unittest.equals(arg_offsetTimeMs));
unittest.expect(queryMap["displaySlate"].first,
unittest.equals("$arg_displaySlate"));
- unittest.expect(
- queryMap["walltime"].first, unittest.equals(arg_walltime));
- 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["offsetTimeMs"].first, unittest.equals(arg_offsetTimeMs));
+ unittest.expect(queryMap["onBehalfOfContentOwner"].first,
+ unittest.equals(arg_onBehalfOfContentOwner));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -10104,11 +10104,11 @@
}), true);
res
.control(arg_id, arg_part,
- offsetTimeMs: arg_offsetTimeMs,
displaySlate: arg_displaySlate,
- walltime: arg_walltime,
- onBehalfOfContentOwner: arg_onBehalfOfContentOwner,
onBehalfOfContentOwnerChannel: arg_onBehalfOfContentOwnerChannel,
+ walltime: arg_walltime,
+ offsetTimeMs: arg_offsetTimeMs,
+ onBehalfOfContentOwner: arg_onBehalfOfContentOwner,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkLiveBroadcast(response);
@@ -10120,8 +10120,8 @@
api.LiveBroadcastsResourceApi res =
new api.YoutubeApi(mock).liveBroadcasts;
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;
@@ -10154,10 +10154,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 = {
@@ -10168,8 +10168,8 @@
}), true);
res
.delete(arg_id,
- onBehalfOfContentOwnerChannel: arg_onBehalfOfContentOwnerChannel,
onBehalfOfContentOwner: arg_onBehalfOfContentOwner,
+ onBehalfOfContentOwnerChannel: arg_onBehalfOfContentOwnerChannel,
$fields: arg_$fields)
.then(unittest.expectAsync1((_) {}));
});
@@ -10179,7 +10179,7 @@
api.LiveBroadcastsResourceApi res =
new api.YoutubeApi(mock).liveBroadcasts;
var arg_request = buildLiveBroadcast();
- var arg_part = buildUnnamed4728();
+ var arg_part = buildUnnamed4735();
var arg_onBehalfOfContentOwnerChannel = "foo";
var arg_onBehalfOfContentOwner = "foo";
var arg_$fields = "foo";
@@ -10243,15 +10243,15 @@
var mock = new HttpServerMock();
api.LiveBroadcastsResourceApi res =
new api.YoutubeApi(mock).liveBroadcasts;
- var arg_part = buildUnnamed4729();
+ var arg_part = buildUnnamed4736();
+ var arg_maxResults = 42;
var arg_onBehalfOfContentOwnerChannel = "foo";
var arg_broadcastType = "foo";
- var arg_maxResults = 42;
- var arg_mine = true;
- var arg_onBehalfOfContentOwner = "foo";
- var arg_id = buildUnnamed4730();
var arg_broadcastStatus = "foo";
var arg_pageToken = "foo";
+ var arg_mine = true;
+ var arg_id = buildUnnamed4737();
+ var arg_onBehalfOfContentOwner = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -10284,20 +10284,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(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["id"], unittest.equals(arg_id));
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["id"], unittest.equals(arg_id));
+ unittest.expect(queryMap["onBehalfOfContentOwner"].first,
+ unittest.equals(arg_onBehalfOfContentOwner));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -10308,14 +10308,14 @@
}), true);
res
.list(arg_part,
+ maxResults: arg_maxResults,
onBehalfOfContentOwnerChannel: arg_onBehalfOfContentOwnerChannel,
broadcastType: arg_broadcastType,
- maxResults: arg_maxResults,
- mine: arg_mine,
- onBehalfOfContentOwner: arg_onBehalfOfContentOwner,
- id: arg_id,
broadcastStatus: arg_broadcastStatus,
pageToken: arg_pageToken,
+ mine: arg_mine,
+ id: arg_id,
+ onBehalfOfContentOwner: arg_onBehalfOfContentOwner,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkLiveBroadcastListResponse(response);
@@ -10328,9 +10328,9 @@
new api.YoutubeApi(mock).liveBroadcasts;
var arg_id = "foo";
var arg_broadcastStatus = "foo";
- var arg_part = buildUnnamed4731();
- var arg_onBehalfOfContentOwner = "foo";
+ var arg_part = buildUnnamed4738();
var arg_onBehalfOfContentOwnerChannel = "foo";
+ var arg_onBehalfOfContentOwner = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -10366,10 +10366,10 @@
unittest.expect(queryMap["broadcastStatus"].first,
unittest.equals(arg_broadcastStatus));
unittest.expect(queryMap["part"], unittest.equals(arg_part));
- unittest.expect(queryMap["onBehalfOfContentOwner"].first,
- unittest.equals(arg_onBehalfOfContentOwner));
unittest.expect(queryMap["onBehalfOfContentOwnerChannel"].first,
unittest.equals(arg_onBehalfOfContentOwnerChannel));
+ unittest.expect(queryMap["onBehalfOfContentOwner"].first,
+ unittest.equals(arg_onBehalfOfContentOwner));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -10380,8 +10380,8 @@
}), true);
res
.transition(arg_id, arg_broadcastStatus, arg_part,
- onBehalfOfContentOwner: arg_onBehalfOfContentOwner,
onBehalfOfContentOwnerChannel: arg_onBehalfOfContentOwnerChannel,
+ onBehalfOfContentOwner: arg_onBehalfOfContentOwner,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkLiveBroadcast(response);
@@ -10393,9 +10393,9 @@
api.LiveBroadcastsResourceApi res =
new api.YoutubeApi(mock).liveBroadcasts;
var arg_request = buildLiveBroadcast();
- var arg_part = buildUnnamed4732();
- var arg_onBehalfOfContentOwnerChannel = "foo";
+ var arg_part = buildUnnamed4739();
var arg_onBehalfOfContentOwner = "foo";
+ var arg_onBehalfOfContentOwnerChannel = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.LiveBroadcast.fromJson(json);
@@ -10431,10 +10431,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 = {
@@ -10445,8 +10445,8 @@
}), true);
res
.update(arg_request, arg_part,
- onBehalfOfContentOwnerChannel: arg_onBehalfOfContentOwnerChannel,
onBehalfOfContentOwner: arg_onBehalfOfContentOwner,
+ onBehalfOfContentOwnerChannel: arg_onBehalfOfContentOwnerChannel,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkLiveBroadcast(response);
@@ -10508,7 +10508,7 @@
var mock = new HttpServerMock();
api.LiveChatBansResourceApi res = new api.YoutubeApi(mock).liveChatBans;
var arg_request = buildLiveChatBan();
- var arg_part = buildUnnamed4733();
+ var arg_part = buildUnnamed4740();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.LiveChatBan.fromJson(json);
@@ -10616,7 +10616,7 @@
api.LiveChatMessagesResourceApi res =
new api.YoutubeApi(mock).liveChatMessages;
var arg_request = buildLiveChatMessage();
- var arg_part = buildUnnamed4734();
+ var arg_part = buildUnnamed4741();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.LiveChatMessage.fromJson(json);
@@ -10672,11 +10672,11 @@
api.LiveChatMessagesResourceApi res =
new api.YoutubeApi(mock).liveChatMessages;
var arg_liveChatId = "foo";
- var arg_part = buildUnnamed4735();
- var arg_hl = "foo";
- var arg_profileImageSize = 42;
+ var arg_part = buildUnnamed4742();
var arg_pageToken = "foo";
var arg_maxResults = 42;
+ var arg_profileImageSize = 42;
+ var arg_hl = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -10711,13 +10711,13 @@
unittest.expect(
queryMap["liveChatId"].first, unittest.equals(arg_liveChatId));
unittest.expect(queryMap["part"], unittest.equals(arg_part));
- unittest.expect(queryMap["hl"].first, unittest.equals(arg_hl));
- unittest.expect(core.int.parse(queryMap["profileImageSize"].first),
- unittest.equals(arg_profileImageSize));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
+ 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 = {
@@ -10728,10 +10728,10 @@
}), true);
res
.list(arg_liveChatId, arg_part,
- hl: arg_hl,
- profileImageSize: arg_profileImageSize,
pageToken: arg_pageToken,
maxResults: arg_maxResults,
+ profileImageSize: arg_profileImageSize,
+ hl: arg_hl,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkLiveChatMessageListResponse(response);
@@ -10795,7 +10795,7 @@
api.LiveChatModeratorsResourceApi res =
new api.YoutubeApi(mock).liveChatModerators;
var arg_request = buildLiveChatModerator();
- var arg_part = buildUnnamed4736();
+ var arg_part = buildUnnamed4743();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.LiveChatModerator.fromJson(json);
@@ -10851,9 +10851,9 @@
api.LiveChatModeratorsResourceApi res =
new api.YoutubeApi(mock).liveChatModerators;
var arg_liveChatId = "foo";
- var arg_part = buildUnnamed4737();
- var arg_pageToken = "foo";
+ var arg_part = buildUnnamed4744();
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;
@@ -10888,10 +10888,10 @@
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(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 = {
@@ -10902,8 +10902,8 @@
}), true);
res
.list(arg_liveChatId, arg_part,
- pageToken: arg_pageToken,
maxResults: arg_maxResults,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkLiveChatModeratorListResponse(response);
@@ -10974,7 +10974,7 @@
var mock = new HttpServerMock();
api.LiveStreamsResourceApi res = new api.YoutubeApi(mock).liveStreams;
var arg_request = buildLiveStream();
- var arg_part = buildUnnamed4738();
+ var arg_part = buildUnnamed4745();
var arg_onBehalfOfContentOwner = "foo";
var arg_onBehalfOfContentOwnerChannel = "foo";
var arg_$fields = "foo";
@@ -11037,13 +11037,13 @@
unittest.test("method--list", () {
var mock = new HttpServerMock();
api.LiveStreamsResourceApi res = new api.YoutubeApi(mock).liveStreams;
- var arg_part = buildUnnamed4739();
+ var arg_part = buildUnnamed4746();
+ var arg_id = buildUnnamed4747();
+ var arg_onBehalfOfContentOwnerChannel = "foo";
var arg_mine = true;
+ var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_onBehalfOfContentOwner = "foo";
- var arg_maxResults = 42;
- var arg_onBehalfOfContentOwnerChannel = "foo";
- var arg_id = buildUnnamed4740();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -11076,16 +11076,16 @@
}
}
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["onBehalfOfContentOwner"].first,
unittest.equals(arg_onBehalfOfContentOwner));
- unittest.expect(core.int.parse(queryMap["maxResults"].first),
- unittest.equals(arg_maxResults));
- unittest.expect(queryMap["onBehalfOfContentOwnerChannel"].first,
- unittest.equals(arg_onBehalfOfContentOwnerChannel));
- unittest.expect(queryMap["id"], unittest.equals(arg_id));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -11096,12 +11096,12 @@
}), true);
res
.list(arg_part,
+ id: arg_id,
+ onBehalfOfContentOwnerChannel: arg_onBehalfOfContentOwnerChannel,
mine: arg_mine,
+ maxResults: arg_maxResults,
pageToken: arg_pageToken,
onBehalfOfContentOwner: arg_onBehalfOfContentOwner,
- maxResults: arg_maxResults,
- onBehalfOfContentOwnerChannel: arg_onBehalfOfContentOwnerChannel,
- id: arg_id,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkLiveStreamListResponse(response);
@@ -11112,9 +11112,9 @@
var mock = new HttpServerMock();
api.LiveStreamsResourceApi res = new api.YoutubeApi(mock).liveStreams;
var arg_request = buildLiveStream();
- var arg_part = buildUnnamed4741();
- var arg_onBehalfOfContentOwner = "foo";
+ var arg_part = buildUnnamed4748();
var arg_onBehalfOfContentOwnerChannel = "foo";
+ var arg_onBehalfOfContentOwner = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.LiveStream.fromJson(json);
@@ -11150,10 +11150,10 @@
}
}
unittest.expect(queryMap["part"], unittest.equals(arg_part));
- unittest.expect(queryMap["onBehalfOfContentOwner"].first,
- unittest.equals(arg_onBehalfOfContentOwner));
unittest.expect(queryMap["onBehalfOfContentOwnerChannel"].first,
unittest.equals(arg_onBehalfOfContentOwnerChannel));
+ unittest.expect(queryMap["onBehalfOfContentOwner"].first,
+ unittest.equals(arg_onBehalfOfContentOwner));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -11164,8 +11164,8 @@
}), true);
res
.update(arg_request, arg_part,
- onBehalfOfContentOwner: arg_onBehalfOfContentOwner,
onBehalfOfContentOwnerChannel: arg_onBehalfOfContentOwnerChannel,
+ onBehalfOfContentOwner: arg_onBehalfOfContentOwner,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkLiveStream(response);
@@ -11177,12 +11177,12 @@
unittest.test("method--list", () {
var mock = new HttpServerMock();
api.MembersResourceApi res = new api.YoutubeApi(mock).members;
- var arg_part = buildUnnamed4742();
- var arg_hasAccessToLevel = "foo";
- var arg_pageToken = "foo";
- var arg_maxResults = 42;
+ var arg_part = buildUnnamed4749();
var arg_filterByMemberChannelId = "foo";
+ var arg_pageToken = "foo";
var arg_mode = "foo";
+ var arg_maxResults = 42;
+ var arg_hasAccessToLevel = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -11215,15 +11215,15 @@
}
}
unittest.expect(queryMap["part"], unittest.equals(arg_part));
- unittest.expect(queryMap["hasAccessToLevel"].first,
- unittest.equals(arg_hasAccessToLevel));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(core.int.parse(queryMap["maxResults"].first),
- unittest.equals(arg_maxResults));
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(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -11234,11 +11234,11 @@
}), true);
res
.list(arg_part,
- hasAccessToLevel: arg_hasAccessToLevel,
- pageToken: arg_pageToken,
- maxResults: arg_maxResults,
filterByMemberChannelId: arg_filterByMemberChannelId,
+ pageToken: arg_pageToken,
mode: arg_mode,
+ maxResults: arg_maxResults,
+ hasAccessToLevel: arg_hasAccessToLevel,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkMemberListResponse(response);
@@ -11251,7 +11251,7 @@
var mock = new HttpServerMock();
api.MembershipsLevelsResourceApi res =
new api.YoutubeApi(mock).membershipsLevels;
- var arg_part = buildUnnamed4743();
+ var arg_part = buildUnnamed4750();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -11359,7 +11359,7 @@
var mock = new HttpServerMock();
api.PlaylistItemsResourceApi res = new api.YoutubeApi(mock).playlistItems;
var arg_request = buildPlaylistItem();
- var arg_part = buildUnnamed4744();
+ var arg_part = buildUnnamed4751();
var arg_onBehalfOfContentOwner = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -11418,13 +11418,13 @@
unittest.test("method--list", () {
var mock = new HttpServerMock();
api.PlaylistItemsResourceApi res = new api.YoutubeApi(mock).playlistItems;
- var arg_part = buildUnnamed4745();
+ var arg_part = buildUnnamed4752();
var arg_maxResults = 42;
- var arg_id = buildUnnamed4746();
var arg_onBehalfOfContentOwner = "foo";
+ var arg_playlistId = "foo";
var arg_pageToken = "foo";
var arg_videoId = "foo";
- var arg_playlistId = "foo";
+ var arg_id = buildUnnamed4753();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -11459,15 +11459,15 @@
unittest.expect(queryMap["part"], unittest.equals(arg_part));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
- unittest.expect(queryMap["id"], unittest.equals(arg_id));
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["videoId"].first, unittest.equals(arg_videoId));
- unittest.expect(
- queryMap["playlistId"].first, unittest.equals(arg_playlistId));
+ unittest.expect(queryMap["id"], unittest.equals(arg_id));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -11479,11 +11479,11 @@
res
.list(arg_part,
maxResults: arg_maxResults,
- id: arg_id,
onBehalfOfContentOwner: arg_onBehalfOfContentOwner,
+ playlistId: arg_playlistId,
pageToken: arg_pageToken,
videoId: arg_videoId,
- playlistId: arg_playlistId,
+ id: arg_id,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkPlaylistItemListResponse(response);
@@ -11494,7 +11494,7 @@
var mock = new HttpServerMock();
api.PlaylistItemsResourceApi res = new api.YoutubeApi(mock).playlistItems;
var arg_request = buildPlaylistItem();
- var arg_part = buildUnnamed4747();
+ var arg_part = buildUnnamed4754();
var arg_onBehalfOfContentOwner = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -11610,7 +11610,7 @@
var mock = new HttpServerMock();
api.PlaylistsResourceApi res = new api.YoutubeApi(mock).playlists;
var arg_request = buildPlaylist();
- var arg_part = buildUnnamed4748();
+ var arg_part = buildUnnamed4755();
var arg_onBehalfOfContentOwnerChannel = "foo";
var arg_onBehalfOfContentOwner = "foo";
var arg_$fields = "foo";
@@ -11673,15 +11673,15 @@
unittest.test("method--list", () {
var mock = new HttpServerMock();
api.PlaylistsResourceApi res = new api.YoutubeApi(mock).playlists;
- var arg_part = buildUnnamed4749();
- var arg_onBehalfOfContentOwnerChannel = "foo";
+ var arg_part = buildUnnamed4756();
var arg_onBehalfOfContentOwner = "foo";
+ var arg_onBehalfOfContentOwnerChannel = "foo";
var arg_maxResults = 42;
- var arg_id = buildUnnamed4750();
+ var arg_hl = "foo";
+ var arg_id = buildUnnamed4757();
+ var arg_mine = true;
var arg_channelId = "foo";
var arg_pageToken = "foo";
- var arg_hl = "foo";
- var arg_mine = true;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -11714,19 +11714,19 @@
}
}
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(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["hl"].first, unittest.equals(arg_hl));
- unittest.expect(queryMap["mine"].first, unittest.equals("$arg_mine"));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -11737,14 +11737,14 @@
}), true);
res
.list(arg_part,
- onBehalfOfContentOwnerChannel: arg_onBehalfOfContentOwnerChannel,
onBehalfOfContentOwner: arg_onBehalfOfContentOwner,
+ onBehalfOfContentOwnerChannel: arg_onBehalfOfContentOwnerChannel,
maxResults: arg_maxResults,
+ hl: arg_hl,
id: arg_id,
+ mine: arg_mine,
channelId: arg_channelId,
pageToken: arg_pageToken,
- hl: arg_hl,
- mine: arg_mine,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkPlaylistListResponse(response);
@@ -11755,7 +11755,7 @@
var mock = new HttpServerMock();
api.PlaylistsResourceApi res = new api.YoutubeApi(mock).playlists;
var arg_request = buildPlaylist();
- var arg_part = buildUnnamed4751();
+ var arg_part = buildUnnamed4758();
var arg_onBehalfOfContentOwner = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -11816,37 +11816,37 @@
unittest.test("method--list", () {
var mock = new HttpServerMock();
api.SearchResourceApi res = new api.YoutubeApi(mock).search;
- var arg_part = buildUnnamed4752();
- var arg_videoCaption = "foo";
- var arg_locationRadius = "foo";
- var arg_relevanceLanguage = "foo";
- var arg_forMine = true;
- var arg_channelType = "foo";
- var arg_videoDefinition = "foo";
- var arg_eventType = "foo";
- var arg_topicId = "foo";
- var arg_forDeveloper = true;
+ var arg_part = buildUnnamed4759();
var arg_videoType = "foo";
- var arg_relatedToVideoId = "foo";
- var arg_q = "foo";
- var arg_safeSearch = "foo";
- var arg_videoEmbeddable = "foo";
- var arg_pageToken = "foo";
- var arg_videoLicense = "foo";
- var arg_publishedBefore = "foo";
- var arg_videoSyndicated = "foo";
- var arg_videoCategoryId = "foo";
- var arg_maxResults = 42;
- var arg_channelId = "foo";
var arg_videoDimension = "foo";
- var arg_onBehalfOfContentOwner = "foo";
- var arg_location = "foo";
- var arg_regionCode = "foo";
- var arg_order = "foo";
- var arg_type = buildUnnamed4753();
- var arg_videoDuration = "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_publishedAfter = "foo";
+ var arg_type = buildUnnamed4760();
+ var arg_videoCaption = "foo";
+ var arg_pageToken = "foo";
+ var arg_topicId = "foo";
+ var arg_maxResults = 42;
+ var arg_videoEmbeddable = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -11880,62 +11880,62 @@
}
unittest.expect(queryMap["part"], unittest.equals(arg_part));
unittest.expect(
- queryMap["videoCaption"].first, unittest.equals(arg_videoCaption));
- unittest.expect(queryMap["locationRadius"].first,
- unittest.equals(arg_locationRadius));
- unittest.expect(queryMap["relevanceLanguage"].first,
- unittest.equals(arg_relevanceLanguage));
+ 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["forMine"].first, unittest.equals("$arg_forMine"));
+ queryMap["videoLicense"].first, unittest.equals(arg_videoLicense));
unittest.expect(
- queryMap["channelType"].first, unittest.equals(arg_channelType));
- unittest.expect(queryMap["videoDefinition"].first,
- unittest.equals(arg_videoDefinition));
+ 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["topicId"].first, unittest.equals(arg_topicId));
- unittest.expect(queryMap["forDeveloper"].first,
- unittest.equals("$arg_forDeveloper"));
- unittest.expect(
- queryMap["videoType"].first, unittest.equals(arg_videoType));
- unittest.expect(queryMap["relatedToVideoId"].first,
- unittest.equals(arg_relatedToVideoId));
- unittest.expect(queryMap["q"].first, unittest.equals(arg_q));
- unittest.expect(
- queryMap["safeSearch"].first, unittest.equals(arg_safeSearch));
- unittest.expect(queryMap["videoEmbeddable"].first,
- unittest.equals(arg_videoEmbeddable));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(
- queryMap["videoLicense"].first, unittest.equals(arg_videoLicense));
+ queryMap["forMine"].first, unittest.equals("$arg_forMine"));
unittest.expect(queryMap["publishedBefore"].first,
unittest.equals(arg_publishedBefore));
- unittest.expect(queryMap["videoSyndicated"].first,
- unittest.equals(arg_videoSyndicated));
- unittest.expect(queryMap["videoCategoryId"].first,
- unittest.equals(arg_videoCategoryId));
- unittest.expect(core.int.parse(queryMap["maxResults"].first),
- unittest.equals(arg_maxResults));
unittest.expect(
- queryMap["channelId"].first, unittest.equals(arg_channelId));
- unittest.expect(queryMap["videoDimension"].first,
- unittest.equals(arg_videoDimension));
+ 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));
+ unittest.expect(
+ queryMap["channelType"].first, unittest.equals(arg_channelType));
unittest.expect(queryMap["onBehalfOfContentOwner"].first,
unittest.equals(arg_onBehalfOfContentOwner));
unittest.expect(
- queryMap["location"].first, unittest.equals(arg_location));
- unittest.expect(
- queryMap["regionCode"].first, unittest.equals(arg_regionCode));
- unittest.expect(queryMap["order"].first, unittest.equals(arg_order));
- unittest.expect(queryMap["type"], unittest.equals(arg_type));
- unittest.expect(queryMap["videoDuration"].first,
- unittest.equals(arg_videoDuration));
- unittest.expect(queryMap["forContentOwner"].first,
- unittest.equals("$arg_forContentOwner"));
+ queryMap["channelId"].first, unittest.equals(arg_channelId));
+ unittest.expect(queryMap["relevanceLanguage"].first,
+ unittest.equals(arg_relevanceLanguage));
unittest.expect(queryMap["publishedAfter"].first,
unittest.equals(arg_publishedAfter));
+ 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["videoEmbeddable"].first,
+ unittest.equals(arg_videoEmbeddable));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -11946,36 +11946,36 @@
}), true);
res
.list(arg_part,
- videoCaption: arg_videoCaption,
- locationRadius: arg_locationRadius,
- relevanceLanguage: arg_relevanceLanguage,
- forMine: arg_forMine,
- channelType: arg_channelType,
- videoDefinition: arg_videoDefinition,
- eventType: arg_eventType,
- topicId: arg_topicId,
- forDeveloper: arg_forDeveloper,
videoType: arg_videoType,
- relatedToVideoId: arg_relatedToVideoId,
- q: arg_q,
- safeSearch: arg_safeSearch,
- videoEmbeddable: arg_videoEmbeddable,
- pageToken: arg_pageToken,
- videoLicense: arg_videoLicense,
- publishedBefore: arg_publishedBefore,
- videoSyndicated: arg_videoSyndicated,
- videoCategoryId: arg_videoCategoryId,
- maxResults: arg_maxResults,
- channelId: arg_channelId,
videoDimension: arg_videoDimension,
- onBehalfOfContentOwner: arg_onBehalfOfContentOwner,
- location: arg_location,
- regionCode: arg_regionCode,
- order: arg_order,
- type: arg_type,
- videoDuration: arg_videoDuration,
+ 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,
publishedAfter: arg_publishedAfter,
+ type: arg_type,
+ videoCaption: arg_videoCaption,
+ pageToken: arg_pageToken,
+ topicId: arg_topicId,
+ maxResults: arg_maxResults,
+ videoEmbeddable: arg_videoEmbeddable,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkSearchListResponse(response);
@@ -11987,7 +11987,7 @@
unittest.test("method--list", () {
var mock = new HttpServerMock();
api.SponsorsResourceApi res = new api.YoutubeApi(mock).sponsors;
- var arg_part = buildUnnamed4754();
+ var arg_part = buildUnnamed4761();
var arg_pageToken = "foo";
var arg_maxResults = 42;
var arg_filter = "foo";
@@ -12102,7 +12102,7 @@
var mock = new HttpServerMock();
api.SubscriptionsResourceApi res = new api.YoutubeApi(mock).subscriptions;
var arg_request = buildSubscription();
- var arg_part = buildUnnamed4755();
+ var arg_part = buildUnnamed4762();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.Subscription.fromJson(json);
@@ -12156,18 +12156,18 @@
unittest.test("method--list", () {
var mock = new HttpServerMock();
api.SubscriptionsResourceApi res = new api.YoutubeApi(mock).subscriptions;
- var arg_part = buildUnnamed4756();
- var arg_order = "foo";
- var arg_mySubscribers = true;
+ var arg_part = buildUnnamed4763();
var arg_onBehalfOfContentOwner = "foo";
- var arg_onBehalfOfContentOwnerChannel = "foo";
- var arg_forChannelId = "foo";
- var arg_pageToken = "foo";
var arg_mine = true;
- var arg_myRecentSubscribers = true;
var arg_channelId = "foo";
- var arg_id = buildUnnamed4757();
+ var arg_forChannelId = "foo";
var arg_maxResults = 42;
+ var arg_onBehalfOfContentOwnerChannel = "foo";
+ var arg_order = "foo";
+ var arg_id = buildUnnamed4764();
+ var arg_myRecentSubscribers = true;
+ var arg_mySubscribers = true;
+ var arg_pageToken = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -12200,25 +12200,25 @@
}
}
unittest.expect(queryMap["part"], unittest.equals(arg_part));
- unittest.expect(queryMap["order"].first, unittest.equals(arg_order));
- 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["forChannelId"].first, unittest.equals(arg_forChannelId));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["mine"].first, unittest.equals("$arg_mine"));
- unittest.expect(queryMap["myRecentSubscribers"].first,
- unittest.equals("$arg_myRecentSubscribers"));
unittest.expect(
queryMap["channelId"].first, unittest.equals(arg_channelId));
- unittest.expect(queryMap["id"], unittest.equals(arg_id));
+ unittest.expect(
+ queryMap["forChannelId"].first, unittest.equals(arg_forChannelId));
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["myRecentSubscribers"].first,
+ unittest.equals("$arg_myRecentSubscribers"));
+ unittest.expect(queryMap["mySubscribers"].first,
+ unittest.equals("$arg_mySubscribers"));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -12229,17 +12229,17 @@
}), true);
res
.list(arg_part,
- order: arg_order,
- mySubscribers: arg_mySubscribers,
onBehalfOfContentOwner: arg_onBehalfOfContentOwner,
- onBehalfOfContentOwnerChannel: arg_onBehalfOfContentOwnerChannel,
- forChannelId: arg_forChannelId,
- pageToken: arg_pageToken,
mine: arg_mine,
- myRecentSubscribers: arg_myRecentSubscribers,
channelId: arg_channelId,
- id: arg_id,
+ forChannelId: arg_forChannelId,
maxResults: arg_maxResults,
+ onBehalfOfContentOwnerChannel: arg_onBehalfOfContentOwnerChannel,
+ order: arg_order,
+ id: arg_id,
+ myRecentSubscribers: arg_myRecentSubscribers,
+ mySubscribers: arg_mySubscribers,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkSubscriptionListResponse(response);
@@ -12252,10 +12252,10 @@
var mock = new HttpServerMock();
api.SuperChatEventsResourceApi res =
new api.YoutubeApi(mock).superChatEvents;
- var arg_part = buildUnnamed4758();
- var arg_pageToken = "foo";
- var arg_maxResults = 42;
+ var arg_part = buildUnnamed4765();
var arg_hl = "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;
@@ -12288,11 +12288,11 @@
}
}
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["hl"].first, unittest.equals(arg_hl));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -12303,9 +12303,9 @@
}), true);
res
.list(arg_part,
- pageToken: arg_pageToken,
- maxResults: arg_maxResults,
hl: arg_hl,
+ maxResults: arg_maxResults,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkSuperChatEventListResponse(response);
@@ -12318,7 +12318,7 @@
var mock = new HttpServerMock();
api.TestsResourceApi res = new api.YoutubeApi(mock).tests;
var arg_request = buildTestItem();
- var arg_part = buildUnnamed4759();
+ var arg_part = buildUnnamed4766();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.TestItem.fromJson(json);
@@ -12377,7 +12377,7 @@
new api.YoutubeApi(mock).thirdPartyLinks;
var arg_linkingToken = "foo";
var arg_type = "foo";
- var arg_part = buildUnnamed4760();
+ var arg_part = buildUnnamed4767();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -12432,7 +12432,7 @@
api.ThirdPartyLinksResourceApi res =
new api.YoutubeApi(mock).thirdPartyLinks;
var arg_request = buildThirdPartyLink();
- var arg_part = buildUnnamed4761();
+ var arg_part = buildUnnamed4768();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.ThirdPartyLink.fromJson(json);
@@ -12487,7 +12487,7 @@
var mock = new HttpServerMock();
api.ThirdPartyLinksResourceApi res =
new api.YoutubeApi(mock).thirdPartyLinks;
- var arg_part = buildUnnamed4762();
+ var arg_part = buildUnnamed4769();
var arg_type = "foo";
var arg_linkingToken = "foo";
var arg_$fields = "foo";
@@ -12548,7 +12548,7 @@
api.ThirdPartyLinksResourceApi res =
new api.YoutubeApi(mock).thirdPartyLinks;
var arg_request = buildThirdPartyLink();
- var arg_part = buildUnnamed4763();
+ var arg_part = buildUnnamed4770();
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.ThirdPartyLink.fromJson(json);
@@ -12667,7 +12667,7 @@
var mock = new HttpServerMock();
api.VideoAbuseReportReasonsResourceApi res =
new api.YoutubeApi(mock).videoAbuseReportReasons;
- var arg_part = buildUnnamed4764();
+ var arg_part = buildUnnamed4771();
var arg_hl = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -12724,9 +12724,9 @@
var mock = new HttpServerMock();
api.VideoCategoriesResourceApi res =
new api.YoutubeApi(mock).videoCategories;
- var arg_part = buildUnnamed4765();
+ var arg_part = buildUnnamed4772();
var arg_regionCode = "foo";
- var arg_id = buildUnnamed4766();
+ var arg_id = buildUnnamed4773();
var arg_hl = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -12842,7 +12842,7 @@
unittest.test("method--getRating", () {
var mock = new HttpServerMock();
api.VideosResourceApi res = new api.YoutubeApi(mock).videos;
- var arg_id = buildUnnamed4767();
+ var arg_id = buildUnnamed4774();
var arg_onBehalfOfContentOwner = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -12902,12 +12902,12 @@
var mock = new HttpServerMock();
api.VideosResourceApi res = new api.YoutubeApi(mock).videos;
var arg_request = buildVideo();
- var arg_part = buildUnnamed4768();
- var arg_stabilize = true;
+ var arg_part = buildUnnamed4775();
var arg_autoLevels = true;
- var arg_onBehalfOfContentOwner = "foo";
- var arg_notifySubscribers = true;
var arg_onBehalfOfContentOwnerChannel = "foo";
+ var arg_stabilize = true;
+ var arg_notifySubscribers = true;
+ var arg_onBehalfOfContentOwner = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.Video.fromJson(json);
@@ -12944,15 +12944,15 @@
}
unittest.expect(queryMap["part"], unittest.equals(arg_part));
unittest.expect(
- queryMap["stabilize"].first, unittest.equals("$arg_stabilize"));
- unittest.expect(
queryMap["autoLevels"].first, unittest.equals("$arg_autoLevels"));
- unittest.expect(queryMap["onBehalfOfContentOwner"].first,
- unittest.equals(arg_onBehalfOfContentOwner));
- unittest.expect(queryMap["notifySubscribers"].first,
- unittest.equals("$arg_notifySubscribers"));
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["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -12963,11 +12963,11 @@
}), true);
res
.insert(arg_request, arg_part,
- stabilize: arg_stabilize,
autoLevels: arg_autoLevels,
- onBehalfOfContentOwner: arg_onBehalfOfContentOwner,
- notifySubscribers: arg_notifySubscribers,
onBehalfOfContentOwnerChannel: arg_onBehalfOfContentOwnerChannel,
+ stabilize: arg_stabilize,
+ notifySubscribers: arg_notifySubscribers,
+ onBehalfOfContentOwner: arg_onBehalfOfContentOwner,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkVideo(response);
@@ -12977,19 +12977,19 @@
unittest.test("method--list", () {
var mock = new HttpServerMock();
api.VideosResourceApi res = new api.YoutubeApi(mock).videos;
- var arg_part = buildUnnamed4769();
- var arg_onBehalfOfContentOwner = "foo";
+ var arg_part = buildUnnamed4776();
+ var arg_maxWidth = 42;
+ var arg_chart = "foo";
var arg_maxHeight = 42;
var arg_myRating = "foo";
- var arg_videoCategoryId = "foo";
- var arg_id = buildUnnamed4770();
var arg_regionCode = "foo";
+ var arg_id = buildUnnamed4777();
var arg_pageToken = "foo";
var arg_locale = "foo";
- var arg_chart = "foo";
- var arg_maxResults = 42;
- var arg_maxWidth = 42;
+ var arg_onBehalfOfContentOwner = "foo";
+ var arg_videoCategoryId = "foo";
var arg_hl = "foo";
+ var arg_maxResults = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -13022,26 +13022,26 @@
}
}
unittest.expect(queryMap["part"], unittest.equals(arg_part));
- unittest.expect(queryMap["onBehalfOfContentOwner"].first,
- unittest.equals(arg_onBehalfOfContentOwner));
+ unittest.expect(core.int.parse(queryMap["maxWidth"].first),
+ unittest.equals(arg_maxWidth));
+ unittest.expect(queryMap["chart"].first, unittest.equals(arg_chart));
unittest.expect(core.int.parse(queryMap["maxHeight"].first),
unittest.equals(arg_maxHeight));
unittest.expect(
queryMap["myRating"].first, unittest.equals(arg_myRating));
- unittest.expect(queryMap["videoCategoryId"].first,
- unittest.equals(arg_videoCategoryId));
- 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["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["locale"].first, unittest.equals(arg_locale));
- unittest.expect(queryMap["chart"].first, unittest.equals(arg_chart));
+ 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["hl"].first, unittest.equals(arg_hl));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -13052,18 +13052,18 @@
}), true);
res
.list(arg_part,
- onBehalfOfContentOwner: arg_onBehalfOfContentOwner,
+ maxWidth: arg_maxWidth,
+ chart: arg_chart,
maxHeight: arg_maxHeight,
myRating: arg_myRating,
- videoCategoryId: arg_videoCategoryId,
- id: arg_id,
regionCode: arg_regionCode,
+ id: arg_id,
pageToken: arg_pageToken,
locale: arg_locale,
- chart: arg_chart,
- maxResults: arg_maxResults,
- maxWidth: arg_maxWidth,
+ onBehalfOfContentOwner: arg_onBehalfOfContentOwner,
+ videoCategoryId: arg_videoCategoryId,
hl: arg_hl,
+ maxResults: arg_maxResults,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkVideoListResponse(response);
@@ -13181,7 +13181,7 @@
var mock = new HttpServerMock();
api.VideosResourceApi res = new api.YoutubeApi(mock).videos;
var arg_request = buildVideo();
- var arg_part = buildUnnamed4771();
+ var arg_part = buildUnnamed4778();
var arg_onBehalfOfContentOwner = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
diff --git a/generated/googleapis/test/youtubeanalytics/v2_test.dart b/generated/googleapis/test/youtubeanalytics/v2_test.dart
index ecc3f6b..03f48cb 100644
--- a/generated/googleapis/test/youtubeanalytics/v2_test.dart
+++ b/generated/googleapis/test/youtubeanalytics/v2_test.dart
@@ -69,14 +69,14 @@
buildCounterEmptyResponse--;
}
-buildUnnamed2679() {
+buildUnnamed2683() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2679(core.List<core.String> o) {
+checkUnnamed2683(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -87,7 +87,7 @@
var o = new api.ErrorProto();
buildCounterErrorProto++;
if (buildCounterErrorProto < 3) {
- o.argument = buildUnnamed2679();
+ o.argument = buildUnnamed2683();
o.code = "foo";
o.debugInfo = "foo";
o.domain = "foo";
@@ -102,7 +102,7 @@
checkErrorProto(api.ErrorProto o) {
buildCounterErrorProto++;
if (buildCounterErrorProto < 3) {
- checkUnnamed2679(o.argument);
+ checkUnnamed2683(o.argument);
unittest.expect(o.code, unittest.equals('foo'));
unittest.expect(o.debugInfo, unittest.equals('foo'));
unittest.expect(o.domain, unittest.equals('foo'));
@@ -113,14 +113,14 @@
buildCounterErrorProto--;
}
-buildUnnamed2680() {
+buildUnnamed2684() {
var o = new core.List<api.ErrorProto>();
o.add(buildErrorProto());
o.add(buildErrorProto());
return o;
}
-checkUnnamed2680(core.List<api.ErrorProto> o) {
+checkUnnamed2684(core.List<api.ErrorProto> o) {
unittest.expect(o, unittest.hasLength(2));
checkErrorProto(o[0]);
checkErrorProto(o[1]);
@@ -132,7 +132,7 @@
buildCounterErrors++;
if (buildCounterErrors < 3) {
o.code = "foo";
- o.error = buildUnnamed2680();
+ o.error = buildUnnamed2684();
o.requestId = "foo";
}
buildCounterErrors--;
@@ -143,7 +143,7 @@
buildCounterErrors++;
if (buildCounterErrors < 3) {
unittest.expect(o.code, unittest.equals('foo'));
- checkUnnamed2680(o.error);
+ checkUnnamed2684(o.error);
unittest.expect(o.requestId, unittest.equals('foo'));
}
buildCounterErrors--;
@@ -270,14 +270,14 @@
buildCounterGroupSnippet--;
}
-buildUnnamed2681() {
+buildUnnamed2685() {
var o = new core.List<api.GroupItem>();
o.add(buildGroupItem());
o.add(buildGroupItem());
return o;
}
-checkUnnamed2681(core.List<api.GroupItem> o) {
+checkUnnamed2685(core.List<api.GroupItem> o) {
unittest.expect(o, unittest.hasLength(2));
checkGroupItem(o[0]);
checkGroupItem(o[1]);
@@ -290,7 +290,7 @@
if (buildCounterListGroupItemsResponse < 3) {
o.errors = buildErrors();
o.etag = "foo";
- o.items = buildUnnamed2681();
+ o.items = buildUnnamed2685();
o.kind = "foo";
}
buildCounterListGroupItemsResponse--;
@@ -302,20 +302,20 @@
if (buildCounterListGroupItemsResponse < 3) {
checkErrors(o.errors);
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed2681(o.items);
+ checkUnnamed2685(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterListGroupItemsResponse--;
}
-buildUnnamed2682() {
+buildUnnamed2686() {
var o = new core.List<api.Group>();
o.add(buildGroup());
o.add(buildGroup());
return o;
}
-checkUnnamed2682(core.List<api.Group> o) {
+checkUnnamed2686(core.List<api.Group> o) {
unittest.expect(o, unittest.hasLength(2));
checkGroup(o[0]);
checkGroup(o[1]);
@@ -328,7 +328,7 @@
if (buildCounterListGroupsResponse < 3) {
o.errors = buildErrors();
o.etag = "foo";
- o.items = buildUnnamed2682();
+ o.items = buildUnnamed2686();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -341,27 +341,27 @@
if (buildCounterListGroupsResponse < 3) {
checkErrors(o.errors);
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed2682(o.items);
+ checkUnnamed2686(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListGroupsResponse--;
}
-buildUnnamed2683() {
+buildUnnamed2687() {
var o = new core.List<api.ResultTableColumnHeader>();
o.add(buildResultTableColumnHeader());
o.add(buildResultTableColumnHeader());
return o;
}
-checkUnnamed2683(core.List<api.ResultTableColumnHeader> o) {
+checkUnnamed2687(core.List<api.ResultTableColumnHeader> o) {
unittest.expect(o, unittest.hasLength(2));
checkResultTableColumnHeader(o[0]);
checkResultTableColumnHeader(o[1]);
}
-buildUnnamed2684() {
+buildUnnamed2688() {
var o = new core.List<core.Object>();
o.add({
'list': [1, 2, 3],
@@ -376,7 +376,7 @@
return o;
}
-checkUnnamed2684(core.List<core.Object> o) {
+checkUnnamed2688(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o[0]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -390,17 +390,17 @@
unittest.expect(casted2["string"], unittest.equals('foo'));
}
-buildUnnamed2685() {
+buildUnnamed2689() {
var o = new core.List<core.List<core.Object>>();
- o.add(buildUnnamed2684());
- o.add(buildUnnamed2684());
+ o.add(buildUnnamed2688());
+ o.add(buildUnnamed2688());
return o;
}
-checkUnnamed2685(core.List<core.List<core.Object>> o) {
+checkUnnamed2689(core.List<core.List<core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2684(o[0]);
- checkUnnamed2684(o[1]);
+ checkUnnamed2688(o[0]);
+ checkUnnamed2688(o[1]);
}
core.int buildCounterQueryResponse = 0;
@@ -408,10 +408,10 @@
var o = new api.QueryResponse();
buildCounterQueryResponse++;
if (buildCounterQueryResponse < 3) {
- o.columnHeaders = buildUnnamed2683();
+ o.columnHeaders = buildUnnamed2687();
o.errors = buildErrors();
o.kind = "foo";
- o.rows = buildUnnamed2685();
+ o.rows = buildUnnamed2689();
}
buildCounterQueryResponse--;
return o;
@@ -420,10 +420,10 @@
checkQueryResponse(api.QueryResponse o) {
buildCounterQueryResponse++;
if (buildCounterQueryResponse < 3) {
- checkUnnamed2683(o.columnHeaders);
+ checkUnnamed2687(o.columnHeaders);
checkErrors(o.errors);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2685(o.rows);
+ checkUnnamed2689(o.rows);
}
buildCounterQueryResponse--;
}
@@ -553,8 +553,8 @@
var mock = new HttpServerMock();
api.GroupItemsResourceApi res =
new api.YoutubeAnalyticsApi(mock).groupItems;
- var arg_onBehalfOfContentOwner = "foo";
var arg_id = "foo";
+ var arg_onBehalfOfContentOwner = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -586,9 +586,9 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["id"].first, unittest.equals(arg_id));
unittest.expect(queryMap["onBehalfOfContentOwner"].first,
unittest.equals(arg_onBehalfOfContentOwner));
- unittest.expect(queryMap["id"].first, unittest.equals(arg_id));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -599,8 +599,8 @@
}), true);
res
.delete(
- onBehalfOfContentOwner: arg_onBehalfOfContentOwner,
id: arg_id,
+ onBehalfOfContentOwner: arg_onBehalfOfContentOwner,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkEmptyResponse(response);
@@ -670,8 +670,8 @@
var mock = new HttpServerMock();
api.GroupItemsResourceApi res =
new api.YoutubeAnalyticsApi(mock).groupItems;
- var arg_onBehalfOfContentOwner = "foo";
var arg_groupId = "foo";
+ var arg_onBehalfOfContentOwner = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -703,10 +703,10 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["onBehalfOfContentOwner"].first,
- unittest.equals(arg_onBehalfOfContentOwner));
unittest.expect(
queryMap["groupId"].first, unittest.equals(arg_groupId));
+ unittest.expect(queryMap["onBehalfOfContentOwner"].first,
+ unittest.equals(arg_onBehalfOfContentOwner));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -717,8 +717,8 @@
}), true);
res
.list(
- onBehalfOfContentOwner: arg_onBehalfOfContentOwner,
groupId: arg_groupId,
+ onBehalfOfContentOwner: arg_onBehalfOfContentOwner,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListGroupItemsResponse(response);
@@ -730,8 +730,8 @@
unittest.test("method--delete", () {
var mock = new HttpServerMock();
api.GroupsResourceApi res = new api.YoutubeAnalyticsApi(mock).groups;
- var arg_onBehalfOfContentOwner = "foo";
var arg_id = "foo";
+ var arg_onBehalfOfContentOwner = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -763,9 +763,9 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["id"].first, unittest.equals(arg_id));
unittest.expect(queryMap["onBehalfOfContentOwner"].first,
unittest.equals(arg_onBehalfOfContentOwner));
- unittest.expect(queryMap["id"].first, unittest.equals(arg_id));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -776,8 +776,8 @@
}), true);
res
.delete(
- onBehalfOfContentOwner: arg_onBehalfOfContentOwner,
id: arg_id,
+ onBehalfOfContentOwner: arg_onBehalfOfContentOwner,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkEmptyResponse(response);
@@ -845,10 +845,10 @@
unittest.test("method--list", () {
var mock = new HttpServerMock();
api.GroupsResourceApi res = new api.YoutubeAnalyticsApi(mock).groups;
+ var arg_mine = true;
+ var arg_onBehalfOfContentOwner = "foo";
var arg_id = "foo";
var arg_pageToken = "foo";
- var arg_onBehalfOfContentOwner = "foo";
- var arg_mine = true;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -880,12 +880,12 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ 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["onBehalfOfContentOwner"].first,
- unittest.equals(arg_onBehalfOfContentOwner));
- unittest.expect(queryMap["mine"].first, unittest.equals("$arg_mine"));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -896,10 +896,10 @@
}), true);
res
.list(
+ mine: arg_mine,
+ onBehalfOfContentOwner: arg_onBehalfOfContentOwner,
id: arg_id,
pageToken: arg_pageToken,
- onBehalfOfContentOwner: arg_onBehalfOfContentOwner,
- mine: arg_mine,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListGroupsResponse(response);
@@ -969,17 +969,17 @@
unittest.test("method--query", () {
var mock = new HttpServerMock();
api.ReportsResourceApi res = new api.YoutubeAnalyticsApi(mock).reports;
- var arg_sort = "foo";
- var arg_metrics = "foo";
- var arg_maxResults = 42;
- var arg_endDate = "foo";
- var arg_currency = "foo";
- var arg_filters = "foo";
var arg_startIndex = 42;
- var arg_startDate = "foo";
+ var arg_metrics = "foo";
+ var arg_sort = "foo";
var arg_includeHistoricalChannelData = true;
- var arg_ids = "foo";
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_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1011,26 +1011,26 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["sort"].first, unittest.equals(arg_sort));
- unittest.expect(
- queryMap["metrics"].first, unittest.equals(arg_metrics));
- unittest.expect(core.int.parse(queryMap["maxResults"].first),
- unittest.equals(arg_maxResults));
- unittest.expect(
- queryMap["endDate"].first, unittest.equals(arg_endDate));
- unittest.expect(
- queryMap["currency"].first, unittest.equals(arg_currency));
- unittest.expect(
- queryMap["filters"].first, unittest.equals(arg_filters));
unittest.expect(core.int.parse(queryMap["startIndex"].first),
unittest.equals(arg_startIndex));
unittest.expect(
- queryMap["startDate"].first, unittest.equals(arg_startDate));
+ 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["ids"].first, unittest.equals(arg_ids));
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["endDate"].first, unittest.equals(arg_endDate));
+ unittest.expect(
+ queryMap["startDate"].first, unittest.equals(arg_startDate));
+ unittest.expect(queryMap["ids"].first, unittest.equals(arg_ids));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1041,17 +1041,17 @@
}), true);
res
.query(
- sort: arg_sort,
- metrics: arg_metrics,
- maxResults: arg_maxResults,
- endDate: arg_endDate,
- currency: arg_currency,
- filters: arg_filters,
startIndex: arg_startIndex,
- startDate: arg_startDate,
+ metrics: arg_metrics,
+ sort: arg_sort,
includeHistoricalChannelData: arg_includeHistoricalChannelData,
- ids: arg_ids,
dimensions: arg_dimensions,
+ filters: arg_filters,
+ maxResults: arg_maxResults,
+ currency: arg_currency,
+ endDate: arg_endDate,
+ startDate: arg_startDate,
+ ids: arg_ids,
$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 0fe4a51..314299f 100644
--- a/generated/googleapis/test/youtubereporting/v1_test.dart
+++ b/generated/googleapis/test/youtubereporting/v1_test.dart
@@ -290,14 +290,14 @@
buildCounterGdataDownloadParameters--;
}
-buildUnnamed4966() {
+buildUnnamed4973() {
var o = new core.List<api.GdataCompositeMedia>();
o.add(buildGdataCompositeMedia());
o.add(buildGdataCompositeMedia());
return o;
}
-checkUnnamed4966(core.List<api.GdataCompositeMedia> o) {
+checkUnnamed4973(core.List<api.GdataCompositeMedia> o) {
unittest.expect(o, unittest.hasLength(2));
checkGdataCompositeMedia(o[0]);
checkGdataCompositeMedia(o[1]);
@@ -312,7 +312,7 @@
o.bigstoreObjectRef = "foo";
o.blobRef = "foo";
o.blobstore2Info = buildGdataBlobstore2Info();
- o.compositeMedia = buildUnnamed4966();
+ o.compositeMedia = buildUnnamed4973();
o.contentType = "foo";
o.contentTypeInfo = buildGdataContentTypeInfo();
o.cosmoBinaryReference = "foo";
@@ -350,7 +350,7 @@
unittest.expect(o.bigstoreObjectRef, unittest.equals('foo'));
unittest.expect(o.blobRef, unittest.equals('foo'));
checkGdataBlobstore2Info(o.blobstore2Info);
- checkUnnamed4966(o.compositeMedia);
+ checkUnnamed4973(o.compositeMedia);
unittest.expect(o.contentType, unittest.equals('foo'));
checkGdataContentTypeInfo(o.contentTypeInfo);
unittest.expect(o.cosmoBinaryReference, unittest.equals('foo'));
@@ -432,14 +432,14 @@
buildCounterJob--;
}
-buildUnnamed4967() {
+buildUnnamed4974() {
var o = new core.List<api.Job>();
o.add(buildJob());
o.add(buildJob());
return o;
}
-checkUnnamed4967(core.List<api.Job> o) {
+checkUnnamed4974(core.List<api.Job> o) {
unittest.expect(o, unittest.hasLength(2));
checkJob(o[0]);
checkJob(o[1]);
@@ -450,7 +450,7 @@
var o = new api.ListJobsResponse();
buildCounterListJobsResponse++;
if (buildCounterListJobsResponse < 3) {
- o.jobs = buildUnnamed4967();
+ o.jobs = buildUnnamed4974();
o.nextPageToken = "foo";
}
buildCounterListJobsResponse--;
@@ -460,20 +460,20 @@
checkListJobsResponse(api.ListJobsResponse o) {
buildCounterListJobsResponse++;
if (buildCounterListJobsResponse < 3) {
- checkUnnamed4967(o.jobs);
+ checkUnnamed4974(o.jobs);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListJobsResponse--;
}
-buildUnnamed4968() {
+buildUnnamed4975() {
var o = new core.List<api.ReportType>();
o.add(buildReportType());
o.add(buildReportType());
return o;
}
-checkUnnamed4968(core.List<api.ReportType> o) {
+checkUnnamed4975(core.List<api.ReportType> o) {
unittest.expect(o, unittest.hasLength(2));
checkReportType(o[0]);
checkReportType(o[1]);
@@ -485,7 +485,7 @@
buildCounterListReportTypesResponse++;
if (buildCounterListReportTypesResponse < 3) {
o.nextPageToken = "foo";
- o.reportTypes = buildUnnamed4968();
+ o.reportTypes = buildUnnamed4975();
}
buildCounterListReportTypesResponse--;
return o;
@@ -495,19 +495,19 @@
buildCounterListReportTypesResponse++;
if (buildCounterListReportTypesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed4968(o.reportTypes);
+ checkUnnamed4975(o.reportTypes);
}
buildCounterListReportTypesResponse--;
}
-buildUnnamed4969() {
+buildUnnamed4976() {
var o = new core.List<api.Report>();
o.add(buildReport());
o.add(buildReport());
return o;
}
-checkUnnamed4969(core.List<api.Report> o) {
+checkUnnamed4976(core.List<api.Report> o) {
unittest.expect(o, unittest.hasLength(2));
checkReport(o[0]);
checkReport(o[1]);
@@ -519,7 +519,7 @@
buildCounterListReportsResponse++;
if (buildCounterListReportsResponse < 3) {
o.nextPageToken = "foo";
- o.reports = buildUnnamed4969();
+ o.reports = buildUnnamed4976();
}
buildCounterListReportsResponse--;
return o;
@@ -529,7 +529,7 @@
buildCounterListReportsResponse++;
if (buildCounterListReportsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed4969(o.reports);
+ checkUnnamed4976(o.reports);
}
buildCounterListReportsResponse--;
}
@@ -913,10 +913,10 @@
unittest.test("method--list", () {
var mock = new HttpServerMock();
api.JobsResourceApi res = new api.YoutubereportingApi(mock).jobs;
- var arg_onBehalfOfContentOwner = "foo";
var arg_pageToken = "foo";
- var arg_includeSystemManaged = true;
+ var arg_onBehalfOfContentOwner = "foo";
var arg_pageSize = 42;
+ var arg_includeSystemManaged = true;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -948,14 +948,14 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["onBehalfOfContentOwner"].first,
- unittest.equals(arg_onBehalfOfContentOwner));
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["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -966,10 +966,10 @@
}), true);
res
.list(
- onBehalfOfContentOwner: arg_onBehalfOfContentOwner,
pageToken: arg_pageToken,
- includeSystemManaged: arg_includeSystemManaged,
+ onBehalfOfContentOwner: arg_onBehalfOfContentOwner,
pageSize: arg_pageSize,
+ includeSystemManaged: arg_includeSystemManaged,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListJobsResponse(response);
@@ -1052,12 +1052,12 @@
api.JobsReportsResourceApi res =
new api.YoutubereportingApi(mock).jobs.reports;
var arg_jobId = "foo";
- var arg_createdAfter = "foo";
- var arg_pageToken = "foo";
- var arg_pageSize = 42;
var arg_startTimeAtOrAfter = "foo";
- var arg_startTimeBefore = "foo";
var arg_onBehalfOfContentOwner = "foo";
+ var arg_pageSize = 42;
+ var arg_pageToken = "foo";
+ var arg_createdAfter = "foo";
+ var arg_startTimeBefore = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1098,18 +1098,18 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(
- queryMap["createdAfter"].first, unittest.equals(arg_createdAfter));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
unittest.expect(queryMap["startTimeAtOrAfter"].first,
unittest.equals(arg_startTimeAtOrAfter));
- unittest.expect(queryMap["startTimeBefore"].first,
- unittest.equals(arg_startTimeBefore));
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["startTimeBefore"].first,
+ unittest.equals(arg_startTimeBefore));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1120,12 +1120,12 @@
}), true);
res
.list(arg_jobId,
- createdAfter: arg_createdAfter,
- pageToken: arg_pageToken,
- pageSize: arg_pageSize,
startTimeAtOrAfter: arg_startTimeAtOrAfter,
- startTimeBefore: arg_startTimeBefore,
onBehalfOfContentOwner: arg_onBehalfOfContentOwner,
+ pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
+ createdAfter: arg_createdAfter,
+ startTimeBefore: arg_startTimeBefore,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListReportsResponse(response);
@@ -1194,10 +1194,10 @@
var mock = new HttpServerMock();
api.ReportTypesResourceApi res =
new api.YoutubereportingApi(mock).reportTypes;
- var arg_pageToken = "foo";
var arg_includeSystemManaged = true;
- var arg_pageSize = 42;
var arg_onBehalfOfContentOwner = "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;
@@ -1229,14 +1229,14 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["includeSystemManaged"].first,
unittest.equals("$arg_includeSystemManaged"));
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
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["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1247,10 +1247,10 @@
}), true);
res
.list(
- pageToken: arg_pageToken,
includeSystemManaged: arg_includeSystemManaged,
- pageSize: arg_pageSize,
onBehalfOfContentOwner: arg_onBehalfOfContentOwner,
+ pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListReportTypesResponse(response);